From patchwork Fri May 31 15:02:00 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Genoud X-Patchwork-Id: 2644471 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork1.kernel.org (Postfix) with ESMTP id B279E3FD4E for ; Fri, 31 May 2013 15:04:33 +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 1UiQri-0001Wf-Jr; Fri, 31 May 2013 15:03:41 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UiQqx-000453-SE; Fri, 31 May 2013 15:02:51 +0000 Received: from mail-wi0-x22f.google.com ([2a00:1450:400c:c05::22f]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UiQqk-00042R-O2 for linux-arm-kernel@lists.infradead.org; Fri, 31 May 2013 15:02:39 +0000 Received: by mail-wi0-f175.google.com with SMTP id hn14so784406wib.8 for ; Fri, 31 May 2013 08:02:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=2G0VrIe7y5G9jj7a+nl+529LqPdYYUDo6WIV7O2DIns=; b=fej2oGvQPhgZCUIj3n2VjJ/wK8j5Xp5tE3MJgazTcH916eNC/DoDFaX0s00/ex5akG MmMdmQsrLrRY5w4E70ySUmi6N6il88L1uHXeAYdQ++c2nDlc5yLXZTH94viksC1p6kZJ UPsXAFsBESQ1Oy9oY/NjQvjSuBbIu31fQfJhENzUrbpnA0xUlhB2M57GjxnRfhvgevvN vaQbOhLCnGwlkxbyHxDSIYR+J4JzdvJ/mzW7KOxXSVa0Avpq1cdeuJOl0OtDWUdYR1mY Sb0rKcaeGh0yXLOgO0ioGuunwo/6Qy/eJEJsRChed/9Wr+65xdxC+zB+NRXyppyByH29 orsQ== X-Received: by 10.194.235.99 with SMTP id ul3mr9935904wjc.6.1370012536262; Fri, 31 May 2013 08:02:16 -0700 (PDT) Received: from lnx-rg.pr (lyon.paratronic.fr. [213.41.177.106]) by mx.google.com with ESMTPSA id ay7sm4497188wib.9.2013.05.31.08.02.14 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 31 May 2013 08:02:15 -0700 (PDT) From: Richard Genoud To: Nicolas Ferre Subject: [PATCH 2/2] ARM: at91: dt: at91sam9x5: add SPI DMA client infos Date: Fri, 31 May 2013 17:02:00 +0200 Message-Id: <1370012520-30539-2-git-send-email-richard.genoud@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1370012520-30539-1-git-send-email-richard.genoud@gmail.com> References: <1370012520-30539-1-git-send-email-richard.genoud@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130531_110238_972204_9425BC1B X-CRM114-Status: UNSURE ( 7.59 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (richard.genoud[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Ludovic Desroches , Richard Genoud , linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, Mark Brown , Grant Likely , Jean-Christophe PLAGNIOL-VILLARD , 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Signed-off-by: Richard Genoud --- arch/arm/boot/dts/at91sam9x5.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) rebased on linux-next next-20130531 plus Ludovic Desroches' patch "ARM: at91: dt: add header to define at_hdmac configuration" to get the AT91_DMA_CFG_PER_ID() macro diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi index af91599..a5942d0 100644 --- a/arch/arm/boot/dts/at91sam9x5.dtsi +++ b/arch/arm/boot/dts/at91sam9x5.dtsi @@ -629,6 +629,9 @@ compatible = "atmel,at91rm9200-spi"; reg = <0xf0000000 0x100>; interrupts = <13 IRQ_TYPE_LEVEL_HIGH 3>; + dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(1)>, + <&dma0 1 AT91_DMA_CFG_PER_ID(2)>; + dma-names = "tx", "rx"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_spi0>; status = "disabled"; @@ -640,6 +643,9 @@ compatible = "atmel,at91rm9200-spi"; reg = <0xf0004000 0x100>; interrupts = <14 IRQ_TYPE_LEVEL_HIGH 3>; + dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(1)>, + <&dma1 1 AT91_DMA_CFG_PER_ID(2)>; + dma-names = "tx", "rx"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_spi1>; status = "disabled";