Merge tag 'gpio/shared-gpios-for-v6.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git into gpio/for-next

Immutable branch between the GPIO, ASoC and regulator trees for v6.19-rc1

Add better support for GPIOs shared by multiple consumers.
This commit is contained in:
Bartosz Golaszewski
2025-11-17 10:37:37 +01:00
11 changed files with 1085 additions and 9 deletions

View File

@@ -6,6 +6,9 @@
config GPIOLIB_LEGACY
def_bool y
config HAVE_SHARED_GPIOS
bool
menuconfig GPIOLIB
bool "GPIO Support"
help
@@ -42,6 +45,11 @@ config GPIOLIB_IRQCHIP
select IRQ_DOMAIN
bool
config GPIO_SHARED
def_bool y
depends on HAVE_SHARED_GPIOS || COMPILE_TEST
select AUXILIARY_BUS
config DEBUG_GPIO
bool "Debug GPIO calls"
depends on DEBUG_KERNEL
@@ -2017,6 +2025,15 @@ config GPIO_SIM
This enables the GPIO simulator - a configfs-based GPIO testing
driver.
config GPIO_SHARED_PROXY
tristate "Proxy driver for non-exclusive GPIOs"
default m
depends on GPIO_SHARED || COMPILE_TEST
select AUXILIARY_BUS
help
This enables the GPIO shared proxy driver - an abstraction layer
for GPIO pins that are shared by multiple devices.
endmenu
menu "GPIO Debugging utilities"