Skip to contentSkip to conversation

powerpc: dts: Remove MPC5xxx platforms

RFC PATCH In review Rob Herring 4 participants 4 messages Oct 12, 2021 – Nov 25, 2021

Subsystems (2)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

RFC PATCH 1/1 powerpc: dts: Remove MPC5xxx platforms

The mpc5xxx platforms have had dts warnings for some time which no one seems to care to fix, so let's just remove the dts files.

According to Arnd:
"Specifically, MPC5200B has a 15 year lifetime, which ends in 11 months from now. The original bplan/Genesi Efika 5K2 was quite popular at the time it came out, and there are probably still some of those hanging around, but they came with Open Firmware rather than relying on the dts files that ship with the kernel.

Grant Likely was the original maintainer for MPC52xx until 2011, Anatolij Gustschin is still listed as maintainer since then but hasn't been active in it for a while either. Anatolij can probably best judge which of these boards are still in going to be used with future kernels, but I suspect once you start removing bits from 52xx, the newer but less common 512x platform can go away as well."

Cc Anatolij Gustschin <[email protected]>
Cc Arnd Bergmann <[email protected]>
Cc Stephen Rothwell <[email protected]>
Cc Michael Ellerman <[email protected]>
Cc Benjamin Herrenschmidt <[email protected]>
Cc Paul Mackerras <[email protected]>

---
Sending this out as a feeler to see if anyone cares. If anyone does, please fix the warnings.

 arch/powerpc/boot/Makefile           |   5 -
 arch/powerpc/boot/dts/a3m071.dts     | 138 -------
 arch/powerpc/boot/dts/a4m072.dts     | 147 --------
 arch/powerpc/boot/dts/ac14xx.dts     | 395 --------------------
 arch/powerpc/boot/dts/cm5200.dts     |  85 -----
 arch/powerpc/boot/dts/lite5200b.dts  | 157 --------
 arch/powerpc/boot/dts/media5200.dts  | 142 --------
 arch/powerpc/boot/dts/motionpro.dts  | 132 -------
 arch/powerpc/boot/dts/mpc5121.dtsi   | 526 ---------------------------
 arch/powerpc/boot/dts/mpc5121ads.dts | 174 ---------
 arch/powerpc/boot/dts/mpc5125twr.dts | 293 ---------------
 arch/powerpc/boot/dts/mpc5200b.dtsi  | 288 ---------------
 arch/powerpc/boot/dts/mucmc52.dts    | 222 -----------
 arch/powerpc/boot/dts/o2d.dts        |  43 ---
 arch/powerpc/boot/dts/o2d.dtsi       | 118 ------
 arch/powerpc/boot/dts/o2d300.dts     |  48 ---
 arch/powerpc/boot/dts/o2dnt2.dts     |  44 ---
 arch/powerpc/boot/dts/o2i.dts        |  29 --
 arch/powerpc/boot/dts/o2mnt.dts      |  29 --
 arch/powerpc/boot/dts/o3dnt.dts      |  44 ---
 arch/powerpc/boot/dts/pcm030.dts     | 106 ------
 arch/powerpc/boot/dts/pcm032.dts     | 183 ----------
 arch/powerpc/boot/dts/pdm360ng.dts   | 195 ----------
 arch/powerpc/boot/dts/uc101.dts      | 152 --------
 24 files changed, 3695 deletions(-)
 delete mode 100644 arch/powerpc/boot/dts/a3m071.dts
 delete mode 100644 arch/powerpc/boot/dts/a4m072.dts
 delete mode 100644 arch/powerpc/boot/dts/ac14xx.dts
 delete mode 100644 arch/powerpc/boot/dts/cm5200.dts
 delete mode 100644 arch/powerpc/boot/dts/lite5200b.dts
 delete mode 100644 arch/powerpc/boot/dts/media5200.dts
 delete mode 100644 arch/powerpc/boot/dts/motionpro.dts
 delete mode 100644 arch/powerpc/boot/dts/mpc5121.dtsi
 delete mode 100644 arch/powerpc/boot/dts/mpc5121ads.dts
 delete mode 100644 arch/powerpc/boot/dts/mpc5125twr.dts
 delete mode 100644 arch/powerpc/boot/dts/mpc5200b.dtsi
 delete mode 100644 arch/powerpc/boot/dts/mucmc52.dts
 delete mode 100644 arch/powerpc/boot/dts/o2d.dts
 delete mode 100644 arch/powerpc/boot/dts/o2d.dtsi
 delete mode 100644 arch/powerpc/boot/dts/o2d300.dts
 delete mode 100644 arch/powerpc/boot/dts/o2dnt2.dts
 delete mode 100644 arch/powerpc/boot/dts/o2i.dts
 delete mode 100644 arch/powerpc/boot/dts/o2mnt.dts
 delete mode 100644 arch/powerpc/boot/dts/o3dnt.dts
 delete mode 100644 arch/powerpc/boot/dts/pcm030.dts
 delete mode 100644 arch/powerpc/boot/dts/pcm032.dts
 delete mode 100644 arch/powerpc/boot/dts/pdm360ng.dts
 delete mode 100644 arch/powerpc/boot/dts/uc101.dts
