Skip to content

Commit 9e823ba

Browse files
aiamadeusmmind
authored andcommitted
arm64: dts: rockchip: fix usb regulator for Lunzn Fastrhino R6xS
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: c79dab4 ("arm64: dts: rockchip: Add Lunzn Fastrhino R66S") Signed-off-by: Chukun Pan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
1 parent 2dad315 commit 9e823ba

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dtsi

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -78,24 +78,16 @@
7878
vin-supply = <&vcc12v_dcin>;
7979
};
8080

81-
vcc5v0_usb_host: vcc5v0-usb-host-regulator {
82-
compatible = "regulator-fixed";
83-
regulator-name = "vcc5v0_usb_host";
84-
regulator-always-on;
85-
regulator-boot-on;
86-
regulator-min-microvolt = <5000000>;
87-
regulator-max-microvolt = <5000000>;
88-
};
89-
9081
vcc5v0_usb_otg: vcc5v0-usb-otg-regulator {
9182
compatible = "regulator-fixed";
9283
enable-active-high;
9384
gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
9485
pinctrl-names = "default";
9586
pinctrl-0 = <&vcc5v0_usb_otg_en>;
9687
regulator-name = "vcc5v0_usb_otg";
97-
regulator-always-on;
98-
regulator-boot-on;
88+
regulator-min-microvolt = <5000000>;
89+
regulator-max-microvolt = <5000000>;
90+
vin-supply = <&vcc5v0_sys>;
9991
};
10092
};
10193

@@ -460,7 +452,7 @@
460452
};
461453

462454
&usb2phy0_host {
463-
phy-supply = <&vcc5v0_usb_host>;
455+
phy-supply = <&vcc5v0_sys>;
464456
status = "okay";
465457
};
466458

0 commit comments

Comments
 (0)