Skip to content

Commit

Permalink
dt-bindings: phy: qcom-qusb2: Add support for overriding Phy tuning p…
Browse files Browse the repository at this point in the history
…arameters

Add support for overriding QUSB2 V2 phy tuning parameters
in device tree bindings.

Signed-off-by: Sandeep Maheswaram <sanm@codeaurora.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
  • Loading branch information
Sandeep Maheswaram authored and Kishon Vijay Abraham I committed Mar 20, 2020
1 parent 8fe75cd commit 1e6f134
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ if:
properties:
compatible:
contains:
const: qcom,sdm845-qusb2-phy
const: qcom,qusb2-v2-phy
then:
properties:
qcom,imp-res-offset-value:
Expand All @@ -89,6 +89,26 @@ then:
maximum: 63
default: 0

qcom,bias-ctrl-value:
description:
It is a 6 bit value that specifies bias-ctrl-value. It is a PHY
tuning parameter that may vary for different boards of same SOC.
allOf:
- $ref: /schemas/types.yaml#/definitions/uint32
- minimum: 0
maximum: 63
default: 0

qcom,charge-ctrl-value:
description:
It is a 2 bit value that specifies charge-ctrl-value. It is a PHY
tuning parameter that may vary for different boards of same SOC.
allOf:
- $ref: /schemas/types.yaml#/definitions/uint32
- minimum: 0
maximum: 3
default: 0

qcom,hstx-trim-value:
description:
It is a 4 bit value that specifies tuning for HSTX
Expand Down Expand Up @@ -124,6 +144,16 @@ then:
maximum: 1
default: 0

qcom,hsdisc-trim-value:
description:
It is a 2 bit value tuning parameter that control disconnect
threshold and may vary for different boards of same SOC.
allOf:
- $ref: /schemas/types.yaml#/definitions/uint32
- minimum: 0
maximum: 3
default: 0

required:
- compatible
- reg
Expand Down

0 comments on commit 1e6f134

Please sign in to comment.