summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Lin <stlin@nvidia.com>2010-05-18 16:18:10 -0700
committerGary King <gking@nvidia.com>2010-05-22 10:33:58 -0700
commitc5ede35df6fe567e36499cf3673fc2128e69e042 (patch)
treed03ff54f696abddc88d21a6cb482020d9fff7525
parent46d2a32a664e9c80ac78001b00ba6b7b23d44249 (diff)
tegra ODM: Changing the Rainbow 570 modem power on pulse time.
Rainbow 570 modem requires power on pulse more than a second. This change increases the power on plus time and correct the DAP connection table for Rainbow 570. The Rainbow1 modem also works after the pulse time change. Bug 640843 Change-Id: I194c9d84a9a10bbb3bc3e14eea53f18a9a54ed6a Reviewed-on: http://git-master/r/1431 Tested-by: Szming Lin <stlin@nvidia.com> Reviewed-by: Udaykumar Rameshchan Raval <uraval@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
-rw-r--r--arch/arm/mach-tegra/odm_kit/adaptations/misc/whistler/nvodm_usbulpi.c4
-rwxr-xr-xarch/arm/mach-tegra/odm_kit/query/whistler/nvodm_query.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/odm_kit/adaptations/misc/whistler/nvodm_usbulpi.c b/arch/arm/mach-tegra/odm_kit/adaptations/misc/whistler/nvodm_usbulpi.c
index 5bd21b2bd51b..42347bd85b3b 100644
--- a/arch/arm/mach-tegra/odm_kit/adaptations/misc/whistler/nvodm_usbulpi.c
+++ b/arch/arm/mach-tegra/odm_kit/adaptations/misc/whistler/nvodm_usbulpi.c
@@ -185,10 +185,10 @@ static void ste_u3xx_turn_on_modem(struct ste_u3xx_info *info)
NvOdmOsSleepMS(300);
NvOdmGpioSetState(ste_u3xx_gpio, ste_u3xx_reset_gpio_pin, 1);
- /* pulse modem power on for 300 ms */
+ /* pulse modem power on for 1200 ms */
NvOdmOsSleepMS(300);
NvOdmGpioSetState(ste_u3xx_gpio, ste_u3xx_power_gpio_pin, 1);
- NvOdmOsSleepMS(300);
+ NvOdmOsSleepMS(1200);
NvOdmGpioSetState(ste_u3xx_gpio, ste_u3xx_power_gpio_pin, 0);
NvOdmOsSleepMS(100);
diff --git a/arch/arm/mach-tegra/odm_kit/query/whistler/nvodm_query.c b/arch/arm/mach-tegra/odm_kit/query/whistler/nvodm_query.c
index d17f12b59559..9041be0a2c19 100755
--- a/arch/arm/mach-tegra/odm_kit/query/whistler/nvodm_query.c
+++ b/arch/arm/mach-tegra/odm_kit/query/whistler/nvodm_query.c
@@ -880,6 +880,7 @@ NvOdmQueryDapPortGetProperty(
switch (NV_DRF_VAL(TEGRA_DEVKIT, BCT_CUSTOPT, RIL, CustOpt))
{
case TEGRA_DEVKIT_BCT_CUSTOPT_0_RIL_EMP_RAINBOW:
+ case TEGRA_DEVKIT_BCT_CUSTOPT_0_RIL_EMP_RAINBOW_ULPI:
case TEGRA_DEVKIT_BCT_CUSTOPT_0_RIL_IFX:
if (DapPortId && DapPortId<NV_ARRAY_SIZE(s_Property_Ril_Emp_Rainbow))
return &s_Property_Ril_Emp_Rainbow[DapPortId];
@@ -926,6 +927,7 @@ NvOdmQueryDapPortGetConnectionTable(
switch (NV_DRF_VAL(TEGRA_DEVKIT, BCT_CUSTOPT, RIL, CustOpt))
{
case TEGRA_DEVKIT_BCT_CUSTOPT_0_RIL_EMP_RAINBOW:
+ case TEGRA_DEVKIT_BCT_CUSTOPT_0_RIL_EMP_RAINBOW_ULPI:
case TEGRA_DEVKIT_BCT_CUSTOPT_0_RIL_IFX:
{
for( TableIndex = 0;