This is my second attempt to add FD support in flexcan. my earlier patches can be referred here: [1] https://www.spinics.net/lists/linux-can/msg00348.html Some of the patches from above series have already been merged. There has been a significant change in flexcan code since i sent above patches namely: commit cbffaf7aa09e ("can: flexcan: Always use last mailbox for TX") with this patch, the flexcan FD supports breaks (if one were to apply the above patches[1]) To fix FD supprt with above commit, i have added changes in this series: 3/4: can: flexcan: modify the interrupt register handling The rest of the patches are from old patch series. V2: - Fix the overflow when setting CAN bittimings in CBT and FDCBT Registers Cc: Varun Sethi <V.Sethi@xxxxxxx> Pankaj Bansal (4): net: can: flexcan: use CAN FD frames for Tx/Rx can: flexcan: move can set bititings after module control can: flexcan: modify the interrupt register handling net: can: flexcan: can FD Format (FDF) changes drivers/net/can/flexcan.c | 342 ++++++++++++++++++++++++++------- drivers/net/can/rx-offload.c | 32 ++- include/linux/can/rx-offload.h | 6 +- 3 files changed, 300 insertions(+), 80 deletions(-) -- 2.17.1