arm64: dts: renesas: rzg2lc-smarc-som: Add vdd core regulator
authorBiju Das <biju.das.jz@bp.renesas.com>
Mon, 7 Mar 2022 19:24:35 +0000 (19:24 +0000)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 4 Apr 2022 09:06:55 +0000 (11:06 +0200)
Add vdd core regulator (1.1 V) for GPU.

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/20220307192436.13237-4-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/rzg2lc-smarc-som.dtsi

index 05b117a..959a0ad 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";
 };