From patchwork Thu Aug 8 21:44:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 2841433 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D6D349F271 for ; Thu, 8 Aug 2013 21:44:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D0D69203DD for ; Thu, 8 Aug 2013 21:44:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 01404203DB for ; Thu, 8 Aug 2013 21:44:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758145Ab3HHVn7 (ORCPT ); Thu, 8 Aug 2013 17:43:59 -0400 Received: from mail-lb0-f176.google.com ([209.85.217.176]:41597 "EHLO mail-lb0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752871Ab3HHVn6 (ORCPT ); Thu, 8 Aug 2013 17:43:58 -0400 Received: by mail-lb0-f176.google.com with SMTP id w10so2824267lbi.35 for ; Thu, 08 Aug 2013 14:43:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:from:organization:to:subject:date:user-agent:cc :references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=TK43TWjdywDuTsoIIi9Biu0QdE0+1xd/Rk5sc+12k6M=; b=EgF13SSTB9a0s657Jggdge04FPQ2efkBsFT4t+CqsXdkHK6ZSvoPYQkGrOYhUzvd// zQP6hEWLmr+35QLzHCW9y9R9Wx2R8kM44iazj73hri5V9boEe75LErA8b74y/vZiFalR iCZ2aNc1PEKntRXltmUu4jKdRYH7t+pg2ibV4in8Iop1em2C7+f0YQDS3MGG6jdtbuLA 4O3H+/AZbhSnCd4YHGA8LxSrjoaKGjRlE59aljgqq/WqJDayTiK3SUsSexOhjmlG9DLQ gpWxr46ojz52KIJkMDXeKbJvKzJ57C3NqaRGupOyOwIEKr67SENpPmgC4bhFneMRAi+9 ilXw== X-Gm-Message-State: ALoCoQmvs9Ilq5SC6CjEy443SEPqPHPUwI+IpztUXLxnJYfzQcM7xi028n8uZdadOeooNmJPG+uf X-Received: by 10.112.158.228 with SMTP id wx4mr3260332lbb.29.1375998236910; Thu, 08 Aug 2013 14:43:56 -0700 (PDT) Received: from wasted.dev.rtsoft.ru (ppp91-76-150-139.pppoe.mtu-net.ru. [91.76.150.139]) by mx.google.com with ESMTPSA id i9sm5774918lba.0.2013.08.08.14.43.55 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 08 Aug 2013 14:43:56 -0700 (PDT) From: Sergei Shtylyov Organization: Cogent Embedded To: horms@verge.net.au, linux-sh@vger.kernel.org Subject: [PATCH 2/2] ARM: shmobile: Marzen: enable DMA for SDHI0 Date: Fri, 9 Aug 2013 01:44:03 +0400 User-Agent: KMail/1.13.5 (Linux/2.6.32.26-175.fc12.i686.PAE; KDE/4.4.5; i686; ; ) Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org, max.filippov@cogentembedded.com References: <201308090140.14515.sergei.shtylyov@cogentembedded.com> In-Reply-To: <201308090140.14515.sergei.shtylyov@cogentembedded.com> MIME-Version: 1.0 Message-Id: <201308090144.03912.sergei.shtylyov@cogentembedded.com> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 --- arch/arm/mach-shmobile/board-marzen.c | 2 ++ 1 file changed, 2 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: renesas/arch/arm/mach-shmobile/board-marzen.c =================================================================== --- renesas.orig/arch/arm/mach-shmobile/board-marzen.c +++ renesas/arch/arm/mach-shmobile/board-marzen.c @@ -122,6 +122,8 @@ static struct resource sdhi0_resources[] }; static struct sh_mobile_sdhi_info sdhi0_platform_data = { + .dma_slave_tx = HPBDMA_SLAVE_SDHI0_TX, + .dma_slave_rx = HPBDMA_SLAVE_SDHI0_RX, .tmio_flags = TMIO_MMC_WRPROTECT_DISABLE | TMIO_MMC_HAS_IDLE_WAIT, .tmio_caps = MMC_CAP_SD_HIGHSPEED, };