summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/mx6.h
diff options
context:
space:
mode:
authorAnson Huang <b20788@freescale.com>2014-10-20 16:16:20 +0800
committerNitin Garg <nitin.garg@freescale.com>2015-04-14 14:00:54 -0500
commit5a23b081adc89ee55d2ee03bc23ce004351af794 (patch)
tree1d0cb4c242be271936b04445ca44a99054054ef0 /arch/arm/mach-imx/mx6.h
parent0035b40ef0b435800875e9001c9e584c625f998c (diff)
MLK-9708 arm: imx: add low power idle support for i.mx6sx
1. improve imx6q_set_int_mem_clk_lpm routine; 2. export rbc enable interface for cpuidle; 3. enable low power idle for i.MX6SX: WFI -> first level idle; WAIT mode -> second level idle; Low power idle -> third level idle, only when system is in low bus mode. In low powe idle mode, below operations will be done: ARM power off; AHB freq lower to 3MHz; PERCLK freq lower to 6MHz; MMDC freq lower to 1MHz; Anatop will be put into low power mode, and regular band-gap will be off and low power band-gap will be enabled instead. Also, in low power idle mode, 24MHz XTAL power will be off and 24MHz clk source will be switched to RC-OSC to save power, this feature is only enabled on i.MX6SX TO1.2. Signed-off-by: Anson Huang <b20788@freescale.com>
Diffstat (limited to 'arch/arm/mach-imx/mx6.h')
-rw-r--r--arch/arm/mach-imx/mx6.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mx6.h b/arch/arm/mach-imx/mx6.h
index d4b516aff5d2..b4bfc28369bd 100644
--- a/arch/arm/mach-imx/mx6.h
+++ b/arch/arm/mach-imx/mx6.h
@@ -43,4 +43,5 @@
#define MX6SL_WFI_IRAM_DATA_SIZE 100
#define MX6_SUSPEND_IRAM_ADDR_OFFSET 0
+#define MX6_CPUIDLE_IRAM_ADDR_OFFSET 0x1000
#endif