Skip to contentSkip to conversation

ARM: remove old board files

PATCH Applied Arnd Bergmann 17 participants 52 messages Oct 19, 2022 – Oct 31, 2022

Subsystems (24)
lore
Share & tools
lore
#0 lore raw

cover ARM: remove old board files

From: Arnd Bergmann <[email protected]>

This is the first part of the removal of old board files, addressing all the easy cases:

cns3xxx and iop32x get removed completely, including a handful of device driversm while ep93xx, dove, mv78xx0, orion, footbridge and omap1 all keep basic platform support but drop support for all boards that have no known users.

There are seven patches for other subsystems in this series. It would be helpful to get everything merged in the same release if there are no objections, but I don't care if I include them in the soc tree with an Ack from the subsystem maintainers or the patches are applied directly into the subsystem trees.

Arnd Bergmann (17):
ARM: at91: remove stale MAINTAINER file entries
ARM: cns3xxx: remove entire platform
mmc: remove cns3xxx driver
ARM: ep93xx: remove old board files
ASoC: remove unused ep93xx files
ARM: mv78xx0: un-deprecate Terastation WXL
ARM: orion: remove unused board files
ARM: orion5x: remove dsa_chip_data references
ARM: iop32x: remove the platform
dmaengine: remove iop-adma driver
gpio: remove iop driver
ARM: footbridge: remove CATS
ARM: omap1: remove unused board files
ARM: omap1: remove dead code
fbdev: omapfb: remove unused board support
spi: remove omap 100K driver
mfd: remove htc-i2cpld driver

CC Russell King <[email protected]>
CC Aaro Koskinen <[email protected]>
CC Janusz Krzysztofik <[email protected]>
CC Tony Lindgren <[email protected]>
CC Andrew Lunn <[email protected]>
CC Sebastian Hesselbarth <[email protected]>
CC Gregory Clement <[email protected]>
CC Hartley Sweeten <[email protected]>
CC Alexander Sverdlin <[email protected]>
CC Paul Walmsley <[email protected]>
CC Kevin Hilman <[email protected]>
CC Vinod Koul <[email protected]>
CC Linus Walleij <[email protected]>
CC Bartosz Golaszewski <[email protected]>
CC Lee Jones <[email protected]>
CC Ulf Hansson <[email protected]>
CC Mark Brown <[email protected]>
CC Felipe Balbi <[email protected]>
CC Greg Kroah-Hartman <[email protected]>
CC Alan Stern <[email protected]>
CC Bin Liu <[email protected]>
CC Helge Deller <[email protected]>
CC Wim Van Sebroeck <[email protected]>
CC Guenter Roeck <[email protected]>
CC Liam Girdwood <[email protected]>
CC Jaroslav Kysela <[email protected]>
CC Takashi Iwai <[email protected]>
Cc Hubert Feurstein <[email protected]>
Cc Krzysztof Halasa <[email protected]>
Cc Lennert Buytenhek <[email protected]>
Cc Sergey Lapin <[email protected]>
CC Krzysztof Kozlowski <[email protected]>
CC Dan Williams <[email protected]>
CC "Pali Rohár" <[email protected]>
 MAINTAINERS                                  |   57 -
 arch/arm/Kconfig                             |    6 +-
 arch/arm/Kconfig.debug                       |   52 +-
 arch/arm/Makefile                            |    2 -
 arch/arm/boot/compressed/misc-ep93xx.h       |   13 +-
 arch/arm/configs/cns3420vb_defconfig         |   63 -
 arch/arm/configs/iop32x_defconfig            |  126 --
 arch/arm/configs/mv78xx0_defconfig           |    3 -
 arch/arm/configs/omap1_defconfig             |    2 -
 arch/arm/kernel/entry-common.S               |   15 -
 arch/arm/kernel/head.S                       |    2 +-
 arch/arm/mach-cns3xxx/Kconfig                |   21 -
 arch/arm/mach-cns3xxx/Makefile               |    6 -
 arch/arm/mach-cns3xxx/cns3420vb.c            |  252 ---
 arch/arm/mach-cns3xxx/cns3xxx.h              |  593 -------
 arch/arm/mach-cns3xxx/core.c                 |  410 -----
 arch/arm/mach-cns3xxx/core.h                 |   32 -
 arch/arm/mach-cns3xxx/devices.c              |  108 --
 arch/arm/mach-cns3xxx/devices.h              |   17 -
 arch/arm/mach-cns3xxx/pcie.c                 |  290 ----
 arch/arm/mach-cns3xxx/pm.c                   |  120 --
 arch/arm/mach-cns3xxx/pm.h                   |   20 -
 arch/arm/mach-dove/Kconfig                   |    8 -
 arch/arm/mach-dove/Makefile                  |    1 -
 arch/arm/mach-dove/dove-db-setup.c           |  101 --
 arch/arm/mach-ep93xx/Kconfig                 |   63 -
 arch/arm/mach-ep93xx/Makefile                |    5 -
 arch/arm/mach-ep93xx/adssphere.c             |   41 -
 arch/arm/mach-ep93xx/gesbc9312.c             |   41 -
 arch/arm/mach-ep93xx/micro9.c                |  125 --
 arch/arm/mach-ep93xx/simone.c                |  128 --
 arch/arm/mach-ep93xx/snappercl15.c           |  162 --
 arch/arm/mach-footbridge/Kconfig             |   12 -
 arch/arm/mach-footbridge/Makefile            |    2 -
 arch/arm/mach-footbridge/cats-hw.c           |   98 --
 arch/arm/mach-footbridge/cats-pci.c          |   64 -
 arch/arm/mach-footbridge/common.c            |    3 -
 arch/arm/mach-iop32x/Kconfig                 |   54 -
 arch/arm/mach-iop32x/Makefile                |   20 -
 arch/arm/mach-iop32x/adma.c                  |  163 --
 arch/arm/mach-iop32x/cp6.c                   |   48 -
 arch/arm/mach-iop32x/em7210.c                |  232 ---
 arch/arm/mach-iop32x/glantank.c              |  214 ---
 arch/arm/mach-iop32x/glantank.h              |   12 -
 arch/arm/mach-iop32x/gpio-iop32x.h           |   11 -
 arch/arm/mach-iop32x/hardware.h              |   38 -
 arch/arm/mach-iop32x/i2c.c                   |   92 --
 arch/arm/mach-iop32x/iop3xx.h                |  326 ----
 arch/arm/mach-iop32x/iq31244.c               |  333 ----
 arch/arm/mach-iop32x/iq31244.h               |   16 -
 arch/arm/mach-iop32x/iq80321.c               |  192 ---
 arch/arm/mach-iop32x/iq80321.h               |   16 -
 arch/arm/mach-iop32x/irq.c                   |   95 --
 arch/arm/mach-iop32x/irqs.h                  |   48 -
 arch/arm/mach-iop32x/n2100.c                 |  367 -----
 arch/arm/mach-iop32x/n2100.h                 |   18 -
 arch/arm/mach-iop32x/pci.c                   |  404 -----
 arch/arm/mach-iop32x/pmu.c                   |   29 -
 arch/arm/mach-iop32x/restart.c               |   17 -
 arch/arm/mach-iop32x/setup.c                 |   31 -
 arch/arm/mach-iop32x/time.c                  |  179 --
 arch/arm/mach-mv78xx0/Kconfig                |   14 +-
 arch/arm/mach-mv78xx0/Makefile               |    2 -
 arch/arm/mach-mv78xx0/db78x00-bp-setup.c     |  101 --
 arch/arm/mach-mv78xx0/rd78x00-masa-setup.c   |   86 -
 arch/arm/mach-omap1/Kconfig                  |   93 +-
 arch/arm/mach-omap1/Makefile                 |   18 -
 arch/arm/mach-omap1/board-fsample.c          |  366 -----
 arch/arm/mach-omap1/board-generic.c          |   85 -
 arch/arm/mach-omap1/board-h2-mmc.c           |   74 -
 arch/arm/mach-omap1/board-h2.c               |  448 -----
 arch/arm/mach-omap1/board-h2.h               |   38 -
 arch/arm/mach-omap1/board-h3-mmc.c           |   64 -
 arch/arm/mach-omap1/board-h3.c               |  455 -----
 arch/arm/mach-omap1/board-h3.h               |   35 -
 arch/arm/mach-omap1/board-htcherald.c        |  585 -------
 arch/arm/mach-omap1/board-innovator.c        |  481 ------
 arch/arm/mach-omap1/board-nand.c             |   33 -
 arch/arm/mach-omap1/board-palmtt.c           |  285 ----
 arch/arm/mach-omap1/board-palmz71.c          |  300 ----
 arch/arm/mach-omap1/board-perseus2.c         |  333 ----
 arch/arm/mach-omap1/clock_data.c             |   17 +-
 arch/arm/mach-omap1/common.h                 |    8 -
 arch/arm/mach-omap1/devices.c                |   58 +-
 arch/arm/mach-omap1/dma.c                    |   25 +-
 arch/arm/mach-omap1/fpga.c                   |  186 ---
 arch/arm/mach-omap1/fpga.h                   |   49 -
 arch/arm/mach-omap1/gpio7xx.c                |  272 ---
 arch/arm/mach-omap1/i2c.c                    |   14 +-
 arch/arm/mach-omap1/io.c                     |   24 -
 arch/arm/mach-omap1/irq.c                    |   20 +-
 arch/arm/mach-omap1/irqs.h                   |    9 -
 arch/arm/mach-omap1/mcbsp.c                  |   83 -
 arch/arm/mach-omap1/mtd-xip.h                |    4 -
 arch/arm/mach-omap1/mux.c                    |   52 -
 arch/arm/mach-omap1/pm.c                     |   76 +-
 arch/arm/mach-omap1/pm.h                     |   39 +-
 arch/arm/mach-omap1/serial.c                 |   15 -
 arch/arm/mach-omap1/sleep.S                  |   80 -
 arch/arm/mach-omap1/sram-init.c              |    7 +-
 arch/arm/mach-omap1/usb.c                    |   34 +-
 arch/arm/mach-orion5x/Kconfig                |   59 -
 arch/arm/mach-orion5x/Makefile               |    8 -
 arch/arm/mach-orion5x/common.c               |   10 -
 arch/arm/mach-orion5x/common.h               |    2 -
 arch/arm/mach-orion5x/db88f5281-setup.c      |  376 -----
 arch/arm/mach-orion5x/ls_hgl-setup.c         |  275 ----
 arch/arm/mach-orion5x/rd88f5181l-fxo-setup.c |  172 --
 arch/arm/mach-orion5x/rd88f5181l-ge-setup.c  |  183 ---
 arch/arm/mach-orion5x/rd88f5182-setup.c      |  288 ----
 arch/arm/mach-orion5x/rd88f6183ap-ge-setup.c |  120 --
 arch/arm/mach-orion5x/wnr854t-setup.c        |  175 --
 arch/arm/mach-orion5x/wrt350n-v2-setup.c     |  263 ---
 arch/arm/plat-orion/common.c                 |   31 -
 arch/arm/plat-orion/include/plat/common.h    |    3 -
 drivers/dma/Kconfig                          |    8 -
 drivers/dma/Makefile                         |    1 -
 drivers/dma/iop-adma.c                       | 1554 ------------------
 drivers/dma/iop-adma.h                       |  914 ----------
 drivers/gpio/Kconfig                         |   10 -
 drivers/gpio/Makefile                        |    1 -
 drivers/gpio/gpio-iop.c                      |   59 -
 drivers/i2c/busses/Kconfig                   |    8 +-
 drivers/mfd/Kconfig                          |   11 +-
 drivers/mfd/Makefile                         |    1 -
 drivers/mfd/htc-i2cpld.c                     |  627 -------
 drivers/mmc/host/Kconfig                     |   13 +-
 drivers/mmc/host/Makefile                    |    1 -
 drivers/mmc/host/sdhci-cns3xxx.c             |  113 --
 drivers/spi/Kconfig                          |    6 -
 drivers/spi/Makefile                         |    1 -
 drivers/spi/spi-omap-100k.c                  |  490 ------
 drivers/spi/spi-omap-uwire.c                 |   16 +-
 drivers/usb/gadget/udc/Kconfig               |    2 +-
 drivers/usb/gadget/udc/omap_udc.c            |   24 +-
 drivers/usb/host/Kconfig                     |   25 +-
 drivers/usb/host/ohci-omap.c                 |    6 +-
 drivers/usb/musb/musb_dma.h                  |   11 +-
 drivers/usb/phy/phy-isp1301-omap.c           |   91 +-
 drivers/video/fbdev/omap/Kconfig             |    9 -
 drivers/video/fbdev/omap/Makefile            |    6 -
 drivers/video/fbdev/omap/lcd_h3.c            |   82 -
 drivers/video/fbdev/omap/lcd_htcherald.c     |   59 -
 drivers/video/fbdev/omap/lcd_inn1510.c       |   69 -
 drivers/video/fbdev/omap/lcd_inn1610.c       |   99 --
 drivers/video/fbdev/omap/lcd_palmtt.c        |   65 -
 drivers/video/fbdev/omap/lcd_palmz71.c       |   59 -
 drivers/video/fbdev/omap/lcdc.c              |    2 -
 drivers/watchdog/wdt285.c                    |    2 -
 include/linux/htcpld.h                       |   23 -
 include/linux/platform_data/leds-omap.h      |   19 -
 include/linux/soc/ti/omap1-soc.h             |   35 -
 sound/soc/cirrus/Kconfig                     |   23 -
 sound/soc/cirrus/Makefile                    |    6 -
 sound/soc/cirrus/ep93xx-ac97.c               |  446 -----
 sound/soc/cirrus/simone.c                    |   86 -
 sound/soc/cirrus/snappercl15.c               |  134 --
 157 files changed, 60 insertions(+), 18109 deletions(-)
 delete mode 100644 arch/arm/configs/cns3420vb_defconfig
 delete mode 100644 arch/arm/configs/iop32x_defconfig
 delete mode 100644 arch/arm/mach-cns3xxx/Kconfig
 delete mode 100644 arch/arm/mach-cns3xxx/Makefile
 delete mode 100644 arch/arm/mach-cns3xxx/cns3420vb.c
 delete mode 100644 arch/arm/mach-cns3xxx/cns3xxx.h
 delete mode 100644 arch/arm/mach-cns3xxx/core.c
 delete mode 100644 arch/arm/mach-cns3xxx/core.h
 delete mode 100644 arch/arm/mach-cns3xxx/devices.c
 delete mode 100644 arch/arm/mach-cns3xxx/devices.h
 delete mode 100644 arch/arm/mach-cns3xxx/pcie.c
 delete mode 100644 arch/arm/mach-cns3xxx/pm.c
 delete mode 100644 arch/arm/mach-cns3xxx/pm.h
 delete mode 100644 arch/arm/mach-dove/dove-db-setup.c
 delete mode 100644 arch/arm/mach-ep93xx/adssphere.c
 delete mode 100644 arch/arm/mach-ep93xx/gesbc9312.c
 delete mode 100644 arch/arm/mach-ep93xx/micro9.c
 delete mode 100644 arch/arm/mach-ep93xx/simone.c
 delete mode 100644 arch/arm/mach-ep93xx/snappercl15.c
 delete mode 100644 arch/arm/mach-footbridge/cats-hw.c
 delete mode 100644 arch/arm/mach-footbridge/cats-pci.c
 delete mode 100644 arch/arm/mach-iop32x/Kconfig
 delete mode 100644 arch/arm/mach-iop32x/Makefile
 delete mode 100644 arch/arm/mach-iop32x/adma.c
 delete mode 100644 arch/arm/mach-iop32x/cp6.c
 delete mode 100644 arch/arm/mach-iop32x/em7210.c
 delete mode 100644 arch/arm/mach-iop32x/glantank.c
 delete mode 100644 arch/arm/mach-iop32x/glantank.h
 delete mode 100644 arch/arm/mach-iop32x/gpio-iop32x.h
 delete mode 100644 arch/arm/mach-iop32x/hardware.h
 delete mode 100644 arch/arm/mach-iop32x/i2c.c
 delete mode 100644 arch/arm/mach-iop32x/iop3xx.h
 delete mode 100644 arch/arm/mach-iop32x/iq31244.c
 delete mode 100644 arch/arm/mach-iop32x/iq31244.h
 delete mode 100644 arch/arm/mach-iop32x/iq80321.c
 delete mode 100644 arch/arm/mach-iop32x/iq80321.h
 delete mode 100644 arch/arm/mach-iop32x/irq.c
 delete mode 100644 arch/arm/mach-iop32x/irqs.h
 delete mode 100644 arch/arm/mach-iop32x/n2100.c
 delete mode 100644 arch/arm/mach-iop32x/n2100.h
 delete mode 100644 arch/arm/mach-iop32x/pci.c
 delete mode 100644 arch/arm/mach-iop32x/pmu.c
 delete mode 100644 arch/arm/mach-iop32x/restart.c
 delete mode 100644 arch/arm/mach-iop32x/setup.c
 delete mode 100644 arch/arm/mach-iop32x/time.c
 delete mode 100644 arch/arm/mach-mv78xx0/db78x00-bp-setup.c
 delete mode 100644 arch/arm/mach-mv78xx0/rd78x00-masa-setup.c
 delete mode 100644 arch/arm/mach-omap1/board-fsample.c
 delete mode 100644 arch/arm/mach-omap1/board-generic.c
 delete mode 100644 arch/arm/mach-omap1/board-h2-mmc.c
 delete mode 100644 arch/arm/mach-omap1/board-h2.c
 delete mode 100644 arch/arm/mach-omap1/board-h2.h
 delete mode 100644 arch/arm/mach-omap1/board-h3-mmc.c
 delete mode 100644 arch/arm/mach-omap1/board-h3.c
 delete mode 100644 arch/arm/mach-omap1/board-h3.h
 delete mode 100644 arch/arm/mach-omap1/board-htcherald.c
 delete mode 100644 arch/arm/mach-omap1/board-innovator.c
 delete mode 100644 arch/arm/mach-omap1/board-nand.c
 delete mode 100644 arch/arm/mach-omap1/board-palmtt.c
 delete mode 100644 arch/arm/mach-omap1/board-palmz71.c
 delete mode 100644 arch/arm/mach-omap1/board-perseus2.c
 delete mode 100644 arch/arm/mach-omap1/fpga.c
 delete mode 100644 arch/arm/mach-omap1/fpga.h
 delete mode 100644 arch/arm/mach-omap1/gpio7xx.c
 delete mode 100644 arch/arm/mach-orion5x/db88f5281-setup.c
 delete mode 100644 arch/arm/mach-orion5x/ls_hgl-setup.c
 delete mode 100644 arch/arm/mach-orion5x/rd88f5181l-fxo-setup.c
 delete mode 100644 arch/arm/mach-orion5x/rd88f5181l-ge-setup.c
 delete mode 100644 arch/arm/mach-orion5x/rd88f5182-setup.c
 delete mode 100644 arch/arm/mach-orion5x/rd88f6183ap-ge-setup.c
 delete mode 100644 arch/arm/mach-orion5x/wnr854t-setup.c
 delete mode 100644 arch/arm/mach-orion5x/wrt350n-v2-setup.c
 delete mode 100644 drivers/dma/iop-adma.c
 delete mode 100644 drivers/dma/iop-adma.h
 delete mode 100644 drivers/gpio/gpio-iop.c
 delete mode 100644 drivers/mfd/htc-i2cpld.c
 delete mode 100644 drivers/mmc/host/sdhci-cns3xxx.c
 delete mode 100644 drivers/spi/spi-omap-100k.c
 delete mode 100644 drivers/video/fbdev/omap/lcd_h3.c
 delete mode 100644 drivers/video/fbdev/omap/lcd_htcherald.c
 delete mode 100644 drivers/video/fbdev/omap/lcd_inn1510.c
 delete mode 100644 drivers/video/fbdev/omap/lcd_inn1610.c
 delete mode 100644 drivers/video/fbdev/omap/lcd_palmtt.c
 delete mode 100644 drivers/video/fbdev/omap/lcd_palmz71.c
 delete mode 100644 include/linux/htcpld.h
 delete mode 100644 include/linux/platform_data/leds-omap.h
 delete mode 100644 sound/soc/cirrus/ep93xx-ac97.c
 delete mode 100644 sound/soc/cirrus/simone.c
 delete mode 100644 sound/soc/cirrus/snappercl15.c
Signature · 1 line
2.29.2
#8 lore raw

PATCH 5/17 ASoC: remove unused ep93xx files

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

A couple of ep93xx board files were unused and got removed, so the corresponding ASoC support can also be removed.

Cc Mika Westerberg <[email protected]>
Cc Ryan Mallon <[email protected]>
---
 sound/soc/cirrus/Kconfig       |  23 --
 sound/soc/cirrus/Makefile      |   6 -
 sound/soc/cirrus/ep93xx-ac97.c | 446 ---------------------------------
 sound/soc/cirrus/simone.c      |  86 -------
 sound/soc/cirrus/snappercl15.c | 134 ----------
 5 files changed, 695 deletions(-)
 delete mode 100644 sound/soc/cirrus/ep93xx-ac97.c
 delete mode 100644 sound/soc/cirrus/simone.c
 delete mode 100644 sound/soc/cirrus/snappercl15.c
sound/soc/cirrus/Kconfig +0 -23
index 8039a8febefa..34870c2d0cba 100644
@@ -27,29 +27,6 @@ config SND_EP93XX_SOC_I2S_WATCHDOG
 
 endif # if SND_EP93XX_SOC_I2S
 
-config SND_EP93XX_SOC_AC97
-	tristate
-	select AC97_BUS
-	select SND_SOC_AC97_BUS
-
-config SND_EP93XX_SOC_SNAPPERCL15
-	tristate "SoC Audio support for Bluewater Systems Snapper CL15 module"
-	depends on SND_EP93XX_SOC && MACH_SNAPPER_CL15 && I2C
-	select SND_EP93XX_SOC_I2S
-	select SND_SOC_TLV320AIC23_I2C
-	help
-	  Say Y or M here if you want to add support for I2S audio on the
-	  Bluewater Systems Snapper CL15 module.
-
-config SND_EP93XX_SOC_SIMONE
-	tristate "SoC Audio support for Simplemachines Sim.One board"
-	depends on SND_EP93XX_SOC && MACH_SIM_ONE
-	select SND_EP93XX_SOC_AC97
-	select SND_SOC_AC97_CODEC
-	help
-	  Say Y or M here if you want to add support for AC97 audio on the
-	  Simplemachines Sim.One board.
-
 config SND_EP93XX_SOC_EDB93XX
 	tristate "SoC Audio support for Cirrus Logic EDB93xx boards"
 	depends on SND_EP93XX_SOC && (MACH_EDB9301 || MACH_EDB9302 || MACH_EDB9302A || MACH_EDB9307A || MACH_EDB9315A)
sound/soc/cirrus/Makefile +0 -6
index bfb8dc409f53..19a86daad660 100644
@@ -2,17 +2,11 @@
 # EP93xx Platform Support
 snd-soc-ep93xx-objs				:= ep93xx-pcm.o
 snd-soc-ep93xx-i2s-objs	 			:= ep93xx-i2s.o
