From patchwork Fri Jun 17 08:21:21 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 890672 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p5H8KieF003104 for ; Fri, 17 Jun 2011 08:21:24 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757680Ab1FQIVX (ORCPT ); Fri, 17 Jun 2011 04:21:23 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:52137 "EHLO relmlor3.renesas.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755328Ab1FQIVX (ORCPT ); Fri, 17 Jun 2011 04:21:23 -0400 Received: from relmlir4.idc.renesas.com ([10.200.68.154]) by relmlor3.idc.renesas.com ( SJSMS) with ESMTP id <0LMX00BVYDVM6Y00@relmlor3.idc.renesas.com> for linux-sh@vger.kernel.org; Fri, 17 Jun 2011 17:21:22 +0900 (JST) Received: from relmlac4.idc.renesas.com ([10.200.69.24]) by relmlir4.idc.renesas.com ( SJSMS) with ESMTP id <0LMX007Z4DVMUOE0@relmlir4.idc.renesas.com> for linux-sh@vger.kernel.org; Fri, 17 Jun 2011 17:21:22 +0900 (JST) Received: by relmlac4.idc.renesas.com (Postfix, from userid 0) id 2CB3648087; Fri, 17 Jun 2011 17:21:22 +0900 (JST) Received: from relmlac4.idc.renesas.com (localhost [127.0.0.1]) by relmlac4.idc.renesas.com (Postfix) with ESMTP id 23EB34807B; Fri, 17 Jun 2011 17:21:22 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac4.idc.renesas.com with ESMTP id TAA01238; Fri, 17 Jun 2011 17:21:22 +0900 Date: Fri, 17 Jun 2011 17:21:21 +0900 X-IronPort-AV: E=Sophos; i="4.65,380,1304262000"; d="scan'208"; a="32631531" Received: from unknown (HELO PG10870.renesas.com) ([172.30.8.159]) by relmlii2.idc.renesas.com with ESMTP; Fri, 17 Jun 2011 17:21:21 +0900 Message-id: To: Paul Mundt Cc: Simon , Magnus , Linux-SH , Guennadi , Kuninori Morimoto In-reply-to: References: 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") From: Kuninori Morimoto Subject: [RFC][PATCH 6/6 v3] ARM: mach-shmobile: mackerel: Add USB-DMA ID 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 (demeter2.kernel.org [140.211.167.43]); Fri, 17 Jun 2011 08:21:24 +0000 (UTC) This patch use channel0 as Tx, and channel1 as Rx Signed-off-by: Kuninori Morimoto --- v2 -> v3 - no change 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, }, }, };