]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MLK-9826 arm: imx6: Add low power idle support for imx6sl
authorBai Ping <b51503@freescale.com>
Wed, 12 Nov 2014 16:44:24 +0000 (00:44 +0800)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:18:56 +0000 (21:18 -0600)
commitf75a2811dd900c82a7dbf84aaa80f86366ace24c
treee06825a284e0ca508af1e34cf06fb08e2e990d73
parent5a1cd4e1b67f7c1878bee2717992635f6792434e
MLK-9826 arm: imx6: Add low power idle support for imx6sl

Enable low power idle for imx6sl. When the busfreq is either
in ultra_low_bus_freq mode or audio_bus_freq_mode, we Can save
more power by reducing the system frequency further in ldle.
At present, Only two idle(WFI and WAIT) are supported.

     WFI        --> normal ARM ilde (first level idle)
     WAIT mode  --> low power idle (second level idle)

When entered WAIT mode, change the DDR, AHB/AXI and ARM clk frequency
as below if the system is in:

  1. ultra_low_bus_freq:
     DDR freq to 1MHz,
     AHB/AXI freq to 3MHz,
     ARM freq to 3MHz.

  2. audio_low_bus_mode:
     DDR freq to 25Hz,
     AHB freq to 8MHz,
     ARM freq to 8MHz.

Anatop can be put in low power mode when all the PLLs are powered down.
We can enable the low power bandgap and disable the rugulator bandgap,
enable the weak 2p5 LDO and disable the 2p5 LDO.

Signed-off-by: Bai Ping <b51503@freescale.com>
arch/arm/mach-imx/Makefile
arch/arm/mach-imx/common.h
arch/arm/mach-imx/cpuidle-imx6sl.c
arch/arm/mach-imx/imx6sl_lpm_wfi.S [new file with mode: 0644]