linux/drivers/phy/samsung
André Draszik 164c9f5edf phy: exynos5-usbdrd: fix EDS distribution tuning (gs101)
[ Upstream commit 21860f340b ]

This code's intention is to configure lane0 and lane2 tunings, but for
lane2 there is a typo and it ends up tuning something else.

Fix the typo, as it doesn't appear to make sense to apply different
tunings for lane0 vs lane2.

The same typo appears to exist in the bootloader, hence we restore the
original value in the typo'd registers as well. This can be removed
once / if the bootloader is updated.

Note that this is incorrect in the downstream driver as well - the
values had been copied from there.

Reviewed-by: Peter Griffin <peter.griffin@linaro.org>
Tested-by: Peter Griffin <peter.griffin@linaro.org>
Signed-off-by: André Draszik <andre.draszik@linaro.org>
Tested-by: Will McVicker <willmcvicker@google.com>
Link: https://lore.kernel.org/r/20241206-gs101-phy-lanes-orientation-phy-v4-4-f5961268b149@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-05-29 11:02:51 +02:00
..
Kconfig phy: Revert "phy: Remove SOC_EXYNOS4212 dep. from PHY_EXYNOS4X12_USB" 2023-05-16 19:38:39 +05:30
Makefile phy: samsung-ufs: ufs: Add support for gs101 UFS phy tuning 2024-04-06 14:27:17 +05:30
phy-exynos-dp-video.c phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
phy-exynos-mipi-video.c phy: constify of_phandle_args in xlate 2024-02-23 17:43:14 +05:30
phy-exynos-pcie.c phy: samsung: phy-exynos-pcie: sanitize init/power_on callbacks 2022-08-01 15:25:12 -05:00
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: fix EDS distribution tuning (gs101) 2025-05-29 11:02:51 +02:00
phy-exynos7-ufs.c phy: samsung-ufs: ufs: Add SoC callbacks for calibration and clk data recovery 2024-04-06 14:27:17 +05:30
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: exynos5250-sata: fix missing device put in probe error paths 2022-04-11 22:47:42 +05:30
phy-exynos5250-usb2.c phy: Fix the cacography in phy-exynos5250-usb2.c 2024-07-02 18:41:23 +05:30
phy-exynosautov9-ufs.c phy: samsung-ufs: ufs: Add SoC callbacks for calibration and clk data recovery 2024-04-06 14:27:17 +05:30
phy-fsd-ufs.c phy: samsung-ufs: ufs: Add SoC callbacks for calibration and clk data recovery 2024-04-06 14:27:17 +05:30
phy-gs101-ufs.c phy: samsung-ufs: ufs: Add support for gs101 UFS phy tuning 2024-04-06 14:27:17 +05:30
phy-s5pv210-usb2.c phy: samsung: s5pv210-usb2: Add delay after reset 2020-05-13 08:27:35 +05:30
phy-samsung-ufs.c phy: samsung-ufs: ufs: exit on first reported error 2024-05-04 17:24:28 +05:30
phy-samsung-ufs.h phy: samsung-ufs: ufs: Add support for gs101 UFS phy tuning 2024-04-06 14:27:17 +05:30
phy-samsung-usb2.c phy: constify of_phandle_args in xlate 2024-02-23 17:43:14 +05:30
phy-samsung-usb2.h phy: samsung: Add support for the Exynos5420 variant of the USB2 PHY 2020-11-30 16:20:59 +05:30