diff mbox series

ARM: at91: remove HAVE_FB_ATMEL for sama5 SoC as they use DRM

Message ID 20190328153307.24689-1-nicolas.ferre@microchip.com (mailing list archive)
State Mainlined, archived
Commit 3037271388eee90633b97a92445cb3b216394911
Headers show
Series ARM: at91: remove HAVE_FB_ATMEL for sama5 SoC as they use DRM | expand

Commit Message

Nicolas Ferre March 28, 2019, 3:33 p.m. UTC
SAMA5 devices use the newer DRM driver for LCD. They don't need
the older FB driver: remove the Kconfig option for them.

Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
---
 arch/arm/mach-at91/Kconfig | 3 ---
 1 file changed, 3 deletions(-)

Comments

Ludovic Desroches March 29, 2019, 1:05 p.m. UTC | #1
On Thu, Mar 28, 2019 at 04:33:07PM +0100, Nicolas Ferre wrote:
> SAMA5 devices use the newer DRM driver for LCD. They don't need
> the older FB driver: remove the Kconfig option for them.
> 
> Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com> 

CONFIG_FB_ATMEL should be removed from at91_dt_defconfig. Do you want me
to handle it?

> ---
>  arch/arm/mach-at91/Kconfig | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
> index 903f23c309df..01b1bdb4fb6e 100644
> --- a/arch/arm/mach-at91/Kconfig
> +++ b/arch/arm/mach-at91/Kconfig
> @@ -21,7 +21,6 @@ config SOC_SAMA5D2
>  	depends on ARCH_MULTI_V7
>  	select SOC_SAMA5
>  	select CACHE_L2X0
> -	select HAVE_FB_ATMEL
>  	select HAVE_AT91_UTMI
>  	select HAVE_AT91_USB_CLK
>  	select HAVE_AT91_H32MX
> @@ -36,7 +35,6 @@ config SOC_SAMA5D3
>  	bool "SAMA5D3 family"
>  	depends on ARCH_MULTI_V7
>  	select SOC_SAMA5
> -	select HAVE_FB_ATMEL
>  	select HAVE_AT91_UTMI
>  	select HAVE_AT91_SMD
>  	select HAVE_AT91_USB_CLK
> @@ -50,7 +48,6 @@ config SOC_SAMA5D4
>  	depends on ARCH_MULTI_V7
>  	select SOC_SAMA5
>  	select CACHE_L2X0
> -	select HAVE_FB_ATMEL
>  	select HAVE_AT91_UTMI
>  	select HAVE_AT91_SMD
>  	select HAVE_AT91_USB_CLK
> -- 
> 2.17.1
>
Ludovic Desroches March 29, 2019, 1:21 p.m. UTC | #2
On Fri, Mar 29, 2019 at 02:05:38PM +0100, Ludovic Desroches wrote:
> On Thu, Mar 28, 2019 at 04:33:07PM +0100, Nicolas Ferre wrote:
> > SAMA5 devices use the newer DRM driver for LCD. They don't need
> > the older FB driver: remove the Kconfig option for them.
> > 
> > Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
> Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com> 
> 
> CONFIG_FB_ATMEL should be removed from at91_dt_defconfig. Do you want me
> to handle it?

Sorry for the noise, I confused at91_dt_defconfig and sama5_defconfig.
So nothing to do.

Ludovic

