From: Andre Przywara <andre.przywara@arm.com>
To: u-boot@lists.denx.de
Subject: [PATCH 2/6] clk: sunxi: h6: Add XHCI clocks
Date: Tue, 9 Feb 2021 01:33:24 +0000 [thread overview]
Message-ID: <20210209013324.0265209f@slackpad.fritz.box> (raw)
In-Reply-To: <20210208055724.58673-3-samuel@sholland.org>
On Sun, 7 Feb 2021 23:57:20 -0600
Samuel Holland <samuel@sholland.org> wrote:
> The XHCI controller has its own clock and reset. Add them.
>
> Signed-off-by: Samuel Holland <samuel@sholland.org>
Checked against the manual:
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Cheers,
Andre
> ---
> drivers/clk/sunxi/clk_h6.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/clk/sunxi/clk_h6.c b/drivers/clk/sunxi/clk_h6.c
> index ac8656fe895..df93d96b3b0 100644
> --- a/drivers/clk/sunxi/clk_h6.c
> +++ b/drivers/clk/sunxi/clk_h6.c
> @@ -43,6 +43,7 @@ static struct ccu_clk_gate h6_gates[] = {
> [CLK_BUS_OHCI0] = GATE(0xa8c, BIT(0)),
> [CLK_BUS_OHCI3] = GATE(0xa8c, BIT(3)),
> [CLK_BUS_EHCI0] = GATE(0xa8c, BIT(4)),
> + [CLK_BUS_XHCI] = GATE(0xa8c, BIT(5)),
> [CLK_BUS_EHCI3] = GATE(0xa8c, BIT(7)),
> [CLK_BUS_OTG] = GATE(0xa8c, BIT(8)),
> };
> @@ -71,6 +72,7 @@ static struct ccu_reset h6_resets[] = {
> [RST_BUS_OHCI0] = RESET(0xa8c, BIT(16)),
> [RST_BUS_OHCI3] = RESET(0xa8c, BIT(19)),
> [RST_BUS_EHCI0] = RESET(0xa8c, BIT(20)),
> + [RST_BUS_XHCI] = RESET(0xa8c, BIT(21)),
> [RST_BUS_EHCI3] = RESET(0xa8c, BIT(23)),
> [RST_BUS_OTG] = RESET(0xa8c, BIT(24)),
> };
next prev parent reply other threads:[~2021-02-09 1:33 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-08 5:57 [PATCH 0/6] Allwinner H6 USB3 support Samuel Holland
2021-02-08 5:57 ` [PATCH 1/6] clk: sunxi: Add a dummy clock driver for the RTC Samuel Holland
2021-03-28 22:51 ` Andre Przywara
2021-02-08 5:57 ` [PATCH 2/6] clk: sunxi: h6: Add XHCI clocks Samuel Holland
2021-02-09 1:33 ` Andre Przywara [this message]
2021-02-08 5:57 ` [PATCH 3/6] phy: sun50i-usb3: Add a driver for the H6 USB3 PHY Samuel Holland
2021-02-09 1:33 ` Andre Przywara
2021-02-08 5:57 ` [PATCH 4/6] usb: xhci-pci: Move reset logic out of XHCI core Samuel Holland
2021-02-08 11:43 ` Marek Vasut
2021-02-09 1:42 ` Andre Przywara
2021-02-09 2:27 ` Samuel Holland
2021-02-09 2:28 ` Samuel Holland
2021-02-09 9:45 ` Marek Vasut
2021-02-08 5:57 ` [PATCH 5/6] usb: xhci-dwc3: Add support for clocks/resets Samuel Holland
2021-02-09 1:42 ` Andre Przywara
2021-02-09 3:01 ` Samuel Holland
2021-02-08 5:57 ` [PATCH 6/6] configs: Enable USB3 on Allwinner H6 boards Samuel Holland
2021-02-09 1:42 ` Andre Przywara
2021-02-09 1:42 ` [PATCH 0/6] Allwinner H6 USB3 support Andre Przywara
2021-02-09 10:46 ` Andre Heider
2021-04-17 14:17 ` Samuel Holland
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=20210209013324.0265209f@slackpad.fritz.box \
--to=andre.przywara@arm.com \
--cc=u-boot@lists.denx.de \
/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