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