arm64: dts: renesas: rzg2l-smarc-som: Add vdd core regulator
authorBiju Das <biju.das.jz@bp.renesas.com>
Wed, 8 Dec 2021 10:40:26 +0000 (10:40 +0000)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 16 Dec 2021 14:37:10 +0000 (15:37 +0100)
Add vdd core regulator (1.1 V).

This patch add regulator support for gpu.

The H/W manual mentions nothing about a gpu regulator. So using vdd
core regulator for gpu.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Link: https://lore.kernel.org/r/20211208104026.421-4-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/rzg2l-smarc-som.dtsi

index 41fdae7..9112e79 100644 (file)
                regulator-always-on;
        };
 
+       reg_1p1v: regulator-vdd-core {
+               compatible = "regulator-fixed";
+               regulator-name = "fixed-1.1V";
+               regulator-min-microvolt = <1100000>;
+               regulator-max-microvolt = <1100000>;
+               regulator-boot-on;
+               regulator-always-on;
+       };
+
        vccq_sdhi0: regulator-vccq-sdhi0 {
                compatible = "regulator-gpio";
 
        clock-frequency = <24000000>;
 };
 
+&gpu {
+       mali-supply = <&reg_1p1v>;
+};
+
 &ostm1 {
        status = "okay";
 };