xref: /linux/Documentation/devicetree/bindings/clock/qcom,milos-camcc.yaml (revision 8d2b0853add1d7534dc0794e3c8e0b9e8c4ec640)
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,milos-camcc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Camera Clock & Reset Controller on Milos
8
9maintainers:
10  - Luca Weiss <luca.weiss@fairphone.com>
11
12description: |
13  Qualcomm camera clock control module provides the clocks, resets and power
14  domains on Milos.
15
16  See also: include/dt-bindings/clock/qcom,milos-camcc.h
17
18properties:
19  compatible:
20    const: qcom,milos-camcc
21
22  clocks:
23    items:
24      - description: Board XO source
25      - description: Sleep clock source
26      - description: Camera AHB clock from GCC
27
28required:
29  - compatible
30  - clocks
31
32allOf:
33  - $ref: qcom,gcc.yaml#
34
35unevaluatedProperties: false
36
37examples:
38  - |
39    #include <dt-bindings/clock/qcom,milos-gcc.h>
40    clock-controller@adb0000 {
41        compatible = "qcom,milos-camcc";
42        reg = <0x0adb0000 0x40000>;
43        clocks = <&bi_tcxo_div2>,
44                 <&sleep_clk>,
45                 <&gcc GCC_CAMERA_AHB_CLK>;
46        #clock-cells = <1>;
47        #reset-cells = <1>;
48        #power-domain-cells = <1>;
49    };
50
51...
52