]> git.karo-electronics.de Git - linux-beck.git/commit
pinctrl/abx500: replace IRQ offsets with table read-in values
authorLee Jones <lee.jones@linaro.org>
Thu, 31 Jan 2013 09:57:52 +0000 (09:57 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 10 Feb 2013 14:44:33 +0000 (15:44 +0100)
commita6a16d274e734afa769a9651dfaf8315d404c116
tree123e91e276d7b6b77f362cc1b59fb0fe78447bb5
parentac652d7941f84c24cb27378aefbb4015f4c1da67
pinctrl/abx500: replace IRQ offsets with table read-in values

The ABx500 GPIO controller used to provide a set of virtual contiguous
IRQs for use by sub-devices, but they have been removed after a request
from Mainline Maintainers. Now the AB8500 core driver deals with almost
all IRQ related issues instead.

The ABx500 GPIO driver is now only used to convert between GPIO and IRQ
numbers which is actually quite difficult, as the ABx500 GPIO's
associated IRQs are clustered together throughout the interrupt number
space at irregular intervals. To solve this quandary, we have placed the
read-in values into the existing cluster information table to use during
conversion.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
[Moved irq_base removal into this patch]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-ab8500.c
drivers/pinctrl/pinctrl-ab8505.c
drivers/pinctrl/pinctrl-ab8540.c
drivers/pinctrl/pinctrl-ab9540.c
drivers/pinctrl/pinctrl-abx500.c
drivers/pinctrl/pinctrl-abx500.h