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

Heiko Stuebner heiko at sntech.de
Sun Jun 23 14:56:31 PDT 2024


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.

Signed-off-by: Heiko Stuebner <heiko at sntech.de>
---
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(-)

diff --git a/arch/arm/boot/dts/rockchip/rk3128.dtsi b/arch/arm/boot/dts/rockchip/rk3128.dtsi
index 5019aae1be328..4bdb6b0a618e7 100644
--- a/arch/arm/boot/dts/rockchip/rk3128.dtsi
+++ b/arch/arm/boot/dts/rockchip/rk3128.dtsi
@@ -429,7 +429,7 @@ sfc: spi at 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";
 	};
-- 
2.39.2




More information about the Linux-rockchip mailing list