xref: /linux/Documentation/devicetree/bindings/clock/qcom,sc7280-camcc.yaml (revision 4b660dbd9ee2059850fd30e0df420ca7a38a1856)
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,sc7280-camcc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Camera Clock & Reset Controller on SC7280
8
9maintainers:
10  - Taniya Das <quic_tdas@quicinc.com>
11
12description: |
13  Qualcomm camera clock control module provides the clocks, resets and
14  power domains on SC7280.
15
16  See also:: include/dt-bindings/clock/qcom,camcc-sc7280.h
17
18allOf:
19  - $ref: qcom,gcc.yaml#
20
21properties:
22  compatible:
23    const: qcom,sc7280-camcc
24
25  clocks:
26    items:
27      - description: Board XO source
28      - description: Board XO active source
29      - description: Sleep clock source
30
31  clock-names:
32    items:
33      - const: bi_tcxo
34      - const: bi_tcxo_ao
35      - const: sleep_clk
36
37  reg:
38    maxItems: 1
39
40required:
41  - compatible
42  - clocks
43  - clock-names
44
45unevaluatedProperties: false
46
47examples:
48  - |
49    #include <dt-bindings/clock/qcom,rpmh.h>
50    clock-controller@ad00000 {
51      compatible = "qcom,sc7280-camcc";
52      reg = <0x0ad00000 0x10000>;
53      clocks = <&rpmhcc RPMH_CXO_CLK>,
54               <&rpmhcc RPMH_CXO_CLK_A>,
55               <&sleep_clk>;
56      clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk";
57      #clock-cells = <1>;
58      #reset-cells = <1>;
59      #power-domain-cells = <1>;
60    };
61...
62