1. 01 8月, 2017 1 次提交
  2. 21 6月, 2017 1 次提交
  3. 31 5月, 2017 1 次提交
  4. 29 5月, 2017 2 次提交
  5. 24 5月, 2017 1 次提交
  6. 23 5月, 2017 2 次提交
  7. 22 5月, 2017 2 次提交
  8. 28 4月, 2017 1 次提交
  9. 27 4月, 2017 1 次提交
  10. 25 4月, 2017 1 次提交
  11. 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
  12. 22 3月, 2017 2 次提交
  13. 17 3月, 2017 1 次提交
  14. 15 3月, 2017 1 次提交
  15. 13 2月, 2017 1 次提交
  16. 06 2月, 2017 1 次提交
  17. 05 2月, 2017 1 次提交
  18. 26 1月, 2017 2 次提交
  19. 24 11月, 2016 1 次提交
  20. 22 11月, 2016 2 次提交
  21. 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
  22. 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
  23. 20 10月, 2016 1 次提交
  24. 03 10月, 2016 1 次提交
  25. 29 9月, 2016 1 次提交
  26. 27 9月, 2016 1 次提交
  27. 12 9月, 2016 1 次提交
  28. 08 9月, 2016 1 次提交
  29. 07 9月, 2016 1 次提交
  30. 31 8月, 2016 1 次提交
  31. 19 8月, 2016 2 次提交
    • L
      gpio: make any OF dependent driver depend on OF_GPIO · 048c28c9
      Linus Walleij 提交于
      The drivers that depend on OF but not OF_GPIO are wreaking havoc
      with the autobuilders for archs that have all requirements for
      OF but not for OF_GPIO, particularly the UM (Usermode) arch does
      not have iomem (NO_IOMEM) which result in configuring GPIOLIB but
      without OF_GPIO which is wrong if the driver is using the .of_node
      of the gpiochip, which only appears with OF_GPIO.
      
      After a brief look at the drivers just depending on OF it seems
      most if not all of them actually require stuff from gpiolib-of so
      the dependency is wrong in the first place.
      
      This simply patches the Kconfig so that all GPIO drivers using OF
      depend on OF_GPIO rather than just OF.
      
      Cc: Rabin Vincent <rabin@rab.in>
      Cc: Pramod Gurav <pramod.gurav@smartplayin.com>
      Cc: Andreas Larsson <andreas@gaisler.com>
      Cc: Gregory CLEMENT <gregory.clement@free-electrons.com>
      Cc: Thierry Reding <treding@nvidia.com>
      Cc: Laxman Dewangan <ldewangan@nvidia.com>
      Cc: Alexandre Courbot <acourbot@nvidia.com>
      Cc: Geert Uytterhoeven <geert+renesas@glider.be>
      Cc: Phil Reid <preid@electromag.com.au>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      048c28c9
    • L
      gpio: Fix OF build problem on UM · 2527ecc9
      Linus Walleij 提交于
      The UserMode (UM) Linux build was failing in gpiolib-of as it requires
      ioremap()/iounmap() to exist, which is absent from UM. The non-existence
      of IO memory is negatively defined as CONFIG_NO_IOMEM which means we
      need to depend on HAS_IOMEM.
      
      Cc: stable@vger.kernel.org
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Reported-by: Nkbuild test robot <fengguang.wu@intel.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      2527ecc9