arm64: dts: mediatek: mt8195: Add power domain to U3PHY1 T-PHY
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Wed, 14 Dec 2022 13:11:17 +0000 (14:11 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:32:33 +0000 (09:32 +0100)
[ Upstream commit a9f6721a3c92764582ed12296292fda4a7f2dd25 ]

Assign power domain to the U3PHY1 T-PHY in otder to keep this PHY
alive after unused PD shutdown and to be able to completely cut
and restore power to it, for example, to save some power during
system suspend/sleep.

Fixes: 2b515194bf0c ("arm64: dts: mt8195: Add power domains controller")
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20221214131117.108008-2-angelogioacchino.delregno@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/mediatek/mt8195.dtsi

index 6f5fa7c..350d6c2 100644 (file)
                        #address-cells = <1>;
                        #size-cells = <1>;
                        ranges = <0 0 0x11e30000 0xe00>;
+                       power-domains = <&spm MT8195_POWER_DOMAIN_SSUSB_PCIE_PHY>;
                        status = "disabled";
 
                        u2port1: usb-phy@0 {