diff options
author | Frederic Bossy <fbossy@nvidia.com> | 2011-09-15 11:55:07 +0200 |
---|---|---|
committer | Rohan Somvanshi <rsomvanshi@nvidia.com> | 2011-09-16 06:47:22 -0700 |
commit | d1800dacc1d106ef81b3b4ef98d6dbc7c8b723b4 (patch) | |
tree | 29760c70fdaa062d8da71658e575c9594949d32f /arch | |
parent | a33d4f5c677b657751fd017f8419df88016122a5 (diff) |
ARM:tegra:enterprise: Configure I_MDM_RST as input.
I_MDM_RST (gpio33) is connected to PMIC VMON_OUT.
It shouldn't be driven high, only low when reset is performed.
Modem reset relies on power cycle (PON low->high) today.
Bug 866051
Change-Id: I96631d7055979e9bb3365ffca27c2fb46afe7c3f
Reviewed-on: http://git-master/r/52593
Tested-by: Frederic Bossy <fbossy@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'arch')
-rwxr-xr-x[-rw-r--r--] | arch/arm/mach-tegra/board-enterprise-baseband.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/mach-tegra/board-enterprise-baseband.c b/arch/arm/mach-tegra/board-enterprise-baseband.c index fde96d05a524..c235a22da18f 100644..100755 --- a/arch/arm/mach-tegra/board-enterprise-baseband.c +++ b/arch/arm/mach-tegra/board-enterprise-baseband.c @@ -205,10 +205,7 @@ static int ph450_reset(void) gpio_set_value(AP2MDM_ACK2, 1); gpio_set_value(MODEM_PWR_ON, 0); - gpio_set_value(MODEM_RESET, 0); mdelay(200); - gpio_set_value(MODEM_RESET, 1); - mdelay(30); gpio_set_value(MODEM_PWR_ON, 1); return 0; @@ -295,9 +292,7 @@ static int __init ph450_init(void) gpio_direction_output(MODEM_PWR_ON, 0); /* export GPIO for user space access through sysfs */ gpio_export(MODEM_PWR_ON, false); - gpio_direction_output(MODEM_RESET, 0); - /* export GPIO for user space access through sysfs */ - gpio_export(MODEM_RESET, false); + gpio_direction_input(MODEM_RESET); gpio_direction_output(AP2MDM_ACK2, 1); gpio_direction_input(MDM2AP_ACK2); gpio_direction_input(BB_RST_OUT); |