[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1523766955-9001-1-git-send-email-my375229675@gmail.com>
Date: Sun, 15 Apr 2018 12:35:55 +0800
From: Yaodong Liu <my375229675@...il.com>
To: Heiko Stuebner <heiko@...ech.de>
Cc: Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
linux-arm-kernel@...ts.infradead.org,
linux-rockchip@...ts.infradead.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, Yaodong Liu <my375229675@...il.com>
Subject: [PATCH] ARM: dts: rockchip: disable arm_global_timer for rk3066a
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@...il.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
Powered by blists - more mailing lists