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