]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
can: xilinx_can: add support for Xilinx CAN FD core
authorAnssi Hannula <anssi.hannula@bitwise.fi>
Tue, 27 Feb 2018 08:06:51 +0000 (10:06 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 27 Jul 2018 08:40:17 +0000 (10:40 +0200)
commit9e5f1b273e6abdd7f17b15a65ff5414c6c94384b
tree58d97c256e45973559a70f7cb702f670c0317ef0
parent1598efe57b3e768056e4ca56cb9cf33111e68d1c
can: xilinx_can: add support for Xilinx CAN FD core

Add support for Xilinx CAN FD core.

The major difference from the previously supported cores is that there
are TX mailboxes instead of a TX FIFO and the RX FIFO access method is
different.

We only transmit one frame at a time to prevent the HW from reordering
frames (it uses CAN ID priority order).

Support for CAN FD protocol is not added yet.

v2: Removed unnecessary "rx-mode" DT property and wrapped some long
    lines.

Signed-off-by: Anssi Hannula <anssi.hannula@bitwise.fi>
Cc: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/xilinx_can.c