From: Alexander Kochetkov Date: Tue, 31 Jan 2017 12:43:16 +0000 (+0300) Subject: ARM: dts: rockchip: disable arm-global-timer for rk3188 X-Git-Tag: v4.12-rc1~157^2~6^2~4 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=500d0aa918a2ea6bb918fee8adcf27dc2912bcd1;p=karo-tx-linux.git 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 Signed-off-by: Daniel Lezcano Reviewed-by: Heiko Stuebner --- diff --git a/arch/arm/boot/dts/rk3188.dtsi b/arch/arm/boot/dts/rk3188.dtsi index 8428faeb9c60..1aff4ad22fc4 100644 --- a/arch/arm/boot/dts/rk3188.dtsi +++ b/arch/arm/boot/dts/rk3188.dtsi @@ -546,6 +546,7 @@ &global_timer { interrupts = ; + status = "disabled"; }; &local_timer {