public inbox for linux-serial@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Airoha UART support
@ 2025-01-11 13:22 Benjamin Larsson
  2025-01-11 13:22 ` [PATCH 1/2] dt-bindings: serial: 8250: Add Airoha compatibles Benjamin Larsson
  2025-01-11 13:22 ` [PATCH 2/2] serial: Airoha SoC UART and HSUART support Benjamin Larsson
  0 siblings, 2 replies; 20+ messages in thread
From: Benjamin Larsson @ 2025-01-11 13:22 UTC (permalink / raw)
  To: linux-serial, devicetree
  Cc: ansuelsmth, lorenzo, krzk, gregkh, Benjamin Larsson

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 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                | 16 ++++
 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, 141 insertions(+)
 create mode 100644 drivers/tty/serial/8250/8250_airoha.c

-- 
2.34.1


^ permalink raw reply	[flat|nested] 20+ messages in thread
* [PATCH v4 0/2] Airoha UART support
@ 2025-02-09 21:02 Benjamin Larsson
  2025-02-09 21:02 ` [PATCH 2/2] serial: Airoha SoC UART and HSUART support Benjamin Larsson
  0 siblings, 1 reply; 20+ messages in thread
From: Benjamin Larsson @ 2025-02-09 21:02 UTC (permalink / raw)
  To: linux-serial, devicetree; +Cc: ansuelsmth, lorenzo, gregkh, Benjamin Larsson

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


^ permalink raw reply	[flat|nested] 20+ messages in thread
* [PATCH v3 0/2] Airoha UART support
@ 2025-01-19 13:01 Benjamin Larsson
  2025-01-19 13:01 ` [PATCH 2/2] serial: Airoha SoC UART and HSUART support Benjamin Larsson
  0 siblings, 1 reply; 20+ messages in thread
From: Benjamin Larsson @ 2025-01-19 13:01 UTC (permalink / raw)
  To: linux-serial, devicetree
  Cc: ansuelsmth, lorenzo, krzk+dt, gregkh, linux-kernel,
	Benjamin Larsson

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 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


^ permalink raw reply	[flat|nested] 20+ messages in thread
* [PATCH 0/2] Airoha UART support
@ 2025-01-05 13:11 Benjamin Larsson
  2025-01-05 13:11 ` [PATCH 2/2] serial: Airoha SoC UART and HSUART support Benjamin Larsson
  0 siblings, 1 reply; 20+ messages in thread
From: Benjamin Larsson @ 2025-01-05 13:11 UTC (permalink / raw)
  To: linux-serial, devicetree; +Cc: ansuelsmth, lorenzo, Benjamin Larsson

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@genexis.eu>
-- 
2.34.1


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2025-03-25 14:23 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-11 13:22 [PATCH v2 0/2] Airoha UART support Benjamin Larsson
2025-01-11 13:22 ` [PATCH 1/2] dt-bindings: serial: 8250: Add Airoha compatibles Benjamin Larsson
2025-01-11 13:27   ` Krzysztof Kozlowski
2025-01-11 13:38     ` Benjamin Larsson
2025-01-11 13:22 ` [PATCH 2/2] serial: Airoha SoC UART and HSUART support Benjamin Larsson
2025-01-12 10:54   ` kernel test robot
2025-01-12 13:04   ` kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2025-02-09 21:02 [PATCH v4 0/2] Airoha UART support Benjamin Larsson
2025-02-09 21:02 ` [PATCH 2/2] serial: Airoha SoC UART and HSUART support Benjamin Larsson
2025-03-22 21:42   ` Andy Shevchenko
2025-03-25 14:19     ` Benjamin Larsson
2025-03-25 14:23       ` Andy Shevchenko
2025-01-19 13:01 [PATCH v3 0/2] Airoha UART support Benjamin Larsson
2025-01-19 13:01 ` [PATCH 2/2] serial: Airoha SoC UART and HSUART support Benjamin Larsson
2025-01-05 13:11 [PATCH 0/2] Airoha UART support Benjamin Larsson
2025-01-05 13:11 ` [PATCH 2/2] serial: Airoha SoC UART and HSUART support Benjamin Larsson
2025-01-05 15:59   ` Greg KH
2025-01-05 20:44     ` Benjamin Larsson
2025-01-06  8:09       ` Greg KH
2025-01-06 12:35         ` Benjamin Larsson
2025-01-07 10:44           ` Greg KH
2025-01-06  7:19   ` Krzysztof Kozlowski
2025-01-06 15:58     ` Benjamin Larsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox