xref: /linux/Documentation/devicetree/bindings/phy/qcom,snps-eusb2-repeater.yaml (revision 5f5598d945e2a69f764aa5c2074dad73e23bcfcb)
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,smb2360-eusb2-repeater
26
27  reg:
28    maxItems: 1
29
30  "#phy-cells":
31    const: 0
32
33  vdd18-supply: true
34
35  vdd3-supply: true
36
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
43  qcom,tune-usb2-amplitude:
44    $ref: /schemas/types.yaml#/definitions/uint8
45    description: High-Speed transmit amplitude
46    minimum: 0
47    maximum: 15
48
49  qcom,tune-usb2-preem:
50    $ref: /schemas/types.yaml#/definitions/uint8
51    description: High-Speed TX pre-emphasis tuning
52    minimum: 0
53    maximum: 7
54
55required:
56  - compatible
57  - reg
58  - "#phy-cells"
59
60additionalProperties: false
61
62examples:
63  - |
64    #include <dt-bindings/spmi/spmi.h>
65
66    pmic@7 {
67      reg = <0x7 SPMI_USID>;
68      #address-cells = <1>;
69      #size-cells = <0>;
70
71      pm8550b_eusb2_repeater: phy@fd00 {
72        compatible = "qcom,pm8550b-eusb2-repeater";
73        reg = <0xfd00>;
74        #phy-cells = <0>;
75      };
76    };
77...
78