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 <mchitale@ventanamicro.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
Mayuresh Chitale
2023-03-01 20:08:00 +05:30
committed by Anup Patel
parent 568ea49490
commit 506144f398

View File

@@ -24,6 +24,7 @@ static int serial_cadence_init(void *fdt, int nodeoff,
} }
static const struct fdt_match serial_cadence_match[] = { static const struct fdt_match serial_cadence_match[] = {
{ .compatible = "cdns,uart-r1p8", },
{ .compatible = "cdns,uart-r1p12" }, { .compatible = "cdns,uart-r1p12" },
{ .compatible = "starfive,jh8100-uart" }, { .compatible = "starfive,jh8100-uart" },
{ }, { },