[PATCH V1 0/6] USB: serial: f81232: Add F81534A support

From: Ji-Ze Hong (Peter Hong)
Date: Wed Jun 05 2019 - 22:58:41 EST

This series patches will add Fintek F81532A/534A/535/536 support and
refactoring some source code.

The Fintek F81532A/534A/535/536 is USB-to-2/4/8/12 serial ports device.
It cotains a HUB, a GPIO device and 2/4/8/12 serial ports. The F81534A
series will default enable only HUB & GPIO device when plugged and disable
UARTs as default. We need control GPIO device to enable serial port with
special sequence.

The most serial port features of F81534A series is same with F81232.
That's the difference with following:
1. More RX FIFO and cache. (128byte FIFO + max to 128bytes*4 cache)
2. up to 3MBits baudrate.
3. 3x GPIOs per port to control transceiver.
4. UART devices need enabled by GPIO device register.

Ji-Ze Hong (Peter Hong) (6):
USB: serial: f81232: Add F81534A support
USB: serial: f81232: Force F81534A with RS232 mode
USB: serial: f81232: Add generator for F81534A
USB: serial: f81232: Add tx_empty function
USB: serial: f81232: Use devm_kzalloc
USB: serial: f81232: Add gpiolib to GPIO device

drivers/usb/serial/f81232.c | 760 ++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 741 insertions(+), 19 deletions(-)