* [PATCH 00/17] ARM: remove old board files
@ 2022-10-19 14:40 Arnd Bergmann
[not found] ` <20221019150410.3851944-1-arnd@kernel.org>
0 siblings, 1 reply; 15+ messages in thread
From: Arnd Bergmann @ 2022-10-19 14:40 UTC (permalink / raw)
To: linux-arm-kernel
Cc: Arnd Bergmann, Russell King, Aaro Koskinen, Janusz Krzysztofik,
Tony Lindgren, Andrew Lunn, Sebastian Hesselbarth,
Gregory Clement, Hartley Sweeten, Alexander Sverdlin,
Paul Walmsley, Kevin Hilman, Vinod Koul, Linus Walleij,
Bartosz Golaszewski, Lee Jones, Ulf Hansson, Mark Brown,
Felipe Balbi, Greg Kroah-Hartman, Alan Stern, Bin Liu,
Helge Deller, Wim Van Sebroeck, Guenter Roeck, Liam Girdwood,
Jaroslav Kysela, Takashi Iwai, Hubert Feurstein, Krzysztof Halasa,
Lennert Buytenhek, Sergey Lapin, Krzysztof Kozlowski,
Dan Williams, Pali Rohár, linux-kernel, linux-omap,
linux-usb, dmaengine, linux-gpio, linux-i2c, linux-mmc, linux-spi,
linux-fbdev, dri-devel, linux-watchdog, alsa-devel
From: Arnd Bergmann <arnd@arndb.de>
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 <linux@armlinux.org.uk>
CC: Aaro Koskinen <aaro.koskinen@iki.fi>
CC: Janusz Krzysztofik <jmkrzyszt@gmail.com>
CC: Tony Lindgren <tony@atomide.com>
CC: Andrew Lunn <andrew@lunn.ch>
CC: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
CC: Gregory Clement <gregory.clement@bootlin.com>
CC: Hartley Sweeten <hsweeten@visionengravers.com>
CC: Alexander Sverdlin <alexander.sverdlin@gmail.com>
CC: Paul Walmsley <paul@pwsan.com>
CC: Kevin Hilman <khilman@kernel.org>
CC: Vinod Koul <vkoul@kernel.org>
CC: Linus Walleij <linus.walleij@linaro.org>
CC: Bartosz Golaszewski <brgl@bgdev.pl>
CC: Lee Jones <lee@kernel.org>
CC: Ulf Hansson <ulf.hansson@linaro.org>
CC: Mark Brown <broonie@kernel.org>
CC: Felipe Balbi <balbi@kernel.org>
CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
CC: Alan Stern <stern@rowland.harvard.edu>
CC: Bin Liu <b-liu@ti.com>
CC: Helge Deller <deller@gmx.de>
CC: Wim Van Sebroeck <wim@linux-watchdog.org>
CC: Guenter Roeck <linux@roeck-us.net>
CC: Liam Girdwood <lgirdwood@gmail.com>
CC: Jaroslav Kysela <perex@perex.cz>
CC: Takashi Iwai <tiwai@suse.com>
Cc: Hubert Feurstein <hubert.feurstein@contec.at>
Cc: Krzysztof Halasa <khalasa@piap.pl>
Cc: Lennert Buytenhek <kernel@wantstofly.org>
Cc: Sergey Lapin <slapin@ossfans.org>
CC: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
CC: Dan Williams <dan.j.williams@intel.com>
CC: "Pali Rohár" <pali@kernel.org>
CC: linux-kernel@vger.kernel.org
CC: linux-arm-kernel@lists.infradead.org
CC: linux-omap@vger.kernel.org
CC: linux-usb@vger.kernel.org
CC: dmaengine@vger.kernel.org
CC: linux-gpio@vger.kernel.org
CC: linux-i2c@vger.kernel.org
CC: linux-mmc@vger.kernel.org
CC: linux-spi@vger.kernel.org
CC: linux-fbdev@vger.kernel.org
CC: dri-devel@lists.freedesktop.org
CC: linux-watchdog@vger.kernel.org
CC: alsa-devel@alsa-project.org
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
--
2.29.2
^ permalink raw reply [flat|nested] 15+ messages in thread
* [PATCH 03/17] mmc: remove cns3xxx driver
[not found] ` <20221019150410.3851944-1-arnd@kernel.org>
@ 2022-10-19 15:03 ` Arnd Bergmann
2022-10-20 10:36 ` Ulf Hansson
[not found] ` <20221019150410.3851944-13-arnd@kernel.org>
1 sibling, 1 reply; 15+ messages in thread
From: Arnd Bergmann @ 2022-10-19 15:03 UTC (permalink / raw)
To: linux-arm-kernel, Ulf Hansson, Adrian Hunter
Cc: linux-kernel, Arnd Bergmann, Krzysztof Halasa, linux-mmc
From: Arnd Bergmann <arnd@arndb.de>
The cns3xxx platform is gone, so this driver is now orphaned.
Cc: Krzysztof Halasa <khalasa@piap.pl>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
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
diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index f324daadaf70..1c5b1c48a230 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -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
diff --git a/drivers/mmc/host/Makefile b/drivers/mmc/host/Makefile
index 4e4ceb32c4b4..7bea77c28b7e 100644
--- a/drivers/mmc/host/Makefile
+++ b/drivers/mmc/host/Makefile
@@ -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
diff --git a/drivers/mmc/host/sdhci-cns3xxx.c b/drivers/mmc/host/sdhci-cns3xxx.c
deleted file mode 100644
index 2a29c7a4f308..000000000000
--- a/drivers/mmc/host/sdhci-cns3xxx.c
+++ /dev/null
@@ -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 <avorontsov@mvista.com>
- */
-
-#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 <avorontsov@mvista.com>");
-MODULE_LICENSE("GPL v2");
--
2.29.2
^ permalink raw reply related [flat|nested] 15+ messages in thread
* Re: [PATCH 13/17] ARM: omap1: remove unused board files
[not found] ` <20221019150410.3851944-13-arnd@kernel.org>
@ 2022-10-19 17:15 ` Aaro Koskinen
2022-10-20 7:11 ` Arnd Bergmann
2022-10-19 19:30 ` Wolfram Sang
` (3 subsequent siblings)
4 siblings, 1 reply; 15+ messages in thread
From: Aaro Koskinen @ 2022-10-19 17:15 UTC (permalink / raw)
To: Arnd Bergmann
Cc: linux-arm-kernel, Janusz Krzysztofik, Tony Lindgren, linux-kernel,
Arnd Bergmann, linux-omap, Lee Jones, Ulf Hansson, Felipe Balbi,
Greg Kroah-Hartman, linux-i2c, linux-mmc, linux-usb
Hi,
On Wed, Oct 19, 2022 at 05:03:35PM +0200, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> 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.
[...]
> config OMAP_OSK_MISTRAL
> 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.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 13/17] ARM: omap1: remove unused board files
[not found] ` <20221019150410.3851944-13-arnd@kernel.org>
2022-10-19 17:15 ` [PATCH 13/17] ARM: omap1: remove unused board files Aaro Koskinen
@ 2022-10-19 19:30 ` Wolfram Sang
2022-10-21 9:50 ` Lee Jones
` (2 subsequent siblings)
4 siblings, 0 replies; 15+ messages in thread
From: Wolfram Sang @ 2022-10-19 19:30 UTC (permalink / raw)
To: Arnd Bergmann
Cc: linux-arm-kernel, Aaro Koskinen, Janusz Krzysztofik,
Tony Lindgren, linux-kernel, Arnd Bergmann, linux-omap, Lee Jones,
Ulf Hansson, Felipe Balbi, Greg Kroah-Hartman, linux-i2c,
linux-mmc, linux-usb
[-- Attachment #1: Type: text/plain, Size: 561 bytes --]
On Wed, Oct 19, 2022 at 05:03:35PM +0200, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> 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 <aaro.koskinen@iki.fi>
> Cc: Janusz Krzysztofik <jmkrzyszt@gmail.com>
> Cc: Tony Lindgren <tony@atomide.com>
> Cc: linux-omap@vger.kernel.org
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Wolfram Sang <wsa@kernel.org>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 13/17] ARM: omap1: remove unused board files
2022-10-19 17:15 ` [PATCH 13/17] ARM: omap1: remove unused board files Aaro Koskinen
@ 2022-10-20 7:11 ` Arnd Bergmann
2022-10-20 19:35 ` Aaro Koskinen
0 siblings, 1 reply; 15+ messages in thread
From: Arnd Bergmann @ 2022-10-20 7:11 UTC (permalink / raw)
To: Aaro Koskinen, Arnd Bergmann
Cc: linux-arm-kernel, Janusz Krzysztofik, Tony Lindgren, linux-kernel,
Linux-OMAP, Lee Jones, Ulf Hansson, Felipe Balbi,
Greg Kroah-Hartman, linux-i2c, linux-mmc @ vger . kernel . org,
linux-usb
On Wed, Oct 19, 2022, at 19:15, Aaro Koskinen wrote:
> Hi,
>
> On Wed, Oct 19, 2022 at 05:03:35PM +0200, Arnd Bergmann wrote:
>> From: Arnd Bergmann <arnd@arndb.de>
>>
>> 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.
> [...]
>> config OMAP_OSK_MISTRAL
>> 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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 03/17] mmc: remove cns3xxx driver
2022-10-19 15:03 ` [PATCH 03/17] mmc: remove cns3xxx driver Arnd Bergmann
@ 2022-10-20 10:36 ` Ulf Hansson
0 siblings, 0 replies; 15+ messages in thread
From: Ulf Hansson @ 2022-10-20 10:36 UTC (permalink / raw)
To: Arnd Bergmann
Cc: linux-arm-kernel, Adrian Hunter, linux-kernel, Arnd Bergmann,
Krzysztof Halasa, linux-mmc
On Wed, 19 Oct 2022 at 17:06, Arnd Bergmann <arnd@kernel.org> wrote:
>
> From: Arnd Bergmann <arnd@arndb.de>
>
> The cns3xxx platform is gone, so this driver is now orphaned.
>
> Cc: Krzysztof Halasa <khalasa@piap.pl>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Kind regards
Uffe
> ---
> 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
>
> diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
> index f324daadaf70..1c5b1c48a230 100644
> --- a/drivers/mmc/host/Kconfig
> +++ b/drivers/mmc/host/Kconfig
> @@ -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
> diff --git a/drivers/mmc/host/Makefile b/drivers/mmc/host/Makefile
> index 4e4ceb32c4b4..7bea77c28b7e 100644
> --- a/drivers/mmc/host/Makefile
> +++ b/drivers/mmc/host/Makefile
> @@ -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
> diff --git a/drivers/mmc/host/sdhci-cns3xxx.c b/drivers/mmc/host/sdhci-cns3xxx.c
> deleted file mode 100644
> index 2a29c7a4f308..000000000000
> --- a/drivers/mmc/host/sdhci-cns3xxx.c
> +++ /dev/null
> @@ -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 <avorontsov@mvista.com>
> - */
> -
> -#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 <avorontsov@mvista.com>");
> -MODULE_LICENSE("GPL v2");
> --
> 2.29.2
>
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 13/17] ARM: omap1: remove unused board files
2022-10-20 7:11 ` Arnd Bergmann
@ 2022-10-20 19:35 ` Aaro Koskinen
2022-10-21 6:52 ` Arnd Bergmann
0 siblings, 1 reply; 15+ messages in thread
From: Aaro Koskinen @ 2022-10-20 19:35 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Arnd Bergmann, linux-arm-kernel, Janusz Krzysztofik,
Tony Lindgren, linux-kernel, Linux-OMAP, Lee Jones, Ulf Hansson,
Felipe Balbi, Greg Kroah-Hartman, linux-i2c,
linux-mmc @ vger . kernel . org, linux-usb
Hi,
On Thu, Oct 20, 2022 at 09:11:11AM +0200, Arnd Bergmann wrote:
> On Wed, Oct 19, 2022, at 19:15, Aaro Koskinen wrote:
> > On Wed, Oct 19, 2022 at 05:03:35PM +0200, Arnd Bergmann wrote:
> >> 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.
> > [...]
> >> config OMAP_OSK_MISTRAL
> >> 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.
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.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 13/17] ARM: omap1: remove unused board files
2022-10-20 19:35 ` Aaro Koskinen
@ 2022-10-21 6:52 ` Arnd Bergmann
2022-10-21 11:11 ` Aaro Koskinen
0 siblings, 1 reply; 15+ messages in thread
From: Arnd Bergmann @ 2022-10-21 6:52 UTC (permalink / raw)
To: Aaro Koskinen
Cc: Arnd Bergmann, linux-arm-kernel, Janusz Krzysztofik,
Tony Lindgren, linux-kernel, Linux-OMAP, Lee Jones, Ulf Hansson,
Felipe Balbi, Greg Kroah-Hartman, linux-i2c,
linux-mmc @ vger . kernel . org, linux-usb
On Thu, Oct 20, 2022, at 21:35, Aaro Koskinen wrote:
> On Thu, Oct 20, 2022 at 09:11:11AM +0200, Arnd Bergmann wrote:
>> On Wed, Oct 19, 2022, at 19:15, Aaro Koskinen wrote:
>> > On Wed, Oct 19, 2022 at 05:03:35PM +0200, Arnd Bergmann wrote:
>> >> 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.
>> > [...]
>> >> config OMAP_OSK_MISTRAL
>> >> 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.
>
> 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/20220721150320.GA9385@macbook.musicnaut.iki.fi/
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 13/17] ARM: omap1: remove unused board files
[not found] ` <20221019150410.3851944-13-arnd@kernel.org>
2022-10-19 17:15 ` [PATCH 13/17] ARM: omap1: remove unused board files Aaro Koskinen
2022-10-19 19:30 ` Wolfram Sang
@ 2022-10-21 9:50 ` Lee Jones
2022-10-22 10:24 ` Greg Kroah-Hartman
2022-10-24 5:45 ` Tony Lindgren
4 siblings, 0 replies; 15+ messages in thread
From: Lee Jones @ 2022-10-21 9:50 UTC (permalink / raw)
To: Arnd Bergmann
Cc: linux-arm-kernel, Aaro Koskinen, Janusz Krzysztofik,
Tony Lindgren, linux-kernel, Arnd Bergmann, linux-omap,
Ulf Hansson, Felipe Balbi, Greg Kroah-Hartman, linux-i2c,
linux-mmc, linux-usb
On Wed, 19 Oct 2022, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> 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 <aaro.koskinen@iki.fi>
> Cc: Janusz Krzysztofik <jmkrzyszt@gmail.com>
> Cc: Tony Lindgren <tony@atomide.com>
> Cc: linux-omap@vger.kernel.org
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
> 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 +-
Acked-by: Lee Jones <lee@kernel.org>
> 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
--
Lee Jones [李琼斯]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 13/17] ARM: omap1: remove unused board files
2022-10-21 6:52 ` Arnd Bergmann
@ 2022-10-21 11:11 ` Aaro Koskinen
2022-10-24 5:49 ` Tony Lindgren
0 siblings, 1 reply; 15+ messages in thread
From: Aaro Koskinen @ 2022-10-21 11:11 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Arnd Bergmann, linux-arm-kernel, Janusz Krzysztofik,
Tony Lindgren, linux-kernel, Linux-OMAP, Lee Jones, Ulf Hansson,
Felipe Balbi, Greg Kroah-Hartman, linux-i2c,
linux-mmc @ vger . kernel . org, linux-usb
Hi,
On Fri, Oct 21, 2022 at 08:52:10AM +0200, Arnd Bergmann wrote:
> On Thu, Oct 20, 2022, at 21:35, Aaro Koskinen wrote:
> > On Thu, Oct 20, 2022 at 09:11:11AM +0200, Arnd Bergmann wrote:
> >> On Wed, Oct 19, 2022, at 19:15, Aaro Koskinen wrote:
> >> > On Wed, Oct 19, 2022 at 05:03:35PM +0200, Arnd Bergmann wrote:
> >> >> 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.
> >> > [...]
> >> >> config OMAP_OSK_MISTRAL
> >> >> 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.
> >
> > 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.
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.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 13/17] ARM: omap1: remove unused board files
[not found] ` <20221019150410.3851944-13-arnd@kernel.org>
` (2 preceding siblings ...)
2022-10-21 9:50 ` Lee Jones
@ 2022-10-22 10:24 ` Greg Kroah-Hartman
2022-10-24 5:45 ` Tony Lindgren
4 siblings, 0 replies; 15+ messages in thread
From: Greg Kroah-Hartman @ 2022-10-22 10:24 UTC (permalink / raw)
To: Arnd Bergmann
Cc: linux-arm-kernel, Aaro Koskinen, Janusz Krzysztofik,
Tony Lindgren, linux-kernel, Arnd Bergmann, linux-omap, Lee Jones,
Ulf Hansson, Felipe Balbi, linux-i2c, linux-mmc, linux-usb
On Wed, Oct 19, 2022 at 05:03:35PM +0200, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> 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 <aaro.koskinen@iki.fi>
> Cc: Janusz Krzysztofik <jmkrzyszt@gmail.com>
> Cc: Tony Lindgren <tony@atomide.com>
> Cc: linux-omap@vger.kernel.org
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 13/17] ARM: omap1: remove unused board files
[not found] ` <20221019150410.3851944-13-arnd@kernel.org>
` (3 preceding siblings ...)
2022-10-22 10:24 ` Greg Kroah-Hartman
@ 2022-10-24 5:45 ` Tony Lindgren
4 siblings, 0 replies; 15+ messages in thread
From: Tony Lindgren @ 2022-10-24 5:45 UTC (permalink / raw)
To: Arnd Bergmann
Cc: linux-arm-kernel, Aaro Koskinen, Janusz Krzysztofik, linux-kernel,
Arnd Bergmann, linux-omap, Lee Jones, Ulf Hansson, Felipe Balbi,
Greg Kroah-Hartman, linux-i2c, linux-mmc, linux-usb
* Arnd Bergmann <arnd@kernel.org> [221019 15:08]:
> From: Arnd Bergmann <arnd@arndb.de>
>
> 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.
Acked-by: Tony Lindgren <tony@atomide.com>
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 13/17] ARM: omap1: remove unused board files
2022-10-21 11:11 ` Aaro Koskinen
@ 2022-10-24 5:49 ` Tony Lindgren
2022-10-24 16:02 ` Arnd Bergmann
0 siblings, 1 reply; 15+ messages in thread
From: Tony Lindgren @ 2022-10-24 5:49 UTC (permalink / raw)
To: Aaro Koskinen
Cc: Arnd Bergmann, Arnd Bergmann, linux-arm-kernel,
Janusz Krzysztofik, linux-kernel, Linux-OMAP, Lee Jones,
Ulf Hansson, Felipe Balbi, Greg Kroah-Hartman, linux-i2c,
linux-mmc @ vger . kernel . org, linux-usb
* Aaro Koskinen <aaro.koskinen@iki.fi> [221021 11:02]:
> 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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 13/17] ARM: omap1: remove unused board files
2022-10-24 5:49 ` Tony Lindgren
@ 2022-10-24 16:02 ` Arnd Bergmann
2022-10-25 8:08 ` Tony Lindgren
0 siblings, 1 reply; 15+ messages in thread
From: Arnd Bergmann @ 2022-10-24 16:02 UTC (permalink / raw)
To: Tony Lindgren, Aaro Koskinen
Cc: Arnd Bergmann, linux-arm-kernel, Janusz Krzysztofik, linux-kernel,
Linux-OMAP, Lee Jones, Ulf Hansson, Felipe Balbi,
Greg Kroah-Hartman, linux-i2c, linux-mmc @ vger . kernel . org,
linux-usb
On Mon, Oct 24, 2022, at 07:49, Tony Lindgren wrote:
> * Aaro Koskinen <aaro.koskinen@iki.fi> [221021 11:02]:
>> 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.
> 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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 13/17] ARM: omap1: remove unused board files
2022-10-24 16:02 ` Arnd Bergmann
@ 2022-10-25 8:08 ` Tony Lindgren
0 siblings, 0 replies; 15+ messages in thread
From: Tony Lindgren @ 2022-10-25 8:08 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Aaro Koskinen, Arnd Bergmann, linux-arm-kernel,
Janusz Krzysztofik, linux-kernel, Linux-OMAP, Lee Jones,
Ulf Hansson, Felipe Balbi, Greg Kroah-Hartman, linux-i2c,
linux-mmc @ vger . kernel . org, linux-usb
* Arnd Bergmann <arnd@arndb.de> [221024 15:53]:
> On Mon, Oct 24, 2022, at 07:49, Tony Lindgren wrote:
> > * Aaro Koskinen <aaro.koskinen@iki.fi> [221021 11:02]:
> >> 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.
>
> > 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
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2022-10-25 8:08 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-19 14:40 [PATCH 00/17] ARM: remove old board files Arnd Bergmann
[not found] ` <20221019150410.3851944-1-arnd@kernel.org>
2022-10-19 15:03 ` [PATCH 03/17] mmc: remove cns3xxx driver Arnd Bergmann
2022-10-20 10:36 ` Ulf Hansson
[not found] ` <20221019150410.3851944-13-arnd@kernel.org>
2022-10-19 17:15 ` [PATCH 13/17] ARM: omap1: remove unused board files Aaro Koskinen
2022-10-20 7:11 ` Arnd Bergmann
2022-10-20 19:35 ` Aaro Koskinen
2022-10-21 6:52 ` Arnd Bergmann
2022-10-21 11:11 ` Aaro Koskinen
2022-10-24 5:49 ` Tony Lindgren
2022-10-24 16:02 ` Arnd Bergmann
2022-10-25 8:08 ` Tony Lindgren
2022-10-19 19:30 ` Wolfram Sang
2022-10-21 9:50 ` Lee Jones
2022-10-22 10:24 ` Greg Kroah-Hartman
2022-10-24 5:45 ` Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).