lib: serial: Cadence: Enable compatibility for cdns,uart-r1p8
PATCH 1/1 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.
--- lib/utils/serial/fdt_serial_cadence.c | 1 + 1 file changed, 1 insertion(+)
lib/utils/serial/fdt_serial_cadence.c +1 -0
@@ -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" }, { },
Signature · 1 line
2.34.1
PATCH 1/1 lib: serial: Cadence: Enable compatibility for cdns,uart-r1p8
Quoted 5 lines · On Wed, Mar 1, 2023 at 8:08?PM Mayuresh Chitale <[email protected]>…
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 <[email protected]>
Looks good to me.
Regards,
Anup
Quoted 24 lines
--- lib/utils/serial/fdt_serial_cadence.c | 1 + 1 file changed, 1 insertion(+)lib/utils/serial/fdt_serial_cadence.c +1
-1@@ -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" }, { }, --2.34.1
--
opensbi mailing list
opensbi at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/opensbi
Anup Patel
AppliedPATCH 1/1 lib: serial: Cadence: Enable compatibility for cdns,uart-r1p8
In reply to Mayuresh ChitaleQuoted 5 lines · On Wed, Mar 1, 2023 at 8:08?PM Mayuresh Chitale <[email protected]>…
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 <[email protected]>
Applied this patch to the riscv/opensbi repo.
Thanks,
Anup
Quoted 24 lines
--- lib/utils/serial/fdt_serial_cadence.c | 1 + 1 file changed, 1 insertion(+)lib/utils/serial/fdt_serial_cadence.c +1
-1@@ -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" }, { }, --2.34.1
--
opensbi mailing list
opensbi at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/opensbi