提交 c650a1f4 编写于 作者: K Kuninori Morimoto 提交者: Rafael J. Wysocki

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

We need undocumented address to use DMA.
Signed-off-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: NSimon Horman <horms@verge.net.au>
Acked-by: NMagnus Damm <damm@opensource.se>
Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
上级 c8241085
......@@ -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 = {
.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] = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册