| From: |  | Benjamin Larsson <benjamin.larsson-AT-genexis.eu> | 
| To: |  | linux-serial-AT-vger.kernel.org,	devicetree-AT-vger.kernel.org | 
| Subject: |  | [PATCH v4 0/2] Airoha UART support | 
| Date: |  | Sun, 09 Feb 2025 22:02:39 +0100 | 
| Message-ID: |  | <20250209210241.2622309-1-benjamin.larsson@genexis.eu> | 
| Cc: |  | ansuelsmth-AT-gmail.com,	lorenzo-AT-kernel.org,	gregkh-AT-linuxfoundation.org,	Benjamin Larsson <benjamin.larsson-AT-genexis.eu> | 
| Archive-link: |  | Article | 
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.
Signed-off-by: Benjamin Larsson <benjamin.larsson@genexis.eu>
---
Changes in v4:
- Removed COMPILE_TEST from Kconfig
- Removed Kconfig option to build as module
Changes in v3:
- Reworded commit message
- Restructured comment text
- Fixed kernel-doc warning
- Fixed kernel test robot build error and build warning
Changes in v2:
- Removed ifdef use in .c files
- Removed uart port defines from user-space headers
- Reworded commit message
- Added code documentation
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.h                | 15 ++++
 drivers/tty/serial/8250/8250_airoha.c         | 83 +++++++++++++++++++
 drivers/tty/serial/8250/8250_of.c             |  2 +
 drivers/tty/serial/8250/8250_port.c           | 27 ++++++
 drivers/tty/serial/8250/Kconfig               | 10 +++
 drivers/tty/serial/8250/Makefile              |  1 +
 7 files changed, 140 insertions(+)
 create mode 100644 drivers/tty/serial/8250/8250_airoha.c
-- 
2.34.1