From 9945dd30790e68ccfa0de9560aa120585ebb8260 Mon Sep 17 00:00:00 2001 From: Chen-Yu Tsai Date: Tue, 5 May 2026 18:13:54 +0800 Subject: [PATCH] arm64: dts: mediatek: mt8192-asurada: Add MT6315 PMIC supplies There are two MT6315 PMICs in the MT8192 Asurada design. One has two outputs ganged together and two outputs unused. The other has three outputs ganged together, and one left independent. Add supplies for all the used regulators. In the case of ganged outputs, add the supply for just the first output. Signed-off-by: Chen-Yu Tsai Signed-off-by: AngeloGioacchino Del Regno --- .../boot/dts/mediatek/mt8192-asurada.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi b/arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi index 11b404bc6d42..3171cbb2ec50 100644 --- a/arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi @@ -175,6 +175,17 @@ pp3300_wlan: regulator-3v3-wlan { gpio = <&pio 143 GPIO_ACTIVE_HIGH>; }; + /* system wide switching 4.2V power rail */ + pp4200_g: regulator-4v2-g { + compatible = "regulator-fixed"; + regulator-name = "pp4200_g"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <4200000>; + regulator-max-microvolt = <4200000>; + vin-supply = <&ppvar_sys>; + }; + /* system wide switching 5.0V power rail */ pp5000_a: regulator-5v0-a { compatible = "regulator-fixed"; @@ -1444,6 +1455,10 @@ &spmi { mt6315_6: pmic@6 { compatible = "mediatek,mt6315-regulator"; reg = <0x6 SPMI_USID>; + pvdd1-supply = <&pp4200_g>; + pvdd2-supply = <&pp4200_g>; + pvdd3-supply = <&pp4200_g>; + pvdd4-supply = <&pp4200_g>; regulators { mt6315_6_vbuck1: vbuck1 { @@ -1469,6 +1484,10 @@ mt6315_6_vbuck3: vbuck3 { mt6315_7: pmic@7 { compatible = "mediatek,mt6315-regulator"; reg = <0x7 SPMI_USID>; + pvdd1-supply = <&pp4200_g>; + pvdd2-supply = <&pp4200_g>; + pvdd3-supply = <&pp4200_g>; + pvdd4-supply = <&pp4200_g>; regulators { mt6315_7_vbuck1: vbuck1 {