]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: tegra: harmony: init regulators, PCIe when booting from DT
authorStephen Warren <swarren@nvidia.com>
Wed, 2 May 2012 21:47:12 +0000 (15:47 -0600)
committerStephen Warren <swarren@nvidia.com>
Wed, 20 Jun 2012 18:37:42 +0000 (12:37 -0600)
commita12c0efc7a3f433377add0fa1fd0ed4836cc595e
tree5dd8af8833d4dc4361a118da90324f86e26b407e
parentc554dee35c3e6b0c19db5fb75193d4cd99736c6b
ARM: tegra: harmony: init regulators, PCIe when booting from DT

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: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/board-dt-tegra20.c
arch/arm/mach-tegra/board-harmony-pcie.c
arch/arm/mach-tegra/board-harmony-power.c
arch/arm/mach-tegra/board.h