[PATCH v2 1/4] dt-bindings: edac: Add bindings for Xilinx Versal EDAC for XilSem

From: Rama devi Veggalam
Date: Tue Jul 22 2025 - 12:04:46 EST


Add device tree bindings for Xilinx Versal EDAC for
XilSem controller

Signed-off-by: Rama devi Veggalam <rama.devi.veggalam@xxxxxxx>
---
Changes in v2:
- Changed "xlnx,versal-xilsem-edac" to constant
- Removed "compatible: in required section
- Removed "|" in description
- Removed "items" in compatible
- Fixed indentation in examples
- Updated title and description
---
.../edac/xlnx,versal-xilsem-edac.yaml | 42 +++++++++++++++++++
1 file changed, 42 insertions(+)
create mode 100644 Documentation/devicetree/bindings/edac/xlnx,versal-xilsem-edac.yaml

diff --git a/Documentation/devicetree/bindings/edac/xlnx,versal-xilsem-edac.yaml b/Documentation/devicetree/bindings/edac/xlnx,versal-xilsem-edac.yaml
new file mode 100644
index 000000000000..23c1d0557a66
--- /dev/null
+++ b/Documentation/devicetree/bindings/edac/xlnx,versal-xilsem-edac.yaml
@@ -0,0 +1,42 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/edac/xlnx,versal-xilsem-edac.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Xilinx Versal Soft Error Mitigation (XilSEM) EDAC
+
+maintainers:
+ - Rama Devi Veggalam <rama.devi.veggalam@xxxxxxx>
+
+description:
+ Xilinx Versal Soft Error Mitigation (XilSEM) is part of the
+ Platform Loader and Manager (PLM) which is loaded into and runs on the
+ Platform Management Controller (PMC). XilSEM is responsible for reporting
+ and optionally correcting soft errors in Configuration Memory of Versal.
+ The memory is scanned by a hardware controller in the Versal Programmable
+ Logic (PL). During the scan, if the controller detects any error, be it
+ correctable or uncorrectable, it reports the error to PLM. The XilSEM on PLM
+ performs the error validation and notifies the errors to user application.
+ This XilSEM EDAC node is responsible for handling error events received from
+ XilSEM on PLM and also provides an interface to control scan operations and
+ fetching the scan status & configuration information.
+
+properties:
+ compatible:
+ const: xlnx,versal-xilsem-edac
+
+ reg:
+ maxItems: 1
+
+required:
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ edac@f2014050 {
+ compatible = "xlnx,versal-xilsem-edac";
+ reg = <0xf2014050 0xc4>;
+ };
--
2.23.0