phy: fsl-imx8mq-usb: fix tuning parameter name
Subsystems (2)
PATCH v2 1/1 phy: fsl-imx8mq-usb: fix tuning parameter name
According to fsl,imx8mq-usb-phy.yaml, this tuning parameter should be fsl,phy-pcs-tx-deemph-3p5db-attenuation-db.
---
Changes in v2:
- add fixes
--- drivers/phy/freescale/phy-fsl-imx8mq-usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/phy/freescale/phy-fsl-imx8mq-usb.c +1 -1
@@ -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
Signature · 7 lines
2.34.1 -- linux-phy mailing list [email protected] https://lists.infradead.org/mailman/listinfo/linux-phy
Hi,
Am Donnerstag, 1. August 2024, 13:01:36 CEST schrieb Xu Yang:
Quoted 4 lines
According to fsl,imx8mq-usb-phy.yaml, this tuning parameter should be fsl,phy-pcs-tx-deemph-3p5db-attenuation-db.
Fixes c971874a89e1 ("phy: fsl-imx8mq-usb: fix tuning parameter name")
Maybe you accidently selected the wrong commit here. I think this should be
Best regards,
Alexander
Quoted 24 lines
Signed-off-by Xu Yang <[email protected]>---
Changes in v2:
- add fixes--- drivers/phy/freescale/phy-fsl-imx8mq-usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/phy/freescale/phy-fsl-imx8mq-usb.c +1
-1@@ -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
Signature · 4 lines
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany Amtsgericht München, HRB 105018 Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider http://www.tq-group.com/
Quoted 10 lines · Alexander Stein
Hi,
Am Donnerstag, 1. August 2024, 13:01:36 CEST schrieb Xu Yang:
Quoted 4 lines
According to fsl,imx8mq-usb-phy.yaml, this tuning parameter should be fsl,phy-pcs-tx-deemph-3p5db-attenuation-db.
Fixes c971874a89e1 ("phy: fsl-imx8mq-usb: fix tuning parameter name")Maybe you accidently selected the wrong commit here. I think this should be
Fixes 63c85ad0cd811 ("phy: fsl-imx8mp-usb: add support for phy tuning")
Thank you! I find the commit but wrongly paste another one.
Best Regards,
Xu Yang
Quoted 37 lines
Best regards,
AlexanderQuoted 24 lines
Signed-off-by Xu Yang <[email protected]>---
Changes in v2:
- add fixes--- drivers/phy/freescale/phy-fsl-imx8mq-usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/phy/freescale/phy-fsl-imx8mq-usb.c +1
-1@@ -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 Signature · 4 lines
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany Amtsgericht München, HRB 105018 Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider http://www.tq-group.com/