]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: mediatek: mt8186-evb: Add vproc fixed regulator
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Thu, 15 Jan 2026 11:36:08 +0000 (12:36 +0100)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Thu, 15 Jan 2026 11:41:27 +0000 (12:41 +0100)
This board at the moment has no support for PMIC regulators, but
the CCI requires a vproc regulator in order to both stop giving
dtbs_check warnings and to actually probe.

Since vproc is a system-critical regulator and the bootloader
enables it at max voltage, model it (at least temporarily) as
a regulator-fixed and assign it to CCI.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
arch/arm64/boot/dts/mediatek/mt8186-evb.dts

index 2667a7424200e2ede7d7aaf8b76e6829ae01e758..a941a931a07c061022a180d0a480af737a66ab69 100644 (file)
                device_type = "memory";
                reg = <0 0x40000000 0 0x80000000>;
        };
+
+       vproc: regulator-vproc12 {
+               compatible = "regulator-fixed";
+               regulator-name = "vproc12";
+               regulator-always-on;
+               regulator-boot-on;
+               regulator-min-microvolt = <1200000>;
+               regulator-max-microvolt = <1200000>;
+       };
+};
+
+&cci {
+       proc-supply = <&vproc>;
 };
 
 &i2c0 {