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 11/15] ARM: dts: imx6qp: prtwd3: Enable USB over current detection on USB OTG port
Date: Tue, 30 May 2023 14:03:41 +0200 [thread overview]
Message-ID: <20230530120345.2874900-12-o.rempel@pengutronix.de> (raw)
In-Reply-To: <20230530120345.2874900-1-o.rempel@pengutronix.de>
The imx6qp-prtwd3 board supports USB over current detection on the USB
OTG port, however, it was previously disabled in the device tree. This
commit enables the over current detection by changing the device tree
setting from 'disable-over-current' to 'over-current-active-low'. This
could potentially protect the USB port from damage due to over current
situations.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
arch/arm/boot/dts/imx6qp-prtwd3.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/imx6qp-prtwd3.dts b/arch/arm/boot/dts/imx6qp-prtwd3.dts
index a8154c901d4f..657d112ac3a1 100644
--- a/arch/arm/boot/dts/imx6qp-prtwd3.dts
+++ b/arch/arm/boot/dts/imx6qp-prtwd3.dts
@@ -518,7 +518,7 @@ &usbotg {
pinctrl-0 = <&pinctrl_usbotg>;
phy_type = "utmi";
dr_mode = "host";
- disable-over-current;
+ over-current-active-low;
status = "okay";
};
--
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 ` [PATCH v1 10/15] ARM: dts: imx6dl: prtmvt: " Oleksij Rempel
2023-05-30 12:03 ` Oleksij Rempel [this message]
2023-05-30 12:03 ` [PATCH v1 12/15] ARM: dts: imx6ul: prti6g: fix USB over-current detection on USB OTG port 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-12-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).