WSL2-Linux-Kernel/drivers/phy/lantiq
Mathias Kresin 36acd5e24e phy: lantiq: rcu-usb2: wait after clock enable
Commit 65dc2e7252 ("usb: dwc2: Update Core Reset programming flow.")
revealed that the phy isn't ready immediately after enabling it's
clocks. The dwc2_check_core_version() fails and the dwc2 usb driver
errors out.

Add a short delay to let the phy get up and running. There isn't any
documentation how much time is required, the value was chosen based on
tests.

Signed-off-by: Mathias Kresin <dev@kresin.me>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Cc: <stable@vger.kernel.org> # v5.7+
Link: https://lore.kernel.org/r/20210107224901.2102479-1-dev@kresin.me
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2021-01-13 19:29:03 +05:30
..
Kconfig phy: lantiq: vrx200-pcie: add a driver for the Lantiq VRX200 PCIe PHY 2019-08-23 09:40:48 +05:30
Makefile phy: lantiq: vrx200-pcie: add a driver for the Lantiq VRX200 PCIe PHY 2019-08-23 09:40:48 +05:30
phy-lantiq-rcu-usb2.c phy: lantiq: rcu-usb2: wait after clock enable 2021-01-13 19:29:03 +05:30
phy-lantiq-vrx200-pcie.c phy: lantiq: convert to devm_platform_ioremap_resource 2020-11-16 12:47:47 +05:30