pinctrl: sunxi: Add macro definition for pinctrl with more than one interrupt
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 5 Jun 2014 13:26:01 +0000 (15:26 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 19 Jun 2014 07:35:11 +0000 (09:35 +0200)
commit6e1c30239fe31aae6b415088c39ede7fa62b190c
tree0ea1ae8fba1c570caf6e2e0938512fa9d3f0291a
parent645ec714545bca2a0ed13d7ac5b97d95e09da853
pinctrl: sunxi: Add macro definition for pinctrl with more than one interrupt

The A31 and A23, unlike the other Allwinner SoCs, have several interrupts banks
and parent interrupts, while the other only have up to 32 interrupts in a
single bank and a single parent interrupt.

Start supporting it by introducing a function macro to declare irq functions
and their banks.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sunxi/pinctrl-sunxi.h