From: Ley Foon Tan Date: Tue, 24 Dec 2019 16:23:43 +0800 Subject: [PATCH v2 0/2] reset/usb: Add reset status Message-ID: <1577175825-6424-1-git-send-email-ley.foon.tan@intel.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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(-) -- 2.19.0