Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1645252

[PATCH v4 5/6] ARM: sun8i: a83t: Set clock accuracy for 24MHz oscillator

From Chen-Yu Tsai <wens@csie.org>
Newsgroups linux.kernel
Subject [PATCH v4 5/6] ARM: sun8i: a83t: Set clock accuracy for 24MHz oscillator
Date 2017-05-19 09:10 +0200
Message-ID <tIKcW-76X-29@gated-at.bofh.it> (permalink)
References <tIKcW-76X-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


The datasheets for Allwinner SoCs set strict requirements on the
stability of the external crystal oscillators. Add the accuracy
for the main 24MHz oscillator to the device tree.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
---
 arch/arm/boot/dts/sun8i-a83t.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi
index c9a5d07b2ada..e12dd7170b8f 100644
--- a/arch/arm/boot/dts/sun8i-a83t.dtsi
+++ b/arch/arm/boot/dts/sun8i-a83t.dtsi
@@ -126,6 +126,7 @@
 			#clock-cells = <0>;
 			compatible = "fixed-clock";
 			clock-frequency = <24000000>;
+			clock-accuracy = <50000>;
 			clock-output-names = "osc24M";
 		};
 
-- 
2.11.0

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v4 0/6] clk: sunxi-ng: Add support for A83T CCU Chen-Yu Tsai <wens@csie.org> - 2017-05-19 09:10 +0200
  [PATCH v4 1/6] dt-bindings: clock: sunxi-ccu: Add compatible string for A83T CCU Chen-Yu Tsai <wens@csie.org> - 2017-05-19 09:10 +0200
  [PATCH v4 5/6] ARM: sun8i: a83t: Set clock accuracy for 24MHz oscillator Chen-Yu Tsai <wens@csie.org> - 2017-05-19 09:10 +0200
  [PATCH v4 2/6] clk: sunxi-ng: Support multiple variable pre-dividers Chen-Yu Tsai <wens@csie.org> - 2017-05-19 09:10 +0200
  Re: [PATCH v4 0/6] clk: sunxi-ng: Add support for A83T CCU Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-05-19 10:40 +0200

csiph-web