diff options
author | Alex Frid <afrid@nvidia.com> | 2013-01-18 21:50:22 -0800 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 13:14:25 -0700 |
commit | 4b6c3183106883f76ee5fc3bb7e6f5861ff5c3b7 (patch) | |
tree | 1180ec440f427fcca89d87c6586162934ec175cf /arch/arm/mach-tegra/tegra11_emc.h | |
parent | e19834ce492001e3c3ffec214a1ccf5b0310ea6d (diff) |
ARM: tegra11: clock: Add LPDDR temperature controls
Added mechanism to speed up memory refresh rate at high temperature
according to LPDDR2/3 specification, and interface to specify memory
over-temperature state. For now, this interface is only used by
debufs node:
/sys/kernel/debug/tegra_emc/over_temp_state
0 - set regular low temperature refresh rate,
1 - speed up refresh for high temperature
Removed hooks for s/w memory interface swizzling, since it is done
in h/w on Tegra11.
Bug 939626
Change-Id: Ia433d0861dd6b89f14ea588dc0191aa359e09e3e
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/225502
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/tegra11_emc.h')
-rw-r--r-- | arch/arm/mach-tegra/tegra11_emc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/tegra11_emc.h b/arch/arm/mach-tegra/tegra11_emc.h index 4cccfcb9ef37..43e2c9c07f74 100644 --- a/arch/arm/mach-tegra/tegra11_emc.h +++ b/arch/arm/mach-tegra/tegra11_emc.h @@ -126,6 +126,7 @@ enum { #define EMC_MODE_SET_LONG_CNT (0x1 << 26) #define EMC_EMRS 0xd0 #define EMC_REF 0xd4 +#define EMC_REF_FORCE_CMD 1 #define EMC_PRE 0xd8 #define EMC_NOP 0xdc |