Skip to contentSkip to conversation

remove label = "cpu" from DSA dt-binding

PATCH Applied Arınç ÜNAL 15 participants 30 messages Nov 30, 2022 – Dec 7, 2022

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

cover remove label = "cpu" from DSA dt-binding

Hello folks,

With this patch series, we're completely getting rid of 'label = "cpu";' which is not used by the DSA dt-binding at all.

Information for taking the patches for maintainers:
Patch 1: netdev maintainers (based off netdev/net-next.git main) Patch 2-3: SoC maintainers (based off soc/soc.git soc/dt) Patch 4: MIPS maintainers (based off mips/linux.git mips-next) Patch 5: PowerPC maintainers (based off powerpc/linux.git next-test)

I've been meaning to submit this for a few months. Find the relevant conversation here:
https://lore.kernel.org/netdev/[email protected]/

Here's how I did it, for the interested (or suggestions):

Find the platforms which have got 'label = "cpu";' defined. grep -rnw . -e 'label = "cpu";'

Remove the line where 'label = "cpu";' is included.
sed -i /'label = "cpu";'/,+d arch/arm/boot/dts/*
sed -i /'label = "cpu";'/,+d arch/arm64/boot/dts/freescale/*
sed -i /'label = "cpu";'/,+d arch/arm64/boot/dts/marvell/*
sed -i /'label = "cpu";'/,+d arch/arm64/boot/dts/mediatek/*
sed -i /'label = "cpu";'/,+d arch/arm64/boot/dts/rockchip/*
sed -i /'label = "cpu";'/,+d arch/mips/boot/dts/qca/*
sed -i /'label = "cpu";'/,+d arch/mips/boot/dts/ralink/*
sed -i /'label = "cpu";'/,+d arch/powerpc/boot/dts/turris1x.dts
sed -i /'label = "cpu";'/,+d Documentation/devicetree/bindings/net/qca,ar71xx.yaml

Restore the symlink files which typechange after running sed.

Arınç ÜNAL (5):
dt-bindings: net: qca,ar71xx: remove label = "cpu" from examples
arm: dts: remove label = "cpu" from DSA dt-binding
arm64: dts: remove label = "cpu" from DSA dt-binding
mips: dts: remove label = "cpu" from DSA dt-binding
powerpc: dts: remove label = "cpu" from DSA dt-binding

#1 lore raw

PATCH 1/5 dt-bindings: net: qca,ar71xx: remove label = "cpu" from examples

This is not used by the DSA dt-binding, so remove it from the examples.

---
 Documentation/devicetree/bindings/net/qca,ar71xx.yaml | 1 -
 1 file changed, 1 deletion(-)
Documentation/devicetree/bindings/net/qca,ar71xx.yaml +0 -1
index 1ebf9e8c8a1d..89f94b31b546 100644
@@ -123,7 +123,6 @@ examples:
 
                     switch_port0: port@0 {
                         reg = <0x0>;
-                        label = "cpu";
                         ethernet = <&eth1>;
 
                         phy-mode = "gmii";
Signature · 1 line
2.34.1
Reviewed-by on v1 1/5
#2 lore raw

Re: [PATCH 1/5] dt-bindings: net: qca,ar71xx: remove label = "cpu" from examples

Quoted 3 lines · Arınç ÜNAL

This is not used by the DSA dt-binding, so remove it from the examples.

Thx!

Quoted 20 lines
---
 Documentation/devicetree/bindings/net/qca,ar71xx.yaml | 1 -
 1 file changed, 1 deletion(-)
Documentation/devicetree/bindings/net/qca,ar71xx.yaml +0 -1
index 1ebf9e8c8a1d..89f94b31b546 100644
@@ -123,7 +123,6 @@ examples:
 
                     switch_port0: port@0 {
                         reg = <0x0>;
-                        label = "cpu";
                         ethernet = <&eth1>;
 
                         phy-mode = "gmii";
Signature · 1 line
2.34.1
Signature · 4 lines
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
#4 lore raw

PATCH 2/5 arm: dts: remove label = "cpu" from DSA dt-binding

In reply to Arınç ÜNAL

This is not used by the DSA dt-binding, so remove it from all devicetrees.

---
 arch/arm/boot/dts/armada-370-rd.dts                       | 1 -
 arch/arm/boot/dts/armada-381-netgear-gs110emx.dts         | 1 -
 arch/arm/boot/dts/armada-385-clearfog-gtr-l8.dts          | 1 -
 arch/arm/boot/dts/armada-385-clearfog-gtr-s4.dts          | 1 -
 arch/arm/boot/dts/armada-385-linksys.dtsi                 | 1 -
 arch/arm/boot/dts/armada-385-turris-omnia.dts             | 1 -
 arch/arm/boot/dts/armada-388-clearfog.dts                 | 1 -
 arch/arm/boot/dts/armada-xp-linksys-mamba.dts             | 1 -
 arch/arm/boot/dts/at91-sama5d2_icp.dts                    | 1 -
 arch/arm/boot/dts/at91-sama5d3_ksz9477_evb.dts            | 1 -
 arch/arm/boot/dts/bcm-cygnus.dtsi                         | 1 -
 arch/arm/boot/dts/bcm4708-buffalo-wzr-1166dhp-common.dtsi | 1 -
 arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts              | 1 -
 arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts              | 1 -
 arch/arm/boot/dts/bcm4708-netgear-r6250.dts               | 1 -
 arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts             | 1 -
 arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts        | 1 -
 arch/arm/boot/dts/bcm47081-luxul-xap-1410.dts             | 1 -
 arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts             | 1 -
 arch/arm/boot/dts/bcm4709-netgear-r8000.dts               | 1 -
 arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts              | 3 ---
 arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts             | 1 -
 arch/arm/boot/dts/bcm47094-linksys-panamera.dts           | 4 ----
 arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts             | 1 -
 arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts             | 1 -
 arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts             | 1 -
 arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts             | 1 -
 arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts             | 1 -
 arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts          | 1 -
 arch/arm/boot/dts/bcm47189-tenda-ac9.dts                  | 1 -
 arch/arm/boot/dts/bcm53015-meraki-mr26.dts                | 1 -
 arch/arm/boot/dts/bcm53016-meraki-mr32.dts                | 1 -
 arch/arm/boot/dts/bcm953012er.dts                         | 1 -
 arch/arm/boot/dts/bcm958622hr.dts                         | 1 -
 arch/arm/boot/dts/bcm958623hr.dts                         | 1 -
 arch/arm/boot/dts/bcm958625hr.dts                         | 1 -
 arch/arm/boot/dts/bcm958625k.dts                          | 1 -
 arch/arm/boot/dts/bcm988312hr.dts                         | 1 -
 arch/arm/boot/dts/gemini-dlink-dir-685.dts                | 1 -
 arch/arm/boot/dts/gemini-sl93512r.dts                     | 1 -
 arch/arm/boot/dts/gemini-sq201.dts                        | 1 -
 arch/arm/boot/dts/imx51-zii-rdu1.dts                      | 1 -
 arch/arm/boot/dts/imx51-zii-scu2-mezz.dts                 | 1 -
 arch/arm/boot/dts/imx51-zii-scu3-esb.dts                  | 1 -
 arch/arm/boot/dts/imx53-kp-hsc.dts                        | 1 -
 arch/arm/boot/dts/imx6dl-yapp4-common.dtsi                | 1 -
 arch/arm/boot/dts/imx6q-b450v3.dts                        | 1 -
 arch/arm/boot/dts/imx6q-b650v3.dts                        | 1 -
 arch/arm/boot/dts/imx6q-b850v3.dts                        | 1 -
 arch/arm/boot/dts/imx6qdl-gw5904.dtsi                     | 1 -
 arch/arm/boot/dts/imx6qdl-skov-cpu.dtsi                   | 1 -
 arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi                   | 1 -
 arch/arm/boot/dts/imx6qp-prtwd3.dts                       | 1 -
 arch/arm/boot/dts/imx7d-zii-rpu2.dts                      | 1 -
 arch/arm/boot/dts/kirkwood-dir665.dts                     | 1 -
 arch/arm/boot/dts/kirkwood-l-50.dts                       | 1 -
 arch/arm/boot/dts/kirkwood-linksys-viper.dts              | 1 -
 arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts            | 1 -
 arch/arm/boot/dts/kirkwood-rd88f6281.dtsi                 | 1 -
 arch/arm/boot/dts/mt7623a-rfb-emmc.dts                    | 1 -
 arch/arm/boot/dts/mt7623a-rfb-nand.dts                    | 1 -
 arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts             | 1 -
 arch/arm/boot/dts/mt7623n-rfb-emmc.dts                    | 1 -
 arch/arm/boot/dts/orion5x-netgear-wnr854t.dts             | 1 -
 arch/arm/boot/dts/qcom-ipq8064-rb3011.dts                 | 2 --
 arch/arm/boot/dts/r9a06g032.dtsi                          | 1 -
 arch/arm/boot/dts/stm32mp151a-prtt1c.dts                  | 1 -
 arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts                 | 1 -
 arch/arm/boot/dts/vf610-zii-cfu1.dts                      | 1 -
 arch/arm/boot/dts/vf610-zii-dev-rev-b.dts                 | 1 -
 arch/arm/boot/dts/vf610-zii-dev-rev-c.dts                 | 1 -
 arch/arm/boot/dts/vf610-zii-scu4-aib.dts                  | 1 -
 arch/arm/boot/dts/vf610-zii-spb4.dts                      | 1 -
 arch/arm/boot/dts/vf610-zii-ssmb-dtu.dts                  | 1 -
 arch/arm/boot/dts/vf610-zii-ssmb-spu3.dts                 | 1 -
 75 files changed, 81 deletions(-)
arch/arm/boot/dts/armada-370-rd.dts +0 -1
index be005c9f42ef..469f18b7f08c 100644
@@ -171,7 +171,6 @@ port@3 {
 
 			port@5 {
 				reg = <5>;
-				label = "cpu";
 				ethernet = <&eth1>;
 				fixed-link {
 					speed = <1000>;
arch/arm/boot/dts/armada-381-netgear-gs110emx.dts +0 -1
index 095df5567c93..dd183dec9e3b 100644
@@ -148,7 +148,6 @@ ports {
 
 			port@0 {
 				ethernet = <&eth0>;
-				label = "cpu";
 				reg = <0>;
 
 				fixed-link {
arch/arm/boot/dts/armada-385-clearfog-gtr-l8.dts +0 -1
index c9ac630e5874..a2749e2815d1 100644
@@ -68,7 +68,6 @@ port@8 {
 
 			port@10 {
 				reg = <10>;
-				label = "cpu";
 				ethernet = <&eth1>;
 			};
 
arch/arm/boot/dts/armada-385-clearfog-gtr-s4.dts +0 -1
index fa653b379490..a792fe334b0f 100644
@@ -48,7 +48,6 @@ port@4 {
 
 			port@5 {
 				reg = <5>;
-				label = "cpu";
 				ethernet = <&eth1>;
 			};
 
arch/arm/boot/dts/armada-385-linksys.dtsi +0 -1
index 116aca5e688f..207f25df9b8d 100644
@@ -195,7 +195,6 @@ port@4 {
 
 			port@5 {
 				reg = <5>;
-				label = "cpu";
 				ethernet = <&eth2>;
 
 				fixed-link {
arch/arm/boot/dts/armada-385-turris-omnia.dts +0 -1
index 72ac807cae25..eb1fdf3494ac 100644
@@ -473,7 +473,6 @@ ports@4 {
 
 			ports@5 {
 				reg = <5>;
-				label = "cpu";
 				ethernet = <&eth1>;
 				phy-mode = "rgmii-id";
 
arch/arm/boot/dts/armada-388-clearfog.dts +0 -1
index 95299167dcf5..36b9a9cc4589 100644
@@ -129,7 +129,6 @@ port@4 {
 
 			port@5 {
 				reg = <5>;
-				label = "cpu";
 				ethernet = <&eth1>;
 				fixed-link {
 					speed = <1000>;
arch/arm/boot/dts/armada-xp-linksys-mamba.dts +0 -1
index 622ac40dd164..08724bc17a13 100644
@@ -302,7 +302,6 @@ port@4 {
 
 			port@5 {
 				reg = <5>;
-				label = "cpu";
 				ethernet = <&eth0>;
 				fixed-link {
 					speed = <1000>;
arch/arm/boot/dts/at91-sama5d2_icp.dts +0 -1
index dd1dec9d4e07..e8de8b202e21 100644
@@ -137,7 +137,6 @@ port@1 {
 
 				port@2 {
 					reg = <2>;
-					label = "cpu";
 					ethernet = <&macb0>;
 					phy-mode = "mii";
 					fixed-link {
arch/arm/boot/dts/at91-sama5d3_ksz9477_evb.dts +0 -1
index 14af1fd6d247..038ceb8ce4ba 100644
@@ -149,7 +149,6 @@ port@4 {
 
 			port@5 {
 				reg = <5>;
-				label = "cpu";
 				ethernet = <&macb0>;
 				phy-mode = "rgmii-txid";
 
arch/arm/boot/dts/bcm-cygnus.dtsi +0 -1
index f9f79ed82518..e05cad244cf8 100644
@@ -210,7 +210,6 @@ port@1 {
 
 				port@8 {
 					reg = <8>;
-					label = "cpu";
 					ethernet = <&eth0>;
 					fixed-link {
 						speed = <1000>;
arch/arm/boot/dts/bcm4708-buffalo-wzr-1166dhp-common.dtsi +0 -1
index a658b9b7bcec..01e0d01a5298 100644
@@ -185,7 +185,6 @@ port@4 {
 
 		port@5 {
 			reg = <5>;
-			label = "cpu";
 			ethernet = <&gmac0>;
 		};
 	};
arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts +0 -1
index 14ee410183af..87292d048664 100644
@@ -73,7 +73,6 @@ port@4 {
 
 		port@5 {
 			reg = <5>;
-			label = "cpu";
 			ethernet = <&gmac0>;
 		};
 	};
arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts +0 -1
index 600ab087f5e5..c067d809e2a8 100644
@@ -75,7 +75,6 @@ port@4 {
 
 		port@5 {
 			reg = <5>;
-			label = "cpu";
 			ethernet = <&gmac0>;
 		};
 	};
arch/arm/boot/dts/bcm4708-netgear-r6250.dts +0 -1
index fd6d8d2a4456..c53e57a6c3c4 100644
@@ -126,7 +126,6 @@ port@4 {
 
 		port@5 {
 			reg = <5>;
-			label = "cpu";
 			ethernet = <&gmac0>;
 		};
 	};
arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts +0 -1
index 6bcdfb73cb9e..4f229ffb0b1a 100644
@@ -149,7 +149,6 @@ port@4 {
 
 		port@5 {
 			reg = <5>;
-			label = "cpu";
 			ethernet = <&gmac0>;
 		};
 	};
arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts +0 -1
index 0edc2543e568..c4982edf7fd9 100644
@@ -149,7 +149,6 @@ port@4 {
 
 		port@5 {
 			reg = <5>;
-			label = "cpu";
 			ethernet = <&gmac0>;
 		};
 	};
arch/arm/boot/dts/bcm47081-luxul-xap-1410.dts +0 -1
index c8c02377543b..ba9b79c0bef8 100644
@@ -68,7 +68,6 @@ port@4 {
 
 		port@5 {
 			reg = <5>;
-			label = "cpu";
 			ethernet = <&gmac0>;
 		};
 	};
arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts +0 -1
index 3b35a7af4b1c..e29767cebf24 100644
@@ -141,7 +141,6 @@ port@4 {
 
 		port@5 {
 			reg = <5>;
-			label = "cpu";
 			ethernet = <&gmac0>;
 		};
 	};
arch/arm/boot/dts/bcm4709-netgear-r8000.dts +0 -1
index 087f7f60de18..324304ef67ae 100644
@@ -217,7 +217,6 @@ port@4 {
 
 		port@8 {
 			reg = <8>;
-			label = "cpu";
 			ethernet = <&gmac2>;
 
 			fixed-link {
arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts +0 -3
index a5fec56d11c0..3fb7ed0e342e 100644
@@ -136,7 +136,6 @@ port@3 {
 
 			port@6 {
 				reg = <6>;
-				label = "cpu";
 				ethernet = <&sw0_p5>;
 				phy-mode = "rgmii";
 				tx-internal-delay-ps = <2000>;
@@ -220,7 +219,6 @@ fixed-link {
 		port@7 {
 			reg = <7>;
 			ethernet = <&gmac1>;
-			label = "cpu";
 
 			fixed-link {
 				speed = <1000>;
@@ -231,7 +229,6 @@ fixed-link {
 		port@8 {
 			reg = <8>;
 			ethernet = <&gmac2>;
-			label = "cpu";
 
 			fixed-link {
 				speed = <1000>;
arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts +0 -1
index 2c38b642a8b8..2c819564beba 100644
@@ -150,7 +150,6 @@ port@4 {
 
 		port@8 {
 			reg = <8>;
-			label = "cpu";
 			ethernet = <&gmac2>;
 
 			fixed-link {
arch/arm/boot/dts/bcm47094-linksys-panamera.dts +0 -4
index 86c7cc0fa70e..1cd1942f5d63 100644
@@ -180,7 +180,6 @@ port@4 {
 					sw1_p8: port@8 {
 						reg = <8>;
 						ethernet = <&sw0_p0>;
-						label = "cpu";
 
 						fixed-link {
 							speed = <1000>;
@@ -230,7 +229,6 @@ port@4 {
 		port@5 {
 			reg = <5>;
 			ethernet = <&gmac0>;
-			label = "cpu";
 			status = "disabled";
 
 			fixed-link {
@@ -242,7 +240,6 @@ fixed-link {
 		port@7 {
 			reg = <7>;
 			ethernet = <&gmac1>;
-			label = "cpu";
 			status = "disabled";
 
 			fixed-link {
@@ -254,7 +251,6 @@ fixed-link {
 		port@8 {
 			reg = <8>;
 			ethernet = <&gmac2>;
-			label = "cpu";
 
 			fixed-link {
 				speed = <1000>;
arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts +0 -1
index 9ad15bcae1ca..b2d7f43e9a75 100644
@@ -100,7 +100,6 @@ port@4 {
 
 		port@5 {
 			reg = <5>;
-			label = "cpu";
 			ethernet = <&gmac0>;
 		};
 	};
arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts +0 -1
index ee24d3768536..b14d9259c314 100644
@@ -71,7 +71,6 @@ port@1 {
 
 		port@5 {
 			reg = <5>;
-			label = "cpu";
 			ethernet = <&gmac0>;
 		};
 	};
arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts +0 -1
index 6549d07b9887..526221f0980f 100644
@@ -100,7 +100,6 @@ port@4 {
 
 		port@5 {
 			reg = <5>;
-			label = "cpu";
 			ethernet = <&gmac0>;
 		};
 	};
arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts +0 -1
index 654fcce9fded..dbec4ae9a650 100644
@@ -62,7 +62,6 @@ port@0 {
 
 		port@5 {
 			reg = <5>;
-			label = "cpu";
 			ethernet = <&gmac0>;
 		};
 	};
arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts +0 -1
index bf053a2fcc7c..c074891400a5 100644
@@ -140,7 +140,6 @@ port@4 {
 
 		port@5 {
 			reg = <5>;
-			label = "cpu";
 			ethernet = <&gmac0>;
 		};
 	};
arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts +0 -1
index 78a90dd57a4e..5c3b12b42b0b 100644
@@ -123,7 +123,6 @@ port@4 {
 
 		port@5 {
 			reg = <5>;
-			label = "cpu";
 			ethernet = <&gmac0>;
 		};
 	};
arch/arm/boot/dts/bcm47189-tenda-ac9.dts +0 -1
index 55b92645b0f1..96273fe213d8 100644
@@ -137,7 +137,6 @@ port@4 {
 
 		port@5 {
 			reg = <5>;
-			label = "cpu";
 			ethernet = <&gmac0>;
 		};
 	};
arch/arm/boot/dts/bcm53015-meraki-mr26.dts +0 -1
index 14f58033efeb..00c2f6402ea3 100644
@@ -123,7 +123,6 @@ port@0 {
 
 		port@5 {
 			reg = <5>;
-			label = "cpu";
 			ethernet = <&gmac0>;
 
 			fixed-link {
arch/arm/boot/dts/bcm53016-meraki-mr32.dts +0 -1
index e678bc03d816..0c525a669fe0 100644
@@ -182,7 +182,6 @@ port@0 {
 
 		port@5 {
 			reg = <5>;
-			label = "cpu";
 			ethernet = <&gmac0>;
 
 			fixed-link {
arch/arm/boot/dts/bcm953012er.dts +0 -1
index 4fe3b3653376..3d80e16c0361 100644
@@ -81,7 +81,6 @@ port@1 {
 
 		port@5 {
 			reg = <5>;
-			label = "cpu";
 			ethernet = <&gmac0>;
 		};
 	};
arch/arm/boot/dts/bcm958622hr.dts +0 -1
index 9db3c851451a..9c0a9c3ba2dd 100644
@@ -204,7 +204,6 @@ port@4 {
 
 		port@8 {
 			ethernet = <&amac2>;
-			label = "cpu";
 			reg = <8>;
 			fixed-link {
 				speed = <1000>;
arch/arm/boot/dts/bcm958623hr.dts +0 -1
index 32786e7c4e12..1af7d3025eff 100644
@@ -208,7 +208,6 @@ port@4 {
 
 		port@8 {
 			ethernet = <&amac2>;
-			label = "cpu";
 			reg = <8>;
 			fixed-link {
 				speed = <1000>;
arch/arm/boot/dts/bcm958625hr.dts +0 -1
index 74263d98de73..a267a9bf775e 100644
@@ -231,7 +231,6 @@ port@5 {
 
 		port@8 {
 			ethernet = <&amac2>;
-			label = "cpu";
 			reg = <8>;
 			fixed-link {
 				speed = <1000>;
arch/arm/boot/dts/bcm958625k.dts +0 -1
index 69ebc7a913a7..97bd2e98eacc 100644
@@ -244,7 +244,6 @@ port@4 {
 
 		port@8 {
 			ethernet = <&amac2>;
-			label = "cpu";
 			reg = <8>;
 			fixed-link {
 				speed = <1000>;
arch/arm/boot/dts/bcm988312hr.dts +0 -1
index e96bc3f2d5cf..f6ea175b3201 100644
@@ -216,7 +216,6 @@ port@4 {
 
 		port@8 {
 			ethernet = <&amac2>;
-			label = "cpu";
 			reg = <8>;
 			fixed-link {
 				speed = <1000>;
arch/arm/boot/dts/gemini-dlink-dir-685.dts +0 -1
index 396149664297..c8446fedf213 100644
@@ -235,7 +235,6 @@ port@4 {
 			};
 			rtl8366rb_cpu_port: port@5 {
 				reg = <5>;
-				label = "cpu";
 				ethernet = <&gmac0>;
 				phy-mode = "rgmii";
 				fixed-link {
arch/arm/boot/dts/gemini-sl93512r.dts +0 -1
index 91c19e8ebfe8..c295bfc64948 100644
@@ -123,7 +123,6 @@ port@3 {
 				};
 				vsc: port@6 {
 					reg = <6>;
-					label = "cpu";
 					ethernet = <&gmac1>;
 					phy-mode = "rgmii";
 					fixed-link {
arch/arm/boot/dts/gemini-sq201.dts +0 -1
index d0efd76695da..7b15ae959767 100644
@@ -108,7 +108,6 @@ port@3 {
 				};
 				vsc: port@6 {
 					reg = <6>;
-					label = "cpu";
 					ethernet = <&gmac1>;
 					phy-mode = "rgmii";
 					fixed-link {
arch/arm/boot/dts/imx51-zii-rdu1.dts +0 -1
index 3140f038aa98..223641f678fe 100644
@@ -181,7 +181,6 @@ ports {
 
 				port@0 {
 					reg = <0>;
-					label = "cpu";
 					ethernet = <&fec>;
 
 					fixed-link {
arch/arm/boot/dts/imx51-zii-scu2-mezz.dts +0 -1
index aa91e5dde4b8..4adf421a5a14 100644
@@ -82,7 +82,6 @@ port@3 {
 
 				port@4 {
 					reg = <4>;
-					label = "cpu";
 					ethernet = <&fec>;
 
 					fixed-link {
arch/arm/boot/dts/imx51-zii-scu3-esb.dts +0 -1
index 875b10a7d674..11634a92b278 100644
@@ -267,7 +267,6 @@ fixed-link {
 
 				port@6 {
 					reg = <6>;
-					label = "cpu";
 					phy-mode = "mii";
 					ethernet = <&fec>;
 
arch/arm/boot/dts/imx53-kp-hsc.dts +0 -1
index 6e3d71baac0f..0009e4bfbcc3 100644
@@ -34,7 +34,6 @@ ports {
 
 			port@0 { /* RMII fixed link to master */
 				reg = <0>;
