Skip to content

Commit 7325e09

Browse files
Xu Yangvinodkoul
authored andcommitted
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 <[email protected]> Signed-off-by: Xu Yang <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 5b3a91b commit 7325e09

File tree

1 file changed

+31
-3
lines changed

1 file changed

+31
-3
lines changed

Documentation/devicetree/bindings/phy/fsl,imx8mq-usb-phy.yaml

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ properties:
4343
fsl,phy-tx-vref-tune-percent:
4444
description:
4545
Tunes the HS DC level relative to the nominal level
46-
minimum: 94
46+
minimum: 90
4747
maximum: 124
4848

4949
fsl,phy-tx-rise-tune-percent:
5050
description:
5151
Adjusts the rise/fall time duration of the HS waveform relative to
5252
its nominal value
53-
minimum: 97
54-
maximum: 103
53+
minimum: 90
54+
maximum: 120
5555

5656
fsl,phy-tx-preemp-amp-tune-microamp:
5757
description:
@@ -111,6 +111,34 @@ allOf:
111111
reg:
112112
maxItems: 1
113113

114+
- if:
115+
properties:
116+
compatible:
117+
enum:
118+
- fsl,imx8mq-usb-phy
119+
- fsl,imx8mp-usb-phy
120+
then:
121+
properties:
122+
fsl,phy-tx-vref-tune-percent:
123+
minimum: 94
124+
fsl,phy-tx-rise-tune-percent:
125+
minimum: 97
126+
maximum: 103
127+
128+
- if:
129+
properties:
130+
compatible:
131+
contains:
132+
enum:
133+
- fsl,imx95-usb-phy
134+
then:
135+
properties:
136+
fsl,phy-tx-vref-tune-percent:
137+
maximum: 108
138+
fsl,phy-comp-dis-tune-percent:
139+
minimum: 94
140+
maximum: 104
141+
114142
- if:
115143
required:
116144
- orientation-switch

0 commit comments

Comments
 (0)