All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RESEND] arm64: enable HAVE_SHARED_GPIOS for all ARM64 platforms
@ 2026-09-25  7:43 Bartosz Golaszewski
  2026-10-13 13:18 ` Bartosz Golaszewski
  2026-10-13 16:10 ` patchwork-bot+linux-soc
  0 siblings, 2 replies; 3+ messages in thread
From: Bartosz Golaszewski @ 2026-09-25  7:43 UTC (permalink / raw)
  To: Arnd Bergmann, Krzysztof Kozlowski, Alexandre Belloni,
	Drew Fustini, Catalin Marinas, Will Deacon, Mark Rutland,
	Linus Walleij, Bartosz Golaszewski
  Cc: linux-arm-kernel, soc, linux-kernel, linux-gpio, Frank Li,
	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.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Linus Walleij <linusw@kernel.org>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
---
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/arPfRFC5jzVaSQvq@arm.com/
---
 arch/arm64/Kconfig           | 1 +
 arch/arm64/Kconfig.platforms | 2 --
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 94cc8075460f0a763cd82b2cabbdb80275042935..19e453b1214353e842e0aa9d3ff9f684c5b693e5 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -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
diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index 1489bad527d8e61584b2a29e5161820cbc0ec0f7..21fb82ab4983f80fc3eaba7cdb5627cf80a18c95 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -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,
-- 
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH RESEND] arm64: enable HAVE_SHARED_GPIOS for all ARM64 platforms
  2026-09-25  7:43 [PATCH RESEND] arm64: enable HAVE_SHARED_GPIOS for all ARM64 platforms Bartosz Golaszewski
@ 2026-10-13 13:18 ` Bartosz Golaszewski
  2026-10-13 16:10 ` patchwork-bot+linux-soc
  1 sibling, 0 replies; 3+ messages in thread
From: Bartosz Golaszewski @ 2026-10-13 13:18 UTC (permalink / raw)
  To: Bartosz Golaszewski
  Cc: Arnd Bergmann, Krzysztof Kozlowski, Alexandre Belloni,
	Drew Fustini, Catalin Marinas, Will Deacon, Mark Rutland,
	Linus Walleij, Bartosz Golaszewski, linux-arm-kernel, soc,
	linux-kernel, linux-gpio, Frank Li

On Fri, 25 Sep 2026 09:43:17 +0200, Bartosz Golaszewski
<bartosz.golaszewski@oss.qualcomm.com> said:
> 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.
>
> Acked-by: Catalin Marinas <catalin.marinas@arm.com>
> Reviewed-by: Linus Walleij <linusw@kernel.org>
> Reviewed-by: Frank Li <Frank.Li@nxp.com>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
> ---

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

Bart

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH RESEND] arm64: enable HAVE_SHARED_GPIOS for all ARM64 platforms
  2026-09-25  7:43 [PATCH RESEND] arm64: enable HAVE_SHARED_GPIOS for all ARM64 platforms Bartosz Golaszewski
  2026-10-13 13:18 ` Bartosz Golaszewski
@ 2026-10-13 16:10 ` patchwork-bot+linux-soc
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+linux-soc @ 2026-10-13 16:10 UTC (permalink / raw)
  To: Bartosz Golaszewski; +Cc: soc

Hello:

This patch was applied to soc/soc.git (for-next)
by Arnd Bergmann <arnd@arndb.de>:

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!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-13 16:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-25  7:43 [PATCH RESEND] arm64: enable HAVE_SHARED_GPIOS for all ARM64 platforms Bartosz Golaszewski
2026-10-13 13:18 ` Bartosz Golaszewski
2026-10-13 16:10 ` patchwork-bot+linux-soc

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.