Skip to contentSkip to conversation

USB: serial: ftdi_sio: Add support for CBUS GPIO

PATCH Superseded Johan Hovold 1 participant 1 message Aug 20, 2018 USB

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 USB: serial: ftdi_sio: Add support for CBUS GPIO

Quoted 13 lines · Loic Poulain

Hi Johan,

Quoted 10 lines · Loic Poulain

Some FTDI devices like FTX or FT232R support CBUS Bit Bang mode on CBUS pins, allowing host to control them via simple USB control transfers. To make use of a CBUS pin in Bit Bang mode, the pin must be configured to I/O mode in the FTDI EEPROM. This mode perfectly coexists with regular USB to Serial function.

In this implementation, a GPIO controller is registered on FTDI probe if at least one CBUS pin is configured for I/O mode. For now, only FTX devices are supported.

Quoted 8 lines
Quoted 6 lines

This patch is based on previous Stefan Agner implementation tentative on LKML [1].

[1] Message-Id: [email protected]

Any comments on this v3?

I'm just back from vacation and haven't had time to look at this one yet at all. Sorry.

Johan