From patchwork Fri Oct 24 21:42:06 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 5150061 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 6AFE09F349 for ; Fri, 24 Oct 2014 21:45:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8BF7A2026C for ; Fri, 24 Oct 2014 21:45:12 +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 AD0DD20265 for ; Fri, 24 Oct 2014 21:45:11 +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 1XhmdP-0001Fa-3c; Fri, 24 Oct 2014 21:42:59 +0000 Received: from mail-pa0-x235.google.com ([2607:f8b0:400e:c03::235]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XhmdK-00018p-VQ for linux-arm-kernel@lists.infradead.org; Fri, 24 Oct 2014 21:42:56 +0000 Received: by mail-pa0-f53.google.com with SMTP id kx10so1854088pab.40 for ; Fri, 24 Oct 2014 14:42:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id; bh=95o6GQbVH0v3034b9H090KaVruNv5dBXgBfwDW1Yo+k=; b=aApDtjxbDpIC+/XbJBKReD5DzkG1+UQJWnSznE3rNI8jUWsA3PUceLV52Fyt72Pfga nKPSwyxPmypk4RL4Ywwyh4SVBKRcL4R8dbLIYmI3TrUO886LAUGC9+NLorpfqn0dxBma U74x0zphy6Q5q60u4yxdXnHgpgObooBPGQbLo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=95o6GQbVH0v3034b9H090KaVruNv5dBXgBfwDW1Yo+k=; b=Y7wDrGhj6/28aSuH7aeqq9FKFpstU95thQ0elMHpqKUChmaGnD/gmnQBKfQxcF6+o3 EQ1ST/E6qpKEBaLQ7qceCnZdifyaXzt7Uft2dAzgtnde1D+7s2s9ZhcmjbLapCGsq59j EaIgf9ZBrUKZEyoxcsLdTUTFdmQbzdvrrrlzq1FkAIBEWLzcnEJIgDKec9TWmhHLGP7O uw1bYnTxlKADyfWb2G/IDCVvqBcnGU6KEbsTLTf8boFk1nYiK+UTe75HaHRHBv09m4h5 bZbhNyoRgVoRPufsYjCgbATURn7NsdYt9k73MePPrplNKfwe/XeR49zYF+AdvK9/f5A9 DV2Q== X-Gm-Message-State: ALoCoQmmzC2EYBx0/NCtnA5vXFL2q5aMJEieS+FcPzvnWxu3dazkHiwiaTB0P011fKCJPjjlsbuk X-Received: by 10.66.66.99 with SMTP id e3mr7288292pat.89.1414186952920; Fri, 24 Oct 2014 14:42:32 -0700 (PDT) Received: from tictac.mtv.corp.google.com ([172.22.65.76]) by mx.google.com with ESMTPSA id tv4sm4701227pab.28.2014.10.24.14.42.31 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 24 Oct 2014 14:42:32 -0700 (PDT) From: Doug Anderson To: Heiko Stuebner Subject: [PATCH] ARM: dts: Add SPI DMA into rk3288.dtsi Date: Fri, 24 Oct 2014 14:42:06 -0700 Message-Id: <1414186926-25986-1-git-send-email-dianders@chromium.org> X-Mailer: git-send-email 2.1.0.rc2.206.gedb03e5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141024_144255_060850_10FBB2D8 X-CRM114-Status: UNSURE ( 8.56 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, Addy Ke , linux@arm.linux.org.uk, Alexandru M Stan , pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, Doug Anderson , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, robh+dt@kernel.org, galak@codeaurora.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_NONE,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 Now that SPI DMA has been fixed on rk3288 we can enable it. Signed-off-by: Doug Anderson Signed-off-by: Alexandru M Stan --- arch/arm/boot/dts/rk3288.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 874e66d..e0b99f7 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -177,6 +177,8 @@ compatible = "rockchip,rk3288-spi", "rockchip,rk3066-spi"; clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>; clock-names = "spiclk", "apb_pclk"; + dmas = <&dmac_peri 11>, <&dmac_peri 12>; + dma-names = "tx", "rx"; interrupts = ; pinctrl-names = "default"; pinctrl-0 = <&spi0_clk &spi0_tx &spi0_rx &spi0_cs0>; @@ -190,6 +192,8 @@ compatible = "rockchip,rk3288-spi", "rockchip,rk3066-spi"; clocks = <&cru SCLK_SPI1>, <&cru PCLK_SPI1>; clock-names = "spiclk", "apb_pclk"; + dmas = <&dmac_peri 13>, <&dmac_peri 14>; + dma-names = "tx", "rx"; interrupts = ; pinctrl-names = "default"; pinctrl-0 = <&spi1_clk &spi1_tx &spi1_rx &spi1_cs0>; @@ -203,6 +207,8 @@ compatible = "rockchip,rk3288-spi", "rockchip,rk3066-spi"; clocks = <&cru SCLK_SPI2>, <&cru PCLK_SPI2>; clock-names = "spiclk", "apb_pclk"; + dmas = <&dmac_peri 15>, <&dmac_peri 16>; + dma-names = "tx", "rx"; interrupts = ; pinctrl-names = "default"; pinctrl-0 = <&spi2_clk &spi2_tx &spi2_rx &spi2_cs0>;