1 # arch/arm/plat-samsung/Kconfig
3 # Copyright 2009 Simtec Electronics
9 depends on ARCH_S3C2410 || ARCH_S3C24A0 || ARCH_S3C64XX || ARCH_S5PC1XX
12 Base platform code for all Samsung SoC based systems
19 Select the clock code for the clksrc implementation
20 used by newer systems such as the S3C64XX.
22 # options for IRQ support
24 config SAMSUNG_IRQ_VIC_TIMER
27 Internal configuration to build the VIC timer interrupt code.
29 config SAMSUNG_IRQ_UART
32 Internal configuration to build the IRQ UART demux code.
34 # options for gpio configuration support
36 config SAMSUNG_GPIOLIB_4BIT
39 GPIOlib file contains the 4 bit modification functions for gpio
40 configuration. GPIOlib shall be compiled only for S3C64XX and S5P
43 config S3C_GPIO_CFG_S3C24XX
46 Internal configuration to enable S3C24XX style GPIO configuration
49 config S3C_GPIO_CFG_S3C64XX
52 Internal configuration to enable S3C64XX style GPIO configuration
55 config S5P_GPIO_CFG_S5PC1XX
58 Internal configuration to enable S5PC1XX style GPIO configuration
61 config S3C_GPIO_PULL_UPDOWN
64 Internal configuration to enable the correct GPIO pull helper
66 config S3C_GPIO_PULL_DOWN
69 Internal configuration to enable the correct GPIO pull helper
71 config S3C_GPIO_PULL_UP
74 Internal configuration to enable the correct GPIO pull helper
76 config SAMSUNG_GPIO_EXTRA
77 int "Number of additional GPIO pins"
80 Use additional GPIO space in addition to the GPIO's the SOC
81 provides. This allows expanding the GPIO space for use with
87 bool "ADC common driver support"
89 Core support for the ADC block found in the Samsung SoC systems
90 for drivers such as the touchscreen and hwmon to use to share
93 # device definitions to compile in
98 Compile in platform device definitions for HSMMC code
100 config S3C_DEV_HSMMC1
103 Compile in platform device definitions for HSMMC channel 1
105 config S3C_DEV_HSMMC2
108 Compile in platform device definitions for HSMMC channel 2
113 Compile in platform device definitions for I2C channel 1
118 Compile in platform device definition for framebuffer
120 config S3C_DEV_USB_HOST
123 Compile in platform device definition for USB host.
125 config S3C_DEV_USB_HSOTG
128 Compile in platform device definition for USB high-speed OtG
133 Compile in platform device definition for NAND controller
135 config S3C64XX_DEV_SPI
138 Compile in platform device definitions for S3C64XX's type
141 comment "Power management"
143 config SAMSUNG_PM_DEBUG
144 bool "S3C2410 PM Suspend debug"
147 Say Y here if you want verbose debugging from the PM Suspend and
148 Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
149 for more information.
151 config S3C_PM_DEBUG_LED_SMDK
152 bool "SMDK LED suspend/resume debugging"
153 depends on PM && (MACH_SMDK6410)
155 Say Y here to enable the use of the SMDK LEDs on the baseboard
156 for debugging of the state of the suspend and resume process.
158 Note, this currently only works for S3C64XX based SMDK boards.
160 config SAMSUNG_PM_CHECK
161 bool "S3C2410 PM Suspend Memory CRC"
162 depends on PM && CRC32
164 Enable the PM code's memory area checksum over sleep. This option
165 will generate CRCs of all blocks of memory, and store them before
166 going to sleep. The blocks are then checked on resume for any
169 Note, this can take several seconds depending on memory size
172 See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
174 config SAMSUNG_PM_CHECK_CHUNKSIZE
175 int "S3C2410 PM Suspend CRC Chunksize (KiB)"
176 depends on PM && SAMSUNG_PM_CHECK
179 Set the chunksize in Kilobytes of the CRC for checking memory
180 corruption over suspend and resume. A smaller value will mean that
181 the CRC data block will take more memory, but wil identify any
182 faults with better precision.
184 See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>