linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] remove label = "cpu" from DSA dt-binding
@ 2022-11-30 14:10 Arınç ÜNAL
  2022-11-30 14:10 ` [PATCH 1/5] dt-bindings: net: qca,ar71xx: remove label = "cpu" from examples Arınç ÜNAL
                   ` (6 more replies)
  0 siblings, 7 replies; 28+ messages in thread
From: Arınç ÜNAL @ 2022-11-30 14:10 UTC (permalink / raw)
  To: Vladimir Oltean, Krzysztof Kozlowski, soc, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring,
	Krzysztof Kozlowski, Andrew Lunn, Gregory Clement,
	Sebastian Hesselbarth, Russell King, Nicolas Ferre,
	Alexandre Belloni, Claudiu Beznea, Ray Jui, Scott Branden,
	Broadcom internal kernel review list, Florian Fainelli,
	Hauke Mehrtens, Rafał Miłecki, Hans Ulli Kroll,
	Linus Walleij, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, NXP Linux Team, Matthias Brugger, Andy Gross,
	Bjorn Andersson, Konrad Dybcio, Geert Uytterhoeven, Magnus Damm,
	Maxime Coquelin, Alexandre Torgue, Chen-Yu Tsai, Jernej Skrabec,
	Samuel Holland, Stefan Agner, Heiko Stuebner,
	Thomas Bogendoerfer, Arınç ÜNAL,
	Sergio Paracuellos, Michael Ellerman, Nicholas Piggin,
	Christophe Leroy, Tim Harvey, Peng Fan, Rasmus Villemoes,
	Frank Wunderlich, Michael Riesch, Oleksij Rempel
  Cc: netdev, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek, linux-arm-msm, linux-renesas-soc, linux-stm32,
	linux-sunxi, linux-rockchip, linux-mips, linuxppc-dev

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/20220913155408.GA3802998-robh@kernel.org/

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



^ permalink raw reply	[flat|nested] 28+ messages in thread

* [PATCH 1/5] dt-bindings: net: qca,ar71xx: remove label = "cpu" from examples
  2022-11-30 14:10 [PATCH 0/5] remove label = "cpu" from DSA dt-binding Arınç ÜNAL
@ 2022-11-30 14:10 ` Arınç ÜNAL
  2022-12-01  6:13   ` Oleksij Rempel
  2022-12-01 23:46   ` Rob Herring
  2022-11-30 14:10 ` [PATCH 2/5] arm: dts: remove label = "cpu" from DSA dt-binding Arınç ÜNAL
                   ` (5 subsequent siblings)
  6 siblings, 2 replies; 28+ messages in thread
From: Arınç ÜNAL @ 2022-11-30 14:10 UTC (permalink / raw)
  To: Vladimir Oltean, Krzysztof Kozlowski, soc, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring,
	Krzysztof Kozlowski, Andrew Lunn, Gregory Clement,
	Sebastian Hesselbarth, Russell King, Nicolas Ferre,
	Alexandre Belloni, Claudiu Beznea, Ray Jui, Scott Branden,
	Broadcom internal kernel review list, Florian Fainelli,
	Hauke Mehrtens, Rafał Miłecki, Hans Ulli Kroll,
	Linus Walleij, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, NXP Linux Team, Matthias Brugger, Andy Gross,
	Bjorn Andersson, Konrad Dybcio, Geert Uytterhoeven, Magnus Damm,
	Maxime Coquelin, Alexandre Torgue, Chen-Yu Tsai, Jernej Skrabec,
	Samuel Holland, Stefan Agner, Heiko Stuebner,
	Thomas Bogendoerfer, Arınç ÜNAL,
	Sergio Paracuellos, Michael Ellerman, Nicholas Piggin,
	Christophe Leroy, Tim Harvey, Peng Fan, Rasmus Villemoes,
	Frank Wunderlich, Michael Riesch, Oleksij Rempel
  Cc: netdev, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek, linux-arm-msm, linux-renesas-soc, linux-stm32,
	linux-sunxi, linux-rockchip, linux-mips, linuxppc-dev

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

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
---
 Documentation/devicetree/bindings/net/qca,ar71xx.yaml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/net/qca,ar71xx.yaml b/Documentation/devicetree/bindings/net/qca,ar71xx.yaml
index 1ebf9e8c8a1d..89f94b31b546 100644
--- a/Documentation/devicetree/bindings/net/qca,ar71xx.yaml
+++ b/Documentation/devicetree/bindings/net/qca,ar71xx.yaml
@@ -123,7 +123,6 @@ examples:
 
                     switch_port0: port@0 {
                         reg = <0x0>;
-                        label = "cpu";
                         ethernet = <&eth1>;
 
                         phy-mode = "gmii";
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH 2/5] arm: dts: remove label = "cpu" from DSA dt-binding
  2022-11-30 14:10 [PATCH 0/5] remove label = "cpu" from DSA dt-binding Arınç ÜNAL
  2022-11-30 14:10 ` [PATCH 1/5] dt-bindings: net: qca,ar71xx: remove label = "cpu" from examples Arınç ÜNAL
@ 2022-11-30 14:10 ` Arınç ÜNAL
  2022-11-30 14:51   ` Geert Uytterhoeven
                     ` (3 more replies)
  2022-11-30 14:10 ` [PATCH 3/5] arm64: " Arınç ÜNAL
                   ` (4 subsequent siblings)
  6 siblings, 4 replies; 28+ messages in thread
From: Arınç ÜNAL @ 2022-11-30 14:10 UTC (permalink / raw)
  To: Vladimir Oltean, Krzysztof Kozlowski, soc, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring,
	Krzysztof Kozlowski, Andrew Lunn, Gregory Clement,
	Sebastian Hesselbarth, Russell King, Nicolas Ferre,
	Alexandre Belloni, Claudiu Beznea, Ray Jui, Scott Branden,
	Broadcom internal kernel review list, Florian Fainelli,
	Hauke Mehrtens, Rafał Miłecki, Hans Ulli Kroll,
	Linus Walleij, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, NXP Linux Team, Matthias Brugger, Andy Gross,
	Bjorn Andersson, Konrad Dybcio, Geert Uytterhoeven, Magnus Damm,
	Maxime Coquelin, Alexandre Torgue, Chen-Yu Tsai, Jernej Skrabec,
	Samuel Holland, Stefan Agner, Heiko Stuebner,
	Thomas Bogendoerfer, Arınç ÜNAL,
	Sergio Paracuellos, Michael Ellerman, Nicholas Piggin,
	Christophe Leroy, Tim Harvey, Peng Fan, Rasmus Villemoes,
	Frank Wunderlich, Michael Riesch, Oleksij Rempel
  Cc: netdev, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek, linux-arm-msm, linux-renesas-soc, linux-stm32,
	linux-sunxi, linux-rockchip, linux-mips, linuxppc-dev

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

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
---
 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(-)

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


^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH 3/5] arm64: dts: remove label = "cpu" from DSA dt-binding
  2022-11-30 14:10 [PATCH 0/5] remove label = "cpu" from DSA dt-binding Arınç ÜNAL
  2022-11-30 14:10 ` [PATCH 1/5] dt-bindings: net: qca,ar71xx: remove label = "cpu" from examples Arınç ÜNAL
  2022-11-30 14:10 ` [PATCH 2/5] arm: dts: remove label = "cpu" from DSA dt-binding Arınç ÜNAL
@ 2022-11-30 14:10 ` Arınç ÜNAL
  2022-11-30 18:40   ` Heiko Stübner
  2022-11-30 14:10 ` [PATCH 4/5] mips: " Arınç ÜNAL
                   ` (3 subsequent siblings)
  6 siblings, 1 reply; 28+ messages in thread
From: Arınç ÜNAL @ 2022-11-30 14:10 UTC (permalink / raw)
  To: Vladimir Oltean, Krzysztof Kozlowski, soc, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring,
	Krzysztof Kozlowski, Andrew Lunn, Gregory Clement,
	Sebastian Hesselbarth, Russell King, Nicolas Ferre,
	Alexandre Belloni, Claudiu Beznea, Ray Jui, Scott Branden,
	Broadcom internal kernel review list, Florian Fainelli,
	Hauke Mehrtens, Rafał Miłecki, Hans Ulli Kroll,
	Linus Walleij, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, NXP Linux Team, Matthias Brugger, Andy Gross,
	Bjorn Andersson, Konrad Dybcio, Geert Uytterhoeven, Magnus Damm,
	Maxime Coquelin, Alexandre Torgue, Chen-Yu Tsai, Jernej Skrabec,
	Samuel Holland, Stefan Agner, Heiko Stuebner,
	Thomas Bogendoerfer, Arınç ÜNAL,
	Sergio Paracuellos, Michael Ellerman, Nicholas Piggin,
	Christophe Leroy, Tim Harvey, Peng Fan, Rasmus Villemoes,
	Frank Wunderlich, Michael Riesch, Oleksij Rempel
  Cc: netdev, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek, linux-arm-msm, linux-renesas-soc, linux-stm32,
	linux-sunxi, linux-rockchip, linux-mips, linuxppc-dev

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

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
---
 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(-)

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


^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH 4/5] mips: dts: remove label = "cpu" from DSA dt-binding
  2022-11-30 14:10 [PATCH 0/5] remove label = "cpu" from DSA dt-binding Arınç ÜNAL
                   ` (2 preceding siblings ...)
  2022-11-30 14:10 ` [PATCH 3/5] arm64: " Arınç ÜNAL
@ 2022-11-30 14:10 ` Arınç ÜNAL
  2022-12-01  6:04   ` Sergio Paracuellos
                     ` (2 more replies)
  2022-11-30 14:10 ` [PATCH 5/5] powerpc: " Arınç ÜNAL
                   ` (2 subsequent siblings)
  6 siblings, 3 replies; 28+ messages in thread
