summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2015-09-02 10:11:08 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-09-04 07:37:06 +0200
commita71937a4704c195d5f08bda35d6f210b6d1fb3aa (patch)
tree2d0aead80c2264b0085eb5e0cd94dfc81e8382a8 /drivers/video
parent173453849410d7ca0ba240c04f05790dc2b2ffe6 (diff)
downloadbarebox-a71937a4704c195d5f08bda35d6f210b6d1fb3aa.tar.gz
barebox-a71937a4704c195d5f08bda35d6f210b6d1fb3aa.tar.xz
video: vpl: depend on OFTREE
VPL uses the of_graph bindings, which are only available if OFTREE support is compiled in. Also fix the drivers using VPL to depend on OFTREE. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 501e9fa7d3..d31bdfe8f0 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -13,6 +13,7 @@ config FRAMEBUFFER_CONSOLE
prompt "framebuffer console support"
config VIDEO_VPL
+ depends on OFTREE
bool
config DRIVER_VIDEO_ATMEL
@@ -121,6 +122,7 @@ config DRIVER_VIDEO_MTL017
bool "MTL017 LVDS encoder"
select VIDEO_VPL
depends on I2C
+ depends on OFTREE
help
The MTL017 is a parallel to lvds video encoder chip found on the
Efika MX Smartbook.
@@ -128,6 +130,7 @@ config DRIVER_VIDEO_MTL017
config DRIVER_VIDEO_SIMPLE_PANEL
bool "Simple panel support"
select VIDEO_VPL
+ depends on OFTREE
help
This enabled support for simple panels, i.e. panels which consist of
a mode definition and enable gpios in the devicetree. Unlike the