1. 23 4月, 2014 1 次提交
  2. 10 2月, 2014 1 次提交
    • S
      pinctrl: st: Add Interrupt support · 727b0f71
      Srinivas Kandagatla 提交于
      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: NSrinivas Kandagatla <srinivas.kandagatla@st.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      727b0f71
  3. 25 6月, 2013 1 次提交
    • S
      pinctrl: st: Add pinctrl and pinconf support. · 701016c0
      Srinivas KANDAGATLA 提交于
      This patch add pinctrl support to ST SoCs.
      
      About hardware:
      ST Set-Top-Box parts have two blocks called PIO and PIO-mux which handle
      pin configurations.
      
      Each multi-function pin is controlled, driven and routed through the PIO
      multiplexing block. Each pin supports GPIO functionality (ALT0) and
      multiple alternate functions(ALT1 - ALTx) that directly connect the pin
      to different hardware blocks. When a pin is in GPIO mode, Output Enable
      (OE), Open Drain(OD), and Pull Up (PU) are driven by the related PIO
      block. Otherwise the PIO multiplexing block configures these parameters
      and retiming the signal.
      
      About driver:
      This pinctrl driver manages both PIO and PIO-mux block using pinctrl,
      pinconf, pinmux, gpio subsystems. All the pinctrl related config
      information can only come from device trees.
      Signed-off-by: NSrinivas Kandagatla <srinivas.kandagatla@st.com>
      Acked-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      701016c0