linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V3 0/6] the UART driver compatible with the Amlogic Meson
@ 2021-12-30 10:21 Yu Tu
  2021-12-30 10:21 ` [PATCH V3 1/6] tty: serial: meson: Drop the legacy compatible strings and clock code Yu Tu
                   ` (5 more replies)
  0 siblings, 6 replies; 39+ messages in thread
From: Yu Tu @ 2021-12-30 10:21 UTC (permalink / raw)
  To: linux-serial, linux-arm-kernel, linux-amlogic, linux-kernel
  Cc: Greg Kroah-Hartman, Jiri Slaby, Neil Armstrong, Vyacheslav,
	Kevin Hilman, Jerome Brunet, Martin Blumenstingl, Yu Tu

1.Using the common Clock code to describe the UART baud rate clock makes it
easier for the UART driver to be compatible with the baud rate requirements
of the UART IP on different meson chips. Add Meson S4 SoC compatible.

2.Fix some omissions

3.An interrupt error occurs when the user opens (/dev/ttyAML0) twice
in a row

Yu Tu (6):
  tty: serial: meson: Drop the legacy compatible strings and clock code
  tty: serial: meson: Request the register region in meson_uart_probe()
  dt-bindings: serial: meson: Support S4 SoC uart. Also Drop compatible
    = amlogic,meson-gx-uart.
  tty: serial: meson: The UART baud rate calculation is described using
    the common clock code. Also added S4 chip uart Compatible.
  tty: serial: meson: meson_uart_shutdown omit clear AML_UART_TX_EN bit
  tty: serial: meson: Change request_irq to devm_request_irq and move
    devm_request_irq to meson_uart_probe()

V1 -> V2: Use CCF to describe the UART baud rate clock.Make some changes as
discussed in the email
V2 -> V3: add compatible = "amlogic,meson-gx-uart". Because it must change
the DTS before it can be deleted

Link:https://lore.kernel.org/linux-amlogic/20211221071634.25980-2-yu.tu@amlogic.com/

 .../bindings/serial/amlogic,meson-uart.yaml   |  10 +-
 drivers/tty/serial/Kconfig                    |   1 +
 drivers/tty/serial/meson_uart.c               | 367 +++++++++++++-----
 3 files changed, 273 insertions(+), 105 deletions(-)

-- 
2.33.1


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

end of thread, other threads:[~2022-01-05  5:54 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-30 10:21 [PATCH V3 0/6] the UART driver compatible with the Amlogic Meson Yu Tu
2021-12-30 10:21 ` [PATCH V3 1/6] tty: serial: meson: Drop the legacy compatible strings and clock code Yu Tu
2021-12-30 22:22   ` Martin Blumenstingl
2021-12-31 10:27     ` Yu Tu
2021-12-31 15:35       ` Martin Blumenstingl
2022-01-03 14:59         ` Neil Armstrong
2022-01-03 15:19           ` Greg Kroah-Hartman
2022-01-03 15:29             ` Neil Armstrong
2022-01-03 16:29               ` Greg Kroah-Hartman
2022-01-03 16:35                 ` Neil Armstrong
2021-12-30 10:21 ` [PATCH V3 2/6] tty: serial: meson: Request the register region in meson_uart_probe() Yu Tu
2021-12-30 12:29   ` Greg Kroah-Hartman
2021-12-30 22:28     ` Martin Blumenstingl
2021-12-30 10:21 ` [PATCH V3 3/6] dt-bindings: serial: meson: Support S4 SoC uart. Also Drop compatible = amlogic,meson-gx-uart Yu Tu
2021-12-30 12:28   ` Greg Kroah-Hartman
2021-12-31 10:18     ` Yu Tu
2021-12-30 22:34   ` Martin Blumenstingl
2021-12-31 10:35     ` Yu Tu
2021-12-30 10:21 ` [PATCH V3 4/6] tty: serial: meson: The UART baud rate calculation is described using the common clock code. Also added S4 chip uart Compatible Yu Tu
2021-12-30 12:27   ` Greg Kroah-Hartman
2021-12-31 10:23     ` Yu Tu
2021-12-30 23:13   ` Martin Blumenstingl
2021-12-31 11:24     ` Yu Tu
2021-12-31 15:32       ` Martin Blumenstingl
2022-01-01 13:30         ` Yu Tu
2022-01-02 19:36           ` Martin Blumenstingl
2022-01-04  8:20             ` Yu Tu
2022-01-03 13:50           ` Jerome Brunet
2022-01-03 12:40   ` Jerome Brunet
2022-01-04  9:57     ` Yu Tu
2022-01-04 10:36       ` Jerome Brunet
2022-01-04 14:35         ` Yu Tu
2022-01-05  5:53           ` Yu Tu
2021-12-30 10:21 ` [PATCH V3 5/6] tty: serial: meson: meson_uart_shutdown omit clear AML_UART_TX_EN bit Yu Tu
2021-12-30 22:44   ` Martin Blumenstingl
2021-12-31 10:42     ` Yu Tu
2021-12-30 10:21 ` [PATCH V3 6/6] tty: serial: meson: Change request_irq to devm_request_irq and move devm_request_irq to meson_uart_probe() Yu Tu
2021-12-30 22:41   ` Martin Blumenstingl
2021-12-31 10:37     ` Yu Tu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).