mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] serial: 8250_dw: Add ti,tda54-uart support
@ 2026-09-16  8:55 Moteen Shah
  2026-09-16  8:55 ` [PATCH v2 1/2] dt-bindings: serial: snps-dw-apb-uart: Add ti,tda54-uart Moteen Shah
  2026-09-16  8:55 ` [PATCH v2 2/2] serial: 8250_dw: Add capability to skip empty FIFO read Moteen Shah
  0 siblings, 2 replies; 8+ messages in thread
From: Moteen Shah @ 2026-09-16  8:55 UTC (permalink / raw)
  To: ilpo.jarvinen, gregkh, krzk+dt, linux-serial, linux-kernel,
	jirislaby, devicetree
  Cc: u-kumar1, gehariprasath, m-shah, vigneshr, nm, a-limaye,
	y-abhilashchandra

Add the ti,tda54-uart compatible string to the DW APB UART binding,
and add a capabililty to skip empty FIFO read on TDA54.

Reading an empty FIFO on the IP version used in TDA54 triggers a
data abort. The interrupt storm this dummy read was meant to avoid
no longer occurs on this version of the IP, so skip the read via a
new capability. Also, guard the empty FIFO reads during startup and
shutdown of the port using the same capability.

Changes since v1:
Link: https://lore.kernel.org/all/20260911092529.306082-1-m-shah@ti.com/

- Gate the empty FIFO read during startup and shutdown of the UART
port using the new capability.
- Make use of the new capability in the driver as to skip empty
FIFO read, replacing the quirk which was being used.

Moteen Shah (2):
  dt-bindings: serial: snps-dw-apb-uart: Add ti,tda54-uart
  serial: 8250_dw: Add capability to skip empty FIFO read

 .../bindings/serial/snps-dw-apb-uart.yaml        |  1 +
 drivers/tty/serial/8250/8250.h                   |  1 +
 drivers/tty/serial/8250/8250_dw.c                | 16 +++++++++++++++-
 drivers/tty/serial/8250/8250_port.c              | 12 +++++++++---
 4 files changed, 26 insertions(+), 4 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2026-09-17  9:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-16  8:55 [PATCH v2 0/2] serial: 8250_dw: Add ti,tda54-uart support Moteen Shah
2026-09-16  8:55 ` [PATCH v2 1/2] dt-bindings: serial: snps-dw-apb-uart: Add ti,tda54-uart Moteen Shah
2026-09-16  8:55 ` [PATCH v2 2/2] serial: 8250_dw: Add capability to skip empty FIFO read Moteen Shah
2026-09-16 10:52   ` Ilpo Järvinen
2026-09-16 12:55     ` Moteen Shah
2026-09-16 14:32       ` Hari Prasath G E
2026-09-16 13:47     ` Kumar, Udit
2026-09-17  9:40       ` Ilpo Järvinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®