mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] dts: riscv: spacemit: correct 32k clock frequency
@ 2026-04-28 10:57 Yixun Lan
  2026-05-11  4:50 ` Yixun Lan
  0 siblings, 1 reply; 2+ messages in thread
From: Yixun Lan @ 2026-04-28 10:57 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Paul Walmsley,
	Palmer Dabbelt, Albert Ou, Alexandre Ghiti, Alex Elder,
	Haylen Chu
  Cc: devicetree, linux-riscv, spacemit, linux-kernel, Yixun Lan

The 32k oscillator's clock frequency is actually 32768Hz, so correct it.

Fixes: 67072c8cd48c ("riscv: dts: spacemit: k3: add clock tree")
Fixes: a6fafa64b03a ("riscv: dts: spacemit: Add clock tree for SpacemiT K1")
Signed-off-by: Yixun Lan <dlan@kernel.org>
---
 arch/riscv/boot/dts/spacemit/k1.dtsi | 2 +-
 arch/riscv/boot/dts/spacemit/k3.dtsi | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/riscv/boot/dts/spacemit/k1.dtsi b/arch/riscv/boot/dts/spacemit/k1.dtsi
index f0bad6855c97..b0b9c19b56a0 100644
--- a/arch/riscv/boot/dts/spacemit/k1.dtsi
+++ b/arch/riscv/boot/dts/spacemit/k1.dtsi
@@ -333,7 +333,7 @@ vctcxo_3m: clock-3m {
 
 		osc_32k: clock-32k {
 			compatible = "fixed-clock";
-			clock-frequency = <32000>;
+			clock-frequency = <32768>;
 			clock-output-names = "osc_32k";
 			#clock-cells = <0>;
 		};
diff --git a/arch/riscv/boot/dts/spacemit/k3.dtsi b/arch/riscv/boot/dts/spacemit/k3.dtsi
index 815debd16409..e6faf8d8759e 100644
--- a/arch/riscv/boot/dts/spacemit/k3.dtsi
+++ b/arch/riscv/boot/dts/spacemit/k3.dtsi
@@ -424,7 +424,7 @@ vctcxo_3m: clock-3m {
 
 		osc_32k: clock-32k {
 			compatible = "fixed-clock";
-			clock-frequency = <32000>;
+			clock-frequency = <32768>;
 			clock-output-names = "osc_32k";
 			#clock-cells = <0>;
 		};

---
base-commit: 254f49634ee16a731174d2ae34bc50bd5f45e731
change-id: 20260401-06-k3-clk-osc32k-198b413afdca

Best regards,
-- 
Yixun Lan <dlan@kernel.org>


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

* Re: [PATCH] dts: riscv: spacemit: correct 32k clock frequency
  2026-04-28 10:57 [PATCH] dts: riscv: spacemit: correct 32k clock frequency Yixun Lan
@ 2026-05-11  4:50 ` Yixun Lan
  0 siblings, 0 replies; 2+ messages in thread
From: Yixun Lan @ 2026-05-11  4:50 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Paul Walmsley,
	Palmer Dabbelt, Albert Ou, Alexandre Ghiti, Alex Elder,
	Haylen Chu, Yixun Lan
  Cc: devicetree, linux-riscv, spacemit, linux-kernel


On Tue, 28 Apr 2026 10:57:29 +0000, Yixun Lan wrote:
> The 32k oscillator's clock frequency is actually 32768Hz, so correct it.

Applied, thanks!

[1/1] dts: riscv: spacemit: correct 32k clock frequency
      https://github.com/spacemit-com/linux/commit/3c350f6284d8ea5e7a9648241b2e9604f2262d42

Best regards,
-- 
Yixun Lan <dlan@kernel.org>

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

end of thread, other threads:[~2026-05-11  4:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-28 10:57 [PATCH] dts: riscv: spacemit: correct 32k clock frequency Yixun Lan
2026-05-11  4:50 ` Yixun Lan

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®