mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] arm64: versal-net: Update rtc calibration value
@ 2025-07-10  6:13 Harini T
  2025-07-18  7:23 ` Michal Simek
  0 siblings, 1 reply; 2+ messages in thread
From: Harini T @ 2025-07-10  6:13 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, michal.simek
  Cc: devicetree, linux-arm-kernel, linux-kernel, git, Harini T

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>
---
 arch/arm64/boot/dts/xilinx/versal-net.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/xilinx/versal-net.dtsi b/arch/arm64/boot/dts/xilinx/versal-net.dtsi
index fc9f49e57385..c037a7819967 100644
--- a/arch/arm64/boot/dts/xilinx/versal-net.dtsi
+++ b/arch/arm64/boot/dts/xilinx/versal-net.dtsi
@@ -556,7 +556,7 @@
 			reg = <0 0xf12a0000 0 0x100>;
 			interrupts = <0 200 4>, <0 201 4>;
 			interrupt-names = "alarm", "sec";
-			calibration = <0x8000>;
+			calibration = <0x7FFF>;
 		};
 
 		sdhci0: mmc@f1040000 {
-- 
2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm64: versal-net: Update rtc calibration value
  2025-07-10  6:13 [PATCH] arm64: versal-net: Update rtc calibration value Harini T
@ 2025-07-18  7:23 ` Michal Simek
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Simek @ 2025-07-18  7:23 UTC (permalink / raw)
  To: Harini T, robh, krzk+dt, conor+dt
  Cc: devicetree, linux-arm-kernel, linux-kernel, git



On 7/10/25 08:13, Harini T wrote:
> 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>
> ---
>   arch/arm64/boot/dts/xilinx/versal-net.dtsi | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/xilinx/versal-net.dtsi b/arch/arm64/boot/dts/xilinx/versal-net.dtsi
> index fc9f49e57385..c037a7819967 100644
> --- a/arch/arm64/boot/dts/xilinx/versal-net.dtsi
> +++ b/arch/arm64/boot/dts/xilinx/versal-net.dtsi
> @@ -556,7 +556,7 @@
>   			reg = <0 0xf12a0000 0 0x100>;
>   			interrupts = <0 200 4>, <0 201 4>;
>   			interrupt-names = "alarm", "sec";
> -			calibration = <0x8000>;
> +			calibration = <0x7FFF>;
>   		};
>   
>   		sdhci0: mmc@f1040000 {

Applied.
M

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-07-18  7:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-10  6:13 [PATCH] arm64: versal-net: Update rtc calibration value Harini T
2025-07-18  7:23 ` Michal Simek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®