1. 16 7月, 2014 1 次提交
    • M
      pinctrl: st: Fix irqmux handler · 7a2deccf
      Maxime COQUELIN 提交于
      st_gpio_irqmux_handler() reads the status register to find out
      which banks inside the controller have pending IRQs.
      For each banks having pending IRQs, it calls the corresponding handler.
      
      Problem is that current code restricts the number of possible banks inside the
      controller to ST_GPIO_PINS_PER_BANK. This define represents the number of pins
      inside a bank, so it shouldn't be used here.
      
      On STiH407, PIO_FRONT0 controller has 10 banks, so IRQs pending in the two
      last banks (PIO18 & PIO19) aren't handled.
      
      This patch replace ST_GPIO_PINS_PER_BANK by the number of banks inside the
      controller.
      
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: <stable@vger.kernel.org> #v3.15+
      Acked-by: NSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
      Signed-off-by: NMaxime Coquelin <maxime.coquelin@st.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      7a2deccf
  2. 22 4月, 2014 4 次提交
  3. 12 3月, 2014 4 次提交
  4. 10 2月, 2014 2 次提交
  5. 15 1月, 2014 1 次提交
  6. 28 8月, 2013 1 次提交
  7. 08 8月, 2013 2 次提交
  8. 30 6月, 2013 1 次提交
  9. 28 6月, 2013 1 次提交
  10. 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