xref: /linux/Documentation/devicetree/bindings/soc/qcom/qcom,dcc.yaml (revision 01e9d2c6bea9823103958bd3d71f61b9900ef5be)
1# SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/soc/qcom/qcom,dcc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Data Capture and Compare
8
9maintainers:
10  - Souradeep Chowdhury <quic_schowdhu@quicinc.com>
11
12description: |
13    DCC (Data Capture and Compare) is a DMA engine which is used to save
14    configuration data or system memory contents during catastrophic failure
15    or SW trigger. DCC is used to capture and store data for debugging purpose
16
17properties:
18  compatible:
19    items:
20      - enum:
21          - qcom,sm8150-dcc
22          - qcom,sc7280-dcc
23          - qcom,sc7180-dcc
24          - qcom,sdm845-dcc
25      - const: qcom,dcc
26
27  reg:
28    items:
29      - description: DCC base
30      - description: DCC RAM base
31
32required:
33  - compatible
34  - reg
35
36additionalProperties: false
37
38examples:
39  - |
40    dma@10a2000{
41        compatible = "qcom,sm8150-dcc", "qcom,dcc";
42        reg = <0x010a2000 0x1000>,
43              <0x010ad000 0x2000>;
44    };
45