]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit108ed380489c1465c4f2ef9cd87ab6432a89775c
tree0ea1ae8fba1c570caf6e2e0938512fa9d3f0291a
parent317a37d43120d023e1d30b147e93e111fdcb63a6
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