diff options
author | Jeffrey Chu <jeffrey.chu@cypress.com> | 2017-09-08 17:08:58 -0400 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2017-09-18 04:32:51 -0400 |
commit | a6c215e21b0dc5fe9416dce90f9acc2ea53c4502 (patch) | |
tree | 00652ac552f0b3f5d60ffca1daac1b148d56cbf5 | |
parent | 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e (diff) |
USB: serial: ftdi_sio: add id for Cypress WICED dev board
Add CYPRESS_VID vid and CYPRESS_WICED_BT_USB and CYPRESS_WICED_WL_USB
device IDs to ftdi_sio driver.
Signed-off-by: Jeffrey Chu <jeffrey.chu@cypress.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
-rw-r--r-- | drivers/usb/serial/ftdi_sio.c | 2 | ||||
-rw-r--r-- | drivers/usb/serial/ftdi_sio_ids.h | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index 1cec03799cdf..49d1b2d4606d 100644 --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c | |||
@@ -1015,6 +1015,8 @@ static const struct usb_device_id id_table_combined[] = { | |||
1015 | { USB_DEVICE(WICED_VID, WICED_USB20706V2_PID) }, | 1015 | { USB_DEVICE(WICED_VID, WICED_USB20706V2_PID) }, |
1016 | { USB_DEVICE(TI_VID, TI_CC3200_LAUNCHPAD_PID), | 1016 | { USB_DEVICE(TI_VID, TI_CC3200_LAUNCHPAD_PID), |
1017 | .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk }, | 1017 | .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk }, |
1018 | { USB_DEVICE(CYPRESS_VID, CYPRESS_WICED_BT_USB_PID) }, | ||
1019 | { USB_DEVICE(CYPRESS_VID, CYPRESS_WICED_WL_USB_PID) }, | ||
1018 | { } /* Terminating entry */ | 1020 | { } /* Terminating entry */ |
1019 | }; | 1021 | }; |
1020 | 1022 | ||
diff --git a/drivers/usb/serial/ftdi_sio_ids.h b/drivers/usb/serial/ftdi_sio_ids.h index 4fcf1cecb6d7..f9d15bd62785 100644 --- a/drivers/usb/serial/ftdi_sio_ids.h +++ b/drivers/usb/serial/ftdi_sio_ids.h | |||
@@ -610,6 +610,13 @@ | |||
610 | #define ADI_GNICEPLUS_PID 0xF001 | 610 | #define ADI_GNICEPLUS_PID 0xF001 |
611 | 611 | ||
612 | /* | 612 | /* |
613 | * Cypress WICED USB UART | ||
614 | */ | ||
615 | #define CYPRESS_VID 0x04B4 | ||
616 | #define CYPRESS_WICED_BT_USB_PID 0x009B | ||
617 | #define CYPRESS_WICED_WL_USB_PID 0xF900 | ||
618 | |||
619 | /* | ||
613 | * Microchip Technology, Inc. | 620 | * Microchip Technology, Inc. |
614 | * | 621 | * |
615 | * MICROCHIP_VID (0x04D8) and MICROCHIP_USB_BOARD_PID (0x000A) are | 622 | * MICROCHIP_VID (0x04D8) and MICROCHIP_USB_BOARD_PID (0x000A) are |