From: benh@kernel.crashing.org (Benjamin Herrenschmidt)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] dts: ARM: Aspeed-g5: Add missing USB clock and pinmux
Date: Fri, 12 Jan 2018 18:28:22 +1100 [thread overview]
Message-ID: <1515742102.31850.105.camel@kernel.crashing.org> (raw)
In-Reply-To: <1515736921.31850.92.camel@kernel.crashing.org>
On Fri, 2018-01-12 at 17:02 +1100, Benjamin Herrenschmidt wrote:
> This adds the clock and pinmux default references to
> the Aspeed G5 SoC base device-tree for USB. The clk and
> pinmux drivers already know about these.
Drop this. It depends on a patch you don't have. I'll send a v2
> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
> ---
> arch/arm/boot/dts/aspeed-g5.dtsi | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi
> index 8b3986a941f5..3c5c9b952ba8 100644
> --- a/arch/arm/boot/dts/aspeed-g5.dtsi
> +++ b/arch/arm/boot/dts/aspeed-g5.dtsi
> @@ -142,6 +142,7 @@
> compatible = "aspeed,ast2500-ehci", "generic-ehci";
> reg = <0x1e6a1000 0x100>;
> interrupts = <5>;
> + clocks = <&syscon ASPEED_CLK_GATE_USBPORT1CLK>;
> status = "disabled";
> };
>
> @@ -149,6 +150,7 @@
> compatible = "aspeed,ast2500-ehci", "generic-ehci";
> reg = <0x1e6a3000 0x100>;
> interrupts = <13>;
> + clocks = <&syscon ASPEED_CLK_GATE_USBPORT2CLK>;
> status = "disabled";
> };
>
> @@ -157,6 +159,7 @@
> reg = <0x1e6b0000 0x100>;
> interrupts = <14>;
> #ports = <2>;
> + clocks = <&syscon ASPEED_CLK_GATE_USBUHCICLK>;
> status = "disabled";
> };
>
> @@ -1387,6 +1390,21 @@
> groups = "USBCKI";
> };
>
> + pinctrl_usb2ah_default: usb2ah_default {
> + function = "USB2AH";
> + groups = "USB2AH";
> + };
> +
> + pinctrl_usb11bhid_default: usb11bhid_default {
> + function = "USB11BHID";
> + groups = "USB11BHID";
> + };
> +
> + pinctrl_usb2bh_default: usb2bh_default {
> + function = "USB2BH";
> + groups = "USB2BH";
> + };
> +
> pinctrl_vgabiosrom_default: vgabiosrom_default {
> function = "VGABIOSROM";
> groups = "VGABIOSROM";
WARNING: multiple messages have this Message-ID (diff)
From: Benjamin Herrenschmidt <benh-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org>
To: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
Joel Stanley
<joel.stanley-8fk3Idey6ehBDgjK7y7TUQ@public.gmane.org>
Subject: Re: [PATCH 1/2] dts: ARM: Aspeed-g5: Add missing USB clock and pinmux
Date: Fri, 12 Jan 2018 18:28:22 +1100 [thread overview]
Message-ID: <1515742102.31850.105.camel@kernel.crashing.org> (raw)
In-Reply-To: <1515736921.31850.92.camel-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org>
On Fri, 2018-01-12 at 17:02 +1100, Benjamin Herrenschmidt wrote:
> This adds the clock and pinmux default references to
> the Aspeed G5 SoC base device-tree for USB. The clk and
> pinmux drivers already know about these.
Drop this. It depends on a patch you don't have. I'll send a v2
> Signed-off-by: Benjamin Herrenschmidt <benh-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org>
> ---
> arch/arm/boot/dts/aspeed-g5.dtsi | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi
> index 8b3986a941f5..3c5c9b952ba8 100644
> --- a/arch/arm/boot/dts/aspeed-g5.dtsi
> +++ b/arch/arm/boot/dts/aspeed-g5.dtsi
> @@ -142,6 +142,7 @@
> compatible = "aspeed,ast2500-ehci", "generic-ehci";
> reg = <0x1e6a1000 0x100>;
> interrupts = <5>;
> + clocks = <&syscon ASPEED_CLK_GATE_USBPORT1CLK>;
> status = "disabled";
> };
>
> @@ -149,6 +150,7 @@
> compatible = "aspeed,ast2500-ehci", "generic-ehci";
> reg = <0x1e6a3000 0x100>;
> interrupts = <13>;
> + clocks = <&syscon ASPEED_CLK_GATE_USBPORT2CLK>;
> status = "disabled";
> };
>
> @@ -157,6 +159,7 @@
> reg = <0x1e6b0000 0x100>;
> interrupts = <14>;
> #ports = <2>;
> + clocks = <&syscon ASPEED_CLK_GATE_USBUHCICLK>;
> status = "disabled";
> };
>
> @@ -1387,6 +1390,21 @@
> groups = "USBCKI";
> };
>
> + pinctrl_usb2ah_default: usb2ah_default {
> + function = "USB2AH";
> + groups = "USB2AH";
> + };
> +
> + pinctrl_usb11bhid_default: usb11bhid_default {
> + function = "USB11BHID";
> + groups = "USB11BHID";
> + };
> +
> + pinctrl_usb2bh_default: usb2bh_default {
> + function = "USB2BH";
> + groups = "USB2BH";
> + };
> +
> pinctrl_vgabiosrom_default: vgabiosrom_default {
> function = "VGABIOSROM";
> groups = "VGABIOSROM";
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2018-01-12 7:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-12 6:02 [PATCH 1/2] dts: ARM: Aspeed-g5: Add missing USB clock and pinmux Benjamin Herrenschmidt
2018-01-12 6:02 ` Benjamin Herrenschmidt
2018-01-12 7:28 ` Benjamin Herrenschmidt [this message]
2018-01-12 7:28 ` Benjamin Herrenschmidt
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=1515742102.31850.105.camel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.