From: Arınç ÜNAL @ 2022-11-30 14:10 UTC (permalink / raw)
  To: Vladimir Oltean, Krzysztof Kozlowski, soc, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring,
	Krzysztof Kozlowski, Andrew Lunn, Gregory Clement,
	Sebastian Hesselbarth, Russell King, Nicolas Ferre,
	Alexandre Belloni, Claudiu Beznea, Ray Jui, Scott Branden,
	Broadcom internal kernel review list, Florian Fainelli,
	Hauke Mehrtens, Rafał Miłecki, Hans Ulli Kroll,
	Linus Walleij, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, NXP Linux Team, Matthias Brugger, Andy Gross,
	Bjorn Andersson, Konrad Dybcio, Geert Uytterhoeven, Magnus Damm,
	Maxime Coquelin, Alexandre Torgue, Chen-Yu Tsai, Jernej Skrabec,
	Samuel Holland, Stefan Agner, Heiko Stuebner,
	Thomas Bogendoerfer, Arınç ÜNAL,
	Sergio Paracuellos, Michael Ellerman, Nicholas Piggin,
	Christophe Leroy, Tim Harvey, Peng Fan, Rasmus Villemoes,
	Frank Wunderlich, Michael Riesch, Oleksij Rempel
  Cc: netdev, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek, linux-arm-msm, linux-renesas-soc, linux-stm32,
	linux-sunxi, linux-rockchip, linux-mips, linuxppc-dev

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

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
---
 arch/mips/boot/dts/qca/ar9331.dtsi    | 1 -
 arch/mips/boot/dts/ralink/mt7621.dtsi | 1 -
 2 files changed, 2 deletions(-)

