xref: /linux/Documentation/devicetree/bindings/clock/qcom,sm8550-tcsr.yaml (revision db4a3f0fbedb0398f77b9047e8b8bb2b49f355bb)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/qcom,sm8550-tcsr.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm TCSR Clock Controller on SM8550
8
9maintainers:
10  - Bjorn Andersson <andersson@kernel.org>
11  - Taniya Das <taniya.das@oss.qualcomm.com>
12
13description: |
14  Qualcomm TCSR clock control module provides the clocks, resets and
15  power domains on SM8550
16
17  See also:
18  - include/dt-bindings/clock/qcom,glymur-tcsr.h
19  - include/dt-bindings/clock/qcom,sm8550-tcsr.h
20  - include/dt-bindings/clock/qcom,sm8650-tcsr.h
21  - include/dt-bindings/clock/qcom,sm8750-tcsr.h
22
23properties:
24  compatible:
25    items:
26      - enum:
27          - qcom,glymur-tcsr
28          - qcom,milos-tcsr
29          - qcom,sar2130p-tcsr
30          - qcom,sm8550-tcsr
31          - qcom,sm8650-tcsr
32          - qcom,sm8750-tcsr
33          - qcom,x1e80100-tcsr
34      - const: syscon
35
36  clocks:
37    items:
38      - description: TCXO pad clock
39
40  reg:
41    maxItems: 1
42
43  '#clock-cells':
44    const: 1
45
46  '#reset-cells':
47    const: 1
48
49required:
50  - compatible
51  - clocks
52
53additionalProperties: false
54
55examples:
56  - |
57    #include <dt-bindings/clock/qcom,rpmh.h>
58
59    clock-controller@1fc0000 {
60      compatible = "qcom,sm8550-tcsr", "syscon";
61      reg = <0x1fc0000 0x30000>;
62      clocks = <&rpmhcc RPMH_CXO_CLK>;
63      #clock-cells = <1>;
64      #reset-cells = <1>;
65    };
66
67...
68