[PATCH] dt-bindings: phy: imx8mq-usb: Drop ref for fsl,phy-pcs-tx-deemph-3p5db-attenuation-db

Peng Fan posted 1 patch 2 months, 2 weeks ago
Documentation/devicetree/bindings/phy/fsl,imx8mq-usb-phy.yaml | 1 -
1 file changed, 1 deletion(-)
[PATCH] dt-bindings: phy: imx8mq-usb: Drop ref for fsl,phy-pcs-tx-deemph-3p5db-attenuation-db
Posted by Peng Fan 2 months, 2 weeks ago
Address the device tree check warning: "phy@4c1f0040 (fsl,imx95-usb-phy):
fsl,phy-pcs-tx-deemph-3p5db-attenuation-db: 17 is not of type 'array'"

And dt_binding_check reports:
properties:fsl,phy-pcs-tx-deemph-3p5db-attenuation-db: '$ref' should not be
valid under {'const': '$ref'}
hint: Standard unit suffix properties don't need a type $ref

So remove ref for fsl,phy-pcs-tx-deemph-3p5db-attenuation-db.

Fixes: 04c9dd9c7d19 ("arm64: dts: imx95-evk: add USB3 PHY tuning properties")
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 Documentation/devicetree/bindings/phy/fsl,imx8mq-usb-phy.yaml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/phy/fsl,imx8mq-usb-phy.yaml b/Documentation/devicetree/bindings/phy/fsl,imx8mq-usb-phy.yaml
index 22dd91591a09..6a47e08e0e97 100644
--- a/Documentation/devicetree/bindings/phy/fsl,imx8mq-usb-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/fsl,imx8mq-usb-phy.yaml
@@ -76,7 +76,6 @@ properties:
     description:
       Adjust TX de-emphasis attenuation in dB at nominal
       3.5dB point as per USB specification
-    $ref: /schemas/types.yaml#/definitions/uint32
     minimum: 0
     maximum: 36
 
-- 
2.37.1
Re: [PATCH] dt-bindings: phy: imx8mq-usb: Drop ref for fsl,phy-pcs-tx-deemph-3p5db-attenuation-db
Posted by Krzysztof Kozlowski 2 months, 2 weeks ago
On Mon, Jul 21, 2025 at 02:54:24PM +0800, Peng Fan wrote:
> Address the device tree check warning: "phy@4c1f0040 (fsl,imx95-usb-phy):
> fsl,phy-pcs-tx-deemph-3p5db-attenuation-db: 17 is not of type 'array'"
> 
> And dt_binding_check reports:
> properties:fsl,phy-pcs-tx-deemph-3p5db-attenuation-db: '$ref' should not be
> valid under {'const': '$ref'}
> hint: Standard unit suffix properties don't need a type $ref
> 

I already sent it, since I did the change in dtschema...

https://lore.kernel.org/linux-devicetree/20250627-dt-bindings-db-v1-2-d5c7072acbee@linaro.org/

Best regards,
Krzysztof
Re: [PATCH] dt-bindings: phy: imx8mq-usb: Drop ref for fsl,phy-pcs-tx-deemph-3p5db-attenuation-db
Posted by Peng Fan 2 months, 2 weeks ago
On Mon, Jul 21, 2025 at 11:39:11AM +0200, Krzysztof Kozlowski wrote:
>On Mon, Jul 21, 2025 at 02:54:24PM +0800, Peng Fan wrote:
>> Address the device tree check warning: "phy@4c1f0040 (fsl,imx95-usb-phy):
>> fsl,phy-pcs-tx-deemph-3p5db-attenuation-db: 17 is not of type 'array'"
>> 
>> And dt_binding_check reports:
>> properties:fsl,phy-pcs-tx-deemph-3p5db-attenuation-db: '$ref' should not be
>> valid under {'const': '$ref'}
>> hint: Standard unit suffix properties don't need a type $ref
>> 
>
>I already sent it, since I did the change in dtschema...
>
>https://lore.kernel.org/linux-devicetree/20250627-dt-bindings-db-v1-2-d5c7072acbee@linaro.org/

Thanks for letting me know, then drop my patch.

Thanks,
Peng

>
>Best regards,
>Krzysztof
>