]> www.infradead.org Git - users/jedix/linux-maple.git/commit
phy: fsl-imx8mq-usb: fix phy_tx_vboost_level_from_property()
authorXu Yang <xu.yang_2@nxp.com>
Wed, 30 Apr 2025 09:45:01 +0000 (17:45 +0800)
committerVinod Koul <vkoul@kernel.org>
Wed, 14 May 2025 10:16:04 +0000 (11:16 +0100)
commitb15ee09ddb987a122e74fb0fdf1bd6e864959fd3
treebc371992155c5864b0cd8ef7c571daeb039342da
parent7325e0995f414af1cfa38be965dc47248cb4ec45
phy: fsl-imx8mq-usb: fix phy_tx_vboost_level_from_property()

The description of TX_VBOOST_LVL is wrong in register PHY_CTRL3
bit[31:29].

The updated description as below:
  011: Corresponds to a launch amplitude of 0.844 V.
  100: Corresponds to a launch amplitude of 1.008 V.
  101: Corresponds to a launch amplitude of 1.156 V.

This will fix the parsing function
phy_tx_vboost_level_from_property() to return correct value.

Fixes: 63c85ad0cd81 ("phy: fsl-imx8mp-usb: add support for phy tuning")
Cc: stable@vger.kernel.org
Reviewed-by: Jun Li <jun.li@nxp.com>
Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Link: https://lore.kernel.org/r/20250430094502.2723983-3-xu.yang_2@nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/freescale/phy-fsl-imx8mq-usb.c