mbox series

[00/11] ARM: sa1100, mmp: drop unused board files

Message ID 20221021155000.4108406-1-arnd@kernel.org
Headers show
Series ARM: sa1100, mmp: drop unused board files | expand

Message

Arnd Bergmann Oct. 21, 2022, 3:49 p.m. UTC
From: Arnd Bergmann <arnd@arndb.de>

A number of board files were marked as 'unused' in 2022 and can
get removed in linux-6.2 at the beginning of 2023.
I wanted to group these two platforms with the PXA series, but
that one is already too big.

MMP is now DT-only, which allows removing most of the platform
specific source code.

On SA1100, four boards that have no apparent users get removed,
while another four boards each had one person saying they would
like to keep it around.

Arnd Bergmann (11):
  ARM: sa1100: un-deprecate jornada720
  ARM: sa1100: remove unused board files
  ARM: sa1100: remove irda references
  ARM: sa1100: make cpufreq driver build standalone
  cpufreq: remove sa1100 driver
  mtd: remove lart flash driver
  ARM: mmp: select specific CPU implementation
  ARM: mmp: remove all board files
  ARM: mmp: remove custom sram code
  ARM: mmp: remove device definitions
  ARM: mmp: remove old PM support

Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Dominik Brodowski <linux@dominikbrodowski.net>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Helge Deller <deller@gmx.de>
Cc: Lee Jones <lee@kernel.org>
Cc: Lubomir Rintel <lkundrak@v3.sk>
Cc: Miquel Raynal <miquel.raynal@bootlin.com>
Cc: Peter Chubb <peter.chubb@unsw.edu.au>
Cc: Richard Weinberger <richard@nod.at>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Stefan Eletzhofer <stefan.eletzhofer@eletztrick.de>
Cc: Vignesh Raghavendra <vigneshr@ti.com>
Cc: Vinod Koul <vkoul@kernel.org>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: linux-kernel@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-pm@vger.kernel.org
Cc: dmaengine@vger.kernel.org
Cc: linux-mtd@lists.infradead.org
Cc: linux-usb@vger.kernel.org
Cc: linux-fbdev@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org

 MAINTAINERS                                   |  11 -
 arch/arm/Kconfig                              |   6 -
 arch/arm/boot/compressed/head-sa1100.S        |   4 -
 arch/arm/configs/badge4_defconfig             | 105 ---
 arch/arm/configs/cerfcube_defconfig           |  73 --
 arch/arm/configs/hackkit_defconfig            |  48 --
 arch/arm/configs/jornada720_defconfig         |   1 -
 arch/arm/configs/lart_defconfig               |  64 --
 arch/arm/configs/pleb_defconfig               |  53 --
 arch/arm/configs/pxa168_defconfig             |   3 -
 arch/arm/configs/pxa910_defconfig             |   2 -
 arch/arm/configs/shannon_defconfig            |  45 --
 arch/arm/configs/simpad_defconfig             | 100 ---
 arch/arm/mach-mmp/Kconfig                     |  96 ---
 arch/arm/mach-mmp/Makefile                    |  21 +-
 arch/arm/mach-mmp/aspenite.c                  | 284 --------
 arch/arm/mach-mmp/avengers_lite.c             |  55 --
 arch/arm/mach-mmp/brownstone.c                | 237 ------
 arch/arm/mach-mmp/common.c                    |   5 -
 arch/arm/mach-mmp/common.h                    |   2 -
 arch/arm/mach-mmp/devices.c                   | 359 ---------
 arch/arm/mach-mmp/devices.h                   |  57 --
 arch/arm/mach-mmp/flint.c                     | 131 ----
 arch/arm/mach-mmp/gplugd.c                    | 206 ------
 arch/arm/mach-mmp/irqs.h                      | 240 ------
 arch/arm/mach-mmp/jasper.c                    | 185 -----
 arch/arm/mach-mmp/mfp-mmp2.h                  | 396 ----------
 arch/arm/mach-mmp/mfp-pxa168.h                | 355 ---------
 arch/arm/mach-mmp/mfp-pxa910.h                | 170 -----
 arch/arm/mach-mmp/mfp.h                       |  35 -
 arch/arm/mach-mmp/mmp2.c                      | 175 -----
 arch/arm/mach-mmp/mmp2.h                      | 104 ---
 arch/arm/mach-mmp/pm-mmp2.c                   | 248 -------
 arch/arm/mach-mmp/pm-mmp2.h                   |  59 --
 arch/arm/mach-mmp/pm-pxa910.c                 | 272 -------
 arch/arm/mach-mmp/pm-pxa910.h                 |  75 --
 arch/arm/mach-mmp/pxa168.c                    | 175 -----
 arch/arm/mach-mmp/pxa168.h                    | 139 ----
 arch/arm/mach-mmp/pxa910.c                    | 190 -----
 arch/arm/mach-mmp/pxa910.h                    |  90 ---
 arch/arm/mach-mmp/regs-apbc.h                 |  19 -
 arch/arm/mach-mmp/regs-apmu.h                 |  28 -
 arch/arm/mach-mmp/regs-icu.h                  |  69 --
 arch/arm/mach-mmp/regs-timers.h               |   5 -
 arch/arm/mach-mmp/regs-usb.h                  | 155 ----
 arch/arm/mach-mmp/sram.c                      | 167 -----
 arch/arm/mach-mmp/teton_bga.c                 | 100 ---
 arch/arm/mach-mmp/teton_bga.h                 |  22 -
 arch/arm/mach-mmp/time.c                      |   9 +-
 arch/arm/mach-mmp/ttc_dkb.c                   | 315 --------
 arch/arm/mach-sa1100/Kconfig                  | 112 ---
 arch/arm/mach-sa1100/Makefile                 |  21 -
 arch/arm/mach-sa1100/assabet.c                |   1 -
 arch/arm/mach-sa1100/badge4.c                 | 338 ---------
 arch/arm/mach-sa1100/cerf.c                   | 181 -----
 arch/arm/mach-sa1100/collie.c                 |   1 -
 arch/arm/mach-sa1100/generic.c                |  32 -
 arch/arm/mach-sa1100/generic.h                |   4 -
 arch/arm/mach-sa1100/h3100.c                  | 140 ----
 arch/arm/mach-sa1100/h3600.c                  |   1 -
 arch/arm/mach-sa1100/hackkit.c                | 184 -----
 arch/arm/mach-sa1100/include/mach/badge4.h    |  71 --
 arch/arm/mach-sa1100/include/mach/cerf.h      |  20 -
 arch/arm/mach-sa1100/include/mach/generic.h   |   1 -
 .../arm/mach-sa1100/include/mach/nanoengine.h |  48 --
 arch/arm/mach-sa1100/include/mach/shannon.h   |  40 -
 arch/arm/mach-sa1100/include/mach/simpad.h    | 159 ----
 arch/arm/mach-sa1100/lart.c                   | 177 -----
 arch/arm/mach-sa1100/nanoengine.c             | 136 ----
 arch/arm/mach-sa1100/pci-nanoengine.c         | 191 -----
 arch/arm/mach-sa1100/pleb.c                   | 148 ----
 arch/arm/mach-sa1100/shannon.c                | 157 ----
 arch/arm/mach-sa1100/simpad.c                 | 423 -----------
 drivers/cpufreq/Kconfig                       |   2 +-
 drivers/cpufreq/Kconfig.arm                   |   3 -
 drivers/cpufreq/Makefile                      |   1 -
 drivers/cpufreq/sa1100-cpufreq.c              | 206 ------
 drivers/cpufreq/sa1110-cpufreq.c              |  38 +-
 drivers/dma/mmp_tdma.c                        |   7 +-
 drivers/mfd/Kconfig                           |   2 +-
 drivers/mtd/devices/Kconfig                   |   8 -
 drivers/mtd/devices/Makefile                  |   1 -
 drivers/mtd/devices/lart.c                    | 682 ------------------
 drivers/pcmcia/sa1100_generic.c               |   5 +-
 drivers/pcmcia/sa1100_h3600.c                 |   2 +-
 drivers/pcmcia/sa1111_generic.c               |   4 -
 drivers/usb/host/ohci-sa1111.c                |   5 +-
 drivers/video/fbdev/sa1100fb.c                |   1 -
 include/linux/platform_data/dma-mmp_tdma.h    |  36 -
 include/linux/platform_data/irda-sa11x0.h     |  17 -
 include/linux/soc/mmp/cputype.h               |  24 +-
 91 files changed, 43 insertions(+), 9352 deletions(-)
 delete mode 100644 arch/arm/configs/badge4_defconfig
 delete mode 100644 arch/arm/configs/cerfcube_defconfig
 delete mode 100644 arch/arm/configs/hackkit_defconfig
 delete mode 100644 arch/arm/configs/lart_defconfig
 delete mode 100644 arch/arm/configs/pleb_defconfig
 delete mode 100644 arch/arm/configs/shannon_defconfig
 delete mode 100644 arch/arm/configs/simpad_defconfig
 delete mode 100644 arch/arm/mach-mmp/aspenite.c
 delete mode 100644 arch/arm/mach-mmp/avengers_lite.c
 delete mode 100644 arch/arm/mach-mmp/brownstone.c
 delete mode 100644 arch/arm/mach-mmp/devices.c
 delete mode 100644 arch/arm/mach-mmp/devices.h
 delete mode 100644 arch/arm/mach-mmp/flint.c
 delete mode 100644 arch/arm/mach-mmp/gplugd.c
 delete mode 100644 arch/arm/mach-mmp/irqs.h
 delete mode 100644 arch/arm/mach-mmp/jasper.c
 delete mode 100644 arch/arm/mach-mmp/mfp-mmp2.h
 delete mode 100644 arch/arm/mach-mmp/mfp-pxa168.h
 delete mode 100644 arch/arm/mach-mmp/mfp-pxa910.h
 delete mode 100644 arch/arm/mach-mmp/mfp.h
 delete mode 100644 arch/arm/mach-mmp/mmp2.c
 delete mode 100644 arch/arm/mach-mmp/mmp2.h
 delete mode 100644 arch/arm/mach-mmp/pm-mmp2.c
 delete mode 100644 arch/arm/mach-mmp/pm-mmp2.h
 delete mode 100644 arch/arm/mach-mmp/pm-pxa910.c
 delete mode 100644 arch/arm/mach-mmp/pm-pxa910.h
 delete mode 100644 arch/arm/mach-mmp/pxa168.c
 delete mode 100644 arch/arm/mach-mmp/pxa168.h
 delete mode 100644 arch/arm/mach-mmp/pxa910.c
 delete mode 100644 arch/arm/mach-mmp/pxa910.h
 delete mode 100644 arch/arm/mach-mmp/regs-apbc.h
 delete mode 100644 arch/arm/mach-mmp/regs-apmu.h
 delete mode 100644 arch/arm/mach-mmp/regs-icu.h
 delete mode 100644 arch/arm/mach-mmp/regs-usb.h
 delete mode 100644 arch/arm/mach-mmp/sram.c
 delete mode 100644 arch/arm/mach-mmp/teton_bga.c
 delete mode 100644 arch/arm/mach-mmp/teton_bga.h
 delete mode 100644 arch/arm/mach-mmp/ttc_dkb.c
 delete mode 100644 arch/arm/mach-sa1100/badge4.c
 delete mode 100644 arch/arm/mach-sa1100/cerf.c
 delete mode 100644 arch/arm/mach-sa1100/h3100.c
 delete mode 100644 arch/arm/mach-sa1100/hackkit.c
 delete mode 100644 arch/arm/mach-sa1100/include/mach/badge4.h
 delete mode 100644 arch/arm/mach-sa1100/include/mach/cerf.h
 delete mode 100644 arch/arm/mach-sa1100/include/mach/generic.h
 delete mode 100644 arch/arm/mach-sa1100/include/mach/nanoengine.h
 delete mode 100644 arch/arm/mach-sa1100/include/mach/shannon.h
 delete mode 100644 arch/arm/mach-sa1100/include/mach/simpad.h
 delete mode 100644 arch/arm/mach-sa1100/lart.c
 delete mode 100644 arch/arm/mach-sa1100/nanoengine.c
 delete mode 100644 arch/arm/mach-sa1100/pci-nanoengine.c
 delete mode 100644 arch/arm/mach-sa1100/pleb.c
 delete mode 100644 arch/arm/mach-sa1100/shannon.c
 delete mode 100644 arch/arm/mach-sa1100/simpad.c
 delete mode 100644 drivers/cpufreq/sa1100-cpufreq.c
 delete mode 100644 drivers/mtd/devices/lart.c
 delete mode 100644 include/linux/platform_data/dma-mmp_tdma.h
 delete mode 100644 include/linux/platform_data/irda-sa11x0.h

Comments

Greg KH Oct. 22, 2022, 10:31 a.m. UTC | #1
On Fri, Oct 21, 2022 at 05:49:32PM +0200, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
> 
> The Cerf, H3100, Badge4, Hackkit, LART, NanoEngine, PLEB, Shannon and
> Simpad machines were all marked as unused as there are no known users
> left. Remove all of these, along with references to them in defconfig
> files and drivers.
> 
> Four machines remain now: Assabet, Collie (Zaurus SL5500), iPAQ H3600
> and Jornada 720, each of which had one person still using them, with
> Collie also being supported in Qemu.
> 
> Cc: Peter Chubb <peter.chubb@unsw.edu.au>
> Cc: Stefan Eletzhofer <stefan.eletzhofer@eletztrick.de>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Viresh Kumar Oct. 25, 2022, 5:10 a.m. UTC | #2
On 21-10-22, 17:49, Arnd Bergmann wrote:
> diff --git a/drivers/cpufreq/sa1110-cpufreq.c b/drivers/cpufreq/sa1110-cpufreq.c
> index 1a83c8678a63..bb7f591a8b05 100644
> --- a/drivers/cpufreq/sa1110-cpufreq.c
> +++ b/drivers/cpufreq/sa1110-cpufreq.c
> @@ -344,14 +344,8 @@ static int __init sa1110_clk_init(void)
>  	if (!name[0]) {
>  		if (machine_is_assabet())
>  			name = "TC59SM716-CL3";
> -		if (machine_is_pt_system3())
> -			name = "K4S641632D";
> -		if (machine_is_h3100())
> -			name = "KM416S4030CT";
>  		if (machine_is_jornada720() || machine_is_h3600())
>  			name = "K4S281632B-1H";
> -		if (machine_is_nanoengine())
> -			name = "MT48LC8M16A2TG-75";
>  	}
>  
>  	sdram = sa1110_find_sdram(name);

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Linus Walleij Oct. 31, 2022, 7:55 p.m. UTC | #3
On Fri, Oct 21, 2022 at 5:55 PM Arnd Bergmann <arnd@kernel.org> wrote:

> From: Arnd Bergmann <arnd@arndb.de>
>
> The Cerf, H3100, Badge4, Hackkit, LART, NanoEngine, PLEB, Shannon and
> Simpad machines were all marked as unused as there are no known users
> left. Remove all of these, along with references to them in defconfig
> files and drivers.
>
> Four machines remain now: Assabet, Collie (Zaurus SL5500), iPAQ H3600
> and Jornada 720, each of which had one person still using them, with
> Collie also being supported in Qemu.
>
> Cc: Peter Chubb <peter.chubb@unsw.edu.au>
> Cc: Stefan Eletzhofer <stefan.eletzhofer@eletztrick.de>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Acked-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij