diff options
author | Srinivas Kandagatla <srinivas.kandagatla@st.com> | 2014-01-16 15:36:53 +0000 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-02-10 10:13:07 +0100 |
commit | 727b0f71a56de64c0994e24f2504b1b954fd6f93 (patch) | |
tree | 576e8a1413adcd610c4997e073edb56030961078 /drivers/pinctrl/sh-pfc | |
parent | b28a960c42fcd9cfc987441fa6d1c1a471f0f9ed (diff) |
pinctrl: st: Add Interrupt support
This patch add interrupt support to the pincontroller driver.
ST Pincontroller GPIO bank can have one of the two possible types of
interrupt-wirings.
First type is via irqmux, single interrupt is used by multiple gpio
banks. This reduces number of overall interrupts numbers required. All
these banks belong to a single pincontroller.
_________
| |----> [gpio-bank (n) ]
| |----> [gpio-bank (n + 1)]
[irqN]-- | irq-mux |----> [gpio-bank (n + 2)]
| |----> [gpio-bank (... )]
|_________|----> [gpio-bank (n + 7)]
Second type has a dedicated interrupt per gpio bank.
[irqN]----> [gpio-bank (n)]
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/sh-pfc')
0 files changed, 0 insertions, 0 deletions