1. 14 Sep, 2012 6 commits
    • Stephen Warren's avatar
      ARM: dt: tegra: harmony: configure power off · be972c32
      Stephen Warren authored
      Add DT property to tell the TPS6586x that it should provide the
      pm_power_off() implementation. This allows "shutdown" to work.
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      be972c32
    • Laxman Dewangan's avatar
      ARM: dt: tegra: harmony: add regulators · 3cc404de
      Laxman Dewangan authored
      Harmony uses a TPS6586x regulator. Instantiate this, and hook up a
      couple of fixed GPIO-controlled regulators too.
      
      Based on Ventana regulator patch by Stephen Warren <swarren@nvidia.com>
      and converted to Harmony.
      
      swarren made the following changes:
      * Added ldo0 regulator configuration to device tree, and updated
        board-harmony-pcie.c for the new regulator name.
      * Fixed vdd_1v05's voltage from 10.5V to 1.05V.
      * Modified board-harmony-pcie.c to obtain the en_vdd_1v05 GPIO number at
        run-time from device tree instead of hard-coding it.
      * Removed board-harmony{-power.c,.h} now that they're unused.
      * Disabled vdd_1v05 regulator; the code in board-harmony-pcie.c hijacks
        this GPIO for now. This will be fixed when the PCIe driver is re-
        written as a driver. The code can't regulator_get("vdd_1v05") right
        now, because the vdd_1v05 regulator's probe gets deferred due to its
        supply being the PMIC, which gets probed after the regulator the first
        time around, and this dependency is only resolved by repeated probing,
        which happens when deferred_probe_initcall() is called, which happens
        in a late initcall, whose runtime order relative to harmony_pcie_init()
        is undefined, since that's also called from a late initcall.
      * Removed unused harmony_pcie_initcall().
      Signed-off-by: default avatarLaxman Dewangan <ldewangan@nvidia.com>
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      3cc404de
    • Stephen Warren's avatar
      ARM: tegra: remove board (but not DT) support for Harmony · bb25af81
      Stephen Warren authored
      Harmony can be booted using device tree with equal functionality as when
      booted using a board file. Remove as much of the board file as is
      possible, since it's no longer needed.
      
      Two special-cases are still left in board-dt-tegra20.c, since the Tegra
      PCIe driver doesn't support device tree yet, and the Harmony .dts file
      doesn't yet describe regulators which are needed for PCIe. This logic is
      now enabled unconditionally rather than via CONFIG_MACH_HARMONY. While
      this is more code than other boards, it's still unlikely to be much of a
      problem, and both regulators and PCIe should be supported via device tree
      in the near future, allowing the remaining code to be removed.
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      bb25af81
    • Stephen Warren's avatar
      ARM: tegra: remove board (but not DT) support for Paz00 · cff1dfbf
      Stephen Warren authored
      Paz00 (Toshiba AC100) can be booted using device tree with equal
      functionality as when booted using a board file. Remove as much of the
      board file as is possible, since it's no longer needed.
      
      One special-case is still left in board-dt-tegra20.c, since there is no
      way to create a WiFi rfkill device from device tree yet. This logic is
      now enabled unconditionally rather than via CONFIG_MACH_PAZ00. The extra
      cases where it's enabled (.configs which did not enable Paz00 support)
      shouldn't impact much since the amount of code is tiny.
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      Acked-By: default avatarMarc Dietrich <marvin24@gmx.de>
      cff1dfbf
    • Stephen Warren's avatar
      ARM: tegra: remove board (but not DT) support for TrimSlice · be6a9194
      Stephen Warren authored
      TrimSlice can be booted using device tree with equal functionality as
      when booted using a board file. Remove the board file since it's no
      longer needed.
      
      One special-case is still left in board-dt-tegra20.c, since the Tegra
      PCIe driver doesn't support device tree yet. This logic is now enabled
      by CONFIG_TEGRA_PCI rather than via CONFIG_MACH_TRIMSLICE. The extra
      cases where it's enabled (.configs which did not enable TrimSlice
      support) shouldn't impact much since the amount of code is tiny.
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      be6a9194
    • Stephen Warren's avatar
      1ab710fe
  2. 05 Sep, 2012 1 commit
  3. 01 Sep, 2012 5 commits
  4. 30 Aug, 2012 5 commits
  5. 29 Aug, 2012 18 commits
  6. 28 Aug, 2012 5 commits