ARM: select legacy gpiolib interfaces where used
Subsystems (5)
PATCH 1/1 ARM: select legacy gpiolib interfaces where used
From: Arnd Bergmann <[email protected]>
A few old machines have not been converted away from the old-style gpiolib interfaces. Make these select the new CONFIG_GPIOLIB_LEGACY symbol so the code still works where it is needed but can be left out otherwise.
--- arch/arm/mach-mv78xx0/Kconfig | 1 + arch/arm/mach-orion5x/Kconfig | 1 + arch/arm/mach-pxa/Kconfig | 1 + arch/arm/mach-s3c/Kconfig.s3c64xx | 1 + arch/arm/mach-sa1100/Kconfig | 1 + 5 files changed, 5 insertions(+)
arch/arm/mach-mv78xx0/Kconfig +1 -0
@@ -6,6 +6,7 @@ menuconfig ARCH_MV78XX0 depends on ATAGS select CPU_FEROCEON select GPIOLIB + select GPIOLIB_LEGACY select MVEBU_MBUS select FORCE_PCI select PLAT_ORION_LEGACY
arch/arm/mach-orion5x/Kconfig +1 -0
@@ -5,6 +5,7 @@ menuconfig ARCH_ORION5X depends on CPU_LITTLE_ENDIAN select CPU_FEROCEON select GPIOLIB + select GPIOLIB_LEGACY select MVEBU_MBUS select FORCE_PCI select PCI_QUIRKS
arch/arm/mach-pxa/Kconfig +1 -0
@@ -10,6 +10,7 @@ menuconfig ARCH_PXA select CPU_XSCALE if !CPU_XSC3 select GPIO_PXA select GPIOLIB + select GPIOLIB_LEGACY select PLAT_PXA help Support for Intel/Marvell's PXA2xx/PXA3xx processor line.
arch/arm/mach-s3c/Kconfig.s3c64xx +1 -0
@@ -101,6 +101,7 @@ config MACH_WLF_CRAGG_6410 depends on ATAGS depends on I2C=y select CPU_S3C6410 + select GPIOLIB_LEGACY select LEDS_GPIO_REGISTER select S3C64XX_DEV_SPI0 select S3C64XX_SETUP_FB_24BPP
arch/arm/mach-sa1100/Kconfig +1 -0
@@ -13,6 +13,7 @@ menuconfig ARCH_SA1100 select CPU_FREQ select CPU_SA1100 select GPIOLIB + select GPIOLIB_LEGACY select IRQ_DOMAIN select ISA select NEED_MACH_MEMORY_H
Signature · 1 line
2.39.5
This patch was applied to soc/soc.git (for-next) by Arnd Bergmann <[email protected]>:
Hello:
This patch was applied to soc/soc.git (for-next)
by Arnd Bergmann <[email protected]>:
Quoted 8 lines · On Tue, 28 Apr 2026 18:27:30 +0200 you wrote:
From: Arnd Bergmann <[email protected]>
A few old machines have not been converted away from the old-style gpiolib interfaces. Make these select the new
CONFIG_GPIOLIB_LEGACYsymbol so the code still works where it is needed but can be left out otherwise.[...]
Here is the summary with links:
- ARM: select legacy gpiolib interfaces where used
https://git.kernel.org/soc/soc/c/518949e986e2
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
Quoted 9 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
A few old machines have not been converted away from the old-style gpiolib interfaces. Make these select the new
CONFIG_GPIOLIB_LEGACYsymbol so the code still works where it is needed but can be left out otherwise.Signed-off-by Arnd Bergmann <[email protected]>
for mv78xx0 and orion5x
Thanks,
Gregory
Quoted 71 lines
--- arch/arm/mach-mv78xx0/Kconfig | 1 + arch/arm/mach-orion5x/Kconfig | 1 + arch/arm/mach-pxa/Kconfig | 1 + arch/arm/mach-s3c/Kconfig.s3c64xx | 1 + arch/arm/mach-sa1100/Kconfig | 1 + 5 files changed, 5 insertions(+)arch/arm/mach-mv78xx0/Kconfig +1
-0@@ -6,6 +6,7 @@ menuconfig ARCH_MV78XX0 depends on ATAGS select CPU_FEROCEON select GPIOLIB + select GPIOLIB_LEGACY select MVEBU_MBUS select FORCE_PCI select PLAT_ORION_LEGACYarch/arm/mach-orion5x/Kconfig +1
-0@@ -5,6 +5,7 @@ menuconfig ARCH_ORION5X depends on CPU_LITTLE_ENDIAN select CPU_FEROCEON select GPIOLIB + select GPIOLIB_LEGACY select MVEBU_MBUS select FORCE_PCI select PCI_QUIRKSarch/arm/mach-pxa/Kconfig +1
-0@@ -10,6 +10,7 @@ menuconfig ARCH_PXA select CPU_XSCALE if !CPU_XSC3 select GPIO_PXA select GPIOLIB + select GPIOLIB_LEGACY select PLAT_PXA help Support for Intel/Marvell's PXA2xx/PXA3xx processor line.arch/arm/mach-s3c/Kconfig.s3c64xx +1
-0@@ -101,6 +101,7 @@ config MACH_WLF_CRAGG_6410 depends on ATAGS depends on I2C=y select CPU_S3C6410 + select GPIOLIB_LEGACY select LEDS_GPIO_REGISTER select S3C64XX_DEV_SPI0 select S3C64XX_SETUP_FB_24BPParch/arm/mach-sa1100/Kconfig +1
-0@@ -13,6 +13,7 @@ menuconfig ARCH_SA1100 select CPU_FREQ select CPU_SA1100 select GPIOLIB + select GPIOLIB_LEGACY select IRQ_DOMAIN select ISA select NEED_MACH_MEMORY_HSignature · 1 line
2.39.5
Signature · 3 lines
Grégory CLEMENT, Bootlin Embedded Linux and Kernel engineering https://bootlin.com