Files
android_kernel_samsung_sm87…/bindings/soc/qcom/qcom,memory-dump.yaml
Yuanfang Zhang 1fa42c98bd dt-bindings: soc: qcom: Add documentation for dcc and memory-dump
Add documentation for dcc and memory-dump driver.

Change-Id: Iadca5ac385af2f79c8f8449cd5a538f24815b436
Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
2023-08-14 00:40:54 -07:00

72 lines
1.6 KiB
YAML

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: "http://devicetree.org/schemas/soc/qcom/qcom,memory-dump.yaml#"
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
title: The document describes the device tree binding for qcom memory dump.
maintainers:
- Yuanfang Zhang <quic_yuanfang@quicinc.com>
description:
QTI memory dump driver allows various client subsystems to register and
allocate respective dump regions. At the time of deadlocks or cpu hangs
these dump regions are captured to give a snapshot of the system at the
time of the crash.
properties:
compatible:
items:
- const: qcom,mem-dump
memory-region:
$ref: '/schemas/types.yaml#/definitions/phandle'
maxItems: 1
description: |
CMA region which is owned by this device.
required:
- compatible
- memory-region
additionalProperties: false
patternProperties:
"[A-Za-z0-9_]+":
type: object
description:
dump entry for subsystem client.
properties:
qcom,dump-size:
maxItems: 1
description:
The size of memory that needs to be allocated for the
particular node.
qcom,dump-id:
maxItems: 1
description:
The ID within the data dump table where this entry needs
to be added.
required:
- qcom,dump-size
- qcom,dump-id
additionalProperties: false
examples:
- |
mem_dump {
compatible = "qcom,mem-dump";
memory-region = <&dump_mem>;
rpmh_dump {
qcom,dump-size = <0x2000000>;
qcom,dump-id = <0xEC>;
};
};