diff mbox series

[1/7] arm64: zynqmp: rtc: Update rtc calibration value

Message ID d43b854c00c2696c9a1ff930a3848110f2723384.1623060920.git.michal.simek@xilinx.com
State Accepted
Commit ee6b3c54e96917411e10f7eb3f249e339d1536c3
Delegated to: Michal Simek
Headers show
Series arm64: zynqmp: DT syncup patches next | expand

Commit Message

Michal Simek June 7, 2021, 10:15 a.m. UTC
From: Srinivas Neeli <srinivas.neeli@xilinx.com>

As per the design specification
"The 16-bit Seconds Calibration Value represents the number of
 Oscillator Ticks that are required to measure the largest time
 period that is less than or equal to 1 second.
 For an oscillator that is 32.768 KHz, this value will be 0x7FFF."

Signed-off-by: Srinivas Neeli <srinivas.neeli@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 arch/arm/dts/zynqmp.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi
index 47ffdf1b1650..d7e551630d6f 100644
--- a/arch/arm/dts/zynqmp.dtsi
+++ b/arch/arm/dts/zynqmp.dtsi
@@ -691,7 +691,7 @@ 
 			interrupt-parent = <&gic>;
 			interrupts = <0 26 4>, <0 27 4>;
 			interrupt-names = "alarm", "sec";
-			calibration = <0x8000>;
+			calibration = <0x7FFF>;
 		};
 
 		sata: ahci@fd0c0000 {