[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240821064728.8642-3-zhaoqunqin@loongson.cn>
Date: Wed, 21 Aug 2024 14:47:28 +0800
From: Zhao Qunqin <zhaoqunqin@...ngson.cn>
To: chenhuacai@...nel.org,
kernel@...0n.name,
bp@...en8.de,
tony.luck@...el.com,
james.morse@....com,
mchehab@...nel.org,
rric@...nel.org,
robh@...nel.org,
krzk+dt@...nel.org,
conor+dt@...nel.org
Cc: loongarch@...ts.linux.dev,
linux-kernel@...r.kernel.org,
linux-edac@...r.kernel.org,
devicetree@...r.kernel.org,
zhaoqunqin <zhaoqunqin@...ngson.cn>
Subject: [PATCH v1 2/2] dt-bindings: EDAC for loongson memory controller
From: zhaoqunqin <zhaoqunqin@...ngson.cn>
Add: drivers/edac/loongson_edac.c
Signed-off-by: zhaoqunqin <zhaoqunqin@...ngson.cn>
---
.../bindings/edac/loongson,ls-mc-edac.yaml | 35 +++++++++++++++++++
MAINTAINERS | 7 ++++
2 files changed, 42 insertions(+)
create mode 100644 Documentation/devicetree/bindings/edac/loongson,ls-mc-edac.yaml
diff --git a/Documentation/devicetree/bindings/edac/loongson,ls-mc-edac.yaml b/Documentation/devicetree/bindings/edac/loongson,ls-mc-edac.yaml
new file mode 100644
index 000000000..29e5b8381
--- /dev/null
+++ b/Documentation/devicetree/bindings/edac/loongson,ls-mc-edac.yaml
@@ -0,0 +1,35 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/edac/loongson,ls-mc-edac.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Loongson Memory Controller EDAC
+
+maintainers:
+ - Zhao Qunqin <zhaoqunqin@...ngson.cn>
+
+description: |
+ EDAC node is defined to describe on-chip error detection and correction for
+ Loongson Memory Controller.
+
+properties:
+
+ compatible:
+ const: loongson,ls-mc-edac
+
+ reg:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ edac: mc0@...00600 {
+ compatible = "loongson,ls-mc-edac";
+ reg = <0x0 0x1fe00600 0x0 0x50>;
+ };
diff --git a/MAINTAINERS b/MAINTAINERS
index 958e93544..bc419e309 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -13017,6 +13017,13 @@ S: Maintained
F: Documentation/devicetree/bindings/thermal/loongson,ls2k-thermal.yaml
F: drivers/thermal/loongson2_thermal.c
+LOONGSON EDAC DRIVER
+M: Zhao Qunqin <zhaoqunqin@...ngson.cn>
+L: linux-edac@...r.kernel.org
+S: Maintained
+F: Documentation/devicetree/bindings/edac/loongson,ls-mc-edac.yaml
+F: drivers/edac/loongson_edac.c
+
LSILOGIC MPT FUSION DRIVERS (FC/SAS/SPI)
M: Sathya Prakash <sathya.prakash@...adcom.com>
M: Sreekanth Reddy <sreekanth.reddy@...adcom.com>
--
2.31.1
Powered by blists - more mailing lists