* [PATCH v4 0/4] ARM: dts: renesas: r9a06g032-rzn1d400-eb: Enable SPI and FRAM
@ 2026-06-26 18:03 Wolfram Sang
2026-06-26 18:03 ` [PATCH v4 1/4] spi: dt-bindings: snps,dw-apb-ssi: drop superfluous RZ/N1 entry Wolfram Sang
2026-06-26 18:03 ` [PATCH v4 2/4] spi: dt-bindings: snps,dw-apb-ssi: add 'power-domains' property Wolfram Sang
0 siblings, 2 replies; 9+ messages in thread
From: Wolfram Sang @ 2026-06-26 18:03 UTC (permalink / raw)
To: linux-renesas-soc
Cc: Wolfram Sang, Conor Dooley, devicetree, Geert Uytterhoeven,
Krzysztof Kozlowski, linux-spi, Magnus Damm, Mark Brown,
Rob Herring
Here are the patches to enable the SPI-FRAM with FIFO (no DMA yet, needs
more work) on the RZ/N1D Extension board.
Changes since v3 in the individual patches.
A branch is here:
git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git renesas/n1d/enablement
Wolfram Sang (4):
spi: dt-bindings: snps,dw-apb-ssi: drop superfluous RZ/N1 entry
spi: dt-bindings: snps,dw-apb-ssi: add 'power-domains' property
ARM: dts: renesas: r9a06g032: Describe SPI controllers
ARM: dts: renesas: r9a06g032-rzn1d400-eb: Enable SPI-FRAM
.../bindings/spi/snps,dw-apb-ssi.yaml | 4 +-
.../dts/renesas/r9a06g032-rzn1d400-eb.dts | 25 ++++++
arch/arm/boot/dts/renesas/r9a06g032.dtsi | 84 +++++++++++++++++++
3 files changed, 112 insertions(+), 1 deletion(-)
--
2.47.3
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH v4 1/4] spi: dt-bindings: snps,dw-apb-ssi: drop superfluous RZ/N1 entry
2026-06-26 18:03 [PATCH v4 0/4] ARM: dts: renesas: r9a06g032-rzn1d400-eb: Enable SPI and FRAM Wolfram Sang
@ 2026-06-26 18:03 ` Wolfram Sang
2026-06-29 9:32 ` Geert Uytterhoeven
2026-06-30 6:47 ` Krzysztof Kozlowski
2026-06-26 18:03 ` [PATCH v4 2/4] spi: dt-bindings: snps,dw-apb-ssi: add 'power-domains' property Wolfram Sang
1 sibling, 2 replies; 9+ messages in thread
From: Wolfram Sang @ 2026-06-26 18:03 UTC (permalink / raw)
To: linux-renesas-soc
Cc: Wolfram Sang, Mark Brown, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Geert Uytterhoeven, Magnus Damm, linux-spi,
devicetree
Commit 164c05f03ffa ("spi: Convert DW SPI binding to DT schema") added
an RZ/N1 entry which was not in the original txt-file. It doesn't follow
the usual "<soc entry>, <soc family entry>" style for Renesas SoCs which
was properly added later with commit 029d32a892a8 ("spi: dw-apb-ssi:
Integrate Renesas RZ/N1 SPI controller"). In that commit, removing the
bogus entry was overlooked and is finally done now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
Change since v3:
* new patch
Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml | 1 -
1 file changed, 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml b/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml
index 8ebebcebca16..e0f249e82fa1 100644
--- a/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml
+++ b/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml
@@ -50,7 +50,6 @@ properties:
- enum:
- mscc,ocelot-spi
- mscc,jaguar2-spi
- - renesas,rzn1-spi
- sophgo,sg2042-spi
- thead,th1520-spi
- const: snps,dw-apb-ssi
--
2.47.3
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH v4 2/4] spi: dt-bindings: snps,dw-apb-ssi: add 'power-domains' property
2026-06-26 18:03 [PATCH v4 0/4] ARM: dts: renesas: r9a06g032-rzn1d400-eb: Enable SPI and FRAM Wolfram Sang
2026-06-26 18:03 ` [PATCH v4 1/4] spi: dt-bindings: snps,dw-apb-ssi: drop superfluous RZ/N1 entry Wolfram Sang
@ 2026-06-26 18:03 ` Wolfram Sang
2026-06-30 6:50 ` Krzysztof Kozlowski
2026-06-30 15:41 ` Geert Uytterhoeven
1 sibling, 2 replies; 9+ messages in thread
From: Wolfram Sang @ 2026-06-26 18:03 UTC (permalink / raw)
To: linux-renesas-soc
Cc: Wolfram Sang, Herve Codina, Mark Brown, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-spi, devicetree
This SPI controller likely belongs to a power domain for all the SoCs
listed. For sure, it belongs to one on the Renesas RZ/N1 SoC, so
enable the property to be able to describe its power domain in DTs.
Suggested-by: Herve Codina <herve.codina@bootlin.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Herve Codina <herve.codina@bootlin.com>
---
Change since v3:
* reworded commit message to make clear other SoCs likely use a
power-domain, too (Krzysztof)
* change Reported-by to Suggested-by (Krzysztof)
* add Rev-by (Herve)
Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml b/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml
index e0f249e82fa1..291cbd55862d 100644
--- a/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml
+++ b/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml
@@ -87,6 +87,9 @@ properties:
- const: ssi_clk
- const: pclk
+ power-domains:
+ maxItems: 1
+
resets:
maxItems: 1
--
2.47.3
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH v4 1/4] spi: dt-bindings: snps,dw-apb-ssi: drop superfluous RZ/N1 entry
2026-06-26 18:03 ` [PATCH v4 1/4] spi: dt-bindings: snps,dw-apb-ssi: drop superfluous RZ/N1 entry Wolfram Sang
@ 2026-06-29 9:32 ` Geert Uytterhoeven
2026-06-30 6:47 ` Krzysztof Kozlowski
1 sibling, 0 replies; 9+ messages in thread
From: Geert Uytterhoeven @ 2026-06-29 9:32 UTC (permalink / raw)
To: Wolfram Sang
Cc: linux-renesas-soc, Mark Brown, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Geert Uytterhoeven, Magnus Damm, linux-spi,
devicetree
Hi Wolfram,
On Fri, 26 Jun 2026 at 20:03, Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
> Commit 164c05f03ffa ("spi: Convert DW SPI binding to DT schema") added
> an RZ/N1 entry which was not in the original txt-file. It doesn't follow
> the usual "<soc entry>, <soc family entry>" style for Renesas SoCs which
> was properly added later with commit 029d32a892a8 ("spi: dw-apb-ssi:
> Integrate Renesas RZ/N1 SPI controller"). In that commit, removing the
> bogus entry was overlooked and is finally done now.
Nice catch! I must have looked for renesas,r9a06g032-spi omly...
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
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 v4 1/4] spi: dt-bindings: snps,dw-apb-ssi: drop superfluous RZ/N1 entry
2026-06-26 18:03 ` [PATCH v4 1/4] spi: dt-bindings: snps,dw-apb-ssi: drop superfluous RZ/N1 entry Wolfram Sang
2026-06-29 9:32 ` Geert Uytterhoeven
@ 2026-06-30 6:47 ` Krzysztof Kozlowski
2026-06-30 6:50 ` Krzysztof Kozlowski
1 sibling, 1 reply; 9+ messages in thread
From: Krzysztof Kozlowski @ 2026-06-30 6:47 UTC (permalink / raw)
To: Wolfram Sang
Cc: linux-renesas-soc, Mark Brown, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Geert Uytterhoeven, Magnus Damm, linux-spi,
devicetree
On Fri, Jun 26, 2026 at 08:03:22PM +0200, Wolfram Sang wrote:
> Commit 164c05f03ffa ("spi: Convert DW SPI binding to DT schema") added
> an RZ/N1 entry which was not in the original txt-file. It doesn't follow
> the usual "<soc entry>, <soc family entry>" style for Renesas SoCs which
> was properly added later with commit 029d32a892a8 ("spi: dw-apb-ssi:
Does not matter really. It was added apparently to match the compatibles
used.
> Integrate Renesas RZ/N1 SPI controller"). In that commit, removing the
> bogus entry was overlooked and is finally done now.
You introduce undocumented ABI or your patchset is non-bisectable. Past
commit is past history, so not really a reason to introduce new errors
(and undocumented ABI is considered such).
Please drop the patch or fix it.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v4 1/4] spi: dt-bindings: snps,dw-apb-ssi: drop superfluous RZ/N1 entry
2026-06-30 6:47 ` Krzysztof Kozlowski
@ 2026-06-30 6:50 ` Krzysztof Kozlowski
2026-07-01 11:16 ` Wolfram Sang
0 siblings, 1 reply; 9+ messages in thread
From: Krzysztof Kozlowski @ 2026-06-30 6:50 UTC (permalink / raw)
To: Wolfram Sang
Cc: linux-renesas-soc, Mark Brown, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Geert Uytterhoeven, Magnus Damm, linux-spi,
devicetree
On 30/06/2026 08:47, Krzysztof Kozlowski wrote:
> On Fri, Jun 26, 2026 at 08:03:22PM +0200, Wolfram Sang wrote:
>> Commit 164c05f03ffa ("spi: Convert DW SPI binding to DT schema") added
>> an RZ/N1 entry which was not in the original txt-file. It doesn't follow
>> the usual "<soc entry>, <soc family entry>" style for Renesas SoCs which
>> was properly added later with commit 029d32a892a8 ("spi: dw-apb-ssi:
>
> Does not matter really. It was added apparently to match the compatibles
> used.
>
>> Integrate Renesas RZ/N1 SPI controller"). In that commit, removing the
>> bogus entry was overlooked and is finally done now.
>
> You introduce undocumented ABI or your patchset is non-bisectable. Past
> commit is past history, so not really a reason to introduce new errors
> (and undocumented ABI is considered such).
>
> Please drop the patch or fix it.
Uh... the compatible is listed twice (!) and you remove it only one
instance. That's completely missed in the commit msg. Patch is fine, but
please be explicit that you remove the variant which should be used as
fallback while leaving the ABI documented.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v4 2/4] spi: dt-bindings: snps,dw-apb-ssi: add 'power-domains' property
2026-06-26 18:03 ` [PATCH v4 2/4] spi: dt-bindings: snps,dw-apb-ssi: add 'power-domains' property Wolfram Sang
@ 2026-06-30 6:50 ` Krzysztof Kozlowski
2026-06-30 15:41 ` Geert Uytterhoeven
1 sibling, 0 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2026-06-30 6:50 UTC (permalink / raw)
To: Wolfram Sang
Cc: linux-renesas-soc, Herve Codina, Mark Brown, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-spi, devicetree
On Fri, Jun 26, 2026 at 08:03:23PM +0200, Wolfram Sang wrote:
> This SPI controller likely belongs to a power domain for all the SoCs
> listed. For sure, it belongs to one on the Renesas RZ/N1 SoC, so
> enable the property to be able to describe its power domain in DTs.
>
> Suggested-by: Herve Codina <herve.codina@bootlin.com>
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> Reviewed-by: Herve Codina <herve.codina@bootlin.com>
> ---
>
> Change since v3:
> * reworded commit message to make clear other SoCs likely use a
> power-domain, too (Krzysztof)
> * change Reported-by to Suggested-by (Krzysztof)
> * add Rev-by (Herve)
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v4 2/4] spi: dt-bindings: snps,dw-apb-ssi: add 'power-domains' property
2026-06-26 18:03 ` [PATCH v4 2/4] spi: dt-bindings: snps,dw-apb-ssi: add 'power-domains' property Wolfram Sang
2026-06-30 6:50 ` Krzysztof Kozlowski
@ 2026-06-30 15:41 ` Geert Uytterhoeven
1 sibling, 0 replies; 9+ messages in thread
From: Geert Uytterhoeven @ 2026-06-30 15:41 UTC (permalink / raw)
To: Wolfram Sang
Cc: linux-renesas-soc, Herve Codina, Mark Brown, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-spi, devicetree
Hi Wolfram,
On Sat, 27 Jun 2026 at 11:20, Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
> This SPI controller likely belongs to a power domain for all the SoCs
> listed. For sure, it belongs to one on the Renesas RZ/N1 SoC, so
> enable the property to be able to describe its power domain in DTs.
>
> Suggested-by: Herve Codina <herve.codina@bootlin.com>
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> Reviewed-by: Herve Codina <herve.codina@bootlin.com>
> ---
>
> Change since v3:
> * reworded commit message to make clear other SoCs likely use a
> power-domain, too (Krzysztof)
> * change Reported-by to Suggested-by (Krzysztof)
> * add Rev-by (Herve)
Thanks for your patch!
> --- a/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml
> +++ b/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml
> @@ -87,6 +87,9 @@ properties:
> - const: ssi_clk
> - const: pclk
>
> + power-domains:
> + maxItems: 1
> +
> resets:
> maxItems: 1
>
RZ/N1 definitely needs a power-domains property, so
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
I don't know about the others, they don't seem to have it in their DTS.
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 v4 1/4] spi: dt-bindings: snps,dw-apb-ssi: drop superfluous RZ/N1 entry
2026-06-30 6:50 ` Krzysztof Kozlowski
@ 2026-07-01 11:16 ` Wolfram Sang
0 siblings, 0 replies; 9+ messages in thread
From: Wolfram Sang @ 2026-07-01 11:16 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: linux-renesas-soc, Mark Brown, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Geert Uytterhoeven, Magnus Damm, linux-spi,
devicetree
[-- Attachment #1: Type: text/plain, Size: 368 bytes --]
> Uh... the compatible is listed twice (!) and you remove it only one
> instance. That's completely missed in the commit msg. Patch is fine, but
> please be explicit that you remove the variant which should be used as
> fallback while leaving the ABI documented.
Okay, I could have used 'duplicated' instead of 'superfluous' to
make this more obvious. Will reword.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2026-07-01 11:17 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-26 18:03 [PATCH v4 0/4] ARM: dts: renesas: r9a06g032-rzn1d400-eb: Enable SPI and FRAM Wolfram Sang
2026-06-26 18:03 ` [PATCH v4 1/4] spi: dt-bindings: snps,dw-apb-ssi: drop superfluous RZ/N1 entry Wolfram Sang
2026-06-29 9:32 ` Geert Uytterhoeven
2026-06-30 6:47 ` Krzysztof Kozlowski
2026-06-30 6:50 ` Krzysztof Kozlowski
2026-07-01 11:16 ` Wolfram Sang
2026-06-26 18:03 ` [PATCH v4 2/4] spi: dt-bindings: snps,dw-apb-ssi: add 'power-domains' property Wolfram Sang
2026-06-30 6:50 ` Krzysztof Kozlowski
2026-06-30 15:41 ` Geert Uytterhoeven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox