1# SPDX-License-Identifier: GPL-2.0-only
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 SDM845/SC7180/SM8150/SM8250.
15
16  See also:
17    dt-bindings/clock/qcom,videocc-sc7180.h
18    dt-bindings/clock/qcom,videocc-sdm845.h
19    dt-bindings/clock/qcom,videocc-sm8150.h
20    dt-bindings/clock/qcom,videocc-sm8250.h
21
22properties:
23  compatible:
24    enum:
25      - qcom,sc7180-videocc
26      - qcom,sdm845-videocc
27      - qcom,sm8150-videocc
28      - qcom,sm8250-videocc
29
30  clocks:
31    items:
32      - description: Board XO source
33
34  clock-names:
35    items:
36      - const: bi_tcxo
37
38  '#clock-cells':
39    const: 1
40
41  '#reset-cells':
42    const: 1
43
44  '#power-domain-cells':
45    const: 1
46
47  reg:
48    maxItems: 1
49
50required:
51  - compatible
52  - reg
53  - clocks
54  - clock-names
55  - '#clock-cells'
56  - '#reset-cells'
57  - '#power-domain-cells'
58
59additionalProperties: false
60
61examples:
62  - |
63    #include <dt-bindings/clock/qcom,rpmh.h>
64    clock-controller@ab00000 {
65      compatible = "qcom,sdm845-videocc";
66      reg = <0x0ab00000 0x10000>;
67      clocks = <&rpmhcc RPMH_CXO_CLK>;
68      clock-names = "bi_tcxo";
69      #clock-cells = <1>;
70      #reset-cells = <1>;
71      #power-domain-cells = <1>;
72    };
73...
74