diff options
author | 2025-01-13 14:07:04 +0200 | |
---|---|---|
committer | 2025-02-19 11:09:07 +0100 | |
commit | 8503a4b1a24d32e95f3a233062e8f1dc0b2052bd (patch) | |
tree | 7038027d4999fdcb8926dace584eb072b3695440 /net/unix/sysctl_net_unix.c | |
parent | can: flexcan: Add quirk to handle separate interrupt lines for mailboxes (diff) | |
download | wireguard-linux-8503a4b1a24d32e95f3a233062e8f1dc0b2052bd.tar.xz wireguard-linux-8503a4b1a24d32e95f3a233062e8f1dc0b2052bd.zip |
can: flexcan: add NXP S32G2/S32G3 SoC support
Add device type data for S32G2/S32G3 SoC.
FlexCAN module from S32G2/S32G3 is similar with i.MX SoCs, but interrupt
management is different.
On S32G2/S32G3 SoC, there are separate interrupts for state change, bus
errors, Mailboxes 0-7 and Mailboxes 8-127 respectively.
In order to handle this FlexCAN hardware particularity, first reuse the
'FLEXCAN_QUIRK_NR_IRQ_3' quirk provided by mcf5441x's irq handling
support. Secondly, use the newly introduced
'FLEXCAN_QUIRK_SECONDARY_MB_IRQ' quirk which handles the case where two
separate mailbox ranges are controlled by independent hardware interrupt
lines.
Signed-off-by: Ciprian Marian Costea <ciprianmarian.costea@oss.nxp.com>
Link: https://patch.msgid.link/20250113120704.522307-4-ciprianmarian.costea@oss.nxp.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions