xref: /freebsd-src/sys/contrib/device-tree/Bindings/clock/qcom,sdm845-videocc.yaml (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only
2*c66ec88fSEmmanuel Vadot%YAML 1.2
3*c66ec88fSEmmanuel Vadot---
4*c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,sdm845-videocc.yaml#
5*c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel Vadottitle: Qualcomm Video Clock & Reset Controller Binding for SDM845
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel Vadotmaintainers:
10*c66ec88fSEmmanuel Vadot  - Taniya Das <tdas@codeaurora.org>
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel Vadotdescription: |
13*c66ec88fSEmmanuel Vadot  Qualcomm video clock control module which supports the clocks, resets and
14*c66ec88fSEmmanuel Vadot  power domains on SDM845.
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel Vadot  See also dt-bindings/clock/qcom,videocc-sdm845.h.
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel Vadotproperties:
19*c66ec88fSEmmanuel Vadot  compatible:
20*c66ec88fSEmmanuel Vadot    const: qcom,sdm845-videocc
21*c66ec88fSEmmanuel Vadot
22*c66ec88fSEmmanuel Vadot  clocks:
23*c66ec88fSEmmanuel Vadot    items:
24*c66ec88fSEmmanuel Vadot      - description: Board XO source
25*c66ec88fSEmmanuel Vadot
26*c66ec88fSEmmanuel Vadot  clock-names:
27*c66ec88fSEmmanuel Vadot    items:
28*c66ec88fSEmmanuel Vadot      - const: bi_tcxo
29*c66ec88fSEmmanuel Vadot
30*c66ec88fSEmmanuel Vadot  '#clock-cells':
31*c66ec88fSEmmanuel Vadot    const: 1
32*c66ec88fSEmmanuel Vadot
33*c66ec88fSEmmanuel Vadot  '#reset-cells':
34*c66ec88fSEmmanuel Vadot    const: 1
35*c66ec88fSEmmanuel Vadot
36*c66ec88fSEmmanuel Vadot  '#power-domain-cells':
37*c66ec88fSEmmanuel Vadot    const: 1
38*c66ec88fSEmmanuel Vadot
39*c66ec88fSEmmanuel Vadot  reg:
40*c66ec88fSEmmanuel Vadot    maxItems: 1
41*c66ec88fSEmmanuel Vadot
42*c66ec88fSEmmanuel Vadotrequired:
43*c66ec88fSEmmanuel Vadot  - compatible
44*c66ec88fSEmmanuel Vadot  - reg
45*c66ec88fSEmmanuel Vadot  - clocks
46*c66ec88fSEmmanuel Vadot  - clock-names
47*c66ec88fSEmmanuel Vadot  - '#clock-cells'
48*c66ec88fSEmmanuel Vadot  - '#reset-cells'
49*c66ec88fSEmmanuel Vadot  - '#power-domain-cells'
50*c66ec88fSEmmanuel Vadot
51*c66ec88fSEmmanuel VadotadditionalProperties: false
52*c66ec88fSEmmanuel Vadot
53*c66ec88fSEmmanuel Vadotexamples:
54*c66ec88fSEmmanuel Vadot  - |
55*c66ec88fSEmmanuel Vadot    #include <dt-bindings/clock/qcom,rpmh.h>
56*c66ec88fSEmmanuel Vadot    clock-controller@ab00000 {
57*c66ec88fSEmmanuel Vadot      compatible = "qcom,sdm845-videocc";
58*c66ec88fSEmmanuel Vadot      reg = <0x0ab00000 0x10000>;
59*c66ec88fSEmmanuel Vadot      clocks = <&rpmhcc RPMH_CXO_CLK>;
60*c66ec88fSEmmanuel Vadot      clock-names = "bi_tcxo";
61*c66ec88fSEmmanuel Vadot      #clock-cells = <1>;
62*c66ec88fSEmmanuel Vadot      #reset-cells = <1>;
63*c66ec88fSEmmanuel Vadot      #power-domain-cells = <1>;
64*c66ec88fSEmmanuel Vadot    };
65*c66ec88fSEmmanuel Vadot...
66