linux/drivers/pinctrl/bcm
Phil Elwell 00445b5d58 pinctrl: bcm2835: Fix ints for GPIOs 28-31 & 46-53
Contrary to the documentation, the BCM2835 GPIO controller actually
has four interrupt lines - one each for the three IRQ groups and one
common. Confusingly, the GPIO interrupt groups don't correspond
directly with the GPIO control banks. Instead, GPIOs 0-27 generate IRQ
GPIO0, 28-45 IRQ GPIO1 and 46-53 IRQ GPIO2.

Awkwardly, the GPIOs for IRQ GPIO1 straddle two 32-entry GPIO banks,
so split out a function to process the interrupts for a single GPIO
bank.

Cc: Stefan Wahren <stefan.wahren@i2se.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Phil Elwell <phil@raspberrypi.org>
Acked-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2016-11-15 00:13:52 +01:00
..
Kconfig pinctrl: bcm: add OF dependencies 2016-07-22 16:43:32 +02:00
Makefile pinctrl: nsp: add pinmux driver support for Broadcom NSP SoC 2016-06-29 10:06:00 +02:00
pinctrl-bcm281xx.c pinctrl: bcm281xx: constify pinctrl_ops and pinmux_ops structures 2016-09-07 22:41:30 +02:00
pinctrl-bcm2835.c pinctrl: bcm2835: Fix ints for GPIOs 28-31 & 46-53 2016-11-15 00:13:52 +01:00
pinctrl-cygnus-mux.c pinctrl: cygnus-mux: Use devm_pinctrl_register() for pinctrl registration 2016-04-21 00:02:00 +02:00
pinctrl-iproc-gpio.c pinctrl: iproc: Add NSP and Stingray GPIO support 2016-07-22 16:47:51 +02:00
pinctrl-ns2-mux.c pinctrl: ns2: constify pinctrl_ops and pinmux_ops structures 2016-09-07 22:39:44 +02:00
pinctrl-nsp-gpio.c pinctrl: nsp-gpio: fix non-static functions 2016-06-08 14:09:49 +02:00
pinctrl-nsp-mux.c pinctrl: nsp: constify pinctrl_ops and pinmux_ops structures 2016-09-07 22:40:40 +02:00