summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/devices.h
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-04-12 21:03:52 (GMT)
committerStephen Warren <swarren@nvidia.com>2012-04-25 21:22:09 (GMT)
commit60d148b9f838b718e4808061ee6d5833de77fd9c (patch)
treeeb0845d18a171176e605759ebaf52ae97c1c88b9 /arch/arm/mach-tegra/devices.h
parent9abafa021e223f04d6589ee2b977bbaf2e1f1367 (diff)
downloadlinux-fsl-qoriq-60d148b9f838b718e4808061ee6d5833de77fd9c.tar.xz
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>
Diffstat (limited to 'arch/arm/mach-tegra/devices.h')
-rw-r--r--arch/arm/mach-tegra/devices.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/devices.h b/arch/arm/mach-tegra/devices.h
index ec45567..4290ea0 100644
--- a/arch/arm/mach-tegra/devices.h
+++ b/arch/arm/mach-tegra/devices.h
@@ -22,6 +22,10 @@
#include <linux/platform_device.h>
#include <linux/platform_data/tegra_usb.h>
+#include <mach/usb_phy.h>
+
+extern struct tegra_ulpi_config tegra_ehci2_ulpi_phy_config;
+
extern struct tegra_ehci_platform_data tegra_ehci1_pdata;
extern struct tegra_ehci_platform_data tegra_ehci2_pdata;
extern struct tegra_ehci_platform_data tegra_ehci3_pdata;