]> 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)
commit61c8497281d3a6c200a5012fa0c90573f0051a2d
treee6a7e46a8e645e085adc7004cc1735920c3bef6c
parenta5c12ea14209011760f45245188bfa26c457c238
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