From: wens@csie.org (Chen-Yu Tsai)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 7/8] ARM: sun5i: enable DMA on SPI
Date: Mon, 7 Jul 2014 15:33:35 +0800 [thread overview]
Message-ID: <CAGb2v66oNJSw9_tMWJ1PYo9Nm2ReN-=ocuahAXyn6KABrwqw3g@mail.gmail.com> (raw)
In-Reply-To: <1404619518-7592-8-git-send-email-emilio@elopez.com.ar>
On Sun, Jul 6, 2014 at 12:05 PM, Emilio L?pez <emilio@elopez.com.ar> wrote:
> All of our SPI controllers support DMA transfers, so let's add the
> properties here so they can be used when it's best to do so.
>
> Signed-off-by: Emilio L?pez <emilio@elopez.com.ar>
Numbers are good.
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
> ---
> arch/arm/boot/dts/sun5i-a10s.dtsi | 6 ++++++
> arch/arm/boot/dts/sun5i-a13.dtsi | 6 ++++++
> 2 files changed, 12 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun5i-a10s.dtsi b/arch/arm/boot/dts/sun5i-a10s.dtsi
> index 3708817..12f26f3 100644
> --- a/arch/arm/boot/dts/sun5i-a10s.dtsi
> +++ b/arch/arm/boot/dts/sun5i-a10s.dtsi
> @@ -314,6 +314,8 @@
> interrupts = <10>;
> clocks = <&ahb_gates 20>, <&spi0_clk>;
> clock-names = "ahb", "mod";
> + dmas = <&dma 1 27>, <&dma 1 26>;
> + dma-names = "rx", "tx";
> status = "disabled";
> #address-cells = <1>;
> #size-cells = <0>;
> @@ -325,6 +327,8 @@
> interrupts = <11>;
> clocks = <&ahb_gates 21>, <&spi1_clk>;
> clock-names = "ahb", "mod";
> + dmas = <&dma 1 9>, <&dma 1 8>;
> + dma-names = "rx", "tx";
> status = "disabled";
> #address-cells = <1>;
> #size-cells = <0>;
> @@ -411,6 +415,8 @@
> interrupts = <12>;
> clocks = <&ahb_gates 22>, <&spi2_clk>;
> clock-names = "ahb", "mod";
> + dmas = <&dma 1 29>, <&dma 1 28>;
> + dma-names = "rx", "tx";
> status = "disabled";
> #address-cells = <1>;
> #size-cells = <0>;
> diff --git a/arch/arm/boot/dts/sun5i-a13.dtsi b/arch/arm/boot/dts/sun5i-a13.dtsi
> index 1f1adf2..4bbf455 100644
> --- a/arch/arm/boot/dts/sun5i-a13.dtsi
> +++ b/arch/arm/boot/dts/sun5i-a13.dtsi
> @@ -312,6 +312,8 @@
> interrupts = <10>;
> clocks = <&ahb_gates 20>, <&spi0_clk>;
> clock-names = "ahb", "mod";
> + dmas = <&dma 1 27>, <&dma 1 26>;
> + dma-names = "rx", "tx";
> status = "disabled";
> #address-cells = <1>;
> #size-cells = <0>;
> @@ -323,6 +325,8 @@
> interrupts = <11>;
> clocks = <&ahb_gates 21>, <&spi1_clk>;
> clock-names = "ahb", "mod";
> + dmas = <&dma 1 9>, <&dma 1 8>;
> + dma-names = "rx", "tx";
> status = "disabled";
> #address-cells = <1>;
> #size-cells = <0>;
> @@ -384,6 +388,8 @@
> interrupts = <12>;
> clocks = <&ahb_gates 22>, <&spi2_clk>;
> clock-names = "ahb", "mod";
> + dmas = <&dma 1 29>, <&dma 1 28>;
> + dma-names = "rx", "tx";
> status = "disabled";
> #address-cells = <1>;
> #size-cells = <0>;
> --
> 2.0.1
next prev parent reply other threads:[~2014-07-07 7:33 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-06 4:05 [PATCH v2 0/8] DMAEngine support for sun4i, sun5i & sun7i Emilio López
2014-07-06 4:05 ` [PATCH v2 1/8] dma: sun4i: Add support for the DMA engine on sun[457]i SoCs Emilio López
2014-07-07 7:41 ` Chen-Yu Tsai
2014-07-08 19:09 ` jonsmirl at gmail.com
2014-07-17 20:56 ` Maxime Ripard
2014-07-17 21:45 ` Emilio López
2014-07-24 8:53 ` Maxime Ripard
2014-07-06 4:05 ` [PATCH v2 2/8] spi: sun4i: add DMA support Emilio López
2014-07-06 22:49 ` Emilio López
2014-07-10 12:22 ` Maxime Ripard
2014-07-10 16:20 ` Emilio López
2014-07-06 4:05 ` [PATCH v2 3/8] ARM: sun4i: Add node to represent the DMA controller Emilio López
2014-07-07 7:35 ` Chen-Yu Tsai
2014-07-06 4:05 ` [PATCH v2 4/8] ARM: sun5i: Add nodes to represent the DMA controllers Emilio López
2014-07-07 7:35 ` Chen-Yu Tsai
2014-07-06 4:05 ` [PATCH v2 5/8] ARM: sun7i: Add node to represent the DMA controller Emilio López
2014-07-07 7:34 ` Chen-Yu Tsai
2014-07-06 4:05 ` [PATCH v2 6/8] ARM: sun4i: enable DMA on SPI Emilio López
2014-07-07 7:33 ` Chen-Yu Tsai
2014-07-06 4:05 ` [PATCH v2 7/8] ARM: sun5i: " Emilio López
2014-07-07 7:33 ` Chen-Yu Tsai [this message]
2014-07-06 4:05 ` [PATCH v2 8/8] ARM: sun7i: " Emilio López
2014-07-07 7:32 ` Chen-Yu Tsai
2014-07-06 4:05 ` [PATCH v2 9/8] ARM: sun4i: cubieboard: add an SPIdev device for testing Emilio López
2014-07-06 4:05 ` [PATCH v2 10/8] ARM: sun7i: cubietruck: " Emilio López
2014-07-06 15:21 ` Sergei Shtylyov
2014-07-06 17:30 ` Emilio López
2014-07-07 9:39 ` Maxime Ripard
2014-07-06 4:05 ` [PATCH v2 11/8] ARM: sun5i: a10s-olinuxino-micro: " Emilio López
2014-07-08 14:13 ` [PATCH v2 0/8] DMAEngine support for sun4i, sun5i & sun7i jonsmirl at gmail.com
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='CAGb2v66oNJSw9_tMWJ1PYo9Nm2ReN-=ocuahAXyn6KABrwqw3g@mail.gmail.com' \
--to=wens@csie.org \
--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).