]>
Commit | Line | Data |
---|---|---|
53633a89 TR |
1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
2 | %YAML 1.2 | |
3 | --- | |
4 | $id: http://devicetree.org/schemas/clock/qcom,sc7280-camcc.yaml# | |
5 | $schema: http://devicetree.org/meta-schemas/core.yaml# | |
6 | ||
7 | title: Qualcomm Camera Clock & Reset Controller on SC7280 | |
8 | ||
9 | maintainers: | |
10 | - Taniya Das <quic_tdas@quicinc.com> | |
11 | ||
12 | description: | | |
13 | Qualcomm camera clock control module provides the clocks, resets and | |
14 | power domains on SC7280. | |
15 | ||
16 | See also:: include/dt-bindings/clock/qcom,camcc-sc7280.h | |
17 | ||
93743d24 TR |
18 | allOf: |
19 | - $ref: qcom,gcc.yaml# | |
20 | ||
53633a89 TR |
21 | properties: |
22 | compatible: | |
23 | const: qcom,sc7280-camcc | |
24 | ||
25 | clocks: | |
26 | items: | |
27 | - description: Board XO source | |
28 | - description: Board XO active source | |
29 | - description: Sleep clock source | |
30 | ||
31 | clock-names: | |
32 | items: | |
33 | - const: bi_tcxo | |
34 | - const: bi_tcxo_ao | |
35 | - const: sleep_clk | |
36 | ||
53633a89 TR |
37 | reg: |
38 | maxItems: 1 | |
39 | ||
40 | required: | |
41 | - compatible | |
53633a89 TR |
42 | - clocks |
43 | - clock-names | |
53633a89 | 44 | |
93743d24 | 45 | unevaluatedProperties: false |
53633a89 TR |
46 | |
47 | examples: | |
48 | - | | |
49 | #include <dt-bindings/clock/qcom,rpmh.h> | |
50 | clock-controller@ad00000 { | |
51 | compatible = "qcom,sc7280-camcc"; | |
52 | reg = <0x0ad00000 0x10000>; | |
53 | clocks = <&rpmhcc RPMH_CXO_CLK>, | |
54 | <&rpmhcc RPMH_CXO_CLK_A>, | |
55 | <&sleep_clk>; | |
56 | clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk"; | |
57 | #clock-cells = <1>; | |
58 | #reset-cells = <1>; | |
59 | #power-domain-cells = <1>; | |
60 | }; | |
61 | ... |