projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e918ba
)
ARM: rockchip: rk3288: pll enter slow mode before reboot
author
黄涛
<huangtao@rock-chips.com>
Fri, 25 Apr 2014 10:32:15 +0000
(18:32 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Fri, 25 Apr 2014 10:32:47 +0000
(18:32 +0800)
arch/arm/mach-rockchip/rk3288.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rockchip/rk3288.c
b/arch/arm/mach-rockchip/rk3288.c
index 4299020808ec46a73836a360ebe81898f8fd0786..c74793df4cf94011457b8470a7fb41f76683217b 100644
(file)
--- a/
arch/arm/mach-rockchip/rk3288.c
+++ b/
arch/arm/mach-rockchip/rk3288.c
@@
-426,6
+426,9
@@
static void rk3288_restart(char mode, const char *cmd)
writel_relaxed(boot_mode, RK_PMU_VIRT + RK3288_PMU_SYS_REG1); // for linux
dsb();
+ /* pll enter slow mode */
+ writel_relaxed(0xf3030000, RK_CRU_VIRT + RK3288_CRU_MODE_CON);
+ dsb();
writel_relaxed(0xeca8, RK_CRU_VIRT + RK3288_CRU_GLB_SRST_SND_VALUE);
dsb();
}