xref: /linux/Documentation/devicetree/bindings/soc/qcom/qcom,dcc.yaml (revision e7e86d7697c6ed1dbbde18d7185c35b6967945ed)
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,sm7150-dcc
22          - qcom,sm8150-dcc
23          - qcom,sc7280-dcc
24          - qcom,sc7180-dcc
25          - qcom,sdm845-dcc
26      - const: qcom,dcc
27
28  reg:
29    items:
30      - description: DCC base
31      - description: DCC RAM base
32
33required:
34  - compatible
35  - reg
36
37additionalProperties: false
38
39examples:
40  - |
41    dma@10a2000{
42        compatible = "qcom,sm8150-dcc", "qcom,dcc";
43        reg = <0x010a2000 0x1000>,
44              <0x010ad000 0x2000>;
45    };
46