arch/powerpc/boot/Makefile +0 -5
index 6900d0ac2421..15ee0c2c6a3e 100644
@@ -308,11 +308,6 @@ image-$(CONFIG_PPC_EP88XC)		+= dtbImage.ep88xc
 image-$(CONFIG_PPC_ADDER875)		+= cuImage.adder875-uboot \
 					   dtbImage.adder875-redboot
 
-# Board ports in arch/powerpc/platform/52xx/Kconfig
-image-$(CONFIG_PPC_LITE5200)		+= cuImage.lite5200
-image-$(CONFIG_PPC_LITE5200)		+= cuImage.lite5200b
-image-$(CONFIG_PPC_MEDIA5200)		+= cuImage.media5200
-
 # Board ports in arch/powerpc/platform/82xx/Kconfig
 image-$(CONFIG_MPC8272_ADS)		+= cuImage.mpc8272ads
 image-$(CONFIG_PQ2FADS)			+= cuImage.pq2fads
arch/powerpc/boot/dts/a3m071.dts deleted +0 -138

138 lines not on this page · raw message

arch/powerpc/boot/dts/a4m072.dts deleted +0 -147

147 lines not on this page · raw message

arch/powerpc/boot/dts/ac14xx.dts deleted +0 -395

395 lines not on this page · raw message

arch/powerpc/boot/dts/cm5200.dts deleted +0 -85

85 lines not on this page · raw message

arch/powerpc/boot/dts/lite5200b.dts deleted +0 -157

157 lines not on this page · raw message

arch/powerpc/boot/dts/media5200.dts deleted +0 -142

142 lines not on this page · raw message

arch/powerpc/boot/dts/motionpro.dts deleted +0 -132

132 lines not on this page · raw message

arch/powerpc/boot/dts/mpc5121.dtsi deleted +0 -526

526 lines not on this page · raw message

arch/powerpc/boot/dts/mpc5121ads.dts deleted +0 -174

174 lines not on this page · raw message

arch/powerpc/boot/dts/mpc5125twr.dts deleted +0 -293

293 lines not on this page · raw message

arch/powerpc/boot/dts/mpc5200b.dtsi deleted +0 -288

288 lines not on this page · raw message

arch/powerpc/boot/dts/mucmc52.dts deleted +0 -222

222 lines not on this page · raw message

arch/powerpc/boot/dts/o2d.dts deleted +0 -43

43 lines not on this page · raw message

arch/powerpc/boot/dts/o2d.dtsi deleted +0 -118

118 lines not on this page · raw message

arch/powerpc/boot/dts/o2d300.dts deleted +0 -48

48 lines not on this page · raw message

arch/powerpc/boot/dts/o2dnt2.dts deleted +0 -44

44 lines not on this page · raw message

arch/powerpc/boot/dts/o2i.dts deleted +0 -29
deleted file mode 100644
index 3fb2e0ad7387..000000000000
@@ -1,29 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-or-later
-/*
- * O2I Device Tree Source
- *
- * Copyright (C) 2012 DENX Software Engineering
- * Anatolij Gustschin <[email protected]>
- */
-
-/include/ "o2d.dtsi"
-
-/ {
-	model = "ifm,o2i";
-	compatible = "ifm,o2d";
-
-	localbus {
-		flash@0,0 {
-			partition@60000 {
-				label = "kernel";
-				reg = <0x00060000 0x00260000>;
-				read-only;
-			};
-			/* o2i specific partitions */
-			partition@2c0000 {
-				label = "o2i user defined";
-				reg = <0x002c0000 0x00d40000>;
-			};
-		};
-	};
-};
arch/powerpc/boot/dts/o2mnt.dts deleted +0 -29
deleted file mode 100644
index c5e0ba6e8f2b..000000000000
@@ -1,29 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-or-later
-/*
- * O2MNT Device Tree Source
- *
- * Copyright (C) 2012 DENX Software Engineering
- * Anatolij Gustschin <[email protected]>
- */
-
[… more lines in the raw message]

Lines of this file are not shown. View the raw message.

arch/powerpc/boot/dts/o3dnt.dts deleted +0 -44

44 lines not on this page · raw message

arch/powerpc/boot/dts/pcm030.dts deleted +0 -106

