[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231221133158.729-1-ruipengqi7@gmail.com>
Date: Thu, 21 Dec 2023 21:31:58 +0800
From: Ruipeng Qi <ruipengqi7@...il.com>
To: robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org,
conor+dt@...nel.org
Cc: qiruipeng@...iang.com,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [RFC PATCH 4/7] dt-bindings: reserved-memory: Support osdump module
From: qiruipeng <qiruipeng@...iang.com>
Add bindings to allow osdump module to store dump in reserved-memory
region named "osdump".
Signed-off-by: qiruipeng <qiruipeng@...iang.com>
---
.../bindings/reserved-memory/osdump.yaml | 45 +++++++++++++++++++
1 file changed, 45 insertions(+)
create mode 100644 Documentation/devicetree/bindings/reserved-memory/osdump.yaml
diff --git a/Documentation/devicetree/bindings/reserved-memory/osdump.yaml b/Documentation/devicetree/bindings/reserved-memory/osdump.yaml
new file mode 100644
index 000000000000..149bf0204e68
--- /dev/null
+++ b/Documentation/devicetree/bindings/reserved-memory/osdump.yaml
@@ -0,0 +1,45 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/reserved-memory/osdump.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: OS minidump module
+
+description: |
+ Specifies that the reserved memory region can be used for OS minidump
+ module.
+
+ The "osdump" node is named after the "OS minidump" module which
+ provides an implementation of a new crash dumping solutionin in Linux.
+
+maintainers:
+ - Ruipeng Qi <ruipengqi7@...il.com>
+
+allOf:
+ - $ref: reserved-memory.yaml
+
+properties:
+ compatible:
+ const: osdump
+
+ reg:
+ description: region of memory that can be used for OS minidump module
+
+required:
+ - compatible
+ - reg
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ reserved-memory {
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ osdump: osdump@...00000 {
+ compatible = "osdump";
+ reg = <0x64000000 0x01000000>;
+ };
+ };
--
2.17.1
Powered by blists - more mailing lists