Commit | Line | Data |
---|---|---|
f990aae9 AV |
1 | # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) |
2 | %YAML 1.2 | |
3 | --- | |
4 | $id: http://devicetree.org/schemas/phy/qcom,snps-eusb2-repeater.yaml# | |
5 | $schema: http://devicetree.org/meta-schemas/core.yaml# | |
6 | ||
7 | title: Qualcomm Synopsis eUSB2 to USB 2.0 repeater | |
8 | ||
9 | maintainers: | |
10 | - Abel Vesa <abel.vesa@linaro.org> | |
11 | ||
12 | description: | |
13 | eUSB2 repeater converts between eUSB2 and USB 2.0 signaling levels and | |
14 | allows a eUSB2 PHY to connect to legacy USB 2.0 products | |
15 | ||
16 | properties: | |
17 | compatible: | |
aff76253 RA |
18 | oneOf: |
19 | - items: | |
20 | - enum: | |
21 | - qcom,pm7550ba-eusb2-repeater | |
22 | - const: qcom,pm8550b-eusb2-repeater | |
f8d27a7e AV |
23 | - enum: |
24 | - qcom,pm8550b-eusb2-repeater | |
25 | - qcom,smb2360-eusb2-repeater | |
f990aae9 AV |
26 | |
27 | reg: | |
28 | maxItems: 1 | |
29 | ||
30 | "#phy-cells": | |
31 | const: 0 | |
32 | ||
33 | vdd18-supply: true | |
34 | ||
35 | vdd3-supply: true | |
36 | ||
c20b59b2 KD |
37 | qcom,tune-usb2-disc-thres: |
38 | $ref: /schemas/types.yaml#/definitions/uint8 | |
39 | description: High-Speed disconnect threshold | |
40 | minimum: 0 | |
41 | maximum: 7 | |
42 | default: 0 | |
43 | ||
44 | qcom,tune-usb2-amplitude: | |
45 | $ref: /schemas/types.yaml#/definitions/uint8 | |
46 | description: High-Speed trasmit amplitude | |
47 | minimum: 0 | |
48 | maximum: 15 | |
49 | default: 8 | |
50 | ||
51 | qcom,tune-usb2-preem: | |
52 | $ref: /schemas/types.yaml#/definitions/uint8 | |
53 | description: High-Speed TX pre-emphasis tuning | |
54 | minimum: 0 | |
55 | maximum: 7 | |
56 | default: 5 | |
57 | ||
f990aae9 AV |
58 | required: |
59 | - compatible | |
60 | - reg | |
61 | - "#phy-cells" | |
62 | ||
63 | additionalProperties: false | |
64 | ||
65 | examples: | |
66 | - | | |
67 | #include <dt-bindings/spmi/spmi.h> | |
68 | ||
69 | pmic@7 { | |
70 | reg = <0x7 SPMI_USID>; | |
71 | #address-cells = <1>; | |
72 | #size-cells = <0>; | |
73 | ||
74 | pm8550b_eusb2_repeater: phy@fd00 { | |
75 | compatible = "qcom,pm8550b-eusb2-repeater"; | |
76 | reg = <0xfd00>; | |
77 | #phy-cells = <0>; | |
78 | }; | |
79 | }; | |
80 | ... |