public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Mathieu Othacehe <othacehe@gnu.org>
To: "Tom Rini" <trini@konsulko.com>, "Marek Vasut" <marex@denx.de>,
	"Peng Fan" <peng.fan@nxp.com>,
	"Shiji Yang" <yangshiji66@outlook.com>, "Ye Li" <ye.li@nxp.com>,
	"Alice Guo" <alice.guo@nxp.com>, "Stefano Babic" <sbabic@denx.de>,
	"Sébastien Szymanski" <sebastien.szymanski@armadeus.com>,
	"Fabio Estevam" <festevam@gmail.com>,
	"Simon Glass" <sjg@chromium.org>,
	"Mathieu Othacehe" <m.othacehe@gmail.com>,
	"Yannic Moog" <y.moog@phytec.de>,
	"Primoz Fiser" <primoz.fiser@norik.com>,
	"Christoph Stoidner" <c.stoidner@phytec.de>,
	"Wadim Egorov" <w.egorov@phytec.de>
Cc: u-boot@lists.denx.de, Mathieu Othacehe <othacehe@gnu.org>
Subject: [PATCH v3 1/3] arm: dts: imx93-phyboard-segin: Add USB support
Date: Thu, 21 Mar 2024 15:45:39 +0100	[thread overview]
Message-ID: <20240321144541.15314-2-othacehe@gnu.org> (raw)
In-Reply-To: <20240321144541.15314-1-othacehe@gnu.org>

Enable both usbotg1 and usbotg2 ports. Disable over-current as OC pins are
not connected to the SoC.

This is temporary, until USB support is added to imx93-phyboard-segin.dts
in Linux.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
 arch/arm/dts/imx93-phyboard-segin-u-boot.dtsi | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm/dts/imx93-phyboard-segin-u-boot.dtsi b/arch/arm/dts/imx93-phyboard-segin-u-boot.dtsi
index 8bf28c2de87..6897c91f4d9 100644
--- a/arch/arm/dts/imx93-phyboard-segin-u-boot.dtsi
+++ b/arch/arm/dts/imx93-phyboard-segin-u-boot.dtsi
@@ -121,6 +121,21 @@
 	bootph-some-ram;
 };
 
+/*
+ * Remove once USB support is added to imx93-phyboard-segin.dts upstream.
+ */
+&usbotg1 {
+	disable-over-current;
+	dr_mode = "otg";
+	status = "okay";
+};
+
+&usbotg2 {
+	disable-over-current;
+	dr_mode = "host";
+	status = "okay";
+};
+
 &usdhc1 {
 	bootph-pre-ram;
 	bootph-some-ram;
-- 
2.41.0


  reply	other threads:[~2024-03-21 15:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-21 14:45 [PATCH v3 0/3] imx93-phyboard-segin: Add USB support Mathieu Othacehe
2024-03-21 14:45 ` Mathieu Othacehe [this message]
2024-03-21 14:47   ` [PATCH v3 1/3] arm: dts: " Fabio Estevam
2024-03-21 16:13   ` Marek Vasut
2024-03-24 17:55     ` Fabio Estevam
2024-03-21 14:45 ` [PATCH v3 2/3] configs: " Mathieu Othacehe
2024-03-21 16:16   ` Marek Vasut
2024-03-24 18:00     ` Fabio Estevam
2024-03-24 21:25       ` Marek Vasut
2024-03-26  6:24       ` Yannic Moog
2024-03-21 14:45 ` [PATCH v3 3/3] configs: imx93-phyboard-segin: Add fastboot support Mathieu Othacehe

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=20240321144541.15314-2-othacehe@gnu.org \
    --to=othacehe@gnu.org \
    --cc=alice.guo@nxp.com \
    --cc=c.stoidner@phytec.de \
    --cc=festevam@gmail.com \
    --cc=m.othacehe@gmail.com \
    --cc=marex@denx.de \
    --cc=peng.fan@nxp.com \
    --cc=primoz.fiser@norik.com \
    --cc=sbabic@denx.de \
    --cc=sebastien.szymanski@armadeus.com \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=w.egorov@phytec.de \
    --cc=y.moog@phytec.de \
    --cc=yangshiji66@outlook.com \
    --cc=ye.li@nxp.com \
    /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