xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,sc8180x-camcc.yaml (revision 833e5d42ab135b0238e61c5b3c19b8619677cbfa)
1*833e5d42SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*833e5d42SEmmanuel Vadot%YAML 1.2
3*833e5d42SEmmanuel Vadot---
4*833e5d42SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,sc8180x-camcc.yaml#
5*833e5d42SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*833e5d42SEmmanuel Vadot
7*833e5d42SEmmanuel Vadottitle: Qualcomm Camera Clock & Reset Controller on SC8180X
8*833e5d42SEmmanuel Vadot
9*833e5d42SEmmanuel Vadotmaintainers:
10*833e5d42SEmmanuel Vadot  - Satya Priya Kakitapalli <quic_skakitap@quicinc.com>
11*833e5d42SEmmanuel Vadot
12*833e5d42SEmmanuel Vadotdescription: |
13*833e5d42SEmmanuel Vadot  Qualcomm camera clock control module provides the clocks, resets and
14*833e5d42SEmmanuel Vadot  power domains on SC8180X.
15*833e5d42SEmmanuel Vadot
16*833e5d42SEmmanuel Vadot  See also: include/dt-bindings/clock/qcom,sc8180x-camcc.h
17*833e5d42SEmmanuel Vadot
18*833e5d42SEmmanuel Vadotproperties:
19*833e5d42SEmmanuel Vadot  compatible:
20*833e5d42SEmmanuel Vadot    const: qcom,sc8180x-camcc
21*833e5d42SEmmanuel Vadot
22*833e5d42SEmmanuel Vadot  clocks:
23*833e5d42SEmmanuel Vadot    items:
24*833e5d42SEmmanuel Vadot      - description: Camera AHB clock from GCC
25*833e5d42SEmmanuel Vadot      - description: Board XO source
26*833e5d42SEmmanuel Vadot      - description: Sleep clock source
27*833e5d42SEmmanuel Vadot
28*833e5d42SEmmanuel Vadot  power-domains:
29*833e5d42SEmmanuel Vadot    maxItems: 1
30*833e5d42SEmmanuel Vadot    description:
31*833e5d42SEmmanuel Vadot      A phandle and PM domain specifier for the MMCX power domain.
32*833e5d42SEmmanuel Vadot
33*833e5d42SEmmanuel Vadot  required-opps:
34*833e5d42SEmmanuel Vadot    maxItems: 1
35*833e5d42SEmmanuel Vadot    description:
36*833e5d42SEmmanuel Vadot      A phandle to an OPP node describing required MMCX performance point.
37*833e5d42SEmmanuel Vadot
38*833e5d42SEmmanuel Vadotrequired:
39*833e5d42SEmmanuel Vadot  - compatible
40*833e5d42SEmmanuel Vadot  - clocks
41*833e5d42SEmmanuel Vadot  - power-domains
42*833e5d42SEmmanuel Vadot  - required-opps
43*833e5d42SEmmanuel Vadot
44*833e5d42SEmmanuel VadotallOf:
45*833e5d42SEmmanuel Vadot  - $ref: qcom,gcc.yaml#
46*833e5d42SEmmanuel Vadot
47*833e5d42SEmmanuel VadotunevaluatedProperties: false
48*833e5d42SEmmanuel Vadot
49*833e5d42SEmmanuel Vadotexamples:
50*833e5d42SEmmanuel Vadot  - |
51*833e5d42SEmmanuel Vadot    #include <dt-bindings/clock/qcom,gcc-sc8180x.h>
52*833e5d42SEmmanuel Vadot    #include <dt-bindings/clock/qcom,rpmh.h>
53*833e5d42SEmmanuel Vadot    #include <dt-bindings/power/qcom-rpmpd.h>
54*833e5d42SEmmanuel Vadot    clock-controller@ad00000 {
55*833e5d42SEmmanuel Vadot      compatible = "qcom,sc8180x-camcc";
56*833e5d42SEmmanuel Vadot      reg = <0x0ad00000 0x20000>;
57*833e5d42SEmmanuel Vadot      clocks = <&gcc GCC_CAMERA_AHB_CLK>,
58*833e5d42SEmmanuel Vadot               <&rpmhcc RPMH_CXO_CLK>,
59*833e5d42SEmmanuel Vadot               <&sleep_clk>;
60*833e5d42SEmmanuel Vadot      power-domains = <&rpmhpd SC8180X_MMCX>;
61*833e5d42SEmmanuel Vadot      required-opps = <&rpmhpd_opp_low_svs>;
62*833e5d42SEmmanuel Vadot
63*833e5d42SEmmanuel Vadot      #clock-cells = <1>;
64*833e5d42SEmmanuel Vadot      #reset-cells = <1>;
65*833e5d42SEmmanuel Vadot      #power-domain-cells = <1>;
66*833e5d42SEmmanuel Vadot    };
67*833e5d42SEmmanuel Vadot...
68