Re: DWC3 runtime suspend on cable disconnect while UDC is active

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2024-11-25 at 20:11 +0000, Thinh Nguyen wrote:
> On Thu, Nov 21, 2024, André Draszik wrote:
> > On Thu, 2024-11-21 at 12:34 +0000, André Draszik wrote:
> > > Unfortunately, this only works once: After restoring those bits and
> > > reconnecting the cable, USB comes up as expected, but a subsequent
> > > disconnect with the same sequence as during the first disconnect
> > > doesn't
> > > trigger the DWC3_DEVICE_EVENT_DISCONNECT event anymore (others still
> > > happen,
> > > like DWC3_DEVICE_EVENT_SUSPEND).
> > > 
> > > Kinda looks to me like either I'm still missing something, or e.g. the
> > > event
> > > is somehow masked.
> > > 
> > > I anybody aware of anything related by any chance?
> > 
> > Hm, the missing DWC3_DEVICE_EVENT_DISCONNECT event comes when I insert
> > the
> > cable another time, i.e. after the DWC3 driver has reconfigured
> > everything
> > after cable attach. This throws everything off of course.
> > 
> > Looks like still something wrong in phy/dwc3 interaction in the Exynos
> > case.
> > I'll debug a bit more.
> > 
> 
> Ok.

I have a working solution now - with snps,dis_rxdet_inp3_quirk in the DT,
this works reliably now:

https://lore.kernel.org/r/20241127-gs101-phy-lanes-orientation-phy-v1-0-1b7fce24960b@xxxxxxxxxx
https://lore.kernel.org/r/20241127-gs101-phy-lanes-orientation-phy-v1-0-1b7fce24960b@xxxxxxxxxx

Thanks again,
Andre'






[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux for Synopsys ARC Processors]    
  • [Linux on Unisoc (RDA Micro) SoCs]     [Linux Actions SoC]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  •   Powered by Linux