summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSheshu Shenoy <sshenoy@nvidia.com>2010-05-11 15:26:39 -0700
committerGary King <gking@nvidia.com>2010-05-12 19:33:39 -0700
commitab20a6c358810453240d160f9bb6953d025f5618 (patch)
treed4781874fb90bf489fa70109ca82bb2763a6e1de
parentc7ed1024ffd4c802ea4a8a7bc54307cae4fb2f11 (diff)
tegra RIL - added wake up pins and audio configuration
- Added GPIO pins to the wake up table so that in-coming calls wake up the system when EMP and IFX Modems are present. - Added audio configuration for IFX modem. - Bug 679896 - Removed tabs and adjusted indentation Change-Id: I93db8c9f5a531b682365cfb916163b101132deee Reviewed-on: http://git-master/r/1362 Reviewed-by: Sheshagiri Shenoy <sshenoy@nvidia.com> Tested-by: Sheshagiri Shenoy <sshenoy@nvidia.com> Reviewed-by: Udaykumar Rameshchan Raval <uraval@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
-rwxr-xr-xarch/arm/mach-tegra/odm_kit/query/whistler/nvodm_query.c17
1 files changed, 17 insertions, 0 deletions
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 d39767ff0187..d17f12b59559 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_IFX:
if (DapPortId && DapPortId<NV_ARRAY_SIZE(s_Property_Ril_Emp_Rainbow))
return &s_Property_Ril_Emp_Rainbow[DapPortId];
break;
@@ -925,6 +926,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_IFX:
{
for( TableIndex = 0;
TableIndex < NV_ARRAY_SIZE(s_Property_Ril_Emp_Rainbow); TableIndex++)
@@ -1029,12 +1031,27 @@ NvU32 NvOdmQueryGetOscillatorDriveStrength(void)
const NvOdmWakeupPadInfo *NvOdmQueryGetWakeupPadTable(NvU32 *pSize)
{
+ NvU32 CustOpt;
if (pSize)
*pSize = NV_ARRAY_SIZE(s_NvOdmWakeupPadInfo);
+ CustOpt = GetBctKeyValue();
+ switch (NV_DRF_VAL(TEGRA_DEVKIT, BCT_CUSTOPT, RIL, CustOpt))
+ {
+ case TEGRA_DEVKIT_BCT_CUSTOPT_0_RIL_EMP_RAINBOW:
+ s_NvOdmWakeupPadInfo[24].enable = NV_TRUE;
+ break;
+ case TEGRA_DEVKIT_BCT_CUSTOPT_0_RIL_IFX:
+ s_NvOdmWakeupPadInfo[13].enable = NV_TRUE;
+ break;
+ default:
+ break;
+ }
+
return (const NvOdmWakeupPadInfo *) s_NvOdmWakeupPadInfo;
}
+
const NvU8* NvOdmQueryManufacturer(void)
{
return s_NvOdmQueryManufacturerSetting;