* [PATCH 0/2] ARM: dts: renesas: r7s72100: add DMA for MMCIF
@ 2024-10-15 22:48 Wolfram Sang
2024-10-15 22:48 ` [PATCH 1/2] ARM: dts: renesas: r7s72100: add DMAC node Wolfram Sang
2024-10-15 22:48 ` [PATCH 2/2] ARM: dts: renesas: r7s72100: add dma entries for MMCIF Wolfram Sang
0 siblings, 2 replies; 5+ messages in thread
From: Wolfram Sang @ 2024-10-15 22:48 UTC (permalink / raw)
To: linux-renesas-soc
Cc: Wolfram Sang, Conor Dooley, devicetree, Geert Uytterhoeven,
Krzysztof Kozlowski, Magnus Damm, Rob Herring
As the DMA enablement patches for RZA1 are now in linux-next, the DTS
DMA additions for that SoC can now go upstream as well. Tested with a
Renesas Genmai board. Let me know if you have comments.
Happy hacking...
Wolfram Sang (2):
ARM: dts: renesas: r7s72100: add DMAC node
ARM: dts: renesas: r7s72100: add dma entries for MMCIF
arch/arm/boot/dts/renesas/r7s72100.dtsi | 33 +++++++++++++++++++++++++
1 file changed, 33 insertions(+)
--
2.45.2
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/2] ARM: dts: renesas: r7s72100: add DMAC node
2024-10-15 22:48 [PATCH 0/2] ARM: dts: renesas: r7s72100: add DMA for MMCIF Wolfram Sang
@ 2024-10-15 22:48 ` Wolfram Sang
2024-10-25 14:25 ` Geert Uytterhoeven
2024-10-15 22:48 ` [PATCH 2/2] ARM: dts: renesas: r7s72100: add dma entries for MMCIF Wolfram Sang
1 sibling, 1 reply; 5+ messages in thread
From: Wolfram Sang @ 2024-10-15 22:48 UTC (permalink / raw)
To: linux-renesas-soc
Cc: Wolfram Sang, Geert Uytterhoeven, Magnus Damm, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, devicetree
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
arch/arm/boot/dts/renesas/r7s72100.dtsi | 31 +++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/arch/arm/boot/dts/renesas/r7s72100.dtsi b/arch/arm/boot/dts/renesas/r7s72100.dtsi
index 39999468c28b..02ca28b521df 100644
--- a/arch/arm/boot/dts/renesas/r7s72100.dtsi
+++ b/arch/arm/boot/dts/renesas/r7s72100.dtsi
@@ -368,6 +368,37 @@ sdhi1: mmc@e804e800 {
status = "disabled";
};
+ dmac: dma-controller@e8200000 {
+ compatible = "renesas,r7s72100-dmac",
+ "renesas,rz-dmac";
+ reg = <0xe8200000 0x1000>,
+ <0xfcfe1000 0x20>;
+ interrupts = <GIC_SPI 25 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 9 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 10 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 11 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 12 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 13 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 14 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 15 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 16 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 17 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 18 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 19 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 20 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 22 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 23 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 24 IRQ_TYPE_EDGE_RISING>;
+ interrupt-names = "error",
+ "ch0", "ch1", "ch2", "ch3",
+ "ch4", "ch5", "ch6", "ch7",
+ "ch8", "ch9", "ch10", "ch11",
+ "ch12", "ch13", "ch14", "ch15";
+ #dma-cells = <1>;
+ dma-channels = <16>;
+ };
+
gic: interrupt-controller@e8201000 {
compatible = "arm,pl390";
#interrupt-cells = <3>;
--
2.45.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] ARM: dts: renesas: r7s72100: add dma entries for MMCIF
2024-10-15 22:48 [PATCH 0/2] ARM: dts: renesas: r7s72100: add DMA for MMCIF Wolfram Sang
2024-10-15 22:48 ` [PATCH 1/2] ARM: dts: renesas: r7s72100: add DMAC node Wolfram Sang
@ 2024-10-15 22:48 ` Wolfram Sang
2024-10-25 14:25 ` Geert Uytterhoeven
1 sibling, 1 reply; 5+ messages in thread
From: Wolfram Sang @ 2024-10-15 22:48 UTC (permalink / raw)
To: linux-renesas-soc
Cc: Wolfram Sang, Geert Uytterhoeven, Magnus Damm, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, devicetree
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
arch/arm/boot/dts/renesas/r7s72100.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/renesas/r7s72100.dtsi b/arch/arm/boot/dts/renesas/r7s72100.dtsi
index 02ca28b521df..b831bbc431ef 100644
--- a/arch/arm/boot/dts/renesas/r7s72100.dtsi
+++ b/arch/arm/boot/dts/renesas/r7s72100.dtsi
@@ -332,6 +332,8 @@ mmcif: mmc@e804c800 {
<GIC_SPI 269 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp8_clks R7S72100_CLK_MMCIF>;
+ dmas = <&dmac 0x2cc9>, <&dmac 0x2cca>;
+ dma-names = "tx", "rx";
power-domains = <&cpg_clocks>;
status = "disabled";
};
--
2.45.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] ARM: dts: renesas: r7s72100: add DMAC node
2024-10-15 22:48 ` [PATCH 1/2] ARM: dts: renesas: r7s72100: add DMAC node Wolfram Sang
@ 2024-10-25 14:25 ` Geert Uytterhoeven
0 siblings, 0 replies; 5+ messages in thread
From: Geert Uytterhoeven @ 2024-10-25 14:25 UTC (permalink / raw)
To: Wolfram Sang
Cc: linux-renesas-soc, Magnus Damm, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, devicetree
On Wed, Oct 16, 2024 at 12:48 AM Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-devel for v6.13.
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] 5+ messages in thread
* Re: [PATCH 2/2] ARM: dts: renesas: r7s72100: add dma entries for MMCIF
2024-10-15 22:48 ` [PATCH 2/2] ARM: dts: renesas: r7s72100: add dma entries for MMCIF Wolfram Sang
@ 2024-10-25 14:25 ` Geert Uytterhoeven
0 siblings, 0 replies; 5+ messages in thread
From: Geert Uytterhoeven @ 2024-10-25 14:25 UTC (permalink / raw)
To: Wolfram Sang
Cc: linux-renesas-soc, Magnus Damm, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, devicetree
On Wed, Oct 16, 2024 at 12:48 AM Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-devel for v6.13.
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] 5+ messages in thread
end of thread, other threads:[~2024-10-25 14:25 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-15 22:48 [PATCH 0/2] ARM: dts: renesas: r7s72100: add DMA for MMCIF Wolfram Sang
2024-10-15 22:48 ` [PATCH 1/2] ARM: dts: renesas: r7s72100: add DMAC node Wolfram Sang
2024-10-25 14:25 ` Geert Uytterhoeven
2024-10-15 22:48 ` [PATCH 2/2] ARM: dts: renesas: r7s72100: add dma entries for MMCIF Wolfram Sang
2024-10-25 14:25 ` Geert Uytterhoeven
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).