summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/bridge/adv7511/Kconfig
diff options
context:
space:
mode:
authorArchit Taneja <architt@codeaurora.org>2016-06-15 17:01:27 +0530
committerArchit Taneja <architt@codeaurora.org>2016-07-13 14:24:37 +0530
commit1e4d58cd7f888522d16f221d628356befbb08468 (patch)
tree9b3522f349f458ab29374c639352781caad81246 /drivers/gpu/drm/bridge/adv7511/Kconfig
parent2437e7cd88e8781cef5fd2c254c85aa62b305d04 (diff)
drm/bridge: adv7533: Create a MIPI DSI device
In order to pass DSI specific parameters to the DSI host, we need the driver to create a mipi_dsi_device DSI device that attaches to the host. Use of_graph helpers to get the DSI host DT node. Create a MIPI DSI device using this host. Finally, attach this device to the DSI host. Populate DT parameters (number of data lanes for now) that are required for DSI RX to work correctly. Hardcode few other parameters (rgb, embedded_sync) for now. Select DRM_MIPI_DSI config option only when ADV7533 support is enabled. Signed-off-by: Archit Taneja <architt@codeaurora.org>
Diffstat (limited to 'drivers/gpu/drm/bridge/adv7511/Kconfig')
-rw-r--r--drivers/gpu/drm/bridge/adv7511/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/bridge/adv7511/Kconfig b/drivers/gpu/drm/bridge/adv7511/Kconfig
index eb844199d148..d2b0499ab7d7 100644
--- a/drivers/gpu/drm/bridge/adv7511/Kconfig
+++ b/drivers/gpu/drm/bridge/adv7511/Kconfig
@@ -9,6 +9,7 @@ config DRM_I2C_ADV7511
config DRM_I2C_ADV7533
bool "ADV7533 encoder"
depends on DRM_I2C_ADV7511
+ select DRM_MIPI_DSI
default y
help
Support for the Analog Devices ADV7533 DSI to HDMI encoder.