]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcae6b14377b3925995c472068638f094a9389aaa
tree9bd78cac9e392a33196c9e14722397abd8dcfc9b
parentad8cc5e77d5b5343fdb67b2954827915b1ccbcba
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