From: Marcel Ziswiler Date: Mon, 6 May 2019 13:30:39 +0000 Subject: [U-Boot] [PATCH v3 1/1] colibri_imx7: migrate usb to driver model In-Reply-To: References: <20190417092145.15720-1-igor.opaniuk@toradex.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Fabio On Mon, 2019-05-06 at 10:20 -0300, Fabio Estevam wrote: > Hi Igor, > > On Wed, Apr 17, 2019 at 6:21 AM Igor Opaniuk < > igor.opaniuk at toradex.com> wrote: > > > +/* Colibri USBC */ > > +&usbotg1 { > > + dr_mode = "host"; > > Since usbotg1 is used for UMS, this should be dr_mode = "otg" or > dr_mode="peripheral", right? No, I believe the gadget stack currently does not look at this at all while the host stack refuses to bind/load if it is not set to host. Whether or not this is a good idea and/or would need fixing at various other places remains to be seen I guess. Cheers Marcel