diff --git a/arch/mips/boot/dts/qca/ar9331.dtsi b/arch/mips/boot/dts/qca/ar9331.dtsi
index c4102b280b47..768ac0f869b1 100644
--- a/arch/mips/boot/dts/qca/ar9331.dtsi
+++ b/arch/mips/boot/dts/qca/ar9331.dtsi
@@ -176,7 +176,6 @@ ports {
 
 						switch_port0: port@0 {
 							reg = <0x0>;
-							label = "cpu";
 							ethernet = <&eth1>;
 
 							phy-mode = "gmii";
diff --git a/arch/mips/boot/dts/ralink/mt7621.dtsi b/arch/mips/boot/dts/ralink/mt7621.dtsi
index f3f4c1f26e01..445817cbf376 100644
--- a/arch/mips/boot/dts/ralink/mt7621.dtsi
+++ b/arch/mips/boot/dts/ralink/mt7621.dtsi
@@ -386,7 +386,6 @@ port@4 {
 
 					port@6 {
 						reg = <6>;
-						label = "cpu";
 						ethernet = <&gmac0>;
 						phy-mode = "trgmii";
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH 5/5] powerpc: dts: remove label = "cpu" from DSA dt-binding
  2022-11-30 14:10 [PATCH 0/5] remove label = "cpu" from DSA dt-binding Arınç ÜNAL
                   ` (3 preceding siblings ...)
  2022-11-30 14:10 ` [PATCH 4/5] mips: " Arınç ÜNAL
@ 2022-11-30 14:10 ` Arınç ÜNAL
  2022-12-01 10:40   ` Michael Ellerman
  2022-11-30 15:55 ` [PATCH 0/5] " Andrew Lunn
  2022-12-01  9:14 ` Arınç ÜNAL
  6 siblings, 1 reply; 28+ messages in thread
From: Arınç ÜNAL @ 2022-11-30 14:10 UTC (permalink / raw)
  To: Vladimir Oltean, Krzysztof Kozlowski, soc, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring,
	Krzysztof Kozlowski, Andrew Lunn, Gregory Clement,
	Sebastian Hesselbarth, Russell King, Nicolas Ferre,
	Alexandre Belloni, Claudiu Beznea, Ray Jui, Scott Branden,
	Broadcom internal kernel review list, Florian Fainelli,
	Hauke Mehrtens, Rafał Miłecki, Hans Ulli Kroll,
	Linus Walleij, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, NXP Linux Team, Matthias Brugger, Andy Gross,
	Bjorn Andersson, Konrad Dybcio, Geert Uytterhoeven, Magnus Damm,
	Maxime Coquelin, Alexandre Torgue, Chen-Yu Tsai, Jernej Skrabec,
	Samuel Holland, Stefan Agner, Heiko Stuebner,
	Thomas Bogendoerfer, Arınç ÜNAL,
	Sergio Paracuellos, Michael Ellerman, Nicholas Piggin,
	Christophe Leroy, Tim Harvey, Peng Fan, Rasmus Villemoes,
	Frank Wunderlich, Michael Riesch, Oleksij Rempel
  Cc: netdev, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek, linux-arm-msm, linux-renesas-soc, linux-stm32,
	linux-sunxi, linux-rockchip, linux-mips, linuxppc-dev

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

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
---
 arch/powerpc/boot/dts/turris1x.dts | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/powerpc/boot/dts/turris1x.dts b/arch/powerpc/boot/dts/turris1x.dts
index 045af668e928..3841c8d96d00 100644
--- a/arch/powerpc/boot/dts/turris1x.dts
+++ b/arch/powerpc/boot/dts/turris1x.dts
@@ -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";
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 28+ messages in thread

* Re: [PATCH 2/5] arm: dts: remove label = "cpu" from DSA dt-binding
  2022-11-30 14:10 ` [PATCH 2/5] arm: dts: remove label = "cpu" from DSA dt-binding Arınç ÜNAL
@ 2022-11-30 14:51   ` Geert Uytterhoeven
  2022-12-01  6:20   ` Oleksij Rempel
                     ` (2 subsequent siblings)
  3 siblings, 0 replies; 28+ messages in thread
From: Geert Uytterhoeven @ 2022-11-30 14:51 UTC (permalink / raw)
  To: Arınç ÜNAL
  Cc: Vladimir Oltean, Krzysztof Kozlowski, soc, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring,
	Krzysztof Kozlowski, Andrew Lunn, Gregory Clement,
	Sebastian Hesselbarth, Russell King, Nicolas Ferre,
	Alexandre Belloni, Claudiu Beznea, Ray Jui, Scott Branden,
	Broadcom internal kernel review list, Florian Fainelli,
	Hauke Mehrtens, Rafał Miłecki, Hans Ulli Kroll,
	Linus Walleij, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, NXP Linux Team, Matthias Brugger, Andy Gross,
	Bjorn Andersson, Konrad Dybcio, Geert Uytterhoeven, Magnus Damm,
	Maxime Coquelin, Alexandre Torgue, Chen-Yu Tsai, Jernej Skrabec,
	Samuel Holland, Stefan Agner, Heiko Stuebner,
	Thomas Bogendoerfer, Sergio Paracuellos, Michael Ellerman,
	Nicholas Piggin, Christophe Leroy, Tim Harvey, Peng Fan,
	Rasmus Villemoes, Frank Wunderlich, Michael Riesch,
	Oleksij Rempel, netdev, devicetree, linux-kernel,
	linux-arm-kernel, linux-mediatek, linux-arm-msm,
	linux-renesas-soc, linux-stm32, linux-sunxi, linux-rockchip,
	linux-mips, linuxppc-dev, Clément Léger

CC cleger

On Wed, Nov 30, 2022 at 3:33 PM Arınç ÜNAL <arinc.unal@arinc9.com> wrote:
> This is not used by the DSA dt-binding, so remove it from all devicetrees.
>
> Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>

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

Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>

> --- a/arch/arm/boot/dts/r9a06g032.dtsi
> +++ b/arch/arm/boot/dts/r9a06g032.dtsi
> @@ -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 -- geert@linux-m68k.org

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

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PATCH 0/5] remove label = "cpu" from DSA dt-binding
  2022-11-30 14:10 [PATCH 0/5] remove label = "cpu" from DSA dt-binding Arınç ÜNAL
                   ` (4 preceding siblings ...)
  2022-11-30 14:10 ` [PATCH 5/5] powerpc: " Arınç ÜNAL
@ 2022-11-30 15:55 ` Andrew Lunn
  2022-11-30 17:22   ` Arınç ÜNAL
  2022-12-01  9:14 ` Arınç ÜNAL
  6 siblings, 1 reply; 28+ messages in thread
From: Andrew Lunn @ 2022-11-30 15:55 UTC (permalink / raw)
  To: Arınç ÜNAL
  Cc: Vladimir Oltean, Krzysztof Kozlowski, soc, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring,
	Krzysztof Kozlowski, Gregory Clement, Sebastian Hesselbarth,
	Russell King, Nicolas Ferre, Alexandre Belloni, Claudiu Beznea,
	Ray Jui, Scott Branden, Broadcom internal kernel review list,
	Florian Fainelli, Hauke Mehrtens, Rafał Miłecki,
	Hans Ulli Kroll, Linus Walleij, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
	Matthias Brugger, Andy Gross, Bjorn Andersson, Konrad Dybcio,
	Geert Uytterhoeven, Magnus Damm, Maxime Coquelin,
	Alexandre Torgue, Chen-Yu Tsai, Jernej Skrabec, Samuel Holland,
	Stefan Agner, Heiko Stuebner, Thomas Bogendoerfer,
	Sergio Paracuellos, Michael Ellerman, Nicholas Piggin,
	Christophe Leroy, Tim Harvey, Peng Fan, Rasmus Villemoes,
	Frank Wunderlich, Michael Riesch, Oleksij Rempel, netdev,
	devicetree, linux-kernel, linux-arm-kernel, linux-mediatek,
	linux-arm-msm, linux-renesas-soc, linux-stm32, linux-sunxi,
	linux-rockchip, linux-mips, linuxppc-dev

On Wed, Nov 30, 2022 at 05:10:35PM +0300, Arınç ÜNAL 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.
> 
> 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:

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PATCH 0/5] remove label = "cpu" from DSA dt-binding
  2022-11-30 15:55 ` [PATCH 0/5] " Andrew Lunn
@ 2022-11-30 17:22   ` Arınç ÜNAL
  2022-12-01 10:42     ` Michael Ellerman
  0 siblings, 1 reply; 28+ messages in thread
From: Arınç ÜNAL @ 2022-11-30 17:22 UTC (permalink / raw)
  To: Andrew Lunn
  Cc: Vladimir Oltean, Krzysztof Kozlowski, soc, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring,
	Krzysztof Kozlowski, Gregory Clement, Sebastian Hesselbarth,
	Russell King, Nicolas Ferre, Alexandre Belloni, Claudiu Beznea,
	Ray Jui, Scott Branden, Broadcom internal kernel review list,
	Florian Fainelli, Hauke Mehrtens, Rafał Miłecki,
	Hans Ulli Kroll, Linus Walleij, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
	Matthias Brugger, Andy Gross, Bjorn Andersson, Konrad Dybcio,
	Geert Uytterhoeven, Magnus Damm, Maxime Coquelin,
	Alexandre Torgue, Chen-Yu Tsai, Jernej Skrabec, Samuel Holland,
	Stefan Agner, Heiko Stuebner, Thomas Bogendoerfer,
	Sergio Paracuellos, Michael Ellerman, Nicholas Piggin,
	Christophe Leroy, Tim Harvey, Peng Fan, Rasmus Villemoes,
	Frank Wunderlich, Michael Riesch, Oleksij Rempel, netdev,
	devicetree, linux-kernel, linux-arm-kernel, linux-mediatek,
	linux-arm-msm, linux-renesas-soc, linux-stm32, linux-sunxi,
	linux-rockchip, linux-mips, linuxppc-dev

On 30.11.2022 18:55, Andrew Lunn wrote:
> On Wed, Nov 30, 2022 at 05:10:35PM +0300, Arınç ÜNAL 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.
>>
>> 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?

Initially, I sent this series to soc@kernel.org to take it all but Rob 
said it must be this way instead.

> 
> 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.

> 
> Reviewed-by: Andrew Lunn <andrew@lunn.ch>
> 
>      Andrew

Arınç

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PATCH 3/5] arm64: dts: remove label = "cpu" from DSA dt-binding
  2022-11-30 14:10 ` [PATCH 3/5] arm64: " Arınç ÜNAL
@ 2022-11-30 18:40   ` Heiko Stübner
  0 siblings, 0 replies; 28+ messages in thread
From: Heiko Stübner @ 2022-11-30 18:40 UTC (permalink / raw)
  To: Vladimir Oltean, Krzysztof Kozlowski, soc, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring,
	Krzysztof Kozlowski, Andrew Lunn, Gregory Clement,
	Sebastian Hesselbarth, Russell King, Nicolas Ferre,
	Alexandre Belloni, Claudiu Beznea, Ray Jui, Scott Branden,
	Broadcom internal kernel review list, Florian Fainelli,
	Hauke Mehrtens, Rafał Miłecki, Hans Ulli Kroll,
	Linus Walle ij, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, NXP Linux Team, Matthias Brugger, Andy Gross,
	Bjorn Andersson, Konrad Dybcio, Geert Uytterhoeven, Magnus Damm,
	Maxime Coquelin, Alexandre Torgue, Chen-Yu Tsai, Jernej Skrabec,
	Samuel Holland, Stefan Agner, Thomas Bogendoerfer,
	Arınç ÜNAL, Sergio Paracuellos, Michael Ellerman,
	Nicholas Piggin, Christophe Leroy, Tim Harvey, Peng Fan,
	Rasmus Villemoes, Frank Wunderlich, Michael Riesch,
	Oleksij Rempel, Arınç ÜNAL
  Cc: netdev, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek, linux-arm-msm, linux-renesas-soc, linux-stm32,
	linux-sunxi, linux-rockchip, linux-mips, linuxppc-dev

Am Mittwoch, 30. November 2022, 15:10:38 CET schrieb Arınç ÜNAL:
> This is not used by the DSA dt-binding, so remove it from all devicetrees.
> 
> Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
> ---

> diff --git a/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts b/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts
> index c282f6e79960..b71162d65d2e 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts
> @@ -552,7 +552,6 @@ port@4 {
>  
>  			port@5 {
>  				reg = <5>;
> -				label = "cpu";
>  				ethernet = <&gmac0>;
>  				phy-mode = "rgmii";
>  
> 

Rockchip-part:
Acked-by: Heiko Stuebner <heiko@sntech.de>



^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PATCH 4/5] mips: dts: remove label = "cpu" from DSA dt-binding
  2022-11-30 14:10 ` [PATCH 4/5] mips: " Arınç ÜNAL
@ 2022-12-01  6:04   ` Sergio Paracuellos
  2022-12-01  6:13   ` Oleksij Rempel
  2022-12-01 10:53   ` Thomas Bogendoerfer
  2 siblings, 0 replies; 28+ messages in thread
From: Sergio Paracuellos @ 2022-12-01  6:04 UTC (permalink / raw)
  To: Arınç ÜNAL
  Cc: Vladimir Oltean, Krzysztof Kozlowski, soc, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring,
	Krzysztof Kozlowski, Andrew Lunn, Gregory Clement,
	Sebastian Hesselbarth, Russell King, Nicolas Ferre,
	Alexandre Belloni, Claudiu Beznea, Ray Jui, Scott Branden,
	Broadcom internal kernel review list, Florian Fainelli,
	Hauke Mehrtens, Rafał Miłecki, Hans Ulli Kroll,
	Linus Walleij, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, NXP Linux Team, Matthias Brugger, Andy Gross,
	Bjorn Andersson, Konrad Dybcio, Geert Uytterhoeven, Magnus Damm,
	Maxime Coquelin, Alexandre Torgue, Chen-Yu Tsai, Jernej Skrabec,
	Samuel Holland, Stefan Agner, Heiko Stuebner,
	Thomas Bogendoerfer, Michael Ellerman, Nicholas Piggin,
	Christophe Leroy, Tim Harvey, Peng Fan, Rasmus Villemoes,
	Frank Wunderlich, Michael Riesch, Oleksij Rempel, netdev,
	devicetree, linux-kernel, linux-arm-kernel, linux-mediatek,
	linux-arm-msm, linux-renesas-soc, linux-stm32, linux-sunxi,
	linux-rockchip, linux-mips, linuxppc-dev

On Wed, Nov 30, 2022 at 3:14 PM Arınç ÜNAL <arinc.unal@arinc9.com> wrote:
>
> This is not used by the DSA dt-binding, so remove it from all devicetrees.
>
> Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
> ---
>  arch/mips/boot/dts/ralink/mt7621.dtsi | 1 -

Acked-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>

Thanks,
    Sergio Paracuellos

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PATCH 1/5] dt-bindings: net: qca,ar71xx: remove label = "cpu" from examples
  2022-11-30 14:10 ` [PATCH 1/5] dt-bindings: net: qca,ar71xx: remove label = "cpu" from examples Arınç ÜNAL
@ 2022-12-01  6:13   ` Oleksij Rempel
  2022-12-01 23:46   ` Rob Herring
  1 sibling, 0 replies; 28+ messages in thread
From: Oleksij Rempel @ 2022-12-01  6:13 UTC (permalink / raw)
  To: Arınç ÜNAL
  Cc: Vladimir Oltean, Krzysztof Kozlowski, soc, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring,
	Krzysztof Kozlowski, Andrew Lunn, Gregory Clement,
	Sebastian Hesselbarth, Russell King, Nicolas Ferre,
	Alexandre Belloni, Claudiu Beznea, Ray Jui, Scott Branden,
	Broadcom internal kernel review list, Florian Fainelli,
	Hauke Mehrtens, Rafał Miłecki, Hans Ulli Kroll,
	Linus Walleij, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, NXP Linux Team, Matthias Brugger, Andy Gross,
	Bjorn Andersson, Konrad Dybcio, Geert Uytterhoeven, Magnus Damm,
	Maxime Coquelin, Alexandre Torgue, Chen-Yu Tsai, Jernej Skrabec,
	Samuel Holland, Stefan Agner, Heiko Stuebner,
	Thomas Bogendoerfer, Sergio Paracuellos, Michael Ellerman,
	Nicholas Piggin, Christophe Leroy, Tim Harvey, Peng Fan,
	Rasmus Villemoes, Frank Wunderlich, Michael Riesch,
	Oleksij Rempel, netdev, devicetree, linux-kernel,
	linux-arm-kernel, linux-mediatek, linux-arm-msm,
	linux-renesas-soc, linux-stm32, linux-sunxi, linux-rockchip,
	linux-mips, linuxppc-dev

On Wed, Nov 30, 2022 at 05:10:36PM +0300, Arınç ÜNAL wrote:
> This is not used by the DSA dt-binding, so remove it from the examples.
> 
> Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>

Reviewed-by: Oleksij Rempel <o.rempel@pengutronix.de>

Thx!

> ---
>  Documentation/devicetree/bindings/net/qca,ar71xx.yaml | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/net/qca,ar71xx.yaml b/Documentation/devicetree/bindings/net/qca,ar71xx.yaml
> index 1ebf9e8c8a1d..89f94b31b546 100644
> --- a/Documentation/devicetree/bindings/net/qca,ar71xx.yaml
> +++ b/Documentation/devicetree/bindings/net/qca,ar71xx.yaml
> @@ -123,7 +123,6 @@ examples:
>  
>                      switch_port0: port@0 {
>                          reg = <0x0>;
> -                        label = "cpu";
>                          ethernet = <&eth1>;
>  
>                          phy-mode = "gmii";
> -- 
> 2.34.1
> 
> 

-- 
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 |

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PATCH 4/5] mips: dts: remove label = "cpu" from DSA dt-binding
  2022-11-30 14:10 ` [PATCH 4/5] mips: " Arınç ÜNAL
  2022-12-01  6:04   ` Sergio Paracuellos
@ 2022-12-01  6:13   ` Oleksij Rempel
  2022-12-01 10:53   ` Thomas Bogendoerfer
  2 siblings, 0 replies; 28+ messages in thread
From: Oleksij Rempel @ 2022-12-01  6:13 UTC (permalink / raw)
  To: Arınç ÜNAL
  Cc: Vladimir Oltean, Krzysztof Kozlowski, soc, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring,
	Krzysztof Kozlowski, Andrew Lunn, Gregory Clement,
	Sebastian Hesselbarth, Russell King, Nicolas Ferre,
	Alexandre Belloni, Claudiu Beznea, Ray Jui, Scott Branden,
	Broadcom internal kernel review list, Florian Fainelli,
	Hauke Mehrtens, Rafał Miłecki, Hans Ulli Kroll,
	Linus Walleij, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, NXP Linux Team, Matthias Brugger, Andy Gross,
	Bjorn Andersson, Konrad Dybcio, Geert Uytterhoeven, Magnus Damm,
	Maxime Coquelin, Alexandre Torgue, Chen-Yu Tsai, Jernej Skrabec,
	Samuel Holland, Stefan Agner, Heiko Stuebner,
	Thomas Bogendoerfer, Sergio Paracuellos, Michael Ellerman,
	Nicholas Piggin, Christophe Leroy, Tim Harvey, Peng Fan,
	Rasmus Villemoes, Frank Wunderlich, Michael Riesch,
	Oleksij Rempel, devicetree, netdev, linux-kernel, linux-sunxi,
	linux-renesas-soc, linux-rockchip, linux-mediatek, linux-arm-msm,
	linux-mips, linuxppc-dev, linux-stm32, linux-arm-kernel

On Wed, Nov 30, 2022 at 05:10:39PM +0300, Arınç ÜNAL wrote:
> This is not used by the DSA dt-binding, so remove it from all devicetrees.
> 
> Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
> ---
>  arch/mips/boot/dts/qca/ar9331.dtsi    | 1 -
>  arch/mips/boot/dts/ralink/mt7621.dtsi | 1 -
>  2 files changed, 2 deletions(-)
> 
> diff --git a/arch/mips/boot/dts/qca/ar9331.dtsi b/arch/mips/boot/dts/qca/ar9331.dtsi
> index c4102b280b47..768ac0f869b1 100644
> --- a/arch/mips/boot/dts/qca/ar9331.dtsi
> +++ b/arch/mips/boot/dts/qca/ar9331.dtsi
> @@ -176,7 +176,6 @@ ports {
>  
>  						switch_port0: port@0 {
>  							reg = <0x0>;
> -							label = "cpu";
>  							ethernet = <&eth1>;
>  
>  							phy-mode = "gmii";

Reviewed-by: Oleksij Rempel <o.rempel@pengutronix.de>

Thx! 

-- 
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 |

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PATCH 2/5] arm: dts: remove label = "cpu" from DSA dt-binding
  2022-11-30 14:10 ` [PATCH 2/5] arm: dts: remove label = "cpu" from DSA dt-binding Arınç ÜNAL
  2022-11-30 14:51   ` Geert Uytterhoeven
@ 2022-12-01  6:20   ` Oleksij Rempel
  2022-12-04 21:31   ` Linus Walleij
  2022-12-05 20:10   ` Jernej Škrabec
  3 siblings, 0 replies; 28+ messages in thread
From: Oleksij Rempel @ 2022-12-01  6:20 UTC (permalink / raw)
  To: Arınç ÜNAL
  Cc: Vladimir Oltean, Krzysztof Kozlowski, soc, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring,
	Krzysztof Kozlowski, Andrew Lunn, Gregory Clement,
	Sebastian Hesselbarth, Russell King, Nicolas Ferre,
	Alexandre Belloni, Claudiu Beznea, Ray Jui, Scott Branden,
	Broadcom internal kernel review list, Florian Fainelli,
	Hauke Mehrtens, Rafał Miłecki, Hans Ulli Kroll,
	Linus Walleij, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, NXP Linux Team, Matthias Brugger, Andy Gross,
	Bjorn Andersson, Konrad Dybcio, Geert Uytterhoeven, Magnus Damm,
	Maxime Coquelin, Alexandre Torgue, Chen-Yu Tsai, Jernej Skrabec,
	Samuel Holland, Stefan Agner, Heiko Stuebner,
	Thomas Bogendoerfer, Sergio Paracuellos, Michael Ellerman,
	Nicholas Piggin, Christophe Leroy, Tim Harvey, Peng Fan,
	Rasmus Villemoes, Frank Wunderlich, Michael Riesch,
	Oleksij Rempel, netdev, devicetree, linux-kernel,
	linux-arm-kernel, linux-mediatek, linux-arm-msm,
	linux-renesas-soc, linux-stm32, linux-sunxi, linux-rockchip,
	linux-mips, linuxppc-dev

On Wed, Nov 30, 2022 at 05:10:37PM +0300, Arınç ÜNAL wrote:
> This is not used by the DSA dt-binding, so remove it from all devicetrees.
> 
> Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
> ---
>  arch/arm/boot/dts/imx6qdl-skov-cpu.dtsi                   | 1 -
>  arch/arm/boot/dts/imx6qp-prtwd3.dts                       | 1 -

Reviewed-by: Oleksij Rempel <o.rempel@pengutronix.de>

Thx! 

-- 
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 |

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PATCH 0/5] remove label = "cpu" from DSA dt-binding
  2022-11-30 14:10 [PATCH 0/5] remove label = "cpu" from DSA dt-binding Arınç ÜNAL
                   ` (5 preceding siblings ...)
  2022-11-30 15:55 ` [PATCH 0/5] " Andrew Lunn
