]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: tegra: don't hard-code USB ULPI PHY reset_gpio
authorStephen Warren <swarren@nvidia.com>
Thu, 12 Apr 2012 21:03:52 +0000 (15:03 -0600)
committerStephen Warren <swarren@nvidia.com>
Mon, 16 Apr 2012 17:00:33 +0000 (11:00 -0600)
commitacd8b251ddc2ae101db737c46aea96266a61c36e
treeac01d112c1269ac4191b5cb00c99bf84ceb4c846
parent3c5dc200bbd3621c56766f7fd41d3269f64ad403
ARM: tegra: don't hard-code USB ULPI PHY reset_gpio

Not all boards use GPIO_PV0 as the ULPI PHY reset signal. Instead of
hard-coding this GPIO into devices.c, make the board files set it
explicitly. This will allow the PHY code to differentiate between set and
unset values, and hence know when to read the value from device tree.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/board-paz00.c
arch/arm/mach-tegra/board-trimslice.c
arch/arm/mach-tegra/devices.c
arch/arm/mach-tegra/devices.h