Thread (20 messages) 20 messages, 3 authors, 2018-12-07
STALE2754d REVIEWED: 3 (2M)
Revisions (2)
  1. v1 [diff vs current]
  2. v2 current

[PATCH v2 10/14] ARM: dts: sunxi: h3/h5: Add clock accuracy for external oscillators

From: Chen-Yu Tsai <hidden>
Date: 2018-12-03 14:58:49
Also in: linux-arm-kernel, linux-clk, linux-rtc, lkml
Subsystem: the rest · Maintainer: Linus Torvalds

The H3 datasheet specifies a tolerance range for the external
oscillators used. Add them to the device tree as the clock accuracy.
The internal oscillator is left unchanged, as it will be removed later.

Acked-by: Maxime Ripard <redacted>
Tested-by: Corentin Labbe <redacted>
Signed-off-by: Chen-Yu Tsai <redacted>
---
 arch/arm/boot/dts/sunxi-h3-h5.dtsi | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi b/arch/arm/boot/dts/sunxi-h3-h5.dtsi
index 0d9e9eac518c..bce3bf1d6ae5 100644
--- a/arch/arm/boot/dts/sunxi-h3-h5.dtsi
+++ b/arch/arm/boot/dts/sunxi-h3-h5.dtsi
@@ -86,6 +86,7 @@
 			#clock-cells = <0>;
 			compatible = "fixed-clock";
 			clock-frequency = <24000000>;
+			clock-accuracy = <50000>;
 			clock-output-names = "osc24M";
 		};
 
@@ -93,6 +94,7 @@
 			#clock-cells = <0>;
 			compatible = "fixed-clock";
 			clock-frequency = <32768>;
+			clock-accuracy = <50000>;
 			clock-output-names = "osc32k";
 		};
 
-- 
2.20.0.rc1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help