diff options
author | Antonio Ospite <ospite@studenti.unina.it> | 2012-09-23 03:57:25 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-24 16:42:42 -0400 |
commit | 54575b05af36959dfb6a49a3e9ca0c2b456b7126 (patch) | |
tree | 02c51f09e64ea0e7cae97ae4461c92931d02e179 /drivers | |
parent | a0693bd0aa95935bf1a720d7647619c2a4d789ed (diff) |
USB: ftdi_sio: add TIAO USB Multi-Protocol Adapter (TUMPA) support
TIAO/DIYGADGET USB Multi-Protocol Adapter (TUMPA) is an FTDI FT2232H
based device which provides an easily accessible JTAG, SPI, I2C, serial
breakout.
http://www.diygadget.com/tiao-usb-multi-protocol-adapter-jtag-spi-i2c-serial.html
http://www.tiaowiki.com/w/TIAO_USB_Multi_Protocol_Adapter_User%27s_Manual
FTDI FT2232H provides two serial channels (A and B), but on the TUMPA
channel A is dedicated to JTAG/SPI while channel B can be used for
UART/RS-232: use the ftdi_jtag_quirk to expose only channel B as
a usb-serial interface to userspace.
Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/serial/ftdi_sio.c | 2 | ||||
-rw-r--r-- | drivers/usb/serial/ftdi_sio_ids.h | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index 8742a0ee2091..9169f51777ef 100644 --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c | |||
@@ -579,6 +579,8 @@ static struct usb_device_id id_table_combined [] = { | |||
579 | { USB_DEVICE(FTDI_VID, FTDI_IBS_PEDO_PID) }, | 579 | { USB_DEVICE(FTDI_VID, FTDI_IBS_PEDO_PID) }, |
580 | { USB_DEVICE(FTDI_VID, FTDI_IBS_PROD_PID) }, | 580 | { USB_DEVICE(FTDI_VID, FTDI_IBS_PROD_PID) }, |
581 | { USB_DEVICE(FTDI_VID, FTDI_TAVIR_STK500_PID) }, | 581 | { USB_DEVICE(FTDI_VID, FTDI_TAVIR_STK500_PID) }, |
582 | { USB_DEVICE(FTDI_VID, FTDI_TIAO_UMPA_PID), | ||
583 | .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk }, | ||
582 | /* | 584 | /* |
583 | * ELV devices: | 585 | * ELV devices: |
584 | */ | 586 | */ |
diff --git a/drivers/usb/serial/ftdi_sio_ids.h b/drivers/usb/serial/ftdi_sio_ids.h index 41fe5826100c..57c12ef6625e 100644 --- a/drivers/usb/serial/ftdi_sio_ids.h +++ b/drivers/usb/serial/ftdi_sio_ids.h | |||
@@ -517,6 +517,11 @@ | |||
517 | */ | 517 | */ |
518 | #define FTDI_TAVIR_STK500_PID 0xFA33 /* STK500 AVR programmer */ | 518 | #define FTDI_TAVIR_STK500_PID 0xFA33 /* STK500 AVR programmer */ |
519 | 519 | ||
520 | /* | ||
521 | * TIAO product ids (FTDI_VID) | ||
522 | * http://www.tiaowiki.com/w/Main_Page | ||
523 | */ | ||
524 | #define FTDI_TIAO_UMPA_PID 0x8a98 /* TIAO/DIYGADGET USB Multi-Protocol Adapter */ | ||
520 | 525 | ||
521 | 526 | ||
522 | /********************************/ | 527 | /********************************/ |