From patchwork Mon Jul 22 22:23:24 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 2831613 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 0D65EC0319 for ; Mon, 22 Jul 2013 22:24:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3F2F62026B for ; Mon, 22 Jul 2013 22:23:59 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 33E682022A for ; Mon, 22 Jul 2013 22:23:58 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V1OWJ-0003pp-BO; Mon, 22 Jul 2013 22:23:55 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V1OWH-0008Fy-4x; Mon, 22 Jul 2013 22:23:53 +0000 Received: from mail-la0-f51.google.com ([209.85.215.51]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V1OWE-0008FC-QB for linux-arm-kernel@lists.infradead.org; Mon, 22 Jul 2013 22:23:51 +0000 Received: by mail-la0-f51.google.com with SMTP id ga9so3870763lab.24 for ; Mon, 22 Jul 2013 15:23:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:organization:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id:x-gm-message-state; bh=MA/FGRC7rud4njbChgdjAbCxgTLx2pB6fhlryjVUeSM=; b=PinxWQtQ9ltPH7bkneNeNeA4b63aDOWwkX2eh/gzb2Ut4QuSZEz67ErNaBbyRehkNh dsrZXfV4JWYvIvBR0qnhhbFM1l2gqTi4XKKDRTdaXEstIZNnoAvpsUG/fXnBJQKKDntN go0xIAa5aMv4MsAV9wOVsleNLJO832RDI95Lqsfhlq1Jtt85n7UH2O6aX3W99FV82dX2 vi84DUKUq4hGs0ZQxuM1ONYrRshL1Ohppld1aVj5TzNjHHXggF8oSjoD6l3tlJaxabZP lPVUsFLmFu2cqrV+rDm09/MQHcpwrts6hKwSAdyt65kcv3h9JOhig14no11hBYL20eVU cDXQ== X-Received: by 10.112.19.162 with SMTP id g2mr13352214lbe.9.1374531808329; Mon, 22 Jul 2013 15:23:28 -0700 (PDT) Received: from wasted.dev.rtsoft.ru (ppp91-76-84-39.pppoe.mtu-net.ru. [91.76.84.39]) by mx.google.com with ESMTPSA id p10sm11907733lap.8.2013.07.22.15.23.26 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 22 Jul 2013 15:23:27 -0700 (PDT) From: Sergei Shtylyov Organization: Cogent Embedded To: horms@verge.net.au, linux-sh@vger.kernel.org Subject: [PATCH v2 2/2] ARM: shmobile: BOCK-W: enable DMA for SDHI0 Date: Tue, 23 Jul 2013 02:23:24 +0400 User-Agent: KMail/1.13.5 (Linux/2.6.32.26-175.fc12.i686.PAE; KDE/4.4.5; i686; ; ) References: <201307230218.01495.sergei.shtylyov@cogentembedded.com> In-Reply-To: <201307230218.01495.sergei.shtylyov@cogentembedded.com> MIME-Version: 1.0 Message-Id: <201307230223.24954.sergei.shtylyov@cogentembedded.com> X-Gm-Message-State: ALoCoQnXbXvv26iGMDYcyuRjKuZ3RUeSha8OFLl8eRepZsqdp9GfSN9cHAnICcB/m+eeNCNOJoEH X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130722_182350_994806_D33F9905 X-CRM114-Status: GOOD ( 11.78 ) X-Spam-Score: -2.6 (--) Cc: linux@arm.linux.org.uk, max.filippov@cogentembedded.com, magnus.damm@gmail.com, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Max Filippov Pass HPB-DMA slave IDs in the SDHI0 platform data to enable DMA in the SDHI driver. Signed-off-by: Max Filippov [Sergei: removed #include ] Signed-off-by: Sergei Shtylyov --- Changes in version 2: - removed #include ; - refreshed the patch. arch/arm/mach-shmobile/board-bockw.c | 2 ++ 1 file changed, 2 insertions(+) Index: renesas/arch/arm/mach-shmobile/board-bockw.c =================================================================== --- renesas.orig/arch/arm/mach-shmobile/board-bockw.c +++ renesas/arch/arm/mach-shmobile/board-bockw.c @@ -81,6 +81,8 @@ static struct rcar_phy_platform_data usb /* SDHI */ static struct sh_mobile_sdhi_info sdhi0_info = { + .dma_slave_tx = HPBDMA_SLAVE_SDHI0_TX, + .dma_slave_rx = HPBDMA_SLAVE_SDHI0_RX, .tmio_caps = MMC_CAP_SD_HIGHSPEED, .tmio_ocr_mask = MMC_VDD_165_195 | MMC_VDD_32_33 | MMC_VDD_33_34, .tmio_flags = TMIO_MMC_HAS_IDLE_WAIT,