xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,gcc-msm8916.yaml (revision 1d386b48a555f61cb7325543adbbb5c3f3407a66)
1# SPDX-License-Identifier: GPL-2.0-only
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/qcom,gcc-msm8916.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Global Clock & Reset Controller on MSM8916 and MSM8939
8
9maintainers:
10  - Stephen Boyd <sboyd@kernel.org>
11  - Taniya Das <quic_tdas@quicinc.com>
12
13description: |
14  Qualcomm global clock control module provides the clocks, resets and power
15  domains on MSM8916 or MSM8939.
16
17  See also::
18    include/dt-bindings/clock/qcom,gcc-msm8916.h
19    include/dt-bindings/clock/qcom,gcc-msm8939.h
20    include/dt-bindings/reset/qcom,gcc-msm8916.h
21    include/dt-bindings/reset/qcom,gcc-msm8939.h
22
23properties:
24  compatible:
25    enum:
26      - qcom,gcc-msm8916
27      - qcom,gcc-msm8939
28
29  clocks:
30    items:
31      - description: XO source
32      - description: Sleep clock source
33      - description: DSI phy instance 0 dsi clock
34      - description: DSI phy instance 0 byte clock
35      - description: External MCLK clock
36      - description: External Primary I2S clock
37      - description: External Secondary I2S clock
38
39  clock-names:
40    items:
41      - const: xo
42      - const: sleep_clk
43      - const: dsi0pll
44      - const: dsi0pllbyte
45      - const: ext_mclk
46      - const: ext_pri_i2s
47      - const: ext_sec_i2s
48
49required:
50  - compatible
51
52allOf:
53  - $ref: qcom,gcc.yaml#
54
55unevaluatedProperties: false
56
57examples:
58  - |
59    clock-controller@300000 {
60      compatible = "qcom,gcc-msm8916";
61      #clock-cells = <1>;
62      #reset-cells = <1>;
63      #power-domain-cells = <1>;
64      reg = <0x300000 0x90000>;
65    };
66...
67