From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752216AbdC0LrW (ORCPT ); Mon, 27 Mar 2017 07:47:22 -0400 Received: from mail.free-electrons.com ([62.4.15.54]:34458 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751813AbdC0LrU (ORCPT ); Mon, 27 Mar 2017 07:47:20 -0400 Date: Mon, 27 Mar 2017 13:47:18 +0200 From: Maxime Ripard To: Kishon Vijay Abraham I Cc: Icenowy Zheng , Rob Herring , Chen-Yu Tsai , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: Re: [PATCH v5 0/8] Add dual-role OTG support for Allwinner H3 Message-ID: <20170327114718.sm37yzjpawgatcfc@lukather> References: <20170325145015.22076-1-icenowy@aosc.xyz> <73c148dd-fe21-da12-45d1-0c70d9a5b998@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="lwl4c6i7icyvla5q" Content-Disposition: inline In-Reply-To: <73c148dd-fe21-da12-45d1-0c70d9a5b998@ti.com> User-Agent: Mutt/1.6.2-neo (2016-08-21) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --lwl4c6i7icyvla5q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 27, 2017 at 03:35:25PM +0530, Kishon Vijay Abraham I wrote: >=20 >=20 > 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 conn= ect > > one MUSB controller in peripheral mode to another one in host mode cann= ot > > 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. > >=20 > > Add support to route to the best controller according to current USB mo= de > > (host/peripheral). > >=20 > > 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.) > >=20 > > Patch 1 changes the device tree binding to include the "pmu0" for HCI p= air. > >=20 > > Patch 2 and 3 are fixes for H3 PHY, in order to make MUSB really working > > on H3. > >=20 > > Patch 4 adds support for auto routing of PHY0. It's currently only enab= led > > on H3, but it's easy to extend it to other SoCs which feature this > > route control. >=20 > merged the 1st four patch of this series. And applied the last four. Thanks! Maxime --=20 Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com --lwl4c6i7icyvla5q Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCAAGBQJY2PvCAAoJEBx+YmzsjxAgSjoP/1F23eRHHKoCndKu/ttzQE53 ekNqV3O5eZhbTzXIXWiBFhxIbGileTX70ZOzSCqPIjgMNemg2S8PIYbyQIDCkqu1 /ELCqIuBOcAkxk/aq7MxkMPCYK5jTos/4xokz3bxn93yW3W4ZVBVu2+ayE3abB52 Lh1p581pueX73klHdYUGgJzv9H9zKO9Z6p43Z90ziiqDlwWo31kYaxxa5QSBEGAm bTJL4h22Vru8Oo5pCc9woCzDKxJytIHj6lQEqtTTRTHLt56yHlIgJ4vAjHnKnGXY O37uSbUTw8ejK27cFG0yRxL+TQwGe2OJ8VNIUFGWKXomNW2iChrMsueU7gI6Ack7 O14Z9iTUZc2vroyKb7hHrUCfGH4C9KcTuSahopWS0HCb3/z8XFW0/CRaSw24Geyp 0nGwxvNFQg3FoA1gXoEllFYwxwBGuRRYuX7SZb8IJTEPxBt0403AB///4oJC1RhA hARXPZ4JseX7t2ydjbPcGLPjx1Mgk5ghyZZ0ixtzJv/PdR2JPNSNlb+TDAcMNzlr H7kRwiQoyHCC/91Hdg/HdVnAWtx2SvNWyUjCa0LJnaQaFURYdAe7E0hXJ9ONV4cu j0ZBFMh4Qfwads4ByCaHkwjSCvoffsaS2hz9NiHzcIeAdkcYEq7zlgFGFuQTNMbz UY/YHqXFgKHVb9XXiJMW =D8hz -----END PGP SIGNATURE----- --lwl4c6i7icyvla5q--