summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-whistler-baseband.c
diff options
context:
space:
mode:
authorSteve Lin <stlin@nvidia.com>2011-11-29 14:01:28 -0800
committerVarun Wadekar <vwadekar@nvidia.com>2011-12-21 12:06:22 +0530
commit71653d7720a77add116228c7e5717c5a74553f18 (patch)
treeb390b86a29501aa9be691087279e3850fdecf393 /arch/arm/mach-tegra/board-whistler-baseband.c
parenta43895ffdda87f651ef75f74b6f0e98524775a8d (diff)
arm: tegra: usb: Support tegra2 null ULPI phy restore function
Adding tegra2 null ULPI phy restore function and clean up code in usb_phy. Bug 907350 Bug 912407 Change-Id: I93aa191cd7f9fdace7f80a66fedbf034728e2fe9 Signed-off-by: Steve Lin <stlin@nvidia.com> Reviewed-on: http://git-master/r/67189 Reviewed-by: Martin Chabot <mchabot@nvidia.com> Tested-by: Martin Chabot <mchabot@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Tested-by: Jonathan Roux <jroux@nvidia.com> Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-whistler-baseband.c')
-rw-r--r--arch/arm/mach-tegra/board-whistler-baseband.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/arch/arm/mach-tegra/board-whistler-baseband.c b/arch/arm/mach-tegra/board-whistler-baseband.c
index ff376d260306..143d14a8721d 100644
--- a/arch/arm/mach-tegra/board-whistler-baseband.c
+++ b/arch/arm/mach-tegra/board-whistler-baseband.c
@@ -38,10 +38,10 @@ static struct gpio modem_gpios[] = {
{MDM2AP_ACK, GPIOF_IN, "MDM2AP_ACK"},
{AP2MDM_ACK2, GPIOF_OUT_INIT_HIGH, "AP2MDM ACK2"},
{AP2MDM_ACK, GPIOF_OUT_INIT_LOW, "AP2MDM ACK"},
- {TEGRA_GPIO_PY3, GPIOF_IN, "ULPI_STP"},
- {TEGRA_GPIO_PY1, GPIOF_OUT_INIT_LOW, "ULPI_DIR"},
- {TEGRA_GPIO_PO1, GPIOF_OUT_INIT_LOW, "ULPI_D0"},
- {TEGRA_GPIO_PO2, GPIOF_OUT_INIT_LOW, "ULPI_D1"},
+ {ULPI_STP, GPIOF_IN, "ULPI_STP"},
+ {ULPI_DIR, GPIOF_OUT_INIT_LOW, "ULPI_DIR"},
+ {ULPI_D0, GPIOF_OUT_INIT_LOW, "ULPI_D0"},
+ {ULPI_D1, GPIOF_OUT_INIT_LOW, "ULPI_D1"},
};
static __initdata struct tegra_pingroup_config whistler_null_ulpi_pinmux[] = {
@@ -65,6 +65,10 @@ static struct tegra_ulpi_config ehci2_null_ulpi_phy_config = {
.pre_phy_off = baseband_phy_off,
.phy_restore_start = baseband_phy_restore_start,
.phy_restore_end = baseband_phy_restore_end,
+ .phy_restore_gpio = MDM2AP_ACK,
+ .ulpi_dir_gpio = ULPI_DIR,
+ .ulpi_d0_gpio = ULPI_D0,
+ .ulpi_d1_gpio = ULPI_D1,
};
static struct tegra_ehci_platform_data ehci2_null_ulpi_platform_data = {