Skip to contentSkip to conversation

ARM: dts: k2*: Rename the k2* files to keystone-k2* files

PATCH In review Nishanth Menon 2 participants 5 messages Mar 16, 2016 – Apr 7, 2016

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

PATCH 1/1 ARM: dts: k2*: Rename the k2* files to keystone-k2* files

As reported in [1], rename the k2* dts files to keystone-* files this will force consistency throughout.

Script for the same (and hand modified for Makefile and MAINTAINERS files):
for i in arch/arm/boot/dts/k2*
do

	b=`basename $i`;
	git mv $i arch/arm/boot/dts/keystone-$b;
	sed -i -e "s/$b/keystone-$b/g" arch/arm/boot/dts/*[si]

done

NOTE: bootloaders that depend on older dtb names will need to be updated as well.

[1] http://marc.info/?l=linux-arm-kernel&m=145637407804754&w=2

---

Based on next-20160316
Ignored:
- all the build warnings reported in http://www.spinics.net/lists/arm-kernel/msg490058.html
- k2g* files which for some reason appears in linux-next, but not part of pull request:
http://marc.info/?l=linux-arm-kernel&m=145643709430175&w=2

 MAINTAINERS                                                       | 2 +-
 arch/arm/boot/dts/Makefile                                        | 6 +++---
 arch/arm/boot/dts/{k2e-clocks.dtsi => keystone-k2e-clocks.dtsi}   | 0
 arch/arm/boot/dts/{k2e-evm.dts => keystone-k2e-evm.dts}           | 2 +-
 arch/arm/boot/dts/{k2e-netcp.dtsi => keystone-k2e-netcp.dtsi}     | 0
 arch/arm/boot/dts/{k2e.dtsi => keystone-k2e.dtsi}                 | 4 ++--
 arch/arm/boot/dts/{k2hk-clocks.dtsi => keystone-k2hk-clocks.dtsi} | 0
 arch/arm/boot/dts/{k2hk-evm.dts => keystone-k2hk-evm.dts}         | 2 +-
 arch/arm/boot/dts/{k2hk-netcp.dtsi => keystone-k2hk-netcp.dtsi}   | 0
 arch/arm/boot/dts/{k2hk.dtsi => keystone-k2hk.dtsi}               | 4 ++--
 arch/arm/boot/dts/{k2l-clocks.dtsi => keystone-k2l-clocks.dtsi}   | 0
 arch/arm/boot/dts/{k2l-evm.dts => keystone-k2l-evm.dts}           | 2 +-
 arch/arm/boot/dts/{k2l-netcp.dtsi => keystone-k2l-netcp.dtsi}     | 0
 arch/arm/boot/dts/{k2l.dtsi => keystone-k2l.dtsi}                 | 4 ++--
 14 files changed, 13 insertions(+), 13 deletions(-)
 rename arch/arm/boot/dts/{k2e-clocks.dtsi => keystone-k2e-clocks.dtsi} (100%)
 rename arch/arm/boot/dts/{k2e-evm.dts => keystone-k2e-evm.dts} (98%)
 rename arch/arm/boot/dts/{k2e-netcp.dtsi => keystone-k2e-netcp.dtsi} (100%)
 rename arch/arm/boot/dts/{k2e.dtsi => keystone-k2e.dtsi} (97%)
 rename arch/arm/boot/dts/{k2hk-clocks.dtsi => keystone-k2hk-clocks.dtsi} (100%)
 rename arch/arm/boot/dts/{k2hk-evm.dts => keystone-k2hk-evm.dts} (99%)
 rename arch/arm/boot/dts/{k2hk-netcp.dtsi => keystone-k2hk-netcp.dtsi} (100%)
 rename arch/arm/boot/dts/{k2hk.dtsi => keystone-k2hk.dtsi} (96%)
 rename arch/arm/boot/dts/{k2l-clocks.dtsi => keystone-k2l-clocks.dtsi} (100%)
 rename arch/arm/boot/dts/{k2l-evm.dts => keystone-k2l-evm.dts} (98%)
 rename arch/arm/boot/dts/{k2l-netcp.dtsi => keystone-k2l-netcp.dtsi} (100%)
 rename arch/arm/boot/dts/{k2l.dtsi => keystone-k2l.dtsi} (96%)
MAINTAINERS +1 -1
index 3c0be602d57c..a00233edbe83 100644
@@ -1260,7 +1260,7 @@ M:	Santosh Shilimkar <[email protected]>
 L:	linux-arm-kernel at lists.infradead.org (moderated for non-subscribers)
 S:	Maintained
 F:	arch/arm/mach-keystone/
-F:	arch/arm/boot/dts/k2*
+F:	arch/arm/boot/dts/keystone-*
 T:	git git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone.git
 
 ARM/TEXAS INSTRUMENT KEYSTONE CLOCK FRAMEWORK
arch/arm/boot/dts/Makefile +3 -3
index 0d6bf2875cc7..f06b4b849db2 100644
@@ -158,9 +158,9 @@ dtb-$(CONFIG_ARCH_INTEGRATOR) += \
 	integratorap.dtb \
 	integratorcp.dtb
 dtb-$(CONFIG_ARCH_KEYSTONE) += \
-	k2hk-evm.dtb \
-	k2l-evm.dtb \
-	k2e-evm.dtb \
+	keystone-k2hk-evm.dtb \
+	keystone-k2l-evm.dtb \
+	keystone-k2e-evm.dtb \
 	keystone-k2g-evm.dtb
 dtb-$(CONFIG_MACH_KIRKWOOD) += \
 	kirkwood-b3.dtb \
arch/arm/boot/dts/keystone-k2e-clocks.dtsi renamed from arch/arm/boot/dts/k2e-clocks.dtsi +0 -0
similarity index 100%
rename from arch/arm/boot/dts/k2e-clocks.dtsi
rename to arch/arm/boot/dts/keystone-k2e-clocks.dtsi
arch/arm/boot/dts/keystone-k2e-evm.dts renamed from arch/arm/boot/dts/k2e-evm.dts +1 -1
similarity index 98%
rename from arch/arm/boot/dts/k2e-evm.dts
rename to arch/arm/boot/dts/keystone-k2e-evm.dts
index b7e99807f5c2..4c32ebc1425a 100644
@@ -10,7 +10,7 @@
 /dts-v1/;
 
 #include "keystone.dtsi"
-#include "k2e.dtsi"
+#include "keystone-k2e.dtsi"
 
 / {
 	compatible = "ti,k2e-evm", "ti,k2e", "ti,keystone";
arch/arm/boot/dts/keystone-k2e-netcp.dtsi renamed from arch/arm/boot/dts/k2e-netcp.dtsi +0 -0
similarity index 100%
rename from arch/arm/boot/dts/k2e-netcp.dtsi
rename to arch/arm/boot/dts/keystone-k2e-netcp.dtsi
arch/arm/boot/dts/keystone-k2e.dtsi renamed from arch/arm/boot/dts/k2e.dtsi +2 -2
similarity index 97%
rename from arch/arm/boot/dts/k2e.dtsi
rename to arch/arm/boot/dts/keystone-k2e.dtsi
index 1097dada56d2..96b349fb0430 100644
@@ -44,7 +44,7 @@
 	};
 
 	soc {
-		/include/ "k2e-clocks.dtsi"
+		/include/ "keystone-k2e-clocks.dtsi"
 
 		usb: usb at 2680000 {
 			interrupts = <GIC_SPI 152 IRQ_TYPE_EDGE_RISING>;
@@ -145,6 +145,6 @@
 			clock-names = "fck";
 			bus_freq	= <2500000>;
 		};
-		/include/ "k2e-netcp.dtsi"
+		/include/ "keystone-k2e-netcp.dtsi"
 	};
 };
arch/arm/boot/dts/keystone-k2hk-clocks.dtsi renamed from arch/arm/boot/dts/k2hk-clocks.dtsi +0 -0
similarity index 100%
rename from arch/arm/boot/dts/k2hk-clocks.dtsi
rename to arch/arm/boot/dts/keystone-k2hk-clocks.dtsi
arch/arm/boot/dts/keystone-k2hk-evm.dts renamed from arch/arm/boot/dts/k2hk-evm.dts +1 -1
similarity index 99%
rename from arch/arm/boot/dts/k2hk-evm.dts
rename to arch/arm/boot/dts/keystone-k2hk-evm.dts
index 8161bf53271b..b38b3441818b 100644
@@ -10,7 +10,7 @@
 /dts-v1/;
 
 #include "keystone.dtsi"
-#include "k2hk.dtsi"
+#include "keystone-k2hk.dtsi"
 
 / {
 	compatible =  "ti,k2hk-evm", "ti,k2hk", "ti,keystone";
arch/arm/boot/dts/keystone-k2hk-netcp.dtsi renamed from arch/arm/boot/dts/k2hk-netcp.dtsi +0 -0
similarity index 100%
rename from arch/arm/boot/dts/k2hk-netcp.dtsi
rename to arch/arm/boot/dts/keystone-k2hk-netcp.dtsi
arch/arm/boot/dts/keystone-k2hk.dtsi renamed from arch/arm/boot/dts/k2hk.dtsi +2 -2
similarity index 96%
rename from arch/arm/boot/dts/k2hk.dtsi
rename to arch/arm/boot/dts/keystone-k2hk.dtsi
index ada4c7ac96e7..8f67fa8df936 100644
@@ -44,7 +44,7 @@
 	};
 
 	soc {
-		/include/ "k2hk-clocks.dtsi"
+		/include/ "keystone-k2hk-clocks.dtsi"
 
 		dspgpio0: keystone_dsp_gpio at 02620240 {
 			compatible = "ti,keystone-dsp-gpio";
@@ -112,6 +112,6 @@
 			clock-names = "fck";
 			bus_freq	= <2500000>;
 		};
-		/include/ "k2hk-netcp.dtsi"
+		/include/ "keystone-k2hk-netcp.dtsi"
 	};
 };
arch/arm/boot/dts/keystone-k2l-clocks.dtsi renamed from arch/arm/boot/dts/k2l-clocks.dtsi +0 -0
similarity index 100%
rename from arch/arm/boot/dts/k2l-clocks.dtsi
rename to arch/arm/boot/dts/keystone-k2l-clocks.dtsi
arch/arm/boot/dts/keystone-k2l-evm.dts renamed from arch/arm/boot/dts/k2l-evm.dts +1 -1
similarity index 98%
rename from arch/arm/boot/dts/k2l-evm.dts
rename to arch/arm/boot/dts/keystone-k2l-evm.dts
index 00861244d788..7f9c2e94d605 100644
@@ -10,7 +10,7 @@
 /dts-v1/;
 
 #include "keystone.dtsi"
-#include "k2l.dtsi"
+#include "keystone-k2l.dtsi"
 
 / {
 	compatible = "ti,k2l-evm", "ti,k2l", "ti,keystone";
arch/arm/boot/dts/keystone-k2l-netcp.dtsi renamed from arch/arm/boot/dts/k2l-netcp.dtsi +0 -0
similarity index 100%
rename from arch/arm/boot/dts/k2l-netcp.dtsi
rename to arch/arm/boot/dts/keystone-k2l-netcp.dtsi
arch/arm/boot/dts/keystone-k2l.dtsi renamed from arch/arm/boot/dts/k2l.dtsi +2 -2
similarity index 96%
rename from arch/arm/boot/dts/k2l.dtsi
rename to arch/arm/boot/dts/keystone-k2l.dtsi
index 4446da72b0ae..ff22ffc3dee7 100644
@@ -32,7 +32,7 @@
 	};
 
 	soc {
-		/include/ "k2l-clocks.dtsi"
+		/include/ "keystone-k2l-clocks.dtsi"
 
 		uart2: serial at 02348400 {
 			compatible = "ns16550a";
@@ -92,7 +92,7 @@
 			clock-names = "fck";
 			bus_freq	= <2500000>;
 		};
-		/include/ "k2l-netcp.dtsi"
+		/include/ "keystone-k2l-netcp.dtsi"
 	};
 };
 
Signature · 1 line
2.7.0
#1 lore raw
Quoted 12 lines · Nishanth Menon

As reported in [1], rename the k2* dts files to keystone-* files this will force consistency throughout.

Script for the same (and hand modified for Makefile and MAINTAINERS files):
for i in arch/arm/boot/dts/k2*
do

	b=`basename $i`;
	git mv $i arch/arm/boot/dts/keystone-$b;
	sed -i -e "s/$b/keystone-$b/g" arch/arm/boot/dts/*[si]

done

Quoted 9 lines

NOTE: bootloaders that depend on older dtb names will need to be updated as well.

[1] http://marc.info/?l=linux-arm-kernel&m=145637407804754&w=2

---

Thanks Nishant for taking care of this. I will add this to the next soon.

Reagrds,
Santosh

#2 lore raw

Hi Santosh,

Quoted 17 lines · santosh shilimkar
Quoted 16 lines · Nishanth Menon

As reported in [1], rename the k2* dts files to keystone-* files this will force consistency throughout.

Script for the same (and hand modified for Makefile and MAINTAINERS files):
for i in arch/arm/boot/dts/k2*
do

        b=`basename $i`;
        git mv $i arch/arm/boot/dts/keystone-$b;
        sed -i -e "s/$b/keystone-$b/g" arch/arm/boot/dts/*[si]

done

NOTE: bootloaders that depend on older dtb names will need to be updated as well.

Quoted 9 lines
Quoted 6 lines

[1] http://marc.info/?l=linux-arm-kernel&m=145637407804754&w=2

---

Thanks Nishant for taking care of this. I will add this to the next soon.

I dont see this in 4.6-rc2 yet.. did this slip our pull request? will be good to get this in so that we can fix up u-boot consistently.

Signature · 3 lines
---
Regards,
Nishanth Menon
#3 lore raw
Quoted 27 lines · Nishanth Menon

Hi Santosh,

Quoted 23 lines · santosh shilimkar
Quoted 22 lines · Nishanth Menon

As reported in [1], rename the k2* dts files to keystone-* files this will force consistency throughout.

Script for the same (and hand modified for Makefile and MAINTAINERS files):
for i in arch/arm/boot/dts/k2*
do

         b=`basename $i`;
         git mv $i arch/arm/boot/dts/keystone-$b;
         sed -i -e "s/$b/keystone-$b/g" arch/arm/boot/dts/*[si]

done

NOTE: bootloaders that depend on older dtb names will need to be updated as well.

[1] http://marc.info/?l=linux-arm-kernel&m=145637407804754&w=2

---

Quoted 7 lines
Quoted 3 lines

Thanks Nishant for taking care of this. I will add this to the next soon.

I dont see this in 4.6-rc2 yet.. did this slip our pull request? will be good to get this in so that we can fix up u-boot consistently.

As discussed already, the 4.6 merge window contained the k2g renames as you can see from the pull request[1]. The other rename was suppose to be for 4.7 so that it lives in next for sometime for users to get the time to get to update the bootloaders etc.

So it didn't slip pull request but just happen to go in 4.7 pull request. I added that to next early for testing. Hope it clarifies.

Regards,
Santosh

[1] https://patchwork.ozlabs.org/patch/588386/

#4 lore raw
Quoted 38 lines · santosh.shilimkar at oracle.com
Quoted 30 lines · Nishanth Menon

Hi Santosh,

Quoted 25 lines · santosh shilimkar
Quoted 23 lines · Nishanth Menon

As reported in [1], rename the k2* dts files to keystone-* files this will force consistency throughout.

Script for the same (and hand modified for Makefile and MAINTAINERS files):
for i in arch/arm/boot/dts/k2*
do

         b=`basename $i`;
         git mv $i arch/arm/boot/dts/keystone-$b;
         sed -i -e "s/$b/keystone-$b/g" arch/arm/boot/dts/*[si]

done

NOTE: bootloaders that depend on older dtb names will need to be updated as well.

[1] http://marc.info/?l=linux-arm-kernel&m=145637407804754&w=2

---

Quoted 7 lines
Quoted 3 lines

Thanks Nishant for taking care of this. I will add this to the next soon.

I dont see this in 4.6-rc2 yet.. did this slip our pull request? will be good to get this in so that we can fix up u-boot consistently.

Quoted 8 lines

As discussed already, the 4.6 merge window contained the k2g renames as you can see from the pull request[1]. The other rename was suppose to be for 4.7 so that it lives in next for sometime for users to get the time to get to update the bootloaders etc.

So it didn't slip pull request but just happen to go in 4.7 pull request. I added that to next early for testing. Hope it clarifies.

Aaah.. OK. I had misunderstood this to mean this cleanup was for 4.6 cycle. I will have to hold off on u-boot update till this is in master :(.

Quoted 11 lines

Regards,
Santosh

[1] https://patchwork.ozlabs.org/patch/588386/

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Signature · 3 lines
---
Regards,
Nishanth Menon