smb: client: Fix minor whitespace errors and warnings
[linux-modified.git] / Documentation / devicetree / bindings / phy / qcom,snps-eusb2-phy.yaml
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-phy.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Qualcomm SNPS eUSB2 phy controller
8
9 maintainers:
10   - Abel Vesa <abel.vesa@linaro.org>
11
12 description:
13   eUSB2 controller supports LS/FS/HS usb connectivity on Qualcomm chipsets.
14
15 properties:
16   compatible:
17     oneOf:
18       - items:
19           - enum:
20               - qcom,sdx75-snps-eusb2-phy
21           - const: qcom,sm8550-snps-eusb2-phy
22       - const: qcom,sm8550-snps-eusb2-phy
23
24   reg:
25     maxItems: 1
26
27   "#phy-cells":
28     const: 0
29
30   clocks:
31     items:
32       - description: ref
33
34   clock-names:
35     items:
36       - const: ref
37
38   resets:
39     maxItems: 1
40
41   phys:
42     maxItems: 1
43     description:
44       Phandle to eUSB2 to USB 2.0 repeater
45
46   vdd-supply:
47     description:
48       Phandle to 0.88V regulator supply to PHY digital circuit.
49
50   vdda12-supply:
51     description:
52       Phandle to 1.2V regulator supply to PHY refclk pll block.
53
54 required:
55   - compatible
56   - reg
57   - "#phy-cells"
58   - clocks
59   - clock-names
60   - vdd-supply
61   - vdda12-supply
62   - resets
63
64 additionalProperties: false
65
66 examples:
67   - |
68     #include <dt-bindings/clock/qcom,sm8550-gcc.h>
69     #include <dt-bindings/clock/qcom,rpmh.h>
70     #include <dt-bindings/clock/qcom,sm8550-tcsr.h>
71
72     usb_1_hsphy: phy@88e3000 {
73         compatible = "qcom,sm8550-snps-eusb2-phy";
74         reg = <0x88e3000 0x154>;
75         #phy-cells = <0>;
76
77         clocks = <&tcsrcc TCSR_USB2_CLKREF_EN>;
78         clock-names = "ref";
79
80         vdd-supply = <&vreg_l1e_0p88>;
81         vdda12-supply = <&vreg_l3e_1p2>;
82
83         resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
84     };