summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/imx/hdp/imx-hdp.h
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2019-04-23 16:51:00 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2019-04-24 13:55:50 +0200
commitc97298b6d6390da9d8b9be68e65191332760d7e0 (patch)
tree8997e020dbb675bd7fa312a752c9e19c2f1af42a /drivers/gpu/drm/imx/hdp/imx-hdp.h
parenta14005555c2da43f8094a6b317b8ec05653c0880 (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>
Diffstat (limited to 'drivers/gpu/drm/imx/hdp/imx-hdp.h')
-rw-r--r--drivers/gpu/drm/imx/hdp/imx-hdp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/imx/hdp/imx-hdp.h b/drivers/gpu/drm/imx/hdp/imx-hdp.h
index 41ea3b963aa8..dfa3cca06295 100644
--- a/drivers/gpu/drm/imx/hdp/imx-hdp.h
+++ b/drivers/gpu/drm/imx/hdp/imx-hdp.h
@@ -256,6 +256,8 @@ struct imx_hdp {
VIC_PXL_ENCODING_FORMAT format;
bool hdr_metadata_present;
bool hdr_mode;
+
+ struct i2c_adapter *ddc; /* optional regular DDC I2C bus */
};
void imx_hdp_register_audio_driver(struct device *dev);