Skip to content

serial: 8250 driver improvements & Cavium OCTEON serial support

David Daney linux-mips linux-serial lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4serial: 8250 driver replaceable i/o functions.drivers/serial/8250.c include/linux/serial_8250.h include/linux/serial_core.h+0 -02 replies
2/4serial: Allow port type to be specified when calling serial8250_register_port.drivers/serial/8250.c drivers/serial/serial_core.c include/linux/serial_core.h+0 -00 replies
3/4serial: Allow port type to specify bugs that are not probed for.drivers/serial/8250.c drivers/serial/8250.h+0 -00 replies
4/4serial: Add new uart_config for PORT_OCTEONdrivers/serial/8250.c drivers/serial/8250.h include/linux/serial_core.h +1 more+0 -00 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/4] serial: 8250 driver improvements & Cavium OCTEON serial support

This is a follow up to the 'Allow for replaceable I/O functions in 8250 driver' patch I sent yesterday. I hope it addresses the issues raised by Alan Cox and Arnd Bergmann.

The four parts of the patch are as follows:

1/4) Add replaceable I/O functions to the 8250 driver. This allows
platform specific register access code to be moved out of the driver into the platform support files.

2/4) Add a new port flag UPF_FIXED_TYPE that allows callers of
serial8250_register_port() to specify the port type and disables probing.

3/4) Add a 'bugs' field to the serial8250_config. Used in conjunction
with 2/4, this allows the bugs flags to be set without probing.

4/4) Add an entry to uart_config for PORT_OCTEON describing the
OCTEON's internal UARTs. Two new bug flags are defined to account for PORT_OCTEON's peculiarities.

Comments welcome,

David Daney