linux-renesas-soc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/27] ARM: pxa: remove all unused boards&drivers
@ 2023-01-05 13:45 Arnd Bergmann
  2023-01-05 13:46 ` [PATCH 18/27] mfd: remove toshiba tmio drivers Arnd Bergmann
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Arnd Bergmann @ 2023-01-05 13:45 UTC (permalink / raw)
  To: Robert Jarzmik
  Cc: Daniel Mack, Haojian Zhuang, linux-arm-kernel, linux-kernel,
	Arnd Bergmann, stern, alexandre.belloni, brgl, damien.lemoal,
	dmitry.torokhov, linux, balbi, gregkh, deller, perex, jingoohan1,
	lee, kernel, lgirdwood, linus.walleij, marek.vasut, broonie,
	mkpetch, miquel.raynal, lost.distance, philipp.zabel, linux, sre,
	slapin, s.shtylyov, sudipm.mukherjee, tiwai, ulf.hansson,
	vigneshr, viresh.kumar, wsa+renesas, linux-pm, linux-ide,
	linux-gpio, linux-input, patches, linux-leds, linux-mmc,
	linux-renesas-soc, linux-mtd, linux-rtc, linux-usb, dri-devel,
	linux-fbdev, alsa-devel

From: Arnd Bergmann <arnd@arndb.de>

Most of the legacy PXA board files were marked as unused in linux-5.19 and
can get removed in linux-6.3. There is support for pxa250/pxa270/pxa300
using devicetree already, which supports a number of boards, but progress
on converting the remaining ones has stalled over the past few years.

The two boards that are left in the tree for now are the three 'sharpsl'
variants (spitz/akita/borzoi) and the 'gumstix' family of machines.
Both of these are supported by qemu, which can be helpful for completing
the DT conversion.

Only PXA25x and PXA27x are left with full boardfile support, so PXA300
can get a lot simpler while still working with DT, and PXA310/320/93x
can be removed entirely.

A good number of drivers become impossible to select after this, so
each of these also get dropped. I'm including the driver patches in the
series here and can either merge them through the soc tree, or they can
get picked up by the individual subsystem maintainers. Since both the
platform and the drivers get removed, the order should not matter.

Note that the patches here are generated with 'git format-patch -D' and
don't contain the contents of removed files because of the significant
size (the first patch is close to a megabyte).

---
I first attempted to send this series in October, but only the
cover letter made it out at the time, not the patches.  Since Robert
discovered a problem with the AC97_BUS_NEW support getting removed, and
I ran into other build issues before resending, it did not make it for
6.2 at all. I'm trying to queue up all the board removal patches now,
so am posting these properly now.

Arnd Bergmann (27):
  ARM: pxa: remove unused board files
  ARM: pxa: remove irda leftover
  ARM: pxa: remove unused pxa3xx-ulpi
  ARM: pxa: drop pxa310/pxa320/pxa93x support
  ARM: pxa: prune unused device support
  power: remove z2_battery driver
  power: remove tosa_battery driver
  ata: remove palmld pata driver
  backlight: remove pxa tosa support
  input: remove pxa930_trkball driver
  input: remove pxa930_rotary keyboard driver
  input: remove zylonite touchscreen driver
  pcmcia: remove unused pxa/sa1100 drivers
  ASoC: PXA: make SND_PXA2XX_SOC_AC97 user-selectable
  ASoC: pxa: remove unused board support
  power: remove pda_power supply driver
  rtc: remove v3020 driver
  mfd: remove toshiba tmio drivers
  mfd: remove ucb1400 support
  mtd: remove tmio_nand driver
  mmc: remove tmio_mmc driver
  fbdev: remove tmiofb driver
  fbdev: remove w100fb driver
  leds: remove asic3 driver
  usb: remove ohci-tmio driver
  w1: remove ds1wm driver
  mfd: remove htc-pasic3 driver

 Documentation/power/power_supply_class.rst    |    4 +-
 MAINTAINERS                                   |   99 -
 arch/arm/configs/cm_x300_defconfig            |  163 --
 arch/arm/configs/colibri_pxa270_defconfig     |  157 --
 arch/arm/configs/colibri_pxa300_defconfig     |   60 -
 arch/arm/configs/corgi_defconfig              |  247 ---
 arch/arm/configs/eseries_pxa_defconfig        |   97 -
 arch/arm/configs/ezx_defconfig                |  389 ----
 arch/arm/configs/h5000_defconfig              |   74 -
 arch/arm/configs/lpd270_defconfig             |   58 -
 arch/arm/configs/lubbock_defconfig            |   53 -
 arch/arm/configs/magician_defconfig           |  151 --
 arch/arm/configs/mainstone_defconfig          |   51 -
 arch/arm/configs/palmz72_defconfig            |   75 -
 arch/arm/configs/pcm027_defconfig             |   90 -
 arch/arm/configs/pxa255-idp_defconfig         |   55 -
 arch/arm/configs/pxa_defconfig                |    3 -
 arch/arm/configs/trizeps4_defconfig           |  207 ---
 arch/arm/configs/viper_defconfig              |  160 --
 arch/arm/configs/xcep_defconfig               |   90 -
 arch/arm/configs/zeus_defconfig               |  173 --
 arch/arm/mach-pxa/Kconfig                     |  583 +-----
 arch/arm/mach-pxa/Makefile                    |   60 +-
 arch/arm/mach-pxa/balloon3-pcmcia.c           |  137 --
 arch/arm/mach-pxa/balloon3.c                  |  821 --------
 arch/arm/mach-pxa/balloon3.h                  |  181 --
 arch/arm/mach-pxa/capc7117.c                  |  159 --
 arch/arm/mach-pxa/cm-x300.c                   |  883 ---------
 arch/arm/mach-pxa/colibri-evalboard.c         |  138 --
 arch/arm/mach-pxa/colibri-pcmcia.c            |  165 --
 arch/arm/mach-pxa/colibri-pxa270-income.c     |  236 ---
 arch/arm/mach-pxa/colibri-pxa270.c            |  330 ----
 arch/arm/mach-pxa/colibri-pxa300.c            |  193 --
 arch/arm/mach-pxa/colibri-pxa320.c            |  264 ---
 arch/arm/mach-pxa/colibri-pxa3xx.c            |  147 --
 arch/arm/mach-pxa/colibri.h                   |   70 -
 arch/arm/mach-pxa/corgi.c                     |  826 ---------
 arch/arm/mach-pxa/corgi.h                     |  110 --
 arch/arm/mach-pxa/corgi_pm.c                  |  221 ---
 arch/arm/mach-pxa/csb701.c                    |   67 -
 arch/arm/mach-pxa/csb726.c                    |  291 ---
 arch/arm/mach-pxa/csb726.h                    |   24 -
 arch/arm/mach-pxa/devices.c                   |  408 ----
 arch/arm/mach-pxa/devices.h                   |    3 -
 arch/arm/mach-pxa/e740-pcmcia.c               |  127 --
 arch/arm/mach-pxa/eseries-gpio.h              |   63 -
 arch/arm/mach-pxa/eseries-irq.h               |   24 -
 arch/arm/mach-pxa/eseries.c                   | 1001 ----------
 arch/arm/mach-pxa/ezx.c                       | 1254 -------------
 arch/arm/mach-pxa/h5000.c                     |  210 ---
 arch/arm/mach-pxa/h5000.h                     |  109 --
 arch/arm/mach-pxa/himalaya.c                  |  166 --
 arch/arm/mach-pxa/hx4700-pcmcia.c             |  118 --
 arch/arm/mach-pxa/hx4700.c                    |  942 ----------
 arch/arm/mach-pxa/hx4700.h                    |  129 --
 arch/arm/mach-pxa/icontrol.c                  |  218 ---
 arch/arm/mach-pxa/idp.c                       |  285 ---
 arch/arm/mach-pxa/idp.h                       |  195 --
 arch/arm/mach-pxa/littleton.c                 |  462 -----
 arch/arm/mach-pxa/littleton.h                 |   14 -
 arch/arm/mach-pxa/lpd270.c                    |  518 ------
 arch/arm/mach-pxa/lpd270.h                    |   40 -
 arch/arm/mach-pxa/lubbock.c                   |  649 -------
 arch/arm/mach-pxa/lubbock.h                   |   47 -
 arch/arm/mach-pxa/magician.c                  | 1112 -----------
 arch/arm/mach-pxa/magician.h                  |  125 --
 arch/arm/mach-pxa/mainstone.c                 |  738 --------
 arch/arm/mach-pxa/mainstone.h                 |  140 --
 arch/arm/mach-pxa/mfp-pxa25x.h                |   33 -
 arch/arm/mach-pxa/mfp-pxa2xx.c                |    4 -
 arch/arm/mach-pxa/mfp-pxa300.h                |   52 -
 arch/arm/mach-pxa/mfp-pxa320.h                |  458 -----
 arch/arm/mach-pxa/mfp-pxa930.h                |  495 -----
 arch/arm/mach-pxa/mioa701.c                   |  784 --------
 arch/arm/mach-pxa/mioa701.h                   |   76 -
 arch/arm/mach-pxa/mioa701_bootresume.S        |   38 -
 arch/arm/mach-pxa/mp900.c                     |  101 -
 arch/arm/mach-pxa/mxm8x10.c                   |  477 -----
 arch/arm/mach-pxa/mxm8x10.h                   |   22 -
 arch/arm/mach-pxa/palm27x.c                   |  473 -----
 arch/arm/mach-pxa/palm27x.h                   |   77 -
 arch/arm/mach-pxa/palmld-pcmcia.c             |  111 --
 arch/arm/mach-pxa/palmld.c                    |  392 ----
 arch/arm/mach-pxa/palmld.h                    |  107 --
 arch/arm/mach-pxa/palmt5.c                    |  234 ---
 arch/arm/mach-pxa/palmt5.h                    |   82 -
 arch/arm/mach-pxa/palmtc-pcmcia.c             |  162 --
 arch/arm/mach-pxa/palmtc.c                    |  539 ------
 arch/arm/mach-pxa/palmtc.h                    |   84 -
 arch/arm/mach-pxa/palmte2.c                   |  383 ----
 arch/arm/mach-pxa/palmte2.h                   |   64 -
 arch/arm/mach-pxa/palmtreo.c                  |  548 ------
 arch/arm/mach-pxa/palmtreo.h                  |   64 -
 arch/arm/mach-pxa/palmtx-pcmcia.c             |  111 --
 arch/arm/mach-pxa/palmtx.c                    |  390 ----
 arch/arm/mach-pxa/palmtx.h                    |  110 --
 arch/arm/mach-pxa/palmz72.c                   |  319 ----
 arch/arm/mach-pxa/palmz72.h                   |   80 -
 arch/arm/mach-pxa/pcm027.c                    |  266 ---
 arch/arm/mach-pxa/pcm027.h                    |   73 -
 arch/arm/mach-pxa/pcm990-baseboard.c          |  408 ----
 arch/arm/mach-pxa/pcm990_baseboard.h          |  199 --
 arch/arm/mach-pxa/pm.c                        |    2 -
 arch/arm/mach-pxa/pm.h                        |   10 -
 arch/arm/mach-pxa/poodle.c                    |  484 -----
 arch/arm/mach-pxa/poodle.h                    |   92 -
 arch/arm/mach-pxa/pxa25x.c                    |    7 -
 arch/arm/mach-pxa/pxa27x.c                    |   18 +-
 arch/arm/mach-pxa/pxa27x.h                    |    3 -
 arch/arm/mach-pxa/pxa2xx.c                    |   29 -
 arch/arm/mach-pxa/pxa300.c                    |   17 +-
 arch/arm/mach-pxa/pxa320.c                    |   88 -
 arch/arm/mach-pxa/pxa320.h                    |    9 -
 arch/arm/mach-pxa/pxa3xx-ulpi.c               |  385 ----
 arch/arm/mach-pxa/pxa3xx.c                    |   91 -
 arch/arm/mach-pxa/pxa930.c                    |  217 ---
 arch/arm/mach-pxa/pxa930.h                    |    8 -
 arch/arm/mach-pxa/pxa_cplds_irqs.c            |  200 --
 arch/arm/mach-pxa/regs-u2d.h                  |  199 --
 arch/arm/mach-pxa/regs-uart.h                 |  146 --
 arch/arm/mach-pxa/saar.c                      |  604 ------
 arch/arm/mach-pxa/sharpsl_pm.c                |    4 -
 arch/arm/mach-pxa/spitz.c                     |   23 -
 arch/arm/mach-pxa/tavorevb.c                  |  506 -----
 arch/arm/mach-pxa/tosa-bt.c                   |  134 --
 arch/arm/mach-pxa/tosa.c                      |  946 ----------
 arch/arm/mach-pxa/tosa.h                      |  165 --
 arch/arm/mach-pxa/tosa_bt.h                   |   18 -
 arch/arm/mach-pxa/trizeps4-pcmcia.c           |  200 --
 arch/arm/mach-pxa/trizeps4.c                  |  575 ------
 arch/arm/mach-pxa/trizeps4.h                  |  166 --
 arch/arm/mach-pxa/viper-pcmcia.c              |  180 --
 arch/arm/mach-pxa/viper-pcmcia.h              |   12 -
 arch/arm/mach-pxa/viper.c                     | 1034 -----------
 arch/arm/mach-pxa/viper.h                     |   91 -
 arch/arm/mach-pxa/vpac270-pcmcia.c            |  137 --
 arch/arm/mach-pxa/vpac270.c                   |  736 --------
 arch/arm/mach-pxa/vpac270.h                   |   38 -
 arch/arm/mach-pxa/xcep.c                      |  190 --
 arch/arm/mach-pxa/z2.c                        |  781 --------
 arch/arm/mach-pxa/z2.h                        |   37 -
 arch/arm/mach-pxa/zeus.c                      |  974 ----------
 arch/arm/mach-pxa/zeus.h                      |   82 -
 arch/arm/mach-pxa/zylonite.c                  |  495 -----
 arch/arm/mach-pxa/zylonite.h                  |   45 -
 arch/arm/mach-pxa/zylonite_pxa300.c           |  281 ---
 arch/arm/mach-pxa/zylonite_pxa320.c           |  213 ---
 arch/arm/mach-tegra/tegra.c                   |    1 -
 drivers/ata/Kconfig                           |    9 -
 drivers/ata/Makefile                          |    1 -
 drivers/ata/pata_palmld.c                     |  137 --
 drivers/clk/pxa/clk-pxa3xx.c                  |   22 +-
 drivers/cpufreq/pxa3xx-cpufreq.c              |   21 +-
 drivers/gpio/Kconfig                          |    7 -
 drivers/gpio/Makefile                         |    1 -
 drivers/gpio/gpio-ucb1400.c                   |   85 -
 drivers/input/keyboard/Kconfig                |    9 -
 drivers/input/keyboard/Makefile               |    1 -
 drivers/input/keyboard/pxa930_rotary.c        |  195 --
 drivers/input/mouse/Kconfig                   |    6 -
 drivers/input/mouse/Makefile                  |    1 -
 drivers/input/mouse/pxa930_trkball.c          |  250 ---
 drivers/input/touchscreen/Kconfig             |   30 -
 drivers/input/touchscreen/Makefile            |    2 -
 drivers/input/touchscreen/mainstone-wm97xx.c  |   10 -
 drivers/input/touchscreen/ucb1400_ts.c        |  458 -----
 drivers/input/touchscreen/zylonite-wm97xx.c   |  220 ---
 drivers/leds/Kconfig                          |   11 -
 drivers/leds/Makefile                         |    1 -
 drivers/leds/leds-asic3.c                     |  177 --
 drivers/mfd/Kconfig                           |   58 -
 drivers/mfd/Makefile                          |    7 -
 drivers/mfd/asic3.c                           | 1071 -----------
 drivers/mfd/htc-pasic3.c                      |  210 ---
 drivers/mfd/t7l66xb.c                         |  427 -----
 drivers/mfd/tc6387xb.c                        |  228 ---
 drivers/mfd/tc6393xb.c                        |  907 ---------
 drivers/mfd/tmio_core.c                       |   70 -
 drivers/mfd/ucb1400_core.c                    |  158 --
 drivers/mmc/host/Kconfig                      |    8 -
 drivers/mmc/host/Makefile                     |    1 -
 drivers/mmc/host/pxamci.c                     |    3 +-
 drivers/mmc/host/tmio_mmc.c                   |  227 ---
 drivers/mtd/nand/raw/Kconfig                  |    7 -
 drivers/mtd/nand/raw/Makefile                 |    1 -
 drivers/mtd/nand/raw/tmio_nand.c              |  533 ------
 drivers/pcmcia/Kconfig                        |   12 +-
 drivers/pcmcia/Makefile                       |    5 -
 drivers/pcmcia/pxa2xx_base.c                  |   14 +-
 drivers/pcmcia/pxa2xx_mainstone.c             |  122 --
 drivers/pcmcia/sa1100_simpad.c                |  115 --
 drivers/pcmcia/sa1111_badge4.c                |  158 --
 drivers/pcmcia/sa1111_generic.c               |    4 -
 drivers/pcmcia/sa1111_lubbock.c               |  155 --
 drivers/power/supply/Kconfig                  |   22 -
 drivers/power/supply/Makefile                 |    3 -
 drivers/power/supply/ds2760_battery.c         |    8 -
 drivers/power/supply/pda_power.c              |  520 ------
 drivers/power/supply/tosa_battery.c           |  512 -----
 drivers/power/supply/z2_battery.c             |  318 ----
 drivers/rtc/Kconfig                           |    9 -
 drivers/rtc/Makefile                          |    1 -
 drivers/rtc/rtc-v3020.c                       |  369 ----
 drivers/usb/gadget/udc/pxa25x_udc.c           |   62 -
 drivers/usb/host/ohci-hcd.c                   |   18 -
 drivers/usb/host/ohci-pxa27x.c                |    9 -
 drivers/usb/host/ohci-tmio.c                  |  364 ----
 drivers/video/backlight/Kconfig               |   14 -
 drivers/video/backlight/Makefile              |    2 -
 drivers/video/backlight/locomolcd.c           |   10 -
 drivers/video/backlight/tosa_bl.c             |  172 --
 drivers/video/backlight/tosa_bl.h             |    8 -
 drivers/video/backlight/tosa_lcd.c            |  284 ---
 drivers/video/fbdev/Kconfig                   |   39 -
 drivers/video/fbdev/Makefile                  |    2 -
 drivers/video/fbdev/tmiofb.c                  | 1040 -----------
 drivers/video/fbdev/w100fb.c                  | 1644 -----------------
 drivers/video/fbdev/w100fb.h                  |  924 ---------
 drivers/w1/masters/Kconfig                    |    7 -
 drivers/w1/masters/Makefile                   |    1 -
 drivers/w1/masters/ds1wm.c                    |  675 -------
 include/linux/mfd/asic3.h                     |  313 ----
 include/linux/mfd/htc-pasic3.h                |   54 -
 include/linux/mfd/t7l66xb.h                   |   29 -
 include/linux/mfd/tc6387xb.h                  |   19 -
 include/linux/mfd/tc6393xb.h                  |   53 -
 include/linux/mfd/tmio.h                      |    5 -
 include/linux/pda_power.h                     |   39 -
 include/linux/platform_data/asoc-palm27x.h    |    9 -
 include/linux/platform_data/asoc-poodle.h     |   16 -
 include/linux/platform_data/irda-pxaficp.h    |   26 -
 .../platform_data/keyboard-pxa930_rotary.h    |   21 -
 include/linux/platform_data/mmp_audio.h       |   18 -
 .../platform_data/mouse-pxa930_trkball.h      |   11 -
 include/linux/platform_data/rtc-v3020.h       |   41 -
 include/linux/platform_data/usb-pxa3xx-ulpi.h |   32 -
 include/linux/soc/pxa/cpu.h                   |   93 +-
 include/linux/ucb1400.h                       |  160 --
 include/linux/z2_battery.h                    |   17 -
 include/video/w100fb.h                        |  147 --
 sound/Kconfig                                 |    1 -
 sound/pci/ac97/ac97_codec.c                   |    1 -
 sound/pci/ac97/ac97_patch.c                   |   40 -
 sound/soc/pxa/Kconfig                         |  181 +-
 sound/soc/pxa/Makefile                        |   33 -
 sound/soc/pxa/brownstone.c                    |  133 --
 sound/soc/pxa/corgi.c                         |  332 ----
 sound/soc/pxa/e740_wm9705.c                   |  168 --
 sound/soc/pxa/e750_wm9705.c                   |  147 --
 sound/soc/pxa/e800_wm9712.c                   |  147 --
 sound/soc/pxa/em-x270.c                       |   92 -
 sound/soc/pxa/hx4700.c                        |  207 ---
 sound/soc/pxa/magician.c                      |  366 ----
 sound/soc/pxa/mioa701_wm9713.c                |  201 --
 sound/soc/pxa/mmp-pcm.c                       |  267 ---
 sound/soc/pxa/palm27x.c                       |  162 --
 sound/soc/pxa/poodle.c                        |  291 ---
 sound/soc/pxa/tosa.c                          |  255 ---
 sound/soc/pxa/ttc-dkb.c                       |  143 --
 sound/soc/pxa/z2.c                            |  218 ---
 sound/soc/pxa/zylonite.c                      |  266 ---
 261 files changed, 22 insertions(+), 53872 deletions(-)
 delete mode 100644 arch/arm/configs/cm_x300_defconfig
 delete mode 100644 arch/arm/configs/colibri_pxa270_defconfig
 delete mode 100644 arch/arm/configs/colibri_pxa300_defconfig
 delete mode 100644 arch/arm/configs/corgi_defconfig
 delete mode 100644 arch/arm/configs/eseries_pxa_defconfig
 delete mode 100644 arch/arm/configs/ezx_defconfig
 delete mode 100644 arch/arm/configs/h5000_defconfig
 delete mode 100644 arch/arm/configs/lpd270_defconfig
 delete mode 100644 arch/arm/configs/lubbock_defconfig
 delete mode 100644 arch/arm/configs/magician_defconfig
 delete mode 100644 arch/arm/configs/mainstone_defconfig
 delete mode 100644 arch/arm/configs/palmz72_defconfig
 delete mode 100644 arch/arm/configs/pcm027_defconfig
 delete mode 100644 arch/arm/configs/pxa255-idp_defconfig
 delete mode 100644 arch/arm/configs/trizeps4_defconfig
 delete mode 100644 arch/arm/configs/viper_defconfig
 delete mode 100644 arch/arm/configs/xcep_defconfig
 delete mode 100644 arch/arm/configs/zeus_defconfig
 delete mode 100644 arch/arm/mach-pxa/balloon3-pcmcia.c
 delete mode 100644 arch/arm/mach-pxa/balloon3.c
 delete mode 100644 arch/arm/mach-pxa/balloon3.h
 delete mode 100644 arch/arm/mach-pxa/capc7117.c
 delete mode 100644 arch/arm/mach-pxa/cm-x300.c
 delete mode 100644 arch/arm/mach-pxa/colibri-evalboard.c
 delete mode 100644 arch/arm/mach-pxa/colibri-pcmcia.c
 delete mode 100644 arch/arm/mach-pxa/colibri-pxa270-income.c
 delete mode 100644 arch/arm/mach-pxa/colibri-pxa270.c
 delete mode 100644 arch/arm/mach-pxa/colibri-pxa300.c
 delete mode 100644 arch/arm/mach-pxa/colibri-pxa320.c
 delete mode 100644 arch/arm/mach-pxa/colibri-pxa3xx.c
 delete mode 100644 arch/arm/mach-pxa/colibri.h
 delete mode 100644 arch/arm/mach-pxa/corgi.c
 delete mode 100644 arch/arm/mach-pxa/corgi.h
 delete mode 100644 arch/arm/mach-pxa/corgi_pm.c
 delete mode 100644 arch/arm/mach-pxa/csb701.c
 delete mode 100644 arch/arm/mach-pxa/csb726.c
 delete mode 100644 arch/arm/mach-pxa/csb726.h
 delete mode 100644 arch/arm/mach-pxa/e740-pcmcia.c
 delete mode 100644 arch/arm/mach-pxa/eseries-gpio.h
 delete mode 100644 arch/arm/mach-pxa/eseries-irq.h
 delete mode 100644 arch/arm/mach-pxa/eseries.c
 delete mode 100644 arch/arm/mach-pxa/ezx.c
 delete mode 100644 arch/arm/mach-pxa/h5000.c
 delete mode 100644 arch/arm/mach-pxa/h5000.h
 delete mode 100644 arch/arm/mach-pxa/himalaya.c
 delete mode 100644 arch/arm/mach-pxa/hx4700-pcmcia.c
 delete mode 100644 arch/arm/mach-pxa/hx4700.c
 delete mode 100644 arch/arm/mach-pxa/hx4700.h
 delete mode 100644 arch/arm/mach-pxa/icontrol.c
 delete mode 100644 arch/arm/mach-pxa/idp.c
 delete mode 100644 arch/arm/mach-pxa/idp.h
 delete mode 100644 arch/arm/mach-pxa/littleton.c
 delete mode 100644 arch/arm/mach-pxa/littleton.h
 delete mode 100644 arch/arm/mach-pxa/lpd270.c
 delete mode 100644 arch/arm/mach-pxa/lpd270.h
 delete mode 100644 arch/arm/mach-pxa/lubbock.c
 delete mode 100644 arch/arm/mach-pxa/lubbock.h
 delete mode 100644 arch/arm/mach-pxa/magician.c
 delete mode 100644 arch/arm/mach-pxa/magician.h
 delete mode 100644 arch/arm/mach-pxa/mainstone.c
 delete mode 100644 arch/arm/mach-pxa/mainstone.h
 delete mode 100644 arch/arm/mach-pxa/mfp-pxa320.h
 delete mode 100644 arch/arm/mach-pxa/mfp-pxa930.h
 delete mode 100644 arch/arm/mach-pxa/mioa701.c
 delete mode 100644 arch/arm/mach-pxa/mioa701.h
 delete mode 100644 arch/arm/mach-pxa/mioa701_bootresume.S
 delete mode 100644 arch/arm/mach-pxa/mp900.c
 delete mode 100644 arch/arm/mach-pxa/mxm8x10.c
 delete mode 100644 arch/arm/mach-pxa/mxm8x10.h
 delete mode 100644 arch/arm/mach-pxa/palm27x.c
 delete mode 100644 arch/arm/mach-pxa/palm27x.h
 delete mode 100644 arch/arm/mach-pxa/palmld-pcmcia.c
 delete mode 100644 arch/arm/mach-pxa/palmld.c
 delete mode 100644 arch/arm/mach-pxa/palmld.h
 delete mode 100644 arch/arm/mach-pxa/palmt5.c
 delete mode 100644 arch/arm/mach-pxa/palmt5.h
 delete mode 100644 arch/arm/mach-pxa/palmtc-pcmcia.c
 delete mode 100644 arch/arm/mach-pxa/palmtc.c
 delete mode 100644 arch/arm/mach-pxa/palmtc.h
 delete mode 100644 arch/arm/mach-pxa/palmte2.c
 delete mode 100644 arch/arm/mach-pxa/palmte2.h
 delete mode 100644 arch/arm/mach-pxa/palmtreo.c
 delete mode 100644 arch/arm/mach-pxa/palmtreo.h
 delete mode 100644 arch/arm/mach-pxa/palmtx-pcmcia.c
 delete mode 100644 arch/arm/mach-pxa/palmtx.c
 delete mode 100644 arch/arm/mach-pxa/palmtx.h
 delete mode 100644 arch/arm/mach-pxa/palmz72.c
 delete mode 100644 arch/arm/mach-pxa/palmz72.h
 delete mode 100644 arch/arm/mach-pxa/pcm027.c
 delete mode 100644 arch/arm/mach-pxa/pcm027.h
 delete mode 100644 arch/arm/mach-pxa/pcm990-baseboard.c
 delete mode 100644 arch/arm/mach-pxa/pcm990_baseboard.h
 delete mode 100644 arch/arm/mach-pxa/poodle.c
 delete mode 100644 arch/arm/mach-pxa/poodle.h
 delete mode 100644 arch/arm/mach-pxa/pxa320.c
 delete mode 100644 arch/arm/mach-pxa/pxa320.h
 delete mode 100644 arch/arm/mach-pxa/pxa3xx-ulpi.c
 delete mode 100644 arch/arm/mach-pxa/pxa930.c
 delete mode 100644 arch/arm/mach-pxa/pxa930.h
 delete mode 100644 arch/arm/mach-pxa/pxa_cplds_irqs.c
 delete mode 100644 arch/arm/mach-pxa/regs-u2d.h
 delete mode 100644 arch/arm/mach-pxa/regs-uart.h
 delete mode 100644 arch/arm/mach-pxa/saar.c
 delete mode 100644 arch/arm/mach-pxa/tavorevb.c
 delete mode 100644 arch/arm/mach-pxa/tosa-bt.c
 delete mode 100644 arch/arm/mach-pxa/tosa.c
 delete mode 100644 arch/arm/mach-pxa/tosa.h
 delete mode 100644 arch/arm/mach-pxa/tosa_bt.h
 delete mode 100644 arch/arm/mach-pxa/trizeps4-pcmcia.c
 delete mode 100644 arch/arm/mach-pxa/trizeps4.c
 delete mode 100644 arch/arm/mach-pxa/trizeps4.h
 delete mode 100644 arch/arm/mach-pxa/viper-pcmcia.c
 delete mode 100644 arch/arm/mach-pxa/viper-pcmcia.h
 delete mode 100644 arch/arm/mach-pxa/viper.c
 delete mode 100644 arch/arm/mach-pxa/viper.h
 delete mode 100644 arch/arm/mach-pxa/vpac270-pcmcia.c
 delete mode 100644 arch/arm/mach-pxa/vpac270.c
 delete mode 100644 arch/arm/mach-pxa/vpac270.h
 delete mode 100644 arch/arm/mach-pxa/xcep.c
 delete mode 100644 arch/arm/mach-pxa/z2.c
 delete mode 100644 arch/arm/mach-pxa/z2.h
 delete mode 100644 arch/arm/mach-pxa/zeus.c
 delete mode 100644 arch/arm/mach-pxa/zeus.h
 delete mode 100644 arch/arm/mach-pxa/zylonite.c
 delete mode 100644 arch/arm/mach-pxa/zylonite.h
 delete mode 100644 arch/arm/mach-pxa/zylonite_pxa300.c
 delete mode 100644 arch/arm/mach-pxa/zylonite_pxa320.c
 delete mode 100644 drivers/ata/pata_palmld.c
 delete mode 100644 drivers/gpio/gpio-ucb1400.c
 delete mode 100644 drivers/input/keyboard/pxa930_rotary.c
 delete mode 100644 drivers/input/mouse/pxa930_trkball.c
 delete mode 100644 drivers/input/touchscreen/ucb1400_ts.c
 delete mode 100644 drivers/input/touchscreen/zylonite-wm97xx.c
 delete mode 100644 drivers/leds/leds-asic3.c
 delete mode 100644 drivers/mfd/asic3.c
 delete mode 100644 drivers/mfd/htc-pasic3.c
 delete mode 100644 drivers/mfd/t7l66xb.c
 delete mode 100644 drivers/mfd/tc6387xb.c
 delete mode 100644 drivers/mfd/tc6393xb.c
 delete mode 100644 drivers/mfd/tmio_core.c
 delete mode 100644 drivers/mfd/ucb1400_core.c
 delete mode 100644 drivers/mmc/host/tmio_mmc.c
 delete mode 100644 drivers/mtd/nand/raw/tmio_nand.c
 delete mode 100644 drivers/pcmcia/pxa2xx_mainstone.c
 delete mode 100644 drivers/pcmcia/sa1100_simpad.c
 delete mode 100644 drivers/pcmcia/sa1111_badge4.c
 delete mode 100644 drivers/pcmcia/sa1111_lubbock.c
 delete mode 100644 drivers/power/supply/pda_power.c
 delete mode 100644 drivers/power/supply/tosa_battery.c
 delete mode 100644 drivers/power/supply/z2_battery.c
 delete mode 100644 drivers/rtc/rtc-v3020.c
 delete mode 100644 drivers/usb/host/ohci-tmio.c
 delete mode 100644 drivers/video/backlight/tosa_bl.c
 delete mode 100644 drivers/video/backlight/tosa_bl.h
 delete mode 100644 drivers/video/backlight/tosa_lcd.c
 delete mode 100644 drivers/video/fbdev/tmiofb.c
 delete mode 100644 drivers/video/fbdev/w100fb.c
 delete mode 100644 drivers/video/fbdev/w100fb.h
 delete mode 100644 drivers/w1/masters/ds1wm.c
 delete mode 100644 include/linux/mfd/asic3.h
 delete mode 100644 include/linux/mfd/htc-pasic3.h
 delete mode 100644 include/linux/mfd/t7l66xb.h
 delete mode 100644 include/linux/mfd/tc6387xb.h
 delete mode 100644 include/linux/mfd/tc6393xb.h
 delete mode 100644 include/linux/pda_power.h
 delete mode 100644 include/linux/platform_data/asoc-palm27x.h
 delete mode 100644 include/linux/platform_data/asoc-poodle.h
 delete mode 100644 include/linux/platform_data/irda-pxaficp.h
 delete mode 100644 include/linux/platform_data/keyboard-pxa930_rotary.h
 delete mode 100644 include/linux/platform_data/mmp_audio.h
 delete mode 100644 include/linux/platform_data/mouse-pxa930_trkball.h
 delete mode 100644 include/linux/platform_data/rtc-v3020.h
 delete mode 100644 include/linux/platform_data/usb-pxa3xx-ulpi.h
 delete mode 100644 include/linux/ucb1400.h
 delete mode 100644 include/linux/z2_battery.h
 delete mode 100644 include/video/w100fb.h
 delete mode 100644 sound/soc/pxa/brownstone.c
 delete mode 100644 sound/soc/pxa/corgi.c
 delete mode 100644 sound/soc/pxa/e740_wm9705.c
 delete mode 100644 sound/soc/pxa/e750_wm9705.c
 delete mode 100644 sound/soc/pxa/e800_wm9712.c
 delete mode 100644 sound/soc/pxa/em-x270.c
 delete mode 100644 sound/soc/pxa/hx4700.c
 delete mode 100644 sound/soc/pxa/magician.c
 delete mode 100644 sound/soc/pxa/mioa701_wm9713.c
 delete mode 100644 sound/soc/pxa/mmp-pcm.c
 delete mode 100644 sound/soc/pxa/palm27x.c
 delete mode 100644 sound/soc/pxa/poodle.c
 delete mode 100644 sound/soc/pxa/tosa.c
 delete mode 100644 sound/soc/pxa/ttc-dkb.c
 delete mode 100644 sound/soc/pxa/z2.c
 delete mode 100644 sound/soc/pxa/zylonite.c

-- 
2.39.0

Cc: stern@rowland.harvard.edu
Cc: alexandre.belloni@bootlin.com
Cc: brgl@bgdev.pl
Cc: damien.lemoal@opensource.wdc.com
Cc: daniel@zonque.org
Cc: dmitry.torokhov@gmail.com
Cc: linux@dominikbrodowski.net
Cc: balbi@kernel.org
Cc: gregkh@linuxfoundation.org
Cc: haojian.zhuang@gmail.com
Cc: deller@gmx.de
Cc: perex@perex.cz
Cc: jingoohan1@gmail.com
Cc: lee@kernel.org
Cc: kernel@wantstofly.org
Cc: lgirdwood@gmail.com
Cc: linus.walleij@linaro.org
Cc: marek.vasut@gmail.com
Cc: broonie@kernel.org
Cc: mkpetch@internode.on.net
Cc: miquel.raynal@bootlin.com
Cc: lost.distance@yahoo.com
Cc: philipp.zabel@gmail.com
Cc: robert.jarzmik@free.fr
Cc: linux@armlinux.org.uk
Cc: sre@kernel.org
Cc: slapin@ossfans.org
Cc: s.shtylyov@omp.ru
Cc: sudipm.mukherjee@gmail.com
Cc: tiwai@suse.com
Cc: ulf.hansson@linaro.org
Cc: vigneshr@ti.com
Cc: viresh.kumar@linaro.org
Cc: wsa+renesas@sang-engineering.com
Cc: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-ide@vger.kernel.org
Cc: linux-gpio@vger.kernel.org
Cc: linux-input@vger.kernel.org
Cc: patches@opensource.cirrus.com
Cc: linux-leds@vger.kernel.org
Cc: linux-mmc@vger.kernel.org
Cc: linux-renesas-soc@vger.kernel.org
Cc: linux-mtd@lists.infradead.org
Cc: linux-rtc@vger.kernel.org
Cc: linux-usb@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Cc: linux-fbdev@vger.kernel.org
Cc: alsa-devel@alsa-project.org

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 18/27] mfd: remove toshiba tmio drivers
  2023-01-05 13:45 [PATCH v2 00/27] ARM: pxa: remove all unused boards&drivers Arnd Bergmann
@ 2023-01-05 13:46 ` Arnd Bergmann
  2023-01-20 14:55   ` Lee Jones
  2023-01-05 13:46 ` [PATCH 21/27] mmc: remove tmio_mmc driver Arnd Bergmann
  2023-01-12 20:01 ` (subset) [PATCH v2 00/27] ARM: pxa: remove all unused boards&drivers Mark Brown
  2 siblings, 1 reply; 9+ messages in thread
From: Arnd Bergmann @ 2023-01-05 13:46 UTC (permalink / raw)
  To: Robert Jarzmik
  Cc: Daniel Mack, Haojian Zhuang, linux-arm-kernel, linux-kernel,
	Arnd Bergmann, Lee Jones, Wolfram Sang, linux-mmc,
	linux-renesas-soc

From: Arnd Bergmann <arnd@arndb.de>

Four separate mfd drivers are in the "tmio" family, and all of
them were used in now-removed PXA machines (eseries, tosa, and
hx4700), so the mfd drivers and all its children can be removed
as well.

Cc: Lee Jones <lee@kernel.org>
Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
Cc: linux-kernel@vger.kernel.org
Cc: linux-mmc@vger.kernel.org
Cc: linux-renesas-soc@vger.kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 drivers/mfd/Kconfig          |   38 --
 drivers/mfd/Makefile         |    4 -
 drivers/mfd/asic3.c          | 1071 ----------------------------------
 drivers/mfd/t7l66xb.c        |  427 --------------
 drivers/mfd/tc6387xb.c       |  228 --------
 drivers/mfd/tc6393xb.c       |  907 ----------------------------
 drivers/mfd/tmio_core.c      |   70 ---
 include/linux/mfd/asic3.h    |  313 ----------
 include/linux/mfd/t7l66xb.h  |   29 -
 include/linux/mfd/tc6387xb.h |   19 -
 include/linux/mfd/tc6393xb.h |   53 --
 include/linux/mfd/tmio.h     |    5 -
 12 files changed, 3164 deletions(-)
 delete mode 100644 drivers/mfd/asic3.c
 delete mode 100644 drivers/mfd/t7l66xb.c
 delete mode 100644 drivers/mfd/tc6387xb.c
 delete mode 100644 drivers/mfd/tc6393xb.c
 delete mode 100644 drivers/mfd/tmio_core.c
 delete mode 100644 include/linux/mfd/asic3.h
 delete mode 100644 include/linux/mfd/t7l66xb.h
 delete mode 100644 include/linux/mfd/tc6387xb.h
 delete mode 100644 include/linux/mfd/tc6393xb.h

diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 2cd06e63e32f..da57ebf22630 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -300,15 +300,6 @@ config MFD_CS47L92
 	help
 	  Support for Cirrus Logic CS42L92, CS47L92 and CS47L93 Smart Codecs
 
-config MFD_ASIC3
-	bool "Compaq ASIC3"
-	depends on GPIOLIB
-	depends on ARM || COMPILE_TEST
-	select MFD_CORE
-	help
-	  This driver supports the ASIC3 multifunction chip found on many
-	  PDAs (mainly iPAQ and HTC based ones)
-
 config PMIC_DA903X
 	bool "Dialog Semiconductor DA9030/DA9034 PMIC Support"
 	depends on I2C=y
@@ -1795,35 +1786,6 @@ config MFD_TC3589X
 	  additional drivers must be enabled in order to use the
 	  functionality of the device.
 
-config MFD_TMIO
-	bool
-	default n
-
-config MFD_T7L66XB
-	bool "Toshiba T7L66XB"
-	depends on ARM && HAVE_CLK
-	select MFD_CORE
-	select MFD_TMIO
-	help
-	  Support for Toshiba Mobile IO Controller T7L66XB
-
-config MFD_TC6387XB
-	bool "Toshiba TC6387XB"
-	depends on ARM && HAVE_CLK
-	select MFD_CORE
-	select MFD_TMIO
-	help
-	  Support for Toshiba Mobile IO Controller TC6387XB
-
-config MFD_TC6393XB
-	bool "Toshiba TC6393XB"
-	depends on ARM && HAVE_CLK
-	select GPIOLIB
-	select MFD_CORE
-	select MFD_TMIO
-	help
-	  Support for Toshiba Mobile IO Controller TC6393XB
-
 config MFD_TQMX86
 	tristate "TQ-Systems IO controller TQMX86"
 	select MFD_CORE
diff --git a/drivers/mfd/Makefile b/drivers/mfd/Makefile
index 457471478a93..9ba9d711c492 100644
--- a/drivers/mfd/Makefile
+++ b/drivers/mfd/Makefile
@@ -9,7 +9,6 @@ obj-$(CONFIG_MFD_88PM800)	+= 88pm800.o 88pm80x.o
 obj-$(CONFIG_MFD_88PM805)	+= 88pm805.o 88pm80x.o
 obj-$(CONFIG_MFD_ACT8945A)	+= act8945a.o
 obj-$(CONFIG_MFD_SM501)		+= sm501.o
-obj-$(CONFIG_MFD_ASIC3)		+= asic3.o tmio_core.o
 obj-$(CONFIG_ARCH_BCM2835)	+= bcm2835-pm.o
 obj-$(CONFIG_MFD_BCM590XX)	+= bcm590xx.o
 obj-$(CONFIG_MFD_BD9571MWV)	+= bd9571mwv.o
@@ -30,9 +29,6 @@ obj-$(CONFIG_STMPE_I2C)		+= stmpe-i2c.o
 obj-$(CONFIG_STMPE_SPI)		+= stmpe-spi.o
 obj-$(CONFIG_MFD_SUN6I_PRCM)	+= sun6i-prcm.o
 obj-$(CONFIG_MFD_TC3589X)	+= tc3589x.o
-obj-$(CONFIG_MFD_T7L66XB)	+= t7l66xb.o tmio_core.o
-obj-$(CONFIG_MFD_TC6387XB)	+= tc6387xb.o tmio_core.o
-obj-$(CONFIG_MFD_TC6393XB)	+= tc6393xb.o tmio_core.o
 obj-$(CONFIG_MFD_TQMX86)	+= tqmx86.o
 
 obj-$(CONFIG_MFD_LOCHNAGAR)	+= lochnagar-i2c.o
diff --git a/drivers/mfd/asic3.c b/drivers/mfd/asic3.c
deleted file mode 100644
index 4fb7e35eb5ed..000000000000
diff --git a/drivers/mfd/t7l66xb.c b/drivers/mfd/t7l66xb.c
deleted file mode 100644
index 1d9d1d38d068..000000000000
diff --git a/drivers/mfd/tc6387xb.c b/drivers/mfd/tc6387xb.c
deleted file mode 100644
index 5392da6ba7b0..000000000000
diff --git a/drivers/mfd/tc6393xb.c b/drivers/mfd/tc6393xb.c
deleted file mode 100644
index 997bb8b5881d..000000000000
diff --git a/drivers/mfd/tmio_core.c b/drivers/mfd/tmio_core.c
deleted file mode 100644
index 7ee873551482..000000000000
diff --git a/include/linux/mfd/asic3.h b/include/linux/mfd/asic3.h
deleted file mode 100644
index 61e686dbaa74..000000000000
diff --git a/include/linux/mfd/t7l66xb.h b/include/linux/mfd/t7l66xb.h
deleted file mode 100644
index ae3e7a5c5219..000000000000
diff --git a/include/linux/mfd/tc6387xb.h b/include/linux/mfd/tc6387xb.h
deleted file mode 100644
index aacf1dcc86b9..000000000000
diff --git a/include/linux/mfd/tc6393xb.h b/include/linux/mfd/tc6393xb.h
deleted file mode 100644
index d17807f2d0c9..000000000000
diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h
index e8bf90281ba0..eace8ea6cda0 100644
--- a/include/linux/mfd/tmio.h
+++ b/include/linux/mfd/tmio.h
@@ -84,11 +84,6 @@
 /* Some controllers have a CBSY bit */
 #define TMIO_MMC_HAVE_CBSY		BIT(11)
 
-int tmio_core_mmc_enable(void __iomem *cnf, int shift, unsigned long base);
-int tmio_core_mmc_resume(void __iomem *cnf, int shift, unsigned long base);
-void tmio_core_mmc_pwr(void __iomem *cnf, int shift, int state);
-void tmio_core_mmc_clk_div(void __iomem *cnf, int shift, int state);
-
 struct dma_chan;
 
 /*
-- 
2.39.0


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 21/27] mmc: remove tmio_mmc driver
  2023-01-05 13:45 [PATCH v2 00/27] ARM: pxa: remove all unused boards&drivers Arnd Bergmann
  2023-01-05 13:46 ` [PATCH 18/27] mfd: remove toshiba tmio drivers Arnd Bergmann
