From 4b6c3183106883f76ee5fc3bb7e6f5861ff5c3b7 Mon Sep 17 00:00:00 2001 From: Alex Frid Date: Fri, 18 Jan 2013 21:50:22 -0800 Subject: 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 Reviewed-on: http://git-master/r/225502 Reviewed-by: Mrutyunjay Sawant Tested-by: Mrutyunjay Sawant --- arch/arm/mach-tegra/tegra11_emc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/arm/mach-tegra/tegra11_emc.h') 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 -- cgit v1.2.3