blob: 48986460f9947df633612907b2bf0674397a424b [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/qcom,sm8450-camcc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Camera Clock & Reset Controller on SM8450
8
9maintainers:
10 - Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
11
12description: |
13 Qualcomm camera clock control module provides the clocks, resets and power
14 domains on SM8450.
15
16 See also::
17 include/dt-bindings/clock/qcom,sm8450-camcc.h
18 include/dt-bindings/clock/qcom,sm8550-camcc.h
Tom Rini93743d22024-04-01 09:08:13 -040019 include/dt-bindings/clock/qcom,sc8280xp-camcc.h
20
21allOf:
22 - $ref: qcom,gcc.yaml#
Tom Rini53633a82024-02-29 12:33:36 -050023
24properties:
25 compatible:
26 enum:
Tom Rini93743d22024-04-01 09:08:13 -040027 - qcom,sc8280xp-camcc
Tom Rini53633a82024-02-29 12:33:36 -050028 - qcom,sm8450-camcc
29 - qcom,sm8550-camcc
30
31 clocks:
32 items:
33 - description: Camera AHB clock from GCC
34 - description: Board XO source
35 - description: Board active XO source
36 - description: Sleep clock source
37
38 power-domains:
39 maxItems: 1
40 description:
41 A phandle and PM domain specifier for the MMCX power domain.
42
43 required-opps:
44 maxItems: 1
45 description:
46 A phandle to an OPP node describing required MMCX performance point.
47
Tom Rini53633a82024-02-29 12:33:36 -050048 reg:
49 maxItems: 1
50
51required:
52 - compatible
Tom Rini53633a82024-02-29 12:33:36 -050053 - clocks
54 - power-domains
55 - required-opps
Tom Rini53633a82024-02-29 12:33:36 -050056
Tom Rini93743d22024-04-01 09:08:13 -040057unevaluatedProperties: false
Tom Rini53633a82024-02-29 12:33:36 -050058
59examples:
60 - |
61 #include <dt-bindings/clock/qcom,gcc-sm8450.h>
62 #include <dt-bindings/clock/qcom,rpmh.h>
63 #include <dt-bindings/power/qcom,rpmhpd.h>
64 clock-controller@ade0000 {
65 compatible = "qcom,sm8450-camcc";
66 reg = <0xade0000 0x20000>;
67 clocks = <&gcc GCC_CAMERA_AHB_CLK>,
68 <&rpmhcc RPMH_CXO_CLK>,
69 <&rpmhcc RPMH_CXO_CLK_A>,
70 <&sleep_clk>;
71 power-domains = <&rpmhpd RPMHPD_MMCX>;
72 required-opps = <&rpmhpd_opp_low_svs>;
73 #clock-cells = <1>;
74 #reset-cells = <1>;
75 #power-domain-cells = <1>;
76 };
77...