From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Horman Date: Wed, 04 Apr 2012 05:39:51 +0000 Subject: Re: [PATCH resend 2/2] ARM: mach-shmobile: mackerel: Add FSI DMAEngine support Message-Id: <20120404053950.GA8071@verge.net.au> List-Id: References: <87sjgm9ais.wl%kuninori.morimoto.gx@renesas.com> In-Reply-To: <87sjgm9ais.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-sh@vger.kernel.org Hi Morimoto-san, On Sun, Apr 01, 2012 at 06:40:14PM -0700, Kuninori Morimoto wrote: > We needs un-manualed address to use DMA > > Signed-off-by: Kuninori Morimoto > --- > arch/arm/mach-shmobile/board-mackerel.c | 8 ++++++-- > 1 files changed, 6 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c > index 13ba0ac..ff73e5a 100644 > --- a/arch/arm/mach-shmobile/board-mackerel.c > +++ b/arch/arm/mach-shmobile/board-mackerel.c > @@ -922,6 +922,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 | Which tree does this apply to or is there a dependency? I'm having trouble with the above hunk both on v3.3 and the soc branch of Rafael's renesas tree. > @@ -934,9 +936,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] = { > -- > 1.7.5.4 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-sh" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >