From: 黄涛 Date: Wed, 11 Jun 2014 03:29:12 +0000 (+0800) Subject: ARM: rockchip: rk3288: power up/down GPU domain wait 1us X-Git-Tag: firefly_0821_release~5154 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=44099f09d993215a64acfe1240d1c115dd7d38a0;p=firefly-linux-kernel-4.4.55.git ARM: rockchip: rk3288: power up/down GPU domain wait 1us Default wait 1ms, which block system too long. --- diff --git a/arch/arm/mach-rockchip/rk3288.c b/arch/arm/mach-rockchip/rk3288.c index bb0935cbb9c3..8232c3ce494c 100644 --- 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(); }