@ 2022-12-01  9:14 ` Arınç ÜNAL
  6 siblings, 0 replies; 28+ messages in thread
From: Arınç ÜNAL @ 2022-12-01  9:14 UTC (permalink / raw)
  To: Jakub Kicinski, Arnd Bergmann, soc, Thomas Bogendoerfer,
	Michael Ellerman
  Cc: netdev, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek, linux-arm-msm, linux-renesas-soc, linux-stm32,
	linux-sunxi, linux-rockchip, linux-mips, linuxppc-dev,
	Andrew Lunn, Vladimir Oltean

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ç

On 30.11.2022 17:10, Arınç ÜNAL 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.
> 
> 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/20220913155408.GA3802998-robh@kernel.org/
> 
> 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
> 
> 

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PATCH 5/5] powerpc: dts: remove label = "cpu" from DSA dt-binding
  2022-11-30 14:10 ` [PATCH 5/5] powerpc: " Arınç ÜNAL
@ 2022-12-01 10:40   ` Michael Ellerman
  2022-12-01 17:39     ` Pali Rohár
  0 siblings, 1 reply; 28+ messages in thread
From: Michael Ellerman @ 2022-12-01 10:40 UTC (permalink / raw)
  To: Arınç ÜNAL, Pali Rohár
  Cc: netdev, devicetree, linux-kernel, linuxppc-dev

