diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2011-11-28 14:38:31 +0900 |
---|---|---|
committer | Varun Wadekar <vwadekar@nvidia.com> | 2011-12-08 16:54:08 +0530 |
commit | a95c1a5071f78f4f549b6cdf5fe6ba54f6f0f0c5 (patch) | |
tree | 73213a73359ee1c5bc7cf291ba0a80a44cfdd2c7 /arch/arm/mach-tegra/board-whistler.c | |
parent | c63f85d09cd95443ca47276e0f933f68099085f1 (diff) |
tegra: whistler: fix usb1 vbus gpio
fix usb1 physical platform data to use the right gpio from the TCA6416
gpio expander.
Bug 884315
Change-Id: I8e814613a6caf547a14923f87afe91ccd877b827
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Reviewed-on: http://git-master/r/66875
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-whistler.c')
-rw-r--r-- | arch/arm/mach-tegra/board-whistler.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/board-whistler.c b/arch/arm/mach-tegra/board-whistler.c index c27ec1edc5a0..ec4bea9df79a 100644 --- a/arch/arm/mach-tegra/board-whistler.c +++ b/arch/arm/mach-tegra/board-whistler.c @@ -60,6 +60,8 @@ #include "pm.h" #include "board-whistler-baseband.h" +#define USB1_VBUS_GPIO TCA6416_GPIO_BASE + static struct plat_serial8250_port debug_uart_platform_data[] = { { .membase = IO_ADDRESS(TEGRA_UARTA_BASE), @@ -408,7 +410,7 @@ static struct usb_phy_plat_data tegra_usb_phy_pdata[] = { [0] = { .instance = 0, .vbus_irq = MAX8907C_INT_BASE + MAX8907C_IRQ_VCHG_DC_R, - .vbus_gpio = TEGRA_GPIO_PN6, + .vbus_gpio = USB1_VBUS_GPIO, }, [1] = { .instance = 1, |