xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,sc7180-camcc.yaml (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
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
18allOf:
19  - $ref: qcom,gcc.yaml#
20
21properties:
22  compatible:
23    const: qcom,sc7180-camcc
24
25  clocks:
26    items:
27      - description: Board XO source
28      - description: Camera_ahb clock from GCC
29      - description: Camera XO clock from GCC
30
31  clock-names:
32    items:
33      - const: bi_tcxo
34      - const: iface
35      - const: xo
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,gcc-sc7180.h>
50    #include <dt-bindings/clock/qcom,rpmh.h>
51    clock-controller@ad00000 {
52      compatible = "qcom,sc7180-camcc";
53      reg = <0x0ad00000 0x10000>;
54      clocks = <&rpmhcc RPMH_CXO_CLK>,
55               <&gcc GCC_CAMERA_AHB_CLK>,
56               <&gcc GCC_CAMERA_XO_CLK>;
57      clock-names = "bi_tcxo", "iface", "xo";
58      #clock-cells = <1>;
59      #reset-cells = <1>;
60      #power-domain-cells = <1>;
61    };
62...
63