aboutsummaryrefslogtreecommitdiff
path: root/drivers/video/rockchip/rk_hdmi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/rockchip/rk_hdmi.c')
-rw-r--r--drivers/video/rockchip/rk_hdmi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/rockchip/rk_hdmi.c b/drivers/video/rockchip/rk_hdmi.c
index 51931ceefae..5b44a7e8c97 100644
--- a/drivers/video/rockchip/rk_hdmi.c
+++ b/drivers/video/rockchip/rk_hdmi.c
@@ -93,6 +93,9 @@ int rk_hdmi_ofdata_to_platdata(struct udevice *dev)
priv->grf = syscon_get_first_range(ROCKCHIP_SYSCON_GRF);
+ uclass_get_device_by_phandle(UCLASS_I2C, dev, "ddc-i2c-bus",
+ &hdmi->ddc_bus);
+
return 0;
}