[PATCH 0/4] serial: vt8500: Clean up the probe

From: Alexey Charkov

Date: Wed Nov 11 2026 - 14:23:52 EST


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@xxxxxxxxx>
---
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@xxxxxxxxx>