pinctrl: st: Add Interrupt support
authorSrinivas Kandagatla <srinivas.kandagatla@st.com>
Thu, 16 Jan 2014 15:36:53 +0000 (15:36 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 10 Feb 2014 09:13:07 +0000 (10:13 +0100)
commit727b0f71a56de64c0994e24f2504b1b954fd6f93
tree576e8a1413adcd610c4997e073edb56030961078
parentb28a960c42fcd9cfc987441fa6d1c1a471f0f9ed
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>
Documentation/devicetree/bindings/pinctrl/pinctrl-st.txt
drivers/pinctrl/pinctrl-st.c
This page took 0.026865 seconds and 5 git commands to generate.