diff options
author | Narendra Damahe <ndamahe@nvidia.com> | 2010-04-15 13:24:26 -0700 |
---|---|---|
committer | Gary King <gking@nvidia.com> | 2010-04-15 20:17:27 -0700 |
commit | 73fd6c71c76eda1ffe635a48e03cc56faacbf762 (patch) | |
tree | ba5827cf12b0f8341f34e6d92bc007e6fbda1c93 /arch/arm/mach-tegra | |
parent | 17c142709d6824a52d847504e5fec5669735b348 (diff) |
tegra:enable deep sleep as a lowest power mode for Harmony
Change-Id: Ied68fde9cc9556088837ccaabfdd93c396777218
Reviewed-on: http://git-master/r/1130
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>
Tested-by: Narendra Damahe <ndamahe@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Gary King <gking@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r-- | arch/arm/mach-tegra/odm_kit/query/harmony/nvodm_query.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/odm_kit/query/harmony/nvodm_query.c b/arch/arm/mach-tegra/odm_kit/query/harmony/nvodm_query.c index b21a8bd57ed5..6a6cfdb61501 100644 --- a/arch/arm/mach-tegra/odm_kit/query/harmony/nvodm_query.c +++ b/arch/arm/mach-tegra/odm_kit/query/harmony/nvodm_query.c @@ -668,7 +668,16 @@ NvOdmQueryPinAttributes(const NvOdmPinAttrib** pPinAttributes) NvBool NvOdmQueryGetPmuProperty(NvOdmPmuProperty* pPmuProperty) { - return NV_FALSE; + pPmuProperty->IrqConnected = NV_FALSE; + pPmuProperty->PowerGoodCount = 0x7E; + pPmuProperty->IrqPolarity = NvOdmInterruptPolarity_Low; + pPmuProperty->CorePowerReqPolarity = NvOdmCorePowerReqPolarity_Low; + pPmuProperty->SysClockReqPolarity = NvOdmSysClockReqPolarity_High; + pPmuProperty->CombinedPowerReq = NV_FALSE; + pPmuProperty->CpuPowerGoodUs = 2000; + pPmuProperty->AccuracyPercent = 3; + pPmuProperty->VCpuOTPOnWakeup = NV_FALSE; + return NV_TRUE; } /** @@ -684,7 +693,7 @@ const NvOdmSocPowerStateInfo* NvOdmQueryLowestSocPowerState(void) if (pPowerStateInfo == NULL) { // Lowest power state. - PowerStateInfo.LowestPowerState = NvOdmSocPowerState_Suspend; + PowerStateInfo.LowestPowerState = NvOdmSocPowerState_DeepSleep; pPowerStateInfo = (const NvOdmSocPowerStateInfo*) &PowerStateInfo; } |