devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ruipeng Qi <ruipengqi7@gmail.com>
To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org,
	conor+dt@kernel.org
Cc: qiruipeng@lixiang.com, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [RFC PATCH 4/7] dt-bindings: reserved-memory: Support osdump module
Date: Thu, 21 Dec 2023 21:31:58 +0800	[thread overview]
Message-ID: <20231221133158.729-1-ruipengqi7@gmail.com> (raw)

From: qiruipeng <qiruipeng@lixiang.com>

Add bindings to allow osdump module to store dump in reserved-memory
region named "osdump".

Signed-off-by: qiruipeng <qiruipeng@lixiang.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@gmail.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@64000000 {
+            compatible = "osdump";
+            reg = <0x64000000 0x01000000>;
+        };
+    };
-- 
2.17.1


             reply	other threads:[~2023-12-21 13:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-21 13:31 Ruipeng Qi [this message]
2023-12-21 16:22 ` [RFC PATCH 4/7] dt-bindings: reserved-memory: Support osdump module Krzysztof Kozlowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231221133158.729-1-ruipengqi7@gmail.com \
    --to=ruipengqi7@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=qiruipeng@lixiang.com \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).