The Airoha familty of SoCs have a UART hardware that is 16550-compatible with the exception of the baud rate settings. This patch implements code for calculating the baud rate for the Airoha UART and HSUART. Benjamin Larsson (2): dt-bindings: serial: 8250: Add Airoha compatibles serial: Airoha SoC UART and HSUART support devicetree/bindings/serial/8250.yaml | 2 + drivers/tty/serial/8250/8250_airoha.c | 85 +++++++++++++++++++ drivers/tty/serial/8250/8250_of.c | 2 + drivers/tty/serial/8250/8250_port.c | 26 ++++++ drivers/tty/serial/8250/Kconfig | 10 +++ drivers/tty/serial/8250/Makefile | 1 + include/linux/serial_8250.h | 1 + include/uapi/linux/serial_core.h | 6 ++ include/uapi/linux/serial_reg.h | 9 ++ 9 files changed, 142 insertions(+) create mode 100644 drivers/tty/serial/8250/8250_airoha.c Signed-off-by: Benjamin Larsson <benjamin.larsson@xxxxxxxxxx> -- 2.34.1