diff mbox series

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

Message ID 20200930121934.5493-1-biju.das.jz@bp.renesas.com
State Accepted
Commit 2f220c639a2a66a75d5aa3e6b0a63786223527d4
Delegated to: Marek Vasut
Headers show
Series [v2] spi: renesas_rpc_spi: Add R-Car Gen3 and RZ/G2 fallback compatibility string | expand

Commit Message

Biju Das Sept. 30, 2020, 12:19 p.m. UTC
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@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(-)

Comments

Marek Vasut Oct. 3, 2020, 7:07 p.m. UTC | #1
On 9/30/20 2:19 PM, Biju Das wrote:
> 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@bp.renesas.com>

Applied to sh/next, thanks
Biju Das Oct. 3, 2020, 7:42 p.m. UTC | #2
Hi Marek,

Thank you

Cheers,
Biju

> Subject: Re: [PATCH v2] spi: renesas_rpc_spi: Add R-Car Gen3 and RZ/G2
> fallback compatibility string
>
> On 9/30/20 2:19 PM, Biju Das wrote:
> > 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@bp.renesas.com>
>
> Applied to sh/next, thanks


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
diff mbox series

Patch

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" },
 	{ }
 };