ARM: rockchip: add support holding 24Mhz osc during suspend
authorChris Zhong <zyw@rock-chips.com>
Tue, 23 Jun 2015 12:53:39 +0000 (20:53 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 5 Jul 2015 22:47:00 +0000 (00:47 +0200)
commit134f1f609bdf2f67ae23b7b1b686a3b9d5c67b03
treecf915e37d7f98fc4318ffede0a838bc8719f677d
parent7f0b61ad34f04b076a3d1e2b5cfc6e1fae853ec4
ARM: rockchip: add support holding 24Mhz osc during suspend

If we want to wake up system via usb, the 24Mhz osc could not be
disabled during suspend, read the usb phy SIDDQ bit to decide whether
to switch to 32khz clock-in.

Signed-off-by: Chris Zhong <zyw@rock-chips.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Tested-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/mach-rockchip/pm.c