106 lines not on this page · raw message

arch/powerpc/boot/dts/pcm032.dts deleted +0 -183

183 lines not on this page · raw message

arch/powerpc/boot/dts/pdm360ng.dts deleted +0 -195

195 lines not on this page · raw message

arch/powerpc/boot/dts/uc101.dts deleted +0 -152

152 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.30.2

Part of the diff is not shown here. View the raw message.

#1 lore raw

Hi Rob,

Quoted 27 lines · On Tue, 12 Oct 2021 10:34:56 -0500 Rob Herring <[email protected]> wrote:

The mpc5xxx platforms have had dts warnings for some time which no one seems to care to fix, so let's just remove the dts files.

According to Arnd:
"Specifically, MPC5200B has a 15 year lifetime, which ends in 11 months from now. The original bplan/Genesi Efika 5K2 was quite popular at the time it came out, and there are probably still some of those hanging around, but they came with Open Firmware rather than relying on the dts files that ship with the kernel.

Grant Likely was the original maintainer for MPC52xx until 2011, Anatolij Gustschin is still listed as maintainer since then but hasn't been active in it for a while either. Anatolij can probably best judge which of these boards are still in going to be used with future kernels, but I suspect once you start removing bits from 52xx, the newer but less common 512x platform can go away as well."

Cc Anatolij Gustschin <[email protected]>
Cc Arnd Bergmann <[email protected]>
Cc Stephen Rothwell <[email protected]>
Cc Michael Ellerman <[email protected]>
Cc Benjamin Herrenschmidt <[email protected]>
Cc Paul Mackerras <[email protected]>
Quoted 3 lines

---
Sending this out as a feeler to see if anyone cares. If anyone does, please fix the warnings.

Thanks. However .. :-)

FATAL ERROR: Couldn't open "mpc5200b.dtsi": No such file or directory
make[2]: *** [/home/sfr/next/next/scripts/Makefile.lib:358: arch/powerpc/boot/dts/digsy_mtc.dtb] Error 1

$ grep -wrl mpc5200b.dtsi
arch/powerpc/boot/dts/digsy_mtc.dts

missed one :-)

Signature · 2 lines
Cheers,
Stephen Rothwell
#2 lore raw
Quoted 33 lines · On Wed, 13 Oct 2021 17:38:08 +1100 Stephen Rothwell [email protected] wrote:

Hi Rob,

Quoted 30 lines · On Tue, 12 Oct 2021 10:34:56 -0500 Rob Herring <[email protected]> wrote:

The mpc5xxx platforms have had dts warnings for some time which no one seems to care to fix, so let's just remove the dts files.

According to Arnd:
"Specifically, MPC5200B has a 15 year lifetime, which ends in 11 months from now. The original bplan/Genesi Efika 5K2 was quite popular at the time it came out, and there are probably still some of those hanging around, but they came with Open Firmware rather than relying on the dts files that ship with the kernel.

Grant Likely was the original maintainer for MPC52xx until 2011, Anatolij Gustschin is still listed as maintainer since then but hasn't been active in it for a while either. Anatolij can probably best judge which of these boards are still in going to be used with future kernels, but I suspect once you start removing bits from 52xx, the newer but less common 512x platform can go away as well."

Cc Anatolij Gustschin <[email protected]>
Cc Arnd Bergmann <[email protected]>
Cc Stephen Rothwell <[email protected]>
Cc Michael Ellerman <[email protected]>
Cc Benjamin Herrenschmidt <[email protected]>
Cc Paul Mackerras <[email protected]>

---
Sending this out as a feeler to see if anyone cares. If anyone does, please fix the warnings.

I've sent patches to fix the warnings.

Thanks,

Anatolij

#3 lore raw
In reply to Rob Herring
[If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch]

Hi Rob,

[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on robh/for-next]
[cannot apply to powerpc/next v5.16-rc2 next-20211125]
[If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Rob-Herring/powerpc-dts-Remove-MPC5xxx-platforms/20211012-233557
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
config: powerpc-allyesconfig (https://download.01.org/0day-ci/archive/20211125/202111252131.2sPhmT8G-lkp(a)intel.com/config)
compiler: powerpc64-linux-gcc (GCC) 11.2.0

reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/eb991c1e0aa098bd0c77b3d2a3eb9b9ec655b1bf
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Rob-Herring/powerpc-dts-Remove-MPC5xxx-platforms/20211012-233557 git checkout eb991c1e0aa098bd0c77b3d2a3eb9b9ec655b1bf
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=powerpc SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate

All errors (new ones prefixed by >>):

>> FATAL ERROR: Couldn't open "mpc5200b.dtsi": No such file or directory

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org