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

From: Frank Jungclaus
Date: Thu May 04 2023 - 11:44:32 EST


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
--
2.25.1