]> git.baikalelectronics.ru Git - kernel.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)
commitd573d3e808640be5e1679af6bb1cbcf23e41426c
treeeb0845d18a171176e605759ebaf52ae97c1c88b9
parentaafe8b4976f48881a51c926f15582df5064287bb
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