Skip to content

8250: Split Fintek PCIE to UART to independent file

Peter Hung linux-serial lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3serial: 8250_pci: Remove Fintek PCIE UART driverdrivers/tty/serial/8250/8250_pci.c+0 -2010 replies
2/38250_fintek_pci: Add Fintek PCIE UART driverdrivers/tty/serial/8250/8250_fintek_pci.c drivers/tty/serial/8250/Kconfig drivers/tty/serial/8250/Makefile+427 -00 replies
3/38250_fintek_pci: Add GPIOLIB supportdrivers/tty/serial/8250/8250_fintek_pci.c+359 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] 8250: Split Fintek PCIE to UART to independent file

Fintek F81504/508/512 is a multi-functional PCIE device. It contains GPIO and serial port with high baudrate & RTS auto direction for RS485.

The serial ports support from 50bps to 1.5Mbps with Linux baudrate define excluding 1.0Mbps due to not support 16MHz clock source.

IC function list:
F81504: Max 2x8 GPIOs and max 4 serial ports
port2/3 are multi-function
F81508: Max 6x8 GPIOs and max 8 serial ports
port2/3 are multi-function, port8/9/10/11 are gpio only
F81512: Max 6x8 GPIOs and max 12 serial ports
port2/3/8/9/10/11 are multi-function

We'll spilt from 8250_pci.c to new file 8250_fintek_pci.c and make it as a kernel module with first & second patch, implements GPIOLIB with third patch.

Peter Hung (3):
serial: 8250_pci: Remove Fintek PCIE UART driver 8250_fintek_pci: Add Fintek PCIE UART driver 8250_fintek_pci: Add GPIOLIB support

 drivers/tty/serial/8250/8250_fintek_pci.c | 767 ++++++++++++++++++++++++++++++
 drivers/tty/serial/8250/8250_pci.c        | 201 --------
 drivers/tty/serial/8250/Kconfig           |   9 +
 drivers/tty/serial/8250/Makefile          |   1 +
 4 files changed, 777 insertions(+), 201 deletions(-)
 create mode 100644 drivers/tty/serial/8250/8250_fintek_pci.c
Signature · 1 line
1.9.1