linux-stable/drivers/phy
Dmitry Baryshkov 03bab95e74 phy: qcom: qmp-usbc: handle CLAMP register in a correct way
[ Upstream commit 01b086ccde ]

The QMP USB PHYs on msm8998, qcm2290 and some other platforms don't have
the PCS_MISC_CLAMP_ENABLE register. Instead they need to toggle the
register in the TCSR space. Make the new phy-qcom-qmp-usbc driver
correctly handle the clamp register.

Fixes: a51969fafc ("phy: qcom-qmp: Add QMP V3 USB3 PHY support for msm8998")
Fixes: 8abe5e778b ("phy: qcom-qmp: Add QCM2290 USB3 PHY support")
Cc: Jeffrey Hugo <quic_jhugo@quicinc.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Acked-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240117-usbc-phy-vls-clamp-v2-3-a950c223f10f@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-03-26 18:17:22 -04:00
..
allwinner phy: sun4i-usb: update array size 2023-10-13 15:34:39 +05:30
amlogic phy: amlogic: meson-g12a-usb2: fix Wvoid-pointer-to-enum-cast warning 2023-08-22 19:28:10 +05:30
broadcom phy: Use device_get_match_data() 2023-10-13 15:45:40 +05:30
cadence phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
freescale phy: freescale: phy-fsl-imx8-mipi-dphy: Fix alias name to use dashes 2024-02-07 11:19:40 +01:00
hisilicon phy-for-6.6 2023-09-03 10:38:02 -07:00
ingenic phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
intel phy-for-6.4 2023-05-03 11:17:34 -07:00
lantiq phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
marvell phy: Use device_get_match_data() 2023-10-13 15:45:40 +05:30
mediatek phy-for-6.8 2024-01-18 17:11:43 -08:00
microchip phy: lan966x: Add missing serdes mux entry 2024-01-24 11:24:29 +05:30
motorola phy: Drop unnecessary of_match_device() calls 2023-10-13 15:47:53 +05:30
mscc
qualcomm phy: qcom: qmp-usbc: handle CLAMP register in a correct way 2024-03-26 18:17:22 -04:00
ralink phy: Remove duplicated include in phy-ralink-usb.c 2023-10-23 11:55:36 +05:30
renesas phy: renesas: rcar-gen3-usb2: Fix returning wrong error code 2024-01-24 11:22:20 +05:30
rockchip phy: phy-rockchip-inno-usb2: Add RK3128 support 2023-11-27 18:36:29 +05:30
samsung phy: exynos5-usbdrd: Add Exynos850 support 2023-08-22 19:41:15 +05:30
socionext phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
st phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
starfive phy: starfive: StarFive PHYs should depend on ARCH_STARFIVE 2023-07-26 19:09:08 +05:30
sunplus phy: sunplus: return negative error code in sp_usb_phy_probe 2023-11-27 18:39:18 +05:30
tegra phy: Remove duplicated include in xusb.c 2023-07-24 16:24:19 +05:30
ti phy: ti: phy-omap-usb2: Fix NULL pointer dereference for SRP 2024-01-30 22:41:11 +05:30
xilinx phy: zynqmp: Allow variation in refclk rate 2023-07-12 22:27:44 +05:30
Kconfig Revert "phy: realtek: usb: Add driver for the Realtek SoC USB 2.0 PHY" 2023-11-06 14:47:36 +01:00
Makefile Revert "phy: realtek: usb: Add driver for the Realtek SoC USB 2.0 PHY" 2023-11-06 14:47:36 +01:00
phy-can-transceiver.c phy: phy-can-transceiver: insert space after include 2023-12-21 22:39:59 +05:30
phy-core-mipi-dphy.c
phy-core.c phy: core: Remove usage of the deprecated ida_simple_xx() API 2023-11-16 17:03:51 +05:30
phy-lgm-usb.c
phy-lpc18xx-usb-otg.c
phy-pistachio-usb.c
phy-xgene.c phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30