linux/drivers/phy/freescale
Franz Schnyder b74edae2a0 phy: fsl-imx8mq-usb: fix typec orientation switch when built as module
commit 49ccab4bed upstream.

Currently, the PHY only registers the typec orientation switch when it
is built in. If the typec driver is built as a module, the switch
registration is skipped due to the preprocessor condition, causing
orientation detection to fail.

With commit
45fe729be9 ("usb: typec: Stub out typec_switch APIs when CONFIG_TYPEC=n")
the preprocessor condition is not needed anymore and the orientation
switch is correctly registered for both built-in and module builds.

Fixes: b58f0f86fd ("phy: fsl-imx8mq-usb: add tca function driver for imx95")
Cc: stable@vger.kernel.org
Suggested-by: Xu Yang <xu.yang_2@nxp.com>
Signed-off-by: Franz Schnyder <franz.schnyder@toradex.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Xu Yang <xu.yang_2@nxp.com>
Link: https://patch.msgid.link/20251126140136.1202241-1-fra.schnyder@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2026-01-23 11:21:26 +01:00
..
Kconfig phy: fsl-imx8mq-usb: add tca function driver for imx95 2025-02-14 17:56:12 +05:30
Makefile phy: freescale: imx8qm-hsio: Add i.MX8QM HSIO PHY driver support 2024-06-15 17:52:01 +05:30
phy-fsl-imx8-mipi-dphy.c phy: freescale: phy-fsl-imx8-mipi-dphy: Fix alias name to use dashes 2024-02-07 11:19:40 +01:00
phy-fsl-imx8m-pcie.c phy: freescale: imx8m-pcie: assert phy reset during power on 2026-01-23 11:21:26 +01:00
phy-fsl-imx8mq-usb.c phy: fsl-imx8mq-usb: fix typec orientation switch when built as module 2026-01-23 11:21:26 +01:00
phy-fsl-imx8qm-hsio.c phy: freescale: Initialize priv->lock 2025-12-18 14:03:08 +01:00
phy-fsl-imx8qm-lvds-phy.c phy: Switch back to struct platform_driver::remove() 2024-10-17 20:33:03 +05:30
phy-fsl-lynx-28g.c phy: lynx-28g: check return value when calling lynx_28g_pll_get 2025-09-01 18:20:41 +05:30
phy-fsl-samsung-hdmi.c phy: freescale: fsl-samsung-hdmi: Improve LUT search for best clock 2025-05-14 12:15:51 +01:00