1. 14 May, 2012 13 commits
  2. 03 May, 2012 7 commits
  3. 25 Apr, 2012 14 commits
  4. 18 Apr, 2012 6 commits
    • Stephen Warren's avatar
      pinctrl: tegra: debugfs enhancements · b5badbaa
      Stephen Warren authored
      * Only provide debugfs-relates ops when CONFIG_DEBUG_FS is enabled.
      * Implement pin_config_group_dbg_show op.
      * Implement pin_config_config_dbg_show op.
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      b5badbaa
    • Stephen Warren's avatar
      pinctrl: tegra: refactor probe handling · 52f48fe0
      Stephen Warren authored
      Rather than having a single tegra-pinctrl driver that determines whether
      it's running on Tegra20 or Tegra30, instead have separate drivers for
      each that call into utility functions to implement the majority of the
      driver. This change is based on review feedback of the SPEAr pinctrl
      driver, which had originally copied to Tegra driver structure.
      
      This requires that the two drivers have unique names. Update a couple
      spots in arch/arm/mach-tegra for the name change.
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      52f48fe0
    • Stephen Warren's avatar
      ARM: dt: tegra20: add pinmux to device tree · ecc295bb
      Stephen Warren authored
      This adds a complete pinmux configuration to all Tegra20 device tree
      files. This allows removal of board-dt-tegra20.c's use of the pinmux
      board files, and the special device tree handling in board-pinmux.c.
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Acked-by: default avatarOlof Johansson <olof@lixom.net>
      ecc295bb
    • Stephen Warren's avatar
      ARM: dt: tegra cardhu: add pinmux to device tree · e5cbeef0
      Stephen Warren authored
      This adds a minimal pinmux configuration to the Tegra Cardhu device
      tree. Initially, just the built-in eMMC and SD card slot are configured.
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      Acked-by: Olof Johansson <olof@lixom.net
      e5cbeef0
    • Stephen Warren's avatar
      ARM: tegra: Remove pre-pinctrl pinmux driver · b7449d95
      Stephen Warren authored
      The pinctrl driver is now active and used by all boards. Remove the
      old pinmux driver.
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Acked-by: default avatarOlof Johansson <olof@lixom.net>
      b7449d95
    • Stephen Warren's avatar
      ARM: tegra: Switch to new pinctrl driver · f30d12b3
      Stephen Warren authored
      * Rename old pinmux and new pinctrl platform driver and DT match table
        entries, so the new driver gets instantiated.
      * Re-write board-pinmux.c, so that it uses pinctrl APIs to configura the
        pinmux.
      * Re-write board-*-pinmux.c so that the pinmux configuration tables are
        in pinctrl format.
      
      Ventana's pin mux table needed some edits on top of the basic format
      conversion, since some mux options that were previously marked as
      reserved are now valid in the new pinctrl driver. Attempting to use the
      old reserved names will result in a failure. Specifically, groups lpw0,
      lpw2, lsc1, lsck, and lsda were changed from function rsvd4 to displaya,
      and group pta was changed from function rsvd2 to hdmi.
      
      All boards' pin mux tables needed some edits on top of the based format
      conversion, since function i2c was split into i2c1 (first general I2C
      controller) and i2cp (power I2C controller) to better align function
      definitions with HW blocks.
      
      Due to the split of mux tables into pure mux and pull/tristate tables,
      many entries in the separate Seaboard/Ventana tables could be merged
      into the common table, since the entries differed only in the portion
      in one of the tables, not both.
      
      Most pin groups allow configuration of mux, tri-state, and pull. However,
      some don't allow pull configuration, which is instead configured by new
      groups that only allow pull configuration. This is a reflection of the
      true HW capabilities, which weren't fully represented by the old pinmux
      driver. This required adding new pull table entries for those new groups,
      and setting many other entries' pull configuration to
      TEGRA_PINCONFIG_DONT_SET.
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Acked-by: default avatarOlof Johansson <olof@lixom.net>
      f30d12b3