[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170327114718.sm37yzjpawgatcfc@lukather>
Date: Mon, 27 Mar 2017 13:47:18 +0200
From: Maxime Ripard <maxime.ripard@...e-electrons.com>
To: Kishon Vijay Abraham I <kishon@...com>
Cc: Icenowy Zheng <icenowy@...c.xyz>, Rob Herring <robh+dt@...nel.org>,
Chen-Yu Tsai <wens@...e.org>, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-sunxi@...glegroups.com
Subject: Re: [PATCH v5 0/8] Add dual-role OTG support for Allwinner H3
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
Download attachment "signature.asc" of type "application/pgp-signature" (802 bytes)
Powered by blists - more mailing lists