summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2017-01-23 11:41:52 +0100
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-01-27 16:18:17 +0100
commitfc26feeb2eff08720b1035ba72097fc14f95f7af (patch)
tree18f803e5145ac41143a8abf16aa7d76e3c87f574
parentARM: sun8i: a23/a33: Enable the real LOSC and use it (diff)
downloadlinux-fc26feeb2eff08720b1035ba72097fc14f95f7af.tar.xz
linux-fc26feeb2eff08720b1035ba72097fc14f95f7af.zip
ARM: sun8i: a23/a33: Add the oscillators accuracy
The datasheet provided by Allwinner requires oscillators with an accuracy of 50ppm. Add it to our fixed clocks so that we can properly track the accuracy chain. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
-rw-r--r--arch/arm/boot/dts/sun8i-a23-a33.dtsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-a23-a33.dtsi b/arch/arm/boot/dts/sun8i-a23-a33.dtsi
index da7f2476bc6c..d92fdf5a7b26 100644
--- a/arch/arm/boot/dts/sun8i-a23-a33.dtsi
+++ b/arch/arm/boot/dts/sun8i-a23-a33.dtsi
@@ -106,6 +106,7 @@
#clock-cells = <0>;
compatible = "fixed-clock";
clock-frequency = <24000000>;
+ clock-accuracy = <50000>;
clock-output-names = "osc24M";
};
@@ -113,6 +114,7 @@
#clock-cells = <0>;
compatible = "fixed-clock";
clock-frequency = <32768>;
+ clock-accuracy = <50000>;
clock-output-names = "ext-osc32k";
};
};