arm64: dts: renesas: rz-smarc: Replace fixed regulator for USB VBUS
authorBiju Das <biju.das.jz@bp.renesas.com>
Tue, 2 Jul 2024 18:00:18 +0000 (19:00 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 3 Jul 2024 08:51:53 +0000 (10:51 +0200)
Replace the fixed regulator for USB VBUS and use the proper one that
controls regulator based on VBUS detection.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20240702180032.207275-5-biju.das.jz@bp.renesas.com
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
arch/arm64/boot/dts/renesas/rz-smarc-common.dtsi

index b7a3e6caa3864edaea3d2608843dab5516699ee3..b34855956ae0114618b9ea770dcd2244a6f55c12 100644 (file)
                };
        };
 
-       usb0_vbus_otg: regulator-usb0-vbus-otg {
-               compatible = "regulator-fixed";
-
-               regulator-name = "USB0_VBUS_OTG";
-               regulator-min-microvolt = <5000000>;
-               regulator-max-microvolt = <5000000>;
-       };
-
        vccq_sdhi1: regulator-vccq-sdhi1 {
                compatible = "regulator-gpio";
                regulator-name = "SDHI1 VccQ";
 
 &phyrst {
        status = "okay";
+       usb0_vbus_otg: regulator-vbus {
+               regulator-name = "vbus";
+       };
 };
 
 &scif0 {