From patchwork Thu Feb 18 19:39:12 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 80419 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o1IJdFcl031608 for ; Thu, 18 Feb 2010 19:39:15 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753360Ab0BRTjM (ORCPT ); Thu, 18 Feb 2010 14:39:12 -0500 Received: from mail.gmx.net ([213.165.64.20]:34309 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754409Ab0BRTjL (ORCPT ); Thu, 18 Feb 2010 14:39:11 -0500 Received: (qmail invoked by alias); 18 Feb 2010 19:39:08 -0000 Received: from p57BD1CB5.dip0.t-ipconnect.de (EHLO axis700.grange) [87.189.28.181] by mail.gmx.net (mp020) with SMTP; 18 Feb 2010 20:39:08 +0100 X-Authenticated: #20450766 X-Provags-ID: V01U2FsdGVkX1/jkf5b67vjKVtDDy9NsCV7DHL/toWGARsP0DTD4O 7GaCtRn1RK4uej Received: from lyakh (helo=localhost) by axis700.grange with local-esmtp (Exim 4.63) (envelope-from ) id 1NiCDQ-0002cK-V2; Thu, 18 Feb 2010 20:39:12 +0100 Date: Thu, 18 Feb 2010 20:39:12 +0100 (CET) From: Guennadi Liakhovetski To: "linux-sh@vger.kernel.org" cc: Magnus Damm , Dan Williams , linux-serial@vger.kernel.org Subject: [PATCH/not-for-mainline] sh7722: enable DMA on all SCIF ports In-Reply-To: Message-ID: References: MIME-Version: 1.0 X-Y-GMX-Trusted: 0 X-FuHaFi: 0.5 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.3 (demeter.kernel.org [140.211.167.41]); Thu, 18 Feb 2010 19:39:15 +0000 (UTC) diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7722.c b/arch/sh/kernel/cpu/sh4a/setup-sh7722.c index 2b94281..caca1b8 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7722.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7722.c @@ -175,6 +175,9 @@ static struct plat_sci_port scif0_platform_data = { .type = PORT_SCIF, .irqs = { 80, 80, 80, 80 }, .clk = "scif0", + .dma_dev = &dma_device.dev, + .dma_slave_tx = SHDMA_SLAVE_SCIF0_TX, + .dma_slave_rx = SHDMA_SLAVE_SCIF0_RX, }; static struct platform_device scif0_device = { @@ -191,6 +194,9 @@ static struct plat_sci_port scif1_platform_data = { .type = PORT_SCIF, .irqs = { 81, 81, 81, 81 }, .clk = "scif1", + .dma_dev = &dma_device.dev, + .dma_slave_tx = SHDMA_SLAVE_SCIF1_TX, + .dma_slave_rx = SHDMA_SLAVE_SCIF1_RX, }; static struct platform_device scif1_device = { @@ -207,6 +213,9 @@ static struct plat_sci_port scif2_platform_data = { .type = PORT_SCIF, .irqs = { 82, 82, 82, 82 }, .clk = "scif2", + .dma_dev = &dma_device.dev, + .dma_slave_tx = SHDMA_SLAVE_SCIF2_TX, + .dma_slave_rx = SHDMA_SLAVE_SCIF2_RX, }; static struct platform_device scif2_device = {