1. 25 Sep, 2014 1 commit
  2. 24 Sep, 2014 9 commits
  3. 23 Sep, 2014 13 commits
  4. 18 Sep, 2014 1 commit
  5. 16 Sep, 2014 3 commits
    • Grygorii Strashko's avatar
      gpio: syscon: reuse for keystone 2 socs · 2134cb99
      Grygorii Strashko authored
      On Keystone SOCs, ARM host can send interrupts to DSP cores using the
      DSP GPIO controller IP. Each DSP GPIO controller provides 28 IRQ signals for
      each DSP core. This is one of the component used by the IPC mechanism used
      on Keystone SOCs.
      
      Keystone 2 DSP GPIO controller has specific features:
      - each GPIO can be configured only as output pin;
      - setting GPIO value to 1 causes IRQ generation on target DSP core;
      - reading pin value returns 0 - if IRQ was handled or 1 - IRQ is still
        pending.
      
      This patch updates gpio-syscon driver to be reused by Keystone 2 SoCs,
      because the Keystone 2 DSP GPIO controller is controlled through Syscon
      devices and, as requested by Linus Walleij, such kind of GPIO controllers
      should be integrated with drivers/gpio/gpio-syscon.c driver.
      Signed-off-by: default avatarGrygorii Strashko <grygorii.strashko@ti.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      2134cb99
    • Grygorii Strashko's avatar
      gpio: syscon: retrive syscon node and regs offsets from dt · 5a3e3f88
      Grygorii Strashko authored
      This patch adds handling of new "gpio,syscon-dev" DT property,
      which allows to specify syscon node and data/direction registers
      offsets in DT.
      
      "gpio,syscon-dev" has following format:
      	gpio,syscon-dev = <&syscon_dev data_reg_offset [direction_reg_offset]>;
      
      where
       - syscon_dev - phandle on syscon node
       - data_reg_offset - offset of data register (in bytes)
       - direction_reg_offset - offset of dirrection register (optional, in bytes)
      
      for example:
      	gpio,syscon-dev = <&devctrl 0x254>;
      
      In such way, the support of multiple Syscon GPIO devices is added.
      Signed-off-by: default avatarGrygorii Strashko <grygorii.strashko@ti.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      5a3e3f88
    • Grygorii Strashko's avatar
      gpio: syscon: add soc specific callback to assign output value · 2c341d62
      Grygorii Strashko authored
      Some SoCs (like Keystone) may require to perform special
      sequence of operations to assign output GPIO value, so default
      implementation of .set() callback from gpio-syscon driver
      can't be used.
      
      Hence, add optional, SoC specific callback to assign output
      gpio value.
      Signed-off-by: default avatarGrygorii Strashko <grygorii.strashko@ti.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      2c341d62
  6. 04 Sep, 2014 3 commits
  7. 03 Sep, 2014 1 commit
  8. 02 Sep, 2014 1 commit
  9. 29 Aug, 2014 5 commits
  10. 28 Aug, 2014 3 commits