lkml.org 
[lkml]   [2021]   [Dec]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH V2 0/6] the UART driver compatible with the Amlogic Meson S4
Date
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

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 | 359 +++++++++++++-----
3 files changed, 265 insertions(+), 105 deletions(-)

--
2.33.1

\
 
 \ /
  Last update: 2021-12-29 14:54    [W:2.281 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site