]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
phy: fsl-imx8mq-usb: fix tuning parameter name
authorXu Yang <xu.yang_2@nxp.com>
Thu, 1 Aug 2024 12:46:42 +0000 (20:46 +0800)
committerVinod Koul <vkoul@kernel.org>
Sun, 4 Aug 2024 16:42:26 +0000 (22:12 +0530)
According to fsl,imx8mq-usb-phy.yaml, this tuning parameter should be
fsl,phy-pcs-tx-deemph-3p5db-attenuation-db.

Fixes: 63c85ad0cd81 ("phy: fsl-imx8mp-usb: add support for phy tuning")
Cc: stable@vger.kernel.org
Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Link: https://lore.kernel.org/r/20240801124642.1152838-1-xu.yang_2@nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/freescale/phy-fsl-imx8mq-usb.c

index 0b9a59d5b8f023a698d0a0078274d18d17c9a36e..adc6394626ce83df17d1859f98a0a213614515a4 100644 (file)
@@ -176,7 +176,7 @@ static void imx8m_get_phy_tuning_data(struct imx8mq_usb_phy *imx_phy)
                imx_phy->comp_dis_tune =
                        phy_comp_dis_tune_from_property(imx_phy->comp_dis_tune);
 
-       if (device_property_read_u32(dev, "fsl,pcs-tx-deemph-3p5db-attenuation-db",
+       if (device_property_read_u32(dev, "fsl,phy-pcs-tx-deemph-3p5db-attenuation-db",
                                     &imx_phy->pcs_tx_deemph_3p5db))
                imx_phy->pcs_tx_deemph_3p5db = PHY_TUNE_DEFAULT;
        else