]> git.openfabrics.org - ~shefty/rdma-dev.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>
Wed, 25 Apr 2012 21:22:09 +0000 (15:22 -0600)
commit60d148b9f838b718e4808061ee6d5833de77fd9c
treeeb0845d18a171176e605759ebaf52ae97c1c88b9
parent9abafa021e223f04d6589ee2b977bbaf2e1f1367
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