summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorBalaji Selvanathan <[email protected]>2025-06-27 10:22:44 +0530
committerCasey Connolly <[email protected]>2026-01-14 16:17:48 +0100
commitfba8fc4a9620c2e4600f609d6c70076885d5184e (patch)
tree4c53d975fb2eefa901a2b4ffd018b1dac1bb4a4c /include/linux
parentb2446a2314310971563c0279345bbd3293614e33 (diff)
usb: dwc3: qcom: Add delays in UTMI clock selection for Qscratch
Added delays before and after setting the PIPE_UTMI_CLK_SEL and PIPE3_PHYSTATUS_SW bits in the Qscratch GENERAL_CFG register during UTMI clock selection for DWC3 on Qualcomm platforms. These delays help ensure proper timing and stability of the UTMI clock switching sequence, potentially avoiding race conditions or unstable PHY behavior during initialization. Tested on platforms using Qscratch-based DWC3 PHY configuration. This change is taken from this Linux kernel implementation: https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/usb/dwc3/dwc3-qcom.c?id=a4333c3a6ba9ca9cff50a3c1d1bf193dc5489e1c Signed-off-by: Balaji Selvanathan <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Reviewed-by: Mattijs Korpershoek <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Casey Connolly <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions