diff mbox

ARM64: dts: meson-gxbb-odroidc2: fix usb1 power supply

Message ID 1508409069-6317-1-git-send-email-narmstrong@baylibre.com (mailing list archive)
State Accepted
Headers show

Commit Message

Neil Armstrong Oct. 19, 2017, 10:31 a.m. UTC
Looking at the schematics, the USB Power Supply is shared between the
two USB interfaces,
If the usb0 fails to initialize, the second one won't have power.

Fixes: 5a0803bd5ae2 ("ARM64: dts: meson-gxbb-odroidc2: Enable USB Nodes")
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 1 +
 1 file changed, 1 insertion(+)

Comments

Kevin Hilman Oct. 30, 2017, 8:27 a.m. UTC | #1
Neil Armstrong <narmstrong@baylibre.com> writes:

> Looking at the schematics, the USB Power Supply is shared between the
> two USB interfaces,
> If the usb0 fails to initialize, the second one won't have power.
>
> Fixes: 5a0803bd5ae2 ("ARM64: dts: meson-gxbb-odroidc2: Enable USB Nodes")
> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>

Applied to v4.15/dt64,

Kevin
diff mbox

Patch

diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
index 1deaa53..2e5ed59 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
@@ -301,6 +301,7 @@ 
 
 &usb1_phy {
 	status = "okay";
+	phy-supply = <&usb_otg_pwr>;
 };
 
 &usb0 {