From patchwork Fri Jun 17 03:40:41 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 890252 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p5H3eYCo013744 for ; Fri, 17 Jun 2011 03:40:44 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756576Ab1FQDko (ORCPT ); Thu, 16 Jun 2011 23:40:44 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:55867 "EHLO relmlor2.renesas.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756613Ab1FQDkn (ORCPT ); Thu, 16 Jun 2011 23:40:43 -0400 Received: from relmlir2.idc.renesas.com ([10.200.68.152]) by relmlor2.idc.renesas.com ( SJSMS) with ESMTP id <0LMX00EAB0VT2M10@relmlor2.idc.renesas.com> for linux-sh@vger.kernel.org; Fri, 17 Jun 2011 12:40:41 +0900 (JST) Received: from relmlac1.idc.renesas.com ([10.200.69.21]) by relmlir2.idc.renesas.com ( SJSMS) with ESMTP id <0LMX00JY50VTQ740@relmlir2.idc.renesas.com> for linux-sh@vger.kernel.org; Fri, 17 Jun 2011 12:40:41 +0900 (JST) Received: by relmlac1.idc.renesas.com (Postfix, from userid 0) id C38A380086; Fri, 17 Jun 2011 12:40:41 +0900 (JST) Received: from relmlac1.idc.renesas.com (localhost [127.0.0.1]) by relmlac1.idc.renesas.com (Postfix) with ESMTP id B667E800A2; Fri, 17 Jun 2011 12:40:41 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac1.idc.renesas.com with ESMTP id NAF10275; Fri, 17 Jun 2011 12:40:41 +0900 Date: Fri, 17 Jun 2011 12:40:41 +0900 X-IronPort-AV: E=Sophos; i="4.65,379,1304262000"; d="scan'208"; a="32560831" Received: from unknown (HELO PG10870.renesas.com) ([172.30.8.159]) by relmlii2.idc.renesas.com with ESMTP; Fri, 17 Jun 2011 12:40:41 +0900 Message-id: To: Paul Mundt Cc: Magnus , Linux-SH , Guennadi , Kuninori Morimoto In-reply-to: References: From: Kuninori Morimoto Subject: [RFC][PATCH 6/6] ARM: mach-shmobile: mackerel: Add USB-DMA ID User-Agent: SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-2022-JP-2?B?U2Fuag==?= =?ISO-2022-JP-2?B?GyQoRCtXGyhC?=) APEL/10.6 Emacs/23.2 (i386-mingw-nt5.1.2600) MULE/6.0 (HANACHIRUSATO) MIME-version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-type: text/plain; charset=US-ASCII Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 17 Jun 2011 03:40:44 +0000 (UTC) This patch use channel0 as Tx, and channel1 as Rx Signed-off-by: Kuninori Morimoto --- Paul: This patch needs usb tree merge arch/arm/mach-shmobile/board-mackerel.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c index 3802f2a..ff3c1a0 100644 --- a/arch/arm/mach-shmobile/board-mackerel.c +++ b/arch/arm/mach-shmobile/board-mackerel.c @@ -641,6 +641,8 @@ static struct usbhs_private usbhs0_private = { }, .driver_param = { .buswait_bwait = 4, + .d0_tx_id = SHDMA_SLAVE_USB0_TX, + .d1_rx_id = SHDMA_SLAVE_USB0_RX, }, }, }; @@ -810,6 +812,8 @@ static struct usbhs_private usbhs1_private = { .buswait_bwait = 4, .pipe_type = usbhs1_pipe_cfg, .pipe_size = ARRAY_SIZE(usbhs1_pipe_cfg), + .d0_tx_id = SHDMA_SLAVE_USB1_TX, + .d1_rx_id = SHDMA_SLAVE_USB1_RX, }, }, };