From patchwork Thu Sep 6 09:09:31 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tetsuyuki Kobayashi X-Patchwork-Id: 1412611 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 15CA23FC71 for ; Thu, 6 Sep 2012 09:12:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756510Ab2IFJMk (ORCPT ); Thu, 6 Sep 2012 05:12:40 -0400 Received: from fbvrgw.firstserver.ne.jp ([164.46.1.51]:51420 "EHLO fbvrgw.firstserver.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754308Ab2IFJMk (ORCPT ); Thu, 6 Sep 2012 05:12:40 -0400 Received: from vrgw5.firstserver.ne.jp (vrgw5.firstserver.ne.jp [164.46.1.48]) by fbvrgw.firstserver.ne.jp (8.13.8/8.13.8/FirstServer) with ESMTP id q869CcT2010640 for ; Thu, 6 Sep 2012 18:12:38 +0900 (envelope-from koba@kmckk.co.jp) Received: from fvrsp10.firstserver.ne.jp (fvrsp10.firstserver.ne.jp [203.183.0.4]) by vrgw5.firstserver.ne.jp (8.13.8/8.13.8/FirstServer) with ESMTP id q8699cBV030695; Thu, 6 Sep 2012 18:09:38 +0900 (envelope-from koba@kmckk.co.jp) Received: from 203.137.25.97 (203.137.25.97) by fvrsp10.firstserver.ne.jp (F-Secure/virusgw_smtp/407/fvrsp10.firstserver.ne.jp); Thu, 06 Sep 2012 18:09:38 +0900 (JST) X-Virus-Status: clean(F-Secure/virusgw_smtp/407/fvrsp10.firstserver.ne.jp) Received: from localhost (58-188-103-12f2.kns1.eonet.ne.jp [58.188.103.12]) (authenticated (0 bits)) by mail.kmckk.co.jp (8.14.3/8.11.3) with ESMTP id q8699bcP021982; Thu, 6 Sep 2012 18:09:37 +0900 From: Tetsuyuki Kobayshi To: horms@verge.net.au Cc: kuninori.morimoto.gx@renesas.com, arnd@arndb.de, olof@lixom.net, linux-sh@vger.kernel.org, arm@kernel.org, linux-arm-kernel@lists.infradead.org, magnus.damm@gmail.com, lethal@linux-sh.org, Tetsuyuki Kobayashi Subject: [PATCH] ARM: shmobile: kzm9g: enable DMAEngine on SHDI0 and SDHI2 Date: Thu, 6 Sep 2012 18:09:31 +0900 Message-Id: <1346922571-16271-1-git-send-email-koba@kmckk.co.jp> X-Mailer: git-send-email 1.7.9.5 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org From: Tetsuyuki Kobayashi This patch enables DMAEngine on SHDI0 and SDHI2 for kzm9g. Signed-off-by: Tetsuyuki Kobayashi --- arch/arm/mach-shmobile/board-kzm9g.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-shmobile/board-kzm9g.c b/arch/arm/mach-shmobile/board-kzm9g.c index 87ec4ce..d849e6d 100644 --- a/arch/arm/mach-shmobile/board-kzm9g.c +++ b/arch/arm/mach-shmobile/board-kzm9g.c @@ -384,6 +384,8 @@ static struct regulator_consumer_supply fixed2v8_power_consumers[] = /* SDHI */ static struct sh_mobile_sdhi_info sdhi0_info = { + .dma_slave_tx = SHDMA_SLAVE_SDHI0_TX, + .dma_slave_rx = SHDMA_SLAVE_SDHI0_RX, .tmio_flags = TMIO_MMC_HAS_IDLE_WAIT, .tmio_caps = MMC_CAP_SD_HIGHSPEED, .tmio_ocr_mask = MMC_VDD_27_28 | MMC_VDD_28_29, @@ -424,6 +426,8 @@ static struct platform_device sdhi0_device = { /* Micro SD */ static struct sh_mobile_sdhi_info sdhi2_info = { + .dma_slave_tx = SHDMA_SLAVE_SDHI2_TX, + .dma_slave_rx = SHDMA_SLAVE_SDHI2_RX, .tmio_flags = TMIO_MMC_HAS_IDLE_WAIT | TMIO_MMC_USE_GPIO_CD | TMIO_MMC_WRPROTECT_DISABLE,