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:
4fd32ae
)
ARM: rockchip: rk3288: power up/down GPU domain wait 1us
author
黄涛
<huangtao@rock-chips.com>
Wed, 11 Jun 2014 03:29:12 +0000
(11:29 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Wed, 11 Jun 2014 03:31:28 +0000
(11:31 +0800)
Default wait 1ms, which block system too long.
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 bb0935cbb9c34ce43e6af9fb610734f2cebf86db..8232c3ce494c8f63ec2b0985faa198fd2922f873 100644
(file)
--- a/
arch/arm/mach-rockchip/rk3288.c
+++ b/
arch/arm/mach-rockchip/rk3288.c
@@
-153,6
+153,10
@@
static void __init rk3288_dt_map_io(void)
writel_relaxed(1, RK3288_TIMER7_VIRT + 0x10);
dsb();
+ /* power up/down GPU domain wait 1us */
+ writel_relaxed(24, RK_PMU_VIRT + RK3288_PMU_GPU_PWRDWN_CNT);
+ writel_relaxed(24, RK_PMU_VIRT + RK3288_PMU_GPU_PWRUP_CNT);
+
rk3288_boot_mode_init();
}