# 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>;
    };