-snd-soc-ep93xx-ac97-objs 			:= ep93xx-ac97.o
 
 obj-$(CONFIG_SND_EP93XX_SOC)			+= snd-soc-ep93xx.o
 obj-$(CONFIG_SND_EP93XX_SOC_I2S)		+= snd-soc-ep93xx-i2s.o
-obj-$(CONFIG_SND_EP93XX_SOC_AC97)		+= snd-soc-ep93xx-ac97.o
 
 # EP93XX Machine Support
-snd-soc-snappercl15-objs			:= snappercl15.o
-snd-soc-simone-objs				:= simone.o
 snd-soc-edb93xx-objs				:= edb93xx.o
 
-obj-$(CONFIG_SND_EP93XX_SOC_SNAPPERCL15)	+= snd-soc-snappercl15.o
-obj-$(CONFIG_SND_EP93XX_SOC_SIMONE)		+= snd-soc-simone.o
 obj-$(CONFIG_SND_EP93XX_SOC_EDB93XX)		+= snd-soc-edb93xx.o
sound/soc/cirrus/ep93xx-ac97.c deleted +0 -446

446 lines not on this page · raw message

sound/soc/cirrus/simone.c deleted +0 -86

86 lines not on this page · raw message

sound/soc/cirrus/snappercl15.c deleted +0 -134

134 lines not on this page · raw message

Signature · 1 line
2.29.2
#1 lore raw

PATCH 1/17 ARM: at91: remove stale MAINTAINER file entries

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

Going through the entries of recently removed machine types, I found these two that were removed a long time ago.

Cc Nicolas Ferre <[email protected]>
Cc Alexandre Belloni <[email protected]>
Cc Claudiu Beznea <[email protected]>
---
 MAINTAINERS | 10 ----------
 1 file changed, 10 deletions(-)
MAINTAINERS +0 -10
index cf0f18502372..aedb7c008dd6 100644
@@ -1798,16 +1798,6 @@ M:	Lennert Buytenhek <[email protected]>
 L:	[email protected] (moderated for non-subscribers)
 S:	Maintained
 
-ARM/AFEB9260 MACHINE SUPPORT
-M:	Sergey Lapin <[email protected]>
-L:	[email protected] (moderated for non-subscribers)
-S:	Maintained
-
-ARM/AJECO 1ARM MACHINE SUPPORT
-M:	Lennert Buytenhek <[email protected]>
-L:	[email protected] (moderated for non-subscribers)
-S:	Maintained
-
 ARM/Allwinner SoC Clock Support
 M:	Emilio López <[email protected]>
 S:	Maintained
Signature · 1 line
2.29.2
#2 lore raw

PATCH 2/17 ARM: cns3xxx: remove entire platform

From: Arnd Bergmann <[email protected]>

cns3xxx was marked as unused a while ago, and gets removed entirely now.

Cc Krzysztof Halasa <[email protected]>
---
 MAINTAINERS                          |   5 -
 arch/arm/Kconfig                     |   2 -
 arch/arm/Kconfig.debug               |  10 -
 arch/arm/Makefile                    |   1 -
 arch/arm/configs/cns3420vb_defconfig |  63 ---
 arch/arm/mach-cns3xxx/Kconfig        |  21 -
 arch/arm/mach-cns3xxx/Makefile       |   6 -
 arch/arm/mach-cns3xxx/cns3420vb.c    | 252 ------------
 arch/arm/mach-cns3xxx/cns3xxx.h      | 593 ---------------------------
 arch/arm/mach-cns3xxx/core.c         | 410 ------------------
 arch/arm/mach-cns3xxx/core.h         |  32 --
 arch/arm/mach-cns3xxx/devices.c      | 108 -----
 arch/arm/mach-cns3xxx/devices.h      |  17 -
 arch/arm/mach-cns3xxx/pcie.c         | 290 -------------
 arch/arm/mach-cns3xxx/pm.c           | 120 ------
 arch/arm/mach-cns3xxx/pm.h           |  20 -
 drivers/usb/host/Kconfig             |  23 --
 17 files changed, 1973 deletions(-)
 delete mode 100644 arch/arm/configs/cns3420vb_defconfig
 delete mode 100644 arch/arm/mach-cns3xxx/Kconfig
 delete mode 100644 arch/arm/mach-cns3xxx/Makefile
 delete mode 100644 arch/arm/mach-cns3xxx/cns3420vb.c
 delete mode 100644 arch/arm/mach-cns3xxx/cns3xxx.h
 delete mode 100644 arch/arm/mach-cns3xxx/core.c
 delete mode 100644 arch/arm/mach-cns3xxx/core.h
 delete mode 100644 arch/arm/mach-cns3xxx/devices.c
 delete mode 100644 arch/arm/mach-cns3xxx/devices.h
 delete mode 100644 arch/arm/mach-cns3xxx/pcie.c
 delete mode 100644 arch/arm/mach-cns3xxx/pm.c
 delete mode 100644 arch/arm/mach-cns3xxx/pm.h
MAINTAINERS +0 -5
index aedb7c008dd6..57b74156df3a 100644
@@ -1984,11 +1984,6 @@ F:	arch/arm/boot/dts/ecx-*.dts*
 F:	arch/arm/boot/dts/highbank.dts
 F:	arch/arm/mach-highbank/
 
-ARM/CAVIUM NETWORKS CNS3XXX MACHINE SUPPORT
-M:	Krzysztof Halasa <[email protected]>
-S:	Maintained
-F:	arch/arm/mach-cns3xxx/
-
 ARM/CAVIUM THUNDER NETWORK DRIVER
 M:	Sunil Goutham <[email protected]>
 L:	[email protected] (moderated for non-subscribers)
arch/arm/Kconfig +0 -2
index a08c9d092a33..e58dab0303e6 100644
@@ -433,8 +433,6 @@ source "arch/arm/mach-berlin/Kconfig"
 
 source "arch/arm/mach-clps711x/Kconfig"
 
-source "arch/arm/mach-cns3xxx/Kconfig"
-
 source "arch/arm/mach-davinci/Kconfig"
 
 source "arch/arm/mach-digicolor/Kconfig"
arch/arm/Kconfig.debug +0 -10
index c345775f035b..3b11e1d04625 100644
@@ -307,14 +307,6 @@ choice
 		  Say Y here if you want the debug print routines to direct
 		  their output to the second serial port on these devices.
 
-	config DEBUG_CNS3XXX
-		bool "Kernel Kernel low-level debugging on Cavium Networks CNS3xxx"
-		depends on ARCH_CNS3XXX
-		select DEBUG_UART_8250
-		help
-		  Say Y here if you want the debug print routines to direct
-                  their output to the CNS3xxx UART0.
-
 	config DEBUG_DAVINCI_DA8XX_UART1
 		bool "Kernel low-level debugging on DaVinci DA8XX using UART1"
 		depends on ARCH_DAVINCI_DA8XX
@@ -1685,7 +1677,6 @@ config DEBUG_UART_PHYS
 				DEBUG_S3C2410_UART1)
 	default 0x50008000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART2 || \
 				DEBUG_S3C2410_UART2)
-	default 0x78000000 if DEBUG_CNS3XXX
 	default 0x7c0003f8 if DEBUG_FOOTBRIDGE_COM1
 	default 0x7f005000 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART0
 	default 0x7f005400 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART1
@@ -1818,7 +1809,6 @@ config DEBUG_UART_VIRT
 				DEBUG_OMAP4UART2 || DEBUG_OMAP5UART2
 	default 0xfa06e000 if DEBUG_OMAP2UART3 || DEBUG_OMAP4UART4
 	default 0xfa71e000 if DEBUG_QCOM_UARTDM
-	default 0xfb002000 if DEBUG_CNS3XXX
 	default 0xfb009000 if DEBUG_REALVIEW_STD_PORT
 	default 0xfb00c000 if DEBUG_AT91_SAMA5D4_USART3
 	default 0xfb020000 if DEBUG_OMAP3UART3
arch/arm/Makefile +0 -1
index c846119c448f..beda22911feb 100644
@@ -169,7 +169,6 @@ machine-$(CONFIG_ARCH_AXXIA)		+= axxia
 machine-$(CONFIG_ARCH_BCM)		+= bcm
 machine-$(CONFIG_ARCH_BERLIN)		+= berlin
 machine-$(CONFIG_ARCH_CLPS711X)		+= clps711x
-machine-$(CONFIG_ARCH_CNS3XXX)		+= cns3xxx
 machine-$(CONFIG_ARCH_DAVINCI)		+= davinci
 machine-$(CONFIG_ARCH_DIGICOLOR)	+= digicolor
 machine-$(CONFIG_ARCH_DOVE)		+= dove
arch/arm/configs/cns3420vb_defconfig deleted +0 -63

63 lines not on this page · raw message

arch/arm/mach-cns3xxx/Kconfig deleted +0 -21
deleted file mode 100644
index 1f85deff2486..000000000000
@@ -1,21 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-menuconfig ARCH_CNS3XXX
-	bool "Cavium Networks CNS3XXX family"
-	depends on ARCH_MULTI_V6
-	depends on ATAGS && UNUSED_BOARD_FILES
-	select ARM_GIC
-	help
-	  Support for Cavium Networks CNS3XXX platform.
-
-if ARCH_CNS3XXX
-
-config MACH_CNS3420VB
-	bool "Support for CNS3420 Validation Board"
-	depends on ATAGS
-	help
-	  Include support for the Cavium Networks CNS3420 MPCore Platform
-	  Baseboard.
-	  This is a platform with an on-board ARM11 MPCore and has support
-	  for USB, USB-OTG, MMC/SD/SDIO, SATA, PCI-E, etc.
-
-endif
arch/arm/mach-cns3xxx/Makefile deleted +0 -6
deleted file mode 100644
index 52ca6ed62304..000000000000
@@ -1,6 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-obj-$(CONFIG_ARCH_CNS3XXX)		+= cns3xxx.o
-cns3xxx-y				+= core.o pm.o
-cns3xxx-$(CONFIG_ATAGS)			+= devices.o
-cns3xxx-$(CONFIG_PCI)			+= pcie.o
-cns3xxx-$(CONFIG_MACH_CNS3420VB)	+= cns3420vb.o
arch/arm/mach-cns3xxx/cns3420vb.c deleted +0 -252

252 lines not on this page · raw message

arch/arm/mach-cns3xxx/cns3xxx.h deleted +0 -593

593 lines not on this page · raw message

arch/arm/mach-cns3xxx/core.c deleted +0 -410

410 lines not on this page · raw message

arch/arm/mach-cns3xxx/core.h deleted +0 -32
deleted file mode 100644
index a96eabaea301..000000000000
@@ -1,32 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-/*
- * Copyright 2000 Deep Blue Solutions Ltd
- * Copyright 2004 ARM Limited
- * Copyright 2008 Cavium Networks
- */
-
-#ifndef __CNS3XXX_CORE_H
-#define __CNS3XXX_CORE_H
-
-#include <linux/reboot.h>
-
-extern void cns3xxx_timer_init(void);
-
-#ifdef CONFIG_CACHE_L2X0
-void __init cns3xxx_l2x0_init(void);
-#else
-static inline void cns3xxx_l2x0_init(void) {}
-#endif /* CONFIG_CACHE_L2X0 */
-
-#ifdef CONFIG_PCI
-extern void __init cns3xxx_pcie_init_late(void);
-#else
-static inline void __init cns3xxx_pcie_init_late(void) {}
-#endif
-
-void __init cns3xxx_map_io(void);
-void __init cns3xxx_init_irq(void);
-void cns3xxx_power_off(void);
-void cns3xxx_restart(enum reboot_mode, const char *);
-
-#endif /* __CNS3XXX_CORE_H */
arch/arm/mach-cns3xxx/devices.c deleted +0 -108

108 lines not on this page · raw message

arch/arm/mach-cns3xxx/devices.h deleted +0 -17
deleted file mode 100644
index ab16530d0116..000000000000
@@ -1,17 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-/*
- * CNS3xxx common devices
- *
- * Copyright 2008 Cavium Networks
- *		  Scott Shu
- * Copyright 2010 MontaVista Software, LLC.
- *		  Anton Vorontsov <[email protected]>
- */
-
-#ifndef __CNS3XXX_DEVICES_H_
-#define __CNS3XXX_DEVICES_H_
-
-void __init cns3xxx_ahci_init(void);
-void __init cns3xxx_sdhci_init(void);
-
-#endif /* __CNS3XXX_DEVICES_H_ */
arch/arm/mach-cns3xxx/pcie.c deleted +0 -290

290 lines not on this page · raw message

arch/arm/mach-cns3xxx/pm.c deleted +0 -120

120 lines not on this page · raw message

arch/arm/mach-cns3xxx/pm.h deleted +0 -20
deleted file mode 100644
index 61b73e59f0ff..000000000000
@@ -1,20 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-/*
- * Copyright 2000 Deep Blue Solutions Ltd
- * Copyright 2004 ARM Limited
- * Copyright 2008 Cavium Networks
- */
-
-#ifndef __CNS3XXX_PM_H
-#define __CNS3XXX_PM_H
-
-#include <linux/atomic.h>
-
-void cns3xxx_pwr_clk_en(unsigned int block);
-void cns3xxx_pwr_clk_dis(unsigned int block);
-void cns3xxx_pwr_power_up(unsigned int block);
-void cns3xxx_pwr_power_down(unsigned int block);
-
-extern atomic_t usb_pwr_ref;
-
-#endif /* __CNS3XXX_PM_H */
drivers/usb/host/Kconfig +0 -23
index 247568bc17a2..75b8a3eeb23a 100644
@@ -316,18 +316,6 @@ config USB_OCTEON_HCD
 	  To compile this driver as a module, choose M here. The module
 	  will be called octeon-hcd.
 
-config USB_CNS3XXX_EHCI
-	bool "Cavium CNS3XXX EHCI Module (DEPRECATED)"
-	depends on ARCH_CNS3XXX || COMPILE_TEST
-	select USB_EHCI_HCD_PLATFORM
-	help
-	  This option is deprecated now and the driver was removed, use
-	  USB_EHCI_HCD_PLATFORM instead.
-
-	  Enable support for the CNS3XXX SOC's on-chip EHCI controller.
-	  It is needed for high-speed (480Mbit/sec) USB 2.0 device
-	  support.
-
 config USB_EHCI_HCD_PLATFORM
 	tristate "Generic EHCI driver for a platform device"
 	help
@@ -577,17 +565,6 @@ config USB_OHCI_EXYNOS
 	  Enable support for the Samsung S5Pv210 and Exynos SOC's on-chip OHCI
 	  controller.
 
-config USB_CNS3XXX_OHCI
-	bool "Cavium CNS3XXX OHCI Module (DEPRECATED)"
-	depends on ARCH_CNS3XXX || COMPILE_TEST
-	select USB_OHCI_HCD_PLATFORM
-	help
-	  This option is deprecated now and the driver was removed, use
-	  USB_OHCI_HCD_PLATFORM instead.
-
-	  Enable support for the CNS3XXX SOC's on-chip OHCI controller.
-	  It is needed for low-speed USB 1.0 device support.
-
 config USB_OHCI_HCD_PLATFORM
 	tristate "Generic OHCI driver for a platform device"
 	help
Signature · 1 line
2.29.2
#6 lore raw

PATCH 4/17 ARM: ep93xx: remove old board files

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

These five board files were marked as unused a while ago, and nobody wanted to keep them around for longer, so remove them now.

We still have the edb93xx, visision_ep9307 and ts72xx files, which can hopefully be converted to device tree in the future.

Cc Lennert Buytenhek <[email protected]>
Cc Hubert Feurstein <[email protected]>
---
 MAINTAINERS                            |  10 --
 arch/arm/boot/compressed/misc-ep93xx.h |  13 +-
 arch/arm/mach-ep93xx/Kconfig           |  63 ----------
 arch/arm/mach-ep93xx/Makefile          |   5 -
 arch/arm/mach-ep93xx/adssphere.c       |  41 -------
 arch/arm/mach-ep93xx/gesbc9312.c       |  41 -------
 arch/arm/mach-ep93xx/micro9.c          | 125 -------------------
 arch/arm/mach-ep93xx/simone.c          | 128 -------------------
 arch/arm/mach-ep93xx/snappercl15.c     | 162 -------------------------
 9 files changed, 1 insertion(+), 587 deletions(-)
 delete mode 100644 arch/arm/mach-ep93xx/adssphere.c
 delete mode 100644 arch/arm/mach-ep93xx/gesbc9312.c
 delete mode 100644 arch/arm/mach-ep93xx/micro9.c
 delete mode 100644 arch/arm/mach-ep93xx/simone.c
 delete mode 100644 arch/arm/mach-ep93xx/snappercl15.c
MAINTAINERS +0 -10
index 57b74156df3a..89f72dba8e64 100644
@@ -1793,11 +1793,6 @@ F:	include/dt-bindings/reset/actions,*
 F:	include/linux/soc/actions/
 N:	owl
 
-ARM/ADS SPHERE MACHINE SUPPORT
-M:	Lennert Buytenhek <[email protected]>
-L:	[email protected] (moderated for non-subscribers)
-S:	Maintained
-
 ARM/Allwinner SoC Clock Support
 M:	Emilio López <[email protected]>
 S:	Maintained
@@ -2029,11 +2024,6 @@ S:	Maintained
 F:	arch/arm/boot/dts/cx92755*
 N:	digicolor
 
-ARM/CONTEC MICRO9 MACHINE SUPPORT
-M:	Hubert Feurstein <[email protected]>
-S:	Maintained
-F:	arch/arm/mach-ep93xx/micro9.c
-
 ARM/CORESIGHT FRAMEWORK AND DRIVERS
 M:	Mathieu Poirier <[email protected]>
 M:	Suzuki K Poulose <[email protected]>
arch/arm/boot/compressed/misc-ep93xx.h +1 -12
index 3dc942589cba..65b4121d1490 100644
@@ -57,8 +57,7 @@ static inline void ep93xx_decomp_setup(void)
 	if (machine_is_ts72xx())
 		ts72xx_watchdog_disable();
 
