All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jagan Teki <jagan@amarulasolutions.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 0/5] sunxi: H6: Enable USB (2.0) support
Date: Tue, 16 Jul 2019 17:05:27 +0530	[thread overview]
Message-ID: <CAMty3ZDoZG9Ai1Fvmp=rSiJfEkK1i=5ysDRauv0omWY5bG8yRg@mail.gmail.com> (raw)
In-Reply-To: <20190623140950.1430-1-andre.przywara@arm.com>

On Sun, Jun 23, 2019 at 7:40 PM Andre Przywara <andre.przywara@arm.com> wrote:
>
> Hi,
>
> a minor update to v1, adding PortM support as per Icenowy's comment and
> dropping the DT change. We still need the latter for support the USB0
> port on some boards, but this takes another route now (syncing back
> from Linux).
> ---------------
>
> This series enables USB support on the H6 boards. This is mostly just
> adding some missing pieces here and there, the actual controller and PHY
> are very similar to the previous ones, if not identical.
> This is for the 2.0 ports only at the moment, USB 3.0 requires some more
> work to make U-Boot's driver compliant to the kernel's DT bindings.
>
> The Pine H64 shares a similar problem as the Pine64+ boards regarding
> the upper USB port. To enable this port, we need a patch from Paul [1]
> and changes to the DT [2]. But this is orthogonal to this series.
>
> Patch 1 is a drive-by patch to bring SUNXI_GPIO to Kconfig, as this was
> lingering in one of my branches for a while.
> Patch 2 enables GPIO support for the H6, as this is needed for the Pine
> H64 to enable the VBUS regulator.
> Patch 3 adds the clock and reset gates mappings for the USB controller and
> the PHY, the values are taken from the manual and verified against
> Linux.
> Patch 4 adds some code to the PHY driver to skip over not implemented
> PHYs, as the H6 uses a PHY0/PHY3 combination in the DT.
> Patch 5 then eventually enables USB in the existing defconfigs.
>
> Cheers,
> Andre.
>
> [1] https://lists.denx.de/pipermail/u-boot/2019-March/361828.html
> [2] http://lists.infradead.org/pipermail/linux-arm-kernel/2019-June/661580.html
>
> Andre Przywara (5):
>   sunxi: move SUNXI_GPIO to Kconfig
>   sunxi: gpio: Enable support for H6 pin controller
>   sunxi: clocks: Add H6 USB clock gates and resets
>   sunxi: phy: Add USB PHY support for Allwinner H6
>   sunxi: H6: Enable USB for existing boards

Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>

  parent reply	other threads:[~2019-07-16 11:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-23 14:09 [U-Boot] [PATCH v2 0/5] sunxi: H6: Enable USB (2.0) support Andre Przywara
2019-06-23 14:09 ` [U-Boot] [PATCH v2 1/5] sunxi: move SUNXI_GPIO to Kconfig Andre Przywara
2019-06-23 14:09 ` [U-Boot] [PATCH v2 2/5] sunxi: gpio: Enable support for H6 pin controller Andre Przywara
2019-06-23 14:09 ` [U-Boot] [PATCH v2 3/5] sunxi: clocks: Add H6 USB clock gates and resets Andre Przywara
2019-06-23 14:09 ` [U-Boot] [PATCH v2 4/5] sunxi: phy: Add USB PHY support for Allwinner H6 Andre Przywara
2019-06-23 14:09 ` [U-Boot] [PATCH v2 5/5] sunxi: H6: Enable USB for existing boards Andre Przywara
2019-06-24 10:14 ` [U-Boot] [linux-sunxi] [PATCH v2 0/5] sunxi: H6: Enable USB (2.0) support Corentin Labbe
2019-07-16 11:35 ` Jagan Teki [this message]
2019-07-16 11:48   ` [U-Boot] " Jagan Teki

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='CAMty3ZDoZG9Ai1Fvmp=rSiJfEkK1i=5ysDRauv0omWY5bG8yRg@mail.gmail.com' \
    --to=jagan@amarulasolutions.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 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.