linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: benh@kernel.crashing.org (Benjamin Herrenschmidt)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/7] arm: dts: aspeed: Add aspeed G4 USB pinmux
Date: Fri, 29 Jun 2018 13:51:00 +1000	[thread overview]
Message-ID: <20180629035106.27181-2-benh@kernel.crashing.org> (raw)
In-Reply-To: <20180629035106.27181-1-benh@kernel.crashing.org>

Set the default pinmux for EHCI so boards don't have to do
it an document why it is not set for UHCI.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---
 arch/arm/boot/dts/aspeed-g4.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi
index 75df1573380e..1d7ffa9fdb11 100644
--- a/arch/arm/boot/dts/aspeed-g4.dtsi
+++ b/arch/arm/boot/dts/aspeed-g4.dtsi
@@ -113,6 +113,8 @@
 			reg = <0x1e6a1000 0x100>;
 			interrupts = <5>;
 			clocks = <&syscon ASPEED_CLK_GATE_USBPORT1CLK>;
+			pinctrl-names = "default";
+			pinctrl-0 = <&pinctrl_usb2h_default>;
 			status = "disabled";
 		};
 
@@ -123,6 +125,10 @@
 			#ports = <3>;
 			clocks = <&syscon ASPEED_CLK_GATE_USBUHCICLK>;
 			status = "disabled";
+			/*
+			 * No default pinmux, it will follow EHCI, use an explicit pinmux
+			 * override if you don't enable EHCI
+			 */
 		};
 
 		apb {
-- 
2.17.1

  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 ` Benjamin Herrenschmidt [this message]
2018-07-16  5:17   ` [PATCH 1/7] arm: dts: aspeed: Add aspeed G4 USB pinmux 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 ` [PATCH 7/7] arm: dts: aspeed: Enable vhub on port A of AST2500 EVB Benjamin Herrenschmidt
2018-07-16  5:39   ` 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-2-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).