From patchwork Mon Jul 22 13:16:16 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 2831484 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 EA3359F243 for ; Mon, 22 Jul 2013 16:17:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CF2BF202B8 for ; Mon, 22 Jul 2013 16:17:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AA600202B9 for ; Mon, 22 Jul 2013 16:17:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932962Ab3GVQRR (ORCPT ); Mon, 22 Jul 2013 12:17:17 -0400 Received: from moutng.kundenserver.de ([212.227.126.171]:60505 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933003Ab3GVQRL (ORCPT ); Mon, 22 Jul 2013 12:17:11 -0400 Received: from axis700.grange (dslb-178-009-251-173.pools.arcor-ip.net [178.9.251.173]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0Lpzr1-1UVnjW1STf-00fPIo; Mon, 22 Jul 2013 18:17:09 +0200 Received: from 6a.grange (unknown [192.168.1.11]) by axis700.grange (Postfix) with ESMTPS id E532040BC9; Mon, 22 Jul 2013 15:16:21 +0200 (CEST) Received: from lyakh by 6a.grange with local (Exim 4.72) (envelope-from ) id 1V1FyP-0001NN-ML; Mon, 22 Jul 2013 15:16:21 +0200 From: Guennadi Liakhovetski To: linux-sh@vger.kernel.org Cc: Magnus Damm , Simon Horman , Guennadi Liakhovetski Subject: [PATCH 1/6] ARM: shmobile: ape6evm: add DMA support to MMCIF Date: Mon, 22 Jul 2013 15:16:16 +0200 Message-Id: <1374498981-5263-2-git-send-email-g.liakhovetski@gmx.de> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1374498981-5263-1-git-send-email-g.liakhovetski@gmx.de> References: <1374498981-5263-1-git-send-email-g.liakhovetski@gmx.de> X-Provags-ID: V02:K0:vzAzLSa6GVmsVkqURGcsZDP6DETeduQa/S8+73jV3xj atdV2WuvzUzqcap3mZd9hsQIDeSftUXwtrdIkN+dzT4zfKnMNp 3C7UVQRstmos1PSVRB1uZZEz+eFqwQAJ5cvTIzVZu5/fGiVLSz oTf6UgU5U4lVfZkyxN4P5sIhh+PBZKCiXdTwyyQ527umpWiMUi zJOyqejw9kXxgKQgMkoOL4wr8gjp8SFxLLfln7mlwMdHR7qolG Os3j65beNoCVDv2O5hnef757MmGnjnvDk9dU7rJ8gp4aIK9d1y CEvp4LrA3sriG7z0U/tYbZkPm3ki+eHyCmSufNTUPUQSbk91H7 KQQFA3BjJyBXmMSJ2Y4Q7v7p52Sxf/hzv97O2zTW6Hs52YWX2A VxHctFFd44HgA== Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, 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 Add DMA support for MMCIF on APE6EVM, using the shdma dmaengine driver. Signed-off-by: Guennadi Liakhovetski --- arch/arm/mach-shmobile/board-ape6evm.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-shmobile/board-ape6evm.c b/arch/arm/mach-shmobile/board-ape6evm.c index 97c0dad..96a6994 100644 --- a/arch/arm/mach-shmobile/board-ape6evm.c +++ b/arch/arm/mach-shmobile/board-ape6evm.c @@ -75,6 +75,8 @@ static struct regulator_consumer_supply fixed3v3_power_consumers[] = /* MMCIF */ static struct sh_mmcif_plat_data mmcif0_pdata = { .caps = MMC_CAP_8_BIT_DATA | MMC_CAP_NONREMOVABLE, + .slave_id_tx = SHDMA_SLAVE_MMCIF0_TX, + .slave_id_rx = SHDMA_SLAVE_MMCIF0_RX, .ccs_unsupported = true, };