xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,sm4450-camcc.yaml (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1*b2d2a78aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*b2d2a78aSEmmanuel Vadot%YAML 1.2
3*b2d2a78aSEmmanuel Vadot---
4*b2d2a78aSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,sm4450-camcc.yaml#
5*b2d2a78aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*b2d2a78aSEmmanuel Vadot
7*b2d2a78aSEmmanuel Vadottitle: Qualcomm Camera Clock & Reset Controller on SM4450
8*b2d2a78aSEmmanuel Vadot
9*b2d2a78aSEmmanuel Vadotmaintainers:
10*b2d2a78aSEmmanuel Vadot  - Ajit Pandey <quic_ajipan@quicinc.com>
11*b2d2a78aSEmmanuel Vadot  - Taniya Das <quic_tdas@quicinc.com>
12*b2d2a78aSEmmanuel Vadot
13*b2d2a78aSEmmanuel Vadotdescription: |
14*b2d2a78aSEmmanuel Vadot  Qualcomm camera clock control module provides the clocks, resets and power
15*b2d2a78aSEmmanuel Vadot  domains on SM4450
16*b2d2a78aSEmmanuel Vadot
17*b2d2a78aSEmmanuel Vadot  See also:: include/dt-bindings/clock/qcom,sm4450-camcc.h
18*b2d2a78aSEmmanuel Vadot
19*b2d2a78aSEmmanuel Vadotproperties:
20*b2d2a78aSEmmanuel Vadot  compatible:
21*b2d2a78aSEmmanuel Vadot    const: qcom,sm4450-camcc
22*b2d2a78aSEmmanuel Vadot
23*b2d2a78aSEmmanuel Vadot  reg:
24*b2d2a78aSEmmanuel Vadot    maxItems: 1
25*b2d2a78aSEmmanuel Vadot
26*b2d2a78aSEmmanuel Vadot  clocks:
27*b2d2a78aSEmmanuel Vadot    items:
28*b2d2a78aSEmmanuel Vadot      - description: Board XO source
29*b2d2a78aSEmmanuel Vadot      - description: Camera AHB clock source from GCC
30*b2d2a78aSEmmanuel Vadot
31*b2d2a78aSEmmanuel Vadot  '#clock-cells':
32*b2d2a78aSEmmanuel Vadot    const: 1
33*b2d2a78aSEmmanuel Vadot
34*b2d2a78aSEmmanuel Vadot  '#reset-cells':
35*b2d2a78aSEmmanuel Vadot    const: 1
36*b2d2a78aSEmmanuel Vadot
37*b2d2a78aSEmmanuel Vadot  '#power-domain-cells':
38*b2d2a78aSEmmanuel Vadot    const: 1
39*b2d2a78aSEmmanuel Vadot
40*b2d2a78aSEmmanuel Vadotrequired:
41*b2d2a78aSEmmanuel Vadot  - compatible
42*b2d2a78aSEmmanuel Vadot  - reg
43*b2d2a78aSEmmanuel Vadot  - clocks
44*b2d2a78aSEmmanuel Vadot  - '#clock-cells'
45*b2d2a78aSEmmanuel Vadot  - '#reset-cells'
46*b2d2a78aSEmmanuel Vadot  - '#power-domain-cells'
47*b2d2a78aSEmmanuel Vadot
48*b2d2a78aSEmmanuel VadotadditionalProperties: false
49*b2d2a78aSEmmanuel Vadot
50*b2d2a78aSEmmanuel Vadotexamples:
51*b2d2a78aSEmmanuel Vadot  - |
52*b2d2a78aSEmmanuel Vadot    #include <dt-bindings/clock/qcom,rpmh.h>
53*b2d2a78aSEmmanuel Vadot    #include <dt-bindings/clock/qcom,sm4450-gcc.h>
54*b2d2a78aSEmmanuel Vadot    clock-controller@ade0000 {
55*b2d2a78aSEmmanuel Vadot      compatible = "qcom,sm4450-camcc";
56*b2d2a78aSEmmanuel Vadot      reg = <0x0ade0000 0x20000>;
57*b2d2a78aSEmmanuel Vadot      clocks = <&rpmhcc RPMH_CXO_CLK>,
58*b2d2a78aSEmmanuel Vadot               <&gcc GCC_CAMERA_AHB_CLK>;
59*b2d2a78aSEmmanuel Vadot      #clock-cells = <1>;
60*b2d2a78aSEmmanuel Vadot      #reset-cells = <1>;
61*b2d2a78aSEmmanuel Vadot      #power-domain-cells = <1>;
62*b2d2a78aSEmmanuel Vadot    };
63*b2d2a78aSEmmanuel Vadot...
64