[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230822203446.4111742-2-sjg@chromium.org>
Date: Tue, 22 Aug 2023 14:34:43 -0600
From: Simon Glass <sjg@...omium.org>
To: devicetree@...r.kernel.org
Cc: Rob Herring <robh@...nel.org>, Ard Biesheuvel <ardb@...nel.org>,
Chiu Chasel <chasel.chiu@...el.com>,
U-Boot Mailing List <u-boot@...ts.denx.de>,
Gua Guo <gua.guo@...el.com>, linux-acpi@...r.kernel.org,
lkml <linux-kernel@...r.kernel.org>,
Yunhui Cui <cuiyunhui@...edance.com>,
ron minnich <rminnich@...il.com>,
Tom Rini <trini@...sulko.com>,
Lean Sheng Tan <sheng.tan@...ements.com>,
Mark Rutland <mark.rutland@....com>,
Simon Glass <sjg@...omium.org>
Subject: [PATCH v3 2/2] memory: Add ECC property
Some memories provides ECC correction. For software which wants to check
memory, it is helpful to see which regions provide this feature.
Add this as a property of the /memory nodes, since it presumably follows
the hardware-level memory system.
Signed-off-by: Simon Glass <sjg@...omium.org>
---
Changes in v3:
- Add new patch to update the /memory nodes
dtschema/schemas/memory.yaml | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/dtschema/schemas/memory.yaml b/dtschema/schemas/memory.yaml
index 1d74410..981af04 100644
--- a/dtschema/schemas/memory.yaml
+++ b/dtschema/schemas/memory.yaml
@@ -34,7 +34,14 @@ patternProperties:
description:
For the purpose of identification, each NUMA node is associated with
a unique token known as a node id.
-
+ attr:
+ $ref: /schemas/types.yaml#/definitions/string-array
+ description: |
+ Attributes possessed by this memory region:
+
+ "single-bit-ecc" - supports single-bit ECC
+ "multi-bit-ecc" - supports multiple-bit ECC
+ "no-ecc" - non-ECC memory
required:
- device_type
--
2.42.0.rc1.204.g551eb34607-goog
Powered by blists - more mailing lists