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/sunxi | |
parent | 233358c46a753438d9f0c26dc67dad3ddecca1e9 (diff) | |
download | u-boot-60a62acfb07afb0815f28abe6f49a9b906a7c3f4.tar.gz u-boot-60a62acfb07afb0815f28abe6f49a9b906a7c3f4.tar.xz 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/sunxi')
-rw-r--r-- | drivers/video/sunxi/sunxi_dw_hdmi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/sunxi/sunxi_dw_hdmi.c b/drivers/video/sunxi/sunxi_dw_hdmi.c index 6fe1aa7ee4..cec23295b5 100644 --- a/drivers/video/sunxi/sunxi_dw_hdmi.c +++ b/drivers/video/sunxi/sunxi_dw_hdmi.c @@ -373,6 +373,9 @@ static int sunxi_dw_hdmi_probe(struct udevice *dev) priv->hdmi.phy_set = sunxi_dw_hdmi_phy_cfg; priv->mux = uc_plat->source_id; + uclass_get_device_by_phandle(UCLASS_I2C, dev, "ddc-i2c-bus", + &priv->hdmi.ddc_bus); + dw_hdmi_init(&priv->hdmi); return 0; |