* [PATCH] arm64: enable HAVE_SHARED_GPIOS for all ARM64 platforms
@ 2026-09-07 14:50 Bartosz Golaszewski
2026-09-14 19:17 ` Frank Li
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Bartosz Golaszewski @ 2026-09-07 14:50 UTC (permalink / raw)
To: Catalin Marinas, Will Deacon, Mark Rutland, Linus Walleij,
Bartosz Golaszewski
Cc: linux-arm-kernel, linux-kernel, linux-gpio, 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.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.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 bd0b4aeceb218f4085978af9421c97e5c7cea94a..b6fcf6c6a6089e26da08a7efb7eba9422f96edc4 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 76a6a0e6ae4f1ed496cea090fd73398ed525e732..74c03cb2f9bc84716fbc9d186a38f4646f0f295a 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: af5f12805e5cefa4fe68d6127c7e1fb78cd5535c
change-id: 20260907-arm64-have-shared-gpios-4c6c07d7dc5e
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64: enable HAVE_SHARED_GPIOS for all ARM64 platforms
2026-09-07 14:50 [PATCH] arm64: enable HAVE_SHARED_GPIOS for all ARM64 platforms Bartosz Golaszewski
@ 2026-09-14 19:17 ` Frank Li
2026-09-14 21:17 ` Linus Walleij
2026-09-23 14:16 ` Catalin Marinas
2 siblings, 0 replies; 4+ messages in thread
From: Frank Li @ 2026-09-14 19:17 UTC (permalink / raw)
To: Bartosz Golaszewski
Cc: Catalin Marinas, Will Deacon, Mark Rutland, Linus Walleij,
Bartosz Golaszewski, linux-arm-kernel, linux-kernel, linux-gpio
On Mon, Sep 07, 2026 at 04:50:34PM +0200, Bartosz Golaszewski 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.
>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
> ---
Reviewed-by: Frank Li <Frank.Li@nxp.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 bd0b4aeceb218f4085978af9421c97e5c7cea94a..b6fcf6c6a6089e26da08a7efb7eba9422f96edc4 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 76a6a0e6ae4f1ed496cea090fd73398ed525e732..74c03cb2f9bc84716fbc9d186a38f4646f0f295a 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: af5f12805e5cefa4fe68d6127c7e1fb78cd5535c
> change-id: 20260907-arm64-have-shared-gpios-4c6c07d7dc5e
>
> Best regards,
> --
> Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64: enable HAVE_SHARED_GPIOS for all ARM64 platforms
2026-09-07 14:50 [PATCH] arm64: enable HAVE_SHARED_GPIOS for all ARM64 platforms Bartosz Golaszewski
2026-09-14 19:17 ` Frank Li
@ 2026-09-14 21:17 ` Linus Walleij
2026-09-23 14:16 ` Catalin Marinas
2 siblings, 0 replies; 4+ messages in thread
From: Linus Walleij @ 2026-09-14 21:17 UTC (permalink / raw)
To: Bartosz Golaszewski
Cc: Catalin Marinas, Will Deacon, Mark Rutland, Bartosz Golaszewski,
linux-arm-kernel, linux-kernel, linux-gpio
On Mon, Sep 7, 2026 at 4:50 PM Bartosz Golaszewski
<bartosz.golaszewski@oss.qualcomm.com> 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.
>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
That sounds reasonable.
Reviewed-by: Linus Walleij <linusw@kernel.org>
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64: enable HAVE_SHARED_GPIOS for all ARM64 platforms
2026-09-07 14:50 [PATCH] arm64: enable HAVE_SHARED_GPIOS for all ARM64 platforms Bartosz Golaszewski
2026-09-14 19:17 ` Frank Li
2026-09-14 21:17 ` Linus Walleij
@ 2026-09-23 14:16 ` Catalin Marinas
2 siblings, 0 replies; 4+ messages in thread
From: Catalin Marinas @ 2026-09-23 14:16 UTC (permalink / raw)
To: Bartosz Golaszewski
Cc: Will Deacon, Mark Rutland, Linus Walleij, Bartosz Golaszewski,
linux-arm-kernel, linux-kernel, linux-gpio, Arnd Bergmann,
Krzysztof Kozlowski, Alexandre Belloni
On Mon, Sep 07, 2026 at 04:50:34PM +0200, Bartosz Golaszewski 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.
>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
> ---
> arch/arm64/Kconfig | 1 +
> arch/arm64/Kconfig.platforms | 2 --
> 2 files changed, 1 insertion(+), 2 deletions(-)
Since it touches more lines in Kconfig.platforms (2 vs 1), I'd leave
this to the arm-soc people to merge (I also got a minor conflict in
Kconfig.platforms).
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-09-23 14:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-07 14:50 [PATCH] arm64: enable HAVE_SHARED_GPIOS for all ARM64 platforms Bartosz Golaszewski
2026-09-14 19:17 ` Frank Li
2026-09-14 21:17 ` Linus Walleij
2026-09-23 14:16 ` Catalin Marinas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®