[PATCH v3] phy: fsl-imx8mq-usb: Clear the PCS_TX_SWING_FULL field before using it

Fabio Estevam festevam at gmail.com
Fri Dec 19 08:12:23 PST 2025


On Fri, Dec 19, 2025 at 1:09 PM Stefano Radaelli
<stefano.radaelli21 at gmail.com> wrote:
>
> Clear the PCS_TX_SWING_FULL field mask before setting the new value
> in PHY_CTRL5 register. Without clearing the mask first, the OR operation
> could leave previously set bits, resulting in incorrect register
> configuration.
>
> Fixes: 63c85ad0cd81 ("phy: fsl-imx8mp-usb: add support for phy tuning")
> Suggested-by: Leonid Segal <leonids at variscite.com>
> Acked-by: Pierluigi Passaro <pierluigi.p at variscite.com>
> Signed-off-by: Stefano Radaelli <stefano.r at variscite.com>
> Reviewed-by: Xu Yang <xu.yang_2 at nxp.com>
> Reviewed-by: Frank Li <Frank.Li at nxp.com>

Reviewed-by: Fabio Estevam <festevam at gmail.com>



More information about the linux-phy mailing list