arm64: dts: mediatek: mt8192-asurada: Assign sram supply to MFG1 pd
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Wed, 1 Mar 2023 09:55:14 +0000 (10:55 +0100)
committerMatthias Brugger <matthias.bgg@gmail.com>
Thu, 30 Mar 2023 07:47:08 +0000 (09:47 +0200)
Add a phandle to the MT8192_POWER_DOMAIN_MFG1 power domain and
assign the GPU VSRAM supply to this in mt8192-asurada: this allows to
keep the sram powered up while the GPU is used.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Tested-by: Chen-Yu Tsai <wenst@chromium.org>
Link: https://lore.kernel.org/r/20230301095523.428461-11-angelogioacchino.delregno@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi
arch/arm64/boot/dts/mediatek/mt8192.dtsi

index ec013d5..df477eb 100644 (file)
        domain-supply = <&mt6315_7_vbuck1>;
 };
 
+&mfg1 {
+       domain-supply = <&mt6359_vsram_others_ldo_reg>;
+};
+
 &mipi_tx0 {
        status = "okay";
 };
index f19d4a8..5c30caf 100644 (file)
                                        #size-cells = <0>;
                                        #power-domain-cells = <1>;
 
-                                       power-domain@MT8192_POWER_DOMAIN_MFG1 {
+                                       mfg1: power-domain@MT8192_POWER_DOMAIN_MFG1 {
                                                reg = <MT8192_POWER_DOMAIN_MFG1>;
                                                mediatek,infracfg = <&infracfg>;
                                                #address-cells = <1>;