1. 08 11月, 2017 1 次提交
  2. 31 10月, 2017 2 次提交
  3. 23 10月, 2017 1 次提交
    • M
      gpio: uniphier: add UniPhier GPIO controller driver · dbe776c2
      Masahiro Yamada 提交于
      This GPIO controller is used on UniPhier SoC family.
      
      It also serves as an interrupt controller, but interrupt signals are
      just delivered to the parent irqchip without any latching or OR'ing.
      This type of hardware can be well described with hierarchy IRQ domain.
      
      One unfortunate thing for this device is that the interrupt mapping to
      the interrupt parent is not contiguous.
      
      I asked how DT can describe interrupt mapping between two irqchips [1],
      but I could not find a good solution (at least in the framework level).
      In fact, irqchip drivers using hierarchy domain generally hard-code the
      DT binding of their parent.
      
      After tackling on several approaches such as hard-code of hwirqs,
      irq_domain_push_irq(), I ended up with a vendor specific property.
      If we come up with a good idea to support this in the framework, we
      can migrate over to it, but we can live with a driver-level solution
      for now.
      
      [1] https://lkml.org/lkml/2017/7/6/758Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      dbe776c2
  4. 20 10月, 2017 1 次提交
    • L
      gpio: Add driver for Maxim MAX3191x industrial serializer · b2f68edf
      Lukas Wunner 提交于
      The driver was developed for and tested with the MAX31913 built into
      the Revolution Pi by KUNBUS, but should work with all members of the
      MAX3191x family:
      
      MAX31910: low power
      MAX31911: LED drivers
      MAX31912: LED drivers + 2nd voltage monitor + low power
      MAX31913: LED drivers + 2nd voltage monitor
      MAX31953: LED drivers + 2nd voltage monitor + isolation
      MAX31963: LED drivers + 2nd voltage monitor + isolation + buck regulator
      
      Cc: Mathias Duckeck <m.duckeck@kunbus.de>
      Signed-off-by: NLukas Wunner <lukas@wunner.de>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      b2f68edf
  5. 22 8月, 2017 1 次提交
  6. 21 8月, 2017 1 次提交
  7. 14 8月, 2017 1 次提交
  8. 01 8月, 2017 1 次提交
  9. 21 6月, 2017 1 次提交
  10. 31 5月, 2017 1 次提交
  11. 29 5月, 2017 2 次提交
  12. 24 5月, 2017 1 次提交
  13. 23 5月, 2017 2 次提交
  14. 22 5月, 2017 2 次提交
  15. 28 4月, 2017 1 次提交
  16. 27 4月, 2017 1 次提交
  17. 25 4月, 2017 1 次提交
  18. 24 3月, 2017 1 次提交
    • R
      gpio: add generic single-register fixed-direction GPIO driver · 380639c7
      Russell King 提交于
      Add a simple, generic, single register fixed-direction GPIO driver.
      This is able to support a single register with a mixture of inputs
      and outputs.
      
      This is different from gpio-mmio and gpio-74xx-mmio:
      * gpio-mmio doesn't allow a fixed direction, it assumes there is always
        a direction register.
      * gpio-74xx-mmio only supports all-in or all-out setups
      * gpio-74xx-mmio is DT only, this needs to support legacy too
      * they don't double-read when getting the GPIO value, as required by
        some implementations that this driver supports
      * we need to always do 32-bit reads, which bgpio doesn't guarantee
      * the current output state may not be readable from the hardware
        register - reading may reflect input status but not output status.
      Signed-off-by: NRussell King <rmk+kernel@armlinux.org.uk>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      380639c7
  19. 22 3月, 2017 2 次提交
  20. 17 3月, 2017 1 次提交
  21. 15 3月, 2017 1 次提交
  22. 13 2月, 2017 1 次提交
  23. 06 2月, 2017 1 次提交
  24. 05 2月, 2017 1 次提交
  25. 26 1月, 2017 2 次提交
  26. 24 11月, 2016 1 次提交
  27. 22 11月, 2016 2 次提交
  28. 17 11月, 2016 1 次提交
    • K
      gpio: Remove GPIO_DEVRES option · f9c22ec6
      Keno Fischer 提交于
      This option was added in 6a89a314 to
      allow use of the devm_gpio_* functions without CONFIG_GPIOLIB.
      
      However, only a few months later in
      b69ac524, CONFIG_GPIOLIB was added
      as a dependency, defeating the original purpose of this option.
      Instead of that patch, the original commit could have just been
      reverted (and in fact was partially so in
      403c1d0b). Further, since this
      option has a dependency on HAS_IOMEM, even though it does not
      require it, it causes build failures when !HAS_IOMEM (e.g. in a
      uml build).
      
      Fix that by completely removing the option, in essence completing
      the reversion of the original commit.
      Signed-off-by: NKeno Fischer <keno@juliacomputing.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      f9c22ec6
  29. 24 10月, 2016 3 次提交
    • J
      gpio: ts4900: Add hardware dependencies · 4c5f15b7
      Jean Delvare 提交于
      All the boards supported by the gpio-ts4900 driver are i.MX6 boards,
      so only offer the driver for building on this platform, unless
      build-testing.
      Signed-off-by: NJean Delvare <jdelvare@suse.de>
      Cc: Lucile Quirion <lucile.quirion@savoirfairelinux.com>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      4c5f15b7
    • T
      gpio: altera-a10sr: Add A10 System Resource Chip GPIO support. · 26a48c4c
      Thor Thayer 提交于
      Add the GPIO functionality for the Altera Arria10 MAX5 System Resource
      Chip. The A10 MAX5 has 12 bits of GPIO assigned to switches, buttons,
      and LEDs as a GPIO extender on the SPI bus.
      Signed-off-by: NThor Thayer <tthayer@opensource.altera.com>
      Acked-by: Linus Walleij <linus.walleij@linaro.org>i
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      26a48c4c
    • N
      pinctrl: Add SX150X GPIO Extender Pinctrl Driver · 9e80f906
      Neil Armstrong 提交于
      Since the I2C sx150x GPIO expander driver uses platform_data to manage
      the pins configurations, rewrite the driver as a pinctrl driver using
      pinconf to get/set pin configurations from DT or debugfs.
      
      The pinctrl driver is functionnally equivalent as the gpio-only driver
      and can use DT for pinconf. The platform_data confirmation is dropped.
      
      This patchset removed the gpio-only driver and selects the Pinctrl driver
      config instead. This patchset also migrates the gpio dt-bindings to pinctrl
      and add the pinctrl optional properties.
      
      The driver was tested with a SX1509 device on a BeagleBone black with
      interrupt support and on an X86_64 machine over an I2C to USB converter.
      
      This is a fixed version that builds and runs on non-OF platforms and on
      arm based OF. The GPIO version is removed and the bindings are also moved
      to the pinctrl bindings.
      
      Changes since v2
       - rebased on v4.9-rc1
       - removed MODULE_DEVICE_TABLE as in upstream bb411e77
         ("gpio: sx150x: fix implicit assumption module.h is present")
      
      Changes since v1
       - Fix Kconfig descriptions on pinctrl and gpio
       - Fix Kconfig dependency
       - Remove oscio support for non-789 devices
       - correct typo in dt bindings
       - remove probe reset for non-789 devices
      
      Changes since RFC
       - Put #ifdef CONFIG_OF/CONFIG_OF_GPIO to remove OF code for non-of platforms
       - No more rely on OF_GPIO config
       - Moved and enhanced bindings to pinctrl bindings
       - Removed gpio-sx150x.c
       - Temporary select PINCTRL_SX150X when GPIO_SX150X
       - Temporary mark GPIO_SX150X as deprecated
      Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com>
      Tested-by: NPeter Rosin <peda@axentia.se>
      Acked-by: NRob Herring <robh@kernel.org>
      ested-by: NAndrey Smirnov <andrew.smirnov@gmail.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      9e80f906
  30. 20 10月, 2016 1 次提交
  31. 03 10月, 2016 1 次提交