mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3] arm64: Kconfig: drop unneeded dependency on OF_GPIO for ARCH_MVEBU
@ 2026-04-30 14:32 Bartosz Golaszewski
  2026-05-05 10:42 ` Linus Walleij
  0 siblings, 1 reply; 4+ messages in thread
From: Bartosz Golaszewski @ 2026-04-30 14:32 UTC (permalink / raw)
  To: Linus Walleij, Arnd Bergmann, Catalin Marinas, Will Deacon
  Cc: linux-arm-kernel, linux-kernel, brgl, Bartosz Golaszewski

OF_GPIO is selected automatically on all OF systems. Any symbols it
controls also provide stubs so there's really no reason to select it
explicitly. ARCH_MVEBU already selects GPIOLIB, drop the redundant
OF_GPIO dependency.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
---
Changes in v3:
- Send the arm64 patch separately so that it can be picked up for v7.2
- Link to v2: https://patch.msgid.link/20260316-gpio-of-kconfig-v2-0-de2f4b00a0e4@oss.qualcomm.com

Changes in v2:
- Make gpio-watchdog depend on OF && GPIOLIB
- Drop picked up patches
- Link to v1: https://patch.msgid.link/20260304-gpio-of-kconfig-v1-0-d597916e79e7@oss.qualcomm.com

 arch/arm64/Kconfig.platforms | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index 72c812e76b0b1..dc995a7321174 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -243,7 +243,6 @@ config ARCH_MVEBU
 	select MVEBU_ODMI
 	select MVEBU_PIC
 	select MVEBU_SEI
-	select OF_GPIO
 	select PINCTRL
 	select PINCTRL_ARMADA_37XX
 	select PINCTRL_ARMADA_AP806
-- 
2.47.3


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

* Re: [PATCH v3] arm64: Kconfig: drop unneeded dependency on OF_GPIO for ARCH_MVEBU
  2026-04-30 14:32 [PATCH v3] arm64: Kconfig: drop unneeded dependency on OF_GPIO for ARCH_MVEBU Bartosz Golaszewski
@ 2026-05-05 10:42 ` Linus Walleij
  2026-05-20  8:32   ` Bartosz Golaszewski
  0 siblings, 1 reply; 4+ messages in thread
From: Linus Walleij @ 2026-05-05 10:42 UTC (permalink / raw)
  To: Bartosz Golaszewski
  Cc: Arnd Bergmann, Catalin Marinas, Will Deacon, linux-arm-kernel,
	linux-kernel, brgl

On Thu, Apr 30, 2026 at 4:32 PM Bartosz Golaszewski
<bartosz.golaszewski@oss.qualcomm.com> wrote:

> OF_GPIO is selected automatically on all OF systems. Any symbols it
> controls also provide stubs so there's really no reason to select it
> explicitly. ARCH_MVEBU already selects GPIOLIB, drop the redundant
> OF_GPIO dependency.
>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>

Reviewed-by: Linus Walleij <linusw@kernel.org>

Yours,
Linus Walleij

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

* Re: [PATCH v3] arm64: Kconfig: drop unneeded dependency on OF_GPIO for ARCH_MVEBU
  2026-05-05 10:42 ` Linus Walleij
@ 2026-05-20  8:32   ` Bartosz Golaszewski
  2026-05-20 10:18     ` Arnd Bergmann
  0 siblings, 1 reply; 4+ messages in thread
From: Bartosz Golaszewski @ 2026-05-20  8:32 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: Bartosz Golaszewski, Catalin Marinas, Will Deacon,
	linux-arm-kernel, linux-kernel, Linus Walleij

On Tue, May 5, 2026 at 12:42 PM Linus Walleij <linusw@kernel.org> wrote:
>
> On Thu, Apr 30, 2026 at 4:32 PM Bartosz Golaszewski
> <bartosz.golaszewski@oss.qualcomm.com> wrote:
>
> > OF_GPIO is selected automatically on all OF systems. Any symbols it
> > controls also provide stubs so there's really no reason to select it
> > explicitly. ARCH_MVEBU already selects GPIOLIB, drop the redundant
> > OF_GPIO dependency.
> >
> > Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
>
> Reviewed-by: Linus Walleij <linusw@kernel.org>
>
> Yours,
> Linus Walleij

Arnd, can you please queue this directly for v7.2?

Bartosz

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

* Re: [PATCH v3] arm64: Kconfig: drop unneeded dependency on OF_GPIO for ARCH_MVEBU
  2026-05-20  8:32   ` Bartosz Golaszewski
@ 2026-05-20 10:18     ` Arnd Bergmann
  0 siblings, 0 replies; 4+ messages in thread
From: Arnd Bergmann @ 2026-05-20 10:18 UTC (permalink / raw)
  To: Bartosz Golaszewski
  Cc: Bartosz Golaszewski, Catalin Marinas, Will Deacon,
	linux-arm-kernel, linux-kernel, Linus Walleij

On Wed, May 20, 2026, at 10:32, Bartosz Golaszewski wrote:
> On Tue, May 5, 2026 at 12:42 PM Linus Walleij <linusw@kernel.org> wrote:
>>
>> On Thu, Apr 30, 2026 at 4:32 PM Bartosz Golaszewski
>> <bartosz.golaszewski@oss.qualcomm.com> wrote:
>>
>> > OF_GPIO is selected automatically on all OF systems. Any symbols it
>> > controls also provide stubs so there's really no reason to select it
>> > explicitly. ARCH_MVEBU already selects GPIOLIB, drop the redundant
>> > OF_GPIO dependency.
>> >
>> > Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
>>
>> Reviewed-by: Linus Walleij <linusw@kernel.org>
>>
>
> Arnd, can you please queue this directly for v7.2?

Done, thanks for the patch!

    Arnd

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

end of thread, other threads:[~2026-05-20 10:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-30 14:32 [PATCH v3] arm64: Kconfig: drop unneeded dependency on OF_GPIO for ARCH_MVEBU Bartosz Golaszewski
2026-05-05 10:42 ` Linus Walleij
2026-05-20  8:32   ` Bartosz Golaszewski
2026-05-20 10:18     ` Arnd Bergmann

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®