@ 2023-01-05 13:46 ` Arnd Bergmann
  2023-01-05 15:01   ` Ulf Hansson
  2023-01-05 15:14   ` Wolfram Sang
  2023-01-12 20:01 ` (subset) [PATCH v2 00/27] ARM: pxa: remove all unused boards&drivers Mark Brown
  2 siblings, 2 replies; 9+ messages in thread
From: Arnd Bergmann @ 2023-01-05 13:46 UTC (permalink / raw)
  To: Robert Jarzmik
  Cc: Daniel Mack, Haojian Zhuang, linux-arm-kernel, linux-kernel,
	Arnd Bergmann, Ian Molton, Ulf Hansson, Wolfram Sang, linux-mmc,
	linux-renesas-soc

From: Arnd Bergmann <arnd@arndb.de>

With the TMIO MFD support gone, the corresponding MMC host driver can
be removed as well. The remaining tmio_mmc_core module however is still
used by both the Renesas and Socionext host drivers.

Cc: Ian Molton <spyro@f2s.com>
Cc: Ulf Hansson <ulf.hansson@linaro.org>
Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
Cc: linux-mmc@vger.kernel.org
Cc: linux-renesas-soc@vger.kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 drivers/mmc/host/Kconfig    |   8 --
 drivers/mmc/host/Makefile   |   1 -
 drivers/mmc/host/tmio_mmc.c | 227 ------------------------------------
 3 files changed, 236 deletions(-)
 delete mode 100644 drivers/mmc/host/tmio_mmc.c

diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index f0456ad4b597..e1b88b51cc80 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -655,14 +655,6 @@ config MMC_SDHCI_SPRD
 config MMC_TMIO_CORE
 	tristate
 
-config MMC_TMIO
-	tristate "Toshiba Mobile IO Controller (TMIO) MMC/SD function support"
-	depends on MFD_TMIO || MFD_ASIC3 || COMPILE_TEST
-	select MMC_TMIO_CORE
-	help
-	  This provides support for the SD/MMC cell found in TC6393XB,
-	  T7L66XB and also HTC ASIC3
-
 config MMC_SDHI
 	tristate "Renesas SDHI SD/SDIO controller support"
 	depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
diff --git a/drivers/mmc/host/Makefile b/drivers/mmc/host/Makefile
index 063d87764966..b498c17cd124 100644
--- a/drivers/mmc/host/Makefile
+++ b/drivers/mmc/host/Makefile
@@ -35,7 +35,6 @@ obj-$(CONFIG_MMC_DAVINCI)       += davinci_mmc.o
 obj-$(CONFIG_MMC_SPI)		+= mmc_spi.o
 obj-$(CONFIG_MMC_SPI)		+= of_mmc_spi.o
 obj-$(CONFIG_MMC_SDRICOH_CS)	+= sdricoh_cs.o
