summaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2019-04-23 16:51:00 +0200
committerOleksandr Suvorov <oleksandr.suvorov@toradex.com>2021-01-27 20:36:23 +0200
commitb78ee9c845ad9217d829bd19979ecdef6271924d (patch)
tree88481fe4ad6e8fe6f2fa6e21644b6c858a0d096c /include/drm
parenta799d968785397150344e504af8d6095bfb3c65e (diff)
drm/imx/hdp: implement optional regular ddc/edid i2c bus handling
Implement optional regular DDC/EDID I2C bus handling which may be enabled via ddc-i2c-bus device tree property. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit f667720d9df76c54962d135f94ec4c28cee75ec0) Conflicts: drivers/gpu/drm/imx/hdp/imx-hdp.c drivers/gpu/drm/imx/hdp/imx-hdp.h Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Conflicts: drivers/gpu/drm/bridge/cadence/cdns-hdmi-core.c include/drm/bridge/cdns-mhdp.h Fixed an implementation of ddc/edid bus in cdns_hdmi_connector_detect() Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Diffstat (limited to 'include/drm')
-rwxr-xr-xinclude/drm/bridge/cdns-mhdp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/bridge/cdns-mhdp.h b/include/drm/bridge/cdns-mhdp.h
index 6bfd82a3d9a2..b34d1dafbade 100755
--- a/include/drm/bridge/cdns-mhdp.h
+++ b/include/drm/bridge/cdns-mhdp.h
@@ -718,6 +718,7 @@ struct cdns_mhdp_device {
hdmi_codec_plugged_cb plugged_cb;
struct device *codec_dev;
enum drm_connector_status last_connector_result;
+ struct i2c_adapter *ddc; /* optional regular DDC I2C bus */
};
u32 cdns_mhdp_bus_read(struct cdns_mhdp_device *mhdp, u32 offset);