1. 12 3月, 2013 1 次提交
  2. 15 9月, 2012 1 次提交
    • L
      ARM: dt: tegra: harmony: add regulators · 3cc404de
      Laxman Dewangan 提交于
      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: NLaxman Dewangan <ldewangan@nvidia.com>
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      3cc404de
  3. 21 6月, 2012 1 次提交
    • S
      ARM: tegra: harmony: init regulators, PCIe when booting from DT · a12c0efc
      Stephen Warren 提交于
      There currently aren't bindings for the Tegra PCIe controller. Work on
      this is in progress, but not yet complete. Manually initialize PCIe when
      booting from device tree, in order to bring DT support to the same
      feature level as board files, which will in turn allow board files to be
      deprecated.
      
      PCIe on Harmony requires various regulators to be registered and enabled
      before initializing the PCIe controller. Note that since the I2C
      controllers are instantiated from DT, we must use i2c_new_device() to
      register the PMU rather than i2c_register_board_info().
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      a12c0efc
  4. 20 12月, 2011 1 次提交
    • S
      arm/tegra: Harmony PCIe: Don't touch pinmux · 6e96aca3
      Stephen Warren 提交于
      The Harmony pinmux table is already set up to mux the PCIe signals onto
      the appropriate pin groups. Don't manually fiddle with the pinmux in the
      Harmony PCIe setup code.
      
      Merge note: This will have a merge conflict with Peter De Schrijver's
      "arm/tegra: prepare pinmux code for multiple tegra variants" due to
      context. When merging the two, make sure to also remove the include
      of <mach/pinmux-tegra20.h> that his patch added, since it's no longer
      needed after this patch.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      6e96aca3
  5. 18 12月, 2011 1 次提交
  6. 26 9月, 2011 1 次提交
  7. 16 3月, 2011 1 次提交
    • M
      ARM: tegra: harmony: update PCI-e initialization sequence · ce005cf4
      Mike Rapoport 提交于
      On Harmony board PCI-e subsystem can be enabled only after certain
      voltage regulators are on. One of the regulators is an internal
      regulator on the PMIC and another one is controlled by a PMIC GPIO.
      Addition of the voltage control to the Harmony PCI-e initialization
      allows booting of kernel with CONFIG_TEGRA_PCI even if the PMIC driver
      is not loaded. In this case the PCI-e initialization will fail
      gracefully intead of hanging the system.
      Signed-off-by: NMike Rapoport <mike@compulab.co.il>
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      ce005cf4
  8. 22 10月, 2010 1 次提交