-				label = "cpu";
 				ethernet = <&fec>;
 			};
 
arch/arm/boot/dts/imx6dl-yapp4-common.dtsi +0 -1
index 52162e8c7274..d13ab193f055 100644
@@ -138,7 +138,6 @@ switch_ports: ports {
 
 				ethphy0: port@0 {
 					reg = <0>;
-					label = "cpu";
 					phy-mode = "rgmii-id";
 					ethernet = <&fec>;
 
arch/arm/boot/dts/imx6q-b450v3.dts +0 -1
index d994b32ad825..0c4739594542 100644
@@ -139,7 +139,6 @@ port@3 {
 
 	port@4 {
 		reg = <4>;
-		label = "cpu";
 		ethernet = <&switch_nic>;
 		phy-handle = <&switchphy4>;
 	};
arch/arm/boot/dts/imx6q-b650v3.dts +0 -1
index fa1a1df37cde..e1367fb8bab9 100644
@@ -138,7 +138,6 @@ port@3 {
 
 	port@4 {
 		reg = <4>;
-		label = "cpu";
 		ethernet = <&switch_nic>;
 		phy-handle = <&switchphy4>;
 	};
arch/arm/boot/dts/imx6q-b850v3.dts +0 -1
index db8c332df6a1..3b3f136e235b 100644
@@ -288,7 +288,6 @@ port@3 {
 
 	port@4 {
 		reg = <4>;
-		label = "cpu";
 		ethernet = <&switch_nic>;
 		phy-handle = <&switchphy4>;
 	};
arch/arm/boot/dts/imx6qdl-gw5904.dtsi +0 -1
index 612b6e068e28..fec6a58c8ae3 100644
@@ -238,7 +238,6 @@ port@3 {
 
 				port@5 {
 					reg = <5>;
-					label = "cpu";
 					ethernet = <&fec>;
 				};
 			};
arch/arm/boot/dts/imx6qdl-skov-cpu.dtsi +0 -1
index 3def1b621c8e..45b144872e28 100644
@@ -87,7 +87,6 @@ ports@1 {
 
 				ports@2 {
 					reg = <2>;
-					label = "cpu";
 					ethernet = <&fec>;
 					phy-mode = "rmii";
 
arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi +0 -1
index 525ff62b47f5..2d48452cd3c9 100644
@@ -757,7 +757,6 @@ port@1 {
 
 				port@2 {
 					reg = <2>;
-					label = "cpu";
 					ethernet = <&fec>;
 
 					fixed-link {
arch/arm/boot/dts/imx6qp-prtwd3.dts +0 -1
index cf6571cc4682..bf0c4545e648 100644
@@ -175,7 +175,6 @@ port@3 {
 
 			port@4 {
 				reg = <4>;
-				label = "cpu";
 				ethernet = <&fec>;
 				phy-mode = "rgmii-id";
 				rx-internal-delay-ps = <2000>;
arch/arm/boot/dts/imx7d-zii-rpu2.dts +0 -1
index 9d29490ab4c9..cf20f48dddaa 100644
@@ -262,7 +262,6 @@ fixed-link {
 
 				port@5 {
 					reg = <5>;
-					label = "cpu";
 					ethernet = <&fec1>;
 					phy-mode = "rgmii-id";
 
arch/arm/boot/dts/kirkwood-dir665.dts +0 -1
index f9f4b0143ba8..76d0e075d619 100644
@@ -232,7 +232,6 @@ port@4 {
 
 			port@6 {
 				reg = <6>;
-				label = "cpu";
 				ethernet = <&eth0port>;
 				fixed-link {
 					speed = <1000>;
arch/arm/boot/dts/kirkwood-l-50.dts +0 -1
index 60c1e94f5dd3..6b42d7dd7945 100644
@@ -254,7 +254,6 @@ fixed-link {
 
 			port@6 {
 				reg = <6>;
-				label = "cpu";
 				phy-mode = "rgmii-id";
 				ethernet = <&eth1port>;
 				fixed-link {
arch/arm/boot/dts/kirkwood-linksys-viper.dts +0 -1
index 2f9660f3b457..8fedd4e05d7c 100644
@@ -198,7 +198,6 @@ port@4 {
 
 			port@5 {
 				reg = <5>;
-				label = "cpu";
 				ethernet = <&eth0port>;
 				fixed-link {
 					speed = <1000>;
arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts +0 -1
index ced576acfb95..60566e82b58f 100644
@@ -149,7 +149,6 @@ port@4 {
 
 			port@5 {
 				reg = <5>;
-				label = "cpu";
 				ethernet = <&eth0port>;
 				fixed-link {
 					speed = <1000>;
arch/arm/boot/dts/kirkwood-rd88f6281.dtsi +0 -1
index e21aa674945d..60b18cb3213b 100644
@@ -105,7 +105,6 @@ port@3 {
 
 			port@5 {
 				reg = <5>;
-				label = "cpu";
 				ethernet = <&eth0port>;
 				fixed-link {
 					speed = <1000>;
arch/arm/boot/dts/mt7623a-rfb-emmc.dts +0 -1
index e8b4b6d30d19..5c27c63a6694 100644
@@ -171,7 +171,6 @@ port@4 {
 
 				port@6 {
 					reg = <6>;
-					label = "cpu";
 					ethernet = <&gmac0>;
 					phy-mode = "trgmii";
 
arch/arm/boot/dts/mt7623a-rfb-nand.dts +0 -1
index 61f5da68d4b0..1fee1bfa5ee8 100644
@@ -175,7 +175,6 @@ port@4 {
 
 				port@6 {
 					reg = <6>;
-					label = "cpu";
 					ethernet = <&gmac0>;
 					phy-mode = "trgmii";
 
arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts +0 -1
index 5008115d2494..551a0967d487 100644
@@ -228,7 +228,6 @@ port@4 {
 
 				port@6 {
 					reg = <6>;
-					label = "cpu";
 					ethernet = <&gmac0>;
 					phy-mode = "trgmii";
 
arch/arm/boot/dts/mt7623n-rfb-emmc.dts +0 -1
index bf67a8e9be59..552866426a6f 100644
@@ -225,7 +225,6 @@ port@4 {
 
 				port@6 {
 					reg = <6>;
-					label = "cpu";
 					ethernet = <&gmac0>;
 					phy-mode = "trgmii";
 
arch/arm/boot/dts/orion5x-netgear-wnr854t.dts +0 -1
index 4f4888ec9138..ec24fc5a4208 100644
@@ -137,7 +137,6 @@ port@2 {
 
 			port@3 {
 				reg = <3>;
-				label = "cpu";
 				ethernet = <&ethport>;
 			};
 
arch/arm/boot/dts/qcom-ipq8064-rb3011.dts +0 -2
index 5a65cce2500c..38fd0149d6dc 100644
@@ -55,7 +55,6 @@ ports {
 
 				switch0cpu: port@0 {
 					reg = <0>;
-					label = "cpu";
 					ethernet = <&gmac0>;
 					phy-mode = "rgmii-id";
 					fixed-link {
@@ -122,7 +121,6 @@ ports {
 
 				switch1cpu: port@0 {
 					reg = <0>;
-					label = "cpu";
 					ethernet = <&gmac3>;
 					phy-mode = "sgmii";
 					fixed-link {
arch/arm/boot/dts/r9a06g032.dtsi +0 -1
index 41e19c0986ce..338deb39a4bf 100644
@@ -401,7 +401,6 @@ switch_port3: port@3 {
 				switch_port4: port@4 {
 					reg = <4>;
 					ethernet = <&gmac2>;
-					label = "cpu";
 					phy-mode = "internal";
 					status = "disabled";
 					fixed-link {
arch/arm/boot/dts/stm32mp151a-prtt1c.dts +0 -1
index 7ecf31263abc..672d48fc6009 100644
@@ -290,7 +290,6 @@ port@3 {
 
 			port@4 {
 				reg = <4>;
-				label = "cpu";
 				ethernet = <&ethernet0>;
 				phy-mode = "rmii";
 
arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts +0 -1
index 97518afe4658..98c4daa5562f 100644
@@ -169,7 +169,6 @@ port4: port@4 {
 
 				port8: port@8 {
 					reg = <8>;
-					label = "cpu";
 					ethernet = <&gmac>;
 					phy-mode = "rgmii-txid";
 					fixed-link {
arch/arm/boot/dts/vf610-zii-cfu1.dts +0 -1
index 96495d965163..67bab3f32feb 100644
@@ -202,7 +202,6 @@ port@5 {
 
 				port@6 {
 					reg = <6>;
-					label = "cpu";
 					ethernet = <&fec1>;
 
 					fixed-link {
arch/arm/boot/dts/vf610-zii-dev-rev-b.dts +0 -1
index 42ed4a04a12e..bf481d6e366b 100644
@@ -75,7 +75,6 @@ fixed-link {
 
 					port@6 {
 						reg = <6>;
-						label = "cpu";
 						ethernet = <&fec1>;
 
 						fixed-link {
arch/arm/boot/dts/vf610-zii-dev-rev-c.dts +0 -1
index f892977da9e4..fcce4743ed43 100644
@@ -44,7 +44,6 @@ ports {
 
 					port@0 {
 						reg = <0>;
-						label = "cpu";
 						ethernet = <&fec1>;
 
 						fixed-link {
arch/arm/boot/dts/vf610-zii-scu4-aib.dts +0 -1
index 040a1f8b6130..ca53c50ab1d7 100644
@@ -59,7 +59,6 @@ ports {
 
 					port@0 {
 						reg = <0>;
-						label = "cpu";
 						ethernet = <&fec1>;
 
 						fixed-link {
arch/arm/boot/dts/vf610-zii-spb4.dts +0 -1
index 6c6ec46fd015..a6c33eacc2db 100644
@@ -140,7 +140,6 @@ ports {
 
 				port@0 {
 					reg = <0>;
-					label = "cpu";
 					ethernet = <&fec1>;
 
 					fixed-link {
arch/arm/boot/dts/vf610-zii-ssmb-dtu.dts +0 -1
index 73fdace4cb42..5978ef45b778 100644
@@ -129,7 +129,6 @@ ports {
 
 				port@0 {
 					reg = <0>;
-					label = "cpu";
 					ethernet = <&fec1>;
 
 					fixed-link {
arch/arm/boot/dts/vf610-zii-ssmb-spu3.dts +0 -1
index fe600ab2e4bd..625fc6d10ac0 100644
@@ -154,7 +154,6 @@ ports {
 
 				port@0 {
 					reg = <0>;
-					label = "cpu";
 					ethernet = <&fec1>;
 
 					fixed-link {
Signature · 1 line
2.34.1
Acked-by on v1 2/5
#5 lore raw

Re: [PATCH 2/5] arm: dts: remove label = "cpu" from DSA dt-binding

CC cleger

Quoted 5 lines · Arınç ÜNAL

This is not used by the DSA dt-binding, so remove it from all devicetrees.

 arch/arm/boot/dts/r9a06g032.dtsi                          | 1 -

arch/arm/boot/dts/r9a06g032.dtsi switch_port3: port@3 { · line 406

Quoted 10 lines
arch/arm/boot/dts/r9a06g032.dtsi +0 -1
@@ -401,7 +401,6 @@ switch_port3: port@3 {
                                switch_port4: port@4 {
                                        reg = <4>;
                                        ethernet = <&gmac2>;
-                                       label = "cpu";
                                        phy-mode = "internal";
                                        status = "disabled";
                                        fixed-link {

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

Reviewed-by on v1 2/5
#6 lore raw

Re: [PATCH 2/5] arm: dts: remove label = "cpu" from DSA dt-binding

In reply to Arınç ÜNAL
Quoted 6 lines · Arınç ÜNAL

This is not used by the DSA dt-binding, so remove it from all devicetrees.

---
 arch/arm/boot/dts/imx6qdl-skov-cpu.dtsi                   | 1 -
 arch/arm/boot/dts/imx6qp-prtwd3.dts                       | 1 -

Thx!

Signature · 4 lines
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
maintainer Acked-by on v1 2/5
#9 lore raw

Re: [PATCH 2/5] arm: dts: remove label = "cpu" from DSA dt-binding

In reply to Arınç ÜNAL

Dne sreda, 30. november 2022 ob 15:10:37 CET je Arınç ÜNAL napisal(a):

Quoted 64 lines

This is not used by the DSA dt-binding, so remove it from all devicetrees.

---
 arch/arm/boot/dts/armada-370-rd.dts                       | 1 -
 arch/arm/boot/dts/armada-381-netgear-gs110emx.dts         | 1 -
 arch/arm/boot/dts/armada-385-clearfog-gtr-l8.dts          | 1 -
 arch/arm/boot/dts/armada-385-clearfog-gtr-s4.dts          | 1 -
 arch/arm/boot/dts/armada-385-linksys.dtsi                 | 1 -
 arch/arm/boot/dts/armada-385-turris-omnia.dts             | 1 -
 arch/arm/boot/dts/armada-388-clearfog.dts                 | 1 -
 arch/arm/boot/dts/armada-xp-linksys-mamba.dts             | 1 -
 arch/arm/boot/dts/at91-sama5d2_icp.dts                    | 1 -
 arch/arm/boot/dts/at91-sama5d3_ksz9477_evb.dts            | 1 -
 arch/arm/boot/dts/bcm-cygnus.dtsi                         | 1 -
 arch/arm/boot/dts/bcm4708-buffalo-wzr-1166dhp-common.dtsi | 1 -
 arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts              | 1 -
 arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts              | 1 -
 arch/arm/boot/dts/bcm4708-netgear-r6250.dts               | 1 -
 arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts             | 1 -
 arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts        | 1 -
 arch/arm/boot/dts/bcm47081-luxul-xap-1410.dts             | 1 -
 arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts             | 1 -
 arch/arm/boot/dts/bcm4709-netgear-r8000.dts               | 1 -
 arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts              | 3 ---
 arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts             | 1 -
 arch/arm/boot/dts/bcm47094-linksys-panamera.dts           | 4 ----
 arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts             | 1 -
 arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts             | 1 -
 arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts             | 1 -
 arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts             | 1 -
 arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts             | 1 -
 arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts          | 1 -
 arch/arm/boot/dts/bcm47189-tenda-ac9.dts                  | 1 -
 arch/arm/boot/dts/bcm53015-meraki-mr26.dts                | 1 -
 arch/arm/boot/dts/bcm53016-meraki-mr32.dts                | 1 -
 arch/arm/boot/dts/bcm953012er.dts                         | 1 -
 arch/arm/boot/dts/bcm958622hr.dts                         | 1 -
 arch/arm/boot/dts/bcm958623hr.dts                         | 1 -
 arch/arm/boot/dts/bcm958625hr.dts                         | 1 -
 arch/arm/boot/dts/bcm958625k.dts                          | 1 -
 arch/arm/boot/dts/bcm988312hr.dts                         | 1 -
 arch/arm/boot/dts/gemini-dlink-dir-685.dts                | 1 -
 arch/arm/boot/dts/gemini-sl93512r.dts                     | 1 -
 arch/arm/boot/dts/gemini-sq201.dts                        | 1 -
 arch/arm/boot/dts/imx51-zii-rdu1.dts                      | 1 -
 arch/arm/boot/dts/imx51-zii-scu2-mezz.dts                 | 1 -
 arch/arm/boot/dts/imx51-zii-scu3-esb.dts                  | 1 -
 arch/arm/boot/dts/imx53-kp-hsc.dts                        | 1 -
 arch/arm/boot/dts/imx6dl-yapp4-common.dtsi                | 1 -
 arch/arm/boot/dts/imx6q-b450v3.dts                        | 1 -
 arch/arm/boot/dts/imx6q-b650v3.dts                        | 1 -
 arch/arm/boot/dts/imx6q-b850v3.dts                        | 1 -
 arch/arm/boot/dts/imx6qdl-gw5904.dtsi                     | 1 -
 arch/arm/boot/dts/imx6qdl-skov-cpu.dtsi                   | 1 -
 arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi                   | 1 -
 arch/arm/boot/dts/imx6qp-prtwd3.dts                       | 1 -
 arch/arm/boot/dts/imx7d-zii-rpu2.dts                      | 1 -
 arch/arm/boot/dts/kirkwood-dir665.dts                     | 1 -
 arch/arm/boot/dts/kirkwood-l-50.dts                       | 1 -
 arch/arm/boot/dts/kirkwood-linksys-viper.dts              | 1 -
 arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts            | 1 -
 arch/arm/boot/dts/kirkwood-rd88f6281.dtsi                 | 1 -
 arch/arm/boot/dts/mt7623a-rfb-emmc.dts                    | 1 -
Quoted 8 lines
 arch/arm/boot/dts/mt7623a-rfb-nand.dts                    | 1 -
 arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts             | 1 -
 arch/arm/boot/dts/mt7623n-rfb-emmc.dts                    | 1 -
 arch/arm/boot/dts/orion5x-netgear-wnr854t.dts             | 1 -
 arch/arm/boot/dts/qcom-ipq8064-rb3011.dts                 | 2 --
 arch/arm/boot/dts/r9a06g032.dtsi                          | 1 -
 arch/arm/boot/dts/stm32mp151a-prtt1c.dts                  | 1 -
 arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts                 | 1 -

For sun7i:

Best regards,
Jernej

Quoted 8 lines
 arch/arm/boot/dts/vf610-zii-cfu1.dts                      | 1 -
 arch/arm/boot/dts/vf610-zii-dev-rev-b.dts                 | 1 -
 arch/arm/boot/dts/vf610-zii-dev-rev-c.dts                 | 1 -
 arch/arm/boot/dts/vf610-zii-scu4-aib.dts                  | 1 -
 arch/arm/boot/dts/vf610-zii-spb4.dts                      | 1 -
 arch/arm/boot/dts/vf610-zii-ssmb-dtu.dts                  | 1 -
 arch/arm/boot/dts/vf610-zii-ssmb-spu3.dts                 | 1 -
 75 files changed, 81 deletions(-)
#10 lore raw

PATCH 3/5 arm64: dts: remove label = "cpu" from DSA dt-binding

In reply to Arınç ÜNAL

This is not used by the DSA dt-binding, so remove it from all devicetrees.

---
 arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts     | 1 -
 arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx.dts     | 1 -
 arch/arm64/boot/dts/freescale/imx8mq-zii-ultra.dtsi        | 1 -
 arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi   | 1 -
 arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts     | 2 --
 arch/arm64/boot/dts/marvell/armada-7040-mochabin.dts       | 1 -
 arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts | 1 -
 arch/arm64/boot/dts/marvell/cn9130-crb.dtsi                | 1 -
 arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts   | 1 -
 arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts               | 1 -
 arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts               | 1 -
 arch/arm64/boot/dts/mediatek/mt7986b-rfb.dts               | 1 -
 arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts         | 1 -
 13 files changed, 14 deletions(-)
arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts +0 -1
index 750a1f07ecb7..2b1fd70acdec 100644
@@ -662,7 +662,6 @@ lan4: port@3 {
 
 			port@5 {
 				reg = <5>;
-				label = "cpu";
 				ethernet = <&fec1>;
 				phy-mode = "rgmii-id";
 
arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx.dts +0 -1
index ceeca4966fc5..7a70eb2d1275 100644
@@ -546,7 +546,6 @@ lan5: port@4 {
 
 			port@5 {
 				reg = <5>;
-				label = "cpu";
 				ethernet = <&fec>;
 				phy-mode = "rgmii-id";
 
arch/arm64/boot/dts/freescale/imx8mq-zii-ultra.dtsi +0 -1
index 4e05120c62d4..efa895b2316d 100644
@@ -177,7 +177,6 @@ port@1 {
 
 				port@2 {
 					reg = <2>;
-					label = "cpu";
 					ethernet = <&fec1>;
 
 					fixed-link {
arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi +0 -1
index 5fc613d24151..21e7fb64515c 100644
@@ -159,7 +159,6 @@ ports {
 
 			switch0port0: port@0 {
 				reg = <0>;
-				label = "cpu";
 				ethernet = <&eth0>;
 				phy-mode = "rgmii-id";
 				fixed-link {
arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts +0 -2
index ada164d423f3..d8601b188cca 100644
@@ -400,7 +400,6 @@ port@8 {
 
 			port@9 {
 				reg = <0x9>;
-				label = "cpu";
 				ethernet = <&eth1>;
 				phy-mode = "2500base-x";
 				managed = "in-band-status";
@@ -485,7 +484,6 @@ port@4 {
 
 			port@5 {
 				reg = <0x5>;
-				label = "cpu";
 				phy-mode = "2500base-x";
 				managed = "in-band-status";
 				ethernet = <&eth1>;
arch/arm64/boot/dts/marvell/armada-7040-mochabin.dts +0 -1
index 7ca71f2d7afb..7c65c0772208 100644
@@ -344,7 +344,6 @@ swport4: port@4 {
 
 			port@5 {
 				reg = <5>;
-				label = "cpu";
 				ethernet = <&cp0_eth1>;
 				phy-mode = "2500base-x";
 				managed = "in-band-status";
arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts +0 -1
index 4125202028c8..60b11eeaeb9e 100644
@@ -534,7 +534,6 @@ port@4 {
 
 			port@5 {
 				reg = <5>;
-				label = "cpu";
 				ethernet = <&cp1_eth2>;
 				phy-mode = "2500base-x";
 				managed = "in-band-status";
arch/arm64/boot/dts/marvell/cn9130-crb.dtsi +0 -1
index 8e4ec243fb8f..cc4b9daf52c6 100644
@@ -282,7 +282,6 @@ port@9 {
 
 			port@a {
 				reg = <10>;
-				label = "cpu";
 				ethernet = <&cp0_eth0>;
 			};
 
arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts +0 -1
index af3fe61e4093..42369ca3df8a 100644
@@ -183,7 +183,6 @@ port@4 {
 
 				port@6 {
 					reg = <6>;
-					label = "cpu";
 					ethernet = <&gmac0>;
 					phy-mode = "2500base-x";
 
arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts +0 -1
index b74e774c6eba..f029198a63cd 100644
@@ -156,7 +156,6 @@ port@4 {
 
 				port@6 {
 					reg = <6>;
-					label = "cpu";
 					ethernet = <&gmac0>;
 					phy-mode = "2500base-x";
 
arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts +0 -1
index 9b83925893b7..1e98210959e1 100644
@@ -172,7 +172,6 @@ port@4 {
 
 		port@6 {
 			reg = <6>;
-			label = "cpu";
 			ethernet = <&gmac0>;
 			phy-mode = "2500base-x";
 
arch/arm64/boot/dts/mediatek/mt7986b-rfb.dts +0 -1
index 243760cd3011..6e4f349e965a 100644
@@ -84,7 +84,6 @@ port@4 {
 
 				port@6 {
 					reg = <6>;
-					label = "cpu";
 					ethernet = <&gmac0>;
 					phy-mode = "2500base-x";
 
arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts +0 -1
index c282f6e79960..b71162d65d2e 100644
@@ -552,7 +552,6 @@ port@4 {
 
 			port@5 {
 				reg = <5>;
-				label = "cpu";
 				ethernet = <&gmac0>;
 				phy-mode = "rgmii";
 
Signature · 1 line
2.34.1
maintainer Acked-by on v1 3/5
#11 lore raw

Re: [PATCH 3/5] arm64: dts: remove label = "cpu" from DSA dt-binding

Am Mittwoch, 30. November 2022, 15:10:38 CET schrieb Arınç ÜNAL:

Quoted 11 lines

This is not used by the DSA dt-binding, so remove it from all devicetrees.

---

arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts +0 -0
index c282f6e79960..b71162d65d2e 100644

arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts port@4 { · line 557

Quoted 7 lines
arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts +0 -1
@@ -552,7 +552,6 @@ port@4 {
 
 			port@5 {
 				reg = <5>;
-				label = "cpu";
 				ethernet = <&gmac0>;
 				phy-mode = "rgmii";
 

Rockchip-part:

#12 lore raw

PATCH 4/5 mips: dts: remove label = "cpu" from DSA dt-binding

In reply to Arınç ÜNAL

This is not used by the DSA dt-binding, so remove it from all devicetrees.

---
 arch/mips/boot/dts/qca/ar9331.dtsi    | 1 -
 arch/mips/boot/dts/ralink/mt7621.dtsi | 1 -
 2 files changed, 2 deletions(-)
arch/mips/boot/dts/qca/ar9331.dtsi +0 -1
index c4102b280b47..768ac0f869b1 100644
@@ -176,7 +176,6 @@ ports {
 
 						switch_port0: port@0 {
 							reg = <0x0>;
-							label = "cpu";
 							ethernet = <&eth1>;
 
 							phy-mode = "gmii";
arch/mips/boot/dts/ralink/mt7621.dtsi +0 -1
index f3f4c1f26e01..445817cbf376 100644
@@ -386,7 +386,6 @@ port@4 {
 
 					port@6 {
 						reg = <6>;
-						label = "cpu";
 						ethernet = <&gmac0>;
 						phy-mode = "trgmii";
 
Signature · 1 line
2.34.1
Reviewed-by on v1 4/5
#14 lore raw

Re: [PATCH 4/5] mips: dts: remove label = "cpu" from DSA dt-binding

In reply to Arınç ÜNAL
Quoted 13 lines · Arınç ÜNAL

This is not used by the DSA dt-binding, so remove it from all devicetrees.

---
 arch/mips/boot/dts/qca/ar9331.dtsi    | 1 -
 arch/mips/boot/dts/ralink/mt7621.dtsi | 1 -
 2 files changed, 2 deletions(-)
arch/mips/boot/dts/qca/ar9331.dtsi +0 -0
index c4102b280b47..768ac0f869b1 100644

arch/mips/boot/dts/qca/ar9331.dtsi ports { · line 181

Quoted 7 lines
arch/mips/boot/dts/qca/ar9331.dtsi +0 -1
@@ -176,7 +176,6 @@ ports {
 
 						switch_port0: port@0 {
 							reg = <0x0>;
-							label = "cpu";
 							ethernet = <&eth1>;
 
 							phy-mode = "gmii";

Thx!

Signature · 4 lines
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
maintainer Applied
#15 lore raw

Re: [PATCH 4/5] mips: dts: remove label = "cpu" from DSA dt-binding

In reply to Arınç ÜNAL
Quoted 34 lines · Arınç ÜNAL

This is not used by the DSA dt-binding, so remove it from all devicetrees.

---
 arch/mips/boot/dts/qca/ar9331.dtsi    | 1 -
 arch/mips/boot/dts/ralink/mt7621.dtsi | 1 -
 2 files changed, 2 deletions(-)
arch/mips/boot/dts/qca/ar9331.dtsi +0 -1
index c4102b280b47..768ac0f869b1 100644
@@ -176,7 +176,6 @@ ports {
 
 						switch_port0: port@0 {
 							reg = <0x0>;
-							label = "cpu";
 							ethernet = <&eth1>;
 
 							phy-mode = "gmii";
arch/mips/boot/dts/ralink/mt7621.dtsi +0 -1
index f3f4c1f26e01..445817cbf376 100644
@@ -386,7 +386,6 @@ port@4 {
 
 					port@6 {
 						reg = <6>;
-						label = "cpu";
 						ethernet = <&gmac0>;
 						phy-mode = "trgmii";
 
Signature · 1 line
2.34.1

applied to mips-next.

Thomas.

Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]
#16 lore raw

PATCH 5/5 powerpc: dts: remove label = "cpu" from DSA dt-binding

In reply to Arınç ÜNAL

This is not used by the DSA dt-binding, so remove it from all devicetrees.

---
 arch/powerpc/boot/dts/turris1x.dts | 2 --
 1 file changed, 2 deletions(-)
arch/powerpc/boot/dts/turris1x.dts +0 -2
index 045af668e928..3841c8d96d00 100644
@@ -147,7 +147,6 @@ ports {
 
 					port@0 {
 						reg = <0>;
-						label = "cpu";
 						ethernet = <&enet1>;
 						phy-mode = "rgmii-id";
 
@@ -184,7 +183,6 @@ port@5 {
 
 					port@6 {
 						reg = <6>;
-						label = "cpu";
 						ethernet = <&enet0>;
 						phy-mode = "rgmii-id";
 
Signature · 1 line
2.34.1
#17 lore raw

Re: [PATCH 5/5] powerpc: dts: remove label = "cpu" from DSA dt-binding

Quoted 6 lines · Arınç ÜNAL

This is not used by the DSA dt-binding, so remove it from all devicetrees.

---
 arch/powerpc/boot/dts/turris1x.dts | 2 --
 1 file changed, 2 deletions(-)

Adding Pali to Cc.

These were only recently updated in commit:

8bf056f57f1d ("powerpc: dts: turris1x.dts: Fix labels in DSA cpu port nodes")

Which said:

DSA cpu port node has to be marked with "cpu" label.

But if the binding doesn't use them then I'm confused why they needed to be updated.

cheers

Quoted 22 lines
arch/powerpc/boot/dts/turris1x.dts +0 -2
index 045af668e928..3841c8d96d00 100644
@@ -147,7 +147,6 @@ ports {
 
 					port@0 {
 						reg = <0>;
-						label = "cpu";
 						ethernet = <&enet1>;
 						phy-mode = "rgmii-id";
 
@@ -184,7 +183,6 @@ port@5 {
 
 					port@6 {
 						reg = <6>;
-						label = "cpu";
 						ethernet = <&enet0>;
 						phy-mode = "rgmii-id";
 
Signature · 1 line
2.34.1
#18 lore raw

Re: [PATCH 5/5] powerpc: dts: remove label = "cpu" from DSA dt-binding

Quoted 14 lines · On Thursday 01 December 2022 21:40:03 Michael Ellerman wrote:
Quoted 6 lines · Arınç ÜNAL

This is not used by the DSA dt-binding, so remove it from all devicetrees.

---
 arch/powerpc/boot/dts/turris1x.dts | 2 --
 1 file changed, 2 deletions(-)

Adding Pali to Cc.

These were only recently updated in commit:

8bf056f57f1d ("powerpc: dts: turris1x.dts: Fix labels in DSA cpu port nodes")

Quoted 8 lines

Which said:

DSA cpu port node has to be marked with "cpu" label.

But if the binding doesn't use them then I'm confused why they needed to be updated.

cheers

I was told by Marek (CCed) that DSA port connected to CPU should have label "cpu" and not "cpu<number>". Modern way for specifying CPU port is by defining reference to network device, which there is already (&enet1 and &enet0). So that change just "fixed" incorrect naming cpu0 and cpu1.

So probably linux kernel does not need label = "cpu" in DTS anymore. But this is not the reason to remove this property. Linux kernel does not use lot of other nodes and properties too... Device tree should describe hardware and not its usage in Linux. "label" property is valid in device tree and it exactly describes what or where is this node connected. And it may be used for other systems.

So I do not see a point in removing "label" properties from turris1x.dts file, nor from any other dts file.

Quoted 23 lines
Quoted 23 lines
arch/powerpc/boot/dts/turris1x.dts +0 -2
index 045af668e928..3841c8d96d00 100644
@@ -147,7 +147,6 @@ ports {
 
 					port@0 {
 						reg = <0>;
-						label = "cpu";
 						ethernet = <&enet1>;
 						phy-mode = "rgmii-id";
 
@@ -184,7 +183,6 @@ port@5 {
 
 					port@6 {
 						reg = <6>;
-						label = "cpu";
 						ethernet = <&enet0>;
 						phy-mode = "rgmii-id";
 
Signature · 1 line
2.34.1
maintainer
#19 lore raw

Re: [PATCH 5/5] powerpc: dts: remove label = "cpu" from DSA dt-binding

Quoted 36 lines · Pali Rohár
Quoted 14 lines · On Thursday 01 December 2022 21:40:03 Michael Ellerman wrote:
Quoted 6 lines · Arınç ÜNAL

This is not used by the DSA dt-binding, so remove it from all devicetrees.

---
 arch/powerpc/boot/dts/turris1x.dts | 2 --
 1 file changed, 2 deletions(-)

Adding Pali to Cc.

These were only recently updated in commit:

8bf056f57f1d ("powerpc: dts: turris1x.dts: Fix labels in DSA cpu port nodes")

Quoted 8 lines

Which said:

DSA cpu port node has to be marked with "cpu" label.

But if the binding doesn't use them then I'm confused why they needed to be updated.

cheers

I was told by Marek (CCed) that DSA port connected to CPU should have label "cpu" and not "cpu<number>". Modern way for specifying CPU port is by defining reference to network device, which there is already (&enet1 and &enet0). So that change just "fixed" incorrect naming cpu0 and cpu1.

So probably linux kernel does not need label = "cpu" in DTS anymore. But this is not the reason to remove this property. Linux kernel does not use lot of other nodes and properties too... Device tree should describe hardware and not its usage in Linux. "label" property is valid in device tree and it exactly describes what or where is this node connected. And it may be used for other systems.

Quoted 2 lines

So I do not see a point in removing "label" properties from turris1x.dts file, nor from any other dts file.

Well, it seems like a bit of an abuse of 'label' to me. 'label' should be aligned with a sticker or other identifier identifying something to a human. Software should never care what the value of 'label' is.

Rob

#20 lore raw

Re: [PATCH 5/5] powerpc: dts: remove label = "cpu" from DSA dt-binding

Quoted 37 lines · On Thursday 01 December 2022 17:44:00 Rob Herring wrote:
Quoted 36 lines · Pali Rohár
Quoted 14 lines · On Thursday 01 December 2022 21:40:03 Michael Ellerman wrote:
Quoted 6 lines · Arınç ÜNAL

This is not used by the DSA dt-binding, so remove it from all devicetrees.

---
 arch/powerpc/boot/dts/turris1x.dts | 2 --
 1 file changed, 2 deletions(-)

Adding Pali to Cc.

These were only recently updated in commit:

8bf056f57f1d ("powerpc: dts: turris1x.dts: Fix labels in DSA cpu port nodes")

Quoted 8 lines

Which said:

DSA cpu port node has to be marked with "cpu" label.

But if the binding doesn't use them then I'm confused why they needed to be updated.

cheers

I was told by Marek (CCed) that DSA port connected to CPU should have label "cpu" and not "cpu<number>". Modern way for specifying CPU port is by defining reference to network device, which there is already (&enet1 and &enet0). So that change just "fixed" incorrect naming cpu0 and cpu1.

So probably linux kernel does not need label = "cpu" in DTS anymore. But this is not the reason to remove this property. Linux kernel does not use lot of other nodes and properties too... Device tree should describe hardware and not its usage in Linux. "label" property is valid in device tree and it exactly describes what or where is this node connected. And it may be used for other systems.

Quoted 8 lines
Quoted 2 lines

So I do not see a point in removing "label" properties from turris1x.dts file, nor from any other dts file.

Well, it seems like a bit of an abuse of 'label' to me. 'label' should be aligned with a sticker or other identifier identifying something to a human. Software should never care what the value of 'label' is.

Rob

But it already does. "label" property is used for setting (initial) network interface name for DSA drivers. And you can try to call e.g. git grep '"cpu"' net/dsa drivers/net/dsa to see that cpu is still present on some dsa places (probably relict or backward compatibility before eth reference).

I agree with you that in this case it is abuse. But I would not say that software should not care about "label". I think that software should care about "label" but only in situation in which it presents information to user. So if user wants to see device with labels *ABC* (meaning show me anything which stickers contains substring ABC) then software should filter devices and turns that with asked label.

The main problem here is _existing_ software. New software should really do not use cpu label for deciding if network port is connected to cpu or not and it should be designed correctly. But you cannot change nor fix old / existing software...

The worst thing which can be done is breaking updated version of (old) software. Prevention is always testing software and in this case testing on the real hardware. I know, it is hard as developers do not have such lot of hardware devices and configurations.

#21 lore raw

Re: [PATCH 5/5] powerpc: dts: remove label = "cpu" from DSA dt-binding

Hi Pali,

Quoted 21 lines · Pali Rohár
Quoted 13 lines · On Thursday 01 December 2022 17:44:00 Rob Herring wrote:
Quoted 12 lines · Pali Rohár

I was told by Marek (CCed) that DSA port connected to CPU should have label "cpu" and not "cpu<number>". Modern way for specifying CPU port is by defining reference to network device, which there is already (&enet1 and &enet0). So that change just "fixed" incorrect naming cpu0 and cpu1.

So probably linux kernel does not need label = "cpu" in DTS anymore. But this is not the reason to remove this property. Linux kernel does not use lot of other nodes and properties too... Device tree should describe hardware and not its usage in Linux. "label" property is valid in device tree and it exactly describes what or where is this node connected. And it may be used for other systems.

Quoted 6 lines
Quoted 2 lines

So I do not see a point in removing "label" properties from turris1x.dts file, nor from any other dts file.

Well, it seems like a bit of an abuse of 'label' to me. 'label' should be aligned with a sticker or other identifier identifying something to a human. Software should never care what the value of 'label' is.

Quoted 5 lines

But it already does. "label" property is used for setting (initial) network interface name for DSA drivers. And you can try to call e.g. git grep '"cpu"' net/dsa drivers/net/dsa to see that cpu is still present on some dsa places (probably relict or backward compatibility before eth reference).

Can you try to eliminate the word "probably" from the information you transmit and be specific about when did the DSA binding parse or require the 'label = "cpu"' property for CPU ports in any way?

#22 lore raw

Re: [PATCH 5/5] powerpc: dts: remove label = "cpu" from DSA dt-binding

Quoted 30 lines · Vladimir Oltean

Hi Pali,

Quoted 21 lines · Pali Rohár
Quoted 13 lines · On Thursday 01 December 2022 17:44:00 Rob Herring wrote:
Quoted 12 lines · Pali Rohár

I was told by Marek (CCed) that DSA port connected to CPU should have label "cpu" and not "cpu<number>". Modern way for specifying CPU port is by defining reference to network device, which there is already (&enet1 and &enet0). So that change just "fixed" incorrect naming cpu0 and cpu1.

So probably linux kernel does not need label = "cpu" in DTS anymore. But this is not the reason to remove this property. Linux kernel does not use lot of other nodes and properties too... Device tree should describe hardware and not its usage in Linux. "label" property is valid in device tree and it exactly describes what or where is this node connected. And it may be used for other systems.

Quoted 6 lines
Quoted 2 lines

So I do not see a point in removing "label" properties from turris1x.dts file, nor from any other dts file.

Well, it seems like a bit of an abuse of 'label' to me. 'label' should be aligned with a sticker or other identifier identifying something to a human. Software should never care what the value of 'label' is.

Quoted 5 lines

But it already does. "label" property is used for setting (initial) network interface name for DSA drivers. And you can try to call e.g. git grep '"cpu"' net/dsa drivers/net/dsa to see that cpu is still present on some dsa places (probably relict or backward compatibility before eth reference).

Quoted 3 lines

Can you try to eliminate the word "probably" from the information you transmit and be specific about when did the DSA binding parse or require the 'label = "cpu"' property for CPU ports in any way?

As Jonas (on CC) pointed out, I only see this being used in the swconfig b53 driver which uses the label to identify the cpu port.

https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=target/linux/generic/files/drivers/net/phy/b53/b53_common.c;h=87d731ec3e2a868dc8389f554b1dc9ab42c30be2;hb=HEAD#l1508

Maybe this got into DSA dt-bindings unchecked before it was decided to move forward with DSA instead of swconfig on Linux.

Arınç

#23 lore raw

Re: [PATCH 5/5] powerpc: dts: remove label = "cpu" from DSA dt-binding

Quoted 7 lines · Arınç ÜNAL

As Jonas (on CC) pointed out, I only see this being used in the swconfig b53 driver which uses the label to identify the cpu port.

https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=target/linux/generic/files/drivers/net/phy/b53/b53_common.c;h=87d731ec3e2a868dc8389f554b1dc9ab42c30be2;hb=HEAD#l1508

Maybe this got into DSA dt-bindings unchecked before it was decided to move forward with DSA instead of swconfig on Linux.

Yes, but swconfig is not DSA and their bindings are not compatible anyway (swconfig lacks an ethernet = <&phandle> property that would allow DSA to work). Still waiting for Pali to clarify what he had in mind.

maintainer Reviewed-by on the v1 series
#24 lore raw
In reply to Arınç ÜNAL
Quoted 10 lines · Arınç ÜNAL

Hello folks,

With this patch series, we're completely getting rid of 'label = "cpu";' which is not used by the DSA dt-binding at all.

Information for taking the patches for maintainers:
Patch 1: netdev maintainers (based off netdev/net-next.git main) Patch 2-3: SoC maintainers (based off soc/soc.git soc/dt) Patch 4: MIPS maintainers (based off mips/linux.git mips-next) Patch 5: PowerPC maintainers (based off powerpc/linux.git next-test)

Hi Arınç

So your plan is that each architecture maintainer merges one patch?

That is fine, but it is good to be explicit, otherwise patches will fall through the cracks because nobody picks them up. I generally use
To: to indicate who i expect to merge a patch, and everybody else in the Cc:

Andrew

#25 lore raw
Quoted 12 lines · Andrew Lunn
Quoted 10 lines · Arınç ÜNAL

Hello folks,

With this patch series, we're completely getting rid of 'label = "cpu";' which is not used by the DSA dt-binding at all.

Information for taking the patches for maintainers:
Patch 1: netdev maintainers (based off netdev/net-next.git main) Patch 2-3: SoC maintainers (based off soc/soc.git soc/dt) Patch 4: MIPS maintainers (based off mips/linux.git mips-next) Patch 5: PowerPC maintainers (based off powerpc/linux.git next-test)

Quoted 3 lines

Hi Arınç

So your plan is that each architecture maintainer merges one patch?

Initially, I sent this series to [email protected] to take it all but Rob said it must be this way instead.

Quoted 5 lines

That is fine, but it is good to be explicit, otherwise patches will fall through the cracks because nobody picks them up. I generally use
To: to indicate who i expect to merge a patch, and everybody else in the Cc:

Thanks for this, I'll follow suit if I don't see any activity for a few weeks.

Quoted 4 lines

Andrew

Arınç

#26 lore raw
Quoted 21 lines · Arınç ÜNAL
Quoted 12 lines · Andrew Lunn
Quoted 10 lines · Arınç ÜNAL

Hello folks,

With this patch series, we're completely getting rid of 'label = "cpu";' which is not used by the DSA dt-binding at all.

Information for taking the patches for maintainers:
Patch 1: netdev maintainers (based off netdev/net-next.git main) Patch 2-3: SoC maintainers (based off soc/soc.git soc/dt) Patch 4: MIPS maintainers (based off mips/linux.git mips-next) Patch 5: PowerPC maintainers (based off powerpc/linux.git next-test)

Quoted 3 lines

Hi Arınç

So your plan is that each architecture maintainer merges one patch?

Initially, I sent this series to [email protected] to take it all but Rob said it must be this way instead.

Quoted 1 line
Quoted 7 lines
Quoted 4 lines

That is fine, but it is good to be explicit, otherwise patches will fall through the cracks because nobody picks them up. I generally use
To: to indicate who i expect to merge a patch, and everybody else in the Cc:

Thanks for this, I'll follow suit if I don't see any activity for a few weeks.

IMHO the best solution if the patches are truly independent is to send them independantly to each maintainer. That way there's no confusion about whether someone else will take the series.

It's also simpler for maintainers to apply a single standalone patch vs pick a single patch from a larger series.

cheers

#27 lore raw
Quoted 30 lines · Michael Ellerman
Quoted 21 lines · Arınç ÜNAL
Quoted 12 lines · Andrew Lunn
Quoted 10 lines · Arınç ÜNAL

Hello folks,

With this patch series, we're completely getting rid of 'label = "cpu";' which is not used by the DSA dt-binding at all.

Information for taking the patches for maintainers:
Patch 1: netdev maintainers (based off netdev/net-next.git main) Patch 2-3: SoC maintainers (based off soc/soc.git soc/dt) Patch 4: MIPS maintainers (based off mips/linux.git mips-next) Patch 5: PowerPC maintainers (based off powerpc/linux.git next-test)

Quoted 3 lines

Hi Arınç

So your plan is that each architecture maintainer merges one patch?

Initially, I sent this series to [email protected] to take it all but Rob said it must be this way instead.

Quoted 1 line
Quoted 7 lines
Quoted 4 lines

That is fine, but it is good to be explicit, otherwise patches will fall through the cracks because nobody picks them up. I generally use
To: to indicate who i expect to merge a patch, and everybody else in the Cc:

Thanks for this, I'll follow suit if I don't see any activity for a few weeks.

Quoted 6 lines

IMHO the best solution if the patches are truly independent is to send them independantly to each maintainer. That way there's no confusion about whether someone else will take the series.

It's also simpler for maintainers to apply a single standalone patch vs pick a single patch from a larger series.

I agree. I'll do that next time.

Cheers.
Arınç

#28 lore raw
In reply to Arınç ÜNAL

I'm sending a more specific mail to make sure this series doesn't fall through the cracks like Andrew said. I'd like this merged this week before the merge window closes.

Jakub, please take patch 1. Arnd, please take patch 2 and 3. Thomas, please take patch 4. Michael, please take patch 5.

Arınç

Quoted 41 lines · Arınç ÜNAL

Hello folks,

With this patch series, we're completely getting rid of 'label = "cpu";' which is not used by the DSA dt-binding at all.

Information for taking the patches for maintainers:
Patch 1: netdev maintainers (based off netdev/net-next.git main) Patch 2-3: SoC maintainers (based off soc/soc.git soc/dt) Patch 4: MIPS maintainers (based off mips/linux.git mips-next) Patch 5: PowerPC maintainers (based off powerpc/linux.git next-test)

I've been meaning to submit this for a few months. Find the relevant conversation here:
https://lore.kernel.org/netdev/[email protected]/

Here's how I did it, for the interested (or suggestions):

Find the platforms which have got 'label = "cpu";' defined. grep -rnw . -e 'label = "cpu";'

Remove the line where 'label = "cpu";' is included.
sed -i /'label = "cpu";'/,+d arch/arm/boot/dts/*
sed -i /'label = "cpu";'/,+d arch/arm64/boot/dts/freescale/*
sed -i /'label = "cpu";'/,+d arch/arm64/boot/dts/marvell/*
sed -i /'label = "cpu";'/,+d arch/arm64/boot/dts/mediatek/*
sed -i /'label = "cpu";'/,+d arch/arm64/boot/dts/rockchip/*
sed -i /'label = "cpu";'/,+d arch/mips/boot/dts/qca/*
sed -i /'label = "cpu";'/,+d arch/mips/boot/dts/ralink/*
sed -i /'label = "cpu";'/,+d arch/powerpc/boot/dts/turris1x.dts
sed -i /'label = "cpu";'/,+d Documentation/devicetree/bindings/net/qca,ar71xx.yaml

Restore the symlink files which typechange after running sed.

Arınç ÜNAL (5):
dt-bindings: net: qca,ar71xx: remove label = "cpu" from examples
arm: dts: remove label = "cpu" from DSA dt-binding
arm64: dts: remove label = "cpu" from DSA dt-binding
mips: dts: remove label = "cpu" from DSA dt-binding
powerpc: dts: remove label = "cpu" from DSA dt-binding

#29 lore raw
In reply to Arınç ÜNAL
This series was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:

Hello:

This series was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:

Quoted 5 lines · On Wed, 30 Nov 2022 17:10:35 +0300 you wrote:

Hello folks,

With this patch series, we're completely getting rid of 'label = "cpu";' which is not used by the DSA dt-binding at all.

Quoted 7 lines

Information for taking the patches for maintainers:
Patch 1: netdev maintainers (based off netdev/net-next.git main) Patch 2-3: SoC maintainers (based off soc/soc.git soc/dt) Patch 4: MIPS maintainers (based off mips/linux.git mips-next) Patch 5: PowerPC maintainers (based off powerpc/linux.git next-test)

[...]

Here is the summary with links:
- [1/5] dt-bindings: net: qca,ar71xx: remove label = "cpu" from examples

    https://git.kernel.org/netdev/net-next/c/ce36d7ef4e08

- [2/5] arm: dts: remove label = "cpu" from DSA dt-binding (no matching commit)
- [3/5] arm64: dts: remove label = "cpu" from DSA dt-binding (no matching commit)
- [4/5] mips: dts: remove label = "cpu" from DSA dt-binding (no matching commit)
- [5/5] powerpc: dts: remove label = "cpu" from DSA dt-binding (no matching commit)

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html