ARM: dts: imx6dl: lanmcu: Configure over-current polarity for USB OTG node
authorOleksij Rempel <o.rempel@pengutronix.de>
Tue, 30 May 2023 12:03:36 +0000 (14:03 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sun, 4 Jun 2023 13:07:07 +0000 (21:07 +0800)
This commit adds the 'over-current-active-low' flag to the USB OTG node
in the imx6dl-lanmcu device tree. This flag is necessary because the
hardware signals over-current conditions by pulling the line low.
Without this flag, the kernel could misinterpret an over-current
condition, leading to unexpected behavior.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6dl-lanmcu.dts

index bbfa921..7c62db9 100644 (file)
        pinctrl-0 = <&pinctrl_usbotg>;
        phy_type = "utmi";
        dr_mode = "host";
+       over-current-active-low;
        status = "okay";
 };