diff options
author | Raj Jayaraman <rjayaraman@nvidia.com> | 2011-01-06 11:45:05 -0800 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:46:22 -0800 |
commit | 9b43171df226030517b0afce42ffb7e28f377142 (patch) | |
tree | 8bf235f5a8a1f0fce6fe69783a772b6de3db807c /arch | |
parent | 87ba806806eab9567f1eb179899825759799f7df (diff) |
[ARM] tegra: Add GPS support.
Bug 773512
Original-Change-Id: Ic4eb14be2ecd0410174b023ed3bba70bae9e8418
Reviewed-on: http://git-master/r/15148
Tested-by: Rajkumar Jayaraman <rjayaraman@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Rebase-Id: R4cfb8e95835f6b03e137c2d051f5cd73c50075f3
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-tegra/board-whistler.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-whistler.c b/arch/arm/mach-tegra/board-whistler.c index 0cc423198a06..29357f4d7ab1 100644 --- a/arch/arm/mach-tegra/board-whistler.c +++ b/arch/arm/mach-tegra/board-whistler.c @@ -212,6 +212,7 @@ static struct platform_device tegra_camera = { static struct platform_device *whistler_devices[] __initdata = { &debug_uart, + &tegra_uartb_device, &tegra_uartc_device, &pmu_device, &tegra_udc_device, @@ -303,6 +304,12 @@ static struct tegra_otg_platform_data tegra_otg_pdata = { .host_unregister = &tegra_usb_otg_host_unregister, }; +static int __init whistler_gps_init(void) +{ + tegra_gpio_enable(TEGRA_GPIO_PU4); + return 0; +} + static void whistler_usb_init(void) { tegra_otg_device.dev.platform_data = &tegra_otg_pdata; @@ -329,6 +336,7 @@ static void __init tegra_whistler_init(void) whistler_sensors_init(); whistler_kbc_init(); whistler_bt_rfkill(); + whistler_gps_init(); whistler_usb_init(); whistler_scroll_init(); } |