From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932620AbcFJLCy (ORCPT ); Fri, 10 Jun 2016 07:02:54 -0400 Received: from mga01.intel.com ([192.55.52.88]:18609 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752130AbcFJLCx (ORCPT ); Fri, 10 Jun 2016 07:02:53 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,449,1459839600"; d="asc'?scan'208";a="994956032" From: Felipe Balbi To: Roger Quadros , Sergei Shtylyov , peter.chen@freescale.com Cc: tony@atomide.com, gregkh@linuxfoundation.org, dan.j.williams@intel.com, mathias.nyman@linux.intel.com, Joao.Pinto@synopsys.com, jun.li@freescale.com, grygorii.strashko@ti.com, yoshihiro.shimoda.uh@renesas.com, robh@kernel.org, nsekhar@ti.com, b-liu@ti.com, linux-usb@vger.kernel.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v10 08/14] usb: otg: add OTG/dual-role core In-Reply-To: <575A9C7C.7020902@ti.com> References: <1465376626-30122-1-git-send-email-rogerq@ti.com> <1465376626-30122-9-git-send-email-rogerq@ti.com> <57592060.6060801@ti.com> <2522343c-422f-79e1-af40-eb953bde42f6@cogentembedded.com> <575A9430.6070508@ti.com> <575A9C7C.7020902@ti.com> User-Agent: Notmuch/0.22+11~g124a67e (http://notmuchmail.org) Emacs/25.0.93.2 (x86_64-pc-linux-gnu) Date: Fri, 10 Jun 2016 14:02:36 +0300 Message-ID: <87ziqt5msz.fsf@linux.intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, Roger Quadros writes: >>> What is wrong with calling it gadget controller? >>=20 >> It's not a controller, it's a piece of software AFAIU. Or is my Engli= sh just too weak? :-) > > Everything at this point is a piece of software :). > > struct usb_gadget, represents the gadget controller device not the > driver (or software). > > struct usb_gadget_driver represents the gadget function driver. > struct usb_gadget_ops represents the UDC driver ops. right, and usb_udc was added just to have a way of linking usb_gadget with usb_gadget_driver so we could have more than one peripheral port in a system. =2D-=20 balbi --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXWp5MAAoJEIaOsuA1yqRETMgQAJwNmqvZ2Sdy7ofvMXesTjDP BWi9467w5ZBX6pEUcr26YVDIpAvAzEtacP3jk9K6I/4HcunIfOsjGLUP4JU8cOoV GdLRUrKRn4j8BZMNmQ5bizbIj3VzwS7SdDKnhTbYyaEhdFNp/NIHAqyoeNJDyMqm tQt1xOU45OwA+C0uPw2lpsrja2TBcmwuOsNAthR8jWahf0z4bMDjJjZOFJ+oTqE7 2GAo5v1bxN36Hg2RZ35jdXgAPa9zKNYQQOXjj8/8gghT8YV+M4gDaRn/smcp3UJd CRRZ2TcSbBCzGlSigcunfOynct7io7DBh9s8HAahgfMUxyfcewN8zWhpnWqG6s3w QihcFwOQLx5zBfK0HLQd0QF7B4N9Q0gc95fXS2nzEoaVyOETKcb7s/UkvGUPAfrw ukPWaWJVyrzf/VDivv84tSPel8NNaz7x6+PFuWwdApZsjSRWzBcHKj0c09TXFaT7 W2wPIweM1YvloB+NOA/phYsN2dSFwcvD3XaLzVDSGunUcTYSaj0eoPF68CASfHPP JXyu4V9IGDMpRlLsS9wrNZc4dCbeHMrSzkC21scEpQzL+khg5ZCguTr5AAZsJqUq iLw2tDS0tDmklFpgxFD3vP3XSLnvYADOh8kCq/oDilDD3+iRA2jWHBOT0w9ldTAO Jf5RL0OGc9pPG5gYWmae =rNro -----END PGP SIGNATURE----- --=-=-=--