diff mbox

[02/03] ARM: shmobile: r8a7790: SYS-DMAC and MMCIF prototype

Message ID 20140603223314.2193.24640.sendpatchset@w520 (mailing list archive)
State RFC
Headers show

Commit Message

Magnus Damm June 3, 2014, 10:33 p.m. UTC
From: Magnus Damm <damm+renesas@opensource.se>

Add r8a7790 MMCIF entries to the SYS-DMAC prototype
code to allow board specific use of DMA with MMCIF.

Not for upstream merge.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
---

 Written on top of renesas-devel-v3.15-rc7-20140530 and
 [PATCH 01/03] ARM: shmobile: r8a7790: SYS-DMAC prototype

 arch/arm/mach-shmobile/include/mach/r8a7790.h |    4 ++++
 arch/arm/mach-shmobile/setup-r8a7790.c        |    2 ++
 2 files changed, 6 insertions(+)

--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

--- 0001/arch/arm/mach-shmobile/include/mach/r8a7790.h
+++ work/arch/arm/mach-shmobile/include/mach/r8a7790.h	2014-06-03 21:54:19.000000000 +0900
@@ -26,6 +26,10 @@  enum {
 	AUDIO_DMAC_SLAVE_SSI8_RX,
 	AUDIO_DMAC_SLAVE_SSI9_TX,
 	AUDIO_DMAC_SLAVE_SSI9_RX,
+	SYS_DMAC_SLAVE_MMCIF0_TX,
+	SYS_DMAC_SLAVE_MMCIF0_RX,
+	SYS_DMAC_SLAVE_MMCIF1_TX,
+	SYS_DMAC_SLAVE_MMCIF1_RX,
 };
 
 void r8a7790_add_standard_devices(void);
--- 0002/arch/arm/mach-shmobile/setup-r8a7790.c
+++ work/arch/arm/mach-shmobile/setup-r8a7790.c	2014-06-03 21:53:31.000000000 +0900
@@ -55,6 +55,8 @@ 
 }
 
 static const struct sh_dmae_slave_config r8a7790_sys_dmac_slaves[] = {
+	SYS_DMAC_SLAVE(MMCIF0, 32, 0xee200000, 0x34, 0x34, 0xd1, 0xd2),
+	SYS_DMAC_SLAVE(MMCIF1, 32, 0xee220000, 0x34, 0x34, 0xe1, 0xe2),
 };
 
 static const struct sh_dmae_channel r8a7790_sys_dmac_channels[] = {