gpio: sch: Add edge event support
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 17 Mar 2021 15:19:27 +0000 (17:19 +0200)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 5 May 2021 14:07:40 +0000 (16:07 +0200)
commit7a81638485c1a62a87b4c391ecc9c651a4a9dc19
tree9bd78cac9e392a33196c9e14722397abd8dcfc9b
parentac505b6f5fa8289c3d3a311344de0da23f6ff767
gpio: sch: Add edge event support

Add the required infrastructure to enable and report edge events
of the pins to the GPIO core. The actual hook-up of the event interrupt
will happen separately.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Co-developed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/Kconfig
drivers/gpio/gpio-sch.c