public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/14] gpio: remove uneeded Kconfig dependencies on OF_GPIO
@ 2026-03-04  9:02 Bartosz Golaszewski
  2026-03-04  9:02 ` [PATCH 01/14] arm64: Kconfig: drop unneeded dependency " Bartosz Golaszewski
                   ` (14 more replies)
  0 siblings, 15 replies; 24+ messages in thread
From: Bartosz Golaszewski @ 2026-03-04  9:02 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon, Alexey Brodkin, Vineet Gupta,
	Scott Wood, Madhavan Srinivasan, Michael Ellerman,
	Nicholas Piggin, Christophe Leroy (CS GROUP), Andrew Lunn,
	Heiner Kallweit, Russell King, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Liam Girdwood, Mark Brown,
	Linus Walleij, Bartosz Golaszewski, Neil Armstrong, Kevin Hilman,
	Jerome Brunet, Martin Blumenstingl, Dvorkin Dmitry, Wells Lu,
	Lee Jones, Pavel Machek, Guenter Roeck, Wim Van Sebroeck,
	Mauro Carvalho Chehab, Greg Kroah-Hartman, Sebastian Reichel
  Cc: linux-arm-kernel, linux-kernel, linux-snps-arc, linuxppc-dev,
	netdev, linux-gpio, linux-amlogic, linux-leds, linux-hwmon,
	linux-watchdog, linux-media, linux-staging, linux-pm, brgl,
	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>
---
Bartosz Golaszewski (14):
      arm64: Kconfig: drop unneeded dependency on OF_GPIO
      arc: axs10x: drop unneeded dependency on OF_GPIO
      powerpc: drop unneeded dependency on OF_GPIO
      net: mdio: drop unneeded dependency on OF_GPIO
      regulator: drop unneeded dependencies on OF_GPIO
      gpio: drop unneeded Kconfig dependencies on OF_GPIO
      pinctrl: Kconfig: drop unneeded dependencies on OF_GPIO
      leds: Kconfig: drop unneeded dependency on OF_GPIO
      hwmon: 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/arc/plat-axs10x/Kconfig           |  1 -
 arch/arm64/Kconfig.platforms           |  1 -
 arch/powerpc/platforms/85xx/Kconfig    |  1 -
 drivers/bus/Kconfig                    |  2 +-
 drivers/gpio/Kconfig                   | 53 +++++++++++-----------------------
 drivers/hwmon/Kconfig                  |  1 -
 drivers/leds/Kconfig                   |  1 -
 drivers/media/i2c/Kconfig              | 12 ++++----
 drivers/net/mdio/Kconfig               |  2 +-
 drivers/pinctrl/Kconfig                |  9 ------
 drivers/pinctrl/bcm/Kconfig            |  4 +--
 drivers/pinctrl/meson/Kconfig          |  1 -
 drivers/pinctrl/starfive/Kconfig       |  2 --
 drivers/pinctrl/sunplus/Kconfig        |  1 -
 drivers/power/reset/Kconfig            |  8 ++---
 drivers/regulator/Kconfig              |  2 --
 drivers/staging/media/max96712/Kconfig |  1 -
 drivers/watchdog/Kconfig               |  2 +-
 18 files changed, 31 insertions(+), 73 deletions(-)
---
base-commit: c025f6cf4209e1542ec2afebe49f42bbaf1a5c7b
change-id: 20260304-gpio-of-kconfig-e257ea7c9a09

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


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

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

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-04  9:02 [PATCH 00/14] gpio: remove uneeded Kconfig dependencies on OF_GPIO Bartosz Golaszewski
2026-03-04  9:02 ` [PATCH 01/14] arm64: Kconfig: drop unneeded dependency " Bartosz Golaszewski
2026-03-04  9:02 ` [PATCH 02/14] arc: axs10x: " Bartosz Golaszewski
2026-03-04 17:35   ` Vineet Gupta
2026-03-04  9:02 ` [PATCH 03/14] powerpc: " Bartosz Golaszewski
2026-03-04  9:18   ` Christophe Leroy (CS GROUP)
2026-03-04  9:02 ` [PATCH 04/14] net: mdio: " Bartosz Golaszewski
2026-03-04  9:02 ` [PATCH 05/14] regulator: drop unneeded dependencies " Bartosz Golaszewski
2026-03-04 11:23   ` Mark Brown
2026-03-04  9:02 ` [PATCH 06/14] gpio: drop unneeded Kconfig " Bartosz Golaszewski
2026-03-04  9:02 ` [PATCH 07/14] pinctrl: Kconfig: drop unneeded " Bartosz Golaszewski
2026-03-10  9:11   ` Linus Walleij
2026-03-04  9:02 ` [PATCH 08/14] leds: Kconfig: drop unneeded dependency " Bartosz Golaszewski
2026-03-04  9:02 ` [PATCH 09/14] hwmon: " Bartosz Golaszewski
2026-03-04 21:58   ` Guenter Roeck
2026-03-04  9:02 ` [PATCH 10/14] watchdog: convert the Kconfig dependency on OF_GPIO to OF Bartosz Golaszewski
2026-03-05  0:47   ` Guenter Roeck
2026-03-06 23:28   ` Guenter Roeck
2026-03-06 23:33   ` Guenter Roeck
2026-03-04  9:02 ` [PATCH 11/14] bus: drop unneeded dependency on OF_GPIO Bartosz Golaszewski
2026-03-04  9:02 ` [PATCH 12/14] staging: media: max96712: " Bartosz Golaszewski
2026-03-04  9:02 ` [PATCH 13/14] power: reset: drop unneeded dependencies " Bartosz Golaszewski
2026-03-04  9:02 ` [PATCH 14/14] media: i2c: " Bartosz Golaszewski
2026-03-13 13:43 ` (subset) [PATCH 00/14] 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