Linux SOC development
 help / color / mirror / Atom feed
From: "Arınç ÜNAL" <arinc.unal@arinc9.com>
To: Vladimir Oltean <vladimir.oltean@nxp.com>,
	Rob Herring <robh+dt@kernel.org>,
	Florian Fainelli <f.fainelli@gmail.com>,
	soc@kernel.org
Cc: "Arınç ÜNAL" <arinc.unal@arinc9.com>
Subject: [PATCH 0/5] remove label = "cpu" from DSA dt-binding
Date: Wed, 30 Nov 2022 03:34:05 +0300	[thread overview]
Message-ID: <20221130003410.191837-1-arinc.unal@arinc9.com> (raw)

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



             reply	other threads:[~2022-11-30  0:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-30  0:34 Arınç ÜNAL [this message]
2022-11-30  0:34 ` [PATCH 1/5] dt-bindings: net: qca,ar71xx: remove label = "cpu" from examples Arınç ÜNAL
2022-11-30  0:34 ` [PATCH 2/5] arm: dts: remove label = "cpu" from DSA dt-binding Arınç ÜNAL
2022-11-30  0:34 ` [PATCH 3/5] arm64: " Arınç ÜNAL
2022-11-30  0:34 ` [PATCH 4/5] mips: " Arınç ÜNAL
2022-11-30  0:34 ` [PATCH 5/5] powerpc: " Arınç ÜNAL
2022-11-30  0:59 ` [PATCH 0/5] " Rob Herring
  -- strict thread matches above, loose matches on Subject: below --
2022-11-30 14:10 Arınç ÜNAL
2022-11-30 15:55 ` 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
2022-12-02  4:10 ` patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221130003410.191837-1-arinc.unal@arinc9.com \
    --to=arinc.unal@arinc9.com \
    --cc=f.fainelli@gmail.com \
    --cc=robh+dt@kernel.org \
    --cc=soc@kernel.org \
    --cc=vladimir.oltean@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox