Skip to content

Commit c7d373c

Browse files
MaxMansfieldjhovold
authored andcommitted
usb: ftdi_sio: Add jtag quirk support for Cyber Cortex AV boards
This patch integrates Cyber Cortex AV boards with the existing ftdi_jtag_quirk in order to use serial port 0 with JTAG which is required by the manufacturers' software. Steps: 2 [ftdi_sio_ids.h] 1. Defined the device PID [ftdi_sio.c] 2. Added a macro declaration to the ids array, in order to enable the jtag quirk for the device. Signed-off-by: Max Mansfield <[email protected]> Cc: stable <[email protected]> Signed-off-by: Johan Hovold <[email protected]>
1 parent aa91def commit c7d373c

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

drivers/usb/serial/ftdi_sio.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -799,6 +799,8 @@ static const struct usb_device_id id_table_combined[] = {
799799
{ USB_DEVICE(FTDI_VID, FTDI_ELSTER_UNICOM_PID) },
800800
{ USB_DEVICE(FTDI_VID, FTDI_PROPOX_JTAGCABLEII_PID) },
801801
{ USB_DEVICE(FTDI_VID, FTDI_PROPOX_ISPCABLEIII_PID) },
802+
{ USB_DEVICE(FTDI_VID, CYBER_CORTEX_AV_PID),
803+
.driver_info = (kernel_ulong_t)&ftdi_jtag_quirk },
802804
{ USB_DEVICE(OLIMEX_VID, OLIMEX_ARM_USB_OCD_PID),
803805
.driver_info = (kernel_ulong_t)&ftdi_jtag_quirk },
804806
{ USB_DEVICE(OLIMEX_VID, OLIMEX_ARM_USB_OCD_H_PID),

drivers/usb/serial/ftdi_sio_ids.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@
3838

3939
#define FTDI_LUMEL_PD12_PID 0x6002
4040

41+
/* Cyber Cortex AV by Fabulous Silicon (http://fabuloussilicon.com) */
42+
#define CYBER_CORTEX_AV_PID 0x8698
43+
4144
/*
4245
* Marvell OpenRD Base, Client
4346
* http://www.open-rd.org

0 commit comments

Comments
 (0)