ARM: dts: imx8mm-venice-gw7901: fix USB2 controller OC polarity

Message ID 20221228202606.2572716-1-tharvey@gateworks.com
State New
Headers
Series ARM: dts: imx8mm-venice-gw7901: fix USB2 controller OC polarity |

Commit Message

Tim Harvey Dec. 28, 2022, 8:26 p.m. UTC
  The GW7901 has USB2 routed to a USB VBUS supply with over-current
protection via an active-low pin. Define the OC pin polarity properly.

Fixes: 2b1649a83afc ("arm64: dts: imx: Add i.mx8mm Gateworks gw7901 dts support")
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
---
 arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Shawn Guo Jan. 1, 2023, 5:41 a.m. UTC | #1
On Wed, Dec 28, 2022 at 12:26:06PM -0800, Tim Harvey wrote:
> The GW7901 has USB2 routed to a USB VBUS supply with over-current
> protection via an active-low pin. Define the OC pin polarity properly.
> 
> Fixes: 2b1649a83afc ("arm64: dts: imx: Add i.mx8mm Gateworks gw7901 dts support")
> Signed-off-by: Tim Harvey <tharvey@gateworks.com>

Applied, thanks!
  

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts
index d3ee6fc4baab..72311b55f06d 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts
@@ -759,6 +759,7 @@  &usbotg1 {
 &usbotg2 {
 	dr_mode = "host";
 	vbus-supply = <&reg_usb2_vbus>;
+	over-current-active-low;
 	status = "okay";
 };