diff options
| author | Geert Uytterhoeven <geert+renesas@glider.be> | 2021-12-03 15:06:44 +0100 |
|---|---|---|
| committer | Bartosz Golaszewski <brgl@bgdev.pl> | 2021-12-03 15:54:31 +0100 |
| commit | a00128dfc8fc0cc8848d9168d6e7cfff99bd46f0 (patch) | |
| tree | fa78c02a09bbe0cad0d6060a8ed434488d8eaadb /lib/mpi/mpi-sub-ui.c | |
| parent | 49fdfe66400614ee1c484057c79dd6642c535fd4 (diff) | |
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 <geert+renesas@glider.be>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
