xref: /linux/Documentation/devicetree/bindings/clock/qcom,sa8775p-camcc.yaml (revision 21a5352dc702d8e6dc874e0eb6ba6d81291a788a)
1*9b1873d2STaniya Das# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*9b1873d2STaniya Das%YAML 1.2
3*9b1873d2STaniya Das---
4*9b1873d2STaniya Das$id: http://devicetree.org/schemas/clock/qcom,sa8775p-camcc.yaml#
5*9b1873d2STaniya Das$schema: http://devicetree.org/meta-schemas/core.yaml#
6*9b1873d2STaniya Das
7*9b1873d2STaniya Dastitle: Qualcomm Camera Clock & Reset Controller on SA8775P
8*9b1873d2STaniya Das
9*9b1873d2STaniya Dasmaintainers:
10*9b1873d2STaniya Das  - Taniya Das <quic_tdas@quicinc.com>
11*9b1873d2STaniya Das
12*9b1873d2STaniya Dasdescription: |
13*9b1873d2STaniya Das  Qualcomm camera clock control module provides the clocks, resets and power
14*9b1873d2STaniya Das  domains on SA8775p.
15*9b1873d2STaniya Das
16*9b1873d2STaniya Das  See also: include/dt-bindings/clock/qcom,sa8775p-camcc.h
17*9b1873d2STaniya Das
18*9b1873d2STaniya Dasproperties:
19*9b1873d2STaniya Das  compatible:
20*9b1873d2STaniya Das    enum:
21*9b1873d2STaniya Das      - qcom,sa8775p-camcc
22*9b1873d2STaniya Das
23*9b1873d2STaniya Das  clocks:
24*9b1873d2STaniya Das    items:
25*9b1873d2STaniya Das      - description: Camera AHB clock from GCC
26*9b1873d2STaniya Das      - description: Board XO source
27*9b1873d2STaniya Das      - description: Board active XO source
28*9b1873d2STaniya Das      - description: Sleep clock source
29*9b1873d2STaniya Das
30*9b1873d2STaniya Das  power-domains:
31*9b1873d2STaniya Das    maxItems: 1
32*9b1873d2STaniya Das    description: MMCX power domain
33*9b1873d2STaniya Das
34*9b1873d2STaniya Dasrequired:
35*9b1873d2STaniya Das  - compatible
36*9b1873d2STaniya Das  - clocks
37*9b1873d2STaniya Das  - power-domains
38*9b1873d2STaniya Das  - '#power-domain-cells'
39*9b1873d2STaniya Das
40*9b1873d2STaniya DasallOf:
41*9b1873d2STaniya Das  - $ref: qcom,gcc.yaml#
42*9b1873d2STaniya Das
43*9b1873d2STaniya DasunevaluatedProperties: false
44*9b1873d2STaniya Das
45*9b1873d2STaniya Dasexamples:
46*9b1873d2STaniya Das  - |
47*9b1873d2STaniya Das    #include <dt-bindings/clock/qcom,rpmh.h>
48*9b1873d2STaniya Das    #include <dt-bindings/power/qcom-rpmpd.h>
49*9b1873d2STaniya Das    #include <dt-bindings/clock/qcom,sa8775p-gcc.h>
50*9b1873d2STaniya Das    clock-controller@ade0000 {
51*9b1873d2STaniya Das      compatible = "qcom,sa8775p-camcc";
52*9b1873d2STaniya Das      reg = <0x0ade0000 0x20000>;
53*9b1873d2STaniya Das      clocks = <&gcc GCC_CAMERA_AHB_CLK>,
54*9b1873d2STaniya Das               <&rpmhcc RPMH_CXO_CLK>,
55*9b1873d2STaniya Das               <&rpmhcc RPMH_CXO_CLK_A>,
56*9b1873d2STaniya Das               <&sleep_clk>;
57*9b1873d2STaniya Das      power-domains = <&rpmhpd SA8775P_MMCX>;
58*9b1873d2STaniya Das      #clock-cells = <1>;
59*9b1873d2STaniya Das      #reset-cells = <1>;
60*9b1873d2STaniya Das      #power-domain-cells = <1>;
61*9b1873d2STaniya Das    };
62*9b1873d2STaniya Das...
63