2 # GPIO infrastructure and expanders
8 Platforms select gpiolib if they use this infrastructure
9 for all their GPIOs, usually starting with ones integrated
13 depends on HAVE_GPIO_LIB
16 bool "Debug GPIO calls"
17 depends on DEBUG_KERNEL
19 Say Y here to add some extra checks and diagnostics to GPIO calls.
20 The checks help ensure that GPIOs have been properly initialized
21 before they are used and that sleeping calls aren not made from
22 nonsleeping contexts. They can make bitbanged serial protocols
23 slower. The diagnostics help catch the type of setup errors
24 that are most common when setting up new platforms or boards.
26 # put expanders in the right section, in alphabetical order
28 comment "I2C GPIO expanders:"
30 comment "SPI GPIO expanders:"