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