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

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