All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFT PATCH v4 0/3] usb: dwc2: Fix core reset and force mode delays
@ 2016-09-01 21:07 ` John Youn
  0 siblings, 0 replies; 12+ messages in thread
From: John Youn @ 2016-09-01 21:07 UTC (permalink / raw)
  To: linux-arm-kernel

This series accounts for the delay from the IDDIG debounce filter when
switching modes. This delay is a function of the PHY clock speed and
can range from 5-50 ms. This delay must be taken into account on core
reset and force modes. A full explanation is provided in the patch
commit log and code comments.

This revision of the series increases the IDDIG delay to 100 ms. Some
rockchip platforms seem to timeout even with 50 ms so I have doubled
this.

Appreciate any testing on RK3188 and RPi platforms.

v4:
* Increased the IDDIG delay to 110ms.
* Removed tested-by for patch 2 since I have changed the delays.

v3:
* Added tested-bys for patch 1-2
* Fixed an issue where a function was not returning a value
* Dropped patch 4

v2:
* Broke up the last patch of the original series

Regards,
John

John Youn (3):
  usb: dwc2: gadget: Only initialize device if in device mode
  usb: dwc2: Add delay to core soft reset
  usb: dwc2: Properly account for the force mode delays

 drivers/usb/dwc2/core.c   | 126 +++++++++++++++++++++++++++++++++++++++-------
 drivers/usb/dwc2/core.h   |   1 +
 drivers/usb/dwc2/gadget.c |   7 ++-
 drivers/usb/dwc2/hw.h     |   1 +
 4 files changed, 116 insertions(+), 19 deletions(-)

-- 
2.9.0

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-09-07 10:30 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-01 21:07 [RFT PATCH v4 0/3] usb: dwc2: Fix core reset and force mode delays John Youn
2016-09-01 21:07 ` John Youn
2016-09-01 21:07 ` [RFT PATCH v4 1/3] usb: dwc2: gadget: Only initialize device if in device mode John Youn
2016-09-01 21:07   ` John Youn
2016-09-01 21:07 ` [RFT PATCH v4 2/3] usb: dwc2: Add delay to core soft reset John Youn
2016-09-01 21:07   ` John Youn
2016-09-01 21:07 ` [RFT PATCH v4 3/3] usb: dwc2: Properly account for the force mode delays John Youn
2016-09-01 21:07   ` John Youn
2016-09-06 21:40 ` [RFT PATCH v4 0/3] usb: dwc2: Fix core reset and " Stefan Wahren
2016-09-06 21:40   ` Stefan Wahren
2016-09-07 10:29   ` Felipe Balbi
2016-09-07 10:29     ` Felipe Balbi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.