Linux CAN drivers development
 help / color / mirror / Atom feed
* [PATCH can-next v1 0/3] Add support for the SpacemiT K1 CAN0 controller
@ 2026-11-29 13:53 Liu Changjie
  0 siblings, 0 replies; 8+ messages in thread
From: Liu Changjie @ 2026-11-29 13:53 UTC (permalink / raw)
  To: Marc Kleine-Budde
  Cc: Vincent Mailhol, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	linux-can, devicetree, linux-kernel, spacemit, linux-riscv,
	Yixun Lan

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-11-29 15:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20261129-k1-can0-v1-0-liucj1228@outlook.com>
2026-11-29 13:20 ` [PATCH can-next v1 2/3] can: flexcan: support 32-bit writes when initializing ECC RAM Liu Changjie
2026-11-29 15:35   ` Marc Kleine-Budde
2026-11-29 13:20 ` [PATCH can-next v1 1/3] dt-bindings: can: flexcan: document the SpacemiT K1 controller Liu Changjie
2026-11-29 14:01   ` sashiko-bot
2026-11-29 15:40     ` Marc Kleine-Budde
2026-11-29 13:20 ` [PATCH can-next v1 3/3] can: flexcan: add support for SpacemiT K1 CAN0 Liu Changjie
2026-11-29 15:41   ` Marc Kleine-Budde
2026-11-29 13:53 [PATCH can-next v1 0/3] Add support for the SpacemiT K1 CAN0 controller Liu Changjie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox