Remove the usb_p4_vbus regulator and the xhci4 vbus-supply that uses it.

GPIO 87 does not switch a USB VBUS on these boards; it enables the DSI
panel's VDD rail. USB port 4 has no switchable VBUS, so describing one
only turns the panel supply on whenever the port is powered.

Fixes: 32dd41059c83 ("arm: dts: mediatek: add USB/PHY nodes for Genio 520/720")
Signed-off-by: David Lechner <[email protected]>
---
 arch/arm/dts/mt8371-genio-common.dtsi | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/arch/arm/dts/mt8371-genio-common.dtsi 
b/arch/arm/dts/mt8371-genio-common.dtsi
index 123133b0eb8..b1ec5aba082 100644
--- a/arch/arm/dts/mt8371-genio-common.dtsi
+++ b/arch/arm/dts/mt8371-genio-common.dtsi
@@ -55,15 +55,6 @@
                enable-active-high;
        };
 
-       usb_p4_vbus: regulator@4 {
-               compatible = "regulator-fixed";
-               regulator-name = "p4_vbus";
-               regulator-min-microvolt = <5000000>;
-               regulator-max-microvolt = <5000000>;
-               gpio = <&pio 87 0>;
-               enable-active-high;
-       };
-
        firmware {
                optee {
                        compatible = "linaro,optee-tz";
@@ -401,7 +392,6 @@
 };
 
 &xhci4{
-       vbus-supply = <&usb_p4_vbus>;
        status = "okay";
 };
 

-- 
2.53.0

Reply via email to