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/meson/meson_dw_hdmi.c | |
parent | 233358c46a753438d9f0c26dc67dad3ddecca1e9 (diff) |
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/meson/meson_dw_hdmi.c')
-rw-r--r-- | drivers/video/meson/meson_dw_hdmi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/meson/meson_dw_hdmi.c b/drivers/video/meson/meson_dw_hdmi.c index 617f75724b..9831d978fc 100644 --- a/drivers/video/meson/meson_dw_hdmi.c +++ b/drivers/video/meson/meson_dw_hdmi.c @@ -375,6 +375,9 @@ static int meson_dw_hdmi_probe(struct udevice *dev) } #endif + uclass_get_device_by_phandle(UCLASS_I2C, dev, "ddc-i2c-bus", + &priv->hdmi.ddc_bus); + ret = reset_get_bulk(dev, &resets); if (ret) return ret; |