ARM: tegra: harmony: update PCI-e initialization sequence
authorMike Rapoport <mike@compulab.co.il>
Wed, 9 Mar 2011 14:31:17 +0000 (16:31 +0200)
committerOlof Johansson <olof@lixom.net>
Tue, 15 Mar 2011 21:28:32 +0000 (14:28 -0700)
commitce005cf450b2c1c93e48c45a4cc717e9d104c054
tree8d126ded2fe89176c0421cf1bb9ea289bec313ee
parentc4d9e4a0b9960fbf4d945bdad47ba005abe8813c
ARM: tegra: harmony: update PCI-e initialization sequence

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: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-tegra/board-harmony-pcie.c