android_kernel_motorola_sm6375/drivers/usb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Mychaela N. Falconia 22ab9ca024 USB: serial: ftdi_sio: add support for FreeCalypso JTAG+UART adapters
commit 6cf87e5edd9944e1d3b6efd966ea401effc304ee upstream.

There exist many FT2232-based JTAG+UART adapter designs in which
FT2232 Channel A is used for JTAG and Channel B is used for UART.
The best way to handle them in Linux is to have the ftdi_sio driver
create a ttyUSB device only for Channel B and not for Channel A:
a ttyUSB device for Channel A would be bogus and will disappear as
soon as the user runs OpenOCD or other applications that access
Channel A for JTAG from userspace, causing undesirable noise for
users.  The ftdi_sio driver already has a dedicated quirk for such
JTAG+UART FT2232 adapters, and it requires assigning custom USB IDs
to such adapters and adding these IDs to the driver with the
ftdi_jtag_quirk applied.

Boutique hardware manufacturer Falconia Partners LLC has created a
couple of JTAG+UART adapter designs (one buffered, one unbuffered)
as part of FreeCalypso project, and this hardware is specifically made
to be used with Linux hosts, with the intent that Channel A will be
accessed only from userspace via appropriate applications, and that
Channel B will be supported by the ftdi_sio kernel driver, presenting
a standard ttyUSB device to userspace.  Toward this end the hardware
manufacturer will be programming FT2232 EEPROMs with custom USB IDs,
specifically with the intent that these IDs will be recognized by
the ftdi_sio driver with the ftdi_jtag_quirk applied.

Signed-off-by: Mychaela N. Falconia <[email protected]>
[johan: insert in PID order and drop unused define]
Cc: [email protected]
Signed-off-by: Johan Hovold <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2020-10-17 10:11:23 +02:00
..
atm
c67x00 USB: c67x00: fix use after free in c67x00_giveback_urb 2020-07-22 09:33:09 +02:00
cdns3 usb: cdns3: gadget: always zeroed TRB buffer when enable endpoint 2020-09-03 11:26:49 +02:00
chipidea usb: chipidea: core: add wakeup support for extcon 2020-07-22 09:33:10 +02:00
class usblp: fix race between disconnect() and read() 2020-09-23 12:40:44 +02:00
common
core USB: quirks: Add USB_QUIRK_IGNORE_REMOTE_WAKEUP quirk for BYD zhaoxin notebook 2020-09-23 12:40:43 +02:00
dwc2 usb: dwc2: Fix error path in gadget registration 2020-08-19 08:16:15 +02:00
dwc3 usb: dwc3: Increase timeout for CmdAct cleared by device controller 2020-10-01 13:18:04 +02:00
early
gadget USB: gadget: f_ncm: Fix NDP16 datagram validation 2020-10-07 08:01:23 +02:00
host USB: EHCI: ehci-mv: fix less than zero comparison of an unsigned int 2020-10-01 13:18:02 +02:00
image
isp1760
misc USB: yurex: Fix bad gfp argument 2020-09-03 11:27:07 +02:00
mon
mtu3 usb: mtu3: clear dual mode of u3port when disable device 2020-08-19 08:16:02 +02:00
musb
phy
renesas_usbhs usb: renesas_usbhs: getting residue from callback_result 2020-06-30 15:37:00 -04:00
roles
serial USB: serial: ftdi_sio: add support for FreeCalypso JTAG+UART adapters 2020-10-17 10:11:23 +02:00
storage USB: UAS: fix disconnect by unplugging a hub 2020-09-23 12:40:43 +02:00
typec usb: typec: ucsi: Prevent mode overrun 2020-09-23 12:40:44 +02:00
usbip
Kconfig
Makefile
usb-skeleton.c