-obj-$(CONFIG_MMC_TMIO)		+= tmio_mmc.o
 obj-$(CONFIG_MMC_TMIO_CORE)	+= tmio_mmc_core.o
 obj-$(CONFIG_MMC_SDHI)		+= renesas_sdhi_core.o
 obj-$(CONFIG_MMC_SDHI_SYS_DMAC)		+= renesas_sdhi_sys_dmac.o
diff --git a/drivers/mmc/host/tmio_mmc.c b/drivers/mmc/host/tmio_mmc.c
deleted file mode 100644
index 53a2ad9a24b8..000000000000
-- 
2.39.0


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PATCH 21/27] mmc: remove tmio_mmc driver
  2023-01-05 13:46 ` [PATCH 21/27] mmc: remove tmio_mmc driver Arnd Bergmann
@ 2023-01-05 15:01   ` Ulf Hansson
  2023-01-05 15:44     ` Arnd Bergmann
  2023-01-05 15:14   ` Wolfram Sang
  1 sibling, 1 reply; 9+ messages in thread
From: Ulf Hansson @ 2023-01-05 15:01 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: Robert Jarzmik, Daniel Mack, Haojian Zhuang, linux-arm-kernel,
	linux-kernel, Arnd Bergmann, Ian Molton, Wolfram Sang, linux-mmc,
	linux-renesas-soc

On Thu, 5 Jan 2023 at 14:47, Arnd Bergmann <arnd@kernel.org> wrote:
>
> From: Arnd Bergmann <arnd@arndb.de>
>
> With the TMIO MFD support gone, the corresponding MMC host driver can
> be removed as well. The remaining tmio_mmc_core module however is still
> used by both the Renesas and Socionext host drivers.
>
> Cc: Ian Molton <spyro@f2s.com>
> Cc: Ulf Hansson <ulf.hansson@linaro.org>
> Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
> Cc: linux-mmc@vger.kernel.org
> Cc: linux-renesas-soc@vger.kernel.org
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

I intend to pick this up via my mmc tree, just awaiting an ack from Wolfram.

Kind regards
Uffe

> ---
>  drivers/mmc/host/Kconfig    |   8 --
>  drivers/mmc/host/Makefile   |   1 -
>  drivers/mmc/host/tmio_mmc.c | 227 ------------------------------------
>  3 files changed, 236 deletions(-)
>  delete mode 100644 drivers/mmc/host/tmio_mmc.c
>
> diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
> index f0456ad4b597..e1b88b51cc80 100644
> --- a/drivers/mmc/host/Kconfig
> +++ b/drivers/mmc/host/Kconfig
> @@ -655,14 +655,6 @@ config MMC_SDHCI_SPRD
>  config MMC_TMIO_CORE
>         tristate
>
> -config MMC_TMIO
> -       tristate "Toshiba Mobile IO Controller (TMIO) MMC/SD function support"
> -       depends on MFD_TMIO || MFD_ASIC3 || COMPILE_TEST
> -       select MMC_TMIO_CORE
> -       help
> -         This provides support for the SD/MMC cell found in TC6393XB,
> -         T7L66XB and also HTC ASIC3
> -
>  config MMC_SDHI
>         tristate "Renesas SDHI SD/SDIO controller support"
>         depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
> diff --git a/drivers/mmc/host/Makefile b/drivers/mmc/host/Makefile
> index 063d87764966..b498c17cd124 100644
> --- a/drivers/mmc/host/Makefile
> +++ b/drivers/mmc/host/Makefile
> @@ -35,7 +35,6 @@ obj-$(CONFIG_MMC_DAVINCI)       += davinci_mmc.o
>  obj-$(CONFIG_MMC_SPI)          += mmc_spi.o
>  obj-$(CONFIG_MMC_SPI)          += of_mmc_spi.o
>  obj-$(CONFIG_MMC_SDRICOH_CS)   += sdricoh_cs.o
> -obj-$(CONFIG_MMC_TMIO)         += tmio_mmc.o
>  obj-$(CONFIG_MMC_TMIO_CORE)    += tmio_mmc_core.o
>  obj-$(CONFIG_MMC_SDHI)         += renesas_sdhi_core.o
>  obj-$(CONFIG_MMC_SDHI_SYS_DMAC)                += renesas_sdhi_sys_dmac.o
> diff --git a/drivers/mmc/host/tmio_mmc.c b/drivers/mmc/host/tmio_mmc.c
> deleted file mode 100644
> index 53a2ad9a24b8..000000000000
> --
> 2.39.0
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 21/27] mmc: remove tmio_mmc driver
  2023-01-05 13:46 ` [PATCH 21/27] mmc: remove tmio_mmc driver Arnd Bergmann
  2023-01-05 15:01   ` Ulf Hansson
