Skip to contentSkip to conversation

ARM: dts: sirf: move to use generic dma dt-binding for spi

PATCH New Barry Song 1 participant 2 messages Mar 5, 2014 Device tree bindings

lore
Share & tools
lore

Barry Song

author
#0 lore raw

PATCH 1/2 ARM: dts: sirf: move to use generic dma dt-binding for spi

From: Barry Song <[email protected]>

This patch is following commit dd7243d6a5d in spi-next tree.in drivers/spi/ spi-sirf.c, we have moved to use generic dma dt-binding. here the dts should be changed too.

---
 arch/arm/boot/dts/atlas6.dtsi |   11 ++++++-----
 arch/arm/boot/dts/prima2.dtsi |   10 ++++++----
 2 files changed, 12 insertions(+), 9 deletions(-)
arch/arm/boot/dts/atlas6.dtsi +6 -5
index 5d7879b..14495c4 100644
@@ -293,9 +293,9 @@
 				reg = <0xb00d0000 0x10000>;
 				interrupts = <15>;
 				sirf,spi-num-chipselects = <1>;
-				cs-gpios = <&gpio 0 0>;
-				sirf,spi-dma-rx-channel = <25>;
-				sirf,spi-dma-tx-channel = <20>;
+				dmas = <&dmac1 9>,
+				     <&dmac1 4>;
+				dma-names = "rx", "tx";
 				#address-cells = <1>;
 				#size-cells = <0>;
 				clocks = <&clks 19>;
@@ -308,8 +308,9 @@
 				reg = <0xb0170000 0x10000>;
 				interrupts = <16>;
 				sirf,spi-num-chipselects = <1>;
-				sirf,spi-dma-rx-channel = <12>;
-				sirf,spi-dma-tx-channel = <13>;
+				dmas = <&dmac0 12>,
+				     <&dmac0 13>;
+				dma-names = "rx", "tx";
 				#address-cells = <1>;
 				#size-cells = <0>;
 				clocks = <&clks 20>;
arch/arm/boot/dts/prima2.dtsi +6 -4
index 0e21993..6423771 100644
@@ -310,8 +310,9 @@
 				reg = <0xb00d0000 0x10000>;
 				interrupts = <15>;
 				sirf,spi-num-chipselects = <1>;
-				sirf,spi-dma-rx-channel = <25>;
-				sirf,spi-dma-tx-channel = <20>;
+				dmas = <&dmac1 9>,
+				     <&dmac1 4>;
+				dma-names = "rx", "tx";
 				#address-cells = <1>;
 				#size-cells = <0>;
 				clocks = <&clks 19>;
@@ -324,8 +325,9 @@
 				reg = <0xb0170000 0x10000>;
 				interrupts = <16>;
 				sirf,spi-num-chipselects = <1>;
-				sirf,spi-dma-rx-channel = <12>;
-				sirf,spi-dma-tx-channel = <13>;
+				dmas = <&dmac0 12>,
+				     <&dmac0 13>;
+				dma-names = "rx", "tx";
 				#address-cells = <1>;
 				#size-cells = <0>;
 				clocks = <&clks 20>;
Signature · 1 line
1.7.9.5
author
#1 lore raw

PATCH 2/2 ARM: dts: atlas6: add cortex-a9-pmu compatible PMU node

From: Ye He <[email protected]>

add cortex-a9-pmu node to make the performance monitor unit work on atlas6.

---
 arch/arm/boot/dts/atlas6.dtsi |    5 +++++
 1 file changed, 5 insertions(+)
arch/arm/boot/dts/atlas6.dtsi +5 -0
index 14495c4..82fcf66 100644
@@ -39,6 +39,11 @@
 		};
 	};
 
+	arm-pmu {
+		compatible = "arm,cortex-a9-pmu";
+		interrupts = <29>;
+	};
+
 	axi {
 		compatible = "simple-bus";
 		#address-cells = <1>;
Signature · 1 line
1.7.9.5