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: 5150031 Return-Path: X-Original-To: patchwork-linux-rockchip@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E5910C11AC for ; Fri, 24 Oct 2014 21:42:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 18B7520265 for ; Fri, 24 Oct 2014 21:42:58 +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 413E0201FE for ; Fri, 24 Oct 2014 21:42:57 +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 1XhmdM-0001F9-Vp; Fri, 24 Oct 2014 21:42:56 +0000 Received: from mail-pa0-x22c.google.com ([2607:f8b0:400e:c03::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XhmdK-00018o-Rr for linux-rockchip@lists.infradead.org; Fri, 24 Oct 2014 21:42:55 +0000 Received: by mail-pa0-f44.google.com with SMTP id et14so1856166pad.31 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=a+DJhhkvP+ukTvQoT7p5R1nYap/Mi825dxGBLJou80VmndaFjmQQn3P6azb5Te42sg rJHwLprbzpheWZDFKSpxTtpjjbIfiBy5q88NPUKVhwL9WSKbokqnLTShL0niP/OFemgD bBzJ2Hgp53HIFBrKHwXoBo3H2zivq4a3yYak1xrUs+U3mIUSr8I2b5icpn1KL20FNVMi 0I1/11s+ARmsEXnk8MqMcQOOQucN8RIisPVEwTr5PfJm/DEHK5MgLBTPogMMCke+II6h ZXKiHuWlT2NTq2VIcR2EQnSaBQ4wr53gHcRlMwZHvNQnojYDlBf2XtEOsXIUo286hHDG YViQ== X-Gm-Message-State: ALoCoQmTyFnwmNheTVjKFfIQbfoqM/o/7EAqgCvz6PErxo/Is13/hCrXVehu1+9RcNWFE9sT/3kn 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_144254_925763_7A2BFDE8 X-CRM114-Status: UNSURE ( 6.92 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.1 (/) 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-rockchip@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=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>;