@ 2023-01-05 15:14   ` Wolfram Sang
  1 sibling, 0 replies; 9+ messages in thread
From: Wolfram Sang @ 2023-01-05 15:14 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: Robert Jarzmik, Daniel Mack, Haojian Zhuang, linux-arm-kernel,
	linux-kernel, Arnd Bergmann, Ian Molton, Ulf Hansson, linux-mmc,
	linux-renesas-soc

[-- Attachment #1: Type: text/plain, Size: 987 bytes --]

On Thu, Jan 05, 2023 at 02:46:16PM +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
> 
> With the TMIO MFD support gone, the corresponding MMC host driver can
> be removed as well. The remaining tmio_mmc_core module however is still
> used by both the Renesas and Socionext host drivers.
> 
> Cc: Ian Molton <spyro@f2s.com>
> Cc: Ulf Hansson <ulf.hansson@linaro.org>
> Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
> Cc: linux-mmc@vger.kernel.org
> Cc: linux-renesas-soc@vger.kernel.org
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

I trust Arnd's research that the driver becomes unused after the PXA
removal. I can add to it that the plain TMIO driver hasn't seen any
functional update in 10 years maybe. Most modifications were tree-wide
cleanups or adjustments because the TMIO core changed. It will be
interesting to see what cleanups can be done once this driver is gone.

Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>



[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 21/27] mmc: remove tmio_mmc driver
  2023-01-05 15:01   ` Ulf Hansson
