drivers: can: Add xmc4xxx CAN support

Adds CAN drivers for XMC4xxx SoCs.

XMC4xxx has multiple CAN nodes. The nodes share a common clock and
a message object pool.

The CAN nodes do not have a loopback mode. Instead there is an
internal bus which can be used to exchange messages between
nodes on the SoC. For this reason tests/samples which rely on the
loopback feature have been disabled.

Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
This commit is contained in:
Andriy Gelman 2023-12-26 12:05:00 -05:00 committed by Henrik Brix Andersen
commit c7dab3df08
15 changed files with 1315 additions and 0 deletions

View file

@ -60,4 +60,9 @@ config HAS_XMCLIB_ETH
help
Enable XMCLIB Ethernet MAC
config HAS_XMCLIB_CAN
bool
help
Enable XMCLIB CAN
endif # HAS_XMCLIB