Skip to contentSkip to conversation

phy: fsl-imx8mq-usb: fix tuning parameter name

PATCH Applied Xu Yang 3 participants 3 messages Aug 1, 2024 – Aug 4, 2024

Subsystems (2)
lore
Share & tools
lore

Xu Yang

author
#0 lore raw

PATCH v3 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.

Fixes 63c85ad0cd81 ("phy: fsl-imx8mp-usb: add support for phy tuning")

---
Changes in v2:
- add fixes
Changes in v3:
- correct fixes commit

---
 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
index 0b9a59d5b8f0..adc6394626ce 100644
@@ -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 · 1 line
2.34.1
Reviewed-by on v3 1/1
#1 lore raw

Hi,

Am Donnerstag, 1. August 2024, 14:46:42 CEST schrieb Xu Yang:

Quoted 6 lines

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")

Look good to me:

Quoted 23 lines

---
Changes in v2:
- add fixes
Changes in v3:
- correct fixes commit

---
 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
index 0b9a59d5b8f0..adc6394626ce 100644
@@ -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/
maintainer Applied
#2 lore raw
In reply to Xu Yang
Quoted 4 lines · Xu Yang

According to fsl,imx8mq-usb-phy.yaml, this tuning parameter should be fsl,phy-pcs-tx-deemph-3p5db-attenuation-db.

Applied, thanks!

[1/1] phy: fsl-imx8mq-usb: fix tuning parameter name

      commit: ce52c2532299c7ccfd34a52db8d071e890a78c59

Best regards,

Signature · 1 line
Vinod Koul <[email protected]>