diff --git a/bindings/soc/qcom/qcom,dynamic-memory-dump.yaml b/bindings/soc/qcom/qcom,dynamic-memory-dump.yaml new file mode 100644 index 00000000..ee2eb9fd --- /dev/null +++ b/bindings/soc/qcom/qcom,dynamic-memory-dump.yaml @@ -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 + +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>; + }; +