]> www.infradead.org Git - linux.git/commitdiff
arm64: dts: rockchip: fix usb regulator for Lunzn Fastrhino R6xS
authorChukun Pan <amadeus@jmu.edu.cn>
Mon, 1 Jul 2024 14:30:26 +0000 (22:30 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 4 Jul 2024 19:09:43 +0000 (21:09 +0200)
Remove the non-existent usb_host regulator and fix the supply according
to the schematic. Also remove the unnecessary always-on and boot-on for
the usb_otg regulator.

Fixes: c79dab407afd ("arm64: dts: rockchip: Add Lunzn Fastrhino R66S")
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: https://lore.kernel.org/r/20240701143028.1203997-2-amadeus@jmu.edu.cn
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dtsi

index 93987c8740f7b60de1478f102a9f5bcd1fc7b2c8..8f587978fa3b63cb53cea77e421292664ad2cf54 100644 (file)
                vin-supply = <&vcc12v_dcin>;
        };
 
-       vcc5v0_usb_host: vcc5v0-usb-host-regulator {
-               compatible = "regulator-fixed";
-               regulator-name = "vcc5v0_usb_host";
-               regulator-always-on;
-               regulator-boot-on;
-               regulator-min-microvolt = <5000000>;
-               regulator-max-microvolt = <5000000>;
-       };
-
        vcc5v0_usb_otg: vcc5v0-usb-otg-regulator {
                compatible = "regulator-fixed";
                enable-active-high;
@@ -94,8 +85,9 @@
                pinctrl-names = "default";
                pinctrl-0 = <&vcc5v0_usb_otg_en>;
                regulator-name = "vcc5v0_usb_otg";
-               regulator-always-on;
-               regulator-boot-on;
+               regulator-min-microvolt = <5000000>;
+               regulator-max-microvolt = <5000000>;
+               vin-supply = <&vcc5v0_sys>;
        };
 };
 
 };
 
 &usb2phy0_host {
-       phy-supply = <&vcc5v0_usb_host>;
+       phy-supply = <&vcc5v0_sys>;
        status = "okay";
 };