From 44099f09d993215a64acfe1240d1c115dd7d38a0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=BB=84=E6=B6=9B?= Date: Wed, 11 Jun 2014 11:29:12 +0800 Subject: [PATCH] ARM: rockchip: rk3288: power up/down GPU domain wait 1us Default wait 1ms, which block system too long. --- arch/arm/mach-rockchip/rk3288.c | 4 ++++ 1 file changed, 4 insertions(+) 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(); } -- 2.34.1