xref: /freebsd/sys/contrib/device-tree/Bindings/phy/qcom,usb-hsic-phy.yaml (revision cb7aa33ac6cd46a5434798e50363136e64f3ae98)
1*cb7aa33aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*cb7aa33aSEmmanuel Vadot%YAML 1.2
3*cb7aa33aSEmmanuel Vadot---
4*cb7aa33aSEmmanuel Vadot$id: http://devicetree.org/schemas/phy/qcom,usb-hsic-phy.yaml#
5*cb7aa33aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*cb7aa33aSEmmanuel Vadot
7*cb7aa33aSEmmanuel Vadottitle: Qualcomm USB HSIC PHY Controller
8*cb7aa33aSEmmanuel Vadot
9*cb7aa33aSEmmanuel Vadotmaintainers:
10*cb7aa33aSEmmanuel Vadot  - Bjorn Andersson <andersson@kernel.org>
11*cb7aa33aSEmmanuel Vadot  - Vinod Koul <vkoul@kernel.org>
12*cb7aa33aSEmmanuel Vadot
13*cb7aa33aSEmmanuel Vadotproperties:
14*cb7aa33aSEmmanuel Vadot  compatible:
15*cb7aa33aSEmmanuel Vadot    items:
16*cb7aa33aSEmmanuel Vadot      - enum:
17*cb7aa33aSEmmanuel Vadot          - qcom,usb-hsic-phy-mdm9615
18*cb7aa33aSEmmanuel Vadot          - qcom,usb-hsic-phy-msm8974
19*cb7aa33aSEmmanuel Vadot      - const: qcom,usb-hsic-phy
20*cb7aa33aSEmmanuel Vadot
21*cb7aa33aSEmmanuel Vadot  clocks:
22*cb7aa33aSEmmanuel Vadot    maxItems: 3
23*cb7aa33aSEmmanuel Vadot
24*cb7aa33aSEmmanuel Vadot  clock-names:
25*cb7aa33aSEmmanuel Vadot    items:
26*cb7aa33aSEmmanuel Vadot      - const: phy
27*cb7aa33aSEmmanuel Vadot      - const: cal
28*cb7aa33aSEmmanuel Vadot      - const: cal_sleep
29*cb7aa33aSEmmanuel Vadot
30*cb7aa33aSEmmanuel Vadot  "#phy-cells":
31*cb7aa33aSEmmanuel Vadot    const: 0
32*cb7aa33aSEmmanuel Vadot
33*cb7aa33aSEmmanuel Vadot  pinctrl-0: true
34*cb7aa33aSEmmanuel Vadot  pinctrl-1: true
35*cb7aa33aSEmmanuel Vadot
36*cb7aa33aSEmmanuel Vadot  pinctrl-names:
37*cb7aa33aSEmmanuel Vadot    items:
38*cb7aa33aSEmmanuel Vadot      - const: init
39*cb7aa33aSEmmanuel Vadot      - const: default
40*cb7aa33aSEmmanuel Vadot
41*cb7aa33aSEmmanuel Vadotrequired:
42*cb7aa33aSEmmanuel Vadot  - compatible
43*cb7aa33aSEmmanuel Vadot  - clocks
44*cb7aa33aSEmmanuel Vadot  - clock-names
45*cb7aa33aSEmmanuel Vadot  - "#phy-cells"
46*cb7aa33aSEmmanuel Vadot  - pinctrl-0
47*cb7aa33aSEmmanuel Vadot  - pinctrl-1
48*cb7aa33aSEmmanuel Vadot  - pinctrl-names
49*cb7aa33aSEmmanuel Vadot
50*cb7aa33aSEmmanuel VadotadditionalProperties: false
51*cb7aa33aSEmmanuel Vadot
52*cb7aa33aSEmmanuel Vadotexamples:
53*cb7aa33aSEmmanuel Vadot  - |
54*cb7aa33aSEmmanuel Vadot    #include <dt-bindings/clock/qcom,gcc-msm8974.h>
55*cb7aa33aSEmmanuel Vadot
56*cb7aa33aSEmmanuel Vadot    phy {
57*cb7aa33aSEmmanuel Vadot        compatible = "qcom,usb-hsic-phy-msm8974",
58*cb7aa33aSEmmanuel Vadot                     "qcom,usb-hsic-phy";
59*cb7aa33aSEmmanuel Vadot        clocks = <&gcc GCC_USB_HSIC_CLK>,
60*cb7aa33aSEmmanuel Vadot                 <&gcc GCC_USB_HSIC_IO_CAL_CLK>,
61*cb7aa33aSEmmanuel Vadot                 <&gcc GCC_USB_HSIC_IO_CAL_SLEEP_CLK>;
62*cb7aa33aSEmmanuel Vadot        clock-names = "phy", "cal", "cal_sleep";
63*cb7aa33aSEmmanuel Vadot        #phy-cells = <0>;
64*cb7aa33aSEmmanuel Vadot        pinctrl-names = "init", "default";
65*cb7aa33aSEmmanuel Vadot        pinctrl-0 = <&hsic_sleep>;
66*cb7aa33aSEmmanuel Vadot        pinctrl-1 = <&hsic_default>;
67*cb7aa33aSEmmanuel Vadot    };
68