@ 2023-01-05 15:44     ` Arnd Bergmann
  2023-01-16 10:48       ` Ulf Hansson
  0 siblings, 1 reply; 9+ messages in thread
From: Arnd Bergmann @ 2023-01-05 15:44 UTC (permalink / raw)
  To: Ulf Hansson, Arnd Bergmann
  Cc: Robert Jarzmik, Daniel Mack, Haojian Zhuang, linux-arm-kernel,
	linux-kernel, Ian Molton, Wolfram Sang,
	linux-mmc @ vger . kernel . org, Linux-Renesas

On Thu, Jan 5, 2023, at 16:01, Ulf Hansson wrote:
> On Thu, 5 Jan 2023 at 14:47, Arnd Bergmann <arnd@kernel.org> wrote:
>>
>> From: Arnd Bergmann <arnd@arndb.de>
>>
>> With the TMIO MFD support gone, the corresponding MMC host driver can
>> be removed as well. The remaining tmio_mmc_core module however is still
>> used by both the Renesas and Socionext host drivers.
>>
>> Cc: Ian Molton <spyro@f2s.com>
>> Cc: Ulf Hansson <ulf.hansson@linaro.org>
>> Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
>> Cc: linux-mmc@vger.kernel.org
>> Cc: linux-renesas-soc@vger.kernel.org
>> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
>
> I intend to pick this up via my mmc tree, just awaiting an ack from Wolfram.

