]> git.baikalelectronics.ru Git - kernel.git/commit
can: flexcan: add more quirks to describe RX path capabilities
authorMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 7 Jan 2022 13:29:15 +0000 (14:29 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sat, 8 Jan 2022 19:17:43 +0000 (20:17 +0100)
commit88e7e33a9f7d30649eda92c4e216dedc828f6549
treee6a7e46a8e645e085adc7004cc1735920c3bef6c
parent77087a023def19563a06d8d88c67f7c55b93291d
can: flexcan: add more quirks to describe RX path capabilities

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

Some IP core versions cannot receive CAN RTR messages via mailboxes.
This patch adds quirks to document this.

This information will be used in a later patch to switch from FIFO to
more performant mailbox mode at the expense of losing the ability to
receive RTR messages. This trade off is beneficial in certain use
cases.

Link: https://lore.kernel.org/all/20220107193105.1699523-5-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/flexcan/flexcan-core.c