Skip to content

reset/usb: Add reset status

Ley Foon Tan u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 0 repliesNew

Changes in v2 from the cover letter

- Change from constant delay to poll for reset status;
- Add reset status callback function.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2reset: socfpga: Add reset status callback functiondrivers/reset/reset-socfpga.c+12 -01 reply
2/2usb: dwc2: Add polling for reset statusdrivers/usb/host/dwc2.c+9 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] reset/usb: Add reset status

In Cyclone 5 SoC platform, the first USB probing is failed but second probing is success. DWC2 driver read gsnpsid register right after de-assert reset, but controller is not ready yet and it returns gsnpsid 0. Polling reset status after de-assert reset to solve the issue.

This patchset also add .rst_status callback function to reset-socfpga driver to support this get reset status feature.

v1->v2:
- Change from constant delay to poll for reset status;
- Add reset status callback function.

History:
v1: https://patchwork.ozlabs.org/patch/1214841/

Ley Foon Tan (2):
reset: socfpga: Add reset status callback function
usb: dwc2: Add polling for reset status

 drivers/reset/reset-socfpga.c | 12 ++++++++++++
 drivers/usb/host/dwc2.c       | 10 +++++++++-
 2 files changed, 21 insertions(+), 1 deletion(-)
Signature · 1 line
2.19.0