Skip to contentSkip to conversation

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

PATCH Applied Nicolas Ferre 2 participants 4 messages Mar 28, 2019 – Apr 8, 2019

Subsystems (3)
lore
Share & tools
lore

Nicolas Ferre

author maintainer
#0 lore raw

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

SAMA5 devices use the newer DRM driver for LCD. They don't need the older FB driver: remove the Kconfig option for them.

---
 arch/arm/mach-at91/Kconfig | 3 ---
 1 file changed, 3 deletions(-)
arch/arm/mach-at91/Kconfig +0 -3
index 903f23c309df..01b1bdb4fb6e 100644
@@ -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
Signature · 1 line
2.17.1
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Nicolas Ferre

SAMA5 devices use the newer DRM driver for LCD. They don't need the older FB driver: remove the Kconfig option for them.

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

Quoted 35 lines
---
 arch/arm/mach-at91/Kconfig | 3 ---
 1 file changed, 3 deletions(-)
arch/arm/mach-at91/Kconfig +0 -3
index 903f23c309df..01b1bdb4fb6e 100644
@@ -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
Signature · 1 line
2.17.1
#2 lore raw
Quoted 9 lines · Ludovic Desroches
Quoted 4 lines · Nicolas Ferre

SAMA5 devices use the newer DRM driver for LCD. They don't need the older FB driver: remove the Kconfig option for them.

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

Quoted 36 lines
Quoted 36 lines
---
 arch/arm/mach-at91/Kconfig | 3 ---
 1 file changed, 3 deletions(-)
arch/arm/mach-at91/Kconfig +0 -3
index 903f23c309df..01b1bdb4fb6e 100644
@@ -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
Signature · 1 line
2.17.1
#3 lore raw
In reply to Nicolas Ferre
Quoted 4 lines · Nicolas Ferre

SAMA5 devices use the newer DRM driver for LCD. They don't need the older FB driver: remove the Kconfig option for them.

Applied to at91-defconfig.

Thanks.

Quoted 35 lines
---
 arch/arm/mach-at91/Kconfig | 3 ---
 1 file changed, 3 deletions(-)
arch/arm/mach-at91/Kconfig +0 -3
index 903f23c309df..01b1bdb4fb6e 100644
@@ -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
Signature · 1 line
2.17.1