* [PATCH 00/21] ARM: s3c: clean out obsolete platforms
@ 2022-10-21 20:22 Arnd Bergmann
2022-10-21 20:27 ` [PATCH 21/21] ASoC: samsung: remove unused drivers Arnd Bergmann
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Arnd Bergmann @ 2022-10-21 20:22 UTC (permalink / raw)
To: linux-arm-kernel, Krzysztof Kozlowski
Cc: linux-fbdev, linux-doc, linux-iio, alsa-devel, dri-devel,
linux-ide, linux-mtd, linux-i2c, linux-clk, linux-leds, linux-rtc,
linux-samsung-soc, linux-pwm, linux-stm32, linux-serial,
linux-input, linux-media, devicetree, linux-watchdog,
Arnd Bergmann, linux-pm, linux-gpio, Ben Dooks, Simtec Linux Team,
linux-hwmon, patches, linux-usb, linux-mmc, linux-kernel,
linux-spi, dmaengine
From: Arnd Bergmann <arnd@arndb.de>
The s3c24xx platform was marked as deprecated a while ago,
and for the s3c64xx platform, we marked all except one legacy
board file as unused.
This series removes all of those, leaving only s3c64xx support
for DT based boots as well as the cragg6410 board file.
About half of the s3c specific drivers were only used on
the now removed machines, so these drivers can be retired
as well. I can either merge the driver removal patches through
the soc tree along with the board file patches, or subsystem
maintainers can pick them up into their own trees, whichever
they prefer.
Arnd Bergmann (21):
ARM: s3c: remove all s3c24xx support
ARM: s3c: remove s3c24xx specific hacks
ARM: s3c: remove most s3c64xx board support
ARM: s3c: remove adc.c
ARM: s3c: simplify platform code
ARM: s3c: remove s3c6400 support
power: remove s3c adc battery driver
hwmon: remove s3c driver
pata: remove samsung_cf driver
mmc: remove s3cmci driver
clk: remove s3c24xx driver
leds: remove s3c24xx driver
usb: gadget: remove s3c24xx drivers
dmaengine: remove s3c24xx driver
cpufreq: remove s3c24xx drivers
fbdev: remove s3c2410 framebuffer
input: remove s3c24xx touchscreen driver
pinctrl: remove s3c24xx driver
spi: remove s3c24xx driver
soc: s3c: remove pm-debug hack
ASoC: samsung: remove unused drivers
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Simtec Linux Team <linux@simtec.co.uk>
Bcc: Alim Akhtar <alim.akhtar@samsung.com>
Bcc: Rob Herring <robh+dt@kernel.org>
Bcc: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Bcc: Sergey Shtylyov <s.shtylyov@omp.ru>
Bcc: Sylwester Nawrocki <s.nawrocki@samsung.com>
Bcc: Tomasz Figa <tomasz.figa@gmail.com>
Bcc: Chanwoo Choi <cw00.choi@samsung.com>
Bcc: Michael Turquette <mturquette@baylibre.com>
Bcc: Stephen Boyd <sboyd@kernel.org>
Bcc: Daniel Lezcano <daniel.lezcano@linaro.org>
Bcc: Thomas Gleixner <tglx@linutronix.de>
Bcc: "Rafael J. Wysocki" <rafael@kernel.org>
Bcc: Viresh Kumar <viresh.kumar@linaro.org>
Bcc: Vinod Koul <vkoul@kernel.org>
Bcc: Jean Delvare <jdelvare@suse.com>
Bcc: Guenter Roeck <linux@roeck-us.net>
Bcc: Jonathan Cameron <jic23@kernel.org>
Bcc: Lars-Peter Clausen <lars@metafoo.de>
Bcc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Bcc: Pavel Machek <pavel@ucw.cz>
Bcc: Mauro Carvalho Chehab <mchehab@kernel.org>
Bcc: Ulf Hansson <ulf.hansson@linaro.org>
Bcc: Miquel Raynal <miquel.raynal@bootlin.com>
Bcc: Richard Weinberger <richard@nod.at>
Bcc: Vignesh Raghavendra <vigneshr@ti.com>
Bcc: Linus Walleij <linus.walleij@linaro.org>
Bcc: Sebastian Reichel <sre@kernel.org>
Bcc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Bcc: Mark Brown <broonie@kernel.org>
Bcc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Bcc: Jiri Slaby <jirislaby@kernel.org>
Bcc: Felipe Balbi <balbi@kernel.org>
Bcc: Helge Deller <deller@gmx.de>
Bcc: Wim Van Sebroeck <wim@linux-watchdog.org>
Bcc: Liam Girdwood <lgirdwood@gmail.com>
Bcc: Thierry Reding <thierry.reding@gmail.com>
Bcc: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Cc: linux-doc@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-samsung-soc@vger.kernel.org
Cc: devicetree@vger.kernel.org
Cc: patches@opensource.cirrus.com
Cc: linux-stm32@st-md-mailman.stormreply.com
Cc: linux-ide@vger.kernel.org
Cc: linux-clk@vger.kernel.org
Cc: linux-pm@vger.kernel.org
Cc: dmaengine@vger.kernel.org
Cc: linux-hwmon@vger.kernel.org
Cc: linux-i2c@vger.kernel.org
Cc: linux-iio@vger.kernel.org
Cc: linux-input@vger.kernel.org
Cc: linux-leds@vger.kernel.org
Cc: linux-media@vger.kernel.org
Cc: linux-mmc@vger.kernel.org
Cc: linux-mtd@lists.infradead.org
Cc: linux-gpio@vger.kernel.org
Cc: linux-rtc@vger.kernel.org
Cc: linux-spi@vger.kernel.org
Cc: linux-serial@vger.kernel.org
Cc: linux-usb@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
Cc: linux-pwm@vger.kernel.org
Documentation/arm/index.rst | 1 -
Documentation/arm/samsung-s3c24xx/cpufreq.rst | 77 -
.../arm/samsung-s3c24xx/eb2410itx.rst | 59 -
Documentation/arm/samsung-s3c24xx/gpio.rst | 172 --
Documentation/arm/samsung-s3c24xx/h1940.rst | 41 -
Documentation/arm/samsung-s3c24xx/index.rst | 20 -
Documentation/arm/samsung-s3c24xx/nand.rst | 30 -
.../arm/samsung-s3c24xx/overview.rst | 311 ---
Documentation/arm/samsung-s3c24xx/s3c2412.rst | 121 -
Documentation/arm/samsung-s3c24xx/s3c2413.rst | 22 -
.../arm/samsung-s3c24xx/smdk2440.rst | 57 -
Documentation/arm/samsung-s3c24xx/suspend.rst | 137 --
.../arm/samsung-s3c24xx/usb-host.rst | 91 -
Documentation/arm/samsung/overview.rst | 13 -
MAINTAINERS | 31 -
arch/arm/Kconfig | 3 +-
arch/arm/Kconfig.debug | 58 +-
arch/arm/Makefile | 2 -
arch/arm/boot/dts/Makefile | 2 -
arch/arm/boot/dts/s3c2410-pinctrl.h | 19 -
arch/arm/boot/dts/s3c2416-pinctrl.dtsi | 172 --
arch/arm/boot/dts/s3c2416-smdk2416.dts | 77 -
arch/arm/boot/dts/s3c2416.dtsi | 124 --
arch/arm/boot/dts/s3c24xx.dtsi | 92 -
arch/arm/configs/mini2440_defconfig | 338 ---
arch/arm/configs/s3c2410_defconfig | 437 ----
arch/arm/configs/tct_hammer_defconfig | 58 -
arch/arm/include/debug/s3c24xx.S | 10 -
arch/arm/mach-s3c/Kconfig | 92 +-
arch/arm/mach-s3c/Kconfig.s3c24xx | 604 -----
arch/arm/mach-s3c/Kconfig.s3c64xx | 212 --
arch/arm/mach-s3c/Makefile | 12 -
arch/arm/mach-s3c/Makefile.s3c24xx | 102 -
arch/arm/mach-s3c/Makefile.s3c64xx | 15 -
arch/arm/mach-s3c/adc-core.h | 24 -
arch/arm/mach-s3c/adc.c | 510 -----
arch/arm/mach-s3c/anubis.h | 50 -
arch/arm/mach-s3c/ata-core-s3c64xx.h | 24 -
arch/arm/mach-s3c/backlight-s3c64xx.h | 22 -
arch/arm/mach-s3c/bast-ide.c | 82 -
arch/arm/mach-s3c/bast-irq.c | 137 --
arch/arm/mach-s3c/bast.h | 194 --
arch/arm/mach-s3c/common-smdk-s3c24xx.c | 228 --
arch/arm/mach-s3c/common-smdk-s3c24xx.h | 11 -
arch/arm/mach-s3c/cpu.h | 47 -
arch/arm/mach-s3c/cpufreq-utils-s3c24xx.c | 94 -
arch/arm/mach-s3c/dev-audio-s3c64xx.c | 127 --
arch/arm/mach-s3c/dev-backlight-s3c64xx.c | 137 --
arch/arm/mach-s3c/devs.c | 726 ------
arch/arm/mach-s3c/devs.h | 37 -
arch/arm/mach-s3c/dma-s3c24xx.h | 51 -
arch/arm/mach-s3c/dma-s3c64xx.h | 57 -
arch/arm/mach-s3c/dma.h | 9 -
arch/arm/mach-s3c/fb-core-s3c24xx.h | 24 -
arch/arm/mach-s3c/gpio-cfg-helpers.h | 124 --
arch/arm/mach-s3c/gpio-cfg.h | 19 -
arch/arm/mach-s3c/gpio-core.h | 3 -
arch/arm/mach-s3c/gpio-samsung-s3c24xx.h | 103 -
arch/arm/mach-s3c/gpio-samsung.c | 443 +---
arch/arm/mach-s3c/gpio-samsung.h | 7 -
arch/arm/mach-s3c/gta02.h | 20 -
arch/arm/mach-s3c/h1940-bluetooth.c | 140 --
arch/arm/mach-s3c/h1940.h | 52 -
arch/arm/mach-s3c/hardware-s3c24xx.h | 14 -
arch/arm/mach-s3c/iic-core.h | 7 -
arch/arm/mach-s3c/init.c | 26 +-
arch/arm/mach-s3c/iotiming-s3c2410.c | 472 ----
arch/arm/mach-s3c/iotiming-s3c2412.c | 278 ---
arch/arm/mach-s3c/irq-pm-s3c24xx.c | 115 -
arch/arm/mach-s3c/irq-s3c24xx-fiq-exports.c | 9 -
arch/arm/mach-s3c/irq-s3c24xx-fiq.S | 112 -
arch/arm/mach-s3c/irq-s3c24xx.c | 1352 -----------
arch/arm/mach-s3c/irqs-s3c24xx.h | 219 --
arch/arm/mach-s3c/irqs.h | 7 -
arch/arm/mach-s3c/mach-amlm5900.c | 248 ---
arch/arm/mach-s3c/mach-anubis.c | 422 ----
arch/arm/mach-s3c/mach-anw6410.c | 230 --
arch/arm/mach-s3c/mach-at2440evb.c | 233 --
arch/arm/mach-s3c/mach-bast.c | 583 -----
arch/arm/mach-s3c/mach-crag6410.c | 1 -
arch/arm/mach-s3c/mach-gta02.c | 588 -----
arch/arm/mach-s3c/mach-h1940.c | 809 -------
arch/arm/mach-s3c/mach-hmt.c | 282 ---
arch/arm/mach-s3c/mach-jive.c | 693 ------
arch/arm/mach-s3c/mach-mini2440.c | 804 -------
arch/arm/mach-s3c/mach-mini6410.c | 365 ---
arch/arm/mach-s3c/mach-n30.c | 682 ------
arch/arm/mach-s3c/mach-ncp.c | 100 -
arch/arm/mach-s3c/mach-nexcoder.c | 162 --
arch/arm/mach-s3c/mach-osiris-dvs.c | 178 --
arch/arm/mach-s3c/mach-osiris.c | 405 ----
arch/arm/mach-s3c/mach-otom.c | 124 --
arch/arm/mach-s3c/mach-qt2410.c | 375 ----
arch/arm/mach-s3c/mach-real6410.c | 333 ---
arch/arm/mach-s3c/mach-rx1950.c | 884 --------
arch/arm/mach-s3c/mach-rx3715.c | 213 --
arch/arm/mach-s3c/mach-s3c2416-dt.c | 48 -
arch/arm/mach-s3c/mach-smartq.c | 424 ----
arch/arm/mach-s3c/mach-smartq.h | 16 -
arch/arm/mach-s3c/mach-smartq5.c | 154 --
arch/arm/mach-s3c/mach-smartq7.c | 170 --
arch/arm/mach-s3c/mach-smdk2410.c | 112 -
arch/arm/mach-s3c/mach-smdk2413.c | 169 --
arch/arm/mach-s3c/mach-smdk2416.c | 248 ---
arch/arm/mach-s3c/mach-smdk2440.c | 180 --
arch/arm/mach-s3c/mach-smdk2443.c | 126 --
arch/arm/mach-s3c/mach-smdk6400.c | 90 -
arch/arm/mach-s3c/mach-smdk6410.c | 706 ------
arch/arm/mach-s3c/mach-tct_hammer.c | 157 --
arch/arm/mach-s3c/mach-vr1000.c | 364 ---
arch/arm/mach-s3c/mach-vstms.c | 166 --
arch/arm/mach-s3c/map-s3c.h | 37 -
arch/arm/mach-s3c/map-s3c24xx.h | 159 --
arch/arm/mach-s3c/map.h | 7 -
arch/arm/mach-s3c/nand-core-s3c24xx.h | 24 -
arch/arm/mach-s3c/onenand-core-s3c64xx.h | 32 -
arch/arm/mach-s3c/osiris.h | 50 -
arch/arm/mach-s3c/otom.h | 25 -
arch/arm/mach-s3c/pll-s3c2410.c | 83 -
arch/arm/mach-s3c/pll-s3c2440-12000000.c | 95 -
arch/arm/mach-s3c/pll-s3c2440-16934400.c | 122 -
arch/arm/mach-s3c/pm-core-s3c24xx.h | 96 -
arch/arm/mach-s3c/pm-core-s3c64xx.h | 17 -
arch/arm/mach-s3c/pm-core.h | 7 -
arch/arm/mach-s3c/pm-h1940.S | 19 -
arch/arm/mach-s3c/pm-s3c2410.c | 170 --
arch/arm/mach-s3c/pm-s3c2412.c | 126 --
arch/arm/mach-s3c/pm-s3c2416.c | 81 -
arch/arm/mach-s3c/pm-s3c24xx.c | 121 -
arch/arm/mach-s3c/pm-s3c64xx.c | 83 -
arch/arm/mach-s3c/pm.c | 7 +-
arch/arm/mach-s3c/pm.h | 12 -
arch/arm/mach-s3c/regs-adc.h | 64 -
arch/arm/mach-s3c/regs-clock-s3c24xx.h | 146 --
arch/arm/mach-s3c/regs-clock.h | 7 -
arch/arm/mach-s3c/regs-dsc-s3c24xx.h | 22 -
arch/arm/mach-s3c/regs-gpio-s3c24xx.h | 608 -----
arch/arm/mach-s3c/regs-gpio.h | 7 -
arch/arm/mach-s3c/regs-irq-s3c24xx.h | 51 -
arch/arm/mach-s3c/regs-irq.h | 7 -
arch/arm/mach-s3c/regs-mem-s3c24xx.h | 53 -
arch/arm/mach-s3c/regs-s3c2443-clock.h | 238 --
arch/arm/mach-s3c/regs-srom-s3c64xx.h | 55 -
arch/arm/mach-s3c/rtc-core-s3c24xx.h | 23 -
arch/arm/mach-s3c/s3c2410.c | 130 --
arch/arm/mach-s3c/s3c2412-power.h | 34 -
arch/arm/mach-s3c/s3c2412.c | 175 --
arch/arm/mach-s3c/s3c2412.h | 25 -
arch/arm/mach-s3c/s3c2416.c | 132 --
arch/arm/mach-s3c/s3c2440.c | 71 -
arch/arm/mach-s3c/s3c2442.c | 62 -
arch/arm/mach-s3c/s3c2443.c | 112 -
arch/arm/mach-s3c/s3c244x.c | 128 --
arch/arm/mach-s3c/s3c24xx.c | 687 ------
arch/arm/mach-s3c/s3c24xx.h | 124 --
arch/arm/mach-s3c/s3c6400.c | 90 -
arch/arm/mach-s3c/s3c6410.c | 9 -
arch/arm/mach-s3c/s3c64xx.c | 8 -
arch/arm/mach-s3c/sdhci.h | 25 -
arch/arm/mach-s3c/setup-i2c-s3c24xx.c | 23 -
arch/arm/mach-s3c/setup-ide-s3c64xx.c | 40 -
arch/arm/mach-s3c/setup-sdhci-gpio-s3c24xx.c | 31 -
arch/arm/mach-s3c/setup-spi-s3c24xx.c | 27 -
arch/arm/mach-s3c/setup-ts-s3c24xx.c | 29 -
arch/arm/mach-s3c/simtec-audio.c | 76 -
arch/arm/mach-s3c/simtec-nor.c | 74 -
arch/arm/mach-s3c/simtec-pm.c | 60 -
arch/arm/mach-s3c/simtec-usb.c | 125 --
arch/arm/mach-s3c/simtec.h | 17 -
arch/arm/mach-s3c/sleep-s3c2410.S | 54 -
arch/arm/mach-s3c/sleep-s3c2412.S | 53 -
arch/arm/mach-s3c/sleep-s3c24xx.S | 69 -
arch/arm/mach-s3c/sleep-s3c64xx.S | 27 -
arch/arm/mach-s3c/spi-core-s3c24xx.h | 21 -
arch/arm/mach-s3c/vr1000.h | 113 -
drivers/ata/Kconfig | 10 -
drivers/ata/Makefile | 1 -
drivers/ata/pata_samsung_cf.c | 662 ------
drivers/clk/samsung/Kconfig | 32 -
drivers/clk/samsung/Makefile | 4 -
drivers/clk/samsung/clk-s3c2410-dclk.c | 440 ----
drivers/clk/samsung/clk-s3c2410.c | 446 ----
drivers/clk/samsung/clk-s3c2412.c | 254 ---
drivers/clk/samsung/clk-s3c2443.c | 438 ----
drivers/clocksource/Kconfig | 2 +-
drivers/cpufreq/Kconfig.arm | 78 -
drivers/cpufreq/Makefile | 6 -
drivers/cpufreq/s3c2410-cpufreq.c | 155 --
drivers/cpufreq/s3c2412-cpufreq.c | 240 --
drivers/cpufreq/s3c2416-cpufreq.c | 492 ----
drivers/cpufreq/s3c2440-cpufreq.c | 321 ---
drivers/cpufreq/s3c24xx-cpufreq-debugfs.c | 163 --
drivers/cpufreq/s3c24xx-cpufreq.c | 648 ------
drivers/dma/Kconfig | 12 -
drivers/dma/Makefile | 1 -
drivers/dma/s3c24xx-dma.c | 1428 ------------
drivers/hwmon/Kconfig | 17 -
drivers/hwmon/Makefile | 1 -
drivers/hwmon/s3c-hwmon.c | 379 ----
drivers/i2c/busses/Kconfig | 3 +-
drivers/i2c/busses/i2c-s3c2410.c | 72 -
drivers/iio/adc/Kconfig | 6 +-
drivers/input/touchscreen/Kconfig | 12 -
drivers/input/touchscreen/Makefile | 1 -
drivers/input/touchscreen/s3c2410_ts.c | 464 ----
drivers/leds/Kconfig | 8 -
drivers/leds/Makefile | 1 -
drivers/leds/leds-s3c24xx.c | 83 -
.../media/platform/samsung/s3c-camif/Kconfig | 8 +-
drivers/mmc/host/Kconfig | 48 +-
drivers/mmc/host/Makefile | 1 -
drivers/mmc/host/s3cmci.c | 1777 ---------------
drivers/mmc/host/s3cmci.h | 75 -
drivers/mtd/nand/raw/Kconfig | 2 +-
drivers/mtd/nand/raw/s3c2410.c | 60 -
drivers/pinctrl/samsung/Kconfig | 5 -
drivers/pinctrl/samsung/Makefile | 1 -
drivers/pinctrl/samsung/pinctrl-s3c24xx.c | 653 ------
drivers/pinctrl/samsung/pinctrl-samsung.c | 10 -
drivers/power/supply/Kconfig | 6 -
drivers/power/supply/Makefile | 1 -
drivers/power/supply/s3c_adc_battery.c | 453 ----
drivers/rtc/Kconfig | 8 +-
drivers/soc/samsung/Kconfig | 26 +-
drivers/soc/samsung/Makefile | 1 -
drivers/soc/samsung/s3c-pm-debug.c | 79 -
drivers/spi/Kconfig | 18 -
drivers/spi/Makefile | 2 -
drivers/spi/spi-s3c24xx-regs.h | 41 -
drivers/spi/spi-s3c24xx.c | 596 -----
drivers/tty/serial/Kconfig | 8 +-
drivers/tty/serial/samsung_tty.c | 199 --
drivers/usb/gadget/udc/Kconfig | 25 -
drivers/usb/gadget/udc/Makefile | 2 -
drivers/usb/gadget/udc/s3c-hsudc.c | 1319 -----------
drivers/usb/gadget/udc/s3c2410_udc.c | 1980 -----------------
drivers/usb/gadget/udc/s3c2410_udc.h | 99 -
drivers/usb/gadget/udc/s3c2410_udc_regs.h | 146 --
drivers/usb/host/Kconfig | 8 +-
drivers/video/fbdev/Kconfig | 33 +-
drivers/video/fbdev/Makefile | 1 -
drivers/video/fbdev/s3c2410fb-regs-lcd.h | 143 --
drivers/video/fbdev/s3c2410fb.c | 1142 ----------
drivers/video/fbdev/s3c2410fb.h | 48 -
drivers/watchdog/Kconfig | 9 +-
drivers/watchdog/s3c2410_wdt.c | 84 +-
include/dt-bindings/clock/s3c2410.h | 59 -
include/dt-bindings/clock/s3c2412.h | 70 -
include/dt-bindings/clock/s3c2443.h | 91 -
include/linux/amba/pl093.h | 77 -
include/linux/clk/samsung.h | 32 -
.../linux/platform_data/asoc-s3c24xx_simtec.h | 30 -
include/linux/platform_data/ata-samsung_cf.h | 31 -
include/linux/platform_data/clk-s3c2410.h | 19 -
include/linux/platform_data/dma-s3c24xx.h | 48 -
include/linux/platform_data/fb-s3c2410.h | 99 -
include/linux/platform_data/leds-s3c24xx.h | 18 -
include/linux/platform_data/media/s5p_hdmi.h | 32 -
include/linux/platform_data/mmc-s3cmci.h | 51 -
include/linux/platform_data/s3c-hsudc.h | 33 -
include/linux/platform_data/usb-s3c2410_udc.h | 33 -
include/linux/s3c_adc_battery.h | 39 -
include/linux/soc/samsung/s3c-adc.h | 32 -
include/linux/soc/samsung/s3c-cpufreq-core.h | 299 ---
include/linux/soc/samsung/s3c-pm.h | 58 -
include/linux/spi/s3c24xx-fiq.h | 33 -
include/linux/spi/s3c24xx.h | 20 -
include/sound/s3c24xx_uda134x.h | 14 -
sound/soc/samsung/Kconfig | 93 -
sound/soc/samsung/Makefile | 26 -
sound/soc/samsung/h1940_uda1380.c | 224 --
sound/soc/samsung/jive_wm8750.c | 143 --
sound/soc/samsung/neo1973_wm8753.c | 360 ---
sound/soc/samsung/regs-i2s-v2.h | 111 -
sound/soc/samsung/regs-iis.h | 66 -
sound/soc/samsung/rx1950_uda1380.c | 245 --
sound/soc/samsung/s3c-i2s-v2.c | 670 ------
sound/soc/samsung/s3c-i2s-v2.h | 108 -
sound/soc/samsung/s3c2412-i2s.c | 251 ---
sound/soc/samsung/s3c2412-i2s.h | 22 -
sound/soc/samsung/s3c24xx-i2s.c | 463 ----
sound/soc/samsung/s3c24xx-i2s.h | 31 -
sound/soc/samsung/s3c24xx_simtec.c | 372 ----
sound/soc/samsung/s3c24xx_simtec.h | 18 -
sound/soc/samsung/s3c24xx_simtec_hermes.c | 112 -
.../soc/samsung/s3c24xx_simtec_tlv320aic23.c | 100 -
sound/soc/samsung/s3c24xx_uda134x.c | 257 ---
sound/soc/samsung/smartq_wm8987.c | 224 --
sound/soc/samsung/smdk_wm8580.c | 211 --
289 files changed, 48 insertions(+), 48148 deletions(-)
delete mode 100644 Documentation/arm/samsung-s3c24xx/cpufreq.rst
delete mode 100644 Documentation/arm/samsung-s3c24xx/eb2410itx.rst
delete mode 100644 Documentation/arm/samsung-s3c24xx/gpio.rst
delete mode 100644 Documentation/arm/samsung-s3c24xx/h1940.rst
delete mode 100644 Documentation/arm/samsung-s3c24xx/index.rst
delete mode 100644 Documentation/arm/samsung-s3c24xx/nand.rst
delete mode 100644 Documentation/arm/samsung-s3c24xx/overview.rst
delete mode 100644 Documentation/arm/samsung-s3c24xx/s3c2412.rst
delete mode 100644 Documentation/arm/samsung-s3c24xx/s3c2413.rst
delete mode 100644 Documentation/arm/samsung-s3c24xx/smdk2440.rst
delete mode 100644 Documentation/arm/samsung-s3c24xx/suspend.rst
delete mode 100644 Documentation/arm/samsung-s3c24xx/usb-host.rst
delete mode 100644 arch/arm/boot/dts/s3c2410-pinctrl.h
delete mode 100644 arch/arm/boot/dts/s3c2416-pinctrl.dtsi
delete mode 100644 arch/arm/boot/dts/s3c2416-smdk2416.dts
delete mode 100644 arch/arm/boot/dts/s3c2416.dtsi
delete mode 100644 arch/arm/boot/dts/s3c24xx.dtsi
delete mode 100644 arch/arm/configs/mini2440_defconfig
delete mode 100644 arch/arm/configs/s3c2410_defconfig
delete mode 100644 arch/arm/configs/tct_hammer_defconfig
delete mode 100644 arch/arm/mach-s3c/Kconfig.s3c24xx
delete mode 100644 arch/arm/mach-s3c/Makefile.s3c24xx
delete mode 100644 arch/arm/mach-s3c/adc-core.h
delete mode 100644 arch/arm/mach-s3c/adc.c
delete mode 100644 arch/arm/mach-s3c/anubis.h
delete mode 100644 arch/arm/mach-s3c/ata-core-s3c64xx.h
delete mode 100644 arch/arm/mach-s3c/backlight-s3c64xx.h
delete mode 100644 arch/arm/mach-s3c/bast-ide.c
delete mode 100644 arch/arm/mach-s3c/bast-irq.c
delete mode 100644 arch/arm/mach-s3c/bast.h
delete mode 100644 arch/arm/mach-s3c/common-smdk-s3c24xx.c
delete mode 100644 arch/arm/mach-s3c/common-smdk-s3c24xx.h
delete mode 100644 arch/arm/mach-s3c/cpufreq-utils-s3c24xx.c
delete mode 100644 arch/arm/mach-s3c/dev-backlight-s3c64xx.c
delete mode 100644 arch/arm/mach-s3c/dma-s3c24xx.h
delete mode 100644 arch/arm/mach-s3c/dma-s3c64xx.h
delete mode 100644 arch/arm/mach-s3c/dma.h
delete mode 100644 arch/arm/mach-s3c/fb-core-s3c24xx.h
delete mode 100644 arch/arm/mach-s3c/gpio-samsung-s3c24xx.h
delete mode 100644 arch/arm/mach-s3c/gta02.h
delete mode 100644 arch/arm/mach-s3c/h1940-bluetooth.c
delete mode 100644 arch/arm/mach-s3c/h1940.h
delete mode 100644 arch/arm/mach-s3c/hardware-s3c24xx.h
delete mode 100644 arch/arm/mach-s3c/iotiming-s3c2410.c
delete mode 100644 arch/arm/mach-s3c/iotiming-s3c2412.c
delete mode 100644 arch/arm/mach-s3c/irq-pm-s3c24xx.c
delete mode 100644 arch/arm/mach-s3c/irq-s3c24xx-fiq-exports.c
delete mode 100644 arch/arm/mach-s3c/irq-s3c24xx-fiq.S
delete mode 100644 arch/arm/mach-s3c/irq-s3c24xx.c
delete mode 100644 arch/arm/mach-s3c/irqs-s3c24xx.h
delete mode 100644 arch/arm/mach-s3c/mach-amlm5900.c
delete mode 100644 arch/arm/mach-s3c/mach-anubis.c
delete mode 100644 arch/arm/mach-s3c/mach-anw6410.c
delete mode 100644 arch/arm/mach-s3c/mach-at2440evb.c
delete mode 100644 arch/arm/mach-s3c/mach-bast.c
delete mode 100644 arch/arm/mach-s3c/mach-gta02.c
delete mode 100644 arch/arm/mach-s3c/mach-h1940.c
delete mode 100644 arch/arm/mach-s3c/mach-hmt.c
delete mode 100644 arch/arm/mach-s3c/mach-jive.c
delete mode 100644 arch/arm/mach-s3c/mach-mini2440.c
delete mode 100644 arch/arm/mach-s3c/mach-mini6410.c
delete mode 100644 arch/arm/mach-s3c/mach-n30.c
delete mode 100644 arch/arm/mach-s3c/mach-ncp.c
delete mode 100644 arch/arm/mach-s3c/mach-nexcoder.c
delete mode 100644 arch/arm/mach-s3c/mach-osiris-dvs.c
delete mode 100644 arch/arm/mach-s3c/mach-osiris.c
delete mode 100644 arch/arm/mach-s3c/mach-otom.c
delete mode 100644 arch/arm/mach-s3c/mach-qt2410.c
delete mode 100644 arch/arm/mach-s3c/mach-real6410.c
delete mode 100644 arch/arm/mach-s3c/mach-rx1950.c
delete mode 100644 arch/arm/mach-s3c/mach-rx3715.c
delete mode 100644 arch/arm/mach-s3c/mach-s3c2416-dt.c
delete mode 100644 arch/arm/mach-s3c/mach-smartq.c
delete mode 100644 arch/arm/mach-s3c/mach-smartq.h
delete mode 100644 arch/arm/mach-s3c/mach-smartq5.c
delete mode 100644 arch/arm/mach-s3c/mach-smartq7.c
delete mode 100644 arch/arm/mach-s3c/mach-smdk2410.c
delete mode 100644 arch/arm/mach-s3c/mach-smdk2413.c
delete mode 100644 arch/arm/mach-s3c/mach-smdk2416.c
delete mode 100644 arch/arm/mach-s3c/mach-smdk2440.c
delete mode 100644 arch/arm/mach-s3c/mach-smdk2443.c
delete mode 100644 arch/arm/mach-s3c/mach-smdk6400.c
delete mode 100644 arch/arm/mach-s3c/mach-smdk6410.c
delete mode 100644 arch/arm/mach-s3c/mach-tct_hammer.c
delete mode 100644 arch/arm/mach-s3c/mach-vr1000.c
delete mode 100644 arch/arm/mach-s3c/mach-vstms.c
delete mode 100644 arch/arm/mach-s3c/map-s3c24xx.h
delete mode 100644 arch/arm/mach-s3c/nand-core-s3c24xx.h
delete mode 100644 arch/arm/mach-s3c/onenand-core-s3c64xx.h
delete mode 100644 arch/arm/mach-s3c/osiris.h
delete mode 100644 arch/arm/mach-s3c/otom.h
delete mode 100644 arch/arm/mach-s3c/pll-s3c2410.c
delete mode 100644 arch/arm/mach-s3c/pll-s3c2440-12000000.c
delete mode 100644 arch/arm/mach-s3c/pll-s3c2440-16934400.c
delete mode 100644 arch/arm/mach-s3c/pm-core-s3c24xx.h
delete mode 100644 arch/arm/mach-s3c/pm-h1940.S
delete mode 100644 arch/arm/mach-s3c/pm-s3c2410.c
delete mode 100644 arch/arm/mach-s3c/pm-s3c2412.c
delete mode 100644 arch/arm/mach-s3c/pm-s3c2416.c
delete mode 100644 arch/arm/mach-s3c/pm-s3c24xx.c
delete mode 100644 arch/arm/mach-s3c/regs-adc.h
delete mode 100644 arch/arm/mach-s3c/regs-clock-s3c24xx.h
delete mode 100644 arch/arm/mach-s3c/regs-dsc-s3c24xx.h
delete mode 100644 arch/arm/mach-s3c/regs-gpio-s3c24xx.h
delete mode 100644 arch/arm/mach-s3c/regs-irq-s3c24xx.h
delete mode 100644 arch/arm/mach-s3c/regs-mem-s3c24xx.h
delete mode 100644 arch/arm/mach-s3c/regs-s3c2443-clock.h
delete mode 100644 arch/arm/mach-s3c/regs-srom-s3c64xx.h
delete mode 100644 arch/arm/mach-s3c/rtc-core-s3c24xx.h
delete mode 100644 arch/arm/mach-s3c/s3c2410.c
delete mode 100644 arch/arm/mach-s3c/s3c2412-power.h
delete mode 100644 arch/arm/mach-s3c/s3c2412.c
delete mode 100644 arch/arm/mach-s3c/s3c2412.h
delete mode 100644 arch/arm/mach-s3c/s3c2416.c
delete mode 100644 arch/arm/mach-s3c/s3c2440.c
delete mode 100644 arch/arm/mach-s3c/s3c2442.c
delete mode 100644 arch/arm/mach-s3c/s3c2443.c
delete mode 100644 arch/arm/mach-s3c/s3c244x.c
delete mode 100644 arch/arm/mach-s3c/s3c24xx.c
delete mode 100644 arch/arm/mach-s3c/s3c24xx.h
delete mode 100644 arch/arm/mach-s3c/s3c6400.c
delete mode 100644 arch/arm/mach-s3c/setup-i2c-s3c24xx.c
delete mode 100644 arch/arm/mach-s3c/setup-ide-s3c64xx.c
delete mode 100644 arch/arm/mach-s3c/setup-sdhci-gpio-s3c24xx.c
delete mode 100644 arch/arm/mach-s3c/setup-spi-s3c24xx.c
delete mode 100644 arch/arm/mach-s3c/setup-ts-s3c24xx.c
delete mode 100644 arch/arm/mach-s3c/simtec-audio.c
delete mode 100644 arch/arm/mach-s3c/simtec-nor.c
delete mode 100644 arch/arm/mach-s3c/simtec-pm.c
delete mode 100644 arch/arm/mach-s3c/simtec-usb.c
delete mode 100644 arch/arm/mach-s3c/simtec.h
delete mode 100644 arch/arm/mach-s3c/sleep-s3c2410.S
delete mode 100644 arch/arm/mach-s3c/sleep-s3c2412.S
delete mode 100644 arch/arm/mach-s3c/sleep-s3c24xx.S
delete mode 100644 arch/arm/mach-s3c/spi-core-s3c24xx.h
delete mode 100644 arch/arm/mach-s3c/vr1000.h
delete mode 100644 drivers/ata/pata_samsung_cf.c
delete mode 100644 drivers/clk/samsung/clk-s3c2410-dclk.c
delete mode 100644 drivers/clk/samsung/clk-s3c2410.c
delete mode 100644 drivers/clk/samsung/clk-s3c2412.c
delete mode 100644 drivers/clk/samsung/clk-s3c2443.c
delete mode 100644 drivers/cpufreq/s3c2410-cpufreq.c
delete mode 100644 drivers/cpufreq/s3c2412-cpufreq.c
delete mode 100644 drivers/cpufreq/s3c2416-cpufreq.c
delete mode 100644 drivers/cpufreq/s3c2440-cpufreq.c
delete mode 100644 drivers/cpufreq/s3c24xx-cpufreq-debugfs.c
delete mode 100644 drivers/cpufreq/s3c24xx-cpufreq.c
delete mode 100644 drivers/dma/s3c24xx-dma.c
delete mode 100644 drivers/hwmon/s3c-hwmon.c
delete mode 100644 drivers/input/touchscreen/s3c2410_ts.c
delete mode 100644 drivers/leds/leds-s3c24xx.c
delete mode 100644 drivers/mmc/host/s3cmci.c
delete mode 100644 drivers/mmc/host/s3cmci.h
delete mode 100644 drivers/pinctrl/samsung/pinctrl-s3c24xx.c
delete mode 100644 drivers/power/supply/s3c_adc_battery.c
delete mode 100644 drivers/soc/samsung/s3c-pm-debug.c
delete mode 100644 drivers/spi/spi-s3c24xx-regs.h
delete mode 100644 drivers/spi/spi-s3c24xx.c
delete mode 100644 drivers/usb/gadget/udc/s3c-hsudc.c
delete mode 100644 drivers/usb/gadget/udc/s3c2410_udc.c
delete mode 100644 drivers/usb/gadget/udc/s3c2410_udc.h
delete mode 100644 drivers/usb/gadget/udc/s3c2410_udc_regs.h
delete mode 100644 drivers/video/fbdev/s3c2410fb-regs-lcd.h
delete mode 100644 drivers/video/fbdev/s3c2410fb.c
delete mode 100644 drivers/video/fbdev/s3c2410fb.h
delete mode 100644 include/dt-bindings/clock/s3c2410.h
delete mode 100644 include/dt-bindings/clock/s3c2412.h
delete mode 100644 include/dt-bindings/clock/s3c2443.h
delete mode 100644 include/linux/amba/pl093.h
delete mode 100644 include/linux/platform_data/asoc-s3c24xx_simtec.h
delete mode 100644 include/linux/platform_data/ata-samsung_cf.h
delete mode 100644 include/linux/platform_data/clk-s3c2410.h
delete mode 100644 include/linux/platform_data/dma-s3c24xx.h
delete mode 100644 include/linux/platform_data/fb-s3c2410.h
delete mode 100644 include/linux/platform_data/leds-s3c24xx.h
delete mode 100644 include/linux/platform_data/media/s5p_hdmi.h
delete mode 100644 include/linux/platform_data/mmc-s3cmci.h
delete mode 100644 include/linux/platform_data/s3c-hsudc.h
delete mode 100644 include/linux/platform_data/usb-s3c2410_udc.h
delete mode 100644 include/linux/s3c_adc_battery.h
delete mode 100644 include/linux/soc/samsung/s3c-adc.h
delete mode 100644 include/linux/soc/samsung/s3c-cpufreq-core.h
delete mode 100644 include/linux/spi/s3c24xx-fiq.h
delete mode 100644 include/linux/spi/s3c24xx.h
delete mode 100644 include/sound/s3c24xx_uda134x.h
delete mode 100644 sound/soc/samsung/h1940_uda1380.c
delete mode 100644 sound/soc/samsung/jive_wm8750.c
delete mode 100644 sound/soc/samsung/neo1973_wm8753.c
delete mode 100644 sound/soc/samsung/regs-i2s-v2.h
delete mode 100644 sound/soc/samsung/regs-iis.h
delete mode 100644 sound/soc/samsung/rx1950_uda1380.c
delete mode 100644 sound/soc/samsung/s3c-i2s-v2.c
delete mode 100644 sound/soc/samsung/s3c-i2s-v2.h
delete mode 100644 sound/soc/samsung/s3c2412-i2s.c
delete mode 100644 sound/soc/samsung/s3c2412-i2s.h
delete mode 100644 sound/soc/samsung/s3c24xx-i2s.c
delete mode 100644 sound/soc/samsung/s3c24xx-i2s.h
delete mode 100644 sound/soc/samsung/s3c24xx_simtec.c
delete mode 100644 sound/soc/samsung/s3c24xx_simtec.h
delete mode 100644 sound/soc/samsung/s3c24xx_simtec_hermes.c
delete mode 100644 sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c
delete mode 100644 sound/soc/samsung/s3c24xx_uda134x.c
delete mode 100644 sound/soc/samsung/smartq_wm8987.c
delete mode 100644 sound/soc/samsung/smdk_wm8580.c
--
2.29.2
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 21/21] ASoC: samsung: remove unused drivers
2022-10-21 20:22 [PATCH 00/21] ARM: s3c: clean out obsolete platforms Arnd Bergmann
@ 2022-10-21 20:27 ` Arnd Bergmann
2022-10-24 12:53 ` Krzysztof Kozlowski
2022-10-22 15:18 ` [PATCH 00/21] ARM: s3c: clean out obsolete platforms Krzysztof Kozlowski
2022-10-24 13:00 ` Rob Herring
2 siblings, 1 reply; 7+ messages in thread
From: Arnd Bergmann @ 2022-10-21 20:27 UTC (permalink / raw)
To: linux-arm-kernel, Krzysztof Kozlowski, Jaroslav Kysela,
Takashi Iwai, Sylwester Nawrocki, Liam Girdwood, Mark Brown
Cc: alsa-devel, linux-samsung-soc, Charles Keepax, Ben Dooks,
Arnd Bergmann, linux-kernel, Alim Akhtar, Simtec Linux Team
From: Arnd Bergmann <arnd@arndb.de>
The s3c24xx SoC platform was completely removed, as were most of the
s3c64xx based board files, leaving only the DT based machines as well
as the MACH_WLF_CRAGG_6410 machine. All other board specific ASoC
driver can can now be recycled.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
.../linux/platform_data/asoc-s3c24xx_simtec.h | 30 -
include/sound/s3c24xx_uda134x.h | 14 -
sound/soc/samsung/Kconfig | 93 ---
sound/soc/samsung/Makefile | 26 -
sound/soc/samsung/h1940_uda1380.c | 224 ------
sound/soc/samsung/jive_wm8750.c | 143 ----
sound/soc/samsung/neo1973_wm8753.c | 360 ----------
sound/soc/samsung/regs-i2s-v2.h | 111 ---
sound/soc/samsung/regs-iis.h | 66 --
sound/soc/samsung/rx1950_uda1380.c | 245 -------
sound/soc/samsung/s3c-i2s-v2.c | 670 ------------------
sound/soc/samsung/s3c-i2s-v2.h | 108 ---
sound/soc/samsung/s3c2412-i2s.c | 251 -------
sound/soc/samsung/s3c2412-i2s.h | 22 -
sound/soc/samsung/s3c24xx-i2s.c | 463 ------------
sound/soc/samsung/s3c24xx-i2s.h | 31 -
sound/soc/samsung/s3c24xx_simtec.c | 372 ----------
sound/soc/samsung/s3c24xx_simtec.h | 18 -
sound/soc/samsung/s3c24xx_simtec_hermes.c | 112 ---
.../soc/samsung/s3c24xx_simtec_tlv320aic23.c | 100 ---
sound/soc/samsung/s3c24xx_uda134x.c | 257 -------
sound/soc/samsung/smartq_wm8987.c | 224 ------
sound/soc/samsung/smdk_wm8580.c | 211 ------
23 files changed, 4151 deletions(-)
delete mode 100644 include/linux/platform_data/asoc-s3c24xx_simtec.h
delete mode 100644 include/sound/s3c24xx_uda134x.h
delete mode 100644 sound/soc/samsung/h1940_uda1380.c
delete mode 100644 sound/soc/samsung/jive_wm8750.c
delete mode 100644 sound/soc/samsung/neo1973_wm8753.c
delete mode 100644 sound/soc/samsung/regs-i2s-v2.h
delete mode 100644 sound/soc/samsung/regs-iis.h
delete mode 100644 sound/soc/samsung/rx1950_uda1380.c
delete mode 100644 sound/soc/samsung/s3c-i2s-v2.c
delete mode 100644 sound/soc/samsung/s3c-i2s-v2.h
delete mode 100644 sound/soc/samsung/s3c2412-i2s.c
delete mode 100644 sound/soc/samsung/s3c2412-i2s.h
delete mode 100644 sound/soc/samsung/s3c24xx-i2s.c
delete mode 100644 sound/soc/samsung/s3c24xx-i2s.h
delete mode 100644 sound/soc/samsung/s3c24xx_simtec.c
delete mode 100644 sound/soc/samsung/s3c24xx_simtec.h
delete mode 100644 sound/soc/samsung/s3c24xx_simtec_hermes.c
delete mode 100644 sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c
delete mode 100644 sound/soc/samsung/s3c24xx_uda134x.c
delete mode 100644 sound/soc/samsung/smartq_wm8987.c
delete mode 100644 sound/soc/samsung/smdk_wm8580.c
diff --git a/include/linux/platform_data/asoc-s3c24xx_simtec.h b/include/linux/platform_data/asoc-s3c24xx_simtec.h
deleted file mode 100644
index 1a7efc98d108..000000000000
diff --git a/include/sound/s3c24xx_uda134x.h b/include/sound/s3c24xx_uda134x.h
deleted file mode 100644
index 0232b80ff486..000000000000
diff --git a/sound/soc/samsung/Kconfig b/sound/soc/samsung/Kconfig
index 2a61e620cd3b..93c2b1b08d0a 100644
--- a/sound/soc/samsung/Kconfig
+++ b/sound/soc/samsung/Kconfig
@@ -11,16 +11,6 @@ menuconfig SND_SOC_SAMSUNG
if SND_SOC_SAMSUNG
-config SND_S3C24XX_I2S
- tristate
-
-config SND_S3C_I2SV2_SOC
- tristate
-
-config SND_S3C2412_SOC_I2S
- tristate
- select SND_S3C_I2SV2_SOC
-
config SND_SAMSUNG_PCM
tristate "Samsung PCM interface support"
@@ -31,35 +21,6 @@ config SND_SAMSUNG_SPDIF
config SND_SAMSUNG_I2S
tristate "Samsung I2S interface support"
-config SND_SOC_SAMSUNG_NEO1973_WM8753
- tristate "Audio support for Openmoko Neo1973 Smartphones (GTA02)"
- depends on MACH_NEO1973_GTA02 || COMPILE_TEST
- depends on SND_SOC_I2C_AND_SPI
- select SND_S3C24XX_I2S
- select SND_SOC_WM8753
- select SND_SOC_BT_SCO
- help
- Say Y here to enable audio support for the Openmoko Neo1973
- Smartphones.
-
-config SND_SOC_SAMSUNG_JIVE_WM8750
- tristate "SoC I2S Audio support for Jive"
- depends on MACH_JIVE && I2C || COMPILE_TEST && ARM
- depends on SND_SOC_I2C_AND_SPI
- select SND_SOC_WM8750
- select SND_S3C2412_SOC_I2S
- help
- Say Y if you want to add support for SoC audio on the Jive.
-
-config SND_SOC_SAMSUNG_SMDK_WM8580
- tristate "SoC I2S Audio support for WM8580 on SMDK"
- depends on MACH_SMDK6410 || COMPILE_TEST
- depends on I2C
- select SND_SOC_WM8580
- select SND_SAMSUNG_I2S
- help
- Say Y if you want to add support for SoC audio on the SMDKs.
-
config SND_SOC_SAMSUNG_SMDK_WM8994
tristate "SoC I2S Audio support for WM8994 on SMDK"
depends on I2C=y
@@ -69,60 +30,6 @@ config SND_SOC_SAMSUNG_SMDK_WM8994
help
Say Y if you want to add support for SoC audio on the SMDKs.
-config SND_SOC_SAMSUNG_S3C24XX_UDA134X
- tristate "SoC I2S Audio support UDA134X wired to a S3C24XX"
- depends on ARCH_S3C24XX || COMPILE_TEST
- select SND_S3C24XX_I2S
- select SND_SOC_L3
- select SND_SOC_UDA134X
-
-config SND_SOC_SAMSUNG_SIMTEC
- tristate
- help
- Internal node for common S3C24XX/Simtec support.
-
-config SND_SOC_SAMSUNG_SIMTEC_TLV320AIC23
- tristate "SoC I2S Audio support for TLV320AIC23 on Simtec boards"
- depends on ARCH_S3C24XX || COMPILE_TEST
- depends on I2C
- select SND_S3C24XX_I2S
- select SND_SOC_TLV320AIC23_I2C
- select SND_SOC_SAMSUNG_SIMTEC
-
-config SND_SOC_SAMSUNG_SIMTEC_HERMES
- tristate "SoC I2S Audio support for Simtec Hermes board"
- depends on ARCH_S3C24XX || COMPILE_TEST
- depends on I2C
- select SND_S3C24XX_I2S
- select SND_SOC_TLV320AIC3X
- select SND_SOC_SAMSUNG_SIMTEC
-
-config SND_SOC_SAMSUNG_H1940_UDA1380
- tristate "Audio support for the HP iPAQ H1940"
- depends on ARCH_H1940 || COMPILE_TEST
- depends on I2C
- select SND_S3C24XX_I2S
- select SND_SOC_UDA1380
- help
- This driver provides audio support for HP iPAQ h1940 PDA.
-
-config SND_SOC_SAMSUNG_RX1950_UDA1380
- tristate "Audio support for the HP iPAQ RX1950"
- depends on MACH_RX1950 || COMPILE_TEST
- depends on I2C
- select SND_S3C24XX_I2S
- select SND_SOC_UDA1380
- help
- This driver provides audio support for HP iPAQ RX1950 PDA.
-
-config SND_SOC_SMARTQ
- tristate "SoC I2S Audio support for SmartQ board"
- depends on MACH_SMARTQ || COMPILE_TEST
- depends on GPIOLIB || COMPILE_TEST
- depends on I2C
- select SND_SAMSUNG_I2S
- select SND_SOC_WM8750
-
config SND_SOC_SAMSUNG_SMDK_SPDIF
tristate "SoC S/PDIF Audio support for SMDK"
select SND_SAMSUNG_SPDIF
diff --git a/sound/soc/samsung/Makefile b/sound/soc/samsung/Makefile
index 398e843f388c..f5d327b90a4e 100644
--- a/sound/soc/samsung/Makefile
+++ b/sound/soc/samsung/Makefile
@@ -2,35 +2,19 @@
# S3c24XX Platform Support
snd-soc-s3c-dma-objs := dmaengine.o
snd-soc-idma-objs := idma.o
-snd-soc-s3c24xx-i2s-objs := s3c24xx-i2s.o
-snd-soc-s3c2412-i2s-objs := s3c2412-i2s.o
-snd-soc-s3c-i2s-v2-objs := s3c-i2s-v2.o
snd-soc-samsung-spdif-objs := spdif.o
snd-soc-pcm-objs := pcm.o
snd-soc-i2s-objs := i2s.o
obj-$(CONFIG_SND_SOC_SAMSUNG) += snd-soc-s3c-dma.o
-obj-$(CONFIG_SND_S3C24XX_I2S) += snd-soc-s3c24xx-i2s.o
-obj-$(CONFIG_SND_S3C2412_SOC_I2S) += snd-soc-s3c2412-i2s.o
-obj-$(CONFIG_SND_S3C_I2SV2_SOC) += snd-soc-s3c-i2s-v2.o
obj-$(CONFIG_SND_SAMSUNG_SPDIF) += snd-soc-samsung-spdif.o
obj-$(CONFIG_SND_SAMSUNG_PCM) += snd-soc-pcm.o
obj-$(CONFIG_SND_SAMSUNG_I2S) += snd-soc-i2s.o
obj-$(CONFIG_SND_SAMSUNG_I2S) += snd-soc-idma.o
# S3C24XX Machine Support
-snd-soc-jive-wm8750-objs := jive_wm8750.o
-snd-soc-neo1973-wm8753-objs := neo1973_wm8753.o
-snd-soc-s3c24xx-uda134x-objs := s3c24xx_uda134x.o
-snd-soc-s3c24xx-simtec-objs := s3c24xx_simtec.o
-snd-soc-s3c24xx-simtec-hermes-objs := s3c24xx_simtec_hermes.o
-snd-soc-s3c24xx-simtec-tlv320aic23-objs := s3c24xx_simtec_tlv320aic23.o
-snd-soc-h1940-uda1380-objs := h1940_uda1380.o
-snd-soc-rx1950-uda1380-objs := rx1950_uda1380.o
-snd-soc-smdk-wm8580-objs := smdk_wm8580.o
snd-soc-smdk-wm8994-objs := smdk_wm8994.o
snd-soc-snow-objs := snow.o
-snd-soc-s3c64xx-smartq-wm8987-objs := smartq_wm8987.o
snd-soc-smdk-spdif-objs := smdk_spdif.o
snd-soc-smdk-wm8994pcm-objs := smdk_wm8994pcm.o
snd-soc-speyside-objs := speyside.o
@@ -44,18 +28,8 @@ snd-soc-tm2-wm5110-objs := tm2_wm5110.o
snd-soc-aries-wm8994-objs := aries_wm8994.o
snd-soc-midas-wm1811-objs := midas_wm1811.o
-obj-$(CONFIG_SND_SOC_SAMSUNG_JIVE_WM8750) += snd-soc-jive-wm8750.o
-obj-$(CONFIG_SND_SOC_SAMSUNG_NEO1973_WM8753) += snd-soc-neo1973-wm8753.o
-obj-$(CONFIG_SND_SOC_SAMSUNG_S3C24XX_UDA134X) += snd-soc-s3c24xx-uda134x.o
-obj-$(CONFIG_SND_SOC_SAMSUNG_SIMTEC) += snd-soc-s3c24xx-simtec.o
-obj-$(CONFIG_SND_SOC_SAMSUNG_SIMTEC_HERMES) += snd-soc-s3c24xx-simtec-hermes.o
-obj-$(CONFIG_SND_SOC_SAMSUNG_SIMTEC_TLV320AIC23) += snd-soc-s3c24xx-simtec-tlv320aic23.o
-obj-$(CONFIG_SND_SOC_SAMSUNG_H1940_UDA1380) += snd-soc-h1940-uda1380.o
-obj-$(CONFIG_SND_SOC_SAMSUNG_RX1950_UDA1380) += snd-soc-rx1950-uda1380.o
-obj-$(CONFIG_SND_SOC_SAMSUNG_SMDK_WM8580) += snd-soc-smdk-wm8580.o
obj-$(CONFIG_SND_SOC_SAMSUNG_SMDK_WM8994) += snd-soc-smdk-wm8994.o
obj-$(CONFIG_SND_SOC_SNOW) += snd-soc-snow.o
-obj-$(CONFIG_SND_SOC_SMARTQ) += snd-soc-s3c64xx-smartq-wm8987.o
obj-$(CONFIG_SND_SOC_SAMSUNG_SMDK_SPDIF) += snd-soc-smdk-spdif.o
obj-$(CONFIG_SND_SOC_SMDK_WM8994_PCM) += snd-soc-smdk-wm8994pcm.o
obj-$(CONFIG_SND_SOC_SPEYSIDE) += snd-soc-speyside.o
diff --git a/sound/soc/samsung/h1940_uda1380.c b/sound/soc/samsung/h1940_uda1380.c
deleted file mode 100644
index fa45a54ab18f..000000000000
diff --git a/sound/soc/samsung/jive_wm8750.c b/sound/soc/samsung/jive_wm8750.c
deleted file mode 100644
index 40a85f539509..000000000000
diff --git a/sound/soc/samsung/neo1973_wm8753.c b/sound/soc/samsung/neo1973_wm8753.c
deleted file mode 100644
index e9f2334028bf..000000000000
diff --git a/sound/soc/samsung/regs-i2s-v2.h b/sound/soc/samsung/regs-i2s-v2.h
deleted file mode 100644
index 867984e75709..000000000000
diff --git a/sound/soc/samsung/regs-iis.h b/sound/soc/samsung/regs-iis.h
deleted file mode 100644
index 253e172ad3b6..000000000000
diff --git a/sound/soc/samsung/rx1950_uda1380.c b/sound/soc/samsung/rx1950_uda1380.c
deleted file mode 100644
index abf28321f7d7..000000000000
diff --git a/sound/soc/samsung/s3c-i2s-v2.c b/sound/soc/samsung/s3c-i2s-v2.c
deleted file mode 100644
index 2b221cb0ed03..000000000000
diff --git a/sound/soc/samsung/s3c-i2s-v2.h b/sound/soc/samsung/s3c-i2s-v2.h
deleted file mode 100644
index 8c6fc0d3d77e..000000000000
diff --git a/sound/soc/samsung/s3c2412-i2s.c b/sound/soc/samsung/s3c2412-i2s.c
deleted file mode 100644
index 0579a352961c..000000000000
diff --git a/sound/soc/samsung/s3c2412-i2s.h b/sound/soc/samsung/s3c2412-i2s.h
deleted file mode 100644
index bff2a797cb08..000000000000
diff --git a/sound/soc/samsung/s3c24xx-i2s.c b/sound/soc/samsung/s3c24xx-i2s.c
deleted file mode 100644
index 7b7bbe007acd..000000000000
diff --git a/sound/soc/samsung/s3c24xx-i2s.h b/sound/soc/samsung/s3c24xx-i2s.h
deleted file mode 100644
index e073e31855d0..000000000000
diff --git a/sound/soc/samsung/s3c24xx_simtec.c b/sound/soc/samsung/s3c24xx_simtec.c
deleted file mode 100644
index 0cc66774b85d..000000000000
diff --git a/sound/soc/samsung/s3c24xx_simtec.h b/sound/soc/samsung/s3c24xx_simtec.h
deleted file mode 100644
index 38d8384755cd..000000000000
diff --git a/sound/soc/samsung/s3c24xx_simtec_hermes.c b/sound/soc/samsung/s3c24xx_simtec_hermes.c
deleted file mode 100644
index ed0d1b8fa2d4..000000000000
diff --git a/sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c b/sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c
deleted file mode 100644
index c03d52990267..000000000000
diff --git a/sound/soc/samsung/s3c24xx_uda134x.c b/sound/soc/samsung/s3c24xx_uda134x.c
deleted file mode 100644
index 6272070dcd92..000000000000
diff --git a/sound/soc/samsung/smartq_wm8987.c b/sound/soc/samsung/smartq_wm8987.c
deleted file mode 100644
index 29bf917242fe..000000000000
diff --git a/sound/soc/samsung/smdk_wm8580.c b/sound/soc/samsung/smdk_wm8580.c
deleted file mode 100644
index 78703d095a6f..000000000000
--
2.29.2
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 00/21] ARM: s3c: clean out obsolete platforms
2022-10-21 20:22 [PATCH 00/21] ARM: s3c: clean out obsolete platforms Arnd Bergmann
2022-10-21 20:27 ` [PATCH 21/21] ASoC: samsung: remove unused drivers Arnd Bergmann
@ 2022-10-22 15:18 ` Krzysztof Kozlowski
2022-10-22 19:48 ` Arnd Bergmann
2022-10-24 13:00 ` Rob Herring
2 siblings, 1 reply; 7+ messages in thread
From: Krzysztof Kozlowski @ 2022-10-22 15:18 UTC (permalink / raw)
To: Arnd Bergmann, linux-arm-kernel
Cc: linux-fbdev, linux-doc, linux-iio, alsa-devel, dri-devel,
linux-ide, linux-mtd, linux-i2c, linux-clk, linux-leds, linux-rtc,
linux-samsung-soc, linux-pwm, linux-stm32, linux-serial,
linux-input, linux-media, devicetree, linux-watchdog,
Arnd Bergmann, linux-pm, linux-gpio, Ben Dooks, Simtec Linux Team,
linux-hwmon, patches, linux-usb, linux-mmc, linux-kernel,
linux-spi, dmaengine
On 21/10/2022 16:22, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> The s3c24xx platform was marked as deprecated a while ago,
> and for the s3c64xx platform, we marked all except one legacy
> board file as unused.
>
> This series removes all of those, leaving only s3c64xx support
> for DT based boots as well as the cragg6410 board file.
>
> About half of the s3c specific drivers were only used on
> the now removed machines, so these drivers can be retired
> as well. I can either merge the driver removal patches through
> the soc tree along with the board file patches, or subsystem
> maintainers can pick them up into their own trees, whichever
> they prefer.
Just to be sure - do you expect me to ack the series, or rather as usual
pick them up?
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 00/21] ARM: s3c: clean out obsolete platforms
2022-10-22 15:18 ` [PATCH 00/21] ARM: s3c: clean out obsolete platforms Krzysztof Kozlowski
@ 2022-10-22 19:48 ` Arnd Bergmann
0 siblings, 0 replies; 7+ messages in thread
From: Arnd Bergmann @ 2022-10-22 19:48 UTC (permalink / raw)
To: Krzysztof Kozlowski, Arnd Bergmann, linux-arm-kernel
Cc: linux-fbdev, linux-doc, linux-iio, alsa-devel, dri-devel,
linux-ide, linux-mtd, linux-i2c, linux-clk, linux-leds, linux-rtc,
linux-samsung-soc, linux-pwm, linux-stm32, linux-serial,
linux-input, linux-media, devicetree, linux-watchdog, linux-pm,
open list:GPIO SUBSYSTEM, Ben Dooks, Simtec Linux Team,
linux-hwmon, patches, linux-usb, linux-mmc @ vger . kernel . org,
linux-kernel, linux-spi, dmaengine
On Sat, Oct 22, 2022, at 17:18, Krzysztof Kozlowski wrote:
> On 21/10/2022 16:22, Arnd Bergmann wrote:
>> From: Arnd Bergmann <arnd@arndb.de>
>>
>> The s3c24xx platform was marked as deprecated a while ago,
>> and for the s3c64xx platform, we marked all except one legacy
>> board file as unused.
>>
>> This series removes all of those, leaving only s3c64xx support
>> for DT based boots as well as the cragg6410 board file.
>>
>> About half of the s3c specific drivers were only used on
>> the now removed machines, so these drivers can be retired
>> as well. I can either merge the driver removal patches through
>> the soc tree along with the board file patches, or subsystem
>> maintainers can pick them up into their own trees, whichever
>> they prefer.
>
> Just to be sure - do you expect me to ack the series, or rather as usual
> pick them up?
I think in this case it is easier if I pick them up with your
Ack along with the other platforms I posted, as there are
some minor conflicts between Makefile/Kconfig changes where
I remove adjacent lines.
Arnd
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 21/21] ASoC: samsung: remove unused drivers
2022-10-21 20:27 ` [PATCH 21/21] ASoC: samsung: remove unused drivers Arnd Bergmann
@ 2022-10-24 12:53 ` Krzysztof Kozlowski
0 siblings, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2022-10-24 12:53 UTC (permalink / raw)
To: Arnd Bergmann, linux-arm-kernel, Jaroslav Kysela, Takashi Iwai,
Sylwester Nawrocki, Liam Girdwood, Mark Brown
Cc: alsa-devel, linux-samsung-soc, Charles Keepax, Ben Dooks,
Arnd Bergmann, linux-kernel, Alim Akhtar, Simtec Linux Team
On 21/10/2022 16:27, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> The s3c24xx SoC platform was completely removed, as were most of the
> s3c64xx based board files, leaving only the DT based machines as well
> as the MACH_WLF_CRAGG_6410 machine. All other board specific ASoC
> driver can can now be recycled.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 00/21] ARM: s3c: clean out obsolete platforms
2022-10-21 20:22 [PATCH 00/21] ARM: s3c: clean out obsolete platforms Arnd Bergmann
2022-10-21 20:27 ` [PATCH 21/21] ASoC: samsung: remove unused drivers Arnd Bergmann
2022-10-22 15:18 ` [PATCH 00/21] ARM: s3c: clean out obsolete platforms Krzysztof Kozlowski
@ 2022-10-24 13:00 ` Rob Herring
2022-10-24 13:18 ` Arnd Bergmann
2 siblings, 1 reply; 7+ messages in thread
From: Rob Herring @ 2022-10-24 13:00 UTC (permalink / raw)
To: Arnd Bergmann
Cc: linux-fbdev, linux-doc, linux-iio, alsa-devel, dri-devel,
linux-ide, linux-mtd, linux-i2c, linux-clk, linux-leds, linux-rtc,
linux-samsung-soc, linux-pwm, linux-stm32, linux-serial,
linux-input, linux-media, devicetree, linux-watchdog,
Arnd Bergmann, linux-pm, linux-gpio, Ben Dooks, Simtec Linux Team,
linux-arm-kernel, linux-hwmon, patches, linux-usb, linux-mmc,
linux-kernel, linux-spi, Krzysztof Kozlowski, dmaengine
On Fri, Oct 21, 2022 at 10:22:28PM +0200, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> The s3c24xx platform was marked as deprecated a while ago,
> and for the s3c64xx platform, we marked all except one legacy
> board file as unused.
>
> This series removes all of those, leaving only s3c64xx support
> for DT based boots as well as the cragg6410 board file.
>
> About half of the s3c specific drivers were only used on
> the now removed machines, so these drivers can be retired
> as well. I can either merge the driver removal patches through
> the soc tree along with the board file patches, or subsystem
> maintainers can pick them up into their own trees, whichever
> they prefer.
[...]
> Documentation/arm/index.rst | 1 -
> Documentation/arm/samsung-s3c24xx/cpufreq.rst | 77 -
> .../arm/samsung-s3c24xx/eb2410itx.rst | 59 -
> Documentation/arm/samsung-s3c24xx/gpio.rst | 172 --
> Documentation/arm/samsung-s3c24xx/h1940.rst | 41 -
> Documentation/arm/samsung-s3c24xx/index.rst | 20 -
> Documentation/arm/samsung-s3c24xx/nand.rst | 30 -
> .../arm/samsung-s3c24xx/overview.rst | 311 ---
> Documentation/arm/samsung-s3c24xx/s3c2412.rst | 121 -
> Documentation/arm/samsung-s3c24xx/s3c2413.rst | 22 -
> .../arm/samsung-s3c24xx/smdk2440.rst | 57 -
> Documentation/arm/samsung-s3c24xx/suspend.rst | 137 --
> .../arm/samsung-s3c24xx/usb-host.rst | 91 -
> Documentation/arm/samsung/overview.rst | 13 -
What about?:
Documentation/devicetree/bindings/clock/samsung,s3c2410-clock.txt
Documentation/devicetree/bindings/interrupt-controller/samsung,s3c24xx-irq.txt
Documentation/devicetree/bindings/mmc/samsung,s3cmci.txt
Documentation/devicetree/bindings/mtd/samsung-s3c2410.txt
Documentation/devicetree/bindings/usb/s3c2410-usb.txt
Rob
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 00/21] ARM: s3c: clean out obsolete platforms
2022-10-24 13:00 ` Rob Herring
@ 2022-10-24 13:18 ` Arnd Bergmann
0 siblings, 0 replies; 7+ messages in thread
From: Arnd Bergmann @ 2022-10-24 13:18 UTC (permalink / raw)
To: Rob Herring, Arnd Bergmann
Cc: linux-fbdev, linux-doc, linux-iio, alsa-devel, dri-devel,
linux-ide, linux-mtd, linux-i2c, linux-clk, linux-leds, linux-rtc,
linux-samsung-soc, linux-pwm, linux-stm32, linux-serial,
linux-input, linux-media, devicetree, linux-watchdog, linux-pm,
open list:GPIO SUBSYSTEM, Ben Dooks, Simtec Linux Team,
linux-arm-kernel, linux-hwmon, patches, linux-usb,
linux-mmc @ vger . kernel . org, linux-kernel, linux-spi,
Krzysztof Kozlowski, dmaengine
On Mon, Oct 24, 2022, at 15:00, Rob Herring wrote:
> On Fri, Oct 21, 2022 at 10:22:28PM +0200, Arnd Bergmann wrote:
>> From: Arnd Bergmann <arnd@arndb.de>
>>
>> The s3c24xx platform was marked as deprecated a while ago,
>> and for the s3c64xx platform, we marked all except one legacy
>> board file as unused.
>>
>> This series removes all of those, leaving only s3c64xx support
>> for DT based boots as well as the cragg6410 board file.
>>
>> About half of the s3c specific drivers were only used on
>> the now removed machines, so these drivers can be retired
>> as well. I can either merge the driver removal patches through
>> the soc tree along with the board file patches, or subsystem
>> maintainers can pick them up into their own trees, whichever
>> they prefer.
>
> [...]
>
>> Documentation/arm/index.rst | 1 -
>> Documentation/arm/samsung-s3c24xx/cpufreq.rst | 77 -
>> .../arm/samsung-s3c24xx/eb2410itx.rst | 59 -
>> Documentation/arm/samsung-s3c24xx/gpio.rst | 172 --
>> Documentation/arm/samsung-s3c24xx/h1940.rst | 41 -
>> Documentation/arm/samsung-s3c24xx/index.rst | 20 -
>> Documentation/arm/samsung-s3c24xx/nand.rst | 30 -
>> .../arm/samsung-s3c24xx/overview.rst | 311 ---
>> Documentation/arm/samsung-s3c24xx/s3c2412.rst | 121 -
>> Documentation/arm/samsung-s3c24xx/s3c2413.rst | 22 -
>> .../arm/samsung-s3c24xx/smdk2440.rst | 57 -
>> Documentation/arm/samsung-s3c24xx/suspend.rst | 137 --
>> .../arm/samsung-s3c24xx/usb-host.rst | 91 -
>> Documentation/arm/samsung/overview.rst | 13 -
>
> What about?:
>
> Documentation/devicetree/bindings/clock/samsung,s3c2410-clock.txt
> Documentation/devicetree/bindings/interrupt-controller/samsung,s3c24xx-irq.txt
> Documentation/devicetree/bindings/mmc/samsung,s3cmci.txt
Good catch!
I've removed these three now and and will add the removal to
the same patch, also the related
samsung,s3c2412-clock.txt and samsung,s3c2443-clock.txt
files.
> Documentation/devicetree/bindings/mtd/samsung-s3c2410.txt
samsung,s3c2412-nand is apparently still used on s3c6400,
and the driver is selectable on that platform, so I think
that should remain in there until we remove s3c64xx in 2024,
even if it is not referenced by the dts files in the kernel.
> Documentation/devicetree/bindings/usb/s3c2410-usb.txt
Similarly, the driver is used on the crag6410 board
(without DT), and probably just works with the DT based
boards if one adds a node to s3c64xx.dtsi.
I've also checked if any of the other removed drivers
matches of_device_id[] strings to see if there are more
bindings to kill off, but I don't see any that have
now become obsolete. It did point me to pxa2xx_ac97_dt_ids,
which Robert already complained about, this apparently
is still used with dts files outside of mainline.
Arnd
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-10-24 14:48 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-21 20:22 [PATCH 00/21] ARM: s3c: clean out obsolete platforms Arnd Bergmann
2022-10-21 20:27 ` [PATCH 21/21] ASoC: samsung: remove unused drivers Arnd Bergmann
2022-10-24 12:53 ` Krzysztof Kozlowski
2022-10-22 15:18 ` [PATCH 00/21] ARM: s3c: clean out obsolete platforms Krzysztof Kozlowski
2022-10-22 19:48 ` Arnd Bergmann
2022-10-24 13:00 ` Rob Herring
2022-10-24 13:18 ` Arnd Bergmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox