xref: /linux/Documentation/devicetree/bindings/clock/qcom,sm7150-camcc.yaml (revision 6e7fd890f1d6ac83805409e9c346240de2705584)
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,sm7150-camcc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Camera Clock & Reset Controller on SM7150
8
9maintainers:
10  - Danila Tikhonov <danila@jiaxyga.com>
11  - David Wronek <david@mainlining.org>
12  - Jens Reidel <adrian@travitia.xyz>
13
14description: |
15  Qualcomm camera clock control module provides the clocks, resets and power
16  domains on SM7150.
17
18  See also:: include/dt-bindings/clock/qcom,sm7150-camcc.h
19
20properties:
21  compatible:
22    const: qcom,sm7150-camcc
23
24  clocks:
25    items:
26      - description: Board XO source
27      - description: Board XO Active-Only source
28      - description: Sleep clock source
29
30  power-domains:
31    maxItems: 1
32    description:
33      CX power domain.
34
35required:
36  - compatible
37  - clocks
38  - power-domains
39
40allOf:
41  - $ref: qcom,gcc.yaml#
42
43unevaluatedProperties: false
44
45examples:
46  - |
47    #include <dt-bindings/clock/qcom,rpmh.h>
48    #include <dt-bindings/power/qcom,rpmhpd.h>
49    clock-controller@ad00000 {
50      compatible = "qcom,sm7150-camcc";
51      reg = <0xad00000 0x10000>;
52      clocks = <&rpmhcc RPMH_CXO_CLK>,
53               <&rpmhcc RPMH_CXO_CLK_A>,
54               <&sleep_clk>;
55      power-domains = <&rpmhpd RPMHPD_CX>;
56      #clock-cells = <1>;
57      #reset-cells = <1>;
58      #power-domain-cells = <1>;
59    };
60...
61