mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] serial: vt8500: Clean up the probe
@ 2026-11-11 19:19 Alexey Charkov
  2026-11-11 19:19 ` [PATCH 1/4] serial: vt8500: Find console ports in the serial core state Alexey Charkov
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Alexey Charkov @ 2026-11-11 19:19 UTC (permalink / raw)
  To: Alexey Charkov, Krzysztof Kozlowski, Greg Kroah-Hartman,
	Jiri Slaby, Tony Prisk, Alan Cox
  Cc: linux-arm-kernel, linux-kernel, linux-serial, Greg Kroah-Hartman,
	Wentao Liang, Sashiko

The driver has been carrying legacy vestiges in the form of a bitmask and
a local array to track which ports should be numbered which, both of them
not really needed anymore with DT aliases and existing in-core tracking.

Remove them altogether to simplify the driver and get rid of leaks Sashiko
found. While here, also convert the clock handling to use the resource
managed API, and propagate errors from uart_add_one_port().

Signed-off-by: Alexey Charkov <alchark@gmail.com>
---
Alexey Charkov (4):
      serial: vt8500: Find console ports in the serial core state
      serial: vt8500: Use devm_clk_get_enabled()
      serial: vt8500: Handle uart_add_one_port() failure
      serial: vt8500: Drop the port index bitmap

 drivers/tty/serial/vt8500_serial.c | 81 +++++++++++---------------------------
 1 file changed, 22 insertions(+), 59 deletions(-)
---
base-commit: 793807ca13bf3072fc6d16ce6d90e9ab9beff2a5
change-id: 20261111-vt8500-serial-cleanup-dfc9731edd70

Best regards,
--  
Alexey Charkov <alchark@gmail.com>


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

end of thread, other threads:[~2026-11-11 19:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-11 19:19 [PATCH 0/4] serial: vt8500: Clean up the probe Alexey Charkov
2026-11-11 19:19 ` [PATCH 1/4] serial: vt8500: Find console ports in the serial core state Alexey Charkov
2026-11-11 19:19 ` [PATCH 2/4] serial: vt8500: Use devm_clk_get_enabled() Alexey Charkov
2026-11-11 19:19 ` [PATCH 3/4] serial: vt8500: Handle uart_add_one_port() failure Alexey Charkov
2026-11-11 19:19 ` [PATCH 4/4] serial: vt8500: Drop the port index bitmap Alexey Charkov

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®