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