summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i2c/Kconfig
diff options
context:
space:
mode:
authorArchit Taneja <architt@codeaurora.org>2016-01-09 14:24:54 +0530
committerArchit Taneja <architt@codeaurora.org>2016-07-13 14:24:35 +0530
commite12c2f645557708932e15afdf77f5965549cf156 (patch)
tree8e5c0ee998b00c287ed3426a6a11a9b8e6eacd33 /drivers/gpu/drm/i2c/Kconfig
parent2ae995887830b335f9bdab3040018071da54bcdb (diff)
drm/i2c: adv7511: Convert to drm_bridge
We don't want to use the old i2c slave encoder interface anymore. Remove that and make the i2c driver create a drm_bridge entity instead. Converting to bridges helps because the kms drivers don't need to exract encoder slave ops from this driver and use it within their own encoder/connector ops. The driver now creates its own connector when a kms driver attaches itself to the bridge. Therefore, kms drivers don't need to create their own connectors anymore. The old encoder slave ops are now used by the new bridge and connector entities. The of_node member in drm_bridge is accessible only when CONFIG_OF is enabled. The driver anyway only works only when OF is available. Make the driver depend on OF in its Kconfig. Signed-off-by: Archit Taneja <architt@codeaurora.org>
Diffstat (limited to 'drivers/gpu/drm/i2c/Kconfig')
-rw-r--r--drivers/gpu/drm/i2c/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i2c/Kconfig b/drivers/gpu/drm/i2c/Kconfig
index 22c7ed63a001..8bb06977343a 100644
--- a/drivers/gpu/drm/i2c/Kconfig
+++ b/drivers/gpu/drm/i2c/Kconfig
@@ -3,6 +3,7 @@ menu "I2C encoder or helper chips"
config DRM_I2C_ADV7511
tristate "AV7511 encoder"
+ depends on OF
select REGMAP_I2C
help
Support for the Analog Device ADV7511(W) and ADV7513 HDMI encoders.