]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Jun 2025 12:46:23 +0000 (14:46 +0200)
commit ede1fa1384c230c9823f6bf1849cf50c5fc8a83e upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/rockchip/rk3576.dtsi

index ebb5fc8bb8b1363127b9d3782801c4a79b678a92..3824242f8ae88a78fad401ce1491af90119b5e21 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";