diff options
author | Niklas Schulze <me@jns.io> | 2019-07-27 12:07:13 +0000 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2019-07-29 00:32:59 +0200 |
commit | 60a62acfb07afb0815f28abe6f49a9b906a7c3f4 (patch) | |
tree | 84b3875ef9c441ffb7c8a5275423f68cf25a0aed /drivers/video/rockchip | |
parent | 233358c46a753438d9f0c26dc67dad3ddecca1e9 (diff) | |
download | u-boot-60a62acfb07afb0815f28abe6f49a9b906a7c3f4.tar.gz u-boot-60a62acfb07afb0815f28abe6f49a9b906a7c3f4.tar.bz2 u-boot-60a62acfb07afb0815f28abe6f49a9b906a7c3f4.zip |
video: dw_hdmi: Add support for ddc-i2c-bus property
Add support for the ddc-i2c-bus device tree property which allows
for using an external i2c master for reading the display's EDID.
Signed-off-by: Niklas Schulze <me@jns.io>
Diffstat (limited to 'drivers/video/rockchip')
-rw-r--r-- | drivers/video/rockchip/rk_hdmi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/rockchip/rk_hdmi.c b/drivers/video/rockchip/rk_hdmi.c index 51931ceefa..5b44a7e8c9 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; } |