Devicetree
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add Renesas RZ/G3L RSPI support
@ 2026-04-02 13:10 Biju
  2026-04-02 13:10 ` [PATCH v2 1/2] dt-bindings: spi: renesas,rzv2h-rspi: Document RZ/G3L SoC Biju
  0 siblings, 1 reply; 6+ messages in thread
From: Biju @ 2026-04-02 13:10 UTC (permalink / raw)
  To: Fabrizio Castro, Mark Brown, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Geert Uytterhoeven, Magnus Damm
  Cc: Biju Das, linux-spi, linux-renesas-soc, devicetree, linux-kernel,
	Prabhakar Mahadev Lad, Biju Das

From: Biju Das <biju.das.jz@bp.renesas.com>

This patch series adds binding and driver support for RSPI IP found on the
RZ/G3L SoC. The RSPI is compatible with RZ/V2H RSPI, but has 2 clocks
compared to 3 on RZ/V2H.

v1->v2:
 * Rebased to next
 * Collected tags

Biju Das (2):
  dt-bindings: spi: renesas,rzv2h-rspi: Document RZ/G3L SoC
  spi: rzv2h-rspi: Add support for RZ/G3L (R9A08G046)

 .../bindings/spi/renesas,rzv2h-rspi.yaml      | 26 +++++++++++++++++++
 drivers/spi/spi-rzv2h-rspi.c                  |  8 ++++++
 2 files changed, 34 insertions(+)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v2 1/2] dt-bindings: spi: renesas,rzv2h-rspi: Document RZ/G3L SoC
  2026-04-02 13:10 [PATCH v2 0/2] Add Renesas RZ/G3L RSPI support Biju
@ 2026-04-02 13:10 ` Biju
  2026-04-15 21:29   ` Rob Herring (Arm)
  0 siblings, 1 reply; 6+ messages in thread
From: Biju @ 2026-04-02 13:10 UTC (permalink / raw)
  To: Fabrizio Castro, Mark Brown, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Geert Uytterhoeven, Magnus Damm
  Cc: Biju Das, linux-spi, linux-renesas-soc, devicetree, linux-kernel,
	Prabhakar Mahadev Lad, Biju Das

From: Biju Das <biju.das.jz@bp.renesas.com>

Document RSPI IP found on the RZ/G3L SoC. The RSPI IP is compatible with
the RZ/V2H RSPI IP, but has 2 clocks compared to 3 on RZ/V2H.

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
---
v1->v2:
 * Collected tag
---
 .../bindings/spi/renesas,rzv2h-rspi.yaml      | 26 +++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/Documentation/devicetree/bindings/spi/renesas,rzv2h-rspi.yaml b/Documentation/devicetree/bindings/spi/renesas,rzv2h-rspi.yaml
index 2c9045fd51de..b4358922487f 100644
--- a/Documentation/devicetree/bindings/spi/renesas,rzv2h-rspi.yaml
+++ b/Documentation/devicetree/bindings/spi/renesas,rzv2h-rspi.yaml
@@ -13,6 +13,7 @@ properties:
   compatible:
     oneOf:
       - enum:
+          - renesas,r9a08g046-rspi # RZ/G3L
           - renesas,r9a09g057-rspi # RZ/V2H(P)
           - renesas,r9a09g077-rspi # RZ/T2H
       - items:
@@ -90,6 +91,31 @@ required:
 
 allOf:
   - $ref: spi-controller.yaml#
+  - if:
+      properties:
+        compatible:
+          contains:
+            enum:
+              - renesas,r9a08g046-rspi
+    then:
+      properties:
+        clocks:
+          maxItems: 2
+
+        clock-names:
+          items:
+            - const: pclk
+            - const: tclk
+        dmas:
+          maxItems: 2
+
+        dma-names:
+          maxItems: 2
+
+      required:
+        - resets
+        - reset-names
+
   - if:
       properties:
         compatible:
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 1/2] dt-bindings: spi: renesas,rzv2h-rspi: Document RZ/G3L SoC
  2026-04-02 13:10 ` [PATCH v2 1/2] dt-bindings: spi: renesas,rzv2h-rspi: Document RZ/G3L SoC Biju
@ 2026-04-15 21:29   ` Rob Herring (Arm)
  2026-04-24  6:29     ` Biju Das
  0 siblings, 1 reply; 6+ messages in thread
From: Rob Herring (Arm) @ 2026-04-15 21:29 UTC (permalink / raw)
  To: Biju
  Cc: linux-spi, Biju Das, devicetree, Geert Uytterhoeven, Mark Brown,
	Magnus Damm, Krzysztof Kozlowski, Prabhakar Mahadev Lad,
	linux-kernel, Conor Dooley, linux-renesas-soc, Fabrizio Castro


On Thu, 02 Apr 2026 14:10:16 +0100, Biju wrote:
> From: Biju Das <biju.das.jz@bp.renesas.com>
> 
> Document RSPI IP found on the RZ/G3L SoC. The RSPI IP is compatible with
> the RZ/V2H RSPI IP, but has 2 clocks compared to 3 on RZ/V2H.
> 
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
> Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
> ---
> v1->v2:
>  * Collected tag
> ---
>  .../bindings/spi/renesas,rzv2h-rspi.yaml      | 26 +++++++++++++++++++
>  1 file changed, 26 insertions(+)
> 

Acked-by: Rob Herring (Arm) <robh@kernel.org>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: [PATCH v2 1/2] dt-bindings: spi: renesas,rzv2h-rspi: Document RZ/G3L SoC
  2026-04-15 21:29   ` Rob Herring (Arm)
@ 2026-04-24  6:29     ` Biju Das
  2026-04-24  6:47       ` Geert Uytterhoeven
  0 siblings, 1 reply; 6+ messages in thread
From: Biju Das @ 2026-04-24  6:29 UTC (permalink / raw)
  To: Rob Herring (Arm), biju.das.au
  Cc: linux-spi@vger.kernel.org, devicetree@vger.kernel.org,
	Geert Uytterhoeven, Mark Brown, magnus.damm, Krzysztof Kozlowski,
	Prabhakar Mahadev Lad, linux-kernel@vger.kernel.org, Conor Dooley,
	linux-renesas-soc@vger.kernel.org, Fabrizio Castro

Hi Rob,

Thanks for the feedback.

> -----Original Message-----
> From: Rob Herring (Arm) <robh@kernel.org>
> Sent: 15 April 2026 22:29
> Subject: Re: [PATCH v2 1/2] dt-bindings: spi: renesas,rzv2h-rspi: Document RZ/G3L SoC
> 
> 
> On Thu, 02 Apr 2026 14:10:16 +0100, Biju wrote:
> > From: Biju Das <biju.das.jz@bp.renesas.com>
> >
> > Document RSPI IP found on the RZ/G3L SoC. The RSPI IP is compatible
> > with the RZ/V2H RSPI IP, but has 2 clocks compared to 3 on RZ/V2H.
> >
> > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
> > Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
> > ---
> > v1->v2:
> >  * Collected tag
> > ---
> >  .../bindings/spi/renesas,rzv2h-rspi.yaml      | 26 +++++++++++++++++++
> >  1 file changed, 26 insertions(+)
> >
> 
> Acked-by: Rob Herring (Arm) <robh@kernel.org>
> 

FYI, this patch is superseded based on Krzysztof's comment to avoid
flexible dma names for single DMA and the patch hit on [1]

[1] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?h=next-20260423&id=5277c291968d87c6a093f50ef489df9d52cb3ca9

Cheers,
Biu

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 1/2] dt-bindings: spi: renesas,rzv2h-rspi: Document RZ/G3L SoC
  2026-04-24  6:29     ` Biju Das
@ 2026-04-24  6:47       ` Geert Uytterhoeven
  2026-04-24  7:29         ` Biju Das
  0 siblings, 1 reply; 6+ messages in thread
From: Geert Uytterhoeven @ 2026-04-24  6:47 UTC (permalink / raw)
  To: Biju Das
  Cc: Rob Herring (Arm), biju.das.au, linux-spi@vger.kernel.org,
	devicetree@vger.kernel.org, Mark Brown, magnus.damm,
	Krzysztof Kozlowski, Prabhakar Mahadev Lad,
	linux-kernel@vger.kernel.org, Conor Dooley,
	linux-renesas-soc@vger.kernel.org, Fabrizio Castro

Hi Biju,

