From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Osipenko Subject: Re: [PATCH v1 0/9] Support UDC on Tegra 20/30/114/124 Date: Thu, 6 Jul 2017 01:13:01 +0300 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Language: en-US Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Stephen Warren Cc: Thierry Reding , Felipe Balbi , Greg Kroah-Hartman , Peter Chen , Jonathan Hunter , Marc Dietrich , Nicolas Chauvet , linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-tegra@vger.kernel.org On 05.07.2017 23:31, Stephen Warren wrote: > On 07/05/2017 11:19 AM, Dmitry Osipenko wrote: >> Some time ago Thierry Reding sent out patches that enabled UDC on NVIDIA >> Tegra, unfortunately they haven't got enough traction to get into the >> kernel. I've rebased those patches and added a fix for the Ethernet USB >> Gadget on Tegra20, Marc Dietrich tested UDC driver on AC100 and Nicolas >> Chauvet on TK1. Like an original patchset, this series adds support for >> the peripheral mode only. > > Does this mean that the relevant ports no longer support host mode? That's going > to be a user-visible regression, which doesn't sound like a good idea. Isn't OTG > possible instead? We are going to switch only AC100 and TrimSlice to use the UDC driver. Do you know whether that port is working in a host mode with the tegra-ehci driver on these devices? That should be a micro USB port. Since that port is working in a device mode by default, I presume that switching it into a host mode would require some extra 'dance', otherwise I may drop the AC100 / TrimSlice patches. The full-featured OTG should be possible, it could be done later if desired. I'm leaving it to somebody else to implement. -- Dmitry