xref: /linux/Documentation/devicetree/bindings/phy/qcom,snps-eusb2-repeater.yaml (revision a0efa2f362a69e47b9d8b48f770ef3a0249a7911)
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    default: 0
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    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
58required:
59  - compatible
60  - reg
61  - "#phy-cells"
62
63additionalProperties: false
64
65examples:
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...
81