From: maxime.ripard@free-electrons.com (Maxime Ripard)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v5 0/8] Add dual-role OTG support for Allwinner H3
Date: Mon, 27 Mar 2017 13:47:18 +0200 [thread overview]
Message-ID: <20170327114718.sm37yzjpawgatcfc@lukather> (raw)
In-Reply-To: <73c148dd-fe21-da12-45d1-0c70d9a5b998@ti.com>
On Mon, Mar 27, 2017 at 03:35:25PM +0530, Kishon Vijay Abraham I wrote:
>
>
> On Saturday 25 March 2017 08:20 PM, Icenowy Zheng wrote:
> > Allwinner H3 have a its USB PHY0 routed to two USB controllers: one is
> > a MUSB controller, which can work in peripheral mode, but works badly in
> > host mode (several hardware will fail on the MUSB controller, even connect
> > one MUSB controller in peripheral mode to another one in host mode cannot
> > work); the other is a pair of EHCI/OHCI controller, which can work only
> > in host mode, but have better compatibillity. The route is controlled in
> > a register, which we have set it to HCI only when we do not know about
> > it well.
> >
> > Add support to route to the best controller according to current USB mode
> > (host/peripheral).
> >
> > Note: Currently even if hardware only support hostmode, we should still
> > enable the MUSB controller, as it controls the USB mode. (Some this kind
> > of hardware can also work in peripheral mode by settings in the sysfs
> > node of MUSB, then connect it to another host via a USB Type-A to Type-A
> > cable.)
> >
> > Patch 1 changes the device tree binding to include the "pmu0" for HCI pair.
> >
> > Patch 2 and 3 are fixes for H3 PHY, in order to make MUSB really working
> > on H3.
> >
> > Patch 4 adds support for auto routing of PHY0. It's currently only enabled
> > on H3, but it's easy to extend it to other SoCs which feature this
> > route control.
>
> merged the 1st four patch of this series.
And applied the last four.
Thanks!
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170327/6759d5f6/attachment.sig>
prev parent reply other threads:[~2017-03-27 11:47 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-25 14:50 [PATCH v5 0/8] Add dual-role OTG support for Allwinner H3 Icenowy Zheng
2017-03-25 14:50 ` [PATCH v5 1/8] dt: bindings: add pmu0 regs for USB PHYs on Allwinner H3/V3s/A64 Icenowy Zheng
2017-03-25 14:50 ` [PATCH v5 2/8] phy: sun4i-usb: change PHYCTL register clearing code Icenowy Zheng
2017-03-25 14:50 ` [PATCH v5 3/8] phy: sun4i-usb: add PHYCTL offset for H3 SoC Icenowy Zheng
2017-03-25 14:50 ` [PATCH v5 4/8] phy: sun4i-usb: support automatically switch PHY0 route to MUSB/HCI Icenowy Zheng
2017-03-25 14:50 ` [PATCH v5 5/8] ARM: sunxi: h3/h5: add usb_otg and OHCI/EHCI for usbc0 on H3/H5 Icenowy Zheng
2017-03-25 14:50 ` [PATCH v5 6/8] ARM: sun8i: h3: enable USB OTG on Orange Pi One Icenowy Zheng
2017-03-25 14:50 ` [PATCH v5 7/8] ARM: sun8i: h2+: enable USB OTG for Orange Pi Zero board Icenowy Zheng
2017-03-25 14:50 ` [PATCH v5 8/8] arm64: allwinner: h5: enable USB OTG on Orange Pi PC 2 board Icenowy Zheng
2017-03-27 10:05 ` [PATCH v5 0/8] Add dual-role OTG support for Allwinner H3 Kishon Vijay Abraham I
2017-03-27 11:47 ` Maxime Ripard [this message]
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=20170327114718.sm37yzjpawgatcfc@lukather \
--to=maxime.ripard@free-electrons.com \
--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