Arınç ÜNAL <arinc.unal@arinc9.com> writes:
> This is not used by the DSA dt-binding, so remove it from all devicetrees.
>
> Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
> ---
>  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


> diff --git a/arch/powerpc/boot/dts/turris1x.dts b/arch/powerpc/boot/dts/turris1x.dts
> index 045af668e928..3841c8d96d00 100644
> --- a/arch/powerpc/boot/dts/turris1x.dts
> +++ b/arch/powerpc/boot/dts/turris1x.dts
> @@ -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";
>  
> -- 
> 2.34.1

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PATCH 0/5] remove label = "cpu" from DSA dt-binding
  2022-11-30 17:22   ` Arınç ÜNAL
@ 2022-12-01 10:42     ` Michael Ellerman
  2022-12-01 11:37       ` Arınç ÜNAL
  0 siblings, 1 reply; 28+ messages in thread
From: Michael Ellerman @ 2022-12-01 10:42 UTC (permalink / raw)
  To: Arınç ÜNAL, Andrew Lunn
  Cc: Vladimir Oltean, Krzysztof Kozlowski, soc, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring,
	Krzysztof Kozlowski, Gregory Clement, Sebastian Hesselbarth,
	Russell King, Nicolas Ferre, Alexandre Belloni, Claudiu Beznea,
	Ray Jui, Scott Branden, Broadcom internal kernel review list,
	Florian Fainelli, Hauke Mehrtens, Rafał Miłecki,
	Hans Ulli Kroll, Linus Walleij, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
	Matthias Brugger, Andy Gross, Bjorn Andersson, Konrad Dybcio,
	Geert Uytterhoeven, Magnus Damm, Maxime Coquelin,
	Alexandre Torgue, Chen-Yu Tsai, Jernej Skrabec, Samuel Holland,
	Stefan Agner, Heiko Stuebner, Thomas Bogendoerfer,
	Sergio Paracuellos, Nicholas Piggin, Christophe Leroy,
	Tim Harvey, Peng Fan, Rasmus Villemoes, Frank Wunderlich,
	Michael Riesch, Oleksij Rempel, netdev, devicetree, linux-kernel,
	linux-arm-kernel, linux-mediatek, linux-arm-msm,
	linux-renesas-soc, linux-stm32, linux-sunxi, linux-rockchip,
	linux-mips, linuxppc-dev

Arınç ÜNAL <arinc.unal@arinc9.com> writes:
> On 30.11.2022 18:55, Andrew Lunn wrote:
>> On Wed, Nov 30, 2022 at 05:10:35PM +0300, Arınç ÜNAL 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.
>>>
>>> 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?
>
> Initially, I sent this series to soc@kernel.org to take it all but Rob 
> said it must be this way instead.
>
>> 
>> 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

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PATCH 4/5] mips: dts: remove label = "cpu" from DSA dt-binding
  2022-11-30 14:10 ` [PATCH 4/5] mips: " Arınç ÜNAL
  2022-12-01  6:04   ` Sergio Paracuellos
  2022-12-01  6:13   ` Oleksij Rempel
