Skip to contentSkip to conversation

lib: serial: Cadence: Enable compatibility for cdns,uart-r1p8

PATCH New Mayuresh Chitale 2 participants 3 messages Mar 1, 2023 – Mar 9, 2023

lore
Share & tools
lore
#0 lore raw

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
index 946e533..ae59e4c 100644
@@ -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
#1 lore raw

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.

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
index 946e533..ae59e4c 100644
@@ -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

Applied
#2 lore raw

PATCH 1/1 lib: serial: Cadence: Enable compatibility for cdns,uart-r1p8

In reply to Mayuresh Chitale
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.

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
index 946e533..ae59e4c 100644
@@ -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