Skip to contentSkip to conversation

ARM: dts: am33x, da816x, da814x: Remove useless register address

PATCH In review Alexandre Bailon 2 participants 4 messages Jan 17, 2017 3 messages not in the archive Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: am33x, da816x, da814x: Remove useless register address

In order to make CPPI 4.1 DMA driver more generic, accesses to USBSS have been removed. So it is not required anymore to define "glue" register's address and size in DT.
Remove "glue" register from cppi41dma node.

---
 arch/arm/boot/dts/am33xx.dtsi | 5 ++---
 arch/arm/boot/dts/dm814x.dtsi | 5 ++---
 arch/arm/boot/dts/dm816x.dtsi | 5 ++---
 3 files changed, 6 insertions(+), 9 deletions(-)
arch/arm/boot/dts/am33xx.dtsi +2 -3
index 9e96d60..2466ed5 100644
@@ -659,11 +659,10 @@
 
 			cppi41dma: dma-controller@47402000 {
 				compatible = "ti,am3359-cppi41";
-				reg =  <0x47400000 0x1000
-					0x47402000 0x1000
+				reg =  <0x47402000 0x1000
 					0x47403000 0x1000
 					0x47404000 0x4000>;
-				reg-names = "glue", "controller", "scheduler", "queuemgr";
+				reg-names = "controller", "scheduler", "queuemgr";
 				interrupts = <17>;
 				interrupt-names = "glue";
 				#dma-cells = <2>;
arch/arm/boot/dts/dm814x.dtsi +2 -3
index 9708157..2dd727a 100644
@@ -156,11 +156,10 @@
 
 			cppi41dma: dma-controller@47402000 {
 				compatible = "ti,am3359-cppi41";
-				reg =  <0x47400000 0x1000
-					0x47402000 0x1000
+				reg =  <0x47402000 0x1000
 					0x47403000 0x1000
 					0x47404000 0x4000>;
-				reg-names = "glue", "controller", "scheduler", "queuemgr";
+				reg-names = "controller", "scheduler", "queuemgr";
 				interrupts = <17>;
 				interrupt-names = "glue";
 				#dma-cells = <2>;
arch/arm/boot/dts/dm816x.dtsi +2 -3
index 276211e..bb78511 100644
@@ -493,11 +493,10 @@
 
 			cppi41dma: dma-controller@47402000 {
 				compatible = "ti,am3359-cppi41";
-				reg =  <0x47400000 0x1000
-					0x47402000 0x1000
+				reg =  <0x47402000 0x1000
 					0x47403000 0x1000
 					0x47404000 0x4000>;
-				reg-names = "glue", "controller", "scheduler", "queuemgr";
+				reg-names = "controller", "scheduler", "queuemgr";
 				interrupts = <17>;
 				interrupt-names = "glue";
 				#dma-cells = <2>;
Signature · 6 lines
2.10.2

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw
In reply to a message not in the archive
Quoted 4 lines · Alexandre Bailon

In order to make CPPI 4.1 DMA driver more generic, accesses to USBSS have been removed. So it is not required anymore to define "glue" register's address and size in DT.
Remove "glue" register from cppi41dma node.

Is this OK to queue later on after all the dependencies have been merged?

Regards,

Tony
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
In reply to a message not in the archive
Quoted 8 lines · Tony Lindgren
Quoted 4 lines · Alexandre Bailon

In order to make CPPI 4.1 DMA driver more generic, accesses to USBSS have been removed. So it is not required anymore to define "glue" register's address and size in DT.
Remove "glue" register from cppi41dma node.

Is this OK to queue later on after all the dependencies have been merged?

It should be queued on same time as "[PATCH v2 3/7] dmaengine: cppi41:
Remove usbss_mem", so yes I guess it is OK.

Quoted 5 lines

Regards,

Tony

Best Regards,
Alexandre
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#6 lore raw
In reply to a message not in the archive
Quoted 11 lines · Alexandre Bailon
Quoted 8 lines · Tony Lindgren
Quoted 4 lines · Alexandre Bailon

In order to make CPPI 4.1 DMA driver more generic, accesses to USBSS have been removed. So it is not required anymore to define "glue" register's address and size in DT.
Remove "glue" register from cppi41dma node.

Is this OK to queue later on after all the dependencies have been merged?

It should be queued on same time as "[PATCH v2 3/7] dmaengine: cppi41:
Remove usbss_mem", so yes I guess it is OK.

Sounds like it will break things then.. Please read about "flag day" changes and why they are not accepted.

You should make the driver work with the old and new binding, then we can just drop the old binding later on from the dts files.

Regards,

Tony
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html