[PATCH 0/3] can: xilinx_can: Add ECC feature support
From: Srinivas Goud
Date: Mon Jun 12 2023 - 07:49:14 EST
ECC feature added to Tx and Rx FIFO’s for Xilinx CAN Controller.
Part of this feature configuration and counter registers added
in Xilinx CAN Controller for 1bit/2bit ECC errors count and reset.
Please find more details in PG096 v5.1 document.
xlnx,has-ecc is optional property and added to Xilinx CAN Controller
node if ECC block enabled in the HW.
Driver reports 1bit/2bit ECC errors for FIFO's based on ECC error interrupts
and also create debugfs entry for reading all the ECC errors.
Srinivas Goud (3):
dt-bindings: can: xilinx_can: Add ECC property ‘xlnx,has-ecc’
can: xilinx_can: Add ECC support
can: xilinx_can: Add debugfs support for ECC
.../devicetree/bindings/net/can/xilinx,can.yaml | 5 +
drivers/net/can/xilinx_can.c | 169 ++++++++++++++++++++-
2 files changed, 169 insertions(+), 5 deletions(-)
--
2.1.1