瀏覽代碼

ARM: dts: rockchip: disable arm-global-timer for rk3188

The clocksource and the sched_clock provided by the arm_global_timer
are quite unstable because their rates depend on the cpu frequency.

On the other side, the arm_global_timer has a higher rating than the
rockchip_timer, it will be selected by default by the time framework
while we want to use the stable rockchip clocksource.

Let's disable the arm_global_timer in order to have the rockchip
clocksource selected by default.

Signed-off-by: Alexander Kochetkov <al.kochet@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Alexander Kochetkov 9 年之前
父節點
當前提交
500d0aa918
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      arch/arm/boot/dts/rk3188.dtsi

+ 1 - 0
arch/arm/boot/dts/rk3188.dtsi

@@ -546,6 +546,7 @@
 
 &global_timer {
 	interrupts = <GIC_PPI 11 0xf04>;
+	status = "disabled";
 };
 
 &local_timer {