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)
commitc5c88591040ee7d84d037328eed9019d3ffab821
treee6a7e46a8e645e085adc7004cc1735920c3bef6c
parent34ea4e1c99f1f177f87e4ae7896caef238dd741a
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