mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
5f307b29cd
Add a set of upstream patches for the imx8m{m,n,p} based Venice boards. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Link: https://github.com/openwrt/openwrt/pull/15736 Signed-off-by: Robert Marko <robimarko@gmail.com>
39 lines
1.2 KiB
Diff
39 lines
1.2 KiB
Diff
From 69e3ce6d0c2f518bf9574112f3d4cc619c38602c Mon Sep 17 00:00:00 2001
|
|
From: Tim Harvey <tharvey@gateworks.com>
|
|
Date: Wed, 28 Feb 2024 10:24:19 -0800
|
|
Subject: [PATCH 410/413] 6.9: arm64: dts: freescale: imx8mp-venice-gw73xx-2x:
|
|
fix USB vbus regulator
|
|
|
|
When using usb-conn-gpio to control USB role and VBUS, the vbus-supply
|
|
property must be present in the usb-conn-gpio node. Additionally it
|
|
should not be present in the phy node as that isn't what controls vbus
|
|
and will upset the use count.
|
|
|
|
This resolves an issue where VBUS is enabled with OTG in peripheral
|
|
mode.
|
|
|
|
Fixes: 716ced308234 ("arm64: dts: freescale: Add imx8mp-venice-gw73xx-2x")
|
|
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
|
|
---
|
|
arch/arm64/boot/dts/freescale/imx8mp-venice-gw73xx.dtsi | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/arch/arm64/boot/dts/freescale/imx8mp-venice-gw73xx.dtsi
|
|
+++ b/arch/arm64/boot/dts/freescale/imx8mp-venice-gw73xx.dtsi
|
|
@@ -188,7 +188,6 @@
|
|
};
|
|
|
|
&usb3_phy0 {
|
|
- vbus-supply = <®_usb1_vbus>;
|
|
status = "okay";
|
|
};
|
|
|
|
@@ -208,6 +207,7 @@
|
|
pinctrl-0 = <&pinctrl_usbcon1>;
|
|
type = "micro";
|
|
label = "otg";
|
|
+ vbus-supply = <®_usb1_vbus>;
|
|
id-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|