[PATCH V4 0/5] the UART driver compatible with

From: Yu Tu
Date: Mon Jan 10 2022 - 03:57:39 EST


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@xxxxxxxxxxx/

.../bindings/serial/amlogic,meson-uart.yaml | 10 +-
drivers/tty/serial/meson_uart.c | 244 ++++++++++++------
2 files changed, 177 insertions(+), 77 deletions(-)

--
2.33.1