[PATCH V6 0/5] Use CCF to describe the UART baud rate clock
From: Yu Tu
Date: Mon Jan 17 2022 - 22:26:20 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):
tty: serial: meson: Move request the register region to probe
tty: serial: meson: Use devm_ioremap_resource to get register mapped
memory
tty: serial: meson: Describes the calculation of the UART baud rate
clock using a clock frame
tty: serial: meson: Make some bit of the REG5 register writable
tty: serial: meson: Added S4 SOC compatibility
V5 -> V6: Change error format as discussed in the email.
V4 -> V5: Change error format.
V3 -> V4: Change CCF to describe the UART baud rate clock as discussed
in the email.
V2 -> V3: add compatible = "amlogic,meson-gx-uart". Because it must change
the DTS before it can be deleted
V1 -> V2: Use CCF to describe the UART baud rate clock.Make some changes as
discussed in the email
Link:https://lore.kernel.org/linux-amlogic/20220110104214.25321-4-yu.tu@xxxxxxxxxxx/
drivers/tty/serial/meson_uart.c | 217 ++++++++++++++++++++++----------
1 file changed, 149 insertions(+), 68 deletions(-)
base-commit: 4d66020dcef83314092f2c8c89152a8d122627e2
--
2.33.1