xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,sm7150-camcc.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-camcc.yaml#
5*0e8011faSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*0e8011faSEmmanuel Vadot
7*0e8011faSEmmanuel Vadottitle: Qualcomm Camera 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 camera 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,sm7150-camcc.h
19*0e8011faSEmmanuel Vadot
20*0e8011faSEmmanuel Vadotproperties:
21*0e8011faSEmmanuel Vadot  compatible:
22*0e8011faSEmmanuel Vadot    const: qcom,sm7150-camcc
23*0e8011faSEmmanuel Vadot
24*0e8011faSEmmanuel Vadot  clocks:
25*0e8011faSEmmanuel Vadot    items:
26*0e8011faSEmmanuel Vadot      - description: Board XO source
27*0e8011faSEmmanuel Vadot      - description: Board XO Active-Only source
28*0e8011faSEmmanuel Vadot      - description: Sleep clock source
29*0e8011faSEmmanuel Vadot
30*0e8011faSEmmanuel Vadot  power-domains:
31*0e8011faSEmmanuel Vadot    maxItems: 1
32*0e8011faSEmmanuel Vadot    description:
33*0e8011faSEmmanuel Vadot      CX power domain.
34*0e8011faSEmmanuel Vadot
35*0e8011faSEmmanuel Vadotrequired:
36*0e8011faSEmmanuel Vadot  - compatible
37*0e8011faSEmmanuel Vadot  - clocks
38*0e8011faSEmmanuel Vadot  - power-domains
39*0e8011faSEmmanuel Vadot
40*0e8011faSEmmanuel VadotallOf:
41*0e8011faSEmmanuel Vadot  - $ref: qcom,gcc.yaml#
42*0e8011faSEmmanuel Vadot
43*0e8011faSEmmanuel VadotunevaluatedProperties: false
44*0e8011faSEmmanuel Vadot
45*0e8011faSEmmanuel Vadotexamples:
46*0e8011faSEmmanuel Vadot  - |
47*0e8011faSEmmanuel Vadot    #include <dt-bindings/clock/qcom,rpmh.h>
48*0e8011faSEmmanuel Vadot    #include <dt-bindings/power/qcom,rpmhpd.h>
49*0e8011faSEmmanuel Vadot    clock-controller@ad00000 {
50*0e8011faSEmmanuel Vadot      compatible = "qcom,sm7150-camcc";
51*0e8011faSEmmanuel Vadot      reg = <0xad00000 0x10000>;
52*0e8011faSEmmanuel Vadot      clocks = <&rpmhcc RPMH_CXO_CLK>,
53*0e8011faSEmmanuel Vadot               <&rpmhcc RPMH_CXO_CLK_A>,
54*0e8011faSEmmanuel Vadot               <&sleep_clk>;
55*0e8011faSEmmanuel Vadot      power-domains = <&rpmhpd RPMHPD_CX>;
56*0e8011faSEmmanuel Vadot      #clock-cells = <1>;
57*0e8011faSEmmanuel Vadot      #reset-cells = <1>;
58*0e8011faSEmmanuel Vadot      #power-domain-cells = <1>;
59*0e8011faSEmmanuel Vadot    };
60*0e8011faSEmmanuel Vadot...
61