can: gs_usb: add VID/PID for CES CANext FD devices
authorPeter Fink <pfink@christ-es.de>
Mon, 8 Nov 2021 10:41:57 +0000 (11:41 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 10 Mar 2022 08:49:16 +0000 (09:49 +0100)
Add support for Christ Electronic Systems GmbH
CANext FD devices using the gs_usb driver.

Link: https://lore.kernel.org/all/20220309124132.291861-21-mkl@pengutronix.de
Signed-off-by: Peter Fink <pfink@christ-es.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/usb/gs_usb.c

index 8bc219823ccfe48b0e0b6a7600b2088cddebe123..816b4d8b1182f7114261fd2cb69d4787b923318e 100644 (file)
@@ -28,6 +28,9 @@
 #define USB_CANDLELIGHT_VENDOR_ID 0x1209
 #define USB_CANDLELIGHT_PRODUCT_ID 0x2323
 
+#define USB_CES_CANEXT_FD_VENDOR_ID 0x1cd2
+#define USB_CES_CANEXT_FD_PRODUCT_ID 0x606f
+
 #define GSUSB_ENDPOINT_IN 1
 #define GSUSB_ENDPOINT_OUT 2
 
@@ -1233,6 +1236,8 @@ static const struct usb_device_id gs_usb_table[] = {
                                      USB_GSUSB_1_PRODUCT_ID, 0) },
        { USB_DEVICE_INTERFACE_NUMBER(USB_CANDLELIGHT_VENDOR_ID,
                                      USB_CANDLELIGHT_PRODUCT_ID, 0) },
+       { USB_DEVICE_INTERFACE_NUMBER(USB_CES_CANEXT_FD_VENDOR_ID,
+                                     USB_CES_CANEXT_FD_PRODUCT_ID, 0) },
        {} /* Terminating entry */
 };