Re: [PATCH v2] phy: fsl-imx8mq-usb: fix typec orientation switch when built as module
From: Francesco Dolcini
Date: Tue Dec 23 2025 - 03:37:39 EST
Hello Vinod,
On Wed, Nov 26, 2025 at 03:01:33PM +0100, Franz Schnyder wrote:
> From: Franz Schnyder <franz.schnyder@xxxxxxxxxxx>
>
> 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
> 45fe729be9a6 ("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: b58f0f86fd61 ("phy: fsl-imx8mq-usb: add tca function driver for imx95")
> Cc: stable@xxxxxxxxxxxxxxx
> Suggested-by: Xu Yang <xu.yang_2@xxxxxxx>
> Signed-off-by: Franz Schnyder <franz.schnyder@xxxxxxxxxxx>
Just a gentle ping on this.
Thanks,
Francesco