[0/2] can: esd_usb: Add support for esd CAN-USB/3 (CAN FD)

Message ID 20230504154414.1864615-1-frank.jungclaus@esd.eu
Headers
Series can: esd_usb: Add support for esd CAN-USB/3 (CAN FD) |

Message

Frank Jungclaus May 4, 2023, 3:44 p.m. UTC
  Add support for the newly available esd CAN-USB/3.

The USB protocol for the CAN-USB/3 is similar to the protocol used for
the CAN-USB/2 and the CAN-USB/Micro, so most of the code can be shared
for all three platforms. Most work simply arises from the fact, that
the CAN-USB/3 is capable of handling CAN FD frames.

The main job is to
* also probe for an esd CAN-USB/3
* extend USB structures for CAN FD data
* allow esd_usb_rx_can_msg() and esd_usb_start_xmit() to handle
  CAN FD frames
* spend structures and functionality for setting a CAN FD
  bittiming

Frank Jungclaus (2):
  can: esd_usb: Apply some small changes before adding esd CAN-USB/3
    support
  can: esd_usb: Add support for esd CAN-USB/3

 drivers/net/can/usb/esd_usb.c | 286 +++++++++++++++++++++++++++++-----
 1 file changed, 251 insertions(+), 35 deletions(-)


base-commit: 14575e3b5f3ece74e9143d7f7f195f3e5ff085f5