mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Lucas Stach <l.stach@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 2/4] ARM: rdu2: configure the USB port as OTG
Date: Thu,  1 Nov 2018 19:25:53 +0100	[thread overview]
Message-ID: <20181101182555.18561-2-l.stach@pengutronix.de> (raw)
In-Reply-To: <20181101182555.18561-1-l.stach@pengutronix.de>

While the USB port is host-only for the Linux system, it is useful
to be able to switch it into device mode for debugging purposes in
Barebox.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 arch/arm/dts/imx6qdl-zii-rdu2.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/dts/imx6qdl-zii-rdu2.dtsi b/arch/arm/dts/imx6qdl-zii-rdu2.dtsi
index f63b5d2ed760..a885e4f3f2c0 100644
--- a/arch/arm/dts/imx6qdl-zii-rdu2.dtsi
+++ b/arch/arm/dts/imx6qdl-zii-rdu2.dtsi
@@ -124,3 +124,7 @@
 		};
 	};
 };
+
+&usbotg {
+	dr_mode = "otg";
+};
-- 
2.19.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2018-11-01 18:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-01 18:25 [PATCH 1/4] ARM: rdu2: config PMIC SW1AB and SW1C rails to 1.375 Lucas Stach
2018-11-01 18:25 ` Lucas Stach [this message]
2018-11-01 18:25 ` [PATCH 3/4] ARM: rdu2: program e1000 iNVM Lucas Stach
2018-11-01 18:25 ` [PATCH 4/4] ARM: rdu2: fix warnings in Barebox internal DT Lucas Stach
2018-11-02  6:35 ` [PATCH 1/4] ARM: rdu2: config PMIC SW1AB and SW1C rails to 1.375 Sascha Hauer

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=20181101182555.18561-2-l.stach@pengutronix.de \
    --to=l.stach@pengutronix.de \
    --cc=barebox@lists.infradead.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