From: Oleksij Rempel <o.rempel@pengutronix.de>
To: Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Cc: Oleksij Rempel <o.rempel@pengutronix.de>,
kernel@pengutronix.de, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
NXP Linux Team <linux-imx@nxp.com>,
Fabio Estevam <festevam@gmail.com>
Subject: [PATCH v1 10/15] ARM: dts: imx6dl: prtmvt: fix different USB related warnings
Date: Tue, 30 May 2023 14:03:40 +0200 [thread overview]
Message-ID: <20230530120345.2874900-11-o.rempel@pengutronix.de> (raw)
In-Reply-To: <20230530120345.2874900-1-o.rempel@pengutronix.de>
Fix USB-related warnings in imx6dl prtmvt device tree by disabling
unused usbphynop1 and usbphynop2 USB PHYs and over-current detection
which is not supported on USB h1 port. 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.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
arch/arm/boot/dts/imx6dl-prtmvt.dts | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/imx6dl-prtmvt.dts b/arch/arm/boot/dts/imx6dl-prtmvt.dts
index 5f4fa796ca18..773a84a5739d 100644
--- a/arch/arm/boot/dts/imx6dl-prtmvt.dts
+++ b/arch/arm/boot/dts/imx6dl-prtmvt.dts
@@ -560,6 +560,7 @@ &usbh1 {
pinctrl-names = "default";
phy_type = "utmi";
dr_mode = "host";
+ disable-over-current;
status = "okay";
};
@@ -569,10 +570,18 @@ &usbotg {
pinctrl-0 = <&pinctrl_usbotg>;
phy_type = "utmi";
dr_mode = "host";
- disable-over-current;
+ over-current-active-low;
status = "okay";
};
+&usbphynop1 {
+ status = "disabled";
+};
+
+&usbphynop2 {
+ status = "disabled";
+};
+
&usdhc1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usdhc1>;
--
2.39.2
next prev parent reply other threads:[~2023-05-30 12:04 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-30 12:03 [PATCH v1 00/15] Maintenance updates for Protonic Holland boards Oleksij Rempel
2023-05-30 12:03 ` [PATCH v1 01/15] ARM: dts: imx6qdl: vicut1: The sgtl5000 uses i2s not ac97 Oleksij Rempel
2023-05-30 12:03 ` [PATCH v1 02/15] ARM: dts: imx6dl: prtvt7: Adjust default backlight brightness to 65 Oleksij Rempel
2023-05-30 12:03 ` [PATCH v1 03/15] ARM: dts: imx6dl: prtvt7: Remove touchscreen inversion Oleksij Rempel
2023-05-30 12:03 ` [PATCH v1 04/15] ARM: dts: imx6q: prtwd2: Correct iomux configuration for ENET MDIO and MDC Oleksij Rempel
2023-05-30 12:03 ` [PATCH v1 05/15] ARM: dts: imx6dl: lanmcu: Disable unused USB PHY nodes Oleksij Rempel
2023-05-30 12:03 ` [PATCH v1 06/15] ARM: dts: imx6dl: lanmcu: Configure over-current polarity for USB OTG node Oleksij Rempel
2023-05-30 12:03 ` [PATCH v1 07/15] ARM: dts: imx6dl: Add trip points to thermal zones on several devices Oleksij Rempel
2023-05-30 12:03 ` [PATCH v1 08/15] ARM: dts: imx6dl: vicut1: Address USB related warnings Oleksij Rempel
2023-05-30 12:03 ` [PATCH v1 09/15] ARM: dts: imx6dl: alti6p: fix different " Oleksij Rempel
2023-05-30 12:03 ` Oleksij Rempel [this message]
2023-05-30 12:03 ` [PATCH v1 11/15] ARM: dts: imx6qp: prtwd3: Enable USB over current detection on USB OTG port Oleksij Rempel
2023-05-30 12:03 ` [PATCH v1 12/15] ARM: dts: imx6ul: prti6g: fix USB over-current " Oleksij Rempel
2023-05-30 12:03 ` [PATCH v1 13/15] ARM: dts: imx6dl: plybas: " Oleksij Rempel
2023-05-30 12:03 ` [PATCH v1 14/15] ARM: dts: imx6dl: prtrvt, prtvt7, prti6q, prtwd2: fix USB related warnings Oleksij Rempel
2023-05-30 12:03 ` [PATCH v1 15/15] ARM: dts: imx6qdl: vicut1: rename power to power-button Oleksij Rempel
2023-06-04 13:08 ` [PATCH v1 00/15] Maintenance updates for Protonic Holland boards Shawn Guo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230530120345.2874900-11-o.rempel@pengutronix.de \
--to=o.rempel@pengutronix.de \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=kernel@pengutronix.de \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).