]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: versal-net: Update rtc calibration value
authorHarini T <harini.t@amd.com>
Thu, 10 Jul 2025 06:13:09 +0000 (11:43 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Nov 2025 20:36:47 +0000 (15:36 -0500)
[ Upstream commit b60b74f82e3ed4910a5f96a412e89bdd44875842 ]

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.768kHz, this value will be 0x7FFF."

Signed-off-by: Harini T <harini.t@amd.com>
Link: https://lore.kernel.org/r/20250710061309.25601-1-harini.t@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/xilinx/versal-net.dtsi

index fc9f49e57385ae103ab04b8d0aedd242c2bf41fe..c037a7819967022ee7352192c763a64e03854795 100644 (file)
                        reg = <0 0xf12a0000 0 0x100>;
                        interrupts = <0 200 4>, <0 201 4>;
                        interrupt-names = "alarm", "sec";
-                       calibration = <0x8000>;
+                       calibration = <0x7FFF>;
                };
 
                sdhci0: mmc@f1040000 {