aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-rockchip/rockchip.c
diff options
context:
space:
mode:
authorChris Zhong <zyw@rock-chips.com>2014-12-01 16:52:17 +0800
committerHeiko Stuebner <heiko@sntech.de>2014-12-31 16:16:50 +0100
commit9c1ec8e18c210092418d27278a742a2a98eafffe (patch)
treed3b3a6deb200dd0000e900e4a14df3d8bc673654 /arch/arm/mach-rockchip/rockchip.c
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672 (diff)
ARM: rockchip: add suspend and resume for RK3288
It's a basic version of suspend and resume for rockchip, it only support RK3288 now. Signed-off-by: Tony Xie <xxx@rock-chips.com> Signed-off-by: Chris Zhong <zyw@rock-chips.com> Tested-by: Doug Anderson <dianders@chromium.org> Reviewed-by: Doug Anderson <dianders@chromium.org> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm/mach-rockchip/rockchip.c')
-rw-r--r--arch/arm/mach-rockchip/rockchip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-rockchip/rockchip.c b/arch/arm/mach-rockchip/rockchip.c
index d226b71d21d5..2b68a1a70912 100644
--- a/arch/arm/mach-rockchip/rockchip.c
+++ b/arch/arm/mach-rockchip/rockchip.c
@@ -23,9 +23,11 @@
#include <asm/mach/map.h>
#include <asm/hardware/cache-l2x0.h>
#include "core.h"
+#include "pm.h"
static void __init rockchip_dt_init(void)
{
+ rockchip_suspend_init();
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
platform_device_register_simple("cpufreq-dt", 0, NULL, 0);
}