xref: /linux/Documentation/devicetree/bindings/phy/qcom,snps-eusb2-repeater.yaml (revision db4a3f0fbedb0398f77b9047e8b8bb2b49f355bb)
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
7title: Qualcomm Synopsis eUSB2 to USB 2.0 repeater
8
9maintainers:
10  - Abel Vesa <abel.vesa@linaro.org>
11
12description:
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
16properties:
17  compatible:
18    oneOf:
19      - items:
20          - enum:
21              - qcom,pm7550ba-eusb2-repeater
22          - const: qcom,pm8550b-eusb2-repeater
23      - enum:
24          - qcom,pm8550b-eusb2-repeater
25          - qcom,pmiv0104-eusb2-repeater
26          - qcom,smb2360-eusb2-repeater
27
28  reg:
29    maxItems: 1
30
31  "#phy-cells":
32    const: 0
33
34  vdd18-supply: true
35
36  vdd3-supply: true
37
38  qcom,tune-usb2-disc-thres:
39    $ref: /schemas/types.yaml#/definitions/uint8
40    description: High-Speed disconnect threshold
41    minimum: 0
42    maximum: 7
43
44  qcom,tune-usb2-amplitude:
45    $ref: /schemas/types.yaml#/definitions/uint8
46    description: High-Speed transmit amplitude
47    minimum: 0
48    maximum: 15
49
50  qcom,tune-usb2-preem:
51    $ref: /schemas/types.yaml#/definitions/uint8
52    description: High-Speed TX pre-emphasis tuning
53    minimum: 0
54    maximum: 7
55
56  qcom,tune-res-fsdif:
57    $ref: /schemas/types.yaml#/definitions/uint8
58    description: FS Differential TX Output Resistance Tuning
59    minimum: 0
60    maximum: 7
61
62required:
63  - compatible
64  - reg
65  - "#phy-cells"
66
67additionalProperties: false
68
69examples:
70  - |
71    #include <dt-bindings/spmi/spmi.h>
72
73    pmic@7 {
74      reg = <0x7 SPMI_USID>;
75      #address-cells = <1>;
76      #size-cells = <0>;
77
78      pm8550b_eusb2_repeater: phy@fd00 {
79        compatible = "qcom,pm8550b-eusb2-repeater";
80        reg = <0xfd00>;
81        #phy-cells = <0>;
82      };
83    };
84...
85