linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: b44548@freescale.com (Chao Fu)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/3] arm:dts:vf-610:add vybrid DSPI DMA transfer support
Date: Tue, 25 Feb 2014 14:54:17 +0800	[thread overview]
Message-ID: <1393311258-14380-2-git-send-email-b44548@freescale.com> (raw)
In-Reply-To: <1393311258-14380-1-git-send-email-b44548@freescale.com>

From: Chao Fu <B44548@freescale.com>

DSPI can transfer data in DMA mode or PIO mode.
The ajudgement of using DMA method(use-dma) will be read from dtb.
And add DMA channels info of DSPI.

Signed-off-by: Chao Fu      <b44548@freescale.com>
---
 arch/arm/boot/dts/vf610.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/vf610.dtsi b/arch/arm/boot/dts/vf610.dtsi
index e1e1e51..2fe53c1 100644
--- a/arch/arm/boot/dts/vf610.dtsi
+++ b/arch/arm/boot/dts/vf610.dtsi
@@ -148,6 +148,10 @@
 				clocks = <&clks VF610_CLK_DSPI0>;
 				clock-names = "dspi";
 				spi-num-chipselects = <5>;
+				use-dma;
+				dmas = <&edma0 0 12>,
+					<&edma0 0 13>;
+				dma-names = "rx", "tx";
 				status = "disabled";
 			};
 
-- 
1.8.4

  reply	other threads:[~2014-02-25  6:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-25  6:54 [PATCH 1/3] Documentation:spi:fsl-dspi:add DSPI dma transfer support Chao Fu
2014-02-25  6:54 ` Chao Fu [this message]
2014-02-25  6:54 ` [PATCH 3/3] spi:fsl-dspi:add dspi " Chao Fu
2014-02-25  9:15   ` Mark Rutland
2014-02-25  9:08 ` [PATCH 1/3] Documentation:spi:fsl-dspi:add DSPI " Mark Rutland
2014-02-26 14:19   ` Shawn Guo
2014-02-26 15:38     ` Mark Brown
2014-02-27  7:42       ` Shawn Guo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1393311258-14380-2-git-send-email-b44548@freescale.com \
    --to=b44548@freescale.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).