LF-14995-1 dt-bindings: phy: imx8mq-usb: add imx95 tuning support

The parameter value of below 3 properties are USB PHY specific. i.MX8MP
and i.MX95 USB PHY has different meanings. This will enlarge parameters
value and add constraints for them.

 - fsl,phy-tx-vref-tune-percent
 - fsl,phy-tx-rise-tune-percent
 - fsl,phy-comp-dis-tune-percent

Reviewed-by: Jun Li <jun.li@nxp.com>
Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Acked-by: Jason Liu <jason.hui.liu@nxp.com>
This commit is contained in:
Xu Yang 2025-04-29 17:08:19 +08:00 committed by Jason Liu
parent 9437748c78
commit ac2107351a

View File

@ -43,15 +43,15 @@ properties:
fsl,phy-tx-vref-tune-percent: fsl,phy-tx-vref-tune-percent:
description: description:
Tunes the HS DC level relative to the nominal level Tunes the HS DC level relative to the nominal level
minimum: 94 minimum: 90
maximum: 124 maximum: 124
fsl,phy-tx-rise-tune-percent: fsl,phy-tx-rise-tune-percent:
description: description:
Adjusts the rise/fall time duration of the HS waveform relative to Adjusts the rise/fall time duration of the HS waveform relative to
its nominal value its nominal value
minimum: 97 minimum: 90
maximum: 103 maximum: 120
fsl,phy-tx-preemp-amp-tune-microamp: fsl,phy-tx-preemp-amp-tune-microamp:
description: description:
@ -116,6 +116,34 @@ allOf:
reg: reg:
maxItems: 1 maxItems: 1
- if:
properties:
compatible:
enum:
- fsl,imx8mq-usb-phy
- fsl,imx8mp-usb-phy
then:
properties:
fsl,phy-tx-vref-tune-percent:
minimum: 94
fsl,phy-tx-rise-tune-percent:
minimum: 97
maximum: 103
- if:
properties:
compatible:
contains:
enum:
- fsl,imx95-usb-phy
then:
properties:
fsl,phy-tx-vref-tune-percent:
maximum: 108
fsl,phy-comp-dis-tune-percent:
minimum: 94
maximum: 104
- if: - if:
required: required:
- orientation-switch - orientation-switch