···763763 help764764 Support for StrongARM 11x0 based boards.765765766766-config ARCH_S3C2410767767- bool "Samsung S3C2410, S3C2412, S3C2413, S3C2416, S3C2440, S3C2442, S3C2443, S3C2450"766766+config ARCH_S3C24XX767767+ bool "Samsung S3C24XX SoCs"768768 select GENERIC_GPIO769769 select ARCH_HAS_CPUFREQ770770 select HAVE_CLK771771 select CLKDEV_LOOKUP772772 select ARCH_USES_GETTIMEOFFSET773773 select HAVE_S3C2410_I2C if I2C774774+ select HAVE_S3C_RTC if RTC_CLASS775775+ select HAVE_S3C2410_WATCHDOG if WATCHDOG774776 help775775- Samsung S3C2410X CPU based systems, such as the Simtec Electronics776776- BAST (<http://www.simtec.co.uk/products/EB110ITX/>), the IPAQ 1940 or777777- the Samsung SMDK2410 development board (and derivatives).778778-779779- Note, the S3C2416 and the S3C2450 are so close that they even share780780- the same SoC ID code. This means that there is no separate machine781781- directory (no arch/arm/mach-s3c2450) as the S3C2416 was first.777777+ Samsung S3C2410, S3C2412, S3C2413, S3C2416, S3C2440, S3C2442, S3C2443778778+ and S3C2450 SoCs based systems, such as the Simtec Electronics BAST779779+ (<http://www.simtec.co.uk/products/EB110ITX/>), the IPAQ 1940 or the780780+ Samsung SMDK2410 development board (and derivatives).782781783782config ARCH_S3C64XX784783 bool "Samsung S3C64XX"···1065106610661067source "arch/arm/plat-spear/Kconfig"1067106810681068-if ARCH_S3C241010691069-source "arch/arm/mach-s3c2410/Kconfig"10691069+source "arch/arm/mach-s3c24xx/Kconfig"10701070+if ARCH_S3C24XX10701071source "arch/arm/mach-s3c2412/Kconfig"10711072source "arch/arm/mach-s3c2416/Kconfig"10721073source "arch/arm/mach-s3c2440/Kconfig"10731073-source "arch/arm/mach-s3c2443/Kconfig"10741074endif1075107510761076if ARCH_S3C64XX···1586158815871589config HZ15881590 int15891589- default 200 if ARCH_EBSA110 || ARCH_S3C2410 || ARCH_S5P64X0 || \15911591+ default 200 if ARCH_EBSA110 || ARCH_S3C24XX || ARCH_S5P64X0 || \15901592 ARCH_S5PV210 || ARCH_EXYNOS415911593 default OMAP_32K_TIMER_HZ if ARCH_OMAP && OMAP_32K_TIMER15921594 default AT91_TIMER_HZ if ARCH_AT91···2112211421132115config CPU_FREQ_S3C24XX21142116 bool "CPUfreq driver for Samsung S3C24XX series CPUs (EXPERIMENTAL)"21152115- depends on ARCH_S3C2410 && CPU_FREQ && EXPERIMENTAL21172117+ depends on ARCH_S3C24XX && CPU_FREQ && EXPERIMENTAL21162118 select CPU_FREQ_S3C21172119 help21182120 This enables the CPUfreq driver for the Samsung S3C24XX family
···1313CONFIG_MODULE_FORCE_UNLOAD=y1414# CONFIG_BLK_DEV_BSG is not set1515CONFIG_BLK_DEV_INTEGRITY=y1616-CONFIG_ARCH_S3C2410=y1616+CONFIG_ARCH_S3C24XX=y1717CONFIG_S3C_ADC=y1818CONFIG_S3C24XX_PWM=y1919CONFIG_MACH_MINI2440=y
+18-39
arch/arm/configs/s3c2410_defconfig
···33CONFIG_IKCONFIG=m44CONFIG_IKCONFIG_PROC=y55CONFIG_LOG_BUF_SHIFT=1666-CONFIG_SYSFS_DEPRECATED_V2=y76CONFIG_BLK_DEV_INITRD=y87CONFIG_SLAB=y98CONFIG_MODULES=y109CONFIG_MODULE_UNLOAD=y1110# CONFIG_BLK_DEV_BSG is not set1212-CONFIG_ARCH_S3C2410=y1111+CONFIG_PARTITION_ADVANCED=y1212+CONFIG_BSD_DISKLABEL=y1313+CONFIG_SOLARIS_X86_PARTITION=y1414+CONFIG_ARCH_S3C24XX=y1315CONFIG_S3C_BOOT_ERROR_RESET=y1416CONFIG_S3C_ADC=y1517CONFIG_S3C24XX_PWM=y1616-CONFIG_ARCH_SMDK2410=y1818+CONFIG_CPU_S3C2412=y1919+CONFIG_CPU_S3C2416=y2020+CONFIG_CPU_S3C2440=y2121+CONFIG_CPU_S3C2442=y2222+CONFIG_CPU_S3C2443=y2323+CONFIG_MACH_AML_M5900=y2424+CONFIG_ARCH_BAST=y1725CONFIG_ARCH_H1940=y1826CONFIG_MACH_N30=y1919-CONFIG_ARCH_BAST=y2027CONFIG_MACH_OTOM=y2121-CONFIG_MACH_AML_M5900=y2828+CONFIG_MACH_QT2410=y2929+CONFIG_ARCH_SMDK2410=y2230CONFIG_MACH_TCT_HAMMER=y2331CONFIG_MACH_VR1000=y2424-CONFIG_MACH_QT2410=y2532CONFIG_MACH_JIVE=y2633CONFIG_MACH_SMDK2412=y2734CONFIG_MACH_VSTMS=y2835CONFIG_MACH_SMDK2416=y2936CONFIG_MACH_ANUBIS=y3030-CONFIG_MACH_NEO1973_GTA02=y3737+CONFIG_MACH_AT2440EVB=y3838+CONFIG_MACH_MINI2440=y3939+CONFIG_MACH_NEXCODER_2440=y3140CONFIG_MACH_OSIRIS=y3241CONFIG_MACH_OSIRIS_DVS=m3342CONFIG_MACH_RX3715=y3443CONFIG_ARCH_S3C2440=y3535-CONFIG_MACH_NEXCODER_2440=y3636-CONFIG_SMDK2440_CPU2442=y3737-CONFIG_MACH_AT2440EVB=y3838-CONFIG_MACH_MINI2440=y4444+CONFIG_MACH_NEO1973_GTA02=y3945CONFIG_MACH_RX1950=y4646+CONFIG_SMDK2440_CPU2442=y4047CONFIG_MACH_SMDK2443=y4148# CONFIG_ARM_THUMB is not set4249CONFIG_ZBOOT_ROM_TEXT=0x0···5245CONFIG_FPE_NWFPE=y5346CONFIG_FPE_NWFPE_XP=y5447CONFIG_BINFMT_AOUT=y5555-CONFIG_PM=y5648CONFIG_APM_EMULATION=m5749CONFIG_NET=y5850CONFIG_PACKET=y···6458CONFIG_IP_PNP_DHCP=y6559CONFIG_IP_PNP_BOOTP=y6660CONFIG_NET_IPIP=m6767-CONFIG_NET_IPGRE=m6861CONFIG_INET_AH=m6962CONFIG_INET_ESP=m7063CONFIG_INET_IPCOMP=m···8580CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION=m8681CONFIG_IPV6_TUNNEL=m8782CONFIG_NETFILTER=y8888-CONFIG_NETFILTER_NETLINK_QUEUE=m8983CONFIG_NF_CONNTRACK=m9084CONFIG_NF_CONNTRACK_EVENTS=y9185CONFIG_NF_CT_PROTO_DCCP=m···142138CONFIG_NF_CONNTRACK_IPV4=m143139CONFIG_IP_NF_QUEUE=m144140CONFIG_IP_NF_IPTABLES=m145145-CONFIG_IP_NF_MATCH_ADDRTYPE=m146141CONFIG_IP_NF_MATCH_AH=m147142CONFIG_IP_NF_MATCH_ECN=m148143CONFIG_IP_NF_MATCH_TTL=m···153150CONFIG_IP_NF_TARGET_MASQUERADE=m154151CONFIG_IP_NF_TARGET_NETMAP=m155152CONFIG_IP_NF_TARGET_REDIRECT=m156156-CONFIG_NF_NAT_SNMP_BASIC=m157153CONFIG_IP_NF_MANGLE=m158154CONFIG_IP_NF_TARGET_CLUSTERIP=m159155CONFIG_IP_NF_TARGET_ECN=m···179177CONFIG_IP6_NF_MANGLE=m180178CONFIG_IP6_NF_RAW=m181179CONFIG_BT=m182182-CONFIG_BT_L2CAP=m183183-CONFIG_BT_SCO=m184180CONFIG_BT_RFCOMM=m185181CONFIG_BT_RFCOMM_TTY=y186182CONFIG_BT_BNEP=m···199199CONFIG_MAC80211_LEDS=y200200CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"201201CONFIG_MTD=y202202-CONFIG_MTD_PARTITIONS=y203202CONFIG_MTD_REDBOOT_PARTS=y204203CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED=y205204CONFIG_MTD_CMDLINE_PARTS=y···220221CONFIG_BLK_DEV_UB=m221222CONFIG_BLK_DEV_RAM=y222223CONFIG_ATA_OVER_ETH=m223223-CONFIG_EEPROM_AT25=m224224-CONFIG_EEPROM_LEGACY=m225225-CONFIG_EEPROM_93CX6=m226224CONFIG_IDE=y227225CONFIG_BLK_DEV_IDECD=y228226CONFIG_BLK_DEV_IDETAPE=m···236240CONFIG_SCSI_CONSTANTS=y237241CONFIG_SCSI_SCAN_ASYNC=y238242CONFIG_NETDEVICES=y239239-CONFIG_NET_ETHERNET=y240243CONFIG_DM9000=y241244CONFIG_INPUT_EVDEV=y242245CONFIG_MOUSE_APPLETOUCH=m···269274CONFIG_INPUT_TOUCHSCREEN=y270275CONFIG_TOUCHSCREEN_USB_COMPOSITE=m271276CONFIG_INPUT_MISC=y272272-CONFIG_INPUT_ATI_REMOTE=m273277CONFIG_INPUT_ATI_REMOTE2=m274278CONFIG_INPUT_KEYSPAN_REMOTE=m275279CONFIG_INPUT_POWERMATE=m···294300CONFIG_SPI=y295301CONFIG_SPI_GPIO=m296302CONFIG_SPI_S3C24XX=m297297-CONFIG_SPI_S3C24XX_GPIO=m298303CONFIG_SPI_SPIDEV=m299304CONFIG_SPI_TLE62X0=m300305CONFIG_SENSORS_LM75=m···308315CONFIG_FB_S3C2410=y309316CONFIG_FB_SM501=y310317CONFIG_BACKLIGHT_PWM=m311311-# CONFIG_VGA_CONSOLE is not set312318CONFIG_FRAMEBUFFER_CONSOLE=y313319CONFIG_SOUND=y314320CONFIG_SND=y···322330CONFIG_SND_USB_AUDIO=m323331CONFIG_SND_USB_CAIAQ=m324332CONFIG_SND_SOC=y325325-CONFIG_SND_S3C24XX_SOC=y326326-CONFIG_SND_S3C24XX_SOC_JIVE_WM8750=m327327-CONFIG_SND_S3C24XX_SOC_SMDK2443_WM9710=m328328-CONFIG_SND_S3C24XX_SOC_LN2440SBC_ALC650=m329333# CONFIG_USB_HID is not set330334CONFIG_USB=y331335CONFIG_USB_DEVICEFS=y···375387CONFIG_MMC_SDHCI=m376388CONFIG_MMC_SPI=m377389CONFIG_MMC_S3C=y378378-CONFIG_LEDS_CLASS=m379390CONFIG_LEDS_S3C24XX=m380380-CONFIG_LEDS_H1940=m381391CONFIG_LEDS_PCA9532=m382392CONFIG_LEDS_GPIO=m383393CONFIG_LEDS_PCA955X=m···396410CONFIG_EXT3_FS_POSIX_ACL=y397411CONFIG_EXT4_FS=m398412CONFIG_EXT4_FS_POSIX_ACL=y399399-CONFIG_INOTIFY=y400400-CONFIG_AUTOFS_FS=m401413CONFIG_AUTOFS4_FS=m402414CONFIG_FUSE_FS=m403415CONFIG_ISO9660_FS=y···420436CONFIG_NFSD_V3_ACL=y421437CONFIG_NFSD_V4=y422438CONFIG_CIFS=m423423-CONFIG_PARTITION_ADVANCED=y424424-CONFIG_BSD_DISKLABEL=y425425-CONFIG_SOLARIS_X86_PARTITION=y426439CONFIG_NLS_CODEPAGE_437=y427440CONFIG_NLS_CODEPAGE_737=m428441CONFIG_NLS_CODEPAGE_775=m···462481CONFIG_DEBUG_KERNEL=y463482CONFIG_DEBUG_MUTEXES=y464483CONFIG_DEBUG_INFO=y465465-# CONFIG_RCU_CPU_STALL_DETECTOR is not set466484CONFIG_SYSCTL_SYSCALL_CHECK=y467485CONFIG_DEBUG_USER=y468468-CONFIG_DEBUG_ERRORS=y469486CONFIG_DEBUG_LL=y470487# CONFIG_CRYPTO_ANSI_CPRNG is not set
+1-1
arch/arm/configs/tct_hammer_defconfig
···1414CONFIG_MODULES=y1515CONFIG_MODULE_UNLOAD=y1616# CONFIG_BLK_DEV_BSG is not set1717-CONFIG_ARCH_S3C2410=y1717+CONFIG_ARCH_S3C24XX=y1818CONFIG_MACH_TCT_HAMMER=y1919CONFIG_ZBOOT_ROM_TEXT=0x02020CONFIG_ZBOOT_ROM_BSS=0x0
-154
arch/arm/mach-s3c2410/Kconfig
···22#33# Licensed under GPLv24455-config CPU_S3C241066- bool77- depends on ARCH_S3C241088- select CPU_ARM920T99- select S3C2410_CLOCK1010- select CPU_LLSERIAL_S3C24101111- select S3C2410_PM if PM1212- select S3C2410_CPUFREQ if CPU_FREQ_S3C24XX1313- help1414- Support for S3C2410 and S3C2410A family from the S3C24XX line1515- of Samsung Mobile CPUs.1616-1717-config CPU_S3C2410_DMA1818- bool1919- depends on S3C2410_DMA && (CPU_S3C2410 || CPU_S3C2442)2020- default y if CPU_S3C2410 || CPU_S3C24422121- help2222- DMA device selection for S3C2410 and compatible CPUs2323-2424-config S3C2410_PM2525- bool2626- help2727- Power Management code common to S3C2410 and better2828-2929-config SIMTEC_NOR3030- bool3131- help3232- Internal node to specify machine has simtec NOR mapping3333-3434-config MACH_BAST_IDE3535- bool3636- select HAVE_PATA_PLATFORM3737- help3838- Internal node for machines with an BAST style IDE3939- interface4040-415# cpu frequency scaling support426437config S3C2410_CPUFREQ···1854 help1955 Select the PLL table for the S3C241020562121-menu "S3C2410 Machines"2222-2323-config ARCH_SMDK24102424- bool "SMDK2410/A9M2410"2525- select CPU_S3C24102626- select MACH_SMDK2727- help2828- Say Y here if you are using the SMDK2410 or the derived module A9M24102929- <http://www.fsforth.de>3030-3131-config ARCH_H19403232- bool "IPAQ H1940"3333- select CPU_S3C24103434- select PM_H1940 if PM3535- select S3C_DEV_USB_HOST3636- select S3C_DEV_NAND3737- select S3C2410_SETUP_TS3838- help3939- Say Y here if you are using the HP IPAQ H19404040-4141-config H1940BT4242- tristate "Control the state of H1940 bluetooth chip"4343- depends on ARCH_H19404444- select RFKILL4545- help4646- This is a simple driver that is able to control4747- the state of built in bluetooth chip on h1940.4848-4949-config PM_H19405050- bool5151- help5252- Internal node for H1940 and related PM5353-5454-config MACH_N305555- bool "Acer N30 family"5656- select CPU_S3C24105757- select MACH_N355858- select S3C_DEV_USB_HOST5959- select S3C_DEV_NAND6060- help6161- Say Y here if you want suppt for the Acer N30, Acer N35,6262- Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs.6363-6464-config MACH_N356565- bool6666- help6767- Internal node in order to enable support for Acer N35 if Acer N30 is6868- selected.6969-7070-config ARCH_BAST7171- bool "Simtec Electronics BAST (EB2410ITX)"7272- select CPU_S3C24107373- select S3C2410_IOTIMING if S3C2410_CPUFREQ7474- select PM_SIMTEC if PM7575- select SIMTEC_NOR7676- select MACH_BAST_IDE7777- select S3C24XX_DCLK7878- select ISA7979- select S3C_DEV_HWMON8080- select S3C_DEV_USB_HOST8181- select S3C_DEV_NAND8282- help8383- Say Y here if you are using the Simtec Electronics EB2410ITX8484- development board (also known as BAST)8585-8686-config MACH_OTOM8787- bool "NexVision OTOM Board"8888- select CPU_S3C24108989- select S3C_DEV_USB_HOST9090- select S3C_DEV_NAND9191- help9292- Say Y here if you are using the Nex Vision OTOM board9393-9494-config MACH_AML_M59009595- bool "AML M5900 Series"9696- select CPU_S3C24109797- select PM_SIMTEC if PM9898- select S3C_DEV_USB_HOST9999- help100100- Say Y here if you are using the American Microsystems M5900 Series101101- <http://www.amltd.com>102102-103103-config BAST_PC104_IRQ104104- bool "BAST PC104 IRQ support"105105- depends on ARCH_BAST106106- default y107107- help108108- Say Y here to enable the PC104 IRQ routing on the109109- Simtec BAST (EB2410ITX)110110-111111-config MACH_TCT_HAMMER112112- bool "TCT Hammer Board"113113- select CPU_S3C2410114114- select S3C_DEV_USB_HOST115115- help116116- Say Y here if you are using the TinCanTools Hammer Board117117- <http://www.tincantools.com>118118-119119-config MACH_VR1000120120- bool "Thorcom VR1000"121121- select PM_SIMTEC if PM122122- select S3C24XX_DCLK123123- select SIMTEC_NOR124124- select MACH_BAST_IDE125125- select CPU_S3C2410126126- select S3C_DEV_USB_HOST127127- help128128- Say Y here if you are using the Thorcom VR1000 board.129129-130130-config MACH_QT2410131131- bool "QT2410"132132- select CPU_S3C2410133133- select S3C_DEV_USB_HOST134134- select S3C_DEV_NAND135135- help136136- Say Y here if you are using the Armzone QT2410137137-138138-endmenu
···11-/*22- * Copyright (c) 2011 Samsung Electronics Co., Ltd.33- * http://www.samsung.com44- *55- * Common Header for S3C2410 machines66- *77- * This program is free software; you can redistribute it and/or modify88- * it under the terms of the GNU General Public License version 2 as99- * published by the Free Software Foundation.1010- */1111-1212-#ifndef __ARCH_ARM_MACH_S3C2410_COMMON_H1313-#define __ARCH_ARM_MACH_S3C2410_COMMON_H1414-1515-void s3c2410_restart(char mode, const char *cmd);1616-1717-#endif /* __ARCH_ARM_MACH_S3C2410_COMMON_H */
···22#33# Licensed under GPLv24455-config CPU_S3C241266- bool77- depends on ARCH_S3C241088- select CPU_ARM926T99- select CPU_LLSERIAL_S3C24401010- select S3C2412_PM if PM1111- select S3C2412_DMA if S3C2410_DMA1212- help1313- Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line1414-1515-config CPU_S3C2412_ONLY1616- bool1717- depends on ARCH_S3C2410 && !CPU_S3C2410 && \1818- !CPU_S3C2416 && !CPU_S3C2440 && !CPU_S3C2442 && \1919- !CPU_S3C2443 && CPU_S3C24122020- default y if CPU_S3C24122121-2222-config S3C2412_DMA2323- bool2424- depends on CPU_S3C24122525- help2626- Internal config node for S3C2412 DMA support2727-2828-config S3C2412_PM2929- bool3030- select S3C2412_PM_SLEEP3131- help3232- Internal config node to apply S3C2412 power management3333-3434-config S3C2412_PM_SLEEP3535- bool3636- help3737- Internal config node to apply sleep for S3C2412 power management.3838- Can be selected by another SoCs with similar sleep procedure.3939-405# Note, the S3C2412 IOtiming support is in plat-s3c24xx416427config S3C2412_CPUFREQ···1146 default y1247 help1348 CPU Frequency scaling support for S3C2412 and S3C2413 SoC CPUs.1414-1515-menu "S3C2412 Machines"1616-1717-config MACH_JIVE1818- bool "Logitech Jive"1919- select CPU_S3C24122020- select S3C_DEV_USB_HOST2121- select S3C_DEV_NAND2222- help2323- Say Y here if you are using the Logitech Jive.2424-2525-config MACH_JIVE_SHOW_BOOTLOADER2626- bool "Allow access to bootloader partitions in MTD (EXPERIMENTAL)"2727- depends on MACH_JIVE && EXPERIMENTAL2828-2929-config MACH_SMDK24133030- bool "SMDK2413"3131- select CPU_S3C24123232- select MACH_S3C24133333- select MACH_SMDK3434- select S3C_DEV_USB_HOST3535- select S3C_DEV_NAND3636- help3737- Say Y here if you are using an SMDK24133838-3939-config MACH_S3C24134040- bool4141- help4242- Internal node for S3C2413 version of SMDK2413, so that4343- machine_is_s3c2413() will work when MACH_SMDK2413 is4444- selected4545-4646-config MACH_SMDK24124747- bool "SMDK2412"4848- select MACH_SMDK24134949- help5050- Say Y here if you are using an SMDK24125151-5252- Note, this shares support with SMDK2413, so will automatically5353- select MACH_SMDK2413.5454-5555-config MACH_VSTMS5656- bool "VMSTMS"5757- select CPU_S3C24125858- select S3C_DEV_USB_HOST5959- select S3C_DEV_NAND6060- help6161- Say Y here if you are using an VSTMS board6262-6363-endmenu
···77# note, this also supports the S3C2450 which is so similar it has the same88# ID code as the S3C2416.991010-config CPU_S3C24161111- bool1212- depends on ARCH_S3C24101313- select CPU_ARM926T1414- select S3C2416_DMA if S3C2410_DMA1515- select CPU_LLSERIAL_S3C24401616- select SAMSUNG_CLKSRC1717- select S3C2443_CLOCK1818- help1919- Support for the S3C2416 SoC from the S3C24XX line2020-2110config S3C2416_DMA2211 bool2312 depends on CPU_S3C24162413 help2514 Internal config node for S3C2416 DMA support2626-2727-config S3C2416_PM2828- bool2929- select S3C2412_PM_SLEEP3030- help3131- Internal config node to apply S3C2416 power management3232-3333-config S3C2416_SETUP_SDHCI3434- bool3535- select S3C2416_SETUP_SDHCI_GPIO3636- help3737- Internal helper functions for S3C2416 based SDHCI systems3838-3939-config S3C2416_SETUP_SDHCI_GPIO4040- bool4141- help4242- Common setup code for SDHCI gpio.4343-4444-menu "S3C2416 Machines"4545-4646-config MACH_SMDK24164747- bool "SMDK2416"4848- select CPU_S3C24164949- select MACH_SMDK5050- select S3C_DEV_FB5151- select S3C_DEV_HSMMC5252- select S3C_DEV_HSMMC15353- select S3C_DEV_NAND5454- select S3C_DEV_USB_HOST5555- select S3C2416_SETUP_SDHCI5656- select S3C2416_PM if PM5757- help5858- Say Y here if you are using an SMDK24165959-6060-endmenu
···22#33# Licensed under GPLv24455-config CPU_S3C244066- bool77- select CPU_ARM920T88- select S3C2410_CLOCK99- select S3C2410_PM if PM1010- select S3C2440_DMA if S3C2410_DMA1111- select CPU_S3C244X1212- select CPU_LLSERIAL_S3C24401313- help1414- Support for S3C2440 Samsung Mobile CPU based systems.1515-1616-config CPU_S3C24421717- bool1818- select CPU_ARM920T1919- select S3C2410_CLOCK2020- select S3C2410_PM if PM2121- select CPU_S3C244X2222- select CPU_LLSERIAL_S3C24402323- help2424- Support for S3C2442 Samsung Mobile CPU based systems.2525-2626-config CPU_S3C244X2727- bool2828- depends on CPU_S3C2440 || CPU_S3C24422929- help3030- Support for S3C2440 and S3C2442 Samsung Mobile CPU based systems.3131-3232-3333-345config S3C2440_CPUFREQ356 bool "S3C2440/S3C2442 CPU Frequency scaling support"367 depends on CPU_FREQ_S3C24XX && (CPU_S3C2440 || CPU_S3C2442)···3564 default y if CPU_FREQ_S3C24XX_PLL3665 help3766 PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.3838-3939-config S3C2440_DMA4040- bool4141- depends on CPU_S3C24404242- help4343- Support for S3C2440 specific DMA code5A4444-4545-menu "S3C2440 and S3C2442 Machines"4646-4747-config MACH_ANUBIS4848- bool "Simtec Electronics ANUBIS"4949- select CPU_S3C24405050- select S3C24XX_DCLK5151- select PM_SIMTEC if PM5252- select HAVE_PATA_PLATFORM5353- select S3C24XX_GPIO_EXTRA645454- select S3C2440_XTAL_120000005555- select S3C_DEV_USB_HOST5656- help5757- Say Y here if you are using the Simtec Electronics ANUBIS5858- development system5959-6060-config MACH_NEO1973_GTA026161- bool "Openmoko GTA02 / Freerunner phone"6262- select CPU_S3C24426363- select MFD_PCF506336464- select PCF50633_GPIO6565- select I2C6666- select POWER_SUPPLY6767- select MACH_NEO19736868- select S3C2410_PWM6969- select S3C_DEV_USB_HOST7070- help7171- Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone7272-7373-config MACH_OSIRIS7474- bool "Simtec IM2440D20 (OSIRIS) module"7575- select CPU_S3C24407676- select S3C24XX_DCLK7777- select PM_SIMTEC if PM7878- select S3C24XX_GPIO_EXTRA1287979- select S3C2440_XTAL_120000008080- select S3C2410_IOTIMING if S3C2440_CPUFREQ8181- select S3C_DEV_USB_HOST8282- select S3C_DEV_NAND8383- help8484- Say Y here if you are using the Simtec IM2440D20 module, also8585- known as the Osiris.8686-8787-config MACH_OSIRIS_DVS8888- tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"8989- depends on MACH_OSIRIS9090- select TPS650109191- help9292- Say Y/M here if you want to have dynamic voltage scaling support9393- on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.9494-9595- The DVS driver alters the voltage supplied to the ARM core9696- depending on the frequency it is running at. The driver itself9797- does not do any of the frequency alteration, which is left up9898- to the cpufreq driver.9999-100100-config MACH_RX3715101101- bool "HP iPAQ rx3715"102102- select CPU_S3C2440103103- select S3C2440_XTAL_16934400104104- select PM_H1940 if PM105105- select S3C_DEV_NAND106106- help107107- Say Y here if you are using the HP iPAQ rx3715.108108-109109-config ARCH_S3C2440110110- bool "SMDK2440"111111- select CPU_S3C2440112112- select S3C2440_XTAL_16934400113113- select MACH_SMDK114114- select S3C_DEV_USB_HOST115115- select S3C_DEV_NAND116116- help117117- Say Y here if you are using the SMDK2440.118118-119119-config MACH_NEXCODER_2440120120- bool "NexVision NEXCODER 2440 Light Board"121121- select CPU_S3C2440122122- select S3C2440_XTAL_12000000123123- select S3C_DEV_USB_HOST124124- select S3C_DEV_NAND125125- help126126- Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board127127-128128-config SMDK2440_CPU2440129129- bool "SMDK2440 with S3C2440 CPU module"130130- default y if ARCH_S3C2440131131- select S3C2440_XTAL_16934400132132- select CPU_S3C2440133133-134134-config SMDK2440_CPU2442135135- bool "SMDM2440 with S3C2442 CPU module"136136- select CPU_S3C2442137137-138138-config MACH_AT2440EVB139139- bool "Avantech AT2440EVB development board"140140- select CPU_S3C2440141141- select S3C_DEV_USB_HOST142142- select S3C_DEV_NAND143143- help144144- Say Y here if you are using the AT2440EVB development board145145-146146-config MACH_MINI2440147147- bool "MINI2440 development board"148148- select CPU_S3C2440149149- select EEPROM_AT24150150- select NEW_LEDS151151- select LEDS_CLASS152152- select LEDS_TRIGGER153153- select LEDS_TRIGGER_BACKLIGHT154154- select S3C_DEV_NAND155155- select S3C_DEV_USB_HOST156156- help157157- Say Y here to select support for the MINI2440. Is a 10cm x 10cm board158158- available via various sources. It can come with a 3.5" or 7" touch LCD.159159-160160-config MACH_RX1950161161- bool "HP iPAQ rx1950"162162- select CPU_S3C2442163163- select S3C24XX_DCLK164164- select PM_H1940 if PM165165- select I2C166166- select S3C2410_PWM167167- select S3C_DEV_NAND168168- select S3C2410_IOTIMING if S3C2440_CPUFREQ169169- select S3C2440_XTAL_16934400170170- help171171- Say Y here if you're using HP iPAQ rx1950172172-173173-endmenu
···22 * Copyright (c) 2011 Samsung Electronics Co., Ltd.33 * http://www.samsung.com44 *55- * Common Header for S3C2440 machines55+ * Common Header for S3C2410 machines66 *77 * This program is free software; you can redistribute it and/or modify88 * it under the terms of the GNU General Public License version 2 as99 * published by the Free Software Foundation.1010 */11111212-#ifndef __ARCH_ARM_MACH_S3C2440_COMMON_H1313-#define __ARCH_ARM_MACH_S3C2440_COMMON_H1212+#ifndef __ARCH_ARM_MACH_S3C2410_COMMON_H1313+#define __ARCH_ARM_MACH_S3C2410_COMMON_H14141515+#ifdef CONFIG_CPU_S3C24101616+void s3c2410_restart(char mode, const char *cmd);1717+#endif1818+1919+#ifdef CONFIG_CPU_S3C24401520void s3c2440_restart(char mode, const char *cmd);2121+#endif16221717-#endif /* __ARCH_ARM_MACH_S3C2440_COMMON_H */2323+#endif /* __ARCH_ARM_MACH_S3C2410_COMMON_H */
···11-# Copyright 2007 Simtec Electronics22-#33-# Licensed under GPLv244-55-config CPU_S3C244366- bool77- depends on ARCH_S3C241088- select CPU_ARM920T99- select S3C2443_DMA if S3C2410_DMA1010- select CPU_LLSERIAL_S3C24401111- select SAMSUNG_CLKSRC1212- select S3C2443_CLOCK1313- help1414- Support for the S3C2443 SoC from the S3C24XX line1515-1616-config S3C2443_DMA1717- bool1818- depends on CPU_S3C24431919- help2020- Internal config node for S3C2443 DMA support2121-2222-menu "S3C2443 Machines"2323-2424-config MACH_SMDK24432525- bool "SMDK2443"2626- select CPU_S3C24432727- select MACH_SMDK2828- select S3C_DEV_HSMMC12929- help3030- Say Y here if you are using an SMDK24433131-3232-endmenu
···11+# arch/arm/mach-s3c24xx/Kconfig22+#33+# Copyright (c) 2012 Samsung Electronics Co., Ltd.44+# http://www.samsung.com/55+#66+# Copyright 2007 Simtec Electronics77+#88+# Licensed under GPLv299+1010+if ARCH_S3C24XX1111+1212+menu "SAMSUNG S3C24XX SoCs Support"1313+1414+comment "S3C24XX SoCs"1515+1616+config CPU_S3C24101717+ bool "SAMSUNG S3C2410"1818+ default y1919+ select CPU_ARM920T2020+ select S3C2410_CLOCK2121+ select CPU_LLSERIAL_S3C24102222+ select S3C2410_PM if PM2323+ select S3C2410_CPUFREQ if CPU_FREQ_S3C24XX2424+ help2525+ Support for S3C2410 and S3C2410A family from the S3C24XX line2626+ of Samsung Mobile CPUs.2727+2828+config CPU_S3C24122929+ bool "SAMSUNG S3C2412"3030+ depends on ARCH_S3C24XX3131+ select CPU_ARM926T3232+ select CPU_LLSERIAL_S3C24403333+ select S3C2412_PM if PM3434+ select S3C2412_DMA if S3C24XX_DMA3535+ help3636+ Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line3737+3838+config CPU_S3C24163939+ bool "SAMSUNG S3C2416/S3C2450"4040+ depends on ARCH_S3C24XX4141+ select CPU_ARM926T4242+ select CPU_LLSERIAL_S3C24404343+ select SAMSUNG_CLKSRC4444+ select S3C2443_COMMON4545+ select S3C2416_DMA if S3C24XX_DMA4646+ select S3C2416_PM if PM4747+ help4848+ Support for the S3C2416 SoC from the S3C24XX line4949+5050+config CPU_S3C24405151+ bool "SAMSUNG S3C2440"5252+ select CPU_ARM920T5353+ select CPU_LLSERIAL_S3C24405454+ select S3C2410_CLOCK5555+ select S3C2410_PM if PM5656+ select S3C2440_DMA if S3C24XX_DMA5757+ help5858+ Support for S3C2440 Samsung Mobile CPU based systems.5959+6060+config CPU_S3C24426161+ bool "SAMSUNG S3C2442"6262+ select CPU_ARM920T6363+ select CPU_LLSERIAL_S3C24406464+ select S3C2410_CLOCK6565+ select S3C2410_PM if PM6666+ help6767+ Support for S3C2442 Samsung Mobile CPU based systems.6868+6969+config CPU_S3C244X7070+ def_bool y7171+ depends on CPU_S3C2440 || CPU_S3C24427272+7373+config CPU_S3C24437474+ bool "SAMSUNG S3C2443"7575+ depends on ARCH_S3C24XX7676+ select CPU_ARM920T7777+ select CPU_LLSERIAL_S3C24407878+ select SAMSUNG_CLKSRC7979+ select S3C2443_COMMON8080+ select S3C2443_DMA if S3C24XX_DMA8181+ help8282+ Support for the S3C2443 SoC from the S3C24XX line8383+8484+if CPU_S3C24108585+8686+config S3C2410_DMA8787+ bool8888+ depends on S3C24XX_DMA && (CPU_S3C2410 || CPU_S3C2442)8989+ default y if CPU_S3C2410 || CPU_S3C24429090+ help9191+ DMA device selection for S3C2410 and compatible CPUs9292+9393+config S3C2410_PM9494+ bool9595+ help9696+ Power Management code common to S3C2410 and better9797+9898+config SIMTEC_NOR9999+ bool100100+ help101101+ Internal node to specify machine has simtec NOR mapping102102+103103+config MACH_BAST_IDE104104+ bool105105+ select HAVE_PATA_PLATFORM106106+ help107107+ Internal node for machines with an BAST style IDE108108+ interface109109+110110+comment "S3C2410 Boards"111111+112112+#113113+# The "S3C2410 Boards" list is ordered alphabetically by option text.114114+# (without ARCH_ or MACH_)115115+#116116+117117+config MACH_AML_M5900118118+ bool "AML M5900 Series"119119+ select PM_SIMTEC if PM120120+ select S3C_DEV_USB_HOST121121+ help122122+ Say Y here if you are using the American Microsystems M5900 Series123123+ <http://www.amltd.com>124124+125125+config ARCH_BAST126126+ bool "Simtec Electronics BAST (EB2410ITX)"127127+ select S3C2410_IOTIMING if S3C2410_CPUFREQ128128+ select PM_SIMTEC if PM129129+ select SIMTEC_NOR130130+ select MACH_BAST_IDE131131+ select S3C24XX_DCLK132132+ select ISA133133+ select S3C_DEV_HWMON134134+ select S3C_DEV_USB_HOST135135+ select S3C_DEV_NAND136136+ help137137+ Say Y here if you are using the Simtec Electronics EB2410ITX138138+ development board (also known as BAST)139139+140140+config BAST_PC104_IRQ141141+ bool "BAST PC104 IRQ support"142142+ depends on ARCH_BAST143143+ default y144144+ help145145+ Say Y here to enable the PC104 IRQ routing on the146146+ Simtec BAST (EB2410ITX)147147+148148+config ARCH_H1940149149+ bool "IPAQ H1940"150150+ select PM_H1940 if PM151151+ select S3C_DEV_USB_HOST152152+ select S3C_DEV_NAND153153+ select S3C2410_SETUP_TS154154+ help155155+ Say Y here if you are using the HP IPAQ H1940156156+157157+config H1940BT158158+ tristate "Control the state of H1940 bluetooth chip"159159+ depends on ARCH_H1940160160+ select RFKILL161161+ help162162+ This is a simple driver that is able to control163163+ the state of built in bluetooth chip on h1940.164164+165165+config PM_H1940166166+ bool167167+ help168168+ Internal node for H1940 and related PM169169+170170+config MACH_N30171171+ bool "Acer N30 family"172172+ select MACH_N35173173+ select S3C_DEV_USB_HOST174174+ select S3C_DEV_NAND175175+ help176176+ Say Y here if you want suppt for the Acer N30, Acer N35,177177+ Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs.178178+179179+config MACH_OTOM180180+ bool "NexVision OTOM Board"181181+ select S3C_DEV_USB_HOST182182+ select S3C_DEV_NAND183183+ help184184+ Say Y here if you are using the Nex Vision OTOM board185185+186186+config MACH_QT2410187187+ bool "QT2410"188188+ select S3C_DEV_USB_HOST189189+ select S3C_DEV_NAND190190+ help191191+ Say Y here if you are using the Armzone QT2410192192+193193+config ARCH_SMDK2410194194+ bool "SMDK2410/A9M2410"195195+ select MACH_SMDK196196+ help197197+ Say Y here if you are using the SMDK2410 or the derived module A9M2410198198+ <http://www.fsforth.de>199199+200200+config MACH_TCT_HAMMER201201+ bool "TCT Hammer Board"202202+ select S3C_DEV_USB_HOST203203+ help204204+ Say Y here if you are using the TinCanTools Hammer Board205205+ <http://www.tincantools.com>206206+207207+config MACH_VR1000208208+ bool "Thorcom VR1000"209209+ select PM_SIMTEC if PM210210+ select S3C24XX_DCLK211211+ select SIMTEC_NOR212212+ select MACH_BAST_IDE213213+ select S3C_DEV_USB_HOST214214+ help215215+ Say Y here if you are using the Thorcom VR1000 board.216216+217217+endif # CPU_S3C2410218218+219219+config S3C2412_PM_SLEEP220220+ bool221221+ help222222+ Internal config node to apply sleep for S3C2412 power management.223223+ Can be selected by another SoCs such as S3C2416 with similar224224+ sleep procedure.225225+226226+if CPU_S3C2412227227+228228+config CPU_S3C2412_ONLY229229+ bool230230+ depends on ARCH_S3C24XX && !CPU_S3C2410 && \231231+ !CPU_S3C2416 && !CPU_S3C2440 && !CPU_S3C2442 && \232232+ !CPU_S3C2443 && CPU_S3C2412233233+ default y234234+235235+config S3C2412_DMA236236+ bool237237+ help238238+ Internal config node for S3C2412 DMA support239239+240240+config S3C2412_PM241241+ bool242242+ help243243+ Internal config node to apply S3C2412 power management244244+245245+comment "S3C2412 Boards"246246+247247+#248248+# The "S3C2412 Boards" list is ordered alphabetically by option text.249249+# (without ARCH_ or MACH_)250250+#251251+252252+config MACH_JIVE253253+ bool "Logitech Jive"254254+ select S3C_DEV_USB_HOST255255+ select S3C_DEV_NAND256256+ help257257+ Say Y here if you are using the Logitech Jive.258258+259259+config MACH_JIVE_SHOW_BOOTLOADER260260+ bool "Allow access to bootloader partitions in MTD (EXPERIMENTAL)"261261+ depends on MACH_JIVE && EXPERIMENTAL262262+263263+config MACH_S3C2413264264+ bool265265+ help266266+ Internal node for S3C2413 version of SMDK2413, so that267267+ machine_is_s3c2413() will work when MACH_SMDK2413 is268268+ selected269269+270270+config MACH_SMDK2412271271+ bool "SMDK2412"272272+ select MACH_SMDK2413273273+ help274274+ Say Y here if you are using an SMDK2412275275+276276+ Note, this shares support with SMDK2413, so will automatically277277+ select MACH_SMDK2413.278278+279279+config MACH_SMDK2413280280+ bool "SMDK2413"281281+ select MACH_S3C2413282282+ select MACH_SMDK283283+ select S3C_DEV_USB_HOST284284+ select S3C_DEV_NAND285285+ help286286+ Say Y here if you are using an SMDK2413287287+288288+config MACH_VSTMS289289+ bool "VMSTMS"290290+ select S3C_DEV_USB_HOST291291+ select S3C_DEV_NAND292292+ help293293+ Say Y here if you are using an VSTMS board294294+295295+endif # CPU_S3C2412296296+297297+if CPU_S3C2416298298+299299+config S3C2416_PM300300+ bool301301+ select S3C2412_PM_SLEEP302302+ help303303+ Internal config node to apply S3C2416 power management304304+305305+config S3C2416_SETUP_SDHCI306306+ bool307307+ select S3C2416_SETUP_SDHCI_GPIO308308+ help309309+ Internal helper functions for S3C2416 based SDHCI systems310310+311311+config S3C2416_SETUP_SDHCI_GPIO312312+ bool313313+ help314314+ Common setup code for SDHCI gpio.315315+316316+comment "S3C2416 Boards"317317+318318+config MACH_SMDK2416319319+ bool "SMDK2416"320320+ select MACH_SMDK321321+ select S3C_DEV_FB322322+ select S3C_DEV_HSMMC323323+ select S3C_DEV_HSMMC1324324+ select S3C_DEV_NAND325325+ select S3C_DEV_USB_HOST326326+ select S3C2416_SETUP_SDHCI327327+ help328328+ Say Y here if you are using an SMDK2416329329+330330+endif # CPU_S3C2416331331+332332+if CPU_S3C2440333333+334334+config S3C2440_DMA335335+ bool336336+ help337337+ Support for S3C2440 specific DMA code5A338338+339339+comment "S3C2440 Boards"340340+341341+#342342+# The "S3C2440 Boards" list is ordered alphabetically by option text.343343+# (without ARCH_ or MACH_)344344+#345345+346346+config MACH_ANUBIS347347+ bool "Simtec Electronics ANUBIS"348348+ select S3C24XX_DCLK349349+ select PM_SIMTEC if PM350350+ select HAVE_PATA_PLATFORM351351+ select S3C24XX_GPIO_EXTRA64352352+ select S3C2440_XTAL_12000000353353+ select S3C_DEV_USB_HOST354354+ help355355+ Say Y here if you are using the Simtec Electronics ANUBIS356356+ development system357357+358358+config MACH_AT2440EVB359359+ bool "Avantech AT2440EVB development board"360360+ select S3C_DEV_USB_HOST361361+ select S3C_DEV_NAND362362+ help363363+ Say Y here if you are using the AT2440EVB development board364364+365365+config MACH_MINI2440366366+ bool "MINI2440 development board"367367+ select EEPROM_AT24368368+ select NEW_LEDS369369+ select LEDS_CLASS370370+ select LEDS_TRIGGER371371+ select LEDS_TRIGGER_BACKLIGHT372372+ select S3C_DEV_NAND373373+ select S3C_DEV_USB_HOST374374+ help375375+ Say Y here to select support for the MINI2440. Is a 10cm x 10cm board376376+ available via various sources. It can come with a 3.5" or 7" touch LCD.377377+378378+config MACH_NEXCODER_2440379379+ bool "NexVision NEXCODER 2440 Light Board"380380+ select S3C2440_XTAL_12000000381381+ select S3C_DEV_USB_HOST382382+ select S3C_DEV_NAND383383+ help384384+ Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board385385+386386+config MACH_OSIRIS387387+ bool "Simtec IM2440D20 (OSIRIS) module"388388+ select S3C24XX_DCLK389389+ select PM_SIMTEC if PM390390+ select S3C24XX_GPIO_EXTRA128391391+ select S3C2440_XTAL_12000000392392+ select S3C2410_IOTIMING if S3C2440_CPUFREQ393393+ select S3C_DEV_USB_HOST394394+ select S3C_DEV_NAND395395+ help396396+ Say Y here if you are using the Simtec IM2440D20 module, also397397+ known as the Osiris.398398+399399+config MACH_OSIRIS_DVS400400+ tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"401401+ depends on MACH_OSIRIS402402+ select TPS65010403403+ help404404+ Say Y/M here if you want to have dynamic voltage scaling support405405+ on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.406406+407407+ The DVS driver alters the voltage supplied to the ARM core408408+ depending on the frequency it is running at. The driver itself409409+ does not do any of the frequency alteration, which is left up410410+ to the cpufreq driver.411411+412412+config MACH_RX3715413413+ bool "HP iPAQ rx3715"414414+ select S3C2440_XTAL_16934400415415+ select PM_H1940 if PM416416+ select S3C_DEV_NAND417417+ help418418+ Say Y here if you are using the HP iPAQ rx3715.419419+420420+config ARCH_S3C2440421421+ bool "SMDK2440"422422+ select S3C2440_XTAL_16934400423423+ select MACH_SMDK424424+ select S3C_DEV_USB_HOST425425+ select S3C_DEV_NAND426426+ help427427+ Say Y here if you are using the SMDK2440.428428+429429+config SMDK2440_CPU2440430430+ bool "SMDK2440 with S3C2440 CPU module"431431+ default y if ARCH_S3C2440432432+ select S3C2440_XTAL_16934400433433+434434+endif # CPU_S3C2440435435+436436+if CPU_S3C2442437437+438438+comment "S3C2442 Boards"439439+440440+#441441+# The "S3C2442 Boards" list is ordered alphabetically by option text.442442+# (without ARCH_ or MACH_)443443+#444444+445445+config MACH_NEO1973_GTA02446446+ bool "Openmoko GTA02 / Freerunner phone"447447+ select MFD_PCF50633448448+ select PCF50633_GPIO449449+ select I2C450450+ select POWER_SUPPLY451451+ select MACH_NEO1973452452+ select S3C2410_PWM453453+ select S3C_DEV_USB_HOST454454+ help455455+ Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone456456+457457+config MACH_RX1950458458+ bool "HP iPAQ rx1950"459459+ select S3C24XX_DCLK460460+ select PM_H1940 if PM461461+ select I2C462462+ select S3C2410_PWM463463+ select S3C_DEV_NAND464464+ select S3C2410_IOTIMING if S3C2440_CPUFREQ465465+ select S3C2440_XTAL_16934400466466+ help467467+ Say Y here if you're using HP iPAQ rx1950468468+469469+config SMDK2440_CPU2442470470+ bool "SMDM2440 with S3C2442 CPU module"471471+472472+endif # CPU_S3C2440473473+474474+if CPU_S3C2443 || CPU_S3C2416475475+476476+config S3C2443_COMMON477477+ bool478478+ help479479+ Common code for the S3C2443 and similar processors, which includes480480+ the S3C2416 and S3C2450.481481+482482+endif # CPU_S3C2443 || CPU_S3C2416483483+484484+if CPU_S3C2443485485+486486+config S3C2443_DMA487487+ bool488488+ help489489+ Internal config node for S3C2443 DMA support490490+491491+comment "S3C2443 Boards"492492+493493+config MACH_SMDK2443494494+ bool "SMDK2443"495495+ select MACH_SMDK496496+ select S3C_DEV_HSMMC1497497+ help498498+ Say Y here if you are using an SMDK2443499499+500500+endif # CPU_S3C2443501501+502502+endmenu # SAMSUNG S3C24XX SoCs Support503503+504504+endif # ARCH_S3C24XX
···4455config PLAT_S3C24XX66 bool77- depends on ARCH_S3C241077+ depends on ARCH_S3C24XX88 default y99 select NO_IOPORT1010 select ARCH_REQUIRE_GPIOLIB···4444 Clock code for the S3C2410, and similar processors which4545 is currently includes the S3C2410, S3C2440, S3C2442.46464747-config S3C2443_CLOCK4848- bool4949- help5050- Clock code for the S3C2443 and similar processors, which includes5151- the S3C2416 and S3C2450.5252-5347config S3C24XX_DCLK5448 bool5549 help···7682 Common power management code for systems that are7783 compatible with the Simtec style of power management78847979-config S3C2410_DMA8585+config S3C24XX_DMA8086 bool "S3C2410 DMA support"8181- depends on ARCH_S3C24108787+ depends on ARCH_S3C24XX8288 select S3C_DMA8389 help8490 S3C2410 DMA support. This is needed for drivers like sound which···87938894config S3C2410_DMA_DEBUG8995 bool "S3C2410 DMA support debug"9090- depends on ARCH_S3C2410 && S3C2410_DMA9696+ depends on ARCH_S3C24XX && S3C2410_DMA9197 help9298 Enable debugging output for the DMA code. This option sends info9399 to the kernel log, at priority KERN_DEBUG.9494-9595-# SPI default pin configuration code9696-9797-config S3C24XX_SPI_BUS0_GPE11_GPE12_GPE139898- bool9999- help100100- SPI GPIO configuration code for BUS0 when connected to101101- GPE11, GPE12 and GPE13.102102-103103-config S3C24XX_SPI_BUS1_GPG5_GPG6_GPG7104104- bool105105- help106106- SPI GPIO configuration code for BUS 1 when connected to107107- GPG5, GPG6 and GPG7.108108-109109-config S3C24XX_SPI_BUS1_GPD8_GPD9_GPD10110110- bool111111- help112112- SPI GPIO configuration code for BUS 1 when connected to113113- GPD8, GPD9 and GPD10.114100115101# common code for s3c24xx based machines, such as the SMDKs.116102
···11-/* linux/arch/arm/plat-s3c24xx/s3c2443-clock.c11+/*22+ * Common code for SoCs starting with the S3C244323 *34 * Copyright (c) 2007, 2010 Simtec Electronics45 * Ben Dooks <ben@simtec.co.uk>56 *66- * S3C2443 Clock control suport - common code77+ * This program is free software; you can redistribute it and/or modify88+ * it under the terms of the GNU General Public License as published by99+ * the Free Software Foundation; either version 2 of the License, or1010+ * (at your option) any later version.1111+ *1212+ * This program is distributed in the hope that it will be useful,1313+ * but WITHOUT ANY WARRANTY; without even the implied warranty of1414+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the1515+ * GNU General Public License for more details.716 */817918#include <linux/init.h>···21122213#include <mach/regs-s3c2443-clock.h>23142424-#include <plat/s3c2443.h>2515#include <plat/clock.h>2616#include <plat/clock-clksrc.h>2717#include <plat/cpu.h>···561553 s3c24xx_setup_clocks(fclk, hclk, pclk);562554563555 printk("CPU: MPLL %s %ld.%03ld MHz, cpu %ld.%03ld MHz, mem %ld.%03ld MHz, pclk %ld.%03ld MHz\n",564564- (mpllcon & S3C2443_PLLCON_OFF) ? "off":"on",556556+ (mpllcon & S3C2443_PLLCON_OFF) ? "off" : "on",565557 print_mhz(pll), print_mhz(fclk),566558 print_mhz(hclk), print_mhz(pclk));567559···576568 }577569578570 printk("CPU: EPLL %s %ld.%03ld MHz, usb-bus %ld.%03ld MHz\n",579579- (epllcon & S3C2443_PLLCON_OFF) ? "off":"on",571571+ (epllcon & S3C2443_PLLCON_OFF) ? "off" : "on",580572 print_mhz(clk_get_rate(&clk_epll)),581573 print_mhz(clk_get_rate(&clk_usb_bus)));582574}
-36
arch/arm/plat-s3c24xx/spi-bus0-gpe11_12_13.c
···11-/* linux/arch/arm/plat-s3c24xx/spi-bus0-gpe11_12_13.c22- *33- * Copyright (c) 2008 Simtec Electronics44- * http://armlinux.simtec.co.uk/55- * Ben Dooks <ben@simtec.co.uk>66- *77- * S3C24XX SPI - gpio configuration for bus 0 on gpe11,12,1388- *99- * This program is free software; you can redistribute it and/or modify1010- * it under the terms of the GNU General Public License as published by1111- * the Free Software Foundation; either version 2 of the License.1212-*/1313-1414-#include <linux/kernel.h>1515-#include <linux/gpio.h>1616-1717-#include <mach/spi.h>1818-#include <mach/regs-gpio.h>1919-2020-void s3c24xx_spi_gpiocfg_bus0_gpe11_12_13(struct s3c2410_spi_info *spi,2121- int enable)2222-{2323- if (enable) {2424- s3c_gpio_cfgpin(S3C2410_GPE(13), S3C2410_GPE13_SPICLK0);2525- s3c_gpio_cfgpin(S3C2410_GPE(12), S3C2410_GPE12_SPIMOSI0);2626- s3c_gpio_cfgpin(S3C2410_GPE(11), S3C2410_GPE11_SPIMISO0);2727- s3c2410_gpio_pullup(S3C2410_GPE(11), 0);2828- s3c2410_gpio_pullup(S3C2410_GPE(13), 0);2929- } else {3030- s3c_gpio_cfgpin(S3C2410_GPE(13), S3C2410_GPIO_INPUT);3131- s3c_gpio_cfgpin(S3C2410_GPE(11), S3C2410_GPIO_INPUT);3232- s3c_gpio_setpull(S3C2410_GPE(11), S3C_GPIO_PULL_NONE);3333- s3c_gpio_setpull(S3C2410_GPE(12), S3C_GPIO_PULL_NONE);3434- s3c_gpio_setpull(S3C2410_GPE(13), S3C_GPIO_PULL_NONE);3535- }3636-}
-38
arch/arm/plat-s3c24xx/spi-bus1-gpd8_9_10.c
···11-/* linux/arch/arm/plat-s3c24xx/spi-bus0-gpd8_9_10.c22- *33- * Copyright (c) 2008 Simtec Electronics44- * http://armlinux.simtec.co.uk/55- * Ben Dooks <ben@simtec.co.uk>66- *77- * S3C24XX SPI - gpio configuration for bus 1 on gpd8,9,1088- *99- * This program is free software; you can redistribute it and/or modify1010- * it under the terms of the GNU General Public License as published by1111- * the Free Software Foundation; either version 2 of the License.1212-*/1313-1414-#include <linux/kernel.h>1515-#include <linux/gpio.h>1616-1717-#include <mach/spi.h>1818-#include <mach/regs-gpio.h>1919-2020-void s3c24xx_spi_gpiocfg_bus1_gpd8_9_10(struct s3c2410_spi_info *spi,2121- int enable)2222-{2323-2424- printk(KERN_INFO "%s(%d)\n", __func__, enable);2525- if (enable) {2626- s3c_gpio_cfgpin(S3C2410_GPD(10), S3C2440_GPD10_SPICLK1);2727- s3c_gpio_cfgpin(S3C2410_GPD(9), S3C2440_GPD9_SPIMOSI1);2828- s3c_gpio_cfgpin(S3C2410_GPD(8), S3C2440_GPD8_SPIMISO1);2929- s3c2410_gpio_pullup(S3C2410_GPD(10), 0);3030- s3c2410_gpio_pullup(S3C2410_GPD(9), 0);3131- } else {3232- s3c_gpio_cfgpin(S3C2410_GPD(8), S3C2410_GPIO_INPUT);3333- s3c_gpio_cfgpin(S3C2410_GPD(9), S3C2410_GPIO_INPUT);3434- s3c_gpio_setpull(S3C2410_GPD(10), S3C_GPIO_PULL_NONE);3535- s3c_gpio_setpull(S3C2410_GPD(9), S3C_GPIO_PULL_NONE);3636- s3c_gpio_setpull(S3C2410_GPD(8), S3C_GPIO_PULL_NONE);3737- }3838-}
-36
arch/arm/plat-s3c24xx/spi-bus1-gpg5_6_7.c
···11-/* linux/arch/arm/plat-s3c24xx/spi-bus0-gpg5_6_7.c22- *33- * Copyright (c) 2008 Simtec Electronics44- * http://armlinux.simtec.co.uk/55- * Ben Dooks <ben@simtec.co.uk>66- *77- * S3C24XX SPI - gpio configuration for bus 1 on gpg5,6,788- *99- * This program is free software; you can redistribute it and/or modify1010- * it under the terms of the GNU General Public License as published by1111- * the Free Software Foundation; either version 2 of the License.1212-*/1313-1414-#include <linux/kernel.h>1515-#include <linux/gpio.h>1616-1717-#include <mach/spi.h>1818-#include <mach/regs-gpio.h>1919-2020-void s3c24xx_spi_gpiocfg_bus1_gpg5_6_7(struct s3c2410_spi_info *spi,2121- int enable)2222-{2323- if (enable) {2424- s3c_gpio_cfgpin(S3C2410_GPG(7), S3C2410_GPG7_SPICLK1);2525- s3c_gpio_cfgpin(S3C2410_GPG(6), S3C2410_GPG6_SPIMOSI1);2626- s3c_gpio_cfgpin(S3C2410_GPG(5), S3C2410_GPG5_SPIMISO1);2727- s3c2410_gpio_pullup(S3C2410_GPG(5), 0);2828- s3c2410_gpio_pullup(S3C2410_GPG(6), 0);2929- } else {3030- s3c_gpio_cfgpin(S3C2410_GPG(7), S3C2410_GPIO_INPUT);3131- s3c_gpio_cfgpin(S3C2410_GPG(5), S3C2410_GPIO_INPUT);3232- s3c_gpio_setpull(S3C2410_GPG(5), S3C_GPIO_PULL_NONE);3333- s3c_gpio_setpull(S3C2410_GPG(6), S3C_GPIO_PULL_NONE);3434- s3c_gpio_setpull(S3C2410_GPG(7), S3C_GPIO_PULL_NONE);3535- }3636-}
+2-2
arch/arm/plat-samsung/Kconfig
···205205206206config S3C_DEV_WDT207207 bool208208- default y if ARCH_S3C2410208208+ default y if ARCH_S3C24XX209209 help210210 Complie in platform device definition for Watchdog Timer211211···264264265265config SAMSUNG_DEV_PWM266266 bool267267- default y if ARCH_S3C2410267267+ default y if ARCH_S3C24XX268268 help269269 Compile in platform device definition for PWM Timer270270
+21
arch/arm/plat-samsung/include/plat/clock.h
···7979extern struct clk clk_xtal;8080extern struct clk clk_ext;81818282+/* S3C2443/S3C2416 specific clocks */8383+extern struct clksrc_clk clk_epllref;8484+extern struct clksrc_clk clk_esysclk;8585+8286/* S3C64XX specific clocks */8387extern struct clk clk_h2;8488extern struct clk clk_27m;···119115extern void s3c2412_setup_clocks(void);120116extern void s3c244x_setup_clocks(void);121117extern void s3c2443_setup_clocks(void);118118+119119+/* S3C2410 specific clock functions */120120+121121+extern int s3c2410_baseclk_add(void);122122+123123+/* S3C2443/S3C2416 specific clock functions */124124+125125+typedef unsigned int (*pll_fn)(unsigned int reg, unsigned int base);126126+127127+extern void s3c2443_common_setup_clocks(pll_fn get_mpll);128128+extern void s3c2443_common_init_clocks(int xtal, pll_fn get_mpll,129129+ unsigned int *divs, int nr_divs,130130+ int divmask);131131+132132+extern int s3c2443_clkcon_enable_h(struct clk *clk, int enable);133133+extern int s3c2443_clkcon_enable_p(struct clk *clk, int enable);134134+extern int s3c2443_clkcon_enable_s(struct clk *clk, int enable);122135123136/* S3C64XX specific functions and clocks */124137
-2
arch/arm/plat-samsung/include/plat/s3c2410.h
···2929#define s3c2410_init NULL3030#define s3c2410a_init NULL3131#endif3232-3333-extern int s3c2410_baseclk_add(void);
-20
arch/arm/plat-samsung/include/plat/s3c2443.h
···3232#define s3c2443_init NULL3333#define s3c2443_restart NULL3434#endif3535-3636-/* common code used by s3c2443 and others.3737- * note, not to be used outside of arch/arm/mach-s3c* */3838-3939-struct clk; /* some files don't need clk.h otherwise */4040-4141-typedef unsigned int (*pll_fn)(unsigned int reg, unsigned int base);4242-4343-extern void s3c2443_common_setup_clocks(pll_fn get_mpll);4444-extern void s3c2443_common_init_clocks(int xtal, pll_fn get_mpll,4545- unsigned int *divs, int nr_divs,4646- int divmask);4747-4848-extern int s3c2443_clkcon_enable_h(struct clk *clk, int enable);4949-extern int s3c2443_clkcon_enable_p(struct clk *clk, int enable);5050-extern int s3c2443_clkcon_enable_s(struct clk *clk, int enable);5151-5252-extern struct clksrc_clk clk_epllref;5353-extern struct clksrc_clk clk_esysclk;5454-extern struct clksrc_clk clk_msysclk;
+1-1
drivers/input/touchscreen/Kconfig
···215215216216config TOUCHSCREEN_S3C2410217217 tristate "Samsung S3C2410/generic touchscreen input driver"218218- depends on ARCH_S3C2410 || SAMSUNG_DEV_TS218218+ depends on ARCH_S3C24XX || SAMSUNG_DEV_TS219219 select S3C_ADC220220 help221221 Say Y here if you have the s3c2410 touchscreen.
+1-1
drivers/leds/Kconfig
···6969config LEDS_S3C24XX7070 tristate "LED Support for Samsung S3C24XX GPIO LEDs"7171 depends on LEDS_CLASS7272- depends on ARCH_S3C24107272+ depends on ARCH_S3C24XX7373 help7474 This option enables support for LEDs connected to GPIO lines7575 on Samsung S3C24XX series CPUs, such as the S3C2410 and S3C2440.
+1-1
drivers/mmc/host/Kconfig
···395395396396config MMC_S3C397397 tristate "Samsung S3C SD/MMC Card Interface support"398398- depends on ARCH_S3C2410398398+ depends on ARCH_S3C24XX399399 help400400 This selects a driver for the MCI interface found in401401 Samsung's S3C2410, S3C2412, S3C2440, S3C2442 CPUs.
+1-1
drivers/mtd/nand/Kconfig
···187187188188config MTD_NAND_S3C2410189189 tristate "NAND Flash support for Samsung S3C SoCs"190190- depends on ARCH_S3C2410 || ARCH_S3C64XX190190+ depends on ARCH_S3C24XX || ARCH_S3C64XX191191 help192192 This enables the NAND flash controller on the S3C24xx and S3C64xx193193 SoCs
+1-1
drivers/rtc/Kconfig
···748748749749config RTC_DRV_S3C750750 tristate "Samsung S3C series SoC RTC"751751- depends on ARCH_S3C2410 || ARCH_S3C64XX || HAVE_S3C_RTC751751+ depends on ARCH_S3C64XX || HAVE_S3C_RTC752752 help753753 RTC (Realtime Clock) driver for the clock inbuilt into the754754 Samsung S3C24XX series of SoCs. This can provide periodic
+1-1
drivers/spi/Kconfig
···281281282282config SPI_S3C24XX283283 tristate "Samsung S3C24XX series SPI"284284- depends on ARCH_S3C2410 && EXPERIMENTAL284284+ depends on ARCH_S3C24XX && EXPERIMENTAL285285 select SPI_BITBANG286286 help287287 SPI driver for Samsung S3C24XX series ARM SoCs
···3737 # ARM:3838 default y if SA11113939 default y if ARCH_OMAP4040- default y if ARCH_S3C24104040+ default y if ARCH_S3C24XX4141 default y if PXA27x4242 default y if PXA3xx4343 default y if ARCH_EP93XX
+2-2
drivers/usb/gadget/Kconfig
···284284285285config USB_S3C2410286286 tristate "S3C2410 USB Device Controller"287287- depends on ARCH_S3C2410287287+ depends on ARCH_S3C24XX288288 help289289 Samsung's S3C2410 is an ARM-4 processor with an integrated290290 full speed USB 1.1 device controller. It has 4 configurable···299299300300config USB_S3C_HSUDC301301 tristate "S3C2416, S3C2443 and S3C2450 USB Device Controller"302302- depends on ARCH_S3C2410302302+ depends on ARCH_S3C24XX303303 select USB_GADGET_DUALSPEED304304 help305305 Samsung's S3C2416, S3C2443 and S3C2450 is an ARM9 based SoC
···170170171171config S3C2410_WATCHDOG172172 tristate "S3C2410 Watchdog"173173- depends on ARCH_S3C2410 || HAVE_S3C2410_WATCHDOG173173+ depends on HAVE_S3C2410_WATCHDOG174174 select WATCHDOG_CORE175175 help176176 Watchdog timer block in the Samsung SoCs. This will reboot
+6-6
sound/soc/samsung/Kconfig
···11config SND_SOC_SAMSUNG22 tristate "ASoC support for Samsung"33- depends on ARCH_S3C2410 || ARCH_S3C64XX || ARCH_S5PC100 || ARCH_S5PV210 || ARCH_S5P64X0 || ARCH_EXYNOS433+ depends on ARCH_S3C24XX || ARCH_S3C64XX || ARCH_S5PC100 || ARCH_S5PV210 || ARCH_S5P64X0 || ARCH_EXYNOS444 select S3C64XX_DMA if ARCH_S3C64XX55- select S3C2410_DMA if ARCH_S3C241055+ select S3C2410_DMA if ARCH_S3C24XX66 help77 Say Y or M if you want to add support for codecs attached to88 the Samsung SoCs' Audio interfaces. You will also need to···84848585config SND_SOC_SAMSUNG_LN2440SBC_ALC6508686 tristate "SoC AC97 Audio support for LN2440SBC - ALC650"8787- depends on SND_SOC_SAMSUNG && ARCH_S3C24108787+ depends on SND_SOC_SAMSUNG && ARCH_S3C24XX8888 select S3C2410_DMA8989 select AC97_BUS9090 select SND_SOC_AC97_CODEC···95959696config SND_SOC_SAMSUNG_S3C24XX_UDA134X9797 tristate "SoC I2S Audio support UDA134X wired to a S3C24XX"9898- depends on SND_SOC_SAMSUNG && ARCH_S3C24109898+ depends on SND_SOC_SAMSUNG && ARCH_S3C24XX9999 select SND_S3C24XX_I2S100100 select SND_SOC_L3101101 select SND_SOC_UDA134X···107107108108config SND_SOC_SAMSUNG_SIMTEC_TLV320AIC23109109 tristate "SoC I2S Audio support for TLV320AIC23 on Simtec boards"110110- depends on SND_SOC_SAMSUNG && ARCH_S3C2410110110+ depends on SND_SOC_SAMSUNG && ARCH_S3C24XX111111 select SND_S3C24XX_I2S112112 select SND_SOC_TLV320AIC23113113 select SND_SOC_SAMSUNG_SIMTEC114114115115config SND_SOC_SAMSUNG_SIMTEC_HERMES116116 tristate "SoC I2S Audio support for Simtec Hermes board"117117- depends on SND_SOC_SAMSUNG && ARCH_S3C2410117117+ depends on SND_SOC_SAMSUNG && ARCH_S3C24XX118118 select SND_S3C24XX_I2S119119 select SND_SOC_TLV320AIC3X120120 select SND_SOC_SAMSUNG_SIMTEC