* [PATCH 0/8] Add RZ/G3E xSPI support
@ 2025-02-28 16:07 Biju Das
2025-02-28 16:07 ` [PATCH 1/8] dt-bindings: memory: Document RZ/G3E support Biju Das
0 siblings, 1 reply; 9+ messages in thread
From: Biju Das @ 2025-02-28 16:07 UTC (permalink / raw)
To: Krzysztof Kozlowski, Rob Herring, Conor Dooley, Mark Brown,
Geert Uytterhoeven, Magnus Damm
Cc: Biju Das, devicetree, linux-renesas-soc, linux-spi,
Prabhakar Mahadev Lad, Biju Das
The xSPI IP found on RZ/G3E SoC similar to RPC-IF interface, but it
can support writes on memory-mapped area. Even though the registers are
different, the rpcif driver code can be reused for xSPI by adding wrapper
function to it.
This patch series tested on RZ/G2L and RZ/G3E by overwriting boot
partitions.
Biju Das (8):
dt-bindings: memory: Document RZ/G3E support
memory: renesas-rpc-if: Move rpc-if reg definitions
memory: renesas-rpc-if: Use devm_reset_control_array_get_exclusive()
memory: renesas-rpc-if: Move rpcif_info definitions near to the user
memory: renesas-rpc-if: Add regmap to struct rpcif_info
memory: renesas-rpc-if: Add wrapper functions
memory: renesas-rpc-if: Add RZ/G3E xSPI support
spi: rpc-if: Add write support for memory-mapped area
.../memory-controllers/renesas,rz-xspi.yaml | 137 ++++
drivers/memory/renesas-rpc-if-regs.h | 147 ++++
drivers/memory/renesas-rpc-if.c | 667 +++++++++++++-----
drivers/memory/renesas-xspi-if-regs.h | 105 +++
drivers/spi/spi-rpc-if.c | 16 +-
include/memory/renesas-rpc-if.h | 4 +
6 files changed, 884 insertions(+), 192 deletions(-)
create mode 100644 Documentation/devicetree/bindings/memory-controllers/renesas,rz-xspi.yaml
create mode 100644 drivers/memory/renesas-rpc-if-regs.h
create mode 100644 drivers/memory/renesas-xspi-if-regs.h
--
2.43.0
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 1/8] dt-bindings: memory: Document RZ/G3E support
2025-02-28 16:07 [PATCH 0/8] Add RZ/G3E xSPI support Biju Das
@ 2025-02-28 16:07 ` Biju Das
2025-02-28 21:59 ` Rob Herring
2025-03-06 10:43 ` Geert Uytterhoeven
0 siblings, 2 replies; 9+ messages in thread
From: Biju Das @ 2025-02-28 16:07 UTC (permalink / raw)
To: Krzysztof Kozlowski, Rob Herring, Conor Dooley, Mark Brown,
Geert Uytterhoeven, Magnus Damm
Cc: Biju Das, devicetree, linux-renesas-soc, Prabhakar Mahadev Lad,
Biju Das
Document support for the Expanded Serial Peripheral Interface (xSPI)
Controller in the Renesas RZ/G3E (R9A09G047) SoC.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
---
.../memory-controllers/renesas,rz-xspi.yaml | 137 ++++++++++++++++++
1 file changed, 137 insertions(+)
create mode 100644 Documentation/devicetree/bindings/memory-controllers/renesas,rz-xspi.yaml
diff --git a/Documentation/devicetree/bindings/memory-controllers/renesas,rz-xspi.yaml b/Documentation/devicetree/bindings/memory-controllers/renesas,rz-xspi.yaml
new file mode 100644
index 000000000000..84875cd28460
--- /dev/null
+++ b/Documentation/devicetree/bindings/memory-controllers/renesas,rz-xspi.yaml
@@ -0,0 +1,137 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/memory-controllers/renesas,rz-xspi.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Renesas Expanded Serial Peripheral Interface (xSPI)
+
+maintainers:
+ - Biju Das <biju.das.jz@bp.renesas.com>
+
+description: |
+ Renesas xSPI allows a SPI flash connected to the SoC to be accessed via
+ the memory-mapping or the manual command mode.
+
+ The flash chip itself should be represented by a subnode of the XSPI node.
+ The flash interface is selected based on the "compatible" property of this
+ subnode:
+ - "jedec,spi-nor";
+
+allOf:
+ - $ref: /schemas/spi/spi-controller.yaml#
+
+properties:
+ compatible:
+ items:
+ - const: renesas,r9a09g047-xspi # RZ/G3E
+ - const: renesas,rz-xspi # a generic RZ xSPI device
+
+ reg:
+ items:
+ - description: xSPI registers
+ - description: direct mapping area
+
+ reg-names:
+ items:
+ - const: regs
+ - const: dirmap
+
+ interrupts:
+ items:
+ - description: Interrupt pulse signal by factors excluding errors
+ - description: Interrupt pulse signal by error factors
+
+ interrupt-names:
+ items:
+ - const: spi_pulse
+ - const: spi_err_pulse
+
+ clocks:
+ items:
+ - description: AHB clock
+ - description: AXI clock
+ - description: SPI clock
+ - description: Double speed SPI clock
+
+ clock-names:
+ items:
+ - const: ahb
+ - const: axi
+ - const: spi
+ - const: spix2
+
+ power-domains:
+ maxItems: 1
+
+ resets:
+ items:
+ - description: Hardware reset
+ - description: AXI reset
+
+ reset-names:
+ items:
+ - const: hresetn
+ - const: aresetn
+
+ renesas,xspi-cs-addr-sys:
+ $ref: /schemas/types.yaml#/definitions/phandle
+ description: |
+ Phandle to the system controller (sys) that allows to configure
+ xSPI CS0 and CS1 addresses.
+
+patternProperties:
+ "flash@[0-9a-f]+$":
+ type: object
+ additionalProperties: true
+
+ properties:
+ compatible:
+ contains:
+ const: jedec,spi-nor
+
+required:
+ - compatible
+ - reg
+ - reg-names
+ - interrupts
+ - interrupt-names
+ - clocks
+ - clock-names
+ - power-domains
+ - resets
+ - reset-names
+ - '#address-cells'
+ - '#size-cells'
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+ #include <dt-bindings/clock/renesas-cpg-mssr.h>
+
+ spi@11030000 {
+ compatible = "renesas,r9a09g047-xspi", "renesas,rz-xspi";
+ reg = <0x11030000 0x10000>, <0x20000000 0x10000000>;
+ reg-names = "regs", "dirmap";
+ interrupts = <GIC_SPI 228 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 229 IRQ_TYPE_EDGE_RISING>;
+ interrupt-names = "spi_pulse", "spi_err_pulse";
+ clocks = <&cpg CPG_MOD 0x9f>, <&cpg CPG_MOD 0xa0>,
+ <&cpg CPG_MOD 0xa1>, <&cpg CPG_MOD 0xa1>;
+ clock-names = "ahb", "axi", "spi", "spix2";
+ power-domains = <&cpg>;
+ resets = <&cpg 0xa3>, <&cpg 0xa4>;
+ reset-names = "hresetn", "aresetn";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ flash@0 {
+ compatible = "jedec,spi-nor";
+ reg = <0>;
+ spi-max-frequency = <40000000>;
+ spi-tx-bus-width = <1>;
+ spi-rx-bus-width = <1>;
+ };
+ };
--
2.43.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH 1/8] dt-bindings: memory: Document RZ/G3E support
2025-02-28 16:07 ` [PATCH 1/8] dt-bindings: memory: Document RZ/G3E support Biju Das
@ 2025-02-28 21:59 ` Rob Herring
2025-03-06 10:43 ` Geert Uytterhoeven
1 sibling, 0 replies; 9+ messages in thread
From: Rob Herring @ 2025-02-28 21:59 UTC (permalink / raw)
To: Biju Das
Cc: Krzysztof Kozlowski, Conor Dooley, Mark Brown, Geert Uytterhoeven,
Magnus Damm, devicetree, linux-renesas-soc, Prabhakar Mahadev Lad,
Biju Das
On Fri, Feb 28, 2025 at 04:07:55PM +0000, Biju Das wrote:
> Document support for the Expanded Serial Peripheral Interface (xSPI)
> Controller in the Renesas RZ/G3E (R9A09G047) SoC.
>
> Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
> ---
> .../memory-controllers/renesas,rz-xspi.yaml | 137 ++++++++++++++++++
> 1 file changed, 137 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/memory-controllers/renesas,rz-xspi.yaml
>
> diff --git a/Documentation/devicetree/bindings/memory-controllers/renesas,rz-xspi.yaml b/Documentation/devicetree/bindings/memory-controllers/renesas,rz-xspi.yaml
> new file mode 100644
> index 000000000000..84875cd28460
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/memory-controllers/renesas,rz-xspi.yaml
> @@ -0,0 +1,137 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/memory-controllers/renesas,rz-xspi.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Renesas Expanded Serial Peripheral Interface (xSPI)
> +
> +maintainers:
> + - Biju Das <biju.das.jz@bp.renesas.com>
> +
> +description: |
> + Renesas xSPI allows a SPI flash connected to the SoC to be accessed via
> + the memory-mapping or the manual command mode.
> +
> + The flash chip itself should be represented by a subnode of the XSPI node.
> + The flash interface is selected based on the "compatible" property of this
> + subnode:
> + - "jedec,spi-nor";
> +
> +allOf:
> + - $ref: /schemas/spi/spi-controller.yaml#
> +
> +properties:
> + compatible:
> + items:
> + - const: renesas,r9a09g047-xspi # RZ/G3E
> + - const: renesas,rz-xspi # a generic RZ xSPI device
> +
> + reg:
> + items:
> + - description: xSPI registers
> + - description: direct mapping area
> +
> + reg-names:
> + items:
> + - const: regs
> + - const: dirmap
> +
> + interrupts:
> + items:
> + - description: Interrupt pulse signal by factors excluding errors
> + - description: Interrupt pulse signal by error factors
> +
> + interrupt-names:
> + items:
> + - const: spi_pulse
> + - const: spi_err_pulse
Drop 'spi'
Otherwise,
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/8] dt-bindings: memory: Document RZ/G3E support
2025-02-28 16:07 ` [PATCH 1/8] dt-bindings: memory: Document RZ/G3E support Biju Das
2025-02-28 21:59 ` Rob Herring
@ 2025-03-06 10:43 ` Geert Uytterhoeven
2025-03-06 10:59 ` Biju Das
1 sibling, 1 reply; 9+ messages in thread
From: Geert Uytterhoeven @ 2025-03-06 10:43 UTC (permalink / raw)
To: Biju Das
Cc: Krzysztof Kozlowski, Rob Herring, Conor Dooley, Mark Brown,
Magnus Damm, devicetree, linux-renesas-soc, Prabhakar Mahadev Lad,
Biju Das
Hi Biju,
On Fri, 28 Feb 2025 at 17:08, Biju Das <biju.das.jz@bp.renesas.com> wrote:
> Document support for the Expanded Serial Peripheral Interface (xSPI)
> Controller in the Renesas RZ/G3E (R9A09G047) SoC.
>
> Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Thanks for your patch!
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/memory-controllers/renesas,rz-xspi.yaml
> +properties:
> + compatible:
> + items:
> + - const: renesas,r9a09g047-xspi # RZ/G3E
> + - const: renesas,rz-xspi # a generic RZ xSPI device
Is this the same variant of RPC-IF as used on older "RZ" SoCs like
RZ/A1 and RZ/A2?
If the answer is yes, then I do not object against introducing rz-xspi.
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] 9+ messages in thread
* RE: [PATCH 1/8] dt-bindings: memory: Document RZ/G3E support
2025-03-06 10:43 ` Geert Uytterhoeven
@ 2025-03-06 10:59 ` Biju Das
2025-03-06 11:16 ` Geert Uytterhoeven
0 siblings, 1 reply; 9+ messages in thread
From: Biju Das @ 2025-03-06 10:59 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Krzysztof Kozlowski, Rob Herring, Conor Dooley, Mark Brown,
Magnus Damm, devicetree@vger.kernel.org,
linux-renesas-soc@vger.kernel.org, Prabhakar Mahadev Lad,
biju.das.au
Hi Geert,
> -----Original Message-----
> From: Geert Uytterhoeven <geert@linux-m68k.org>
> Sent: 06 March 2025 10:44
> Subject: Re: [PATCH 1/8] dt-bindings: memory: Document RZ/G3E support
>
> Hi Biju,
>
> On Fri, 28 Feb 2025 at 17:08, Biju Das <biju.das.jz@bp.renesas.com> wrote:
> > Document support for the Expanded Serial Peripheral Interface (xSPI)
> > Controller in the Renesas RZ/G3E (R9A09G047) SoC.
> >
> > Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
>
> Thanks for your patch!
>
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/memory-controllers/renesas,rz-
> > +++ xspi.yaml
>
> > +properties:
> > + compatible:
> > + items:
> > + - const: renesas,r9a09g047-xspi # RZ/G3E
> > + - const: renesas,rz-xspi # a generic RZ xSPI device
>
> Is this the same variant of RPC-IF as used on older "RZ" SoCs like
> RZ/A1 and RZ/A2?
> If the answer is yes, then I do not object against introducing rz-xspi.
No, by looking at the registers,
I think one on RZ/A1 and RZ/A2 is same as RZ/G2L. So renesas,rzg2l-rpc-if
will fit there.
Cheers,
Biju
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/8] dt-bindings: memory: Document RZ/G3E support
2025-03-06 10:59 ` Biju Das
@ 2025-03-06 11:16 ` Geert Uytterhoeven
2025-03-06 11:25 ` Biju Das
0 siblings, 1 reply; 9+ messages in thread
From: Geert Uytterhoeven @ 2025-03-06 11:16 UTC (permalink / raw)
To: Biju Das
Cc: Krzysztof Kozlowski, Rob Herring, Conor Dooley, Mark Brown,
Magnus Damm, devicetree@vger.kernel.org,
linux-renesas-soc@vger.kernel.org, Prabhakar Mahadev Lad,
biju.das.au
Hi Biju,
On Thu, 6 Mar 2025 at 11:59, Biju Das <biju.das.jz@bp.renesas.com> wrote:
> > -----Original Message-----
> > From: Geert Uytterhoeven <geert@linux-m68k.org>
> > Sent: 06 March 2025 10:44
> > Subject: Re: [PATCH 1/8] dt-bindings: memory: Document RZ/G3E support
> >
> > On Fri, 28 Feb 2025 at 17:08, Biju Das <biju.das.jz@bp.renesas.com> wrote:
> > > Document support for the Expanded Serial Peripheral Interface (xSPI)
> > > Controller in the Renesas RZ/G3E (R9A09G047) SoC.
> > >
> > > Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
> >
> > Thanks for your patch!
> >
> > > --- /dev/null
> > > +++ b/Documentation/devicetree/bindings/memory-controllers/renesas,rz-
> > > +++ xspi.yaml
> >
> > > +properties:
> > > + compatible:
> > > + items:
> > > + - const: renesas,r9a09g047-xspi # RZ/G3E
> > > + - const: renesas,rz-xspi # a generic RZ xSPI device
> >
> > Is this the same variant of RPC-IF as used on older "RZ" SoCs like
> > RZ/A1 and RZ/A2?
> > If the answer is yes, then I do not object against introducing rz-xspi.
>
> No, by looking at the registers,
> I think one on RZ/A1 and RZ/A2 is same as RZ/G2L. So renesas,rzg2l-rpc-if
> will fit there.
In that case I think "renesas,rz-xspi" is a too generic name.
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] 9+ messages in thread
* RE: [PATCH 1/8] dt-bindings: memory: Document RZ/G3E support
2025-03-06 11:16 ` Geert Uytterhoeven
@ 2025-03-06 11:25 ` Biju Das
2025-03-06 12:58 ` Geert Uytterhoeven
0 siblings, 1 reply; 9+ messages in thread
From: Biju Das @ 2025-03-06 11:25 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Krzysztof Kozlowski, Rob Herring, Conor Dooley, Mark Brown,
Magnus Damm, devicetree@vger.kernel.org,
linux-renesas-soc@vger.kernel.org, Prabhakar Mahadev Lad,
biju.das.au
Hi Geert,
> -----Original Message-----
> From: Geert Uytterhoeven <geert@linux-m68k.org>
> Sent: 06 March 2025 11:17
> Subject: Re: [PATCH 1/8] dt-bindings: memory: Document RZ/G3E support
>
> Hi Biju,
>
> On Thu, 6 Mar 2025 at 11:59, Biju Das <biju.das.jz@bp.renesas.com> wrote:
> > > -----Original Message-----
> > > From: Geert Uytterhoeven <geert@linux-m68k.org>
> > > Sent: 06 March 2025 10:44
> > > Subject: Re: [PATCH 1/8] dt-bindings: memory: Document RZ/G3E
> > > support
> > >
> > > On Fri, 28 Feb 2025 at 17:08, Biju Das <biju.das.jz@bp.renesas.com> wrote:
> > > > Document support for the Expanded Serial Peripheral Interface
> > > > (xSPI) Controller in the Renesas RZ/G3E (R9A09G047) SoC.
> > > >
> > > > Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
> > >
> > > Thanks for your patch!
> > >
> > > > --- /dev/null
> > > > +++ b/Documentation/devicetree/bindings/memory-controllers/renesas
> > > > +++ ,rz-
> > > > +++ xspi.yaml
> > >
> > > > +properties:
> > > > + compatible:
> > > > + items:
> > > > + - const: renesas,r9a09g047-xspi # RZ/G3E
> > > > + - const: renesas,rz-xspi # a generic RZ xSPI device
> > >
> > > Is this the same variant of RPC-IF as used on older "RZ" SoCs like
> > > RZ/A1 and RZ/A2?
> > > If the answer is yes, then I do not object against introducing rz-xspi.
> >
> > No, by looking at the registers,
> > I think one on RZ/A1 and RZ/A2 is same as RZ/G2L. So
> > renesas,rzg2l-rpc-if will fit there.
>
> In that case I think "renesas,rz-xspi" is a too generic name.
if rz-xspi is too generic, what about using rzg3e-xspi?
Note:
RZ/G3S and RZ/V2H have similar IP's
Cheers,
Biju
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/8] dt-bindings: memory: Document RZ/G3E support
2025-03-06 11:25 ` Biju Das
@ 2025-03-06 12:58 ` Geert Uytterhoeven
2025-03-06 13:01 ` Biju Das
0 siblings, 1 reply; 9+ messages in thread
From: Geert Uytterhoeven @ 2025-03-06 12:58 UTC (permalink / raw)
To: Biju Das
Cc: Krzysztof Kozlowski, Rob Herring, Conor Dooley, Mark Brown,
Magnus Damm, devicetree@vger.kernel.org,
linux-renesas-soc@vger.kernel.org, Prabhakar Mahadev Lad,
biju.das.au
Hi Biju,
On Thu, 6 Mar 2025 at 12:25, Biju Das <biju.das.jz@bp.renesas.com> wrote:
> > From: Geert Uytterhoeven <geert@linux-m68k.org>
> > On Thu, 6 Mar 2025 at 11:59, Biju Das <biju.das.jz@bp.renesas.com> wrote:
> > > > -----Original Message-----
> > > > From: Geert Uytterhoeven <geert@linux-m68k.org>
> > > > Sent: 06 March 2025 10:44
> > > > Subject: Re: [PATCH 1/8] dt-bindings: memory: Document RZ/G3E
> > > > support
> > > >
> > > > On Fri, 28 Feb 2025 at 17:08, Biju Das <biju.das.jz@bp.renesas.com> wrote:
> > > > > Document support for the Expanded Serial Peripheral Interface
> > > > > (xSPI) Controller in the Renesas RZ/G3E (R9A09G047) SoC.
> > > > >
> > > > > Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
> > > >
> > > > Thanks for your patch!
> > > >
> > > > > --- /dev/null
> > > > > +++ b/Documentation/devicetree/bindings/memory-controllers/renesas
> > > > > +++ ,rz-
> > > > > +++ xspi.yaml
> > > >
> > > > > +properties:
> > > > > + compatible:
> > > > > + items:
> > > > > + - const: renesas,r9a09g047-xspi # RZ/G3E
> > > > > + - const: renesas,rz-xspi # a generic RZ xSPI device
> > > >
> > > > Is this the same variant of RPC-IF as used on older "RZ" SoCs like
> > > > RZ/A1 and RZ/A2?
> > > > If the answer is yes, then I do not object against introducing rz-xspi.
> > >
> > > No, by looking at the registers,
> > > I think one on RZ/A1 and RZ/A2 is same as RZ/G2L. So
> > > renesas,rzg2l-rpc-if will fit there.
> >
> > In that case I think "renesas,rz-xspi" is a too generic name.
>
> if rz-xspi is too generic, what about using rzg3e-xspi?
>
> Note:
> RZ/G3S and RZ/V2H have similar IP's
Just drop the generic fallback?
RZ/G3S and RZ/V2H can use "renesas,r9a09g047-xspi" as a fallback.
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] 9+ messages in thread
* RE: [PATCH 1/8] dt-bindings: memory: Document RZ/G3E support
2025-03-06 12:58 ` Geert Uytterhoeven
@ 2025-03-06 13:01 ` Biju Das
0 siblings, 0 replies; 9+ messages in thread
From: Biju Das @ 2025-03-06 13:01 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Krzysztof Kozlowski, Rob Herring, Conor Dooley, Mark Brown,
Magnus Damm, devicetree@vger.kernel.org,
linux-renesas-soc@vger.kernel.org, Prabhakar Mahadev Lad,
biju.das.au
Hi Geert,
> -----Original Message-----
> From: Geert Uytterhoeven <geert@linux-m68k.org>
> Sent: 06 March 2025 12:58
> Subject: Re: [PATCH 1/8] dt-bindings: memory: Document RZ/G3E support
>
> Hi Biju,
>
> On Thu, 6 Mar 2025 at 12:25, Biju Das <biju.das.jz@bp.renesas.com> wrote:
> > > From: Geert Uytterhoeven <geert@linux-m68k.org> On Thu, 6 Mar 2025
> > > at 11:59, Biju Das <biju.das.jz@bp.renesas.com> wrote:
> > > > > -----Original Message-----
> > > > > From: Geert Uytterhoeven <geert@linux-m68k.org>
> > > > > Sent: 06 March 2025 10:44
> > > > > Subject: Re: [PATCH 1/8] dt-bindings: memory: Document RZ/G3E
> > > > > support
> > > > >
> > > > > On Fri, 28 Feb 2025 at 17:08, Biju Das <biju.das.jz@bp.renesas.com> wrote:
> > > > > > Document support for the Expanded Serial Peripheral Interface
> > > > > > (xSPI) Controller in the Renesas RZ/G3E (R9A09G047) SoC.
> > > > > >
> > > > > > Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
> > > > >
> > > > > Thanks for your patch!
> > > > >
> > > > > > --- /dev/null
> > > > > > +++ b/Documentation/devicetree/bindings/memory-controllers/ren
> > > > > > +++ esas
> > > > > > +++ ,rz-
> > > > > > +++ xspi.yaml
> > > > >
> > > > > > +properties:
> > > > > > + compatible:
> > > > > > + items:
> > > > > > + - const: renesas,r9a09g047-xspi # RZ/G3E
> > > > > > + - const: renesas,rz-xspi # a generic RZ xSPI device
> > > > >
> > > > > Is this the same variant of RPC-IF as used on older "RZ" SoCs
> > > > > like
> > > > > RZ/A1 and RZ/A2?
> > > > > If the answer is yes, then I do not object against introducing rz-xspi.
> > > >
> > > > No, by looking at the registers,
> > > > I think one on RZ/A1 and RZ/A2 is same as RZ/G2L. So
> > > > renesas,rzg2l-rpc-if will fit there.
> > >
> > > In that case I think "renesas,rz-xspi" is a too generic name.
> >
> > if rz-xspi is too generic, what about using rzg3e-xspi?
> >
> > Note:
> > RZ/G3S and RZ/V2H have similar IP's
>
> Just drop the generic fallback?
> RZ/G3S and RZ/V2H can use "renesas,r9a09g047-xspi" as a fallback.
Agreed.
Cheers,
Biju
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2025-03-06 13:01 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-28 16:07 [PATCH 0/8] Add RZ/G3E xSPI support Biju Das
2025-02-28 16:07 ` [PATCH 1/8] dt-bindings: memory: Document RZ/G3E support Biju Das
2025-02-28 21:59 ` Rob Herring
2025-03-06 10:43 ` Geert Uytterhoeven
2025-03-06 10:59 ` Biju Das
2025-03-06 11:16 ` Geert Uytterhoeven
2025-03-06 11:25 ` Biju Das
2025-03-06 12:58 ` Geert Uytterhoeven
2025-03-06 13:01 ` Biju Das
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).