aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2014-04-24 08:28:19 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2014-05-09 05:55:45 -0400
commitf7200b6834700abf1cb2686ea1d1d6ef2cd66a2f (patch)
tree9edb12154ccc6d916910d411f020a7bd5042431b
parent423431a3b5e20d82be6b7db9b72725e1f72e469e (diff)
video: clarify I2C dependencies
We can only use I2C support in frame buffer drivers if Either I2C is built-in, or both I2C and the driver itself are loadable modules. Fix this dependency for MB862XX and CyberPro frame buffers. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Peter Griffin <peter.griffin@linaro.org> Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com> Cc: Tomi Valkeinen <tomi.valkeinen@ti.com> Cc: linux-fbdev@vger.kernel.org Cc: Russell King <linux@arm.linux.org.uk> Cc: Anatolij Gustschin <agust@denx.de> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
-rw-r--r--drivers/video/fbdev/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig
index 758685e8046d..a8c9b2de28bd 100644
--- a/drivers/video/fbdev/Kconfig
+++ b/drivers/video/fbdev/Kconfig
@@ -360,6 +360,7 @@ config FB_CYBER2000_DDC
360config FB_CYBER2000_I2C 360config FB_CYBER2000_I2C
361 bool "CyberPro 2000/2010/5000 I2C support" 361 bool "CyberPro 2000/2010/5000 I2C support"
362 depends on FB_CYBER2000 && I2C && ARCH_NETWINDER 362 depends on FB_CYBER2000 && I2C && ARCH_NETWINDER
363 depends on I2C=y || FB_CYBER2000=m
363 select I2C_ALGOBIT 364 select I2C_ALGOBIT
364 help 365 help
365 Enable support for the I2C video decoder interface on the 366 Enable support for the I2C video decoder interface on the
@@ -2296,6 +2297,7 @@ endchoice
2296config FB_MB862XX_I2C 2297config FB_MB862XX_I2C
2297 bool "Support I2C bus on MB862XX GDC" 2298 bool "Support I2C bus on MB862XX GDC"
2298 depends on FB_MB862XX && I2C 2299 depends on FB_MB862XX && I2C
2300 depends on FB_MB862XX=m || I2C=y
2299 default y 2301 default y
2300 help 2302 help
2301 Selecting this option adds Coral-P(A)/Lime GDC I2C bus adapter 2303 Selecting this option adds Coral-P(A)/Lime GDC I2C bus adapter