OSDN Git Service

can: flexcan: mark RX via mailboxes as supported on MCF5441X
authorMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 21 Jan 2022 08:22:34 +0000 (09:22 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 24 Jan 2022 17:27:43 +0000 (18:27 +0100)
commitf04aefd4659b7959e50e6d0d649936c6940f9d34
tree0afe10c663acd36d9aa286777e0c17e303aafbbb
parente59986de5ff701494e14c722b78b6e6d513e0ab5
can: flexcan: mark RX via mailboxes as supported on MCF5441X

Most flexcan IP cores support 2 RX modes:
- FIFO
- mailbox

The flexcan IP core on the MCF5441X cannot receive CAN RTR messages
via mailboxes. However the mailbox mode is more performant. The commit

1c45f5778a3b ("can: flexcan: add ethtool support to change rx-rtr setting during runtime")

added support to switch from FIFO to mailbox mode on these cores.

After testing the mailbox mode on the MCF5441X by Angelo Dureghello,
this patch marks it (without RTR capability) as supported. Further the
IP core overview table is updated, that RTR reception via mailboxes is
not supported.

Link: https://lore.kernel.org/all/20220121084425.3141218-1-mkl@pengutronix.de
Tested-by: Angelo Dureghello <angelo@kernel-space.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/flexcan/flexcan-core.c
drivers/net/can/flexcan/flexcan.h