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