Subject: [PATCH v2] ARM: dts: add AM33XX EDMA support

From: Matt Porter <[email protected]>

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

Joel: Drop DT entries that are non-hardware-description for now as discussed in [1]

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

Signed-off-by: Matt Porter <[email protected]>
Signed-off-by: Joel A Fernandes <[email protected]>
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
---
Could someone please pick this up?

v1..v2:
- s/edma@/dma-controller@/

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 38b446b..784f774 100644
--- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -96,6 +96,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";
--
1.8.4.rc3


2013-08-26 08:36:22

by Benoit Cousson

[permalink] [raw]
Subject: Re: [PATCH v2] ARM: dts: add AM33XX EDMA support

- 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.

Thanks,
Benoit


On 26/08/2013 10:29, Sebastian Andrzej Siewior wrote:
> From: Matt Porter <[email protected]>
>
> Adds AM33XX EDMA support to the am33xx.dtsi as documented in
> Documentation/devicetree/bindings/dma/ti-edma.txt
>
> Joel: Drop DT entries that are non-hardware-description for now as discussed in [1]
>
> [1] https://patchwork.kernel.org/patch/2226761/
>
> Signed-off-by: Matt Porter <[email protected]>
> Signed-off-by: Joel A Fernandes <[email protected]>
> Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
> ---
> Could someone please pick this up?
>
> v1..v2:
> - s/edma@/dma-controller@/
>
> 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 38b446b..784f774 100644
> --- a/arch/arm/boot/dts/am33xx.dtsi
> +++ b/arch/arm/boot/dts/am33xx.dtsi
> @@ -96,6 +96,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";
>

Subject: Re: [PATCH v2] ARM: dts: add AM33XX EDMA support

On 08/26/2013 10:36 AM, Benoit Cousson wrote:
> I've just sent my previous email too soon...

np.

> Now the patch is different :-) I'll take that one.

Good, thanks.

>
> Thanks,
> Benoit

Sebastian

2013-08-31 01:20:20

by Joel Fernandes

[permalink] [raw]
Subject: Re: [PATCH v2] ARM: dts: add AM33XX EDMA support

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 <[email protected]>
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 <[email protected]>
Discussion in [1].

v3 changes: Changed node name from "edma: edma@" to "edma: dma-controller@"
by Sebastian Andrzej Siewior <[email protected]>

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

Signed-off-by: Matt Porter <[email protected]>
Signed-off-by: Joel A Fernandes <[email protected]>
---
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";
--
1.8.1.2

2013-09-04 16:32:00

by Benoit Cousson

[permalink] [raw]
Subject: Re: [PATCH v2] ARM: dts: add AM33XX EDMA support

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 <[email protected]>
> 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 <[email protected]>
> Discussion in [1].
>
> v3 changes: Changed node name from "edma: edma@" to "edma: dma-controller@"
> by Sebastian Andrzej Siewior <[email protected]>
>
> [1] https://patchwork.kernel.org/patch/2226761/
>
> Signed-off-by: Matt Porter <[email protected]>
> Signed-off-by: Joel A Fernandes <[email protected]>
> ---
> 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";
>

2013-09-04 16:40:24

by Joel Fernandes

[permalink] [raw]
Subject: Re: [PATCH v2] ARM: dts: add AM33XX EDMA support

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