[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211230102110.3861-1-yu.tu@amlogic.com>
Date: Thu, 30 Dec 2021 18:21:04 +0800
From: Yu Tu <yu.tu@...ogic.com>
To: <linux-serial@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-amlogic@...ts.infradead.org>, <linux-kernel@...r.kernel.org>
CC: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jirislaby@...nel.org>,
Neil Armstrong <narmstrong@...libre.com>,
Vyacheslav <adeep@...ina.in>,
Kevin Hilman <khilman@...libre.com>,
Jerome Brunet <jbrunet@...libre.com>,
Martin Blumenstingl <martin.blumenstingl@...glemail.com>,
Yu Tu <yu.tu@...ogic.com>
Subject: [PATCH V3 0/6] the UART driver compatible with the Amlogic Meson
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
Powered by blists - more mailing lists