Commit c650a1f4 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Rafael J. Wysocki

ARM: mach-shmobile: mackerel: Add FSI DMAEngine support

We need undocumented address to use DMA.
Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: default avatarSimon Horman <horms@verge.net.au>
Acked-by: default avatarMagnus Damm <damm@opensource.se>
Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
parent c8241085
...@@ -908,6 +908,8 @@ static int fsi_b_set_rate(struct device *dev, int rate, int enable) ...@@ -908,6 +908,8 @@ static int fsi_b_set_rate(struct device *dev, int rate, int enable)
static struct sh_fsi_platform_info fsi_info = { static struct sh_fsi_platform_info fsi_info = {
.port_a = { .port_a = {
.flags = SH_FSI_BRS_INV, .flags = SH_FSI_BRS_INV,
.tx_id = SHDMA_SLAVE_FSIA_TX,
.rx_id = SHDMA_SLAVE_FSIA_RX,
}, },
.port_b = { .port_b = {
.flags = SH_FSI_BRS_INV | .flags = SH_FSI_BRS_INV |
...@@ -920,9 +922,11 @@ static struct sh_fsi_platform_info fsi_info = { ...@@ -920,9 +922,11 @@ static struct sh_fsi_platform_info fsi_info = {
static struct resource fsi_resources[] = { static struct resource fsi_resources[] = {
[0] = { [0] = {
/* we need 0xFE1F0000 to access DMA
* instead of 0xFE3C0000 */
.name = "FSI", .name = "FSI",
.start = 0xFE3C0000, .start = 0xFE1F0000,
.end = 0xFE3C0400 - 1, .end = 0xFE1F0400 - 1,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
}, },
[1] = { [1] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment