[PATCH 2/6] serial: ns16550: add "ns16550" compatible string

Ahmad Fatoum
2026-02-09T09:15:47Z

The QEMU ppce500 machine generates device tree nodes with "ns16550"
as the compatible string rather than "ns16550a".

Add it to the match table so the driver binds automatically on
QEMU platforms.

Signed-off-by: Ahmad Fatoum <a.fatoum@barebox.org>
---
drivers/serial/serial_ns16550.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/serial/serial_ns16550.c b/drivers/serial/serial_ns16550.c
index 1d0ee7dc08f8..61e294a38c4c 100644
--- a/drivers/serial/serial_ns16550.c
+++ b/drivers/serial/serial_ns16550.c
@@ -583,6 +583,8 @@ static struct of_device_id ns16550_serial_dt_ids[] = {
{
.compatible = "ns16450",
.data = &ns16450_drvdata,
+ }, {
+ .compatible = "ns16550",
}, {
.compatible = "ns16550a",
}, {
--
2.47.3