From 506144f398b7911a2395d127fb6a64082a4a79cc Mon Sep 17 00:00:00 2001 From: Mayuresh Chitale Date: Wed, 1 Mar 2023 20:08:00 +0530 Subject: lib: serial: Cadence: Enable compatibility for cdns,uart-r1p8 The Cadence driver does not use the RX byte status feature and hence can be advertised to be compatible with cdns,uart-r1p8 as well. Signed-off-by: Mayuresh Chitale Reviewed-by: Anup Patel --- lib/utils/serial/fdt_serial_cadence.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/utils/serial/fdt_serial_cadence.c b/lib/utils/serial/fdt_serial_cadence.c index 946e533..ae59e4c 100644 --- a/lib/utils/serial/fdt_serial_cadence.c +++ b/lib/utils/serial/fdt_serial_cadence.c @@ -24,6 +24,7 @@ static int serial_cadence_init(void *fdt, int nodeoff, } static const struct fdt_match serial_cadence_match[] = { + { .compatible = "cdns,uart-r1p8", }, { .compatible = "cdns,uart-r1p12" }, { .compatible = "starfive,jh8100-uart" }, { }, -- cgit v1.2.3