diff mbox

[v2] ARM: dts: add AM33XX EDMA support

Message ID 522144AB.9010802@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Joel Fernandes Aug. 31, 2013, 1:19 a.m. UTC
Hi Benoit,

On 08/26/2013 03:36 AM, Benoit Cousson wrote:
> - minus all the TI emails which are not working anymore :-(
> 
> I've just sent my previous email too soon...
> 
> Now the patch is different :-) I'll take that one.

Unfortunately this patch is still missing from your latest pull request:

Subject "[GIT PULL] ARM: OMAP: Device Tree for 3.12 take #2"
  git://git.kernel.org/pub/scm/linux/kernel/git/bcousson/linux-omap-dt.git
tags/for_3.12/dts_signed  (commit 4843be165c10f9886c87eeb20acf19a3ddec6653)

Below is a scissor patch that cleanly applies on above branch.

Thanks,

-Joel

--->8----
From: Matt Porter <mporter@ti.com>
Subject: [PATCH] ARM: dts: add AM33XX EDMA support

Adds AM33XX EDMA support to the am33xx.dtsi as documented in
Documentation/devicetree/bindings/dma/ti-edma.txt

v2 changes:
Drop DT entries that are non-hardware-description Joel Fernandes <joelf@ti.com>
Discussion in [1].

v3 changes: Changed node name from "edma: edma@" to "edma: dma-controller@"
by Sebastian Andrzej Siewior <bigeasy@linutronix.de>

[1] https://patchwork.kernel.org/patch/2226761/

Signed-off-by: Matt Porter <mporter@ti.com>
Signed-off-by: Joel A Fernandes <joelagnel@ti.com>
---
 arch/arm/boot/dts/am33xx.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

Comments

Benoit Cousson Sept. 4, 2013, 4:31 p.m. UTC | #1
Hi Joel,

On 31/08/2013 03:19, Joel Fernandes wrote:
> Hi Benoit,
>
> On 08/26/2013 03:36 AM, Benoit Cousson wrote:
>> - minus all the TI emails which are not working anymore :-(
>>
>> I've just sent my previous email too soon...
>>
>> Now the patch is different :-) I'll take that one.
>
> Unfortunately this patch is still missing from your latest pull request:

Indeed, it was supposed to be applied on 3.13 only. It just came too 
late for 3.12.

Regards,
Benoit

> Subject "[GIT PULL] ARM: OMAP: Device Tree for 3.12 take #2"
>    git://git.kernel.org/pub/scm/linux/kernel/git/bcousson/linux-omap-dt.git
> tags/for_3.12/dts_signed  (commit 4843be165c10f9886c87eeb20acf19a3ddec6653)
>
> Below is a scissor patch that cleanly applies on above branch.
>
> Thanks,
>
> -Joel
>
> --->8----
> From: Matt Porter <mporter@ti.com>
> Subject: [PATCH] ARM: dts: add AM33XX EDMA support
>
> Adds AM33XX EDMA support to the am33xx.dtsi as documented in
> Documentation/devicetree/bindings/dma/ti-edma.txt
>
> v2 changes:
> Drop DT entries that are non-hardware-description Joel Fernandes <joelf@ti.com>
> Discussion in [1].
>
> v3 changes: Changed node name from "edma: edma@" to "edma: dma-controller@"
> by Sebastian Andrzej Siewior <bigeasy@linutronix.de>
>
> [1] https://patchwork.kernel.org/patch/2226761/
>
> Signed-off-by: Matt Porter <mporter@ti.com>
> Signed-off-by: Joel A Fernandes <joelagnel@ti.com>
> ---
>   arch/arm/boot/dts/am33xx.dtsi | 12 ++++++++++++
>   1 file changed, 12 insertions(+)
>
> diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
> index 5996d63..f5869ed 100644
> --- a/arch/arm/boot/dts/am33xx.dtsi
> +++ b/arch/arm/boot/dts/am33xx.dtsi
> @@ -101,6 +101,18 @@
>   			reg = <0x48200000 0x1000>;
>   		};
>
> +		edma: dma-controller@49000000 {
> +			compatible = "ti,edma3";
> +			ti,hwmods = "tpcc", "tptc0", "tptc1", "tptc2";
> +			reg =	<0x49000000 0x10000>,
> +				<0x44e10f90 0x10>;
> +			interrupts = <12 13 14>;
> +			#dma-cells = <1>;
> +			dma-channels = <64>;
> +			ti,edma-regions = <4>;
> +			ti,edma-slots = <256>;
> +		};
> +
>   		gpio0: gpio@44e07000 {
>   			compatible = "ti,omap4-gpio";
>   			ti,hwmods = "gpio1";
>
Joel Fernandes Sept. 4, 2013, 4:39 p.m. UTC | #2
On 09/04/2013 11:31 AM, Benoit Cousson wrote:
> Hi Joel,
> 
> On 31/08/2013 03:19, Joel Fernandes wrote:
>> Hi Benoit,
>>
>> On 08/26/2013 03:36 AM, Benoit Cousson wrote:
>>> - minus all the TI emails which are not working anymore :-(
>>>
>>> I've just sent my previous email too soon...
>>>
>>> Now the patch is different :-) I'll take that one.
>>
>> Unfortunately this patch is still missing from your latest pull request:
> 
> Indeed, it was supposed to be applied on 3.13 only. It just came too late for 3.12.

Ah ok, got it. :) Sorry for the noise.


Regards,

-Joel
diff mbox

Patch

diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index 5996d63..f5869ed 100644
--- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -101,6 +101,18 @@ 
 			reg = <0x48200000 0x1000>;
 		};

+		edma: dma-controller@49000000 {
+			compatible = "ti,edma3";
+			ti,hwmods = "tpcc", "tptc0", "tptc1", "tptc2";
+			reg =	<0x49000000 0x10000>,
+				<0x44e10f90 0x10>;
+			interrupts = <12 13 14>;
+			#dma-cells = <1>;
+			dma-channels = <64>;
+			ti,edma-regions = <4>;
+			ti,edma-slots = <256>;
+		};
+
 		gpio0: gpio@44e07000 {
 			compatible = "ti,omap4-gpio";
 			ti,hwmods = "gpio1";