]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: mediatek: mt8192-asurada: Add MT6315 PMIC supplies
authorChen-Yu Tsai <wenst@chromium.org>
Tue, 5 May 2026 10:13:54 +0000 (18:13 +0800)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Mon, 11 May 2026 11:57:23 +0000 (13:57 +0200)
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 <wenst@chromium.org>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi

index 11b404bc6d42d8c7837f139136f31512a257c9fc..3171cbb2ec50570d14e637d55a8adb1818ec2b42 100644 (file)
                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";
        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 {
        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 {