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 -- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html