All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Revert "drivers: usb: dwc3: Add delay after core soft reset"
@ 2026-07-24  9:28 Balaji Selvanathan via U-Boot
  2026-07-24 12:41 ` Marek Vasut via U-Boot
  2026-07-24 13:42 ` Mattijs Korpershoek
  0 siblings, 2 replies; 4+ messages in thread
From: Balaji Selvanathan via U-Boot @ 2026-07-24  9:28 UTC (permalink / raw)
  To: u-boot
  Cc: Marek Vasut, Tom Rini, Mattijs Korpershoek, Chris Morgan,
	Balaji Selvanathan

This reverts commit 6de333b5caf035c38d7af9fa7596aeffcc49db42.

The delay is unnecessary. Upstream Linux does not add this delay after
the core soft reset and the USB works fine without it.

Tested in QCS6490 RB3Gen2 Qualcomm board.

Signed-off-by: Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>
---
- This is part of ongoing initiative to reduce boot time across all
  Qualcomm boards. So we can remove this unnecessary delay.
- Actually, this delay was removed in the Kodiak v4 series:
  https://lore.kernel.org/u-boot/20260418-kodiak_ss-v4-0-d381670c9d78@oss.qualcomm.com/
  but v3 series got picked up: https://lore.kernel.org/u-boot/177745255938.126665.16625119085748603933.b4-ty@b4/
---
 drivers/usb/dwc3/core.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
index be198041f08..ae22e1c792d 100644
--- a/drivers/usb/dwc3/core.c
+++ b/drivers/usb/dwc3/core.c
@@ -106,8 +106,6 @@ done:
 	if (DWC3_VER_IS_WITHIN(DWC31, ANY, 180A))
 		mdelay(50);
 
-	mdelay(100);
-
 	return 0;
 }
 

---
base-commit: d7ef23c07b8e34f65b3e15e3b4e7f58d074923c8
change-id: 20260724-kodiak_delay-a5f1e8b675cd

Best regards,
-- 
Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>


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

end of thread, other threads:[~2026-07-26 10:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-24  9:28 [PATCH] Revert "drivers: usb: dwc3: Add delay after core soft reset" Balaji Selvanathan via U-Boot
2026-07-24 12:41 ` Marek Vasut via U-Boot
2026-07-26 10:06   ` Balaji Selvanathan via U-Boot
2026-07-24 13:42 ` Mattijs Korpershoek

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.