* [PATCH] ARM: mach-shmobile: Enable DMAEngine for MMCIF on AG5EVM
@ 2011-05-24 10:40 Magnus Damm
2011-05-24 10:42 ` [PATCH] ARM: mach-shmobile: Enable DMAEngine for SDHI " Magnus Damm
0 siblings, 1 reply; 2+ messages in thread
From: Magnus Damm @ 2011-05-24 10:40 UTC (permalink / raw)
To: linux-sh
From: Magnus Damm <damm@opensource.se>
Simply add MMCIF slave ids for RX and TX to enable
DMA Engine support for the AG5EVM board.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
Has a build time dependency on the patch:
"[PATCH] ARM: mach-shmobile: sh73a0 DMA Engine support for SY-DMAC"
arch/arm/mach-shmobile/board-ag5evm.c | 9 +++++++++
1 file changed, 9 insertions(+)
--- 0009/arch/arm/mach-shmobile/board-ag5evm.c
+++ work/arch/arm/mach-shmobile/board-ag5evm.c 2011-05-24 17:48:42.000000000 +0900
@@ -158,10 +158,19 @@ static struct resource sh_mmcif_resource
},
};
+static struct sh_mmcif_dma sh_mmcif_dma = {
+ .chan_priv_rx = {
+ .slave_id = SHDMA_SLAVE_MMCIF_RX,
+ },
+ .chan_priv_tx = {
+ .slave_id = SHDMA_SLAVE_MMCIF_TX,
+ },
+};
static struct sh_mmcif_plat_data sh_mmcif_platdata = {
.sup_pclk = 0,
.ocr = MMC_VDD_165_195,
.caps = MMC_CAP_8_BIT_DATA | MMC_CAP_NONREMOVABLE,
+ .dma = &sh_mmcif_dma,
};
static struct platform_device mmc_device = {
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH] ARM: mach-shmobile: Enable DMAEngine for SDHI on AG5EVM
2011-05-24 10:40 [PATCH] ARM: mach-shmobile: Enable DMAEngine for MMCIF on AG5EVM Magnus Damm
@ 2011-05-24 10:42 ` Magnus Damm
0 siblings, 0 replies; 2+ messages in thread
From: Magnus Damm @ 2011-05-24 10:42 UTC (permalink / raw)
To: linux-sh
From: Magnus Damm <damm@opensource.se>
Add SDHI0 and SDHI1 slave ids for RX and TX to enable
DMA Engine support for SDHI on the AG5EVM board.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
Has a build time dependency on the patch:
"[PATCH] ARM: mach-shmobile: sh73a0 DMA Engine support for SY-DMAC"
arch/arm/mach-shmobile/board-ag5evm.c | 4 ++++
1 file changed, 4 insertions(+)
--- 0013/arch/arm/mach-shmobile/board-ag5evm.c
+++ work/arch/arm/mach-shmobile/board-ag5evm.c 2011-05-24 18:00:53.000000000 +0900
@@ -339,6 +339,8 @@ static struct platform_device mipidsi0_d
};
static struct sh_mobile_sdhi_info sdhi0_info = {
+ .dma_slave_tx = SHDMA_SLAVE_SDHI0_TX,
+ .dma_slave_rx = SHDMA_SLAVE_SDHI0_RX,
.tmio_caps = MMC_CAP_SD_HIGHSPEED,
.tmio_ocr_mask = MMC_VDD_27_28 | MMC_VDD_28_29,
};
@@ -380,6 +382,8 @@ void ag5evm_sdhi1_set_pwr(struct platfor
}
static struct sh_mobile_sdhi_info sh_sdhi1_platdata = {
+ .dma_slave_tx = SHDMA_SLAVE_SDHI1_TX,
+ .dma_slave_rx = SHDMA_SLAVE_SDHI1_RX,
.tmio_flags = TMIO_MMC_WRPROTECT_DISABLE,
.tmio_caps = MMC_CAP_NONREMOVABLE,
.tmio_ocr_mask = MMC_VDD_32_33 | MMC_VDD_33_34,
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-24 10:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-24 10:40 [PATCH] ARM: mach-shmobile: Enable DMAEngine for MMCIF on AG5EVM Magnus Damm
2011-05-24 10:42 ` [PATCH] ARM: mach-shmobile: Enable DMAEngine for SDHI " Magnus Damm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.