public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/9] gpio: remove uneeded Kconfig dependencies on OF_GPIO
@ 2026-03-16  9:45 Bartosz Golaszewski
  2026-03-16  9:45 ` [PATCH v2 1/9] arm64: Kconfig: drop unneeded dependency " Bartosz Golaszewski
                   ` (9 more replies)
  0 siblings, 10 replies; 12+ messages in thread
From: Bartosz Golaszewski @ 2026-03-16  9:45 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon, Andrew Lunn, Heiner Kallweit,
	Russell King, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Linus Walleij, Lee Jones, Pavel Machek,
	Wim Van Sebroeck, Guenter Roeck, Mauro Carvalho Chehab,
	Greg Kroah-Hartman, Sebastian Reichel
  Cc: brgl, linux-arm-kernel, linux-kernel, netdev, linux-gpio,
	linux-leds, linux-watchdog, linux-media, linux-staging, linux-pm,
	Bartosz Golaszewski

NOTE: Each patch in this series can be picked up independently into
maintainer trees.

CONFIG_OF_GPIO is a switch that enables the compilation of the gpiolib-of
module. The module itself handles GPIO lookup via the OF-node tree and
is automatically enabled on all OF systems. It does not export any
public symbols to drivers. There is no reason for them to select or
depend on it in Kconfig.

This series removes any such dependencies from Kconfig. If a given entry
has no other dependencies than OF_GPIO - they are converted to OF to
avoid new symbols popping up for everyone in make config.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@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

---
Bartosz Golaszewski (9):
      arm64: Kconfig: drop unneeded dependency on OF_GPIO
      net: mdio: drop unneeded dependency on OF_GPIO
      gpio: drop unneeded Kconfig dependencies on OF_GPIO
      leds: Kconfig: drop unneeded dependency on OF_GPIO
      watchdog: convert the Kconfig dependency on OF_GPIO to OF
      bus: drop unneeded dependency on OF_GPIO
      staging: media: max96712: drop unneeded dependency on OF_GPIO
      power: reset: drop unneeded dependencies on OF_GPIO
      media: i2c: drop unneeded dependencies on OF_GPIO

 arch/arm64/Kconfig.platforms           |  1 -
 drivers/bus/Kconfig                    |  2 +-
 drivers/gpio/Kconfig                   | 53 +++++++++++-----------------------
 drivers/leds/Kconfig                   |  1 -
 drivers/media/i2c/Kconfig              | 12 ++++----
 drivers/net/mdio/Kconfig               |  2 +-
 drivers/power/reset/Kconfig            |  8 ++---
 drivers/staging/media/max96712/Kconfig |  1 -
 drivers/watchdog/Kconfig               |  2 +-
 9 files changed, 29 insertions(+), 53 deletions(-)
---
base-commit: b84a0ebe421ca56995ff78b66307667b62b3a900
change-id: 20260304-gpio-of-kconfig-e257ea7c9a09

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>


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

end of thread, other threads:[~2026-03-26 12:03 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-16  9:45 [PATCH v2 0/9] gpio: remove uneeded Kconfig dependencies on OF_GPIO Bartosz Golaszewski
2026-03-16  9:45 ` [PATCH v2 1/9] arm64: Kconfig: drop unneeded dependency " Bartosz Golaszewski
2026-03-16  9:45 ` [PATCH v2 2/9] net: mdio: " Bartosz Golaszewski
2026-03-16  9:45 ` [PATCH v2 3/9] gpio: drop unneeded Kconfig dependencies " Bartosz Golaszewski
2026-03-16  9:45 ` [PATCH v2 4/9] leds: Kconfig: drop unneeded dependency " Bartosz Golaszewski
2026-03-26 12:03   ` (subset) " Lee Jones
2026-03-16  9:45 ` [PATCH v2 5/9] watchdog: convert the Kconfig dependency on OF_GPIO to OF Bartosz Golaszewski
2026-03-16  9:45 ` [PATCH v2 6/9] bus: drop unneeded dependency on OF_GPIO Bartosz Golaszewski
2026-03-16  9:45 ` [PATCH v2 7/9] staging: media: max96712: " Bartosz Golaszewski
2026-03-16  9:45 ` [PATCH v2 8/9] power: reset: drop unneeded dependencies " Bartosz Golaszewski
2026-03-16  9:45 ` [PATCH v2 9/9] media: i2c: " Bartosz Golaszewski
2026-03-24  9:04 ` (subset) [PATCH v2 0/9] gpio: remove uneeded Kconfig " Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox