linux-samsung-soc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: exynos: pl330: Add #dma-cells for generic dma binding support
@ 2013-03-04  5:34 Padmavathi Venna
  2013-03-04  5:34 ` [PATCH 2/2] Arm: socfpga: " Padmavathi Venna
  2013-03-05 22:37 ` [PATCH 1/2] ARM: exynos: " Arnd Bergmann
  0 siblings, 2 replies; 7+ messages in thread
From: Padmavathi Venna @ 2013-03-04  5:34 UTC (permalink / raw)
  To: linux-samsung-soc, linux-arm-kernel, padma.kvr, padma.v
  Cc: sbkim73, broonie, kgene.kim, jassisinghbrar, arnd, vinod.koul,
	boojin.kim, robherring2, dinguyen

This patch adds #dma-cells property to PL330 DMA controller
nodes for supporting generic dma dt bindings on samsung exynos
platforms. #dma-channels and #dma-requests are not required now
but added in advance.

Signed-off-by: Padmavathi Venna <padma.v@samsung.com>
---

Based on Torvalds tree

 arch/arm/boot/dts/exynos4.dtsi    |    9 +++++++++
 arch/arm/boot/dts/exynos5440.dtsi |    6 ++++++
 2 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi
index e1347fc..1a62bcf 100644
--- a/arch/arm/boot/dts/exynos4.dtsi
+++ b/arch/arm/boot/dts/exynos4.dtsi
@@ -275,18 +275,27 @@
 			compatible = "arm,pl330", "arm,primecell";
 			reg = <0x12680000 0x1000>;
 			interrupts = <0 35 0>;
+			#dma-cells = <1>;
+			#dma-channels = <8>;
+			#dma-requests = <32>;
 		};
 
 		pdma1: pdma@12690000 {
 			compatible = "arm,pl330", "arm,primecell";
 			reg = <0x12690000 0x1000>;
 			interrupts = <0 36 0>;
+			#dma-cells = <1>;
+			#dma-channels = <8>;
+			#dma-requests = <32>;
 		};
 
 		mdma1: mdma@12850000 {
 			compatible = "arm,pl330", "arm,primecell";
 			reg = <0x12850000 0x1000>;
 			interrupts = <0 34 0>;
+			#dma-cells = <1>;
+			#dma-channels = <8>;
+			#dma-requests = <1>;
 		};
 	};
 };
diff --git a/arch/arm/boot/dts/exynos5440.dtsi b/arch/arm/boot/dts/exynos5440.dtsi
index 5f3562a..9a99755 100644
--- a/arch/arm/boot/dts/exynos5440.dtsi
+++ b/arch/arm/boot/dts/exynos5440.dtsi
@@ -142,12 +142,18 @@
 			compatible = "arm,pl330", "arm,primecell";
 			reg = <0x120000 0x1000>;
 			interrupts = <0 34 0>;
+			#dma-cells = <1>;
+			#dma-channels = <8>;
+			#dma-requests = <32>;
 		};
 
 		pdma1: pdma@121B0000 {
 			compatible = "arm,pl330", "arm,primecell";
 			reg = <0x121000 0x1000>;
 			interrupts = <0 35 0>;
+			#dma-cells = <1>;
+			#dma-channels = <8>;
+			#dma-requests = <32>;
 		};
 	};
 
-- 
1.7.4.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 2/2] Arm: socfpga: pl330: Add #dma-cells for generic dma binding support
  2013-03-04  5:34 [PATCH 1/2] ARM: exynos: pl330: Add #dma-cells for generic dma binding support Padmavathi Venna
@ 2013-03-04  5:34 ` Padmavathi Venna
  2013-03-05 23:12   ` Dinh Nguyen
  2013-03-05 22:37 ` [PATCH 1/2] ARM: exynos: " Arnd Bergmann
  1 sibling, 1 reply; 7+ messages in thread
From: Padmavathi Venna @ 2013-03-04  5:34 UTC (permalink / raw)
  To: linux-samsung-soc, linux-arm-kernel, padma.kvr, padma.v
  Cc: sbkim73, broonie, kgene.kim, jassisinghbrar, arnd, vinod.koul,
	boojin.kim, robherring2, dinguyen

This patch adds #dma-cells property to PL330 DMA controller nodes for
supporting generic dma dt bindings on SOCFPGA platform. #dma-channels
and #dma-requests are not required now but added in advance.

Signed-off-by: Padmavathi Venna <padma.v@samsung.com>
---

Based on Torvalds tree

 arch/arm/boot/dts/socfpga.dtsi |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi
index 936d230..7e8769b 100644
--- a/arch/arm/boot/dts/socfpga.dtsi
+++ b/arch/arm/boot/dts/socfpga.dtsi
@@ -75,6 +75,9 @@
 				compatible = "arm,pl330", "arm,primecell";
 				reg = <0xffe01000 0x1000>;
 				interrupts = <0 180 4>;
+				#dma-cells = <1>;
+				#dma-channels = <8>;
+				#dma-requests = <32>;
 			};
 		};
 
-- 
1.7.4.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/2] ARM: exynos: pl330: Add #dma-cells for generic dma binding support
  2013-03-04  5:34 [PATCH 1/2] ARM: exynos: pl330: Add #dma-cells for generic dma binding support Padmavathi Venna
  2013-03-04  5:34 ` [PATCH 2/2] Arm: socfpga: " Padmavathi Venna
@ 2013-03-05 22:37 ` Arnd Bergmann
  2013-03-06  5:13   ` Padma Venkat
  1 sibling, 1 reply; 7+ messages in thread
From: Arnd Bergmann @ 2013-03-05 22:37 UTC (permalink / raw)
  To: Padmavathi Venna
  Cc: linux-samsung-soc, linux-arm-kernel, padma.kvr, sbkim73, broonie,
	kgene.kim, jassisinghbrar, vinod.koul, boojin.kim, robherring2,
	dinguyen, Olof Johansson

On Monday 04 March 2013, Padmavathi Venna wrote:
> 
> This patch adds #dma-cells property to PL330 DMA controller
> nodes for supporting generic dma dt bindings on samsung exynos
> platforms. #dma-channels and #dma-requests are not required now
> but added in advance.
> 
> Signed-off-by: Padmavathi Venna <padma.v@samsung.com>

Acked-by: Arnd Bergmann <arnd@arndb.de>

Should we apply these directly to the arm-soc fixes branch, or wait
until they come back from the Samsung subarchitecture tree?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 2/2] Arm: socfpga: pl330: Add #dma-cells for generic dma binding support
  2013-03-04  5:34 ` [PATCH 2/2] Arm: socfpga: " Padmavathi Venna
@ 2013-03-05 23:12   ` Dinh Nguyen
  0 siblings, 0 replies; 7+ messages in thread
From: Dinh Nguyen @ 2013-03-05 23:12 UTC (permalink / raw)
  To: Padmavathi Venna
  Cc: linux-samsung-soc, linux-arm-kernel, padma.kvr, sbkim73, broonie,
	kgene.kim, jassisinghbrar, arnd, vinod.koul, boojin.kim,
	robherring2

On Mon, 2013-03-04 at 11:04 +0530, Padmavathi Venna wrote:
> This patch adds #dma-cells property to PL330 DMA controller nodes for
> supporting generic dma dt bindings on SOCFPGA platform. #dma-channels
> and #dma-requests are not required now but added in advance.
> 
> Signed-off-by: Padmavathi Venna <padma.v@samsung.com>
> ---
> 
> Based on Torvalds tree
> 
>  arch/arm/boot/dts/socfpga.dtsi |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi
> index 936d230..7e8769b 100644
> --- a/arch/arm/boot/dts/socfpga.dtsi
> +++ b/arch/arm/boot/dts/socfpga.dtsi
> @@ -75,6 +75,9 @@
>  				compatible = "arm,pl330", "arm,primecell";
>  				reg = <0xffe01000 0x1000>;
>  				interrupts = <0 180 4>;
> +				#dma-cells = <1>;
> +				#dma-channels = <8>;
> +				#dma-requests = <32>;

Acked-by: Dinh Nguyen <dinguyen@altera.com?

