arm64: dts: meson-sm1-odroid-c4: remove invalid hub_5v regulator
authorNeil Armstrong <narmstrong@baylibre.com>
Mon, 7 Jun 2021 06:54:35 +0000 (08:54 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Mon, 14 Jun 2021 07:57:45 +0000 (09:57 +0200)
Drop the hub_5v regulator which controls the HUB Reset line with GPIOH_4 which
is already controlled by a GPIO HOG.

Until we can properly describe how to control USB HUBs reset lines, keeping
the GPIO HOG is an acceptable solution we use on multiple boards.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://lore.kernel.org/r/20210607065435.577334-8-narmstrong@baylibre.com
arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts

index 8c327c0..8c30ce6 100644 (file)
                };
        };
 
-       hub_5v: regulator-hub_5v {
-               compatible = "regulator-fixed";
-               regulator-name = "HUB_5V";
-               regulator-min-microvolt = <5000000>;
-               regulator-max-microvolt = <5000000>;
-               vin-supply = <&vcc_5v>;
-
-               /* Connected to the Hub CHIPENABLE, LOW sets low power state */
-               gpio = <&gpio GPIOH_4 GPIO_ACTIVE_HIGH>;
-               enable-active-high;
-       };
-
        sound {
                model = "ODROID-C4";
        };
@@ -58,8 +46,3 @@
 &ir {
        linux,rc-map-name = "rc-odroid";
 };
-
-&usb2_phy1 {
-       /* Enable the hub which is connected to this port */
-       phy-supply = <&hub_5v>;
-};