Add RSPI support for RZ/T2H and RZ/N2H
A message that is not in the archive (sent off-list or not yet received): [email protected]
Please disregard this series.
I forgot internal Reviewed-by tags on the patches.
I will send V2 without them.
Quoted 59 lines
From: [email protected] <[email protected]> On Behalf Of Cosmin Tanislav via lists.cip-project.org
Sent: Friday, March 6, 2026 6:59 PMThis series adds RSPI support for the Renesas RZ/T2H (R9A09G077) and RZ/N2H (R9A09G087) SoCs.
RZ/T2H and RZ/N2H support is implemented as part of the RZ/V2H RSPI driver, and, as such, the RZ/V2H RSPI driver had to be backported.
Patches were cherry-picked from upstream kernel.
This series applies on top of my previously submitted series [1] (to avoid a conflict in
drivers/clk/renesas/r9a09g077-cpg.cmainly).[1]:
https://patchwork.kernel.org/project/cip
-dev%2Fcover%2F20260303165351.914437-1-cosmin- gabriel.tanislav.xa%40renesas.com%2F&data=05%7C02%7Ccosmin- gabriel.tanislav.xa%40renesas.com%7C6f945845bba64a25ade008de7ba1d46e%7C53d82571da1947e49cb4625a166a4a2 a%7C0%7C0%7C639084132155199464%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlA iOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=rtUD1q73VhE%2FdD%2B1XBvLJaYzI2MoNIG%2 FQLdoJK4JUZU%3D&reserved=0Cosmin Tanislav (14):
clk: renesas: r9a09g077: Add SPI module clocks
spi: rzv2h-rspi: make resets optional
spi: rzv2h-rspi: make FIFO size chip-specific
spi: rzv2h-rspi: make clocks chip-specific
spi: rzv2h-rspi: move register writes out ofrzv2h_rspi_setup_clock()
spi: rzv2h-rspi: avoid recomputing transfer frequency
spi: rzv2h-rspi: make transfer clock rate finding chip-specific
spi: rzv2h-rspi: add support for using PCLK for transfer clock
spi: rzv2h-rspi: add support for variable transfer clock
spi: rzv2h-rspi: add support for loopback mode
spi: rzv2h-rspi: add support for RZ/T2H and RZ/N2H
spi: dt-bindings: renesas,rzv2h-rspi: document RZ/T2H and RZ/N2H
arm64: dts: renesas: r9a09g077: Add SPI nodes
arm64: dts: renesas: r9a09g087: Add SPI nodesFabrizio Castro (3):
spi: dt-bindings: Document the RZ/V2H(P) RSPI
spi: Add driver for the RZ/V2H(P) RSPI IP
arm64: defconfig: Enable the RZ/V2H(P) RSPI driver.../bindings/spi/renesas,rzv2h-rspi.yaml | 138 ++++ arch/arm64/boot/dts/renesas/r9a09g077.dtsi | 72 ++ arch/arm64/boot/dts/renesas/r9a09g087.dtsi | 72 ++ arch/arm64/configs/defconfig | 1 + drivers/clk/renesas/r9a09g077-cpg.c | 22 +- drivers/spi/Kconfig | 8 + drivers/spi/Makefile | 1 + drivers/spi/spi-rzv2h-rspi.c | 687 ++++++++++++++++++ 8 files changed, 1000 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/spi/renesas,rzv2h-rspi.yaml create mode 100644 drivers/spi/spi-rzv2h-rspi.c--
2.53.0
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 4 lines
From: [email protected] <[email protected]> On Behalf Of Cosmin Tanislav via lists.cip-project.org
Sent: Friday, March 6, 2026 7:07 PM
Quoted 21 lines
Please disregard this series.
I forgot internal Reviewed-by tags on the patches.
I will send V2 without them.
Quoted 15 lines
From: [email protected] <[email protected]> On Behalf Of Cosmin Tanislav via lists.cip-project.org
Sent: Friday, March 6, 2026 6:59 PMThis series adds RSPI support for the Renesas RZ/T2H (R9A09G077) and RZ/N2H (R9A09G087) SoCs.
RZ/T2H and RZ/N2H support is implemented as part of the RZ/V2H RSPI driver, and, as such, the RZ/V2H RSPI driver had to be backported.
Patches were cherry-picked from upstream kernel.
This series applies on top of my previously submitted series [1] (to avoid a conflict in
drivers/clk/renesas/r9a09g077-cpg.cmainly).
It has been brought to my attention that even trivial conflict resolution should be mentioned in the commit message, as they deviate from the original patch. This is the case for patches 04/17, 16/17, 17/17, where context was different because other commits have not been backported yet, and manual intervention was needed to resolve the conflicts.
I will send a V3 next week adding those details in the commit messages.
Quoted 53 lines
Quoted 2 lines
[1]:
https://patchwork.kernel.org/project/cip
&data=05%7C02%7Ccosmin- gabriel.tanislav.xa%40renesas.com%7C663a662433b2499430de08de7ba2d29b%7C53d82571da1947e49cb4625a166a4a2 a%7C0%7C0%7C639084136409764188%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlA iOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=d8ZhHRYjrF87gYDwhxPXK0Pqy3GHT7MGz3frs ammwP0%3D&reserved=0Quoted 3 lines
-dev%2Fcover%2F20260303165351.914437-1-cosmin- gabriel.tanislav.xa%40renesas.com%2F&data=05%7C02%7Ccosmin-
gabriel.tanislav.xa%40renesas.com%7C6f945845bba64a25ade008de7ba1d46e%7C53d82571da1947e49cb4625a166a4a2
Quoted 1 line
a%7C0%7C0%7C639084132155199464%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlA
Quoted 1 line
iOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=rtUD1q73VhE%2FdD%2B1XBvLJaYzI2MoNIG%2
Quoted 37 lines
FQLdoJK4JUZU%3D&reserved=0
Cosmin Tanislav (14):
clk: renesas: r9a09g077: Add SPI module clocks
spi: rzv2h-rspi: make resets optional
spi: rzv2h-rspi: make FIFO size chip-specific
spi: rzv2h-rspi: make clocks chip-specific
spi: rzv2h-rspi: move register writes out ofrzv2h_rspi_setup_clock()
spi: rzv2h-rspi: avoid recomputing transfer frequency
spi: rzv2h-rspi: make transfer clock rate finding chip-specific
spi: rzv2h-rspi: add support for using PCLK for transfer clock
spi: rzv2h-rspi: add support for variable transfer clock
spi: rzv2h-rspi: add support for loopback mode
spi: rzv2h-rspi: add support for RZ/T2H and RZ/N2H
spi: dt-bindings: renesas,rzv2h-rspi: document RZ/T2H and RZ/N2H
arm64: dts: renesas: r9a09g077: Add SPI nodes
arm64: dts: renesas: r9a09g087: Add SPI nodesFabrizio Castro (3):
spi: dt-bindings: Document the RZ/V2H(P) RSPI
spi: Add driver for the RZ/V2H(P) RSPI IP
arm64: defconfig: Enable the RZ/V2H(P) RSPI driver.../bindings/spi/renesas,rzv2h-rspi.yaml | 138 ++++ arch/arm64/boot/dts/renesas/r9a09g077.dtsi | 72 ++ arch/arm64/boot/dts/renesas/r9a09g087.dtsi | 72 ++ arch/arm64/configs/defconfig | 1 + drivers/clk/renesas/r9a09g077-cpg.c | 22 +- drivers/spi/Kconfig | 8 + drivers/spi/Makefile | 1 + drivers/spi/spi-rzv2h-rspi.c | 687 ++++++++++++++++++ 8 files changed, 1000 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/spi/renesas,rzv2h-rspi.yaml create mode 100644 drivers/spi/spi-rzv2h-rspi.c--
2.53.0