diff options
author | Alex Frid <afrid@nvidia.com> | 2014-03-03 21:51:56 -0800 |
---|---|---|
committer | Yu-Huan Hsu <yhsu@nvidia.com> | 2014-03-07 19:14:18 -0800 |
commit | dce48a11bb2aae7e7d7c31042e6f49491146f4f8 (patch) | |
tree | 7cb5fd41a12f755f7af62d8a87cce37977b12666 /arch/arm/mach-tegra/clock.h | |
parent | fd1a6febe4ef3a1acc8847b00501777ccb2c833e (diff) |
ARM: tegra: power: Restore EMC clock client for CPU
This partially reverts commit bd65c015c97c87454e9dc0988485cd4191fe4d0c.
It restores EMC clock client created for setting EMC frequency floor
due to CPU-to-EMC direct coupling. The application of the restored
client is limited to operational requirements - SoC may fail if they
are not satisfied. EMC and CPU frequency scaling relations for power
and performance optimization still handled via MCCPU actmon device.
Tegra13 is the only tegra platform with restored direct CPU-to-EMC
scaling dependency.
Bug 1473244
Change-Id: Ie1771655cc6b8d304b7050dab141d356971525f8
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/377456
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/clock.h')
-rw-r--r-- | arch/arm/mach-tegra/clock.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/clock.h b/arch/arm/mach-tegra/clock.h index 84629e542053..2ed6d1175120 100644 --- a/arch/arm/mach-tegra/clock.h +++ b/arch/arm/mach-tegra/clock.h @@ -500,6 +500,12 @@ static inline int tegra_update_mselect_rate(unsigned long cpu_rate) #else int tegra_update_mselect_rate(unsigned long cpu_rate); #endif +#ifdef CONFIG_ARCH_TEGRA_13x_SOC +unsigned long tegra_emc_cpu_limit(unsigned long cpu_rate); +#else +static inline unsigned long tegra_emc_cpu_limit(unsigned long cpu_rate) +{ return 0; } +#endif #else static inline unsigned long tegra_emc_to_cpu_ratio(unsigned long cpu_rate) { return 0; } |