]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: rockchip: Add missing SFC power-domains to rk3576
authorSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 20 May 2025 11:14:27 +0000 (13:14 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 20 May 2025 18:42:03 +0000 (20:42 +0200)
Add the power-domains for the RK3576 SFC nodes according to the
TRM part 1. This fixes potential SErrors when accessing the SFC
registers without other peripherals (e.g. eMMC) doing a prior
power-domain enable. For example this is easy to trigger on the
Rock 4D, which enables the SFC0 interface, but does not enable
the eMMC interface at the moment.

Cc: stable@vger.kernel.org
Fixes: 36299757129c8 ("arm64: dts: rockchip: Add SFC nodes for rk3576")
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20250520-rk3576-fix-fspi-pmdomain-v1-1-f07c6e62dadd@kernel.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3576.dtsi

index 79800959b7976950fb3655289076de70b5814283..260f9598ee6c9c1536115ca3dcb0cbaf61028057 100644 (file)
                        interrupts = <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&cru SCLK_FSPI1_X2>, <&cru HCLK_FSPI1>;
                        clock-names = "clk_sfc", "hclk_sfc";
+                       power-domains = <&power RK3576_PD_SDGMAC>;
                        #address-cells = <1>;
                        #size-cells = <0>;
                        status = "disabled";
                        interrupts = <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&cru SCLK_FSPI_X2>, <&cru HCLK_FSPI>;
                        clock-names = "clk_sfc", "hclk_sfc";
+                       power-domains = <&power RK3576_PD_NVM>;
                        #address-cells = <1>;
                        #size-cells = <0>;
                        status = "disabled";