summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-xlp.c
diff options
context:
space:
mode:
authorAlexander Stein <alexander.stein@systec-electronic.com>2016-03-23 18:01:27 +0100
committerLinus Walleij <linus.walleij@linaro.org>2016-03-31 10:41:50 +0200
commit16fe1ad289019d78a8f8fdb65f08d298ee921cb3 (patch)
tree72891a503d0271a52ae54d6151df32d584d9dfa5 /drivers/gpio/gpio-xlp.c
parentgpio: mpc8xxx: Add new platforms GPIO DT node description (diff)
downloadlinux-16fe1ad289019d78a8f8fdb65f08d298ee921cb3.tar.xz
linux-16fe1ad289019d78a8f8fdb65f08d298ee921cb3.zip
gpio: mcp23s08: Add support for level triggered interrupts
The interrupt for the corresponding pin is configured to trigger when the pin state changes compared to a preconfigured state (Bit set in INTCON). This state is set by setting/clearing the bit in DEFVAL. In the interrupt handler we need also to check if the bit in INTCON is set for level triggered interrupts. Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-xlp.c')
0 files changed, 0 insertions, 0 deletions