lib: serial: Cadence: Enable compatibility for cdns,uart-r1p8
authorMayuresh Chitale <mchitale@ventanamicro.com>
Wed, 1 Mar 2023 14:38:00 +0000 (20:08 +0530)
committerAnup Patel <anup@brainfault.org>
Thu, 9 Mar 2023 15:42:35 +0000 (21:12 +0530)
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>
lib/utils/serial/fdt_serial_cadence.c

index 946e5336547b3f67eafbbc180f6dce44dbc88dea..ae59e4c1e9cc44a8c505786278c96bcf7449d51f 100644 (file)
@@ -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" },
        { },