linux/drivers/phy
Johan Hovold 47b412c1ea phy: qcom-qmp-combo: fix type-c switch registration
Due to a long-standing issue in driver core, drivers may not probe defer
after having registered child devices to avoid triggering a probe
deferral loop (see fbc35b45f9 ("Add documentation on meaning of
-EPROBE_DEFER")).

Move registration of the typec switch to after looking up clocks and
other resources.

Note that PHY creation can in theory also trigger a probe deferral when
a 'phy' supply is used. This does not seem to affect the QMP PHY driver
but the PHY subsystem should be reworked to address this (i.e. by
separating initialisation and registration of the PHY).

Fixes: 2851117f8f ("phy: qcom-qmp-combo: Introduce orientation switching")
Cc: stable@vger.kernel.org      # 6.5
Cc: Bjorn Andersson <quic_bjorande@quicinc.com>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Acked-by: Vinod Koul <vkoul@kernel.org>
Acked-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20240217150228.5788-7-johan+linaro@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2024-03-06 20:37:37 +05:30
..
allwinner phy: sun4i-usb: update array size 2023-10-13 15:34:39 +05:30
amlogic
broadcom phy: Use device_get_match_data() 2023-10-13 15:45:40 +05:30
cadence
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
intel
lantiq
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-combo: fix type-c switch registration 2024-03-06 20:37:37 +05:30
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
socionext
st
starfive
sunplus phy: sunplus: return negative error code in sp_usb_phy_probe 2023-11-27 18:39:18 +05:30
tegra
ti phy: ti: phy-omap-usb2: Fix NULL pointer dereference for SRP 2024-01-30 22:41:11 +05:30
xilinx
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