From patchwork Mon Jun 2 13:40:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 4282291 Return-Path: X-Original-To: patchwork-linux-arm@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 285ED9F326 for ; Mon, 2 Jun 2014 13:43:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 59E9D202A1 for ; Mon, 2 Jun 2014 13:43:28 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 61C632018E for ; Mon, 2 Jun 2014 13:43:27 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WrSUG-0007HC-3B; Mon, 02 Jun 2014 13:41:16 +0000 Received: from baptiste.telenet-ops.be ([195.130.132.51]) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WrSU3-00079t-Mv for linux-arm-kernel@lists.infradead.org; Mon, 02 Jun 2014 13:41:04 +0000 Received: from ayla.of.borg ([84.193.72.141]) by baptiste.telenet-ops.be with bizsmtp id 9Rgc1o01632ts5g01Rgces; Mon, 02 Jun 2014 15:40:37 +0200 Received: from geert by ayla.of.borg with local (Exim 4.76) (envelope-from ) id 1WrSTc-0007kO-OS; Mon, 02 Jun 2014 15:40:36 +0200 From: Geert Uytterhoeven To: Simon Horman , Magnus Damm Subject: [PATCH 3/4] ARM: shmobile: r8a7791: Add QSPI DMA support Date: Mon, 2 Jun 2014 15:40:23 +0200 Message-Id: <1401716424-29740-4-git-send-email-geert+renesas@glider.be> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1401716424-29740-1-git-send-email-geert+renesas@glider.be> References: <1401716424-29740-1-git-send-email-geert+renesas@glider.be> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140602_064103_948858_1FE50ACE X-CRM114-Status: UNSURE ( 8.20 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) Cc: Geert Uytterhoeven , linux-arm-kernel@lists.infradead.org, Kuninori Morimoto , linux-sh@vger.kernel.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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,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 Signed-off-by: Geert Uytterhoeven --- arch/arm/mach-shmobile/include/mach/r8a7791.h | 2 ++ arch/arm/mach-shmobile/setup-r8a7791.c | 1 + 2 files changed, 3 insertions(+) diff --git a/arch/arm/mach-shmobile/include/mach/r8a7791.h b/arch/arm/mach-shmobile/include/mach/r8a7791.h index 533999916e73..c4582df76139 100644 --- a/arch/arm/mach-shmobile/include/mach/r8a7791.h +++ b/arch/arm/mach-shmobile/include/mach/r8a7791.h @@ -4,6 +4,8 @@ /* DMA slave IDs */ enum { RCAR_DMA_SLAVE_INVALID, + SYS_DMAC_SLAVE_QSPI_TX, + SYS_DMAC_SLAVE_QSPI_RX, }; void r8a7791_add_standard_devices(void); diff --git a/arch/arm/mach-shmobile/setup-r8a7791.c b/arch/arm/mach-shmobile/setup-r8a7791.c index 77e1bc2b2870..8dbdb17ffe51 100644 --- a/arch/arm/mach-shmobile/setup-r8a7791.c +++ b/arch/arm/mach-shmobile/setup-r8a7791.c @@ -57,6 +57,7 @@ } static const struct sh_dmae_slave_config r8a7791_sys_dmac_slaves[] = { + SYS_DMAC_SLAVE(QSPI, 8, 0xe6b10000, 0x04, 0x04, 0x17, 0x18), }; static const struct sh_dmae_channel r8a7791_sys_dmac_channels[] = {