ARM: dts: imx6dl: prtrvt, prtvt7, prti6q, prtwd2: fix USB related warnings
authorOleksij Rempel <o.rempel@pengutronix.de>
Tue, 30 May 2023 12:03:44 +0000 (14:03 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sun, 4 Jun 2023 13:07:28 +0000 (21:07 +0800)
commit1d14bd943fa2bbdfda1efbcc080b298fed5f1803
treeab0faf6dc0bd4e95776776e35db7f7a4da831fcb
parent31d682f1186c3c85eb8e7416a0b1d929b283ad43
ARM: dts: imx6dl: prtrvt, prtvt7, prti6q, prtwd2: fix USB related warnings

Fix USB-related warnings in prtrvt, prtvt7, prti6q and prtwd2 device trees
by disabling unused usbphynop1 and usbphynop2 USB PHYs and providing proper
configuration for the over-current detection. This fixes the following
warnings with the current kernel:
 usb_phy_generic usbphynop1: dummy supplies not allowed for exclusive requests
 usb_phy_generic usbphynop2: dummy supplies not allowed for exclusive requests
 imx_usb 2184200.usb: No over current polarity defined

By the way, fix over-current detection on usbotg port for prtvt7, prti6q
and prtwd2 boards. Only prtrvt do not have OC on USB OTG port.

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