[PATCH can-next v1 0/3] Add support for the SpacemiT K1 CAN0 controller

Liu Changjie liucj1228 at outlook.com
Sun Nov 29 05:53:58 PST 2026


This series adds the interrupt-driven application processor CAN0 on
SpacemiT K1. The binding describes its clocks and reset. The driver
initializes the ECC RAM with 32-bit writes and uses FlexCAN's existing
CAN FD mailbox and interrupt paths. The SoC DTS change is separate.

An earlier version of the CAN0 path on Orange Pi RV2 received
4,617,536 of 4,617,536 frames from a ZLG USBCANFD-200U during a
900-second run at 1 Mbit/s arbitration and 5 Mbit/s data rate with
64-byte BRS frames. This measurement predates the present can-next
rebase and the change making reset acquisition mandatory for K1.

Codex assisted with the changes, commit messages and local validation.
Gemini Carbon High reviewed an earlier implementation.

Liu Changjie (3):
  dt-bindings: can: flexcan: document the SpacemiT K1 controller
  can: flexcan: support 32-bit writes when initializing ECC RAM
  can: flexcan: add support for SpacemiT K1 CAN0

 .../bindings/net/can/fsl,flexcan.yaml         | 21 ++++++++++-
 drivers/net/can/flexcan/flexcan-core.c        | 36 +++++++++++++++++--
 drivers/net/can/flexcan/flexcan.h             |  3 ++
 3 files changed, 57 insertions(+), 3 deletions(-)


base-commit: 573af801552999954caa8347e4490b04cf4763f0



More information about the linux-riscv mailing list