blob: c7fe6400ea13b1bd53cac591e0da06b0715d0ddc [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,sc7180-camcc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Camera Clock & Reset Controller on SC7180
8
9maintainers:
10 - Taniya Das <quic_tdas@quicinc.com>
11
12description: |
13 Qualcomm camera clock control module provides the clocks, resets and power
14 domains on SC7180.
15
16 See also:: include/dt-bindings/clock/qcom,camcc-sc7180.h
17
Tom Rini93743d22024-04-01 09:08:13 -040018allOf:
19 - $ref: qcom,gcc.yaml#
20
Tom Rini53633a82024-02-29 12:33:36 -050021properties:
22 compatible:
23 const: qcom,sc7180-camcc
24
25 clocks:
26 items:
27 - description: Board XO source
28 - description: Camera_ahb clock from GCC
29 - description: Camera XO clock from GCC
30
31 clock-names:
32 items:
33 - const: bi_tcxo
34 - const: iface
35 - const: xo
36
Tom Rini53633a82024-02-29 12:33:36 -050037 reg:
38 maxItems: 1
39
40required:
41 - compatible
Tom Rini53633a82024-02-29 12:33:36 -050042 - clocks
43 - clock-names
Tom Rini53633a82024-02-29 12:33:36 -050044
Tom Rini93743d22024-04-01 09:08:13 -040045unevaluatedProperties: false
Tom Rini53633a82024-02-29 12:33:36 -050046
47examples:
48 - |
49 #include <dt-bindings/clock/qcom,gcc-sc7180.h>
50 #include <dt-bindings/clock/qcom,rpmh.h>
51 clock-controller@ad00000 {
52 compatible = "qcom,sc7180-camcc";
53 reg = <0x0ad00000 0x10000>;
54 clocks = <&rpmhcc RPMH_CXO_CLK>,
55 <&gcc GCC_CAMERA_AHB_CLK>,
56 <&gcc GCC_CAMERA_XO_CLK>;
57 clock-names = "bi_tcxo", "iface", "xo";
58 #clock-cells = <1>;
59 #reset-cells = <1>;
60 #power-domain-cells = <1>;
61 };
62...