Thanks..
Dinh
>  			};
>  		};
>  

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/2] ARM: exynos: pl330: Add #dma-cells for generic dma binding support
  2013-03-05 22:37 ` [PATCH 1/2] ARM: exynos: " Arnd Bergmann
@ 2013-03-06  5:13   ` Padma Venkat
  2013-03-07  1:31     ` Kukjin Kim
  0 siblings, 1 reply; 7+ messages in thread
From: Padma Venkat @ 2013-03-06  5:13 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: Padmavathi Venna, linux-samsung-soc, linux-arm-kernel, sbkim73,
	broonie, kgene.kim, jassisinghbrar, vinod.koul, boojin.kim,
	robherring2, dinguyen, Olof Johansson

On Wed, Mar 6, 2013 at 4:07 AM, Arnd Bergmann <arnd@arndb.de> wrote:
> On Monday 04 March 2013, Padmavathi Venna wrote:
>>
>> This patch adds #dma-cells property to PL330 DMA controller
>> nodes for supporting generic dma dt bindings on samsung exynos
>> platforms. #dma-channels and #dma-requests are not required now
>> but added in advance.
>>
>> Signed-off-by: Padmavathi Venna <padma.v@samsung.com>
>
> Acked-by: Arnd Bergmann <arnd@arndb.de>
>
> Should we apply these directly to the arm-soc fixes branch, or wait
> until they come back from the Samsung subarchitecture tree?

Hmm, If Kukjin can take in 3.9 rc2 it's better to go via Samsung tree.

Kukjin,

Can you please take this patch in 3.9 rc2 ?

Thanks
Padma

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: [PATCH 1/2] ARM: exynos: pl330: Add #dma-cells for generic dma binding support
  2013-03-06  5:13   ` Padma Venkat
@ 2013-03-07  1:31     ` Kukjin Kim
  2013-03-11 21:02       ` Arnd Bergmann
  0 siblings, 1 reply; 7+ messages in thread
From: Kukjin Kim @ 2013-03-07  1:31 UTC (permalink / raw)
  To: 'Padma Venkat', 'Arnd Bergmann'
  Cc: 'Padmavathi Venna',
	linux-samsung-soc, linux-arm-kernel, sbkim73, broonie,
	jassisinghbrar, vinod.koul, boojin.kim, robherring2, dinguyen,
	'Olof Johansson'

Padma Venkat wrote:
> 
> On Wed, Mar 6, 2013 at 4:07 AM, Arnd Bergmann <arnd@arndb.de> wrote:
> > On Monday 04 March 2013, Padmavathi Venna wrote:
> >>
> >> This patch adds #dma-cells property to PL330 DMA controller
> >> nodes for supporting generic dma dt bindings on samsung exynos
> >> platforms. #dma-channels and #dma-requests are not required now
> >> but added in advance.
> >>
> >> Signed-off-by: Padmavathi Venna <padma.v@samsung.com>
> >
> > Acked-by: Arnd Bergmann <arnd@arndb.de>
> >
> > Should we apply these directly to the arm-soc fixes branch, or wait
> > until they come back from the Samsung subarchitecture tree?
> 
> Hmm, If Kukjin can take in 3.9 rc2 it's better to go via Samsung tree.
> 
> Kukjin,
> 
> Can you please take this patch in 3.9 rc2 ?
> 
Sure, I will.

BTW, Arnd, I'm not sure second one(socfpga.dtsi) can be handled in samsung
tree.

Thanks.

- Kukjin

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/2] ARM: exynos: pl330: Add #dma-cells for generic dma binding support
  2013-03-07  1:31     ` Kukjin Kim
@ 2013-03-11 21:02       ` Arnd Bergmann
  0 siblings, 0 replies; 7+ messages in thread
From: Arnd Bergmann @ 2013-03-11 21:02 UTC (permalink / raw)
  To: Kukjin Kim
  Cc: 'Padma Venkat', 'Padmavathi Venna',
	linux-samsung-soc, linux-arm-kernel, sbkim73, broonie,
	jassisinghbrar, vinod.koul, boojin.kim, robherring2, dinguyen,
	'Olof Johansson'

On Thursday 07 March 2013, Kukjin Kim wrote:
> > Can you please take this patch in 3.9 rc2 ?
> > 
> Sure, I will.
> 
> BTW, Arnd, I'm not sure second one(socfpga.dtsi) can be handled in samsung
> tree.

I guess you're right, I've applied the second one to the fixes branch now.

Thanks,

	Arnd

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-03-11 21:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-04  5:34 [PATCH 1/2] ARM: exynos: pl330: Add #dma-cells for generic dma binding support Padmavathi Venna
2013-03-04  5:34 ` [PATCH 2/2] Arm: socfpga: " Padmavathi Venna
2013-03-05 23:12   ` Dinh Nguyen
2013-03-05 22:37 ` [PATCH 1/2] ARM: exynos: " Arnd Bergmann
2013-03-06  5:13   ` Padma Venkat
2013-03-07  1:31     ` Kukjin Kim
2013-03-11 21:02       ` Arnd Bergmann

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