> 
> > ---
> >  arch/arm/mach-at91/Kconfig | 3 ---
> >  1 file changed, 3 deletions(-)
> > 
> > diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
> > index 903f23c309df..01b1bdb4fb6e 100644
> > --- a/arch/arm/mach-at91/Kconfig
> > +++ b/arch/arm/mach-at91/Kconfig
> > @@ -21,7 +21,6 @@ config SOC_SAMA5D2
> >  	depends on ARCH_MULTI_V7
> >  	select SOC_SAMA5
> >  	select CACHE_L2X0
> > -	select HAVE_FB_ATMEL
> >  	select HAVE_AT91_UTMI
> >  	select HAVE_AT91_USB_CLK
> >  	select HAVE_AT91_H32MX
> > @@ -36,7 +35,6 @@ config SOC_SAMA5D3
> >  	bool "SAMA5D3 family"
> >  	depends on ARCH_MULTI_V7
> >  	select SOC_SAMA5
> > -	select HAVE_FB_ATMEL
> >  	select HAVE_AT91_UTMI
> >  	select HAVE_AT91_SMD
> >  	select HAVE_AT91_USB_CLK
> > @@ -50,7 +48,6 @@ config SOC_SAMA5D4
> >  	depends on ARCH_MULTI_V7
> >  	select SOC_SAMA5
> >  	select CACHE_L2X0
> > -	select HAVE_FB_ATMEL
> >  	select HAVE_AT91_UTMI
> >  	select HAVE_AT91_SMD
> >  	select HAVE_AT91_USB_CLK
> > -- 
> > 2.17.1
> >
Ludovic Desroches April 8, 2019, 11:48 a.m. UTC | #3
On Thu, Mar 28, 2019 at 04:33:07PM +0100, Nicolas Ferre wrote:
> SAMA5 devices use the newer DRM driver for LCD. They don't need
> the older FB driver: remove the Kconfig option for them.
> 
> Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>

Applied to at91-defconfig.

Thanks.

> ---
>  arch/arm/mach-at91/Kconfig | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
> index 903f23c309df..01b1bdb4fb6e 100644
> --- a/arch/arm/mach-at91/Kconfig
> +++ b/arch/arm/mach-at91/Kconfig
> @@ -21,7 +21,6 @@ config SOC_SAMA5D2
>  	depends on ARCH_MULTI_V7
>  	select SOC_SAMA5
>  	select CACHE_L2X0
> -	select HAVE_FB_ATMEL
>  	select HAVE_AT91_UTMI
>  	select HAVE_AT91_USB_CLK
>  	select HAVE_AT91_H32MX
> @@ -36,7 +35,6 @@ config SOC_SAMA5D3
>  	bool "SAMA5D3 family"
>  	depends on ARCH_MULTI_V7
>  	select SOC_SAMA5
> -	select HAVE_FB_ATMEL
>  	select HAVE_AT91_UTMI
>  	select HAVE_AT91_SMD
>  	select HAVE_AT91_USB_CLK
> @@ -50,7 +48,6 @@ config SOC_SAMA5D4
>  	depends on ARCH_MULTI_V7
>  	select SOC_SAMA5
>  	select CACHE_L2X0
> -	select HAVE_FB_ATMEL
>  	select HAVE_AT91_UTMI
>  	select HAVE_AT91_SMD
>  	select HAVE_AT91_USB_CLK
> -- 
> 2.17.1
>
diff mbox series

Patch

diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index 903f23c309df..01b1bdb4fb6e 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm/mach-at91/Kconfig
@@ -21,7 +21,6 @@  config SOC_SAMA5D2
 	depends on ARCH_MULTI_V7
 	select SOC_SAMA5
 	select CACHE_L2X0
-	select HAVE_FB_ATMEL
 	select HAVE_AT91_UTMI
 	select HAVE_AT91_USB_CLK
 	select HAVE_AT91_H32MX
@@ -36,7 +35,6 @@  config SOC_SAMA5D3
 	bool "SAMA5D3 family"
 	depends on ARCH_MULTI_V7
 	select SOC_SAMA5
-	select HAVE_FB_ATMEL
 	select HAVE_AT91_UTMI
 	select HAVE_AT91_SMD
 	select HAVE_AT91_USB_CLK
@@ -50,7 +48,6 @@  config SOC_SAMA5D4
 	depends on ARCH_MULTI_V7
 	select SOC_SAMA5
 	select CACHE_L2X0
-	select HAVE_FB_ATMEL
 	select HAVE_AT91_UTMI
 	select HAVE_AT91_SMD
 	select HAVE_AT91_USB_CLK