@ 2022-12-01 10:53   ` Thomas Bogendoerfer
  2 siblings, 0 replies; 28+ messages in thread
From: Thomas Bogendoerfer @ 2022-12-01 10:53 UTC (permalink / raw)
  To: Arınç ÜNAL
  Cc: Vladimir Oltean, Krzysztof Kozlowski, soc, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring,
	Krzysztof Kozlowski, Andrew Lunn, Gregory Clement,
	Sebastian Hesselbarth, Russell King, Nicolas Ferre,
	Alexandre Belloni, Claudiu Beznea, Ray Jui, Scott Branden,
	Broadcom internal kernel review list, Florian Fainelli,
	Hauke Mehrtens, Rafał Miłecki, Hans Ulli Kroll,
	Linus Walleij, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, NXP Linux Team, Matthias Brugger, Andy Gross,
	Bjorn Andersson, Konrad Dybcio, Geert Uytterhoeven, Magnus Damm,
	Maxime Coquelin, Alexandre Torgue, Chen-Yu Tsai, Jernej Skrabec,
	Samuel Holland, Stefan Agner, Heiko Stuebner, Sergio Paracuellos,
	Michael Ellerman, Nicholas Piggin, Christophe Leroy, Tim Harvey,
	Peng Fan, Rasmus Villemoes, Frank Wunderlich, Michael Riesch,
	Oleksij Rempel, netdev, devicetree, linux-kernel,
	linux-arm-kernel, linux-mediatek, linux-arm-msm,
	linux-renesas-soc, linux-stm32, linux-sunxi, linux-rockchip,
	linux-mips, linuxppc-dev

On Wed, Nov 30, 2022 at 05:10:39PM +0300, Arınç ÜNAL wrote:
> This is not used by the DSA dt-binding, so remove it from all devicetrees.
> 
> Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
> ---
>  arch/mips/boot/dts/qca/ar9331.dtsi    | 1 -
>  arch/mips/boot/dts/ralink/mt7621.dtsi | 1 -
>  2 files changed, 2 deletions(-)
> 
> diff --git a/arch/mips/boot/dts/qca/ar9331.dtsi b/arch/mips/boot/dts/qca/ar9331.dtsi
> index c4102b280b47..768ac0f869b1 100644
> --- a/arch/mips/boot/dts/qca/ar9331.dtsi
> +++ b/arch/mips/boot/dts/qca/ar9331.dtsi
> @@ -176,7 +176,6 @@ ports {
>  
>  						switch_port0: port@0 {
>  							reg = <0x0>;
> -							label = "cpu";
>  							ethernet = <&eth1>;
>  
>  							phy-mode = "gmii";
> diff --git a/arch/mips/boot/dts/ralink/mt7621.dtsi b/arch/mips/boot/dts/ralink/mt7621.dtsi
> index f3f4c1f26e01..445817cbf376 100644
> --- a/arch/mips/boot/dts/ralink/mt7621.dtsi
> +++ b/arch/mips/boot/dts/ralink/mt7621.dtsi
> @@ -386,7 +386,6 @@ port@4 {
>  
>  					port@6 {
>  						reg = <6>;
> -						label = "cpu";
>  						ethernet = <&gmac0>;
>  						phy-mode = "trgmii";
>  
> -- 
> 2.34.1

applied to mips-next.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PATCH 0/5] remove label = "cpu" from DSA dt-binding
  2022-12-01 10:42     ` Michael Ellerman
@ 2022-12-01 11:37       ` Arınç ÜNAL
  0 siblings, 0 replies; 28+ messages in thread
From: Arınç ÜNAL @ 2022-12-01 11:37 UTC (permalink / raw)
  To: Michael Ellerman, Andrew Lunn
  Cc: Vladimir Oltean, Krzysztof Kozlowski, soc, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring,
	Krzysztof Kozlowski, Gregory Clement, Sebastian Hesselbarth,
	Russell King, Nicolas Ferre, Alexandre Belloni, Claudiu Beznea,
	Ray Jui, Scott Branden, Broadcom internal kernel review list,
	Florian Fainelli, Hauke Mehrtens, Rafał Miłecki,
	Hans Ulli Kroll, Linus Walleij, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
	Matthias Brugger, Andy Gross, Bjorn Andersson, Konrad Dybcio,
	Geert Uytterhoeven, Magnus Damm, Maxime Coquelin,
	Alexandre Torgue, Chen-Yu Tsai, Jernej Skrabec, Samuel Holland,
	Stefan Agner, Heiko Stuebner, Thomas Bogendoerfer,
	Sergio Paracuellos, Nicholas Piggin, Christophe Leroy,
	Tim Harvey, Peng Fan, Rasmus Villemoes, Frank Wunderlich,
	Michael Riesch, Oleksij Rempel, netdev, devicetree, linux-kernel,
	linux-arm-kernel, linux-mediatek, linux-arm-msm,
	linux-renesas-soc, linux-stm32, linux-sunxi, linux-rockchip,
	linux-mips, linuxppc-dev

On 1.12.2022 13:42, Michael Ellerman wrote:
> Arınç ÜNAL <arinc.unal@arinc9.com> writes:
>> On 30.11.2022 18:55, Andrew Lunn wrote:
>>> On Wed, Nov 30, 2022 at 05:10:35PM +0300, Arınç ÜNAL 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.
>>>>
>>>> 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?
>>
>> Initially, I sent this series to soc@kernel.org to take it all but Rob
>> said it must be this way instead.
>>
>>>
>>> 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.

I agree. I'll do that next time.

Cheers.
Arınç

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PATCH 5/5] powerpc: dts: remove label = "cpu" from DSA dt-binding
  2022-12-01 10:40   ` Michael Ellerman
