mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user