Commit 7325e099 authored by Xu Yang's avatar Xu Yang Committed by Vinod Koul
Browse files

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: default avatarJun Li <jun.li@nxp.com>
Signed-off-by: default avatarXu Yang <xu.yang_2@nxp.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250430094502.2723983-2-xu.yang_2@nxp.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 5b3a91b2
Loading
Loading
Loading
Loading
+31 −3
Original line number Diff line number Diff line
@@ -43,15 +43,15 @@ properties:
  fsl,phy-tx-vref-tune-percent:
    description:
      Tunes the HS DC level relative to the nominal level
    minimum: 94
    minimum: 90
    maximum: 124

  fsl,phy-tx-rise-tune-percent:
    description:
      Adjusts the rise/fall time duration of the HS waveform relative to
      its nominal value
    minimum: 97
    maximum: 103
    minimum: 90
    maximum: 120

  fsl,phy-tx-preemp-amp-tune-microamp:
    description:
@@ -111,6 +111,34 @@ allOf:
        reg:
          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:
      required:
        - orientation-switch