@ 2022-12-01 17:39     ` Pali Rohár
  2022-12-01 23:44       ` Rob Herring
  0 siblings, 1 reply; 28+ messages in thread
From: Pali Rohár @ 2022-12-01 17:39 UTC (permalink / raw)
  To: Michael Ellerman
  Cc: Arınç ÜNAL, netdev, devicetree, linux-kernel,
	linuxppc-dev, Marek Behún

On Thursday 01 December 2022 21:40:03 Michael Ellerman wrote:
> Arınç ÜNAL <arinc.unal@arinc9.com> writes:
> > This is not used by the DSA dt-binding, so remove it from all devicetrees.
> >
> > Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
> > ---
> >  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

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.

> 
> > diff --git a/arch/powerpc/boot/dts/turris1x.dts b/arch/powerpc/boot/dts/turris1x.dts
> > index 045af668e928..3841c8d96d00 100644
> > --- a/arch/powerpc/boot/dts/turris1x.dts
> > +++ b/arch/powerpc/boot/dts/turris1x.dts
> > @@ -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";
> >  
> > -- 
> > 2.34.1

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PATCH 5/5] powerpc: dts: remove label = "cpu" from DSA dt-binding
  2022-12-01 17:39     ` Pali Rohár
@ 2022-12-01 23:44       ` Rob Herring
  2022-12-02 19:35         ` Pali Rohár
  0 siblings, 1 reply; 28+ messages in thread
From: Rob Herring @ 2022-12-01 23:44 UTC (permalink / raw)
  To: Pali Rohár
  Cc: Michael Ellerman, Arınç ÜNAL, netdev, devicetree,
	linux-kernel, linuxppc-dev, Marek Behún

On Thu, Dec 01, 2022 at 06:39:02PM +0100, Pali Rohár wrote:
> On Thursday 01 December 2022 21:40:03 Michael Ellerman wrote:
> > Arınç ÜNAL <arinc.unal@arinc9.com> writes:
> > > This is not used by the DSA dt-binding, so remove it from all devicetrees.
> > >
> > > Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
> > > ---
> > >  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
> 
> 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.

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

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PATCH 1/5] dt-bindings: net: qca,ar71xx: remove label = "cpu" from examples
  2022-11-30 14:10 ` [PATCH 1/5] dt-bindings: net: qca,ar71xx: remove label = "cpu" from examples Arınç ÜNAL
  2022-12-01  6:13   ` Oleksij Rempel
@ 2022-12-01 23:46   ` Rob Herring
  1 sibling, 0 replies; 28+ messages in thread
From: Rob Herring @ 2022-12-01 23:46 UTC (permalink / raw)
  To: Arınç ÜNAL
  Cc: Matthias Brugger, Konrad Dybcio, Nicolas Ferre, Jernej Skrabec,
	linuxppc-dev, Maxime Coquelin, Tim Harvey, Michael Ellerman,
	Ray Jui, Nicholas Piggin, Michael Riesch, linux-mediatek,
	Russell King, linux-sunxi, Hans Ulli Kroll, soc,
	Alexandre Belloni, Fabio Estevam, David S. Miller,
	Geert Uytterhoeven, Alexandre Torgue, devicetree,
	linux-renesas-soc, linux-rockchip, netdev, Thomas Bogendoerfer,
	Gregory Clement, Sascha Hauer, Rob Herring, Chen-Yu Tsai,
	Bjorn Andersson, Eric Dumazet, Krzysztof Kozlowski,
	Frank Wunderlich, Krzysztof Kozlowski, Hauke Mehrtens,
	Jakub Kicinski, Samuel Holland, Oleksij Rempel, ,
	Andrew Lunn, linux-arm-msm, linux-mips, linux-stm32,
	Sergio Paracuellos, Magnus Damm, Rafał Miłecki,
	Scott Branden, Linus Walleij, NXP Linux Team,
	Pengutronix Kernel Team, Paolo Abeni, Christophe Leroy,
	Heiko Stuebner, Broadcom internal kernel review list,
	Vladimir Oltean, Peng Fan, linux-kernel, Stefan Agner,
	Florian Fainelli, Andy Gross, Shawn Guo, Sebastian Hesselbarth,
	Rasmus Villemoes, Claudiu Beznea, linux-arm-kernel


On Wed, 30 Nov 2022 17:10:36 +0300, Arınç ÜNAL wrote:
> This is not used by the DSA dt-binding, so remove it from the examples.
> 
> Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
> ---
>  Documentation/devicetree/bindings/net/qca,ar71xx.yaml | 1 -
>  1 file changed, 1 deletion(-)
> 

Acked-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PATCH 5/5] powerpc: dts: remove label = "cpu" from DSA dt-binding
  2022-12-01 23:44       ` Rob Herring
@ 2022-12-02 19:35         ` Pali Rohár
  2022-12-04 18:59           ` Vladimir Oltean
  0 siblings, 1 reply; 28+ messages in thread
From: Pali Rohár @ 2022-12-02 19:35 UTC (permalink / raw)
  To: Rob Herring
  Cc: Michael Ellerman, Arınç ÜNAL, netdev, devicetree,
	linux-kernel, linuxppc-dev, Marek Behún

On Thursday 01 December 2022 17:44:00 Rob Herring wrote:
> On Thu, Dec 01, 2022 at 06:39:02PM +0100, Pali Rohár wrote:
> > On Thursday 01 December 2022 21:40:03 Michael Ellerman wrote:
> > > Arınç ÜNAL <arinc.unal@arinc9.com> writes:
> > > > This is not used by the DSA dt-binding, so remove it from all devicetrees.
> > > >
> > > > Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
> > > > ---
> > > >  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
> > 
> > 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.
> 
> 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.

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PATCH 5/5] powerpc: dts: remove label = "cpu" from DSA dt-binding
  2022-12-02 19:35         ` Pali Rohár
@ 2022-12-04 18:59           ` Vladimir Oltean
  2022-12-05 19:15             ` Arınç ÜNAL
  0 siblings, 1 reply; 28+ messages in thread
From: Vladimir Oltean @ 2022-12-04 18:59 UTC (permalink / raw)
  To: Pali Rohár
  Cc: Rob Herring, Michael Ellerman, Arınç ÜNAL, netdev,
	devicetree, linux-kernel, linuxppc-dev, Marek Behún

Hi Pali,

