Skip to contentSkip to conversation

ARM: s3c: clean out obsolete platforms

PATCH Applied Arnd Bergmann 25 participants 90 messages Oct 21, 2022 – Dec 5, 2022

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

cover ARM: s3c: clean out obsolete platforms

From: Arnd Bergmann <[email protected]>

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 <[email protected]>
Cc: Ben Dooks <[email protected]>
Cc: Simtec Linux Team <[email protected]>
Bcc: Alim Akhtar <[email protected]>
Bcc: Rob Herring <[email protected]>
Bcc: Damien Le Moal <[email protected]>
Bcc: Sergey Shtylyov <[email protected]>
Bcc: Sylwester Nawrocki <[email protected]>
Bcc: Tomasz Figa <[email protected]>
Bcc: Chanwoo Choi <[email protected]>
Bcc: Michael Turquette <[email protected]>
Bcc: Stephen Boyd <[email protected]>
Bcc: Daniel Lezcano <[email protected]>
Bcc: Thomas Gleixner <[email protected]>
Bcc: "Rafael J. Wysocki" <[email protected]>
Bcc: Viresh Kumar <[email protected]>
Bcc: Vinod Koul <[email protected]>
Bcc: Jean Delvare <[email protected]>
Bcc: Guenter Roeck <[email protected]>
Bcc: Jonathan Cameron <[email protected]>
Bcc: Lars-Peter Clausen <[email protected]>
Bcc: Dmitry Torokhov <[email protected]>
Bcc: Pavel Machek <[email protected]>
Bcc: Mauro Carvalho Chehab <[email protected]>
Bcc: Ulf Hansson <[email protected]>
Bcc: Miquel Raynal <[email protected]>
Bcc: Richard Weinberger <[email protected]>
Bcc: Vignesh Raghavendra <[email protected]>
Bcc: Linus Walleij <[email protected]>
Bcc: Sebastian Reichel <[email protected]>
Bcc: Alexandre Belloni <[email protected]>
Bcc: Mark Brown <[email protected]>
Bcc: Greg Kroah-Hartman <[email protected]>
Bcc: Jiri Slaby <[email protected]>
Bcc: Felipe Balbi <[email protected]>
Bcc: Helge Deller <[email protected]>
Bcc: Wim Van Sebroeck <[email protected]>
Bcc: Liam Girdwood <[email protected]>
Bcc: Thierry Reding <[email protected]>
Bcc: "Uwe Kleine-König" <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]

 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
Signature · 1 line
2.29.2
#1 lore raw

PATCH 1/21 ARM: s3c: remove all s3c24xx support

From: Arnd Bergmann <[email protected]>

The platform was deprecated in commit 6a5e69c7ddea ("ARM: s3c: mark as deprecated and schedule removal") and can be removed. This includes all files that are exclusively for s3c24xx and not shared with s3c64xx, as well as the glue logic in Kconfig and the maintainer file entries.

Cc Arnaud Patard <[email protected]>
Cc Ben Dooks <[email protected]>
Cc Christer Weinigel <[email protected]>
Cc Guillaume GOURAT <[email protected]>
Cc Heiko Stuebner <[email protected]>
Cc Simtec Linux Team <[email protected]>
---
 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                                   |   16 -
 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/mach-s3c/Kconfig                     |   27 +-
 arch/arm/mach-s3c/Kconfig.s3c24xx             |  604 --------
 arch/arm/mach-s3c/Makefile                    |    4 -
 arch/arm/mach-s3c/Makefile.s3c24xx            |  102 --
 arch/arm/mach-s3c/anubis.h                    |   50 -
 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/cpufreq-utils-s3c24xx.c     |   94 --
 arch/arm/mach-s3c/dma-s3c24xx.h               |   51 -
 arch/arm/mach-s3c/fb-core-s3c24xx.h           |   24 -
 arch/arm/mach-s3c/gpio-samsung-s3c24xx.h      |  103 --
 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/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/mach-amlm5900.c             |  248 ---
 arch/arm/mach-s3c/mach-anubis.c               |  422 -----
 arch/arm/mach-s3c/mach-at2440evb.c            |  233 ---
 arch/arm/mach-s3c/mach-bast.c                 |  583 -------
 arch/arm/mach-s3c/mach-gta02.c                |  588 -------
 arch/arm/mach-s3c/mach-h1940.c                |  809 ----------
 arch/arm/mach-s3c/mach-jive.c                 |  693 ---------
 arch/arm/mach-s3c/mach-mini2440.c             |  804 ----------
 arch/arm/mach-s3c/mach-n30.c                  |  682 ---------
 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-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-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-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-s3c24xx.h               |  159 --
 arch/arm/mach-s3c/nand-core-s3c24xx.h         |   24 -
 arch/arm/mach-s3c/osiris.h                    |   50 -
 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-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/regs-clock-s3c24xx.h        |  146 --
 arch/arm/mach-s3c/regs-dsc-s3c24xx.h          |   22 -
 arch/arm/mach-s3c/regs-gpio-s3c24xx.h         |  608 --------
 arch/arm/mach-s3c/regs-irq-s3c24xx.h          |   51 -
 arch/arm/mach-s3c/regs-mem-s3c24xx.h          |   53 -
 arch/arm/mach-s3c/regs-s3c2443-clock.h        |  238 ---
 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/setup-i2c-s3c24xx.c         |   23 -
 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/spi-core-s3c24xx.h          |   21 -
 arch/arm/mach-s3c/vr1000.h                    |  113 --
 drivers/soc/samsung/Kconfig                   |    4 -
 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 -
 126 files changed, 8 insertions(+), 21049 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/anubis.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/dma-s3c24xx.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-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-jive.c
 delete mode 100644 arch/arm/mach-s3c/mach-mini2440.c
 delete mode 100644 arch/arm/mach-s3c/mach-n30.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-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-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-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/osiris.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-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/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/setup-i2c-s3c24xx.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 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
Documentation/arm/index.rst +0 -1
index 8c636d4a061f..ae42fe886f0d 100644
@@ -64,7 +64,6 @@ SoC-specific documents
    sunxi
 
    samsung/index
-   samsung-s3c24xx/index
 
    sunxi/clocks
 
Documentation/arm/samsung-s3c24xx/cpufreq.rst deleted +0 -0
deleted file mode 100644
index cd22697cf606..000000000000
Documentation/arm/samsung-s3c24xx/eb2410itx.rst deleted +0 -0
deleted file mode 100644
index 7863c93652f8..000000000000
Documentation/arm/samsung-s3c24xx/gpio.rst deleted +0 -0
deleted file mode 100644
index f4a8c800a457..000000000000
Documentation/arm/samsung-s3c24xx/h1940.rst deleted +0 -0
deleted file mode 100644
index 62a562c178e3..000000000000
Documentation/arm/samsung-s3c24xx/index.rst deleted +0 -0
deleted file mode 100644
index ccb951a0bedb..000000000000
Documentation/arm/samsung-s3c24xx/nand.rst deleted +0 -0
deleted file mode 100644
index 938995694ee7..000000000000
Documentation/arm/samsung-s3c24xx/overview.rst deleted +0 -0
deleted file mode 100644
index 14535e5cffb7..000000000000
Documentation/arm/samsung-s3c24xx/s3c2412.rst deleted +0 -0
deleted file mode 100644
index 68b985fc6bf4..000000000000
Documentation/arm/samsung-s3c24xx/s3c2413.rst deleted +0 -0
deleted file mode 100644
index 1f51e207fc46..000000000000
Documentation/arm/samsung-s3c24xx/smdk2440.rst deleted +0 -0
deleted file mode 100644
index 524fd0b4afaf..000000000000
Documentation/arm/samsung-s3c24xx/suspend.rst deleted +0 -0
deleted file mode 100644
index b4f3ae9fe76e..000000000000
Documentation/arm/samsung-s3c24xx/usb-host.rst deleted +0 -0
deleted file mode 100644
index 7aaffac89e04..000000000000
Documentation/arm/samsung/overview.rst +0 -13
index e74307897416..8b15a190169b 100644
@@ -12,21 +12,10 @@ Introduction
 
   The currently supported SoCs are:
 
-  - S3C24XX: See Documentation/arm/samsung-s3c24xx/overview.rst for full list
   - S3C64XX: S3C6400 and S3C6410
   - S5PC110 / S5PV210
 
 
-S3C24XX Systems
----------------
-
-  There is still documentation in Documnetation/arm/Samsung-S3C24XX/ which
-  deals with the architecture and drivers specific to these devices.
-
-  See Documentation/arm/samsung-s3c24xx/overview.rst for more information
-  on the implementation details and specific support.
-
-
 Configuration
 -------------
 
@@ -51,8 +40,6 @@ Layout
   specific information. It contains the base clock, GPIO and device definitions
   to get the system running.
 
-  plat-s3c24xx is for s3c24xx specific builds, see the S3C24XX docs.
-
   plat-s5p is for s5p specific builds, and contains common support for the
   S5P specific systems. Not all S5Ps use all the features in this directory
   due to differences in the hardware.
MAINTAINERS +0 -16
index ec3d53b5e1d1..071d64e2a7ca 100644
@@ -2462,13 +2462,6 @@ L:	[email protected] (moderated for non-subscribers)
 S:	Maintained
 F:	arch/arm64/boot/dts/freescale/s32g*.dts*
 
-ARM/OPENMOKO NEO FREERUNNER (GTA02) MACHINE SUPPORT
-L:	[email protected] (subscribers-only)
-S:	Orphan
-W:	http://wiki.openmoko.org/wiki/Neo_FreeRunner
-F:	arch/arm/mach-s3c/gta02.h
-F:	arch/arm/mach-s3c/mach-gta02.c
-
 ARM/Orion SoC/Technologic Systems TS-78xx platform support
 M:	Alexander Clouter <[email protected]>
 L:	[email protected] (moderated for non-subscribers)
@@ -2649,7 +2642,6 @@ F:	include/linux/platform_data/*s3c*
 F:	include/linux/serial_s3c.h
 F:	include/linux/soc/samsung/
 N:	exynos
-N:	s3c2410
 N:	s3c64xx
 N:	s5pv210
 
@@ -18673,14 +18665,6 @@ M:	Simtec Linux Team <[email protected]>
 S:	Supported
 W:	http://www.simtec.co.uk/products/EB110ATX/
 
-SIMTEC EB2410ITX (BAST)
-M:	Simtec Linux Team <[email protected]>
-S:	Supported
-W:	http://www.simtec.co.uk/products/EB2410ITX/
-F:	arch/arm/mach-s3c/bast-ide.c
-F:	arch/arm/mach-s3c/bast-irq.c
-F:	arch/arm/mach-s3c/mach-bast.c
-
 SIOX
 M:	Thorsten Scherer <[email protected]>
 M:	Uwe Kleine-König <[email protected]>
arch/arm/Kconfig +1 -2
index c1614f91e04c..280701af4a01 100644
@@ -279,7 +279,6 @@ config PHYS_OFFSET
 	default DRAM_BASE if !MMU
 	default 0x00000000 if ARCH_FOOTBRIDGE
 	default 0x10000000 if ARCH_OMAP1 || ARCH_RPC
-	default 0x30000000 if ARCH_S3C24XX
 	default 0xa0000000 if ARCH_PXA
 	default 0xc0000000 if ARCH_EP93XX || ARCH_SA1100
 	default 0
@@ -1154,7 +1153,7 @@ config ARCH_NR_GPIO
 	default 1024 if ARCH_BRCMSTB || ARCH_RENESAS || ARCH_TEGRA || \
 		ARCH_ZYNQ || ARCH_ASPEED
 	default 512 if ARCH_EXYNOS || ARCH_KEYSTONE || SOC_OMAP5 || \
-		SOC_DRA7XX || ARCH_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210
+		SOC_DRA7XX || ARCH_S3C64XX || ARCH_S5PV210
 	default 416 if ARCH_SUNXI
 	default 392 if ARCH_U8500
 	default 352 if ARCH_VT8500
arch/arm/Kconfig.debug +4 -54

127 lines not on this page · raw message

arch/arm/Makefile +0 -2
index 1a62035d1207..129162244c68 100644
@@ -143,8 +143,6 @@ CHECKFLAGS	+= -D__arm__
 # during boot, and this offset is critical to the functioning of
 # kexec-tools.
 textofs-y	:= 0x00008000
-# We don't want the htc bootloader to corrupt kernel during resume
-textofs-$(CONFIG_PM_H1940)      := 0x00108000
 # RTD1195 has Boot ROM at start of address space
 textofs-$(CONFIG_ARCH_REALTEK)  := 0x00108000
 # SA1111 DMA bug: we don't want the kernel to live in precious DMA-able memory
arch/arm/boot/dts/Makefile +0 -2
index 6aa7dc4db2fc..f0699ec7da2f 100644
@@ -1156,8 +1156,6 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += \
 	rk3288-veyron-speedy.dtb \
 	rk3288-veyron-tiger.dtb \
 	rk3288-vyasa.dtb
-dtb-$(CONFIG_ARCH_S3C24XX) += \
-	s3c2416-smdk2416.dtb
 dtb-$(CONFIG_ARCH_S3C64XX) += \
 	s3c6410-mini6410.dtb \
 	s3c6410-smdk6410.dtb
arch/arm/boot/dts/s3c2410-pinctrl.h deleted +0 -0
deleted file mode 100644
index 76b6171ae149..000000000000
arch/arm/boot/dts/s3c2416-pinctrl.dtsi deleted +0 -0
deleted file mode 100644
index 3268366bd8bc..000000000000
arch/arm/boot/dts/s3c2416-smdk2416.dts deleted +0 -0
deleted file mode 100644
index e7c379a9842e..000000000000
arch/arm/boot/dts/s3c2416.dtsi deleted +0 -0
deleted file mode 100644
index 4660751cb207..000000000000
arch/arm/boot/dts/s3c24xx.dtsi deleted +0 -0
deleted file mode 100644
index 06f82c7e458e..000000000000
arch/arm/configs/mini2440_defconfig deleted +0 -0
deleted file mode 100644
index 86e00f684e16..000000000000
arch/arm/configs/s3c2410_defconfig deleted +0 -0
deleted file mode 100644
index 41b40863a78e..000000000000
arch/arm/configs/tct_hammer_defconfig deleted +0 -0
deleted file mode 100644
index 3b29ae1fb750..000000000000
arch/arm/mach-s3c/Kconfig +3 -24
index a64143574546..809f84fca0b8 100644
@@ -2,13 +2,10 @@
 #
 # Copyright 2009 Simtec Electronics
 
-source "arch/arm/mach-s3c/Kconfig.s3c24xx"
 source "arch/arm/mach-s3c/Kconfig.s3c64xx"
 
 config PLAT_SAMSUNG
-	bool
-	depends on PLAT_S3C24XX || ARCH_S3C64XX
-	default y
+	def_bool ARCH_S3C64XX
 	select GENERIC_IRQ_CHIP
 	select NO_IOPORT_MAP
 	select SOC_SAMSUNG
@@ -16,9 +13,8 @@ config PLAT_SAMSUNG
 	  Base platform code for all Samsung SoC based systems
 
 config SAMSUNG_PM
-	bool
-	depends on PM && (PLAT_S3C24XX || ARCH_S3C64XX)
-	default y
+	def_bool ARCH_S3C64XX
+	depends on PM
 	help
 	  Base platform power management code for samsung code
 
@@ -99,11 +95,6 @@ config S3C_DEV_HSMMC3
 	help
 	  Compile in platform device definitions for HSMMC channel 3
 
-config S3C_DEV_HWMON
-	bool
-	help
-	  Compile in platform device definitions for HWMON
-
 config S3C_DEV_I2C1
 	bool
 	help
@@ -156,7 +147,6 @@ config S3C_DEV_USB_HSOTG
 
 config S3C_DEV_WDT
 	bool
-	default y if ARCH_S3C24XX
 	help
 	  Compile in platform device definition for Watchdog Timer
 
@@ -180,22 +170,12 @@ config SAMSUNG_DEV_ADC
 	help
 	  Compile in platform device definition for ADC controller
 
-config SAMSUNG_DEV_IDE
-	bool
-	help
-	  Compile in platform device definitions for IDE
-
 config S3C64XX_DEV_SPI0
 	bool
 	help
 	  Compile in platform device definitions for S3C64XX's type
 	  SPI controller 0
 
-config SAMSUNG_DEV_TS
-	bool
-	help
-	  Common in platform device definitions for touchscreen device
-
 config SAMSUNG_DEV_KEYPAD
 	bool
 	help
@@ -203,7 +183,6 @@ config SAMSUNG_DEV_KEYPAD
 
 config SAMSUNG_DEV_PWM
 	bool
-	default y if ARCH_S3C24XX
 	help
 	  Compile in platform device definition for PWM Timer
 
arch/arm/mach-s3c/Kconfig.s3c24xx deleted +0 -0
deleted file mode 100644
index 7287e173f30e..000000000000
arch/arm/mach-s3c/Makefile +0 -4
index 7c7d3318fd61..e7f18039b149 100644
@@ -2,10 +2,6 @@
 #
 # Copyright 2009 Simtec Electronics
 
-ifdef CONFIG_ARCH_S3C24XX
-include $(src)/Makefile.s3c24xx
-endif
-
 ifdef CONFIG_ARCH_S3C64XX
 include $(src)/Makefile.s3c64xx
 endif
arch/arm/mach-s3c/Makefile.s3c24xx deleted +0 -0
deleted file mode 100644
index 3483ab3a2b81..000000000000
arch/arm/mach-s3c/anubis.h deleted +0 -0
deleted file mode 100644
index 13847292e6c7..000000000000
arch/arm/mach-s3c/bast-ide.c deleted +0 -0
deleted file mode 100644
index 67f0adc1fec0..000000000000
arch/arm/mach-s3c/bast-irq.c deleted +0 -0
deleted file mode 100644
index cfc2ddc65513..000000000000
arch/arm/mach-s3c/bast.h deleted +0 -0
deleted file mode 100644
index a7726f93f5eb..000000000000
arch/arm/mach-s3c/common-smdk-s3c24xx.c deleted +0 -0
deleted file mode 100644
index 6d124bbd384c..000000000000
arch/arm/mach-s3c/common-smdk-s3c24xx.h deleted +0 -0
deleted file mode 100644
index c0352b06e435..000000000000
arch/arm/mach-s3c/cpufreq-utils-s3c24xx.c deleted +0 -0
deleted file mode 100644
index c1784d8facdf..000000000000
arch/arm/mach-s3c/dma-s3c24xx.h deleted +0 -0
deleted file mode 100644
index 25fc9c258fc1..000000000000
arch/arm/mach-s3c/fb-core-s3c24xx.h deleted +0 -0
deleted file mode 100644
index 0e07f3ba4aef..000000000000
arch/arm/mach-s3c/gpio-samsung-s3c24xx.h deleted +0 -0
deleted file mode 100644
index c29fdc95f883..000000000000
arch/arm/mach-s3c/gta02.h deleted +0 -0
deleted file mode 100644
index 043ae382bfc5..000000000000
arch/arm/mach-s3c/h1940-bluetooth.c deleted +0 -0
deleted file mode 100644
index 59edcf8a620d..000000000000
arch/arm/mach-s3c/h1940.h deleted +0 -0
deleted file mode 100644
index 5dfe9d10cd15..000000000000
arch/arm/mach-s3c/hardware-s3c24xx.h deleted +0 -0
deleted file mode 100644
index 33b37467d05f..000000000000
arch/arm/mach-s3c/iotiming-s3c2410.c deleted +0 -0
deleted file mode 100644
index 09f388d8f824..000000000000
arch/arm/mach-s3c/iotiming-s3c2412.c deleted +0 -0
deleted file mode 100644
index 003f89c4dc53..000000000000
arch/arm/mach-s3c/irq-pm-s3c24xx.c deleted +0 -0
deleted file mode 100644
index 55f41135ad70..000000000000
arch/arm/mach-s3c/irq-s3c24xx-fiq-exports.c deleted +0 -0
deleted file mode 100644
index 84cf86376ded..000000000000
arch/arm/mach-s3c/irq-s3c24xx-fiq.S deleted +0 -0
deleted file mode 100644
index 5d238d9a798e..000000000000
arch/arm/mach-s3c/irq-s3c24xx.c deleted +0 -0
deleted file mode 100644
index 088cc04b7431..000000000000
arch/arm/mach-s3c/irqs-s3c24xx.h deleted +0 -0
deleted file mode 100644
index fecbf7e440c6..000000000000
arch/arm/mach-s3c/mach-amlm5900.c deleted +0 -0
deleted file mode 100644
index f85e5885e9b4..000000000000
arch/arm/mach-s3c/mach-anubis.c deleted +0 -0
deleted file mode 100644
index 4536f3e66e27..000000000000
arch/arm/mach-s3c/mach-at2440evb.c deleted +0 -0
deleted file mode 100644
index 743403d873e0..000000000000
arch/arm/mach-s3c/mach-bast.c deleted +0 -0
deleted file mode 100644
index a33ceab81e09..000000000000
arch/arm/mach-s3c/mach-gta02.c deleted +0 -0
deleted file mode 100644
index d50a81d85ae1..000000000000
arch/arm/mach-s3c/mach-h1940.c deleted +0 -0
deleted file mode 100644
index 83ac6cfdb1d8..000000000000
arch/arm/mach-s3c/mach-jive.c deleted +0 -0
deleted file mode 100644
index 16859bb3bb13..000000000000
arch/arm/mach-s3c/mach-mini2440.c deleted +0 -0
deleted file mode 100644
index 283be70ca622..000000000000
arch/arm/mach-s3c/mach-n30.c deleted +0 -0
deleted file mode 100644
index 90122fc6b2aa..000000000000
arch/arm/mach-s3c/mach-nexcoder.c deleted +0 -0
deleted file mode 100644
index d17a3fcb7425..000000000000
arch/arm/mach-s3c/mach-osiris-dvs.c deleted +0 -0
deleted file mode 100644
index 2e283aedab65..000000000000
arch/arm/mach-s3c/mach-osiris.c deleted +0 -0
deleted file mode 100644
index d900d1354de1..000000000000
arch/arm/mach-s3c/mach-otom.c deleted +0 -0
deleted file mode 100644
index 3a2db2f58833..000000000000
arch/arm/mach-s3c/mach-qt2410.c deleted +0 -0
deleted file mode 100644
index 36fe0684a438..000000000000
arch/arm/mach-s3c/mach-rx1950.c deleted +0 -0
deleted file mode 100644
index d8c49e562660..000000000000
arch/arm/mach-s3c/mach-rx3715.c deleted +0 -0
deleted file mode 100644
index 52b3c38acbb2..000000000000
arch/arm/mach-s3c/mach-s3c2416-dt.c deleted +0 -0
deleted file mode 100644
index 418544d3015d..000000000000
arch/arm/mach-s3c/mach-smdk2410.c deleted +0 -0
deleted file mode 100644
index 76b0a8846616..000000000000
arch/arm/mach-s3c/mach-smdk2413.c deleted +0 -0
deleted file mode 100644
index 2b4e20aaa346..000000000000
arch/arm/mach-s3c/mach-smdk2416.c deleted +0 -0
deleted file mode 100644
index 329fe26be268..000000000000
arch/arm/mach-s3c/mach-smdk2440.c deleted +0 -0
deleted file mode 100644
index 6aea769ebde1..000000000000
arch/arm/mach-s3c/mach-smdk2443.c deleted +0 -0
deleted file mode 100644
index 075140f8f760..000000000000
arch/arm/mach-s3c/mach-tct_hammer.c deleted +0 -0
deleted file mode 100644
index 93ab1abd8bd3..000000000000
arch/arm/mach-s3c/mach-vr1000.c deleted +0 -0
deleted file mode 100644
index c85033e6ef8f..000000000000
arch/arm/mach-s3c/mach-vstms.c deleted +0 -0
deleted file mode 100644
index 6f878418be3e..000000000000
arch/arm/mach-s3c/map-s3c24xx.h deleted +0 -0
deleted file mode 100644
index f8d075b11d6f..000000000000
arch/arm/mach-s3c/nand-core-s3c24xx.h deleted +0 -0
deleted file mode 100644
index a14316729c48..000000000000
arch/arm/mach-s3c/osiris.h deleted +0 -0
deleted file mode 100644
index b6c9c5ed2ba7..000000000000
arch/arm/mach-s3c/pll-s3c2410.c deleted +0 -0
deleted file mode 100644
index 3fbc99eaa4a2..000000000000
arch/arm/mach-s3c/pll-s3c2440-12000000.c deleted +0 -0
deleted file mode 100644
index fdb8e8c2fe3b..000000000000
arch/arm/mach-s3c/pll-s3c2440-16934400.c deleted +0 -0
deleted file mode 100644
index 438b6fc099a4..000000000000
arch/arm/mach-s3c/pm-core-s3c24xx.h deleted +0 -0
deleted file mode 100644
index a71ed5711019..000000000000
arch/arm/mach-s3c/pm-h1940.S deleted +0 -0
deleted file mode 100644
index 3bf6685123cb..000000000000
arch/arm/mach-s3c/pm-s3c2410.c deleted +0 -0
deleted file mode 100644
index a66419883735..000000000000
arch/arm/mach-s3c/pm-s3c2412.c deleted +0 -0
deleted file mode 100644
index ed3b4cfc7c0f..000000000000
arch/arm/mach-s3c/pm-s3c2416.c deleted +0 -0
deleted file mode 100644
index f69ad84cf4ff..000000000000
arch/arm/mach-s3c/pm-s3c24xx.c deleted +0 -0
deleted file mode 100644
index 3a8f5c38882e..000000000000
arch/arm/mach-s3c/regs-clock-s3c24xx.h deleted +0 -0
deleted file mode 100644
index 933ddb5eedec..000000000000
arch/arm/mach-s3c/regs-dsc-s3c24xx.h deleted +0 -0
deleted file mode 100644
index 8b8b572aef04..000000000000
arch/arm/mach-s3c/regs-gpio-s3c24xx.h deleted +0 -0
deleted file mode 100644
index 9a7e262268a7..000000000000
arch/arm/mach-s3c/regs-irq-s3c24xx.h deleted +0 -0
deleted file mode 100644
index c0b97b203415..000000000000
arch/arm/mach-s3c/regs-mem-s3c24xx.h deleted +0 -0
deleted file mode 100644
index 8fed34a1672a..000000000000
arch/arm/mach-s3c/regs-s3c2443-clock.h deleted +0 -0
deleted file mode 100644
index b3b670d463db..000000000000
arch/arm/mach-s3c/rtc-core-s3c24xx.h deleted +0 -0
deleted file mode 100644
index e7258b2423fc..000000000000
arch/arm/mach-s3c/s3c2410.c deleted +0 -0
deleted file mode 100644
index 4d39d9939c2f..000000000000
arch/arm/mach-s3c/s3c2412-power.h deleted +0 -0
deleted file mode 100644
index 0031cfaa1d76..000000000000
arch/arm/mach-s3c/s3c2412.c deleted +0 -0
deleted file mode 100644
index 0b1ca78c9d2a..000000000000
arch/arm/mach-s3c/s3c2412.h deleted +0 -0
deleted file mode 100644
index ed09a0e13bd8..000000000000
arch/arm/mach-s3c/s3c2416.c deleted +0 -0
deleted file mode 100644
index 126e6ed29713..000000000000
arch/arm/mach-s3c/s3c2440.c deleted +0 -0
deleted file mode 100644
index c6cdee4987e8..000000000000
arch/arm/mach-s3c/s3c2442.c deleted +0 -0
deleted file mode 100644
index 0c0e30b6688f..000000000000
arch/arm/mach-s3c/s3c2443.c deleted +0 -0
deleted file mode 100644
index 05c3c298b9f8..000000000000
arch/arm/mach-s3c/s3c244x.c deleted +0 -0
deleted file mode 100644
index 95df3491e650..000000000000
arch/arm/mach-s3c/s3c24xx.c deleted +0 -0
deleted file mode 100644
index 819a95364af9..000000000000
arch/arm/mach-s3c/s3c24xx.h deleted +0 -0
deleted file mode 100644
index 34dd4ac507e9..000000000000
arch/arm/mach-s3c/setup-i2c-s3c24xx.c deleted +0 -0
deleted file mode 100644
index 0d88366b234c..000000000000
arch/arm/mach-s3c/setup-sdhci-gpio-s3c24xx.c deleted +0 -0
deleted file mode 100644
index 02131b3a731d..000000000000
arch/arm/mach-s3c/setup-spi-s3c24xx.c deleted +0 -0
deleted file mode 100644
index 93fa1bbc9d5c..000000000000
arch/arm/mach-s3c/setup-ts-s3c24xx.c deleted +0 -0
deleted file mode 100644
index 57363eaeb7e8..000000000000
arch/arm/mach-s3c/simtec-audio.c deleted +0 -0
deleted file mode 100644
index 487485bcc2ab..000000000000
arch/arm/mach-s3c/simtec-nor.c deleted +0 -0
deleted file mode 100644
index a6fba056a747..000000000000
arch/arm/mach-s3c/simtec-pm.c deleted +0 -0
deleted file mode 100644
index 490256a766e2..000000000000
arch/arm/mach-s3c/simtec-usb.c deleted +0 -0
deleted file mode 100644
index 76cedb5c7373..000000000000
arch/arm/mach-s3c/simtec.h deleted +0 -0
deleted file mode 100644
index d96bd60872b8..000000000000
arch/arm/mach-s3c/sleep-s3c2410.S deleted +0 -0
deleted file mode 100644
index 04aded98782b..000000000000
arch/arm/mach-s3c/sleep-s3c2412.S deleted +0 -0
deleted file mode 100644
index b4b61737fbb2..000000000000
arch/arm/mach-s3c/sleep-s3c24xx.S deleted +0 -0
deleted file mode 100644
index 4b2af91f3dce..000000000000
arch/arm/mach-s3c/spi-core-s3c24xx.h deleted +0 -0
deleted file mode 100644
index 919c5fd0c9af..000000000000
arch/arm/mach-s3c/vr1000.h deleted +0 -0
deleted file mode 100644
index 3cfa296bec2a..000000000000
drivers/soc/samsung/Kconfig +0 -4
index 02e319508cc6..b4f538d7412f 100644
@@ -85,8 +85,6 @@ config SAMSUNG_PM_CHECK
 	  Note, this can take several seconds depending on memory size
 	  and CPU speed.
 
-	  See <file:Documentation/arm/samsung-s3c24xx/suspend.rst>
-
 config SAMSUNG_PM_CHECK_CHUNKSIZE
 	int "S3C2410 PM Suspend CRC Chunksize (KiB)"
 	depends on PM && SAMSUNG_PM_CHECK
@@ -97,8 +95,6 @@ config SAMSUNG_PM_CHECK_CHUNKSIZE
 	  the CRC data block will take more memory, but will identify any
 	  faults with better precision.
 
-	  See <file:Documentation/arm/samsung-s3c24xx/suspend.rst>
-
 config EXYNOS_REGULATOR_COUPLER
 	bool "Exynos SoC Regulator Coupler" if COMPILE_TEST
 	depends on ARCH_EXYNOS || COMPILE_TEST
include/dt-bindings/clock/s3c2410.h deleted +0 -0
deleted file mode 100644
index 0fb65c3f2f59..000000000000
include/dt-bindings/clock/s3c2412.h deleted +0 -0
deleted file mode 100644
index b4656156cc0f..000000000000
include/dt-bindings/clock/s3c2443.h deleted +0 -0
deleted file mode 100644
index a9d2f105d536..000000000000
include/linux/amba/pl093.h deleted +0 -0
deleted file mode 100644
index b17166e3b49a..000000000000
Signature · 1 line
2.29.2
Acked-by on v1 1/21
#2 lore raw

Re: [PATCH 01/21] ARM: s3c: remove all s3c24xx support

Am Freitag, 21. Oktober 2022, 22:27:34 CEST schrieb Arnd Bergmann:

Quoted 7 lines

From: Arnd Bergmann <[email protected]>

The platform was deprecated in commit 6a5e69c7ddea ("ARM: s3c: mark as deprecated and schedule removal") and can be removed. This includes all files that are exclusively for s3c24xx and not shared with s3c64xx, as well as the glue logic in Kconfig and the maintainer file entries.

Quoted 8 lines
Cc Arnaud Patard <[email protected]>
Cc Ben Dooks <[email protected]>
Cc Christer Weinigel <[email protected]>
Cc Guillaume GOURAT <[email protected]>
Cc Heiko Stuebner <[email protected]>
Cc Simtec Linux Team <[email protected]>

So many memories of me starting out in the kernel on s3c24xx. But it's no use trying to keep stuff around that nobody will likely ever use again. So with a sad face

though you might want to also include

	drivers/dma/s3c24xx-dma.c

Heiko

Quoted 990 lines
---
 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                                   |   16 -
 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/mach-s3c/Kconfig                     |   27 +-
 arch/arm/mach-s3c/Kconfig.s3c24xx             |  604 --------
 arch/arm/mach-s3c/Makefile                    |    4 -
 arch/arm/mach-s3c/Makefile.s3c24xx            |  102 --
 arch/arm/mach-s3c/anubis.h                    |   50 -
 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/cpufreq-utils-s3c24xx.c     |   94 --
 arch/arm/mach-s3c/dma-s3c24xx.h               |   51 -
 arch/arm/mach-s3c/fb-core-s3c24xx.h           |   24 -
 arch/arm/mach-s3c/gpio-samsung-s3c24xx.h      |  103 --
 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/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/mach-amlm5900.c             |  248 ---
 arch/arm/mach-s3c/mach-anubis.c               |  422 -----
 arch/arm/mach-s3c/mach-at2440evb.c            |  233 ---
 arch/arm/mach-s3c/mach-bast.c                 |  583 -------
 arch/arm/mach-s3c/mach-gta02.c                |  588 -------
 arch/arm/mach-s3c/mach-h1940.c                |  809 ----------
 arch/arm/mach-s3c/mach-jive.c                 |  693 ---------
 arch/arm/mach-s3c/mach-mini2440.c             |  804 ----------
 arch/arm/mach-s3c/mach-n30.c                  |  682 ---------
 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-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-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-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-s3c24xx.h               |  159 --
 arch/arm/mach-s3c/nand-core-s3c24xx.h         |   24 -
 arch/arm/mach-s3c/osiris.h                    |   50 -
 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-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/regs-clock-s3c24xx.h        |  146 --
 arch/arm/mach-s3c/regs-dsc-s3c24xx.h          |   22 -
 arch/arm/mach-s3c/regs-gpio-s3c24xx.h         |  608 --------
 arch/arm/mach-s3c/regs-irq-s3c24xx.h          |   51 -
 arch/arm/mach-s3c/regs-mem-s3c24xx.h          |   53 -
 arch/arm/mach-s3c/regs-s3c2443-clock.h        |  238 ---
 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/setup-i2c-s3c24xx.c         |   23 -
 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/spi-core-s3c24xx.h          |   21 -
 arch/arm/mach-s3c/vr1000.h                    |  113 --
 drivers/soc/samsung/Kconfig                   |    4 -
 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 -
 126 files changed, 8 insertions(+), 21049 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/anubis.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/dma-s3c24xx.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-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-jive.c
 delete mode 100644 arch/arm/mach-s3c/mach-mini2440.c
 delete mode 100644 arch/arm/mach-s3c/mach-n30.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-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-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-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/osiris.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-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/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/setup-i2c-s3c24xx.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 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
Documentation/arm/index.rst +0 -1
index 8c636d4a061f..ae42fe886f0d 100644
@@ -64,7 +64,6 @@ SoC-specific documents
    sunxi
 
    samsung/index
-   samsung-s3c24xx/index
 
    sunxi/clocks
 
Documentation/arm/samsung-s3c24xx/cpufreq.rst deleted +0 -0
deleted file mode 100644
index cd22697cf606..000000000000
Documentation/arm/samsung-s3c24xx/eb2410itx.rst deleted +0 -0
deleted file mode 100644
index 7863c93652f8..000000000000
Documentation/arm/samsung-s3c24xx/gpio.rst deleted +0 -0
deleted file mode 100644
index f4a8c800a457..000000000000
Documentation/arm/samsung-s3c24xx/h1940.rst deleted +0 -0
deleted file mode 100644
index 62a562c178e3..000000000000
Documentation/arm/samsung-s3c24xx/index.rst deleted +0 -0
deleted file mode 100644
index ccb951a0bedb..000000000000
Documentation/arm/samsung-s3c24xx/nand.rst deleted +0 -0
deleted file mode 100644
index 938995694ee7..000000000000
Documentation/arm/samsung-s3c24xx/overview.rst deleted +0 -0
deleted file mode 100644
index 14535e5cffb7..000000000000
Documentation/arm/samsung-s3c24xx/s3c2412.rst deleted +0 -0
deleted file mode 100644
index 68b985fc6bf4..000000000000
Documentation/arm/samsung-s3c24xx/s3c2413.rst deleted +0 -0
deleted file mode 100644
index 1f51e207fc46..000000000000
Documentation/arm/samsung-s3c24xx/smdk2440.rst deleted +0 -0
deleted file mode 100644
index 524fd0b4afaf..000000000000
Documentation/arm/samsung-s3c24xx/suspend.rst deleted +0 -0
deleted file mode 100644
index b4f3ae9fe76e..000000000000
Documentation/arm/samsung-s3c24xx/usb-host.rst deleted +0 -0
deleted file mode 100644
index 7aaffac89e04..000000000000
Documentation/arm/samsung/overview.rst +0 -13
index e74307897416..8b15a190169b 100644
@@ -12,21 +12,10 @@ Introduction
 
   The currently supported SoCs are:
 
-  - S3C24XX: See Documentation/arm/samsung-s3c24xx/overview.rst for full list
   - S3C64XX: S3C6400 and S3C6410
   - S5PC110 / S5PV210
 
 
-S3C24XX Systems
----------------
-
-  There is still documentation in Documnetation/arm/Samsung-S3C24XX/ which
-  deals with the architecture and drivers specific to these devices.
-
-  See Documentation/arm/samsung-s3c24xx/overview.rst for more information
-  on the implementation details and specific support.
-
-
 Configuration
 -------------
 
@@ -51,8 +40,6 @@ Layout
   specific information. It contains the base clock, GPIO and device definitions
   to get the system running.
 
-  plat-s3c24xx is for s3c24xx specific builds, see the S3C24XX docs.
-
   plat-s5p is for s5p specific builds, and contains common support for the
   S5P specific systems. Not all S5Ps use all the features in this directory
   due to differences in the hardware.
MAINTAINERS +0 -16
index ec3d53b5e1d1..071d64e2a7ca 100644
@@ -2462,13 +2462,6 @@ L:	[email protected] (moderated for non-subscribers)
 S:	Maintained
 F:	arch/arm64/boot/dts/freescale/s32g*.dts*
 
-ARM/OPENMOKO NEO FREERUNNER (GTA02) MACHINE SUPPORT
-L:	[email protected] (subscribers-only)
-S:	Orphan
-W:	http://wiki.openmoko.org/wiki/Neo_FreeRunner
-F:	arch/arm/mach-s3c/gta02.h
-F:	arch/arm/mach-s3c/mach-gta02.c
-
 ARM/Orion SoC/Technologic Systems TS-78xx platform support
 M:	Alexander Clouter <[email protected]>
 L:	[email protected] (moderated for non-subscribers)
@@ -2649,7 +2642,6 @@ F:	include/linux/platform_data/*s3c*
 F:	include/linux/serial_s3c.h
 F:	include/linux/soc/samsung/
 N:	exynos
-N:	s3c2410
 N:	s3c64xx
 N:	s5pv210
 
@@ -18673,14 +18665,6 @@ M:	Simtec Linux Team <[email protected]>
 S:	Supported
 W:	http://www.simtec.co.uk/products/EB110ATX/
 
-SIMTEC EB2410ITX (BAST)
-M:	Simtec Linux Team <[email protected]>
-S:	Supported
-W:	http://www.simtec.co.uk/products/EB2410ITX/
-F:	arch/arm/mach-s3c/bast-ide.c
-F:	arch/arm/mach-s3c/bast-irq.c
-F:	arch/arm/mach-s3c/mach-bast.c
-
 SIOX
 M:	Thorsten Scherer <[email protected]>
 M:	Uwe Kleine-König <[email protected]>
arch/arm/Kconfig +1 -2
index c1614f91e04c..280701af4a01 100644
@@ -279,7 +279,6 @@ config PHYS_OFFSET
 	default DRAM_BASE if !MMU
 	default 0x00000000 if ARCH_FOOTBRIDGE
 	default 0x10000000 if ARCH_OMAP1 || ARCH_RPC
-	default 0x30000000 if ARCH_S3C24XX
 	default 0xa0000000 if ARCH_PXA
 	default 0xc0000000 if ARCH_EP93XX || ARCH_SA1100
 	default 0
@@ -1154,7 +1153,7 @@ config ARCH_NR_GPIO
 	default 1024 if ARCH_BRCMSTB || ARCH_RENESAS || ARCH_TEGRA || \
 		ARCH_ZYNQ || ARCH_ASPEED
 	default 512 if ARCH_EXYNOS || ARCH_KEYSTONE || SOC_OMAP5 || \
-		SOC_DRA7XX || ARCH_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210
+		SOC_DRA7XX || ARCH_S3C64XX || ARCH_S5PV210
 	default 416 if ARCH_SUNXI
 	default 392 if ARCH_U8500
 	default 352 if ARCH_VT8500
arch/arm/Kconfig.debug +4 -54
index 20312792340d..874551895181 100644
@@ -1006,7 +1006,6 @@ choice
 	config DEBUG_S3C_UART0
 		depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS
 		select DEBUG_EXYNOS_UART if ARCH_EXYNOS
-		select DEBUG_S3C24XX_UART if ARCH_S3C24XX
 		select DEBUG_S3C64XX_UART if ARCH_S3C64XX
 		select DEBUG_S5PV210_UART if ARCH_S5PV210
 		bool "Use Samsung S3C UART 0 for low-level debug"
@@ -1018,7 +1017,6 @@ choice
 	config DEBUG_S3C_UART1
 		depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS
 		select DEBUG_EXYNOS_UART if ARCH_EXYNOS
-		select DEBUG_S3C24XX_UART if ARCH_S3C24XX
 		select DEBUG_S3C64XX_UART if ARCH_S3C64XX
 		select DEBUG_S5PV210_UART if ARCH_S5PV210
 		bool "Use Samsung S3C UART 1 for low-level debug"
@@ -1030,7 +1028,6 @@ choice
 	config DEBUG_S3C_UART2
 		depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS
 		select DEBUG_EXYNOS_UART if ARCH_EXYNOS
-		select DEBUG_S3C24XX_UART if ARCH_S3C24XX
 		select DEBUG_S3C64XX_UART if ARCH_S3C64XX
 		select DEBUG_S5PV210_UART if ARCH_S5PV210
 		bool "Use Samsung S3C UART 2 for low-level debug"
@@ -1050,33 +1047,6 @@ choice
 		  their output to UART 3. The port must have been initialised
 		  by the boot-loader before use.
 
-	config DEBUG_S3C2410_UART0
-		depends on ARCH_S3C24XX
-		select DEBUG_S3C2410_UART
-		bool "Use S3C2410/S3C2412 UART 0 for low-level debug"
-		help
-		  Say Y here if you want the debug print routines to direct
-		  their output to UART 0. The port must have been initialised
-		  by the boot-loader before use.
-
-	config DEBUG_S3C2410_UART1
-		depends on ARCH_S3C24XX
-		select DEBUG_S3C2410_UART
-		bool "Use S3C2410/S3C2412 UART 1 for low-level debug"
-		help
-		  Say Y here if you want the debug print routines to direct
-		  their output to UART 1. The port must have been initialised
-		  by the boot-loader before use.
-
-	config DEBUG_S3C2410_UART2
-		depends on ARCH_S3C24XX
-		select DEBUG_S3C2410_UART
-		bool "Use S3C2410/S3C2412 UART 2 for low-level debug"
-		help
-		  Say Y here if you want the debug print routines to direct
-		  their output to UART 2. The port must have been initialised
-		  by the boot-loader before use.
-
 	config DEBUG_SA1100
 		depends on ARCH_SA1100
 		bool "Use SA1100 UARTs for low-level debug"
@@ -1439,13 +1409,6 @@ config DEBUG_AT91_UART
 config DEBUG_EXYNOS_UART
 	bool
 
-config DEBUG_S3C2410_UART
-	bool
-	select DEBUG_S3C24XX_UART
-
-config DEBUG_S3C24XX_UART
-	bool
-
 config DEBUG_S3C64XX_UART
 	bool
 
@@ -1453,8 +1416,7 @@ config DEBUG_S5PV210_UART
 	bool
 
 config DEBUG_S3C_UART
-	depends on DEBUG_S3C2410_UART || DEBUG_S3C24XX_UART || \
-		   DEBUG_S3C64XX_UART ||  DEBUG_S5PV210_UART || \
+	depends on DEBUG_S3C64XX_UART ||  DEBUG_S5PV210_UART || \
 		   DEBUG_EXYNOS_UART
 	int
 	default "0" if DEBUG_S3C_UART0
@@ -1555,7 +1517,7 @@ config DEBUG_LL_INCLUDE
 	default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA0
 	default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA1
 	default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA4
-	default "debug/s3c24xx.S" if DEBUG_S3C24XX_UART || DEBUG_S3C64XX_UART
+	default "debug/s3c24xx.S" if DEBUG_S3C64XX_UART
 	default "debug/s5pv210.S" if DEBUG_S5PV210_UART
 	default "debug/sti.S" if DEBUG_STIH41X_ASC2
 	default "debug/sti.S" if DEBUG_STIH41X_SBC_ASC1
@@ -1638,12 +1600,6 @@ config DEBUG_UART_PHYS
 	default 0x4806e000 if DEBUG_OMAP2UART3 || DEBUG_OMAP4UART4
 	default 0x49020000 if DEBUG_OMAP3UART3
 	default 0x49042000 if DEBUG_OMAP3UART4
-	default 0x50000000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART0 || \
-				DEBUG_S3C2410_UART0)
-	default 0x50004000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART1 || \
-				DEBUG_S3C2410_UART1)
-	default 0x50008000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART2 || \
-				DEBUG_S3C2410_UART2)
 	default 0x7c0003f8 if DEBUG_FOOTBRIDGE_COM1
 	default 0x7f005000 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART0
 	default 0x7f005400 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART1
@@ -1711,7 +1667,7 @@ config DEBUG_UART_PHYS
 		DEBUG_RCAR_GEN2_SCIF2 || DEBUG_RCAR_GEN2_SCIF4 || \
 		DEBUG_RCAR_GEN2_SCIFA2 || \
 		DEBUG_RMOBILE_SCIFA0 || DEBUG_RMOBILE_SCIFA1 || \
-		DEBUG_RMOBILE_SCIFA4 || DEBUG_S3C24XX_UART || \
+		DEBUG_RMOBILE_SCIFA4 || \
 		DEBUG_S3C64XX_UART || \
 		DEBUG_BCM63XX_UART || DEBUG_ASM9260_UART || \
 		DEBUG_DIGICOLOR_UA0 || \
@@ -1748,15 +1704,9 @@ config DEBUG_UART_VIRT
 	default 0xf6200000 if DEBUG_PXA_UART1
 	default 0xf7000000 if DEBUG_SUN9I_UART0
 	default 0xf7000000 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART0
-	default 0xf7000000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART0 || \
-				DEBUG_S3C2410_UART0)
 	default 0xf7000400 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART1
 	default 0xf7000800 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART2
 	default 0xf7000c00 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART3
-	default 0xf7004000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART1 || \
-				DEBUG_S3C2410_UART1)
-	default 0xf7008000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART2 || \
-				DEBUG_S3C2410_UART2)
 	default 0xf7020000 if DEBUG_AT91_SAMA5D2_UART1
 	default 0xf7fc9000 if DEBUG_BERLIN_UART
 	default 0xf8007000 if DEBUG_HIP04_UART
@@ -1820,7 +1770,7 @@ config DEBUG_UART_VIRT
 	default DEBUG_UART_PHYS if !MMU
 	depends on DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \
 		DEBUG_UART_8250 || DEBUG_UART_PL01X || DEBUG_MESON_UARTAO || \
-		DEBUG_QCOM_UARTDM || DEBUG_S3C24XX_UART || \
+		DEBUG_QCOM_UARTDM || \
 		DEBUG_S3C64XX_UART || \
 		DEBUG_BCM63XX_UART || DEBUG_ASM9260_UART || \
 		DEBUG_DIGICOLOR_UA0 || \
arch/arm/Makefile +0 -2
index 1a62035d1207..129162244c68 100644
@@ -143,8 +143,6 @@ CHECKFLAGS	+= -D__arm__
 # during boot, and this offset is critical to the functioning of
 # kexec-tools.
 textofs-y	:= 0x00008000
-# We don't want the htc bootloader to corrupt kernel during resume
-textofs-$(CONFIG_PM_H1940)      := 0x00108000
 # RTD1195 has Boot ROM at start of address space
 textofs-$(CONFIG_ARCH_REALTEK)  := 0x00108000
 # SA1111 DMA bug: we don't want the kernel to live in precious DMA-able memory
arch/arm/boot/dts/Makefile +0 -2
index 6aa7dc4db2fc..f0699ec7da2f 100644
@@ -1156,8 +1156,6 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += \
 	rk3288-veyron-speedy.dtb \
 	rk3288-veyron-tiger.dtb \
 	rk3288-vyasa.dtb
-dtb-$(CONFIG_ARCH_S3C24XX) += \
-	s3c2416-smdk2416.dtb
 dtb-$(CONFIG_ARCH_S3C64XX) += \
 	s3c6410-mini6410.dtb \
 	s3c6410-smdk6410.dtb
arch/arm/boot/dts/s3c2410-pinctrl.h deleted +0 -0
deleted file mode 100644
index 76b6171ae149..000000000000
arch/arm/boot/dts/s3c2416-pinctrl.dtsi deleted +0 -0
deleted file mode 100644
index 3268366bd8bc..000000000000
arch/arm/boot/dts/s3c2416-smdk2416.dts deleted +0 -0
deleted file mode 100644
index e7c379a9842e..000000000000
arch/arm/boot/dts/s3c2416.dtsi deleted +0 -0
deleted file mode 100644
index 4660751cb207..000000000000
arch/arm/boot/dts/s3c24xx.dtsi deleted +0 -0
deleted file mode 100644
index 06f82c7e458e..000000000000
arch/arm/configs/mini2440_defconfig deleted +0 -0
deleted file mode 100644
index 86e00f684e16..000000000000
arch/arm/configs/s3c2410_defconfig deleted +0 -0
deleted file mode 100644
index 41b40863a78e..000000000000
arch/arm/configs/tct_hammer_defconfig deleted +0 -0
deleted file mode 100644
index 3b29ae1fb750..000000000000
arch/arm/mach-s3c/Kconfig +3 -24
index a64143574546..809f84fca0b8 100644
@@ -2,13 +2,10 @@
 #
 # Copyright 2009 Simtec Electronics
 
-source "arch/arm/mach-s3c/Kconfig.s3c24xx"
 source "arch/arm/mach-s3c/Kconfig.s3c64xx"
 
 config PLAT_SAMSUNG
-	bool
-	depends on PLAT_S3C24XX || ARCH_S3C64XX
-	default y
+	def_bool ARCH_S3C64XX
 	select GENERIC_IRQ_CHIP
 	select NO_IOPORT_MAP
 	select SOC_SAMSUNG
@@ -16,9 +13,8 @@ config PLAT_SAMSUNG
 	  Base platform code for all Samsung SoC based systems
 
 config SAMSUNG_PM
-	bool
-	depends on PM && (PLAT_S3C24XX || ARCH_S3C64XX)
-	default y
+	def_bool ARCH_S3C64XX
+	depends on PM
 	help
 	  Base platform power management code for samsung code
 
@@ -99,11 +95,6 @@ config S3C_DEV_HSMMC3
 	help
 	  Compile in platform device definitions for HSMMC channel 3
 
-config S3C_DEV_HWMON
-	bool
-	help
-	  Compile in platform device definitions for HWMON
-
 config S3C_DEV_I2C1
 	bool
 	help
@@ -156,7 +147,6 @@ config S3C_DEV_USB_HSOTG
 
 config S3C_DEV_WDT
 	bool
-	default y if ARCH_S3C24XX
 	help
 	  Compile in platform device definition for Watchdog Timer
 
@@ -180,22 +170,12 @@ config SAMSUNG_DEV_ADC
 	help
 	  Compile in platform device definition for ADC controller
 
-config SAMSUNG_DEV_IDE
-	bool
-	help
-	  Compile in platform device definitions for IDE
-
 config S3C64XX_DEV_SPI0
 	bool
 	help
 	  Compile in platform device definitions for S3C64XX's type
 	  SPI controller 0
 
-config SAMSUNG_DEV_TS
-	bool
-	help
-	  Common in platform device definitions for touchscreen device
-
 config SAMSUNG_DEV_KEYPAD
 	bool
 	help
@@ -203,7 +183,6 @@ config SAMSUNG_DEV_KEYPAD
 
 config SAMSUNG_DEV_PWM
 	bool
-	default y if ARCH_S3C24XX
 	help
 	  Compile in platform device definition for PWM Timer
 
arch/arm/mach-s3c/Kconfig.s3c24xx deleted +0 -0
deleted file mode 100644
index 7287e173f30e..000000000000
arch/arm/mach-s3c/Makefile +0 -4
index 7c7d3318fd61..e7f18039b149 100644
@@ -2,10 +2,6 @@
 #
 # Copyright 2009 Simtec Electronics
 
-ifdef CONFIG_ARCH_S3C24XX
-include $(src)/Makefile.s3c24xx
-endif
-
 ifdef CONFIG_ARCH_S3C64XX
 include $(src)/Makefile.s3c64xx
 endif
arch/arm/mach-s3c/Makefile.s3c24xx deleted +0 -0
deleted file mode 100644
index 3483ab3a2b81..000000000000
arch/arm/mach-s3c/anubis.h deleted +0 -0
deleted file mode 100644
index 13847292e6c7..000000000000
arch/arm/mach-s3c/bast-ide.c deleted +0 -0
deleted file mode 100644
index 67f0adc1fec0..000000000000
arch/arm/mach-s3c/bast-irq.c deleted +0 -0
deleted file mode 100644
index cfc2ddc65513..000000000000
arch/arm/mach-s3c/bast.h deleted +0 -0
deleted file mode 100644
index a7726f93f5eb..000000000000
arch/arm/mach-s3c/common-smdk-s3c24xx.c deleted +0 -0
deleted file mode 100644
index 6d124bbd384c..000000000000
arch/arm/mach-s3c/common-smdk-s3c24xx.h deleted +0 -0
deleted file mode 100644
index c0352b06e435..000000000000
arch/arm/mach-s3c/cpufreq-utils-s3c24xx.c deleted +0 -0
deleted file mode 100644
index c1784d8facdf..000000000000
arch/arm/mach-s3c/dma-s3c24xx.h deleted +0 -0
deleted file mode 100644
index 25fc9c258fc1..000000000000
arch/arm/mach-s3c/fb-core-s3c24xx.h deleted +0 -0
deleted file mode 100644
index 0e07f3ba4aef..000000000000
arch/arm/mach-s3c/gpio-samsung-s3c24xx.h deleted +0 -0
deleted file mode 100644
index c29fdc95f883..000000000000
arch/arm/mach-s3c/gta02.h deleted +0 -0
deleted file mode 100644
index 043ae382bfc5..000000000000
arch/arm/mach-s3c/h1940-bluetooth.c deleted +0 -0
deleted file mode 100644
index 59edcf8a620d..000000000000
arch/arm/mach-s3c/h1940.h deleted +0 -0
deleted file mode 100644
index 5dfe9d10cd15..000000000000
arch/arm/mach-s3c/hardware-s3c24xx.h deleted +0 -0
deleted file mode 100644
index 33b37467d05f..000000000000
arch/arm/mach-s3c/iotiming-s3c2410.c deleted +0 -0
deleted file mode 100644
index 09f388d8f824..000000000000
arch/arm/mach-s3c/iotiming-s3c2412.c deleted +0 -0
deleted file mode 100644
index 003f89c4dc53..000000000000
arch/arm/mach-s3c/irq-pm-s3c24xx.c deleted +0 -0
deleted file mode 100644
index 55f41135ad70..000000000000
arch/arm/mach-s3c/irq-s3c24xx-fiq-exports.c deleted +0 -0
deleted file mode 100644
index 84cf86376ded..000000000000
arch/arm/mach-s3c/irq-s3c24xx-fiq.S deleted +0 -0
deleted file mode 100644
index 5d238d9a798e..000000000000
arch/arm/mach-s3c/irq-s3c24xx.c deleted +0 -0
deleted file mode 100644
index 088cc04b7431..000000000000
arch/arm/mach-s3c/irqs-s3c24xx.h deleted +0 -0
deleted file mode 100644
index fecbf7e440c6..000000000000
arch/arm/mach-s3c/mach-amlm5900.c deleted +0 -0
deleted file mode 100644
index f85e5885e9b4..000000000000
arch/arm/mach-s3c/mach-anubis.c deleted +0 -0
deleted file mode 100644
index 4536f3e66e27..000000000000
arch/arm/mach-s3c/mach-at2440evb.c deleted +0 -0
deleted file mode 100644
index 743403d873e0..000000000000
arch/arm/mach-s3c/mach-bast.c deleted +0 -0
deleted file mode 100644
index a33ceab81e09..000000000000
arch/arm/mach-s3c/mach-gta02.c deleted +0 -0
deleted file mode 100644
index d50a81d85ae1..000000000000
arch/arm/mach-s3c/mach-h1940.c deleted +0 -0
deleted file mode 100644
index 83ac6cfdb1d8..000000000000
arch/arm/mach-s3c/mach-jive.c deleted +0 -0
deleted file mode 100644
index 16859bb3bb13..000000000000
arch/arm/mach-s3c/mach-mini2440.c deleted +0 -0
deleted file mode 100644
index 283be70ca622..000000000000
arch/arm/mach-s3c/mach-n30.c deleted +0 -0
deleted file mode 100644
index 90122fc6b2aa..000000000000
arch/arm/mach-s3c/mach-nexcoder.c deleted +0 -0
deleted file mode 100644
index d17a3fcb7425..000000000000
arch/arm/mach-s3c/mach-osiris-dvs.c deleted +0 -0
deleted file mode 100644
index 2e283aedab65..000000000000
arch/arm/mach-s3c/mach-osiris.c deleted +0 -0
deleted file mode 100644
index d900d1354de1..000000000000
arch/arm/mach-s3c/mach-otom.c deleted +0 -0
deleted file mode 100644
index 3a2db2f58833..000000000000
arch/arm/mach-s3c/mach-qt2410.c deleted +0 -0
deleted file mode 100644
index 36fe0684a438..000000000000
arch/arm/mach-s3c/mach-rx1950.c deleted +0 -0
deleted file mode 100644
index d8c49e562660..000000000000
arch/arm/mach-s3c/mach-rx3715.c deleted +0 -0
deleted file mode 100644
index 52b3c38acbb2..000000000000
arch/arm/mach-s3c/mach-s3c2416-dt.c deleted +0 -0
deleted file mode 100644
index 418544d3015d..000000000000
arch/arm/mach-s3c/mach-smdk2410.c deleted +0 -0
deleted file mode 100644
index 76b0a8846616..000000000000
arch/arm/mach-s3c/mach-smdk2413.c deleted +0 -0
deleted file mode 100644
index 2b4e20aaa346..000000000000
arch/arm/mach-s3c/mach-smdk2416.c deleted +0 -0
deleted file mode 100644
index 329fe26be268..000000000000
arch/arm/mach-s3c/mach-smdk2440.c deleted +0 -0
deleted file mode 100644
index 6aea769ebde1..000000000000
arch/arm/mach-s3c/mach-smdk2443.c deleted +0 -0
deleted file mode 100644
index 075140f8f760..000000000000
arch/arm/mach-s3c/mach-tct_hammer.c deleted +0 -0
deleted file mode 100644
index 93ab1abd8bd3..000000000000
arch/arm/mach-s3c/mach-vr1000.c deleted +0 -0
deleted file mode 100644
index c85033e6ef8f..000000000000
arch/arm/mach-s3c/mach-vstms.c deleted +0 -0
deleted file mode 100644
index 6f878418be3e..000000000000
arch/arm/mach-s3c/map-s3c24xx.h deleted +0 -0
deleted file mode 100644
index f8d075b11d6f..000000000000
arch/arm/mach-s3c/nand-core-s3c24xx.h deleted +0 -0
deleted file mode 100644
index a14316729c48..000000000000
arch/arm/mach-s3c/osiris.h deleted +0 -0
deleted file mode 100644
index b6c9c5ed2ba7..000000000000
arch/arm/mach-s3c/pll-s3c2410.c deleted +0 -0
deleted file mode 100644
index 3fbc99eaa4a2..000000000000
arch/arm/mach-s3c/pll-s3c2440-12000000.c deleted +0 -0
deleted file mode 100644
index fdb8e8c2fe3b..000000000000
arch/arm/mach-s3c/pll-s3c2440-16934400.c deleted +0 -0
deleted file mode 100644
index 438b6fc099a4..000000000000
arch/arm/mach-s3c/pm-core-s3c24xx.h deleted +0 -0
deleted file mode 100644
index a71ed5711019..000000000000
arch/arm/mach-s3c/pm-h1940.S deleted +0 -0
deleted file mode 100644
index 3bf6685123cb..000000000000
arch/arm/mach-s3c/pm-s3c2410.c deleted +0 -0
deleted file mode 100644
index a66419883735..000000000000
arch/arm/mach-s3c/pm-s3c2412.c deleted +0 -0
deleted file mode 100644
index ed3b4cfc7c0f..000000000000
arch/arm/mach-s3c/pm-s3c2416.c deleted +0 -0
deleted file mode 100644
index f69ad84cf4ff..000000000000
arch/arm/mach-s3c/pm-s3c24xx.c deleted +0 -0
deleted file mode 100644
index 3a8f5c38882e..000000000000
arch/arm/mach-s3c/regs-clock-s3c24xx.h deleted +0 -0
deleted file mode 100644
index 933ddb5eedec..000000000000
arch/arm/mach-s3c/regs-dsc-s3c24xx.h deleted +0 -0
deleted file mode 100644
index 8b8b572aef04..000000000000
arch/arm/mach-s3c/regs-gpio-s3c24xx.h deleted +0 -0
deleted file mode 100644
index 9a7e262268a7..000000000000
arch/arm/mach-s3c/regs-irq-s3c24xx.h deleted +0 -0
deleted file mode 100644
index c0b97b203415..000000000000
arch/arm/mach-s3c/regs-mem-s3c24xx.h deleted +0 -0
deleted file mode 100644
index 8fed34a1672a..000000000000
arch/arm/mach-s3c/regs-s3c2443-clock.h deleted +0 -0
deleted file mode 100644
index b3b670d463db..000000000000
arch/arm/mach-s3c/rtc-core-s3c24xx.h deleted +0 -0
deleted file mode 100644
index e7258b2423fc..000000000000
arch/arm/mach-s3c/s3c2410.c deleted +0 -0
deleted file mode 100644
index 4d39d9939c2f..000000000000
arch/arm/mach-s3c/s3c2412-power.h deleted +0 -0
deleted file mode 100644
index 0031cfaa1d76..000000000000
arch/arm/mach-s3c/s3c2412.c deleted +0 -0
deleted file mode 100644
index 0b1ca78c9d2a..000000000000
arch/arm/mach-s3c/s3c2412.h deleted +0 -0
deleted file mode 100644
index ed09a0e13bd8..000000000000
arch/arm/mach-s3c/s3c2416.c deleted +0 -0
deleted file mode 100644
index 126e6ed29713..000000000000
arch/arm/mach-s3c/s3c2440.c deleted +0 -0
deleted file mode 100644
index c6cdee4987e8..000000000000
arch/arm/mach-s3c/s3c2442.c deleted +0 -0
deleted file mode 100644
index 0c0e30b6688f..000000000000
arch/arm/mach-s3c/s3c2443.c deleted +0 -0
deleted file mode 100644
index 05c3c298b9f8..000000000000
arch/arm/mach-s3c/s3c244x.c deleted +0 -0
deleted file mode 100644
index 95df3491e650..000000000000
arch/arm/mach-s3c/s3c24xx.c deleted +0 -0
deleted file mode 100644
index 819a95364af9..000000000000
arch/arm/mach-s3c/s3c24xx.h deleted +0 -0
deleted file mode 100644
index 34dd4ac507e9..000000000000
arch/arm/mach-s3c/setup-i2c-s3c24xx.c deleted +0 -0
deleted file mode 100644
index 0d88366b234c..000000000000
arch/arm/mach-s3c/setup-sdhci-gpio-s3c24xx.c deleted +0 -0
deleted file mode 100644
index 02131b3a731d..000000000000
arch/arm/mach-s3c/setup-spi-s3c24xx.c deleted +0 -0
deleted file mode 100644
index 93fa1bbc9d5c..000000000000
arch/arm/mach-s3c/setup-ts-s3c24xx.c deleted +0 -0
deleted file mode 100644
index 57363eaeb7e8..000000000000
arch/arm/mach-s3c/simtec-audio.c deleted +0 -0
deleted file mode 100644
index 487485bcc2ab..000000000000
arch/arm/mach-s3c/simtec-nor.c deleted +0 -0
deleted file mode 100644
index a6fba056a747..000000000000
arch/arm/mach-s3c/simtec-pm.c deleted +0 -0
deleted file mode 100644
index 490256a766e2..000000000000
arch/arm/mach-s3c/simtec-usb.c deleted +0 -0
deleted file mode 100644
index 76cedb5c7373..000000000000
arch/arm/mach-s3c/simtec.h deleted +0 -0
deleted file mode 100644
index d96bd60872b8..000000000000
arch/arm/mach-s3c/sleep-s3c2410.S deleted +0 -0
deleted file mode 100644
index 04aded98782b..000000000000
arch/arm/mach-s3c/sleep-s3c2412.S deleted +0 -0
deleted file mode 100644
index b4b61737fbb2..000000000000
arch/arm/mach-s3c/sleep-s3c24xx.S deleted +0 -0
deleted file mode 100644
index 4b2af91f3dce..000000000000
arch/arm/mach-s3c/spi-core-s3c24xx.h deleted +0 -0
deleted file mode 100644
index 919c5fd0c9af..000000000000
arch/arm/mach-s3c/vr1000.h deleted +0 -0
deleted file mode 100644
index 3cfa296bec2a..000000000000
drivers/soc/samsung/Kconfig +0 -4
index 02e319508cc6..b4f538d7412f 100644
@@ -85,8 +85,6 @@ config SAMSUNG_PM_CHECK
 	  Note, this can take several seconds depending on memory size
 	  and CPU speed.
 
-	  See <file:Documentation/arm/samsung-s3c24xx/suspend.rst>
-
 config SAMSUNG_PM_CHECK_CHUNKSIZE
 	int "S3C2410 PM Suspend CRC Chunksize (KiB)"
 	depends on PM && SAMSUNG_PM_CHECK
@@ -97,8 +95,6 @@ config SAMSUNG_PM_CHECK_CHUNKSIZE
 	  the CRC data block will take more memory, but will identify any
 	  faults with better precision.
 
-	  See <file:Documentation/arm/samsung-s3c24xx/suspend.rst>
-
 config EXYNOS_REGULATOR_COUPLER
 	bool "Exynos SoC Regulator Coupler" if COMPILE_TEST
 	depends on ARCH_EXYNOS || COMPILE_TEST
include/dt-bindings/clock/s3c2410.h deleted +0 -0
deleted file mode 100644
index 0fb65c3f2f59..000000000000
include/dt-bindings/clock/s3c2412.h deleted +0 -0
deleted file mode 100644
index b4656156cc0f..000000000000
include/dt-bindings/clock/s3c2443.h deleted +0 -0
deleted file mode 100644
index a9d2f105d536..000000000000
include/linux/amba/pl093.h deleted +0 -0
deleted file mode 100644
index b17166e3b49a..000000000000
maintainer
#3 lore raw

Re: [PATCH 01/21] ARM: s3c: remove all s3c24xx support

Quoted 21 lines · Heiko Stübner

Am Freitag, 21. Oktober 2022, 22:27:34 CEST schrieb Arnd Bergmann:

Quoted 7 lines

From: Arnd Bergmann <[email protected]>

The platform was deprecated in commit 6a5e69c7ddea ("ARM: s3c: mark as deprecated and schedule removal") and can be removed. This includes all files that are exclusively for s3c24xx and not shared with s3c64xx, as well as the glue logic in Kconfig and the maintainer file entries.

Quoted 8 lines
Cc Arnaud Patard <[email protected]>
Cc Ben Dooks <[email protected]>
Cc Christer Weinigel <[email protected]>
Cc Guillaume GOURAT <[email protected]>
Cc Heiko Stuebner <[email protected]>
Cc Simtec Linux Team <[email protected]>

So many memories of me starting out in the kernel on s3c24xx. But it's no use trying to keep stuff around that nobody will likely ever use again. So with a sad face

Quoted 5 lines

though you might want to also include

	drivers/dma/s3c24xx-dma.c

This was in a separate patch that removes the driver:

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

In the first patch, I only include references to removed Kconfig symbols that would not make sense to split out into separate patches.

Arnd

#4 lore raw

Re: [PATCH 01/21] ARM: s3c: remove all s3c24xx support

Am Montag, 24. Oktober 2022, 16:27:31 CEST schrieb Arnd Bergmann:

Quoted 25 lines · Heiko Stübner
Quoted 24 lines

Am Freitag, 21. Oktober 2022, 22:27:34 CEST schrieb Arnd Bergmann:

Quoted 7 lines

From: Arnd Bergmann <[email protected]>

The platform was deprecated in commit 6a5e69c7ddea ("ARM: s3c: mark as deprecated and schedule removal") and can be removed. This includes all files that are exclusively for s3c24xx and not shared with s3c64xx, as well as the glue logic in Kconfig and the maintainer file entries.

Quoted 8 lines
Cc Arnaud Patard <[email protected]>
Cc Ben Dooks <[email protected]>
Cc Christer Weinigel <[email protected]>
Cc Guillaume GOURAT <[email protected]>
Cc Heiko Stuebner <[email protected]>
Cc Simtec Linux Team <[email protected]>

So many memories of me starting out in the kernel on s3c24xx. But it's no use trying to keep stuff around that nobody will likely ever use again. So with a sad face

Quoted 6 lines
Quoted 2 lines

though you might want to also include

	drivers/dma/s3c24xx-dma.c

This was in a separate patch that removes the driver:

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

ah ok, I guess git-send-email didn't want to send me that patch. So all is good in that part then :-)

Heiko

Acked-by on v1 1/21
#5 lore raw

Re: [PATCH 01/21] ARM: s3c: remove all s3c24xx support

In reply to Arnd Bergmann
Quoted 15 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The platform was deprecated in commit 6a5e69c7ddea ("ARM: s3c: mark as deprecated and schedule removal") and can be removed. This includes all files that are exclusively for s3c24xx and not shared with s3c64xx, as well as the glue logic in Kconfig and the maintainer file entries.

Cc Arnaud Patard <[email protected]>
Cc Ben Dooks <[email protected]>
Cc Christer Weinigel <[email protected]>
Cc Guillaume GOURAT <[email protected]>
Cc Heiko Stuebner <[email protected]>
Cc Simtec Linux Team <[email protected]>
Quoted 1 line

---

Best regards,
Krzysztof

maintainer Acked-by on v1 1/21
#6 lore raw

Re: [PATCH 01/21] ARM: s3c: remove all s3c24xx support

In reply to Arnd Bergmann

Quoting Arnd Bergmann (2022-10-21 13:27:34)

Quoted 15 lines

From: Arnd Bergmann <[email protected]>

The platform was deprecated in commit 6a5e69c7ddea ("ARM: s3c: mark as deprecated and schedule removal") and can be removed. This includes all files that are exclusively for s3c24xx and not shared with s3c64xx, as well as the glue logic in Kconfig and the maintainer file entries.

Cc Arnaud Patard <[email protected]>
Cc Ben Dooks <[email protected]>
Cc Christer Weinigel <[email protected]>
Cc Guillaume GOURAT <[email protected]>
Cc Heiko Stuebner <[email protected]>
Cc Simtec Linux Team <[email protected]>
Quoted 1 line

---

#7 lore raw

PATCH 2/21 ARM: s3c: remove s3c24xx specific hacks

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

A number of device drivers reference CONFIG_ARM_S3C24XX_CPUFREQ or similar symbols that are no longer available with the platform gone, though the drivers themselves are still used on newer platforms, so remove these hacks.

---
 arch/arm/include/debug/s3c24xx.S              |  10 -
 arch/arm/mach-s3c/Makefile                    |   2 -
 arch/arm/mach-s3c/devs.c                      |   1 -
 arch/arm/mach-s3c/dma.h                       |   7 -
 arch/arm/mach-s3c/gpio-samsung.h              |   7 -
 arch/arm/mach-s3c/irqs.h                      |   7 -
 arch/arm/mach-s3c/map.h                       |   7 -
 arch/arm/mach-s3c/pm-core.h                   |   7 -
 arch/arm/mach-s3c/regs-clock.h                |   7 -
 arch/arm/mach-s3c/regs-gpio.h                 |   7 -
 arch/arm/mach-s3c/regs-irq.h                  |   7 -
 drivers/clocksource/Kconfig                   |   2 +-
 drivers/i2c/busses/Kconfig                    |   3 +-
 drivers/i2c/busses/i2c-s3c2410.c              |  72 -------
 drivers/iio/adc/Kconfig                       |   6 +-
 .../media/platform/samsung/s3c-camif/Kconfig  |   8 +-
 drivers/mmc/host/Kconfig                      |   5 +-
 drivers/mtd/nand/raw/Kconfig                  |   2 +-
 drivers/mtd/nand/raw/s3c2410.c                |  60 ------
 drivers/pinctrl/samsung/pinctrl-samsung.c     |  10 -
 drivers/rtc/Kconfig                           |   8 +-
 drivers/tty/serial/Kconfig                    |   8 +-
 drivers/tty/serial/samsung_tty.c              | 199 ------------------
 drivers/usb/host/Kconfig                      |   8 +-
 drivers/watchdog/Kconfig                      |   9 +-
 drivers/watchdog/s3c2410_wdt.c                |  84 +-------
 include/linux/clk/samsung.h                   |  32 ---
 include/linux/soc/samsung/s3c-pm.h            |  58 -----
 28 files changed, 29 insertions(+), 614 deletions(-)
arch/arm/include/debug/s3c24xx.S +0 -10
index af873b526677..7ab5e577cd42 100644
@@ -28,16 +28,6 @@
 		and	\rd, \rd, #S3C2410_UFSTAT_TXMASK
 	.endm
 
-/* Select the correct implementation depending on the configuration. The
- * S3C2440 will get selected by default, as these are the most widely
- * used variants of these
-*/
-
-#if defined(CONFIG_DEBUG_S3C2410_UART)
-#define fifo_full  fifo_full_s3c2410
-#define fifo_level fifo_level_s3c2410
-#endif
-
 /* include the reset of the code which will do the work */
 
 #include <debug/samsung.S>
arch/arm/mach-s3c/Makefile +0 -2
index e7f18039b149..a5135137e648 100644
@@ -2,9 +2,7 @@
 #
 # Copyright 2009 Simtec Electronics
 
-ifdef CONFIG_ARCH_S3C64XX
 include $(src)/Makefile.s3c64xx
-endif
 
 # Objects we always build independent of SoC choice
 
arch/arm/mach-s3c/devs.c +0 -1
index 9ac07c023adf..a31d1c3038e8 100644
@@ -29,7 +29,6 @@
 #include <linux/sizes.h>
 #include <linux/platform_data/s3c-hsudc.h>
 #include <linux/platform_data/s3c-hsotg.h>
-#include <linux/platform_data/dma-s3c24xx.h>
 
 #include <linux/platform_data/media/s5p_hdmi.h>
 
arch/arm/mach-s3c/dma.h +0 -7
index 59a4578c5f00..48057cb90070 100644
@@ -1,9 +1,2 @@
 /* SPDX-License-Identifier: GPL-2.0 */
-
-#ifdef CONFIG_ARCH_S3C24XX
-#include "dma-s3c24xx.h"
-#endif
-
-#ifdef CONFIG_ARCH_S3C64XX
 #include "dma-s3c64xx.h"
-#endif
arch/arm/mach-s3c/gpio-samsung.h +0 -7
index 02f6f4a96862..4233515eddaa 100644
@@ -1,9 +1,2 @@
 /* SPDX-License-Identifier: GPL-2.0 */
-
-#ifdef CONFIG_ARCH_S3C24XX
-#include "gpio-samsung-s3c24xx.h"
-#endif
-
-#ifdef CONFIG_ARCH_S3C64XX
 #include "gpio-samsung-s3c64xx.h"
-#endif
arch/arm/mach-s3c/irqs.h +0 -7
index 0bff1c1c8eb0..3ff0e0963080 100644
@@ -1,9 +1,2 @@
 /* SPDX-License-Identifier: GPL-2.0 */
-
-#ifdef CONFIG_ARCH_S3C24XX
-#include "irqs-s3c24xx.h"
-#endif
-
-#ifdef CONFIG_ARCH_S3C64XX
 #include "irqs-s3c64xx.h"
-#endif
arch/arm/mach-s3c/map.h +0 -7
index 7cfb517d4886..778d6f81cb2b 100644
@@ -1,9 +1,2 @@
 /* SPDX-License-Identifier: GPL-2.0 */
-
-#ifdef CONFIG_ARCH_S3C24XX
-#include "map-s3c24xx.h"
-#endif
-
-#ifdef CONFIG_ARCH_S3C64XX
 #include "map-s3c64xx.h"
-#endif
arch/arm/mach-s3c/pm-core.h +0 -7
index b0e1d277f599..3e0c2df79120 100644
@@ -1,9 +1,2 @@
 /* SPDX-License-Identifier: GPL-2.0 */
-
-#ifdef CONFIG_ARCH_S3C24XX
-#include "pm-core-s3c24xx.h"
-#endif
-
-#ifdef CONFIG_ARCH_S3C64XX
 #include "pm-core-s3c64xx.h"
-#endif
arch/arm/mach-s3c/regs-clock.h +0 -7
index 7df31f203d28..fc7e3886b07c 100644
@@ -1,9 +1,2 @@
 /* SPDX-License-Identifier: GPL-2.0 */
-
-#ifdef CONFIG_ARCH_S3C24XX
-#include "regs-clock-s3c24xx.h"
-#endif
-
-#ifdef CONFIG_ARCH_S3C64XX
 #include "regs-clock-s3c64xx.h"
-#endif
arch/arm/mach-s3c/regs-gpio.h +0 -7
index 0d41cb76d440..4e08e8609663 100644
@@ -1,9 +1,2 @@
 /* SPDX-License-Identifier: GPL-2.0 */
-
-#ifdef CONFIG_ARCH_S3C24XX
-#include "regs-gpio-s3c24xx.h"
-#endif
-
-#ifdef CONFIG_ARCH_S3C64XX
 #include "regs-gpio-s3c64xx.h"
-#endif
arch/arm/mach-s3c/regs-irq.h +0 -7
index 57f0dda8dbf5..4243daa54bd1 100644
@@ -1,9 +1,2 @@
 /* SPDX-License-Identifier: GPL-2.0 */
-
-#ifdef CONFIG_ARCH_S3C24XX
-#include "regs-irq-s3c24xx.h"
-#endif
-
-#ifdef CONFIG_ARCH_S3C64XX
 #include "regs-irq-s3c64xx.h"
-#endif
drivers/clocksource/Kconfig +1 -1
index 4469e7f555e9..fc10ecc3602d 100644
@@ -441,7 +441,7 @@ config CLKSRC_EXYNOS_MCT
 config CLKSRC_SAMSUNG_PWM
 	bool "PWM timer driver for Samsung S3C, S5P" if COMPILE_TEST
 	depends on HAS_IOMEM
-	depends on ARCH_EXYNOS || ARCH_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210 || COMPILE_TEST
+	depends on ARCH_EXYNOS || ARCH_S3C64XX || ARCH_S5PV210 || COMPILE_TEST
 	help
 	  This is a new clocksource driver for the PWM timer found in
 	  Samsung S3C, S5P and Exynos SoCs, replacing an earlier driver
drivers/i2c/busses/Kconfig +1 -2
index f427c8ea5c7b..84d21e0a7cdf 100644
@@ -1009,8 +1009,7 @@ config I2C_RZV2M
 
 config I2C_S3C2410
 	tristate "S3C/Exynos I2C Driver"
-	depends on ARCH_EXYNOS || ARCH_S3C24XX || ARCH_S3C64XX || \
-		   ARCH_S5PV210 || COMPILE_TEST
+	depends on ARCH_EXYNOS || ARCH_S3C64XX || ARCH_S5PV210 || COMPILE_TEST
 	help
 	  Say Y here to include support for I2C controller in the
 	  Samsung SoCs (S3C, S5Pv210, Exynos).
drivers/i2c/busses/i2c-s3c2410.c +0 -72

102 lines not on this page · raw message

drivers/iio/adc/Kconfig +3 -3
index 791612ca6012..9de7f05d40e2 100644
@@ -437,11 +437,11 @@ config EP93XX_ADC
 
 config EXYNOS_ADC
 	tristate "Exynos ADC driver support"
-	depends on ARCH_EXYNOS || ARCH_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210 || (OF && COMPILE_TEST)
+	depends on ARCH_EXYNOS || ARCH_S3C64XX || ARCH_S5PV210 || (OF && COMPILE_TEST)
 	depends on HAS_IOMEM
 	help
-	  Driver for the ADC block found in the Samsung S3C (S3C2410, S3C2416,
-	  S3C2440, S3C2443, S3C6410), S5Pv210 and Exynos SoCs.
+	  Driver for the ADC block found in the Samsung S3C6410, S5Pv210 and
+	  Exynos SoCs.
 	  Choose Y here only if you build for such Samsung SoC.
 
 	  To compile this driver as a module, choose M here: the module will be
drivers/media/platform/samsung/s3c-camif/Kconfig +4 -4
index 8cb8d1ac3edc..f359f6382fff 100644
@@ -1,15 +1,15 @@
 # SPDX-License-Identifier: GPL-2.0-only
 config VIDEO_S3C_CAMIF
-	tristate "Samsung S3C24XX/S3C64XX SoC Camera Interface driver"
+	tristate "Samsung 3C64XX SoC Camera Interface driver"
 	depends on V4L_PLATFORM_DRIVERS
 	depends on VIDEO_DEV && I2C && PM
-	depends on ARCH_S3C64XX || PLAT_S3C24XX || COMPILE_TEST
+	depends on ARCH_S3C64XX || COMPILE_TEST
 	select MEDIA_CONTROLLER
 	select VIDEO_V4L2_SUBDEV_API
 	select VIDEOBUF2_DMA_CONTIG
 	help
-	  This is a v4l2 driver for s3c24xx and s3c64xx SoC series camera
-	  host interface (CAMIF).
+	  This is a v4l2 driver for s3c64xx SoC series camera host interface
+	  (CAMIF).
 
 	  To compile this driver as a module, choose M here: the module
 	  will be called s3c-camif.
drivers/mmc/host/Kconfig +2 -3
index 84dd37ff2735..79d8ddf1f616 100644
@@ -312,9 +312,8 @@ config MMC_SDHCI_S3C
 	depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
 	help
 	  This selects the Secure Digital Host Controller Interface (SDHCI)
-	  often referrered to as the HSMMC block in some of the Samsung S3C
-	  (S3C2416, S3C2443, S3C6410), S5Pv210 and Exynos (Exynso4210,
-	  Exynos4412) SoCs.
+	  often referrered to as the HSMMC block in some of the Samsung
+	  S3C6410, S5Pv210 and Exynos (Exynso4210, Exynos4412) SoCs.
 
 	  If you have a controller with this interface (thereforeyou build for
 	  such Samsung SoC), say Y or M here.
drivers/mtd/nand/raw/Kconfig +1 -1
index 280a55139387..a347833b8f29 100644
@@ -79,7 +79,7 @@ config MTD_NAND_NDFC
 
 config MTD_NAND_S3C2410
 	tristate "Samsung S3C NAND controller"
-	depends on ARCH_S3C24XX || ARCH_S3C64XX
+	depends on ARCH_S3C64XX
 	help
 	  This enables the NAND flash controller on the S3C24xx and S3C64xx
 	  SoCs
drivers/mtd/nand/raw/s3c2410.c +0 -60

84 lines not on this page · raw message

drivers/pinctrl/samsung/pinctrl-samsung.c +0 -10
index bd13b5ef246d..1a478854293f 100644
@@ -1322,16 +1322,6 @@ static const struct of_device_id samsung_pinctrl_dt_match[] = {
 #ifdef CONFIG_PINCTRL_S3C64XX
 	{ .compatible = "samsung,s3c64xx-pinctrl",
 		.data = &s3c64xx_of_data },
-#endif
-#ifdef CONFIG_PINCTRL_S3C24XX
-	{ .compatible = "samsung,s3c2412-pinctrl",
-		.data = &s3c2412_of_data },
-	{ .compatible = "samsung,s3c2416-pinctrl",
-		.data = &s3c2416_of_data },
-	{ .compatible = "samsung,s3c2440-pinctrl",
-		.data = &s3c2440_of_data },
-	{ .compatible = "samsung,s3c2450-pinctrl",
-		.data = &s3c2450_of_data },
 #endif
 	{},
 };
drivers/rtc/Kconfig +2 -6
index 312dccfa3f18..d13ca620ea5d 100644
@@ -1406,18 +1406,14 @@ config RTC_DRV_OMAP
 
 config RTC_DRV_S3C
 	tristate "Samsung S3C series SoC RTC"
-	depends on ARCH_EXYNOS || ARCH_S3C64XX || ARCH_S3C24XX || ARCH_S5PV210 || \
+	depends on ARCH_EXYNOS || ARCH_S3C64XX || ARCH_S5PV210 || \
 		   COMPILE_TEST
 	help
 	  RTC (Realtime Clock) driver for the clock inbuilt into the
-	  Samsung S3C24XX series of SoCs. This can provide periodic
+	  Samsung S3C64XX series of SoCs. This can provide periodic
 	  interrupt rates from 1Hz to 64Hz for user programs, and
 	  wakeup from Alarm.
 
-	  The driver currently supports the common features on all the
-	  S3C24XX range, such as the S3C2410, S3C2412, S3C2413, S3C2440
-	  and S3C2442.
-
 	  This driver can also be build as a module. If so, the module
 	  will be called rtc-s3c.
 
drivers/tty/serial/Kconfig +4 -4
index 434f83168546..3ba8a39655a3 100644
@@ -242,23 +242,23 @@ config SERIAL_SAMSUNG
 	select SERIAL_CORE
 	help
 	  Support for the on-chip UARTs on the Samsung
-	  S3C24xx/S3C64xx/S5Pv210/Exynos and Apple M1 SoCs, providing
+	  S3C64xx/S5Pv210/Exynos and Apple M1 SoCs, providing
 	  /dev/ttySAC0, 1 and 2 (note, some machines may not provide all of
 	  these ports, depending on how the serial port pins are configured.
+
 	  Choose Y/M here only if you build for such SoC.
 
 config SERIAL_SAMSUNG_UARTS_4
 	bool
 	depends on SERIAL_SAMSUNG
-	default y if !(CPU_S3C2410 || CPU_S3C2412 || CPU_S3C2440 || CPU_S3C2442)
+	default y
 	help
 	  Internal node for the common case of 4 Samsung compatible UARTs
 
 config SERIAL_SAMSUNG_UARTS
 	int
 	depends on SERIAL_SAMSUNG
-	default 4 if SERIAL_SAMSUNG_UARTS_4 || CPU_S3C2416
-	default 3
+	default 4
 	help
 	  Select the number of available UART ports for the Samsung S3C
 	  serial driver
drivers/tty/serial/samsung_tty.c +0 -199

241 lines not on this page · raw message

drivers/usb/host/Kconfig +4 -4
index fb7b603dddf8..8ba4fe9364b1 100644
@@ -443,12 +443,12 @@ config USB_OHCI_HCD_STI
 	  STMicroelectronics consumer electronics SoC's.
 
 config USB_OHCI_HCD_S3C2410
-	tristate "OHCI support for Samsung S3C24xx/S3C64xx SoC series"
-	depends on USB_OHCI_HCD && (ARCH_S3C24XX || ARCH_S3C64XX || COMPILE_TEST)
-	default y if (ARCH_S3C24XX || ARCH_S3C64XX)
+	tristate "OHCI support for Samsung S3C64xx SoC series"
+	depends on USB_OHCI_HCD && (ARCH_S3C64XX || COMPILE_TEST)
+	default ARCH_S3C64XX
 	help
 	  Enables support for the on-chip OHCI controller on
-	  S3C24xx/S3C64xx chips.
+	  S3C64xx chips.
 
 config USB_OHCI_HCD_LPC32XX
 	tristate "Support for LPC on-chip OHCI USB controller"
drivers/watchdog/Kconfig +4 -5
index b64bc49c7f30..eee7df45347a 100644
@@ -491,14 +491,13 @@ config IXP4XX_WATCHDOG
 	  Say N if you are unsure.
 
 config S3C2410_WATCHDOG
-	tristate "S3C2410 Watchdog"
-	depends on ARCH_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210 || ARCH_EXYNOS || \
-		   COMPILE_TEST
+	tristate "S3C6410/S5Pv210/Exynos Watchdog"
+	depends on ARCH_S3C64XX || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
 	select WATCHDOG_CORE
 	select MFD_SYSCON if ARCH_EXYNOS
 	help
-	  Watchdog timer block in the Samsung S3C24xx, S3C64xx, S5Pv210 and
-	  Exynos SoCs. This will reboot the system when the timer expires with
+	  Watchdog timer block in the Samsung S3C64xx, S5Pv210 and Exynos
+	  SoCs. This will reboot the system when the timer expires with
 	  the watchdog enabled.
 
 	  The driver is limited by the speed of the system's PCLK
drivers/watchdog/s3c2410_wdt.c +3 -81

126 lines not on this page · raw message

include/linux/clk/samsung.h +0 -32
index 38b774001712..0cf7aac83439 100644
@@ -21,36 +21,4 @@ static inline void s3c64xx_clk_init(struct device_node *np,
 				    bool s3c6400, void __iomem *base) { }
 #endif /* CONFIG_S3C64XX_COMMON_CLK */
 
-#ifdef CONFIG_S3C2410_COMMON_CLK
-void s3c2410_common_clk_init(struct device_node *np, unsigned long xti_f,
-			     int current_soc,
-			     void __iomem *reg_base);
-#else
-static inline void s3c2410_common_clk_init(struct device_node *np,
-					   unsigned long xti_f,
-					   int current_soc,
-					   void __iomem *reg_base) { }
-#endif /* CONFIG_S3C2410_COMMON_CLK */
-
-#ifdef CONFIG_S3C2412_COMMON_CLK
-void s3c2412_common_clk_init(struct device_node *np, unsigned long xti_f,
-			     unsigned long ext_f, void __iomem *reg_base);
-#else
-static inline void s3c2412_common_clk_init(struct device_node *np,
-					   unsigned long xti_f,
-					   unsigned long ext_f,
-					   void __iomem *reg_base) { }
-#endif /* CONFIG_S3C2412_COMMON_CLK */
-
-#ifdef CONFIG_S3C2443_COMMON_CLK
-void s3c2443_common_clk_init(struct device_node *np, unsigned long xti_f,
-			     int current_soc,
-			     void __iomem *reg_base);
-#else
-static inline void s3c2443_common_clk_init(struct device_node *np,
-					   unsigned long xti_f,
-					   int current_soc,
-					   void __iomem *reg_base) { }
-#endif /* CONFIG_S3C2443_COMMON_CLK */
-
 #endif /* __LINUX_CLK_SAMSUNG_H_ */
include/linux/soc/samsung/s3c-pm.h +0 -58

72 lines not on this page · raw message

Signature · 6 lines
2.29.2


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
Acked-by on v1 2/21
#8 lore raw

Re: [PATCH 02/21] ARM: s3c: remove s3c24xx specific hacks

Quoted 8 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

A number of device drivers reference CONFIG_ARM_S3C24XX_CPUFREQ or similar symbols that are no longer available with the platform gone, though the drivers themselves are still used on newer platforms, so remove these hacks.

maintainer Acked-by on v1 2/21
#9 lore raw

Re: [PATCH 02/21] ARM: s3c: remove s3c24xx specific hacks

In reply to Arnd Bergmann
Quoted 8 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

A number of device drivers reference CONFIG_ARM_S3C24XX_CPUFREQ or similar symbols that are no longer available with the platform gone, though the drivers themselves are still used on newer platforms, so remove these hacks.

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

Acked-by on v1 2/21
#10 lore raw

Re: [PATCH 02/21] ARM: s3c: remove s3c24xx specific hacks

In reply to Arnd Bergmann
Quoted 8 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

A number of device drivers reference CONFIG_ARM_S3C24XX_CPUFREQ or similar symbols that are no longer available with the platform gone, though the drivers themselves are still used on newer platforms, so remove these hacks.

Yours,
Linus Walleij

maintainer Acked-by on v1 2/21
#11 lore raw

Re: [PATCH 02/21] ARM: s3c: remove s3c24xx specific hacks

In reply to Arnd Bergmann
Quoted 8 lines · On Fri, 21 Oct 2022 22:27:35 +0200 Arnd Bergmann <[email protected]> wrote:

From: Arnd Bergmann <[email protected]>

A number of device drivers reference CONFIG_ARM_S3C24XX_CPUFREQ or similar symbols that are no longer available with the platform gone, though the drivers themselves are still used on newer platforms, so remove these hacks.

For the IIO Kconfig change

Quoted 1,122 lines
---
 arch/arm/include/debug/s3c24xx.S              |  10 -
 arch/arm/mach-s3c/Makefile                    |   2 -
 arch/arm/mach-s3c/devs.c                      |   1 -
 arch/arm/mach-s3c/dma.h                       |   7 -
 arch/arm/mach-s3c/gpio-samsung.h              |   7 -
 arch/arm/mach-s3c/irqs.h                      |   7 -
 arch/arm/mach-s3c/map.h                       |   7 -
 arch/arm/mach-s3c/pm-core.h                   |   7 -
 arch/arm/mach-s3c/regs-clock.h                |   7 -
 arch/arm/mach-s3c/regs-gpio.h                 |   7 -
 arch/arm/mach-s3c/regs-irq.h                  |   7 -
 drivers/clocksource/Kconfig                   |   2 +-
 drivers/i2c/busses/Kconfig                    |   3 +-
 drivers/i2c/busses/i2c-s3c2410.c              |  72 -------
 drivers/iio/adc/Kconfig                       |   6 +-
 .../media/platform/samsung/s3c-camif/Kconfig  |   8 +-
 drivers/mmc/host/Kconfig                      |   5 +-
 drivers/mtd/nand/raw/Kconfig                  |   2 +-
 drivers/mtd/nand/raw/s3c2410.c                |  60 ------
 drivers/pinctrl/samsung/pinctrl-samsung.c     |  10 -
 drivers/rtc/Kconfig                           |   8 +-
 drivers/tty/serial/Kconfig                    |   8 +-
 drivers/tty/serial/samsung_tty.c              | 199 ------------------
 drivers/usb/host/Kconfig                      |   8 +-
 drivers/watchdog/Kconfig                      |   9 +-
 drivers/watchdog/s3c2410_wdt.c                |  84 +-------
 include/linux/clk/samsung.h                   |  32 ---
 include/linux/soc/samsung/s3c-pm.h            |  58 -----
 28 files changed, 29 insertions(+), 614 deletions(-)
arch/arm/include/debug/s3c24xx.S +0 -10
index af873b526677..7ab5e577cd42 100644
@@ -28,16 +28,6 @@
 		and	\rd, \rd, #S3C2410_UFSTAT_TXMASK
 	.endm
 
-/* Select the correct implementation depending on the configuration. The
- * S3C2440 will get selected by default, as these are the most widely
- * used variants of these
-*/
-
-#if defined(CONFIG_DEBUG_S3C2410_UART)
-#define fifo_full  fifo_full_s3c2410
-#define fifo_level fifo_level_s3c2410
-#endif
-
 /* include the reset of the code which will do the work */
 
 #include <debug/samsung.S>
arch/arm/mach-s3c/Makefile +0 -2
index e7f18039b149..a5135137e648 100644
@@ -2,9 +2,7 @@
 #
 # Copyright 2009 Simtec Electronics
 
-ifdef CONFIG_ARCH_S3C64XX
 include $(src)/Makefile.s3c64xx
-endif
 
 # Objects we always build independent of SoC choice
 
arch/arm/mach-s3c/devs.c +0 -1
index 9ac07c023adf..a31d1c3038e8 100644
@@ -29,7 +29,6 @@
 #include <linux/sizes.h>
 #include <linux/platform_data/s3c-hsudc.h>
 #include <linux/platform_data/s3c-hsotg.h>
-#include <linux/platform_data/dma-s3c24xx.h>
 
 #include <linux/platform_data/media/s5p_hdmi.h>
 
arch/arm/mach-s3c/dma.h +0 -7
index 59a4578c5f00..48057cb90070 100644
@@ -1,9 +1,2 @@
 /* SPDX-License-Identifier: GPL-2.0 */
-
-#ifdef CONFIG_ARCH_S3C24XX
-#include "dma-s3c24xx.h"
-#endif
-
-#ifdef CONFIG_ARCH_S3C64XX
 #include "dma-s3c64xx.h"
-#endif
arch/arm/mach-s3c/gpio-samsung.h +0 -7
index 02f6f4a96862..4233515eddaa 100644
@@ -1,9 +1,2 @@
 /* SPDX-License-Identifier: GPL-2.0 */
-
-#ifdef CONFIG_ARCH_S3C24XX
-#include "gpio-samsung-s3c24xx.h"
-#endif
-
-#ifdef CONFIG_ARCH_S3C64XX
 #include "gpio-samsung-s3c64xx.h"
-#endif
arch/arm/mach-s3c/irqs.h +0 -7
index 0bff1c1c8eb0..3ff0e0963080 100644
@@ -1,9 +1,2 @@
 /* SPDX-License-Identifier: GPL-2.0 */
-
-#ifdef CONFIG_ARCH_S3C24XX
-#include "irqs-s3c24xx.h"
-#endif
-
-#ifdef CONFIG_ARCH_S3C64XX
 #include "irqs-s3c64xx.h"
-#endif
arch/arm/mach-s3c/map.h +0 -7
index 7cfb517d4886..778d6f81cb2b 100644
@@ -1,9 +1,2 @@
 /* SPDX-License-Identifier: GPL-2.0 */
-
-#ifdef CONFIG_ARCH_S3C24XX
-#include "map-s3c24xx.h"
-#endif
-
-#ifdef CONFIG_ARCH_S3C64XX
 #include "map-s3c64xx.h"
-#endif
arch/arm/mach-s3c/pm-core.h +0 -7
index b0e1d277f599..3e0c2df79120 100644
@@ -1,9 +1,2 @@
 /* SPDX-License-Identifier: GPL-2.0 */
-
-#ifdef CONFIG_ARCH_S3C24XX
-#include "pm-core-s3c24xx.h"
-#endif
-
-#ifdef CONFIG_ARCH_S3C64XX
 #include "pm-core-s3c64xx.h"
-#endif
arch/arm/mach-s3c/regs-clock.h +0 -7
index 7df31f203d28..fc7e3886b07c 100644
@@ -1,9 +1,2 @@
 /* SPDX-License-Identifier: GPL-2.0 */
-
-#ifdef CONFIG_ARCH_S3C24XX
-#include "regs-clock-s3c24xx.h"
-#endif
-
-#ifdef CONFIG_ARCH_S3C64XX
 #include "regs-clock-s3c64xx.h"
-#endif
arch/arm/mach-s3c/regs-gpio.h +0 -7
index 0d41cb76d440..4e08e8609663 100644
@@ -1,9 +1,2 @@
 /* SPDX-License-Identifier: GPL-2.0 */
-
-#ifdef CONFIG_ARCH_S3C24XX
-#include "regs-gpio-s3c24xx.h"
-#endif
-
-#ifdef CONFIG_ARCH_S3C64XX
 #include "regs-gpio-s3c64xx.h"
-#endif
arch/arm/mach-s3c/regs-irq.h +0 -7
index 57f0dda8dbf5..4243daa54bd1 100644
@@ -1,9 +1,2 @@
 /* SPDX-License-Identifier: GPL-2.0 */
-
-#ifdef CONFIG_ARCH_S3C24XX
-#include "regs-irq-s3c24xx.h"
-#endif
-
-#ifdef CONFIG_ARCH_S3C64XX
 #include "regs-irq-s3c64xx.h"
-#endif
drivers/clocksource/Kconfig +1 -1
index 4469e7f555e9..fc10ecc3602d 100644
@@ -441,7 +441,7 @@ config CLKSRC_EXYNOS_MCT
 config CLKSRC_SAMSUNG_PWM
 	bool "PWM timer driver for Samsung S3C, S5P" if COMPILE_TEST
 	depends on HAS_IOMEM
-	depends on ARCH_EXYNOS || ARCH_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210 || COMPILE_TEST
+	depends on ARCH_EXYNOS || ARCH_S3C64XX || ARCH_S5PV210 || COMPILE_TEST
 	help
 	  This is a new clocksource driver for the PWM timer found in
 	  Samsung S3C, S5P and Exynos SoCs, replacing an earlier driver
drivers/i2c/busses/Kconfig +1 -2
index f427c8ea5c7b..84d21e0a7cdf 100644
@@ -1009,8 +1009,7 @@ config I2C_RZV2M
 
 config I2C_S3C2410
 	tristate "S3C/Exynos I2C Driver"
-	depends on ARCH_EXYNOS || ARCH_S3C24XX || ARCH_S3C64XX || \
-		   ARCH_S5PV210 || COMPILE_TEST
+	depends on ARCH_EXYNOS || ARCH_S3C64XX || ARCH_S5PV210 || COMPILE_TEST
 	help
 	  Say Y here to include support for I2C controller in the
 	  Samsung SoCs (S3C, S5Pv210, Exynos).
drivers/i2c/busses/i2c-s3c2410.c +0 -72
index 36dab9cd208c..45e9df81345a 100644
@@ -116,9 +116,6 @@ struct s3c24xx_i2c {
 	struct s3c2410_platform_i2c	*pdata;
 	struct gpio_desc	*gpios[2];
 	struct pinctrl          *pctrl;
-#if defined(CONFIG_ARM_S3C24XX_CPUFREQ)
-	struct notifier_block	freq_transition;
-#endif
 	struct regmap		*sysreg;
 	unsigned int		sys_i2c_cfg;
 };
@@ -885,65 +882,6 @@ static int s3c24xx_i2c_clockrate(struct s3c24xx_i2c *i2c, unsigned int *got)
 	return 0;
 }
 
-#if defined(CONFIG_ARM_S3C24XX_CPUFREQ)
-
-#define freq_to_i2c(_n) container_of(_n, struct s3c24xx_i2c, freq_transition)
-
-static int s3c24xx_i2c_cpufreq_transition(struct notifier_block *nb,
-					  unsigned long val, void *data)
-{
-	struct s3c24xx_i2c *i2c = freq_to_i2c(nb);
-	unsigned int got;
-	int delta_f;
-	int ret;
-
-	delta_f = clk_get_rate(i2c->clk) - i2c->clkrate;
-
-	/* if we're post-change and the input clock has slowed down
-	 * or at pre-change and the clock is about to speed up, then
-	 * adjust our clock rate. <0 is slow, >0 speedup.
-	 */
-
-	if ((val == CPUFREQ_POSTCHANGE && delta_f < 0) ||
-	    (val == CPUFREQ_PRECHANGE && delta_f > 0)) {
-		i2c_lock_bus(&i2c->adap, I2C_LOCK_ROOT_ADAPTER);
-		ret = s3c24xx_i2c_clockrate(i2c, &got);
-		i2c_unlock_bus(&i2c->adap, I2C_LOCK_ROOT_ADAPTER);
-
-		if (ret < 0)
-			dev_err(i2c->dev, "cannot find frequency (%d)\n", ret);
-		else
-			dev_info(i2c->dev, "setting freq %d\n", got);
-	}
-
-	return 0;
-}
-
-static inline int s3c24xx_i2c_register_cpufreq(struct s3c24xx_i2c *i2c)
-{
-	i2c->freq_transition.notifier_call = s3c24xx_i2c_cpufreq_transition;
-
-	return cpufreq_register_notifier(&i2c->freq_transition,
-					 CPUFREQ_TRANSITION_NOTIFIER);
-}
-
-static inline void s3c24xx_i2c_deregister_cpufreq(struct s3c24xx_i2c *i2c)
-{
-	cpufreq_unregister_notifier(&i2c->freq_transition,
-				    CPUFREQ_TRANSITION_NOTIFIER);
-}
-
-#else
-static inline int s3c24xx_i2c_register_cpufreq(struct s3c24xx_i2c *i2c)
-{
-	return 0;
-}
-
-static inline void s3c24xx_i2c_deregister_cpufreq(struct s3c24xx_i2c *i2c)
-{
-}
-#endif
-
 #ifdef CONFIG_OF
 static int s3c24xx_i2c_parse_dt_gpio(struct s3c24xx_i2c *i2c)
 {
@@ -1152,13 +1090,6 @@ static int s3c24xx_i2c_probe(struct platform_device *pdev)
 		}
 	}
 
-	ret = s3c24xx_i2c_register_cpufreq(i2c);
-	if (ret < 0) {
-		dev_err(&pdev->dev, "failed to register cpufreq notifier\n");
-		clk_unprepare(i2c->clk);
-		return ret;
-	}
-
 	/*
 	 * Note, previous versions of the driver used i2c_add_adapter()
 	 * to add the bus at any number. We now pass the bus number via
@@ -1175,7 +1106,6 @@ static int s3c24xx_i2c_probe(struct platform_device *pdev)
 	ret = i2c_add_numbered_adapter(&i2c->adap);
 	if (ret < 0) {
 		pm_runtime_disable(&pdev->dev);
-		s3c24xx_i2c_deregister_cpufreq(i2c);
 		clk_unprepare(i2c->clk);
 		return ret;
 	}
@@ -1192,8 +1122,6 @@ static int s3c24xx_i2c_remove(struct platform_device *pdev)
 
 	pm_runtime_disable(&pdev->dev);
 
-	s3c24xx_i2c_deregister_cpufreq(i2c);
-
 	i2c_del_adapter(&i2c->adap);
 
 	return 0;
drivers/iio/adc/Kconfig +3 -3
index 791612ca6012..9de7f05d40e2 100644
@@ -437,11 +437,11 @@ config EP93XX_ADC
 
 config EXYNOS_ADC
 	tristate "Exynos ADC driver support"
-	depends on ARCH_EXYNOS || ARCH_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210 || (OF && COMPILE_TEST)
+	depends on ARCH_EXYNOS || ARCH_S3C64XX || ARCH_S5PV210 || (OF && COMPILE_TEST)
 	depends on HAS_IOMEM
 	help
-	  Driver for the ADC block found in the Samsung S3C (S3C2410, S3C2416,
-	  S3C2440, S3C2443, S3C6410), S5Pv210 and Exynos SoCs.
+	  Driver for the ADC block found in the Samsung S3C6410, S5Pv210 and
+	  Exynos SoCs.
 	  Choose Y here only if you build for such Samsung SoC.
 
 	  To compile this driver as a module, choose M here: the module will be
drivers/media/platform/samsung/s3c-camif/Kconfig +4 -4
index 8cb8d1ac3edc..f359f6382fff 100644
@@ -1,15 +1,15 @@
 # SPDX-License-Identifier: GPL-2.0-only
 config VIDEO_S3C_CAMIF
-	tristate "Samsung S3C24XX/S3C64XX SoC Camera Interface driver"
+	tristate "Samsung 3C64XX SoC Camera Interface driver"
 	depends on V4L_PLATFORM_DRIVERS
 	depends on VIDEO_DEV && I2C && PM
-	depends on ARCH_S3C64XX || PLAT_S3C24XX || COMPILE_TEST
+	depends on ARCH_S3C64XX || COMPILE_TEST
 	select MEDIA_CONTROLLER
 	select VIDEO_V4L2_SUBDEV_API
 	select VIDEOBUF2_DMA_CONTIG
 	help
-	  This is a v4l2 driver for s3c24xx and s3c64xx SoC series camera
-	  host interface (CAMIF).
+	  This is a v4l2 driver for s3c64xx SoC series camera host interface
+	  (CAMIF).
 
 	  To compile this driver as a module, choose M here: the module
 	  will be called s3c-camif.
drivers/mmc/host/Kconfig +2 -3
index 84dd37ff2735..79d8ddf1f616 100644
@@ -312,9 +312,8 @@ config MMC_SDHCI_S3C
 	depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
 	help
 	  This selects the Secure Digital Host Controller Interface (SDHCI)
-	  often referrered to as the HSMMC block in some of the Samsung S3C
-	  (S3C2416, S3C2443, S3C6410), S5Pv210 and Exynos (Exynso4210,
-	  Exynos4412) SoCs.
+	  often referrered to as the HSMMC block in some of the Samsung
+	  S3C6410, S5Pv210 and Exynos (Exynso4210, Exynos4412) SoCs.
 
 	  If you have a controller with this interface (thereforeyou build for
 	  such Samsung SoC), say Y or M here.
drivers/mtd/nand/raw/Kconfig +1 -1
index 280a55139387..a347833b8f29 100644
@@ -79,7 +79,7 @@ config MTD_NAND_NDFC
 
 config MTD_NAND_S3C2410
 	tristate "Samsung S3C NAND controller"
-	depends on ARCH_S3C24XX || ARCH_S3C64XX
+	depends on ARCH_S3C64XX
 	help
 	  This enables the NAND flash controller on the S3C24xx and S3C64xx
 	  SoCs
drivers/mtd/nand/raw/s3c2410.c +0 -60
index f0a4535c812a..80d96f94d6cb 100644
@@ -166,10 +166,6 @@ struct s3c2410_nand_info {
 	enum s3c_nand_clk_state		clk_state;
 
 	enum s3c_cpu_type		cpu_type;
-
-#ifdef CONFIG_ARM_S3C24XX_CPUFREQ
-	struct notifier_block	freq_transition;
-#endif
 };
 
 struct s3c24XX_nand_devtype_data {
@@ -711,54 +707,6 @@ static void s3c2440_nand_write_buf(struct nand_chip *this, const u_char *buf,
 	}
 }
 
-/* cpufreq driver support */
-
-#ifdef CONFIG_ARM_S3C24XX_CPUFREQ
-
-static int s3c2410_nand_cpufreq_transition(struct notifier_block *nb,
-					  unsigned long val, void *data)
-{
-	struct s3c2410_nand_info *info;
-	unsigned long newclk;
-
-	info = container_of(nb, struct s3c2410_nand_info, freq_transition);
-	newclk = clk_get_rate(info->clk);
-
-	if ((val == CPUFREQ_POSTCHANGE && newclk < info->clk_rate) ||
-	    (val == CPUFREQ_PRECHANGE && newclk > info->clk_rate)) {
-		s3c2410_nand_setrate(info);
-	}
-
-	return 0;
-}
-
-static inline int s3c2410_nand_cpufreq_register(struct s3c2410_nand_info *info)
-{
-	info->freq_transition.notifier_call = s3c2410_nand_cpufreq_transition;
-
-	return cpufreq_register_notifier(&info->freq_transition,
-					 CPUFREQ_TRANSITION_NOTIFIER);
-}
-
-static inline void
-s3c2410_nand_cpufreq_deregister(struct s3c2410_nand_info *info)
-{
-	cpufreq_unregister_notifier(&info->freq_transition,
-				    CPUFREQ_TRANSITION_NOTIFIER);
-}
-
-#else
-static inline int s3c2410_nand_cpufreq_register(struct s3c2410_nand_info *info)
-{
-	return 0;
-}
-
-static inline void
-s3c2410_nand_cpufreq_deregister(struct s3c2410_nand_info *info)
-{
-}
-#endif
-
 /* device management functions */
 
 static int s3c24xx_nand_remove(struct platform_device *pdev)
@@ -768,8 +716,6 @@ static int s3c24xx_nand_remove(struct platform_device *pdev)
 	if (info == NULL)
 		return 0;
 
-	s3c2410_nand_cpufreq_deregister(info);
-
 	/* Release all our mtds  and their partitions, then go through
 	 * freeing the resources used
 	 */
@@ -1184,12 +1130,6 @@ static int s3c24xx_nand_probe(struct platform_device *pdev)
 	if (err != 0)
 		goto exit_error;
 
-	err = s3c2410_nand_cpufreq_register(info);
-	if (err < 0) {
-		dev_err(&pdev->dev, "failed to init cpufreq support\n");
-		goto exit_error;
-	}
-
 	if (allow_clk_suspend(info)) {
 		dev_info(&pdev->dev, "clock idle support enabled\n");
 		s3c2410_nand_clk_set_state(info, CLOCK_SUSPEND);
drivers/pinctrl/samsung/pinctrl-samsung.c +0 -10
index bd13b5ef246d..1a478854293f 100644
@@ -1322,16 +1322,6 @@ static const struct of_device_id samsung_pinctrl_dt_match[] = {
 #ifdef CONFIG_PINCTRL_S3C64XX
 	{ .compatible = "samsung,s3c64xx-pinctrl",
 		.data = &s3c64xx_of_data },
-#endif
-#ifdef CONFIG_PINCTRL_S3C24XX
-	{ .compatible = "samsung,s3c2412-pinctrl",
-		.data = &s3c2412_of_data },
-	{ .compatible = "samsung,s3c2416-pinctrl",
-		.data = &s3c2416_of_data },
-	{ .compatible = "samsung,s3c2440-pinctrl",
-		.data = &s3c2440_of_data },
-	{ .compatible = "samsung,s3c2450-pinctrl",
-		.data = &s3c2450_of_data },
 #endif
 	{},
 };
drivers/rtc/Kconfig +2 -6
index 312dccfa3f18..d13ca620ea5d 100644
@@ -1406,18 +1406,14 @@ config RTC_DRV_OMAP
 
 config RTC_DRV_S3C
 	tristate "Samsung S3C series SoC RTC"
-	depends on ARCH_EXYNOS || ARCH_S3C64XX || ARCH_S3C24XX || ARCH_S5PV210 || \
+	depends on ARCH_EXYNOS || ARCH_S3C64XX || ARCH_S5PV210 || \
 		   COMPILE_TEST
 	help
 	  RTC (Realtime Clock) driver for the clock inbuilt into the
-	  Samsung S3C24XX series of SoCs. This can provide periodic
+	  Samsung S3C64XX series of SoCs. This can provide periodic
 	  interrupt rates from 1Hz to 64Hz for user programs, and
 	  wakeup from Alarm.
 
-	  The driver currently supports the common features on all the
-	  S3C24XX range, such as the S3C2410, S3C2412, S3C2413, S3C2440
-	  and S3C2442.
-
 	  This driver can also be build as a module. If so, the module
 	  will be called rtc-s3c.
 
drivers/tty/serial/Kconfig +4 -4
index 434f83168546..3ba8a39655a3 100644
@@ -242,23 +242,23 @@ config SERIAL_SAMSUNG
 	select SERIAL_CORE
 	help
 	  Support for the on-chip UARTs on the Samsung
-	  S3C24xx/S3C64xx/S5Pv210/Exynos and Apple M1 SoCs, providing
+	  S3C64xx/S5Pv210/Exynos and Apple M1 SoCs, providing
 	  /dev/ttySAC0, 1 and 2 (note, some machines may not provide all of
 	  these ports, depending on how the serial port pins are configured.
+
 	  Choose Y/M here only if you build for such SoC.
 
 config SERIAL_SAMSUNG_UARTS_4
 	bool
 	depends on SERIAL_SAMSUNG
-	default y if !(CPU_S3C2410 || CPU_S3C2412 || CPU_S3C2440 || CPU_S3C2442)
+	default y
 	help
 	  Internal node for the common case of 4 Samsung compatible UARTs
 
 config SERIAL_SAMSUNG_UARTS
 	int
 	depends on SERIAL_SAMSUNG
-	default 4 if SERIAL_SAMSUNG_UARTS_4 || CPU_S3C2416
-	default 3
+	default 4
 	help
 	  Select the number of available UART ports for the Samsung S3C
 	  serial driver
drivers/tty/serial/samsung_tty.c +0 -199
index 77d1363029f5..5adf3963b2f6 100644
@@ -152,10 +152,6 @@ struct s3c24xx_uart_port {
 	const struct s3c2410_uartcfg	*cfg;
 
 	struct s3c24xx_uart_dma		*dma;
-
-#ifdef CONFIG_ARM_S3C24XX_CPUFREQ
-	struct notifier_block		freq_transition;
-#endif
 };
 
 static void s3c24xx_serial_tx_chars(struct s3c24xx_uart_port *ourport);
@@ -1859,93 +1855,6 @@ static void s3c24xx_serial_resetport(struct uart_port *port,
 	udelay(1);
 }
 
-#ifdef CONFIG_ARM_S3C24XX_CPUFREQ
-
-static int s3c24xx_serial_cpufreq_transition(struct notifier_block *nb,
-					     unsigned long val, void *data)
-{
-	struct s3c24xx_uart_port *port;
-	struct uart_port *uport;
-
-	port = container_of(nb, struct s3c24xx_uart_port, freq_transition);
-	uport = &port->port;
-
-	/* check to see if port is enabled */
-
-	if (port->pm_level != 0)
-		return 0;
-
-	/* try and work out if the baudrate is changing, we can detect
-	 * a change in rate, but we do not have support for detecting
-	 * a disturbance in the clock-rate over the change.
-	 */
-
-	if (IS_ERR(port->baudclk))
-		goto exit;
-
-	if (port->baudclk_rate == clk_get_rate(port->baudclk))
-		goto exit;
-
-	if (val == CPUFREQ_PRECHANGE) {
-		/* we should really shut the port down whilst the
-		 * frequency change is in progress.
-		 */
-
-	} else if (val == CPUFREQ_POSTCHANGE) {
-		struct ktermios *termios;
-		struct tty_struct *tty;
-
-		if (uport->state == NULL)
-			goto exit;
-
-		tty = uport->state->port.tty;
-
-		if (tty == NULL)
-			goto exit;
-
-		termios = &tty->termios;
-
-		if (termios == NULL) {
-			dev_warn(uport->dev, "%s: no termios?\n", __func__);
-			goto exit;
-		}
-
-		s3c24xx_serial_set_termios(uport, termios, NULL);
-	}
-
-exit:
-	return 0;
-}
-
-static inline int
-s3c24xx_serial_cpufreq_register(struct s3c24xx_uart_port *port)
-{
-	port->freq_transition.notifier_call = s3c24xx_serial_cpufreq_transition;
-
-	return cpufreq_register_notifier(&port->freq_transition,
-					 CPUFREQ_TRANSITION_NOTIFIER);
-}
-
-static inline void
-s3c24xx_serial_cpufreq_deregister(struct s3c24xx_uart_port *port)
-{
-	cpufreq_unregister_notifier(&port->freq_transition,
-				    CPUFREQ_TRANSITION_NOTIFIER);
-}
-
-#else
-static inline int
-s3c24xx_serial_cpufreq_register(struct s3c24xx_uart_port *port)
-{
-	return 0;
-}
-
-static inline void
-s3c24xx_serial_cpufreq_deregister(struct s3c24xx_uart_port *port)
-{
-}
-#endif
-
 static int s3c24xx_serial_enable_baudclk(struct s3c24xx_uart_port *ourport)
 {
 	struct device *dev = ourport->port.dev;
@@ -2237,10 +2146,6 @@ static int s3c24xx_serial_probe(struct platform_device *pdev)
 	if (!IS_ERR(ourport->baudclk))
 		clk_disable_unprepare(ourport->baudclk);
 
-	ret = s3c24xx_serial_cpufreq_register(ourport);
-	if (ret < 0)
-		dev_err(&pdev->dev, "failed to add cpufreq notifier\n");
-
 	probe_index++;
 
 	return 0;
@@ -2251,7 +2156,6 @@ static int s3c24xx_serial_remove(struct platform_device *dev)
 	struct uart_port *port = s3c24xx_dev_to_port(&dev->dev);
 
 	if (port) {
-		s3c24xx_serial_cpufreq_deregister(to_ourport(port));
 		uart_remove_one_port(&s3c24xx_uart_drv, port);
 	}
 
@@ -2589,94 +2493,6 @@ static struct console s3c24xx_serial_console = {
 };
 #endif /* CONFIG_SERIAL_SAMSUNG_CONSOLE */
 
-#ifdef CONFIG_CPU_S3C2410
-static const struct s3c24xx_serial_drv_data s3c2410_serial_drv_data = {
-	.info = {
-		.name		= "Samsung S3C2410 UART",
-		.type		= TYPE_S3C24XX,
-		.port_type	= PORT_S3C2410,
-		.fifosize	= 16,
-		.rx_fifomask	= S3C2410_UFSTAT_RXMASK,
-		.rx_fifoshift	= S3C2410_UFSTAT_RXSHIFT,
-		.rx_fifofull	= S3C2410_UFSTAT_RXFULL,
-		.tx_fifofull	= S3C2410_UFSTAT_TXFULL,
-		.tx_fifomask	= S3C2410_UFSTAT_TXMASK,
-		.tx_fifoshift	= S3C2410_UFSTAT_TXSHIFT,
-		.def_clk_sel	= S3C2410_UCON_CLKSEL0,
-		.num_clks	= 2,
-		.clksel_mask	= S3C2410_UCON_CLKMASK,
-		.clksel_shift	= S3C2410_UCON_CLKSHIFT,
-	},
-	.def_cfg = {
-		.ucon		= S3C2410_UCON_DEFAULT,
-		.ufcon		= S3C2410_UFCON_DEFAULT,
-	},
-};
-#define S3C2410_SERIAL_DRV_DATA (&s3c2410_serial_drv_data)
-#else
-#define S3C2410_SERIAL_DRV_DATA NULL
-#endif
-
-#ifdef CONFIG_CPU_S3C2412
-static const struct s3c24xx_serial_drv_data s3c2412_serial_drv_data = {
-	.info = {
-		.name		= "Samsung S3C2412 UART",
-		.type		= TYPE_S3C24XX,
-		.port_type	= PORT_S3C2412,
-		.fifosize	= 64,
-		.has_divslot	= 1,
-		.rx_fifomask	= S3C2440_UFSTAT_RXMASK,
-		.rx_fifoshift	= S3C2440_UFSTAT_RXSHIFT,
-		.rx_fifofull	= S3C2440_UFSTAT_RXFULL,
-		.tx_fifofull	= S3C2440_UFSTAT_TXFULL,
-		.tx_fifomask	= S3C2440_UFSTAT_TXMASK,
-		.tx_fifoshift	= S3C2440_UFSTAT_TXSHIFT,
-		.def_clk_sel	= S3C2410_UCON_CLKSEL2,
-		.num_clks	= 4,
-		.clksel_mask	= S3C2412_UCON_CLKMASK,
-		.clksel_shift	= S3C2412_UCON_CLKSHIFT,
-	},
-	.def_cfg = {
-		.ucon		= S3C2410_UCON_DEFAULT,
-		.ufcon		= S3C2410_UFCON_DEFAULT,
-	},
-};
-#define S3C2412_SERIAL_DRV_DATA (&s3c2412_serial_drv_data)
-#else
-#define S3C2412_SERIAL_DRV_DATA NULL
-#endif
-
-#if defined(CONFIG_CPU_S3C2440) || defined(CONFIG_CPU_S3C2416) || \
-	defined(CONFIG_CPU_S3C2443) || defined(CONFIG_CPU_S3C2442)
-static const struct s3c24xx_serial_drv_data s3c2440_serial_drv_data = {
-	.info = {
-		.name		= "Samsung S3C2440 UART",
-		.type		= TYPE_S3C24XX,
-		.port_type	= PORT_S3C2440,
-		.fifosize	= 64,
-		.has_divslot	= 1,
-		.rx_fifomask	= S3C2440_UFSTAT_RXMASK,
-		.rx_fifoshift	= S3C2440_UFSTAT_RXSHIFT,
-		.rx_fifofull	= S3C2440_UFSTAT_RXFULL,
-		.tx_fifofull	= S3C2440_UFSTAT_TXFULL,
-		.tx_fifomask	= S3C2440_UFSTAT_TXMASK,
-		.tx_fifoshift	= S3C2440_UFSTAT_TXSHIFT,
-		.def_clk_sel	= S3C2410_UCON_CLKSEL2,
-		.num_clks	= 4,
-		.clksel_mask	= S3C2412_UCON_CLKMASK,
-		.clksel_shift	= S3C2412_UCON_CLKSHIFT,
-		.ucon_mask	= S3C2440_UCON0_DIVMASK,
-	},
-	.def_cfg = {
-		.ucon		= S3C2410_UCON_DEFAULT,
-		.ufcon		= S3C2410_UFCON_DEFAULT,
-	},
-};
-#define S3C2440_SERIAL_DRV_DATA (&s3c2440_serial_drv_data)
-#else
-#define S3C2440_SERIAL_DRV_DATA NULL
-#endif
-
 #if defined(CONFIG_CPU_S3C6400) || defined(CONFIG_CPU_S3C6410)
 static const struct s3c24xx_serial_drv_data s3c6400_serial_drv_data = {
 	.info = {
@@ -2845,15 +2661,6 @@ static const struct s3c24xx_serial_drv_data artpec8_serial_drv_data = {
 
 static const struct platform_device_id s3c24xx_serial_driver_ids[] = {
 	{
-		.name		= "s3c2410-uart",
-		.driver_data	= (kernel_ulong_t)S3C2410_SERIAL_DRV_DATA,
-	}, {
-		.name		= "s3c2412-uart",
-		.driver_data	= (kernel_ulong_t)S3C2412_SERIAL_DRV_DATA,
-	}, {
-		.name		= "s3c2440-uart",
-		.driver_data	= (kernel_ulong_t)S3C2440_SERIAL_DRV_DATA,
-	}, {
 		.name		= "s3c6400-uart",
 		.driver_data	= (kernel_ulong_t)S3C6400_SERIAL_DRV_DATA,
 	}, {
@@ -2881,12 +2688,6 @@ MODULE_DEVICE_TABLE(platform, s3c24xx_serial_driver_ids);
 
 #ifdef CONFIG_OF
 static const struct of_device_id s3c24xx_uart_dt_match[] = {
-	{ .compatible = "samsung,s3c2410-uart",
-		.data = S3C2410_SERIAL_DRV_DATA },
-	{ .compatible = "samsung,s3c2412-uart",
-		.data = S3C2412_SERIAL_DRV_DATA },
-	{ .compatible = "samsung,s3c2440-uart",
-		.data = S3C2440_SERIAL_DRV_DATA },
 	{ .compatible = "samsung,s3c6400-uart",
 		.data = S3C6400_SERIAL_DRV_DATA },
 	{ .compatible = "samsung,s5pv210-uart",
drivers/usb/host/Kconfig +4 -4
index fb7b603dddf8..8ba4fe9364b1 100644
@@ -443,12 +443,12 @@ config USB_OHCI_HCD_STI
 	  STMicroelectronics consumer electronics SoC's.
 
 config USB_OHCI_HCD_S3C2410
-	tristate "OHCI support for Samsung S3C24xx/S3C64xx SoC series"
-	depends on USB_OHCI_HCD && (ARCH_S3C24XX || ARCH_S3C64XX || COMPILE_TEST)
-	default y if (ARCH_S3C24XX || ARCH_S3C64XX)
+	tristate "OHCI support for Samsung S3C64xx SoC series"
+	depends on USB_OHCI_HCD && (ARCH_S3C64XX || COMPILE_TEST)
+	default ARCH_S3C64XX
 	help
 	  Enables support for the on-chip OHCI controller on
-	  S3C24xx/S3C64xx chips.
+	  S3C64xx chips.
 
 config USB_OHCI_HCD_LPC32XX
 	tristate "Support for LPC on-chip OHCI USB controller"
drivers/watchdog/Kconfig +4 -5
index b64bc49c7f30..eee7df45347a 100644
@@ -491,14 +491,13 @@ config IXP4XX_WATCHDOG
 	  Say N if you are unsure.
 
 config S3C2410_WATCHDOG
-	tristate "S3C2410 Watchdog"
-	depends on ARCH_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210 || ARCH_EXYNOS || \
-		   COMPILE_TEST
+	tristate "S3C6410/S5Pv210/Exynos Watchdog"
+	depends on ARCH_S3C64XX || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
 	select WATCHDOG_CORE
 	select MFD_SYSCON if ARCH_EXYNOS
 	help
-	  Watchdog timer block in the Samsung S3C24xx, S3C64xx, S5Pv210 and
-	  Exynos SoCs. This will reboot the system when the timer expires with
+	  Watchdog timer block in the Samsung S3C64xx, S5Pv210 and Exynos
+	  SoCs. This will reboot the system when the timer expires with
 	  the watchdog enabled.
 
 	  The driver is limited by the speed of the system's PCLK
drivers/watchdog/s3c2410_wdt.c +3 -81
index d3fc8ed886ff..200ba236a72e 100644
@@ -562,73 +562,6 @@ static irqreturn_t s3c2410wdt_irq(int irqno, void *param)
 	return IRQ_HANDLED;
 }
 
-#ifdef CONFIG_ARM_S3C24XX_CPUFREQ
-
-static int s3c2410wdt_cpufreq_transition(struct notifier_block *nb,
-					  unsigned long val, void *data)
-{
-	int ret;
-	struct s3c2410_wdt *wdt = freq_to_wdt(nb);
-
-	if (!s3c2410wdt_is_running(wdt))
-		goto done;
-
-	if (val == CPUFREQ_PRECHANGE) {
-		/* To ensure that over the change we don't cause the
-		 * watchdog to trigger, we perform an keep-alive if
-		 * the watchdog is running.
-		 */
-
-		s3c2410wdt_keepalive(&wdt->wdt_device);
-	} else if (val == CPUFREQ_POSTCHANGE) {
-		s3c2410wdt_stop(&wdt->wdt_device);
-
-		ret = s3c2410wdt_set_heartbeat(&wdt->wdt_device,
-						wdt->wdt_device.timeout);
-
-		if (ret >= 0)
-			s3c2410wdt_start(&wdt->wdt_device);
-		else
-			goto err;
-	}
-
-done:
-	return 0;
-
- err:
-	dev_err(wdt->dev, "cannot set new value for timeout %d\n",
-				wdt->wdt_device.timeout);
-	return ret;
-}
-
-static inline int s3c2410wdt_cpufreq_register(struct s3c2410_wdt *wdt)
-{
-	wdt->freq_transition.notifier_call = s3c2410wdt_cpufreq_transition;
-
-	return cpufreq_register_notifier(&wdt->freq_transition,
-					 CPUFREQ_TRANSITION_NOTIFIER);
-}
-
-static inline void s3c2410wdt_cpufreq_deregister(struct s3c2410_wdt *wdt)
-{
-	wdt->freq_transition.notifier_call = s3c2410wdt_cpufreq_transition;
-
-	cpufreq_unregister_notifier(&wdt->freq_transition,
-				    CPUFREQ_TRANSITION_NOTIFIER);
-}
-
-#else
-
-static inline int s3c2410wdt_cpufreq_register(struct s3c2410_wdt *wdt)
-{
-	return 0;
-}
-
-static inline void s3c2410wdt_cpufreq_deregister(struct s3c2410_wdt *wdt)
-{
-}
-#endif
-
 static inline unsigned int s3c2410wdt_get_bootstatus(struct s3c2410_wdt *wdt)
 {
 	unsigned int rst_stat;
@@ -761,12 +694,6 @@ static int s3c2410wdt_probe(struct platform_device *pdev)
 	wdt->wdt_device.min_timeout = 1;
 	wdt->wdt_device.max_timeout = s3c2410wdt_max_timeout(wdt);
 
-	ret = s3c2410wdt_cpufreq_register(wdt);
-	if (ret < 0) {
-		dev_err(dev, "failed to register cpufreq\n");
-		goto err_src_clk;
-	}
-
 	watchdog_set_drvdata(&wdt->wdt_device, wdt);
 
 	/* see if we can actually set the requested timer margin, and if
@@ -783,7 +710,7 @@ static int s3c2410wdt_probe(struct platform_device *pdev)
 				 S3C2410_WATCHDOG_DEFAULT_TIME);
 		} else {
 			dev_err(dev, "failed to use default timeout\n");
-			goto err_cpufreq;
+			goto err_src_clk;
 		}
 	}
 
@@ -791,7 +718,7 @@ static int s3c2410wdt_probe(struct platform_device *pdev)
 			       pdev->name, pdev);
 	if (ret != 0) {
 		dev_err(dev, "failed to install irq (%d)\n", ret);
-		goto err_cpufreq;
+		goto err_src_clk;
 	}
 
 	watchdog_set_nowayout(&wdt->wdt_device, nowayout);
@@ -817,7 +744,7 @@ static int s3c2410wdt_probe(struct platform_device *pdev)
 
 	ret = watchdog_register_device(&wdt->wdt_device);
 	if (ret)
-		goto err_cpufreq;
+		goto err_src_clk;
 
 	ret = s3c2410wdt_enable(wdt, true);
 	if (ret < 0)
@@ -839,9 +766,6 @@ static int s3c2410wdt_probe(struct platform_device *pdev)
  err_unregister:
 	watchdog_unregister_device(&wdt->wdt_device);
 
- err_cpufreq:
-	s3c2410wdt_cpufreq_deregister(wdt);
-
  err_src_clk:
 	clk_disable_unprepare(wdt->src_clk);
 
@@ -862,8 +786,6 @@ static int s3c2410wdt_remove(struct platform_device *dev)
 
 	watchdog_unregister_device(&wdt->wdt_device);
 
-	s3c2410wdt_cpufreq_deregister(wdt);
-
 	clk_disable_unprepare(wdt->src_clk);
 	clk_disable_unprepare(wdt->bus_clk);
 
include/linux/clk/samsung.h +0 -32
index 38b774001712..0cf7aac83439 100644
@@ -21,36 +21,4 @@ static inline void s3c64xx_clk_init(struct device_node *np,
 				    bool s3c6400, void __iomem *base) { }
 #endif /* CONFIG_S3C64XX_COMMON_CLK */
 
-#ifdef CONFIG_S3C2410_COMMON_CLK
-void s3c2410_common_clk_init(struct device_node *np, unsigned long xti_f,
-			     int current_soc,
-			     void __iomem *reg_base);
-#else
-static inline void s3c2410_common_clk_init(struct device_node *np,
-					   unsigned long xti_f,
-					   int current_soc,
-					   void __iomem *reg_base) { }
-#endif /* CONFIG_S3C2410_COMMON_CLK */
-
-#ifdef CONFIG_S3C2412_COMMON_CLK
-void s3c2412_common_clk_init(struct device_node *np, unsigned long xti_f,
-			     unsigned long ext_f, void __iomem *reg_base);
-#else
-static inline void s3c2412_common_clk_init(struct device_node *np,
-					   unsigned long xti_f,
-					   unsigned long ext_f,
-					   void __iomem *reg_base) { }
-#endif /* CONFIG_S3C2412_COMMON_CLK */
-
-#ifdef CONFIG_S3C2443_COMMON_CLK
-void s3c2443_common_clk_init(struct device_node *np, unsigned long xti_f,
-			     int current_soc,
-			     void __iomem *reg_base);
-#else
-static inline void s3c2443_common_clk_init(struct device_node *np,
-					   unsigned long xti_f,
-					   int current_soc,
-					   void __iomem *reg_base) { }
-#endif /* CONFIG_S3C2443_COMMON_CLK */
-
 #endif /* __LINUX_CLK_SAMSUNG_H_ */
include/linux/soc/samsung/s3c-pm.h +0 -58
index f9164559c99f..5b23d85d20ab 100644
@@ -14,58 +14,10 @@
 
 /* PM debug functions */
 
-/**
- * struct pm_uart_save - save block for core UART
- * @ulcon: Save value for S3C2410_ULCON
- * @ucon: Save value for S3C2410_UCON
- * @ufcon: Save value for S3C2410_UFCON
- * @umcon: Save value for S3C2410_UMCON
- * @ubrdiv: Save value for S3C2410_UBRDIV
- *
- * Save block for UART registers to be held over sleep and restored if they
- * are needed (say by debug).
-*/
-struct pm_uart_save {
-	u32	ulcon;
-	u32	ucon;
-	u32	ufcon;
-	u32	umcon;
-	u32	ubrdiv;
-	u32	udivslot;
-};
-
-#ifdef CONFIG_SAMSUNG_PM_DEBUG
-/**
- * s3c_pm_dbg() - low level debug function for use in suspend/resume.
- * @msg: The message to print.
- *
- * This function is used mainly to debug the resume process before the system
- * can rely on printk/console output. It uses the low-level debugging output
- * routine printascii() to do its work.
- */
-extern void s3c_pm_dbg(const char *msg, ...);
-
-#define S3C_PMDBG(fmt...) s3c_pm_dbg(fmt)
-
-extern void s3c_pm_save_uarts(bool is_s3c24xx);
-extern void s3c_pm_restore_uarts(bool is_s3c24xx);
-
-#ifdef CONFIG_ARCH_S3C64XX
-extern void s3c_pm_arch_update_uart(void __iomem *regs,
-				    struct pm_uart_save *save);
-#else
-static inline void
-s3c_pm_arch_update_uart(void __iomem *regs, struct pm_uart_save *save)
-{
-}
-#endif
-
-#else
 #define S3C_PMDBG(fmt...) pr_debug(fmt)
 
 static inline void s3c_pm_save_uarts(bool is_s3c24xx) { }
 static inline void s3c_pm_restore_uarts(bool is_s3c24xx) { }
-#endif
 
 /* suspend memory checking */
 
@@ -81,14 +33,4 @@ extern void s3c_pm_check_store(void);
 #define s3c_pm_check_store()   do { } while (0)
 #endif
 
-/* system device subsystems */
-
-extern struct bus_type s3c2410_subsys;
-extern struct bus_type s3c2410a_subsys;
-extern struct bus_type s3c2412_subsys;
-extern struct bus_type s3c2416_subsys;
-extern struct bus_type s3c2440_subsys;
-extern struct bus_type s3c2442_subsys;
-extern struct bus_type s3c2443_subsys;
-
 #endif
Acked-by on v1 2/21
#12 lore raw

Re: [PATCH 02/21] ARM: s3c: remove s3c24xx specific hacks

In reply to Arnd Bergmann
Quoted 8 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

A number of device drivers reference CONFIG_ARM_S3C24XX_CPUFREQ or similar symbols that are no longer available with the platform gone, though the drivers themselves are still used on newer platforms, so remove these hacks.

Signature · 5 lines
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
maintainer Acked-by on v1 2/21
#13 lore raw

Re: [PATCH 02/21] ARM: s3c: remove s3c24xx specific hacks

In reply to Arnd Bergmann

Hi Arnd,

[email protected] wrote on Fri, 21 Oct 2022 22:27:35 +0200:

Quoted 8 lines

From: Arnd Bergmann <[email protected]>

A number of device drivers reference CONFIG_ARM_S3C24XX_CPUFREQ or similar symbols that are no longer available with the platform gone, though the drivers themselves are still used on newer platforms, so remove these hacks.

Thanks,
Miquèl

Reviewed-by on v1 2/21
#14 lore raw

Re: [PATCH 02/21] ARM: s3c: remove s3c24xx specific hacks

In reply to Arnd Bergmann
Quoted 8 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

A number of device drivers reference CONFIG_ARM_S3C24XX_CPUFREQ or similar symbols that are no longer available with the platform gone, though the drivers themselves are still used on newer platforms, so remove these hacks.

Best regards,
Krzysztof

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

Acked-by on v1 2/21
#15 lore raw

Re: [PATCH 02/21] ARM: s3c: remove s3c24xx specific hacks

In reply to Arnd Bergmann
Quoted 9 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

A number of device drivers reference CONFIG_ARM_S3C24XX_CPUFREQ or similar symbols that are no longer available with the platform gone, though the drivers themselves are still used on newer platforms, so remove these hacks.

Kind regards
Uffe

Quoted 1,123 lines
---
 arch/arm/include/debug/s3c24xx.S              |  10 -
 arch/arm/mach-s3c/Makefile                    |   2 -
 arch/arm/mach-s3c/devs.c                      |   1 -
 arch/arm/mach-s3c/dma.h                       |   7 -
 arch/arm/mach-s3c/gpio-samsung.h              |   7 -
 arch/arm/mach-s3c/irqs.h                      |   7 -
 arch/arm/mach-s3c/map.h                       |   7 -
 arch/arm/mach-s3c/pm-core.h                   |   7 -
 arch/arm/mach-s3c/regs-clock.h                |   7 -
 arch/arm/mach-s3c/regs-gpio.h                 |   7 -
 arch/arm/mach-s3c/regs-irq.h                  |   7 -
 drivers/clocksource/Kconfig                   |   2 +-
 drivers/i2c/busses/Kconfig                    |   3 +-
 drivers/i2c/busses/i2c-s3c2410.c              |  72 -------
 drivers/iio/adc/Kconfig                       |   6 +-
 .../media/platform/samsung/s3c-camif/Kconfig  |   8 +-
 drivers/mmc/host/Kconfig                      |   5 +-
 drivers/mtd/nand/raw/Kconfig                  |   2 +-
 drivers/mtd/nand/raw/s3c2410.c                |  60 ------
 drivers/pinctrl/samsung/pinctrl-samsung.c     |  10 -
 drivers/rtc/Kconfig                           |   8 +-
 drivers/tty/serial/Kconfig                    |   8 +-
 drivers/tty/serial/samsung_tty.c              | 199 ------------------
 drivers/usb/host/Kconfig                      |   8 +-
 drivers/watchdog/Kconfig                      |   9 +-
 drivers/watchdog/s3c2410_wdt.c                |  84 +-------
 include/linux/clk/samsung.h                   |  32 ---
 include/linux/soc/samsung/s3c-pm.h            |  58 -----
 28 files changed, 29 insertions(+), 614 deletions(-)
arch/arm/include/debug/s3c24xx.S +0 -10
index af873b526677..7ab5e577cd42 100644
@@ -28,16 +28,6 @@
                and     \rd, \rd, #S3C2410_UFSTAT_TXMASK
        .endm
 
-/* Select the correct implementation depending on the configuration. The
- * S3C2440 will get selected by default, as these are the most widely
- * used variants of these
-*/
-
-#if defined(CONFIG_DEBUG_S3C2410_UART)
-#define fifo_full  fifo_full_s3c2410
-#define fifo_level fifo_level_s3c2410
-#endif
-
 /* include the reset of the code which will do the work */
 
 #include <debug/samsung.S>
arch/arm/mach-s3c/Makefile +0 -2
index e7f18039b149..a5135137e648 100644
@@ -2,9 +2,7 @@
 #
 # Copyright 2009 Simtec Electronics
 
-ifdef CONFIG_ARCH_S3C64XX
 include $(src)/Makefile.s3c64xx
-endif
 
 # Objects we always build independent of SoC choice
 
arch/arm/mach-s3c/devs.c +0 -1
index 9ac07c023adf..a31d1c3038e8 100644
@@ -29,7 +29,6 @@
 #include <linux/sizes.h>
 #include <linux/platform_data/s3c-hsudc.h>
 #include <linux/platform_data/s3c-hsotg.h>
-#include <linux/platform_data/dma-s3c24xx.h>
 
 #include <linux/platform_data/media/s5p_hdmi.h>
 
arch/arm/mach-s3c/dma.h +0 -7
index 59a4578c5f00..48057cb90070 100644
@@ -1,9 +1,2 @@
 /* SPDX-License-Identifier: GPL-2.0 */
-
-#ifdef CONFIG_ARCH_S3C24XX
-#include "dma-s3c24xx.h"
-#endif
-
-#ifdef CONFIG_ARCH_S3C64XX
 #include "dma-s3c64xx.h"
-#endif
arch/arm/mach-s3c/gpio-samsung.h +0 -7
index 02f6f4a96862..4233515eddaa 100644
@@ -1,9 +1,2 @@
 /* SPDX-License-Identifier: GPL-2.0 */
-
-#ifdef CONFIG_ARCH_S3C24XX
-#include "gpio-samsung-s3c24xx.h"
-#endif
-
-#ifdef CONFIG_ARCH_S3C64XX
 #include "gpio-samsung-s3c64xx.h"
-#endif
arch/arm/mach-s3c/irqs.h +0 -7
index 0bff1c1c8eb0..3ff0e0963080 100644
@@ -1,9 +1,2 @@
 /* SPDX-License-Identifier: GPL-2.0 */
-
-#ifdef CONFIG_ARCH_S3C24XX
-#include "irqs-s3c24xx.h"
-#endif
-
-#ifdef CONFIG_ARCH_S3C64XX
 #include "irqs-s3c64xx.h"
-#endif
arch/arm/mach-s3c/map.h +0 -7
index 7cfb517d4886..778d6f81cb2b 100644
@@ -1,9 +1,2 @@
 /* SPDX-License-Identifier: GPL-2.0 */
-
-#ifdef CONFIG_ARCH_S3C24XX
-#include "map-s3c24xx.h"
-#endif
-
-#ifdef CONFIG_ARCH_S3C64XX
 #include "map-s3c64xx.h"
-#endif
arch/arm/mach-s3c/pm-core.h +0 -7
index b0e1d277f599..3e0c2df79120 100644
@@ -1,9 +1,2 @@
 /* SPDX-License-Identifier: GPL-2.0 */
-
-#ifdef CONFIG_ARCH_S3C24XX
-#include "pm-core-s3c24xx.h"
-#endif
-
-#ifdef CONFIG_ARCH_S3C64XX
 #include "pm-core-s3c64xx.h"
-#endif
arch/arm/mach-s3c/regs-clock.h +0 -7
index 7df31f203d28..fc7e3886b07c 100644
@@ -1,9 +1,2 @@
 /* SPDX-License-Identifier: GPL-2.0 */
-
-#ifdef CONFIG_ARCH_S3C24XX
-#include "regs-clock-s3c24xx.h"
-#endif
-
-#ifdef CONFIG_ARCH_S3C64XX
 #include "regs-clock-s3c64xx.h"
-#endif
arch/arm/mach-s3c/regs-gpio.h +0 -7
index 0d41cb76d440..4e08e8609663 100644
@@ -1,9 +1,2 @@
 /* SPDX-License-Identifier: GPL-2.0 */
-
-#ifdef CONFIG_ARCH_S3C24XX
-#include "regs-gpio-s3c24xx.h"
-#endif
-
-#ifdef CONFIG_ARCH_S3C64XX
 #include "regs-gpio-s3c64xx.h"
-#endif
arch/arm/mach-s3c/regs-irq.h +0 -7
index 57f0dda8dbf5..4243daa54bd1 100644
@@ -1,9 +1,2 @@
 /* SPDX-License-Identifier: GPL-2.0 */
-
-#ifdef CONFIG_ARCH_S3C24XX
-#include "regs-irq-s3c24xx.h"
-#endif
-
-#ifdef CONFIG_ARCH_S3C64XX
 #include "regs-irq-s3c64xx.h"
-#endif
drivers/clocksource/Kconfig +1 -1
index 4469e7f555e9..fc10ecc3602d 100644
@@ -441,7 +441,7 @@ config CLKSRC_EXYNOS_MCT
 config CLKSRC_SAMSUNG_PWM
        bool "PWM timer driver for Samsung S3C, S5P" if COMPILE_TEST
        depends on HAS_IOMEM
-       depends on ARCH_EXYNOS || ARCH_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210 || COMPILE_TEST
+       depends on ARCH_EXYNOS || ARCH_S3C64XX || ARCH_S5PV210 || COMPILE_TEST
        help
          This is a new clocksource driver for the PWM timer found in
          Samsung S3C, S5P and Exynos SoCs, replacing an earlier driver
drivers/i2c/busses/Kconfig +1 -2
index f427c8ea5c7b..84d21e0a7cdf 100644
@@ -1009,8 +1009,7 @@ config I2C_RZV2M
 
 config I2C_S3C2410
        tristate "S3C/Exynos I2C Driver"
-       depends on ARCH_EXYNOS || ARCH_S3C24XX || ARCH_S3C64XX || \
-                  ARCH_S5PV210 || COMPILE_TEST
+       depends on ARCH_EXYNOS || ARCH_S3C64XX || ARCH_S5PV210 || COMPILE_TEST
        help
          Say Y here to include support for I2C controller in the
          Samsung SoCs (S3C, S5Pv210, Exynos).
drivers/i2c/busses/i2c-s3c2410.c +0 -72
index 36dab9cd208c..45e9df81345a 100644
@@ -116,9 +116,6 @@ struct s3c24xx_i2c {
        struct s3c2410_platform_i2c     *pdata;
        struct gpio_desc        *gpios[2];
        struct pinctrl          *pctrl;
-#if defined(CONFIG_ARM_S3C24XX_CPUFREQ)
-       struct notifier_block   freq_transition;
-#endif
        struct regmap           *sysreg;
        unsigned int            sys_i2c_cfg;
 };
@@ -885,65 +882,6 @@ static int s3c24xx_i2c_clockrate(struct s3c24xx_i2c *i2c, unsigned int *got)
        return 0;
 }
 
-#if defined(CONFIG_ARM_S3C24XX_CPUFREQ)
-
-#define freq_to_i2c(_n) container_of(_n, struct s3c24xx_i2c, freq_transition)
-
-static int s3c24xx_i2c_cpufreq_transition(struct notifier_block *nb,
-                                         unsigned long val, void *data)
-{
-       struct s3c24xx_i2c *i2c = freq_to_i2c(nb);
-       unsigned int got;
-       int delta_f;
-       int ret;
-
-       delta_f = clk_get_rate(i2c->clk) - i2c->clkrate;
-
-       /* if we're post-change and the input clock has slowed down
-        * or at pre-change and the clock is about to speed up, then
-        * adjust our clock rate. <0 is slow, >0 speedup.
-        */
-
-       if ((val == CPUFREQ_POSTCHANGE && delta_f < 0) ||
-           (val == CPUFREQ_PRECHANGE && delta_f > 0)) {
-               i2c_lock_bus(&i2c->adap, I2C_LOCK_ROOT_ADAPTER);
-               ret = s3c24xx_i2c_clockrate(i2c, &got);
-               i2c_unlock_bus(&i2c->adap, I2C_LOCK_ROOT_ADAPTER);
-
-               if (ret < 0)
-                       dev_err(i2c->dev, "cannot find frequency (%d)\n", ret);
-               else
-                       dev_info(i2c->dev, "setting freq %d\n", got);
-       }
-
-       return 0;
-}
-
-static inline int s3c24xx_i2c_register_cpufreq(struct s3c24xx_i2c *i2c)
-{
-       i2c->freq_transition.notifier_call = s3c24xx_i2c_cpufreq_transition;
-
-       return cpufreq_register_notifier(&i2c->freq_transition,
-                                        CPUFREQ_TRANSITION_NOTIFIER);
-}
-
-static inline void s3c24xx_i2c_deregister_cpufreq(struct s3c24xx_i2c *i2c)
-{
-       cpufreq_unregister_notifier(&i2c->freq_transition,
-                                   CPUFREQ_TRANSITION_NOTIFIER);
-}
-
-#else
-static inline int s3c24xx_i2c_register_cpufreq(struct s3c24xx_i2c *i2c)
-{
-       return 0;
-}
-
-static inline void s3c24xx_i2c_deregister_cpufreq(struct s3c24xx_i2c *i2c)
-{
-}
-#endif
-
 #ifdef CONFIG_OF
 static int s3c24xx_i2c_parse_dt_gpio(struct s3c24xx_i2c *i2c)
 {
@@ -1152,13 +1090,6 @@ static int s3c24xx_i2c_probe(struct platform_device *pdev)
                }
        }
 
-       ret = s3c24xx_i2c_register_cpufreq(i2c);
-       if (ret < 0) {
-               dev_err(&pdev->dev, "failed to register cpufreq notifier\n");
-               clk_unprepare(i2c->clk);
-               return ret;
-       }
-
        /*
         * Note, previous versions of the driver used i2c_add_adapter()
         * to add the bus at any number. We now pass the bus number via
@@ -1175,7 +1106,6 @@ static int s3c24xx_i2c_probe(struct platform_device *pdev)
        ret = i2c_add_numbered_adapter(&i2c->adap);
        if (ret < 0) {
                pm_runtime_disable(&pdev->dev);
-               s3c24xx_i2c_deregister_cpufreq(i2c);
                clk_unprepare(i2c->clk);
                return ret;
        }
@@ -1192,8 +1122,6 @@ static int s3c24xx_i2c_remove(struct platform_device *pdev)
 
        pm_runtime_disable(&pdev->dev);
 
-       s3c24xx_i2c_deregister_cpufreq(i2c);
-
        i2c_del_adapter(&i2c->adap);
 
        return 0;
drivers/iio/adc/Kconfig +3 -3
index 791612ca6012..9de7f05d40e2 100644
@@ -437,11 +437,11 @@ config EP93XX_ADC
 
 config EXYNOS_ADC
        tristate "Exynos ADC driver support"
-       depends on ARCH_EXYNOS || ARCH_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210 || (OF && COMPILE_TEST)
+       depends on ARCH_EXYNOS || ARCH_S3C64XX || ARCH_S5PV210 || (OF && COMPILE_TEST)
        depends on HAS_IOMEM
        help
-         Driver for the ADC block found in the Samsung S3C (S3C2410, S3C2416,
-         S3C2440, S3C2443, S3C6410), S5Pv210 and Exynos SoCs.
+         Driver for the ADC block found in the Samsung S3C6410, S5Pv210 and
+         Exynos SoCs.
          Choose Y here only if you build for such Samsung SoC.
 
          To compile this driver as a module, choose M here: the module will be
drivers/media/platform/samsung/s3c-camif/Kconfig +4 -4
index 8cb8d1ac3edc..f359f6382fff 100644
@@ -1,15 +1,15 @@
 # SPDX-License-Identifier: GPL-2.0-only
 config VIDEO_S3C_CAMIF
-       tristate "Samsung S3C24XX/S3C64XX SoC Camera Interface driver"
+       tristate "Samsung 3C64XX SoC Camera Interface driver"
        depends on V4L_PLATFORM_DRIVERS
        depends on VIDEO_DEV && I2C && PM
-       depends on ARCH_S3C64XX || PLAT_S3C24XX || COMPILE_TEST
+       depends on ARCH_S3C64XX || COMPILE_TEST
        select MEDIA_CONTROLLER
        select VIDEO_V4L2_SUBDEV_API
        select VIDEOBUF2_DMA_CONTIG
        help
-         This is a v4l2 driver for s3c24xx and s3c64xx SoC series camera
-         host interface (CAMIF).
+         This is a v4l2 driver for s3c64xx SoC series camera host interface
+         (CAMIF).
 
          To compile this driver as a module, choose M here: the module
          will be called s3c-camif.
drivers/mmc/host/Kconfig +2 -3
index 84dd37ff2735..79d8ddf1f616 100644
@@ -312,9 +312,8 @@ config MMC_SDHCI_S3C
        depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
        help
          This selects the Secure Digital Host Controller Interface (SDHCI)
-         often referrered to as the HSMMC block in some of the Samsung S3C
-         (S3C2416, S3C2443, S3C6410), S5Pv210 and Exynos (Exynso4210,
-         Exynos4412) SoCs.
+         often referrered to as the HSMMC block in some of the Samsung
+         S3C6410, S5Pv210 and Exynos (Exynso4210, Exynos4412) SoCs.
 
          If you have a controller with this interface (thereforeyou build for
          such Samsung SoC), say Y or M here.
drivers/mtd/nand/raw/Kconfig +1 -1
index 280a55139387..a347833b8f29 100644
@@ -79,7 +79,7 @@ config MTD_NAND_NDFC
 
 config MTD_NAND_S3C2410
        tristate "Samsung S3C NAND controller"
-       depends on ARCH_S3C24XX || ARCH_S3C64XX
+       depends on ARCH_S3C64XX
        help
          This enables the NAND flash controller on the S3C24xx and S3C64xx
          SoCs
drivers/mtd/nand/raw/s3c2410.c +0 -60
index f0a4535c812a..80d96f94d6cb 100644
@@ -166,10 +166,6 @@ struct s3c2410_nand_info {
        enum s3c_nand_clk_state         clk_state;
 
        enum s3c_cpu_type               cpu_type;
-
-#ifdef CONFIG_ARM_S3C24XX_CPUFREQ
-       struct notifier_block   freq_transition;
-#endif
 };
 
 struct s3c24XX_nand_devtype_data {
@@ -711,54 +707,6 @@ static void s3c2440_nand_write_buf(struct nand_chip *this, const u_char *buf,
        }
 }
 
-/* cpufreq driver support */
-
-#ifdef CONFIG_ARM_S3C24XX_CPUFREQ
-
-static int s3c2410_nand_cpufreq_transition(struct notifier_block *nb,
-                                         unsigned long val, void *data)
-{
-       struct s3c2410_nand_info *info;
-       unsigned long newclk;
-
-       info = container_of(nb, struct s3c2410_nand_info, freq_transition);
-       newclk = clk_get_rate(info->clk);
-
-       if ((val == CPUFREQ_POSTCHANGE && newclk < info->clk_rate) ||
-           (val == CPUFREQ_PRECHANGE && newclk > info->clk_rate)) {
-               s3c2410_nand_setrate(info);
-       }
-
-       return 0;
-}
-
-static inline int s3c2410_nand_cpufreq_register(struct s3c2410_nand_info *info)
-{
-       info->freq_transition.notifier_call = s3c2410_nand_cpufreq_transition;
-
-       return cpufreq_register_notifier(&info->freq_transition,
-                                        CPUFREQ_TRANSITION_NOTIFIER);
-}
-
-static inline void
-s3c2410_nand_cpufreq_deregister(struct s3c2410_nand_info *info)
-{
-       cpufreq_unregister_notifier(&info->freq_transition,
-                                   CPUFREQ_TRANSITION_NOTIFIER);
-}
-
-#else
-static inline int s3c2410_nand_cpufreq_register(struct s3c2410_nand_info *info)
-{
-       return 0;
-}
-
-static inline void
-s3c2410_nand_cpufreq_deregister(struct s3c2410_nand_info *info)
-{
-}
-#endif
-
 /* device management functions */
 
 static int s3c24xx_nand_remove(struct platform_device *pdev)
@@ -768,8 +716,6 @@ static int s3c24xx_nand_remove(struct platform_device *pdev)
        if (info == NULL)
                return 0;
 
-       s3c2410_nand_cpufreq_deregister(info);
-
        /* Release all our mtds  and their partitions, then go through
         * freeing the resources used
         */
@@ -1184,12 +1130,6 @@ static int s3c24xx_nand_probe(struct platform_device *pdev)
        if (err != 0)
                goto exit_error;
 
-       err = s3c2410_nand_cpufreq_register(info);
-       if (err < 0) {
-               dev_err(&pdev->dev, "failed to init cpufreq support\n");
-               goto exit_error;
-       }
-
        if (allow_clk_suspend(info)) {
                dev_info(&pdev->dev, "clock idle support enabled\n");
                s3c2410_nand_clk_set_state(info, CLOCK_SUSPEND);
drivers/pinctrl/samsung/pinctrl-samsung.c +0 -10
index bd13b5ef246d..1a478854293f 100644
@@ -1322,16 +1322,6 @@ static const struct of_device_id samsung_pinctrl_dt_match[] = {
 #ifdef CONFIG_PINCTRL_S3C64XX
        { .compatible = "samsung,s3c64xx-pinctrl",
                .data = &s3c64xx_of_data },
-#endif
-#ifdef CONFIG_PINCTRL_S3C24XX
-       { .compatible = "samsung,s3c2412-pinctrl",
-               .data = &s3c2412_of_data },
-       { .compatible = "samsung,s3c2416-pinctrl",
-               .data = &s3c2416_of_data },
-       { .compatible = "samsung,s3c2440-pinctrl",
-               .data = &s3c2440_of_data },
-       { .compatible = "samsung,s3c2450-pinctrl",
-               .data = &s3c2450_of_data },
 #endif
        {},
 };
drivers/rtc/Kconfig +2 -6
index 312dccfa3f18..d13ca620ea5d 100644
@@ -1406,18 +1406,14 @@ config RTC_DRV_OMAP
 
 config RTC_DRV_S3C
        tristate "Samsung S3C series SoC RTC"
-       depends on ARCH_EXYNOS || ARCH_S3C64XX || ARCH_S3C24XX || ARCH_S5PV210 || \
+       depends on ARCH_EXYNOS || ARCH_S3C64XX || ARCH_S5PV210 || \
                   COMPILE_TEST
        help
          RTC (Realtime Clock) driver for the clock inbuilt into the
-         Samsung S3C24XX series of SoCs. This can provide periodic
+         Samsung S3C64XX series of SoCs. This can provide periodic
          interrupt rates from 1Hz to 64Hz for user programs, and
          wakeup from Alarm.
 
-         The driver currently supports the common features on all the
-         S3C24XX range, such as the S3C2410, S3C2412, S3C2413, S3C2440
-         and S3C2442.
-
          This driver can also be build as a module. If so, the module
          will be called rtc-s3c.
 
drivers/tty/serial/Kconfig +4 -4
index 434f83168546..3ba8a39655a3 100644
@@ -242,23 +242,23 @@ config SERIAL_SAMSUNG
        select SERIAL_CORE
        help
          Support for the on-chip UARTs on the Samsung
-         S3C24xx/S3C64xx/S5Pv210/Exynos and Apple M1 SoCs, providing
+         S3C64xx/S5Pv210/Exynos and Apple M1 SoCs, providing
          /dev/ttySAC0, 1 and 2 (note, some machines may not provide all of
          these ports, depending on how the serial port pins are configured.
+
          Choose Y/M here only if you build for such SoC.
 
 config SERIAL_SAMSUNG_UARTS_4
        bool
        depends on SERIAL_SAMSUNG
-       default y if !(CPU_S3C2410 || CPU_S3C2412 || CPU_S3C2440 || CPU_S3C2442)
+       default y
        help
          Internal node for the common case of 4 Samsung compatible UARTs
 
 config SERIAL_SAMSUNG_UARTS
        int
        depends on SERIAL_SAMSUNG
-       default 4 if SERIAL_SAMSUNG_UARTS_4 || CPU_S3C2416
-       default 3
+       default 4
        help
          Select the number of available UART ports for the Samsung S3C
          serial driver
drivers/tty/serial/samsung_tty.c +0 -199
index 77d1363029f5..5adf3963b2f6 100644
@@ -152,10 +152,6 @@ struct s3c24xx_uart_port {
        const struct s3c2410_uartcfg    *cfg;
 
        struct s3c24xx_uart_dma         *dma;
-
-#ifdef CONFIG_ARM_S3C24XX_CPUFREQ
-       struct notifier_block           freq_transition;
-#endif
 };
 
 static void s3c24xx_serial_tx_chars(struct s3c24xx_uart_port *ourport);
@@ -1859,93 +1855,6 @@ static void s3c24xx_serial_resetport(struct uart_port *port,
        udelay(1);
 }
 
-#ifdef CONFIG_ARM_S3C24XX_CPUFREQ
-
-static int s3c24xx_serial_cpufreq_transition(struct notifier_block *nb,
-                                            unsigned long val, void *data)
-{
-       struct s3c24xx_uart_port *port;
-       struct uart_port *uport;
-
-       port = container_of(nb, struct s3c24xx_uart_port, freq_transition);
-       uport = &port->port;
-
-       /* check to see if port is enabled */
-
-       if (port->pm_level != 0)
-               return 0;
-
-       /* try and work out if the baudrate is changing, we can detect
-        * a change in rate, but we do not have support for detecting
-        * a disturbance in the clock-rate over the change.
-        */
-
-       if (IS_ERR(port->baudclk))
-               goto exit;
-
-       if (port->baudclk_rate == clk_get_rate(port->baudclk))
-               goto exit;
-
-       if (val == CPUFREQ_PRECHANGE) {
-               /* we should really shut the port down whilst the
-                * frequency change is in progress.
-                */
-
-       } else if (val == CPUFREQ_POSTCHANGE) {
-               struct ktermios *termios;
-               struct tty_struct *tty;
-
-               if (uport->state == NULL)
-                       goto exit;
-
-               tty = uport->state->port.tty;
-
-               if (tty == NULL)
-                       goto exit;
-
-               termios = &tty->termios;
-
-               if (termios == NULL) {
-                       dev_warn(uport->dev, "%s: no termios?\n", __func__);
-                       goto exit;
-               }
-
-               s3c24xx_serial_set_termios(uport, termios, NULL);
-       }
-
-exit:
-       return 0;
-}
-
-static inline int
-s3c24xx_serial_cpufreq_register(struct s3c24xx_uart_port *port)
-{
-       port->freq_transition.notifier_call = s3c24xx_serial_cpufreq_transition;
-
-       return cpufreq_register_notifier(&port->freq_transition,
-                                        CPUFREQ_TRANSITION_NOTIFIER);
-}
-
-static inline void
-s3c24xx_serial_cpufreq_deregister(struct s3c24xx_uart_port *port)
-{
-       cpufreq_unregister_notifier(&port->freq_transition,
-                                   CPUFREQ_TRANSITION_NOTIFIER);
-}
-
-#else
-static inline int
-s3c24xx_serial_cpufreq_register(struct s3c24xx_uart_port *port)
-{
-       return 0;
-}
-
-static inline void
-s3c24xx_serial_cpufreq_deregister(struct s3c24xx_uart_port *port)
-{
-}
-#endif
-
 static int s3c24xx_serial_enable_baudclk(struct s3c24xx_uart_port *ourport)
 {
        struct device *dev = ourport->port.dev;
@@ -2237,10 +2146,6 @@ static int s3c24xx_serial_probe(struct platform_device *pdev)
        if (!IS_ERR(ourport->baudclk))
                clk_disable_unprepare(ourport->baudclk);
 
-       ret = s3c24xx_serial_cpufreq_register(ourport);
-       if (ret < 0)
-               dev_err(&pdev->dev, "failed to add cpufreq notifier\n");
-
        probe_index++;
 
        return 0;
@@ -2251,7 +2156,6 @@ static int s3c24xx_serial_remove(struct platform_device *dev)
        struct uart_port *port = s3c24xx_dev_to_port(&dev->dev);
 
        if (port) {
-               s3c24xx_serial_cpufreq_deregister(to_ourport(port));
                uart_remove_one_port(&s3c24xx_uart_drv, port);
        }
 
@@ -2589,94 +2493,6 @@ static struct console s3c24xx_serial_console = {
 };
 #endif /* CONFIG_SERIAL_SAMSUNG_CONSOLE */
 
-#ifdef CONFIG_CPU_S3C2410
-static const struct s3c24xx_serial_drv_data s3c2410_serial_drv_data = {
-       .info = {
-               .name           = "Samsung S3C2410 UART",
-               .type           = TYPE_S3C24XX,
-               .port_type      = PORT_S3C2410,
-               .fifosize       = 16,
-               .rx_fifomask    = S3C2410_UFSTAT_RXMASK,
-               .rx_fifoshift   = S3C2410_UFSTAT_RXSHIFT,
-               .rx_fifofull    = S3C2410_UFSTAT_RXFULL,
-               .tx_fifofull    = S3C2410_UFSTAT_TXFULL,
-               .tx_fifomask    = S3C2410_UFSTAT_TXMASK,
-               .tx_fifoshift   = S3C2410_UFSTAT_TXSHIFT,
-               .def_clk_sel    = S3C2410_UCON_CLKSEL0,
-               .num_clks       = 2,
-               .clksel_mask    = S3C2410_UCON_CLKMASK,
-               .clksel_shift   = S3C2410_UCON_CLKSHIFT,
-       },
-       .def_cfg = {
-               .ucon           = S3C2410_UCON_DEFAULT,
-               .ufcon          = S3C2410_UFCON_DEFAULT,
-       },
-};
-#define S3C2410_SERIAL_DRV_DATA (&s3c2410_serial_drv_data)
-#else
-#define S3C2410_SERIAL_DRV_DATA NULL
-#endif
-
-#ifdef CONFIG_CPU_S3C2412
-static const struct s3c24xx_serial_drv_data s3c2412_serial_drv_data = {
-       .info = {
-               .name           = "Samsung S3C2412 UART",
-               .type           = TYPE_S3C24XX,
-               .port_type      = PORT_S3C2412,
-               .fifosize       = 64,
-               .has_divslot    = 1,
-               .rx_fifomask    = S3C2440_UFSTAT_RXMASK,
-               .rx_fifoshift   = S3C2440_UFSTAT_RXSHIFT,
-               .rx_fifofull    = S3C2440_UFSTAT_RXFULL,
-               .tx_fifofull    = S3C2440_UFSTAT_TXFULL,
-               .tx_fifomask    = S3C2440_UFSTAT_TXMASK,
-               .tx_fifoshift   = S3C2440_UFSTAT_TXSHIFT,
-               .def_clk_sel    = S3C2410_UCON_CLKSEL2,
-               .num_clks       = 4,
-               .clksel_mask    = S3C2412_UCON_CLKMASK,
-               .clksel_shift   = S3C2412_UCON_CLKSHIFT,
-       },
-       .def_cfg = {
-               .ucon           = S3C2410_UCON_DEFAULT,
-               .ufcon          = S3C2410_UFCON_DEFAULT,
-       },
-};
-#define S3C2412_SERIAL_DRV_DATA (&s3c2412_serial_drv_data)
-#else
-#define S3C2412_SERIAL_DRV_DATA NULL
-#endif
-
-#if defined(CONFIG_CPU_S3C2440) || defined(CONFIG_CPU_S3C2416) || \
-       defined(CONFIG_CPU_S3C2443) || defined(CONFIG_CPU_S3C2442)
-static const struct s3c24xx_serial_drv_data s3c2440_serial_drv_data = {
-       .info = {
-               .name           = "Samsung S3C2440 UART",
-               .type           = TYPE_S3C24XX,
-               .port_type      = PORT_S3C2440,
-               .fifosize       = 64,
-               .has_divslot    = 1,
-               .rx_fifomask    = S3C2440_UFSTAT_RXMASK,
-               .rx_fifoshift   = S3C2440_UFSTAT_RXSHIFT,
-               .rx_fifofull    = S3C2440_UFSTAT_RXFULL,
-               .tx_fifofull    = S3C2440_UFSTAT_TXFULL,
-               .tx_fifomask    = S3C2440_UFSTAT_TXMASK,
-               .tx_fifoshift   = S3C2440_UFSTAT_TXSHIFT,
-               .def_clk_sel    = S3C2410_UCON_CLKSEL2,
-               .num_clks       = 4,
-               .clksel_mask    = S3C2412_UCON_CLKMASK,
-               .clksel_shift   = S3C2412_UCON_CLKSHIFT,
-               .ucon_mask      = S3C2440_UCON0_DIVMASK,
-       },
-       .def_cfg = {
-               .ucon           = S3C2410_UCON_DEFAULT,
-               .ufcon          = S3C2410_UFCON_DEFAULT,
-       },
-};
-#define S3C2440_SERIAL_DRV_DATA (&s3c2440_serial_drv_data)
-#else
-#define S3C2440_SERIAL_DRV_DATA NULL
-#endif
-
 #if defined(CONFIG_CPU_S3C6400) || defined(CONFIG_CPU_S3C6410)
 static const struct s3c24xx_serial_drv_data s3c6400_serial_drv_data = {
        .info = {
@@ -2845,15 +2661,6 @@ static const struct s3c24xx_serial_drv_data artpec8_serial_drv_data = {
 
 static const struct platform_device_id s3c24xx_serial_driver_ids[] = {
        {
-               .name           = "s3c2410-uart",
-               .driver_data    = (kernel_ulong_t)S3C2410_SERIAL_DRV_DATA,
-       }, {
-               .name           = "s3c2412-uart",
-               .driver_data    = (kernel_ulong_t)S3C2412_SERIAL_DRV_DATA,
-       }, {
-               .name           = "s3c2440-uart",
-               .driver_data    = (kernel_ulong_t)S3C2440_SERIAL_DRV_DATA,
-       }, {
                .name           = "s3c6400-uart",
                .driver_data    = (kernel_ulong_t)S3C6400_SERIAL_DRV_DATA,
        }, {
@@ -2881,12 +2688,6 @@ MODULE_DEVICE_TABLE(platform, s3c24xx_serial_driver_ids);
 
 #ifdef CONFIG_OF
 static const struct of_device_id s3c24xx_uart_dt_match[] = {
-       { .compatible = "samsung,s3c2410-uart",
-               .data = S3C2410_SERIAL_DRV_DATA },
-       { .compatible = "samsung,s3c2412-uart",
-               .data = S3C2412_SERIAL_DRV_DATA },
-       { .compatible = "samsung,s3c2440-uart",
-               .data = S3C2440_SERIAL_DRV_DATA },
        { .compatible = "samsung,s3c6400-uart",
                .data = S3C6400_SERIAL_DRV_DATA },
        { .compatible = "samsung,s5pv210-uart",
drivers/usb/host/Kconfig +4 -4
index fb7b603dddf8..8ba4fe9364b1 100644
@@ -443,12 +443,12 @@ config USB_OHCI_HCD_STI
          STMicroelectronics consumer electronics SoC's.
 
 config USB_OHCI_HCD_S3C2410
-       tristate "OHCI support for Samsung S3C24xx/S3C64xx SoC series"
-       depends on USB_OHCI_HCD && (ARCH_S3C24XX || ARCH_S3C64XX || COMPILE_TEST)
-       default y if (ARCH_S3C24XX || ARCH_S3C64XX)
+       tristate "OHCI support for Samsung S3C64xx SoC series"
+       depends on USB_OHCI_HCD && (ARCH_S3C64XX || COMPILE_TEST)
+       default ARCH_S3C64XX
        help
          Enables support for the on-chip OHCI controller on
-         S3C24xx/S3C64xx chips.
+         S3C64xx chips.
 
 config USB_OHCI_HCD_LPC32XX
        tristate "Support for LPC on-chip OHCI USB controller"
drivers/watchdog/Kconfig +4 -5
index b64bc49c7f30..eee7df45347a 100644
@@ -491,14 +491,13 @@ config IXP4XX_WATCHDOG
          Say N if you are unsure.
 
 config S3C2410_WATCHDOG
-       tristate "S3C2410 Watchdog"
-       depends on ARCH_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210 || ARCH_EXYNOS || \
-                  COMPILE_TEST
+       tristate "S3C6410/S5Pv210/Exynos Watchdog"
+       depends on ARCH_S3C64XX || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
        select WATCHDOG_CORE
        select MFD_SYSCON if ARCH_EXYNOS
        help
-         Watchdog timer block in the Samsung S3C24xx, S3C64xx, S5Pv210 and
-         Exynos SoCs. This will reboot the system when the timer expires with
+         Watchdog timer block in the Samsung S3C64xx, S5Pv210 and Exynos
+         SoCs. This will reboot the system when the timer expires with
          the watchdog enabled.
 
          The driver is limited by the speed of the system's PCLK
drivers/watchdog/s3c2410_wdt.c +3 -81
index d3fc8ed886ff..200ba236a72e 100644
@@ -562,73 +562,6 @@ static irqreturn_t s3c2410wdt_irq(int irqno, void *param)
        return IRQ_HANDLED;
 }
 
-#ifdef CONFIG_ARM_S3C24XX_CPUFREQ
-
-static int s3c2410wdt_cpufreq_transition(struct notifier_block *nb,
-                                         unsigned long val, void *data)
-{
-       int ret;
-       struct s3c2410_wdt *wdt = freq_to_wdt(nb);
-
-       if (!s3c2410wdt_is_running(wdt))
-               goto done;
-
-       if (val == CPUFREQ_PRECHANGE) {
-               /* To ensure that over the change we don't cause the
-                * watchdog to trigger, we perform an keep-alive if
-                * the watchdog is running.
-                */
-
-               s3c2410wdt_keepalive(&wdt->wdt_device);
-       } else if (val == CPUFREQ_POSTCHANGE) {
-               s3c2410wdt_stop(&wdt->wdt_device);
-
-               ret = s3c2410wdt_set_heartbeat(&wdt->wdt_device,
-                                               wdt->wdt_device.timeout);
-
-               if (ret >= 0)
-                       s3c2410wdt_start(&wdt->wdt_device);
-               else
-                       goto err;
-       }
-
-done:
-       return 0;
-
- err:
-       dev_err(wdt->dev, "cannot set new value for timeout %d\n",
-                               wdt->wdt_device.timeout);
-       return ret;
-}
-
-static inline int s3c2410wdt_cpufreq_register(struct s3c2410_wdt *wdt)
-{
-       wdt->freq_transition.notifier_call = s3c2410wdt_cpufreq_transition;
-
-       return cpufreq_register_notifier(&wdt->freq_transition,
-                                        CPUFREQ_TRANSITION_NOTIFIER);
-}
-
-static inline void s3c2410wdt_cpufreq_deregister(struct s3c2410_wdt *wdt)
-{
-       wdt->freq_transition.notifier_call = s3c2410wdt_cpufreq_transition;
-
-       cpufreq_unregister_notifier(&wdt->freq_transition,
-                                   CPUFREQ_TRANSITION_NOTIFIER);
-}
-
-#else
-
-static inline int s3c2410wdt_cpufreq_register(struct s3c2410_wdt *wdt)
-{
-       return 0;
-}
-
-static inline void s3c2410wdt_cpufreq_deregister(struct s3c2410_wdt *wdt)
-{
-}
-#endif
-
 static inline unsigned int s3c2410wdt_get_bootstatus(struct s3c2410_wdt *wdt)
 {
        unsigned int rst_stat;
@@ -761,12 +694,6 @@ static int s3c2410wdt_probe(struct platform_device *pdev)
        wdt->wdt_device.min_timeout = 1;
        wdt->wdt_device.max_timeout = s3c2410wdt_max_timeout(wdt);
 
-       ret = s3c2410wdt_cpufreq_register(wdt);
-       if (ret < 0) {
-               dev_err(dev, "failed to register cpufreq\n");
-               goto err_src_clk;
-       }
-
        watchdog_set_drvdata(&wdt->wdt_device, wdt);
 
        /* see if we can actually set the requested timer margin, and if
@@ -783,7 +710,7 @@ static int s3c2410wdt_probe(struct platform_device *pdev)
                                 S3C2410_WATCHDOG_DEFAULT_TIME);
                } else {
                        dev_err(dev, "failed to use default timeout\n");
-                       goto err_cpufreq;
+                       goto err_src_clk;
                }
        }
 
@@ -791,7 +718,7 @@ static int s3c2410wdt_probe(struct platform_device *pdev)
                               pdev->name, pdev);
        if (ret != 0) {
                dev_err(dev, "failed to install irq (%d)\n", ret);
-               goto err_cpufreq;
+               goto err_src_clk;
        }
 
        watchdog_set_nowayout(&wdt->wdt_device, nowayout);
@@ -817,7 +744,7 @@ static int s3c2410wdt_probe(struct platform_device *pdev)
 
        ret = watchdog_register_device(&wdt->wdt_device);
        if (ret)
-               goto err_cpufreq;
+               goto err_src_clk;
 
        ret = s3c2410wdt_enable(wdt, true);
        if (ret < 0)
@@ -839,9 +766,6 @@ static int s3c2410wdt_probe(struct platform_device *pdev)
  err_unregister:
        watchdog_unregister_device(&wdt->wdt_device);
 
- err_cpufreq:
-       s3c2410wdt_cpufreq_deregister(wdt);
-
  err_src_clk:
        clk_disable_unprepare(wdt->src_clk);
 
@@ -862,8 +786,6 @@ static int s3c2410wdt_remove(struct platform_device *dev)
 
        watchdog_unregister_device(&wdt->wdt_device);
 
-       s3c2410wdt_cpufreq_deregister(wdt);
-
        clk_disable_unprepare(wdt->src_clk);
        clk_disable_unprepare(wdt->bus_clk);
 
include/linux/clk/samsung.h +0 -32
index 38b774001712..0cf7aac83439 100644
@@ -21,36 +21,4 @@ static inline void s3c64xx_clk_init(struct device_node *np,
                                    bool s3c6400, void __iomem *base) { }
 #endif /* CONFIG_S3C64XX_COMMON_CLK */
 
-#ifdef CONFIG_S3C2410_COMMON_CLK
-void s3c2410_common_clk_init(struct device_node *np, unsigned long xti_f,
-                            int current_soc,
-                            void __iomem *reg_base);
-#else
-static inline void s3c2410_common_clk_init(struct device_node *np,
-                                          unsigned long xti_f,
-                                          int current_soc,
-                                          void __iomem *reg_base) { }
-#endif /* CONFIG_S3C2410_COMMON_CLK */
-
-#ifdef CONFIG_S3C2412_COMMON_CLK
-void s3c2412_common_clk_init(struct device_node *np, unsigned long xti_f,
-                            unsigned long ext_f, void __iomem *reg_base);
-#else
-static inline void s3c2412_common_clk_init(struct device_node *np,
-                                          unsigned long xti_f,
-                                          unsigned long ext_f,
-                                          void __iomem *reg_base) { }
-#endif /* CONFIG_S3C2412_COMMON_CLK */
-
-#ifdef CONFIG_S3C2443_COMMON_CLK
-void s3c2443_common_clk_init(struct device_node *np, unsigned long xti_f,
-                            int current_soc,
-                            void __iomem *reg_base);
-#else
-static inline void s3c2443_common_clk_init(struct device_node *np,
-                                          unsigned long xti_f,
-                                          int current_soc,
-                                          void __iomem *reg_base) { }
-#endif /* CONFIG_S3C2443_COMMON_CLK */
-
 #endif /* __LINUX_CLK_SAMSUNG_H_ */
include/linux/soc/samsung/s3c-pm.h +0 -59
index f9164559c99f..5b23d85d20ab 100644
@@ -14,58 +14,10 @@
 
 /* PM debug functions */
 
-/**
- * struct pm_uart_save - save block for core UART
- * @ulcon: Save value for S3C2410_ULCON
- * @ucon: Save value for S3C2410_UCON
- * @ufcon: Save value for S3C2410_UFCON
- * @umcon: Save value for S3C2410_UMCON
- * @ubrdiv: Save value for S3C2410_UBRDIV
- *
- * Save block for UART registers to be held over sleep and restored if they
- * are needed (say by debug).
-*/
-struct pm_uart_save {
-       u32     ulcon;
-       u32     ucon;
-       u32     ufcon;
-       u32     umcon;
-       u32     ubrdiv;
-       u32     udivslot;
-};
-
-#ifdef CONFIG_SAMSUNG_PM_DEBUG
-/**
- * s3c_pm_dbg() - low level debug function for use in suspend/resume.
- * @msg: The message to print.
- *
- * This function is used mainly to debug the resume process before the system
- * can rely on printk/console output. It uses the low-level debugging output
- * routine printascii() to do its work.
- */
-extern void s3c_pm_dbg(const char *msg, ...);
-
-#define S3C_PMDBG(fmt...) s3c_pm_dbg(fmt)
-
-extern void s3c_pm_save_uarts(bool is_s3c24xx);
-extern void s3c_pm_restore_uarts(bool is_s3c24xx);
-
-#ifdef CONFIG_ARCH_S3C64XX
-extern void s3c_pm_arch_update_uart(void __iomem *regs,
-                                   struct pm_uart_save *save);
-#else
-static inline void
-s3c_pm_arch_update_uart(void __iomem *regs, struct pm_uart_save *save)
-{
-}
-#endif
-
-#else
 #define S3C_PMDBG(fmt...) pr_debug(fmt)
 
 static inline void s3c_pm_save_uarts(bool is_s3c24xx) { }
 static inline void s3c_pm_restore_uarts(bool is_s3c24xx) { }
-#endif
 
 /* suspend memory checking */
 
@@ -81,14 +33,4 @@ extern void s3c_pm_check_store(void);
 #define s3c_pm_check_store()   do { } while (0)
 #endif
 
-/* system device subsystems */
-
-extern struct bus_type s3c2410_subsys;
-extern struct bus_type s3c2410a_subsys;
-extern struct bus_type s3c2412_subsys;
-extern struct bus_type s3c2416_subsys;
-extern struct bus_type s3c2440_subsys;
-extern struct bus_type s3c2442_subsys;
-extern struct bus_type s3c2443_subsys;
-
 #endif
--
Quoted 2 lines

2.29.2

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

maintainer Acked-by on v1 2/21
#16 lore raw

Re: [PATCH 02/21] ARM: s3c: remove s3c24xx specific hacks

In reply to Arnd Bergmann

Quoting Arnd Bergmann (2022-10-21 13:27:35)

Quoted 9 lines

From: Arnd Bergmann <[email protected]>

A number of device drivers reference CONFIG_ARM_S3C24XX_CPUFREQ or similar symbols that are no longer available with the platform gone, though the drivers themselves are still used on newer platforms, so remove these hacks.

---

#17 lore raw

PATCH 3/21 ARM: s3c: remove most s3c64xx board support

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

All traditional board files except for MACH_WLF_CRAGG_6410 were marked as unused, so remove them now.

Cc Kwangwoo Lee <[email protected]>
Cc Peter Korsgaard <[email protected]>
Cc Darius Augulis <[email protected]>
Cc Maurus Cuelenaere <[email protected]>
Cc Ben Dooks <[email protected]>
---
 arch/arm/mach-s3c/Kconfig.s3c64xx         | 206 -------
 arch/arm/mach-s3c/Makefile.s3c64xx        |  13 -
 arch/arm/mach-s3c/dev-backlight-s3c64xx.c | 137 -----
 arch/arm/mach-s3c/mach-anw6410.c          | 230 -------
 arch/arm/mach-s3c/mach-hmt.c              | 282 ---------
 arch/arm/mach-s3c/mach-mini6410.c         | 365 -----------
 arch/arm/mach-s3c/mach-ncp.c              | 100 ---
 arch/arm/mach-s3c/mach-real6410.c         | 333 ----------
 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-smdk6400.c         |  90 ---
 arch/arm/mach-s3c/mach-smdk6410.c         | 706 ----------------------
 14 files changed, 3226 deletions(-)
 delete mode 100644 arch/arm/mach-s3c/dev-backlight-s3c64xx.c
 delete mode 100644 arch/arm/mach-s3c/mach-anw6410.c
 delete mode 100644 arch/arm/mach-s3c/mach-hmt.c
 delete mode 100644 arch/arm/mach-s3c/mach-mini6410.c
 delete mode 100644 arch/arm/mach-s3c/mach-ncp.c
 delete mode 100644 arch/arm/mach-s3c/mach-real6410.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-smdk6400.c
 delete mode 100644 arch/arm/mach-s3c/mach-smdk6410.c
arch/arm/mach-s3c/Kconfig.s3c64xx +0 -206
index 0c1b91c3ac5f..0da214c43fba 100644
@@ -54,17 +54,6 @@ config S3C64XX_SETUP_SDHCI
 	  Internal configuration for default SDHCI setup for S3C6400 and
 	  S3C6410 SoCs.
 
-config S3C64XX_DEV_ONENAND1
-	bool
-	help
-	  Compile in platform device definition for OneNAND1 controller
-
-config SAMSUNG_DEV_BACKLIGHT
-	bool
-	depends on SAMSUNG_DEV_PWM
-	help
-	  Compile in platform device definition LCD backlight with PWM Timer
-
 # platform specific device setup
 
 config S3C64XX_SETUP_I2C0
@@ -113,201 +102,6 @@ config S3C64XX_SETUP_USB_PHY
 
 # S36400 Macchine support
 
-config MACH_SMDK6400
-	bool "SMDK6400"
-	depends on ATAGS && UNUSED_BOARD_FILES
-	select CPU_S3C6400
-	select S3C64XX_SETUP_SDHCI
-	select S3C_DEV_HSMMC1
-	help
-	  Machine support for the Samsung SMDK6400
-
-# S3C6410 machine support
-
-config MACH_ANW6410
-	bool "A&W6410"
-	depends on ATAGS && UNUSED_BOARD_FILES
-	select CPU_S3C6410
-	select S3C64XX_SETUP_FB_24BPP
-	select S3C_DEV_FB
-	help
-	  Machine support for the A&W6410
-
-config MACH_MINI6410
-	bool "MINI6410"
-	depends on ATAGS && UNUSED_BOARD_FILES
-	select CPU_S3C6410
-	select S3C64XX_SETUP_FB_24BPP
-	select S3C64XX_SETUP_SDHCI
-	select S3C_DEV_FB
-	select S3C_DEV_HSMMC
-	select S3C_DEV_HSMMC1
-	select S3C_DEV_NAND
-	select S3C_DEV_USB_HOST
-	select SAMSUNG_DEV_ADC
-	select SAMSUNG_DEV_TS
-	help
-	  Machine support for the FriendlyARM MINI6410
-
-config MACH_REAL6410
-	bool "REAL6410"
-	depends on ATAGS && UNUSED_BOARD_FILES
-	select CPU_S3C6410
-	select S3C64XX_SETUP_FB_24BPP
-	select S3C64XX_SETUP_SDHCI
-	select S3C_DEV_FB
-	select S3C_DEV_HSMMC
-	select S3C_DEV_HSMMC1
-	select S3C_DEV_NAND
-	select S3C_DEV_USB_HOST
-	select SAMSUNG_DEV_ADC
-	select SAMSUNG_DEV_TS
-	help
-	  Machine support for the CoreWind REAL6410
-
-config MACH_SMDK6410
-	bool "SMDK6410"
-	depends on ATAGS && UNUSED_BOARD_FILES
-	select CPU_S3C6410
-	select S3C64XX_SETUP_FB_24BPP
-	select S3C64XX_SETUP_I2C1
-	select S3C64XX_SETUP_IDE
-	select S3C64XX_SETUP_KEYPAD
-	select S3C64XX_SETUP_SDHCI
-	select S3C64XX_SETUP_USB_PHY
-	select S3C_DEV_FB
-	select S3C_DEV_HSMMC
-	select S3C_DEV_HSMMC1
-	select S3C_DEV_I2C1
-	select S3C_DEV_RTC
-	select S3C_DEV_USB_HOST
-	select S3C_DEV_USB_HSOTG
-	select S3C_DEV_WDT
-	select SAMSUNG_DEV_ADC
-	select SAMSUNG_DEV_BACKLIGHT
-	select SAMSUNG_DEV_IDE
-	select SAMSUNG_DEV_KEYPAD
-	select SAMSUNG_DEV_PWM
-	select SAMSUNG_DEV_TS
-	help
-	  Machine support for the Samsung SMDK6410
-
-# At least some of the SMDK6410s were shipped with the card detect
-# for the MMC/SD slots connected to the same input. This means that
-# either the boards need to be altered to have channel0 to an alternate
-# configuration or that only one slot can be used.
-
-choice
-	prompt "SMDK6410 MMC/SD slot setup"
-	depends on MACH_SMDK6410
-
-config SMDK6410_SD_CH0
-	bool "Use channel 0 only"
-	depends on MACH_SMDK6410
-	help
-	  Select CON7 (channel 0) as the MMC/SD slot, as
-	  at least some SMDK6410 boards come with the
-	  resistors fitted so that the card detects for
-	  channels 0 and 1 are the same.
-
-config SMDK6410_SD_CH1
-	bool "Use channel 1 only"
-	depends on MACH_SMDK6410
-	help
-	  Select CON6 (channel 1) as the MMC/SD slot, as
-	  at least some SMDK6410 boards come with the
-	  resistors fitted so that the card detects for
-	  channels 0 and 1 are the same.
-
-endchoice
-
-config SMDK6410_WM1190_EV1
-	bool "Support Wolfson Microelectronics 1190-EV1 PMIC card"
-	depends on MACH_SMDK6410
-	depends on I2C=y
-	select MFD_WM8350_I2C
-	select REGULATOR
-	select REGULATOR_WM8350
-	help
-	  The Wolfson Microelectronics 1190-EV1 is a WM835x based PMIC
-	  and audio daughtercard for the Samsung SMDK6410 reference
-	  platform.  Enabling this option will build support for this
-	  module into the kernel.  The presence of the module will be
-	  detected at runtime so the resulting kernel can be used
-	  with or without the 1190-EV1 fitted.
-
-config SMDK6410_WM1192_EV1
-	bool "Support Wolfson Microelectronics 1192-EV1 PMIC card"
-	depends on MACH_SMDK6410
-	depends on I2C=y
-	select MFD_WM831X
-	select MFD_WM831X_I2C
-	select REGULATOR
-	select REGULATOR_WM831X
-	help
-	  The Wolfson Microelectronics 1192-EV1 is a WM831x based PMIC
-	  daughtercard for the Samsung SMDK6410 reference platform.
-	  Enabling this option will build support for this module into
-	  the kernel.  The presence of the daughtercard will be
-	  detected at runtime so the resulting kernel can be used
-	  with or without the 1192-EV1 fitted.
-
-config MACH_NCP
-	bool "NCP"
-	depends on ATAGS && UNUSED_BOARD_FILES
-	select CPU_S3C6410
-	select S3C64XX_SETUP_I2C1
-	select S3C_DEV_HSMMC1
-	select S3C_DEV_I2C1
-	help
-	  Machine support for the Samsung NCP
-
-config MACH_HMT
-	bool "Airgoo HMT"
-	depends on ATAGS && UNUSED_BOARD_FILES
-	select CPU_S3C6410
-	select S3C64XX_SETUP_FB_24BPP
-	select S3C_DEV_FB
-	select S3C_DEV_NAND
-	select S3C_DEV_USB_HOST
-	select SAMSUNG_DEV_PWM
-	help
-	  Machine support for the Airgoo HMT
-
-config MACH_SMARTQ
-	bool
-	select CPU_S3C6410
-	select S3C64XX_SETUP_FB_24BPP
-	select S3C64XX_SETUP_SDHCI
-	select S3C64XX_SETUP_USB_PHY
-	select S3C_DEV_FB
-	select S3C_DEV_HSMMC
-	select S3C_DEV_HSMMC1
-	select S3C_DEV_HSMMC2
-	select S3C_DEV_HWMON
-	select S3C_DEV_RTC
-	select S3C_DEV_USB_HOST
-	select S3C_DEV_USB_HSOTG
-	select SAMSUNG_DEV_ADC
-	select SAMSUNG_DEV_PWM
-	select SAMSUNG_DEV_TS
-	help
-	  Shared machine support for SmartQ 5/7
-
-config MACH_SMARTQ5
-	bool "SmartQ 5"
-	depends on ATAGS && UNUSED_BOARD_FILES
-	select MACH_SMARTQ
-	help
-	  Machine support for the SmartQ 5
-
-config MACH_SMARTQ7
-	bool "SmartQ 7"
-	depends on ATAGS && UNUSED_BOARD_FILES
-	select MACH_SMARTQ
-	help
-	  Machine support for the SmartQ 7
-
 config MACH_WLF_CRAGG_6410
 	bool "Wolfson Cragganmore 6410"
 	depends on ATAGS
arch/arm/mach-s3c/Makefile.s3c64xx +0 -13
index 21e919bf2cd1..ba179a22c2af 100644
@@ -39,20 +39,7 @@ obj-$(CONFIG_S3C64XX_SETUP_SDHCI_GPIO)	+= setup-sdhci-gpio-s3c64xx.o
 obj-$(CONFIG_S3C64XX_SETUP_SPI)		+= setup-spi-s3c64xx.o
 obj-$(CONFIG_S3C64XX_SETUP_USB_PHY) += setup-usb-phy-s3c64xx.o
 
-obj-$(CONFIG_SAMSUNG_DEV_BACKLIGHT)	+= dev-backlight-s3c64xx.o
-
 # Machine support
-
-obj-$(CONFIG_MACH_ANW6410)		+= mach-anw6410.o
-obj-$(CONFIG_MACH_HMT)			+= mach-hmt.o
-obj-$(CONFIG_MACH_MINI6410)		+= mach-mini6410.o
-obj-$(CONFIG_MACH_NCP)			+= mach-ncp.o
-obj-$(CONFIG_MACH_REAL6410)		+= mach-real6410.o
-obj-$(CONFIG_MACH_SMARTQ)		+= mach-smartq.o
-obj-$(CONFIG_MACH_SMARTQ5)		+= mach-smartq5.o
-obj-$(CONFIG_MACH_SMARTQ7)		+= mach-smartq7.o
-obj-$(CONFIG_MACH_SMDK6400)		+= mach-smdk6400.o
-obj-$(CONFIG_MACH_SMDK6410)		+= mach-smdk6410.o
 obj-$(CONFIG_MACH_WLF_CRAGG_6410)	+= mach-crag6410.o mach-crag6410-module.o
 endif
 
arch/arm/mach-s3c/dev-backlight-s3c64xx.c deleted +0 -0
deleted file mode 100644
index 65488b61e50c..000000000000
arch/arm/mach-s3c/mach-anw6410.c deleted +0 -0
deleted file mode 100644
index b67eae43e04f..000000000000
arch/arm/mach-s3c/mach-hmt.c deleted +0 -0
deleted file mode 100644
index 49ba16c447aa..000000000000
arch/arm/mach-s3c/mach-mini6410.c deleted +0 -0
deleted file mode 100644
index 058ae9e8b89f..000000000000
arch/arm/mach-s3c/mach-ncp.c deleted +0 -0
deleted file mode 100644
index 1e65f8bce5c4..000000000000
arch/arm/mach-s3c/mach-real6410.c deleted +0 -0
deleted file mode 100644
index 8c10ebc38a9c..000000000000
arch/arm/mach-s3c/mach-smartq.c deleted +0 -0
deleted file mode 100644
index 5b6e7c2a85ef..000000000000
arch/arm/mach-s3c/mach-smartq.h deleted +0 -0
deleted file mode 100644
index f98132f4f430..000000000000
arch/arm/mach-s3c/mach-smartq5.c deleted +0 -0
deleted file mode 100644
index ce3fce0bba20..000000000000
arch/arm/mach-s3c/mach-smartq7.c deleted +0 -0
deleted file mode 100644
index 78ca0e704797..000000000000
arch/arm/mach-s3c/mach-smdk6400.c deleted +0 -0
deleted file mode 100644
index a3c1b2a82455..000000000000
arch/arm/mach-s3c/mach-smdk6410.c deleted +0 -0
deleted file mode 100644
index e57b2bb61484..000000000000
Signature · 1 line
2.29.2
Reviewed-by on v1 3/21
#18 lore raw

Re: [PATCH 03/21] ARM: s3c: remove most s3c64xx board support

Quoted 5 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

All traditional board files except for MACH_WLF_CRAGG_6410 were marked as unused, so remove them now.

Quoted 7 lines
Cc Kwangwoo Lee <[email protected]>
Cc Peter Korsgaard <[email protected]>
Cc Darius Augulis <[email protected]>
Cc Maurus Cuelenaere <[email protected]>
Cc Ben Dooks <[email protected]>

---

Best regards,
Krzysztof

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

#19 lore raw

PATCH 4/21 ARM: s3c: remove adc.c

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

This driver could not be enabled on s3c64xx for a long time because of the ARCH_MULTIPLATFORM dependency, so remove it.

---
 arch/arm/mach-s3c/Kconfig           |  15 -
 arch/arm/mach-s3c/Kconfig.s3c64xx   |   1 -
 arch/arm/mach-s3c/Makefile          |   4 -
 arch/arm/mach-s3c/adc.c             | 510 ----------------------------
 arch/arm/mach-s3c/mach-crag6410.c   |   1 -
 arch/arm/mach-s3c/regs-adc.h        |  64 ----
 include/linux/soc/samsung/s3c-adc.h |  32 --
 7 files changed, 627 deletions(-)
 delete mode 100644 arch/arm/mach-s3c/adc.c
 delete mode 100644 arch/arm/mach-s3c/regs-adc.h
 delete mode 100644 include/linux/soc/samsung/s3c-adc.h
arch/arm/mach-s3c/Kconfig +0 -15
index 809f84fca0b8..0dde4010aa64 100644
@@ -63,16 +63,6 @@ config S3C_GPIO_TRACK
 	  Internal configuration option to enable the s3c specific gpio
 	  chip tracking if the platform requires it.
 
-# ADC driver
-
-config S3C_ADC
-	bool "ADC common driver support"
-	depends on !ARCH_MULTIPLATFORM
-	help
-	  Core support for the ADC block found in the Samsung SoC systems
-	  for drivers such as the touchscreen and hwmon to use to share
-	  this resource.
-
 # device definitions to compile in
 
 config S3C_DEV_HSMMC
@@ -165,11 +155,6 @@ config S3C_DEV_RTC
 	help
 	  Compile in platform device definition for RTC
 
-config SAMSUNG_DEV_ADC
-	bool
-	help
-	  Compile in platform device definition for ADC controller
-
 config S3C64XX_DEV_SPI0
 	bool
 	help
arch/arm/mach-s3c/Kconfig.s3c64xx +0 -1
index 0da214c43fba..c403d7642f0a 100644
@@ -125,7 +125,6 @@ config MACH_WLF_CRAGG_6410
 	select S3C_DEV_USB_HOST
 	select S3C_DEV_USB_HSOTG
 	select S3C_DEV_WDT
-	select SAMSUNG_DEV_ADC
 	select SAMSUNG_DEV_KEYPAD
 	select SAMSUNG_DEV_PWM
 	help
arch/arm/mach-s3c/Makefile +0 -4
index a5135137e648..bae7316be5c7 100644
@@ -8,10 +8,6 @@ include $(src)/Makefile.s3c64xx
 
 obj-y				+= init.o cpu.o
 
-# ADC
-
-obj-$(CONFIG_S3C_ADC)	+= adc.o
-
 # devices
 
 obj-$(CONFIG_SAMSUNG_ATAGS)	+= platformdata.o
arch/arm/mach-s3c/adc.c deleted +0 -0
deleted file mode 100644
index 0232520d3c13..000000000000
arch/arm/mach-s3c/mach-crag6410.c +0 -1
index 9a45474d1bf7..fab6b3efc9f6 100644
@@ -57,7 +57,6 @@
 #include "keypad.h"
 #include "devs.h"
 #include "cpu.h"
-#include <linux/soc/samsung/s3c-adc.h>
 #include <linux/platform_data/i2c-s3c2410.h>
 #include "pm.h"
 
arch/arm/mach-s3c/regs-adc.h deleted +0 -0
deleted file mode 100644
index 58953c7381dd..000000000000
include/linux/soc/samsung/s3c-adc.h deleted +0 -0
deleted file mode 100644
index 591c94ef957d..000000000000
Signature · 1 line
2.29.2
maintainer Acked-by on v1 4/21
#20 lore raw

Re: [PATCH 04/21] ARM: s3c: remove adc.c

Quoted 4 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

This driver could not be enabled on s3c64xx for a long time because of the ARCH_MULTIPLATFORM dependency, so remove it.

Reviewed-by on v1 4/21
#21 lore raw

Re: [PATCH 04/21] ARM: s3c: remove adc.c

In reply to Arnd Bergmann
Quoted 6 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

This driver could not be enabled on s3c64xx for a long time because of the ARCH_MULTIPLATFORM dependency, so remove it.

Best regards,
Krzysztof

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

#22 lore raw

PATCH 5/21 ARM: s3c: simplify platform code

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

Following down the now unused symbols and header files, some additional content can be dropped that is used by neither the s3c64xx DT support nor the crag6410 board.

---
 arch/arm/mach-s3c/Kconfig                    |  50 --
 arch/arm/mach-s3c/Kconfig.s3c64xx            |   5 -
 arch/arm/mach-s3c/Makefile                   |   2 -
 arch/arm/mach-s3c/Makefile.s3c64xx           |   1 -
 arch/arm/mach-s3c/adc-core.h                 |  24 -
 arch/arm/mach-s3c/ata-core-s3c64xx.h         |  24 -
 arch/arm/mach-s3c/backlight-s3c64xx.h        |  22 -
 arch/arm/mach-s3c/cpu.h                      |  47 --
 arch/arm/mach-s3c/dev-audio-s3c64xx.c        | 127 ----
 arch/arm/mach-s3c/devs.c                     | 725 -------------------
 arch/arm/mach-s3c/devs.h                     |  37 -
 arch/arm/mach-s3c/dma-s3c64xx.h              |  57 --
 arch/arm/mach-s3c/dma.h                      |   2 -
 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.c             | 443 +----------
 arch/arm/mach-s3c/iic-core.h                 |   7 -
 arch/arm/mach-s3c/init.c                     |  26 +-
 arch/arm/mach-s3c/map-s3c.h                  |  37 -
 arch/arm/mach-s3c/onenand-core-s3c64xx.h     |  32 -
 arch/arm/mach-s3c/otom.h                     |  25 -
 arch/arm/mach-s3c/pm-core-s3c64xx.h          |  17 -
 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-srom-s3c64xx.h        |  55 --
 arch/arm/mach-s3c/s3c6400.c                  |   6 -
 arch/arm/mach-s3c/s3c6410.c                  |   9 -
 arch/arm/mach-s3c/sdhci.h                    |  25 -
 arch/arm/mach-s3c/setup-ide-s3c64xx.c        |  40 -
 arch/arm/mach-s3c/sleep-s3c64xx.S            |  27 -
 include/linux/platform_data/media/s5p_hdmi.h |  32 -
 33 files changed, 6 insertions(+), 2146 deletions(-)
 delete mode 100644 arch/arm/mach-s3c/adc-core.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/dma-s3c64xx.h
 delete mode 100644 arch/arm/mach-s3c/dma.h
 delete mode 100644 arch/arm/mach-s3c/onenand-core-s3c64xx.h
 delete mode 100644 arch/arm/mach-s3c/otom.h
 delete mode 100644 arch/arm/mach-s3c/regs-srom-s3c64xx.h
 delete mode 100644 arch/arm/mach-s3c/setup-ide-s3c64xx.c
 delete mode 100644 include/linux/platform_data/media/s5p_hdmi.h
arch/arm/mach-s3c/Kconfig +0 -50
index 0dde4010aa64..b3656109f1f7 100644
@@ -90,36 +90,6 @@ config S3C_DEV_I2C1
 	help
 	  Compile in platform device definitions for I2C channel 1
 
-config S3C_DEV_I2C2
-	bool
-	help
-	  Compile in platform device definitions for I2C channel 2
-
-config S3C_DEV_I2C3
-	bool
-	help
-	  Compile in platform device definition for I2C controller 3
-
-config S3C_DEV_I2C4
-	bool
-	help
-	  Compile in platform device definition for I2C controller 4
-
-config S3C_DEV_I2C5
-	bool
-	help
-	  Compile in platform device definition for I2C controller 5
-
-config S3C_DEV_I2C6
-	bool
-	help
-	  Compile in platform device definition for I2C controller 6
-
-config S3C_DEV_I2C7
-	bool
-	help
-	  Compile in platform device definition for I2C controller 7
-
 config S3C_DEV_FB
 	bool
 	help
@@ -135,26 +105,6 @@ config S3C_DEV_USB_HSOTG
 	help
 	  Compile in platform device definition for USB high-speed OtG
 
-config S3C_DEV_WDT
-	bool
-	help
-	  Compile in platform device definition for Watchdog Timer
-
-config S3C_DEV_NAND
-	bool
-	help
-	  Compile in platform device definition for NAND controller
-
-config S3C_DEV_ONENAND
-	bool
-	help
-	  Compile in platform device definition for OneNAND controller
-
-config S3C_DEV_RTC
-	bool
-	help
-	  Compile in platform device definition for RTC
-
 config S3C64XX_DEV_SPI0
 	bool
 	help
arch/arm/mach-s3c/Kconfig.s3c64xx +0 -5
index c403d7642f0a..c52c7ce1d8fa 100644
@@ -15,12 +15,9 @@ menuconfig ARCH_S3C64XX
 	select HAVE_TCM
 	select PLAT_SAMSUNG
 	select PM_GENERIC_DOMAINS if PM
-	select S3C_DEV_NAND if ATAGS
 	select S3C_GPIO_TRACK if ATAGS
-	select S3C2410_WATCHDOG
 	select SAMSUNG_ATAGS if ATAGS
 	select SAMSUNG_WAKEMASK if PM
-	select WATCHDOG
 	help
 	  Samsung S3C64XX series based systems
 
@@ -121,10 +118,8 @@ config MACH_WLF_CRAGG_6410
 	select S3C_DEV_HSMMC1
 	select S3C_DEV_HSMMC2
 	select S3C_DEV_I2C1
-	select S3C_DEV_RTC
 	select S3C_DEV_USB_HOST
 	select S3C_DEV_USB_HSOTG
-	select S3C_DEV_WDT
 	select SAMSUNG_DEV_KEYPAD
 	select SAMSUNG_DEV_PWM
 	help
arch/arm/mach-s3c/Makefile +0 -2
index bae7316be5c7..988c49672715 100644
@@ -11,7 +11,6 @@ obj-y				+= init.o cpu.o
 # devices
 
 obj-$(CONFIG_SAMSUNG_ATAGS)	+= platformdata.o
-
 obj-$(CONFIG_SAMSUNG_ATAGS)	+= devs.o
 obj-$(CONFIG_SAMSUNG_ATAGS)	+= dev-uart.o
 
@@ -21,5 +20,4 @@ obj-$(CONFIG_GPIO_SAMSUNG)     += gpio-samsung.o
 
 obj-$(CONFIG_SAMSUNG_PM)	+= pm.o pm-common.o
 obj-$(CONFIG_SAMSUNG_PM_GPIO)	+= pm-gpio.o
-
 obj-$(CONFIG_SAMSUNG_WAKEMASK)	+= wakeup-mask.o
arch/arm/mach-s3c/Makefile.s3c64xx +0 -1
index ba179a22c2af..13cda2fe7b6c 100644
@@ -33,7 +33,6 @@ obj-y				+= dev-audio-s3c64xx.o
 obj-$(CONFIG_S3C64XX_SETUP_FB_24BPP)	+= setup-fb-24bpp-s3c64xx.o
 obj-$(CONFIG_S3C64XX_SETUP_I2C0)	+= setup-i2c0-s3c64xx.o
 obj-$(CONFIG_S3C64XX_SETUP_I2C1)	+= setup-i2c1-s3c64xx.o
-obj-$(CONFIG_S3C64XX_SETUP_IDE)		+= setup-ide-s3c64xx.o
 obj-$(CONFIG_S3C64XX_SETUP_KEYPAD)	+= setup-keypad-s3c64xx.o
 obj-$(CONFIG_S3C64XX_SETUP_SDHCI_GPIO)	+= setup-sdhci-gpio-s3c64xx.o
 obj-$(CONFIG_S3C64XX_SETUP_SPI)		+= setup-spi-s3c64xx.o
arch/arm/mach-s3c/adc-core.h deleted +0 -0
deleted file mode 100644
index 039f6862b6a7..000000000000
arch/arm/mach-s3c/ata-core-s3c64xx.h deleted +0 -0
deleted file mode 100644
index 4863ad9d3a42..000000000000
arch/arm/mach-s3c/backlight-s3c64xx.h deleted +0 -0
deleted file mode 100644
index 2a2b35821d58..000000000000
arch/arm/mach-s3c/cpu.h +0 -47

87 lines not on this page · raw message

arch/arm/mach-s3c/dev-audio-s3c64xx.c +0 -127

130 lines not on this page · raw message

arch/arm/mach-s3c/devs.c +0 -725

793 lines not on this page · raw message

arch/arm/mach-s3c/devs.h +0 -37
index 991b9b2006a1..21c00786c264 100644
@@ -25,60 +25,23 @@ extern struct s3c24xx_uart_resources s3c64xx_uart_resources[];
 extern struct platform_device *s3c24xx_uart_devs[];
 extern struct platform_device *s3c24xx_uart_src[];
 
-extern struct platform_device s3c64xx_device_ac97;
 extern struct platform_device s3c64xx_device_iis0;
 extern struct platform_device s3c64xx_device_iis1;
-extern struct platform_device s3c64xx_device_iisv4;
-extern struct platform_device s3c64xx_device_onenand1;
-extern struct platform_device s3c64xx_device_pcm0;
-extern struct platform_device s3c64xx_device_pcm1;
 extern struct platform_device s3c64xx_device_spi0;
 
-extern struct platform_device s3c_device_adc;
-extern struct platform_device s3c_device_cfcon;
 extern struct platform_device s3c_device_fb;
-extern struct platform_device s3c_device_hwmon;
 extern struct platform_device s3c_device_hsmmc0;
 extern struct platform_device s3c_device_hsmmc1;
 extern struct platform_device s3c_device_hsmmc2;
 extern struct platform_device s3c_device_hsmmc3;
 extern struct platform_device s3c_device_i2c0;
 extern struct platform_device s3c_device_i2c1;
-extern struct platform_device s3c_device_i2c2;
-extern struct platform_device s3c_device_i2c3;
-extern struct platform_device s3c_device_i2c4;
-extern struct platform_device s3c_device_i2c5;
-extern struct platform_device s3c_device_i2c6;
-extern struct platform_device s3c_device_i2c7;
-extern struct platform_device s3c_device_iis;
-extern struct platform_device s3c_device_lcd;
-extern struct platform_device s3c_device_nand;
 extern struct platform_device s3c_device_ohci;
-extern struct platform_device s3c_device_onenand;
-extern struct platform_device s3c_device_rtc;
-extern struct platform_device s3c_device_sdi;
-extern struct platform_device s3c_device_spi0;
-extern struct platform_device s3c_device_spi1;
-extern struct platform_device s3c_device_ts;
-extern struct platform_device s3c_device_timer[];
-extern struct platform_device s3c_device_usbgadget;
 extern struct platform_device s3c_device_usb_hsotg;
-extern struct platform_device s3c_device_usb_hsudc;
-extern struct platform_device s3c_device_wdt;
 
-extern struct platform_device samsung_asoc_idma;
 extern struct platform_device samsung_device_keypad;
 extern struct platform_device samsung_device_pwm;
 
-/* s3c2440 specific devices */
-
-#ifdef CONFIG_CPU_S3C2440
-
-extern struct platform_device s3c_device_camif;
-extern struct platform_device s3c_device_ac97;
-
-#endif
-
 /**
  * s3c_set_platdata() - helper for setting platform data
  * @pd: The default platform data for this device.
arch/arm/mach-s3c/dma-s3c64xx.h deleted +0 -0
deleted file mode 100644
index 40ca8de21096..000000000000
arch/arm/mach-s3c/dma.h deleted +0 -0
deleted file mode 100644
index 48057cb90070..000000000000
arch/arm/mach-s3c/gpio-cfg-helpers.h +0 -124

134 lines not on this page · raw message

arch/arm/mach-s3c/gpio-cfg.h +0 -19
index 469c220e092b..2dfb0561001e 100644
@@ -94,17 +94,6 @@ struct samsung_gpio_cfg {
  */
 extern int s3c_gpio_cfgpin(unsigned int pin, unsigned int to);
 
-/**
- * s3c_gpio_getcfg - Read the current function for a GPIO pin
- * @pin: The pin to read the configuration value for.
- *
- * Read the configuration state of the given @pin, returning a value that
- * could be passed back to s3c_gpio_cfgpin().
- *
- * @sa s3c_gpio_cfgpin
- */
-extern unsigned s3c_gpio_getcfg(unsigned int pin);
-
 /**
  * s3c_gpio_cfgpin_range() - Change the GPIO function for configuring pin range
  * @start: The pin number to start at
@@ -142,14 +131,6 @@ extern int s3c_gpio_cfgpin_range(unsigned int start, unsigned int nr,
 */
 extern int s3c_gpio_setpull(unsigned int pin, samsung_gpio_pull_t pull);
 
-/**
- * s3c_gpio_getpull() - get the pull resistor state of a gpio pin
- * @pin: The pin number to get the settings for
- *
- * Read the pull resistor value for the specified pin.
-*/
-extern samsung_gpio_pull_t s3c_gpio_getpull(unsigned int pin);
-
 /* configure `all` aspects of an gpio */
 
 /**
arch/arm/mach-s3c/gpio-core.h +0 -3
index b361c8c0d669..6801c85fb9da 100644
@@ -93,9 +93,6 @@ static inline struct samsung_gpio_chip *to_samsung_gpio(struct gpio_chip *gpc)
  */
 extern int samsung_gpiolib_to_irq(struct gpio_chip *chip, unsigned int offset);
 
-/* exported for core SoC support to change */
-extern struct samsung_gpio_cfg s3c24xx_gpiocfg_default;
-
 #ifdef CONFIG_S3C_GPIO_TRACK
 extern struct samsung_gpio_chip *s3c_gpios[S3C_GPIO_END];
 
arch/arm/mach-s3c/gpio-samsung.c +3 -440

544 lines not on this page · raw message

arch/arm/mach-s3c/iic-core.h +0 -7
index c5cfd5af3874..6672691bd7b8 100644
@@ -28,11 +28,4 @@ static inline void s3c_i2c1_setname(char *name)
 #endif
 }
 
-static inline void s3c_i2c2_setname(char *name)
-{
-#ifdef CONFIG_S3C_DEV_I2C2
-	s3c_device_i2c2.name = name;
-#endif
-}
-
 #endif /* __ASM_ARCH_IIC_H */
arch/arm/mach-s3c/init.c +1 -25
index bf513616f55d..0ac079f23d51 100644
@@ -63,29 +63,6 @@ void __init s3c_init_cpu(unsigned long idcode,
 	pr_err("The platform is deprecated and scheduled for removal. Please reach to the maintainers of the platform and [email protected] if you still use it.  Without such feedback, the platform will be removed after 2022.\n");
 }
 
-/* s3c24xx_init_clocks
- *
- * Initialise the clock subsystem and associated information from the
- * given master crystal value.
- *
- * xtal  = 0 -> use default PLL crystal value (normally 12MHz)
- *      != 0 -> PLL crystal value in Hz
-*/
-
-void __init s3c24xx_init_clocks(int xtal)
-{
-	if (xtal == 0)
-		xtal = 12*1000*1000;
-
-	if (cpu == NULL)
-		panic("s3c24xx_init_clocks: no cpu setup?\n");
-
-	if (cpu->init_clocks == NULL)
-		panic("s3c24xx_init_clocks: cpu has no clock init\n");
-	else
-		(cpu->init_clocks)(xtal);
-}
-
 /* uart management */
 #if IS_ENABLED(CONFIG_SAMSUNG_ATAGS)
 static int nr_uarts __initdata = 0;
@@ -150,8 +127,7 @@ static int __init s3c_arch_init(void)
 	int ret;
 
 	/* init is only needed for ATAGS based platforms */
-	if (!IS_ENABLED(CONFIG_ATAGS) ||
-	    (!soc_is_s3c24xx() && !soc_is_s3c64xx()))
+	if (!IS_ENABLED(CONFIG_ATAGS))
 		return 0;
 
 	// do the correct init for cpu
arch/arm/mach-s3c/map-s3c.h +0 -37
index a18fdd3d6ae2..b5f5bdba384f 100644
@@ -11,20 +11,6 @@
 
 #include "map.h"
 
-#define S3C24XX_VA_IRQ		S3C_VA_IRQ
-#define S3C24XX_VA_MEMCTRL	S3C_VA_MEM
-#define S3C24XX_VA_UART		S3C_VA_UART
-
-#define S3C24XX_VA_TIMER	S3C_VA_TIMER
-#define S3C24XX_VA_CLKPWR	S3C_VA_SYS
-#define S3C24XX_VA_WATCHDOG	S3C_VA_WATCHDOG
-
-#define S3C2412_VA_SSMC		S3C_ADDR_CPU(0x00000000)
-#define S3C2412_VA_EBI		S3C_ADDR_CPU(0x00100000)
-
-#define S3C2410_PA_UART		(0x50000000)
-#define S3C24XX_PA_UART		S3C2410_PA_UART
-
 /*
  * GPIO ports
  *
@@ -35,11 +21,6 @@
  * 0xFA800000, which is not in the way of any current mapping
  * by the base system.
 */
-
-#define S3C2410_PA_GPIO		(0x56000000)
-#define S3C24XX_PA_GPIO		S3C2410_PA_GPIO
-
-#define S3C24XX_VA_GPIO		((S3C24XX_PA_GPIO - S3C24XX_PA_UART) + S3C24XX_VA_UART)
 #define S3C64XX_VA_GPIO		S3C_ADDR_CPU(0x00000000)
 
 #define S3C64XX_VA_MODEM	S3C_ADDR_CPU(0x00100000)
@@ -47,24 +28,6 @@
 
 #define S3C_VA_USB_HSPHY	S3C64XX_VA_USB_HSPHY
 
-#define S3C2410_ADDR(x)		S3C_ADDR(x)
-
-/* deal with the registers that move under the 2412/2413 */
-
-#if defined(CONFIG_CPU_S3C2412)
-#ifndef __ASSEMBLY__
-extern void __iomem *s3c24xx_va_gpio2;
-#endif
-#ifdef CONFIG_CPU_S3C2412_ONLY
-#define S3C24XX_VA_GPIO2	(S3C24XX_VA_GPIO + 0x10)
-#else
-#define S3C24XX_VA_GPIO2 s3c24xx_va_gpio2
-#endif
-#else
-#define s3c24xx_va_gpio2 S3C24XX_VA_GPIO
-#define S3C24XX_VA_GPIO2 S3C24XX_VA_GPIO
-#endif
-
 #include "map-s5p.h"
 
 #endif /* __ASM_PLAT_MAP_S3C_H */
arch/arm/mach-s3c/onenand-core-s3c64xx.h deleted +0 -0
deleted file mode 100644
index e2dfdd1fec93..000000000000
arch/arm/mach-s3c/otom.h deleted +0 -0
deleted file mode 100644
index c800f67d03d4..000000000000
arch/arm/mach-s3c/pm-core-s3c64xx.h +0 -17
index 06f564e5cf63..24933c4ea1a2 100644
@@ -20,23 +20,6 @@
 
 static inline void s3c_pm_debug_init_uart(void)
 {
-#ifdef CONFIG_SAMSUNG_PM_DEBUG
-	u32 tmp = __raw_readl(S3C_PCLK_GATE);
-
-	/* As a note, since the S3C64XX UARTs generally have multiple
-	 * clock sources, we simply enable PCLK at the moment and hope
-	 * that the resume settings for the UART are suitable for the
-	 * use with PCLK.
-	 */
-
-	tmp |= S3C_CLKCON_PCLK_UART0;
-	tmp |= S3C_CLKCON_PCLK_UART1;
-	tmp |= S3C_CLKCON_PCLK_UART2;
-	tmp |= S3C_CLKCON_PCLK_UART3;
-
-	__raw_writel(tmp, S3C_PCLK_GATE);
-	udelay(10);
-#endif
 }
 
 static inline void s3c_pm_arch_prepare_irqs(void)
arch/arm/mach-s3c/pm-s3c64xx.c +0 -83

113 lines not on this page · raw message

arch/arm/mach-s3c/pm.c +2 -5
index 06f019690d81..5698cbceaf7a 100644
@@ -100,7 +100,7 @@ static int s3c_pm_enter(suspend_state_t state)
 		samsung_pm_saved_gpios();
 	}
 
-	s3c_pm_save_uarts(soc_is_s3c2410());
+	s3c_pm_save_uarts(false);
 	s3c_pm_save_core();
 
 	/* set the irq configuration for wake */
@@ -137,7 +137,7 @@ static int s3c_pm_enter(suspend_state_t state)
 	/* restore the system state */
 
 	s3c_pm_restore_core();
-	s3c_pm_restore_uarts(soc_is_s3c2410());
+	s3c_pm_restore_uarts(false);
 
 	if (!of_have_populated_dt()) {
 		samsung_pm_restore_gpios();
@@ -152,9 +152,6 @@ static int s3c_pm_enter(suspend_state_t state)
 
 	S3C_PMDBG("%s: post sleep, preparing to return\n", __func__);
 
-	/* LEDs should now be 1110 */
-	s3c_pm_debug_smdkled(1 << 1, 0);
-
 	s3c_pm_check_restore();
 
 	/* ok, let's return from sleep */
arch/arm/mach-s3c/pm.h +0 -12
index eed61e585457..35d266ab6958 100644
@@ -64,18 +64,6 @@ extern int s3c_irqext_wake(struct irq_data *data, unsigned int state);
 #define s3c_irqext_wake NULL
 #endif
 
-#ifdef CONFIG_S3C_PM_DEBUG_LED_SMDK
-/**
- * s3c_pm_debug_smdkled() - Debug PM suspend/resume via SMDK Board LEDs
- * @set: set bits for the state of the LEDs
- * @clear: clear bits for the state of the LEDs.
- */
-extern void s3c_pm_debug_smdkled(u32 set, u32 clear);
-
-#else
-static inline void s3c_pm_debug_smdkled(u32 set, u32 clear) { }
-#endif /* CONFIG_S3C_PM_DEBUG_LED_SMDK */
-
 /**
  * s3c_pm_configure_extint() - ensure pins are correctly set for IRQ
  *
arch/arm/mach-s3c/regs-srom-s3c64xx.h deleted +0 -0
deleted file mode 100644
index 2b37988bdf94..000000000000
arch/arm/mach-s3c/s3c6400.c +0 -6
index 802f4fb7462d..d47f1d6067b4 100644
@@ -36,7 +36,6 @@
 #include "iic-core.h"
 
 #include "s3c64xx.h"
-#include "onenand-core-s3c64xx.h"
 
 void __init s3c6400_map_io(void)
 {
@@ -48,11 +47,6 @@ void __init s3c6400_map_io(void)
 
 	/* the i2c devices are directly compatible with s3c2440 */
 	s3c_i2c0_setname("s3c2440-i2c");
-
-	s3c_device_nand.name = "s3c6400-nand";
-
-	s3c_onenand_setname("s3c6400-onenand");
-	s3c64xx_onenand1_setname("s3c6400-onenand");
 }
 
 void __init s3c6400_init_irq(void)
arch/arm/mach-s3c/s3c6410.c +0 -9
index dae17d5fd092..e79f18d0ca81 100644
@@ -35,12 +35,9 @@
 #include "cpu.h"
 #include "devs.h"
 #include "sdhci.h"
-#include "adc-core.h"
 #include "iic-core.h"
 
-#include "ata-core-s3c64xx.h"
 #include "s3c64xx.h"
-#include "onenand-core-s3c64xx.h"
 
 void __init s3c6410_map_io(void)
 {
@@ -52,12 +49,6 @@ void __init s3c6410_map_io(void)
 	/* the i2c devices are directly compatible with s3c2440 */
 	s3c_i2c0_setname("s3c2440-i2c");
 	s3c_i2c1_setname("s3c2440-i2c");
-
-	s3c_adc_setname("s3c64xx-adc");
-	s3c_device_nand.name = "s3c6400-nand";
-	s3c_onenand_setname("s3c6410-onenand");
-	s3c64xx_onenand1_setname("s3c6410-onenand");
-	s3c_cfcon_setname("s3c64xx-pata");
 }
 
 void __init s3c6410_init_irq(void)
arch/arm/mach-s3c/sdhci.h +0 -25
index 9f9d419e58d7..1010f94d4a18 100644
@@ -48,35 +48,10 @@ extern struct s3c_sdhci_platdata s3c_hsmmc3_def_platdata;
 
 /* Helper function availability */
 
-extern void s3c2416_setup_sdhci0_cfg_gpio(struct platform_device *, int w);
-extern void s3c2416_setup_sdhci1_cfg_gpio(struct platform_device *, int w);
 extern void s3c64xx_setup_sdhci0_cfg_gpio(struct platform_device *, int w);
 extern void s3c64xx_setup_sdhci1_cfg_gpio(struct platform_device *, int w);
 extern void s3c64xx_setup_sdhci2_cfg_gpio(struct platform_device *, int w);
 
-/* S3C2416 SDHCI setup */
-
-#ifdef CONFIG_S3C2416_SETUP_SDHCI
-static inline void s3c2416_default_sdhci0(void)
-{
-#ifdef CONFIG_S3C_DEV_HSMMC
-	s3c_hsmmc0_def_platdata.cfg_gpio = s3c2416_setup_sdhci0_cfg_gpio;
-#endif /* CONFIG_S3C_DEV_HSMMC */
-}
-
-static inline void s3c2416_default_sdhci1(void)
-{
-#ifdef CONFIG_S3C_DEV_HSMMC1
-	s3c_hsmmc1_def_platdata.cfg_gpio = s3c2416_setup_sdhci1_cfg_gpio;
-#endif /* CONFIG_S3C_DEV_HSMMC1 */
-}
-
-#else
-static inline void s3c2416_default_sdhci0(void) { }
-static inline void s3c2416_default_sdhci1(void) { }
-
-#endif /* CONFIG_S3C2416_SETUP_SDHCI */
-
 /* S3C64XX SDHCI setup */
 
 #ifdef CONFIG_S3C64XX_SETUP_SDHCI
arch/arm/mach-s3c/setup-ide-s3c64xx.c deleted +0 -0
deleted file mode 100644
index f11f2b02e49f..000000000000
arch/arm/mach-s3c/sleep-s3c64xx.S +0 -27
index 739e53fbce09..908aa76b1062 100644
@@ -39,31 +39,4 @@
 ENTRY(s3c_cpu_resume)
 	msr	cpsr_c, #PSR_I_BIT | PSR_F_BIT | SVC_MODE
 	ldr	r2, =LL_UART		/* for debug */
-
-#ifdef CONFIG_S3C_PM_DEBUG_LED_SMDK
-
-#define S3C64XX_GPNCON			(S3C64XX_GPN_BASE + 0x00)
-#define S3C64XX_GPNDAT			(S3C64XX_GPN_BASE + 0x04)
-
-#define S3C64XX_GPN_CONMASK(__gpio)	(0x3 << ((__gpio) * 2))
-#define S3C64XX_GPN_OUTPUT(__gpio)	(0x1 << ((__gpio) * 2))
-
-	/* Initialise the GPIO state if we are debugging via the SMDK LEDs,
-	 * as the uboot version supplied resets these to inputs during the
-	 * resume checks.
-	*/
-
-	ldr	r3, =S3C64XX_PA_GPIO
-	ldr	r0, [ r3, #S3C64XX_GPNCON ]
-	bic	r0, r0, #(S3C64XX_GPN_CONMASK(12) | S3C64XX_GPN_CONMASK(13) | \
-			  S3C64XX_GPN_CONMASK(14) | S3C64XX_GPN_CONMASK(15))
-	orr	r0, r0, #(S3C64XX_GPN_OUTPUT(12) | S3C64XX_GPN_OUTPUT(13) | \
-			  S3C64XX_GPN_OUTPUT(14) | S3C64XX_GPN_OUTPUT(15))
-	str	r0, [ r3, #S3C64XX_GPNCON ]
-
-	ldr	r0, [ r3, #S3C64XX_GPNDAT ]
-	bic	r0, r0, #0xf << 12			@ GPN12..15
-	orr	r0, r0, #1 << 15			@ GPN15
-	str	r0, [ r3, #S3C64XX_GPNDAT ]
-#endif
 	b	cpu_resume
include/linux/platform_data/media/s5p_hdmi.h deleted +0 -0
deleted file mode 100644
index 457321e917b9..000000000000
Signature · 7 lines
2.29.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
maintainer Acked-by on v1 5/21
#23 lore raw

Re: [PATCH 05/21] ARM: s3c: simplify platform code

Quoted 5 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

Following down the now unused symbols and header files, some additional content can be dropped that is used by neither the s3c64xx DT support nor the crag6410 board.

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

#24 lore raw

Re: [PATCH 05/21] ARM: s3c: simplify platform code

In reply to Arnd Bergmann
Quoted 126 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

Following down the now unused symbols and header files, some additional content can be dropped that is used by neither the s3c64xx DT support nor the crag6410 board.

---
 arch/arm/mach-s3c/Kconfig                    |  50 --
 arch/arm/mach-s3c/Kconfig.s3c64xx            |   5 -
 arch/arm/mach-s3c/Makefile                   |   2 -
 arch/arm/mach-s3c/Makefile.s3c64xx           |   1 -
 arch/arm/mach-s3c/adc-core.h                 |  24 -
 arch/arm/mach-s3c/ata-core-s3c64xx.h         |  24 -
 arch/arm/mach-s3c/backlight-s3c64xx.h        |  22 -
 arch/arm/mach-s3c/cpu.h                      |  47 --
 arch/arm/mach-s3c/dev-audio-s3c64xx.c        | 127 ----
 arch/arm/mach-s3c/devs.c                     | 725 -------------------
 arch/arm/mach-s3c/devs.h                     |  37 -
 arch/arm/mach-s3c/dma-s3c64xx.h              |  57 --
 arch/arm/mach-s3c/dma.h                      |   2 -
 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.c             | 443 +----------
 arch/arm/mach-s3c/iic-core.h                 |   7 -
 arch/arm/mach-s3c/init.c                     |  26 +-
 arch/arm/mach-s3c/map-s3c.h                  |  37 -
 arch/arm/mach-s3c/onenand-core-s3c64xx.h     |  32 -
 arch/arm/mach-s3c/otom.h                     |  25 -
 arch/arm/mach-s3c/pm-core-s3c64xx.h          |  17 -
 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-srom-s3c64xx.h        |  55 --
 arch/arm/mach-s3c/s3c6400.c                  |   6 -
 arch/arm/mach-s3c/s3c6410.c                  |   9 -
 arch/arm/mach-s3c/sdhci.h                    |  25 -
 arch/arm/mach-s3c/setup-ide-s3c64xx.c        |  40 -
 arch/arm/mach-s3c/sleep-s3c64xx.S            |  27 -
 include/linux/platform_data/media/s5p_hdmi.h |  32 -
 33 files changed, 6 insertions(+), 2146 deletions(-)
 delete mode 100644 arch/arm/mach-s3c/adc-core.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/dma-s3c64xx.h
 delete mode 100644 arch/arm/mach-s3c/dma.h
 delete mode 100644 arch/arm/mach-s3c/onenand-core-s3c64xx.h
 delete mode 100644 arch/arm/mach-s3c/otom.h
 delete mode 100644 arch/arm/mach-s3c/regs-srom-s3c64xx.h
 delete mode 100644 arch/arm/mach-s3c/setup-ide-s3c64xx.c
 delete mode 100644 include/linux/platform_data/media/s5p_hdmi.h
arch/arm/mach-s3c/Kconfig +0 -50
index 0dde4010aa64..b3656109f1f7 100644
@@ -90,36 +90,6 @@ config S3C_DEV_I2C1
 	help
 	  Compile in platform device definitions for I2C channel 1
 
-config S3C_DEV_I2C2
-	bool
-	help
-	  Compile in platform device definitions for I2C channel 2
-
-config S3C_DEV_I2C3
-	bool
-	help
-	  Compile in platform device definition for I2C controller 3
-
-config S3C_DEV_I2C4
-	bool
-	help
-	  Compile in platform device definition for I2C controller 4
-
-config S3C_DEV_I2C5
-	bool
-	help
-	  Compile in platform device definition for I2C controller 5
-
-config S3C_DEV_I2C6
-	bool
-	help
-	  Compile in platform device definition for I2C controller 6
-
-config S3C_DEV_I2C7
-	bool
-	help
-	  Compile in platform device definition for I2C controller 7
-
 config S3C_DEV_FB
 	bool
 	help
@@ -135,26 +105,6 @@ config S3C_DEV_USB_HSOTG
 	help
 	  Compile in platform device definition for USB high-speed OtG
 
-config S3C_DEV_WDT
-	bool
-	help
-	  Compile in platform device definition for Watchdog Timer
-
-config S3C_DEV_NAND
-	bool
-	help
-	  Compile in platform device definition for NAND controller
-
-config S3C_DEV_ONENAND
-	bool
-	help
-	  Compile in platform device definition for OneNAND controller
-
-config S3C_DEV_RTC
-	bool
-	help
-	  Compile in platform device definition for RTC
-
 config S3C64XX_DEV_SPI0
 	bool
 	help
arch/arm/mach-s3c/Kconfig.s3c64xx +0 -0
index c403d7642f0a..c52c7ce1d8fa 100644

arch/arm/mach-s3c/Kconfig.s3c64xx menuconfig ARCH_S3C64XX · line 20

Quoted 6 lines
arch/arm/mach-s3c/Kconfig.s3c64xx +0 -2
@@ -15,12 +15,9 @@ menuconfig ARCH_S3C64XX
 	select HAVE_TCM
 	select PLAT_SAMSUNG
 	select PM_GENERIC_DOMAINS if PM
-	select S3C_DEV_NAND if ATAGS
 	select S3C_GPIO_TRACK if ATAGS
-	select S3C2410_WATCHDOG

This does not seem right. S3C2410_WATCHDOG is a driver used by all (including Exynos) platforms.

arch/arm/mach-s3c/Kconfig.s3c64xx config MACH_WLF_CRAGG_6410 · line 124

Quoted 11 lines
arch/arm/mach-s3c/Kconfig.s3c64xx +0 -2
 	select SAMSUNG_ATAGS if ATAGS
 	select SAMSUNG_WAKEMASK if PM
-	select WATCHDOG
 	help
 	  Samsung S3C64XX series based systems
 
@@ -121,10 +118,8 @@ config MACH_WLF_CRAGG_6410
 	select S3C_DEV_HSMMC1
 	select S3C_DEV_HSMMC2
 	select S3C_DEV_I2C1
-	select S3C_DEV_RTC

This as well.

arch/arm/mach-s3c/Kconfig.s3c64xx config MACH_WLF_CRAGG_6410 · line 125

Quoted 6 lines
arch/arm/mach-s3c/Kconfig.s3c64xx +0 -1
 	select S3C_DEV_USB_HOST
 	select S3C_DEV_USB_HSOTG
-	select S3C_DEV_WDT
 	select SAMSUNG_DEV_KEYPAD
 	select SAMSUNG_DEV_PWM
 	help

Best regards,
Krzysztof

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

maintainer
#25 lore raw

Re: [PATCH 05/21] ARM: s3c: simplify platform code

Quoted 6 lines · Krzysztof Kozlowski
Quoted 6 lines
arch/arm/mach-s3c/Kconfig.s3c64xx +0 -0
index c403d7642f0a..c52c7ce1d8fa 100644
@@ -15,12 +15,9 @@ menuconfig ARCH_S3C64XX
 	select HAVE_TCM
Quoted 8 lines

arch/arm/mach-s3c/Kconfig.s3c64xx menuconfig ARCH_S3C64XX · line 20

Quoted 5 lines
arch/arm/mach-s3c/Kconfig.s3c64xx +0 -2
 	select PLAT_SAMSUNG
 	select PM_GENERIC_DOMAINS if PM
-	select S3C_DEV_NAND if ATAGS
 	select S3C_GPIO_TRACK if ATAGS
-	select S3C2410_WATCHDOG

This does not seem right. S3C2410_WATCHDOG is a driver used by all (including Exynos) platforms.

I don't remember why I removed this line, probably because I removed S3C_DEV_WDT after there are no references to that symbol left in board files. The watchdog driver is now DT-only with cragg6410 being the last remaining board file.

Ideally we should not 'select' it from here but instead have it enabled in the defconfig file, but I agree that would be something to do in a separate patch, while the patch here should not change the behavior. I'll revert this part.

Quoted 7 lines

arch/arm/mach-s3c/Kconfig.s3c64xx config MACH_WLF_CRAGG_6410 · line 124

Quoted 5 lines
arch/arm/mach-s3c/Kconfig.s3c64xx +0 -1
@@ -121,10 +118,8 @@ config MACH_WLF_CRAGG_6410
 	select S3C_DEV_HSMMC1
 	select S3C_DEV_HSMMC2
 	select S3C_DEV_I2C1
-	select S3C_DEV_RTC

This as well.

I'm fairly sure this can be removed along with S3C_DEV_WDT, S3C_DEV_I2C[2-7], S3C_DEV_NAND, and S3C_DEV_ONENAND as I remove the symbols due to the lack of references from cragg6410.

I folded in this fixup now:

arch/arm/mach-s3c/Kconfig.s3c64xx +2 -0
@@ -16,8 +16,10 @@ menuconfig ARCH_S3C64XX
        select PLAT_SAMSUNG
        select PM_GENERIC_DOMAINS if PM
        select S3C_GPIO_TRACK if ATAGS
+       select S3C2410_WATCHDOG
        select SAMSUNG_ATAGS if ATAGS
        select SAMSUNG_WAKEMASK if PM
+       select WATCHDOG
        help
          Samsung S3C64XX series based systems
 

Arnd

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

#26 lore raw

Re: [PATCH 05/21] ARM: s3c: simplify platform code

Quoted 35 lines · Arnd Bergmann
Quoted 6 lines · Krzysztof Kozlowski
Quoted 6 lines
arch/arm/mach-s3c/Kconfig.s3c64xx +0 -0
index c403d7642f0a..c52c7ce1d8fa 100644
@@ -15,12 +15,9 @@ menuconfig ARCH_S3C64XX
 	select HAVE_TCM
Quoted 8 lines

arch/arm/mach-s3c/Kconfig.s3c64xx menuconfig ARCH_S3C64XX

Quoted 5 lines
arch/arm/mach-s3c/Kconfig.s3c64xx +0 -2
 	select PLAT_SAMSUNG
 	select PM_GENERIC_DOMAINS if PM
-	select S3C_DEV_NAND if ATAGS
 	select S3C_GPIO_TRACK if ATAGS
-	select S3C2410_WATCHDOG

This does not seem right. S3C2410_WATCHDOG is a driver used by all (including Exynos) platforms.

I don't remember why I removed this line, probably because I removed S3C_DEV_WDT after there are no references to that symbol left in board files. The watchdog driver is now DT-only with cragg6410 being the last remaining board file.

Ideally we should not 'select' it from here but instead have it enabled in the defconfig file, but I agree that would be something to do in a separate patch, while the patch here should not change the behavior. I'll revert this part.

Quoted 7 lines

arch/arm/mach-s3c/Kconfig.s3c64xx config MACH_WLF_CRAGG_6410 · line 124

Quoted 5 lines
arch/arm/mach-s3c/Kconfig.s3c64xx +0 -1
@@ -121,10 +118,8 @@ config MACH_WLF_CRAGG_6410
 	select S3C_DEV_HSMMC1
 	select S3C_DEV_HSMMC2
 	select S3C_DEV_I2C1
-	select S3C_DEV_RTC

This as well.

Quoted 4 lines

I'm fairly sure this can be removed along with S3C_DEV_WDT, S3C_DEV_I2C[2-7], S3C_DEV_NAND, and S3C_DEV_ONENAND as I remove the symbols due to the lack of references from cragg6410.

Yes, you are right. This can be dropped.

arch/arm/mach-s3c/Kconfig.s3c64xx menuconfig ARCH_S3C64XX · line 22

Quoted 13 lines

I folded in this fixup now:

arch/arm/mach-s3c/Kconfig.s3c64xx +2 -0
@@ -16,8 +16,10 @@ menuconfig ARCH_S3C64XX
        select PLAT_SAMSUNG
        select PM_GENERIC_DOMAINS if PM
        select S3C_GPIO_TRACK if ATAGS
+       select S3C2410_WATCHDOG
        select SAMSUNG_ATAGS if ATAGS
        select SAMSUNG_WAKEMASK if PM
+       select WATCHDOG

Looks ok.

Best regards,
Krzysztof

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

#27 lore raw

PATCH 6/21 ARM: s3c: remove s3c6400 support

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

No board file and no dts file references the s3c6400 now, it's only s3c6410, so remove the final bits as well.

---
 arch/arm/mach-s3c/Makefile.s3c64xx |  1 -
 arch/arm/mach-s3c/s3c6400.c        | 84 ------------------------------
 arch/arm/mach-s3c/s3c64xx.c        |  8 ---
 3 files changed, 93 deletions(-)
 delete mode 100644 arch/arm/mach-s3c/s3c6400.c
arch/arm/mach-s3c/Makefile.s3c64xx +0 -1
index 13cda2fe7b6c..61287ad2ea42 100644
@@ -16,7 +16,6 @@ obj-$(CONFIG_PM_SLEEP)          += irq-pm-s3c64xx.o
 # Core
 
 obj-y				+= s3c64xx.o
-obj-$(CONFIG_CPU_S3C6400)	+= s3c6400.o
 obj-$(CONFIG_CPU_S3C6410)	+= s3c6410.o
 
 # DMA support
arch/arm/mach-s3c/s3c6400.c deleted +0 -0
deleted file mode 100644
index d47f1d6067b4..000000000000
arch/arm/mach-s3c/s3c64xx.c +0 -8
index 0a8116c108fe..ad13d7e13e5e 100644
@@ -72,18 +72,10 @@ static void __init s3c64xx_init_uarts(struct s3c2410_uartcfg *cfg, int no)
 
 /* table of supported CPUs */
 
-static const char name_s3c6400[] = "S3C6400";
 static const char name_s3c6410[] = "S3C6410";
 
 static struct cpu_table cpu_ids[] __initdata = {
 	{
-		.idcode		= S3C6400_CPU_ID,
-		.idmask		= S3C64XX_CPU_MASK,
-		.map_io		= s3c6400_map_io,
-		.init_uarts	= s3c64xx_init_uarts,
-		.init		= s3c6400_init,
-		.name		= name_s3c6400,
-	}, {
 		.idcode		= S3C6410_CPU_ID,
 		.idmask		= S3C64XX_CPU_MASK,
 		.map_io		= s3c6410_map_io,
Signature · 7 lines
2.29.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Reviewed-by on v1 6/21
#28 lore raw

Re: [PATCH 06/21] ARM: s3c: remove s3c6400 support

Quoted 5 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

No board file and no dts file references the s3c6400 now, it's only s3c6410, so remove the final bits as well.

Best regards,
Krzysztof

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

#29 lore raw

PATCH 7/21 power: remove s3c adc battery driver

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The s3c-adc driver is removed along with the s3c24xx platform, so the battery driver is no longer needed either.

---
 MAINTAINERS                            |   7 -
 drivers/power/supply/Kconfig           |   6 -
 drivers/power/supply/Makefile          |   1 -
 drivers/power/supply/s3c_adc_battery.c | 453 -------------------------
 include/linux/s3c_adc_battery.h        |  39 ---
 5 files changed, 506 deletions(-)
 delete mode 100644 drivers/power/supply/s3c_adc_battery.c
 delete mode 100644 include/linux/s3c_adc_battery.h
MAINTAINERS +0 -7
index 071d64e2a7ca..2caf42b0328a 100644
@@ -17920,13 +17920,6 @@ S:	Supported
 W:	http://www.ibm.com/developerworks/linux/linux390/
 F:	drivers/s390/scsi/zfcp_*
 
-S3C ADC BATTERY DRIVER
-M:	Krzysztof Kozlowski <[email protected]>
-L:	[email protected]
-S:	Odd Fixes
-F:	drivers/power/supply/s3c_adc_battery.c
-F:	include/linux/s3c_adc_battery.h
-
 S3C24XX SD/MMC Driver
 M:	Ben Dooks <[email protected]>
 L:	[email protected] (moderated for non-subscribers)
drivers/power/supply/Kconfig +0 -6
index 568b3ede993a..e2f8dfcdd2a9 100644
@@ -406,12 +406,6 @@ config BATTERY_MAX1721X
 	  Say Y here to enable support for the MAX17211/MAX17215 standalone
 	  battery gas-gauge.
 
-config BATTERY_S3C_ADC
-	tristate "Battery driver for Samsung ADC based monitoring"
-	depends on S3C_ADC
-	help
-	  Say Y here to enable support for iPAQ h1930/h1940/rx1950 battery
-
 config BATTERY_TWL4030_MADC
 	tristate "TWL4030 MADC battery driver"
 	depends on TWL4030_MADC
drivers/power/supply/Makefile +0 -1
index af43866b3980..8cb3c7f5c111 100644
@@ -54,7 +54,6 @@ obj-$(CONFIG_BATTERY_MAX17042)	+= max17042_battery.o
 obj-$(CONFIG_BATTERY_MAX1721X)	+= max1721x_battery.o
 obj-$(CONFIG_BATTERY_RT5033)	+= rt5033_battery.o
 obj-$(CONFIG_CHARGER_RT9455)	+= rt9455_charger.o
-obj-$(CONFIG_BATTERY_S3C_ADC)	+= s3c_adc_battery.o
 obj-$(CONFIG_BATTERY_TWL4030_MADC)	+= twl4030_madc_battery.o
 obj-$(CONFIG_CHARGER_88PM860X)	+= 88pm860x_charger.o
 obj-$(CONFIG_CHARGER_PCF50633)	+= pcf50633-charger.o
drivers/power/supply/s3c_adc_battery.c deleted +0 -0
deleted file mode 100644
index 68d31a3bee48..000000000000
include/linux/s3c_adc_battery.h deleted +0 -0
deleted file mode 100644
index 57f982c375f8..000000000000
Signature · 1 line
2.29.2
maintainer
#30 lore raw

Re: [PATCH 07/21] power: remove s3c adc battery driver

Quoted 6 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The s3c-adc driver is removed along with the s3c24xx platform, so the battery driver is no longer needed either.

Quoted 9 lines
---
 MAINTAINERS                            |   7 -
 drivers/power/supply/Kconfig           |   6 -
 drivers/power/supply/Makefile          |   1 -
 drivers/power/supply/s3c_adc_battery.c | 453 -------------------------
 include/linux/s3c_adc_battery.h        |  39 ---
 5 files changed, 506 deletions(-)
 delete mode 100644 drivers/power/supply/s3c_adc_battery.c
 delete mode 100644 include/linux/s3c_adc_battery.h

Any idea why I was Cc'ed on this (and only this) patch?

Signature · 1 line
Lee Jones [李琼斯]
maintainer
#31 lore raw

Re: [PATCH 07/21] power: remove s3c adc battery driver

Quoted 18 lines · Lee Jones
Quoted 6 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The s3c-adc driver is removed along with the s3c24xx platform, so the battery driver is no longer needed either.

Quoted 9 lines
---
 MAINTAINERS                            |   7 -
 drivers/power/supply/Kconfig           |   6 -
 drivers/power/supply/Makefile          |   1 -
 drivers/power/supply/s3c_adc_battery.c | 453 -------------------------
 include/linux/s3c_adc_battery.h        |  39 ---
 5 files changed, 506 deletions(-)
 delete mode 100644 drivers/power/supply/s3c_adc_battery.c
 delete mode 100644 include/linux/s3c_adc_battery.h
Quoted 1 line

Any idea why I was Cc'ed on this (and only this) patch?

Not sure. I use "get_maintainer.pl -i" to generate the list and try to prune it manually to avoid adding too many people to Cc. It appears that for this patch I accidentally included everyone who showed up in the git history for the maintainers file, rather than the people who touched the actual driver.

Arnd

maintainer
#32 lore raw

Re: [PATCH 07/21] power: remove s3c adc battery driver

Quoted 19 lines · Arnd Bergmann
Quoted 18 lines · Lee Jones
Quoted 15 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The s3c-adc driver is removed along with the s3c24xx platform, so the battery driver is no longer needed either.

---
 MAINTAINERS                            |   7 -
 drivers/power/supply/Kconfig           |   6 -
 drivers/power/supply/Makefile          |   1 -
 drivers/power/supply/s3c_adc_battery.c | 453 -------------------------
 include/linux/s3c_adc_battery.h        |  39 ---
 5 files changed, 506 deletions(-)
 delete mode 100644 drivers/power/supply/s3c_adc_battery.c
 delete mode 100644 include/linux/s3c_adc_battery.h
Quoted 8 lines
Quoted 1 line

Any idea why I was Cc'ed on this (and only this) patch?

Not sure. I use "get_maintainer.pl -i" to generate the list and try to prune it manually to avoid adding too many people to Cc. It appears that for this patch I accidentally included everyone who showed up in the git history for the maintainers file, rather than the people who touched the actual driver.

Understood. Thanks for the explanation.

Signature · 1 line
Lee Jones [李琼斯]
Reviewed-by on v1 7/21
#33 lore raw

Re: [PATCH 07/21] power: remove s3c adc battery driver

In reply to Arnd Bergmann
Quoted 6 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The s3c-adc driver is removed along with the s3c24xx platform, so the battery driver is no longer needed either.

Best regards,
Krzysztof

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

Acked-by on v1 7/21
#34 lore raw

Re: [PATCH 07/21] power: remove s3c adc battery driver

In reply to Arnd Bergmann

Hi,

Quoted 7 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The s3c-adc driver is removed along with the s3c24xx platform, so the battery driver is no longer needed either.

---

I suppose queuing this via power-supply will result in temporary build failures because the header is included in s3c24xx arch code. So better to merge via the same tree that is killing the arch code:

-- Sebastian

Quoted 65 lines
 MAINTAINERS                            |   7 -
 drivers/power/supply/Kconfig           |   6 -
 drivers/power/supply/Makefile          |   1 -
 drivers/power/supply/s3c_adc_battery.c | 453 -------------------------
 include/linux/s3c_adc_battery.h        |  39 ---
 5 files changed, 506 deletions(-)
 delete mode 100644 drivers/power/supply/s3c_adc_battery.c
 delete mode 100644 include/linux/s3c_adc_battery.h
MAINTAINERS +0 -7
index 071d64e2a7ca..2caf42b0328a 100644
@@ -17920,13 +17920,6 @@ S:	Supported
 W:	http://www.ibm.com/developerworks/linux/linux390/
 F:	drivers/s390/scsi/zfcp_*
 
-S3C ADC BATTERY DRIVER
-M:	Krzysztof Kozlowski <[email protected]>
-L:	[email protected]
-S:	Odd Fixes
-F:	drivers/power/supply/s3c_adc_battery.c
-F:	include/linux/s3c_adc_battery.h
-
 S3C24XX SD/MMC Driver
 M:	Ben Dooks <[email protected]>
 L:	[email protected] (moderated for non-subscribers)
drivers/power/supply/Kconfig +0 -6
index 568b3ede993a..e2f8dfcdd2a9 100644
@@ -406,12 +406,6 @@ config BATTERY_MAX1721X
 	  Say Y here to enable support for the MAX17211/MAX17215 standalone
 	  battery gas-gauge.
 
-config BATTERY_S3C_ADC
-	tristate "Battery driver for Samsung ADC based monitoring"
-	depends on S3C_ADC
-	help
-	  Say Y here to enable support for iPAQ h1930/h1940/rx1950 battery
-
 config BATTERY_TWL4030_MADC
 	tristate "TWL4030 MADC battery driver"
 	depends on TWL4030_MADC
drivers/power/supply/Makefile +0 -1
index af43866b3980..8cb3c7f5c111 100644
@@ -54,7 +54,6 @@ obj-$(CONFIG_BATTERY_MAX17042)	+= max17042_battery.o
 obj-$(CONFIG_BATTERY_MAX1721X)	+= max1721x_battery.o
 obj-$(CONFIG_BATTERY_RT5033)	+= rt5033_battery.o
 obj-$(CONFIG_CHARGER_RT9455)	+= rt9455_charger.o
-obj-$(CONFIG_BATTERY_S3C_ADC)	+= s3c_adc_battery.o
 obj-$(CONFIG_BATTERY_TWL4030_MADC)	+= twl4030_madc_battery.o
 obj-$(CONFIG_CHARGER_88PM860X)	+= 88pm860x_charger.o
 obj-$(CONFIG_CHARGER_PCF50633)	+= pcf50633-charger.o
drivers/power/supply/s3c_adc_battery.c deleted +0 -0
deleted file mode 100644
index 68d31a3bee48..000000000000
include/linux/s3c_adc_battery.h deleted +0 -0
deleted file mode 100644
index 57f982c375f8..000000000000
Signature · 1 line
2.29.2
#35 lore raw

PATCH 8/21 hwmon: remove s3c driver

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The s3c adc driver was removed along with the s3c24xx platform, so the hwmon driver is orphaned and can be removed.

---
 drivers/hwmon/Kconfig     |  17 --
 drivers/hwmon/Makefile    |   1 -
 drivers/hwmon/s3c-hwmon.c | 379 --------------------------------------
 3 files changed, 397 deletions(-)
 delete mode 100644 drivers/hwmon/s3c-hwmon.c
drivers/hwmon/Kconfig +0 -17
index 7ac3daaf59ce..c98a068b5be2 100644
@@ -1729,23 +1729,6 @@ config SENSORS_SHTC1
 	  This driver can also be built as a module. If so, the module
 	  will be called shtc1.
 
-config SENSORS_S3C
-	tristate "Samsung built-in ADC"
-	depends on S3C_ADC
-	help
-	  If you say yes here you get support for the on-board ADCs of
-	  the Samsung S3C24XX, S3C64XX and other series of SoC
-
-	  This driver can also be built as a module. If so, the module
-	  will be called s3c-hwmon.
-
-config SENSORS_S3C_RAW
-	bool "Include raw channel attributes in sysfs"
-	depends on SENSORS_S3C
-	help
-	  Say Y here if you want to include raw copies of all the ADC
-	  channels in sysfs.
-
 config SENSORS_SIS5595
 	tristate "Silicon Integrated Systems Corp. SiS5595"
 	depends on PCI
drivers/hwmon/Makefile +0 -1
index 11d076cad8a2..b5a401ce3285 100644
@@ -173,7 +173,6 @@ obj-$(CONFIG_SENSORS_PCF8591)	+= pcf8591.o
 obj-$(CONFIG_SENSORS_POWR1220)  += powr1220.o
 obj-$(CONFIG_SENSORS_PWM_FAN)	+= pwm-fan.o
 obj-$(CONFIG_SENSORS_RASPBERRYPI_HWMON)	+= raspberrypi-hwmon.o
-obj-$(CONFIG_SENSORS_S3C)	+= s3c-hwmon.o
 obj-$(CONFIG_SENSORS_SBTSI)	+= sbtsi_temp.o
 obj-$(CONFIG_SENSORS_SBRMI)	+= sbrmi.o
 obj-$(CONFIG_SENSORS_SCH56XX_COMMON)+= sch56xx-common.o
drivers/hwmon/s3c-hwmon.c deleted +0 -0
deleted file mode 100644
index 70ae665db477..000000000000
Signature · 7 lines
2.29.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
maintainer Acked-by on v1 8/21
#36 lore raw

Re: [PATCH 08/21] hwmon: remove s3c driver

Quoted 6 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The s3c adc driver was removed along with the s3c24xx platform, so the hwmon driver is orphaned and can be removed.

I assume you plan to push the series together. If not, please let me know.

Guenter

Quoted 50 lines
---
  drivers/hwmon/Kconfig     |  17 --
  drivers/hwmon/Makefile    |   1 -
  drivers/hwmon/s3c-hwmon.c | 379 --------------------------------------
  3 files changed, 397 deletions(-)

delete mode 100644 drivers/hwmon/s3c-hwmon.c

drivers/hwmon/Kconfig +0 -17
index 7ac3daaf59ce..c98a068b5be2 100644
@@ -1729,23 +1729,6 @@ config SENSORS_SHTC1
  	  This driver can also be built as a module. If so, the module
  	  will be called shtc1.
 
-config SENSORS_S3C
-	tristate "Samsung built-in ADC"
-	depends on S3C_ADC
-	help
-	  If you say yes here you get support for the on-board ADCs of
-	  the Samsung S3C24XX, S3C64XX and other series of SoC
-
-	  This driver can also be built as a module. If so, the module
-	  will be called s3c-hwmon.
-
-config SENSORS_S3C_RAW
-	bool "Include raw channel attributes in sysfs"
-	depends on SENSORS_S3C
-	help
-	  Say Y here if you want to include raw copies of all the ADC
-	  channels in sysfs.
-
  config SENSORS_SIS5595
  	tristate "Silicon Integrated Systems Corp. SiS5595"
  	depends on PCI
drivers/hwmon/Makefile +0 -1
index 11d076cad8a2..b5a401ce3285 100644
@@ -173,7 +173,6 @@ obj-$(CONFIG_SENSORS_PCF8591)	+= pcf8591.o
  obj-$(CONFIG_SENSORS_POWR1220)  += powr1220.o
  obj-$(CONFIG_SENSORS_PWM_FAN)	+= pwm-fan.o
  obj-$(CONFIG_SENSORS_RASPBERRYPI_HWMON)	+= raspberrypi-hwmon.o
-obj-$(CONFIG_SENSORS_S3C)	+= s3c-hwmon.o
  obj-$(CONFIG_SENSORS_SBTSI)	+= sbtsi_temp.o
  obj-$(CONFIG_SENSORS_SBRMI)	+= sbrmi.o
  obj-$(CONFIG_SENSORS_SCH56XX_COMMON)+= sch56xx-common.o
drivers/hwmon/s3c-hwmon.c deleted +0 -0
deleted file mode 100644
index 70ae665db477..000000000000
maintainer
#37 lore raw

Re: [PATCH 08/21] hwmon: remove s3c driver

Quoted 11 lines · Guenter Roeck
Quoted 6 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The s3c adc driver was removed along with the s3c24xx platform, so the hwmon driver is orphaned and can be removed.

I assume you plan to push the series together. If not, please let me know.

Yes. I plan to pick up all the patches from the series through the soc tree that have not been NaK'd or applied to subsystem maintainer trees.

Arnd

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

Reviewed-by on v1 8/21
#38 lore raw

Re: [PATCH 08/21] hwmon: remove s3c driver

In reply to Arnd Bergmann
Quoted 7 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The s3c adc driver was removed along with the s3c24xx platform, so the hwmon driver is orphaned and can be removed.

---

Best regards,
Krzysztof

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

#39 lore raw

PATCH 9/21 pata: remove samsung_cf driver

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

This device was only used by the smdk6410 board file that is now gone, so the driver can be removed as well.

---
 drivers/ata/Kconfig                          |  10 -
 drivers/ata/Makefile                         |   1 -
 drivers/ata/pata_samsung_cf.c                | 662 -------------------
 include/linux/platform_data/ata-samsung_cf.h |  31 -
 4 files changed, 704 deletions(-)
 delete mode 100644 drivers/ata/pata_samsung_cf.c
 delete mode 100644 include/linux/platform_data/ata-samsung_cf.h
drivers/ata/Kconfig +0 -10
index 6b446cfc3455..3b8cb7a29efd 100644
@@ -1136,16 +1136,6 @@ config PATA_RZ1000
 
 	  If unsure, say N.
 
-config PATA_SAMSUNG_CF
-	tristate "Samsung SoC PATA support"
-	depends on SAMSUNG_DEV_IDE || COMPILE_TEST
-	select PATA_TIMINGS
-	help
-	  This option enables basic support for Samsung's S3C/S5P board
-	  PATA controllers via the new ATA layer
-
-	  If unsure, say N.
-
 config PATA_WINBOND_VLB
 	tristate "Winbond W83759A VLB PATA support (Experimental)"
 	depends on ISA
drivers/ata/Makefile +0 -1
index 2cca9f500649..4ee5c0761d90 100644
@@ -109,7 +109,6 @@ obj-$(CONFIG_PATA_PLATFORM)	+= pata_platform.o
 obj-$(CONFIG_PATA_OF_PLATFORM)	+= pata_of_platform.o
 obj-$(CONFIG_PATA_RB532)	+= pata_rb532_cf.o
 obj-$(CONFIG_PATA_RZ1000)	+= pata_rz1000.o
-obj-$(CONFIG_PATA_SAMSUNG_CF)	+= pata_samsung_cf.o
 
 obj-$(CONFIG_PATA_PXA)		+= pata_pxa.o
 
drivers/ata/pata_samsung_cf.c deleted +0 -0
deleted file mode 100644
index aba1536ddd44..000000000000
include/linux/platform_data/ata-samsung_cf.h deleted +0 -0
deleted file mode 100644
index fccf969dc4da..000000000000
Signature · 7 lines
2.29.2


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

Re: [PATCH 09/21] pata: remove samsung_cf driver

In reply to Arnd Bergmann
Quoted 6 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

This device was only used by the smdk6410 board file that is now gone, so the driver can be removed as well.

Arnd,

This patch does not apply to the for-6.2 branch of libata tree. I can fix that easily, but I am concerned about the fact that this deletes the header file include/linux/platform_data/ata-samsung_cf.h, which has some function declarations for gpio used under arch/arm/mach-s3c. So If I apply this before you queue the other patches for this driver in for-next, we may endup with build failures. No ?

Quoted 48 lines
---
 drivers/ata/Kconfig                          |  10 -
 drivers/ata/Makefile                         |   1 -
 drivers/ata/pata_samsung_cf.c                | 662 -------------------
 include/linux/platform_data/ata-samsung_cf.h |  31 -
 4 files changed, 704 deletions(-)
 delete mode 100644 drivers/ata/pata_samsung_cf.c
 delete mode 100644 include/linux/platform_data/ata-samsung_cf.h
drivers/ata/Kconfig +0 -10
index 6b446cfc3455..3b8cb7a29efd 100644
@@ -1136,16 +1136,6 @@ config PATA_RZ1000
 
 	  If unsure, say N.
 
-config PATA_SAMSUNG_CF
-	tristate "Samsung SoC PATA support"
-	depends on SAMSUNG_DEV_IDE || COMPILE_TEST
-	select PATA_TIMINGS
-	help
-	  This option enables basic support for Samsung's S3C/S5P board
-	  PATA controllers via the new ATA layer
-
-	  If unsure, say N.
-
 config PATA_WINBOND_VLB
 	tristate "Winbond W83759A VLB PATA support (Experimental)"
 	depends on ISA
drivers/ata/Makefile +0 -1
index 2cca9f500649..4ee5c0761d90 100644
@@ -109,7 +109,6 @@ obj-$(CONFIG_PATA_PLATFORM)	+= pata_platform.o
 obj-$(CONFIG_PATA_OF_PLATFORM)	+= pata_of_platform.o
 obj-$(CONFIG_PATA_RB532)	+= pata_rb532_cf.o
 obj-$(CONFIG_PATA_RZ1000)	+= pata_rz1000.o
-obj-$(CONFIG_PATA_SAMSUNG_CF)	+= pata_samsung_cf.o
 
 obj-$(CONFIG_PATA_PXA)		+= pata_pxa.o
 
drivers/ata/pata_samsung_cf.c deleted +0 -0
deleted file mode 100644
index aba1536ddd44..000000000000
include/linux/platform_data/ata-samsung_cf.h deleted +0 -0
deleted file mode 100644
index fccf969dc4da..000000000000
Signature · 2 lines
Damien Le Moal
Western Digital Research
#42 lore raw

Re: [PATCH 09/21] pata: remove samsung_cf driver

Quoted 8 lines · Damien Le Moal
Quoted 6 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

This device was only used by the smdk6410 board file that is now gone, so the driver can be removed as well.

Quoted 8 lines

Arnd,

This patch does not apply to the for-6.2 branch of libata tree. I can fix that easily, but I am concerned about the fact that this deletes the header file include/linux/platform_data/ata-samsung_cf.h, which has some function declarations for gpio used under arch/arm/mach-s3c. So If I apply this before you queue the other patches for this driver in for-next, we may endup with build failures. No ?

It may be simpler for you to take this patch ? If yes, then:

Quoted 50 lines
Quoted 49 lines
---
 drivers/ata/Kconfig                          |  10 -
 drivers/ata/Makefile                         |   1 -
 drivers/ata/pata_samsung_cf.c                | 662 -------------------
 include/linux/platform_data/ata-samsung_cf.h |  31 -
 4 files changed, 704 deletions(-)
 delete mode 100644 drivers/ata/pata_samsung_cf.c
 delete mode 100644 include/linux/platform_data/ata-samsung_cf.h
drivers/ata/Kconfig +0 -10
index 6b446cfc3455..3b8cb7a29efd 100644
@@ -1136,16 +1136,6 @@ config PATA_RZ1000
 
 	  If unsure, say N.
 
-config PATA_SAMSUNG_CF
-	tristate "Samsung SoC PATA support"
-	depends on SAMSUNG_DEV_IDE || COMPILE_TEST
-	select PATA_TIMINGS
-	help
-	  This option enables basic support for Samsung's S3C/S5P board
-	  PATA controllers via the new ATA layer
-
-	  If unsure, say N.
-
 config PATA_WINBOND_VLB
 	tristate "Winbond W83759A VLB PATA support (Experimental)"
 	depends on ISA
drivers/ata/Makefile +0 -1
index 2cca9f500649..4ee5c0761d90 100644
@@ -109,7 +109,6 @@ obj-$(CONFIG_PATA_PLATFORM)	+= pata_platform.o
 obj-$(CONFIG_PATA_OF_PLATFORM)	+= pata_of_platform.o
 obj-$(CONFIG_PATA_RB532)	+= pata_rb532_cf.o
 obj-$(CONFIG_PATA_RZ1000)	+= pata_rz1000.o
-obj-$(CONFIG_PATA_SAMSUNG_CF)	+= pata_samsung_cf.o
 
 obj-$(CONFIG_PATA_PXA)		+= pata_pxa.o
 
drivers/ata/pata_samsung_cf.c deleted +0 -0
deleted file mode 100644
index aba1536ddd44..000000000000
include/linux/platform_data/ata-samsung_cf.h deleted +0 -0
deleted file mode 100644
index fccf969dc4da..000000000000
Signature · 2 lines
Damien Le Moal
Western Digital Research
maintainer
#43 lore raw

Re: [PATCH 09/21] pata: remove samsung_cf driver

In reply to Damien Le Moal
Quoted 6 lines · Damien Le Moal
Quoted 4 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

This device was only used by the smdk6410 board file that is now gone, so the driver can be removed as well.

Quoted 6 lines

This patch does not apply to the for-6.2 branch of libata tree. I can fix that easily, but I am concerned about the fact that this deletes the header file include/linux/platform_data/ata-samsung_cf.h, which has some function declarations for gpio used under arch/arm/mach-s3c. So If I apply this before you queue the other patches for this driver in for-next, we may endup with build failures. No ?

Right, that was a mistake on my end. I had tested the full 98-patch series in sequence and assumed that the driver removal would be fine to apply separately. I'll just merge this one through the SoC tree then. I have double-checked the pbk3710 and palmld drivers, and those should not have a problem like this one. I still need to send the palmld driver, as the mach-pxa series had some unrelated issues.

Arnd

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

Reviewed-by on v1 9/21
#44 lore raw

Re: [PATCH 09/21] pata: remove samsung_cf driver

In reply to Arnd Bergmann
Quoted 21 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

This device was only used by the smdk6410 board file that is now gone, so the driver can be removed as well.

---
 drivers/ata/Kconfig                          |  10 -
 drivers/ata/Makefile                         |   1 -
 drivers/ata/pata_samsung_cf.c                | 662 -------------------
 include/linux/platform_data/ata-samsung_cf.h |  31 -
 4 files changed, 704 deletions(-)
 delete mode 100644 drivers/ata/pata_samsung_cf.c
 delete mode 100644 include/linux/platform_data/ata-samsung_cf.h
drivers/ata/Kconfig +0 -0
index 6b446cfc3455..3b8cb7a29efd 100644
@@ -1136,16 +1136,6 @@ config PATA_RZ1000
 

drivers/ata/Kconfig config PATA_RZ1000 · line 1146

Quoted 10 lines
drivers/ata/Kconfig +0 -8
 	  If unsure, say N.
 
-config PATA_SAMSUNG_CF
-	tristate "Samsung SoC PATA support"
-	depends on SAMSUNG_DEV_IDE || COMPILE_TEST
-	select PATA_TIMINGS
-	help
-	  This option enables basic support for Samsung's S3C/S5P board
-	  PATA controllers via the new ATA layer
-

This driver is present and somehow usable on newer platform: S5PV210. It's not converted to DT, but someone might want to do it. OTOH, if no one added DT for all this time, I doubt anyone will. Postmarket/Lineage-folks target smartphones, so don't use it.

Best regards,
Krzysztof

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

#45 lore raw

PATCH 10/21 mmc: remove s3cmci driver

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The s3c24xx platform is gone, so this driver can be removed as well.

---
 MAINTAINERS                              |    6 -
 drivers/mmc/host/Kconfig                 |   43 -
 drivers/mmc/host/Makefile                |    1 -
 drivers/mmc/host/s3cmci.c                | 1777 ----------------------
 drivers/mmc/host/s3cmci.h                |   75 -
 include/linux/platform_data/mmc-s3cmci.h |   51 -
 6 files changed, 1953 deletions(-)
 delete mode 100644 drivers/mmc/host/s3cmci.c
 delete mode 100644 drivers/mmc/host/s3cmci.h
 delete mode 100644 include/linux/platform_data/mmc-s3cmci.h
MAINTAINERS +0 -6
index 2caf42b0328a..503ebd9800db 100644
@@ -17920,12 +17920,6 @@ S:	Supported
 W:	http://www.ibm.com/developerworks/linux/linux390/
 F:	drivers/s390/scsi/zfcp_*
 
-S3C24XX SD/MMC Driver
-M:	Ben Dooks <[email protected]>
-L:	[email protected] (moderated for non-subscribers)
-S:	Supported
-F:	drivers/mmc/host/s3cmci.*
-
 SAA6588 RDS RECEIVER DRIVER
 M:	Hans Verkuil <[email protected]>
 L:	[email protected]
drivers/mmc/host/Kconfig +0 -43

49 lines not on this page · raw message

drivers/mmc/host/Makefile +0 -1
index 0baeb0b004f7..885e19e21e75 100644
@@ -34,7 +34,6 @@ obj-$(CONFIG_MMC_MVSDIO)	+= mvsdio.o
 obj-$(CONFIG_MMC_DAVINCI)       += davinci_mmc.o
 obj-$(CONFIG_MMC_SPI)		+= mmc_spi.o
 obj-$(CONFIG_MMC_SPI)		+= of_mmc_spi.o
-obj-$(CONFIG_MMC_S3C)   	+= s3cmci.o
 obj-$(CONFIG_MMC_SDRICOH_CS)	+= sdricoh_cs.o
 obj-$(CONFIG_MMC_TMIO_CORE)	+= tmio_mmc_core.o
 obj-$(CONFIG_MMC_SDHI)		+= renesas_sdhi_core.o
drivers/mmc/host/s3cmci.c deleted +0 -0
deleted file mode 100644
index 8d5929a32d34..000000000000
drivers/mmc/host/s3cmci.h deleted +0 -0
deleted file mode 100644
index 8b65d7ad9f97..000000000000
include/linux/platform_data/mmc-s3cmci.h deleted +0 -0
deleted file mode 100644
index bacb86db3112..000000000000
Signature · 7 lines
2.29.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Reviewed-by on v1 10/21
#46 lore raw

Re: [PATCH 10/21] mmc: remove s3cmci driver

Quoted 5 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The s3c24xx platform is gone, so this driver can be removed as well.

Best regards,
Krzysztof

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

Acked-by on v1 10/21
#47 lore raw

Re: [PATCH 10/21] mmc: remove s3cmci driver

In reply to Arnd Bergmann
Quoted 6 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The s3c24xx platform is gone, so this driver can be removed as well.

Kind regards
Uffe

Quoted 105 lines
---
 MAINTAINERS                              |    6 -
 drivers/mmc/host/Kconfig                 |   43 -
 drivers/mmc/host/Makefile                |    1 -
 drivers/mmc/host/s3cmci.c                | 1777 ----------------------
 drivers/mmc/host/s3cmci.h                |   75 -
 include/linux/platform_data/mmc-s3cmci.h |   51 -
 6 files changed, 1953 deletions(-)
 delete mode 100644 drivers/mmc/host/s3cmci.c
 delete mode 100644 drivers/mmc/host/s3cmci.h
 delete mode 100644 include/linux/platform_data/mmc-s3cmci.h
MAINTAINERS +0 -6
index 2caf42b0328a..503ebd9800db 100644
@@ -17920,12 +17920,6 @@ S:     Supported
 W:     http://www.ibm.com/developerworks/linux/linux390/
 F:     drivers/s390/scsi/zfcp_*
 
-S3C24XX SD/MMC Driver
-M:     Ben Dooks <[email protected]>
-L:     [email protected] (moderated for non-subscribers)
-S:     Supported
-F:     drivers/mmc/host/s3cmci.*
-
 SAA6588 RDS RECEIVER DRIVER
 M:     Hans Verkuil <[email protected]>
 L:     [email protected]
drivers/mmc/host/Kconfig +0 -43
index 79d8ddf1f616..75e8c364243d 100644
@@ -619,49 +619,6 @@ config MMC_SPI
 
          If unsure, or if your system has no SPI master driver, say N.
 
-config MMC_S3C
-       tristate "Samsung S3C SD/MMC Card Interface support"
-       depends on ARCH_S3C24XX || COMPILE_TEST
-       depends on S3C24XX_DMAC || COMPILE_TEST
-       help
-         This selects a driver for the MCI interface found in
-         Samsung's S3C2410, S3C2412, S3C2440, S3C2442 CPUs.
-         If you have a board based on one of those and a MMC/SD
-         slot, say Y or M here.
-
-         If unsure, say N.
-
-config MMC_S3C_HW_SDIO_IRQ
-       bool "Hardware support for SDIO IRQ"
-       depends on MMC_S3C
-       help
-         Enable the hardware support for SDIO interrupts instead of using
-         the generic polling code.
-
-choice
-       prompt "Samsung S3C SD/MMC transfer code"
-       depends on MMC_S3C
-
-config MMC_S3C_PIO
-       bool "Use PIO transfers only"
-       help
-         Use PIO to transfer data between memory and the hardware.
-
-         PIO is slower than DMA as it requires CPU instructions to
-         move the data. This has been the traditional default for
-         the S3C MCI driver.
-
-config MMC_S3C_DMA
-       bool "Use DMA transfers only"
-       help
-         Use DMA to transfer data between memory and the hardware.
-
-         Currently, the DMA support in this driver seems to not be
-         working properly and needs to be debugged before this
-         option is useful.
-
-endchoice
-
 config MMC_SDRICOH_CS
        tristate "MMC/SD driver for Ricoh Bay1Controllers"
        depends on PCI && PCMCIA
drivers/mmc/host/Makefile +0 -1
index 0baeb0b004f7..885e19e21e75 100644
@@ -34,7 +34,6 @@ obj-$(CONFIG_MMC_MVSDIO)      += mvsdio.o
 obj-$(CONFIG_MMC_DAVINCI)       += davinci_mmc.o
 obj-$(CONFIG_MMC_SPI)          += mmc_spi.o
 obj-$(CONFIG_MMC_SPI)          += of_mmc_spi.o
-obj-$(CONFIG_MMC_S3C)          += s3cmci.o
 obj-$(CONFIG_MMC_SDRICOH_CS)   += sdricoh_cs.o
 obj-$(CONFIG_MMC_TMIO_CORE)    += tmio_mmc_core.o
 obj-$(CONFIG_MMC_SDHI)         += renesas_sdhi_core.o
drivers/mmc/host/s3cmci.c deleted +0 -0
deleted file mode 100644
index 8d5929a32d34..000000000000
drivers/mmc/host/s3cmci.h deleted +0 -0
deleted file mode 100644
index 8b65d7ad9f97..000000000000
include/linux/platform_data/mmc-s3cmci.h deleted +0 -1
deleted file mode 100644
index bacb86db3112..000000000000
--
Quoted 2 lines

2.29.2

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

#48 lore raw

PATCH 11/21 clk: remove s3c24xx driver

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The s3c24xx platform is gone, so the clk driver can be removed as well.

---
 MAINTAINERS                               |   1 -
 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 ---------------------
 include/linux/platform_data/clk-s3c2410.h |  19 -
 8 files changed, 1634 deletions(-)
 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 include/linux/platform_data/clk-s3c2410.h
MAINTAINERS +0 -1
index 503ebd9800db..caf196041e3a 100644
@@ -18078,7 +18078,6 @@ F:	include/dt-bindings/clock/s3c*.h
 F:	include/dt-bindings/clock/s5p*.h
 F:	include/dt-bindings/clock/samsung,*.h
 F:	include/linux/clk/samsung.h
-F:	include/linux/platform_data/clk-s3c2410.h
 
 SAMSUNG SPI DRIVERS
 M:	Krzysztof Kozlowski <[email protected]>
drivers/clk/samsung/Kconfig +0 -32
index 8e8245ab3fd1..c07bb50513bf 100644
@@ -94,38 +94,6 @@ config EXYNOS_CLKOUT
 	  status of the certains clocks from SoC, but it could also be tied to
 	  other devices as an input clock.
 
-# For S3C24XX platforms, select following symbols:
-config S3C2410_COMMON_CLK
-	bool "Samsung S3C2410 clock controller support" if COMPILE_TEST
-	select COMMON_CLK_SAMSUNG
-	help
-	  Support for the clock controller present on the Samsung
-	  S3C2410/S3C2440/S3C2442 SoCs. Choose Y here only if you build for
-	  this SoC.
-
-config S3C2410_COMMON_DCLK
-	bool
-	select COMMON_CLK_SAMSUNG
-	select REGMAP_MMIO
-	help
-	  Support for the dclk clock controller present on the Samsung
-	  S3C2410/S3C2412/S3C2440/S3C2443 SoCs. Choose Y here only if you build
-	  for this SoC.
-
-config S3C2412_COMMON_CLK
-	bool "Samsung S3C2412 clock controller support" if COMPILE_TEST
-	select COMMON_CLK_SAMSUNG
-	help
-	  Support for the clock controller present on the Samsung S3C2412 SoCs.
-	  Choose Y here only if you build for this SoC.
-
-config S3C2443_COMMON_CLK
-	bool "Samsung S3C2443 clock controller support" if COMPILE_TEST
-	select COMMON_CLK_SAMSUNG
-	help
-	  Support for the clock controller present on the Samsung
-	  S3C2416/S3C2443 SoCs. Choose Y here only if you build for this SoC.
-
 config TESLA_FSD_COMMON_CLK
 	bool "Tesla FSD clock controller support" if COMPILE_TEST
 	depends on COMMON_CLK_SAMSUNG
drivers/clk/samsung/Makefile +0 -4
index 239d9eead77f..ebbeacabe88f 100644
@@ -21,10 +21,6 @@ obj-$(CONFIG_EXYNOS_ARM64_COMMON_CLK)	+= clk-exynos7.o
 obj-$(CONFIG_EXYNOS_ARM64_COMMON_CLK)	+= clk-exynos7885.o
 obj-$(CONFIG_EXYNOS_ARM64_COMMON_CLK)	+= clk-exynos850.o
 obj-$(CONFIG_EXYNOS_ARM64_COMMON_CLK)	+= clk-exynosautov9.o
-obj-$(CONFIG_S3C2410_COMMON_CLK)+= clk-s3c2410.o
-obj-$(CONFIG_S3C2410_COMMON_DCLK)+= clk-s3c2410-dclk.o
-obj-$(CONFIG_S3C2412_COMMON_CLK)+= clk-s3c2412.o
-obj-$(CONFIG_S3C2443_COMMON_CLK)+= clk-s3c2443.o
 obj-$(CONFIG_S3C64XX_COMMON_CLK)	+= clk-s3c64xx.o
 obj-$(CONFIG_S5PV210_COMMON_CLK)	+= clk-s5pv210.o clk-s5pv210-audss.o
 obj-$(CONFIG_TESLA_FSD_COMMON_CLK)	+= clk-fsd.o
drivers/clk/samsung/clk-s3c2410-dclk.c deleted +0 -0
deleted file mode 100644
index f5e0a6ba2d12..000000000000
drivers/clk/samsung/clk-s3c2410.c deleted +0 -0
deleted file mode 100644
index 3d152a46169b..000000000000
drivers/clk/samsung/clk-s3c2412.c deleted +0 -0
deleted file mode 100644
index 724ef642f048..000000000000
drivers/clk/samsung/clk-s3c2443.c deleted +0 -0
deleted file mode 100644
index a827d63766d1..000000000000
include/linux/platform_data/clk-s3c2410.h deleted +0 -0
deleted file mode 100644
index 7eb1cfa5409b..000000000000
Signature · 7 lines
2.29.2


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

Re: [PATCH 11/21] clk: remove s3c24xx driver

Hi Arnd,

Quoted 6 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The s3c24xx platform is gone, so the clk driver can be removed as well.

Quoted 15 lines
---
 MAINTAINERS                               |   1 -
 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 ---------------------
 include/linux/platform_data/clk-s3c2410.h |  19 -
 8 files changed, 1634 deletions(-)
 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 include/linux/platform_data/clk-s3c2410.h

(snip)

I think that it should remove the pll code related to s3c24xx as following:

drivers/clk/samsung/clk-pll.c +0 -60
index fe383471c5f0..0daea2aadce4 100644
@@ -1061,48 +1061,6 @@ static void samsung_s3c2410_upll_disable(struct clk_hw *hw)
 	samsung_s3c2410_pll_enable(hw, 7, false);
 }
 
-static const struct clk_ops samsung_s3c2410_mpll_clk_min_ops = {
-	.recalc_rate = samsung_s3c2410_pll_recalc_rate,
-	.enable = samsung_s3c2410_mpll_enable,
-	.disable = samsung_s3c2410_mpll_disable,
-};
-
-static const struct clk_ops samsung_s3c2410_upll_clk_min_ops = {
-	.recalc_rate = samsung_s3c2410_pll_recalc_rate,
-	.enable = samsung_s3c2410_upll_enable,
-	.disable = samsung_s3c2410_upll_disable,
-};
-
-static const struct clk_ops samsung_s3c2440_mpll_clk_min_ops = {
-	.recalc_rate = samsung_s3c2440_mpll_recalc_rate,
-	.enable = samsung_s3c2410_mpll_enable,
-	.disable = samsung_s3c2410_mpll_disable,
-};
-
-static const struct clk_ops samsung_s3c2410_mpll_clk_ops = {
-	.recalc_rate = samsung_s3c2410_pll_recalc_rate,
-	.enable = samsung_s3c2410_mpll_enable,
-	.disable = samsung_s3c2410_mpll_disable,
-	.round_rate = samsung_pll_round_rate,
-	.set_rate = samsung_s3c2410_pll_set_rate,
-};
-
-static const struct clk_ops samsung_s3c2410_upll_clk_ops = {
-	.recalc_rate = samsung_s3c2410_pll_recalc_rate,
-	.enable = samsung_s3c2410_upll_enable,
-	.disable = samsung_s3c2410_upll_disable,
-	.round_rate = samsung_pll_round_rate,
-	.set_rate = samsung_s3c2410_pll_set_rate,
-};
-
-static const struct clk_ops samsung_s3c2440_mpll_clk_ops = {
-	.recalc_rate = samsung_s3c2440_mpll_recalc_rate,
-	.enable = samsung_s3c2410_mpll_enable,
-	.disable = samsung_s3c2410_mpll_disable,
-	.round_rate = samsung_pll_round_rate,
-	.set_rate = samsung_s3c2410_pll_set_rate,
-};
-
 /*
  * PLL2550x Clock Type
  */
@@ -1530,24 +1488,6 @@ static void __init _samsung_clk_register_pll(struct samsung_clk_provider *ctx,
 		else
 			init.ops = &samsung_pll46xx_clk_ops;
 		break;
-	case pll_s3c2410_mpll:
-		if (!pll->rate_table)
-			init.ops = &samsung_s3c2410_mpll_clk_min_ops;
-		else
-			init.ops = &samsung_s3c2410_mpll_clk_ops;
-		break;
-	case pll_s3c2410_upll:
-		if (!pll->rate_table)
-			init.ops = &samsung_s3c2410_upll_clk_min_ops;
-		else
-			init.ops = &samsung_s3c2410_upll_clk_ops;
-		break;
-	case pll_s3c2440_mpll:
-		if (!pll->rate_table)
-			init.ops = &samsung_s3c2440_mpll_clk_min_ops;
-		else
-			init.ops = &samsung_s3c2440_mpll_clk_ops;
-		break;
 	case pll_2550x:
 		init.ops = &samsung_pll2550x_clk_ops;
 		break;
drivers/clk/samsung/clk-pll.h +0 -21
index a9892c2d1f57..5d5a58d40e7e 100644
@@ -25,9 +25,6 @@ enum samsung_pll_type {
 	pll_6552,
 	pll_6552_s3c2416,
 	pll_6553,
-	pll_s3c2410_mpll,
-	pll_s3c2410_upll,
-	pll_s3c2440_mpll,
 	pll_2550x,
 	pll_2550xx,
 	pll_2650x,
@@ -56,24 +53,6 @@ enum samsung_pll_type {
 		.sdiv	=	(_s),				\
 	}
 
-#define PLL_S3C2410_MPLL_RATE(_fin, _rate, _m, _p, _s)		\
-	{							\
-		.rate	=	PLL_VALID_RATE(_fin, _rate,	\
-				_m + 8, _p + 2, _s, 0, 16),	\
-		.mdiv	=	(_m),				\
-		.pdiv	=	(_p),				\
-		.sdiv	=	(_s),				\
-	}
-
-#define PLL_S3C2440_MPLL_RATE(_fin, _rate, _m, _p, _s)		\
-	{							\
-		.rate	=	PLL_VALID_RATE(_fin, _rate,	\
-				2 * (_m + 8), _p + 2, _s, 0, 16), \
-		.mdiv	=	(_m),				\
-		.pdiv	=	(_p),				\
-		.sdiv	=	(_s),				\
-	}
-
 #define PLL_36XX_RATE(_fin, _rate, _m, _p, _s, _k)		\
 	{							\
 		.rate	=	PLL_VALID_RATE(_fin, _rate,	\
Signature · 9 lines
Best Regards,
Samsung Electronics
Chanwoo Choi


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Reviewed-by on v1 11/21
#50 lore raw

Re: [PATCH 11/21] clk: remove s3c24xx driver

In reply to Arnd Bergmann
Quoted 4 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The s3c24xx platform is gone, so the clk driver can be removed as well.

Best regards,
Krzysztof

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

#52 lore raw

PATCH 12/21 leds: remove s3c24xx driver

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The s3c24xx platform is gone, so the led driver can be removed as well.

---
 drivers/leds/Kconfig                       |  8 ---
 drivers/leds/Makefile                      |  1 -
 drivers/leds/leds-s3c24xx.c                | 83 ----------------------
 include/linux/platform_data/leds-s3c24xx.h | 18 -----
 4 files changed, 110 deletions(-)
 delete mode 100644 drivers/leds/leds-s3c24xx.c
 delete mode 100644 include/linux/platform_data/leds-s3c24xx.h
drivers/leds/Kconfig +0 -8
index 3642ed8a75b4..9dbce09eabac 100644
@@ -244,14 +244,6 @@ config LEDS_MT6323
 	  This option enables support for on-chip LED drivers found on
 	  Mediatek MT6323 PMIC.
 
-config LEDS_S3C24XX
-	tristate "LED Support for Samsung S3C24XX GPIO LEDs"
-	depends on LEDS_CLASS
-	depends on ARCH_S3C24XX || COMPILE_TEST
-	help
-	  This option enables support for LEDs connected to GPIO lines
-	  on Samsung S3C24XX series CPUs, such as the S3C2410 and S3C2440.
-
 config LEDS_NET48XX
 	tristate "LED Support for Soekris net48xx series Error LED"
 	depends on LEDS_CLASS
drivers/leds/Makefile +0 -1
index 0c1543a4a7a8..d30395d11fd8 100644
@@ -73,7 +73,6 @@ obj-$(CONFIG_LEDS_PM8058)		+= leds-pm8058.o
 obj-$(CONFIG_LEDS_POWERNV)		+= leds-powernv.o
 obj-$(CONFIG_LEDS_PWM)			+= leds-pwm.o
 obj-$(CONFIG_LEDS_REGULATOR)		+= leds-regulator.o
-obj-$(CONFIG_LEDS_S3C24XX)		+= leds-s3c24xx.o
 obj-$(CONFIG_LEDS_SC27XX_BLTC)		+= leds-sc27xx-bltc.o
 obj-$(CONFIG_LEDS_SUNFIRE)		+= leds-sunfire.o
 obj-$(CONFIG_LEDS_SYSCON)		+= leds-syscon.o
drivers/leds/leds-s3c24xx.c deleted +0 -0
deleted file mode 100644
index 3c0c7aa63b8c..000000000000
include/linux/platform_data/leds-s3c24xx.h deleted +0 -0
deleted file mode 100644
index 64f8d14876e0..000000000000
Signature · 1 line
2.29.2
#53 lore raw

Re: [PATCH 12/21] leds: remove s3c24xx driver

Hi!

Quoted 6 lines

From: Arnd Bergmann <[email protected]>

The s3c24xx platform is gone, so the led driver can be removed as well.

git am failed, but I guess this is not critical...

Best regards,
Pavel

Signature · 1 line
People of Russia, stop Putin before his war on Ukraine escalates.

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

Reviewed-by on v1 12/21
#54 lore raw

Re: [PATCH 12/21] leds: remove s3c24xx driver

In reply to Arnd Bergmann
Quoted 7 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The s3c24xx platform is gone, so the led driver can be removed as well.

---

Best regards,
Krzysztof

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

#55 lore raw

PATCH 13/21 usb: gadget: remove s3c24xx drivers

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The s3c24xx platform is gone, so both the udc and hsudc drivers can be removed as well.

---
 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 --
 include/linux/platform_data/s3c-hsudc.h       |   33 -
 include/linux/platform_data/usb-s3c2410_udc.h |   33 -
 8 files changed, 3637 deletions(-)
 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 include/linux/platform_data/s3c-hsudc.h
 delete mode 100644 include/linux/platform_data/usb-s3c2410_udc.h
drivers/usb/gadget/udc/Kconfig +0 -25
index 82fe0c72b496..a96163f70a8c 100644
@@ -218,31 +218,6 @@ config USB_PXA27X
 	   dynamically linked module called "pxa27x_udc" and force all
 	   gadget drivers to also be dynamically linked.
 
-config USB_S3C2410
-	tristate "S3C2410 USB Device Controller"
-	depends on ARCH_S3C24XX
-	help
-	  Samsung's S3C2410 is an ARM-4 processor with an integrated
-	  full speed USB 1.1 device controller.  It has 4 configurable
-	  endpoints, as well as endpoint zero (for control transfers).
-
-	  This driver has been tested on the S3C2410, S3C2412, and
-	  S3C2440 processors.
-
-config USB_S3C2410_DEBUG
-	bool "S3C2410 udc debug messages"
-	depends on USB_S3C2410
-
-config USB_S3C_HSUDC
-	tristate "S3C2416, S3C2443 and S3C2450 USB Device Controller"
-	depends on ARCH_S3C24XX
-	help
-	  Samsung's S3C2416, S3C2443 and S3C2450 is an ARM9 based SoC
-	  integrated with dual speed USB 2.0 device controller. It has
-	  8 endpoints, as well as endpoint zero.
-
-	  This driver has been tested on S3C2416 and S3C2450 processors.
-
 config USB_MV_UDC
 	tristate "Marvell USB2.0 Device Controller"
 	depends on HAS_DMA
drivers/usb/gadget/udc/Makefile +0 -2
index 12f9e4c9eb0c..a05db5ea376c 100644
@@ -17,7 +17,6 @@ obj-$(CONFIG_USB_PXA25X)	+= pxa25x_udc.o
 obj-$(CONFIG_USB_PXA27X)	+= pxa27x_udc.o
 obj-$(CONFIG_USB_GOKU)		+= goku_udc.o
 obj-$(CONFIG_USB_OMAP)		+= omap_udc.o
-obj-$(CONFIG_USB_S3C2410)	+= s3c2410_udc.o
 obj-$(CONFIG_USB_AT91)		+= at91_udc.o
 obj-$(CONFIG_USB_ATMEL_USBA)	+= atmel_usba_udc.o
 obj-$(CONFIG_USB_BCM63XX_UDC)	+= bcm63xx_udc.o
@@ -28,7 +27,6 @@ obj-$(CONFIG_USB_M66592)	+= m66592-udc.o
 obj-$(CONFIG_USB_R8A66597)	+= r8a66597-udc.o
 obj-$(CONFIG_USB_RENESAS_USB3)	+= renesas_usb3.o
 obj-$(CONFIG_USB_FSL_QE)	+= fsl_qe_udc.o
-obj-$(CONFIG_USB_S3C_HSUDC)	+= s3c-hsudc.o
 obj-$(CONFIG_USB_LPC32XX)	+= lpc32xx_udc.o
 obj-$(CONFIG_USB_EG20T)		+= pch_udc.o
 obj-$(CONFIG_USB_MV_UDC)	+= mv_udc.o
drivers/usb/gadget/udc/s3c-hsudc.c deleted +0 -0
deleted file mode 100644
index 4b7eb7701470..000000000000
drivers/usb/gadget/udc/s3c2410_udc.c deleted +0 -0
deleted file mode 100644
index 8c57b191e52b..000000000000
drivers/usb/gadget/udc/s3c2410_udc.h deleted +0 -0
deleted file mode 100644
index cdbf202e5ee8..000000000000
drivers/usb/gadget/udc/s3c2410_udc_regs.h deleted +0 -0
deleted file mode 100644
index d8d2eeaca088..000000000000
include/linux/platform_data/s3c-hsudc.h deleted +0 -0
deleted file mode 100644
index a170939832d5..000000000000
include/linux/platform_data/usb-s3c2410_udc.h deleted +0 -0
deleted file mode 100644
index c0fbe1fe3426..000000000000
Signature · 1 line
2.29.2
Reviewed-by on v1 13/21
#56 lore raw

Re: [PATCH 13/21] usb: gadget: remove s3c24xx drivers

Quoted 6 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The s3c24xx platform is gone, so both the udc and hsudc drivers can be removed as well.

Best regards,
Krzysztof

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

#57 lore raw

PATCH 14/21 dmaengine: remove s3c24xx driver

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The s3c24xx platform was removed and this driver is no longer needed.

---
 drivers/dma/Kconfig                       |   12 -
 drivers/dma/Makefile                      |    1 -
 drivers/dma/s3c24xx-dma.c                 | 1428 ---------------------
 include/linux/platform_data/dma-s3c24xx.h |   48 -
 4 files changed, 1489 deletions(-)
 delete mode 100644 drivers/dma/s3c24xx-dma.c
 delete mode 100644 include/linux/platform_data/dma-s3c24xx.h
drivers/dma/Kconfig +0 -12
index b73fc89ba877..ea81d825575f 100644
@@ -609,18 +609,6 @@ config SPRD_DMA
 	help
 	  Enable support for the on-chip DMA controller on Spreadtrum platform.
 
-config S3C24XX_DMAC
-	bool "Samsung S3C24XX DMA support"
-	depends on ARCH_S3C24XX || COMPILE_TEST
-	select DMA_ENGINE
-	select DMA_VIRTUAL_CHANNELS
-	help
-	  Support for the Samsung S3C24XX DMA controller driver. The
-	  DMA controller is having multiple DMA channels which can be
-	  configured for different peripherals like audio, UART, SPI.
-	  The DMA controller can transfer data from memory to peripheral,
-	  periphal to memory, periphal to periphal and memory to memory.
-
 config TXX9_DMAC
 	tristate "Toshiba TXx9 SoC DMA support"
 	depends on MACH_TX49XX
drivers/dma/Makefile +0 -1
index 5b55ada052a7..a4fd1ce29510 100644
@@ -70,7 +70,6 @@ obj-$(CONFIG_STM32_DMA) += stm32-dma.o
 obj-$(CONFIG_STM32_DMAMUX) += stm32-dmamux.o
 obj-$(CONFIG_STM32_MDMA) += stm32-mdma.o
 obj-$(CONFIG_SPRD_DMA) += sprd-dma.o
-obj-$(CONFIG_S3C24XX_DMAC) += s3c24xx-dma.o
 obj-$(CONFIG_TXX9_DMAC) += txx9dmac.o
 obj-$(CONFIG_TEGRA186_GPC_DMA) += tegra186-gpc-dma.o
 obj-$(CONFIG_TEGRA20_APB_DMA) += tegra20-apb-dma.o
drivers/dma/s3c24xx-dma.c deleted +0 -0
deleted file mode 100644
index a09eeb545f7d..000000000000
include/linux/platform_data/dma-s3c24xx.h deleted +0 -0
deleted file mode 100644
index 96d02dbeea67..000000000000
Signature · 1 line
2.29.2
Reviewed-by on v1 14/21
#58 lore raw

Re: [PATCH 14/21] dmaengine: remove s3c24xx driver

Quoted 6 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The s3c24xx platform was removed and this driver is no longer needed.

Best regards,
Krzysztof

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

maintainer Applied
#59 lore raw

Re: [PATCH 14/21] dmaengine: remove s3c24xx driver

In reply to Arnd Bergmann
Quoted 4 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The s3c24xx platform was removed and this driver is no longer needed.

Applied, thanks

Signature · 1 line
~Vinod
#60 lore raw

PATCH 1/1 ARM: s3c: Fix a build error after the s3c24xx dma driver was removed

In reply to Arnd Bergmann

The linux/platform_data/dma-s3c24xx.h header file was removed. It didn't declare or define any symbol needed in devs.c though, so the #include can just be dropped.

Fixes cccc46ae3623 ("dmaengine: remove s3c24xx driver")
---
 arch/arm/mach-s3c/devs.c | 1 -
 1 file changed, 1 deletion(-)
arch/arm/mach-s3c/devs.c +0 -1
index 9ac07c023adf..a31d1c3038e8 100644
@@ -29,7 +29,6 @@
 #include <linux/sizes.h>
 #include <linux/platform_data/s3c-hsudc.h>
 #include <linux/platform_data/s3c-hsotg.h>
-#include <linux/platform_data/dma-s3c24xx.h>
 
 #include <linux/platform_data/media/s5p_hdmi.h>
 
Signature · 1 line
2.38.1
#61 lore raw

Re: [PATCH] ARM: s3c: Fix a build error after the s3c24xx dma driver was removed

Quoted 7 lines · Uwe Kleine-König

The linux/platform_data/dma-s3c24xx.h header file was removed. It didn't declare or define any symbol needed in devs.c though, so the #include can just be dropped.

Fixes cccc46ae3623 ("dmaengine: remove s3c24xx driver")

---

The file was not removed... or it should not have been yet. The s3c24xx dma driver removal should be part of Arnd series taken via SoC ARM.

Best regards,
Krzysztof

#62 lore raw

Re: [PATCH] ARM: s3c: Fix a build error after the s3c24xx dma driver was removed

Quoted 11 lines · Krzysztof Kozlowski
Quoted 7 lines · Uwe Kleine-König

The linux/platform_data/dma-s3c24xx.h header file was removed. It didn't declare or define any symbol needed in devs.c though, so the #include can just be dropped.

Fixes cccc46ae3623 ("dmaengine: remove s3c24xx driver")

---

The file was not removed... or it should not have been yet. The s3c24xx dma driver removal should be part of Arnd series taken via SoC ARM.

Also: I don't think the fix is correct. The header was used in mach-s3c, so removing the header should still cause broken build.

It also fails in other places:

arch/arm/mach-s3c/s3c24xx.c:21:10: fatal error:
linux/platform_data/dma-s3c24xx.h: No such file or directory
21 | #include <linux/platform_data/dma-s3c24xx.h>

      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

compilation terminated.

I think that commit should be just dropped instead.

Best regards,
Krzysztof

#63 lore raw

Re: [PATCH] ARM: s3c: Fix a build error after the s3c24xx dma driver was removed

Hello,

Quoted 6 lines · Krzysztof Kozlowski
Quoted 5 lines · Krzysztof Kozlowski
Quoted 4 lines · Uwe Kleine-König

The linux/platform_data/dma-s3c24xx.h header file was removed. It didn't declare or define any symbol needed in devs.c though, so the #include can just be dropped.

Quoted 6 lines
Quoted 6 lines
Quoted 3 lines
Fixes cccc46ae3623 ("dmaengine: remove s3c24xx driver")

---

The file was not removed... or it should not have been yet. The s3c24xx dma driver removal should be part of Arnd series taken via SoC ARM.

The patch enters next with the merge of

git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git next

Ah, the patch that became cccc46ae3623 (i.e. patch #14) is part of a bigger series. Its patch #1 removes s3c24xx.c (which you pointed out to be still broken) and patch #2 includes the change I suggested here.

Quoted 1 line

I think that commit should be just dropped instead.

+1

BTW, cccc46ae3623 is included in next since next-20221107 and breaks (at least) arm/s3c2410_defconfig. So I would consider reverting cccc46ae3623 a fix. (Added linux-next to Cc:)

Best regards
Uwe

Signature · 2 lines
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |
#64 lore raw

Re: [PATCH] ARM: s3c: Fix a build error after the s3c24xx dma driver was removed

Quoted 24 lines · Uwe Kleine-König

Hello,

Quoted 6 lines · Krzysztof Kozlowski
Quoted 5 lines · Krzysztof Kozlowski
Quoted 4 lines · Uwe Kleine-König

The linux/platform_data/dma-s3c24xx.h header file was removed. It didn't declare or define any symbol needed in devs.c though, so the #include can just be dropped.

Quoted 6 lines
Quoted 6 lines
Quoted 3 lines
Fixes cccc46ae3623 ("dmaengine: remove s3c24xx driver")

---

The file was not removed... or it should not have been yet. The s3c24xx dma driver removal should be part of Arnd series taken via SoC ARM.

The patch enters next with the merge of

git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git next

Ah, the patch that became cccc46ae3623 (i.e. patch #14) is part of a bigger series. Its patch #1 removes s3c24xx.c (which you pointed out to be still broken) and patch #2 includes the change I suggested here.

Quoted 7 lines
Quoted 1 line

I think that commit should be just dropped instead.

+1

BTW, cccc46ae3623 is included in next since next-20221107 and breaks (at least) arm/s3c2410_defconfig. So I would consider reverting cccc46ae3623 a fix. (Added linux-next to Cc:)

Yes. The build failure of next was reported already by kernel test robot.

Vinod, can we drop this patch?

Best regards,
Krzysztof

#65 lore raw

Regression in dmaengine/next was removed

Hello,

I made the subject a bit more expressive.

Quoted 27 lines · Krzysztof Kozlowski
Quoted 26 lines · Uwe Kleine-König
Quoted 6 lines · Krzysztof Kozlowski
Quoted 5 lines · Krzysztof Kozlowski
Quoted 4 lines · Uwe Kleine-König

The linux/platform_data/dma-s3c24xx.h header file was removed. It didn't declare or define any symbol needed in devs.c though, so the #include can just be dropped.

Quoted 6 lines
Quoted 6 lines
Quoted 3 lines
Fixes cccc46ae3623 ("dmaengine: remove s3c24xx driver")

---

The file was not removed... or it should not have been yet. The s3c24xx dma driver removal should be part of Arnd series taken via SoC ARM.

The patch enters next with the merge of

git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git next

Ah, the patch that became cccc46ae3623 (i.e. patch #14) is part of a bigger series. Its patch #1 removes s3c24xx.c (which you pointed out to be still broken) and patch #2 includes the change I suggested here.

Quoted 1 line

I think that commit should be just dropped instead.

+1

Quoted 7 lines
Quoted 3 lines

BTW, cccc46ae3623 is included in next since next-20221107 and breaks (at least) arm/s3c2410_defconfig. So I would consider reverting cccc46ae3623 a fix. (Added linux-next to Cc:)

Yes. The build failure of next was reported already by kernel test robot.

Vinod, can we drop this patch?

That patch is still contained in the next tags of this week. :-(

Best regards
Uwe

Signature · 2 lines
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |
maintainer
#66 lore raw

Re: Regression in dmaengine/next was removed

Quoted 36 lines · Uwe Kleine-König

Hello,

I made the subject a bit more expressive.

Quoted 31 lines · Krzysztof Kozlowski
Quoted 29 lines · Uwe Kleine-König
Quoted 6 lines · Krzysztof Kozlowski
Quoted 5 lines · Krzysztof Kozlowski
Quoted 4 lines · Uwe Kleine-König

The linux/platform_data/dma-s3c24xx.h header file was removed. It didn't declare or define any symbol needed in devs.c though, so the #include can just be dropped.

Quoted 6 lines
Quoted 6 lines
Quoted 3 lines
Fixes cccc46ae3623 ("dmaengine: remove s3c24xx driver")

---

The file was not removed... or it should not have been yet. The s3c24xx dma driver removal should be part of Arnd series taken via SoC ARM.

The patch enters next with the merge of

git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git next

Ah, the patch that became cccc46ae3623 (i.e. patch #14) is part of a bigger series. Its patch #1 removes s3c24xx.c (which you pointed out to be still broken) and patch #2 includes the change I suggested here.

Quoted 1 line

I think that commit should be just dropped instead.

+1

BTW, cccc46ae3623 is included in next since next-20221107 and breaks (at least) arm/s3c2410_defconfig. So I would consider reverting cccc46ae3623 a fix. (Added linux-next to Cc:)

Quoted 5 lines
Quoted 3 lines

Yes. The build failure of next was reported already by kernel test robot.

Vinod, can we drop this patch?

That patch is still contained in the next tags of this week. :-(

Apologies for delay, I was moving...

I have reverted and pushed now

Thanks for following up!

Signature · 1 line
~Vinod
#67 lore raw

Re: Regression in dmaengine/next was removed

Hello Vinod,

Quoted 2 lines · Vinod Koul
Quoted 1 line · Uwe Kleine-König

I made the subject a bit more expressive.

I wonder what I intended to write there, something like "Regression in dmaengine/next in arm/s3c2410_defconfig", sorry to make it look as if you already fixed the regression :-)

Quoted 34 lines
Quoted 34 lines · Krzysztof Kozlowski
Quoted 33 lines · Uwe Kleine-König
Quoted 22 lines · Krzysztof Kozlowski
Quoted 6 lines · Krzysztof Kozlowski
Quoted 5 lines · Uwe Kleine-König
Quoted 4 lines

The linux/platform_data/dma-s3c24xx.h header file was removed. It didn't declare or define any symbol needed in devs.c though, so the #include can just be dropped.

Quoted 6 lines
Quoted 6 lines
Quoted 3 lines
Fixes cccc46ae3623 ("dmaengine: remove s3c24xx driver")

---

The file was not removed... or it should not have been yet. The s3c24xx dma driver removal should be part of Arnd series taken via SoC ARM.

The patch enters next with the merge of

git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git next

Ah, the patch that became cccc46ae3623 (i.e. patch #14) is part of a bigger series. Its patch #1 removes s3c24xx.c (which you pointed out to be still broken) and patch #2 includes the change I suggested here.

Quoted 7 lines
Quoted 1 line

I think that commit should be just dropped instead.

+1

BTW, cccc46ae3623 is included in next since next-20221107 and breaks (at least) arm/s3c2410_defconfig. So I would consider reverting cccc46ae3623 a fix. (Added linux-next to Cc:)

Yes. The build failure of next was reported already by kernel test robot.

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

Vinod, can we drop this patch?

That patch is still contained in the next tags of this week. :-(

Apologies for delay, I was moving...

I have reverted and pushed now

Thanks!

Best regards
Uwe

Signature · 2 lines
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |
#68 lore raw

PATCH 15/21 cpufreq: remove s3c24xx drivers

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

All s3c24xx platforms were removed, so these five drivers are all obsolete now.

---
 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 -------------------
 include/linux/soc/samsung/s3c-cpufreq-core.h | 299 ---------
 9 files changed, 2402 deletions(-)
 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 include/linux/soc/samsung/s3c-cpufreq-core.h
drivers/cpufreq/Kconfig.arm +0 -78
index 8f7a1065f344..e3e0367305ec 100644
@@ -180,84 +180,6 @@ config ARM_RASPBERRYPI_CPUFREQ
 
 	  If in doubt, say N.
 
-config ARM_S3C_CPUFREQ
-	bool
-	help
-	  Internal configuration node for common cpufreq on Samsung SoC
-
-config ARM_S3C24XX_CPUFREQ
-	bool "CPUfreq driver for Samsung S3C24XX series CPUs (EXPERIMENTAL)"
-	depends on ARCH_S3C24XX
-	select ARM_S3C_CPUFREQ
-	help
-	  This enables the CPUfreq driver for the Samsung S3C24XX family
-	  of CPUs.
-
-	  For details, take a look at <file:Documentation/cpu-freq>.
-
-	  If in doubt, say N.
-
-config ARM_S3C24XX_CPUFREQ_DEBUG
-	bool "Debug CPUfreq Samsung driver core"
-	depends on ARM_S3C24XX_CPUFREQ
-	help
-	  Enable s3c_freq_dbg for the Samsung S3C CPUfreq core
-
-config ARM_S3C24XX_CPUFREQ_IODEBUG
-	bool "Debug CPUfreq Samsung driver IO timing"
-	depends on ARM_S3C24XX_CPUFREQ
-	help
-	  Enable s3c_freq_iodbg for the Samsung S3C CPUfreq core
-
-config ARM_S3C24XX_CPUFREQ_DEBUGFS
-	bool "Export debugfs for CPUFreq"
-	depends on ARM_S3C24XX_CPUFREQ && DEBUG_FS
-	help
-	  Export status information via debugfs.
-
-config ARM_S3C2410_CPUFREQ
-	bool
-	depends on ARM_S3C24XX_CPUFREQ && CPU_S3C2410
-	help
-	  CPU Frequency scaling support for S3C2410
-
-config ARM_S3C2412_CPUFREQ
-	bool
-	depends on ARM_S3C24XX_CPUFREQ && CPU_S3C2412
-	default y
-	select S3C2412_IOTIMING
-	help
-	  CPU Frequency scaling support for S3C2412 and S3C2413 SoC CPUs.
-
-config ARM_S3C2416_CPUFREQ
-	bool "S3C2416 CPU Frequency scaling support"
-	depends on CPU_S3C2416
-	help
-	  This adds the CPUFreq driver for the Samsung S3C2416 and
-	  S3C2450 SoC. The S3C2416 supports changing the rate of the
-	  armdiv clock source and also entering a so called dynamic
-	  voltage scaling mode in which it is possible to reduce the
-	  core voltage of the CPU.
-
-	  If in doubt, say N.
-
-config ARM_S3C2416_CPUFREQ_VCORESCALE
-	bool "Allow voltage scaling for S3C2416 arm core"
-	depends on ARM_S3C2416_CPUFREQ && REGULATOR
-	help
-	  Enable CPU voltage scaling when entering the dvs mode.
-	  It uses information gathered through existing hardware and
-	  tests but not documented in any datasheet.
-
-	  If in doubt, say N.
-
-config ARM_S3C2440_CPUFREQ
-	bool "S3C2440/S3C2442 CPU Frequency scaling support"
-	depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2440 || CPU_S3C2442)
-	default y
-	help
-	  CPU Frequency scaling support for S3C2440 and S3C2442 SoC CPUs.
-
 config ARM_S3C64XX_CPUFREQ
 	bool "Samsung S3C64XX"
 	depends on CPU_S3C6410
drivers/cpufreq/Makefile +0 -6
index 8de99b213146..692c16e4ee55 100644
@@ -70,13 +70,7 @@ obj-$(CONFIG_PXA3xx)			+= pxa3xx-cpufreq.o
 obj-$(CONFIG_ARM_QCOM_CPUFREQ_HW)	+= qcom-cpufreq-hw.o
 obj-$(CONFIG_ARM_QCOM_CPUFREQ_NVMEM)	+= qcom-cpufreq-nvmem.o
 obj-$(CONFIG_ARM_RASPBERRYPI_CPUFREQ) 	+= raspberrypi-cpufreq.o
-obj-$(CONFIG_ARM_S3C2410_CPUFREQ)	+= s3c2410-cpufreq.o
-obj-$(CONFIG_ARM_S3C2412_CPUFREQ)	+= s3c2412-cpufreq.o
-obj-$(CONFIG_ARM_S3C2416_CPUFREQ)	+= s3c2416-cpufreq.o
-obj-$(CONFIG_ARM_S3C2440_CPUFREQ)	+= s3c2440-cpufreq.o
 obj-$(CONFIG_ARM_S3C64XX_CPUFREQ)	+= s3c64xx-cpufreq.o
-obj-$(CONFIG_ARM_S3C24XX_CPUFREQ)	+= s3c24xx-cpufreq.o
-obj-$(CONFIG_ARM_S3C24XX_CPUFREQ_DEBUGFS) += s3c24xx-cpufreq-debugfs.o
 obj-$(CONFIG_ARM_S5PV210_CPUFREQ)	+= s5pv210-cpufreq.o
 obj-$(CONFIG_ARM_SA1110_CPUFREQ)	+= sa1110-cpufreq.o
 obj-$(CONFIG_ARM_SCMI_CPUFREQ)		+= scmi-cpufreq.o
drivers/cpufreq/s3c2410-cpufreq.c deleted +0 -0
deleted file mode 100644
index 5dcfbf0bfb74..000000000000
drivers/cpufreq/s3c2412-cpufreq.c deleted +0 -0
deleted file mode 100644
index 5945945ead7c..000000000000
drivers/cpufreq/s3c2416-cpufreq.c deleted +0 -0
deleted file mode 100644
index 5c221bc90210..000000000000
drivers/cpufreq/s3c2440-cpufreq.c deleted +0 -0
deleted file mode 100644
index 2011fb9c03a4..000000000000
drivers/cpufreq/s3c24xx-cpufreq-debugfs.c deleted +0 -0
deleted file mode 100644
index 93971dfe7c75..000000000000
drivers/cpufreq/s3c24xx-cpufreq.c deleted +0 -0
deleted file mode 100644
index 7380c32b238e..000000000000
include/linux/soc/samsung/s3c-cpufreq-core.h deleted +0 -0
deleted file mode 100644
index 3b278afb769b..000000000000
Signature · 1 line
2.29.2
Reviewed-by on v1 15/21
#69 lore raw

Re: [PATCH 15/21] cpufreq: remove s3c24xx drivers

Quoted 6 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

All s3c24xx platforms were removed, so these five drivers are all obsolete now.

Best regards,
Krzysztof

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

maintainer Acked-by on v1 15/21
#70 lore raw

Re: [PATCH 15/21] cpufreq: remove s3c24xx drivers

In reply to Arnd Bergmann

include/linux/soc/samsung/s3c-cpufreq-core.h

Quoted 153 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

All s3c24xx platforms were removed, so these five drivers are all obsolete now.

---
 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 -------------------
 include/linux/soc/samsung/s3c-cpufreq-core.h | 299 ---------
 9 files changed, 2402 deletions(-)
 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 include/linux/soc/samsung/s3c-cpufreq-core.h
drivers/cpufreq/Kconfig.arm +0 -78
index 8f7a1065f344..e3e0367305ec 100644
@@ -180,84 +180,6 @@ config ARM_RASPBERRYPI_CPUFREQ
 
 	  If in doubt, say N.
 
-config ARM_S3C_CPUFREQ
-	bool
-	help
-	  Internal configuration node for common cpufreq on Samsung SoC
-
-config ARM_S3C24XX_CPUFREQ
-	bool "CPUfreq driver for Samsung S3C24XX series CPUs (EXPERIMENTAL)"
-	depends on ARCH_S3C24XX
-	select ARM_S3C_CPUFREQ
-	help
-	  This enables the CPUfreq driver for the Samsung S3C24XX family
-	  of CPUs.
-
-	  For details, take a look at <file:Documentation/cpu-freq>.
-
-	  If in doubt, say N.
-
-config ARM_S3C24XX_CPUFREQ_DEBUG
-	bool "Debug CPUfreq Samsung driver core"
-	depends on ARM_S3C24XX_CPUFREQ
-	help
-	  Enable s3c_freq_dbg for the Samsung S3C CPUfreq core
-
-config ARM_S3C24XX_CPUFREQ_IODEBUG
-	bool "Debug CPUfreq Samsung driver IO timing"
-	depends on ARM_S3C24XX_CPUFREQ
-	help
-	  Enable s3c_freq_iodbg for the Samsung S3C CPUfreq core
-
-config ARM_S3C24XX_CPUFREQ_DEBUGFS
-	bool "Export debugfs for CPUFreq"
-	depends on ARM_S3C24XX_CPUFREQ && DEBUG_FS
-	help
-	  Export status information via debugfs.
-
-config ARM_S3C2410_CPUFREQ
-	bool
-	depends on ARM_S3C24XX_CPUFREQ && CPU_S3C2410
-	help
-	  CPU Frequency scaling support for S3C2410
-
-config ARM_S3C2412_CPUFREQ
-	bool
-	depends on ARM_S3C24XX_CPUFREQ && CPU_S3C2412
-	default y
-	select S3C2412_IOTIMING
-	help
-	  CPU Frequency scaling support for S3C2412 and S3C2413 SoC CPUs.
-
-config ARM_S3C2416_CPUFREQ
-	bool "S3C2416 CPU Frequency scaling support"
-	depends on CPU_S3C2416
-	help
-	  This adds the CPUFreq driver for the Samsung S3C2416 and
-	  S3C2450 SoC. The S3C2416 supports changing the rate of the
-	  armdiv clock source and also entering a so called dynamic
-	  voltage scaling mode in which it is possible to reduce the
-	  core voltage of the CPU.
-
-	  If in doubt, say N.
-
-config ARM_S3C2416_CPUFREQ_VCORESCALE
-	bool "Allow voltage scaling for S3C2416 arm core"
-	depends on ARM_S3C2416_CPUFREQ && REGULATOR
-	help
-	  Enable CPU voltage scaling when entering the dvs mode.
-	  It uses information gathered through existing hardware and
-	  tests but not documented in any datasheet.
-
-	  If in doubt, say N.
-
-config ARM_S3C2440_CPUFREQ
-	bool "S3C2440/S3C2442 CPU Frequency scaling support"
-	depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2440 || CPU_S3C2442)
-	default y
-	help
-	  CPU Frequency scaling support for S3C2440 and S3C2442 SoC CPUs.
-
 config ARM_S3C64XX_CPUFREQ
 	bool "Samsung S3C64XX"
 	depends on CPU_S3C6410
drivers/cpufreq/Makefile +0 -6
index 8de99b213146..692c16e4ee55 100644
@@ -70,13 +70,7 @@ obj-$(CONFIG_PXA3xx)			+= pxa3xx-cpufreq.o
 obj-$(CONFIG_ARM_QCOM_CPUFREQ_HW)	+= qcom-cpufreq-hw.o
 obj-$(CONFIG_ARM_QCOM_CPUFREQ_NVMEM)	+= qcom-cpufreq-nvmem.o
 obj-$(CONFIG_ARM_RASPBERRYPI_CPUFREQ) 	+= raspberrypi-cpufreq.o
-obj-$(CONFIG_ARM_S3C2410_CPUFREQ)	+= s3c2410-cpufreq.o
-obj-$(CONFIG_ARM_S3C2412_CPUFREQ)	+= s3c2412-cpufreq.o
-obj-$(CONFIG_ARM_S3C2416_CPUFREQ)	+= s3c2416-cpufreq.o
-obj-$(CONFIG_ARM_S3C2440_CPUFREQ)	+= s3c2440-cpufreq.o
 obj-$(CONFIG_ARM_S3C64XX_CPUFREQ)	+= s3c64xx-cpufreq.o
-obj-$(CONFIG_ARM_S3C24XX_CPUFREQ)	+= s3c24xx-cpufreq.o
-obj-$(CONFIG_ARM_S3C24XX_CPUFREQ_DEBUGFS) += s3c24xx-cpufreq-debugfs.o
 obj-$(CONFIG_ARM_S5PV210_CPUFREQ)	+= s5pv210-cpufreq.o
 obj-$(CONFIG_ARM_SA1110_CPUFREQ)	+= sa1110-cpufreq.o
 obj-$(CONFIG_ARM_SCMI_CPUFREQ)		+= scmi-cpufreq.o
drivers/cpufreq/s3c2410-cpufreq.c deleted +0 -0
deleted file mode 100644
index 5dcfbf0bfb74..000000000000
drivers/cpufreq/s3c2412-cpufreq.c deleted +0 -0
deleted file mode 100644
index 5945945ead7c..000000000000
drivers/cpufreq/s3c2416-cpufreq.c deleted +0 -0
deleted file mode 100644
index 5c221bc90210..000000000000
drivers/cpufreq/s3c2440-cpufreq.c deleted +0 -0
deleted file mode 100644
index 2011fb9c03a4..000000000000
drivers/cpufreq/s3c24xx-cpufreq-debugfs.c deleted +0 -0
deleted file mode 100644
index 93971dfe7c75..000000000000
drivers/cpufreq/s3c24xx-cpufreq.c deleted +0 -0
deleted file mode 100644
index 7380c32b238e..000000000000
include/linux/soc/samsung/s3c-cpufreq-core.h deleted +0 -0
deleted file mode 100644
index 3b278afb769b..000000000000
Signature · 1 line
viresh
#71 lore raw

PATCH 16/21 fbdev: remove s3c2410 framebuffer

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The s3c24xx platform was removed, so the framebuffer driver is no longer needed.

---
 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 -
 include/linux/platform_data/fb-s3c2410.h |   99 --
 6 files changed, 4 insertions(+), 1462 deletions(-)
 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/linux/platform_data/fb-s3c2410.h
drivers/video/fbdev/Kconfig +4 -29
index d1d74269075a..fa5bdbf82d59 100644
@@ -1822,19 +1822,17 @@ config FB_SH_MOBILE_LCDC
 config FB_S3C
 	tristate "Samsung S3C framebuffer support"
 	depends on FB && HAVE_CLK && HAS_IOMEM
-	depends on (CPU_S3C2416 || ARCH_S3C64XX) || COMPILE_TEST
+	depends on ARCH_S3C64XX || COMPILE_TEST
 	select FB_CFB_FILLRECT
 	select FB_CFB_COPYAREA
 	select FB_CFB_IMAGEBLIT
 	help
 	  Frame buffer driver for the built-in FB controller in the Samsung
-	  SoC line from the S3C2443 onwards, including the S3C2416, S3C2450,
-	  and the S3C64XX series such as the S3C6400 and S3C6410.
+	  SoC line such as the S3C6400 and S3C6410.
 
 	  These chips all have the same basic framebuffer design with the
-	  actual capabilities depending on the chip. For instance the S3C6400
-	  and S3C6410 support 4 hardware windows whereas the S3C24XX series
-	  currently only have two.
+	  actual capabilities depending on the chip. The S3C6400
+	  and S3C6410 support 4 hardware windows.
 
 	  Currently the support is only for the S3C6400 and S3C6410 SoCs.
 
@@ -1844,29 +1842,6 @@ config FB_S3C_DEBUG_REGWRITE
 	help
 	  Show all register writes via pr_debug()
 
-config FB_S3C2410
-	tristate "S3C2410 LCD framebuffer support"
-	depends on FB && ARCH_S3C24XX
-	select FB_CFB_FILLRECT
-	select FB_CFB_COPYAREA
-	select FB_CFB_IMAGEBLIT
-	help
-	  Frame buffer driver for the built-in LCD controller in the Samsung
-	  S3C2410 processor.
-
-	  This driver is also available as a module ( = code which can be
-	  inserted and removed from the running kernel whenever you want). The
-	  module will be called s3c2410fb. If you want to compile it as a module,
-	  say M here and read <file:Documentation/kbuild/modules.rst>.
-
-	  If unsure, say N.
-config FB_S3C2410_DEBUG
-	bool "S3C2410 lcd debug messages"
-	depends on FB_S3C2410
-	help
-	  Turn on debugging messages. Note that you can set/unset at run time
-	  through sysfs
-
 config FB_SM501
 	tristate "Silicon Motion SM501 framebuffer support"
 	depends on FB && MFD_SM501
drivers/video/fbdev/Makefile +0 -1
index 279cb0066aec..e6b0ae094b8b 100644
@@ -98,7 +98,6 @@ obj-$(CONFIG_FB_S1D13XXX)	  += s1d13xxxfb.o
 obj-$(CONFIG_FB_SH7760)		  += sh7760fb.o
 obj-$(CONFIG_FB_IMX)              += imxfb.o
 obj-$(CONFIG_FB_S3C)		  += s3c-fb.o
-obj-$(CONFIG_FB_S3C2410)	  += s3c2410fb.o
 obj-$(CONFIG_FB_FSL_DIU)	  += fsl-diu-fb.o
 obj-$(CONFIG_FB_COBALT)           += cobalt_lcdfb.o
 obj-$(CONFIG_FB_IBM_GXT4500)	  += gxt4500.o
drivers/video/fbdev/s3c2410fb-regs-lcd.h deleted +0 -0
deleted file mode 100644
index 1e46f7a788e5..000000000000
drivers/video/fbdev/s3c2410fb.c deleted +0 -0
deleted file mode 100644
index d8ae5258de46..000000000000
drivers/video/fbdev/s3c2410fb.h deleted +0 -0
deleted file mode 100644
index cdd11e2f8859..000000000000
include/linux/platform_data/fb-s3c2410.h deleted +0 -0
deleted file mode 100644
index 10c11e6316d6..000000000000
Signature · 1 line
2.29.2
#73 lore raw

PATCH 17/21 input: remove s3c24xx touchscreen driver

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The s3c24xx SoC support and its adc driver was removed, so this driver has no remaining users.

---
 drivers/input/touchscreen/Kconfig      |  12 -
 drivers/input/touchscreen/Makefile     |   1 -
 drivers/input/touchscreen/s3c2410_ts.c | 464 -------------------------
 3 files changed, 477 deletions(-)
 delete mode 100644 drivers/input/touchscreen/s3c2410_ts.c
drivers/input/touchscreen/Kconfig +0 -12
index 4fde2b93b990..4d451640a223 100644
@@ -462,18 +462,6 @@ config TOUCHSCREEN_IPROC
 	  To compile this driver as a module, choose M here: the
 	  module will be called bcm_iproc_tsc.
 
-config TOUCHSCREEN_S3C2410
-	tristate "Samsung S3C2410/generic touchscreen input driver"
-	depends on ARCH_S3C24XX || SAMSUNG_DEV_TS
-	depends on S3C_ADC
-	help
-	  Say Y here if you have the s3c2410 touchscreen.
-
-	  If unsure, say N.
-
-	  To compile this driver as a module, choose M here: the
-	  module will be called s3c2410_ts.
-
 config TOUCHSCREEN_S6SY761
 	tristate "Samsung S6SY761 Touchscreen driver"
 	depends on I2C
drivers/input/touchscreen/Makefile +0 -1
index 533a80ad054c..eb53d652c935 100644
@@ -73,7 +73,6 @@ obj-$(CONFIG_TOUCHSCREEN_PCAP)		+= pcap_ts.o
 obj-$(CONFIG_TOUCHSCREEN_PENMOUNT)	+= penmount.o
 obj-$(CONFIG_TOUCHSCREEN_PIXCIR)	+= pixcir_i2c_ts.o
 obj-$(CONFIG_TOUCHSCREEN_RM_TS)		+= raydium_i2c_ts.o
-obj-$(CONFIG_TOUCHSCREEN_S3C2410)	+= s3c2410_ts.o
 obj-$(CONFIG_TOUCHSCREEN_S6SY761)	+= s6sy761.o
 obj-$(CONFIG_TOUCHSCREEN_SILEAD)	+= silead.o
 obj-$(CONFIG_TOUCHSCREEN_SIS_I2C)	+= sis_i2c.o
drivers/input/touchscreen/s3c2410_ts.c deleted +0 -0
deleted file mode 100644
index 2e70c0b79444..000000000000
Signature · 1 line
2.29.2
maintainer Acked-by on v1 17/21
#74 lore raw

Re: [PATCH 17/21] input: remove s3c24xx touchscreen driver

Quoted 6 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The s3c24xx SoC support and its adc driver was removed, so this driver has no remaining users.

Thanks.

Signature · 6 lines
Dmitry

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Reviewed-by on v1 17/21
#75 lore raw

Re: [PATCH 17/21] input: remove s3c24xx touchscreen driver

In reply to Arnd Bergmann
Quoted 11 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The s3c24xx SoC support and its adc driver was removed, so this driver has no remaining users.

---
 drivers/input/touchscreen/Kconfig      |  12 -
 drivers/input/touchscreen/Makefile     |   1 -
 drivers/input/touchscreen/s3c2410_ts.c | 464 -------------------------
 3 files changed, 477 deletions(-)

This also could be usable on S3C64xx, but it seems no one added any DT nodes, so:

Best regards,
Krzysztof

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

maintainer
#76 lore raw

Re: [PATCH 17/21] input: remove s3c24xx touchscreen driver

Quoted 13 lines · Krzysztof Kozlowski
Quoted 11 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The s3c24xx SoC support and its adc driver was removed, so this driver has no remaining users.

---
 drivers/input/touchscreen/Kconfig      |  12 -
 drivers/input/touchscreen/Makefile     |   1 -
 drivers/input/touchscreen/s3c2410_ts.c | 464 -------------------------
 3 files changed, 477 deletions(-)
Quoted 4 lines

This also could be usable on S3C64xx, but it seems no one added any DT nodes, so:

Thanks. To clarify, the key bit here is the 'depends on S3C_ADC', and that driver in turn 'depends on !ARCH_MULTIPLATFORM' since 2014. So even for the boardfile variant of s3c64xx, it was already impossible to use for a long time without anyone complaining or trying to fix it.

Arnd

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

#77 lore raw

PATCH 18/21 pinctrl: remove s3c24xx driver

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The s3c24xx platform was removed, so this driver has no remaining users.

---
 drivers/pinctrl/samsung/Kconfig           |   5 -
 drivers/pinctrl/samsung/Makefile          |   1 -
 drivers/pinctrl/samsung/pinctrl-s3c24xx.c | 653 ----------------------
 3 files changed, 659 deletions(-)
 delete mode 100644 drivers/pinctrl/samsung/pinctrl-s3c24xx.c
drivers/pinctrl/samsung/Kconfig +0 -5
index 7b0576f71376..697ff7812d8e 100644
@@ -23,11 +23,6 @@ config PINCTRL_EXYNOS_ARM64
 	bool "ARMv8-specific pinctrl driver for Samsung Exynos SoCs" if COMPILE_TEST
 	depends on PINCTRL_EXYNOS
 
-config PINCTRL_S3C24XX
-	bool "Samsung S3C24XX SoC pinctrl driver"
-	depends on ARCH_S3C24XX || (COMPILE_TEST && OF)
-	select PINCTRL_SAMSUNG
-
 config PINCTRL_S3C64XX
 	bool "Samsung S3C64XX SoC pinctrl driver"
 	depends on ARCH_S3C64XX || (COMPILE_TEST && OF)
drivers/pinctrl/samsung/Makefile +0 -1
index ed951df6a112..4dd4a92ab6cc 100644
@@ -5,5 +5,4 @@ obj-$(CONFIG_PINCTRL_SAMSUNG)	+= pinctrl-samsung.o
 obj-$(CONFIG_PINCTRL_EXYNOS)	+= pinctrl-exynos.o
 obj-$(CONFIG_PINCTRL_EXYNOS_ARM)	+= pinctrl-exynos-arm.o
 obj-$(CONFIG_PINCTRL_EXYNOS_ARM64)	+= pinctrl-exynos-arm64.o
-obj-$(CONFIG_PINCTRL_S3C24XX)	+= pinctrl-s3c24xx.o
 obj-$(CONFIG_PINCTRL_S3C64XX)	+= pinctrl-s3c64xx.o
drivers/pinctrl/samsung/pinctrl-s3c24xx.c deleted +0 -0
deleted file mode 100644
index 625cb1065eaf..000000000000
Signature · 1 line
2.29.2
Reviewed-by on v1 18/21
#79 lore raw

Re: [PATCH 18/21] pinctrl: remove s3c24xx driver

In reply to Arnd Bergmann
Quoted 6 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The s3c24xx platform was removed, so this driver has no remaining users.

Best regards,
Krzysztof

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

#80 lore raw

PATCH 19/21 spi: remove s3c24xx driver

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The s3c24xx platform was removed,s o there are no remaining users for its spi driver.

---
 MAINTAINERS                     |   1 -
 drivers/spi/Kconfig             |  18 -
 drivers/spi/Makefile            |   2 -
 drivers/spi/spi-s3c24xx-regs.h  |  41 ---
 drivers/spi/spi-s3c24xx.c       | 596 --------------------------------
 include/linux/spi/s3c24xx-fiq.h |  33 --
 include/linux/spi/s3c24xx.h     |  20 --
 7 files changed, 711 deletions(-)
 delete mode 100644 drivers/spi/spi-s3c24xx-regs.h
 delete mode 100644 drivers/spi/spi-s3c24xx.c
 delete mode 100644 include/linux/spi/s3c24xx-fiq.h
 delete mode 100644 include/linux/spi/s3c24xx.h
MAINTAINERS +0 -1
index caf196041e3a..331301006f93 100644
@@ -18088,7 +18088,6 @@ S:	Maintained
 F:	Documentation/devicetree/bindings/spi/samsung,spi*.yaml
 F:	drivers/spi/spi-s3c*
 F:	include/linux/platform_data/spi-s3c64xx.h
-F:	include/linux/spi/s3c24xx-fiq.h
 
 SAMSUNG SXGBE DRIVERS
 M:	Byungho An <[email protected]>
drivers/spi/Kconfig +0 -18
index bf0dc704abbe..5992b5db8d76 100644
@@ -818,24 +818,6 @@ config SPI_QCOM_GENI
 	  This driver can also be built as a module.  If so, the module
 	  will be called spi-geni-qcom.
 
-config SPI_S3C24XX
-	tristate "Samsung S3C24XX series SPI"
-	depends on ARCH_S3C24XX
-	select SPI_BITBANG
-	help
-	  SPI driver for Samsung S3C24XX series ARM SoCs
-
-config SPI_S3C24XX_FIQ
-	bool "S3C24XX driver with FIQ pseudo-DMA"
-	depends on SPI_S3C24XX
-	select FIQ
-	help
-	  Enable FIQ support for the S3C24XX SPI driver to provide pseudo
-	  DMA by using the fast-interrupt request framework, This allows
-	  the driver to get DMA-like performance when there are either
-	  no free DMA channels, or when doing transfers that required both
-	  TX and RX data paths.
-
 config SPI_S3C64XX
 	tristate "Samsung S3C64XX/Exynos SoC series type SPI"
 	depends on (PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST)
drivers/spi/Makefile +0 -2
index ae5ba0109d4b..4cd32f76402c 100644
@@ -109,8 +109,6 @@ obj-$(CONFIG_SPI_RB4XX)			+= spi-rb4xx.o
 obj-$(CONFIG_MACH_REALTEK_RTL)		+= spi-realtek-rtl.o
 obj-$(CONFIG_SPI_RPCIF)			+= spi-rpc-if.o
 obj-$(CONFIG_SPI_RSPI)			+= spi-rspi.o
-obj-$(CONFIG_SPI_S3C24XX)		+= spi-s3c24xx-hw.o
-spi-s3c24xx-hw-y			:= spi-s3c24xx.o
 obj-$(CONFIG_SPI_S3C64XX)		+= spi-s3c64xx.o
 obj-$(CONFIG_SPI_SC18IS602)		+= spi-sc18is602.o
 obj-$(CONFIG_SPI_SH)			+= spi-sh.o
drivers/spi/spi-s3c24xx-regs.h deleted +0 -0
deleted file mode 100644
index f51464ab5677..000000000000
drivers/spi/spi-s3c24xx.c deleted +0 -0
deleted file mode 100644
index ef25b5e93900..000000000000
include/linux/spi/s3c24xx-fiq.h deleted +0 -0
deleted file mode 100644
index d2842ac1de27..000000000000
include/linux/spi/s3c24xx.h deleted +0 -0
deleted file mode 100644
index 9b8bb22d5b0c..000000000000
Signature · 1 line
2.29.2
Reviewed-by on v1 19/21
#81 lore raw

Re: [PATCH 19/21] spi: remove s3c24xx driver

Quoted 6 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The s3c24xx platform was removed,s o there are no remaining users for its spi driver.

Best regards,
Krzysztof

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

#82 lore raw

PATCH 20/21 soc: s3c: remove pm-debug hack

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

CONFIG_SAMSUNG_PM_DEBUG was only used on s3c24xx because of the DEBUG_S3C24XX_UART dependency. Since s3c24xx is now gone, and nobody ever noticed this option being missing from s3c64xx, it can be safely removed as well.

---
 drivers/soc/samsung/Kconfig        | 22 +--------
 drivers/soc/samsung/Makefile       |  1 -
 drivers/soc/samsung/s3c-pm-debug.c | 79 ------------------------------
 3 files changed, 1 insertion(+), 101 deletions(-)
 delete mode 100644 drivers/soc/samsung/s3c-pm-debug.c
drivers/soc/samsung/Kconfig +1 -21
index b4f538d7412f..7a8f291e7704 100644
@@ -52,29 +52,9 @@ config EXYNOS_PM_DOMAINS
 	bool "Exynos PM domains" if COMPILE_TEST
 	depends on (ARCH_EXYNOS && PM_GENERIC_DOMAINS) || COMPILE_TEST
 
-config SAMSUNG_PM_DEBUG
-	bool "Samsung PM Suspend debug"
-	depends on PM && DEBUG_KERNEL
-	depends on PLAT_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210
-	depends on DEBUG_S3C24XX_UART || DEBUG_S3C2410_UART
-	depends on DEBUG_LL && MMU
-	help
-	  Say Y here if you want verbose debugging from the PM Suspend and
-	  Resume code. See <file:Documentation/arm/samsung-s3c24xx/suspend.rst>
-	  for more information.
-
-config S3C_PM_DEBUG_LED_SMDK
-       bool "SMDK LED suspend/resume debugging"
-       depends on PM && (MACH_SMDK6410)
-       help
-         Say Y here to enable the use of the SMDK LEDs on the baseboard
-	 for debugging of the state of the suspend and resume process.
-
-	 Note, this currently only works for S3C64XX based SMDK boards.
-
 config SAMSUNG_PM_CHECK
 	bool "S3C2410 PM Suspend Memory CRC"
-	depends on PM && (PLAT_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210)
+	depends on PM && (ARCH_S3C64XX || ARCH_S5PV210)
 	select CRC32
 	help
 	  Enable the PM code's memory area checksum over sleep. This option
drivers/soc/samsung/Makefile +0 -1
index 9f59d1905ab0..d35270fc6b2b 100644
@@ -14,4 +14,3 @@ obj-$(CONFIG_EXYNOS_PM_DOMAINS) += pm_domains.o
 obj-$(CONFIG_EXYNOS_REGULATOR_COUPLER) += exynos-regulator-coupler.o
 
 obj-$(CONFIG_SAMSUNG_PM_CHECK)	+= s3c-pm-check.o
-obj-$(CONFIG_SAMSUNG_PM_DEBUG)	+= s3c-pm-debug.o
drivers/soc/samsung/s3c-pm-debug.c deleted +0 -0
deleted file mode 100644
index b5ce0e9a41e5..000000000000
Signature · 1 line
2.29.2
Reviewed-by on v1 20/21
#83 lore raw

Re: [PATCH 20/21] soc: s3c: remove pm-debug hack

Quoted 6 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

CONFIG_SAMSUNG_PM_DEBUG was only used on s3c24xx because of the DEBUG_S3C24XX_UART dependency. Since s3c24xx is now gone, and nobody ever noticed this option being missing from s3c64xx, it can be safely removed as well.

Best regards,
Krzysztof

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

#84 lore raw

PATCH 21/21 ASoC: samsung: remove unused drivers

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

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.

---
 .../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
include/linux/platform_data/asoc-s3c24xx_simtec.h deleted +0 -0
deleted file mode 100644
index 1a7efc98d108..000000000000
include/sound/s3c24xx_uda134x.h deleted +0 -0
deleted file mode 100644
index 0232b80ff486..000000000000
sound/soc/samsung/Kconfig +0 -93

111 lines not on this page · raw message

sound/soc/samsung/Makefile +0 -26
index 398e843f388c..f5d327b90a4e 100644
@@ -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
sound/soc/samsung/h1940_uda1380.c deleted +0 -0
deleted file mode 100644
index fa45a54ab18f..000000000000
sound/soc/samsung/jive_wm8750.c deleted +0 -0
deleted file mode 100644
index 40a85f539509..000000000000
sound/soc/samsung/neo1973_wm8753.c deleted +0 -0
deleted file mode 100644
index e9f2334028bf..000000000000
sound/soc/samsung/regs-i2s-v2.h deleted +0 -0
deleted file mode 100644
index 867984e75709..000000000000
sound/soc/samsung/regs-iis.h deleted +0 -0
deleted file mode 100644
index 253e172ad3b6..000000000000
sound/soc/samsung/rx1950_uda1380.c deleted +0 -0
deleted file mode 100644
index abf28321f7d7..000000000000
sound/soc/samsung/s3c-i2s-v2.c deleted +0 -0
deleted file mode 100644
index 2b221cb0ed03..000000000000
sound/soc/samsung/s3c-i2s-v2.h deleted +0 -0
deleted file mode 100644
index 8c6fc0d3d77e..000000000000
sound/soc/samsung/s3c2412-i2s.c deleted +0 -0
deleted file mode 100644
index 0579a352961c..000000000000
sound/soc/samsung/s3c2412-i2s.h deleted +0 -0
deleted file mode 100644
index bff2a797cb08..000000000000
sound/soc/samsung/s3c24xx-i2s.c deleted +0 -0
deleted file mode 100644
index 7b7bbe007acd..000000000000
sound/soc/samsung/s3c24xx-i2s.h deleted +0 -0
deleted file mode 100644
index e073e31855d0..000000000000
sound/soc/samsung/s3c24xx_simtec.c deleted +0 -0
deleted file mode 100644
index 0cc66774b85d..000000000000
sound/soc/samsung/s3c24xx_simtec.h deleted +0 -0
deleted file mode 100644
index 38d8384755cd..000000000000
sound/soc/samsung/s3c24xx_simtec_hermes.c deleted +0 -0
deleted file mode 100644
index ed0d1b8fa2d4..000000000000
sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c deleted +0 -0
deleted file mode 100644
index c03d52990267..000000000000
sound/soc/samsung/s3c24xx_uda134x.c deleted +0 -0
deleted file mode 100644
index 6272070dcd92..000000000000
sound/soc/samsung/smartq_wm8987.c deleted +0 -0
deleted file mode 100644
index 29bf917242fe..000000000000
sound/soc/samsung/smdk_wm8580.c deleted +0 -0
deleted file mode 100644
index 78703d095a6f..000000000000
Signature · 1 line
2.29.2
Reviewed-by on v1 21/21
#85 lore raw

Re: [PATCH 21/21] ASoC: samsung: remove unused drivers

Quoted 9 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

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.

---

Best regards,
Krzysztof

#86 lore raw
In reply to Arnd Bergmann
Quoted 9 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

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.

Quoted 6 lines

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

maintainer
#87 lore raw
Quoted 17 lines · Krzysztof Kozlowski
Quoted 9 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

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.

Quoted 6 lines

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.

Quoted 2 lines

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

maintainer
#88 lore raw
In reply to Arnd Bergmann
Quoted 15 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

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.

[...]

Quoted 6 lines
 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 -
Quoted 8 lines
 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

maintainer
#89 lore raw
Quoted 34 lines · Rob Herring
Quoted 15 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

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.

[...]

Quoted 6 lines
 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 -
Quoted 8 lines
 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 -
Quoted 5 lines

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.

Quoted 1 line

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.

Quoted 1 line

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

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/