devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] serial: 8250_dw: Introduce SG2044 uart support.
@ 2024-10-21  7:26 Inochi Amaoto
  2024-10-21  7:26 ` [PATCH v2 1/2] dt-bindings: serial: snps-dw-apb-uart: Add Sophgo SG2044 uarts Inochi Amaoto
  2024-10-21  7:26 ` [PATCH v2 2/2] serial: 8250_dw: Add Sophgo SG2044 quirk Inochi Amaoto
  0 siblings, 2 replies; 16+ messages in thread
From: Inochi Amaoto @ 2024-10-21  7:26 UTC (permalink / raw)
  To: Chen Wang, Greg Kroah-Hartman, Jiri Slaby, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Ilpo Järvinen,
	Andy Shevchenko, Paul Walmsley, Palmer Dabbelt, Albert Ou,
	Inochi Amaoto
  Cc: Yixun Lan, Inochi Amaoto, linux-kernel, linux-serial, devicetree,
	linux-riscv

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


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2024-10-23 18:53 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-21  7:26 [PATCH v2 0/2] serial: 8250_dw: Introduce SG2044 uart support Inochi Amaoto
2024-10-21  7:26 ` [PATCH v2 1/2] dt-bindings: serial: snps-dw-apb-uart: Add Sophgo SG2044 uarts Inochi Amaoto
2024-10-21 12:10   ` Conor Dooley
2024-10-21 12:18     ` Inochi Amaoto
2024-10-21 12:21       ` Conor Dooley
2024-10-21 12:23         ` Inochi Amaoto
2024-10-22 17:25           ` Conor Dooley
2024-10-23  0:32             ` Inochi Amaoto
2024-10-23 18:53               ` Conor Dooley
2024-10-21 18:00         ` Rob Herring
2024-10-21  7:26 ` [PATCH v2 2/2] serial: 8250_dw: Add Sophgo SG2044 quirk Inochi Amaoto
2024-10-21  8:29   ` Andy Shevchenko
2024-10-21  8:52   ` Ilpo Järvinen
2024-10-21 10:08     ` Inochi Amaoto
2024-10-21 10:17       ` Ilpo Järvinen
2024-10-21 12:03         ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).