mirror-linux/drivers/phy
Luca Weiss 31bc94de76 phy: qualcomm: phy-qcom-eusb2-repeater: Don't zero-out registers
Zeroing out registers does not happen in the downstream kernel, and will
"tune" the repeater in surely unexpected ways since most registers don't
have a reset value of 0x0.

Stop doing that and instead just set the registers that are in the init
sequence (though long term I don't think there's actually PMIC-specific
init sequences, there's board specific tuning, but that's a story for
another day).

Fixes: 99a517a582 ("phy: qualcomm: phy-qcom-eusb2-repeater: Zero out untouched tuning regs")
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20250617-eusb2-repeater-tuning-v2-2-ed6c484f18ee@fairphone.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2025-06-26 16:36:36 -07:00
..
allwinner phy: sun4i-usb: Remove unused of_gpio.h 2024-12-08 21:37:32 +05:30
amlogic phy: amlogic: phy-meson-axg-pcie: Fix PHY creation order in axg-pcie probe 2025-04-11 17:07:15 +05:30
broadcom phy: drop probe registration printks 2025-06-16 22:54:21 +05:30
cadence phy: cadence-torrent: Add PCIe multilink + USB with same SSC register config for 100 MHz refclk 2025-06-16 22:37:19 +05:30
freescale phy: freescale: fsl-samsung-hdmi: Improve LUT search for best clock 2025-05-14 12:15:51 +01:00
hisilicon phy: HiSilicon: Don't use "proxy" headers 2024-12-08 21:36:59 +05:30
ingenic
intel phy: Switch back to struct platform_driver::remove() 2024-10-17 20:33:03 +05:30
lantiq phy: constify of_phandle_args in xlate 2024-02-23 17:43:14 +05:30
marvell phy: drop probe registration printks 2025-06-16 22:54:21 +05:30
mediatek phy: mediatek: tphy: Cleanup and document slew calibration 2025-06-26 16:33:42 -07:00
microchip phy: PHY_LAN966X_SERDES should depend on SOC_LAN966 || MCHP_LAN966X_PCI 2025-02-14 18:04:57 +05:30
motorola phy: mapphone-mdm6600: use gpiod_multi_set_value_cansleep 2025-02-17 14:27:34 +01:00
mscc phy: constify of_phandle_args in xlate 2024-02-23 17:43:14 +05:30
nuvoton phy: nuvoton: add new driver for the Nuvoton MA35 SoC USB 2.0 PHY 2024-08-29 23:52:37 +05:30
qualcomm phy: qualcomm: phy-qcom-eusb2-repeater: Don't zero-out registers 2025-06-26 16:36:36 -07:00
ralink phy: constify of_phandle_args in xlate 2024-02-23 17:43:14 +05:30
realtek USB / Thunderbolt (USB4) changes for 6.13-rc1 2024-11-29 11:19:31 -08:00
renesas phy-for-6.16 2025-06-05 08:20:21 -07:00
rockchip phy-for-6.16 2025-06-05 08:20:21 -07:00
samsung phy: exynos-mipi-video: introduce support for exynos7870 2025-06-15 19:39:25 +05:30
socionext phy: constify of_phandle_args in xlate 2024-02-23 17:43:14 +05:30
st phy: drop probe registration printks 2025-06-16 22:54:21 +05:30
starfive phy: starfive: jh7110-usb: Fix USB 2.0 host occasional detection failure 2025-05-14 09:45:12 +01:00
sunplus phy: sunplus: return negative error code in sp_usb_phy_probe 2023-11-27 18:39:18 +05:30
tegra phy-for-6.16 2025-06-05 08:20:21 -07:00
ti phy: drop probe registration printks 2025-06-16 22:54:21 +05:30
xilinx phy-zynqmp: Postpone getting clock rate until actually needed 2025-05-14 09:48:01 +01:00
Kconfig phy: phy-snps-eusb2: add support for exynos2200 2025-05-14 11:43:38 +01:00
Makefile phy: move phy-qcom-snps-eusb2 out of its vendor sub-directory 2025-05-14 11:43:37 +01:00
phy-airoha-pcie-regs.h phy: airoha: Fix REG_CSR_2L_RX{0,1}_REV0 definitions 2024-10-17 20:52:48 +05:30
phy-airoha-pcie.c phy: airoha: Fix REG_CSR_2L_JCPLL_SDM_HREN config in airoha_pcie_phy_init_ssc_jcpll() 2024-10-17 20:52:48 +05:30
phy-can-transceiver.c phy: can-transceiver: Re-instate "mux-states" property presence check 2025-04-11 17:00:15 +05:30
phy-core-mipi-dphy.c
phy-core.c phy: core: Remove unused phy_pm_runtime_(allow|forbid) 2025-03-10 12:58:07 +05:30
phy-lgm-usb.c phy: Switch back to struct platform_driver::remove() 2024-10-17 20:33:03 +05:30
phy-lpc18xx-usb-otg.c
phy-nxp-ptn3222.c phy: add NXP PTN3222 eUSB2 to USB2 redriver 2024-10-17 20:48:27 +05:30
phy-pistachio-usb.c
phy-snps-eusb2.c phy: drop probe registration printks 2025-06-16 22:54:21 +05:30
phy-xgene.c phy: constify of_phandle_args in xlate 2024-02-23 17:43:14 +05:30