blob: 24c733c10e0e92d36fdffe78ec140dde68e1ef4d [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# 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 - const: qcom,pm8550b-eusb2-repeater
24
25 reg:
26 maxItems: 1
27
28 "#phy-cells":
29 const: 0
30
31 vdd18-supply: true
32
33 vdd3-supply: true
34
35 qcom,tune-usb2-disc-thres:
36 $ref: /schemas/types.yaml#/definitions/uint8
37 description: High-Speed disconnect threshold
38 minimum: 0
39 maximum: 7
40 default: 0
41
42 qcom,tune-usb2-amplitude:
43 $ref: /schemas/types.yaml#/definitions/uint8
44 description: High-Speed trasmit amplitude
45 minimum: 0
46 maximum: 15
47 default: 8
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 default: 5
55
56required:
57 - compatible
58 - reg
59 - "#phy-cells"
60
61additionalProperties: false
62
63examples:
64 - |
65 #include <dt-bindings/spmi/spmi.h>
66
67 pmic@7 {
68 reg = <0x7 SPMI_USID>;
69 #address-cells = <1>;
70 #size-cells = <0>;
71
72 pm8550b_eusb2_repeater: phy@fd00 {
73 compatible = "qcom,pm8550b-eusb2-repeater";
74 reg = <0xfd00>;
75 #phy-cells = <0>;
76 };
77 };
78...