On Mon, Dec 04, 2023 at 07:45:42PM +0100, Christina Quast wrote: > Adds the serial driver for FT260 USB HID devices, providing direct and > simplified access to UART functionality without the need for FT260 HID > report format knowledge. > > This chip implements an UART and I2C interface, but only the latter was > previously supported with a kernel driver. For the UART interface, only > FTDI example code using hidraw from userspace was available. > > This commit adds a serial interface /dev/ttyFTx (FT as in FT260), which > implements tty serial driver ops, facilitating baudrate configuration, > data transmission and reception, termios settings. > > Signed-off-by: Daniel Beer <daniel.beer@xxxxxxxxxxxxxxxxx> > Signed-off-by: Christina Quast <contact@xxxxxxxxxxxxxxxxxx> > --- > > V1 -> V2: Adressed review comments, added power saving mode quirk > V2 -> V3: Added return 0 in ft260_i2c_probe function > V3 -> V4: > - Adressed review comments > - Added get_icount > - Fixed tty port lifetime bug Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>