Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754517AbbLJRJa (ORCPT ); Thu, 10 Dec 2015 12:09:30 -0500 Received: from bear.ext.ti.com ([192.94.94.41]:53087 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752181AbbLJRJ3 (ORCPT ); Thu, 10 Dec 2015 12:09:29 -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: <87egeujl0r.fsf@saruman.tx.rr.com> References: <1448268998-4682-1-git-send-email-m.szyprowski@samsung.com> <87egeujl0r.fsf@saruman.tx.rr.com> User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Thu, 10 Dec 2015 11:09:20 -0600 Message-ID: <87bn9yjkn3.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: 2850 Lines: 71 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, Felipe Balbi writes: > 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 ? We also seem to have issues with Kconfig. If I try to make gadget driver built-in, when compiling I'll get asked again if I want gadget drivers built-in. Another one: I just tried dummy_hcd built-in, g_zero built-in, dwc3 as a module. I can never load anything to dwc3 ;-) =2D-=20 balbi --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJWabHCAAoJEIaOsuA1yqREC2kP/jBjlBqJVWvV0wtO7eAB7rWv iv7qJ15KpK/TQMyxP/TJilxZwbt3P3UYs9GF/yZRYdVLwUgbunJ6xQwF05DZafR7 /G6HGghjIcNiK7KXtX0Im8AiZWbXSbpTVE3lU/QbnqDcswE9DPbTAmpYj3vBstdG lWapzfngnvgh5znA1FaDBw0nGrnL5jiMAtjIsvqiahr3RLQDNA0BjxvV/lh6GZzk c66uNZXtDDAuDTYwmJT7szBl6+sFhXt0b0v3yHODH6v8Weg7SvFsfmWn9I7o/LRm LTLy1VrG2/kV0ybKtel5nWnrQqRqOFrJmHvC9wXTQOywSQlKpmd+Krn7vZRyIFFG EWKokt3UaAQ37k/lyN/iepUjpUZkbTINa26ilAYtKOqIcuZtk3vom+BXkIiTMVa5 9ruLLxat/owVz7oDMIAfm9beyVlxqwLDVYoBDvgBswCgI0OM6BweAvMAyAOiG7NH kZXayPe8rTA7/FKpWpvEZhLQy4psbn6zLZhCI1BdhgrnvTsoAjB9W9Uo9CFuG5zG bhBKspVIf71+ZP3GE9lC76x090mkJMdfXoB9MAWwpUdMvePxAMfBNMQDkoYk1xCl z+2zegnex2bVhDakGd9U1RKYEKdypSV+Sviuc7Ipy/HcR0rc6pJA8d7IKHSmzhMT oU4RkeplVa07sVemLDXn =TfQZ -----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/