summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/phy/qcom,ipq5332-usb-hsphy.yaml
blob: e77576d06c0e4e560321500e7c641066722ce6cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/phy/qcom,ipq5332-usb-hsphy.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: M31 USB PHY

maintainers:
  - Sricharan Ramabadhran <quic_srichara@quicinc.com>
  - Varadarajan Narayanan <quic_varada@quicinc.com>

description:
  USB M31 PHY (https://www.m31tech.com) found in Qualcomm
  IPQ5018, IPQ5332 SoCs.

properties:
  compatible:
    items:
      - enum:
          - qcom,ipq5018-usb-hsphy
          - qcom,ipq5332-usb-hsphy

  "#phy-cells":
    const: 0

  reg:
    maxItems: 1

  clocks:
    maxItems: 1

  clock-names:
    items:
      - const: cfg_ahb

  resets:
    maxItems: 1

  vdd-supply:
    description:
      Phandle to 5V regulator supply to PHY digital circuit.

additionalProperties: false

examples:
  - |
    #include <dt-bindings/clock/qcom,ipq5332-gcc.h>
    usb-phy@7b000 {
        compatible = "qcom,ipq5332-usb-hsphy";
        reg = <0x0007b000 0x12c>;

        clocks = <&gcc GCC_USB0_PHY_CFG_AHB_CLK>;
        clock-names = "cfg_ahb";

        #phy-cells = <0>;

        resets = <&gcc GCC_QUSB2_0_PHY_BCR>;

        vdd-supply = <&regulator_fixed_5p0>;
    };