]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9a5ba028c1cfb68e9ea3b97fe029d1aa23b3d505
tree0afe10c663acd36d9aa286777e0c17e303aafbbb
parentac9cfe611ea616ef3e8a462c2cc4be42a3f7ae7a
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

3fabf885075b ("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