USB: serial: ftdi_sio: add ID for isodebug v1
authorAndreas Fritiofson <andreas.fritiofson@unjo.com>
Fri, 28 Jun 2019 13:08:34 +0000 (15:08 +0200)
committerJohan Hovold <johan@kernel.org>
Fri, 28 Jun 2019 15:12:35 +0000 (17:12 +0200)
This adds the vid:pid of the isodebug v1 isolated JTAG/SWD+UART. Only the
second channel is available for use as a serial port.

Signed-off-by: Andreas Fritiofson <andreas.fritiofson@unjo.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/ftdi_sio.c
drivers/usb/serial/ftdi_sio_ids.h

index 1d8461a..23669a5 100644 (file)
@@ -1029,6 +1029,7 @@ static const struct usb_device_id id_table_combined[] = {
        { USB_DEVICE(AIRBUS_DS_VID, AIRBUS_DS_P8GR) },
        /* EZPrototypes devices */
        { USB_DEVICE(EZPROTOTYPES_VID, HJELMSLUND_USB485_ISO_PID) },
+       { USB_DEVICE_INTERFACE_NUMBER(UNJO_VID, UNJO_ISODEBUG_V1_PID, 1) },
        { }                                     /* Terminating entry */
 };
 
index 5755f0d..f12d806 100644 (file)
 #define CHETCO_SEASMART_DISPLAY_PID    0xA5AD /* SeaSmart NMEA2000 Display */
 #define CHETCO_SEASMART_LITE_PID       0xA5AE /* SeaSmart Lite USB Adapter */
 #define CHETCO_SEASMART_ANALOG_PID     0xA5AF /* SeaSmart Analog Adapter */
+
+/*
+ * Unjo AB
+ */
+#define UNJO_VID                       0x22B7
+#define UNJO_ISODEBUG_V1_PID           0x150D