Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

USB: ftdi_sio: Support TI/Luminary Micro Stellaris BD-ICDI Board

Some Stellaris evaluation kits have the JTAG/SWD FTDI chip onboard,
and some, like EK-LM3S9B90, come with a separate In-Circuit Debugger
Interface Board. The ICDI board can also be used stand-alone, for
other boards and chips than the kit it came with. The ICDI has both
old style 20-pin JTAG connector and new style JTAG/SWD 10-pin 1.27mm
pitch connector.

Tested with EK-LM3S9B90, where the BD-ICDI board is included.

Signed-off-by: Peter Stuge <peter@stuge.se>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Peter Stuge and committed by
Greg Kroah-Hartman
3687f641 a8b43c00

+3
+2
drivers/usb/serial/ftdi_sio.c
··· 747 747 .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk }, 748 748 { USB_DEVICE(FTDI_VID, LMI_LM3S_EVAL_BOARD_PID), 749 749 .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk }, 750 + { USB_DEVICE(FTDI_VID, LMI_LM3S_ICDI_BOARD_PID), 751 + .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk }, 750 752 { USB_DEVICE(FTDI_VID, FTDI_TURTELIZER_PID), 751 753 .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk }, 752 754 { USB_DEVICE(RATOC_VENDOR_ID, RATOC_PRODUCT_ID_USB60F) },
+1
drivers/usb/serial/ftdi_sio_ids.h
··· 54 54 /* FTDI 2332C Dual channel device, side A=245 FIFO (JTAG), Side B=RS232 UART */ 55 55 #define LMI_LM3S_DEVEL_BOARD_PID 0xbcd8 56 56 #define LMI_LM3S_EVAL_BOARD_PID 0xbcd9 57 + #define LMI_LM3S_ICDI_BOARD_PID 0xbcda 57 58 58 59 #define FTDI_TURTELIZER_PID 0xBDC8 /* JTAG/RS-232 adapter by egnite GmbH */ 59 60