arm64: dts: mediatek: mt8173: Add domain supply for mfg_async
authorBilal Wasim <Bilal.Wasim@imgtec.com>
Thu, 1 Jul 2021 09:40:24 +0000 (11:40 +0200)
committerMatthias Brugger <matthias.bgg@gmail.com>
Thu, 5 Aug 2021 15:37:53 +0000 (17:37 +0200)
da9211 regulator needs to be enabled before enabling the mfg_async power
domain. Otherwise the subdomain is not enabled and causes failure in
imgtec gpu driver boot.

Add the "domain-supply" property to the "mfg_async" node in DT.

Signed-off-by: Bilal Wasim <Bilal.Wasim@imgtec.com>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Link: https://lore.kernel.org/r/20210701114012.RESEND.3.I9e27871bb700c807a564957302b292e9935dae0b@changeid
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
arch/arm64/boot/dts/mediatek/mt8173-evb.dts
arch/arm64/boot/dts/mediatek/mt8173.dtsi

index d5a2cad..e666ebb 100644 (file)
        };
 };
 
+&mfg_async {
+       domain-supply = <&da9211_vgpu_reg>;
+};
+
 &cec {
        status = "okay";
 };
index f6a1738..4fa1e93 100644 (file)
        };
 };
 
+&mfg_async {
+       domain-supply = <&da9211_vgpu_reg>;
+};
+
 &cec {
        status = "okay";
 };
index 22f271b..d9e005a 100644 (file)
                                        reg = <MT8173_POWER_DOMAIN_USB>;
                                        #power-domain-cells = <0>;
                                };
-                               power-domain@MT8173_POWER_DOMAIN_MFG_ASYNC {
+                               mfg_async: power-domain@MT8173_POWER_DOMAIN_MFG_ASYNC {
                                        reg = <MT8173_POWER_DOMAIN_MFG_ASYNC>;
                                        clocks = <&clk26m>;
                                        clock-names = "mfg";