[PATCH v2] spi: renesas_rpc_spi: Add R-Car Gen3 and RZ/G2 fallback compatibility string

Biju Das biju.das.jz at bp.renesas.com
Wed Sep 30 14:19:34 CEST 2020


Add fallback compatibility string for R-Car Gen3 and RZ/G2.

Also sorted the compatible string as per SoC ID.

Signed-off-by: Biju Das <biju.das.jz at bp.renesas.com>
---
v1->V2:
 * Incorporated Marek's review comment
   (Ref:-https://patchwork.ozlabs.org/project/uboot/patch/20200930111332.3307-2-biju.das.jz@bp.renesas.com/)
---
 drivers/spi/renesas_rpc_spi.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/spi/renesas_rpc_spi.c b/drivers/spi/renesas_rpc_spi.c
index 3ea59b8fb8..d0ff918af8 100644
--- a/drivers/spi/renesas_rpc_spi.c
+++ b/drivers/spi/renesas_rpc_spi.c
@@ -448,12 +448,13 @@ static const struct dm_spi_ops rpc_spi_ops = {
 };
 
 static const struct udevice_id rpc_spi_ids[] = {
+	{ .compatible = "renesas,rpc-r7s72100" },
 	{ .compatible = "renesas,rpc-r8a7795" },
 	{ .compatible = "renesas,rpc-r8a7796" },
 	{ .compatible = "renesas,rpc-r8a77965" },
 	{ .compatible = "renesas,rpc-r8a77970" },
 	{ .compatible = "renesas,rpc-r8a77995" },
-	{ .compatible = "renesas,rpc-r7s72100" },
+	{ .compatible = "renesas,rcar-gen3-rpc" },
 	{ }
 };
 
-- 
2.17.1



More information about the U-Boot mailing list