mbox series

[v2,0/2] serial: 8250_dw: Introduce SG2044 uart support.

Message ID 20241021072606.585878-1-inochiama@gmail.com (mailing list archive)
Headers show
Series serial: 8250_dw: Introduce SG2044 uart support. | expand

Message

Inochi Amaoto Oct. 21, 2024, 7:26 a.m. UTC
SG2044 relys on an internal divisor when calculating bitrate, which
means a wrong clock for the most common bitrates. So a quirk is needed
for this uart device to skip the set rate call and only relys on the
internal UART divisor.

Changed from v1:
1. patch 1: improve the bindings commit message.
2. patch 2: rename jh7100 quirk and rename the quirk to
            dw8250_skip_set_rate_data.

Inochi Amaoto (2):
  dt-bindings: serial: snps-dw-apb-uart: Add Sophgo SG2044 uarts
  serial: 8250_dw: Add Sophgo SG2044 quirk

 .../devicetree/bindings/serial/snps-dw-apb-uart.yaml         | 4 ++++
 drivers/tty/serial/8250/8250_dw.c                            | 5 +++--
 2 files changed, 7 insertions(+), 2 deletions(-)

--
2.47.0