diff options
author | Olof Johansson <olof@lixom.net> | 2012-03-08 11:53:14 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2012-03-08 11:53:14 -0500 |
commit | d60d506e6baaf423148c458df3ece0c1d440dce4 (patch) | |
tree | c25c44e70ebaaddcbe39559df5c5cd260e956be4 /arch | |
parent | 62f383435932ea3d271bee6b957de048452c1b16 (diff) | |
parent | 2e5ac9436645bb9fd2097868e228321f303c9c75 (diff) |
Merge branch 'next/cleanup-s3c24xx' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into next/cleanup
* 'next/cleanup-s3c24xx' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung: (24 commits)
ARM: S3C24XX: remove call to s3c24xx_setup_clocks
ARM: S3C24XX: add get_rate for clk_p on S3C2416/2443
ARM: S3C24XX: add get_rate for clk_h on S3C2416/2443
ARM: S3C24XX: remove XXX_setup_clocks method from S3C2443
ARM: S3C24XX: remove obsolete S3C2416_DMA option
ARM: S3C24XX: Reuse S3C2443 dma for S3C2416
ARM: S3C24XX: Fix indentation of dma-s3c2443
ARM: S3C24XX: Move device setup files to mach directory
ARM: S3C24XX: Consolidate Simtec extensions
ARM: S3C24XX: move simtec-specific code to mach directory
ARM: S3C24XX: Move common-smdk code to mach directory
ARM: S3C24XX: Move s3c2443-clock.c to mach-s3c24xx
ARM: s3c2410_defconfig: update s3c2410_defconfig
ARM: S3C2443: move mach-s3c2443/* into mach-s3c24xx/
ARM: S3C2440: move mach-s3c2440/* into mach-s3c24xx/
ARM: S3C2416: move mach-s3c2416/* into mach-s3c24xx/
ARM: S3C2412: move mach-s3c2412/* into mach-s3c24xx/
ARM: S3C2410: move mach-s3c2410/* into mach-s3c24xx/
ARM: S3C24XX: change the ARCH_S3C2410 to ARCH_S3C24XX
ARM: S3C2410: move s3c2410_baseclk_add to clock.h
...
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/Kconfig | 27 | ||||
-rw-r--r-- | arch/arm/Makefile | 2 | ||||
-rw-r--r-- | arch/arm/boot/compressed/head.S | 2 | ||||
-rw-r--r-- | arch/arm/configs/mini2440_defconfig | 2 | ||||
-rw-r--r-- | arch/arm/configs/s3c2410_defconfig | 57 | ||||
-rw-r--r-- | arch/arm/configs/tct_hammer_defconfig | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c2410/Kconfig | 154 | ||||
-rw-r--r-- | arch/arm/mach-s3c2410/Makefile | 26 | ||||
-rw-r--r-- | arch/arm/mach-s3c2410/include/mach/spi.h | 38 | ||||
-rw-r--r-- | arch/arm/mach-s3c2410/usb-simtec.h | 16 | ||||
-rw-r--r-- | arch/arm/mach-s3c2412/Kconfig | 85 | ||||
-rw-r--r-- | arch/arm/mach-s3c2412/Makefile | 12 | ||||
-rw-r--r-- | arch/arm/mach-s3c2416/Kconfig | 60 | ||||
-rw-r--r-- | arch/arm/mach-s3c2416/Makefile | 22 | ||||
-rw-r--r-- | arch/arm/mach-s3c2440/Kconfig | 165 | ||||
-rw-r--r-- | arch/arm/mach-s3c2440/Makefile | 26 | ||||
-rw-r--r-- | arch/arm/mach-s3c2440/common.h | 17 | ||||
-rw-r--r-- | arch/arm/mach-s3c2443/Kconfig | 32 | ||||
-rw-r--r-- | arch/arm/mach-s3c2443/Makefile | 20 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/Kconfig | 538 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/Makefile | 95 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/Makefile.boot (renamed from arch/arm/mach-s3c2410/Makefile.boot) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/bast-ide.c (renamed from arch/arm/mach-s3c2410/bast-ide.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/bast-irq.c (renamed from arch/arm/mach-s3c2410/bast-irq.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/clock-s3c2412.c (renamed from arch/arm/mach-s3c2412/clock.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/clock-s3c2416.c (renamed from arch/arm/mach-s3c2416/clock.c) | 1 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/clock-s3c2440.c (renamed from arch/arm/mach-s3c2440/clock.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/clock-s3c2443.c (renamed from arch/arm/mach-s3c2443/clock.c) | 7 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/clock-s3c244x.c (renamed from arch/arm/mach-s3c2440/s3c244x-clock.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/common-s3c2443.c (renamed from arch/arm/plat-s3c24xx/s3c2443-clock.c) | 88 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/common-smdk.c (renamed from arch/arm/plat-s3c24xx/common-smdk.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/common.h (renamed from arch/arm/mach-s3c2410/common.h) | 6 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/dma-s3c2410.c (renamed from arch/arm/mach-s3c2410/dma.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/dma-s3c2412.c (renamed from arch/arm/mach-s3c2412/dma.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/dma-s3c2440.c (renamed from arch/arm/mach-s3c2440/dma.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/dma-s3c2443.c (renamed from arch/arm/mach-s3c2443/dma.c) | 30 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/h1940-bluetooth.c (renamed from arch/arm/mach-s3c2410/h1940-bluetooth.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/anubis-cpld.h (renamed from arch/arm/mach-s3c2410/include/mach/anubis-cpld.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/anubis-irq.h (renamed from arch/arm/mach-s3c2410/include/mach/anubis-irq.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/anubis-map.h (renamed from arch/arm/mach-s3c2410/include/mach/anubis-map.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/bast-cpld.h (renamed from arch/arm/mach-s3c2410/include/mach/bast-cpld.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/bast-irq.h (renamed from arch/arm/mach-s3c2410/include/mach/bast-irq.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/bast-map.h (renamed from arch/arm/mach-s3c2410/include/mach/bast-map.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/bast-pmu.h (renamed from arch/arm/mach-s3c2410/include/mach/bast-pmu.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/debug-macro.S (renamed from arch/arm/mach-s3c2410/include/mach/debug-macro.S) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/dma.h (renamed from arch/arm/mach-s3c2410/include/mach/dma.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/entry-macro.S (renamed from arch/arm/mach-s3c2410/include/mach/entry-macro.S) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/fb.h (renamed from arch/arm/mach-s3c2410/include/mach/fb.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/gpio-fns.h (renamed from arch/arm/mach-s3c2410/include/mach/gpio-fns.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/gpio-nrs.h (renamed from arch/arm/mach-s3c2410/include/mach/gpio-nrs.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/gpio-track.h (renamed from arch/arm/mach-s3c2410/include/mach/gpio-track.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/gpio.h (renamed from arch/arm/mach-s3c2410/include/mach/gpio.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/gta02.h (renamed from arch/arm/mach-s3c2440/include/mach/gta02.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/h1940-latch.h (renamed from arch/arm/mach-s3c2410/include/mach/h1940-latch.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/h1940.h (renamed from arch/arm/mach-s3c2410/include/mach/h1940.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/hardware.h (renamed from arch/arm/mach-s3c2410/include/mach/hardware.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/idle.h (renamed from arch/arm/mach-s3c2410/include/mach/idle.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/io.h (renamed from arch/arm/mach-s3c2410/include/mach/io.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/irqs.h (renamed from arch/arm/mach-s3c2410/include/mach/irqs.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/leds-gpio.h (renamed from arch/arm/mach-s3c2410/include/mach/leds-gpio.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/map.h (renamed from arch/arm/mach-s3c2410/include/mach/map.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/osiris-cpld.h (renamed from arch/arm/mach-s3c2410/include/mach/osiris-cpld.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/osiris-map.h (renamed from arch/arm/mach-s3c2410/include/mach/osiris-map.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/otom-map.h (renamed from arch/arm/mach-s3c2410/include/mach/otom-map.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/pm-core.h (renamed from arch/arm/mach-s3c2410/include/mach/pm-core.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/regs-clock.h (renamed from arch/arm/mach-s3c2410/include/mach/regs-clock.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/regs-dsc.h (renamed from arch/arm/mach-s3c2410/include/mach/regs-dsc.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/regs-gpio.h (renamed from arch/arm/mach-s3c2410/include/mach/regs-gpio.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/regs-gpioj.h (renamed from arch/arm/mach-s3c2410/include/mach/regs-gpioj.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/regs-irq.h (renamed from arch/arm/mach-s3c2410/include/mach/regs-irq.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/regs-lcd.h (renamed from arch/arm/mach-s3c2410/include/mach/regs-lcd.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/regs-mem.h (renamed from arch/arm/mach-s3c2410/include/mach/regs-mem.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/regs-power.h (renamed from arch/arm/mach-s3c2410/include/mach/regs-power.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/regs-s3c2412-mem.h (renamed from arch/arm/mach-s3c2410/include/mach/regs-s3c2412-mem.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/regs-s3c2412.h (renamed from arch/arm/mach-s3c2410/include/mach/regs-s3c2412.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/regs-s3c2416-mem.h (renamed from arch/arm/mach-s3c2410/include/mach/regs-s3c2416-mem.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/regs-s3c2416.h (renamed from arch/arm/mach-s3c2410/include/mach/regs-s3c2416.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/regs-s3c2443-clock.h (renamed from arch/arm/mach-s3c2410/include/mach/regs-s3c2443-clock.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/regs-sdi.h (renamed from arch/arm/mach-s3c2410/include/mach/regs-sdi.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/tick.h (renamed from arch/arm/mach-s3c2410/include/mach/tick.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/timex.h (renamed from arch/arm/mach-s3c2410/include/mach/timex.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/uncompress.h (renamed from arch/arm/mach-s3c2410/include/mach/uncompress.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/vr1000-cpld.h (renamed from arch/arm/mach-s3c2410/include/mach/vr1000-cpld.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/vr1000-irq.h (renamed from arch/arm/mach-s3c2410/include/mach/vr1000-irq.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/include/mach/vr1000-map.h (renamed from arch/arm/mach-s3c2410/include/mach/vr1000-map.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/irq-s3c2412.c (renamed from arch/arm/mach-s3c2412/irq.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/irq-s3c2416.c (renamed from arch/arm/mach-s3c2416/irq.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/irq-s3c2440.c (renamed from arch/arm/mach-s3c2440/irq.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/irq-s3c2443.c (renamed from arch/arm/mach-s3c2443/irq.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/irq-s3c244x.c (renamed from arch/arm/mach-s3c2440/s3c244x-irq.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-amlm5900.c (renamed from arch/arm/mach-s3c2410/mach-amlm5900.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-anubis.c (renamed from arch/arm/mach-s3c2440/mach-anubis.c) | 1 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-at2440evb.c (renamed from arch/arm/mach-s3c2440/mach-at2440evb.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-bast.c (renamed from arch/arm/mach-s3c2410/mach-bast.c) | 3 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-gta02.c (renamed from arch/arm/mach-s3c2440/mach-gta02.c) | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-h1940.c (renamed from arch/arm/mach-s3c2410/mach-h1940.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-jive.c (renamed from arch/arm/mach-s3c2412/mach-jive.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-mini2440.c (renamed from arch/arm/mach-s3c2440/mach-mini2440.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-n30.c (renamed from arch/arm/mach-s3c2410/mach-n30.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-nexcoder.c (renamed from arch/arm/mach-s3c2440/mach-nexcoder.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-osiris-dvs.c (renamed from arch/arm/mach-s3c2440/mach-osiris-dvs.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-osiris.c (renamed from arch/arm/mach-s3c2440/mach-osiris.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-otom.c (renamed from arch/arm/mach-s3c2410/mach-otom.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-qt2410.c (renamed from arch/arm/mach-s3c2410/mach-qt2410.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-rx1950.c (renamed from arch/arm/mach-s3c2440/mach-rx1950.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-rx3715.c (renamed from arch/arm/mach-s3c2440/mach-rx3715.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-smdk2410.c (renamed from arch/arm/mach-s3c2410/mach-smdk2410.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-smdk2413.c (renamed from arch/arm/mach-s3c2412/mach-smdk2413.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-smdk2416.c (renamed from arch/arm/mach-s3c2416/mach-smdk2416.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-smdk2440.c (renamed from arch/arm/mach-s3c2440/mach-smdk2440.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-smdk2443.c (renamed from arch/arm/mach-s3c2443/mach-smdk2443.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-tct_hammer.c (renamed from arch/arm/mach-s3c2410/mach-tct_hammer.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-vr1000.c (renamed from arch/arm/mach-s3c2410/mach-vr1000.c) | 3 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-vstms.c (renamed from arch/arm/mach-s3c2412/mach-vstms.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/pm-h1940.S (renamed from arch/arm/mach-s3c2410/pm-h1940.S) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/pm-s3c2410.c (renamed from arch/arm/mach-s3c2410/pm.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/pm-s3c2412.c (renamed from arch/arm/mach-s3c2412/pm.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/pm-s3c2416.c (renamed from arch/arm/mach-s3c2416/pm.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/s3c2410.c (renamed from arch/arm/mach-s3c2410/s3c2410.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/s3c2412.c (renamed from arch/arm/mach-s3c2412/s3c2412.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/s3c2416.c (renamed from arch/arm/mach-s3c2416/s3c2416.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/s3c2440.c (renamed from arch/arm/mach-s3c2440/s3c2440.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/s3c2442.c (renamed from arch/arm/mach-s3c2440/s3c2442.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/s3c2443.c (renamed from arch/arm/mach-s3c2443/s3c2443.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/s3c244x.c (renamed from arch/arm/mach-s3c2440/s3c244x.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/setup-i2c.c (renamed from arch/arm/plat-s3c24xx/setup-i2c.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/setup-sdhci-gpio.c (renamed from arch/arm/mach-s3c2416/setup-sdhci-gpio.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/setup-ts.c (renamed from arch/arm/plat-s3c24xx/setup-ts.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/simtec-audio.c (renamed from arch/arm/plat-s3c24xx/simtec-audio.c) | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/simtec-nor.c (renamed from arch/arm/mach-s3c2410/nor-simtec.c) | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/simtec-pm.c (renamed from arch/arm/plat-s3c24xx/pm-simtec.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/simtec-usb.c (renamed from arch/arm/mach-s3c2410/usb-simtec.c) | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/simtec.h (renamed from arch/arm/mach-s3c2410/nor-simtec.h) | 9 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/sleep-s3c2410.S (renamed from arch/arm/mach-s3c2410/sleep.S) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/sleep-s3c2412.S (renamed from arch/arm/mach-s3c2412/sleep.S) | 0 | ||||
-rw-r--r-- | arch/arm/plat-s3c24xx/Kconfig | 57 | ||||
-rw-r--r-- | arch/arm/plat-s3c24xx/Makefile | 19 | ||||
-rw-r--r-- | arch/arm/plat-s3c24xx/spi-bus0-gpe11_12_13.c | 36 | ||||
-rw-r--r-- | arch/arm/plat-s3c24xx/spi-bus1-gpd8_9_10.c | 38 | ||||
-rw-r--r-- | arch/arm/plat-s3c24xx/spi-bus1-gpg5_6_7.c | 36 | ||||
-rw-r--r-- | arch/arm/plat-samsung/Kconfig | 4 | ||||
-rw-r--r-- | arch/arm/plat-samsung/include/plat/audio-simtec.h | 3 | ||||
-rw-r--r-- | arch/arm/plat-samsung/include/plat/clock.h | 22 | ||||
-rw-r--r-- | arch/arm/plat-samsung/include/plat/regs-dma.h | 2 | ||||
-rw-r--r-- | arch/arm/plat-samsung/include/plat/s3c2410.h | 2 | ||||
-rw-r--r-- | arch/arm/plat-samsung/include/plat/s3c2443.h | 20 |
146 files changed, 804 insertions, 989 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index f2574fef1e41..1655c0734d72 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -769,22 +769,21 @@ config ARCH_SA1100 | |||
769 | help | 769 | help |
770 | Support for StrongARM 11x0 based boards. | 770 | Support for StrongARM 11x0 based boards. |
771 | 771 | ||
772 | config ARCH_S3C2410 | 772 | config ARCH_S3C24XX |
773 | bool "Samsung S3C2410, S3C2412, S3C2413, S3C2416, S3C2440, S3C2442, S3C2443, S3C2450" | 773 | bool "Samsung S3C24XX SoCs" |
774 | select GENERIC_GPIO | 774 | select GENERIC_GPIO |
775 | select ARCH_HAS_CPUFREQ | 775 | select ARCH_HAS_CPUFREQ |
776 | select HAVE_CLK | 776 | select HAVE_CLK |
777 | select CLKDEV_LOOKUP | 777 | select CLKDEV_LOOKUP |
778 | select ARCH_USES_GETTIMEOFFSET | 778 | select ARCH_USES_GETTIMEOFFSET |
779 | select HAVE_S3C2410_I2C if I2C | 779 | select HAVE_S3C2410_I2C if I2C |
780 | select HAVE_S3C_RTC if RTC_CLASS | ||
781 | select HAVE_S3C2410_WATCHDOG if WATCHDOG | ||
780 | help | 782 | help |
781 | Samsung S3C2410X CPU based systems, such as the Simtec Electronics | 783 | Samsung S3C2410, S3C2412, S3C2413, S3C2416, S3C2440, S3C2442, S3C2443 |
782 | BAST (<http://www.simtec.co.uk/products/EB110ITX/>), the IPAQ 1940 or | 784 | and S3C2450 SoCs based systems, such as the Simtec Electronics BAST |
783 | the Samsung SMDK2410 development board (and derivatives). | 785 | (<http://www.simtec.co.uk/products/EB110ITX/>), the IPAQ 1940 or the |
784 | 786 | Samsung SMDK2410 development board (and derivatives). | |
785 | Note, the S3C2416 and the S3C2450 are so close that they even share | ||
786 | the same SoC ID code. This means that there is no separate machine | ||
787 | directory (no arch/arm/mach-s3c2450) as the S3C2416 was first. | ||
788 | 787 | ||
789 | config ARCH_S3C64XX | 788 | config ARCH_S3C64XX |
790 | bool "Samsung S3C64XX" | 789 | bool "Samsung S3C64XX" |
@@ -1072,12 +1071,10 @@ source "arch/arm/plat-s5p/Kconfig" | |||
1072 | 1071 | ||
1073 | source "arch/arm/plat-spear/Kconfig" | 1072 | source "arch/arm/plat-spear/Kconfig" |
1074 | 1073 | ||
1075 | if ARCH_S3C2410 | 1074 | source "arch/arm/mach-s3c24xx/Kconfig" |
1076 | source "arch/arm/mach-s3c2410/Kconfig" | 1075 | if ARCH_S3C24XX |
1077 | source "arch/arm/mach-s3c2412/Kconfig" | 1076 | source "arch/arm/mach-s3c2412/Kconfig" |
1078 | source "arch/arm/mach-s3c2416/Kconfig" | ||
1079 | source "arch/arm/mach-s3c2440/Kconfig" | 1077 | source "arch/arm/mach-s3c2440/Kconfig" |
1080 | source "arch/arm/mach-s3c2443/Kconfig" | ||
1081 | endif | 1078 | endif |
1082 | 1079 | ||
1083 | if ARCH_S3C64XX | 1080 | if ARCH_S3C64XX |
@@ -1594,7 +1591,7 @@ source kernel/Kconfig.preempt | |||
1594 | 1591 | ||
1595 | config HZ | 1592 | config HZ |
1596 | int | 1593 | int |
1597 | default 200 if ARCH_EBSA110 || ARCH_S3C2410 || ARCH_S5P64X0 || \ | 1594 | default 200 if ARCH_EBSA110 || ARCH_S3C24XX || ARCH_S5P64X0 || \ |
1598 | ARCH_S5PV210 || ARCH_EXYNOS4 | 1595 | ARCH_S5PV210 || ARCH_EXYNOS4 |
1599 | default OMAP_32K_TIMER_HZ if ARCH_OMAP && OMAP_32K_TIMER | 1596 | default OMAP_32K_TIMER_HZ if ARCH_OMAP && OMAP_32K_TIMER |
1600 | default AT91_TIMER_HZ if ARCH_AT91 | 1597 | default AT91_TIMER_HZ if ARCH_AT91 |
@@ -2120,7 +2117,7 @@ config CPU_FREQ_S3C | |||
2120 | 2117 | ||
2121 | config CPU_FREQ_S3C24XX | 2118 | config CPU_FREQ_S3C24XX |
2122 | bool "CPUfreq driver for Samsung S3C24XX series CPUs (EXPERIMENTAL)" | 2119 | bool "CPUfreq driver for Samsung S3C24XX series CPUs (EXPERIMENTAL)" |
2123 | depends on ARCH_S3C2410 && CPU_FREQ && EXPERIMENTAL | 2120 | depends on ARCH_S3C24XX && CPU_FREQ && EXPERIMENTAL |
2124 | select CPU_FREQ_S3C | 2121 | select CPU_FREQ_S3C |
2125 | help | 2122 | help |
2126 | This enables the CPUfreq driver for the Samsung S3C24XX family | 2123 | This enables the CPUfreq driver for the Samsung S3C24XX family |
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 1683bfb9166f..0106f75530c0 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile | |||
@@ -174,7 +174,7 @@ machine-$(CONFIG_ARCH_PRIMA2) := prima2 | |||
174 | machine-$(CONFIG_ARCH_PXA) := pxa | 174 | machine-$(CONFIG_ARCH_PXA) := pxa |
175 | machine-$(CONFIG_ARCH_REALVIEW) := realview | 175 | machine-$(CONFIG_ARCH_REALVIEW) := realview |
176 | machine-$(CONFIG_ARCH_RPC) := rpc | 176 | machine-$(CONFIG_ARCH_RPC) := rpc |
177 | machine-$(CONFIG_ARCH_S3C2410) := s3c2410 s3c2412 s3c2416 s3c2440 s3c2443 | 177 | machine-$(CONFIG_ARCH_S3C24XX) := s3c24xx s3c2412 s3c2440 |
178 | machine-$(CONFIG_ARCH_S3C64XX) := s3c64xx | 178 | machine-$(CONFIG_ARCH_S3C64XX) := s3c64xx |
179 | machine-$(CONFIG_ARCH_S5P64X0) := s5p64x0 | 179 | machine-$(CONFIG_ARCH_S5P64X0) := s5p64x0 |
180 | machine-$(CONFIG_ARCH_S5PC100) := s5pc100 | 180 | machine-$(CONFIG_ARCH_S5PC100) := s5pc100 |
diff --git a/arch/arm/boot/compressed/head.S b/arch/arm/boot/compressed/head.S index c5d60250d43d..5f6045f1766c 100644 --- a/arch/arm/boot/compressed/head.S +++ b/arch/arm/boot/compressed/head.S | |||
@@ -58,7 +58,7 @@ | |||
58 | add \rb, \rb, #0x00010000 @ Ser1 | 58 | add \rb, \rb, #0x00010000 @ Ser1 |
59 | #endif | 59 | #endif |
60 | .endm | 60 | .endm |
61 | #elif defined(CONFIG_ARCH_S3C2410) | 61 | #elif defined(CONFIG_ARCH_S3C24XX) |
62 | .macro loadsp, rb, tmp | 62 | .macro loadsp, rb, tmp |
63 | mov \rb, #0x50000000 | 63 | mov \rb, #0x50000000 |
64 | add \rb, \rb, #0x4000 * CONFIG_S3C_LOWLEVEL_UART_PORT | 64 | add \rb, \rb, #0x4000 * CONFIG_S3C_LOWLEVEL_UART_PORT |
diff --git a/arch/arm/configs/mini2440_defconfig b/arch/arm/configs/mini2440_defconfig index 2472a9585834..42da9183acc8 100644 --- a/arch/arm/configs/mini2440_defconfig +++ b/arch/arm/configs/mini2440_defconfig | |||
@@ -13,7 +13,7 @@ CONFIG_MODULE_UNLOAD=y | |||
13 | CONFIG_MODULE_FORCE_UNLOAD=y | 13 | CONFIG_MODULE_FORCE_UNLOAD=y |
14 | # CONFIG_BLK_DEV_BSG is not set | 14 | # CONFIG_BLK_DEV_BSG is not set |
15 | CONFIG_BLK_DEV_INTEGRITY=y | 15 | CONFIG_BLK_DEV_INTEGRITY=y |
16 | CONFIG_ARCH_S3C2410=y | 16 | CONFIG_ARCH_S3C24XX=y |
17 | CONFIG_S3C_ADC=y | 17 | CONFIG_S3C_ADC=y |
18 | CONFIG_S3C24XX_PWM=y | 18 | CONFIG_S3C24XX_PWM=y |
19 | CONFIG_MACH_MINI2440=y | 19 | CONFIG_MACH_MINI2440=y |
diff --git a/arch/arm/configs/s3c2410_defconfig b/arch/arm/configs/s3c2410_defconfig index f9096c1b0a65..193448f31284 100644 --- a/arch/arm/configs/s3c2410_defconfig +++ b/arch/arm/configs/s3c2410_defconfig | |||
@@ -3,40 +3,47 @@ CONFIG_SYSVIPC=y | |||
3 | CONFIG_IKCONFIG=m | 3 | CONFIG_IKCONFIG=m |
4 | CONFIG_IKCONFIG_PROC=y | 4 | CONFIG_IKCONFIG_PROC=y |
5 | CONFIG_LOG_BUF_SHIFT=16 | 5 | CONFIG_LOG_BUF_SHIFT=16 |
6 | CONFIG_SYSFS_DEPRECATED_V2=y | ||
7 | CONFIG_BLK_DEV_INITRD=y | 6 | CONFIG_BLK_DEV_INITRD=y |
8 | CONFIG_SLAB=y | 7 | CONFIG_SLAB=y |
9 | CONFIG_MODULES=y | 8 | CONFIG_MODULES=y |
10 | CONFIG_MODULE_UNLOAD=y | 9 | CONFIG_MODULE_UNLOAD=y |
11 | # CONFIG_BLK_DEV_BSG is not set | 10 | # CONFIG_BLK_DEV_BSG is not set |
12 | CONFIG_ARCH_S3C2410=y | 11 | CONFIG_PARTITION_ADVANCED=y |
12 | CONFIG_BSD_DISKLABEL=y | ||
13 | CONFIG_SOLARIS_X86_PARTITION=y | ||
14 | CONFIG_ARCH_S3C24XX=y | ||
13 | CONFIG_S3C_BOOT_ERROR_RESET=y | 15 | CONFIG_S3C_BOOT_ERROR_RESET=y |
14 | CONFIG_S3C_ADC=y | 16 | CONFIG_S3C_ADC=y |
15 | CONFIG_S3C24XX_PWM=y | 17 | CONFIG_S3C24XX_PWM=y |
16 | CONFIG_ARCH_SMDK2410=y | 18 | CONFIG_CPU_S3C2412=y |
19 | CONFIG_CPU_S3C2416=y | ||
20 | CONFIG_CPU_S3C2440=y | ||
21 | CONFIG_CPU_S3C2442=y | ||
22 | CONFIG_CPU_S3C2443=y | ||
23 | CONFIG_MACH_AML_M5900=y | ||
24 | CONFIG_ARCH_BAST=y | ||
17 | CONFIG_ARCH_H1940=y | 25 | CONFIG_ARCH_H1940=y |
18 | CONFIG_MACH_N30=y | 26 | CONFIG_MACH_N30=y |
19 | CONFIG_ARCH_BAST=y | ||
20 | CONFIG_MACH_OTOM=y | 27 | CONFIG_MACH_OTOM=y |
21 | CONFIG_MACH_AML_M5900=y | 28 | CONFIG_MACH_QT2410=y |
29 | CONFIG_ARCH_SMDK2410=y | ||
22 | CONFIG_MACH_TCT_HAMMER=y | 30 | CONFIG_MACH_TCT_HAMMER=y |
23 | CONFIG_MACH_VR1000=y | 31 | CONFIG_MACH_VR1000=y |
24 | CONFIG_MACH_QT2410=y | ||
25 | CONFIG_MACH_JIVE=y | 32 | CONFIG_MACH_JIVE=y |
26 | CONFIG_MACH_SMDK2412=y | 33 | CONFIG_MACH_SMDK2412=y |
27 | CONFIG_MACH_VSTMS=y | 34 | CONFIG_MACH_VSTMS=y |
28 | CONFIG_MACH_SMDK2416=y | 35 | CONFIG_MACH_SMDK2416=y |
29 | CONFIG_MACH_ANUBIS=y | 36 | CONFIG_MACH_ANUBIS=y |
30 | CONFIG_MACH_NEO1973_GTA02=y | 37 | CONFIG_MACH_AT2440EVB=y |
38 | CONFIG_MACH_MINI2440=y | ||
39 | CONFIG_MACH_NEXCODER_2440=y | ||
31 | CONFIG_MACH_OSIRIS=y | 40 | CONFIG_MACH_OSIRIS=y |
32 | CONFIG_MACH_OSIRIS_DVS=m | 41 | CONFIG_MACH_OSIRIS_DVS=m |
33 | CONFIG_MACH_RX3715=y | 42 | CONFIG_MACH_RX3715=y |
34 | CONFIG_ARCH_S3C2440=y | 43 | CONFIG_ARCH_S3C2440=y |
35 | CONFIG_MACH_NEXCODER_2440=y | 44 | CONFIG_MACH_NEO1973_GTA02=y |
36 | CONFIG_SMDK2440_CPU2442=y | ||
37 | CONFIG_MACH_AT2440EVB=y | ||
38 | CONFIG_MACH_MINI2440=y | ||
39 | CONFIG_MACH_RX1950=y | 45 | CONFIG_MACH_RX1950=y |
46 | CONFIG_SMDK2440_CPU2442=y | ||
40 | CONFIG_MACH_SMDK2443=y | 47 | CONFIG_MACH_SMDK2443=y |
41 | # CONFIG_ARM_THUMB is not set | 48 | # CONFIG_ARM_THUMB is not set |
42 | CONFIG_ZBOOT_ROM_TEXT=0x0 | 49 | CONFIG_ZBOOT_ROM_TEXT=0x0 |
@@ -45,7 +52,6 @@ CONFIG_CMDLINE="root=/dev/hda1 ro init=/bin/bash console=ttySAC0" | |||
45 | CONFIG_FPE_NWFPE=y | 52 | CONFIG_FPE_NWFPE=y |
46 | CONFIG_FPE_NWFPE_XP=y | 53 | CONFIG_FPE_NWFPE_XP=y |
47 | CONFIG_BINFMT_AOUT=y | 54 | CONFIG_BINFMT_AOUT=y |
48 | CONFIG_PM=y | ||
49 | CONFIG_APM_EMULATION=m | 55 | CONFIG_APM_EMULATION=m |
50 | CONFIG_NET=y | 56 | CONFIG_NET=y |
51 | CONFIG_PACKET=y | 57 | CONFIG_PACKET=y |
@@ -58,7 +64,6 @@ CONFIG_IP_PNP=y | |||
58 | CONFIG_IP_PNP_DHCP=y | 64 | CONFIG_IP_PNP_DHCP=y |
59 | CONFIG_IP_PNP_BOOTP=y | 65 | CONFIG_IP_PNP_BOOTP=y |
60 | CONFIG_NET_IPIP=m | 66 | CONFIG_NET_IPIP=m |
61 | CONFIG_NET_IPGRE=m | ||
62 | CONFIG_INET_AH=m | 67 | CONFIG_INET_AH=m |
63 | CONFIG_INET_ESP=m | 68 | CONFIG_INET_ESP=m |
64 | CONFIG_INET_IPCOMP=m | 69 | CONFIG_INET_IPCOMP=m |
@@ -80,7 +85,6 @@ CONFIG_IPV6_MIP6=m | |||
80 | CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION=m | 85 | CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION=m |
81 | CONFIG_IPV6_TUNNEL=m | 86 | CONFIG_IPV6_TUNNEL=m |
82 | CONFIG_NETFILTER=y | 87 | CONFIG_NETFILTER=y |
83 | CONFIG_NETFILTER_NETLINK_QUEUE=m | ||
84 | CONFIG_NF_CONNTRACK=m | 88 | CONFIG_NF_CONNTRACK=m |
85 | CONFIG_NF_CONNTRACK_EVENTS=y | 89 | CONFIG_NF_CONNTRACK_EVENTS=y |
86 | CONFIG_NF_CT_PROTO_DCCP=m | 90 | CONFIG_NF_CT_PROTO_DCCP=m |
@@ -138,7 +142,6 @@ CONFIG_IP_VS=m | |||
138 | CONFIG_NF_CONNTRACK_IPV4=m | 142 | CONFIG_NF_CONNTRACK_IPV4=m |
139 | CONFIG_IP_NF_QUEUE=m | 143 | CONFIG_IP_NF_QUEUE=m |
140 | CONFIG_IP_NF_IPTABLES=m | 144 | CONFIG_IP_NF_IPTABLES=m |
141 | CONFIG_IP_NF_MATCH_ADDRTYPE=m | ||
142 | CONFIG_IP_NF_MATCH_AH=m | 145 | CONFIG_IP_NF_MATCH_AH=m |
143 | CONFIG_IP_NF_MATCH_ECN=m | 146 | CONFIG_IP_NF_MATCH_ECN=m |
144 | CONFIG_IP_NF_MATCH_TTL=m | 147 | CONFIG_IP_NF_MATCH_TTL=m |
@@ -150,7 +153,6 @@ CONFIG_NF_NAT=m | |||
150 | CONFIG_IP_NF_TARGET_MASQUERADE=m | 153 | CONFIG_IP_NF_TARGET_MASQUERADE=m |
151 | CONFIG_IP_NF_TARGET_NETMAP=m | 154 | CONFIG_IP_NF_TARGET_NETMAP=m |
152 | CONFIG_IP_NF_TARGET_REDIRECT=m | 155 | CONFIG_IP_NF_TARGET_REDIRECT=m |
153 | CONFIG_NF_NAT_SNMP_BASIC=m | ||
154 | CONFIG_IP_NF_MANGLE=m | 156 | CONFIG_IP_NF_MANGLE=m |
155 | CONFIG_IP_NF_TARGET_CLUSTERIP=m | 157 | CONFIG_IP_NF_TARGET_CLUSTERIP=m |
156 | CONFIG_IP_NF_TARGET_ECN=m | 158 | CONFIG_IP_NF_TARGET_ECN=m |
@@ -177,8 +179,6 @@ CONFIG_IP6_NF_TARGET_REJECT=m | |||
177 | CONFIG_IP6_NF_MANGLE=m | 179 | CONFIG_IP6_NF_MANGLE=m |
178 | CONFIG_IP6_NF_RAW=m | 180 | CONFIG_IP6_NF_RAW=m |
179 | CONFIG_BT=m | 181 | CONFIG_BT=m |
180 | CONFIG_BT_L2CAP=m | ||
181 | CONFIG_BT_SCO=m | ||
182 | CONFIG_BT_RFCOMM=m | 182 | CONFIG_BT_RFCOMM=m |
183 | CONFIG_BT_RFCOMM_TTY=y | 183 | CONFIG_BT_RFCOMM_TTY=y |
184 | CONFIG_BT_BNEP=m | 184 | CONFIG_BT_BNEP=m |
@@ -199,7 +199,6 @@ CONFIG_MAC80211_MESH=y | |||
199 | CONFIG_MAC80211_LEDS=y | 199 | CONFIG_MAC80211_LEDS=y |
200 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 200 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
201 | CONFIG_MTD=y | 201 | CONFIG_MTD=y |
202 | CONFIG_MTD_PARTITIONS=y | ||
203 | CONFIG_MTD_REDBOOT_PARTS=y | 202 | CONFIG_MTD_REDBOOT_PARTS=y |
204 | CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED=y | 203 | CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED=y |
205 | CONFIG_MTD_CMDLINE_PARTS=y | 204 | CONFIG_MTD_CMDLINE_PARTS=y |
@@ -221,9 +220,6 @@ CONFIG_BLK_DEV_NBD=m | |||
221 | CONFIG_BLK_DEV_UB=m | 220 | CONFIG_BLK_DEV_UB=m |
222 | CONFIG_BLK_DEV_RAM=y | 221 | CONFIG_BLK_DEV_RAM=y |
223 | CONFIG_ATA_OVER_ETH=m | 222 | CONFIG_ATA_OVER_ETH=m |
224 | CONFIG_EEPROM_AT25=m | ||
225 | CONFIG_EEPROM_LEGACY=m | ||
226 | CONFIG_EEPROM_93CX6=m | ||
227 | CONFIG_IDE=y | 223 | CONFIG_IDE=y |
228 | CONFIG_BLK_DEV_IDECD=y | 224 | CONFIG_BLK_DEV_IDECD=y |
229 | CONFIG_BLK_DEV_IDETAPE=m | 225 | CONFIG_BLK_DEV_IDETAPE=m |
@@ -240,7 +236,6 @@ CONFIG_SCSI_MULTI_LUN=y | |||
240 | CONFIG_SCSI_CONSTANTS=y | 236 | CONFIG_SCSI_CONSTANTS=y |
241 | CONFIG_SCSI_SCAN_ASYNC=y | 237 | CONFIG_SCSI_SCAN_ASYNC=y |
242 | CONFIG_NETDEVICES=y | 238 | CONFIG_NETDEVICES=y |
243 | CONFIG_NET_ETHERNET=y | ||
244 | CONFIG_DM9000=y | 239 | CONFIG_DM9000=y |
245 | CONFIG_INPUT_EVDEV=y | 240 | CONFIG_INPUT_EVDEV=y |
246 | CONFIG_MOUSE_APPLETOUCH=m | 241 | CONFIG_MOUSE_APPLETOUCH=m |
@@ -274,7 +269,6 @@ CONFIG_JOYSTICK_XPAD_LEDS=y | |||
274 | CONFIG_INPUT_TOUCHSCREEN=y | 269 | CONFIG_INPUT_TOUCHSCREEN=y |
275 | CONFIG_TOUCHSCREEN_USB_COMPOSITE=m | 270 | CONFIG_TOUCHSCREEN_USB_COMPOSITE=m |
276 | CONFIG_INPUT_MISC=y | 271 | CONFIG_INPUT_MISC=y |
277 | CONFIG_INPUT_ATI_REMOTE=m | ||
278 | CONFIG_INPUT_ATI_REMOTE2=m | 272 | CONFIG_INPUT_ATI_REMOTE2=m |
279 | CONFIG_INPUT_KEYSPAN_REMOTE=m | 273 | CONFIG_INPUT_KEYSPAN_REMOTE=m |
280 | CONFIG_INPUT_POWERMATE=m | 274 | CONFIG_INPUT_POWERMATE=m |
@@ -300,7 +294,6 @@ CONFIG_I2C_SIMTEC=y | |||
300 | CONFIG_SPI=y | 294 | CONFIG_SPI=y |
301 | CONFIG_SPI_GPIO=m | 295 | CONFIG_SPI_GPIO=m |
302 | CONFIG_SPI_S3C24XX=m | 296 | CONFIG_SPI_S3C24XX=m |
303 | CONFIG_SPI_S3C24XX_GPIO=m | ||
304 | CONFIG_SPI_SPIDEV=m | 297 | CONFIG_SPI_SPIDEV=m |
305 | CONFIG_SPI_TLE62X0=m | 298 | CONFIG_SPI_TLE62X0=m |
306 | CONFIG_SENSORS_LM75=m | 299 | CONFIG_SENSORS_LM75=m |
@@ -315,7 +308,6 @@ CONFIG_FB_MODE_HELPERS=y | |||
315 | CONFIG_FB_S3C2410=y | 308 | CONFIG_FB_S3C2410=y |
316 | CONFIG_FB_SM501=y | 309 | CONFIG_FB_SM501=y |
317 | CONFIG_BACKLIGHT_PWM=m | 310 | CONFIG_BACKLIGHT_PWM=m |
318 | # CONFIG_VGA_CONSOLE is not set | ||
319 | CONFIG_FRAMEBUFFER_CONSOLE=y | 311 | CONFIG_FRAMEBUFFER_CONSOLE=y |
320 | CONFIG_SOUND=y | 312 | CONFIG_SOUND=y |
321 | CONFIG_SND=y | 313 | CONFIG_SND=y |
@@ -330,10 +322,6 @@ CONFIG_SND_VERBOSE_PRINTK=y | |||
330 | CONFIG_SND_USB_AUDIO=m | 322 | CONFIG_SND_USB_AUDIO=m |
331 | CONFIG_SND_USB_CAIAQ=m | 323 | CONFIG_SND_USB_CAIAQ=m |
332 | CONFIG_SND_SOC=y | 324 | CONFIG_SND_SOC=y |
333 | CONFIG_SND_S3C24XX_SOC=y | ||
334 | CONFIG_SND_S3C24XX_SOC_JIVE_WM8750=m | ||
335 | CONFIG_SND_S3C24XX_SOC_SMDK2443_WM9710=m | ||
336 | CONFIG_SND_S3C24XX_SOC_LN2440SBC_ALC650=m | ||
337 | # CONFIG_USB_HID is not set | 325 | # CONFIG_USB_HID is not set |
338 | CONFIG_USB=y | 326 | CONFIG_USB=y |
339 | CONFIG_USB_DEVICEFS=y | 327 | CONFIG_USB_DEVICEFS=y |
@@ -387,9 +375,7 @@ CONFIG_MMC_TEST=m | |||
387 | CONFIG_MMC_SDHCI=m | 375 | CONFIG_MMC_SDHCI=m |
388 | CONFIG_MMC_SPI=m | 376 | CONFIG_MMC_SPI=m |
389 | CONFIG_MMC_S3C=y | 377 | CONFIG_MMC_S3C=y |
390 | CONFIG_LEDS_CLASS=m | ||
391 | CONFIG_LEDS_S3C24XX=m | 378 | CONFIG_LEDS_S3C24XX=m |
392 | CONFIG_LEDS_H1940=m | ||
393 | CONFIG_LEDS_PCA9532=m | 379 | CONFIG_LEDS_PCA9532=m |
394 | CONFIG_LEDS_GPIO=m | 380 | CONFIG_LEDS_GPIO=m |
395 | CONFIG_LEDS_PCA955X=m | 381 | CONFIG_LEDS_PCA955X=m |
@@ -410,8 +396,6 @@ CONFIG_EXT3_FS=y | |||
410 | CONFIG_EXT3_FS_POSIX_ACL=y | 396 | CONFIG_EXT3_FS_POSIX_ACL=y |
411 | CONFIG_EXT4_FS=m | 397 | CONFIG_EXT4_FS=m |
412 | CONFIG_EXT4_FS_POSIX_ACL=y | 398 | CONFIG_EXT4_FS_POSIX_ACL=y |
413 | CONFIG_INOTIFY=y | ||
414 | CONFIG_AUTOFS_FS=m | ||
415 | CONFIG_AUTOFS4_FS=m | 399 | CONFIG_AUTOFS4_FS=m |
416 | CONFIG_FUSE_FS=m | 400 | CONFIG_FUSE_FS=m |
417 | CONFIG_ISO9660_FS=y | 401 | CONFIG_ISO9660_FS=y |
@@ -436,9 +420,6 @@ CONFIG_NFSD=m | |||
436 | CONFIG_NFSD_V3_ACL=y | 420 | CONFIG_NFSD_V3_ACL=y |
437 | CONFIG_NFSD_V4=y | 421 | CONFIG_NFSD_V4=y |
438 | CONFIG_CIFS=m | 422 | CONFIG_CIFS=m |
439 | CONFIG_PARTITION_ADVANCED=y | ||
440 | CONFIG_BSD_DISKLABEL=y | ||
441 | CONFIG_SOLARIS_X86_PARTITION=y | ||
442 | CONFIG_NLS_CODEPAGE_437=y | 423 | CONFIG_NLS_CODEPAGE_437=y |
443 | CONFIG_NLS_CODEPAGE_737=m | 424 | CONFIG_NLS_CODEPAGE_737=m |
444 | CONFIG_NLS_CODEPAGE_775=m | 425 | CONFIG_NLS_CODEPAGE_775=m |
@@ -481,9 +462,7 @@ CONFIG_MAGIC_SYSRQ=y | |||
481 | CONFIG_DEBUG_KERNEL=y | 462 | CONFIG_DEBUG_KERNEL=y |
482 | CONFIG_DEBUG_MUTEXES=y | 463 | CONFIG_DEBUG_MUTEXES=y |
483 | CONFIG_DEBUG_INFO=y | 464 | CONFIG_DEBUG_INFO=y |
484 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | ||
485 | CONFIG_SYSCTL_SYSCALL_CHECK=y | 465 | CONFIG_SYSCTL_SYSCALL_CHECK=y |
486 | CONFIG_DEBUG_USER=y | 466 | CONFIG_DEBUG_USER=y |
487 | CONFIG_DEBUG_ERRORS=y | ||
488 | CONFIG_DEBUG_LL=y | 467 | CONFIG_DEBUG_LL=y |
489 | # CONFIG_CRYPTO_ANSI_CPRNG is not set | 468 | # CONFIG_CRYPTO_ANSI_CPRNG is not set |
diff --git a/arch/arm/configs/tct_hammer_defconfig b/arch/arm/configs/tct_hammer_defconfig index 95c0f0d63db6..1d24f8458bef 100644 --- a/arch/arm/configs/tct_hammer_defconfig +++ b/arch/arm/configs/tct_hammer_defconfig | |||
@@ -14,7 +14,7 @@ CONFIG_SLOB=y | |||
14 | CONFIG_MODULES=y | 14 | CONFIG_MODULES=y |
15 | CONFIG_MODULE_UNLOAD=y | 15 | CONFIG_MODULE_UNLOAD=y |
16 | # CONFIG_BLK_DEV_BSG is not set | 16 | # CONFIG_BLK_DEV_BSG is not set |
17 | CONFIG_ARCH_S3C2410=y | 17 | CONFIG_ARCH_S3C24XX=y |
18 | CONFIG_MACH_TCT_HAMMER=y | 18 | CONFIG_MACH_TCT_HAMMER=y |
19 | CONFIG_ZBOOT_ROM_TEXT=0x0 | 19 | CONFIG_ZBOOT_ROM_TEXT=0x0 |
20 | CONFIG_ZBOOT_ROM_BSS=0x0 | 20 | CONFIG_ZBOOT_ROM_BSS=0x0 |
diff --git a/arch/arm/mach-s3c2410/Kconfig b/arch/arm/mach-s3c2410/Kconfig index 5261a7ed0999..68d89cb96af0 100644 --- a/arch/arm/mach-s3c2410/Kconfig +++ b/arch/arm/mach-s3c2410/Kconfig | |||
@@ -2,42 +2,6 @@ | |||
2 | # | 2 | # |
3 | # Licensed under GPLv2 | 3 | # Licensed under GPLv2 |
4 | 4 | ||
5 | config CPU_S3C2410 | ||
6 | bool | ||
7 | depends on ARCH_S3C2410 | ||
8 | select CPU_ARM920T | ||
9 | select S3C2410_CLOCK | ||
10 | select CPU_LLSERIAL_S3C2410 | ||
11 | select S3C2410_PM if PM | ||
12 | select S3C2410_CPUFREQ if CPU_FREQ_S3C24XX | ||
13 | help | ||
14 | Support for S3C2410 and S3C2410A family from the S3C24XX line | ||
15 | of Samsung Mobile CPUs. | ||
16 | |||
17 | config CPU_S3C2410_DMA | ||
18 | bool | ||
19 | depends on S3C2410_DMA && (CPU_S3C2410 || CPU_S3C2442) | ||
20 | default y if CPU_S3C2410 || CPU_S3C2442 | ||
21 | help | ||
22 | DMA device selection for S3C2410 and compatible CPUs | ||
23 | |||
24 | config S3C2410_PM | ||
25 | bool | ||
26 | help | ||
27 | Power Management code common to S3C2410 and better | ||
28 | |||
29 | config SIMTEC_NOR | ||
30 | bool | ||
31 | help | ||
32 | Internal node to specify machine has simtec NOR mapping | ||
33 | |||
34 | config MACH_BAST_IDE | ||
35 | bool | ||
36 | select HAVE_PATA_PLATFORM | ||
37 | help | ||
38 | Internal node for machines with an BAST style IDE | ||
39 | interface | ||
40 | |||
41 | # cpu frequency scaling support | 5 | # cpu frequency scaling support |
42 | 6 | ||
43 | config S3C2410_CPUFREQ | 7 | config S3C2410_CPUFREQ |
@@ -54,121 +18,3 @@ config S3C2410_PLLTABLE | |||
54 | help | 18 | help |
55 | Select the PLL table for the S3C2410 | 19 | Select the PLL table for the S3C2410 |
56 | 20 | ||
57 | menu "S3C2410 Machines" | ||
58 | |||
59 | config ARCH_SMDK2410 | ||
60 | bool "SMDK2410/A9M2410" | ||
61 | select CPU_S3C2410 | ||
62 | select MACH_SMDK | ||
63 | help | ||
64 | Say Y here if you are using the SMDK2410 or the derived module A9M2410 | ||
65 | <http://www.fsforth.de> | ||
66 | |||
67 | config ARCH_H1940 | ||
68 | bool "IPAQ H1940" | ||
69 | select CPU_S3C2410 | ||
70 | select PM_H1940 if PM | ||
71 | select S3C_DEV_USB_HOST | ||
72 | select S3C_DEV_NAND | ||
73 | select S3C2410_SETUP_TS | ||
74 | help | ||
75 | Say Y here if you are using the HP IPAQ H1940 | ||
76 | |||
77 | config H1940BT | ||
78 | tristate "Control the state of H1940 bluetooth chip" | ||
79 | depends on ARCH_H1940 | ||
80 | select RFKILL | ||
81 | help | ||
82 | This is a simple driver that is able to control | ||
83 | the state of built in bluetooth chip on h1940. | ||
84 | |||
85 | config PM_H1940 | ||
86 | bool | ||
87 | help | ||
88 | Internal node for H1940 and related PM | ||
89 | |||
90 | config MACH_N30 | ||
91 | bool "Acer N30 family" | ||
92 | select CPU_S3C2410 | ||
93 | select MACH_N35 | ||
94 | select S3C_DEV_USB_HOST | ||
95 | select S3C_DEV_NAND | ||
96 | help | ||
97 | Say Y here if you want suppt for the Acer N30, Acer N35, | ||
98 | Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs. | ||
99 | |||
100 | config MACH_N35 | ||
101 | bool | ||
102 | help | ||
103 | Internal node in order to enable support for Acer N35 if Acer N30 is | ||
104 | selected. | ||
105 | |||
106 | config ARCH_BAST | ||
107 | bool "Simtec Electronics BAST (EB2410ITX)" | ||
108 | select CPU_S3C2410 | ||
109 | select S3C2410_IOTIMING if S3C2410_CPUFREQ | ||
110 | select PM_SIMTEC if PM | ||
111 | select SIMTEC_NOR | ||
112 | select MACH_BAST_IDE | ||
113 | select S3C24XX_DCLK | ||
114 | select ISA | ||
115 | select S3C_DEV_HWMON | ||
116 | select S3C_DEV_USB_HOST | ||
117 | select S3C_DEV_NAND | ||
118 | help | ||
119 | Say Y here if you are using the Simtec Electronics EB2410ITX | ||
120 | development board (also known as BAST) | ||
121 | |||
122 | config MACH_OTOM | ||
123 | bool "NexVision OTOM Board" | ||
124 | select CPU_S3C2410 | ||
125 | select S3C_DEV_USB_HOST | ||
126 | select S3C_DEV_NAND | ||
127 | help | ||
128 | Say Y here if you are using the Nex Vision OTOM board | ||
129 | |||
130 | config MACH_AML_M5900 | ||
131 | bool "AML M5900 Series" | ||
132 | select CPU_S3C2410 | ||
133 | select PM_SIMTEC if PM | ||
134 | select S3C_DEV_USB_HOST | ||
135 | help | ||
136 | Say Y here if you are using the American Microsystems M5900 Series | ||
137 | <http://www.amltd.com> | ||
138 | |||
139 | config BAST_PC104_IRQ | ||
140 | bool "BAST PC104 IRQ support" | ||
141 | depends on ARCH_BAST | ||
142 | default y | ||
143 | help | ||
144 | Say Y here to enable the PC104 IRQ routing on the | ||
145 | Simtec BAST (EB2410ITX) | ||
146 | |||
147 | config MACH_TCT_HAMMER | ||
148 | bool "TCT Hammer Board" | ||
149 | select CPU_S3C2410 | ||
150 | select S3C_DEV_USB_HOST | ||
151 | help | ||
152 | Say Y here if you are using the TinCanTools Hammer Board | ||
153 | <http://www.tincantools.com> | ||
154 | |||
155 | config MACH_VR1000 | ||
156 | bool "Thorcom VR1000" | ||
157 | select PM_SIMTEC if PM | ||
158 | select S3C24XX_DCLK | ||
159 | select SIMTEC_NOR | ||
160 | select MACH_BAST_IDE | ||
161 | select CPU_S3C2410 | ||
162 | select S3C_DEV_USB_HOST | ||
163 | help | ||
164 | Say Y here if you are using the Thorcom VR1000 board. | ||
165 | |||
166 | config MACH_QT2410 | ||
167 | bool "QT2410" | ||
168 | select CPU_S3C2410 | ||
169 | select S3C_DEV_USB_HOST | ||
170 | select S3C_DEV_NAND | ||
171 | help | ||
172 | Say Y here if you are using the Armzone QT2410 | ||
173 | |||
174 | endmenu | ||
diff --git a/arch/arm/mach-s3c2410/Makefile b/arch/arm/mach-s3c2410/Makefile index 782fd81144e9..6b9a316e0041 100644 --- a/arch/arm/mach-s3c2410/Makefile +++ b/arch/arm/mach-s3c2410/Makefile | |||
@@ -9,32 +9,6 @@ obj-m := | |||
9 | obj-n := | 9 | obj-n := |
10 | obj- := | 10 | obj- := |
11 | 11 | ||
12 | obj-$(CONFIG_CPU_S3C2410) += s3c2410.o | ||
13 | obj-$(CONFIG_CPU_S3C2410_DMA) += dma.o | ||
14 | obj-$(CONFIG_CPU_S3C2410_DMA) += dma.o | ||
15 | obj-$(CONFIG_S3C2410_PM) += pm.o sleep.o | ||
16 | obj-$(CONFIG_S3C2410_CPUFREQ) += cpu-freq.o | 12 | obj-$(CONFIG_S3C2410_CPUFREQ) += cpu-freq.o |
17 | obj-$(CONFIG_S3C2410_PLLTABLE) += pll.o | 13 | obj-$(CONFIG_S3C2410_PLLTABLE) += pll.o |
18 | 14 | ||
19 | # Machine support | ||
20 | |||
21 | obj-$(CONFIG_ARCH_SMDK2410) += mach-smdk2410.o | ||
22 | obj-$(CONFIG_ARCH_H1940) += mach-h1940.o | ||
23 | obj-$(CONFIG_H1940BT) += h1940-bluetooth.o | ||
24 | obj-$(CONFIG_PM_H1940) += pm-h1940.o | ||
25 | obj-$(CONFIG_MACH_N30) += mach-n30.o | ||
26 | obj-$(CONFIG_ARCH_BAST) += mach-bast.o usb-simtec.o | ||
27 | obj-$(CONFIG_MACH_OTOM) += mach-otom.o | ||
28 | obj-$(CONFIG_MACH_AML_M5900) += mach-amlm5900.o | ||
29 | obj-$(CONFIG_BAST_PC104_IRQ) += bast-irq.o | ||
30 | obj-$(CONFIG_MACH_TCT_HAMMER) += mach-tct_hammer.o | ||
31 | obj-$(CONFIG_MACH_VR1000) += mach-vr1000.o usb-simtec.o | ||
32 | obj-$(CONFIG_MACH_QT2410) += mach-qt2410.o | ||
33 | |||
34 | # Common bits of machine support | ||
35 | |||
36 | obj-$(CONFIG_SIMTEC_NOR) += nor-simtec.o | ||
37 | |||
38 | # machine additions | ||
39 | |||
40 | obj-$(CONFIG_MACH_BAST_IDE) += bast-ide.o | ||
diff --git a/arch/arm/mach-s3c2410/include/mach/spi.h b/arch/arm/mach-s3c2410/include/mach/spi.h deleted file mode 100644 index 4d9588373aa5..000000000000 --- a/arch/arm/mach-s3c2410/include/mach/spi.h +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | /* arch/arm/mach-s3c2410/include/mach/spi.h | ||
2 | * | ||
3 | * Copyright (c) 2006 Simtec Electronics | ||
4 | * Ben Dooks <ben@simtec.co.uk> | ||
5 | * | ||
6 | * S3C2410 - SPI Controller platform_device info | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | ||
12 | |||
13 | #ifndef __ASM_ARCH_SPI_H | ||
14 | #define __ASM_ARCH_SPI_H __FILE__ | ||
15 | |||
16 | struct s3c2410_spi_info { | ||
17 | int pin_cs; /* simple gpio cs */ | ||
18 | unsigned int num_cs; /* total chipselects */ | ||
19 | int bus_num; /* bus number to use. */ | ||
20 | |||
21 | unsigned int use_fiq:1; /* use fiq */ | ||
22 | |||
23 | void (*gpio_setup)(struct s3c2410_spi_info *spi, int enable); | ||
24 | void (*set_cs)(struct s3c2410_spi_info *spi, int cs, int pol); | ||
25 | }; | ||
26 | |||
27 | /* Standard setup / suspend routines for SPI GPIO pins. */ | ||
28 | |||
29 | extern void s3c24xx_spi_gpiocfg_bus0_gpe11_12_13(struct s3c2410_spi_info *spi, | ||
30 | int enable); | ||
31 | |||
32 | extern void s3c24xx_spi_gpiocfg_bus1_gpg5_6_7(struct s3c2410_spi_info *spi, | ||
33 | int enable); | ||
34 | |||
35 | extern void s3c24xx_spi_gpiocfg_bus1_gpd8_9_10(struct s3c2410_spi_info *spi, | ||
36 | int enable); | ||
37 | |||
38 | #endif /* __ASM_ARCH_SPI_H */ | ||
diff --git a/arch/arm/mach-s3c2410/usb-simtec.h b/arch/arm/mach-s3c2410/usb-simtec.h deleted file mode 100644 index 03842ede9e71..000000000000 --- a/arch/arm/mach-s3c2410/usb-simtec.h +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | /* linux/arch/arm/mach-s3c2410/usb-simtec.h | ||
2 | * | ||
3 | * Copyright (c) 2004 Simtec Electronics | ||
4 | * Ben Dooks <ben@simtec.co.uk> | ||
5 | * | ||
6 | * http://www.simtec.co.uk/products/EB2410ITX/ | ||
7 | * | ||
8 | * Simtec BAST and Thorcom VR1000 USB port support functions | ||
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify | ||
11 | * it under the terms of the GNU General Public License version 2 as | ||
12 | * published by the Free Software Foundation. | ||
13 | */ | ||
14 | |||
15 | extern int usb_simtec_init(void); | ||
16 | |||
diff --git a/arch/arm/mach-s3c2412/Kconfig b/arch/arm/mach-s3c2412/Kconfig index b8b9029e9f2d..c5256f4e90bb 100644 --- a/arch/arm/mach-s3c2412/Kconfig +++ b/arch/arm/mach-s3c2412/Kconfig | |||
@@ -2,41 +2,6 @@ | |||
2 | # | 2 | # |
3 | # Licensed under GPLv2 | 3 | # Licensed under GPLv2 |
4 | 4 | ||
5 | config CPU_S3C2412 | ||
6 | bool | ||
7 | depends on ARCH_S3C2410 | ||
8 | select CPU_ARM926T | ||
9 | select CPU_LLSERIAL_S3C2440 | ||
10 | select S3C2412_PM if PM | ||
11 | select S3C2412_DMA if S3C2410_DMA | ||
12 | help | ||
13 | Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line | ||
14 | |||
15 | config CPU_S3C2412_ONLY | ||
16 | bool | ||
17 | depends on ARCH_S3C2410 && !CPU_S3C2410 && \ | ||
18 | !CPU_S3C2416 && !CPU_S3C2440 && !CPU_S3C2442 && \ | ||
19 | !CPU_S3C2443 && CPU_S3C2412 | ||
20 | default y if CPU_S3C2412 | ||
21 | |||
22 | config S3C2412_DMA | ||
23 | bool | ||
24 | depends on CPU_S3C2412 | ||
25 | help | ||
26 | Internal config node for S3C2412 DMA support | ||
27 | |||
28 | config S3C2412_PM | ||
29 | bool | ||
30 | select S3C2412_PM_SLEEP | ||
31 | help | ||
32 | Internal config node to apply S3C2412 power management | ||
33 | |||
34 | config S3C2412_PM_SLEEP | ||
35 | bool | ||
36 | help | ||
37 | Internal config node to apply sleep for S3C2412 power management. | ||
38 | Can be selected by another SoCs with similar sleep procedure. | ||
39 | |||
40 | # Note, the S3C2412 IOtiming support is in plat-s3c24xx | 5 | # Note, the S3C2412 IOtiming support is in plat-s3c24xx |
41 | 6 | ||
42 | config S3C2412_CPUFREQ | 7 | config S3C2412_CPUFREQ |
@@ -46,53 +11,3 @@ config S3C2412_CPUFREQ | |||
46 | default y | 11 | default y |
47 | help | 12 | help |
48 | CPU Frequency scaling support for S3C2412 and S3C2413 SoC CPUs. | 13 | CPU Frequency scaling support for S3C2412 and S3C2413 SoC CPUs. |
49 | |||
50 | menu "S3C2412 Machines" | ||
51 | |||
52 | config MACH_JIVE | ||
53 | bool "Logitech Jive" | ||
54 | select CPU_S3C2412 | ||
55 | select S3C_DEV_USB_HOST | ||
56 | select S3C_DEV_NAND | ||
57 | help | ||
58 | Say Y here if you are using the Logitech Jive. | ||
59 | |||
60 | config MACH_JIVE_SHOW_BOOTLOADER | ||
61 | bool "Allow access to bootloader partitions in MTD (EXPERIMENTAL)" | ||
62 | depends on MACH_JIVE && EXPERIMENTAL | ||
63 | |||
64 | config MACH_SMDK2413 | ||
65 | bool "SMDK2413" | ||
66 | select CPU_S3C2412 | ||
67 | select MACH_S3C2413 | ||
68 | select MACH_SMDK | ||
69 | select S3C_DEV_USB_HOST | ||
70 | select S3C_DEV_NAND | ||
71 | help | ||
72 | Say Y here if you are using an SMDK2413 | ||
73 | |||
74 | config MACH_S3C2413 | ||
75 | bool | ||
76 | help | ||
77 | Internal node for S3C2413 version of SMDK2413, so that | ||
78 | machine_is_s3c2413() will work when MACH_SMDK2413 is | ||
79 | selected | ||
80 | |||
81 | config MACH_SMDK2412 | ||
82 | bool "SMDK2412" | ||
83 | select MACH_SMDK2413 | ||
84 | help | ||
85 | Say Y here if you are using an SMDK2412 | ||
86 | |||
87 | Note, this shares support with SMDK2413, so will automatically | ||
88 | select MACH_SMDK2413. | ||
89 | |||
90 | config MACH_VSTMS | ||
91 | bool "VMSTMS" | ||
92 | select CPU_S3C2412 | ||
93 | select S3C_DEV_USB_HOST | ||
94 | select S3C_DEV_NAND | ||
95 | help | ||
96 | Say Y here if you are using an VSTMS board | ||
97 | |||
98 | endmenu | ||
diff --git a/arch/arm/mach-s3c2412/Makefile b/arch/arm/mach-s3c2412/Makefile index 7e4d95fa8a97..41a6c279fb2f 100644 --- a/arch/arm/mach-s3c2412/Makefile +++ b/arch/arm/mach-s3c2412/Makefile | |||
@@ -9,16 +9,4 @@ obj-m := | |||
9 | obj-n := | 9 | obj-n := |
10 | obj- := | 10 | obj- := |
11 | 11 | ||
12 | obj-$(CONFIG_CPU_S3C2412) += s3c2412.o | ||
13 | obj-$(CONFIG_CPU_S3C2412) += irq.o | ||
14 | obj-$(CONFIG_CPU_S3C2412) += clock.o | ||
15 | obj-$(CONFIG_S3C2412_DMA) += dma.o | ||
16 | obj-$(CONFIG_S3C2412_PM) += pm.o | ||
17 | obj-$(CONFIG_S3C2412_PM_SLEEP) += sleep.o | ||
18 | obj-$(CONFIG_S3C2412_CPUFREQ) += cpu-freq.o | 12 | obj-$(CONFIG_S3C2412_CPUFREQ) += cpu-freq.o |
19 | |||
20 | # Machine support | ||
21 | |||
22 | obj-$(CONFIG_MACH_JIVE) += mach-jive.o | ||
23 | obj-$(CONFIG_MACH_SMDK2413) += mach-smdk2413.o | ||
24 | obj-$(CONFIG_MACH_VSTMS) += mach-vstms.o | ||
diff --git a/arch/arm/mach-s3c2416/Kconfig b/arch/arm/mach-s3c2416/Kconfig deleted file mode 100644 index 84c7b03e5a30..000000000000 --- a/arch/arm/mach-s3c2416/Kconfig +++ /dev/null | |||
@@ -1,60 +0,0 @@ | |||
1 | # arch/arm/mach-s3c2416/Kconfig | ||
2 | # | ||
3 | # Copyright 2009 Yauhen Kharuzhy <jekhor@gmail.com> | ||
4 | # | ||
5 | # Licensed under GPLv2 | ||
6 | |||
7 | # note, this also supports the S3C2450 which is so similar it has the same | ||
8 | # ID code as the S3C2416. | ||
9 | |||
10 | config CPU_S3C2416 | ||
11 | bool | ||
12 | depends on ARCH_S3C2410 | ||
13 | select CPU_ARM926T | ||
14 | select S3C2416_DMA if S3C2410_DMA | ||
15 | select CPU_LLSERIAL_S3C2440 | ||
16 | select SAMSUNG_CLKSRC | ||
17 | select S3C2443_CLOCK | ||
18 | help | ||
19 | Support for the S3C2416 SoC from the S3C24XX line | ||
20 | |||
21 | config S3C2416_DMA | ||
22 | bool | ||
23 | depends on CPU_S3C2416 | ||
24 | help | ||
25 | Internal config node for S3C2416 DMA support | ||
26 | |||
27 | config S3C2416_PM | ||
28 | bool | ||
29 | select S3C2412_PM_SLEEP | ||
30 | help | ||
31 | Internal config node to apply S3C2416 power management | ||
32 | |||
33 | config S3C2416_SETUP_SDHCI | ||
34 | bool | ||
35 | select S3C2416_SETUP_SDHCI_GPIO | ||
36 | help | ||
37 | Internal helper functions for S3C2416 based SDHCI systems | ||
38 | |||
39 | config S3C2416_SETUP_SDHCI_GPIO | ||
40 | bool | ||
41 | help | ||
42 | Common setup code for SDHCI gpio. | ||
43 | |||
44 | menu "S3C2416 Machines" | ||
45 | |||
46 | config MACH_SMDK2416 | ||
47 | bool "SMDK2416" | ||
48 | select CPU_S3C2416 | ||
49 | select MACH_SMDK | ||
50 | select S3C_DEV_FB | ||
51 | select S3C_DEV_HSMMC | ||
52 | select S3C_DEV_HSMMC1 | ||
53 | select S3C_DEV_NAND | ||
54 | select S3C_DEV_USB_HOST | ||
55 | select S3C2416_SETUP_SDHCI | ||
56 | select S3C2416_PM if PM | ||
57 | help | ||
58 | Say Y here if you are using an SMDK2416 | ||
59 | |||
60 | endmenu | ||
diff --git a/arch/arm/mach-s3c2416/Makefile b/arch/arm/mach-s3c2416/Makefile deleted file mode 100644 index ca0cd227f873..000000000000 --- a/arch/arm/mach-s3c2416/Makefile +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | # arch/arm/mach-s3c2416/Makefile | ||
2 | # | ||
3 | # Copyright 2009 Yauhen Kharuzhy <jekhor@gmail.com> | ||
4 | # | ||
5 | # Licensed under GPLv2 | ||
6 | |||
7 | obj-y := | ||
8 | obj-m := | ||
9 | obj-n := | ||
10 | obj- := | ||
11 | |||
12 | obj-$(CONFIG_CPU_S3C2416) += s3c2416.o clock.o | ||
13 | obj-$(CONFIG_CPU_S3C2416) += irq.o | ||
14 | obj-$(CONFIG_S3C2416_PM) += pm.o | ||
15 | #obj-$(CONFIG_S3C2416_DMA) += dma.o | ||
16 | |||
17 | # Device setup | ||
18 | obj-$(CONFIG_S3C2416_SETUP_SDHCI_GPIO) += setup-sdhci-gpio.o | ||
19 | |||
20 | # Machine support | ||
21 | |||
22 | obj-$(CONFIG_MACH_SMDK2416) += mach-smdk2416.o | ||
diff --git a/arch/arm/mach-s3c2440/Kconfig b/arch/arm/mach-s3c2440/Kconfig index 914e620f1257..ece7a10fe3c6 100644 --- a/arch/arm/mach-s3c2440/Kconfig +++ b/arch/arm/mach-s3c2440/Kconfig | |||
@@ -2,35 +2,6 @@ | |||
2 | # | 2 | # |
3 | # Licensed under GPLv2 | 3 | # Licensed under GPLv2 |
4 | 4 | ||
5 | config CPU_S3C2440 | ||
6 | bool | ||
7 | select CPU_ARM920T | ||
8 | select S3C2410_CLOCK | ||
9 | select S3C2410_PM if PM | ||
10 | select S3C2440_DMA if S3C2410_DMA | ||
11 | select CPU_S3C244X | ||
12 | select CPU_LLSERIAL_S3C2440 | ||
13 | help | ||
14 | Support for S3C2440 Samsung Mobile CPU based systems. | ||
15 | |||
16 | config CPU_S3C2442 | ||
17 | bool | ||
18 | select CPU_ARM920T | ||
19 | select S3C2410_CLOCK | ||
20 | select S3C2410_PM if PM | ||
21 | select CPU_S3C244X | ||
22 | select CPU_LLSERIAL_S3C2440 | ||
23 | help | ||
24 | Support for S3C2442 Samsung Mobile CPU based systems. | ||
25 | |||
26 | config CPU_S3C244X | ||
27 | bool | ||
28 | depends on CPU_S3C2440 || CPU_S3C2442 | ||
29 | help | ||
30 | Support for S3C2440 and S3C2442 Samsung Mobile CPU based systems. | ||
31 | |||
32 | |||
33 | |||
34 | config S3C2440_CPUFREQ | 5 | config S3C2440_CPUFREQ |
35 | bool "S3C2440/S3C2442 CPU Frequency scaling support" | 6 | bool "S3C2440/S3C2442 CPU Frequency scaling support" |
36 | depends on CPU_FREQ_S3C24XX && (CPU_S3C2440 || CPU_S3C2442) | 7 | depends on CPU_FREQ_S3C24XX && (CPU_S3C2440 || CPU_S3C2442) |
@@ -64,139 +35,3 @@ config S3C2440_PLL_16934400 | |||
64 | default y if CPU_FREQ_S3C24XX_PLL | 35 | default y if CPU_FREQ_S3C24XX_PLL |
65 | help | 36 | help |
66 | PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals. | 37 | PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals. |
67 | |||
68 | config S3C2440_DMA | ||
69 | bool | ||
70 | depends on CPU_S3C2440 | ||
71 | help | ||
72 | Support for S3C2440 specific DMA code5A | ||
73 | |||
74 | menu "S3C2440 and S3C2442 Machines" | ||
75 | |||
76 | config MACH_ANUBIS | ||
77 | bool "Simtec Electronics ANUBIS" | ||
78 | select CPU_S3C2440 | ||
79 | select S3C24XX_DCLK | ||
80 | select PM_SIMTEC if PM | ||
81 | select HAVE_PATA_PLATFORM | ||
82 | select S3C24XX_GPIO_EXTRA64 | ||
83 | select S3C2440_XTAL_12000000 | ||
84 | select S3C_DEV_USB_HOST | ||
85 | help | ||
86 | Say Y here if you are using the Simtec Electronics ANUBIS | ||
87 | development system | ||
88 | |||
89 | config MACH_NEO1973_GTA02 | ||
90 | bool "Openmoko GTA02 / Freerunner phone" | ||
91 | select CPU_S3C2442 | ||
92 | select MFD_PCF50633 | ||
93 | select PCF50633_GPIO | ||
94 | select I2C | ||
95 | select POWER_SUPPLY | ||
96 | select MACH_NEO1973 | ||
97 | select S3C2410_PWM | ||
98 | select S3C_DEV_USB_HOST | ||
99 | help | ||
100 | Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone | ||
101 | |||
102 | config MACH_OSIRIS | ||
103 | bool "Simtec IM2440D20 (OSIRIS) module" | ||
104 | select CPU_S3C2440 | ||
105 | select S3C24XX_DCLK | ||
106 | select PM_SIMTEC if PM | ||
107 | select S3C24XX_GPIO_EXTRA128 | ||
108 | select S3C2440_XTAL_12000000 | ||
109 | select S3C2410_IOTIMING if S3C2440_CPUFREQ | ||
110 | select S3C_DEV_USB_HOST | ||
111 | select S3C_DEV_NAND | ||
112 | help | ||
113 | Say Y here if you are using the Simtec IM2440D20 module, also | ||
114 | known as the Osiris. | ||
115 | |||
116 | config MACH_OSIRIS_DVS | ||
117 | tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver" | ||
118 | depends on MACH_OSIRIS | ||
119 | select TPS65010 | ||
120 | help | ||
121 | Say Y/M here if you want to have dynamic voltage scaling support | ||
122 | on the Simtec IM2440D20 (OSIRIS) module via the TPS65011. | ||
123 | |||
124 | The DVS driver alters the voltage supplied to the ARM core | ||
125 | depending on the frequency it is running at. The driver itself | ||
126 | does not do any of the frequency alteration, which is left up | ||
127 | to the cpufreq driver. | ||
128 | |||
129 | config MACH_RX3715 | ||
130 | bool "HP iPAQ rx3715" | ||
131 | select CPU_S3C2440 | ||
132 | select S3C2440_XTAL_16934400 | ||
133 | select PM_H1940 if PM | ||
134 | select S3C_DEV_NAND | ||
135 | help | ||
136 | Say Y here if you are using the HP iPAQ rx3715. | ||
137 | |||
138 | config ARCH_S3C2440 | ||
139 | bool "SMDK2440" | ||
140 | select CPU_S3C2440 | ||
141 | select S3C2440_XTAL_16934400 | ||
142 | select MACH_SMDK | ||
143 | select S3C_DEV_USB_HOST | ||
144 | select S3C_DEV_NAND | ||
145 | help | ||
146 | Say Y here if you are using the SMDK2440. | ||
147 | |||
148 | config MACH_NEXCODER_2440 | ||
149 | bool "NexVision NEXCODER 2440 Light Board" | ||
150 | select CPU_S3C2440 | ||
151 | select S3C2440_XTAL_12000000 | ||
152 | select S3C_DEV_USB_HOST | ||
153 | select S3C_DEV_NAND | ||
154 | help | ||
155 | Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board | ||
156 | |||
157 | config SMDK2440_CPU2440 | ||
158 | bool "SMDK2440 with S3C2440 CPU module" | ||
159 | default y if ARCH_S3C2440 | ||
160 | select S3C2440_XTAL_16934400 | ||
161 | select CPU_S3C2440 | ||
162 | |||
163 | config SMDK2440_CPU2442 | ||
164 | bool "SMDM2440 with S3C2442 CPU module" | ||
165 | select CPU_S3C2442 | ||
166 | |||
167 | config MACH_AT2440EVB | ||
168 | bool "Avantech AT2440EVB development board" | ||
169 | select CPU_S3C2440 | ||
170 | select S3C_DEV_USB_HOST | ||
171 | select S3C_DEV_NAND | ||
172 | help | ||
173 | Say Y here if you are using the AT2440EVB development board | ||
174 | |||
175 | config MACH_MINI2440 | ||
176 | bool "MINI2440 development board" | ||
177 | select CPU_S3C2440 | ||
178 | select EEPROM_AT24 | ||
179 | select NEW_LEDS | ||
180 | select LEDS_CLASS | ||
181 | select LEDS_TRIGGER | ||
182 | select LEDS_TRIGGER_BACKLIGHT | ||
183 | select S3C_DEV_NAND | ||
184 | select S3C_DEV_USB_HOST | ||
185 | help | ||
186 | Say Y here to select support for the MINI2440. Is a 10cm x 10cm board | ||
187 | available via various sources. It can come with a 3.5" or 7" touch LCD. | ||
188 | |||
189 | config MACH_RX1950 | ||
190 | bool "HP iPAQ rx1950" | ||
191 | select CPU_S3C2442 | ||
192 | select S3C24XX_DCLK | ||
193 | select PM_H1940 if PM | ||
194 | select I2C | ||
195 | select S3C2410_PWM | ||
196 | select S3C_DEV_NAND | ||
197 | select S3C2410_IOTIMING if S3C2440_CPUFREQ | ||
198 | select S3C2440_XTAL_16934400 | ||
199 | help | ||
200 | Say Y here if you're using HP iPAQ rx1950 | ||
201 | |||
202 | endmenu | ||
diff --git a/arch/arm/mach-s3c2440/Makefile b/arch/arm/mach-s3c2440/Makefile index d5440fa34b04..c46092439814 100644 --- a/arch/arm/mach-s3c2440/Makefile +++ b/arch/arm/mach-s3c2440/Makefile | |||
@@ -9,33 +9,9 @@ obj-m := | |||
9 | obj-n := | 9 | obj-n := |
10 | obj- := | 10 | obj- := |
11 | 11 | ||
12 | obj-$(CONFIG_CPU_S3C2440) += s3c2440.o dsc.o | 12 | obj-$(CONFIG_CPU_S3C2440) += dsc.o |
13 | obj-$(CONFIG_CPU_S3C2442) += s3c2442.o | ||
14 | 13 | ||
15 | obj-$(CONFIG_CPU_S3C2440) += irq.o | ||
16 | obj-$(CONFIG_CPU_S3C2440) += clock.o | ||
17 | obj-$(CONFIG_S3C2440_DMA) += dma.o | ||
18 | |||
19 | obj-$(CONFIG_CPU_S3C244X) += s3c244x.o | ||
20 | obj-$(CONFIG_CPU_S3C244X) += s3c244x-irq.o | ||
21 | obj-$(CONFIG_CPU_S3C244X) += s3c244x-clock.o | ||
22 | obj-$(CONFIG_S3C2440_CPUFREQ) += s3c2440-cpufreq.o | 14 | obj-$(CONFIG_S3C2440_CPUFREQ) += s3c2440-cpufreq.o |
23 | 15 | ||
24 | obj-$(CONFIG_S3C2440_PLL_12000000) += s3c2440-pll-12000000.o | 16 | obj-$(CONFIG_S3C2440_PLL_12000000) += s3c2440-pll-12000000.o |
25 | obj-$(CONFIG_S3C2440_PLL_16934400) += s3c2440-pll-16934400.o | 17 | obj-$(CONFIG_S3C2440_PLL_16934400) += s3c2440-pll-16934400.o |
26 | |||
27 | # Machine support | ||
28 | |||
29 | obj-$(CONFIG_MACH_ANUBIS) += mach-anubis.o | ||
30 | obj-$(CONFIG_MACH_OSIRIS) += mach-osiris.o | ||
31 | obj-$(CONFIG_MACH_RX3715) += mach-rx3715.o | ||
32 | obj-$(CONFIG_ARCH_S3C2440) += mach-smdk2440.o | ||
33 | obj-$(CONFIG_MACH_NEXCODER_2440) += mach-nexcoder.o | ||
34 | obj-$(CONFIG_MACH_AT2440EVB) += mach-at2440evb.o | ||
35 | obj-$(CONFIG_MACH_MINI2440) += mach-mini2440.o | ||
36 | obj-$(CONFIG_MACH_NEO1973_GTA02) += mach-gta02.o | ||
37 | obj-$(CONFIG_MACH_RX1950) += mach-rx1950.o | ||
38 | |||
39 | # extra machine support | ||
40 | |||
41 | obj-$(CONFIG_MACH_OSIRIS_DVS) += mach-osiris-dvs.o | ||
diff --git a/arch/arm/mach-s3c2440/common.h b/arch/arm/mach-s3c2440/common.h deleted file mode 100644 index db8a98ac68c5..000000000000 --- a/arch/arm/mach-s3c2440/common.h +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2011 Samsung Electronics Co., Ltd. | ||
3 | * http://www.samsung.com | ||
4 | * | ||
5 | * Common Header for S3C2440 machines | ||
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | */ | ||
11 | |||
12 | #ifndef __ARCH_ARM_MACH_S3C2440_COMMON_H | ||
13 | #define __ARCH_ARM_MACH_S3C2440_COMMON_H | ||
14 | |||
15 | void s3c2440_restart(char mode, const char *cmd); | ||
16 | |||
17 | #endif /* __ARCH_ARM_MACH_S3C2440_COMMON_H */ | ||
diff --git a/arch/arm/mach-s3c2443/Kconfig b/arch/arm/mach-s3c2443/Kconfig deleted file mode 100644 index 8814031516ce..000000000000 --- a/arch/arm/mach-s3c2443/Kconfig +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | # Copyright 2007 Simtec Electronics | ||
2 | # | ||
3 | # Licensed under GPLv2 | ||
4 | |||
5 | config CPU_S3C2443 | ||
6 | bool | ||
7 | depends on ARCH_S3C2410 | ||
8 | select CPU_ARM920T | ||
9 | select S3C2443_DMA if S3C2410_DMA | ||
10 | select CPU_LLSERIAL_S3C2440 | ||
11 | select SAMSUNG_CLKSRC | ||
12 | select S3C2443_CLOCK | ||
13 | help | ||
14 | Support for the S3C2443 SoC from the S3C24XX line | ||
15 | |||
16 | config S3C2443_DMA | ||
17 | bool | ||
18 | depends on CPU_S3C2443 | ||
19 | help | ||
20 | Internal config node for S3C2443 DMA support | ||
21 | |||
22 | menu "S3C2443 Machines" | ||
23 | |||
24 | config MACH_SMDK2443 | ||
25 | bool "SMDK2443" | ||
26 | select CPU_S3C2443 | ||
27 | select MACH_SMDK | ||
28 | select S3C_DEV_HSMMC1 | ||
29 | help | ||
30 | Say Y here if you are using an SMDK2443 | ||
31 | |||
32 | endmenu | ||
diff --git a/arch/arm/mach-s3c2443/Makefile b/arch/arm/mach-s3c2443/Makefile deleted file mode 100644 index d1843c9eb8bd..000000000000 --- a/arch/arm/mach-s3c2443/Makefile +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | # arch/arm/mach-s3c2443/Makefile | ||
2 | # | ||
3 | # Copyright 2007 Simtec Electronics | ||
4 | # | ||
5 | # Licensed under GPLv2 | ||
6 | |||
7 | obj-y := | ||
8 | obj-m := | ||
9 | obj-n := | ||
10 | obj- := | ||
11 | |||
12 | obj-$(CONFIG_CPU_S3C2443) += s3c2443.o | ||
13 | obj-$(CONFIG_CPU_S3C2443) += irq.o | ||
14 | obj-$(CONFIG_CPU_S3C2443) += clock.o | ||
15 | |||
16 | obj-$(CONFIG_S3C2443_DMA) += dma.o | ||
17 | |||
18 | # Machine support | ||
19 | |||
20 | obj-$(CONFIG_MACH_SMDK2443) += mach-smdk2443.o | ||
diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig new file mode 100644 index 000000000000..0f3a327ebcaa --- /dev/null +++ b/arch/arm/mach-s3c24xx/Kconfig | |||
@@ -0,0 +1,538 @@ | |||
1 | # arch/arm/mach-s3c24xx/Kconfig | ||
2 | # | ||
3 | # Copyright (c) 2012 Samsung Electronics Co., Ltd. | ||
4 | # http://www.samsung.com/ | ||
5 | # | ||
6 | # Copyright 2007 Simtec Electronics | ||
7 | # | ||
8 | # Licensed under GPLv2 | ||
9 | |||
10 | if ARCH_S3C24XX | ||
11 | |||
12 | menu "SAMSUNG S3C24XX SoCs Support" | ||
13 | |||
14 | comment "S3C24XX SoCs" | ||
15 | |||
16 | config CPU_S3C2410 | ||
17 | bool "SAMSUNG S3C2410" | ||
18 | default y | ||
19 | select CPU_ARM920T | ||
20 | select S3C2410_CLOCK | ||
21 | select CPU_LLSERIAL_S3C2410 | ||
22 | select S3C2410_PM if PM | ||
23 | select S3C2410_CPUFREQ if CPU_FREQ_S3C24XX | ||
24 | help | ||
25 | Support for S3C2410 and S3C2410A family from the S3C24XX line | ||
26 | of Samsung Mobile CPUs. | ||
27 | |||
28 | config CPU_S3C2412 | ||
29 | bool "SAMSUNG S3C2412" | ||
30 | depends on ARCH_S3C24XX | ||
31 | select CPU_ARM926T | ||
32 | select CPU_LLSERIAL_S3C2440 | ||
33 | select S3C2412_PM if PM | ||
34 | select S3C2412_DMA if S3C24XX_DMA | ||
35 | help | ||
36 | Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line | ||
37 | |||
38 | config CPU_S3C2416 | ||
39 | bool "SAMSUNG S3C2416/S3C2450" | ||
40 | depends on ARCH_S3C24XX | ||
41 | select CPU_ARM926T | ||
42 | select CPU_LLSERIAL_S3C2440 | ||
43 | select SAMSUNG_CLKSRC | ||
44 | select S3C2443_COMMON | ||
45 | select S3C2443_DMA if S3C24XX_DMA | ||
46 | select S3C2416_PM if PM | ||
47 | help | ||
48 | Support for the S3C2416 SoC from the S3C24XX line | ||
49 | |||
50 | config CPU_S3C2440 | ||
51 | bool "SAMSUNG S3C2440" | ||
52 | select CPU_ARM920T | ||
53 | select CPU_LLSERIAL_S3C2440 | ||
54 | select S3C2410_CLOCK | ||
55 | select S3C2410_PM if PM | ||
56 | select S3C2440_DMA if S3C24XX_DMA | ||
57 | help | ||
58 | Support for S3C2440 Samsung Mobile CPU based systems. | ||
59 | |||
60 | config CPU_S3C2442 | ||
61 | bool "SAMSUNG S3C2442" | ||
62 | select CPU_ARM920T | ||
63 | select CPU_LLSERIAL_S3C2440 | ||
64 | select S3C2410_CLOCK | ||
65 | select S3C2410_PM if PM | ||
66 | help | ||
67 | Support for S3C2442 Samsung Mobile CPU based systems. | ||
68 | |||
69 | config CPU_S3C244X | ||
70 | def_bool y | ||
71 | depends on CPU_S3C2440 || CPU_S3C2442 | ||
72 | |||
73 | config CPU_S3C2443 | ||
74 | bool "SAMSUNG S3C2443" | ||
75 | depends on ARCH_S3C24XX | ||
76 | select CPU_ARM920T | ||
77 | select CPU_LLSERIAL_S3C2440 | ||
78 | select SAMSUNG_CLKSRC | ||
79 | select S3C2443_COMMON | ||
80 | select S3C2443_DMA if S3C24XX_DMA | ||
81 | help | ||
82 | Support for the S3C2443 SoC from the S3C24XX line | ||
83 | |||
84 | # common code | ||
85 | |||
86 | config S3C24XX_SMDK | ||
87 | bool | ||
88 | help | ||
89 | Common machine code for SMDK2410 and SMDK2440 | ||
90 | |||
91 | config S3C24XX_SIMTEC_AUDIO | ||
92 | bool | ||
93 | depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS) | ||
94 | default y | ||
95 | help | ||
96 | Add audio devices for common Simtec S3C24XX boards | ||
97 | |||
98 | config S3C24XX_SIMTEC_PM | ||
99 | bool | ||
100 | help | ||
101 | Common power management code for systems that are | ||
102 | compatible with the Simtec style of power management | ||
103 | |||
104 | config S3C24XX_SIMTEC_USB | ||
105 | bool | ||
106 | help | ||
107 | USB management code for common Simtec S3C24XX boards | ||
108 | |||
109 | config S3C24XX_SETUP_TS | ||
110 | bool | ||
111 | help | ||
112 | Compile in platform device definition for Samsung TouchScreen. | ||
113 | |||
114 | # cpu-specific sections | ||
115 | |||
116 | if CPU_S3C2410 | ||
117 | |||
118 | config S3C2410_DMA | ||
119 | bool | ||
120 | depends on S3C24XX_DMA && (CPU_S3C2410 || CPU_S3C2442) | ||
121 | default y if CPU_S3C2410 || CPU_S3C2442 | ||
122 | help | ||
123 | DMA device selection for S3C2410 and compatible CPUs | ||
124 | |||
125 | config S3C2410_PM | ||
126 | bool | ||
127 | help | ||
128 | Power Management code common to S3C2410 and better | ||
129 | |||
130 | config S3C24XX_SIMTEC_NOR | ||
131 | bool | ||
132 | help | ||
133 | Internal node to specify machine has simtec NOR mapping | ||
134 | |||
135 | config MACH_BAST_IDE | ||
136 | bool | ||
137 | select HAVE_PATA_PLATFORM | ||
138 | help | ||
139 | Internal node for machines with an BAST style IDE | ||
140 | interface | ||
141 | |||
142 | comment "S3C2410 Boards" | ||
143 | |||
144 | # | ||
145 | # The "S3C2410 Boards" list is ordered alphabetically by option text. | ||
146 | # (without ARCH_ or MACH_) | ||
147 | # | ||
148 | |||
149 | config MACH_AML_M5900 | ||
150 | bool "AML M5900 Series" | ||
151 | select S3C24XX_SIMTEC_PM if PM | ||
152 | select S3C_DEV_USB_HOST | ||
153 | help | ||
154 | Say Y here if you are using the American Microsystems M5900 Series | ||
155 | <http://www.amltd.com> | ||
156 | |||
157 | config ARCH_BAST | ||
158 | bool "Simtec Electronics BAST (EB2410ITX)" | ||
159 | select S3C2410_IOTIMING if S3C2410_CPUFREQ | ||
160 | select S3C24XX_SIMTEC_PM if PM | ||
161 | select S3C24XX_SIMTEC_NOR | ||
162 | select S3C24XX_SIMTEC_USB | ||
163 | select MACH_BAST_IDE | ||
164 | select S3C24XX_DCLK | ||
165 | select ISA | ||
166 | select S3C_DEV_HWMON | ||
167 | select S3C_DEV_USB_HOST | ||
168 | select S3C_DEV_NAND | ||
169 | help | ||
170 | Say Y here if you are using the Simtec Electronics EB2410ITX | ||
171 | development board (also known as BAST) | ||
172 | |||
173 | config BAST_PC104_IRQ | ||
174 | bool "BAST PC104 IRQ support" | ||
175 | depends on ARCH_BAST | ||
176 | default y | ||
177 | help | ||
178 | Say Y here to enable the PC104 IRQ routing on the | ||
179 | Simtec BAST (EB2410ITX) | ||
180 | |||
181 | config ARCH_H1940 | ||
182 | bool "IPAQ H1940" | ||
183 | select PM_H1940 if PM | ||
184 | select S3C_DEV_USB_HOST | ||
185 | select S3C_DEV_NAND | ||
186 | select S3C24XX_SETUP_TS | ||
187 | help | ||
188 | Say Y here if you are using the HP IPAQ H1940 | ||
189 | |||
190 | config H1940BT | ||
191 | tristate "Control the state of H1940 bluetooth chip" | ||
192 | depends on ARCH_H1940 | ||
193 | select RFKILL | ||
194 | help | ||
195 | This is a simple driver that is able to control | ||
196 | the state of built in bluetooth chip on h1940. | ||
197 | |||
198 | config PM_H1940 | ||
199 | bool | ||
200 | help | ||
201 | Internal node for H1940 and related PM | ||
202 | |||
203 | config MACH_N30 | ||
204 | bool "Acer N30 family" | ||
205 | select MACH_N35 | ||
206 | select S3C_DEV_USB_HOST | ||
207 | select S3C_DEV_NAND | ||
208 | help | ||
209 | Say Y here if you want suppt for the Acer N30, Acer N35, | ||
210 | Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs. | ||
211 | |||
212 | config MACH_OTOM | ||
213 | bool "NexVision OTOM Board" | ||
214 | select S3C_DEV_USB_HOST | ||
215 | select S3C_DEV_NAND | ||
216 | help | ||
217 | Say Y here if you are using the Nex Vision OTOM board | ||
218 | |||
219 | config MACH_QT2410 | ||
220 | bool "QT2410" | ||
221 | select S3C_DEV_USB_HOST | ||
222 | select S3C_DEV_NAND | ||
223 | help | ||
224 | Say Y here if you are using the Armzone QT2410 | ||
225 | |||
226 | config ARCH_SMDK2410 | ||
227 | bool "SMDK2410/A9M2410" | ||
228 | select S3C24XX_SMDK | ||
229 | help | ||
230 | Say Y here if you are using the SMDK2410 or the derived module A9M2410 | ||
231 | <http://www.fsforth.de> | ||
232 | |||
233 | config MACH_TCT_HAMMER | ||
234 | bool "TCT Hammer Board" | ||
235 | select S3C_DEV_USB_HOST | ||
236 | help | ||
237 | Say Y here if you are using the TinCanTools Hammer Board | ||
238 | <http://www.tincantools.com> | ||
239 | |||
240 | config MACH_VR1000 | ||
241 | bool "Thorcom VR1000" | ||
242 | select S3C24XX_SIMTEC_PM if PM | ||
243 | select S3C24XX_DCLK | ||
244 | select S3C24XX_SIMTEC_NOR | ||
245 | select MACH_BAST_IDE | ||
246 | select S3C_DEV_USB_HOST | ||
247 | select S3C24XX_SIMTEC_USB | ||
248 | help | ||
249 | Say Y here if you are using the Thorcom VR1000 board. | ||
250 | |||
251 | endif # CPU_S3C2410 | ||
252 | |||
253 | config S3C2412_PM_SLEEP | ||
254 | bool | ||
255 | help | ||
256 | Internal config node to apply sleep for S3C2412 power management. | ||
257 | Can be selected by another SoCs such as S3C2416 with similar | ||
258 | sleep procedure. | ||
259 | |||
260 | if CPU_S3C2412 | ||
261 | |||
262 | config CPU_S3C2412_ONLY | ||
263 | bool | ||
264 | depends on ARCH_S3C24XX && !CPU_S3C2410 && \ | ||
265 | !CPU_S3C2416 && !CPU_S3C2440 && !CPU_S3C2442 && \ | ||
266 | !CPU_S3C2443 && CPU_S3C2412 | ||
267 | default y | ||
268 | |||
269 | config S3C2412_DMA | ||
270 | bool | ||
271 | help | ||
272 | Internal config node for S3C2412 DMA support | ||
273 | |||
274 | config S3C2412_PM | ||
275 | bool | ||
276 | help | ||
277 | Internal config node to apply S3C2412 power management | ||
278 | |||
279 | comment "S3C2412 Boards" | ||
280 | |||
281 | # | ||
282 | # The "S3C2412 Boards" list is ordered alphabetically by option text. | ||
283 | # (without ARCH_ or MACH_) | ||
284 | # | ||
285 | |||
286 | config MACH_JIVE | ||
287 | bool "Logitech Jive" | ||
288 | select S3C_DEV_USB_HOST | ||
289 | select S3C_DEV_NAND | ||
290 | help | ||
291 | Say Y here if you are using the Logitech Jive. | ||
292 | |||
293 | config MACH_JIVE_SHOW_BOOTLOADER | ||
294 | bool "Allow access to bootloader partitions in MTD (EXPERIMENTAL)" | ||
295 | depends on MACH_JIVE && EXPERIMENTAL | ||
296 | |||
297 | config MACH_S3C2413 | ||
298 | bool | ||
299 | help | ||
300 | Internal node for S3C2413 version of SMDK2413, so that | ||
301 | machine_is_s3c2413() will work when MACH_SMDK2413 is | ||
302 | selected | ||
303 | |||
304 | config MACH_SMDK2412 | ||
305 | bool "SMDK2412" | ||
306 | select MACH_SMDK2413 | ||
307 | help | ||
308 | Say Y here if you are using an SMDK2412 | ||
309 | |||
310 | Note, this shares support with SMDK2413, so will automatically | ||
311 | select MACH_SMDK2413. | ||
312 | |||
313 | config MACH_SMDK2413 | ||
314 | bool "SMDK2413" | ||
315 | select MACH_S3C2413 | ||
316 | select S3C24XX_SMDK | ||
317 | select S3C_DEV_USB_HOST | ||
318 | select S3C_DEV_NAND | ||
319 | help | ||
320 | Say Y here if you are using an SMDK2413 | ||
321 | |||
322 | config MACH_VSTMS | ||
323 | bool "VMSTMS" | ||
324 | select S3C_DEV_USB_HOST | ||
325 | select S3C_DEV_NAND | ||
326 | help | ||
327 | Say Y here if you are using an VSTMS board | ||
328 | |||
329 | endif # CPU_S3C2412 | ||
330 | |||
331 | if CPU_S3C2416 | ||
332 | |||
333 | config S3C2416_PM | ||
334 | bool | ||
335 | select S3C2412_PM_SLEEP | ||
336 | help | ||
337 | Internal config node to apply S3C2416 power management | ||
338 | |||
339 | config S3C2416_SETUP_SDHCI | ||
340 | bool | ||
341 | select S3C2416_SETUP_SDHCI_GPIO | ||
342 | help | ||
343 | Internal helper functions for S3C2416 based SDHCI systems | ||
344 | |||
345 | config S3C2416_SETUP_SDHCI_GPIO | ||
346 | bool | ||
347 | help | ||
348 | Common setup code for SDHCI gpio. | ||
349 | |||
350 | comment "S3C2416 Boards" | ||
351 | |||
352 | config MACH_SMDK2416 | ||
353 | bool "SMDK2416" | ||
354 | select S3C24XX_SMDK | ||
355 | select S3C_DEV_FB | ||
356 | select S3C_DEV_HSMMC | ||
357 | select S3C_DEV_HSMMC1 | ||
358 | select S3C_DEV_NAND | ||
359 | select S3C_DEV_USB_HOST | ||
360 | select S3C2416_SETUP_SDHCI | ||
361 | help | ||
362 | Say Y here if you are using an SMDK2416 | ||
363 | |||
364 | endif # CPU_S3C2416 | ||
365 | |||
366 | if CPU_S3C2440 | ||
367 | |||
368 | config S3C2440_DMA | ||
369 | bool | ||
370 | help | ||
371 | Support for S3C2440 specific DMA code5A | ||
372 | |||
373 | comment "S3C2440 Boards" | ||
374 | |||
375 | # | ||
376 | # The "S3C2440 Boards" list is ordered alphabetically by option text. | ||
377 | # (without ARCH_ or MACH_) | ||
378 | # | ||
379 | |||
380 | config MACH_ANUBIS | ||
381 | bool "Simtec Electronics ANUBIS" | ||
382 | select S3C24XX_DCLK | ||
383 | select S3C24XX_SIMTEC_PM if PM | ||
384 | select HAVE_PATA_PLATFORM | ||
385 | select S3C24XX_GPIO_EXTRA64 | ||
386 | select S3C2440_XTAL_12000000 | ||
387 | select S3C_DEV_USB_HOST | ||
388 | help | ||
389 | Say Y here if you are using the Simtec Electronics ANUBIS | ||
390 | development system | ||
391 | |||
392 | config MACH_AT2440EVB | ||
393 | bool "Avantech AT2440EVB development board" | ||
394 | select S3C_DEV_USB_HOST | ||
395 | select S3C_DEV_NAND | ||
396 | help | ||
397 | Say Y here if you are using the AT2440EVB development board | ||
398 | |||
399 | config MACH_MINI2440 | ||
400 | bool "MINI2440 development board" | ||
401 | select EEPROM_AT24 | ||
402 | select NEW_LEDS | ||
403 | select LEDS_CLASS | ||
404 | select LEDS_TRIGGER | ||
405 | select LEDS_TRIGGER_BACKLIGHT | ||
406 | select S3C_DEV_NAND | ||
407 | select S3C_DEV_USB_HOST | ||
408 | help | ||
409 | Say Y here to select support for the MINI2440. Is a 10cm x 10cm board | ||
410 | available via various sources. It can come with a 3.5" or 7" touch LCD. | ||
411 | |||
412 | config MACH_NEXCODER_2440 | ||
413 | bool "NexVision NEXCODER 2440 Light Board" | ||
414 | select S3C2440_XTAL_12000000 | ||
415 | select S3C_DEV_USB_HOST | ||
416 | select S3C_DEV_NAND | ||
417 | help | ||
418 | Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board | ||
419 | |||
420 | config MACH_OSIRIS | ||
421 | bool "Simtec IM2440D20 (OSIRIS) module" | ||
422 | select S3C24XX_DCLK | ||
423 | select S3C24XX_SIMTEC_PM if PM | ||
424 | select S3C24XX_GPIO_EXTRA128 | ||
425 | select S3C2440_XTAL_12000000 | ||
426 | select S3C2410_IOTIMING if S3C2440_CPUFREQ | ||
427 | select S3C_DEV_USB_HOST | ||
428 | select S3C_DEV_NAND | ||
429 | help | ||
430 | Say Y here if you are using the Simtec IM2440D20 module, also | ||
431 | known as the Osiris. | ||
432 | |||
433 | config MACH_OSIRIS_DVS | ||
434 | tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver" | ||
435 | depends on MACH_OSIRIS | ||
436 | select TPS65010 | ||
437 | help | ||
438 | Say Y/M here if you want to have dynamic voltage scaling support | ||
439 | on the Simtec IM2440D20 (OSIRIS) module via the TPS65011. | ||
440 | |||
441 | The DVS driver alters the voltage supplied to the ARM core | ||
442 | depending on the frequency it is running at. The driver itself | ||
443 | does not do any of the frequency alteration, which is left up | ||
444 | to the cpufreq driver. | ||
445 | |||
446 | config MACH_RX3715 | ||
447 | bool "HP iPAQ rx3715" | ||
448 | select S3C2440_XTAL_16934400 | ||
449 | select PM_H1940 if PM | ||
450 | select S3C_DEV_NAND | ||
451 | help | ||
452 | Say Y here if you are using the HP iPAQ rx3715. | ||
453 | |||
454 | config ARCH_S3C2440 | ||
455 | bool "SMDK2440" | ||
456 | select S3C2440_XTAL_16934400 | ||
457 | select S3C24XX_SMDK | ||
458 | select S3C_DEV_USB_HOST | ||
459 | select S3C_DEV_NAND | ||
460 | help | ||
461 | Say Y here if you are using the SMDK2440. | ||
462 | |||
463 | config SMDK2440_CPU2440 | ||
464 | bool "SMDK2440 with S3C2440 CPU module" | ||
465 | default y if ARCH_S3C2440 | ||
466 | select S3C2440_XTAL_16934400 | ||
467 | |||
468 | endif # CPU_S3C2440 | ||
469 | |||
470 | if CPU_S3C2442 | ||
471 | |||
472 | comment "S3C2442 Boards" | ||
473 | |||
474 | # | ||
475 | # The "S3C2442 Boards" list is ordered alphabetically by option text. | ||
476 | # (without ARCH_ or MACH_) | ||
477 | # | ||
478 | |||
479 | config MACH_NEO1973_GTA02 | ||
480 | bool "Openmoko GTA02 / Freerunner phone" | ||
481 | select MFD_PCF50633 | ||
482 | select PCF50633_GPIO | ||
483 | select I2C | ||
484 | select POWER_SUPPLY | ||
485 | select MACH_NEO1973 | ||
486 | select S3C2410_PWM | ||
487 | select S3C_DEV_USB_HOST | ||
488 | help | ||
489 | Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone | ||
490 | |||
491 | config MACH_RX1950 | ||
492 | bool "HP iPAQ rx1950" | ||
493 | select S3C24XX_DCLK | ||
494 | select PM_H1940 if PM | ||
495 | select I2C | ||
496 | select S3C2410_PWM | ||
497 | select S3C_DEV_NAND | ||
498 | select S3C2410_IOTIMING if S3C2440_CPUFREQ | ||
499 | select S3C2440_XTAL_16934400 | ||
500 | help | ||
501 | Say Y here if you're using HP iPAQ rx1950 | ||
502 | |||
503 | config SMDK2440_CPU2442 | ||
504 | bool "SMDM2440 with S3C2442 CPU module" | ||
505 | |||
506 | endif # CPU_S3C2440 | ||
507 | |||
508 | if CPU_S3C2443 || CPU_S3C2416 | ||
509 | |||
510 | config S3C2443_COMMON | ||
511 | bool | ||
512 | help | ||
513 | Common code for the S3C2443 and similar processors, which includes | ||
514 | the S3C2416 and S3C2450. | ||
515 | |||
516 | config S3C2443_DMA | ||
517 | bool | ||
518 | help | ||
519 | Internal config node for S3C2443 DMA support | ||
520 | |||
521 | endif # CPU_S3C2443 || CPU_S3C2416 | ||
522 | |||
523 | if CPU_S3C2443 | ||
524 | |||
525 | comment "S3C2443 Boards" | ||
526 | |||
527 | config MACH_SMDK2443 | ||
528 | bool "SMDK2443" | ||
529 | select S3C24XX_SMDK | ||
530 | select S3C_DEV_HSMMC1 | ||
531 | help | ||
532 | Say Y here if you are using an SMDK2443 | ||
533 | |||
534 | endif # CPU_S3C2443 | ||
535 | |||
536 | endmenu # SAMSUNG S3C24XX SoCs Support | ||
537 | |||
538 | endif # ARCH_S3C24XX | ||
diff --git a/arch/arm/mach-s3c24xx/Makefile b/arch/arm/mach-s3c24xx/Makefile new file mode 100644 index 000000000000..3518fe812d5f --- /dev/null +++ b/arch/arm/mach-s3c24xx/Makefile | |||
@@ -0,0 +1,95 @@ | |||
1 | # arch/arm/mach-s3c24xx/Makefile | ||
2 | # | ||
3 | # Copyright (c) 2012 Samsung Electronics Co., Ltd. | ||
4 | # http://www.samsung.com/ | ||
5 | # | ||
6 | # Copyright 2007 Simtec Electronics | ||
7 | # | ||
8 | # Licensed under GPLv2 | ||
9 | |||
10 | obj-y := | ||
11 | obj-m := | ||
12 | obj-n := | ||
13 | obj- := | ||
14 | |||
15 | # core | ||
16 | |||
17 | obj-$(CONFIG_CPU_S3C2410) += s3c2410.o | ||
18 | obj-$(CONFIG_S3C2410_DMA) += dma-s3c2410.o | ||
19 | obj-$(CONFIG_S3C2410_PM) += pm-s3c2410.o sleep-s3c2410.o | ||
20 | |||
21 | obj-$(CONFIG_CPU_S3C2412) += s3c2412.o irq-s3c2412.o clock-s3c2412.o | ||
22 | obj-$(CONFIG_S3C2412_DMA) += dma-s3c2412.o | ||
23 | obj-$(CONFIG_S3C2412_PM) += pm-s3c2412.o | ||
24 | obj-$(CONFIG_S3C2412_PM_SLEEP) += sleep-s3c2412.o | ||
25 | |||
26 | obj-$(CONFIG_CPU_S3C2416) += s3c2416.o irq-s3c2416.o clock-s3c2416.o | ||
27 | obj-$(CONFIG_S3C2416_PM) += pm-s3c2416.o | ||
28 | |||
29 | obj-$(CONFIG_CPU_S3C2440) += s3c2440.o irq-s3c2440.o clock-s3c2440.o | ||
30 | obj-$(CONFIG_CPU_S3C2442) += s3c2442.o | ||
31 | obj-$(CONFIG_CPU_S3C244X) += s3c244x.o irq-s3c244x.o clock-s3c244x.o | ||
32 | obj-$(CONFIG_S3C2440_DMA) += dma-s3c2440.o | ||
33 | |||
34 | obj-$(CONFIG_CPU_S3C2443) += s3c2443.o irq-s3c2443.o clock-s3c2443.o | ||
35 | |||
36 | # common code | ||
37 | |||
38 | obj-$(CONFIG_S3C2443_COMMON) += common-s3c2443.o | ||
39 | obj-$(CONFIG_S3C2443_DMA) += dma-s3c2443.o | ||
40 | |||
41 | # | ||
42 | # machine support | ||
43 | # following is ordered alphabetically by option text. | ||
44 | # | ||
45 | |||
46 | obj-$(CONFIG_MACH_AML_M5900) += mach-amlm5900.o | ||
47 | obj-$(CONFIG_ARCH_BAST) += mach-bast.o | ||
48 | obj-$(CONFIG_BAST_PC104_IRQ) += bast-irq.o | ||
49 | obj-$(CONFIG_ARCH_H1940) += mach-h1940.o | ||
50 | obj-$(CONFIG_H1940BT) += h1940-bluetooth.o | ||
51 | obj-$(CONFIG_PM_H1940) += pm-h1940.o | ||
52 | obj-$(CONFIG_MACH_N30) += mach-n30.o | ||
53 | obj-$(CONFIG_MACH_OTOM) += mach-otom.o | ||
54 | obj-$(CONFIG_MACH_QT2410) += mach-qt2410.o | ||
55 | obj-$(CONFIG_ARCH_SMDK2410) += mach-smdk2410.o | ||
56 | obj-$(CONFIG_MACH_TCT_HAMMER) += mach-tct_hammer.o | ||
57 | obj-$(CONFIG_MACH_VR1000) += mach-vr1000.o | ||
58 | |||
59 | obj-$(CONFIG_MACH_JIVE) += mach-jive.o | ||
60 | obj-$(CONFIG_MACH_SMDK2413) += mach-smdk2413.o | ||
61 | obj-$(CONFIG_MACH_VSTMS) += mach-vstms.o | ||
62 | |||
63 | obj-$(CONFIG_MACH_SMDK2416) += mach-smdk2416.o | ||
64 | |||
65 | obj-$(CONFIG_MACH_ANUBIS) += mach-anubis.o | ||
66 | obj-$(CONFIG_MACH_AT2440EVB) += mach-at2440evb.o | ||
67 | obj-$(CONFIG_MACH_MINI2440) += mach-mini2440.o | ||
68 | obj-$(CONFIG_MACH_NEXCODER_2440) += mach-nexcoder.o | ||
69 | obj-$(CONFIG_MACH_OSIRIS) += mach-osiris.o | ||
70 | obj-$(CONFIG_MACH_RX3715) += mach-rx3715.o | ||
71 | obj-$(CONFIG_ARCH_S3C2440) += mach-smdk2440.o | ||
72 | |||
73 | obj-$(CONFIG_MACH_NEO1973_GTA02) += mach-gta02.o | ||
74 | obj-$(CONFIG_MACH_RX1950) += mach-rx1950.o | ||
75 | |||
76 | obj-$(CONFIG_MACH_SMDK2443) += mach-smdk2443.o | ||
77 | |||
78 | # common bits of machine support | ||
79 | |||
80 | obj-$(CONFIG_S3C24XX_SMDK) += common-smdk.o | ||
81 | obj-$(CONFIG_S3C24XX_SIMTEC_AUDIO) += simtec-audio.o | ||
82 | obj-$(CONFIG_S3C24XX_SIMTEC_NOR) += simtec-nor.o | ||
83 | obj-$(CONFIG_S3C24XX_SIMTEC_PM) += simtec-pm.o | ||
84 | obj-$(CONFIG_S3C24XX_SIMTEC_USB) += simtec-usb.o | ||
85 | |||
86 | # machine additions | ||
87 | |||
88 | obj-$(CONFIG_MACH_BAST_IDE) += bast-ide.o | ||
89 | obj-$(CONFIG_MACH_OSIRIS_DVS) += mach-osiris-dvs.o | ||
90 | |||
91 | # device setup | ||
92 | |||
93 | obj-$(CONFIG_S3C2416_SETUP_SDHCI_GPIO) += setup-sdhci-gpio.o | ||
94 | obj-$(CONFIG_ARCH_S3C24XX) += setup-i2c.o | ||
95 | obj-$(CONFIG_S3C24XX_SETUP_TS) += setup-ts.o | ||
diff --git a/arch/arm/mach-s3c2410/Makefile.boot b/arch/arm/mach-s3c24xx/Makefile.boot index 4457605ba04a..4457605ba04a 100644 --- a/arch/arm/mach-s3c2410/Makefile.boot +++ b/arch/arm/mach-s3c24xx/Makefile.boot | |||
diff --git a/arch/arm/mach-s3c2410/bast-ide.c b/arch/arm/mach-s3c24xx/bast-ide.c index 298ececfa366..298ececfa366 100644 --- a/arch/arm/mach-s3c2410/bast-ide.c +++ b/arch/arm/mach-s3c24xx/bast-ide.c | |||
diff --git a/arch/arm/mach-s3c2410/bast-irq.c b/arch/arm/mach-s3c24xx/bast-irq.c index ac7b2ad5c405..ac7b2ad5c405 100644 --- a/arch/arm/mach-s3c2410/bast-irq.c +++ b/arch/arm/mach-s3c24xx/bast-irq.c | |||
diff --git a/arch/arm/mach-s3c2412/clock.c b/arch/arm/mach-s3c24xx/clock-s3c2412.c index d10b695a9066..d10b695a9066 100644 --- a/arch/arm/mach-s3c2412/clock.c +++ b/arch/arm/mach-s3c24xx/clock-s3c2412.c | |||
diff --git a/arch/arm/mach-s3c2416/clock.c b/arch/arm/mach-s3c24xx/clock-s3c2416.c index e01490db0993..dbc9ab4aaca2 100644 --- a/arch/arm/mach-s3c2416/clock.c +++ b/arch/arm/mach-s3c24xx/clock-s3c2416.c | |||
@@ -15,7 +15,6 @@ | |||
15 | #include <linux/clk.h> | 15 | #include <linux/clk.h> |
16 | 16 | ||
17 | #include <plat/s3c2416.h> | 17 | #include <plat/s3c2416.h> |
18 | #include <plat/s3c2443.h> | ||
19 | #include <plat/clock.h> | 18 | #include <plat/clock.h> |
20 | #include <plat/clock-clksrc.h> | 19 | #include <plat/clock-clksrc.h> |
21 | #include <plat/cpu.h> | 20 | #include <plat/cpu.h> |
diff --git a/arch/arm/mach-s3c2440/clock.c b/arch/arm/mach-s3c24xx/clock-s3c2440.c index 414364eb426c..414364eb426c 100644 --- a/arch/arm/mach-s3c2440/clock.c +++ b/arch/arm/mach-s3c24xx/clock-s3c2440.c | |||
diff --git a/arch/arm/mach-s3c2443/clock.c b/arch/arm/mach-s3c24xx/clock-s3c2443.c index 6dde2696f8f0..efb3ac359566 100644 --- a/arch/arm/mach-s3c2443/clock.c +++ b/arch/arm/mach-s3c24xx/clock-s3c2443.c | |||
@@ -179,11 +179,6 @@ static struct clk *clks[] __initdata = { | |||
179 | &clk_hsmmc, | 179 | &clk_hsmmc, |
180 | }; | 180 | }; |
181 | 181 | ||
182 | void __init_or_cpufreq s3c2443_setup_clocks(void) | ||
183 | { | ||
184 | s3c2443_common_setup_clocks(s3c2443_get_mpll); | ||
185 | } | ||
186 | |||
187 | void __init s3c2443_init_clocks(int xtal) | 182 | void __init s3c2443_init_clocks(int xtal) |
188 | { | 183 | { |
189 | unsigned long epllcon = __raw_readl(S3C2443_EPLLCON); | 184 | unsigned long epllcon = __raw_readl(S3C2443_EPLLCON); |
@@ -196,8 +191,6 @@ void __init s3c2443_init_clocks(int xtal) | |||
196 | armdiv, ARRAY_SIZE(armdiv), | 191 | armdiv, ARRAY_SIZE(armdiv), |
197 | S3C2443_CLKDIV0_ARMDIV_MASK); | 192 | S3C2443_CLKDIV0_ARMDIV_MASK); |
198 | 193 | ||
199 | s3c2443_setup_clocks(); | ||
200 | |||
201 | s3c24xx_register_clocks(clks, ARRAY_SIZE(clks)); | 194 | s3c24xx_register_clocks(clks, ARRAY_SIZE(clks)); |
202 | 195 | ||
203 | for (ptr = 0; ptr < ARRAY_SIZE(clksrcs); ptr++) | 196 | for (ptr = 0; ptr < ARRAY_SIZE(clksrcs); ptr++) |
diff --git a/arch/arm/mach-s3c2440/s3c244x-clock.c b/arch/arm/mach-s3c24xx/clock-s3c244x.c index 6d9b688c442b..6d9b688c442b 100644 --- a/arch/arm/mach-s3c2440/s3c244x-clock.c +++ b/arch/arm/mach-s3c24xx/clock-s3c244x.c | |||
diff --git a/arch/arm/plat-s3c24xx/s3c2443-clock.c b/arch/arm/mach-s3c24xx/common-s3c2443.c index 037b448992af..460431589f39 100644 --- a/arch/arm/plat-s3c24xx/s3c2443-clock.c +++ b/arch/arm/mach-s3c24xx/common-s3c2443.c | |||
@@ -1,9 +1,18 @@ | |||
1 | /* linux/arch/arm/plat-s3c24xx/s3c2443-clock.c | 1 | /* |
2 | * Common code for SoCs starting with the S3C2443 | ||
2 | * | 3 | * |
3 | * Copyright (c) 2007, 2010 Simtec Electronics | 4 | * Copyright (c) 2007, 2010 Simtec Electronics |
4 | * Ben Dooks <ben@simtec.co.uk> | 5 | * Ben Dooks <ben@simtec.co.uk> |
5 | * | 6 | * |
6 | * S3C2443 Clock control suport - common code | 7 | * This program is free software; you can redistribute it and/or modify |
8 | * it under the terms of the GNU General Public License as published by | ||
9 | * the Free Software Foundation; either version 2 of the License, or | ||
10 | * (at your option) any later version. | ||
11 | * | ||
12 | * This program is distributed in the hope that it will be useful, | ||
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | * GNU General Public License for more details. | ||
7 | */ | 16 | */ |
8 | 17 | ||
9 | #include <linux/init.h> | 18 | #include <linux/init.h> |
@@ -12,7 +21,6 @@ | |||
12 | 21 | ||
13 | #include <mach/regs-s3c2443-clock.h> | 22 | #include <mach/regs-s3c2443-clock.h> |
14 | 23 | ||
15 | #include <plat/s3c2443.h> | ||
16 | #include <plat/clock.h> | 24 | #include <plat/clock.h> |
17 | #include <plat/clock-clksrc.h> | 25 | #include <plat/clock-clksrc.h> |
18 | #include <plat/cpu.h> | 26 | #include <plat/cpu.h> |
@@ -160,6 +168,44 @@ static struct clk clk_prediv = { | |||
160 | }, | 168 | }, |
161 | }; | 169 | }; |
162 | 170 | ||
171 | /* hclk divider | ||
172 | * | ||
173 | * divides the prediv and provides the hclk. | ||
174 | */ | ||
175 | |||
176 | static unsigned long s3c2443_hclkdiv_getrate(struct clk *clk) | ||
177 | { | ||
178 | unsigned long rate = clk_get_rate(clk->parent); | ||
179 | unsigned long clkdiv0 = __raw_readl(S3C2443_CLKDIV0); | ||
180 | |||
181 | clkdiv0 &= S3C2443_CLKDIV0_HCLKDIV_MASK; | ||
182 | |||
183 | return rate / (clkdiv0 + 1); | ||
184 | } | ||
185 | |||
186 | static struct clk_ops clk_h_ops = { | ||
187 | .get_rate = s3c2443_hclkdiv_getrate, | ||
188 | }; | ||
189 | |||
190 | /* pclk divider | ||
191 | * | ||
192 | * divides the hclk and provides the pclk. | ||
193 | */ | ||
194 | |||
195 | static unsigned long s3c2443_pclkdiv_getrate(struct clk *clk) | ||
196 | { | ||
197 | unsigned long rate = clk_get_rate(clk->parent); | ||
198 | unsigned long clkdiv0 = __raw_readl(S3C2443_CLKDIV0); | ||
199 | |||
200 | clkdiv0 = ((clkdiv0 & S3C2443_CLKDIV0_HALF_PCLK) ? 1 : 0); | ||
201 | |||
202 | return rate / (clkdiv0 + 1); | ||
203 | } | ||
204 | |||
205 | static struct clk_ops clk_p_ops = { | ||
206 | .get_rate = s3c2443_pclkdiv_getrate, | ||
207 | }; | ||
208 | |||
163 | /* armdiv | 209 | /* armdiv |
164 | * | 210 | * |
165 | * this clock is sourced from msysclk and can have a number of | 211 | * this clock is sourced from msysclk and can have a number of |
@@ -516,26 +562,15 @@ static struct clk hsmmc1_clk = { | |||
516 | .ctrlbit = S3C2443_HCLKCON_HSMMC, | 562 | .ctrlbit = S3C2443_HCLKCON_HSMMC, |
517 | }; | 563 | }; |
518 | 564 | ||
519 | static inline unsigned long s3c2443_get_hdiv(unsigned long clkcon0) | ||
520 | { | ||
521 | clkcon0 &= S3C2443_CLKDIV0_HCLKDIV_MASK; | ||
522 | |||
523 | return clkcon0 + 1; | ||
524 | } | ||
525 | |||
526 | /* EPLLCON compatible enough to get on/off information */ | 565 | /* EPLLCON compatible enough to get on/off information */ |
527 | 566 | ||
528 | void __init_or_cpufreq s3c2443_common_setup_clocks(pll_fn get_mpll) | 567 | void __init_or_cpufreq s3c2443_common_setup_clocks(pll_fn get_mpll) |
529 | { | 568 | { |
530 | unsigned long epllcon = __raw_readl(S3C2443_EPLLCON); | 569 | unsigned long epllcon = __raw_readl(S3C2443_EPLLCON); |
531 | unsigned long mpllcon = __raw_readl(S3C2443_MPLLCON); | 570 | unsigned long mpllcon = __raw_readl(S3C2443_MPLLCON); |
532 | unsigned long clkdiv0 = __raw_readl(S3C2443_CLKDIV0); | ||
533 | struct clk *xtal_clk; | 571 | struct clk *xtal_clk; |
534 | unsigned long xtal; | 572 | unsigned long xtal; |
535 | unsigned long pll; | 573 | unsigned long pll; |
536 | unsigned long fclk; | ||
537 | unsigned long hclk; | ||
538 | unsigned long pclk; | ||
539 | int ptr; | 574 | int ptr; |
540 | 575 | ||
541 | xtal_clk = clk_get(NULL, "xtal"); | 576 | xtal_clk = clk_get(NULL, "xtal"); |
@@ -544,18 +579,13 @@ void __init_or_cpufreq s3c2443_common_setup_clocks(pll_fn get_mpll) | |||
544 | 579 | ||
545 | pll = get_mpll(mpllcon, xtal); | 580 | pll = get_mpll(mpllcon, xtal); |
546 | clk_msysclk.clk.rate = pll; | 581 | clk_msysclk.clk.rate = pll; |
547 | 582 | clk_mpll.rate = pll; | |
548 | fclk = clk_get_rate(&clk_armdiv); | ||
549 | hclk = s3c2443_prediv_getrate(&clk_prediv); | ||
550 | hclk /= s3c2443_get_hdiv(clkdiv0); | ||
551 | pclk = hclk / ((clkdiv0 & S3C2443_CLKDIV0_HALF_PCLK) ? 2 : 1); | ||
552 | |||
553 | s3c24xx_setup_clocks(fclk, hclk, pclk); | ||
554 | 583 | ||
555 | printk("CPU: MPLL %s %ld.%03ld MHz, cpu %ld.%03ld MHz, mem %ld.%03ld MHz, pclk %ld.%03ld MHz\n", | 584 | printk("CPU: MPLL %s %ld.%03ld MHz, cpu %ld.%03ld MHz, mem %ld.%03ld MHz, pclk %ld.%03ld MHz\n", |
556 | (mpllcon & S3C2443_PLLCON_OFF) ? "off":"on", | 585 | (mpllcon & S3C2443_PLLCON_OFF) ? "off" : "on", |
557 | print_mhz(pll), print_mhz(fclk), | 586 | print_mhz(pll), print_mhz(clk_get_rate(&clk_armdiv)), |
558 | print_mhz(hclk), print_mhz(pclk)); | 587 | print_mhz(clk_get_rate(&clk_h)), |
588 | print_mhz(clk_get_rate(&clk_p))); | ||
559 | 589 | ||
560 | for (ptr = 0; ptr < ARRAY_SIZE(clksrc_clks); ptr++) | 590 | for (ptr = 0; ptr < ARRAY_SIZE(clksrc_clks); ptr++) |
561 | s3c_set_clksrc(&clksrc_clks[ptr], true); | 591 | s3c_set_clksrc(&clksrc_clks[ptr], true); |
@@ -568,7 +598,7 @@ void __init_or_cpufreq s3c2443_common_setup_clocks(pll_fn get_mpll) | |||
568 | } | 598 | } |
569 | 599 | ||
570 | printk("CPU: EPLL %s %ld.%03ld MHz, usb-bus %ld.%03ld MHz\n", | 600 | printk("CPU: EPLL %s %ld.%03ld MHz, usb-bus %ld.%03ld MHz\n", |
571 | (epllcon & S3C2443_PLLCON_OFF) ? "off":"on", | 601 | (epllcon & S3C2443_PLLCON_OFF) ? "off" : "on", |
572 | print_mhz(clk_get_rate(&clk_epll)), | 602 | print_mhz(clk_get_rate(&clk_epll)), |
573 | print_mhz(clk_get_rate(&clk_usb_bus))); | 603 | print_mhz(clk_get_rate(&clk_usb_bus))); |
574 | } | 604 | } |
@@ -611,9 +641,13 @@ void __init s3c2443_common_init_clocks(int xtal, pll_fn get_mpll, | |||
611 | nr_armdiv = nr_divs; | 641 | nr_armdiv = nr_divs; |
612 | armdivmask = divmask; | 642 | armdivmask = divmask; |
613 | 643 | ||
614 | /* s3c2443 parents h and p clocks from prediv */ | 644 | /* s3c2443 parents h clock from prediv */ |
615 | clk_h.parent = &clk_prediv; | 645 | clk_h.parent = &clk_prediv; |
616 | clk_p.parent = &clk_prediv; | 646 | clk_h.ops = &clk_h_ops; |
647 | |||
648 | /* and p clock from h clock */ | ||
649 | clk_p.parent = &clk_h; | ||
650 | clk_p.ops = &clk_p_ops; | ||
617 | 651 | ||
618 | clk_usb_bus.parent = &clk_usb_bus_host.clk; | 652 | clk_usb_bus.parent = &clk_usb_bus_host.clk; |
619 | clk_epll.parent = &clk_epllref.clk; | 653 | clk_epll.parent = &clk_epllref.clk; |
diff --git a/arch/arm/plat-s3c24xx/common-smdk.c b/arch/arm/mach-s3c24xx/common-smdk.c index 084604be6ad1..084604be6ad1 100644 --- a/arch/arm/plat-s3c24xx/common-smdk.c +++ b/arch/arm/mach-s3c24xx/common-smdk.c | |||
diff --git a/arch/arm/mach-s3c2410/common.h b/arch/arm/mach-s3c24xx/common.h index f65dc8062961..62a2e196a68e 100644 --- a/arch/arm/mach-s3c2410/common.h +++ b/arch/arm/mach-s3c24xx/common.h | |||
@@ -12,6 +12,12 @@ | |||
12 | #ifndef __ARCH_ARM_MACH_S3C2410_COMMON_H | 12 | #ifndef __ARCH_ARM_MACH_S3C2410_COMMON_H |
13 | #define __ARCH_ARM_MACH_S3C2410_COMMON_H | 13 | #define __ARCH_ARM_MACH_S3C2410_COMMON_H |
14 | 14 | ||
15 | #ifdef CONFIG_CPU_S3C2410 | ||
15 | void s3c2410_restart(char mode, const char *cmd); | 16 | void s3c2410_restart(char mode, const char *cmd); |
17 | #endif | ||
18 | |||
19 | #ifdef CONFIG_CPU_S3C2440 | ||
20 | void s3c2440_restart(char mode, const char *cmd); | ||
21 | #endif | ||
16 | 22 | ||
17 | #endif /* __ARCH_ARM_MACH_S3C2410_COMMON_H */ | 23 | #endif /* __ARCH_ARM_MACH_S3C2410_COMMON_H */ |
diff --git a/arch/arm/mach-s3c2410/dma.c b/arch/arm/mach-s3c24xx/dma-s3c2410.c index 4803338cf56e..4803338cf56e 100644 --- a/arch/arm/mach-s3c2410/dma.c +++ b/arch/arm/mach-s3c24xx/dma-s3c2410.c | |||
diff --git a/arch/arm/mach-s3c2412/dma.c b/arch/arm/mach-s3c24xx/dma-s3c2412.c index 38472ac920ff..38472ac920ff 100644 --- a/arch/arm/mach-s3c2412/dma.c +++ b/arch/arm/mach-s3c24xx/dma-s3c2412.c | |||
diff --git a/arch/arm/mach-s3c2440/dma.c b/arch/arm/mach-s3c24xx/dma-s3c2440.c index 5f0a0c8ef84f..5f0a0c8ef84f 100644 --- a/arch/arm/mach-s3c2440/dma.c +++ b/arch/arm/mach-s3c24xx/dma-s3c2440.c | |||
diff --git a/arch/arm/mach-s3c2443/dma.c b/arch/arm/mach-s3c24xx/dma-s3c2443.c index 14224517e621..e227c472a40a 100644 --- a/arch/arm/mach-s3c2443/dma.c +++ b/arch/arm/mach-s3c24xx/dma-s3c2443.c | |||
@@ -51,7 +51,7 @@ static struct s3c24xx_dma_map __initdata s3c2443_dma_mappings[] = { | |||
51 | .name = "xdreq1", | 51 | .name = "xdreq1", |
52 | .channels = MAP(S3C2443_DMAREQSEL_XDREQ1), | 52 | .channels = MAP(S3C2443_DMAREQSEL_XDREQ1), |
53 | }, | 53 | }, |
54 | [DMACH_SDI] = { | 54 | [DMACH_SDI] = { /* only on S3C2443 */ |
55 | .name = "sdi", | 55 | .name = "sdi", |
56 | .channels = MAP(S3C2443_DMAREQSEL_SDI), | 56 | .channels = MAP(S3C2443_DMAREQSEL_SDI), |
57 | }, | 57 | }, |
@@ -59,7 +59,7 @@ static struct s3c24xx_dma_map __initdata s3c2443_dma_mappings[] = { | |||
59 | .name = "spi0", | 59 | .name = "spi0", |
60 | .channels = MAP(S3C2443_DMAREQSEL_SPI0TX), | 60 | .channels = MAP(S3C2443_DMAREQSEL_SPI0TX), |
61 | }, | 61 | }, |
62 | [DMACH_SPI1] = { | 62 | [DMACH_SPI1] = { /* only on S3C2443/S3C2450 */ |
63 | .name = "spi1", | 63 | .name = "spi1", |
64 | .channels = MAP(S3C2443_DMAREQSEL_SPI1TX), | 64 | .channels = MAP(S3C2443_DMAREQSEL_SPI1TX), |
65 | }, | 65 | }, |
@@ -71,11 +71,11 @@ static struct s3c24xx_dma_map __initdata s3c2443_dma_mappings[] = { | |||
71 | .name = "uart1", | 71 | .name = "uart1", |
72 | .channels = MAP(S3C2443_DMAREQSEL_UART1_0), | 72 | .channels = MAP(S3C2443_DMAREQSEL_UART1_0), |
73 | }, | 73 | }, |
74 | [DMACH_UART2] = { | 74 | [DMACH_UART2] = { |
75 | .name = "uart2", | 75 | .name = "uart2", |
76 | .channels = MAP(S3C2443_DMAREQSEL_UART2_0), | 76 | .channels = MAP(S3C2443_DMAREQSEL_UART2_0), |
77 | }, | 77 | }, |
78 | [DMACH_UART3] = { | 78 | [DMACH_UART3] = { |
79 | .name = "uart3", | 79 | .name = "uart3", |
80 | .channels = MAP(S3C2443_DMAREQSEL_UART3_0), | 80 | .channels = MAP(S3C2443_DMAREQSEL_UART3_0), |
81 | }, | 81 | }, |
@@ -87,11 +87,11 @@ static struct s3c24xx_dma_map __initdata s3c2443_dma_mappings[] = { | |||
87 | .name = "uart1", | 87 | .name = "uart1", |
88 | .channels = MAP(S3C2443_DMAREQSEL_UART1_1), | 88 | .channels = MAP(S3C2443_DMAREQSEL_UART1_1), |
89 | }, | 89 | }, |
90 | [DMACH_UART2_SRC2] = { | 90 | [DMACH_UART2_SRC2] = { |
91 | .name = "uart2", | 91 | .name = "uart2", |
92 | .channels = MAP(S3C2443_DMAREQSEL_UART2_1), | 92 | .channels = MAP(S3C2443_DMAREQSEL_UART2_1), |
93 | }, | 93 | }, |
94 | [DMACH_UART3_SRC2] = { | 94 | [DMACH_UART3_SRC2] = { |
95 | .name = "uart3", | 95 | .name = "uart3", |
96 | .channels = MAP(S3C2443_DMAREQSEL_UART3_1), | 96 | .channels = MAP(S3C2443_DMAREQSEL_UART3_1), |
97 | }, | 97 | }, |
@@ -142,6 +142,23 @@ static int __init s3c2443_dma_add(struct device *dev, | |||
142 | return s3c24xx_dma_init_map(&s3c2443_dma_sel); | 142 | return s3c24xx_dma_init_map(&s3c2443_dma_sel); |
143 | } | 143 | } |
144 | 144 | ||
145 | #ifdef CONFIG_CPU_S3C2416 | ||
146 | /* S3C2416 DMA contains the same selection table as the S3C2443 */ | ||
147 | static struct subsys_interface s3c2416_dma_interface = { | ||
148 | .name = "s3c2416_dma", | ||
149 | .subsys = &s3c2416_subsys, | ||
150 | .add_dev = s3c2443_dma_add, | ||
151 | }; | ||
152 | |||
153 | static int __init s3c2416_dma_init(void) | ||
154 | { | ||
155 | return subsys_interface_register(&s3c2416_dma_interface); | ||
156 | } | ||
157 | |||
158 | arch_initcall(s3c2416_dma_init); | ||
159 | #endif | ||
160 | |||
161 | #ifdef CONFIG_CPU_S3C2443 | ||
145 | static struct subsys_interface s3c2443_dma_interface = { | 162 | static struct subsys_interface s3c2443_dma_interface = { |
146 | .name = "s3c2443_dma", | 163 | .name = "s3c2443_dma", |
147 | .subsys = &s3c2443_subsys, | 164 | .subsys = &s3c2443_subsys, |
@@ -154,3 +171,4 @@ static int __init s3c2443_dma_init(void) | |||
154 | } | 171 | } |
155 | 172 | ||
156 | arch_initcall(s3c2443_dma_init); | 173 | arch_initcall(s3c2443_dma_init); |
174 | #endif | ||
diff --git a/arch/arm/mach-s3c2410/h1940-bluetooth.c b/arch/arm/mach-s3c24xx/h1940-bluetooth.c index a5eeb62ce1c2..a5eeb62ce1c2 100644 --- a/arch/arm/mach-s3c2410/h1940-bluetooth.c +++ b/arch/arm/mach-s3c24xx/h1940-bluetooth.c | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/anubis-cpld.h b/arch/arm/mach-s3c24xx/include/mach/anubis-cpld.h index 1b614d5a81f3..1b614d5a81f3 100644 --- a/arch/arm/mach-s3c2410/include/mach/anubis-cpld.h +++ b/arch/arm/mach-s3c24xx/include/mach/anubis-cpld.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/anubis-irq.h b/arch/arm/mach-s3c24xx/include/mach/anubis-irq.h index a2a328134e34..a2a328134e34 100644 --- a/arch/arm/mach-s3c2410/include/mach/anubis-irq.h +++ b/arch/arm/mach-s3c24xx/include/mach/anubis-irq.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/anubis-map.h b/arch/arm/mach-s3c24xx/include/mach/anubis-map.h index c9deb3a5b2c3..c9deb3a5b2c3 100644 --- a/arch/arm/mach-s3c2410/include/mach/anubis-map.h +++ b/arch/arm/mach-s3c24xx/include/mach/anubis-map.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/bast-cpld.h b/arch/arm/mach-s3c24xx/include/mach/bast-cpld.h index bee2a7a932a0..bee2a7a932a0 100644 --- a/arch/arm/mach-s3c2410/include/mach/bast-cpld.h +++ b/arch/arm/mach-s3c24xx/include/mach/bast-cpld.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/bast-irq.h b/arch/arm/mach-s3c24xx/include/mach/bast-irq.h index cac428c42e7f..cac428c42e7f 100644 --- a/arch/arm/mach-s3c2410/include/mach/bast-irq.h +++ b/arch/arm/mach-s3c24xx/include/mach/bast-irq.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/bast-map.h b/arch/arm/mach-s3c24xx/include/mach/bast-map.h index 6e7dc9d0cf0e..6e7dc9d0cf0e 100644 --- a/arch/arm/mach-s3c2410/include/mach/bast-map.h +++ b/arch/arm/mach-s3c24xx/include/mach/bast-map.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/bast-pmu.h b/arch/arm/mach-s3c24xx/include/mach/bast-pmu.h index 4c38b39b741d..4c38b39b741d 100644 --- a/arch/arm/mach-s3c2410/include/mach/bast-pmu.h +++ b/arch/arm/mach-s3c24xx/include/mach/bast-pmu.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/debug-macro.S b/arch/arm/mach-s3c24xx/include/mach/debug-macro.S index 4135de87d1f7..4135de87d1f7 100644 --- a/arch/arm/mach-s3c2410/include/mach/debug-macro.S +++ b/arch/arm/mach-s3c24xx/include/mach/debug-macro.S | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/dma.h b/arch/arm/mach-s3c24xx/include/mach/dma.h index acbdfecd4186..acbdfecd4186 100644 --- a/arch/arm/mach-s3c2410/include/mach/dma.h +++ b/arch/arm/mach-s3c24xx/include/mach/dma.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/entry-macro.S b/arch/arm/mach-s3c24xx/include/mach/entry-macro.S index 7615a14773fa..7615a14773fa 100644 --- a/arch/arm/mach-s3c2410/include/mach/entry-macro.S +++ b/arch/arm/mach-s3c24xx/include/mach/entry-macro.S | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/fb.h b/arch/arm/mach-s3c24xx/include/mach/fb.h index a957bc8ed44f..a957bc8ed44f 100644 --- a/arch/arm/mach-s3c2410/include/mach/fb.h +++ b/arch/arm/mach-s3c24xx/include/mach/fb.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/gpio-fns.h b/arch/arm/mach-s3c24xx/include/mach/gpio-fns.h index c53ad34c6579..c53ad34c6579 100644 --- a/arch/arm/mach-s3c2410/include/mach/gpio-fns.h +++ b/arch/arm/mach-s3c24xx/include/mach/gpio-fns.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/gpio-nrs.h b/arch/arm/mach-s3c24xx/include/mach/gpio-nrs.h index 019ea86057f6..019ea86057f6 100644 --- a/arch/arm/mach-s3c2410/include/mach/gpio-nrs.h +++ b/arch/arm/mach-s3c24xx/include/mach/gpio-nrs.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/gpio-track.h b/arch/arm/mach-s3c24xx/include/mach/gpio-track.h index c410a078622c..c410a078622c 100644 --- a/arch/arm/mach-s3c2410/include/mach/gpio-track.h +++ b/arch/arm/mach-s3c24xx/include/mach/gpio-track.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/gpio.h b/arch/arm/mach-s3c24xx/include/mach/gpio.h index 6fac70f3484e..6fac70f3484e 100644 --- a/arch/arm/mach-s3c2410/include/mach/gpio.h +++ b/arch/arm/mach-s3c24xx/include/mach/gpio.h | |||
diff --git a/arch/arm/mach-s3c2440/include/mach/gta02.h b/arch/arm/mach-s3c24xx/include/mach/gta02.h index 3a56a229cac6..3a56a229cac6 100644 --- a/arch/arm/mach-s3c2440/include/mach/gta02.h +++ b/arch/arm/mach-s3c24xx/include/mach/gta02.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/h1940-latch.h b/arch/arm/mach-s3c24xx/include/mach/h1940-latch.h index fc897d3a056c..fc897d3a056c 100644 --- a/arch/arm/mach-s3c2410/include/mach/h1940-latch.h +++ b/arch/arm/mach-s3c24xx/include/mach/h1940-latch.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/h1940.h b/arch/arm/mach-s3c24xx/include/mach/h1940.h index 2aa683c8d3d6..2aa683c8d3d6 100644 --- a/arch/arm/mach-s3c2410/include/mach/h1940.h +++ b/arch/arm/mach-s3c24xx/include/mach/h1940.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/hardware.h b/arch/arm/mach-s3c24xx/include/mach/hardware.h index aef5631eac58..aef5631eac58 100644 --- a/arch/arm/mach-s3c2410/include/mach/hardware.h +++ b/arch/arm/mach-s3c24xx/include/mach/hardware.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/idle.h b/arch/arm/mach-s3c24xx/include/mach/idle.h index e9ddd706b16e..e9ddd706b16e 100644 --- a/arch/arm/mach-s3c2410/include/mach/idle.h +++ b/arch/arm/mach-s3c24xx/include/mach/idle.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/io.h b/arch/arm/mach-s3c24xx/include/mach/io.h index 118749f37c4c..118749f37c4c 100644 --- a/arch/arm/mach-s3c2410/include/mach/io.h +++ b/arch/arm/mach-s3c24xx/include/mach/io.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/irqs.h b/arch/arm/mach-s3c24xx/include/mach/irqs.h index e53b2177319e..e53b2177319e 100644 --- a/arch/arm/mach-s3c2410/include/mach/irqs.h +++ b/arch/arm/mach-s3c24xx/include/mach/irqs.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/leds-gpio.h b/arch/arm/mach-s3c24xx/include/mach/leds-gpio.h index d8a7672519b6..d8a7672519b6 100644 --- a/arch/arm/mach-s3c2410/include/mach/leds-gpio.h +++ b/arch/arm/mach-s3c24xx/include/mach/leds-gpio.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/map.h b/arch/arm/mach-s3c24xx/include/mach/map.h index 78ae807f1281..78ae807f1281 100644 --- a/arch/arm/mach-s3c2410/include/mach/map.h +++ b/arch/arm/mach-s3c24xx/include/mach/map.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/osiris-cpld.h b/arch/arm/mach-s3c24xx/include/mach/osiris-cpld.h index e9e36b0abbac..e9e36b0abbac 100644 --- a/arch/arm/mach-s3c2410/include/mach/osiris-cpld.h +++ b/arch/arm/mach-s3c24xx/include/mach/osiris-cpld.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/osiris-map.h b/arch/arm/mach-s3c24xx/include/mach/osiris-map.h index 17380f848428..17380f848428 100644 --- a/arch/arm/mach-s3c2410/include/mach/osiris-map.h +++ b/arch/arm/mach-s3c24xx/include/mach/osiris-map.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/otom-map.h b/arch/arm/mach-s3c24xx/include/mach/otom-map.h index f9277a52c145..f9277a52c145 100644 --- a/arch/arm/mach-s3c2410/include/mach/otom-map.h +++ b/arch/arm/mach-s3c24xx/include/mach/otom-map.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/pm-core.h b/arch/arm/mach-s3c24xx/include/mach/pm-core.h index 2eef7e6f7675..2eef7e6f7675 100644 --- a/arch/arm/mach-s3c2410/include/mach/pm-core.h +++ b/arch/arm/mach-s3c24xx/include/mach/pm-core.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/regs-clock.h b/arch/arm/mach-s3c24xx/include/mach/regs-clock.h index 3415b60082d7..3415b60082d7 100644 --- a/arch/arm/mach-s3c2410/include/mach/regs-clock.h +++ b/arch/arm/mach-s3c24xx/include/mach/regs-clock.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/regs-dsc.h b/arch/arm/mach-s3c24xx/include/mach/regs-dsc.h index 98fd4a05587c..98fd4a05587c 100644 --- a/arch/arm/mach-s3c2410/include/mach/regs-dsc.h +++ b/arch/arm/mach-s3c24xx/include/mach/regs-dsc.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/regs-gpio.h b/arch/arm/mach-s3c24xx/include/mach/regs-gpio.h index cac1ad6b582c..cac1ad6b582c 100644 --- a/arch/arm/mach-s3c2410/include/mach/regs-gpio.h +++ b/arch/arm/mach-s3c24xx/include/mach/regs-gpio.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/regs-gpioj.h b/arch/arm/mach-s3c24xx/include/mach/regs-gpioj.h index 19575e061114..19575e061114 100644 --- a/arch/arm/mach-s3c2410/include/mach/regs-gpioj.h +++ b/arch/arm/mach-s3c24xx/include/mach/regs-gpioj.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/regs-irq.h b/arch/arm/mach-s3c24xx/include/mach/regs-irq.h index 0f07ba30b1fb..0f07ba30b1fb 100644 --- a/arch/arm/mach-s3c2410/include/mach/regs-irq.h +++ b/arch/arm/mach-s3c24xx/include/mach/regs-irq.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/regs-lcd.h b/arch/arm/mach-s3c24xx/include/mach/regs-lcd.h index ee8f040aff5f..ee8f040aff5f 100644 --- a/arch/arm/mach-s3c2410/include/mach/regs-lcd.h +++ b/arch/arm/mach-s3c24xx/include/mach/regs-lcd.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/regs-mem.h b/arch/arm/mach-s3c24xx/include/mach/regs-mem.h index e0c67b0163d8..e0c67b0163d8 100644 --- a/arch/arm/mach-s3c2410/include/mach/regs-mem.h +++ b/arch/arm/mach-s3c24xx/include/mach/regs-mem.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/regs-power.h b/arch/arm/mach-s3c24xx/include/mach/regs-power.h index 4932b87bdf3d..4932b87bdf3d 100644 --- a/arch/arm/mach-s3c2410/include/mach/regs-power.h +++ b/arch/arm/mach-s3c24xx/include/mach/regs-power.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/regs-s3c2412-mem.h b/arch/arm/mach-s3c24xx/include/mach/regs-s3c2412-mem.h index fb6352515090..fb6352515090 100644 --- a/arch/arm/mach-s3c2410/include/mach/regs-s3c2412-mem.h +++ b/arch/arm/mach-s3c24xx/include/mach/regs-s3c2412-mem.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/regs-s3c2412.h b/arch/arm/mach-s3c24xx/include/mach/regs-s3c2412.h index aa69dc79bc38..aa69dc79bc38 100644 --- a/arch/arm/mach-s3c2410/include/mach/regs-s3c2412.h +++ b/arch/arm/mach-s3c24xx/include/mach/regs-s3c2412.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/regs-s3c2416-mem.h b/arch/arm/mach-s3c24xx/include/mach/regs-s3c2416-mem.h index 2f31b74974af..2f31b74974af 100644 --- a/arch/arm/mach-s3c2410/include/mach/regs-s3c2416-mem.h +++ b/arch/arm/mach-s3c24xx/include/mach/regs-s3c2416-mem.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/regs-s3c2416.h b/arch/arm/mach-s3c24xx/include/mach/regs-s3c2416.h index e443167efb87..e443167efb87 100644 --- a/arch/arm/mach-s3c2410/include/mach/regs-s3c2416.h +++ b/arch/arm/mach-s3c24xx/include/mach/regs-s3c2416.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/regs-s3c2443-clock.h b/arch/arm/mach-s3c24xx/include/mach/regs-s3c2443-clock.h index c3feff3c0488..c3feff3c0488 100644 --- a/arch/arm/mach-s3c2410/include/mach/regs-s3c2443-clock.h +++ b/arch/arm/mach-s3c24xx/include/mach/regs-s3c2443-clock.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/regs-sdi.h b/arch/arm/mach-s3c24xx/include/mach/regs-sdi.h index cbf2d8884e30..cbf2d8884e30 100644 --- a/arch/arm/mach-s3c2410/include/mach/regs-sdi.h +++ b/arch/arm/mach-s3c24xx/include/mach/regs-sdi.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/tick.h b/arch/arm/mach-s3c24xx/include/mach/tick.h index 544da41979db..544da41979db 100644 --- a/arch/arm/mach-s3c2410/include/mach/tick.h +++ b/arch/arm/mach-s3c24xx/include/mach/tick.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/timex.h b/arch/arm/mach-s3c24xx/include/mach/timex.h index fe9ca1ffd51b..fe9ca1ffd51b 100644 --- a/arch/arm/mach-s3c2410/include/mach/timex.h +++ b/arch/arm/mach-s3c24xx/include/mach/timex.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/uncompress.h b/arch/arm/mach-s3c24xx/include/mach/uncompress.h index 8b283f847daa..8b283f847daa 100644 --- a/arch/arm/mach-s3c2410/include/mach/uncompress.h +++ b/arch/arm/mach-s3c24xx/include/mach/uncompress.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/vr1000-cpld.h b/arch/arm/mach-s3c24xx/include/mach/vr1000-cpld.h index e4119913d7c5..e4119913d7c5 100644 --- a/arch/arm/mach-s3c2410/include/mach/vr1000-cpld.h +++ b/arch/arm/mach-s3c24xx/include/mach/vr1000-cpld.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/vr1000-irq.h b/arch/arm/mach-s3c24xx/include/mach/vr1000-irq.h index 47add133b8ee..47add133b8ee 100644 --- a/arch/arm/mach-s3c2410/include/mach/vr1000-irq.h +++ b/arch/arm/mach-s3c24xx/include/mach/vr1000-irq.h | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/vr1000-map.h b/arch/arm/mach-s3c24xx/include/mach/vr1000-map.h index 99612fcc4eb2..99612fcc4eb2 100644 --- a/arch/arm/mach-s3c2410/include/mach/vr1000-map.h +++ b/arch/arm/mach-s3c24xx/include/mach/vr1000-map.h | |||
diff --git a/arch/arm/mach-s3c2412/irq.c b/arch/arm/mach-s3c24xx/irq-s3c2412.c index e65619ddbccc..e65619ddbccc 100644 --- a/arch/arm/mach-s3c2412/irq.c +++ b/arch/arm/mach-s3c24xx/irq-s3c2412.c | |||
diff --git a/arch/arm/mach-s3c2416/irq.c b/arch/arm/mach-s3c24xx/irq-s3c2416.c index fd49f35e448e..fd49f35e448e 100644 --- a/arch/arm/mach-s3c2416/irq.c +++ b/arch/arm/mach-s3c24xx/irq-s3c2416.c | |||
diff --git a/arch/arm/mach-s3c2440/irq.c b/arch/arm/mach-s3c24xx/irq-s3c2440.c index 4a18cde439cc..4a18cde439cc 100644 --- a/arch/arm/mach-s3c2440/irq.c +++ b/arch/arm/mach-s3c24xx/irq-s3c2440.c | |||
diff --git a/arch/arm/mach-s3c2443/irq.c b/arch/arm/mach-s3c24xx/irq-s3c2443.c index ac2829f56d12..ac2829f56d12 100644 --- a/arch/arm/mach-s3c2443/irq.c +++ b/arch/arm/mach-s3c24xx/irq-s3c2443.c | |||
diff --git a/arch/arm/mach-s3c2440/s3c244x-irq.c b/arch/arm/mach-s3c24xx/irq-s3c244x.c index 5fe8e58d3afd..5fe8e58d3afd 100644 --- a/arch/arm/mach-s3c2440/s3c244x-irq.c +++ b/arch/arm/mach-s3c24xx/irq-s3c244x.c | |||
diff --git a/arch/arm/mach-s3c2410/mach-amlm5900.c b/arch/arm/mach-s3c24xx/mach-amlm5900.c index 4220cc60de3c..4220cc60de3c 100644 --- a/arch/arm/mach-s3c2410/mach-amlm5900.c +++ b/arch/arm/mach-s3c24xx/mach-amlm5900.c | |||
diff --git a/arch/arm/mach-s3c2440/mach-anubis.c b/arch/arm/mach-s3c24xx/mach-anubis.c index 24569550de1a..9e0f74515bb1 100644 --- a/arch/arm/mach-s3c2440/mach-anubis.c +++ b/arch/arm/mach-s3c24xx/mach-anubis.c | |||
@@ -55,6 +55,7 @@ | |||
55 | #include <plat/cpu.h> | 55 | #include <plat/cpu.h> |
56 | #include <plat/audio-simtec.h> | 56 | #include <plat/audio-simtec.h> |
57 | 57 | ||
58 | #include "simtec.h" | ||
58 | #include "common.h" | 59 | #include "common.h" |
59 | 60 | ||
60 | #define COPYRIGHT ", Copyright 2005-2009 Simtec Electronics" | 61 | #define COPYRIGHT ", Copyright 2005-2009 Simtec Electronics" |
diff --git a/arch/arm/mach-s3c2440/mach-at2440evb.c b/arch/arm/mach-s3c24xx/mach-at2440evb.c index d6a9763110cd..d6a9763110cd 100644 --- a/arch/arm/mach-s3c2440/mach-at2440evb.c +++ b/arch/arm/mach-s3c24xx/mach-at2440evb.c | |||
diff --git a/arch/arm/mach-s3c2410/mach-bast.c b/arch/arm/mach-s3c24xx/mach-bast.c index feeaf73933dc..53219c02eca0 100644 --- a/arch/arm/mach-s3c2410/mach-bast.c +++ b/arch/arm/mach-s3c24xx/mach-bast.c | |||
@@ -64,8 +64,7 @@ | |||
64 | #include <plat/gpio-cfg.h> | 64 | #include <plat/gpio-cfg.h> |
65 | #include <plat/audio-simtec.h> | 65 | #include <plat/audio-simtec.h> |
66 | 66 | ||
67 | #include "usb-simtec.h" | 67 | #include "simtec.h" |
68 | #include "nor-simtec.h" | ||
69 | #include "common.h" | 68 | #include "common.h" |
70 | 69 | ||
71 | #define COPYRIGHT ", Copyright 2004-2008 Simtec Electronics" | 70 | #define COPYRIGHT ", Copyright 2004-2008 Simtec Electronics" |
diff --git a/arch/arm/mach-s3c2440/mach-gta02.c b/arch/arm/mach-s3c24xx/mach-gta02.c index 7365a441cc5c..d0e0ad4e6598 100644 --- a/arch/arm/mach-s3c2440/mach-gta02.c +++ b/arch/arm/mach-s3c24xx/mach-gta02.c | |||
@@ -38,6 +38,7 @@ | |||
38 | #include <linux/platform_device.h> | 38 | #include <linux/platform_device.h> |
39 | #include <linux/serial_core.h> | 39 | #include <linux/serial_core.h> |
40 | #include <linux/spi/spi.h> | 40 | #include <linux/spi/spi.h> |
41 | #include <linux/spi/s3c24xx.h> | ||
41 | 42 | ||
42 | #include <linux/mmc/host.h> | 43 | #include <linux/mmc/host.h> |
43 | 44 | ||
@@ -73,7 +74,6 @@ | |||
73 | #include <mach/regs-gpioj.h> | 74 | #include <mach/regs-gpioj.h> |
74 | #include <mach/fb.h> | 75 | #include <mach/fb.h> |
75 | 76 | ||
76 | #include <mach/spi.h> | ||
77 | #include <plat/usb-control.h> | 77 | #include <plat/usb-control.h> |
78 | #include <mach/regs-mem.h> | 78 | #include <mach/regs-mem.h> |
79 | #include <mach/hardware.h> | 79 | #include <mach/hardware.h> |
diff --git a/arch/arm/mach-s3c2410/mach-h1940.c b/arch/arm/mach-s3c24xx/mach-h1940.c index 6b21ba107eab..6b21ba107eab 100644 --- a/arch/arm/mach-s3c2410/mach-h1940.c +++ b/arch/arm/mach-s3c24xx/mach-h1940.c | |||
diff --git a/arch/arm/mach-s3c2412/mach-jive.c b/arch/arm/mach-s3c24xx/mach-jive.c index ae73ba34ecc6..ae73ba34ecc6 100644 --- a/arch/arm/mach-s3c2412/mach-jive.c +++ b/arch/arm/mach-s3c24xx/mach-jive.c | |||
diff --git a/arch/arm/mach-s3c2440/mach-mini2440.c b/arch/arm/mach-s3c24xx/mach-mini2440.c index adbbb85bc4cd..adbbb85bc4cd 100644 --- a/arch/arm/mach-s3c2440/mach-mini2440.c +++ b/arch/arm/mach-s3c24xx/mach-mini2440.c | |||
diff --git a/arch/arm/mach-s3c2410/mach-n30.c b/arch/arm/mach-s3c24xx/mach-n30.c index 383d00ca8f60..383d00ca8f60 100644 --- a/arch/arm/mach-s3c2410/mach-n30.c +++ b/arch/arm/mach-s3c24xx/mach-n30.c | |||
diff --git a/arch/arm/mach-s3c2440/mach-nexcoder.c b/arch/arm/mach-s3c24xx/mach-nexcoder.c index 40eaf844bc1f..40eaf844bc1f 100644 --- a/arch/arm/mach-s3c2440/mach-nexcoder.c +++ b/arch/arm/mach-s3c24xx/mach-nexcoder.c | |||
diff --git a/arch/arm/mach-s3c2440/mach-osiris-dvs.c b/arch/arm/mach-s3c24xx/mach-osiris-dvs.c index ad2792dfbee1..ad2792dfbee1 100644 --- a/arch/arm/mach-s3c2440/mach-osiris-dvs.c +++ b/arch/arm/mach-s3c24xx/mach-osiris-dvs.c | |||
diff --git a/arch/arm/mach-s3c2440/mach-osiris.c b/arch/arm/mach-s3c24xx/mach-osiris.c index 4c480ef734f6..4c480ef734f6 100644 --- a/arch/arm/mach-s3c2440/mach-osiris.c +++ b/arch/arm/mach-s3c24xx/mach-osiris.c | |||
diff --git a/arch/arm/mach-s3c2410/mach-otom.c b/arch/arm/mach-s3c24xx/mach-otom.c index 5f1e0eeb38a9..5f1e0eeb38a9 100644 --- a/arch/arm/mach-s3c2410/mach-otom.c +++ b/arch/arm/mach-s3c24xx/mach-otom.c | |||
diff --git a/arch/arm/mach-s3c2410/mach-qt2410.c b/arch/arm/mach-s3c24xx/mach-qt2410.c index 91c16d9d2459..91c16d9d2459 100644 --- a/arch/arm/mach-s3c2410/mach-qt2410.c +++ b/arch/arm/mach-s3c24xx/mach-qt2410.c | |||
diff --git a/arch/arm/mach-s3c2440/mach-rx1950.c b/arch/arm/mach-s3c24xx/mach-rx1950.c index 4a8e2d34994c..4a8e2d34994c 100644 --- a/arch/arm/mach-s3c2440/mach-rx1950.c +++ b/arch/arm/mach-s3c24xx/mach-rx1950.c | |||
diff --git a/arch/arm/mach-s3c2440/mach-rx3715.c b/arch/arm/mach-s3c24xx/mach-rx3715.c index 20103bafbd4b..20103bafbd4b 100644 --- a/arch/arm/mach-s3c2440/mach-rx3715.c +++ b/arch/arm/mach-s3c24xx/mach-rx3715.c | |||
diff --git a/arch/arm/mach-s3c2410/mach-smdk2410.c b/arch/arm/mach-s3c24xx/mach-smdk2410.c index bdc27e772876..bdc27e772876 100644 --- a/arch/arm/mach-s3c2410/mach-smdk2410.c +++ b/arch/arm/mach-s3c24xx/mach-smdk2410.c | |||
diff --git a/arch/arm/mach-s3c2412/mach-smdk2413.c b/arch/arm/mach-s3c24xx/mach-smdk2413.c index b11451b853d8..b11451b853d8 100644 --- a/arch/arm/mach-s3c2412/mach-smdk2413.c +++ b/arch/arm/mach-s3c24xx/mach-smdk2413.c | |||
diff --git a/arch/arm/mach-s3c2416/mach-smdk2416.c b/arch/arm/mach-s3c24xx/mach-smdk2416.c index 30a44f806e01..30a44f806e01 100644 --- a/arch/arm/mach-s3c2416/mach-smdk2416.c +++ b/arch/arm/mach-s3c24xx/mach-smdk2416.c | |||
diff --git a/arch/arm/mach-s3c2440/mach-smdk2440.c b/arch/arm/mach-s3c24xx/mach-smdk2440.c index 1deb60d12a60..1deb60d12a60 100644 --- a/arch/arm/mach-s3c2440/mach-smdk2440.c +++ b/arch/arm/mach-s3c24xx/mach-smdk2440.c | |||
diff --git a/arch/arm/mach-s3c2443/mach-smdk2443.c b/arch/arm/mach-s3c24xx/mach-smdk2443.c index 209236956222..209236956222 100644 --- a/arch/arm/mach-s3c2443/mach-smdk2443.c +++ b/arch/arm/mach-s3c24xx/mach-smdk2443.c | |||
diff --git a/arch/arm/mach-s3c2410/mach-tct_hammer.c b/arch/arm/mach-s3c24xx/mach-tct_hammer.c index 1114666f0efb..1114666f0efb 100644 --- a/arch/arm/mach-s3c2410/mach-tct_hammer.c +++ b/arch/arm/mach-s3c24xx/mach-tct_hammer.c | |||
diff --git a/arch/arm/mach-s3c2410/mach-vr1000.c b/arch/arm/mach-s3c24xx/mach-vr1000.c index dbe668a803ef..87608d45dac4 100644 --- a/arch/arm/mach-s3c2410/mach-vr1000.c +++ b/arch/arm/mach-s3c24xx/mach-vr1000.c | |||
@@ -51,8 +51,7 @@ | |||
51 | #include <plat/iic.h> | 51 | #include <plat/iic.h> |
52 | #include <plat/audio-simtec.h> | 52 | #include <plat/audio-simtec.h> |
53 | 53 | ||
54 | #include "usb-simtec.h" | 54 | #include "simtec.h" |
55 | #include "nor-simtec.h" | ||
56 | #include "common.h" | 55 | #include "common.h" |
57 | 56 | ||
58 | /* macros for virtual address mods for the io space entries */ | 57 | /* macros for virtual address mods for the io space entries */ |
diff --git a/arch/arm/mach-s3c2412/mach-vstms.c b/arch/arm/mach-s3c24xx/mach-vstms.c index 94bfaa1fb148..94bfaa1fb148 100644 --- a/arch/arm/mach-s3c2412/mach-vstms.c +++ b/arch/arm/mach-s3c24xx/mach-vstms.c | |||
diff --git a/arch/arm/mach-s3c2410/pm-h1940.S b/arch/arm/mach-s3c24xx/pm-h1940.S index c93bf2db9f4d..c93bf2db9f4d 100644 --- a/arch/arm/mach-s3c2410/pm-h1940.S +++ b/arch/arm/mach-s3c24xx/pm-h1940.S | |||
diff --git a/arch/arm/mach-s3c2410/pm.c b/arch/arm/mach-s3c24xx/pm-s3c2410.c index 03f706dd6009..03f706dd6009 100644 --- a/arch/arm/mach-s3c2410/pm.c +++ b/arch/arm/mach-s3c24xx/pm-s3c2410.c | |||
diff --git a/arch/arm/mach-s3c2412/pm.c b/arch/arm/mach-s3c24xx/pm-s3c2412.c index d04588506ec4..d04588506ec4 100644 --- a/arch/arm/mach-s3c2412/pm.c +++ b/arch/arm/mach-s3c24xx/pm-s3c2412.c | |||
diff --git a/arch/arm/mach-s3c2416/pm.c b/arch/arm/mach-s3c24xx/pm-s3c2416.c index 1bd4817b8eb8..1bd4817b8eb8 100644 --- a/arch/arm/mach-s3c2416/pm.c +++ b/arch/arm/mach-s3c24xx/pm-s3c2416.c | |||
diff --git a/arch/arm/mach-s3c2410/s3c2410.c b/arch/arm/mach-s3c24xx/s3c2410.c index 061b6bb1a557..061b6bb1a557 100644 --- a/arch/arm/mach-s3c2410/s3c2410.c +++ b/arch/arm/mach-s3c24xx/s3c2410.c | |||
diff --git a/arch/arm/mach-s3c2412/s3c2412.c b/arch/arm/mach-s3c24xx/s3c2412.c index c6eac9871093..c6eac9871093 100644 --- a/arch/arm/mach-s3c2412/s3c2412.c +++ b/arch/arm/mach-s3c24xx/s3c2412.c | |||
diff --git a/arch/arm/mach-s3c2416/s3c2416.c b/arch/arm/mach-s3c24xx/s3c2416.c index 08bb0355159d..08bb0355159d 100644 --- a/arch/arm/mach-s3c2416/s3c2416.c +++ b/arch/arm/mach-s3c24xx/s3c2416.c | |||
diff --git a/arch/arm/mach-s3c2440/s3c2440.c b/arch/arm/mach-s3c24xx/s3c2440.c index 517623a09fc5..517623a09fc5 100644 --- a/arch/arm/mach-s3c2440/s3c2440.c +++ b/arch/arm/mach-s3c24xx/s3c2440.c | |||
diff --git a/arch/arm/mach-s3c2440/s3c2442.c b/arch/arm/mach-s3c24xx/s3c2442.c index 22cb7c94a8c8..22cb7c94a8c8 100644 --- a/arch/arm/mach-s3c2440/s3c2442.c +++ b/arch/arm/mach-s3c24xx/s3c2442.c | |||
diff --git a/arch/arm/mach-s3c2443/s3c2443.c b/arch/arm/mach-s3c24xx/s3c2443.c index b9deaeb0dfff..b9deaeb0dfff 100644 --- a/arch/arm/mach-s3c2443/s3c2443.c +++ b/arch/arm/mach-s3c24xx/s3c2443.c | |||
diff --git a/arch/arm/mach-s3c2440/s3c244x.c b/arch/arm/mach-s3c24xx/s3c244x.c index 36bc60f61d0a..36bc60f61d0a 100644 --- a/arch/arm/mach-s3c2440/s3c244x.c +++ b/arch/arm/mach-s3c24xx/s3c244x.c | |||
diff --git a/arch/arm/plat-s3c24xx/setup-i2c.c b/arch/arm/mach-s3c24xx/setup-i2c.c index 9e90a7cbd1d6..9e90a7cbd1d6 100644 --- a/arch/arm/plat-s3c24xx/setup-i2c.c +++ b/arch/arm/mach-s3c24xx/setup-i2c.c | |||
diff --git a/arch/arm/mach-s3c2416/setup-sdhci-gpio.c b/arch/arm/mach-s3c24xx/setup-sdhci-gpio.c index f65cb3ef16ce..f65cb3ef16ce 100644 --- a/arch/arm/mach-s3c2416/setup-sdhci-gpio.c +++ b/arch/arm/mach-s3c24xx/setup-sdhci-gpio.c | |||
diff --git a/arch/arm/plat-s3c24xx/setup-ts.c b/arch/arm/mach-s3c24xx/setup-ts.c index ed2638663675..ed2638663675 100644 --- a/arch/arm/plat-s3c24xx/setup-ts.c +++ b/arch/arm/mach-s3c24xx/setup-ts.c | |||
diff --git a/arch/arm/plat-s3c24xx/simtec-audio.c b/arch/arm/mach-s3c24xx/simtec-audio.c index 6bc832e0d8ea..11881c9a38c0 100644 --- a/arch/arm/plat-s3c24xx/simtec-audio.c +++ b/arch/arm/mach-s3c24xx/simtec-audio.c | |||
@@ -27,6 +27,8 @@ | |||
27 | #include <plat/audio-simtec.h> | 27 | #include <plat/audio-simtec.h> |
28 | #include <plat/devs.h> | 28 | #include <plat/devs.h> |
29 | 29 | ||
30 | #include "simtec.h" | ||
31 | |||
30 | /* platform ops for audio */ | 32 | /* platform ops for audio */ |
31 | 33 | ||
32 | static void simtec_audio_startup_lrroute(void) | 34 | static void simtec_audio_startup_lrroute(void) |
diff --git a/arch/arm/mach-s3c2410/nor-simtec.c b/arch/arm/mach-s3c24xx/simtec-nor.c index ad9f750f1e55..2119ca6a73bc 100644 --- a/arch/arm/mach-s3c2410/nor-simtec.c +++ b/arch/arm/mach-s3c24xx/simtec-nor.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include <mach/bast-map.h> | 30 | #include <mach/bast-map.h> |
31 | #include <mach/bast-cpld.h> | 31 | #include <mach/bast-cpld.h> |
32 | 32 | ||
33 | #include "nor-simtec.h" | 33 | #include "simtec.h" |
34 | 34 | ||
35 | static void simtec_nor_vpp(struct platform_device *pdev, int vpp) | 35 | static void simtec_nor_vpp(struct platform_device *pdev, int vpp) |
36 | { | 36 | { |
diff --git a/arch/arm/plat-s3c24xx/pm-simtec.c b/arch/arm/mach-s3c24xx/simtec-pm.c index 68296b1fe7e5..68296b1fe7e5 100644 --- a/arch/arm/plat-s3c24xx/pm-simtec.c +++ b/arch/arm/mach-s3c24xx/simtec-pm.c | |||
diff --git a/arch/arm/mach-s3c2410/usb-simtec.c b/arch/arm/mach-s3c24xx/simtec-usb.c index 29bd3d987bec..d91c1a725139 100644 --- a/arch/arm/mach-s3c2410/usb-simtec.c +++ b/arch/arm/mach-s3c24xx/simtec-usb.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include <plat/usb-control.h> | 37 | #include <plat/usb-control.h> |
38 | #include <plat/devs.h> | 38 | #include <plat/devs.h> |
39 | 39 | ||
40 | #include "usb-simtec.h" | 40 | #include "simtec.h" |
41 | 41 | ||
42 | /* control power and monitor over-current events on various Simtec | 42 | /* control power and monitor over-current events on various Simtec |
43 | * designed boards. | 43 | * designed boards. |
diff --git a/arch/arm/mach-s3c2410/nor-simtec.h b/arch/arm/mach-s3c24xx/simtec.h index f619c1e0d0c8..ae8f4f9ad2ee 100644 --- a/arch/arm/mach-s3c2410/nor-simtec.h +++ b/arch/arm/mach-s3c24xx/simtec.h | |||
@@ -4,11 +4,18 @@ | |||
4 | * http://armlinux.simtec.co.uk/ | 4 | * http://armlinux.simtec.co.uk/ |
5 | * Ben Dooks <ben@simtec.co.uk> | 5 | * Ben Dooks <ben@simtec.co.uk> |
6 | * | 6 | * |
7 | * Simtec NOR mapping | 7 | * Simtec common functions |
8 | * | 8 | * |
9 | * This program is free software; you can redistribute it and/or modify | 9 | * This program is free software; you can redistribute it and/or modify |
10 | * it under the terms of the GNU General Public License version 2 as | 10 | * it under the terms of the GNU General Public License version 2 as |
11 | * published by the Free Software Foundation. | 11 | * published by the Free Software Foundation. |
12 | */ | 12 | */ |
13 | 13 | ||
14 | struct s3c24xx_audio_simtec_pdata; | ||
15 | |||
14 | extern void nor_simtec_init(void); | 16 | extern void nor_simtec_init(void); |
17 | |||
18 | extern int usb_simtec_init(void); | ||
19 | |||
20 | extern int simtec_audio_add(const char *codec_name, bool has_lr_routing, | ||
21 | struct s3c24xx_audio_simtec_pdata *pdata); | ||
diff --git a/arch/arm/mach-s3c2410/sleep.S b/arch/arm/mach-s3c24xx/sleep-s3c2410.S index dd5b6388a5a5..dd5b6388a5a5 100644 --- a/arch/arm/mach-s3c2410/sleep.S +++ b/arch/arm/mach-s3c24xx/sleep-s3c2410.S | |||
diff --git a/arch/arm/mach-s3c2412/sleep.S b/arch/arm/mach-s3c24xx/sleep-s3c2412.S index c82418ed714d..c82418ed714d 100644 --- a/arch/arm/mach-s3c2412/sleep.S +++ b/arch/arm/mach-s3c24xx/sleep-s3c2412.S | |||
diff --git a/arch/arm/plat-s3c24xx/Kconfig b/arch/arm/plat-s3c24xx/Kconfig index d8973ac46bc4..21bf6adb9198 100644 --- a/arch/arm/plat-s3c24xx/Kconfig +++ b/arch/arm/plat-s3c24xx/Kconfig | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | config PLAT_S3C24XX | 5 | config PLAT_S3C24XX |
6 | bool | 6 | bool |
7 | depends on ARCH_S3C2410 | 7 | depends on ARCH_S3C24XX |
8 | default y | 8 | default y |
9 | select NO_IOPORT | 9 | select NO_IOPORT |
10 | select ARCH_REQUIRE_GPIOLIB | 10 | select ARCH_REQUIRE_GPIOLIB |
@@ -44,12 +44,6 @@ config S3C2410_CLOCK | |||
44 | Clock code for the S3C2410, and similar processors which | 44 | Clock code for the S3C2410, and similar processors which |
45 | is currently includes the S3C2410, S3C2440, S3C2442. | 45 | is currently includes the S3C2410, S3C2440, S3C2442. |
46 | 46 | ||
47 | config S3C2443_CLOCK | ||
48 | bool | ||
49 | help | ||
50 | Clock code for the S3C2443 and similar processors, which includes | ||
51 | the S3C2416 and S3C2450. | ||
52 | |||
53 | config S3C24XX_DCLK | 47 | config S3C24XX_DCLK |
54 | bool | 48 | bool |
55 | help | 49 | help |
@@ -76,15 +70,9 @@ config S3C24XX_GPIO_EXTRA128 | |||
76 | Add an extra 128 gpio numbers to the available GPIO pool. This is | 70 | Add an extra 128 gpio numbers to the available GPIO pool. This is |
77 | available for boards that need extra gpios for external devices. | 71 | available for boards that need extra gpios for external devices. |
78 | 72 | ||
79 | config PM_SIMTEC | 73 | config S3C24XX_DMA |
80 | bool | ||
81 | help | ||
82 | Common power management code for systems that are | ||
83 | compatible with the Simtec style of power management | ||
84 | |||
85 | config S3C2410_DMA | ||
86 | bool "S3C2410 DMA support" | 74 | bool "S3C2410 DMA support" |
87 | depends on ARCH_S3C2410 | 75 | depends on ARCH_S3C24XX |
88 | select S3C_DMA | 76 | select S3C_DMA |
89 | help | 77 | help |
90 | S3C2410 DMA support. This is needed for drivers like sound which | 78 | S3C2410 DMA support. This is needed for drivers like sound which |
@@ -93,31 +81,11 @@ config S3C2410_DMA | |||
93 | 81 | ||
94 | config S3C2410_DMA_DEBUG | 82 | config S3C2410_DMA_DEBUG |
95 | bool "S3C2410 DMA support debug" | 83 | bool "S3C2410 DMA support debug" |
96 | depends on ARCH_S3C2410 && S3C2410_DMA | 84 | depends on ARCH_S3C24XX && S3C2410_DMA |
97 | help | 85 | help |
98 | Enable debugging output for the DMA code. This option sends info | 86 | Enable debugging output for the DMA code. This option sends info |
99 | to the kernel log, at priority KERN_DEBUG. | 87 | to the kernel log, at priority KERN_DEBUG. |
100 | 88 | ||
101 | # SPI default pin configuration code | ||
102 | |||
103 | config S3C24XX_SPI_BUS0_GPE11_GPE12_GPE13 | ||
104 | bool | ||
105 | help | ||
106 | SPI GPIO configuration code for BUS0 when connected to | ||
107 | GPE11, GPE12 and GPE13. | ||
108 | |||
109 | config S3C24XX_SPI_BUS1_GPG5_GPG6_GPG7 | ||
110 | bool | ||
111 | help | ||
112 | SPI GPIO configuration code for BUS 1 when connected to | ||
113 | GPG5, GPG6 and GPG7. | ||
114 | |||
115 | config S3C24XX_SPI_BUS1_GPD8_GPD9_GPD10 | ||
116 | bool | ||
117 | help | ||
118 | SPI GPIO configuration code for BUS 1 when connected to | ||
119 | GPD8, GPD9 and GPD10. | ||
120 | |||
121 | # common code for s3c24xx based machines, such as the SMDKs. | 89 | # common code for s3c24xx based machines, such as the SMDKs. |
122 | 90 | ||
123 | # cpu frequency items common between s3c2410 and s3c2440/s3c2442 | 91 | # cpu frequency items common between s3c2410 and s3c2440/s3c2442 |
@@ -145,21 +113,4 @@ config S3C2412_IOTIMING | |||
145 | Intel node to select io timing code that is common to the s3c2412 | 113 | Intel node to select io timing code that is common to the s3c2412 |
146 | and the s3c2443. | 114 | and the s3c2443. |
147 | 115 | ||
148 | config MACH_SMDK | ||
149 | bool | ||
150 | help | ||
151 | Common machine code for SMDK2410 and SMDK2440 | ||
152 | |||
153 | config S3C24XX_SIMTEC_AUDIO | ||
154 | bool | ||
155 | depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS) | ||
156 | default y | ||
157 | help | ||
158 | Add audio devices for common Simtec S3C24XX boards | ||
159 | |||
160 | config S3C2410_SETUP_TS | ||
161 | bool | ||
162 | help | ||
163 | Compile in platform device definition for Samsung TouchScreen. | ||
164 | |||
165 | endif | 116 | endif |
diff --git a/arch/arm/plat-s3c24xx/Makefile b/arch/arm/plat-s3c24xx/Makefile index b2b01125de66..2467b800cc76 100644 --- a/arch/arm/plat-s3c24xx/Makefile +++ b/arch/arm/plat-s3c24xx/Makefile | |||
@@ -23,28 +23,11 @@ obj-$(CONFIG_CPU_FREQ_S3C24XX_DEBUGFS) += cpu-freq-debugfs.o | |||
23 | 23 | ||
24 | # Architecture dependent builds | 24 | # Architecture dependent builds |
25 | 25 | ||
26 | obj-$(CONFIG_PM_SIMTEC) += pm-simtec.o | ||
27 | obj-$(CONFIG_PM) += pm.o | 26 | obj-$(CONFIG_PM) += pm.o |
28 | obj-$(CONFIG_PM) += irq-pm.o | 27 | obj-$(CONFIG_PM) += irq-pm.o |
29 | obj-$(CONFIG_PM) += sleep.o | 28 | obj-$(CONFIG_PM) += sleep.o |
30 | obj-$(CONFIG_S3C2410_CLOCK) += s3c2410-clock.o | 29 | obj-$(CONFIG_S3C2410_CLOCK) += s3c2410-clock.o |
31 | obj-$(CONFIG_S3C2443_CLOCK) += s3c2443-clock.o | 30 | obj-$(CONFIG_S3C24XX_DMA) += dma.o |
32 | obj-$(CONFIG_S3C2410_DMA) += dma.o | ||
33 | obj-$(CONFIG_S3C2410_IOTIMING) += s3c2410-iotiming.o | 31 | obj-$(CONFIG_S3C2410_IOTIMING) += s3c2410-iotiming.o |
34 | obj-$(CONFIG_S3C2412_IOTIMING) += s3c2412-iotiming.o | 32 | obj-$(CONFIG_S3C2412_IOTIMING) += s3c2412-iotiming.o |
35 | obj-$(CONFIG_S3C2410_CPUFREQ_UTILS) += s3c2410-cpufreq-utils.o | 33 | obj-$(CONFIG_S3C2410_CPUFREQ_UTILS) += s3c2410-cpufreq-utils.o |
36 | |||
37 | # device specific setup and/or initialisation | ||
38 | obj-$(CONFIG_ARCH_S3C2410) += setup-i2c.o | ||
39 | obj-$(CONFIG_S3C2410_SETUP_TS) += setup-ts.o | ||
40 | |||
41 | # SPI gpio central GPIO functions | ||
42 | |||
43 | obj-$(CONFIG_S3C24XX_SPI_BUS0_GPE11_GPE12_GPE13) += spi-bus0-gpe11_12_13.o | ||
44 | obj-$(CONFIG_S3C24XX_SPI_BUS1_GPG5_GPG6_GPG7) += spi-bus1-gpg5_6_7.o | ||
45 | obj-$(CONFIG_S3C24XX_SPI_BUS1_GPD8_GPD9_GPD10) += spi-bus1-gpd8_9_10.o | ||
46 | |||
47 | # machine common support | ||
48 | |||
49 | obj-$(CONFIG_MACH_SMDK) += common-smdk.o | ||
50 | obj-$(CONFIG_S3C24XX_SIMTEC_AUDIO) += simtec-audio.o | ||
diff --git a/arch/arm/plat-s3c24xx/spi-bus0-gpe11_12_13.c b/arch/arm/plat-s3c24xx/spi-bus0-gpe11_12_13.c deleted file mode 100644 index 704175b0573f..000000000000 --- a/arch/arm/plat-s3c24xx/spi-bus0-gpe11_12_13.c +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | /* linux/arch/arm/plat-s3c24xx/spi-bus0-gpe11_12_13.c | ||
2 | * | ||
3 | * Copyright (c) 2008 Simtec Electronics | ||
4 | * http://armlinux.simtec.co.uk/ | ||
5 | * Ben Dooks <ben@simtec.co.uk> | ||
6 | * | ||
7 | * S3C24XX SPI - gpio configuration for bus 0 on gpe11,12,13 | ||
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License as published by | ||
11 | * the Free Software Foundation; either version 2 of the License. | ||
12 | */ | ||
13 | |||
14 | #include <linux/kernel.h> | ||
15 | #include <linux/gpio.h> | ||
16 | |||
17 | #include <mach/spi.h> | ||
18 | #include <mach/regs-gpio.h> | ||
19 | |||
20 | void s3c24xx_spi_gpiocfg_bus0_gpe11_12_13(struct s3c2410_spi_info *spi, | ||
21 | int enable) | ||
22 | { | ||
23 | if (enable) { | ||
24 | s3c_gpio_cfgpin(S3C2410_GPE(13), S3C2410_GPE13_SPICLK0); | ||
25 | s3c_gpio_cfgpin(S3C2410_GPE(12), S3C2410_GPE12_SPIMOSI0); | ||
26 | s3c_gpio_cfgpin(S3C2410_GPE(11), S3C2410_GPE11_SPIMISO0); | ||
27 | s3c2410_gpio_pullup(S3C2410_GPE(11), 0); | ||
28 | s3c2410_gpio_pullup(S3C2410_GPE(13), 0); | ||
29 | } else { | ||
30 | s3c_gpio_cfgpin(S3C2410_GPE(13), S3C2410_GPIO_INPUT); | ||
31 | s3c_gpio_cfgpin(S3C2410_GPE(11), S3C2410_GPIO_INPUT); | ||
32 | s3c_gpio_setpull(S3C2410_GPE(11), S3C_GPIO_PULL_NONE); | ||
33 | s3c_gpio_setpull(S3C2410_GPE(12), S3C_GPIO_PULL_NONE); | ||
34 | s3c_gpio_setpull(S3C2410_GPE(13), S3C_GPIO_PULL_NONE); | ||
35 | } | ||
36 | } | ||
diff --git a/arch/arm/plat-s3c24xx/spi-bus1-gpd8_9_10.c b/arch/arm/plat-s3c24xx/spi-bus1-gpd8_9_10.c deleted file mode 100644 index 72457afd6255..000000000000 --- a/arch/arm/plat-s3c24xx/spi-bus1-gpd8_9_10.c +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | /* linux/arch/arm/plat-s3c24xx/spi-bus0-gpd8_9_10.c | ||
2 | * | ||
3 | * Copyright (c) 2008 Simtec Electronics | ||
4 | * http://armlinux.simtec.co.uk/ | ||
5 | * Ben Dooks <ben@simtec.co.uk> | ||
6 | * | ||
7 | * S3C24XX SPI - gpio configuration for bus 1 on gpd8,9,10 | ||
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License as published by | ||
11 | * the Free Software Foundation; either version 2 of the License. | ||
12 | */ | ||
13 | |||
14 | #include <linux/kernel.h> | ||
15 | #include <linux/gpio.h> | ||
16 | |||
17 | #include <mach/spi.h> | ||
18 | #include <mach/regs-gpio.h> | ||
19 | |||
20 | void s3c24xx_spi_gpiocfg_bus1_gpd8_9_10(struct s3c2410_spi_info *spi, | ||
21 | int enable) | ||
22 | { | ||
23 | |||
24 | printk(KERN_INFO "%s(%d)\n", __func__, enable); | ||
25 | if (enable) { | ||
26 | s3c_gpio_cfgpin(S3C2410_GPD(10), S3C2440_GPD10_SPICLK1); | ||
27 | s3c_gpio_cfgpin(S3C2410_GPD(9), S3C2440_GPD9_SPIMOSI1); | ||
28 | s3c_gpio_cfgpin(S3C2410_GPD(8), S3C2440_GPD8_SPIMISO1); | ||
29 | s3c2410_gpio_pullup(S3C2410_GPD(10), 0); | ||
30 | s3c2410_gpio_pullup(S3C2410_GPD(9), 0); | ||
31 | } else { | ||
32 | s3c_gpio_cfgpin(S3C2410_GPD(8), S3C2410_GPIO_INPUT); | ||
33 | s3c_gpio_cfgpin(S3C2410_GPD(9), S3C2410_GPIO_INPUT); | ||
34 | s3c_gpio_setpull(S3C2410_GPD(10), S3C_GPIO_PULL_NONE); | ||
35 | s3c_gpio_setpull(S3C2410_GPD(9), S3C_GPIO_PULL_NONE); | ||
36 | s3c_gpio_setpull(S3C2410_GPD(8), S3C_GPIO_PULL_NONE); | ||
37 | } | ||
38 | } | ||
diff --git a/arch/arm/plat-s3c24xx/spi-bus1-gpg5_6_7.c b/arch/arm/plat-s3c24xx/spi-bus1-gpg5_6_7.c deleted file mode 100644 index c3972b645d13..000000000000 --- a/arch/arm/plat-s3c24xx/spi-bus1-gpg5_6_7.c +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | /* linux/arch/arm/plat-s3c24xx/spi-bus0-gpg5_6_7.c | ||
2 | * | ||
3 | * Copyright (c) 2008 Simtec Electronics | ||
4 | * http://armlinux.simtec.co.uk/ | ||
5 | * Ben Dooks <ben@simtec.co.uk> | ||
6 | * | ||
7 | * S3C24XX SPI - gpio configuration for bus 1 on gpg5,6,7 | ||
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License as published by | ||
11 | * the Free Software Foundation; either version 2 of the License. | ||
12 | */ | ||
13 | |||
14 | #include <linux/kernel.h> | ||
15 | #include <linux/gpio.h> | ||
16 | |||
17 | #include <mach/spi.h> | ||
18 | #include <mach/regs-gpio.h> | ||
19 | |||
20 | void s3c24xx_spi_gpiocfg_bus1_gpg5_6_7(struct s3c2410_spi_info *spi, | ||
21 | int enable) | ||
22 | { | ||
23 | if (enable) { | ||
24 | s3c_gpio_cfgpin(S3C2410_GPG(7), S3C2410_GPG7_SPICLK1); | ||
25 | s3c_gpio_cfgpin(S3C2410_GPG(6), S3C2410_GPG6_SPIMOSI1); | ||
26 | s3c_gpio_cfgpin(S3C2410_GPG(5), S3C2410_GPG5_SPIMISO1); | ||
27 | s3c2410_gpio_pullup(S3C2410_GPG(5), 0); | ||
28 | s3c2410_gpio_pullup(S3C2410_GPG(6), 0); | ||
29 | } else { | ||
30 | s3c_gpio_cfgpin(S3C2410_GPG(7), S3C2410_GPIO_INPUT); | ||
31 | s3c_gpio_cfgpin(S3C2410_GPG(5), S3C2410_GPIO_INPUT); | ||
32 | s3c_gpio_setpull(S3C2410_GPG(5), S3C_GPIO_PULL_NONE); | ||
33 | s3c_gpio_setpull(S3C2410_GPG(6), S3C_GPIO_PULL_NONE); | ||
34 | s3c_gpio_setpull(S3C2410_GPG(7), S3C_GPIO_PULL_NONE); | ||
35 | } | ||
36 | } | ||
diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig index 6a2abe67c8b2..71553f410016 100644 --- a/arch/arm/plat-samsung/Kconfig +++ b/arch/arm/plat-samsung/Kconfig | |||
@@ -205,7 +205,7 @@ config S3C_DEV_USB_HSOTG | |||
205 | 205 | ||
206 | config S3C_DEV_WDT | 206 | config S3C_DEV_WDT |
207 | bool | 207 | bool |
208 | default y if ARCH_S3C2410 | 208 | default y if ARCH_S3C24XX |
209 | help | 209 | help |
210 | Complie in platform device definition for Watchdog Timer | 210 | Complie in platform device definition for Watchdog Timer |
211 | 211 | ||
@@ -264,7 +264,7 @@ config SAMSUNG_DEV_KEYPAD | |||
264 | 264 | ||
265 | config SAMSUNG_DEV_PWM | 265 | config SAMSUNG_DEV_PWM |
266 | bool | 266 | bool |
267 | default y if ARCH_S3C2410 | 267 | default y if ARCH_S3C24XX |
268 | help | 268 | help |
269 | Compile in platform device definition for PWM Timer | 269 | Compile in platform device definition for PWM Timer |
270 | 270 | ||
diff --git a/arch/arm/plat-samsung/include/plat/audio-simtec.h b/arch/arm/plat-samsung/include/plat/audio-simtec.h index 5345364e7420..376af5286a3e 100644 --- a/arch/arm/plat-samsung/include/plat/audio-simtec.h +++ b/arch/arm/plat-samsung/include/plat/audio-simtec.h | |||
@@ -32,6 +32,3 @@ struct s3c24xx_audio_simtec_pdata { | |||
32 | 32 | ||
33 | void (*startup)(void); | 33 | void (*startup)(void); |
34 | }; | 34 | }; |
35 | |||
36 | extern int simtec_audio_add(const char *codec_name, bool has_lr_routing, | ||
37 | struct s3c24xx_audio_simtec_pdata *pdata); | ||
diff --git a/arch/arm/plat-samsung/include/plat/clock.h b/arch/arm/plat-samsung/include/plat/clock.h index 73c66d4d10fa..a62753dc15ba 100644 --- a/arch/arm/plat-samsung/include/plat/clock.h +++ b/arch/arm/plat-samsung/include/plat/clock.h | |||
@@ -79,6 +79,10 @@ extern struct clk clk_epll; | |||
79 | extern struct clk clk_xtal; | 79 | extern struct clk clk_xtal; |
80 | extern struct clk clk_ext; | 80 | extern struct clk clk_ext; |
81 | 81 | ||
82 | /* S3C2443/S3C2416 specific clocks */ | ||
83 | extern struct clksrc_clk clk_epllref; | ||
84 | extern struct clksrc_clk clk_esysclk; | ||
85 | |||
82 | /* S3C64XX specific clocks */ | 86 | /* S3C64XX specific clocks */ |
83 | extern struct clk clk_h2; | 87 | extern struct clk clk_h2; |
84 | extern struct clk clk_27m; | 88 | extern struct clk clk_27m; |
@@ -114,7 +118,23 @@ extern void s3c24xx_setup_clocks(unsigned long fclk, | |||
114 | extern void s3c2410_setup_clocks(void); | 118 | extern void s3c2410_setup_clocks(void); |
115 | extern void s3c2412_setup_clocks(void); | 119 | extern void s3c2412_setup_clocks(void); |
116 | extern void s3c244x_setup_clocks(void); | 120 | extern void s3c244x_setup_clocks(void); |
117 | extern void s3c2443_setup_clocks(void); | 121 | |
122 | /* S3C2410 specific clock functions */ | ||
123 | |||
124 | extern int s3c2410_baseclk_add(void); | ||
125 | |||
126 | /* S3C2443/S3C2416 specific clock functions */ | ||
127 | |||
128 | typedef unsigned int (*pll_fn)(unsigned int reg, unsigned int base); | ||
129 | |||
130 | extern void s3c2443_common_setup_clocks(pll_fn get_mpll); | ||
131 | extern void s3c2443_common_init_clocks(int xtal, pll_fn get_mpll, | ||
132 | unsigned int *divs, int nr_divs, | ||
133 | int divmask); | ||
134 | |||
135 | extern int s3c2443_clkcon_enable_h(struct clk *clk, int enable); | ||
136 | extern int s3c2443_clkcon_enable_p(struct clk *clk, int enable); | ||
137 | extern int s3c2443_clkcon_enable_s(struct clk *clk, int enable); | ||
118 | 138 | ||
119 | /* S3C64XX specific functions and clocks */ | 139 | /* S3C64XX specific functions and clocks */ |
120 | 140 | ||
diff --git a/arch/arm/plat-samsung/include/plat/regs-dma.h b/arch/arm/plat-samsung/include/plat/regs-dma.h index 178bccbe4804..a7d622ef16af 100644 --- a/arch/arm/plat-samsung/include/plat/regs-dma.h +++ b/arch/arm/plat-samsung/include/plat/regs-dma.h | |||
@@ -119,7 +119,7 @@ | |||
119 | #define S3C2412_DMAREQSEL_UART2_1 S3C2412_DMAREQSEL_SRC(24) | 119 | #define S3C2412_DMAREQSEL_UART2_1 S3C2412_DMAREQSEL_SRC(24) |
120 | #endif /* CONFIG_CPU_S3C2412 */ | 120 | #endif /* CONFIG_CPU_S3C2412 */ |
121 | 121 | ||
122 | #ifdef CONFIG_CPU_S3C2443 | 122 | #if defined(CONFIG_CPU_S3C2416) || defined(CONFIG_CPU_S3C2443) |
123 | 123 | ||
124 | #define S3C2443_DMAREQSEL_SRC(x) ((x) << 1) | 124 | #define S3C2443_DMAREQSEL_SRC(x) ((x) << 1) |
125 | 125 | ||
diff --git a/arch/arm/plat-samsung/include/plat/s3c2410.h b/arch/arm/plat-samsung/include/plat/s3c2410.h index 3986497dd3f7..55b0e5f51e97 100644 --- a/arch/arm/plat-samsung/include/plat/s3c2410.h +++ b/arch/arm/plat-samsung/include/plat/s3c2410.h | |||
@@ -29,5 +29,3 @@ extern void s3c2410_init_clocks(int xtal); | |||
29 | #define s3c2410_init NULL | 29 | #define s3c2410_init NULL |
30 | #define s3c2410a_init NULL | 30 | #define s3c2410a_init NULL |
31 | #endif | 31 | #endif |
32 | |||
33 | extern int s3c2410_baseclk_add(void); | ||
diff --git a/arch/arm/plat-samsung/include/plat/s3c2443.h b/arch/arm/plat-samsung/include/plat/s3c2443.h index dce05b43d51c..a5b794ff838b 100644 --- a/arch/arm/plat-samsung/include/plat/s3c2443.h +++ b/arch/arm/plat-samsung/include/plat/s3c2443.h | |||
@@ -32,23 +32,3 @@ extern void s3c2443_restart(char mode, const char *cmd); | |||
32 | #define s3c2443_init NULL | 32 | #define s3c2443_init NULL |
33 | #define s3c2443_restart NULL | 33 | #define s3c2443_restart NULL |
34 | #endif | 34 | #endif |
35 | |||
36 | /* common code used by s3c2443 and others. | ||
37 | * note, not to be used outside of arch/arm/mach-s3c* */ | ||
38 | |||
39 | struct clk; /* some files don't need clk.h otherwise */ | ||
40 | |||
41 | typedef unsigned int (*pll_fn)(unsigned int reg, unsigned int base); | ||
42 | |||
43 | extern void s3c2443_common_setup_clocks(pll_fn get_mpll); | ||
44 | extern void s3c2443_common_init_clocks(int xtal, pll_fn get_mpll, | ||
45 | unsigned int *divs, int nr_divs, | ||
46 | int divmask); | ||
47 | |||
48 | extern int s3c2443_clkcon_enable_h(struct clk *clk, int enable); | ||
49 | extern int s3c2443_clkcon_enable_p(struct clk *clk, int enable); | ||
50 | extern int s3c2443_clkcon_enable_s(struct clk *clk, int enable); | ||
51 | |||
52 | extern struct clksrc_clk clk_epllref; | ||
53 | extern struct clksrc_clk clk_esysclk; | ||
54 | extern struct clksrc_clk clk_msysclk; | ||