Skip to contentSkip to conversation

arm64: enable HAVE_SHARED_GPIOS for all ARM64 platforms

PATCH RESEND Applied Bartosz Golaszewski 3 participants 3 messages Sep 25 – Oct 13

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 arm64: enable HAVE_SHARED_GPIOS for all ARM64 platforms

Shared GPIO management provided by the GPIO shared proxy module has been enabled for Qualcomm platforms for some time. By extension of the defconfig, it's been effectively enabled for all ARM64 platforms when using the default configuration. Bugs discovered initially after the feature was first enabled, were fixed and I haven't seen any new reports for several months. Make the feature enabled by default for all ARM64 platforms officially, which will allow us to continue the removal of the deprecated GPIOD_FLAGS_BIT_NONEXCLUSIVE flag from the kernel.

---
Hi ARM SoC maintainers! As per Catalin's message[1], I'm resending it to wider audience. Can you please queue it for v7.4 via the ARM SoC tree?

[1] https://lore.kernel.org/all/[email protected]/

---
 arch/arm64/Kconfig           | 1 +
 arch/arm64/Kconfig.platforms | 2 --
 2 files changed, 1 insertion(+), 2 deletions(-)
arch/arm64/Kconfig +1 -0
index 94cc8075460f0a763cd82b2cabbdb80275042935..19e453b1214353e842e0aa9d3ff9f684c5b693e5 100644
@@ -195,6 +195,7 @@ config ARM64
 		if DYNAMIC_FTRACE_WITH_ARGS
 	select HAVE_SAMPLE_FTRACE_DIRECT
 	select HAVE_SAMPLE_FTRACE_DIRECT_MULTI
+	select HAVE_SHARED_GPIOS
 	select HAVE_BUILDTIME_MCOUNT_SORT
 	select HAVE_EFFICIENT_UNALIGNED_ACCESS
 	select HAVE_GUP_FAST
arch/arm64/Kconfig.platforms +0 -2
index 1489bad527d8e61584b2a29e5161820cbc0ec0f7..21fb82ab4983f80fc3eaba7cdb5627cf80a18c95 100644
@@ -37,7 +37,6 @@ config ARCH_APPLE
 	bool "Apple Silicon SoC family"
 	select APPLE_AIC
 	select APPLE_PMGR_PWRSTATE if PM
-	select HAVE_SHARED_GPIOS
 	help
 	  This enables support for Apple's in-house ARM SoC family, such
 	  as the Apple M1.
@@ -329,7 +328,6 @@ config ARCH_QCOM
 	select GPIOLIB
 	select PINCTRL
 	select HAVE_PWRCTRL if PCI
-	select HAVE_SHARED_GPIOS
 	help
 	  This enables support for the ARMv8 based Qualcomm chipsets.
 

---
base-commit: 4c253ac4b29b8c6cc6fdef8f92d4facde62e63b9
change-id: 20260907-arm64-have-shared-gpios-4c6c07d7dc5e

Best regards,

Signature · 1 line
Bartosz Golaszewski <[email protected]>
#1 lore raw
Quoted 9 lines · Bartosz Golaszewski

Shared GPIO management provided by the GPIO shared proxy module has been enabled for Qualcomm platforms for some time. By extension of the defconfig, it's been effectively enabled for all ARM64 platforms when using the default configuration. Bugs discovered initially after the feature was first enabled, were fixed and I haven't seen any new reports for several months. Make the feature enabled by default for all ARM64 platforms officially, which will allow us to continue the removal of the deprecated GPIOD_FLAGS_BIT_NONEXCLUSIVE flag from the kernel.

Quoted 5 lines

---

Gentle ping. Can this go directly through the ARM-SoC tree?

Bart

#2 lore raw
In reply to Bartosz Golaszewski
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 10 lines · On Fri, 25 Sep 2026 09:43:17 +0200 you wrote:

Shared GPIO management provided by the GPIO shared proxy module has been enabled for Qualcomm platforms for some time. By extension of the defconfig, it's been effectively enabled for all ARM64 platforms when using the default configuration. Bugs discovered initially after the feature was first enabled, were fixed and I haven't seen any new reports for several months. Make the feature enabled by default for all ARM64 platforms officially, which will allow us to continue the removal of the deprecated GPIOD_FLAGS_BIT_NONEXCLUSIVE flag from the kernel.

[...]

Here is the summary with links:
- [RESEND] arm64: enable HAVE_SHARED_GPIOS for all ARM64 platforms

    https://git.kernel.org/soc/soc/c/f918e3804498

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html