From patchwork Tue Jun 3 22:33:14 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 4291541 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 223189F1D6 for ; Tue, 3 Jun 2014 22:31:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2B0F5201E4 for ; Tue, 3 Jun 2014 22:31:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 52689201DE for ; Tue, 3 Jun 2014 22:31:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753251AbaFCWbM (ORCPT ); Tue, 3 Jun 2014 18:31:12 -0400 Received: from mail-pd0-f171.google.com ([209.85.192.171]:42722 "EHLO mail-pd0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750941AbaFCWbM (ORCPT ); Tue, 3 Jun 2014 18:31:12 -0400 Received: by mail-pd0-f171.google.com with SMTP id y13so5207612pdi.2 for ; Tue, 03 Jun 2014 15:31:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=tFZHePfWYaw6/skWeYyT9xyzbCRtriAWZJht+VTZb8E=; b=pEY4JkqJKdXP6qSEVGgu2Tgo6VXsvqMPfOTp9MZbYYMEU8ACKa4dWQtHmo9MUfGWBK 4K0A6mZwWHnqES5Tnn0nkGnwRFfEdXbf46Gkn3R/AJiXaiWKHKy9BkiN+BJWXtU31hhv XfdEnIb28Sre9pRX3Am+NrVnfIbfrPUk3yqZ4Coi31q2YB0Wjc5HyOwlCnT3wvcczc9T Q9SZ5bZqUgtM0ZRAzv0WQeTNi78Ft22ck2sdUYgbaq4JIP3bRooJaxBAei2UtkjclDKh LuNwmot90aKxDrkqtJoIi+sQZdX20hlY3ssk5DorbuX+F8BCpc2FYLpeIcoboTLwvZ5C +B0A== X-Received: by 10.68.201.68 with SMTP id jy4mr55657970pbc.64.1401834671482; Tue, 03 Jun 2014 15:31:11 -0700 (PDT) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by mx.google.com with ESMTPSA id ja8sm1790050pbd.3.2014.06.03.15.31.09 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Jun 2014 15:31:10 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm Date: Wed, 04 Jun 2014 07:33:14 +0900 Message-Id: <20140603223314.2193.24640.sendpatchset@w520> In-Reply-To: <20140603223255.2193.42153.sendpatchset@w520> References: <20140603223255.2193.42153.sendpatchset@w520> Subject: [PATCH 02/03] ARM: shmobile: r8a7790: SYS-DMAC and MMCIF prototype Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, 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: Magnus Damm Add r8a7790 MMCIF entries to the SYS-DMAC prototype code to allow board specific use of DMA with MMCIF. Not for upstream merge. Signed-off-by: Magnus Damm --- Written on top of renesas-devel-v3.15-rc7-20140530 and [PATCH 01/03] ARM: shmobile: r8a7790: SYS-DMAC prototype arch/arm/mach-shmobile/include/mach/r8a7790.h | 4 ++++ arch/arm/mach-shmobile/setup-r8a7790.c | 2 ++ 2 files changed, 6 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 --- 0001/arch/arm/mach-shmobile/include/mach/r8a7790.h +++ work/arch/arm/mach-shmobile/include/mach/r8a7790.h 2014-06-03 21:54:19.000000000 +0900 @@ -26,6 +26,10 @@ enum { AUDIO_DMAC_SLAVE_SSI8_RX, AUDIO_DMAC_SLAVE_SSI9_TX, AUDIO_DMAC_SLAVE_SSI9_RX, + SYS_DMAC_SLAVE_MMCIF0_TX, + SYS_DMAC_SLAVE_MMCIF0_RX, + SYS_DMAC_SLAVE_MMCIF1_TX, + SYS_DMAC_SLAVE_MMCIF1_RX, }; void r8a7790_add_standard_devices(void); --- 0002/arch/arm/mach-shmobile/setup-r8a7790.c +++ work/arch/arm/mach-shmobile/setup-r8a7790.c 2014-06-03 21:53:31.000000000 +0900 @@ -55,6 +55,8 @@ } static const struct sh_dmae_slave_config r8a7790_sys_dmac_slaves[] = { + SYS_DMAC_SLAVE(MMCIF0, 32, 0xee200000, 0x34, 0x34, 0xd1, 0xd2), + SYS_DMAC_SLAVE(MMCIF1, 32, 0xee220000, 0x34, 0x34, 0xe1, 0xe2), }; static const struct sh_dmae_channel r8a7790_sys_dmac_channels[] = {