Skip to content

Commit 1e6f134

Browse files
Sandeep Maheswaramkishon
authored andcommitted
dt-bindings: phy: qcom-qusb2: Add support for overriding Phy tuning parameters
Add support for overriding QUSB2 V2 phy tuning parameters in device tree bindings. Signed-off-by: Sandeep Maheswaram <[email protected]> Reviewed-by: Rob Herring <[email protected]> Reviewed-by: Stephen Boyd <[email protected]> Reviewed-by: Matthias Kaehlcke <[email protected]> Signed-off-by: Kishon Vijay Abraham I <[email protected]>
1 parent 8fe75cd commit 1e6f134

File tree

1 file changed

+31
-1
lines changed

1 file changed

+31
-1
lines changed

Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ if:
7575
properties:
7676
compatible:
7777
contains:
78-
const: qcom,sdm845-qusb2-phy
78+
const: qcom,qusb2-v2-phy
7979
then:
8080
properties:
8181
qcom,imp-res-offset-value:
@@ -89,6 +89,26 @@ then:
8989
maximum: 63
9090
default: 0
9191

92+
qcom,bias-ctrl-value:
93+
description:
94+
It is a 6 bit value that specifies bias-ctrl-value. It is a PHY
95+
tuning parameter that may vary for different boards of same SOC.
96+
allOf:
97+
- $ref: /schemas/types.yaml#/definitions/uint32
98+
- minimum: 0
99+
maximum: 63
100+
default: 0
101+
102+
qcom,charge-ctrl-value:
103+
description:
104+
It is a 2 bit value that specifies charge-ctrl-value. It is a PHY
105+
tuning parameter that may vary for different boards of same SOC.
106+
allOf:
107+
- $ref: /schemas/types.yaml#/definitions/uint32
108+
- minimum: 0
109+
maximum: 3
110+
default: 0
111+
92112
qcom,hstx-trim-value:
93113
description:
94114
It is a 4 bit value that specifies tuning for HSTX
@@ -124,6 +144,16 @@ then:
124144
maximum: 1
125145
default: 0
126146

147+
qcom,hsdisc-trim-value:
148+
description:
149+
It is a 2 bit value tuning parameter that control disconnect
150+
threshold and may vary for different boards of same SOC.
151+
allOf:
152+
- $ref: /schemas/types.yaml#/definitions/uint32
153+
- minimum: 0
154+
maximum: 3
155+
default: 0
156+
127157
required:
128158
- compatible
129159
- reg

0 commit comments

Comments
 (0)