xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,sm7150-videocc.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1*0e8011faSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*0e8011faSEmmanuel Vadot%YAML 1.2
3*0e8011faSEmmanuel Vadot---
4*0e8011faSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,sm7150-videocc.yaml#
5*0e8011faSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*0e8011faSEmmanuel Vadot
7*0e8011faSEmmanuel Vadottitle: Qualcomm Video Clock & Reset Controller on SM7150
8*0e8011faSEmmanuel Vadot
9*0e8011faSEmmanuel Vadotmaintainers:
10*0e8011faSEmmanuel Vadot  - Danila Tikhonov <danila@jiaxyga.com>
11*0e8011faSEmmanuel Vadot  - David Wronek <david@mainlining.org>
12*0e8011faSEmmanuel Vadot  - Jens Reidel <adrian@travitia.xyz>
13*0e8011faSEmmanuel Vadot
14*0e8011faSEmmanuel Vadotdescription: |
15*0e8011faSEmmanuel Vadot  Qualcomm video clock control module provides the clocks, resets and power
16*0e8011faSEmmanuel Vadot  domains on SM7150.
17*0e8011faSEmmanuel Vadot
18*0e8011faSEmmanuel Vadot  See also:: include/dt-bindings/clock/qcom,videocc-sm7150.h
19*0e8011faSEmmanuel Vadot
20*0e8011faSEmmanuel Vadotproperties:
21*0e8011faSEmmanuel Vadot  compatible:
22*0e8011faSEmmanuel Vadot    const: qcom,sm7150-videocc
23*0e8011faSEmmanuel Vadot
24*0e8011faSEmmanuel Vadot  clocks:
25*0e8011faSEmmanuel Vadot    items:
26*0e8011faSEmmanuel Vadot      - description: Board XO source
27*0e8011faSEmmanuel Vadot      - description: Board Always On XO source
28*0e8011faSEmmanuel Vadot
29*0e8011faSEmmanuel Vadot  power-domains:
30*0e8011faSEmmanuel Vadot    maxItems: 1
31*0e8011faSEmmanuel Vadot    description:
32*0e8011faSEmmanuel Vadot      CX power domain.
33*0e8011faSEmmanuel Vadot
34*0e8011faSEmmanuel Vadotrequired:
35*0e8011faSEmmanuel Vadot  - compatible
36*0e8011faSEmmanuel Vadot  - clocks
37*0e8011faSEmmanuel Vadot  - power-domains
38*0e8011faSEmmanuel Vadot
39*0e8011faSEmmanuel VadotallOf:
40*0e8011faSEmmanuel Vadot  - $ref: qcom,gcc.yaml#
41*0e8011faSEmmanuel Vadot
42*0e8011faSEmmanuel VadotunevaluatedProperties: false
43*0e8011faSEmmanuel Vadot
44*0e8011faSEmmanuel Vadotexamples:
45*0e8011faSEmmanuel Vadot  - |
46*0e8011faSEmmanuel Vadot    #include <dt-bindings/clock/qcom,rpmh.h>
47*0e8011faSEmmanuel Vadot    #include <dt-bindings/power/qcom,rpmhpd.h>
48*0e8011faSEmmanuel Vadot    videocc: clock-controller@ab00000 {
49*0e8011faSEmmanuel Vadot      compatible = "qcom,sm7150-videocc";
50*0e8011faSEmmanuel Vadot      reg = <0x0ab00000 0x10000>;
51*0e8011faSEmmanuel Vadot      clocks = <&rpmhcc RPMH_CXO_CLK>,
52*0e8011faSEmmanuel Vadot               <&rpmhcc RPMH_CXO_CLK_A>;
53*0e8011faSEmmanuel Vadot      power-domains = <&rpmhpd RPMHPD_CX>;
54*0e8011faSEmmanuel Vadot      #clock-cells = <1>;
55*0e8011faSEmmanuel Vadot      #reset-cells = <1>;
56*0e8011faSEmmanuel Vadot      #power-domain-cells = <1>;
57*0e8011faSEmmanuel Vadot    };
58*0e8011faSEmmanuel Vadot...
59