Actually I think it would be easier to just take this through
my tree along with the rest of the series, unless you expect
conflicts with other patches.

    Arnd

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: (subset) [PATCH v2 00/27] ARM: pxa: remove all unused boards&drivers
  2023-01-05 13:45 [PATCH v2 00/27] ARM: pxa: remove all unused boards&drivers Arnd Bergmann
  2023-01-05 13:46 ` [PATCH 18/27] mfd: remove toshiba tmio drivers Arnd Bergmann
  2023-01-05 13:46 ` [PATCH 21/27] mmc: remove tmio_mmc driver Arnd Bergmann
@ 2023-01-12 20:01 ` Mark Brown
  2 siblings, 0 replies; 9+ messages in thread
From: Mark Brown @ 2023-01-12 20:01 UTC (permalink / raw)
  To: Robert Jarzmik, Arnd Bergmann
  Cc: Daniel Mack, Haojian Zhuang, linux-arm-kernel, linux-kernel,
	Arnd Bergmann, stern, alexandre.belloni, brgl, damien.lemoal,
	dmitry.torokhov, linux, balbi, gregkh, deller, perex, jingoohan1,
	lee, kernel, lgirdwood, linus.walleij, marek.vasut, mkpetch,
	miquel.raynal, lost.distance, philipp.zabel, linux, sre, slapin,
	s.shtylyov, sudipm.mukherjee, tiwai, ulf.hansson, vigneshr,
	viresh.kumar, wsa+renesas, linux-pm, linux-ide, linux-gpio,
	linux-input, patches, linux-leds, linux-mmc, linux-renesas-soc,
	linux-mtd, linux-rtc, linux-usb, dri-devel, linux-fbdev,
	alsa-devel

On Thu, 05 Jan 2023 14:45:55 +0100, Arnd Bergmann wrote:
> Most of the legacy PXA board files were marked as unused in linux-5.19 and
> can get removed in linux-6.3. There is support for pxa250/pxa270/pxa300
> using devicetree already, which supports a number of boards, but progress
> on converting the remaining ones has stalled over the past few years.
> 
> The two boards that are left in the tree for now are the three 'sharpsl'
> variants (spitz/akita/borzoi) and the 'gumstix' family of machines.
> Both of these are supported by qemu, which can be helpful for completing
> the DT conversion.
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[14/27] ASoC: PXA: make SND_PXA2XX_SOC_AC97 user-selectable
        commit: 5eab9265759e2fb042aa452931c3d06ab7ab8dae
[15/27] ASoC: pxa: remove unused board support
        (no commit info)

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 21/27] mmc: remove tmio_mmc driver
  2023-01-05 15:44     ` Arnd Bergmann
@ 2023-01-16 10:48       ` Ulf Hansson
  0 siblings, 0 replies; 9+ messages in thread
From: Ulf Hansson @ 2023-01-16 10:48 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: Arnd Bergmann, Robert Jarzmik, Daniel Mack, Haojian Zhuang,
	linux-arm-kernel, linux-kernel, Ian Molton, Wolfram Sang,
	linux-mmc @ vger . kernel . org, Linux-Renesas

On Thu, 5 Jan 2023 at 16:44, Arnd Bergmann <arnd@arndb.de> wrote:
>
> On Thu, Jan 5, 2023, at 16:01, Ulf Hansson wrote:
> > On Thu, 5 Jan 2023 at 14:47, Arnd Bergmann <arnd@kernel.org> wrote:
> >>
> >> From: Arnd Bergmann <arnd@arndb.de>
> >>
> >> With the TMIO MFD support gone, the corresponding MMC host driver can
> >> be removed as well. The remaining tmio_mmc_core module however is still
> >> used by both the Renesas and Socionext host drivers.
> >>
> >> Cc: Ian Molton <spyro@f2s.com>
> >> Cc: Ulf Hansson <ulf.hansson@linaro.org>
> >> Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
> >> Cc: linux-mmc@vger.kernel.org
> >> Cc: linux-renesas-soc@vger.kernel.org
> >> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> >
> > I intend to pick this up via my mmc tree, just awaiting an ack from Wolfram.
>
> Actually I think it would be easier to just take this through
> my tree along with the rest of the series, unless you expect
> conflicts with other patches.

If conflicts, those should probably be easy to resolve, so please go
ahead and take your own route.

Acked-by: Ulf Hansson <ulf.hansson@linaro.org>

Kind regards
Uffe

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 18/27] mfd: remove toshiba tmio drivers
  2023-01-05 13:46 ` [PATCH 18/27] mfd: remove toshiba tmio drivers Arnd Bergmann
@ 2023-01-20 14:55   ` Lee Jones
  0 siblings, 0 replies; 9+ messages in thread
From: Lee Jones @ 2023-01-20 14:55 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: Robert Jarzmik, Daniel Mack, Haojian Zhuang, linux-arm-kernel,
	linux-kernel, Arnd Bergmann, Wolfram Sang, linux-mmc,
	linux-renesas-soc

On Thu, 05 Jan 2023, Arnd Bergmann wrote:

> From: Arnd Bergmann <arnd@arndb.de>
> 
> Four separate mfd drivers are in the "tmio" family, and all of
> them were used in now-removed PXA machines (eseries, tosa, and
> hx4700), so the mfd drivers and all its children can be removed
> as well.
> 
> Cc: Lee Jones <lee@kernel.org>
> Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
> Cc: linux-kernel@vger.kernel.org
> Cc: linux-mmc@vger.kernel.org
> Cc: linux-renesas-soc@vger.kernel.org
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
>  drivers/mfd/Kconfig          |   38 --
>  drivers/mfd/Makefile         |    4 -
>  drivers/mfd/asic3.c          | 1071 ----------------------------------
>  drivers/mfd/t7l66xb.c        |  427 --------------
>  drivers/mfd/tc6387xb.c       |  228 --------
>  drivers/mfd/tc6393xb.c       |  907 ----------------------------
>  drivers/mfd/tmio_core.c      |   70 ---
>  include/linux/mfd/asic3.h    |  313 ----------
>  include/linux/mfd/t7l66xb.h  |   29 -
>  include/linux/mfd/tc6387xb.h |   19 -
>  include/linux/mfd/tc6393xb.h |   53 --
>  include/linux/mfd/tmio.h     |    5 -
>  12 files changed, 3164 deletions(-)
>  delete mode 100644 drivers/mfd/asic3.c
>  delete mode 100644 drivers/mfd/t7l66xb.c
>  delete mode 100644 drivers/mfd/tc6387xb.c
>  delete mode 100644 drivers/mfd/tc6393xb.c
>  delete mode 100644 drivers/mfd/tmio_core.c
>  delete mode 100644 include/linux/mfd/asic3.h
>  delete mode 100644 include/linux/mfd/t7l66xb.h
>  delete mode 100644 include/linux/mfd/tc6387xb.h
>  delete mode 100644 include/linux/mfd/tc6393xb.h

Applied, thanks

-- 
Lee Jones [李琼斯]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-01-20 14:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-05 13:45 [PATCH v2 00/27] ARM: pxa: remove all unused boards&drivers Arnd Bergmann
2023-01-05 13:46 ` [PATCH 18/27] mfd: remove toshiba tmio drivers Arnd Bergmann
2023-01-20 14:55   ` Lee Jones
2023-01-05 13:46 ` [PATCH 21/27] mmc: remove tmio_mmc driver Arnd Bergmann
2023-01-05 15:01   ` Ulf Hansson
2023-01-05 15:44     ` Arnd Bergmann
2023-01-16 10:48       ` Ulf Hansson
2023-01-05 15:14   ` Wolfram Sang
2023-01-12 20:01 ` (subset) [PATCH v2 00/27] ARM: pxa: remove all unused boards&drivers Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).