public inbox for linux-can@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] can: flexcan: Add NXP S32N79 SoC support
@ 2026-03-18  9:22 Ciprian Costea
  2026-03-18  9:22 ` [PATCH 1/5] dt-bindings: can: fsl,flexcan: add " Ciprian Costea
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Ciprian Costea @ 2026-03-18  9:22 UTC (permalink / raw)
  To: Marc Kleine-Budde, Vincent Mailhol, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Frank Li, Sascha Hauer,
	Fabio Estevam
  Cc: Pengutronix Kernel Team, linux-can, devicetree, linux-kernel, imx,
	linux-arm-kernel, NXP S32 Linux Team, Christophe Lizzi,
	Alberto Ruiz, Enric Balletbo, Eric Chanudet,
	Ciprian Marian Costea

From: Ciprian Marian Costea <ciprianmarian.costea@oss.nxp.com>

This patch series adds FlexCAN support for the NXP S32N79 SoC.

The S32N79 is an automotive-grade processor from NXP with multiple
FlexCAN instances. The FlexCAN IP integration on S32N79 differs from
other SoCs in the interrupt routing - it uses two separate interrupt
lines:
  - one interrupt for mailboxes 0-127
  - one interrupt for bus error detection and state changes

The CAN controllers are connected through an irqsteer interrupt
controller in the RCU (Resource Control Unit) domain.

This series:
  1. Adds dt-bindings documentation for S32N79 FlexCAN
  2. Introduces FLEXCAN_QUIRK_NR_IRQ_2 to handle the two-interrupt
     configuration
  3. Adds S32N79 device data and compatible string to the driver
  4. Adds FlexCAN device tree nodes for S32N79 SoC
  5. Enables FlexCAN devices on the S32N79-RDB board

Tested on S32N79-RDB board with CAN and CAN FD communication.

Ciprian Marian Costea (5):
  dt-bindings: can: fsl,flexcan: add NXP S32N79 SoC support
  can: flexcan: add FLEXCAN_QUIRK_NR_IRQ_2 quirk for two interrupt lines
  can: flexcan: add NXP S32N79 SoC support
  arm64: dts: s32n79: add FlexCAN nodes
  arm64: dts: s32n79: enable FlexCAN devices

 .../bindings/net/can/fsl,flexcan.yaml         | 30 ++++++++++-
 arch/arm64/boot/dts/freescale/s32n79-rdb.dts  | 12 +++++
 arch/arm64/boot/dts/freescale/s32n79.dtsi     | 50 +++++++++++++++++++
 drivers/net/can/flexcan/flexcan-core.c        | 31 ++++++++++--
 drivers/net/can/flexcan/flexcan.h             | 16 +++---
 5 files changed, 128 insertions(+), 11 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2026-03-18 12:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-18  9:22 [PATCH 0/5] can: flexcan: Add NXP S32N79 SoC support Ciprian Costea
2026-03-18  9:22 ` [PATCH 1/5] dt-bindings: can: fsl,flexcan: add " Ciprian Costea
2026-03-18 10:47   ` Marc Kleine-Budde
2026-03-18 11:52     ` Ciprian Marian Costea
2026-03-18  9:22 ` [PATCH 2/5] can: flexcan: add FLEXCAN_QUIRK_NR_IRQ_2 quirk for two interrupt lines Ciprian Costea
2026-03-18 10:42   ` Marc Kleine-Budde
2026-03-18 12:11     ` Ciprian Marian Costea
2026-03-18  9:22 ` [PATCH 3/5] can: flexcan: add NXP S32N79 SoC support Ciprian Costea
2026-03-18  9:22 ` [PATCH 4/5] arm64: dts: s32n79: add FlexCAN nodes Ciprian Costea
2026-03-18  9:22 ` [PATCH 5/5] arm64: dts: s32n79: enable FlexCAN devices Ciprian Costea

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