Re: [PATCH resend 2/2] ARM: mach-shmobile: mackerel: Add FSI DMAEngine support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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 <kuninori.morimoto.gx@xxxxxxxxxxx>
> ---
>  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@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux OMAP]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [XFree86]

Add to Google Powered by Linux