android_kernel_xiaomi_sm8350/drivers/gpio
David Brownell 0f6d504e73 gpiolib: gpio_to_irq() hooks
Add a new gpiolib mechanism: gpio_chip instances can provide mappings
between their (input) GPIOs and any associated IRQs.  This makes it easier
for platforms to support IRQs that are provided by board-specific external
chips instead of as part of their core (such as SOC-integrated GPIOs).

Also update the irq_to_gpio() description, saying to avoid it because it's
not always supported.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-10-16 11:21:40 -07:00
..
bt8xxgpio.c
gpiolib.c gpiolib: gpio_to_irq() hooks 2008-10-16 11:21:40 -07:00
Kconfig
Makefile
max732x.c gpio: i2c expanders use subsys_init 2008-10-16 11:21:40 -07:00
max7301.c gpio: max7301: fix the race between chip addition and pins reconfiguration 2008-10-16 11:21:40 -07:00
mcp23s08.c spi: core and gpio expanders use subsys_init 2008-10-16 11:21:38 -07:00
pca953x.c gpio: i2c expanders use subsys_init 2008-10-16 11:21:40 -07:00
pcf857x.c gpio: i2c expanders use subsys_init 2008-10-16 11:21:40 -07:00