Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754531AbbLJRBS (ORCPT ); Thu, 10 Dec 2015 12:01:18 -0500 Received: from arroyo.ext.ti.com ([192.94.94.40]:46347 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754465AbbLJRBP (ORCPT ); Thu, 10 Dec 2015 12:01:15 -0500 From: Felipe Balbi To: Marek Szyprowski , , CC: Marek Szyprowski , Ruslan Bilovol , Bartlomiej Zolnierkiewicz Subject: Re: [PATCH v7 0/4] usb/gadget: independent registration of gadgets and gadget drivers In-Reply-To: <1448268998-4682-1-git-send-email-m.szyprowski@samsung.com> References: <1448268998-4682-1-git-send-email-m.szyprowski@samsung.com> User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Thu, 10 Dec 2015 11:01:08 -0600 Message-ID: <87egeujl0r.fsf@saruman.tx.rr.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2506 Lines: 63 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, Marek Szyprowski writes: > Hello, > > This is a resurrection of the patches initially submitted by Ruslan > Bilovol in the following thread: https://lkml.org/lkml/2015/6/22/554 > > The changes since the original submission (v5) includes rebase onto > latest linux-next branch, simplification of the code requested by Alan > Stern and Felipe Balbi, removal of a patch, which deleted __init/__exit > attributes (this change has been already merged) and fixes of the > checkpatch issues. > > This feature is urgently needed, because it is not longer possible to > use workaround to avoid deferred probe in UDC drivers due to > not-yet-probed i2c regulator drivers (for more information see > https://lkml.org/lkml/2015/10/30/374 ). > > This patchset has been successfully tested on Odroid XU3 boards with > DWC3 UDC driver being deferred by missing regulator drivers. there is one problem with this patchset. If I try to statically link gadget drivers, only one can be chosen, even though I can enable both dwc3 and dummy_hcd just fine. And, actually, this brings another problem. How do we handle systems which have 2 USB peripheral controllers (say, 2 instances of dwc3) and choose which gadget driver will bind to which controller ? =2D-=20 balbi --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJWaa/UAAoJEIaOsuA1yqREEeUP/1t1QQ0iIWYlZatXIuvDXh6a W3fXsQ/9g/hq92Flw8gwHTCK9n0XV9ZI17616xDKE/jKdfqai+KT+0PK268OH59i 8fcu5CU44QzdFEkrSdIPcOn9JtHKtNCe0nLcEM4SYswvOudNrt71n8FarrDv+VyH VAthyVEe9TIVuVHQtlWWLimaN/V2WbrOzKeMYHcrmjRouEecIj/F8pz4O+G32dNg Gh/PTA7pcXd7u5Udx0vxmsK7ra6Q0RXLEs06dC9eBuMUDpVW/jEjgqgUfRJbF2gP WSvIvTC1SXTz69g6dcbHmznN1Z1YNXpga1pRN/fyZVXtIlXPHF6MNsZz3npJCeyw kVujryoI4NZJaC24drX3FQG90EQblNsG4QlM5rdOAi02Nv8f2YAwqTLnh+sQK8zi jEQwz1yPs+yKxOUbqgClUwXl3y+JiuRwxz3oB52v5aG7VkbYRQiH48cdoJVKj+v4 mzNLTJ7OCGdEaoeGN9kSmgXK8sc585ogh/610gTKY91N12emc+Ci7jfIkgDbHFBQ +NPHgLANRL2IzkxxcFCKaWtwZ0qQycurQUYE4M+gVZ/wPsyYb7iCqKM9Xipkuhmq DQYPP0P7lOR7Pj9UpMblu8p52L9W4/oQ2lrPoxf6Bjgt3dWCCZov4pkxn10STCh7 y5klss0G8TvhXBzY7XwC =N8a7 -----END PGP SIGNATURE----- --=-=-=-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/