diff options
| author | Geert Uytterhoeven <[email protected]> | 2021-12-03 14:06:44 +0000 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2021-12-03 14:54:31 +0000 |
| commit | a00128dfc8fc0cc8848d9168d6e7cfff99bd46f0 (patch) | |
| tree | fa78c02a09bbe0cad0d6060a8ed434488d8eaadb /drivers/gpio/gpio-xlp.c | |
| parent | gpiolib: Let gpiod_add_lookup_table() call gpiod_add_lookup_tables() (diff) | |
| download | kernel-a00128dfc8fc0cc8848d9168d6e7cfff99bd46f0.tar.gz kernel-a00128dfc8fc0cc8848d9168d6e7cfff99bd46f0.zip | |
gpio: aggregator: Add interrupt support
Currently the GPIO Aggregator does not support interrupts. This means
that kernel drivers going from a GPIO to an IRQ using gpiod_to_irq(),
and userspace applications using line events do not work.
Add interrupt support by providing a gpio_chip.to_irq() callback, which
just calls into the parent GPIO controller.
Note that this does not implement full interrupt controller (irq_chip)
support, so using e.g. gpio-keys with "interrupts" instead of "gpios"
still does not work.
Signed-off-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'drivers/gpio/gpio-xlp.c')
0 files changed, 0 insertions, 0 deletions
