mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] video: vpl: depend on OFTREE
@ 2015-08-18  8:18 Lucas Stach
  2015-08-18  8:18 ` [PATCH 2/2] video: imx-hdmi: depend on EDID support Lucas Stach
  2015-08-19 13:46 ` [PATCH 1/2] video: vpl: depend on OFTREE Sascha Hauer
  0 siblings, 2 replies; 4+ messages in thread
From: Lucas Stach @ 2015-08-18  8:18 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 bb8bbb539481..5ecac4209696 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
@@ -122,6 +123,7 @@ config DRIVER_VIDEO_MTL017
 	select VIDEO_VPL
 	depends on I2C
 	depends on GPIOLIB
+	depends on OFTREE
 	help
 	  The MTL017 is a parallel to lvds video encoder chip found on the
 	  Efika MX Smartbook.
@@ -130,6 +132,7 @@ config DRIVER_VIDEO_SIMPLE_PANEL
 	bool "Simple panel support"
 	select VIDEO_VPL
 	depends on GPIOLIB
+	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.4.6


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

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

* [PATCH 2/2] video: imx-hdmi: depend on EDID support
  2015-08-18  8:18 [PATCH 1/2] video: vpl: depend on OFTREE Lucas Stach
@ 2015-08-18  8:18 ` Lucas Stach
  2015-08-19 13:46 ` [PATCH 1/2] video: vpl: depend on OFTREE Sascha Hauer
  1 sibling, 0 replies; 4+ messages in thread
From: Lucas Stach @ 2015-08-18  8:18 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.4.6


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

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

* Re: [PATCH 1/2] video: vpl: depend on OFTREE
  2015-08-18  8:18 [PATCH 1/2] video: vpl: depend on OFTREE Lucas Stach
  2015-08-18  8:18 ` [PATCH 2/2] video: imx-hdmi: depend on EDID support Lucas Stach
@ 2015-08-19 13:46 ` Sascha Hauer
  2015-08-19 13:48   ` Lucas Stach
  1 sibling, 1 reply; 4+ messages in thread
From: Sascha Hauer @ 2015-08-19 13:46 UTC (permalink / raw)
  To: Lucas Stach; +Cc: barebox

On Tue, Aug 18, 2015 at 10:18:24AM +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>
> ---
>  drivers/video/Kconfig | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
> index bb8bbb539481..5ecac4209696 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
> @@ -122,6 +123,7 @@ config DRIVER_VIDEO_MTL017
>  	select VIDEO_VPL
>  	depends on I2C
>  	depends on GPIOLIB
> +	depends on OFTREE

This doesn't apply neither on master nor on next. Where shall this patch
be applied?

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] 4+ messages in thread

* Re: [PATCH 1/2] video: vpl: depend on OFTREE
  2015-08-19 13:46 ` [PATCH 1/2] video: vpl: depend on OFTREE Sascha Hauer
@ 2015-08-19 13:48   ` Lucas Stach
  0 siblings, 0 replies; 4+ messages in thread
From: Lucas Stach @ 2015-08-19 13:48 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: barebox

Am Mittwoch, den 19.08.2015, 15:46 +0200 schrieb Sascha Hauer:
> On Tue, Aug 18, 2015 at 10:18:24AM +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>
> > ---
> >  drivers/video/Kconfig | 3 +++
> >  1 file changed, 3 insertions(+)
> > 
> > diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
> > index bb8bbb539481..5ecac4209696 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
> > @@ -122,6 +123,7 @@ config DRIVER_VIDEO_MTL017
> >  	select VIDEO_VPL
> >  	depends on I2C
> >  	depends on GPIOLIB
> > +	depends on OFTREE
> 
> This doesn't apply neither on master nor on next. Where shall this patch
> be applied?
> 
On top of the previous randcfg fixes series I sent out earlier.

Regards,
Lucas

-- 
Pengutronix e.K.             | Lucas Stach                 |
Industrial Linux Solutions   | http://www.pengutronix.de/  |


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

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

end of thread, other threads:[~2015-08-19 13:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-18  8:18 [PATCH 1/2] video: vpl: depend on OFTREE Lucas Stach
2015-08-18  8:18 ` [PATCH 2/2] video: imx-hdmi: depend on EDID support Lucas Stach
2015-08-19 13:46 ` [PATCH 1/2] video: vpl: depend on OFTREE Sascha Hauer
2015-08-19 13:48   ` Lucas Stach

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