]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.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)
committerDaniel Solomon <daniels@nvidia.com>
Wed, 11 May 2016 00:42:35 +0000 (17:42 -0700)
commitc633ee5b3da5f672e41107962cdbc443e51cac55
tree948e127709f809281f0dc25534cca6247dd019bc
parent7fa0aa34b1bd322a5a9781bd2e86b6cb27a4c782
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/devices.h