An error occurred fetching the project authors.
  1. 03 Jan, 2017 2 commits
  2. 07 Dec, 2016 1 commit
  3. 08 Nov, 2016 1 commit
  4. 29 Oct, 2016 1 commit
    • Arnd Bergmann's avatar
      pinctrl: max77620: add OF dependency · 24d6a91c
      Arnd Bergmann authored
      Drivers using pinconf_generic_params tables cannot be built with
      CONFIG_OF disabled:
      
      drivers/pinctrl/pinctrl-max77620.c:53:44: error: array type has incomplete element type ‘struct pinconf_generic_params’
      drivers/pinctrl/pinctrl-max77620.c:55:3: error: field name not in record or union initializer
      drivers/pinctrl/pinctrl-max77620.c:55:3: note: (near initialization for ‘max77620_cfg_params’)
      drivers/pinctrl/pinctrl-max77620.c:56:3: error: field name not in record or union initializer
      
      This adds a dependency for max77620 to disallow that configuration.
      
      Alternatively, we could rework the pinctrl infrastructure to make the
      configuration valid for compile-testing.
      
      Cc: Krzysztof Kozlowski <krzk@kernel.org>
      Cc: Lee Jones <lee.jones@linaro.org>
      Fixes: 453943dc8f45 ("mfd: Enable compile testing for max77620 and max77686")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      24d6a91c
  5. 24 Oct, 2016 1 commit
    • Neil Armstrong's avatar
      pinctrl: Add SX150X GPIO Extender Pinctrl Driver · 9e80f906
      Neil Armstrong authored
      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: default avatarNeil Armstrong <narmstrong@baylibre.com>
      Tested-by: default avatarPeter Rosin <peda@axentia.se>
      Acked-by: default avatarRob Herring <robh@kernel.org>
      ested-by: default avatarAndrey Smirnov <andrew.smirnov@gmail.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      9e80f906
  6. 07 Sep, 2016 1 commit
    • Andrew Jeffery's avatar
      pinctrl: Add core support for Aspeed SoCs · 4d3d0e42
      Andrew Jeffery authored
      The Aspeed SoCs typically provide more than 200 pins for GPIO and other
      functions. The signal enabled on a pin is determined on a priority
      basis, where a given pin can provide a number of different signal types.
      
      In addition to the priority levels, the Aspeed pin controllers describe
      the signal active on a pin by compound logical expressions involving
      multiple operators, registers and bits. Some difficulty arises as a
      pin's function bit masks for each priority level are frequently not the
      same (i.e. we cannot just flip a bit to change from a high to low
      priority signal), or even in the same register(s). Some configuration
      bits affect multiple pins, while in other cases the signals for a bus
      must each be enabled individually.
      
      Together, these features give rise to some complexity in the
      implementation. A more complete description of the complexities is
      provided in the associated header file.
      
      The patch doesn't implement pinctrl/pinmux/pinconf for any particular
      Aspeed SoC, rather it adds the framework for defining pinmux
      configurations.
      Signed-off-by: default avatarAndrew Jeffery <andrew@aj.id.au>
      Reviewed-by: default avatarJoel Stanley <joel@jms.id.au>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      4d3d0e42
  7. 22 Jun, 2016 2 commits
    • Paul Gortmaker's avatar
      pinctrl: as3722: convert PINCTRL_AS3722 from bool to tristate · 9385f35d
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      config PINCTRL_AS3722
              bool "Pinctrl and GPIO driver for ams AS3722 PMIC"
      
      ...meaning that it currently is not being built as a module by anyone.
      
      During an audit for non-modular drivers using modular infrastructure
      this driver showed up.
      
      But rather than demodularize it, Laxman indicated that it would be
      prefereable to instead convert the driver option to tristate.
      
      This does that, and confirms that it will compile and modpost as
      such.  However, since I do not have the hardware to confirm that
      no new runtime issues exist when modular, that remains untested.
      
      Cc: Laxman Dewangan <ldewangan@nvidia.com>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: linux-gpio@vger.kernel.org
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      9385f35d
    • Paul Gortmaker's avatar
      pinctrl: palmas: convert PINCTRL_PALMAS from bool to tristate · 767b8ce3
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      config PINCTRL_PALMAS
              bool "Pinctrl driver for the PALMAS Series MFD devices"
      
      ...meaning that it currently is not being built as a module by anyone.
      
      During an audit for non-modular drivers using modular infrastructure
      this driver showed up.
      
      But rather than demodularize it, Laxman indicated that it would be
      prefereable to instead convert the driver option to tristate.
      
      This does that, and confirms that it will compile and modpost as
      such.  However, since I do not have the hardware to confirm that
      no new runtime issues exist when modular, that remains untested.
      
      Cc: Laxman Dewangan <ldewangan@nvidia.com>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: linux-gpio@vger.kernel.org
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      767b8ce3
  8. 15 Jun, 2016 1 commit
    • Arnd Bergmann's avatar
      pinctrl: max77620: select PINMUX · 79f28b9f
      Arnd Bergmann authored
      The recently added max77620 driver fails to build when CONFIG_PINMUX
      is not set:
      
      pinctrl/pinctrl-max77620.c:272:21: error: variable 'max77620_pinmux_ops' has initializer but incomplete type
       static const struct pinmux_ops max77620_pinmux_ops = {
                           ^~~~~~~~~~
      pinctrl/pinctrl-max77620.c:273:2: error: unknown field 'get_functions_count' specified in initializer
      
      This adds the Kconfig 'select' statement that was clearly meant
      to be there and is used in all other pinmux drivers.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      79f28b9f
  9. 30 May, 2016 2 commits
  10. 15 Feb, 2016 1 commit
  11. 05 Feb, 2016 2 commits
  12. 27 Jan, 2016 1 commit
  13. 10 Dec, 2015 1 commit
  14. 01 Dec, 2015 1 commit
  15. 17 Nov, 2015 1 commit
  16. 21 Sep, 2015 1 commit
  17. 27 Jul, 2015 1 commit
    • Baruch Siach's avatar
      pinctrl: driver for Conexant Digicolor CX92755 pin mapping · 38b0e507
      Baruch Siach authored
      This adds pinctrl and gpio driver to the CX92755 SoC "General
      Purpose Pin Mapping" hardware block. The CX92755 is one SoC
      from the Conexant Digicolor series. Pin mapping hardware supports
      configuring pins as either GPIO, or up to 3 other "client select"
      functions. This driver adds support for pin muxing using the
      generic device tree binding, and a basic gpiolib driver for
      the GPIO functionality.
      
      This driver does not currently support GPIO interrupts, and
      pad configuration.
      
      v2:
      * Address review comments for Linus Walleij:
        - Add a pointer to pinctrl_desc in struct dc_pinmap
        - Drop the now redundant pinctrl_pin_desc field
        - Adapt dc_get_group_{name,pins} to these changes, and
          add a comment explaining the 1-to-1 pin-groups relation
      * Staticise dc_pmxops
      * Protect the GP_CLIENTSEL clct parameter with parenthesis
      Signed-off-by: default avatarBaruch Siach <baruch@tkos.co.il>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      38b0e507
  18. 16 Jul, 2015 1 commit
  19. 19 May, 2015 1 commit
    • Wei Chen's avatar
      pinctrl: sirf: add sirf atlas7 pinctrl and gpio support · f9367793
      Wei Chen authored
      The Pinctrl module (ioc) controls the Pad's function select
      (each pad can have 8 functions), Pad's Drive Strength, Pad's
      Pull Select and Pad's Input Disable status.
      
      The ioc has two modules, ioc_top & ioc_rtc. Both of these two
      modules have function select/clear, Pull select and Drive
      Strength registers. But only ioc_rtc has input-disable
      registers. The Pads on ioc_top have to access ioc_rtc to set
      their input-disable status and intpu-disable-value.
      
      So have to use one ioc driver instance to drive these two
      ioc modules at the same time, and each ioc module will be
      treat as one bank on the "IOC Device".
      
      The GPIO Controller controls the GPIO status if the Pad has
      been config as GPIO by Pinctrl already. Includes the GPIO
      Input/output, Interrupt type, Interrupt Status, and Set/Get
      Values.
      The GPIO pull up/down are controlled by Pinctrl.
      
      There are 7 GPIO Groups and splited into 3 MACROs in atlas7.
      The GPIO Groups in one MACRO share one GPIO controllers, each
      GPIO Group are treated as one GPIO bank.
      
      For example:
      In VDIFM macro, there is one GPIO Controller, it has 3 banks
      to control 3 gpio groups. Its gpio name space is from 0 to 95.
      
      The Device Tree can be written as following:
      
      gpio-ranges = <&pinctrl 0 0 0>,
      <&pinctrl 32 0 0>,
      <&pinctrl 64 0 0>;
      
      gpio-ranges-group-names = "gnss_gpio_grp",
      "lcd_vip_gpio_grp",
      "sdio_i2s_gpio_grp";
      
      bank#0 is from 0~31, the pins are from pinctrl's "gnss_gpio_grp".
      bank#2 is from 32~63, the pins are from pinctrl's "lcd_vip_gpio_grp".
      bank#3 is from 64~95, the pins are from pinctrl's "sdio_i2s_gpio_grp".
      Signed-off-by: default avatarWei Chen <Wei.Chen@csr.com>
      Signed-off-by: default avatarBarry Song <Baohua.Song@csr.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      f9367793
  20. 12 May, 2015 1 commit
  21. 06 May, 2015 1 commit
  22. 15 Apr, 2015 1 commit
  23. 18 Mar, 2015 3 commits
  24. 09 Mar, 2015 1 commit
  25. 26 Jan, 2015 1 commit
  26. 14 Jan, 2015 1 commit
  27. 11 Jan, 2015 1 commit
    • Soren Brinkmann's avatar
      pinctrl: Add driver for Zynq · add958ce
      Soren Brinkmann authored
      This adds a pin-control driver for Zynq.
      
      Changes since v2:
      - driver-specific DT properties are passed to the core in two arrays,
        one for the actual DT parsing one for the debugfs representation.
        Issue a compiler warning when the number of entries is not the same
        for both arrays.
      
      Changes since v1:
       - fix EMIO_SD1_CD pin name
       - add USB to pinmux options
      
      changes since RFCv2:
       - let Zynq select PINCTRL_ZYNQ. Boot hangs when pinctrl information is
         present in DT but no driver available.
       - add #defines to get rid of magical constants
       - add commas at end of initializers
       - separate changes in mach-zynq in separate patch
       - add driver specific io-standard DT property
       - refactored pinconf set function to not require arguments for
         argument-less properties
       - squash other patches in
         - support for IO-standard property
         - support for low-power mode property
         - migration to pinconf_generic_dt_node_to_map_all()
       - use newly created infrastructure to add pass driver-specific DT
         params to pinconf-generic
      
      changes since RFC:
       - use syscon/regmap to access registers in SLCR space
       - rebase to 3.18: rename enable -> set_mux
       - add kernel-doc
       - support pinconf
         - supported attributes
           - pin-bias: pull up, tristate, disable
           - slew-rate: 0 == slow, 1 == fast; generic pinconf does not display
             argument
      Signed-off-by: default avatarSoren Brinkmann <soren.brinkmann@xilinx.com>
      Tested-by: default avatarAndreas Färber <afaerber@suse.de>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      add958ce
  28. 29 Oct, 2014 1 commit
  29. 25 Sep, 2014 1 commit
  30. 04 Sep, 2014 1 commit
  31. 28 Aug, 2014 1 commit
  32. 28 Jul, 2014 1 commit
  33. 11 Jul, 2014 2 commits