-	if (machine_is_adssphere() ||
-	    machine_is_edb9301() ||
+	if (machine_is_edb9301() ||
 	    machine_is_edb9302() ||
 	    machine_is_edb9302a() ||
 	    machine_is_edb9302a() ||
@@ -69,16 +68,6 @@ static inline void ep93xx_decomp_setup(void)
 	    machine_is_edb9315() ||
 	    machine_is_edb9315a() ||
 	    machine_is_edb9315a() ||
-	    machine_is_gesbc9312() ||
-	    machine_is_micro9() ||
-	    machine_is_micro9l() ||
-	    machine_is_micro9m() ||
-	    machine_is_micro9s() ||
-	    machine_is_micro9m() ||
-	    machine_is_micro9l() ||
-	    machine_is_micro9s() ||
-	    machine_is_sim_one() ||
-	    machine_is_snapper_cl15() ||
 	    machine_is_ts72xx() ||
 	    machine_is_bk3() ||
 	    machine_is_vision_ep9307())
arch/arm/mach-ep93xx/Kconfig +0 -63

75 lines not on this page · raw message

arch/arm/mach-ep93xx/Makefile +0 -5
index cfad517fac46..62e37403df14 100644
@@ -6,11 +6,6 @@ obj-y			:= core.o clock.o timer-ep93xx.o
 
 obj-$(CONFIG_EP93XX_DMA)	+= dma.o
 
-obj-$(CONFIG_MACH_ADSSPHERE)	+= adssphere.o
 obj-$(CONFIG_MACH_EDB93XX)	+= edb93xx.o
-obj-$(CONFIG_MACH_GESBC9312)	+= gesbc9312.o
-obj-$(CONFIG_MACH_MICRO9)	+= micro9.o
-obj-$(CONFIG_MACH_SIM_ONE)	+= simone.o
-obj-$(CONFIG_MACH_SNAPPER_CL15)	+= snappercl15.o
 obj-$(CONFIG_MACH_TS72XX)	+= ts72xx.o
 obj-$(CONFIG_MACH_VISION_EP9307)+= vision_ep9307.o
arch/arm/mach-ep93xx/adssphere.c deleted +0 -41

41 lines not on this page · raw message

arch/arm/mach-ep93xx/gesbc9312.c deleted +0 -41

41 lines not on this page · raw message

arch/arm/mach-ep93xx/micro9.c deleted +0 -125

125 lines not on this page · raw message

arch/arm/mach-ep93xx/simone.c deleted +0 -128

128 lines not on this page · raw message

arch/arm/mach-ep93xx/snappercl15.c deleted +0 -162

162 lines not on this page · raw message

Signature · 1 line
2.29.2
#10 lore raw

PATCH 6/17 ARM: mv78xx0: un-deprecate Terastation WXL

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

This board is still being worked on by the Debian-on-Buffalo project, so let's leave it in the tree for now.

---
 arch/arm/configs/mv78xx0_defconfig | 1 -
 arch/arm/mach-mv78xx0/Kconfig      | 4 +++-
 2 files changed, 3 insertions(+), 2 deletions(-)
arch/arm/configs/mv78xx0_defconfig +0 -1
index 877c5150a987..f02f29d3fecb 100644
@@ -17,7 +17,6 @@ CONFIG_MACH_TERASTATION_WXL=y
 CONFIG_AEABI=y
 CONFIG_HIGHMEM=y
 CONFIG_FPE_NWFPE=y
-CONFIG_UNUSED_BOARD_FILES=y
 CONFIG_VFP=y
 CONFIG_KPROBES=y
 CONFIG_MODULES=y
arch/arm/mach-mv78xx0/Kconfig +3 -1
index da92f94494cc..0464b732ead4 100644
@@ -3,7 +3,7 @@ menuconfig ARCH_MV78XX0
 	bool "Marvell MV78xx0"
 	depends on ARCH_MULTI_V5
 	depends on CPU_LITTLE_ENDIAN
-	depends on ATAGS && UNUSED_BOARD_FILES
+	depends on ATAGS
 	select CPU_FEROCEON
 	select GPIOLIB
 	select MVEBU_MBUS
@@ -17,12 +17,14 @@ if ARCH_MV78XX0
 
 config MACH_DB78X00_BP
 	bool "Marvell DB-78x00-BP Development Board"
+	depends on UNUSED_BOARD_FILES
 	help
 	  Say 'Y' here if you want your kernel to support the
 	  Marvell DB-78x00-BP Development Board.
 
 config MACH_RD78X00_MASA
 	bool "Marvell RD-78x00-mASA Reference Design"
+	depends on UNUSED_BOARD_FILES
 	help
 	  Say 'Y' here if you want your kernel to support the
 	  Marvell RD-78x00-mASA Reference Design.
Signature · 1 line
2.29.2
#11 lore raw

PATCH 7/17 ARM: orion: remove unused board files

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

As planned earlier, all board support that was marked unused can be removed now after nobody explicitly asked for these to be kept.

In particular, all of the reference designs get removed now, as these are not commonly used productively any more. Also, the machines that were not supported by Debian or the Debian_on_Buffalo group because of limitations with RAM size are gone.

Cc Lennert Buytenhek <[email protected]>
Cc Nicolas Pitre <[email protected]>
Cc Imre Kaloz <[email protected]>
---
 arch/arm/configs/mv78xx0_defconfig           |   2 -
 arch/arm/mach-dove/Kconfig                   |   8 -
 arch/arm/mach-dove/Makefile                  |   1 -
 arch/arm/mach-dove/dove-db-setup.c           | 101 -----
 arch/arm/mach-mv78xx0/Kconfig                |  14 -
 arch/arm/mach-mv78xx0/Makefile               |   2 -
 arch/arm/mach-mv78xx0/db78x00-bp-setup.c     | 101 -----
 arch/arm/mach-mv78xx0/rd78x00-masa-setup.c   |  86 -----
 arch/arm/mach-orion5x/Kconfig                |  59 ---
 arch/arm/mach-orion5x/Makefile               |   8 -
 arch/arm/mach-orion5x/db88f5281-setup.c      | 376 -------------------
 arch/arm/mach-orion5x/ls_hgl-setup.c         | 275 --------------
 arch/arm/mach-orion5x/rd88f5181l-fxo-setup.c | 172 ---------
 arch/arm/mach-orion5x/rd88f5181l-ge-setup.c  | 183 ---------
 arch/arm/mach-orion5x/rd88f5182-setup.c      | 288 --------------
 arch/arm/mach-orion5x/rd88f6183ap-ge-setup.c | 120 ------
 arch/arm/mach-orion5x/wnr854t-setup.c        | 175 ---------
 arch/arm/mach-orion5x/wrt350n-v2-setup.c     | 263 -------------
 18 files changed, 2234 deletions(-)
 delete mode 100644 arch/arm/mach-dove/dove-db-setup.c
 delete mode 100644 arch/arm/mach-mv78xx0/db78x00-bp-setup.c
 delete mode 100644 arch/arm/mach-mv78xx0/rd78x00-masa-setup.c
 delete mode 100644 arch/arm/mach-orion5x/db88f5281-setup.c
 delete mode 100644 arch/arm/mach-orion5x/ls_hgl-setup.c
 delete mode 100644 arch/arm/mach-orion5x/rd88f5181l-fxo-setup.c
 delete mode 100644 arch/arm/mach-orion5x/rd88f5181l-ge-setup.c
 delete mode 100644 arch/arm/mach-orion5x/rd88f5182-setup.c
 delete mode 100644 arch/arm/mach-orion5x/rd88f6183ap-ge-setup.c
 delete mode 100644 arch/arm/mach-orion5x/wnr854t-setup.c
 delete mode 100644 arch/arm/mach-orion5x/wrt350n-v2-setup.c
arch/arm/configs/mv78xx0_defconfig +0 -2
index f02f29d3fecb..3a1088079514 100644
@@ -11,8 +11,6 @@ CONFIG_ARCH_MULTI_V5=y
 # CONFIG_ARCH_MULTI_V6 is not set
 # CONFIG_ARCH_MULTI_V7 is not set
 CONFIG_ARCH_MV78XX0=y
-CONFIG_MACH_DB78X00_BP=y
-CONFIG_MACH_RD78X00_MASA=y
 CONFIG_MACH_TERASTATION_WXL=y
 CONFIG_AEABI=y
 CONFIG_HIGHMEM=y
arch/arm/mach-dove/Kconfig +0 -8
index 2252f465cafd..996888ffcfe7 100644
@@ -18,14 +18,6 @@ if ARCH_DOVE
 config DOVE_LEGACY
 	bool
 
-config MACH_DOVE_DB
-	bool "Marvell DB-MV88AP510 Development Board"
-	select DOVE_LEGACY
-	select I2C_BOARDINFO if I2C
-	help
-	  Say 'Y' here if you want your kernel to support the
-	  Marvell DB-MV88AP510 Development Board.
-
 config MACH_CM_A510
 	bool "CompuLab CM-A510 Board"
 	select DOVE_LEGACY
arch/arm/mach-dove/Makefile +0 -1
index da373a5768ba..0d31390be069 100644
@@ -4,5 +4,4 @@ ccflags-y := -I$(srctree)/arch/arm/plat-orion/include
 obj-y				+= common.o
 obj-$(CONFIG_DOVE_LEGACY)	+= irq.o mpp.o
 obj-$(CONFIG_PCI)		+= pcie.o
-obj-$(CONFIG_MACH_DOVE_DB)	+= dove-db-setup.o
 obj-$(CONFIG_MACH_CM_A510)	+= cm-a510.o
arch/arm/mach-dove/dove-db-setup.c deleted +0 -101

101 lines not on this page · raw message

arch/arm/mach-mv78xx0/Kconfig +0 -14
index 0464b732ead4..9de3bbc09c3a 100644
@@ -15,20 +15,6 @@ menuconfig ARCH_MV78XX0
 
 if ARCH_MV78XX0
 
-config MACH_DB78X00_BP
-	bool "Marvell DB-78x00-BP Development Board"
-	depends on UNUSED_BOARD_FILES
-	help
-	  Say 'Y' here if you want your kernel to support the
-	  Marvell DB-78x00-BP Development Board.
-
-config MACH_RD78X00_MASA
-	bool "Marvell RD-78x00-mASA Reference Design"
-	depends on UNUSED_BOARD_FILES
-	help
-	  Say 'Y' here if you want your kernel to support the
-	  Marvell RD-78x00-mASA Reference Design.
-
 config MACH_TERASTATION_WXL
 	bool "Buffalo WLX (Terastation Duo) NAS"
 	help
arch/arm/mach-mv78xx0/Makefile +0 -2
index 50aff70065f2..ddee6ae501bb 100644
@@ -2,6 +2,4 @@
 ccflags-y := -I$(srctree)/arch/arm/plat-orion/include
 
 obj-y				+= common.o mpp.o irq.o pcie.o
-obj-$(CONFIG_MACH_DB78X00_BP)	+= db78x00-bp-setup.o
-obj-$(CONFIG_MACH_RD78X00_MASA)	+= rd78x00-masa-setup.o
 obj-$(CONFIG_MACH_TERASTATION_WXL) += buffalo-wxl-setup.o
arch/arm/mach-mv78xx0/db78x00-bp-setup.c deleted +0 -101

101 lines not on this page · raw message

arch/arm/mach-mv78xx0/rd78x00-masa-setup.c deleted +0 -86

86 lines not on this page · raw message

arch/arm/mach-orion5x/Kconfig +0 -59

81 lines not on this page · raw message

arch/arm/mach-orion5x/Makefile +0 -8
index 572c3520f7fe..6f54d7fef27a 100644
@@ -2,23 +2,15 @@
 ccflags-y := -I$(srctree)/arch/arm/plat-orion/include
 
 obj-y				+= common.o pci.o irq.o mpp.o
-obj-$(CONFIG_MACH_DB88F5281)	+= db88f5281-setup.o
-obj-$(CONFIG_MACH_RD88F5182)	+= rd88f5182-setup.o
 obj-$(CONFIG_MACH_KUROBOX_PRO)	+= kurobox_pro-setup.o
 obj-$(CONFIG_MACH_TERASTATION_PRO2)	+= terastation_pro2-setup.o
 obj-$(CONFIG_MACH_LINKSTATION_PRO) += kurobox_pro-setup.o
-obj-$(CONFIG_MACH_LINKSTATION_LS_HGL) += ls_hgl-setup.o
 obj-$(CONFIG_MACH_DNS323)	+= dns323-setup.o
 obj-$(CONFIG_MACH_TS209)	+= ts209-setup.o tsx09-common.o
 obj-$(CONFIG_MACH_TS409)	+= ts409-setup.o tsx09-common.o
-obj-$(CONFIG_MACH_WRT350N_V2)	+= wrt350n-v2-setup.o
 obj-$(CONFIG_MACH_TS78XX)	+= ts78xx-setup.o
 obj-$(CONFIG_MACH_MV2120)	+= mv2120-setup.o
 obj-$(CONFIG_MACH_NET2BIG)	+= net2big-setup.o
-obj-$(CONFIG_MACH_WNR854T)	+= wnr854t-setup.o
-obj-$(CONFIG_MACH_RD88F5181L_GE)	+= rd88f5181l-ge-setup.o
-obj-$(CONFIG_MACH_RD88F5181L_FXO)	+= rd88f5181l-fxo-setup.o
-obj-$(CONFIG_MACH_RD88F6183AP_GE)	+= rd88f6183ap-ge-setup.o
 
 obj-$(CONFIG_ARCH_ORION5X_DT)		+= board-dt.o
 obj-$(CONFIG_MACH_D2NET_DT)	+= board-d2net.o
arch/arm/mach-orion5x/db88f5281-setup.c deleted +0 -376

376 lines not on this page · raw message

arch/arm/mach-orion5x/ls_hgl-setup.c deleted +0 -275

275 lines not on this page · raw message

arch/arm/mach-orion5x/rd88f5181l-fxo-setup.c deleted +0 -172

172 lines not on this page · raw message

arch/arm/mach-orion5x/rd88f5181l-ge-setup.c deleted +0 -183

183 lines not on this page · raw message

arch/arm/mach-orion5x/rd88f5182-setup.c deleted +0 -288

288 lines not on this page · raw message

arch/arm/mach-orion5x/rd88f6183ap-ge-setup.c deleted +0 -120

120 lines not on this page · raw message

arch/arm/mach-orion5x/wnr854t-setup.c deleted +0 -175

175 lines not on this page · raw message

arch/arm/mach-orion5x/wrt350n-v2-setup.c deleted +0 -263

263 lines not on this page · raw message

Signature · 1 line
2.29.2
#37 lore raw

PATCH 14/17 ARM: omap1: remove dead code

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

After the removal of the unused board files, I went through the omap1 code to look for code that no longer has any callers and remove that.

In particular, support for the omap7xx/omap8xx family is now completely unused, so I'm only leaving omap15xx/omap16xx/omap59xx.

Cc Aaro Koskinen <[email protected]>
Cc Janusz Krzysztofik <[email protected]>
Cc Tony Lindgren <[email protected]>
---
 arch/arm/mach-omap1/clock_data.c   | 17 +-----
 arch/arm/mach-omap1/common.h       |  8 ---
 arch/arm/mach-omap1/devices.c      | 58 ++-----------------
 arch/arm/mach-omap1/dma.c          | 25 +-------
 arch/arm/mach-omap1/i2c.c          | 14 +----
 arch/arm/mach-omap1/io.c           | 24 --------
 arch/arm/mach-omap1/irq.c          | 20 +------
 arch/arm/mach-omap1/irqs.h         |  9 ---
 arch/arm/mach-omap1/mcbsp.c        | 83 ---------------------------
 arch/arm/mach-omap1/mtd-xip.h      |  4 --
 arch/arm/mach-omap1/mux.c          | 52 -----------------
 arch/arm/mach-omap1/pm.c           | 76 ++++---------------------
 arch/arm/mach-omap1/pm.h           | 39 +------------
 arch/arm/mach-omap1/serial.c       | 15 -----
 arch/arm/mach-omap1/sleep.S        | 80 --------------------------
 arch/arm/mach-omap1/sram-init.c    |  7 +--
 arch/arm/mach-omap1/usb.c          | 34 +++--------
 drivers/spi/spi-omap-uwire.c       | 16 +-----
 drivers/usb/gadget/udc/omap_udc.c  | 24 +-------
 drivers/usb/host/ohci-omap.c       |  6 +-
 drivers/usb/musb/musb_dma.h        | 11 +---
 drivers/usb/phy/phy-isp1301-omap.c | 91 +-----------------------------
 drivers/video/fbdev/omap/lcdc.c    |  2 -
 include/linux/soc/ti/omap1-soc.h   | 35 ------------
 24 files changed, 39 insertions(+), 711 deletions(-)
arch/arm/mach-omap1/clock_data.c +1 -16
index 96d846c37c43..c58d200e4816 100644
@@ -720,8 +720,6 @@ int __init omap1_clk_init(void)
 		cpu_mask |= CK_16XX;
 	if (cpu_is_omap1510())
 		cpu_mask |= CK_1510;
-	if (cpu_is_omap7xx())
-		cpu_mask |= CK_7XX;
 	if (cpu_is_omap310())
 		cpu_mask |= CK_310;
 
@@ -730,9 +728,6 @@ int __init omap1_clk_init(void)
 	ck_dpll1_p = &ck_dpll1;
 	ck_ref_p = &ck_ref;
 
-	if (cpu_is_omap7xx())
-		ck_ref.rate = 13000000;
-
 	pr_info("Clocks: ARM_SYSST: 0x%04x DPLL_CTL: 0x%04x ARM_CKCTL: 0x%04x\n",
 		omap_readw(ARM_SYSST), omap_readw(DPLL_CTL),
 		omap_readw(ARM_CKCTL));
@@ -771,12 +766,6 @@ int __init omap1_clk_init(void)
 		}
 	}
 
-	if (machine_is_omap_perseus2() || machine_is_omap_fsample()) {
-		/* Select slicer output as OMAP input clock */
-		omap_writew(omap_readw(OMAP7XX_PCC_UPLD_CTRL) & ~0x1,
-				OMAP7XX_PCC_UPLD_CTRL);
-	}
-
 	/* Amstrad Delta wants BCLK high when inactive */
 	if (machine_is_ams_delta())
 		omap_writel(omap_readl(ULPD_CLOCK_CTRL) |
@@ -784,11 +773,7 @@ int __init omap1_clk_init(void)
 				ULPD_CLOCK_CTRL);
 
 	/* Turn off DSP and ARM_TIMXO. Make sure ARM_INTHCK is not divided */
-	/* (on 730, bit 13 must not be cleared) */
-	if (cpu_is_omap7xx())
-		omap_writew(omap_readw(ARM_CKCTL) & 0x2fff, ARM_CKCTL);
-	else
-		omap_writew(omap_readw(ARM_CKCTL) & 0x0fff, ARM_CKCTL);
+	omap_writew(omap_readw(ARM_CKCTL) & 0x0fff, ARM_CKCTL);
 
 	/* Put DSP/MPUI into reset until needed */
 	omap_writew(0, ARM_RSTCT1);
arch/arm/mach-omap1/common.h +0 -8
index 5ceff05e15c0..3fd9ed9efb12 100644
@@ -35,14 +35,6 @@
 #include "soc.h"
 #include "i2c.h"
 
-#if defined(CONFIG_ARCH_OMAP730) || defined(CONFIG_ARCH_OMAP850)
-void omap7xx_map_io(void);
-#else
-static inline void omap7xx_map_io(void)
-{
-}
-#endif
-
 #ifdef CONFIG_ARCH_OMAP15XX
 void omap1510_fpga_init_irq(void);
 void omap15xx_map_io(void);
arch/arm/mach-omap1/devices.c +4 -54

95 lines not on this page · raw message

arch/arm/mach-omap1/dma.c +2 -23
index c3f280c3c5d7..756966cb715f 100644
@@ -261,22 +261,6 @@ static const struct platform_device_info omap_dma_dev_info = {
 	.num_res = 1,
 };
 
