1. 22 6月, 2016 1 次提交
    • A
      pinctrl: tegra: Fix build dependency · 19b5a917
      Axel Lin 提交于
      I got below build error:
      ERROR: "tegra_xusb_padctl_legacy_probe"
       [drivers/phy/tegra/phy-tegra-xusb.ko] undefined!
      with below build configuration:
      CONFIG_ARCH_TEGRA=y
      CONFIG_PINCTRL_TEGRA_XUSB=y
      CONFIG_PHY_TEGRA_XUSB=y
      
      The problem is below line in drivers/pinctrl/Makefile
      obj-$(CONFIG_PINCTRL_TEGRA)     += tegra/
      
      So even CONFIG_PINCTRL_TEGRA_XUSB=y is set, kbuild still does not compile
      the code in drivers/pinctrl/tegra folder if !CONFIG_PINCTRL_TEGRA.
      
      phy-tegra-xusb.c does not use any symbol from pinctrl-tegra.c,
      so build pinctrl-tegra.c only when CONFIG_PINCTRL_TEGRA is set.
      Signed-off-by: NAxel Lin <axel.lin@ingics.com>
      Acked-by: NJon Hunter <jonathanh@nvidia.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      19b5a917
  2. 14 2月, 2016 1 次提交
  3. 09 2月, 2016 1 次提交
  4. 06 2月, 2016 1 次提交
  5. 05 2月, 2016 1 次提交
  6. 28 1月, 2016 2 次提交
  7. 27 1月, 2016 1 次提交
  8. 10 12月, 2015 1 次提交
  9. 01 12月, 2015 3 次提交
  10. 01 11月, 2015 1 次提交
  11. 22 9月, 2015 1 次提交
  12. 27 7月, 2015 1 次提交
    • B
      pinctrl: driver for Conexant Digicolor CX92755 pin mapping · 38b0e507
      Baruch Siach 提交于
      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: NBaruch Siach <baruch@tkos.co.il>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      38b0e507
  13. 16 7月, 2015 2 次提交
  14. 12 5月, 2015 1 次提交
  15. 06 5月, 2015 1 次提交
  16. 18 3月, 2015 3 次提交
  17. 10 3月, 2015 1 次提交
  18. 26 1月, 2015 1 次提交
  19. 12 1月, 2015 1 次提交
    • S
      pinctrl: Add driver for Zynq · add958ce
      Soren Brinkmann 提交于
      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: NSoren Brinkmann <soren.brinkmann@xilinx.com>
      Tested-by: NAndreas Färber <afaerber@suse.de>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      add958ce
  20. 11 1月, 2015 1 次提交
  21. 29 10月, 2014 1 次提交
  22. 04 9月, 2014 1 次提交
  23. 02 9月, 2014 1 次提交
  24. 29 8月, 2014 1 次提交
  25. 28 8月, 2014 1 次提交
  26. 11 7月, 2014 6 次提交
  27. 27 5月, 2014 1 次提交
  28. 23 5月, 2014 1 次提交
    • A
      pinctrl: berlin: add the core pinctrl driver for Marvell Berlin SoCs · 3de68d33
      Antoine Tenart 提交于
      The Marvell Berlin boards have a group based pinmuxing mechanism. This
      adds the core driver support. We actually do not need any information
      about the pins here and only have the definition of the groups.
      
      Let's take the example of the uart0 pinmuxing on the BG2Q. Balls BK4 and
      BH6 are muxed to respectively UART0 RX and TX if the group GSM12 is set
      to mode 0:
      
      Group	Modes	Offset Base	Offset	LSB	Bit Width
      GSM12	3	sm_base		0x40	0x10	0x2
      
      Ball	Group	Mode 0		Mode 1		Mode 2
      BK4	GSM12	UART0_RX	IrDA0_RX	GPIO9
      BH6	GSM12	UART0_TX	IrDA0_TX	GPIO10
      
      So in order to configure BK4 -> UART0_TX and BH6 -> UART0_RX, we need
      to set (sm_base + 0x40 + 0x10) &= ff3fffff.
      
      As pin control registers are part of either chip control or system
      control registers, that deal with a bunch of other functions we rely
      on a regmap instead of exclusively remapping any resources.
      Signed-off-by: NAntoine Tenart <antoine.tenart@free-electrons.com>
      Acked-by: NSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      3de68d33
  29. 04 5月, 2014 1 次提交