On Fri, 24 Apr 2026 at 08:29, Biju Das <biju.das.jz@bp.renesas.com> wrote:
> > From: Rob Herring (Arm) <robh@kernel.org>
> > On Thu, 02 Apr 2026 14:10:16 +0100, Biju wrote:
> > > From: Biju Das <biju.das.jz@bp.renesas.com>
> > >
> > > Document RSPI IP found on the RZ/G3L SoC. The RSPI IP is compatible
> > > with the RZ/V2H RSPI IP, but has 2 clocks compared to 3 on RZ/V2H.
> > >
> > > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
> > > Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
> > > ---
> > > v1->v2:
> > >  * Collected tag
> > > ---
> > >  .../bindings/spi/renesas,rzv2h-rspi.yaml      | 26 +++++++++++++++++++
> > >  1 file changed, 26 insertions(+)
> > >
> >
> > Acked-by: Rob Herring (Arm) <robh@kernel.org>
>
> FYI, this patch is superseded based on Krzysztof's comment to avoid
> flexible dma names for single DMA and the patch hit on [1]

Sorry, I don't understand.  The patch LGTM and is already applied?

>
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?h=next-20260423&id=5277c291968d87c6a093f50ef489df9d52cb3ca9

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: [PATCH v2 1/2] dt-bindings: spi: renesas,rzv2h-rspi: Document RZ/G3L SoC
  2026-04-24  6:47       ` Geert Uytterhoeven
@ 2026-04-24  7:29         ` Biju Das
  0 siblings, 0 replies; 6+ messages in thread
From: Biju Das @ 2026-04-24  7:29 UTC (permalink / raw)
  To: geert
  Cc: Rob Herring (Arm), biju.das.au, linux-spi@vger.kernel.org,
	devicetree@vger.kernel.org, Mark Brown, magnus.damm,
	Krzysztof Kozlowski, Prabhakar Mahadev Lad,
	linux-kernel@vger.kernel.org, Conor Dooley,
	linux-renesas-soc@vger.kernel.org, Fabrizio Castro

Hi Geert,

> -----Original Message-----
> From: Geert Uytterhoeven <geert@linux-m68k.org>
> Sent: 24 April 2026 07:47
> Subject: Re: [PATCH v2 1/2] dt-bindings: spi: renesas,rzv2h-rspi: Document RZ/G3L SoC
> 
> Hi Biju,
> 
> On Fri, 24 Apr 2026 at 08:29, Biju Das <biju.das.jz@bp.renesas.com> wrote:
> > > From: Rob Herring (Arm) <robh@kernel.org> On Thu, 02 Apr 2026
> > > 14:10:16 +0100, Biju wrote:
> > > > From: Biju Das <biju.das.jz@bp.renesas.com>
> > > >
> > > > Document RSPI IP found on the RZ/G3L SoC. The RSPI IP is
> > > > compatible with the RZ/V2H RSPI IP, but has 2 clocks compared to 3 on RZ/V2H.
> > > >
> > > > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
> > > > Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
> > > > ---
> > > > v1->v2:
> > > >  * Collected tag
> > > > ---
> > > >  .../bindings/spi/renesas,rzv2h-rspi.yaml      | 26 +++++++++++++++++++
> > > >  1 file changed, 26 insertions(+)
> > > >
> > >
> > > Acked-by: Rob Herring (Arm) <robh@kernel.org>
> >
> > FYI, this patch is superseded based on Krzysztof's comment to avoid
> > flexible dma names for single DMA and the patch hit on [1]
> 
> Sorry, I don't understand.  The patch LGTM and is already applied?

Sorry for confusion. Rob has added Ack tag recently. So, I just thought
of informing him there is new version for this patch and is accepted
in mainline.

Cheers,
Biju

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-04-24  7:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-02 13:10 [PATCH v2 0/2] Add Renesas RZ/G3L RSPI support Biju
2026-04-02 13:10 ` [PATCH v2 1/2] dt-bindings: spi: renesas,rzv2h-rspi: Document RZ/G3L SoC Biju
2026-04-15 21:29   ` Rob Herring (Arm)
2026-04-24  6:29     ` Biju Das
2026-04-24  6:47       ` Geert Uytterhoeven
2026-04-24  7:29         ` Biju Das

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox