dt-bindings: add dt-binding for qcom dynamic memory dump

Add dt-binding for qcom dynamic memory dump driver.

Change-Id: I041b1d6c471f18b047dea85977de901e625542c1
Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
This commit is contained in:
Yuanfang Zhang
2024-03-12 15:06:49 +08:00
parent b42ea3ea74
commit 39ac445ac0

View File

@@ -0,0 +1,39 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: "http://devicetree.org/schemas/soc/qcom/qcom,dynamic-memory-dump.yaml#"
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
title: Qcom Dynamic Memory Dump.
maintainers:
- Yuanfang Zhang <quic_yuanfang@quicinc.com>
description:
QTI dynamic memory dump driver support for dynamic allocate memory for dump entry, it allows
enabling dump entry via sysfs node. The memory reserved for dump entry can be reclaimed if
this dump entry is not enabled.
properties:
compatible:
items:
- const: qcom,dynamic-mem-dump
memory-region:
description:
List of phandles to the reserved memory regions associated with this
device.
required:
- compatible
- memory-region
additionalProperties: false
examples:
- |
dynamic_mem_dump {
compatible = "qcom,dynamic-mem-dump";
memory-region = <&dynamic_mem_dump>;
};