On Fri, Dec 02, 2022 at 08:35:52PM +0100, Pali Rohár wrote:
> On Thursday 01 December 2022 17:44:00 Rob Herring wrote:
> > On Thu, Dec 01, 2022 at 06:39:02PM +0100, Pali Rohár wrote:
> > > 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.
> > 
> > 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.
> 
> 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?

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PATCH 2/5] arm: dts: remove label = "cpu" from DSA dt-binding
  2022-11-30 14:10 ` [PATCH 2/5] arm: dts: remove label = "cpu" from DSA dt-binding Arınç ÜNAL
  2022-11-30 14:51   ` Geert Uytterhoeven
  2022-12-01  6:20   ` Oleksij Rempel
@ 2022-12-04 21:31   ` Linus Walleij
  2022-12-05 20:10   ` Jernej Škrabec
  3 siblings, 0 replies; 28+ messages in thread
From: Linus Walleij @ 2022-12-04 21:31 UTC (permalink / raw)
  To: Arınç ÜNAL
  Cc: Vladimir Oltean, Krzysztof Kozlowski, soc, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring,
	Krzysztof Kozlowski, Andrew Lunn, Gregory Clement,
	Sebastian Hesselbarth, Russell King, Nicolas Ferre,
	Alexandre Belloni, Claudiu Beznea, Ray Jui, Scott Branden,
	Broadcom internal kernel review list, Florian Fainelli,
	Hauke Mehrtens, Rafał Miłecki, Hans Ulli Kroll,
	Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	NXP Linux Team, Matthias Brugger, Andy Gross, Bjorn Andersson,
	Konrad Dybcio, Geert Uytterhoeven, Magnus Damm, Maxime Coquelin,
	Alexandre Torgue, Chen-Yu Tsai, Jernej Skrabec, Samuel Holland,
	Stefan Agner, Heiko Stuebner, Thomas Bogendoerfer,
	Sergio Paracuellos, Michael Ellerman, Nicholas Piggin,
	Christophe Leroy, Tim Harvey, Peng Fan, Rasmus Villemoes,
	Frank Wunderlich, Michael Riesch, Oleksij Rempel, netdev,
	devicetree, linux-kernel, linux-arm-kernel, linux-mediatek,
	linux-arm-msm, linux-renesas-soc, linux-stm32, linux-sunxi,
	linux-rockchip, linux-mips, linuxppc-dev

On Wed, Nov 30, 2022 at 3:13 PM Arınç ÜNAL <arinc.unal@arinc9.com> wrote:

> This is not used by the DSA dt-binding, so remove it from all devicetrees.
>
> Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>

Acked-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PATCH 5/5] powerpc: dts: remove label = "cpu" from DSA dt-binding
  2022-12-04 18:59           ` Vladimir Oltean
@ 2022-12-05 19:15             ` Arınç ÜNAL
  2022-12-07 13:13               ` Vladimir Oltean
  0 siblings, 1 reply; 28+ messages in thread
From: Arınç ÜNAL @ 2022-12-05 19:15 UTC (permalink / raw)
  To: Vladimir Oltean, Pali Rohár
  Cc: Rob Herring, Michael Ellerman, netdev, devicetree, linux-kernel,
	linuxppc-dev, Marek Behún, Jonas Gorski

On 4.12.2022 21:59, Vladimir Oltean wrote:
> Hi Pali,
> 
> On Fri, Dec 02, 2022 at 08:35:52PM +0100, Pali Rohár wrote:
>> On Thursday 01 December 2022 17:44:00 Rob Herring wrote:
>>> On Thu, Dec 01, 2022 at 06:39:02PM +0100, Pali Rohár wrote:
>>>> 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.
>>>
>>> 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.
>>
>> 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?

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ç

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PATCH 2/5] arm: dts: remove label = "cpu" from DSA dt-binding
  2022-11-30 14:10 ` [PATCH 2/5] arm: dts: remove label = "cpu" from DSA dt-binding Arınç ÜNAL
                     ` (2 preceding siblings ...)
  2022-12-04 21:31   ` Linus Walleij
@ 2022-12-05 20:10   ` Jernej Škrabec
  3 siblings, 0 replies; 28+ messages in thread
From: Jernej Škrabec @ 2022-12-05 20:10 UTC (permalink / raw)
  To: Vladimir Oltean, Krzysztof Kozlowski, soc, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring,
	Krzysztof Kozlowski, Andrew Lunn, Gregory Clement,
	Sebastian Hesselbarth, Russell King, Nicolas Ferre,
	Alexandre Belloni, Claudiu Beznea, Ray Jui, Scott Branden,
	Broadcom internal kernel review list, Florian Fainelli,
	Hauke Mehrtens, Rafał Miłecki, Hans Ulli Kroll,
	Linus Walleij, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, NXP Linux Team, Matthias Brugger, Andy Gross,
	Bjorn Andersson, Konrad Dybcio, Geert Uytterhoeven, Magnus Damm,
	Maxime Coquelin, Alexandre Torgue, Chen-Yu Tsai, Samuel Holland,
	Stefan Agner, Heiko Stuebner, Thomas Bogendoerfer,
	Arınç ÜNAL, Sergio Paracuellos, Michael Ellerman,
	Nicholas Piggin, Christophe Leroy, Tim Harvey, Peng Fan,
	Rasmus Villemoes, Frank Wunderlich, Michael Riesch,
	Oleksij Rempel
  Cc: netdev, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek, linux-arm-msm, linux-renesas-soc, linux-stm32,
	linux-sunxi, linux-rockchip, linux-mips, linuxppc-dev

Dne sreda, 30. november 2022 ob 15:10:37 CET je Arınç ÜNAL napisal(a):
> This is not used by the DSA dt-binding, so remove it from all devicetrees.
> 
> Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
> ---
>  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 -

For sun7i:

Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>

Best regards,
Jernej

>  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(-)




^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PATCH 5/5] powerpc: dts: remove label = "cpu" from DSA dt-binding
  2022-12-05 19:15             ` Arınç ÜNAL
@ 2022-12-07 13:13               ` Vladimir Oltean
  0 siblings, 0 replies; 28+ messages in thread
From: Vladimir Oltean @ 2022-12-07 13:13 UTC (permalink / raw)
  To: Arınç ÜNAL
  Cc: Pali Rohár, Rob Herring, Michael Ellerman, netdev,
	devicetree, linux-kernel, linuxppc-dev, Marek Behún,
	Jonas Gorski

On Mon, Dec 05, 2022 at 10:15:16PM +0300, Arınç ÜNAL wrote:
> 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.

^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2022-12-07 13:13 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-30 14:10 [PATCH 0/5] remove label = "cpu" from DSA dt-binding Arınç ÜNAL
2022-11-30 14:10 ` [PATCH 1/5] dt-bindings: net: qca,ar71xx: remove label = "cpu" from examples Arınç ÜNAL
2022-12-01  6:13   ` Oleksij Rempel
2022-12-01 23:46   ` Rob Herring
2022-11-30 14:10 ` [PATCH 2/5] arm: dts: remove label = "cpu" from DSA dt-binding Arınç ÜNAL
2022-11-30 14:51   ` Geert Uytterhoeven
2022-12-01  6:20   ` Oleksij Rempel
2022-12-04 21:31   ` Linus Walleij
2022-12-05 20:10   ` Jernej Škrabec
2022-11-30 14:10 ` [PATCH 3/5] arm64: " Arınç ÜNAL
2022-11-30 18:40   ` Heiko Stübner
2022-11-30 14:10 ` [PATCH 4/5] mips: " Arınç ÜNAL
2022-12-01  6:04   ` Sergio Paracuellos
2022-12-01  6:13   ` Oleksij Rempel
2022-12-01 10:53   ` Thomas Bogendoerfer
2022-11-30 14:10 ` [PATCH 5/5] powerpc: " Arınç ÜNAL
2022-12-01 10:40   ` Michael Ellerman
2022-12-01 17:39     ` Pali Rohár
2022-12-01 23:44       ` Rob Herring
2022-12-02 19:35         ` Pali Rohár
2022-12-04 18:59           ` Vladimir Oltean
2022-12-05 19:15             ` Arınç ÜNAL
2022-12-07 13:13               ` Vladimir Oltean
2022-11-30 15:55 ` [PATCH 0/5] " Andrew Lunn
2022-11-30 17:22   ` Arınç ÜNAL
2022-12-01 10:42     ` Michael Ellerman
2022-12-01 11:37       ` Arınç ÜNAL
2022-12-01  9:14 ` Arınç ÜNAL

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).