diff mbox

[PATCHv7,3/6] ARM: imx{25, 27} DT: Permit the selection of the imxfb framebuffer driver.

Message ID 1382605103-9595-3-git-send-email-denis@eukrea.com
State New
Headers show

Commit Message

Denis Carikli Oct. 24, 2013, 8:58 a.m. UTC
Without that patch, a user can't select the imxfb driver when the i.MX25 and/or
  the i.MX27 device tree board are selected and that no boards that selects
  IMX_HAVE_PLATFORM_IMX_FB are compiled in.

Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: devicetree@vger.kernel.org
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: linux-arm-kernel@lists.infradead.org
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Eric Bénard <eric@eukrea.com>

Signed-off-by: Denis Carikli <denis@eukrea.com>
---
- Rework the patch to make imxfb more broadly selectable
  (usefull for randconfig).
---
 drivers/video/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Shawn Guo Oct. 25, 2013, 1:46 a.m. UTC | #1
On Thu, Oct 24, 2013 at 10:58:20AM +0200, Denis Carikli wrote:
> Without that patch, a user can't select the imxfb driver when the i.MX25 and/or
>   the i.MX27 device tree board are selected and that no boards that selects
>   IMX_HAVE_PLATFORM_IMX_FB are compiled in.
> 
> Cc: Rob Herring <rob.herring@calxeda.com>
> Cc: Pawel Moll <pawel.moll@arm.com>
> Cc: Mark Rutland <mark.rutland@arm.com>
> Cc: Stephen Warren <swarren@wwwdotorg.org>
> Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
> Cc: devicetree@vger.kernel.org
> Cc: Sascha Hauer <kernel@pengutronix.de>
> Cc: linux-arm-kernel@lists.infradead.org
> Cc: Russell King <linux@arm.linux.org.uk>
> Cc: Eric Bénard <eric@eukrea.com>
> 
> Signed-off-by: Denis Carikli <denis@eukrea.com>

This is a patch that should go through FB tree, so FB maintainer should
be copied, and patch subject should look like "video: ...".  Other than
that,

Acked-by: Shawn Guo <shawn.guo@linaro.org>

Shawn

> ---
> - Rework the patch to make imxfb more broadly selectable
>   (usefull for randconfig).
> ---
>  drivers/video/Kconfig |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
> index 14317b7..a9f2659 100644
> --- a/drivers/video/Kconfig
> +++ b/drivers/video/Kconfig
> @@ -363,7 +363,7 @@ config FB_SA1100
>  
>  config FB_IMX
>  	tristate "Freescale i.MX1/21/25/27 LCD support"
> -	depends on FB && IMX_HAVE_PLATFORM_IMX_FB
> +	depends on FB && ARCH_MXC
>  	select FB_CFB_FILLRECT
>  	select FB_CFB_COPYAREA
>  	select FB_CFB_IMAGEBLIT
> -- 
> 1.7.9.5
>
Jean-Christophe PLAGNIOL-VILLARD Oct. 25, 2013, 11:03 a.m. UTC | #2
On 09:46 Fri 25 Oct     , Shawn Guo wrote:
> On Thu, Oct 24, 2013 at 10:58:20AM +0200, Denis Carikli wrote:
> > Without that patch, a user can't select the imxfb driver when the i.MX25 and/or
> >   the i.MX27 device tree board are selected and that no boards that selects
> >   IMX_HAVE_PLATFORM_IMX_FB are compiled in.
> > 
> > Cc: Rob Herring <rob.herring@calxeda.com>
> > Cc: Pawel Moll <pawel.moll@arm.com>
> > Cc: Mark Rutland <mark.rutland@arm.com>
> > Cc: Stephen Warren <swarren@wwwdotorg.org>
> > Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
> > Cc: devicetree@vger.kernel.org
> > Cc: Sascha Hauer <kernel@pengutronix.de>
> > Cc: linux-arm-kernel@lists.infradead.org
> > Cc: Russell King <linux@arm.linux.org.uk>
> > Cc: Eric Bénard <eric@eukrea.com>
> > 
> > Signed-off-by: Denis Carikli <denis@eukrea.com>
> 
> This is a patch that should go through FB tree, so FB maintainer should
> be copied, and patch subject should look like "video: ...".  Other than
> that,

I'm in Cc but this need to be send via linux-fb ML

so Tomi or I can see it

otherswose ti's ok for me too
> 
> Acked-by: Shawn Guo <shawn.guo@linaro.org>
> 
> Shawn
> 
> > ---
> > - Rework the patch to make imxfb more broadly selectable
> >   (usefull for randconfig).
> > ---
> >  drivers/video/Kconfig |    2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
> > index 14317b7..a9f2659 100644
> > --- a/drivers/video/Kconfig
> > +++ b/drivers/video/Kconfig
> > @@ -363,7 +363,7 @@ config FB_SA1100
> >  
> >  config FB_IMX
> >  	tristate "Freescale i.MX1/21/25/27 LCD support"
> > -	depends on FB && IMX_HAVE_PLATFORM_IMX_FB
> > +	depends on FB && ARCH_MXC
> >  	select FB_CFB_FILLRECT
> >  	select FB_CFB_COPYAREA
> >  	select FB_CFB_IMAGEBLIT
> > -- 
> > 1.7.9.5
> > 
>
diff mbox

Patch

diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 14317b7..a9f2659 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -363,7 +363,7 @@  config FB_SA1100
 
 config FB_IMX
 	tristate "Freescale i.MX1/21/25/27 LCD support"
-	depends on FB && IMX_HAVE_PLATFORM_IMX_FB
+	depends on FB && ARCH_MXC
 	select FB_CFB_FILLRECT
 	select FB_CFB_COPYAREA
 	select FB_CFB_IMAGEBLIT