* [PATCH] ARM: dts: rockchip: disable arm_global_timer for rk3066a
@ 2018-04-15 4:35 Yaodong Liu
0 siblings, 0 replies; only message in thread
From: Yaodong Liu @ 2018-04-15 4:35 UTC (permalink / raw)
To: Heiko Stuebner
Cc: Rob Herring, Mark Rutland, linux-arm-kernel, linux-rockchip,
devicetree, linux-kernel, Yaodong Liu
The arm_global_timer provides unstable clock to sched_clock, it will
be selected by default instead of rockchip_timer. The same issue has
been fixed in rk3188.
So we must disable arm_global_timer to get the correct clocksource.
Signed-off-by: Yaodong Liu <my375229675@gmail.com>
---
arch/arm/boot/dts/rk3066a.dtsi | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/rk3066a.dtsi b/arch/arm/boot/dts/rk3066a.dtsi
index 06523ca..1920f93 100644
--- a/arch/arm/boot/dts/rk3066a.dtsi
+++ b/arch/arm/boot/dts/rk3066a.dtsi
@@ -749,3 +749,7 @@
&emac {
compatible = "rockchip,rk3066-emac";
};
+
+&global_timer {
+ status = "disabled";
+};
--
2.7.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-04-15 4:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-15 4:35 [PATCH] ARM: dts: rockchip: disable arm_global_timer for rk3066a Yaodong Liu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).