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
18 comment "Boot options"
20 config S3C_BOOT_WATCHDOG
21 bool "S3C Initialisation watchdog"
22 depends on S3C2410_WATCHDOG
24 Say y to enable the watchdog during the kernel decompression
25 stage. If the kernel fails to uncompress, then the watchdog
26 will trigger a reset and the system should restart.
28 config S3C_BOOT_ERROR_RESET
29 bool "S3C Reboot on decompression error"
31 Say y here to use the watchdog to reset the system if the
32 kernel decompressor detects an error during decompression.
34 config S3C_BOOT_UART_FORCE_FIFO
35 bool "Force UART FIFO on during boot process"
38 Say Y here to force the UART FIFOs on during the kernel
42 config S3C_LOWLEVEL_UART_PORT
43 int "S3C UART to use for low-level messages"
46 Choice of which UART port to use for the low-level messages,
47 such as the `Uncompressing...` at start time. The value of
48 this configuration should be between zero and two. The port
49 must have been initialised by the boot-loader before use.
56 Select the clock code for the clksrc implementation
57 used by newer systems such as the S3C64XX.
59 # options for IRQ support
61 config SAMSUNG_IRQ_VIC_TIMER
64 Internal configuration to build the VIC timer interrupt code.
66 config SAMSUNG_IRQ_UART
69 Internal configuration to build the IRQ UART demux code.
71 # options for gpio configuration support
73 config SAMSUNG_GPIOLIB_4BIT
76 GPIOlib file contains the 4 bit modification functions for gpio
77 configuration. GPIOlib shall be compiled only for S3C64XX and S5P
80 config S3C_GPIO_CFG_S3C24XX
83 Internal configuration to enable S3C24XX style GPIO configuration
86 config S3C_GPIO_CFG_S3C64XX
89 Internal configuration to enable S3C64XX style GPIO configuration
92 config S5P_GPIO_CFG_S5PC1XX
95 Internal configuration to enable S5PC1XX style GPIO configuration
98 config S3C_GPIO_PULL_UPDOWN
101 Internal configuration to enable the correct GPIO pull helper
103 config S3C_GPIO_PULL_DOWN
106 Internal configuration to enable the correct GPIO pull helper
108 config S3C_GPIO_PULL_UP
111 Internal configuration to enable the correct GPIO pull helper
113 config SAMSUNG_GPIO_EXTRA
114 int "Number of additional GPIO pins"
117 Use additional GPIO space in addition to the GPIO's the SOC
118 provides. This allows expanding the GPIO space for use with
121 config S3C_GPIO_SPACE
122 int "Space between gpio banks"
125 Add a number of spare GPIO entries between each bank for debugging
126 purposes. This allows any problems where an counter overflows from
127 one bank to another to be caught, at the expense of using a little
130 config S3C_GPIO_TRACK
133 Internal configuration option to enable the s3c specific gpio
134 chip tracking if the platform requires it.
139 bool "ADC common driver support"
141 Core support for the ADC block found in the Samsung SoC systems
142 for drivers such as the touchscreen and hwmon to use to share
145 # device definitions to compile in
150 Compile in platform device definitions for HSMMC code
152 config S3C_DEV_HSMMC1
155 Compile in platform device definitions for HSMMC channel 1
157 config S3C_DEV_HSMMC2
160 Compile in platform device definitions for HSMMC channel 2
165 Compile in platform device definitions for I2C channel 1
170 Compile in platform device definition for framebuffer
172 config S3C_DEV_USB_HOST
175 Compile in platform device definition for USB host.
177 config S3C_DEV_USB_HSOTG
180 Compile in platform device definition for USB high-speed OtG
185 Compile in platform device definition for NAND controller
187 config S3C64XX_DEV_SPI
190 Compile in platform device definitions for S3C64XX's type
198 Internal configuration for S3C DMA core
200 comment "Power management"
202 config SAMSUNG_PM_DEBUG
203 bool "S3C2410 PM Suspend debug"
206 Say Y here if you want verbose debugging from the PM Suspend and
207 Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
208 for more information.
210 config S3C_PM_DEBUG_LED_SMDK
211 bool "SMDK LED suspend/resume debugging"
212 depends on PM && (MACH_SMDK6410)
214 Say Y here to enable the use of the SMDK LEDs on the baseboard
215 for debugging of the state of the suspend and resume process.
217 Note, this currently only works for S3C64XX based SMDK boards.
219 config SAMSUNG_PM_CHECK
220 bool "S3C2410 PM Suspend Memory CRC"
221 depends on PM && CRC32
223 Enable the PM code's memory area checksum over sleep. This option
224 will generate CRCs of all blocks of memory, and store them before
225 going to sleep. The blocks are then checked on resume for any
228 Note, this can take several seconds depending on memory size
231 See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
233 config SAMSUNG_PM_CHECK_CHUNKSIZE
234 int "S3C2410 PM Suspend CRC Chunksize (KiB)"
235 depends on PM && SAMSUNG_PM_CHECK
238 Set the chunksize in Kilobytes of the CRC for checking memory
239 corruption over suspend and resume. A smaller value will mean that
240 the CRC data block will take more memory, but wil identify any
241 faults with better precision.
243 See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>