linux-stable/arch/arm/mach-rockchip
Heiko Stuebner d1d3a1a1d7 ARM: rockchip: set correct stabilization thresholds in suspend
Currently the stabilization thresholds for the oscillator and external pmu
are statically set to 30ms based on a 32kHz clock rate. This leaves out the
case when we don't switch to the 32kHz clock when only entering the shallow
suspend mode where the logic keeps running.

So, set the correct threshold after we have determined if we switch to the
32kHz clock or stay with the 24MHz one. Also set the oscillator-
stabilization to 0 if it is kept running during suspend, as it of course
does not need to stabilize then.

Reported-by: Chris Zhong <zyw@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Chris Zhong <zyw@rock-chips.com>
Tested-by: Chris Zhong <zyw@rock-chips.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
2015-08-06 13:05:12 +02:00
..
core.h ARM: v7 setup function should invalidate L1 cache 2015-06-01 11:30:26 +01:00
headsmp.S ARM: v7 setup function should invalidate L1 cache 2015-06-01 11:30:26 +01:00
Kconfig ARM: rockchip: force built-in regulator support for PM 2015-02-18 12:20:30 +01:00
Makefile ARM: rockchip: add suspend and resume for RK3288 2014-12-31 16:16:50 +01:00
platsmp.c ARM: rockchip: fix broken build 2015-07-06 11:46:08 +02:00
pm.c ARM: rockchip: set correct stabilization thresholds in suspend 2015-08-06 13:05:12 +02:00
pm.h ARM: rockchip: set correct stabilization thresholds in suspend 2015-08-06 13:05:12 +02:00
rockchip.c rockchip: make sure timer7 is enabled on rk3288 platforms 2015-04-16 21:22:17 +02:00
sleep.S ARM: rockchip: add suspend and resume for RK3288 2014-12-31 16:16:50 +01:00