-/* OMAP730, OMAP850 */
-static const struct dma_slave_map omap7xx_sdma_map[] = {
-	{ "omap-mcbsp.1", "tx", SDMA_FILTER_PARAM(8) },
-	{ "omap-mcbsp.1", "rx", SDMA_FILTER_PARAM(9) },
-	{ "omap-mcbsp.2", "tx", SDMA_FILTER_PARAM(10) },
-	{ "omap-mcbsp.2", "rx", SDMA_FILTER_PARAM(11) },
-	{ "mmci-omap.0", "tx", SDMA_FILTER_PARAM(21) },
-	{ "mmci-omap.0", "rx", SDMA_FILTER_PARAM(22) },
-	{ "omap_udc", "rx0", SDMA_FILTER_PARAM(26) },
-	{ "omap_udc", "rx1", SDMA_FILTER_PARAM(27) },
-	{ "omap_udc", "rx2", SDMA_FILTER_PARAM(28) },
-	{ "omap_udc", "tx0", SDMA_FILTER_PARAM(29) },
-	{ "omap_udc", "tx1", SDMA_FILTER_PARAM(30) },
-	{ "omap_udc", "tx2", SDMA_FILTER_PARAM(31) },
-};
-
 /* OMAP1510, OMAP1610*/
 static const struct dma_slave_map omap1xxx_sdma_map[] = {
 	{ "omap-mcbsp.1", "tx", SDMA_FILTER_PARAM(8) },
@@ -371,13 +355,8 @@ static int __init omap1_system_dma_init(void)
 	p.dma_attr = d;
 	p.errata = configure_dma_errata();
 
-	if (cpu_is_omap7xx()) {
-		p.slave_map = omap7xx_sdma_map;
-		p.slavecnt = ARRAY_SIZE(omap7xx_sdma_map);
-	} else {
-		p.slave_map = omap1xxx_sdma_map;
-		p.slavecnt = ARRAY_SIZE(omap1xxx_sdma_map);
-	}
+	p.slave_map = omap1xxx_sdma_map;
+	p.slavecnt = ARRAY_SIZE(omap1xxx_sdma_map);
 
 	ret = platform_device_add_data(pdev, &p, sizeof(p));
 	if (ret) {
arch/arm/mach-omap1/i2c.c +3 -11
index 22f945360599..94d3e7883e02 100644
@@ -25,13 +25,8 @@ static struct platform_device omap_i2c_devices[1] = {
 
 static void __init omap1_i2c_mux_pins(int bus_id)
 {
-	if (cpu_is_omap7xx()) {
-		omap_cfg_reg(I2C_7XX_SDA);
-		omap_cfg_reg(I2C_7XX_SCL);
-	} else {
-		omap_cfg_reg(I2C_SDA);
-		omap_cfg_reg(I2C_SCL);
-	}
+	omap_cfg_reg(I2C_SDA);
+	omap_cfg_reg(I2C_SCL);
 }
 
 int __init omap_i2c_add_bus(struct omap_i2c_bus_platform_data *pdata,
@@ -68,10 +63,7 @@ int __init omap_i2c_add_bus(struct omap_i2c_bus_platform_data *pdata,
 
 	/* how the cpu bus is wired up differs for 7xx only */
 
-	if (cpu_is_omap7xx())
-		pdata->flags |= OMAP_I2C_FLAG_BUS_SHIFT_1;
-	else
-		pdata->flags |= OMAP_I2C_FLAG_BUS_SHIFT_2;
+	pdata->flags |= OMAP_I2C_FLAG_BUS_SHIFT_2;
 
 	pdev->dev.platform_data = pdata;
 
arch/arm/mach-omap1/io.c +0 -24
index d2db9b8aed3f..72657413795f 100644
@@ -31,22 +31,6 @@ static struct map_desc omap_io_desc[] __initdata = {
 	}
 };
 
-#if defined (CONFIG_ARCH_OMAP730) || defined (CONFIG_ARCH_OMAP850)
-static struct map_desc omap7xx_io_desc[] __initdata = {
-	{
-		.virtual	= OMAP7XX_DSP_BASE,
-		.pfn		= __phys_to_pfn(OMAP7XX_DSP_START),
-		.length		= OMAP7XX_DSP_SIZE,
-		.type		= MT_DEVICE
-	}, {
-		.virtual	= OMAP7XX_DSPREG_BASE,
-		.pfn		= __phys_to_pfn(OMAP7XX_DSPREG_START),
-		.length		= OMAP7XX_DSPREG_SIZE,
-		.type		= MT_DEVICE
-	}
-};
-#endif
-
 #ifdef CONFIG_ARCH_OMAP15XX
 static struct map_desc omap1510_io_desc[] __initdata = {
 	{
@@ -87,14 +71,6 @@ static void __init omap1_map_common_io(void)
 	iotable_init(omap_io_desc, ARRAY_SIZE(omap_io_desc));
 }
 
-#if defined (CONFIG_ARCH_OMAP730) || defined (CONFIG_ARCH_OMAP850)
-void __init omap7xx_map_io(void)
-{
-	omap1_map_common_io();
-	iotable_init(omap7xx_io_desc, ARRAY_SIZE(omap7xx_io_desc));
-}
-#endif
-
 #ifdef CONFIG_ARCH_OMAP15XX
 void __init omap15xx_map_io(void)
 {
arch/arm/mach-omap1/irq.c +1 -19
index 70868e9f19ac..9ccc784fd614 100644
@@ -110,14 +110,6 @@ static void omap_irq_set_cfg(int irq, int fiq, int priority, int trigger)
 	irq_bank_writel(val, bank, offset);
 }
 
-#if defined (CONFIG_ARCH_OMAP730) || defined (CONFIG_ARCH_OMAP850)
-static struct omap_irq_bank omap7xx_irq_banks[] = {
-	{ .base_reg = OMAP_IH1_BASE,		.trigger_map = 0xb3f8e22f },
-	{ .base_reg = OMAP_IH2_BASE,		.trigger_map = 0xfdb9c1f2 },
-	{ .base_reg = OMAP_IH2_BASE + 0x100,	.trigger_map = 0x800040f3 },
-};
-#endif
-
 #ifdef CONFIG_ARCH_OMAP15XX
 static struct omap_irq_bank omap1510_irq_banks[] = {
 	{ .base_reg = OMAP_IH1_BASE,		.trigger_map = 0xb3febfff },
@@ -194,12 +186,6 @@ void __init omap1_init_irq(void)
 	int i, j, irq_base;
 	unsigned long nr_irqs;
 
-#if defined(CONFIG_ARCH_OMAP730) || defined(CONFIG_ARCH_OMAP850)
-	if (cpu_is_omap7xx()) {
-		irq_banks = omap7xx_irq_banks;
-		irq_bank_count = ARRAY_SIZE(omap7xx_irq_banks);
-	}
-#endif
 #ifdef CONFIG_ARCH_OMAP15XX
 	if (cpu_is_omap1510()) {
 		irq_banks = omap1510_irq_banks;
@@ -230,7 +216,7 @@ void __init omap1_init_irq(void)
 		pr_warn("Couldn't allocate IRQ numbers\n");
 		irq_base = 0;
 	}
-	omap_l2_irq = cpu_is_omap7xx() ? irq_base + 1 : irq_base;
+	omap_l2_irq = irq_base;
 	omap_l2_irq -= NR_IRQS_LEGACY;
 
 	domain = irq_domain_add_legacy(NULL, nr_irqs, irq_base, 0,
@@ -249,10 +235,6 @@ void __init omap1_init_irq(void)
 	irq_bank_writel(0x03, 0, IRQ_CONTROL_REG_OFFSET);
 	irq_bank_writel(0x03, 1, IRQ_CONTROL_REG_OFFSET);
 
-	/* Enable interrupts in global mask */
-	if (cpu_is_omap7xx())
-		irq_bank_writel(0x0, 0, IRQ_GMR_REG_OFFSET);
-
 	/* Install the interrupt handlers for each bank */
 	for (i = 0; i < irq_bank_count; i++) {
 		for (j = i * 32; j < (i + 1) * 32; j++) {
arch/arm/mach-omap1/irqs.h +0 -9
index 2851acfe5ff3..3ab7050b1b6b 100644
@@ -231,15 +231,6 @@
 #define IH_MPUIO_BASE		(OMAP_MAX_GPIO_LINES + IH_GPIO_BASE)
 #define OMAP_IRQ_END		(IH_MPUIO_BASE + 16)
 
-/* External FPGA handles interrupts on Innovator boards */
-#define	OMAP_FPGA_IRQ_BASE	(OMAP_IRQ_END)
-#ifdef	CONFIG_MACH_OMAP_INNOVATOR
-#define OMAP_FPGA_NR_IRQS	24
-#else
-#define OMAP_FPGA_NR_IRQS	0
-#endif
-#define OMAP_FPGA_IRQ_END	(OMAP_FPGA_IRQ_BASE + OMAP_FPGA_NR_IRQS)
-
 #define OMAP_IRQ_BIT(irq)	(1 << ((irq - NR_IRQS_LEGACY) % 32))
 
 #ifdef CONFIG_FIQ
arch/arm/mach-omap1/mcbsp.c +0 -83

95 lines not on this page · raw message

arch/arm/mach-omap1/mtd-xip.h +0 -4
index 5ae312ff08a1..cbeda46dd526 100644
@@ -42,11 +42,7 @@ static inline unsigned long xip_omap_mpu_timer_read(int nr)
  * (see linux/mtd/xip.h)
  */
 
-#ifdef CONFIG_MACH_OMAP_PERSEUS2
-#define xip_elapsed_since(x)	(signed)((~xip_omap_mpu_timer_read(0) - (x)) / 7)
-#else
 #define xip_elapsed_since(x)	(signed)((~xip_omap_mpu_timer_read(0) - (x)) / 6)
-#endif
 
 /*
  * xip_cpu_idle() is used when waiting for a delay equal or larger than
arch/arm/mach-omap1/mux.c +0 -52

64 lines not on this page · raw message

arch/arm/mach-omap1/pm.c +11 -65

142 lines not on this page · raw message

arch/arm/mach-omap1/pm.h +1 -38
index d9165709c532..146dbfd90ba1 100644
@@ -100,15 +100,7 @@
 #define OMAP1610_IDLECT3		0xfffece24
 #define OMAP1610_IDLE_LOOP_REQUEST	0x0400
 
-#define OMAP7XX_IDLECT1_SLEEP_VAL	0x16c7
-#define OMAP7XX_IDLECT2_SLEEP_VAL	0x09c7
-#define OMAP7XX_IDLECT3_VAL		0x3f
-#define OMAP7XX_IDLECT3		0xfffece24
-#define OMAP7XX_IDLE_LOOP_REQUEST	0x0C00
-
-#if     !defined(CONFIG_ARCH_OMAP730) && \
-	!defined(CONFIG_ARCH_OMAP850) && \
-	!defined(CONFIG_ARCH_OMAP15XX) && \
+#if     !defined(CONFIG_ARCH_OMAP15XX) && \
 	!defined(CONFIG_ARCH_OMAP16XX)
 #warning "Power management for this processor not implemented yet"
 #endif
@@ -125,17 +117,13 @@ extern void allow_idle_sleep(void);
 extern void omap1_pm_idle(void);
 extern void omap1_pm_suspend(void);
 
-extern void omap7xx_cpu_suspend(unsigned long, unsigned long);
 extern void omap1510_cpu_suspend(unsigned long, unsigned long);
 extern void omap1610_cpu_suspend(unsigned long, unsigned long);
-extern void omap7xx_idle_loop_suspend(void);
 extern void omap1510_idle_loop_suspend(void);
 extern void omap1610_idle_loop_suspend(void);
 
-extern unsigned int omap7xx_cpu_suspend_sz;
 extern unsigned int omap1510_cpu_suspend_sz;
 extern unsigned int omap1610_cpu_suspend_sz;
-extern unsigned int omap7xx_idle_loop_suspend_sz;
 extern unsigned int omap1510_idle_loop_suspend_sz;
 extern unsigned int omap1610_idle_loop_suspend_sz;
 
@@ -158,10 +146,6 @@ extern void omap_serial_wake_trigger(int enable);
 #define ULPD_RESTORE(x) omap_writew((ulpd_sleep_save[ULPD_SLEEP_SAVE_##x]), (x))
 #define ULPD_SHOW(x) ulpd_sleep_save[ULPD_SLEEP_SAVE_##x]
 
-#define MPUI7XX_SAVE(x) mpui7xx_sleep_save[MPUI7XX_SLEEP_SAVE_##x] = omap_readl(x)
-#define MPUI7XX_RESTORE(x) omap_writel((mpui7xx_sleep_save[MPUI7XX_SLEEP_SAVE_##x]), (x))
-#define MPUI7XX_SHOW(x) mpui7xx_sleep_save[MPUI7XX_SLEEP_SAVE_##x]
-
 #define MPUI1510_SAVE(x) mpui1510_sleep_save[MPUI1510_SLEEP_SAVE_##x] = omap_readl(x)
 #define MPUI1510_RESTORE(x) omap_writel((mpui1510_sleep_save[MPUI1510_SLEEP_SAVE_##x]), (x))
 #define MPUI1510_SHOW(x) mpui1510_sleep_save[MPUI1510_SLEEP_SAVE_##x]
@@ -235,27 +219,6 @@ enum mpui1510_save_state {
 #endif
 };
 
-enum mpui7xx_save_state {
-	MPUI7XX_SLEEP_SAVE_START = 0,
-	/*
-	 * MPUI registers 32 bits
-	 */
-	MPUI7XX_SLEEP_SAVE_MPUI_CTRL,
-	MPUI7XX_SLEEP_SAVE_MPUI_DSP_BOOT_CONFIG,
-	MPUI7XX_SLEEP_SAVE_MPUI_DSP_API_CONFIG,
-	MPUI7XX_SLEEP_SAVE_MPUI_DSP_STATUS,
-	MPUI7XX_SLEEP_SAVE_EMIFF_SDRAM_CONFIG,
-	MPUI7XX_SLEEP_SAVE_EMIFS_CONFIG,
-	MPUI7XX_SLEEP_SAVE_OMAP_IH1_MIR,
-	MPUI7XX_SLEEP_SAVE_OMAP_IH2_0_MIR,
-	MPUI7XX_SLEEP_SAVE_OMAP_IH2_1_MIR,
-#if defined(CONFIG_ARCH_OMAP730) || defined(CONFIG_ARCH_OMAP850)
-	MPUI7XX_SLEEP_SAVE_SIZE
-#else
-	MPUI7XX_SLEEP_SAVE_SIZE = 0
-#endif
-};
-
 enum mpui1610_save_state {
 	MPUI1610_SLEEP_SAVE_START = 0,
 	/*
arch/arm/mach-omap1/serial.c +0 -15
index 88928fc33b2e..c7f590645774 100644
@@ -106,13 +106,6 @@ void __init omap_serial_init(void)
 {
 	int i;
 
-	if (cpu_is_omap7xx()) {
-		serial_platform_data[0].regshift = 0;
-		serial_platform_data[1].regshift = 0;
-		serial_platform_data[0].irq = INT_7XX_UART_MODEM_1;
-		serial_platform_data[1].irq = INT_7XX_UART_MODEM_IRDA_2;
-	}
-
 	if (cpu_is_omap15xx()) {
 		serial_platform_data[0].uartclk = OMAP1510_BASE_BAUD * 16;
 		serial_platform_data[1].uartclk = OMAP1510_BASE_BAUD * 16;
@@ -120,14 +113,6 @@ void __init omap_serial_init(void)
 	}
 
 	for (i = 0; i < ARRAY_SIZE(serial_platform_data) - 1; i++) {
-
-		/* Don't look at UARTs higher than 2 for omap7xx */
-		if (cpu_is_omap7xx() && i > 1) {
-			serial_platform_data[i].membase = NULL;
-			serial_platform_data[i].mapbase = 0;
-			continue;
-		}
-
 		/* Static mapping, never released */
 		serial_platform_data[i].membase =
 			ioremap(serial_platform_data[i].mapbase, SZ_2K);
arch/arm/mach-omap1/sleep.S +0 -80

86 lines not on this page · raw message

arch/arm/mach-omap1/sram-init.c +1 -6
index 27c42e2a21cc..79b5a24420f6 100644
@@ -95,9 +95,7 @@ static void __init omap_detect_and_map_sram(void)
 	omap_sram_skip = SRAM_BOOTLOADER_SZ;
 	omap_sram_start = OMAP1_SRAM_PA;
 
-	if (cpu_is_omap7xx())
-		omap_sram_size = 0x32000;	/* 200K */
-	else if (cpu_is_omap15xx())
+	if (cpu_is_omap15xx())
 		omap_sram_size = 0x30000;	/* 192K */
 	else if (cpu_is_omap1610() || cpu_is_omap1611() ||
 			cpu_is_omap1621() || cpu_is_omap1710())
@@ -135,9 +133,6 @@ static void (*_omap_sram_reprogram_clock)(u32 dpllctl, u32 ckctl);
 void omap_sram_reprogram_clock(u32 dpllctl, u32 ckctl)
 {
 	BUG_ON(!_omap_sram_reprogram_clock);
-	/* On 730, bit 13 must always be 1 */
-	if (cpu_is_omap7xx())
-		ckctl |= 0x2000;
 	_omap_sram_reprogram_clock(dpllctl, ckctl);
 }
 
arch/arm/mach-omap1/usb.c +7 -27
index 0119f3ddb7a6..08d42abc4a0f 100644
@@ -190,12 +190,6 @@ static struct platform_device udc_device = {
 
 static inline void udc_device_init(struct omap_usb_config *pdata)
 {
-	/* IRQ numbers for omap7xx */
-	if(cpu_is_omap7xx()) {
-		udc_resources[1].start = INT_7XX_USB_GENI;
-		udc_resources[2].start = INT_7XX_USB_NON_ISO;
-		udc_resources[3].start = INT_7XX_USB_ISO;
-	}
 	pdata->udc_device = &udc_device;
 }
 
@@ -238,8 +232,6 @@ static inline void ohci_device_init(struct omap_usb_config *pdata)
 	if (!IS_ENABLED(CONFIG_USB_OHCI_HCD))
 		return;
 
-	if (cpu_is_omap7xx())
-		ohci_resources[1].start = INT_7XX_USB_HHC_1;
 	pdata->ohci_device = &ohci_device;
 	pdata->ocpi_enable = &ocpi_enable;
 }
@@ -267,8 +259,6 @@ static struct platform_device otg_device = {
 
 static inline void otg_device_init(struct omap_usb_config *pdata)
 {
-	if (cpu_is_omap7xx())
-		otg_resources[1].start = INT_7XX_USB_OTG;
 	pdata->otg_device = &otg_device;
 }
 
@@ -297,14 +287,7 @@ static u32 __init omap1_usb0_init(unsigned nwires, unsigned is_device)
 	}
 
 	if (is_device) {
-		if (cpu_is_omap7xx()) {
-			omap_cfg_reg(AA17_7XX_USB_DM);
-			omap_cfg_reg(W16_7XX_USB_PU_EN);
-			omap_cfg_reg(W17_7XX_USB_VBUSI);
-			omap_cfg_reg(W18_7XX_USB_DMCK_OUT);
-			omap_cfg_reg(W19_7XX_USB_DCRST);
-		} else
-			omap_cfg_reg(W4_USB_PUEN);
+		omap_cfg_reg(W4_USB_PUEN);
 	}
 
 	if (nwires == 2) {
@@ -324,14 +307,11 @@ static u32 __init omap1_usb0_init(unsigned nwires, unsigned is_device)
 		 *  - OTG support on this port not yet written
 		 */
 
-		/* Don't do this for omap7xx -- it causes USB to not work correctly */
-		if (!cpu_is_omap7xx()) {
-			l = omap_readl(USB_TRANSCEIVER_CTRL);
-			l &= ~(7 << 4);
-			if (!is_device)
-				l |= (3 << 1);
-			omap_writel(l, USB_TRANSCEIVER_CTRL);
-		}
+		l = omap_readl(USB_TRANSCEIVER_CTRL);
+		l &= ~(7 << 4);
+		if (!is_device)
+			l |= (3 << 1);
+		omap_writel(l, USB_TRANSCEIVER_CTRL);
 
 		return 3 << 16;
 	}
@@ -698,7 +678,7 @@ void __init omap1_usb_init(struct omap_usb_config *_pdata)
 	ohci_device_init(pdata);
 	otg_device_init(pdata);
 
-	if (cpu_is_omap7xx() || cpu_is_omap16xx())
+	if (cpu_is_omap16xx())
 		omap_otg_init(pdata);
 	else if (cpu_is_omap15xx())
 		omap_1510_usb_init(pdata);
drivers/spi/spi-omap-uwire.c +1 -15
index 29198e6815b2..20c87163d612 100644
@@ -99,7 +99,7 @@ struct uwire_state {
  * Or, put it in a structure which is used throughout the driver;
  * that avoids having to issue two loads for each bit of static data.
  */
-static unsigned int uwire_idx_shift;
+static unsigned int uwire_idx_shift = 2;
 static void __iomem *uwire_base;
 
 static inline void uwire_write_reg(int idx, u16 val)
@@ -481,11 +481,6 @@ static int uwire_probe(struct platform_device *pdev)
 	}
 	clk_prepare_enable(uwire->ck);
 
-	if (cpu_is_omap7xx())
-		uwire_idx_shift = 1;
-	else
-		uwire_idx_shift = 2;
-
 	uwire_write_reg(UWIRE_SR3, 1);
 
 	/* the spi->mode bits understood by this driver: */
@@ -536,15 +531,6 @@ static struct platform_driver uwire_driver = {
 
 static int __init omap_uwire_init(void)
 {
-	/* FIXME move these into the relevant board init code. also, include
-	 * H3 support; it uses tsc2101 like H2 (on a different chipselect).
-	 */
-
-	if (machine_is_omap_h2()) {
-		/* defaults: W21 SDO, U18 SDI, V19 SCL */
-		omap_cfg_reg(N14_1610_UWIRE_CS0);
-		omap_cfg_reg(N15_1610_UWIRE_CS1);
-	}
 	return platform_driver_register(&uwire_driver);
 }
 
drivers/usb/gadget/udc/omap_udc.c +3 -21
index bea346e362b2..1be8c19f2a04 100644
@@ -2036,12 +2036,7 @@ static irqreturn_t omap_udc_iso_irq(int irq, void *_dev)
 
 static inline int machine_without_vbus_sense(void)
 {
-	return machine_is_omap_innovator()
-		|| machine_is_omap_osk()
-		|| machine_is_omap_palmte()
-		|| machine_is_sx1()
-		/* No known omap7xx boards with vbus sense */
-		|| cpu_is_omap7xx();
+	return  machine_is_omap_osk() || machine_is_sx1();
 }
 
 static int omap_udc_start(struct usb_gadget *g,
@@ -2759,9 +2754,6 @@ static int omap_udc_probe(struct platform_device *pdev)
 	struct clk		*dc_clk = NULL;
 	struct clk		*hhc_clk = NULL;
 
-	if (cpu_is_omap7xx())
-		use_dma = 0;
-
 	/* NOTE:  "knows" the order of the resources! */
 	if (!request_mem_region(pdev->resource[0].start,
 			resource_size(&pdev->resource[0]),
@@ -2780,16 +2772,6 @@ static int omap_udc_probe(struct platform_device *pdev)
 		udelay(100);
 	}
 
-	if (cpu_is_omap7xx()) {
-		dc_clk = clk_get(&pdev->dev, "usb_dc_ck");
-		hhc_clk = clk_get(&pdev->dev, "l3_ocpi_ck");
-		BUG_ON(IS_ERR(dc_clk) || IS_ERR(hhc_clk));
-		/* can't use omap_udc_enable_clock yet */
-		clk_prepare_enable(dc_clk);
-		clk_prepare_enable(hhc_clk);
-		udelay(100);
-	}
-
 	INFO("OMAP UDC rev %d.%d%s\n",
 		omap_readw(UDC_REV) >> 4, omap_readw(UDC_REV) & 0xf,
 		config->otg ? ", Mini-AB" : "");
@@ -2914,7 +2896,7 @@ static int omap_udc_probe(struct platform_device *pdev)
 		goto cleanup1;
 	}
 #endif
-	if (cpu_is_omap16xx() || cpu_is_omap7xx()) {
+	if (cpu_is_omap16xx()) {
 		udc->dc_clk = dc_clk;
 		udc->hhc_clk = hhc_clk;
 		clk_disable(hhc_clk);
@@ -2933,7 +2915,7 @@ static int omap_udc_probe(struct platform_device *pdev)
 	if (!IS_ERR_OR_NULL(xceiv))
 		usb_put_phy(xceiv);
 
-	if (cpu_is_omap16xx() || cpu_is_omap7xx()) {
+	if (cpu_is_omap16xx()) {
 		clk_disable_unprepare(hhc_clk);
 		clk_disable_unprepare(dc_clk);
 		clk_put(hhc_clk);
drivers/usb/host/ohci-omap.c +1 -5
index cb29701df911..d7f594db56c6 100644
@@ -107,10 +107,6 @@ static int ohci_omap_reset(struct usb_hcd *hcd)
 		hcd->power_budget = 8;
 	}
 
-	/* boards can use OTG transceivers in non-OTG modes */
-	need_transceiver = need_transceiver
-			|| machine_is_omap_h2() || machine_is_omap_h3();
-
 	/* XXX OMAP16xx only */
 	if (config->ocpi_enable)
 		config->ocpi_enable();
@@ -150,7 +146,7 @@ static int ohci_omap_reset(struct usb_hcd *hcd)
 	}
 
 	/* board-specific power switching and overcurrent support */
-	if (machine_is_omap_osk() || machine_is_omap_innovator()) {
+	if (machine_is_omap_osk()) {
 		u32	rh = roothub_a (ohci);
 
 		/* power switching (ganged by default) */
drivers/usb/musb/musb_dma.h +2 -9
index 7d67b69df0a0..be32c6f90848 100644
@@ -61,12 +61,6 @@ struct musb_hw_ep;
 #define musb_dma_cppi41(musb)		0
 #endif
 
-#ifdef CONFIG_USB_TI_CPPI_DMA
-#define musb_dma_cppi(musb)		(musb->ops->quirks & MUSB_DMA_CPPI)
-#else
-#define musb_dma_cppi(musb)		0
-#endif
-
 #ifdef CONFIG_USB_TUSB_OMAP_DMA
 #define tusb_dma_omap(musb)		(musb->ops->quirks & MUSB_DMA_TUSB_OMAP)
 #else
@@ -79,9 +73,8 @@ struct musb_hw_ep;
 #define musb_dma_inventra(musb)		0
 #endif
 
-#if defined(CONFIG_USB_TI_CPPI_DMA) || defined(CONFIG_USB_TI_CPPI41_DMA)
-#define	is_cppi_enabled(musb)		\
-	(musb_dma_cppi(musb) || musb_dma_cppi41(musb))
+#if defined(CONFIG_USB_TI_CPPI41_DMA)
+#define	is_cppi_enabled(musb)		musb_dma_cppi41(musb)
 #else
 #define	is_cppi_enabled(musb)	0
 #endif
drivers/usb/phy/phy-isp1301-omap.c +1 -90

159 lines not on this page · raw message

drivers/video/fbdev/omap/lcdc.c +0 -2
index e7ce783e5215..abb8b11464e8 100644
@@ -706,8 +706,6 @@ static int omap_lcdc_init(struct omapfb_device *fbdev, int ext_mode,
 
 	if (machine_is_ams_delta())
 		rate /= 4;
-	if (machine_is_omap_h3())
-		rate /= 3;
 	r = clk_set_rate(lcdc.lcd_ck, rate);
 	if (r) {
 		dev_err(fbdev->dev, "failed to adjust LCD rate\n");
include/linux/soc/ti/omap1-soc.h +0 -35
index 81008d400bb6..a42d9aa68648 100644
@@ -20,22 +20,6 @@
 #undef MULTI_OMAP1
 #undef OMAP_NAME
 
-#ifdef CONFIG_ARCH_OMAP730
-# ifdef OMAP_NAME
-#  undef  MULTI_OMAP1
-#  define MULTI_OMAP1
-# else
-#  define OMAP_NAME omap730
-# endif
-#endif
-#ifdef CONFIG_ARCH_OMAP850
-# ifdef OMAP_NAME
-#  undef  MULTI_OMAP1
-#  define MULTI_OMAP1
-# else
-#  define OMAP_NAME omap850
-# endif
-#endif
 #ifdef CONFIG_ARCH_OMAP15XX
 # ifdef OMAP_NAME
 #  undef  MULTI_OMAP1
@@ -69,7 +53,6 @@ unsigned int omap_rev(void);
 /*
  * Macros to group OMAP into cpu classes.
  * These can be used in most places.
- * cpu_is_omap7xx():	True for OMAP730, OMAP850
  * cpu_is_omap15xx():	True for OMAP1510, OMAP5910 and OMAP310
  * cpu_is_omap16xx():	True for OMAP1610, OMAP5912 and OMAP1710
  */
@@ -89,23 +72,13 @@ static inline int is_omap ##subclass (void)		\
 	return (GET_OMAP_SUBCLASS == (id)) ? 1 : 0;	\
 }
 
-IS_OMAP_CLASS(7xx, 0x07)
 IS_OMAP_CLASS(15xx, 0x15)
 IS_OMAP_CLASS(16xx, 0x16)
 
-#define cpu_is_omap7xx()		0
 #define cpu_is_omap15xx()		0
 #define cpu_is_omap16xx()		0
 
 #if defined(MULTI_OMAP1)
-# if defined(CONFIG_ARCH_OMAP730)
-#  undef  cpu_is_omap7xx
-#  define cpu_is_omap7xx()		is_omap7xx()
-# endif
-# if defined(CONFIG_ARCH_OMAP850)
-#  undef  cpu_is_omap7xx
-#  define cpu_is_omap7xx()		is_omap7xx()
-# endif
 # if defined(CONFIG_ARCH_OMAP15XX)
 #  undef  cpu_is_omap15xx
 #  define cpu_is_omap15xx()		is_omap15xx()
@@ -115,14 +88,6 @@ IS_OMAP_CLASS(16xx, 0x16)
 #  define cpu_is_omap16xx()		is_omap16xx()
 # endif
 #else
-# if defined(CONFIG_ARCH_OMAP730)
-#  undef  cpu_is_omap7xx
-#  define cpu_is_omap7xx()		1
-# endif
-# if defined(CONFIG_ARCH_OMAP850)
-#  undef  cpu_is_omap7xx
-#  define cpu_is_omap7xx()		1
-# endif
 # if defined(CONFIG_ARCH_OMAP15XX)
 #  undef  cpu_is_omap15xx
 #  define cpu_is_omap15xx()		1
Signature · 1 line
2.29.2
#12 lore raw

PATCH 8/17 ARM: orion5x: remove dsa_chip_data references

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

This is no longer used anywhere, which means we can kill off one link to gpio numbers.

---
 arch/arm/mach-orion5x/common.c            | 10 --------
 arch/arm/mach-orion5x/common.h            |  2 --
 arch/arm/plat-orion/common.c              | 31 -----------------------
 arch/arm/plat-orion/include/plat/common.h |  3 ---
 4 files changed, 46 deletions(-)
arch/arm/mach-orion5x/common.c +0 -10
index 2e711b7252c6..df056d60b675 100644
@@ -18,7 +18,6 @@
 #include <linux/delay.h>
 #include <linux/clk-provider.h>
 #include <linux/cpu.h>
-#include <linux/platform_data/dsa.h>
 #include <asm/page.h>
 #include <asm/setup.h>
 #include <asm/system_misc.h>
@@ -100,15 +99,6 @@ void __init orion5x_eth_init(struct mv643xx_eth_platform_data *eth_data)
 }
 
 
-/*****************************************************************************
- * Ethernet switch
- ****************************************************************************/
-void __init orion5x_eth_switch_init(struct dsa_chip_data *d)
-{
-	orion_ge00_switch_init(d);
-}
-
-
 /*****************************************************************************
  * I2C
  ****************************************************************************/
arch/arm/mach-orion5x/common.h +0 -2
index eb96009e21c4..f2e0577bf50f 100644
@@ -4,7 +4,6 @@
 
 #include <linux/reboot.h>
 
-struct dsa_chip_data;
 struct mv643xx_eth_platform_data;
 struct mv_sata_platform_data;
 
@@ -42,7 +41,6 @@ void orion5x_setup_wins(void);
 void orion5x_ehci0_init(void);
 void orion5x_ehci1_init(void);
 void orion5x_eth_init(struct mv643xx_eth_platform_data *eth_data);
-void orion5x_eth_switch_init(struct dsa_chip_data *d);
 void orion5x_i2c_init(void);
 void orion5x_sata_init(struct mv_sata_platform_data *sata_data);
 void orion5x_spi_init(void);
arch/arm/plat-orion/common.c +0 -31
index 8647cb80a93b..cabe98386245 100644
@@ -18,7 +18,6 @@
 #include <linux/clkdev.h>
 #include <linux/mv643xx_eth.h>
 #include <linux/mv643xx_i2c.h>
-#include <linux/platform_data/dsa.h>
 #include <linux/platform_data/dma-mv_xor.h>
 #include <linux/platform_data/usb-ehci-orion.h>
 #include <plat/common.h>
@@ -468,36 +467,6 @@ void __init orion_ge11_init(struct mv643xx_eth_platform_data *eth_data,
 		    eth_data, &orion_ge11);
 }
 
-#ifdef CONFIG_ARCH_ORION5X
-/*****************************************************************************
- * Ethernet switch
- ****************************************************************************/
-static __initdata struct mdio_board_info orion_ge00_switch_board_info = {
-	.bus_id   = "orion-mii",
-	.modalias = "mv88e6085",
-};
-
-void __init orion_ge00_switch_init(struct dsa_chip_data *d)
-{
-	unsigned int i;
-
-	if (!IS_BUILTIN(CONFIG_PHYLIB))
-		return;
-
-	for (i = 0; i < ARRAY_SIZE(d->port_names); i++) {
-		if (!strcmp(d->port_names[i], "cpu")) {
-			d->netdev[i] = &orion_ge00.dev;
-			break;
-		}
-	}
-
-	orion_ge00_switch_board_info.mdio_addr = d->sw_addr;
-	orion_ge00_switch_board_info.platform_data = d;
-
-	mdiobus_register_board_info(&orion_ge00_switch_board_info, 1);
-}
-#endif
-
 /*****************************************************************************
  * I2C
  ****************************************************************************/
arch/arm/plat-orion/include/plat/common.h +0 -3
index 3647d3b33c20..d2aad95d20cb 100644
@@ -12,7 +12,6 @@
 #include <linux/mv643xx_eth.h>
 #include <linux/platform_data/usb-ehci-orion.h>
 
-struct dsa_chip_data;
 struct mv_sata_platform_data;
 
 void __init orion_uart0_init(void __iomem *membase,
@@ -57,8 +56,6 @@ void __init orion_ge11_init(struct mv643xx_eth_platform_data *eth_data,
 			    unsigned long mapbase,
 			    unsigned long irq);
 
-void __init orion_ge00_switch_init(struct dsa_chip_data *d);
-
 void __init orion_i2c_init(unsigned long mapbase,
 			   unsigned long irq,
 			   unsigned long freq_m);
Signature · 1 line
2.29.2
#43 lore raw

PATCH 15/17 fbdev: omapfb: remove unused board support

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

A number of omap1 based board files got removed, so the corresponding framebuffer drivers are no longer used. The remaining ones are for ams_delta, osk and palmTE, which are still part of the mainline kernel.

Cc Aaro Koskinen <[email protected]>
Cc Janusz Krzysztofik <[email protected]>
Cc Tony Lindgren <[email protected]>
Cc Marek Vasut <[email protected]>
Cc Angelo Arrifano <[email protected]>
Cc Imre Deak <[email protected]>
---
 drivers/video/fbdev/omap/Kconfig         |  9 ---
 drivers/video/fbdev/omap/Makefile        |  6 --
 drivers/video/fbdev/omap/lcd_h3.c        | 82 --------------------
 drivers/video/fbdev/omap/lcd_htcherald.c | 59 --------------
 drivers/video/fbdev/omap/lcd_inn1510.c   | 69 -----------------
 drivers/video/fbdev/omap/lcd_inn1610.c   | 99 ------------------------
 drivers/video/fbdev/omap/lcd_palmtt.c    | 65 ----------------
 drivers/video/fbdev/omap/lcd_palmz71.c   | 59 --------------
 8 files changed, 448 deletions(-)
 delete mode 100644 drivers/video/fbdev/omap/lcd_h3.c
 delete mode 100644 drivers/video/fbdev/omap/lcd_htcherald.c
 delete mode 100644 drivers/video/fbdev/omap/lcd_inn1510.c
 delete mode 100644 drivers/video/fbdev/omap/lcd_inn1610.c
 delete mode 100644 drivers/video/fbdev/omap/lcd_palmtt.c
 delete mode 100644 drivers/video/fbdev/omap/lcd_palmz71.c
drivers/video/fbdev/omap/Kconfig +0 -9
index b1786cf1b486..a6548283451f 100644
@@ -40,15 +40,6 @@ config FB_OMAP_LCD_MIPID
 	  the Mobile Industry Processor Interface DBI-C/DCS
 	  specification. (Supported LCDs: Philips LPH8923, Sharp LS041Y3)
 
-config FB_OMAP_LCD_H3
-	bool "TPS65010 LCD controller on OMAP-H3"
-	depends on MACH_OMAP_H3 || COMPILE_TEST
-	depends on TPS65010=y
-	default y
-	help
-	  Say Y here if you want to have support for the LCD on the
-	  H3 board.
-
 config FB_OMAP_DMA_TUNE
 	bool "Set DMA SDRAM access priority high"
 	depends on FB_OMAP
drivers/video/fbdev/omap/Makefile +0 -6
index b88e02f5cb1f..504edb9c09dd 100644
@@ -17,16 +17,10 @@ objs-y$(CONFIG_FB_OMAP_LCDC_EXTERNAL) += sossi.o
 objs-y$(CONFIG_FB_OMAP_LCDC_HWA742) += hwa742.o
 
 lcds-y$(CONFIG_MACH_AMS_DELTA) += lcd_ams_delta.o
-lcds-y$(CONFIG_FB_OMAP_LCD_H3) += lcd_h3.o
 lcds-y$(CONFIG_MACH_OMAP_PALMTE) += lcd_palmte.o
-lcds-y$(CONFIG_MACH_OMAP_PALMTT) += lcd_palmtt.o
-lcds-y$(CONFIG_MACH_OMAP_PALMZ71) += lcd_palmz71.o
-lcds-$(CONFIG_ARCH_OMAP16XX)$(CONFIG_MACH_OMAP_INNOVATOR) += lcd_inn1610.o
-lcds-$(CONFIG_ARCH_OMAP15XX)$(CONFIG_MACH_OMAP_INNOVATOR) += lcd_inn1510.o
 lcds-y$(CONFIG_MACH_OMAP_OSK) += lcd_osk.o
 
 lcds-y$(CONFIG_FB_OMAP_LCD_MIPID) += lcd_mipid.o
-lcds-y$(CONFIG_MACH_HERALD) += lcd_htcherald.o
 
 omapfb-objs := $(objs-yy)
 
drivers/video/fbdev/omap/lcd_h3.c deleted +0 -82

82 lines not on this page · raw message

drivers/video/fbdev/omap/lcd_htcherald.c deleted +0 -59

59 lines not on this page · raw message

drivers/video/fbdev/omap/lcd_inn1510.c deleted +0 -69

69 lines not on this page · raw message

drivers/video/fbdev/omap/lcd_inn1610.c deleted +0 -99

99 lines not on this page · raw message

drivers/video/fbdev/omap/lcd_palmtt.c deleted +0 -65

65 lines not on this page · raw message

drivers/video/fbdev/omap/lcd_palmz71.c deleted +0 -59

59 lines not on this page · raw message

Signature · 1 line
2.29.2
#13 lore raw

PATCH 9/17 ARM: iop32x: remove the platform

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

This was marked as unused in 5.19 and can now be removed

Cc Dan Williams <[email protected]>
Cc Lennert Buytenhek <[email protected]>
Cc Martin Michlmayr <[email protected]>
---
 MAINTAINERS                        |  30 ---
 arch/arm/Kconfig                   |   4 +-
 arch/arm/Kconfig.debug             |   6 +-
 arch/arm/Makefile                  |   1 -
 arch/arm/configs/iop32x_defconfig  | 126 ---------
 arch/arm/kernel/entry-common.S     |  15 --
 arch/arm/mach-iop32x/Kconfig       |  54 ----
 arch/arm/mach-iop32x/Makefile      |  20 --
 arch/arm/mach-iop32x/adma.c        | 163 ------------
 arch/arm/mach-iop32x/cp6.c         |  48 ----
 arch/arm/mach-iop32x/em7210.c      | 232 -----------------
 arch/arm/mach-iop32x/glantank.c    | 214 ---------------
 arch/arm/mach-iop32x/glantank.h    |  12 -
 arch/arm/mach-iop32x/gpio-iop32x.h |  11 -
 arch/arm/mach-iop32x/hardware.h    |  38 ---
 arch/arm/mach-iop32x/i2c.c         |  92 -------
 arch/arm/mach-iop32x/iop3xx.h      | 326 -----------------------
 arch/arm/mach-iop32x/iq31244.c     | 333 ------------------------
 arch/arm/mach-iop32x/iq31244.h     |  16 --
 arch/arm/mach-iop32x/iq80321.c     | 192 --------------
 arch/arm/mach-iop32x/iq80321.h     |  16 --
 arch/arm/mach-iop32x/irq.c         |  95 -------
 arch/arm/mach-iop32x/irqs.h        |  48 ----
 arch/arm/mach-iop32x/n2100.c       | 367 --------------------------
 arch/arm/mach-iop32x/n2100.h       |  18 --
 arch/arm/mach-iop32x/pci.c         | 404 -----------------------------
 arch/arm/mach-iop32x/pmu.c         |  29 ---
 arch/arm/mach-iop32x/restart.c     |  17 --
 arch/arm/mach-iop32x/setup.c       |  31 ---
 arch/arm/mach-iop32x/time.c        | 179 -------------
 drivers/i2c/busses/Kconfig         |   6 +-
 31 files changed, 6 insertions(+), 3137 deletions(-)
 delete mode 100644 arch/arm/configs/iop32x_defconfig
 delete mode 100644 arch/arm/mach-iop32x/Kconfig
 delete mode 100644 arch/arm/mach-iop32x/Makefile
 delete mode 100644 arch/arm/mach-iop32x/adma.c
 delete mode 100644 arch/arm/mach-iop32x/cp6.c
 delete mode 100644 arch/arm/mach-iop32x/em7210.c
 delete mode 100644 arch/arm/mach-iop32x/glantank.c
 delete mode 100644 arch/arm/mach-iop32x/glantank.h
 delete mode 100644 arch/arm/mach-iop32x/gpio-iop32x.h
 delete mode 100644 arch/arm/mach-iop32x/hardware.h
 delete mode 100644 arch/arm/mach-iop32x/i2c.c
 delete mode 100644 arch/arm/mach-iop32x/iop3xx.h
 delete mode 100644 arch/arm/mach-iop32x/iq31244.c
 delete mode 100644 arch/arm/mach-iop32x/iq31244.h
 delete mode 100644 arch/arm/mach-iop32x/iq80321.c
 delete mode 100644 arch/arm/mach-iop32x/iq80321.h
 delete mode 100644 arch/arm/mach-iop32x/irq.c
 delete mode 100644 arch/arm/mach-iop32x/irqs.h
 delete mode 100644 arch/arm/mach-iop32x/n2100.c
 delete mode 100644 arch/arm/mach-iop32x/n2100.h
 delete mode 100644 arch/arm/mach-iop32x/pci.c
 delete mode 100644 arch/arm/mach-iop32x/pmu.c
 delete mode 100644 arch/arm/mach-iop32x/restart.c
 delete mode 100644 arch/arm/mach-iop32x/setup.c
 delete mode 100644 arch/arm/mach-iop32x/time.c
MAINTAINERS +0 -30
index 89f72dba8e64..da1ff468e27d 100644
@@ -2215,21 +2215,6 @@ L:	[email protected] (moderated for non-subscribers)
 S:	Maintained
 F:	arch/arm/mach-pxa/colibri-pxa270-income.c
 
-ARM/INTEL IOP32X ARM ARCHITECTURE
-M:	Lennert Buytenhek <[email protected]>
-L:	[email protected] (moderated for non-subscribers)
-S:	Maintained
-
-ARM/INTEL IQ81342EX MACHINE SUPPORT
-M:	Lennert Buytenhek <[email protected]>
-L:	[email protected] (moderated for non-subscribers)
-S:	Maintained
-
-ARM/INTEL IXDP2850 MACHINE SUPPORT
-M:	Lennert Buytenhek <[email protected]>
-L:	[email protected] (moderated for non-subscribers)
-S:	Maintained
-
 ARM/INTEL IXP4XX ARM ARCHITECTURE
 M:	Linus Walleij <[email protected]>
 M:	Imre Kaloz <[email protected]>
@@ -2635,11 +2620,6 @@ F:	include/dt-bindings/*/qcom*
 F:	include/linux/*/qcom*
 F:	include/linux/soc/qcom/
 
-ARM/RADISYS ENP2611 MACHINE SUPPORT
-M:	Lennert Buytenhek <[email protected]>
-L:	[email protected] (moderated for non-subscribers)
-S:	Maintained
-
 ARM/RDA MICRO ARCHITECTURE
 M:	Manivannan Sadhasivam <[email protected]>
 L:	[email protected] (moderated for non-subscribers)
@@ -2971,11 +2951,6 @@ F:	arch/arm64/boot/dts/ti/Makefile
 F:	arch/arm64/boot/dts/ti/k3-*
 F:	include/dt-bindings/pinctrl/k3.h
 
-ARM/THECUS N2100 MACHINE SUPPORT
-M:	Lennert Buytenhek <[email protected]>
-L:	[email protected] (moderated for non-subscribers)
-S:	Maintained
-
 ARM/TOSA MACHINE SUPPORT
 M:	Dmitry Eremin-Solenikov <[email protected]>
 M:	Dirk Opfer <[email protected]>
@@ -10307,11 +10282,6 @@ T:	git git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git
 F:	drivers/iommu/intel/
 F:	include/linux/intel-svm.h
 
-INTEL IOP-ADMA DMA DRIVER
-R:	Dan Williams <[email protected]>
-S:	Odd fixes
-F:	drivers/dma/iop-adma.c
-
 INTEL IPU3 CSI-2 CIO2 DRIVER
 M:	Yong Zhi <[email protected]>
 M:	Sakari Ailus <[email protected]>
arch/arm/Kconfig +1 -3
index e58dab0303e6..698d88343e8e 100644
@@ -280,7 +280,7 @@ config PHYS_OFFSET
 	default 0x00000000 if ARCH_FOOTBRIDGE
 	default 0x10000000 if ARCH_OMAP1 || ARCH_RPC
 	default 0x30000000 if ARCH_S3C24XX
-	default 0xa0000000 if ARCH_IOP32X || ARCH_PXA
+	default 0xa0000000 if ARCH_PXA
 	default 0xc0000000 if ARCH_EP93XX || ARCH_SA1100
 	default 0
 	help
@@ -455,8 +455,6 @@ source "arch/arm/mach-hpe/Kconfig"
 
 source "arch/arm/mach-imx/Kconfig"
 
-source "arch/arm/mach-iop32x/Kconfig"
-
 source "arch/arm/mach-ixp4xx/Kconfig"
 
 source "arch/arm/mach-keystone/Kconfig"
arch/arm/Kconfig.debug +2 -4
index 3b11e1d04625..320c93fabb21 100644
@@ -1610,7 +1610,7 @@ config DEBUG_UART_PL01X
 
 # Compatibility options for 8250
 config DEBUG_UART_8250
-	def_bool ARCH_IOP32X || ARCH_IXP4XX || ARCH_RPC
+	def_bool ARCH_IXP4XX || ARCH_RPC
 
 config DEBUG_UART_PHYS
 	hex "Physical base address of debug UART"
@@ -1720,7 +1720,6 @@ config DEBUG_UART_PHYS
 	default 0xfcb00000 if DEBUG_HI3620_UART
 	default 0xfd883000 if DEBUG_ALPINE_UART0
 	default 0xfe531000 if DEBUG_STIH41X_SBC_ASC1
-	default 0xfe800000 if ARCH_IOP32X
 	default 0xfed32000 if DEBUG_STIH41X_ASC2
 	default 0xff690000 if DEBUG_RK32_UART2
 	default 0xffc02000 if DEBUG_SOCFPGA_UART0
@@ -1825,7 +1824,6 @@ config DEBUG_UART_VIRT
 	default 0xfe018000 if DEBUG_MMP_UART3
 	default 0xfe100000 if DEBUG_IMX23_UART || DEBUG_IMX28_UART
 	default 0xfe300000 if DEBUG_BCM_KONA_UART
-	default 0xfe800000 if ARCH_IOP32X
 	default 0xfeb00000 if DEBUG_HI3620_UART || DEBUG_HIX5HD2_UART
 	default 0xfeb24000 if DEBUG_RK3X_UART0
 	default 0xfeb26000 if DEBUG_RK3X_UART1
@@ -1867,7 +1865,7 @@ config DEBUG_UART_VIRT
 config DEBUG_UART_8250_SHIFT
 	int "Register offset shift for the 8250 debug UART"
 	depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250
-	default 0 if DEBUG_FOOTBRIDGE_COM1 || ARCH_IOP32X || DEBUG_BCM_5301X || \
+	default 0 if DEBUG_FOOTBRIDGE_COM1 || DEBUG_BCM_5301X || \
 		DEBUG_BCM_HR2 || DEBUG_OMAP7XXUART1 || DEBUG_OMAP7XXUART2 || \
 		DEBUG_OMAP7XXUART3
 	default 3 if DEBUG_MSTARV7_PMUART
arch/arm/Makefile +0 -1
index beda22911feb..1a62035d1207 100644
@@ -179,7 +179,6 @@ machine-$(CONFIG_ARCH_GEMINI)		+= gemini
 machine-$(CONFIG_ARCH_HIGHBANK)		+= highbank
 machine-$(CONFIG_ARCH_HISI)		+= hisi
 machine-$(CONFIG_ARCH_HPE)		+= hpe
-machine-$(CONFIG_ARCH_IOP32X)		+= iop32x
 machine-$(CONFIG_ARCH_IXP4XX)		+= ixp4xx
 machine-$(CONFIG_ARCH_KEYSTONE)		+= keystone
 machine-$(CONFIG_ARCH_LPC18XX)		+= lpc18xx
arch/arm/configs/iop32x_defconfig deleted +0 -126

126 lines not on this page · raw message

arch/arm/kernel/entry-common.S +0 -15
index 405a607b754f..03d4c5578c5c 100644
@@ -16,15 +16,6 @@
 
 	.equ	NR_syscalls, __NR_syscalls
 
-	.macro  arch_ret_to_user, tmp
-#ifdef CONFIG_ARCH_IOP32X
-	mrc	p15, 0, \tmp, c15, c1, 0
-	tst	\tmp, #(1 << 6)
-	bicne	\tmp, \tmp, #(1 << 6)
-	mcrne	p15, 0, \tmp, c15, c1, 0	@ Disable cp6 access
-#endif
-	.endm
-
 #include "entry-header.S"
 
 saved_psr	.req	r8
@@ -55,10 +46,6 @@ __ret_fast_syscall:
 	movs	r1, r1, lsl #16
 	bne	fast_work_pending
 
-
-	/* perform architecture specific actions before user return */
-	arch_ret_to_user r1
-
 	restore_user_regs fast = 1, offset = S_OFF
  UNWIND(.fnend		)
 ENDPROC(ret_fast_syscall)
@@ -129,8 +116,6 @@ ENTRY(ret_to_user_from_irq)
 no_work_pending:
 	asm_trace_hardirqs_on save = 0
 
-	/* perform architecture specific actions before user return */
-	arch_ret_to_user r1
 	ct_user_enter save = 0
 
 	restore_user_regs fast = 0, offset = 0
arch/arm/mach-iop32x/Kconfig deleted +0 -54

54 lines not on this page · raw message

arch/arm/mach-iop32x/Makefile deleted +0 -20
deleted file mode 100644
index c8018ef5c6a9..000000000000
@@ -1,20 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-#
-# Makefile for the linux kernel.
-#
-
-obj-$(CONFIG_ARCH_IOP32X) += irq.o
-obj-$(CONFIG_ARCH_IOP32X) += i2c.o
-obj-$(CONFIG_ARCH_IOP32X) += pci.o
-obj-$(CONFIG_ARCH_IOP32X) += setup.o
-obj-$(CONFIG_ARCH_IOP32X) += time.o
-obj-$(CONFIG_ARCH_IOP32X) += cp6.o
-obj-$(CONFIG_ARCH_IOP32X) += adma.o
-obj-$(CONFIG_ARCH_IOP32X) += pmu.o
-obj-$(CONFIG_ARCH_IOP32X) += restart.o
-
-obj-$(CONFIG_MACH_GLANTANK) += glantank.o
-obj-$(CONFIG_ARCH_IQ80321) += iq80321.o
-obj-$(CONFIG_ARCH_IQ31244) += iq31244.o
-obj-$(CONFIG_MACH_N2100) += n2100.o
-obj-$(CONFIG_MACH_EM7210) += em7210.o
arch/arm/mach-iop32x/adma.c deleted +0 -163

163 lines not on this page · raw message

arch/arm/mach-iop32x/cp6.c deleted +0 -48

48 lines not on this page · raw message

arch/arm/mach-iop32x/em7210.c deleted +0 -232

232 lines not on this page · raw message

arch/arm/mach-iop32x/glantank.c deleted +0 -214

214 lines not on this page · raw message

arch/arm/mach-iop32x/glantank.h deleted +0 -12
deleted file mode 100644
index f38e86b82c3d..000000000000
@@ -1,12 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- * IO-Data GLAN Tank board registers
- */
-
-#ifndef __GLANTANK_H
-#define __GLANTANK_H
-
-#define GLANTANK_UART		0xfe800000	/* UART */
-
-
-#endif
arch/arm/mach-iop32x/gpio-iop32x.h deleted +0 -11
deleted file mode 100644
index 20af87e4c5e8..000000000000
@@ -1,11 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-static struct resource iop32x_gpio_res[] = {
-	DEFINE_RES_MEM((IOP3XX_PERIPHERAL_PHYS_BASE + 0x07c4), 0x10),
-};
-
-static inline void register_iop32x_gpio(void)
-{
-	platform_device_register_simple("gpio-iop", 0,
-					iop32x_gpio_res,
-					ARRAY_SIZE(iop32x_gpio_res));
-}
arch/arm/mach-iop32x/hardware.h deleted +0 -38
deleted file mode 100644
index 43ab4fb8f9b0..000000000000
@@ -1,38 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef __HARDWARE_H
-#define __HARDWARE_H
-
-#include <asm/types.h>
-
-/*
- * Note about PCI IO space mappings
- *
- * To make IO space accesses efficient, we store virtual addresses in
- * the IO resources.
- *
- * The PCI IO space is located at virtual 0xfe000000 from physical
- * 0x90000000. The PCI BARs must be programmed with physical addresses,
- * but when we read them, we convert them to virtual addresses. See
- * arch/arm/plat-iop/pci.c.
- */
-
-#ifndef __ASSEMBLY__
-void iop32x_init_irq(void);
-#endif
-
-
-/*
- * Generic chipset bits
- */
-#include "iop3xx.h"
-
-/*
- * Board specific bits
- */
-#include "glantank.h"
-#include "iq80321.h"
-#include "iq31244.h"
-#include "n2100.h"
-
-
-#endif
arch/arm/mach-iop32x/i2c.c deleted +0 -92

92 lines not on this page · raw message

arch/arm/mach-iop32x/iop3xx.h deleted +0 -326

326 lines not on this page · raw message

arch/arm/mach-iop32x/iq31244.c deleted +0 -333

333 lines not on this page · raw message

arch/arm/mach-iop32x/iq31244.h deleted +0 -16
deleted file mode 100644
index a7ac691e48d3..000000000000
@@ -1,16 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- * Intel IQ31244 evaluation board registers
- */
-
-#ifndef __IQ31244_H
-#define __IQ31244_H
-
-#define IQ31244_UART		0xfe800000	/* UART #1 */
-#define IQ31244_7SEG_1		0xfe840000	/* 7-Segment MSB */
-#define IQ31244_7SEG_0		0xfe850000	/* 7-Segment LSB (WO) */
-#define IQ31244_ROTARY_SW	0xfe8d0000	/* Rotary Switch */
-#define IQ31244_BATT_STAT	0xfe8f0000	/* Battery Status */
-
-
-#endif
arch/arm/mach-iop32x/iq80321.c deleted +0 -192

192 lines not on this page · raw message

arch/arm/mach-iop32x/iq80321.h deleted +0 -16
deleted file mode 100644
index 3a5d10626ea6..000000000000
@@ -1,16 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- * Intel IQ80321 evaluation board registers
- */
-
-#ifndef __IQ80321_H
-#define __IQ80321_H
-
-#define IQ80321_UART		0xfe800000	/* UART #1 */
-#define IQ80321_7SEG_1		0xfe840000	/* 7-Segment MSB */
-#define IQ80321_7SEG_0		0xfe850000	/* 7-Segment LSB (WO) */
-#define IQ80321_ROTARY_SW	0xfe8d0000	/* Rotary Switch */
-#define IQ80321_BATT_STAT	0xfe8f0000	/* Battery Status */
-
-
-#endif
arch/arm/mach-iop32x/irq.c deleted +0 -95

95 lines not on this page · raw message

arch/arm/mach-iop32x/irqs.h deleted +0 -48

48 lines not on this page · raw message

arch/arm/mach-iop32x/n2100.c deleted +0 -367

367 lines not on this page · raw message

arch/arm/mach-iop32x/n2100.h deleted +0 -18
deleted file mode 100644
index 0b97b940d3e7..000000000000
@@ -1,18 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- * Thecus N2100 board registers
- */
-
-#ifndef __N2100_H
-#define __N2100_H
-
-#define N2100_UART		0xfe800000	/* UART */
-
-#define N2100_COPY_BUTTON	IOP3XX_GPIO_LINE(0)
-#define N2100_PCA9532_RESET	IOP3XX_GPIO_LINE(2)
-#define N2100_RESET_BUTTON	IOP3XX_GPIO_LINE(3)
-#define N2100_HARDWARE_RESET	IOP3XX_GPIO_LINE(4)
-#define N2100_POWER_BUTTON	IOP3XX_GPIO_LINE(5)
-
-
-#endif
arch/arm/mach-iop32x/pci.c deleted +0 -404

404 lines not on this page · raw message

arch/arm/mach-iop32x/pmu.c deleted +0 -29
deleted file mode 100644
index bdbc7a3cb8a3..000000000000
@@ -1,29 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-only
-/*
- * PMU IRQ registration for the iop3xx xscale PMU families.
- * Copyright (C) 2010 Will Deacon, ARM Ltd.
- */
-
-#include <linux/platform_device.h>
-#include "irqs.h"
-
-static struct resource pmu_resource = {
-	.start	= IRQ_IOP32X_CORE_PMU,
-	.end	= IRQ_IOP32X_CORE_PMU,
-	.flags	= IORESOURCE_IRQ,
-};
-
-static struct platform_device pmu_device = {
-	.name		= "xscale-pmu",
-	.id		= -1,
-	.resource	= &pmu_resource,
-	.num_resources	= 1,
-};
-
-static int __init iop3xx_pmu_init(void)
-{
-	platform_device_register(&pmu_device);
-	return 0;
-}
-
-arch_initcall(iop3xx_pmu_init);
arch/arm/mach-iop32x/restart.c deleted +0 -17
deleted file mode 100644
index 3dfa54d3a7a8..000000000000
@@ -1,17 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-only
-/*
- * restart.c
- *
- * Copyright (C) 2001 MontaVista Software, Inc.
- */
[… more lines in the raw message]

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

arch/arm/mach-iop32x/setup.c deleted +0 -31
deleted file mode 100644
index a0a81c28a632..000000000000

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

arch/arm/mach-iop32x/time.c deleted +0 -179

179 lines not on this page · raw message

drivers/i2c/busses/Kconfig +3 -3
index 264e780ae32e..e488e1b8e803 100644

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

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

Signature · 1 line
2.29.2

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

#16 lore raw

PATCH 10/17 dmaengine: remove iop-adma driver

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The iop32x platform was removed, so this driver is no longer needed.

---
 drivers/dma/Kconfig    |    8 -
 drivers/dma/Makefile   |    1 -
 drivers/dma/iop-adma.c | 1554 ----------------------------------------
 drivers/dma/iop-adma.h |  914 -----------------------
 4 files changed, 2477 deletions(-)
 delete mode 100644 drivers/dma/iop-adma.c
 delete mode 100644 drivers/dma/iop-adma.h
drivers/dma/Kconfig +0 -8
index 7524b62a8870..b73fc89ba877 100644
@@ -357,14 +357,6 @@ config INTEL_IOATDMA
 
 	  If unsure, say N.
 
-config INTEL_IOP_ADMA
-	tristate "Intel IOP32x ADMA support"
-	depends on ARCH_IOP32X || COMPILE_TEST
-	select DMA_ENGINE
-	select ASYNC_TX_ENABLE_CHANNEL_SWITCH
-	help
-	  Enable support for the Intel(R) IOP Series RAID engines.
-
 config K3_DMA
 	tristate "Hisilicon K3 DMA support"
 	depends on ARCH_HI3xxx || ARCH_HISI || COMPILE_TEST
drivers/dma/Makefile +0 -1
index 10f7d4241001..5b55ada052a7 100644
@@ -44,7 +44,6 @@ obj-$(CONFIG_IMX_SDMA) += imx-sdma.o
 obj-$(CONFIG_INTEL_IDMA64) += idma64.o
 obj-$(CONFIG_INTEL_IOATDMA) += ioat/
 obj-y += idxd/
-obj-$(CONFIG_INTEL_IOP_ADMA) += iop-adma.o
 obj-$(CONFIG_K3_DMA) += k3dma.o
 obj-$(CONFIG_LPC18XX_DMAMUX) += lpc18xx-dmamux.o
 obj-$(CONFIG_MILBEAUT_HDMAC) += milbeaut-hdmac.o
drivers/dma/iop-adma.c deleted +0 -1554

1,554 lines not on this page · raw message

drivers/dma/iop-adma.h deleted +0 -914

914 lines not on this page · raw message

Signature · 1 line
2.29.2
#19 lore raw

PATCH 11/17 gpio: remove iop driver

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The iop32x platform was removed, and its gpio driver is now orphaned.

Cc Lennert Buytenhek <[email protected]>
---
 drivers/gpio/Kconfig    | 10 -------
 drivers/gpio/Makefile   |  1 -
 drivers/gpio/gpio-iop.c | 59 -----------------------------------------
 3 files changed, 70 deletions(-)
 delete mode 100644 drivers/gpio/gpio-iop.c
drivers/gpio/Kconfig +0 -10
index a01af1180616..30a2b4214472 100644
@@ -345,16 +345,6 @@ config GPIO_IMX_SCU
        def_bool y
        depends on IMX_SCU
 
-config GPIO_IOP
-	tristate "Intel IOP GPIO"
-	depends on ARCH_IOP32X || COMPILE_TEST
-	select GPIO_GENERIC
-	help
-	  Say yes here to support the GPIO functionality of a number of Intel
-	  IOP32X or IOP33X series of chips.
-
-	  If unsure, say N.
-
 config GPIO_IXP4XX
 	bool "Intel IXP4xx GPIO"
 	depends on ARCH_IXP4XX
drivers/gpio/Makefile +0 -1
index 29e3beb6548c..b8c2ebc4bc87 100644
@@ -70,7 +70,6 @@ obj-$(CONFIG_GPIO_I8255)		+= gpio-i8255.o
 obj-$(CONFIG_GPIO_ICH)			+= gpio-ich.o
 obj-$(CONFIG_GPIO_IDT3243X)		+= gpio-idt3243x.o
 obj-$(CONFIG_GPIO_IMX_SCU)		+= gpio-imx-scu.o
-obj-$(CONFIG_GPIO_IOP)			+= gpio-iop.o
 obj-$(CONFIG_GPIO_IT87)			+= gpio-it87.o
 obj-$(CONFIG_GPIO_IXP4XX)		+= gpio-ixp4xx.o
 obj-$(CONFIG_GPIO_JANZ_TTL)		+= gpio-janz-ttl.o
drivers/gpio/gpio-iop.c deleted +0 -59

59 lines not on this page · raw message

Signature · 1 line
2.29.2
#22 lore raw

PATCH 12/17 ARM: footbridge: remove CATS

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

Nobody seems to have a CATS machine any more, so remove it now, leaving only NetWinder and EBSA285.

---
 arch/arm/kernel/head.S              |  2 +-
 arch/arm/mach-footbridge/Kconfig    | 12 ----
 arch/arm/mach-footbridge/Makefile   |  2 -
 arch/arm/mach-footbridge/cats-hw.c  | 98 -----------------------------
 arch/arm/mach-footbridge/cats-pci.c | 64 -------------------
 arch/arm/mach-footbridge/common.c   |  3 -
 drivers/watchdog/wdt285.c           |  2 -
 7 files changed, 1 insertion(+), 182 deletions(-)
 delete mode 100644 arch/arm/mach-footbridge/cats-hw.c
 delete mode 100644 arch/arm/mach-footbridge/cats-pci.c
arch/arm/kernel/head.S +1 -1
index 29e2900178a1..656991055bc1 100644
@@ -344,7 +344,7 @@ __create_page_tables:
 	ldr	r7, [r10, #PROCINFO_IO_MMUFLAGS] @ io_mmuflags
 #endif
 
-#if defined(CONFIG_ARCH_NETWINDER) || defined(CONFIG_ARCH_CATS)
+#if defined(CONFIG_ARCH_NETWINDER)
 	/*
 	 * If we're using the NetWinder or CATS, we also need to map
 	 * in the 16550-type serial port for the debug messages
arch/arm/mach-footbridge/Kconfig +0 -12
index b5e7cbfed119..78189997caa1 100644
@@ -16,18 +16,6 @@ menuconfig ARCH_FOOTBRIDGE
 
 if ARCH_FOOTBRIDGE
 
-config ARCH_CATS
-	bool "CATS"
-	depends on UNUSED_BOARD_FILES
-	select CLKEVT_I8253
-	select CLKSRC_I8253
-	select ISA
-	select FORCE_PCI
-	help
-	  Say Y here if you intend to run this kernel on the CATS.
-
-	  Saying N will reduce the size of the Footbridge kernel.
-
 config ARCH_EBSA285_HOST
 	bool "EBSA285 (host mode)"
 	select ARCH_EBSA285
arch/arm/mach-footbridge/Makefile +0 -2
index 55d570739f19..1553cc01b45c 100644
@@ -8,11 +8,9 @@
 obj-y			:= common.o isa-irq.o isa.o isa-rtc.o dma-isa.o
 
 pci-y			+= dc21285.o
-pci-$(CONFIG_ARCH_CATS) += cats-pci.o
 pci-$(CONFIG_ARCH_EBSA285) += ebsa285-pci.o
 pci-$(CONFIG_ARCH_NETWINDER) += netwinder-pci.o
 
-obj-$(CONFIG_ARCH_CATS) += cats-hw.o isa-timer.o
 obj-$(CONFIG_ARCH_EBSA285) += ebsa285.o dc21285-timer.o
 obj-$(CONFIG_ARCH_NETWINDER) += netwinder-hw.o isa-timer.o
 
arch/arm/mach-footbridge/cats-hw.c deleted +0 -98

98 lines not on this page · raw message

arch/arm/mach-footbridge/cats-pci.c deleted +0 -64

64 lines not on this page · raw message

arch/arm/mach-footbridge/common.c +0 -3
index 629e4676ed77..85c598708c10 100644
@@ -206,9 +206,6 @@ void __init footbridge_init_irq(void)
 		 */
 		isa_init_irq(IRQ_PCI);
 
-	if (machine_is_cats())
-		isa_init_irq(IRQ_IN2);
-
 	if (machine_is_netwinder())
 		isa_init_irq(IRQ_IN3);
 }
drivers/watchdog/wdt285.c +0 -2
index 110249e5f642..5b7be7a62d54 100644
@@ -206,8 +206,6 @@ static int __init footbridge_watchdog_init(void)
 	pr_info("Footbridge Watchdog Timer: 0.01, timer margin: %d sec\n",
 		soft_margin);
 
-	if (machine_is_cats())
-		pr_warn("Warning: Watchdog reset may not work on this machine\n");
 	return 0;
 }
 
Signature · 1 line
2.29.2
#4 lore raw

PATCH 3/17 mmc: remove cns3xxx driver

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The cns3xxx platform is gone, so this driver is now orphaned.

Cc Krzysztof Halasa <[email protected]>
---
 drivers/mmc/host/Kconfig         |  11 ---
 drivers/mmc/host/Makefile        |   1 -
 drivers/mmc/host/sdhci-cns3xxx.c | 113 -------------------------------
 3 files changed, 125 deletions(-)
 delete mode 100644 drivers/mmc/host/sdhci-cns3xxx.c
drivers/mmc/host/Kconfig +0 -11
index f324daadaf70..1c5b1c48a230 100644
@@ -253,17 +253,6 @@ config MMC_SDHCI_CADENCE
 
 	  If unsure, say N.
 
-config MMC_SDHCI_CNS3XXX
-	tristate "SDHCI support on the Cavium Networks CNS3xxx SoC"
-	depends on ARCH_CNS3XXX || COMPILE_TEST
-	depends on MMC_SDHCI_PLTFM
-	help
-	  This selects the SDHCI support for CNS3xxx System-on-Chip devices.
-
-	  If you have a controller with this interface, say Y or M here.
-
-	  If unsure, say N.
-
 config MMC_SDHCI_ESDHC_MCF
 	tristate "SDHCI support for the Freescale eSDHC ColdFire controller"
 	depends on M5441x
drivers/mmc/host/Makefile +0 -1
index 4e4ceb32c4b4..7bea77c28b7e 100644
@@ -77,7 +77,6 @@ obj-$(CONFIG_MMC_REALTEK_USB)	+= rtsx_usb_sdmmc.o
 
 obj-$(CONFIG_MMC_SDHCI_PLTFM)		+= sdhci-pltfm.o
 obj-$(CONFIG_MMC_SDHCI_CADENCE)		+= sdhci-cadence.o
-obj-$(CONFIG_MMC_SDHCI_CNS3XXX)		+= sdhci-cns3xxx.o
 obj-$(CONFIG_MMC_SDHCI_ESDHC_MCF)       += sdhci-esdhc-mcf.o
 obj-$(CONFIG_MMC_SDHCI_ESDHC_IMX)	+= sdhci-esdhc-imx.o
 obj-$(CONFIG_MMC_SDHCI_DOVE)		+= sdhci-dove.o
drivers/mmc/host/sdhci-cns3xxx.c deleted +0 -113

113 lines not on this page · raw message

Signature · 7 lines
2.29.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#24 lore raw

PATCH 13/17 ARM: omap1: remove unused board files

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

All board support that was marked as 'unused' earlier can now be removed, leaving the five machines that that still had someone using them in 2022, or that are supported in qemu.

Cc Aaro Koskinen <[email protected]>
Cc Janusz Krzysztofik <[email protected]>
Cc Tony Lindgren <[email protected]>
---
 MAINTAINERS                             |   2 -
 arch/arm/Kconfig.debug                  |  36 +-
 arch/arm/configs/omap1_defconfig        |   2 -
 arch/arm/mach-omap1/Kconfig             |  93 +---
 arch/arm/mach-omap1/Makefile            |  18 -
 arch/arm/mach-omap1/board-fsample.c     | 366 ---------------
 arch/arm/mach-omap1/board-generic.c     |  85 ----
 arch/arm/mach-omap1/board-h2-mmc.c      |  74 ---
 arch/arm/mach-omap1/board-h2.c          | 448 ------------------
 arch/arm/mach-omap1/board-h2.h          |  38 --
 arch/arm/mach-omap1/board-h3-mmc.c      |  64 ---
 arch/arm/mach-omap1/board-h3.c          | 455 ------------------
 arch/arm/mach-omap1/board-h3.h          |  35 --
 arch/arm/mach-omap1/board-htcherald.c   | 585 ------------------------
 arch/arm/mach-omap1/board-innovator.c   | 481 -------------------
 arch/arm/mach-omap1/board-nand.c        |  33 --
 arch/arm/mach-omap1/board-palmtt.c      | 285 ------------
 arch/arm/mach-omap1/board-palmz71.c     | 300 ------------
 arch/arm/mach-omap1/board-perseus2.c    | 333 --------------
 arch/arm/mach-omap1/fpga.c              | 186 --------
 arch/arm/mach-omap1/fpga.h              |  49 --
 arch/arm/mach-omap1/gpio7xx.c           | 272 -----------
 drivers/i2c/busses/Kconfig              |   2 +-
 drivers/mfd/Kconfig                     |   2 +-
 drivers/mmc/host/Kconfig                |   2 +-
 drivers/usb/gadget/udc/Kconfig          |   2 +-
 drivers/usb/host/Kconfig                |   2 +-
 include/linux/platform_data/leds-omap.h |  19 -
 28 files changed, 12 insertions(+), 4257 deletions(-)
 delete mode 100644 arch/arm/mach-omap1/board-fsample.c
 delete mode 100644 arch/arm/mach-omap1/board-generic.c
 delete mode 100644 arch/arm/mach-omap1/board-h2-mmc.c
 delete mode 100644 arch/arm/mach-omap1/board-h2.c
 delete mode 100644 arch/arm/mach-omap1/board-h2.h
 delete mode 100644 arch/arm/mach-omap1/board-h3-mmc.c
 delete mode 100644 arch/arm/mach-omap1/board-h3.c
 delete mode 100644 arch/arm/mach-omap1/board-h3.h
 delete mode 100644 arch/arm/mach-omap1/board-htcherald.c
 delete mode 100644 arch/arm/mach-omap1/board-innovator.c
 delete mode 100644 arch/arm/mach-omap1/board-nand.c
 delete mode 100644 arch/arm/mach-omap1/board-palmtt.c
 delete mode 100644 arch/arm/mach-omap1/board-palmz71.c
 delete mode 100644 arch/arm/mach-omap1/board-perseus2.c
 delete mode 100644 arch/arm/mach-omap1/fpga.c
 delete mode 100644 arch/arm/mach-omap1/fpga.h
 delete mode 100644 arch/arm/mach-omap1/gpio7xx.c
 delete mode 100644 include/linux/platform_data/leds-omap.h
MAINTAINERS +0 -2
index da1ff468e27d..bb3e20381128 100644
@@ -15031,7 +15031,6 @@ Q:	http://patchwork.kernel.org/project/linux-omap/list/
 T:	git git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git
 F:	arch/arm/configs/omap1_defconfig
 F:	arch/arm/mach-omap1/
-F:	arch/arm/plat-omap/
 F:	drivers/i2c/busses/i2c-omap.c
 F:	include/linux/platform_data/ams-delta-fiq.h
 F:	include/linux/platform_data/i2c-omap.h
@@ -15046,7 +15045,6 @@ Q:	http://patchwork.kernel.org/project/linux-omap/list/
 T:	git git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git
 F:	arch/arm/configs/omap2plus_defconfig
 F:	arch/arm/mach-omap2/
-F:	arch/arm/plat-omap/
 F:	drivers/bus/ti-sysc.c
 F:	drivers/i2c/busses/i2c-omap.c
 F:	drivers/irqchip/irq-omap-intc.c
arch/arm/Kconfig.debug +6 -30
index 320c93fabb21..c03fd448c59e 100644
@@ -760,30 +760,6 @@ choice
 		depends on ARCH_OMAP2PLUS
 		select DEBUG_UART_8250
 
-	config DEBUG_OMAP7XXUART1
-		bool "Kernel low-level debugging via OMAP730 UART1"
-		depends on ARCH_OMAP730
-		select DEBUG_UART_8250
-		help
-		  Say Y here if you want kernel low-level debugging support
-		  on OMAP730 based platforms on the UART1.
-
-	config DEBUG_OMAP7XXUART2
-		bool "Kernel low-level debugging via OMAP730 UART2"
-		depends on ARCH_OMAP730
-		select DEBUG_UART_8250
-		help
-		  Say Y here if you want kernel low-level debugging support
-		  on OMAP730 based platforms on the UART2.
-
-	config DEBUG_OMAP7XXUART3
-		bool "Kernel low-level debugging via OMAP730 UART3"
-		depends on ARCH_OMAP730
-		select DEBUG_UART_8250
-		help
-		  Say Y here if you want kernel low-level debugging support
-		  on OMAP730 based platforms on the UART3.
-
 	config DEBUG_TI81XXUART1
 		bool "Kernel low-level debugging messages via TI81XX UART1 (ti8148evm)"
 		depends on ARCH_OMAP2PLUS
@@ -1728,9 +1704,9 @@ config DEBUG_UART_PHYS
 	default 0xffe40000 if DEBUG_RCAR_GEN1_SCIF0
 	default 0xffe42000 if DEBUG_RCAR_GEN1_SCIF2
 	default 0xfff36000 if DEBUG_HIGHBANK_UART
-	default 0xfffb0000 if DEBUG_OMAP1UART1 || DEBUG_OMAP7XXUART1
-	default 0xfffb0800 if DEBUG_OMAP1UART2 || DEBUG_OMAP7XXUART2
-	default 0xfffb9800 if DEBUG_OMAP1UART3 || DEBUG_OMAP7XXUART3
+	default 0xfffb0000 if DEBUG_OMAP1UART1
+	default 0xfffb0800 if DEBUG_OMAP1UART2
+	default 0xfffb9800 if DEBUG_OMAP1UART3
 	default 0xfffe8600 if DEBUG_BCM63XX_UART
 	default 0xffffee00 if DEBUG_AT91_SAM9263_DBGU
 	default 0xfffff200 if DEBUG_AT91_RM9200_DBGU
@@ -1847,9 +1823,9 @@ config DEBUG_UART_VIRT
 	default 0xfec00000 if ARCH_IXP4XX && !CPU_BIG_ENDIAN
 	default 0xfec00003 if ARCH_IXP4XX && CPU_BIG_ENDIAN
 	default 0xfef36000 if DEBUG_HIGHBANK_UART
-	default 0xff0b0000 if DEBUG_OMAP1UART1 || DEBUG_OMAP7XXUART1
-	default 0xff0b0800 if DEBUG_OMAP1UART2 || DEBUG_OMAP7XXUART2
-	default 0xff0b9800 if DEBUG_OMAP1UART3 || DEBUG_OMAP7XXUART3
+	default 0xff0b0000 if DEBUG_OMAP1UART1
+	default 0xff0b0800 if DEBUG_OMAP1UART2
+	default 0xff0b9800 if DEBUG_OMAP1UART3
 	default 0xffd01000 if DEBUG_HIP01_UART
 	default DEBUG_UART_PHYS if !MMU
 	depends on DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \
arch/arm/configs/omap1_defconfig +0 -2
index 70511fe4b3ec..28d29bc2a20c 100644
@@ -20,8 +20,6 @@ CONFIG_ARCH_OMAP=y
 CONFIG_ARCH_OMAP1=y
 CONFIG_OMAP_32K_TIMER=y
 CONFIG_OMAP_DM_TIMER=y
-CONFIG_ARCH_OMAP730=y
-CONFIG_ARCH_OMAP850=y
 CONFIG_ARCH_OMAP16XX=y
 # CONFIG_OMAP_MUX is not set
 CONFIG_OMAP_RESET_CLOCKS=y
arch/arm/mach-omap1/Kconfig +1 -92

134 lines not on this page · raw message

arch/arm/mach-omap1/Makefile +0 -18
index 506074b86333..73722f260a1d 100644
@@ -31,32 +31,14 @@ usb-fs-$(CONFIG_USB_SUPPORT)		:= usb.o
 obj-y					+= $(usb-fs-m) $(usb-fs-y)
 
 # Specific board support
-obj-$(CONFIG_MACH_OMAP_H2)		+= board-h2.o board-h2-mmc.o \
-					   board-nand.o
-obj-$(CONFIG_MACH_OMAP_INNOVATOR)	+= board-innovator.o
-obj-$(CONFIG_MACH_OMAP_GENERIC)		+= board-generic.o
-obj-$(CONFIG_MACH_OMAP_PERSEUS2)	+= board-perseus2.o board-nand.o
-obj-$(CONFIG_MACH_OMAP_FSAMPLE)		+= board-fsample.o board-nand.o
 obj-$(CONFIG_MACH_OMAP_OSK)		+= board-osk.o
-obj-$(CONFIG_MACH_OMAP_H3)		+= board-h3.o board-h3-mmc.o \
-					   board-nand.o
 obj-$(CONFIG_MACH_OMAP_PALMTE)		+= board-palmte.o
-obj-$(CONFIG_MACH_OMAP_PALMZ71)		+= board-palmz71.o
-obj-$(CONFIG_MACH_OMAP_PALMTT)		+= board-palmtt.o
 obj-$(CONFIG_MACH_NOKIA770)		+= board-nokia770.o
 obj-$(CONFIG_MACH_AMS_DELTA)		+= board-ams-delta.o ams-delta-fiq.o \
 					   ams-delta-fiq-handler.o
 obj-$(CONFIG_MACH_SX1)			+= board-sx1.o board-sx1-mmc.o
-obj-$(CONFIG_MACH_HERALD)		+= board-htcherald.o
-
-ifeq ($(CONFIG_ARCH_OMAP15XX),y)
-# Innovator-1510 FPGA
-obj-$(CONFIG_MACH_OMAP_INNOVATOR)	+= fpga.o
-endif
 
 # GPIO
-obj-$(CONFIG_ARCH_OMAP730)		+= gpio7xx.o
-obj-$(CONFIG_ARCH_OMAP850)		+= gpio7xx.o
 obj-$(CONFIG_ARCH_OMAP15XX)		+= gpio15xx.o
 obj-$(CONFIG_ARCH_OMAP16XX)		+= gpio16xx.o
 
arch/arm/mach-omap1/board-fsample.c deleted +0 -366

366 lines not on this page · raw message

arch/arm/mach-omap1/board-generic.c deleted +0 -85

85 lines not on this page · raw message

arch/arm/mach-omap1/board-h2-mmc.c deleted +0 -74

74 lines not on this page · raw message

arch/arm/mach-omap1/board-h2.c deleted +0 -448

448 lines not on this page · raw message

arch/arm/mach-omap1/board-h2.h deleted +0 -38
deleted file mode 100644
index 315e2662547e..000000000000
@@ -1,38 +0,0 @@
-/*
- * arch/arm/mach-omap1/board-h2.h
- *
- * Hardware definitions for TI OMAP1610 H2 board.
- *
- * Cleanup for Linux-2.6 by Dirk Behme <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 2 of the License, or (at your
- * option) any later version.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
- * NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 675 Mass Ave, Cambridge, MA 02139, USA.
- */
-
-#ifndef __ASM_ARCH_OMAP_H2_H
-#define __ASM_ARCH_OMAP_H2_H
-
-#define H2_TPS_GPIO_BASE		(OMAP_MAX_GPIO_LINES + 16 /* MPUIO */)
-#	define H2_TPS_GPIO_MMC_PWR_EN	(H2_TPS_GPIO_BASE + 3)
-
-extern void h2_mmc_init(void);
-
-#endif /*  __ASM_ARCH_OMAP_H2_H */
-
arch/arm/mach-omap1/board-h3-mmc.c deleted +0 -64

64 lines not on this page · raw message

arch/arm/mach-omap1/board-h3.c deleted +0 -455

455 lines not on this page · raw message

arch/arm/mach-omap1/board-h3.h deleted +0 -35
deleted file mode 100644
index 78de535be3c5..000000000000
@@ -1,35 +0,0 @@
-/*
- * arch/arm/mach-omap1/board-h3.h
- *
- * Copyright (C) 2001 RidgeRun, Inc.
- * Copyright (C) 2004 Texas Instruments, Inc.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 2 of the License, or (at your
- * option) any later version.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
- * NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * You should have received a copy of the  GNU General Public License along
- * with this program; if not, write  to the Free Software Foundation, Inc.,
- * 675 Mass Ave, Cambridge, MA 02139, USA.
- */
-#ifndef __ASM_ARCH_OMAP_H3_H
-#define __ASM_ARCH_OMAP_H3_H
-
-#define H3_TPS_GPIO_BASE		(OMAP_MAX_GPIO_LINES + 16 /* MPUIO */)
-#	define H3_TPS_GPIO_MMC_PWR_EN	(H3_TPS_GPIO_BASE + 4)
-
-extern void h3_mmc_init(void);
-
-#endif /*  __ASM_ARCH_OMAP_H3_H */
arch/arm/mach-omap1/board-htcherald.c deleted +0 -585

585 lines not on this page · raw message

arch/arm/mach-omap1/board-innovator.c deleted +0 -481

481 lines not on this page · raw message

arch/arm/mach-omap1/board-nand.c deleted +0 -33
deleted file mode 100644
index 479ab9be784d..000000000000
@@ -1,33 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-only
-/*
- * linux/arch/arm/mach-omap1/board-nand.c
- *
- * Common OMAP1 board NAND code
- *
- * Copyright (C) 2004, 2012 Texas Instruments, Inc.
- * Copyright (C) 2002 MontaVista Software, Inc.
- * Copyright (C) 2001 RidgeRun, Inc.
- * Author: RidgeRun, Inc.
- *         Greg Lonnon ([email protected]) or [email protected]
- */
-#include <linux/kernel.h>
-#include <linux/io.h>
-#include <linux/mtd/mtd.h>
-#include <linux/mtd/rawnand.h>
-
-#include "common.h"
-
-void omap1_nand_cmd_ctl(struct nand_chip *this, int cmd, unsigned int ctrl)
-{
-	unsigned long mask;
-
-	if (cmd == NAND_CMD_NONE)
-		return;
-
-	mask = (ctrl & NAND_CLE) ? 0x02 : 0;
-	if (ctrl & NAND_ALE)
-		mask |= 0x04;
-
-	writeb(cmd, this->legacy.IO_ADDR_W + mask);
-}
-
arch/arm/mach-omap1/board-palmtt.c deleted +0 -285

94 lines not on this page · raw message

arch/arm/mach-omap1/board-palmz71.c deleted +0 -300

300 lines not on this page · raw message

arch/arm/mach-omap1/board-perseus2.c deleted +0 -333

333 lines not on this page · raw message

arch/arm/mach-omap1/fpga.c deleted +0 -186

186 lines not on this page · raw message

arch/arm/mach-omap1/fpga.h deleted +0 -49

49 lines not on this page · raw message

arch/arm/mach-omap1/gpio7xx.c deleted +0 -272

272 lines not on this page · raw message

drivers/i2c/busses/Kconfig +1 -1
index e488e1b8e803..f427c8ea5c7b 100644

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

drivers/mfd/Kconfig +1 -1
index 8b93856de432..c87aab27455f 100644

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

drivers/mmc/host/Kconfig +1 -1
index 1c5b1c48a230..1dc88347525a 100644

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

drivers/usb/gadget/udc/Kconfig +1 -1
index 5756acb07b8d..82fe0c72b496 100644

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

drivers/usb/host/Kconfig +1 -1
index 75b8a3eeb23a..fb7b603dddf8 100644

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

include/linux/platform_data/leds-omap.h deleted +0 -19
deleted file mode 100644
index dd1a3ec86fe4..000000000000

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

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

Signature · 1 line
2.29.2

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

#45 lore raw

PATCH 16/17 spi: remove omap 100K driver

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The OMAP7xx/OMAP8xx support was removed since all of its boards have no remaining users. Remove its spi driver as well.

Cc Aaro Koskinen <[email protected]>
Cc Janusz Krzysztofik <[email protected]>
Cc Tony Lindgren <[email protected]>
Cc Cory Maccarrone <[email protected]>
Cc Fabrice Crohas <[email protected]>
---
 drivers/spi/Kconfig         |   6 -
 drivers/spi/Makefile        |   1 -
 drivers/spi/spi-omap-100k.c | 490 ------------------------------------
 3 files changed, 497 deletions(-)
 delete mode 100644 drivers/spi/spi-omap-100k.c
drivers/spi/Kconfig +0 -6
index d1bb62f7368b..bf0dc704abbe 100644
@@ -697,12 +697,6 @@ config SPI_TI_QSPI
 	  This device supports single, dual and quad read support, while
 	  it only supports single write mode.
 
-config SPI_OMAP_100K
-	tristate "OMAP SPI 100K"
-	depends on ARCH_OMAP850 || ARCH_OMAP730 || COMPILE_TEST
-	help
-	  OMAP SPI 100K master controller for omap7xx boards.
-
 config SPI_ORION
 	tristate "Orion SPI master"
 	depends on PLAT_ORION || ARCH_MVEBU || COMPILE_TEST
drivers/spi/Makefile +0 -1
index 4b34e855c841..ae5ba0109d4b 100644
@@ -90,7 +90,6 @@ obj-$(CONFIG_SPI_OC_TINY)		+= spi-oc-tiny.o
 spi-octeon-objs				:= spi-cavium.o spi-cavium-octeon.o
 obj-$(CONFIG_SPI_OCTEON)		+= spi-octeon.o
 obj-$(CONFIG_SPI_OMAP_UWIRE)		+= spi-omap-uwire.o
-obj-$(CONFIG_SPI_OMAP_100K)		+= spi-omap-100k.o
 obj-$(CONFIG_SPI_OMAP24XX)		+= spi-omap2-mcspi.o
 obj-$(CONFIG_SPI_TI_QSPI)		+= spi-ti-qspi.o
 obj-$(CONFIG_SPI_ORION)			+= spi-orion.o
drivers/spi/spi-omap-100k.c deleted +0 -490

490 lines not on this page · raw message

Signature · 1 line
2.29.2
#48 lore raw

PATCH 17/17 mfd: remove htc-i2cpld driver

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The HTC Herald machine was removed, so this driver is no longer used anywhere.

Cc Cory Maccarrone <[email protected]>
---
 drivers/mfd/Kconfig      |   9 -
 drivers/mfd/Makefile     |   1 -
 drivers/mfd/htc-i2cpld.c | 627 ---------------------------------------
 include/linux/htcpld.h   |  23 --
 4 files changed, 660 deletions(-)
 delete mode 100644 drivers/mfd/htc-i2cpld.c
 delete mode 100644 include/linux/htcpld.h
drivers/mfd/Kconfig +0 -9
index c87aab27455f..11c3bd0bd669 100644
@@ -547,15 +547,6 @@ config HTC_PASIC3
 	  HTC Magician devices, respectively. Actual functionality is
 	  handled by the leds-pasic3 and ds1wm drivers.
 
-config HTC_I2CPLD
-	bool "HTC I2C PLD chip support"
-	depends on I2C=y && GPIOLIB
-	help
-	  If you say yes here you get support for the supposed CPLD
-	  found on omap850 HTC devices like the HTC Wizard and HTC Herald.
-	  This device provides input and output GPIOs through an I2C
-	  interface to one or more sub-chips.
-
 config MFD_INTEL_QUARK_I2C_GPIO
 	tristate "Intel Quark MFD I2C GPIO"
 	depends on PCI
drivers/mfd/Makefile +0 -1
index 7ed3ef4a698c..d74bf111f88e 100644
@@ -19,7 +19,6 @@ obj-$(CONFIG_MFD_EXYNOS_LPASS)	+= exynos-lpass.o
 obj-$(CONFIG_MFD_GATEWORKS_GSC)	+= gateworks-gsc.o
 
 obj-$(CONFIG_HTC_PASIC3)	+= htc-pasic3.o
-obj-$(CONFIG_HTC_I2CPLD)	+= htc-i2cpld.o
 
 obj-$(CONFIG_MFD_TI_LP873X)	+= lp873x.o
 obj-$(CONFIG_MFD_TI_LP87565)	+= lp87565.o
drivers/mfd/htc-i2cpld.c deleted +0 -627

627 lines not on this page · raw message

include/linux/htcpld.h deleted +0 -23
deleted file mode 100644
index 5f8ac9b1d724..000000000000
@@ -1,23 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef __LINUX_HTCPLD_H
-#define __LINUX_HTCPLD_H
-
-struct htcpld_chip_platform_data {
-	unsigned int addr;
-	unsigned int reset;
-	unsigned int num_gpios;
-	unsigned int gpio_out_base;
-	unsigned int gpio_in_base;
-	unsigned int irq_base;
-	unsigned int num_irqs;
-};
-
-struct htcpld_core_platform_data {
-	unsigned int                      i2c_adapter_id;
-
-	struct htcpld_chip_platform_data  *chip;
-	unsigned int                      num_chip;
-};
-
-#endif /* __LINUX_HTCPLD_H */
-
Signature · 1 line
2.29.2
maintainer Applied
#18 lore raw

Re: [PATCH 10/17] dmaengine: remove iop-adma driver

In reply to Arnd Bergmann
Quoted 4 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The iop32x platform was removed, so this driver is no longer needed.

Applied, thanks

Signature · 1 line
~Vinod
maintainer
#25 lore raw

Re: [PATCH 13/17] ARM: omap1: remove unused board files

In reply to Arnd Bergmann

Hi,

Quoted 6 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

All board support that was marked as 'unused' earlier can now be removed, leaving the five machines that that still had someone using them in 2022, or that are supported in qemu.

[...]

arch/arm/mach-omap1/Kconfig config MACH_OMAP_OSK · line 132

Quoted 8 lines

config OMAP_OSK_MISTRAL

arch/arm/mach-omap1/Kconfig +0 -1
 	bool "Mistral QVGA board Support"
 	depends on MACH_OMAP_OSK
-	depends on UNUSED_BOARD_FILES
 	help
 	  The OSK supports an optional add-on board with a Quarter-VGA
 	  touchscreen, PDA-ish buttons, a resume button, bicolor LED,
 	  and camera connector.  Say Y here if you have this board.

Shouldn't this go away as well?

A.

maintainer
#38 lore raw

Re: [PATCH 14/17] ARM: omap1: remove dead code

In reply to Arnd Bergmann

Hi,

Quoted 1 line · Arnd Bergmann
 drivers/usb/phy/phy-isp1301-omap.c | 91 +-----------------------------

This driver and config option ISP1301_OMAP can be deleted altogether as there are no users after H2/H3 boards are gone.

A.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Acked-by on v1 13/17
#33 lore raw

Re: [PATCH 13/17] ARM: omap1: remove unused board files

In reply to Arnd Bergmann
Quoted 7 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

All board support that was marked as 'unused' earlier can now be removed, leaving the five machines that that still had someone using them in 2022, or that are supported in qemu.

Quoted 5 lines
Cc Aaro Koskinen <[email protected]>
Cc Janusz Krzysztofik <[email protected]>
Cc Tony Lindgren <[email protected]>
Acked-by on v1 12/17
#23 lore raw

Re: [PATCH 12/17] ARM: footbridge: remove CATS

In reply to Arnd Bergmann
Quoted 7 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

Nobody seems to have a CATS machine any more, so remove it now, leaving only NetWinder and EBSA285.

(IIRC the EBSA285 was the machine that David Rusling distributed to a few Arm developers when he initiated OSS activities at Digital.)

Yours,
Linus Walleij

#26 lore raw

Re: [PATCH 13/17] ARM: omap1: remove unused board files

In reply to Aaro Koskinen
Quoted 10 lines · Aaro Koskinen

Hi,

Quoted 6 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

All board support that was marked as 'unused' earlier can now be removed, leaving the five machines that that still had someone using them in 2022, or that are supported in qemu.

[...]

Quoted 10 lines

arch/arm/mach-omap1/Kconfig config MACH_OMAP_OSK · line 132

Quoted 8 lines

config OMAP_OSK_MISTRAL

arch/arm/mach-omap1/Kconfig +0 -1
 	bool "Mistral QVGA board Support"
 	depends on MACH_OMAP_OSK
-	depends on UNUSED_BOARD_FILES
 	help
 	  The OSK supports an optional add-on board with a Quarter-VGA
 	  touchscreen, PDA-ish buttons, a resume button, bicolor LED,
 	  and camera connector.  Say Y here if you have this board.

Shouldn't this go away as well?

No, this one was incorrectly annotated, it's not actually a board but it's an option for the OSK board that is not getting removed. I considered making a separate patch for removing the dependency, but that didn't seem worth it.

Arnd

Acked-by on v1 3/17
#5 lore raw

Re: [PATCH 03/17] mmc: remove cns3xxx driver

In reply to Arnd Bergmann
Quoted 7 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The cns3xxx platform is gone, so this driver is now orphaned.

Cc Krzysztof Halasa <[email protected]>

Kind regards
Uffe

Quoted 163 lines
---
 drivers/mmc/host/Kconfig         |  11 ---
 drivers/mmc/host/Makefile        |   1 -
 drivers/mmc/host/sdhci-cns3xxx.c | 113 -------------------------------
 3 files changed, 125 deletions(-)
 delete mode 100644 drivers/mmc/host/sdhci-cns3xxx.c
drivers/mmc/host/Kconfig +0 -11
index f324daadaf70..1c5b1c48a230 100644
@@ -253,17 +253,6 @@ config MMC_SDHCI_CADENCE
 
          If unsure, say N.
 
-config MMC_SDHCI_CNS3XXX
-       tristate "SDHCI support on the Cavium Networks CNS3xxx SoC"
-       depends on ARCH_CNS3XXX || COMPILE_TEST
-       depends on MMC_SDHCI_PLTFM
-       help
-         This selects the SDHCI support for CNS3xxx System-on-Chip devices.
-
-         If you have a controller with this interface, say Y or M here.
-
-         If unsure, say N.
-
 config MMC_SDHCI_ESDHC_MCF
        tristate "SDHCI support for the Freescale eSDHC ColdFire controller"
        depends on M5441x
drivers/mmc/host/Makefile +0 -1
index 4e4ceb32c4b4..7bea77c28b7e 100644
@@ -77,7 +77,6 @@ obj-$(CONFIG_MMC_REALTEK_USB) += rtsx_usb_sdmmc.o
 
 obj-$(CONFIG_MMC_SDHCI_PLTFM)          += sdhci-pltfm.o
 obj-$(CONFIG_MMC_SDHCI_CADENCE)                += sdhci-cadence.o
-obj-$(CONFIG_MMC_SDHCI_CNS3XXX)                += sdhci-cns3xxx.o
 obj-$(CONFIG_MMC_SDHCI_ESDHC_MCF)       += sdhci-esdhc-mcf.o
 obj-$(CONFIG_MMC_SDHCI_ESDHC_IMX)      += sdhci-esdhc-imx.o
 obj-$(CONFIG_MMC_SDHCI_DOVE)           += sdhci-dove.o
drivers/mmc/host/sdhci-cns3xxx.c deleted +0 -114
deleted file mode 100644
index 2a29c7a4f308..000000000000
@@ -1,113 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-only
-/*
- * SDHCI support for CNS3xxx SoC
- *
- * Copyright 2008 Cavium Networks
- * Copyright 2010 MontaVista Software, LLC.
- *
- * Authors: Scott Shu
- *         Anton Vorontsov <[email protected]>
- */
-
-#include <linux/delay.h>
-#include <linux/device.h>
-#include <linux/mmc/host.h>
-#include <linux/module.h>
-#include "sdhci-pltfm.h"
-
-static unsigned int sdhci_cns3xxx_get_max_clk(struct sdhci_host *host)
-{
-       return 150000000;
-}
-
-static void sdhci_cns3xxx_set_clock(struct sdhci_host *host, unsigned int clock)
-{
-       struct device *dev = mmc_dev(host->mmc);
-       int div = 1;
-       u16 clk;
-       unsigned long timeout;
-
-       host->mmc->actual_clock = 0;
-
-       sdhci_writew(host, 0, SDHCI_CLOCK_CONTROL);
-
-       if (clock == 0)
-               return;
-
-       while (host->max_clk / div > clock) {
-               /*
-                * On CNS3xxx divider grows linearly up to 4, and then
-                * exponentially up to 256.
-                */
-               if (div < 4)
-                       div += 1;
-               else if (div < 256)
-                       div *= 2;
-               else
-                       break;
-       }
-
-       dev_dbg(dev, "desired SD clock: %d, actual: %d\n",
-               clock, host->max_clk / div);
-
-       /* Divide by 3 is special. */
-       if (div != 3)
-               div >>= 1;
-
-       clk = div << SDHCI_DIVIDER_SHIFT;
-       clk |= SDHCI_CLOCK_INT_EN;
-       sdhci_writew(host, clk, SDHCI_CLOCK_CONTROL);
-
-       timeout = 20;
-       while (!((clk = sdhci_readw(host, SDHCI_CLOCK_CONTROL))
-                       & SDHCI_CLOCK_INT_STABLE)) {
-               if (timeout == 0) {
-                       dev_warn(dev, "clock is unstable");
-                       break;
-               }
-               timeout--;
-               mdelay(1);
-       }
-
-       clk |= SDHCI_CLOCK_CARD_EN;
-       sdhci_writew(host, clk, SDHCI_CLOCK_CONTROL);
-}
-
-static const struct sdhci_ops sdhci_cns3xxx_ops = {
-       .get_max_clock  = sdhci_cns3xxx_get_max_clk,
-       .set_clock      = sdhci_cns3xxx_set_clock,
-       .set_bus_width  = sdhci_set_bus_width,
-       .reset          = sdhci_reset,
-       .set_uhs_signaling = sdhci_set_uhs_signaling,
-};
-
-static const struct sdhci_pltfm_data sdhci_cns3xxx_pdata = {
-       .ops = &sdhci_cns3xxx_ops,
-       .quirks = SDHCI_QUIRK_BROKEN_DMA |
-                 SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK |
-                 SDHCI_QUIRK_INVERTED_WRITE_PROTECT |
-                 SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN |
-                 SDHCI_QUIRK_BROKEN_TIMEOUT_VAL,
-};
-
-static int sdhci_cns3xxx_probe(struct platform_device *pdev)
-{
-       return sdhci_pltfm_register(pdev, &sdhci_cns3xxx_pdata, 0);
-}
-
-static struct platform_driver sdhci_cns3xxx_driver = {
-       .driver         = {
-               .name   = "sdhci-cns3xxx",
-               .probe_type = PROBE_PREFER_ASYNCHRONOUS,
-               .pm     = &sdhci_pltfm_pmops,
-       },
-       .probe          = sdhci_cns3xxx_probe,
-       .remove         = sdhci_pltfm_unregister,
-};
-
-module_platform_driver(sdhci_cns3xxx_driver);
-
-MODULE_DESCRIPTION("SDHCI driver for CNS3xxx");
-MODULE_AUTHOR("Scott Shu, "
-             "Anton Vorontsov <[email protected]>");
-MODULE_LICENSE("GPL v2");
--

2.29.2

maintainer Acked-by on v1 4/17
#7 lore raw

Re: [PATCH 04/17] ARM: ep93xx: remove old board files

In reply to Arnd Bergmann

Hi Arnd!

Quoted 6 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

These five board files were marked as unused a while ago, and nobody wanted to keep them around for longer, so remove them now.

Quoted 6 lines

We still have the edb93xx, visision_ep9307 and ts72xx files, which can hopefully be converted to device tree in the future.

Cc Lennert Buytenhek <[email protected]>
Cc Hubert Feurstein <[email protected]>
Quoted 16 lines
---
 MAINTAINERS                            |  10 --
 arch/arm/boot/compressed/misc-ep93xx.h |  13 +-
 arch/arm/mach-ep93xx/Kconfig           |  63 ----------
 arch/arm/mach-ep93xx/Makefile          |   5 -
 arch/arm/mach-ep93xx/adssphere.c       |  41 -------
 arch/arm/mach-ep93xx/gesbc9312.c       |  41 -------
 arch/arm/mach-ep93xx/micro9.c          | 125 -------------------
 arch/arm/mach-ep93xx/simone.c          | 128 -------------------
 arch/arm/mach-ep93xx/snappercl15.c     | 162 -------------------------
 9 files changed, 1 insertion(+), 587 deletions(-)
 delete mode 100644 arch/arm/mach-ep93xx/adssphere.c
 delete mode 100644 arch/arm/mach-ep93xx/gesbc9312.c
 delete mode 100644 arch/arm/mach-ep93xx/micro9.c
 delete mode 100644 arch/arm/mach-ep93xx/simone.c
 delete mode 100644 arch/arm/mach-ep93xx/snappercl15.c

[...]

maintainer
#27 lore raw

Re: [PATCH 13/17] ARM: omap1: remove unused board files

In reply to Arnd Bergmann

Hi,

Quoted 18 lines · Arnd Bergmann
Quoted 6 lines · Aaro Koskinen
Quoted 4 lines · Arnd Bergmann

All board support that was marked as 'unused' earlier can now be removed, leaving the five machines that that still had someone using them in 2022, or that are supported in qemu.

[...]

Quoted 10 lines

arch/arm/mach-omap1/Kconfig config MACH_OMAP_OSK · line 132

Quoted 8 lines

config OMAP_OSK_MISTRAL

arch/arm/mach-omap1/Kconfig +0 -1
 	bool "Mistral QVGA board Support"
 	depends on MACH_OMAP_OSK
-	depends on UNUSED_BOARD_FILES
 	help
 	  The OSK supports an optional add-on board with a Quarter-VGA
 	  touchscreen, PDA-ish buttons, a resume button, bicolor LED,
 	  and camera connector.  Say Y here if you have this board.

Shouldn't this go away as well?

Quoted 4 lines

No, this one was incorrectly annotated, it's not actually a board but it's an option for the OSK board that is not getting removed. I considered making a separate patch for removing the dependency, but that didn't seem worth it.

OK. For the record, I don't think anyone has this add-on board anymore, and it has probably never been tested with the mainline kernel, so it's likely in the "dead code" category... Maybe it could be changed to "BROKEN", then the related OSK LCD panel stuff could be deleted later on too.

A.

#28 lore raw

Re: [PATCH 13/17] ARM: omap1: remove unused board files

Quoted 24 lines · Aaro Koskinen
Quoted 18 lines · Arnd Bergmann
Quoted 6 lines · Aaro Koskinen
Quoted 4 lines · Arnd Bergmann

All board support that was marked as 'unused' earlier can now be removed, leaving the five machines that that still had someone using them in 2022, or that are supported in qemu.

[...]

Quoted 10 lines

arch/arm/mach-omap1/Kconfig config MACH_OMAP_OSK · line 132

Quoted 8 lines

config OMAP_OSK_MISTRAL

arch/arm/mach-omap1/Kconfig +0 -1
 	bool "Mistral QVGA board Support"
 	depends on MACH_OMAP_OSK
-	depends on UNUSED_BOARD_FILES
 	help
 	  The OSK supports an optional add-on board with a Quarter-VGA
 	  touchscreen, PDA-ish buttons, a resume button, bicolor LED,
 	  and camera connector.  Say Y here if you have this board.

Shouldn't this go away as well?

Quoted 4 lines

No, this one was incorrectly annotated, it's not actually a board but it's an option for the OSK board that is not getting removed. I considered making a separate patch for removing the dependency, but that didn't seem worth it.

Quoted 5 lines

OK. For the record, I don't think anyone has this add-on board anymore, and it has probably never been tested with the mainline kernel, so it's likely in the "dead code" category... Maybe it could be changed to "BROKEN", then the related OSK LCD panel stuff could be deleted later on too.

Ok, good to know. I left it in place for now because Tony originally listed it as a likely used machine along with NOKIA770 and AMS_DELTA [1], but I don't have anyone listed specifically as a user for it.

It's not too late to revisit this list if you think it helps to get rid of it. I can see that drivers/mtd/tps65010.c and drivers/pcmcia/omap_cf.c become orphaned without it and can probably get removed as well then.

Arnd

[1] https://lore.kernel.org/linux-arm-kernel/[email protected]/

Acked-by on v1 2/17
#3 lore raw

Re: [PATCH 02/17] ARM: cns3xxx: remove entire platform

In reply to Arnd Bergmann

Hi Arnd,

Quoted 4 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

cns3xxx was marked as unused a while ago, and gets removed entirely now.

Signature · 5 lines
Krzysztof "Chris" Hałasa

Sieć Badawcza Łukasiewicz
Przemysłowy Instytut Automatyki i Pomiarów PIAP
Al. Jerozolimskie 202, 02-486 Warszawa
#39 lore raw

Re: [PATCH 14/17] ARM: omap1: remove dead code

In reply to Aaro Koskinen
Quoted 7 lines · Aaro Koskinen

Hi,

Quoted 1 line · Arnd Bergmann
 drivers/usb/phy/phy-isp1301-omap.c | 91 +-----------------------------

This driver and config option ISP1301_OMAP can be deleted altogether as there are no users after H2/H3 boards are gone.

Good catch! I'll split the driver removal out as a separate patch then and remove this bit here.

Arnd

Acked-by on v1 1/17
#50 lore raw

Re: [PATCH 01/17] ARM: at91: remove stale MAINTAINER file entries

In reply to Arnd Bergmann
Quoted 6 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

Going through the entries of recently removed machine types, I found these two that were removed a long time ago.

Cc Nicolas Ferre <[email protected]>
Quoted 15 lines
Cc Alexandre Belloni <[email protected]>
Cc Claudiu Beznea <[email protected]>
---
  MAINTAINERS | 10 ----------
  1 file changed, 10 deletions(-)
MAINTAINERS +0 -0
index cf0f18502372..aedb7c008dd6 100644
@@ -1798,16 +1798,6 @@ M:       Lennert Buytenhek <[email protected]>
  L:     [email protected] (moderated for non-subscribers)
  S:     Maintained
 

MAINTAINERS M: Lennert Buytenhek <[email protected]> · line 1810

Quoted 10 lines
MAINTAINERS +0 -10
-ARM/AFEB9260 MACHINE SUPPORT
-M:     Sergey Lapin <[email protected]>
-L:     [email protected] (moderated for non-subscribers)
-S:     Maintained
-
-ARM/AJECO 1ARM MACHINE SUPPORT
-M:     Lennert Buytenhek <[email protected]>
-L:     [email protected] (moderated for non-subscribers)
-S:     Maintained
-

Yes, both removed by fb3642ebb52cfab8eaa52fea677abec4d92182a0 during v3.18..v3.19.

MAINTAINERS M: Lennert Buytenhek <[email protected]> · line 1803

Quoted 3 lines
MAINTAINERS +0 -0
  ARM/Allwinner SoC Clock Support
  M:     Emilio López <[email protected]>
  S:     Maintained

Thanks Arnd! Best regards,
Nicolas

Signature · 1 line
Nicolas Ferre
#51 lore raw

Re: [PATCH 01/17] ARM: at91: remove stale MAINTAINER file entries

Quoted 11 lines · Nicolas Ferre

EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe

Quoted 6 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

Going through the entries of recently removed machine types, I found these two that were removed a long time ago.

Cc Nicolas Ferre <[email protected]>

BTW, isn't there the need to remove it from mach-types as well?

v6.0:arch/arm/tools/mach-types:afeb9260 MACH_AFEB9260 AFEB9260 1859

Quoted 44 lines
Quoted 15 lines
Cc Alexandre Belloni <[email protected]>
Cc Claudiu Beznea <[email protected]>
---
   MAINTAINERS | 10 ----------
   1 file changed, 10 deletions(-)
MAINTAINERS +0 -0
index cf0f18502372..aedb7c008dd6 100644
@@ -1798,16 +1798,6 @@ M:       Lennert Buytenhek <[email protected]>
   L:     [email protected] (moderated for non-subscribers)
   S:     Maintained
 

MAINTAINERS M: Lennert Buytenhek <[email protected]> · line 1810

Quoted 10 lines
MAINTAINERS +0 -10
-ARM/AFEB9260 MACHINE SUPPORT
-M:     Sergey Lapin <[email protected]>
-L:     [email protected] (moderated for non-subscribers)
-S:     Maintained
-
-ARM/AJECO 1ARM MACHINE SUPPORT
-M:     Lennert Buytenhek <[email protected]>
-L:     [email protected] (moderated for non-subscribers)
-S:     Maintained
-

Yes, both removed by fb3642ebb52cfab8eaa52fea677abec4d92182a0 during v3.18..v3.19.

MAINTAINERS M: Lennert Buytenhek <[email protected]> · line 1803

Quoted 3 lines
MAINTAINERS +0 -0
   ARM/Allwinner SoC Clock Support
   M:     Emilio López <[email protected]>
   S:     Maintained

Thanks Arnd! Best regards,
Nicolas

--
Nicolas Ferre

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Signature · 1 line
Nicolas Ferre
maintainer Acked-by on v1 13/17
#34 lore raw

Re: [PATCH 13/17] ARM: omap1: remove unused board files

In reply to Arnd Bergmann
Quoted 29 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

All board support that was marked as 'unused' earlier can now be removed, leaving the five machines that that still had someone using them in 2022, or that are supported in qemu.

Cc Aaro Koskinen <[email protected]>
Cc Janusz Krzysztofik <[email protected]>
Cc Tony Lindgren <[email protected]>
---
 MAINTAINERS                             |   2 -
 arch/arm/Kconfig.debug                  |  36 +-
 arch/arm/configs/omap1_defconfig        |   2 -
 arch/arm/mach-omap1/Kconfig             |  93 +---
 arch/arm/mach-omap1/Makefile            |  18 -
 arch/arm/mach-omap1/board-fsample.c     | 366 ---------------
 arch/arm/mach-omap1/board-generic.c     |  85 ----
 arch/arm/mach-omap1/board-h2-mmc.c      |  74 ---
 arch/arm/mach-omap1/board-h2.c          | 448 ------------------
 arch/arm/mach-omap1/board-h2.h          |  38 --
 arch/arm/mach-omap1/board-h3-mmc.c      |  64 ---
 arch/arm/mach-omap1/board-h3.c          | 455 ------------------
 arch/arm/mach-omap1/board-h3.h          |  35 --
 arch/arm/mach-omap1/board-htcherald.c   | 585 ------------------------
 arch/arm/mach-omap1/board-innovator.c   | 481 -------------------
 arch/arm/mach-omap1/board-nand.c        |  33 --
Quoted 8 lines
 arch/arm/mach-omap1/board-palmtt.c      | 285 ------------
 arch/arm/mach-omap1/board-palmz71.c     | 300 ------------
 arch/arm/mach-omap1/board-perseus2.c    | 333 --------------
 arch/arm/mach-omap1/fpga.c              | 186 --------
 arch/arm/mach-omap1/fpga.h              |  49 --
 arch/arm/mach-omap1/gpio7xx.c           | 272 -----------
 drivers/i2c/busses/Kconfig              |   2 +-
 drivers/mfd/Kconfig                     |   2 +-
Quoted 23 lines
 drivers/mmc/host/Kconfig                |   2 +-
 drivers/usb/gadget/udc/Kconfig          |   2 +-
 drivers/usb/host/Kconfig                |   2 +-
 include/linux/platform_data/leds-omap.h |  19 -
 28 files changed, 12 insertions(+), 4257 deletions(-)
 delete mode 100644 arch/arm/mach-omap1/board-fsample.c
 delete mode 100644 arch/arm/mach-omap1/board-generic.c
 delete mode 100644 arch/arm/mach-omap1/board-h2-mmc.c
 delete mode 100644 arch/arm/mach-omap1/board-h2.c
 delete mode 100644 arch/arm/mach-omap1/board-h2.h
 delete mode 100644 arch/arm/mach-omap1/board-h3-mmc.c
 delete mode 100644 arch/arm/mach-omap1/board-h3.c
 delete mode 100644 arch/arm/mach-omap1/board-h3.h
 delete mode 100644 arch/arm/mach-omap1/board-htcherald.c
 delete mode 100644 arch/arm/mach-omap1/board-innovator.c
 delete mode 100644 arch/arm/mach-omap1/board-nand.c
 delete mode 100644 arch/arm/mach-omap1/board-palmtt.c
 delete mode 100644 arch/arm/mach-omap1/board-palmz71.c
 delete mode 100644 arch/arm/mach-omap1/board-perseus2.c
 delete mode 100644 arch/arm/mach-omap1/fpga.c
 delete mode 100644 arch/arm/mach-omap1/fpga.h
 delete mode 100644 arch/arm/mach-omap1/gpio7xx.c
 delete mode 100644 include/linux/platform_data/leds-omap.h
Signature · 1 line
Lee Jones [李琼斯]
maintainer
#29 lore raw

Re: [PATCH 13/17] ARM: omap1: remove unused board files

In reply to Arnd Bergmann

Hi,

Quoted 36 lines · Arnd Bergmann
Quoted 24 lines · Aaro Koskinen
Quoted 18 lines · Arnd Bergmann
Quoted 6 lines · Aaro Koskinen
Quoted 4 lines · Arnd Bergmann

All board support that was marked as 'unused' earlier can now be removed, leaving the five machines that that still had someone using them in 2022, or that are supported in qemu.

[...]

Quoted 10 lines

arch/arm/mach-omap1/Kconfig config MACH_OMAP_OSK · line 132

Quoted 8 lines

config OMAP_OSK_MISTRAL

arch/arm/mach-omap1/Kconfig +0 -1
 	bool "Mistral QVGA board Support"
 	depends on MACH_OMAP_OSK
-	depends on UNUSED_BOARD_FILES
 	help
 	  The OSK supports an optional add-on board with a Quarter-VGA
 	  touchscreen, PDA-ish buttons, a resume button, bicolor LED,
 	  and camera connector.  Say Y here if you have this board.

Shouldn't this go away as well?

Quoted 4 lines

No, this one was incorrectly annotated, it's not actually a board but it's an option for the OSK board that is not getting removed. I considered making a separate patch for removing the dependency, but that didn't seem worth it.

Quoted 5 lines

OK. For the record, I don't think anyone has this add-on board anymore, and it has probably never been tested with the mainline kernel, so it's likely in the "dead code" category... Maybe it could be changed to "BROKEN", then the related OSK LCD panel stuff could be deleted later on too.

Ok, good to know. I left it in place for now because Tony originally listed it as a likely used machine along with NOKIA770 and AMS_DELTA [1], but I don't have anyone listed specifically as a user for it.

Quoted 4 lines

It's not too late to revisit this list if you think it helps to get rid of it. I can see that drivers/mtd/tps65010.c and drivers/pcmcia/omap_cf.c become orphaned without it and can probably get removed as well then.

I was only referring to this Mistral add-on board and related display drivers.

The main OSK board support is still needed and used.

A.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

maintainer Reviewed-by on v1 14/17
#40 lore raw

Re: [PATCH 14/17] ARM: omap1: remove dead code

In reply to Arnd Bergmann
Quoted 6 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

After the removal of the unused board files, I went through the omap1 code to look for code that no longer has any callers and remove that.

Quoted 8 lines

In particular, support for the omap7xx/omap8xx family is now completely unused, so I'm only leaving omap15xx/omap16xx/omap59xx.

Cc Aaro Koskinen <[email protected]>
Cc Janusz Krzysztofik <[email protected]>
Cc Tony Lindgren <[email protected]>
maintainer Acked-by on v1 13/17
#35 lore raw

Re: [PATCH 13/17] ARM: omap1: remove unused board files

In reply to Arnd Bergmann
Quoted 7 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

All board support that was marked as 'unused' earlier can now be removed, leaving the five machines that that still had someone using them in 2022, or that are supported in qemu.

Quoted 5 lines
Cc Aaro Koskinen <[email protected]>
Cc Janusz Krzysztofik <[email protected]>
Cc Tony Lindgren <[email protected]>

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

reviewer
#30 lore raw

Re: [PATCH 13/17] ARM: omap1: remove unused board files

In reply to Aaro Koskinen
Quoted 4 lines · Aaro Koskinen

I was only referring to this Mistral add-on board and related display drivers.

The main OSK board support is still needed and used.

I'm pretty sure I have that display, but I was booting my OSK in a rack anyways so I rarely saw the LCD in use. No objections from me for removing the LCD support for OSK if nobody is using it.

Regards,

Tony

reviewer Acked-by on v1 14/17
#41 lore raw

Re: [PATCH 14/17] ARM: omap1: remove dead code

In reply to Arnd Bergmann
Quoted 8 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

After the removal of the unused board files, I went through the omap1 code to look for code that no longer has any callers and remove that.

In particular, support for the omap7xx/omap8xx family is now completely unused, so I'm only leaving omap15xx/omap16xx/omap59xx.

#31 lore raw

Re: [PATCH 13/17] ARM: omap1: remove unused board files

In reply to Tony Lindgren
Quoted 5 lines · Tony Lindgren
Quoted 4 lines · Aaro Koskinen

I was only referring to this Mistral add-on board and related display drivers.

The main OSK board support is still needed and used.

Ok, got it.

Quoted 3 lines

I'm pretty sure I have that display, but I was booting my OSK in a rack anyways so I rarely saw the LCD in use. No objections from me for removing the LCD support for OSK if nobody is using it.

I was going to leave Mistral in, thinking it's just a device definition, but upon closer look I found that this is a somewhat annoyingly written part that hardcodes GPIO numbers in unusual ways, so I'm adding a patch to remove it now.

Arnd

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

maintainer Acked-by on v1 14/17
#42 lore raw

Re: [PATCH 14/17] ARM: omap1: remove dead code

In reply to Arnd Bergmann
Quoted 8 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

After the removal of the unused board files, I went through the omap1 code to look for code that no longer has any callers and remove that.

In particular, support for the omap7xx/omap8xx family is now completely unused, so I'm only leaving omap15xx/omap16xx/omap59xx.

with a few tears shed since omap7xx/omap8xx was the first family I contributed to upstream. :(

Kevin

reviewer
#32 lore raw

Re: [PATCH 13/17] ARM: omap1: remove unused board files

In reply to Arnd Bergmann
Quoted 9 lines · Arnd Bergmann
Quoted 5 lines · Tony Lindgren
Quoted 4 lines · Aaro Koskinen

I was only referring to this Mistral add-on board and related display drivers.

The main OSK board support is still needed and used.

Ok, got it.

Quoted 8 lines
Quoted 3 lines

I'm pretty sure I have that display, but I was booting my OSK in a rack anyways so I rarely saw the LCD in use. No objections from me for removing the LCD support for OSK if nobody is using it.

I was going to leave Mistral in, thinking it's just a device definition, but upon closer look I found that this is a somewhat annoyingly written part that hardcodes GPIO numbers in unusual ways, so I'm adding a patch to remove it now.

OK sounds good to me.

Thanks,

Tony

maintainer Applied
#49 lore raw

Re: [PATCH 17/17] mfd: remove htc-i2cpld driver

In reply to Arnd Bergmann
Quoted 7 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The HTC Herald machine was removed, so this driver is no longer used anywhere.

Cc Cory Maccarrone <[email protected]>
Quoted 8 lines
---
 drivers/mfd/Kconfig      |   9 -
 drivers/mfd/Makefile     |   1 -
 drivers/mfd/htc-i2cpld.c | 627 ---------------------------------------
 include/linux/htcpld.h   |  23 --
 4 files changed, 660 deletions(-)
 delete mode 100644 drivers/mfd/htc-i2cpld.c
 delete mode 100644 include/linux/htcpld.h

Applied, thanks.

Signature · 1 line
Lee Jones [李琼斯]