arm64: dts: ti: k3-j721e-main: Add missing power-domains for smmu
authorLokesh Vutla <lokeshvutla@ti.com>
Fri, 22 Nov 2019 10:03:56 +0000 (15:33 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Feb 2020 07:36:51 +0000 (08:36 +0100)
[ Upstream commit 3f03a58b25753843ce9e4511e9e246c51bd11011 ]

Add power-domains entry for smmu, so that the it is accessible as long
as the driver is active. Without this device shutdown is throwing the
below warning:
"[   44.736348] arm-smmu-v3 36600000.smmu: failed to clear cr0"

Reported-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/ti/k3-j721e-main.dtsi

index 698ef9a..9644511 100644 (file)
@@ -43,6 +43,7 @@
        smmu0: smmu@36600000 {
                compatible = "arm,smmu-v3";
                reg = <0x0 0x36600000 0x0 0x100000>;
+               power-domains = <&k3_pds 229 TI_SCI_PD_EXCLUSIVE>;
                interrupt-parent = <&gic500>;
                interrupts = <GIC_SPI 772 IRQ_TYPE_EDGE_RISING>,
                             <GIC_SPI 768 IRQ_TYPE_EDGE_RISING>;