]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: mediatek: mt8395-genio-common: add MT6360 PMIC supplies
authorLouis-Alexis Eyraud <louisalexis.eyraud@collabora.com>
Tue, 14 Apr 2026 11:44:12 +0000 (13:44 +0200)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Mon, 11 May 2026 11:57:22 +0000 (13:57 +0200)
The Mediatek Genio 1200-EVK board has a MT6360 PMIC, powered by the
board system power rail (VSYS) and an additional system power rail
(VSYS_BUCK).
In the board devicetree, the power supply inputs for its buck and ldo
regulators are either incorrect (LDO_VIN3) or missing (LDO_VIN1/2,
BUCK_VIN1/2).

So, add VSYS_BUCK regulator node and the proper supply inputs for this
PMIC.

Signed-off-by: Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
arch/arm64/boot/dts/mediatek/mt8395-genio-common.dtsi

index 30acf284596010bf7e92d06fbdbb8ab4c13e8f94..95955a210d80fb6dc2b1536ac4372686d6cc0ce7 100644 (file)
                regulator-always-on;
                regulator-boot-on;
        };
+
+       reg_vsys_buck: regulator-vsys-buck {
+               compatible = "regulator-fixed";
+               regulator-name = "vsys_buck";
+               regulator-always-on;
+               regulator-boot-on;
+               vin-supply = <&reg_vsys>;
+       };
 };
 
 &adsp {
 
                regulator {
                        compatible = "mediatek,mt6360-regulator";
-                       LDO_VIN3-supply = <&mt6360_buck2>;
+                       BUCK1_VIN-supply = <&reg_vsys>;
+                       BUCK2_VIN-supply = <&reg_vsys>;
+                       LDO_VIN1-supply = <&reg_vsys_buck>;
+                       LDO_VIN2-supply = <&reg_vsys_buck>;
+                       LDO_VIN3-supply = <&reg_vsys>;
 
                        mt6360_buck1: buck1 {
                                regulator-name = "emi_vdd2";