From: Nicolas Ferre <nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
To: ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
linux-mmc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
plagnioj-sclMFOaUSTBWk0Htik3J/w@public.gmane.org
Subject: Re: [PATCH v3 4/6] ARM: at91: dts: add i2c dma support
Date: Fri, 19 Apr 2013 11:43:38 +0200 [thread overview]
Message-ID: <517111CA.4030403@atmel.com> (raw)
In-Reply-To: <1366362683-14496-5-git-send-email-ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
On 04/19/2013 11:11 AM, ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org :
> From: Ludovic Desroches <ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
>
> Add DMA resources to i2c nodes.
>
> Signed-off-by: Ludovic Desroches <ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
I have made little corrections, but do not bother, it is already in my tree:
[nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org: correct 9n12 dma phandle name]
Acked-by: Nicolas Ferre <nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
And stacked in at91-3.10-soc.
thanks,
> ---
> arch/arm/boot/dts/at91sam9n12.dtsi | 6 ++++++
> arch/arm/boot/dts/at91sam9x5.dtsi | 9 +++++++++
> arch/arm/boot/dts/sama5d3.dtsi | 9 +++++++++
> 3 files changed, 24 insertions(+)
>
> diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi b/arch/arm/boot/dts/at91sam9n12.dtsi
> index acc4526..f912124 100644
> --- a/arch/arm/boot/dts/at91sam9n12.dtsi
> +++ b/arch/arm/boot/dts/at91sam9n12.dtsi
> @@ -361,6 +361,9 @@
> compatible = "atmel,at91sam9x5-i2c";
> reg = <0xf8010000 0x100>;
> interrupts = <9 4 6>;
> + dmas = <&dma0 1 13>,
> + <&dma0 1 14>;
single dma controller in 9n12:
s/dma0/dma/
> + dma-names = "tx", "rx";
> #address-cells = <1>;
> #size-cells = <0>;
> status = "disabled";
> @@ -370,6 +373,9 @@
> compatible = "atmel,at91sam9x5-i2c";
> reg = <0xf8014000 0x100>;
> interrupts = <10 4 6>;
> + dmas = <&dma0 1 15>,
> + <&dma0 1 16>;
Ditto
> + dma-names = "tx", "rx";
> #address-cells = <1>;
> #size-cells = <0>;
> status = "disabled";
> diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi
> index 8e83d87..16c9b81 100644
> --- a/arch/arm/boot/dts/at91sam9x5.dtsi
> +++ b/arch/arm/boot/dts/at91sam9x5.dtsi
> @@ -519,6 +519,9 @@
> compatible = "atmel,at91sam9x5-i2c";
> reg = <0xf8010000 0x100>;
> interrupts = <9 4 6>;
> + dmas = <&dma0 1 7>,
> + <&dma0 1 8>;
> + dma-names = "tx", "rx";
> #address-cells = <1>;
> #size-cells = <0>;
> pinctrl-names = "default";
> @@ -530,6 +533,9 @@
> compatible = "atmel,at91sam9x5-i2c";
> reg = <0xf8014000 0x100>;
> interrupts = <10 4 6>;
> + dmas = <&dma1 1 5>,
> + <&dma1 1 6>;
> + dma-names = "tx", "rx";
> #address-cells = <1>;
> #size-cells = <0>;
> pinctrl-names = "default";
> @@ -541,6 +547,9 @@
> compatible = "atmel,at91sam9x5-i2c";
> reg = <0xf8018000 0x100>;
> interrupts = <11 4 6>;
> + dmas = <&dma0 1 9>,
> + <&dma0 1 10>;
> + dma-names = "tx", "rx";
> #address-cells = <1>;
> #size-cells = <0>;
> pinctrl-names = "default";
> diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
> index 95c00a3..8e87277 100644
> --- a/arch/arm/boot/dts/sama5d3.dtsi
> +++ b/arch/arm/boot/dts/sama5d3.dtsi
> @@ -111,6 +111,9 @@
> compatible = "atmel,at91sam9x5-i2c";
> reg = <0xf0014000 0x4000>;
> interrupts = <18 4 6>;
> + dmas = <&dma0 2 7>,
> + <&dma0 2 8>;
> + dma-names = "tx", "rx";
> pinctrl-names = "default";
> pinctrl-0 = <&pinctrl_i2c0>;
> #address-cells = <1>;
> @@ -122,6 +125,9 @@
> compatible = "atmel,at91sam9x5-i2c";
> reg = <0xf0018000 0x4000>;
> interrupts = <19 4 6>;
> + dmas = <&dma0 2 9>,
> + <&dma0 2 10>;
> + dma-names = "tx", "rx";
> pinctrl-names = "default";
> pinctrl-0 = <&pinctrl_i2c1>;
> #address-cells = <1>;
> @@ -294,6 +300,9 @@
> compatible = "atmel,at91sam9x5-i2c";
> reg = <0xf801c000 0x4000>;
> interrupts = <20 4 6>;
> + dmas = <&dma1 2 11>,
> + <&dma1 2 12>;
> + dma-names = "tx", "rx";
> #address-cells = <1>;
> #size-cells = <0>;
> status = "disabled";
>
--
Nicolas Ferre
WARNING: multiple messages have this Message-ID (diff)
From: nicolas.ferre@atmel.com (Nicolas Ferre)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 4/6] ARM: at91: dts: add i2c dma support
Date: Fri, 19 Apr 2013 11:43:38 +0200 [thread overview]
Message-ID: <517111CA.4030403@atmel.com> (raw)
In-Reply-To: <1366362683-14496-5-git-send-email-ludovic.desroches@atmel.com>
On 04/19/2013 11:11 AM, ludovic.desroches at atmel.com :
> From: Ludovic Desroches <ludovic.desroches@atmel.com>
>
> Add DMA resources to i2c nodes.
>
> Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
I have made little corrections, but do not bother, it is already in my tree:
[nicolas.ferre at atmel.com: correct 9n12 dma phandle name]
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
And stacked in at91-3.10-soc.
thanks,
> ---
> arch/arm/boot/dts/at91sam9n12.dtsi | 6 ++++++
> arch/arm/boot/dts/at91sam9x5.dtsi | 9 +++++++++
> arch/arm/boot/dts/sama5d3.dtsi | 9 +++++++++
> 3 files changed, 24 insertions(+)
>
> diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi b/arch/arm/boot/dts/at91sam9n12.dtsi
> index acc4526..f912124 100644
> --- a/arch/arm/boot/dts/at91sam9n12.dtsi
> +++ b/arch/arm/boot/dts/at91sam9n12.dtsi
> @@ -361,6 +361,9 @@
> compatible = "atmel,at91sam9x5-i2c";
> reg = <0xf8010000 0x100>;
> interrupts = <9 4 6>;
> + dmas = <&dma0 1 13>,
> + <&dma0 1 14>;
single dma controller in 9n12:
s/dma0/dma/
> + dma-names = "tx", "rx";
> #address-cells = <1>;
> #size-cells = <0>;
> status = "disabled";
> @@ -370,6 +373,9 @@
> compatible = "atmel,at91sam9x5-i2c";
> reg = <0xf8014000 0x100>;
> interrupts = <10 4 6>;
> + dmas = <&dma0 1 15>,
> + <&dma0 1 16>;
Ditto
> + dma-names = "tx", "rx";
> #address-cells = <1>;
> #size-cells = <0>;
> status = "disabled";
> diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi
> index 8e83d87..16c9b81 100644
> --- a/arch/arm/boot/dts/at91sam9x5.dtsi
> +++ b/arch/arm/boot/dts/at91sam9x5.dtsi
> @@ -519,6 +519,9 @@
> compatible = "atmel,at91sam9x5-i2c";
> reg = <0xf8010000 0x100>;
> interrupts = <9 4 6>;
> + dmas = <&dma0 1 7>,
> + <&dma0 1 8>;
> + dma-names = "tx", "rx";
> #address-cells = <1>;
> #size-cells = <0>;
> pinctrl-names = "default";
> @@ -530,6 +533,9 @@
> compatible = "atmel,at91sam9x5-i2c";
> reg = <0xf8014000 0x100>;
> interrupts = <10 4 6>;
> + dmas = <&dma1 1 5>,
> + <&dma1 1 6>;
> + dma-names = "tx", "rx";
> #address-cells = <1>;
> #size-cells = <0>;
> pinctrl-names = "default";
> @@ -541,6 +547,9 @@
> compatible = "atmel,at91sam9x5-i2c";
> reg = <0xf8018000 0x100>;
> interrupts = <11 4 6>;
> + dmas = <&dma0 1 9>,
> + <&dma0 1 10>;
> + dma-names = "tx", "rx";
> #address-cells = <1>;
> #size-cells = <0>;
> pinctrl-names = "default";
> diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
> index 95c00a3..8e87277 100644
> --- a/arch/arm/boot/dts/sama5d3.dtsi
> +++ b/arch/arm/boot/dts/sama5d3.dtsi
> @@ -111,6 +111,9 @@
> compatible = "atmel,at91sam9x5-i2c";
> reg = <0xf0014000 0x4000>;
> interrupts = <18 4 6>;
> + dmas = <&dma0 2 7>,
> + <&dma0 2 8>;
> + dma-names = "tx", "rx";
> pinctrl-names = "default";
> pinctrl-0 = <&pinctrl_i2c0>;
> #address-cells = <1>;
> @@ -122,6 +125,9 @@
> compatible = "atmel,at91sam9x5-i2c";
> reg = <0xf0018000 0x4000>;
> interrupts = <19 4 6>;
> + dmas = <&dma0 2 9>,
> + <&dma0 2 10>;
> + dma-names = "tx", "rx";
> pinctrl-names = "default";
> pinctrl-0 = <&pinctrl_i2c1>;
> #address-cells = <1>;
> @@ -294,6 +300,9 @@
> compatible = "atmel,at91sam9x5-i2c";
> reg = <0xf801c000 0x4000>;
> interrupts = <20 4 6>;
> + dmas = <&dma1 2 11>,
> + <&dma1 2 12>;
> + dma-names = "tx", "rx";
> #address-cells = <1>;
> #size-cells = <0>;
> status = "disabled";
>
--
Nicolas Ferre
next prev parent reply other threads:[~2013-04-19 9:43 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-19 9:11 [PATCH v3 0/6] ARM: at91: move to generic DMA device tree binding ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w
2013-04-19 9:11 ` ludovic.desroches at atmel.com
[not found] ` <1366362683-14496-1-git-send-email-ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2013-04-19 9:11 ` [PATCH v3 1/6] at_hdmac: move to generic DMA binding ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w
2013-04-19 9:11 ` ludovic.desroches at atmel.com
[not found] ` <1366362683-14496-2-git-send-email-ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2013-04-22 10:22 ` Nicolas Ferre
2013-04-22 10:22 ` Nicolas Ferre
2013-04-22 10:22 ` Nicolas Ferre
[not found] ` <51750F68.4040701-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2013-04-23 3:44 ` Vinod Koul
2013-04-23 3:44 ` Vinod Koul
2013-04-23 3:44 ` Vinod Koul
2013-04-29 13:28 ` Nicolas Ferre
2013-04-29 13:28 ` Nicolas Ferre
2013-04-29 13:28 ` Nicolas Ferre
2013-04-30 8:48 ` Vinod Koul
2013-04-30 8:48 ` Vinod Koul
2013-04-19 9:11 ` [PATCH v3 2/6] ARM: at91: dts: set #dma-cells to the correct value ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w
2013-04-19 9:11 ` ludovic.desroches at atmel.com
2013-04-19 9:39 ` Nicolas Ferre
2013-04-19 9:39 ` Nicolas Ferre
2013-04-19 9:11 ` [PATCH v3 3/6] i2c: at91: convert to dma_request_slave_channel_compat() ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w
2013-04-19 9:11 ` ludovic.desroches at atmel.com
2013-04-19 9:11 ` [PATCH v3 4/6] ARM: at91: dts: add i2c dma support ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w
2013-04-19 9:11 ` ludovic.desroches at atmel.com
[not found] ` <1366362683-14496-5-git-send-email-ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2013-04-19 9:43 ` Nicolas Ferre [this message]
2013-04-19 9:43 ` Nicolas Ferre
2013-04-19 9:11 ` [PATCH v3 5/6] mci: at91: convert to dma_request_slave_channel_compat() ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w
2013-04-19 9:11 ` ludovic.desroches at atmel.com
[not found] ` <1366362683-14496-6-git-send-email-ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2013-04-30 8:06 ` Nicolas Ferre
2013-04-30 8:06 ` Nicolas Ferre
2013-05-10 10:05 ` [PATCH] mmc: atmel-mci: " Nicolas Ferre
2013-05-10 10:05 ` Nicolas Ferre
2013-05-10 10:05 ` Nicolas Ferre
2013-05-26 17:34 ` Chris Ball
2013-05-26 17:34 ` Chris Ball
2013-05-26 17:34 ` Chris Ball
2013-04-19 9:11 ` [PATCH v3 6/6] ARM: at91: dts: add MCI DMA support ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w
2013-04-19 9:11 ` ludovic.desroches at atmel.com
2013-04-19 9:43 ` Nicolas Ferre
2013-04-19 9:43 ` Nicolas Ferre
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=517111CA.4030403@atmel.com \
--to=nicolas.ferre-aife0yeh4naavxtiumwx3w@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-mmc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org \
--cc=plagnioj-sclMFOaUSTBWk0Htik3J/w@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.