linux-stable/drivers/pinctrl/bcm
Mark Tomlinson 94c70241ef pinctrl: nsp: Set irq handler based on trig type
Rather than always using handle_simple_irq() as the gpio_irq_chip
handler, set a more appropriate handler based on the IRQ trigger type
requested. This is important for level triggered interrupts which need
to be masked during handling. Also, fix the interrupt acknowledge so
that it clears only one interrupt instead of all interrupts which are
currently active. Finally there is no need to clear the interrupt during
the interrupt handler, since the edge-triggered handler will do that for
us.

Signed-off-by: Mark Tomlinson <mark.tomlinson@alliedtelesis.co.nz>
Reviewed-by: Ray Jui <ray.jui@broadcom.com>
Link: https://lore.kernel.org/r/20200703011830.15655-1-mark.tomlinson@alliedtelesis.co.nz
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2020-07-11 23:09:12 +02:00
..
Kconfig This is the bulk of pin control changes for the v5.3 kernel 2019-07-13 15:02:27 -07:00
Makefile pinctrl: bcm: add Northstar driver 2018-10-10 09:16:54 +02:00
pinctrl-bcm281xx.c pinctrl: Fix return value about devm_platform_ioremap_resource() 2020-05-25 13:40:47 +02:00
pinctrl-bcm2835.c pinctrl: bcm2835: Add support for wake-up interrupts 2020-06-03 14:16:38 +02:00
pinctrl-cygnus-mux.c pinctrl: use devm_platform_ioremap_resource() to simplify code 2019-11-05 15:33:40 +01:00
pinctrl-iproc-gpio.c pinctrl: Use new GPIO_LINE_DIRECTION 2020-02-21 15:19:42 +01:00
pinctrl-ns.c pinctrl: bcm: ns: support updated DT binding as syscon subnode 2018-12-21 11:45:49 +01:00
pinctrl-ns2-mux.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
pinctrl-nsp-gpio.c pinctrl: nsp: Set irq handler based on trig type 2020-07-11 23:09:12 +02:00
pinctrl-nsp-mux.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00