From: benh@kernel.crashing.org (Benjamin Herrenschmidt)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 7/7] arm: dts: aspeed: Enable vhub on port A of AST2500 EVB
Date: Fri, 29 Jun 2018 13:51:06 +1000 [thread overview]
Message-ID: <20180629035106.27181-8-benh@kernel.crashing.org> (raw)
In-Reply-To: <20180629035106.27181-1-benh@kernel.crashing.org>
This is an eval board, it makes sense to enable many
functions by default. This changes the device-tree to
set port A to be a USB device and leave port B as a
host, along with a little comment explaining how to
change it.
(the vhub device can only exist on port A on this SoC)
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---
arch/arm/boot/dts/aspeed-ast2500-evb.dts | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/aspeed-ast2500-evb.dts b/arch/arm/boot/dts/aspeed-ast2500-evb.dts
index 2bff1b253842..2375449c02d0 100644
--- a/arch/arm/boot/dts/aspeed-ast2500-evb.dts
+++ b/arch/arm/boot/dts/aspeed-ast2500-evb.dts
@@ -80,7 +80,13 @@
};
};
-&ehci0 {
+/*
+ * Enable port A as device (via the virtual hub) and port B as
+ * host by default on the eval board. This can be easily changed
+ * by replacing the override below with &ehci0 { ... } to enable
+ * host on both ports.
+ */
+&vhub {
status = "okay";
};
--
2.17.1
next prev parent reply other threads:[~2018-06-29 3:51 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-29 3:50 [PATCH 0/7] arm: Aspeed DT & config updates for USB Benjamin Herrenschmidt
2018-06-29 3:51 ` [PATCH 1/7] arm: dts: aspeed: Add aspeed G4 USB pinmux Benjamin Herrenschmidt
2018-07-16 5:17 ` Andrew Jeffery
2018-06-29 3:51 ` [PATCH 2/7] arm: dts: aspeed: Add aspeed G5 USB host pinmux Benjamin Herrenschmidt
2018-07-16 5:23 ` Andrew Jeffery
2018-06-29 3:51 ` [PATCH 3/7] arm: dts: aspeed: Add Aspeed G4 USB Virtual Hub Benjamin Herrenschmidt
2018-07-16 5:34 ` Andrew Jeffery
2018-07-16 6:40 ` Benjamin Herrenschmidt
2018-07-16 6:43 ` Andrew Jeffery
2018-06-29 3:51 ` [PATCH 4/7] arm: dts: aspeed: Add Aspeed 54 " Benjamin Herrenschmidt
2018-07-16 5:36 ` Andrew Jeffery
2018-06-29 3:51 ` [PATCH 5/7] arm: configs: Add USB gadget to Aspeed G4 defconfig Benjamin Herrenschmidt
2018-07-16 5:37 ` Andrew Jeffery
2018-06-29 3:51 ` [PATCH 6/7] arm: configs: Add USB gadget to Aspeed G5 defconfig Benjamin Herrenschmidt
2018-07-16 5:38 ` Andrew Jeffery
2018-06-29 3:51 ` Benjamin Herrenschmidt [this message]
2018-07-16 5:39 ` [PATCH 7/7] arm: dts: aspeed: Enable vhub on port A of AST2500 EVB Andrew Jeffery
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=20180629035106.27181-8-benh@kernel.crashing.org \
--to=benh@kernel.crashing.org \
--cc=linux-arm-kernel@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;
as well as URLs for NNTP newsgroup(s).