diff options
author | Magnus Damm <damm@opensource.se> | 2011-05-24 06:42:15 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-05-24 22:37:00 -0400 |
commit | 6820e69c5e52cd127ab99e2f52664ed1e59e902f (patch) | |
tree | 041aa0ecceac25bd40b71d14c1ef787bb9606939 /arch/arm/mach-shmobile | |
parent | 19aec34bd8c7309e39b19ed3bc9b7989d138b043 (diff) |
ARM: mach-shmobile: Enable DMAEngine for SDHI on AG5EVM
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>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r-- | arch/arm/mach-shmobile/board-ag5evm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/board-ag5evm.c b/arch/arm/mach-shmobile/board-ag5evm.c index 52ddc3c45bc9..c95258c274c1 100644 --- a/arch/arm/mach-shmobile/board-ag5evm.c +++ b/arch/arm/mach-shmobile/board-ag5evm.c | |||
@@ -339,6 +339,8 @@ static struct platform_device mipidsi0_device = { | |||
339 | }; | 339 | }; |
340 | 340 | ||
341 | static struct sh_mobile_sdhi_info sdhi0_info = { | 341 | static struct sh_mobile_sdhi_info sdhi0_info = { |
342 | .dma_slave_tx = SHDMA_SLAVE_SDHI0_TX, | ||
343 | .dma_slave_rx = SHDMA_SLAVE_SDHI0_RX, | ||
342 | .tmio_caps = MMC_CAP_SD_HIGHSPEED, | 344 | .tmio_caps = MMC_CAP_SD_HIGHSPEED, |
343 | .tmio_ocr_mask = MMC_VDD_27_28 | MMC_VDD_28_29, | 345 | .tmio_ocr_mask = MMC_VDD_27_28 | MMC_VDD_28_29, |
344 | }; | 346 | }; |
@@ -380,6 +382,8 @@ void ag5evm_sdhi1_set_pwr(struct platform_device *pdev, int state) | |||
380 | } | 382 | } |
381 | 383 | ||
382 | static struct sh_mobile_sdhi_info sh_sdhi1_platdata = { | 384 | static struct sh_mobile_sdhi_info sh_sdhi1_platdata = { |
385 | .dma_slave_tx = SHDMA_SLAVE_SDHI1_TX, | ||
386 | .dma_slave_rx = SHDMA_SLAVE_SDHI1_RX, | ||
383 | .tmio_flags = TMIO_MMC_WRPROTECT_DISABLE, | 387 | .tmio_flags = TMIO_MMC_WRPROTECT_DISABLE, |
384 | .tmio_caps = MMC_CAP_NONREMOVABLE, | 388 | .tmio_caps = MMC_CAP_NONREMOVABLE, |
385 | .tmio_ocr_mask = MMC_VDD_32_33 | MMC_VDD_33_34, | 389 | .tmio_ocr_mask = MMC_VDD_32_33 | MMC_VDD_33_34, |