Skip to contentSkip to conversation

spi: renesas_rpc_spi: Add compatible string for R8A774B1

PATCH New Biju Das 2 participants 4 messages Sep 30, 2020 SPI

lore
Share & tools
lore

Biju Das

author
#0 lore raw

PATCH 1/2 spi: renesas_rpc_spi: Add compatible string for R8A774B1

Add compatible string entry for RZ/G2N (R8A774B1) SoC.

---
 drivers/spi/renesas_rpc_spi.c | 1 +
 1 file changed, 1 insertion(+)
drivers/spi/renesas_rpc_spi.c +1 -0
index a63390f1b7..844b7f59b7 100644
@@ -449,6 +449,7 @@ static const struct dm_spi_ops rpc_spi_ops = {
 
 static const struct udevice_id rpc_spi_ids[] = {
 	{ .compatible = "renesas,rpc-r8a774a1" },
+	{ .compatible = "renesas,rpc-r8a774b1" },
 	{ .compatible = "renesas,rpc-r8a7795" },
 	{ .compatible = "renesas,rpc-r8a7796" },
 	{ .compatible = "renesas,rpc-r8a77965" },
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/2 spi: renesas_rpc_spi: Add compatible string for R8A774E1

Add compatible string entry for RZ/G2H (R8A774E1) SoC.

---
 drivers/spi/renesas_rpc_spi.c | 1 +
 1 file changed, 1 insertion(+)
drivers/spi/renesas_rpc_spi.c +1 -0
index 844b7f59b7..111528daaa 100644
@@ -450,6 +450,7 @@ static const struct dm_spi_ops rpc_spi_ops = {
 static const struct udevice_id rpc_spi_ids[] = {
 	{ .compatible = "renesas,rpc-r8a774a1" },
 	{ .compatible = "renesas,rpc-r8a774b1" },
+	{ .compatible = "renesas,rpc-r8a774e1" },
 	{ .compatible = "renesas,rpc-r8a7795" },
 	{ .compatible = "renesas,rpc-r8a7796" },
 	{ .compatible = "renesas,rpc-r8a77965" },
Signature · 1 line
2.17.1
#2 lore raw

PATCH 2/2 spi: renesas_rpc_spi: Add compatible string for R8A774E1

Quoted 13 lines · Biju Das

Add compatible string entry for RZ/G2H (R8A774E1) SoC.

---
 drivers/spi/renesas_rpc_spi.c | 1 +
 1 file changed, 1 insertion(+)
drivers/spi/renesas_rpc_spi.c +0 -0
index 844b7f59b7..111528daaa 100644

drivers/spi/renesas_rpc_spi.c static const struct dm_spi_ops rpc_spi_ops = { · line 456

Quoted 7 lines
drivers/spi/renesas_rpc_spi.c +1 -0
@@ -450,6 +450,7 @@ static const struct dm_spi_ops rpc_spi_ops = {
 static const struct udevice_id rpc_spi_ids[] = {
 	{ .compatible = "renesas,rpc-r8a774a1" },
 	{ .compatible = "renesas,rpc-r8a774b1" },
+	{ .compatible = "renesas,rpc-r8a774e1" },
 	{ .compatible = "renesas,rpc-r8a7795" },
 	{ .compatible = "renesas,rpc-r8a7796" },
 	{ .compatible = "renesas,rpc-r8a77965" },

Can we just add renesas,rz-g2-rpc or somesuch generic string (keep it in sync with Linux) instead of growing the list ?

author
#3 lore raw

PATCH 2/2 spi: renesas_rpc_spi: Add compatible string for R8A774E1

Hi Marek,

Thanks for the feedback.

Quoted 13 lines

Subject: Re: [PATCH 2/2] spi: renesas_rpc_spi: Add compatible string for R8A774E1

Quoted 4 lines · Biju Das

Add compatible string entry for RZ/G2H (R8A774E1) SoC.

Reviewed-by Lad Prabhakar <prabhakar.mahadev-

lad.rj at bp.renesas.com>

Quoted 4 lines
---
 drivers/spi/renesas_rpc_spi.c | 1 +
 1 file changed, 1 insertion(+)
Quoted 15 lines

drivers/spi/renesas_rpc_spi.c static const struct dm_spi_ops rpc_spi_ops = { · line 456

Quoted 12 lines
(quoted diff) +0 -0

b/drivers/spi/renesas_rpc_spi.c index 844b7f59b7..111528daaa 100644

drivers/spi/renesas_rpc_spi.c +1 -0
@@ -450,6 +450,7 @@ static const struct dm_spi_ops rpc_spi_ops = {
 static const struct udevice_id rpc_spi_ids[] = {
 { .compatible = "renesas,rpc-r8a774a1" },
 { .compatible = "renesas,rpc-r8a774b1" },
+{ .compatible = "renesas,rpc-r8a774e1" },
 { .compatible = "renesas,rpc-r8a7795" },
 { .compatible = "renesas,rpc-r8a7796" },
 { .compatible = "renesas,rpc-r8a77965" },

Can we just add renesas,rz-g2-rpc or somesuch generic string (keep it in sync with Linux) instead of growing the list ?

OK, will post v2 with "renesas,rcar-gen3-rpc" generic compatible string for both RCar-Gen3 and RZ/G2 SoC

Thanks and regds,
Biju

Renesas Electronics Europe GmbH, Geschaeftsfuehrer/President: Carsten Jauch, Sitz der Gesellschaft/Registered office: Duesseldorf, Arcadiastrasse 10, 40472 Duesseldorf, Germany, Handelsregister/Commercial Register: Duesseldorf, HRB 3708 USt-IDNr./Tax identification no.: DE 119353406 WEEE-Reg.-Nr./WEEE reg. no.: DE 14978647