linux-stable/drivers/phy
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
..
allwinner phy: sun4i-usb: remove enable_pmu_unk1 from sun50i_h6_cfg 2020-11-19 11:49:18 +05:30
amlogic phy: amlogic: replace devm_reset_control_array_get() 2020-11-30 16:32:37 +05:30
broadcom phy-for-5.11 2020-12-09 14:26:40 +01:00
cadence phy: cadence: convert to devm_platform_ioremap_resource 2020-11-16 12:47:46 +05:30
freescale phy: freescale: convert to devm_platform_ioremap_resource 2020-11-16 12:47:46 +05:30
hisilicon phy: hisilicon; Constify hi3660_phy_ops 2020-08-31 14:36:36 +05:30
ingenic PHY: Ingenic: fix unconditional build of phy-ingenic-usb 2020-12-29 10:12:14 +05:30
intel phy-for-5.11 2020-12-09 14:26:40 +01:00
lantiq phy: lantiq: rcu-usb2: wait after clock enable 2021-01-13 19:29:03 +05:30
marvell phy: marvell: convert to devm_platform_ioremap_resource 2020-11-16 12:47:47 +05:30
mediatek phy: mediatek: allow compile-testing the dsi phy 2021-01-04 13:00:54 +05:30
motorola phy: cpcap-usb: remove unneeded conversion to bool 2021-01-13 17:28:24 +05:30
mscc treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
qualcomm phy-for-5.11 2020-12-09 14:26:40 +01:00
ralink phy: ralink: phy-mt7621-pci: set correct name in MODULE_DEVICE_TABLE macro 2020-12-01 17:14:41 +05:30
renesas phy: renesas: rcar-gen3-usb2: disable runtime pm in case of failure 2020-12-05 13:36:12 +05:30
rockchip phy: rockchip: emmc, add vendor prefix to dts properties 2021-01-13 17:28:24 +05:30
samsung phy: samsung: Merge Kconfig for Exynos5420 and Exynos5250 2020-12-02 12:35:07 +05:30
socionext phy: socionext: Add UniPhier AHCI PHY driver support 2020-08-31 17:07:53 +05:30
st phy: stm32: defer probe for reset controller 2020-11-16 15:19:03 +05:30
tegra phy-for-5.11 2020-12-09 14:26:40 +01:00
ti phy: ti: convert to devm_platform_ioremap_resource(_byname) 2020-11-16 12:47:48 +05:30
xilinx phy: zynqmp: Fix unused-function compiler warning 2020-07-01 20:35:29 +05:30
Kconfig PHY: Ingenic: Add USB PHY driver using generic PHY framework. 2020-12-05 13:39:30 +05:30
Makefile PHY: Ingenic: Add USB PHY driver using generic PHY framework. 2020-12-05 13:39:30 +05:30
phy-core-mipi-dphy.c phy: dphy: Change units of wakeup and init parameters 2019-02-07 11:11:05 +05:30
phy-core.c phy: core: Document function args 2020-07-08 16:40:21 +05:30
phy-lgm-usb.c phy: Add USB3 PHY support for Intel LGM SoC 2020-09-11 17:12:49 +05:30
phy-lpc18xx-usb-otg.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
phy-pistachio-usb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 422 2019-06-05 17:37:15 +02:00
phy-xgene.c phy: phy-xgene: convert to devm_platform_ioremap_resource 2020-11-16 12:47:47 +05:30