[PATCH 0/2] Fix USB2 PHY operation on Exynos542x

From: Marek Szyprowski
Date: Fri Nov 20 2020 - 03:57:25 EST


Dear All,

This patchset finally fixes the last remaining issue related to the
system suspend/resume on Odroid XU3/XU4/HC1 board family. It can be
observed that system suspend/resume fails on XU4/HC1 when kernel is
compiled from multi_v7_defconfig. Chaning the configuration a bit -
switching Exynos USB2 PHY driver to be built-in surprisingly fixed that
issue. An investigation revealed that the Exynos USB2 PHY driver poked
wrong registers in the PMU area on Exynos5420 SoCs breaking the USB3.0
DRD PHY operation, what caused the suspend failure. Fix this by learning
the Exynos USB2 PHY driver about the Exynos5420 variant.

Best regards,
Marek Szyprowski


Patch summary:

Marek Szyprowski (2):
phy: samsung: add support for the Exynos5420 variant of the USB2 PHY
ARM: dts: exynos: use Exynos5420 dedicated USB2 PHY compatible

.../devicetree/bindings/phy/samsung-phy.txt | 1 +
arch/arm/boot/dts/exynos54xx.dtsi | 6 +--
drivers/phy/samsung/Kconfig | 7 ++-
drivers/phy/samsung/phy-exynos5250-usb2.c | 48 +++++++++++++------
drivers/phy/samsung/phy-samsung-usb2.c | 6 +++
drivers/phy/samsung/phy-samsung-usb2.h | 1 +
6 files changed, 51 insertions(+), 18 deletions(-)

--
2.17.1