Skip to contentSkip to conversation

ARM: dts: rockchip: use constant for HCLK_SFC on rk3128

PATCH Applied Heiko Stuebner 1 participant 2 messages Jun 23, 2024 – Jul 29, 2024

Subsystems (2)
lore
Share & tools
lore

Heiko Stuebner

author maintainer
#0 lore raw

PATCH 1/1 ARM: dts: rockchip: use constant for HCLK_SFC on rk3128

Due to inter-branch dependencies, it was necessary to add the rk3128 sfc controller with its hclk_sfc using the numeric clock id value instead of the nicer constant from the binding.

Now that it's available, change over to this constant.

---
I've modified the commit adding the sfc controller to use the numeric value to not cause build errors between the branches.

To be applied after 6.11-rc1 .

 arch/arm/boot/dts/rockchip/rk3128.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/rockchip/rk3128.dtsi +1 -1
index 5019aae1be328..4bdb6b0a618e7 100644
@@ -429,7 +429,7 @@ sfc: spi@1020c000 {
 		compatible = "rockchip,sfc";
 		reg = <0x1020c000 0x8000>;
 		interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
-		clocks = <&cru SCLK_SFC>, <&cru 479>;
+		clocks = <&cru SCLK_SFC>, <&cru HCLK_SFC>;
 		clock-names = "clk_sfc", "hclk_sfc";
 		status = "disabled";
 	};
Signature · 7 lines
2.39.2


_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip
author maintainer Applied
#1 lore raw
Quoted 8 lines · Heiko Stuebner

Due to inter-branch dependencies, it was necessary to add the rk3128 sfc controller with its hclk_sfc using the numeric clock id value instead of the nicer constant from the binding.

Now that it's available, change over to this constant.

[...]

Applied, thanks!

[1/1] ARM: dts: rockchip: use constant for HCLK_SFC on rk3128

      commit: a24fc58198084194796486698e779963636c9065

Best regards,

Signature · 1 line
Heiko Stuebner <[email protected]>