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,camcc-sm8250.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Camera Clock & Reset Controller Binding for SM8250
8
9maintainers:
10  - Jonathan Marek <jonathan@marek.ca>
11
12description: |
13  Qualcomm camera clock control module which supports the clocks, resets and
14  power domains on SM8250.
15
16  See also dt-bindings/clock/qcom,camcc-sm8250.h
17
18properties:
19  compatible:
20    const: qcom,sm8250-camcc
21
22  clocks:
23    items:
24      - description: Board XO source
25      - description: Sleep clock source
26
27  clock-names:
28    items:
29      - const: bi_tcxo
30      - const: sleep_clk
31
32  '#clock-cells':
33    const: 1
34
35  '#reset-cells':
36    const: 1
37
38  '#power-domain-cells':
39    const: 1
40
41  reg:
42    maxItems: 1
43
44required:
45  - compatible
46  - reg
47  - clocks
48  - clock-names
49  - '#clock-cells'
50  - '#reset-cells'
51  - '#power-domain-cells'
52
53additionalProperties: false
54
55examples:
56  - |
57    #include <dt-bindings/clock/qcom,rpmh.h>
58    clock-controller@ad00000 {
59      compatible = "qcom,sm8250-camcc";
60      reg = <0x0ad00000 0x10000>;
61      clocks = <&rpmhcc RPMH_CXO_CLK>,
62               <&sleep_clk>;
63      clock-names = "bi_tcxo", "sleep_clk";
64      #clock-cells = <1>;
65      #reset-cells = <1>;
66      #power-domain-cells = <1>;
67    };
68...
69