• Anssi Hannula's avatar
    can: xilinx_can: add support for Xilinx CAN FD core · 9e5f1b27
    Anssi Hannula authored
    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: default avatarAnssi Hannula <anssi.hannula@bitwise.fi>
    Cc: Michal Simek <michal.simek@xilinx.com>
    Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
    9e5f1b27
xilinx_can.c 45.3 KB