From patchwork Mon Oct 3 12:50:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sanchayan X-Patchwork-Id: 9360581 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0524B607D6 for ; Mon, 3 Oct 2016 13:00:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E81252892E for ; Mon, 3 Oct 2016 13:00:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D8770289DD; Mon, 3 Oct 2016 13:00:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DFE5A2892E for ; Mon, 3 Oct 2016 13:00:37 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1br2q4-0007i8-7F; Mon, 03 Oct 2016 12:59:24 +0000 Received: from mail-pa0-x241.google.com ([2607:f8b0:400e:c03::241]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1br2pz-0007aL-7W for linux-arm-kernel@lists.infradead.org; Mon, 03 Oct 2016 12:59:19 +0000 Received: by mail-pa0-x241.google.com with SMTP id t6so4926960pae.2 for ; Mon, 03 Oct 2016 05:58:57 -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; bh=hnbPyISaNoIJzkDnFw30wZZt4hUu45jrvUgChmP3OSA=; b=rj600Px8LchDJNU/mXhOSeicg4Vn3uqyAa8oid/XwaZ8pn4Qqrr2l1LLIUiv03+52B DBFZ2mwOf4KD6sLVprrJneEhOrJ7Yh/aoLQf+t8s8K8l4ngNTu+cPibAdILGcTOWsgok WU9zV/L45wqNLVmWhciGXCaN4duLdIDzwBY9cRPTuFTOFjjpT3mUf7vQLlmz06l9m9ZP JDTuZDcykaPZIA+6htlakmvUArCJb9mPUw5PQPrXhZnc7zamaVHloQdt5N8ceo7pjP27 M4wUQOKDvNm2ViGtkdNYm67InResUp7Bvumu/2UGM/XMGuRACAsH+3jOdsE+sxQKpShd bNeA== 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=hnbPyISaNoIJzkDnFw30wZZt4hUu45jrvUgChmP3OSA=; b=kxXOXrZKuD23wlVobihGbeSzjIE81rM5Ya7MTJ7vUcf7PeAcbAXepSTJcLhE67rC7G gVvIL+x6+7XQ9fn464Kc1GfXDeXo5aOCA53pU26m8kn69h/hEppvL78Cwpd4gvArVisK VXHAMtQ7IE3U8rlucFZhksqF1qHCfX9EuhfzaJO2MuAZwOcyNhrhCiRArwoVrUXOLjZ6 nTwNqwXbSf42DQfmKGtlRR9z3/vDk/4qm0P4E3O5+h9d/SfEVzewYxtzZFDg7jaCOq7r xT7jamdiMdxiL2EJIzVUcndALPoPwvvAIwyOG6l6sHy+LynCLpDZtHoBBq1fGj+JAdjE QmJA== X-Gm-Message-State: AA6/9RnTj4/KCXj3j4KYTe9JNLjibTRu4ty8JiqTLhThDbyenGso+ACNBMx4IGZosvAXkw== X-Received: by 10.66.234.167 with SMTP id uf7mr37280490pac.94.1475499537241; Mon, 03 Oct 2016 05:58:57 -0700 (PDT) Received: from localhost ([115.115.243.34]) by smtp.gmail.com with ESMTPSA id t67sm47364530pfd.32.2016.10.03.05.58.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 Oct 2016 05:58:56 -0700 (PDT) From: Sanchayan Maity To: broonie@kernel.org, shawnguo@kernel.org Subject: [PATCH v1 1/2] ARM: dts: vfxxx: Enable DMA for DSPI on Vybrid Date: Mon, 3 Oct 2016 18:20:37 +0530 Message-Id: <63fc108e2df00d2297a9b7014955f203bc802f34.1475498805.git.maitysanchayan@gmail.com> X-Mailer: git-send-email 2.10.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161003_055919_374329_3BA8EEE6 X-CRM114-Status: UNSURE ( 8.83 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, bhuvanchandra.dv@toradex.com, linux-kernel@vger.kernel.org, stefan@agner.ch, linux-spi@vger.kernel.org, Sanchayan Maity , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Enable DMA for DSPI on Vybrid. Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/vf-colibri.dtsi | 4 ++++ arch/arm/boot/dts/vfxxx.dtsi | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/vf-colibri.dtsi b/arch/arm/boot/dts/vf-colibri.dtsi index b741709..21bfef9 100644 --- a/arch/arm/boot/dts/vf-colibri.dtsi +++ b/arch/arm/boot/dts/vf-colibri.dtsi @@ -108,6 +108,10 @@ status = "okay"; }; +&edma1 { + status = "okay"; +}; + &esdhc1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_esdhc1>; diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi index 2c13ec6..eac4213 100644 --- a/arch/arm/boot/dts/vfxxx.dtsi +++ b/arch/arm/boot/dts/vfxxx.dtsi @@ -194,6 +194,9 @@ clocks = <&clks VF610_CLK_DSPI0>; clock-names = "dspi"; spi-num-chipselects = <6>; + dmas = <&edma1 1 12>, + <&edma1 1 13>; + dma-names = "rx", "tx"; status = "disabled"; }; @@ -206,6 +209,9 @@ clocks = <&clks VF610_CLK_DSPI1>; clock-names = "dspi"; spi-num-chipselects = <4>; + dmas = <&edma1 1 14>, + <&edma1 1 15>; + dma-names = "rx", "tx"; status = "disabled"; };