USB: serial: ftdi_sio: add Olimex ARM-USB-TINY(H) PIDs
authorAndrey Korolyov <andrey@xdel.ru>
Tue, 16 May 2017 20:54:41 +0000 (23:54 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 May 2017 13:44:38 +0000 (15:44 +0200)
commit545a3171d37fdb5b9390a0852093309dd03ba2a5
tree17df97d4e867d77746fe5cc1566eaf655e292bf3
parent038ccaa5d50e7b338fd6c4b1293d1e2aa0b3d8da
USB: serial: ftdi_sio: add Olimex ARM-USB-TINY(H) PIDs

commit 5f63424ab7daac840df2b12dd5bcc5b38d50f779 upstream.

This patch adds support for recognition of ARM-USB-TINY(H) devices which
are almost identical to ARM-USB-OCD(H) but lacking separate barrel jack
and serial console.

By suggestion from Johan Hovold it is possible to replace
ftdi_jtag_quirk with a bit more generic construction. Since all
Olimex-ARM debuggers has exactly two ports, we could safely always use
only second port within the debugger family.

Signed-off-by: Andrey Korolyov <andrey@xdel.ru>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/ftdi_sio.c
drivers/usb/serial/ftdi_sio_ids.h