[PATCH 2/7] dt-bindings: can: mcan: Add ECC functionality to message ram
From: Vivek Yadav
Date: Fri Oct 21 2022 - 08:38:27 EST
Whenever the data is transferred or stored on message ram, there are
inherent risks of it being lost or corruption known as single-bit errors.
ECC constantly scans data as it is processed to the message ram, using a
method known as parity checking and raise the error signals for corruption.
Add error correction code config property to enable/disable the
error correction code (ECC) functionality for Message RAM used to create
valid ECC checksums.
Signed-off-by: Chandrasekar R <rcsekar@xxxxxxxxxxx>
Signed-off-by: Vivek Yadav <vivek.2311@xxxxxxxxxxx>
---
Documentation/devicetree/bindings/net/can/bosch,m_can.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml b/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml
index 26aa0830eea1..0ba3691863d7 100644
--- a/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml
+++ b/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml
@@ -50,6 +50,10 @@ properties:
- const: hclk
- const: cclk
+ mram-ecc-cfg:
+ items:
+ - description: M_CAN ecc registers map with configuration register offset
+
bosch,mram-cfg:
description: |
Message RAM configuration data.
--
2.17.1