[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220110085604.18042-1-yu.tu@amlogic.com>
Date: Mon, 10 Jan 2022 16:55:59 +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>, <devicetree@...r.kernel.org>
CC: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Rob Herring <robh+dt@...nel.org>,
Jiri Slaby <jirislaby@...nel.org>,
Neil Armstrong <narmstrong@...libre.com>,
Kevin Hilman <khilman@...libre.com>,
Jerome Brunet <jbrunet@...libre.com>,
Martin Blumenstingl <martin.blumenstingl@...glemail.com>,
Yu Tu <yu.tu@...ogic.com>
Subject: [PATCH V4 0/5] the UART driver compatible with
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.
Yu Tu (5):
dt-bindings: serial: meson: Drop compatible = amlogic,meson-gx-uart.
tty: serial: meson: Request the register region in meson_uart_probe()
tty: serial: meson: The UART baud rate calculation is described using
the common clock code.
tty: serial: meson: Make the bit24 and bit [26,27] of the UART_REG5
register writable
tty: serial: meson: Added S4 SOC compatibility.
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
V3 -> V4: Change CCF to describe the UART baud rate clock as discussed
in the email.
Link:https://lore.kernel.org/linux-amlogic/20211230102110.3861-4-yu.tu@amlogic.com/
.../bindings/serial/amlogic,meson-uart.yaml | 10 +-
drivers/tty/serial/meson_uart.c | 244 ++++++++++++------
2 files changed, 177 insertions(+), 77 deletions(-)
--
2.33.1
Powered by blists - more mailing lists