mbox series

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

Message ID 20221130003410.191837-1-arinc.unal@arinc9.com (mailing list archive)
Headers show
Series remove label = "cpu" from DSA dt-binding | expand

Message

Arınç ÜNAL Nov. 30, 2022, 12:34 a.m. UTC
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.

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/

Can we directly apply this series?

I based this off at the current soc/soc.git soc/dt (2d5e7e2a3db5). Let me
know if there’s another tree that’s got newer DT changes.

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

 Documentation/devicetree/bindings/net/qca,ar71xx.yaml      | 1 -
 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 -
 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 -
 arch/mips/boot/dts/qca/ar9331.dtsi                         | 1 -
 arch/mips/boot/dts/ralink/mt7621.dtsi                      | 1 -
 arch/powerpc/boot/dts/turris1x.dts                         | 2 --
 92 files changed, 100 deletions(-)

Comments

Rob Herring Nov. 30, 2022, 12:59 a.m. UTC | #1
On Tue, Nov 29, 2022 at 6:34 PM Arınç ÜNAL <arinc.unal@arinc9.com> 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.
>
> 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/
>
> Can we directly apply this series?

No, you have to send to a public maillist. Use get_maintainers.pl.

Each of these can be sent individually because it is all different
trees. Patch 1 goes to netdev tree. Powerpc and MIPS maintainers will
take patches 5 and 4. SoC maintainers are just patches 2 and 3.

Rob