Skip to content

remove label = "cpu" from DSA dt-binding

Arınç ÜNAL linux-arm-kernel linux-arm-msm linux-devicetree linux-mediatek linux-mips linux-renesas-soc linux-rockchip linux-sunxi linuxppc-dev lkml netdev soc 1 version Applied

Status from this message: applied to mips-next.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 23 repliesApplied 1/5

Patches in v1 Applied · 1/5

#Subject and filesSizeRepliesApplied
1/5dt-bindings: net: qca,ar71xx: remove label = "cpu" from examplesDocumentation/devicetree/bindings/net/qca,ar71xx.yaml+0 -12 repliesApplied
2/5arm: dts: remove label = "cpu" from DSA dt-bindingarch/arm/boot/dts/armada-370-rd.dts arch/arm/boot/dts/armada-381-netgear-gs110emx.dts arch/arm/boot/dts/armada-385-clearfog-gtr-l8.dts +72 more+0 -815 replies
3/5arm64: dts: remove label = "cpu" from DSA dt-bindingarch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx.dts arch/arm64/boot/dts/freescale/imx8mq-zii-ultra.dtsi +10 more+0 -141 reply
4/5mips: dts: remove label = "cpu" from DSA dt-bindingarch/mips/boot/dts/qca/ar9331.dtsi arch/mips/boot/dts/ralink/mt7621.dtsi+0 -23 replies
5/5powerpc: dts: remove label = "cpu" from DSA dt-bindingarch/powerpc/boot/dts/turris1x.dts+0 -27 replies

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchGeert UytterhoevenAndrew LunnHeiko StuebnerSergio ParacuellosOleksij RempelBjorn AnderssonRob HerringLinus WalleijJernej Skrabec
SeriesR-b
1/5R-b A-b
2/5A-b R-b A-b A-b A-b
3/5A-b
4/5A-b R-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 9 reviewers.

Read the v1 thread

Cover letter [PATCH 0/5] remove label = "cpu" from DSA dt-binding

Hello folks,

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

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

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

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

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

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

Restore the symlink files which typechange after running sed.

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