[PATCH v2 2/2] phy: exynos5-usbdrd: apply gs101 postlock tuning

André Draszik andre.draszik at linaro.org
Mon Nov 23 06:25:55 PST 2026


Phy tunings to be applied after lock are never applied on gs101.

On gs101, gs101_tunes_pipe3_postlock[] disables the high-speed squelch
detector when in P3 / U3 to save some power. In U3 (USB3 suspend) there
is no SuperSpeed data traffic to detect, and link wakeup uses LFPS
through a separate low-frequency detector. Disabling the high-speed RX
squelch detector in U3 avoids keeping it powered while the link is
suspended.

Apply PTS_PIPE3_POSTLOCK once the PLL and the CDR have locked.

Fixes: 32267c29bc7d ("phy: exynos5-usbdrd: support Exynos USBDRD 3.1 combo phy (HS & SS)")
Cc: stable at vger.kernel.org
Signed-off-by: André Draszik <andre.draszik at linaro.org>
---
 drivers/phy/samsung/phy-exynos5-usbdrd.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/phy/samsung/phy-exynos5-usbdrd.c b/drivers/phy/samsung/phy-exynos5-usbdrd.c
index ccaf0f27c4c8..f647688c3bfb 100644
--- a/drivers/phy/samsung/phy-exynos5-usbdrd.c
+++ b/drivers/phy/samsung/phy-exynos5-usbdrd.c
@@ -1745,6 +1745,8 @@ static int exynos5_usbdrd_gs101_pipe3_init(struct exynos5_usbdrd_phy *phy_drd)
 	if (ret)
 		return ret;
 
+	exynos5_usbdrd_apply_phy_tunes(phy_drd, PTS_PIPE3_POSTLOCK);
+
 	/*
 	 * Set this while still holding phy_mutex, so that the orientation
 	 * switch callback can't miss an orientation change.

-- 
2.56.1.750.gf70dc682cf-goog




More information about the linux-phy mailing list