xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,sc7180-videocc.yaml (revision 9f44a47fd07924afc035991af15d84e6585dea4f)
1# SPDX-License-Identifier: GPL-2.0-only
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/qcom,sc7180-videocc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Video Clock & Reset Controller Binding for SC7180
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 SC7180.
15
16  See also dt-bindings/clock/qcom,videocc-sc7180.h.
17
18properties:
19  compatible:
20    const: qcom,sc7180-videocc
21
22  clocks:
23    items:
24      - description: Board XO source
25
26  clock-names:
27    items:
28      - const: bi_tcxo
29
30  '#clock-cells':
31    const: 1
32
33  '#reset-cells':
34    const: 1
35
36  '#power-domain-cells':
37    const: 1
38
39  reg:
40    maxItems: 1
41
42required:
43  - compatible
44  - reg
45  - clocks
46  - clock-names
47  - '#clock-cells'
48  - '#reset-cells'
49  - '#power-domain-cells'
50
51additionalProperties: false
52
53examples:
54  - |
55    #include <dt-bindings/clock/qcom,rpmh.h>
56    clock-controller@ab00000 {
57      compatible = "qcom,sc7180-videocc";
58      reg = <0x0ab00000 0x10000>;
59      clocks = <&rpmhcc RPMH_CXO_CLK>;
60      clock-names = "bi_tcxo";
61      #clock-cells = <1>;
62      #reset-cells = <1>;
63      #power-domain-cells = <1>;
64    };
65...
66