mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH resend 1/2] video: vpl: depend on OFTREE
@ 2015-09-02  8:11 Lucas Stach
  2015-09-02  8:11 ` [PATCH resend 2/2] video: imx-hdmi: depend on EDID support Lucas Stach
  2015-09-04  5:37 ` [PATCH resend 1/2] video: vpl: depend on OFTREE Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Lucas Stach @ 2015-09-02  8:11 UTC (permalink / raw)
  To: barebox

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>
---
 drivers/video/Kconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 501e9fa7d353..d31bdfe8f07a 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
-- 
2.5.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH resend 2/2] video: imx-hdmi: depend on EDID support
  2015-09-02  8:11 [PATCH resend 1/2] video: vpl: depend on OFTREE Lucas Stach
@ 2015-09-02  8:11 ` Lucas Stach
  2015-09-04  5:37 ` [PATCH resend 1/2] video: vpl: depend on OFTREE Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Lucas Stach @ 2015-09-02  8:11 UTC (permalink / raw)
  To: barebox

HDMI support is not generally useful without EDID support.

Fixes:
In function `imx_hdmi_ioctl':
undefined reference to `edid_read_i2c'
undefined reference to `edid_to_display_timings'

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 drivers/video/imx-ipu-v3/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/video/imx-ipu-v3/Kconfig b/drivers/video/imx-ipu-v3/Kconfig
index 386ff5bc2ef0..b5ee4efb1566 100644
--- a/drivers/video/imx-ipu-v3/Kconfig
+++ b/drivers/video/imx-ipu-v3/Kconfig
@@ -13,6 +13,7 @@ config DRIVER_VIDEO_IMX_IPUV3_LVDS
 
 config DRIVER_VIDEO_IMX_IPUV3_HDMI
 	bool "IPUv3 HDMI support"
+	depends on DRIVER_VIDEO_EDID
 	select OFDEVICE
 
 endif
-- 
2.5.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH resend 1/2] video: vpl: depend on OFTREE
  2015-09-02  8:11 [PATCH resend 1/2] video: vpl: depend on OFTREE Lucas Stach
  2015-09-02  8:11 ` [PATCH resend 2/2] video: imx-hdmi: depend on EDID support Lucas Stach
@ 2015-09-04  5:37 ` Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2015-09-04  5:37 UTC (permalink / raw)
  To: Lucas Stach; +Cc: barebox

On Wed, Sep 02, 2015 at 10:11:08AM +0200, Lucas Stach wrote:
> 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>

Applied, thanks

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-09-04  5:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-02  8:11 [PATCH resend 1/2] video: vpl: depend on OFTREE Lucas Stach
2015-09-02  8:11 ` [PATCH resend 2/2] video: imx-hdmi: depend on EDID support Lucas Stach
2015-09-04  5:37 ` [PATCH resend 1/2] video: vpl: depend on OFTREE Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox