[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251028092232.773991-2-niravkumarlaxmidas.rabara@altera.com>
Date: Tue, 28 Oct 2025 17:22:27 +0800
From: niravkumarlaxmidas.rabara@...era.com
To: dinguyen@...nel.org,
matthew.gerlach@...era.com,
robh@...nel.org,
krzk+dt@...nel.org,
conor+dt@...nel.org,
bp@...en8.de,
tony.luck@...el.com
Cc: linux-edac@...r.kernel.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
Niravkumar L Rabara <niravkumarlaxmidas.rabara@...era.com>
Subject: [PATCH 1/6] dt-bindings: edac: altera: Document additional ECC instances
From: Niravkumar L Rabara <niravkumarlaxmidas.rabara@...era.com>
Add support for Secure Device Manager(SDM) QSPI ECC, IO96B memory
controller ECC and Configuration RAM(CRAM) Single Event Upset(SEU).
Add interrupt-names property and increase interrupts maxItems from 2 to 7
to accommodate additional interrupts.
Signed-off-by: Niravkumar L Rabara <niravkumarlaxmidas.rabara@...era.com>
---
.../edac/altr,socfpga-ecc-manager.yaml | 77 ++++++++++++++++++-
1 file changed, 76 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/edac/altr,socfpga-ecc-manager.yaml b/Documentation/devicetree/bindings/edac/altr,socfpga-ecc-manager.yaml
index 3d787dea0f14..5e0c08a15ab9 100644
--- a/Documentation/devicetree/bindings/edac/altr,socfpga-ecc-manager.yaml
+++ b/Documentation/devicetree/bindings/edac/altr,socfpga-ecc-manager.yaml
@@ -33,7 +33,13 @@ properties:
interrupts:
minItems: 1
- maxItems: 2
+ maxItems: 7
+
+ interrupt-names:
+ items:
+ enum: [global_sbe, global_dbe, io96b0, io96b1, sdm_qspi_sbe, sdm_qspi_dbe, sdm_seu]
+ minItems: 1
+ maxItems: 7
interrupt-controller: true
@@ -70,6 +76,41 @@ properties:
- interrupts
- altr,sdr-syscon
+ cram-seu:
+ type: object
+ additionalProperties: false
+
+ properties:
+ compatible:
+ items:
+ - const: altr,socfpga-cram-seu
+
+ reg:
+ maxItems: 1
+
+ altr,seu-safe-inject-ce-msb:
+ $ref: /schemas/types.yaml#/definitions/uint32
+ description: MSB of error injection command for Correctable Error
+
+ altr,seu-safe-inject-ce-lsb:
+ $ref: /schemas/types.yaml#/definitions/uint32
+ description: LSB of error injection command for Correctable Error
+
+ altr,seu-safe-inject-ue-msb:
+ $ref: /schemas/types.yaml#/definitions/uint32
+ description: MSB of error injection command for Uncorrectable Error
+
+ altr,seu-safe-inject-ue-lsb:
+ $ref: /schemas/types.yaml#/definitions/uint32
+ description: LSB of error injection command for Uncorrectable Error
+
+ required:
+ - compatible
+ - altr,seu-safe-inject-ce-msb
+ - altr,seu-safe-inject-ce-lsb
+ - altr,seu-safe-inject-ue-msb
+ - altr,seu-safe-inject-ue-lsb
+
patternProperties:
"^ocram-ecc@[a-f0-9]+$":
type: object
@@ -191,6 +232,40 @@ patternProperties:
- interrupts
- altr,ecc-parent
+ "^sdm-qspi-ecc@[a-f0-9]+$":
+ type: object
+ additionalProperties: false
+
+ properties:
+ compatible:
+ items:
+ - const: altr,socfpga-sdm-qspi-ecc
+
+ reg:
+ maxItems: 1
+
+ required:
+ - compatible
+ - reg
+
+ "^io96b[0-9]-ecc@[a-f0-9]+$":
+ type: object
+ additionalProperties: false
+
+ properties:
+ compatible:
+ items:
+ - enum:
+ - altr,socfpga-io96b0-ecc
+ - altr,socfpga-io96b1-ecc
+
+ reg:
+ maxItems: 1
+
+ required:
+ - compatible
+ - reg
+
"^l2-ecc@[a-f0-9]+$":
type: object
additionalProperties: false
--
2.25.1
Powered by blists - more mailing lists