linux-brain/drivers/phy/samsung
Jonathan Bakker b5a49bb741 phy: samsung: s5pv210-usb2: Add delay after reset
[ Upstream commit 05942b8c36c7eb5d3fc5e375d4b0d0c49562e85d ]

The USB phy takes some time to reset, so make sure we give it to it. The
delay length was taken from the 4x12 phy driver.

This manifested in issues with the DWC2 driver since commit fe369e1826
("usb: dwc2: Make dwc2_readl/writel functions endianness-agnostic.")
where the endianness check would read the DWC ID as 0 due to the phy still
resetting, resulting in the wrong endian mode being chosen.

Signed-off-by: Jonathan Bakker <xc-racer2@live.ca>
Link: https://lore.kernel.org/r/BN6PR04MB06605D52502816E500683553A3D10@BN6PR04MB0660.namprd04.prod.outlook.com
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-01 13:17:59 +02:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
phy-exynos-dp-video.c phy: samsung: disable bind/unbind platform driver feature 2019-08-23 09:40:59 +05:30
phy-exynos-mipi-video.c phy: samsung: disable bind/unbind platform driver feature 2019-08-23 09:40:59 +05:30
phy-exynos-pcie.c phy: samsung: disable bind/unbind platform driver feature 2019-08-23 09:40:59 +05:30
phy-exynos4x12-usb2.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
phy-exynos5-usbdrd.c phy: exynos5-usbdrd: Calibrating makes sense only for USB2.0 PHY 2020-08-19 08:16:11 +02:00
phy-exynos4210-usb2.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
phy-exynos5250-sata.c phy: samsung: disable bind/unbind platform driver feature 2019-08-23 09:40:59 +05:30
phy-exynos5250-usb2.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
phy-s5pv210-usb2.c phy: samsung: s5pv210-usb2: Add delay after reset 2020-10-01 13:17:59 +02:00
phy-samsung-usb2.c phy: samsung: disable bind/unbind platform driver feature 2019-08-23 09:40:59 +05:30
phy-samsung-usb2.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00