1 From 9bfef729a3d11f04d12788d749a3ce6b47645734 Mon Sep 17 00:00:00 2001
2 From: Doug Brown <doug@schmorgal.com>
3 Date: Fri, 4 Nov 2016 21:18:20 -0700
4 Subject: USB: serial: ftdi_sio: add support for TI CC3200 LaunchPad
6 From: Doug Brown <doug@schmorgal.com>
8 commit 9bfef729a3d11f04d12788d749a3ce6b47645734 upstream.
10 This patch adds support for the TI CC3200 LaunchPad board, which uses a
11 custom USB vendor ID and product ID. Channel A is used for JTAG, and
12 channel B is used for a UART.
14 Signed-off-by: Doug Brown <doug@schmorgal.com>
15 Signed-off-by: Johan Hovold <johan@kernel.org>
16 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
19 drivers/usb/serial/ftdi_sio.c | 2 ++
20 drivers/usb/serial/ftdi_sio_ids.h | 6 ++++++
21 2 files changed, 8 insertions(+)
23 --- a/drivers/usb/serial/ftdi_sio.c
24 +++ b/drivers/usb/serial/ftdi_sio.c
25 @@ -1012,6 +1012,8 @@ static const struct usb_device_id id_tab
26 { USB_DEVICE(ICPDAS_VID, ICPDAS_I7561U_PID) },
27 { USB_DEVICE(ICPDAS_VID, ICPDAS_I7563U_PID) },
28 { USB_DEVICE(WICED_VID, WICED_USB20706V2_PID) },
29 + { USB_DEVICE(TI_VID, TI_CC3200_LAUNCHPAD_PID),
30 + .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk },
31 { } /* Terminating entry */
34 --- a/drivers/usb/serial/ftdi_sio_ids.h
35 +++ b/drivers/usb/serial/ftdi_sio_ids.h
37 #define STK541_PID 0x2109 /* Zigbee Controller */
42 +#define TI_VID 0x0451
43 +#define TI_CC3200_LAUNCHPAD_PID 0xC32A /* SimpleLink Wi-Fi CC3200 LaunchPad */
47 * http://docs.blackfin.uclinux.org/doku.php?id=hw:jtag:gnice