From: Kuninori Morimoto Date: Mon, 2 Apr 2012 01:40:14 +0000 (-0700) Subject: ARM: mach-shmobile: mackerel: Add FSI DMAEngine support X-Git-Tag: v3.5-rc1~150^2~5^2~2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c650a1f45cb6cf643cacf3bc2acb1e8ff772afd0;p=karo-tx-linux.git ARM: mach-shmobile: mackerel: Add FSI DMAEngine support We need undocumented address to use DMA. Signed-off-by: Kuninori Morimoto Tested-by: Simon Horman Acked-by: Magnus Damm Signed-off-by: Rafael J. Wysocki --- diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c index 8c6202bb6aeb..75b22843975a 100644 --- a/arch/arm/mach-shmobile/board-mackerel.c +++ b/arch/arm/mach-shmobile/board-mackerel.c @@ -908,6 +908,8 @@ fsi_set_rate_end: static struct sh_fsi_platform_info fsi_info = { .port_a = { .flags = SH_FSI_BRS_INV, + .tx_id = SHDMA_SLAVE_FSIA_TX, + .rx_id = SHDMA_SLAVE_FSIA_RX, }, .port_b = { .flags = SH_FSI_BRS_INV | @@ -920,9 +922,11 @@ static struct sh_fsi_platform_info fsi_info = { static struct resource fsi_resources[] = { [0] = { + /* we need 0xFE1F0000 to access DMA + * instead of 0xFE3C0000 */ .name = "FSI", - .start = 0xFE3C0000, - .end = 0xFE3C0400 - 1, + .start = 0xFE1F0000, + .end = 0xFE1F0400 - 1, .flags = IORESOURCE_MEM, }, [1] = {