Skip to contentSkip to conversation

ARM: exynos: pl330: Add #dma-cells for generic dma binding support

PATCH New Padmavathi Venna 5 participants 7 messages Mar 4, 2013 – Mar 11, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ARM: exynos: pl330: Add #dma-cells for generic dma binding support

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.

---

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(-)
arch/arm/boot/dts/exynos4.dtsi +9 -0
index e1347fc..1a62bcf 100644
@@ -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>;
 		};
 	};
 };
arch/arm/boot/dts/exynos5440.dtsi +6 -0
index 5f3562a..9a99755 100644
@@ -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>;
 		};
 	};
 
Signature · 1 line
1.7.4.4
#1 lore raw

PATCH 2/2 Arm: socfpga: pl330: Add #dma-cells for generic dma binding support

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.

---

Based on Torvalds tree

 arch/arm/boot/dts/socfpga.dtsi |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
arch/arm/boot/dts/socfpga.dtsi +3 -0
index 936d230..7e8769b 100644
@@ -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>;
 			};
 		};
 
Signature · 1 line
1.7.4.4
#2 lore raw

PATCH 2/2 Arm: socfpga: pl330: Add #dma-cells for generic dma binding support

Quoted 17 lines · Padmavathi Venna

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.

---

Based on Torvalds tree

 arch/arm/boot/dts/socfpga.dtsi |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
arch/arm/boot/dts/socfpga.dtsi +0 -0
index 936d230..7e8769b 100644

arch/arm/boot/dts/socfpga.dtsi line 80

Quoted 6 lines
arch/arm/boot/dts/socfpga.dtsi +3 -0
@@ -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>;

Thanks..
Dinh

Quoted 3 lines
arch/arm/boot/dts/socfpga.dtsi +0 -0
 			};
 		};
 
#3 lore raw

PATCH 1/2 ARM: exynos: pl330: Add #dma-cells for generic dma binding support

In reply to Padmavathi Venna
Quoted 7 lines · Padmavathi Venna

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.

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

#4 lore raw

PATCH 1/2 ARM: exynos: pl330: Add #dma-cells for generic dma binding support

Quoted 7 lines · Arnd Bergmann
Quoted 6 lines · Padmavathi Venna

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.

Quoted 6 lines
Quoted 1 line

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

#5 lore raw

PATCH 1/2 ARM: exynos: pl330: Add #dma-cells for generic dma binding support

Quoted 13 lines · Padma Venkat
Quoted 11 lines · Arnd Bergmann
Quoted 7 lines · Padmavathi Venna

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.

Quoted 9 lines
Quoted 2 lines

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

#6 lore raw

PATCH 1/2 ARM: exynos: pl330: Add #dma-cells for generic dma binding support

Quoted 6 lines · Kukjin Kim
Quoted 2 lines

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