1 # arch/arm/plat-samsung/Kconfig
3 # Copyright 2009 Simtec Electronics
9 depends on PLAT_S3C24XX || ARCH_S3C64XX || PLAT_S5P
13 Base platform code for all Samsung SoC based systems
19 comment "Boot options"
21 config S3C_BOOT_WATCHDOG
22 bool "S3C Initialisation watchdog"
23 depends on S3C2410_WATCHDOG
25 Say y to enable the watchdog during the kernel decompression
26 stage. If the kernel fails to uncompress, then the watchdog
27 will trigger a reset and the system should restart.
29 config S3C_BOOT_ERROR_RESET
30 bool "S3C Reboot on decompression error"
32 Say y here to use the watchdog to reset the system if the
33 kernel decompressor detects an error during decompression.
35 config S3C_BOOT_UART_FORCE_FIFO
36 bool "Force UART FIFO on during boot process"
39 Say Y here to force the UART FIFOs on during the kernel
43 config S3C_LOWLEVEL_UART_PORT
44 int "S3C UART to use for low-level messages"
47 Choice of which UART port to use for the low-level messages,
48 such as the `Uncompressing...` at start time. The value of
49 this configuration should be between zero and two. The port
50 must have been initialised by the boot-loader before use.
57 Select the clock code for the clksrc implementation
58 used by newer systems such as the S3C64XX.
60 # options for IRQ support
62 config SAMSUNG_IRQ_VIC_TIMER
65 Internal configuration to build the VIC timer interrupt code.
67 config SAMSUNG_IRQ_UART
70 Internal configuration to build the IRQ UART demux code.
72 # options for gpio configuration support
74 config SAMSUNG_GPIOLIB_4BIT
77 GPIOlib file contains the 4 bit modification functions for gpio
78 configuration. GPIOlib shall be compiled only for S3C64XX and S5P
81 config S3C_GPIO_CFG_S3C24XX
84 Internal configuration to enable S3C24XX style GPIO configuration
87 config S3C_GPIO_CFG_S3C64XX
90 Internal configuration to enable S3C64XX style GPIO configuration
93 config S3C_GPIO_PULL_UPDOWN
96 Internal configuration to enable the correct GPIO pull helper
98 config S3C_GPIO_PULL_S3C2443
100 select S3C_GPIO_PULL_UPDOWN
102 Internal configuration to enable the correct GPIO pull helper for S3C2443-style GPIO
104 config S3C_GPIO_PULL_DOWN
107 Internal configuration to enable the correct GPIO pull helper
109 config S3C_GPIO_PULL_UP
112 Internal configuration to enable the correct GPIO pull helper
114 config S5P_GPIO_DRVSTR
117 Internal configuration to get and set correct GPIO driver strength
120 config SAMSUNG_GPIO_EXTRA
121 int "Number of additional GPIO pins"
124 Use additional GPIO space in addition to the GPIO's the SOC
125 provides. This allows expanding the GPIO space for use with
128 config S3C_GPIO_SPACE
129 int "Space between gpio banks"
132 Add a number of spare GPIO entries between each bank for debugging
133 purposes. This allows any problems where an counter overflows from
134 one bank to another to be caught, at the expense of using a little
137 config S3C_GPIO_TRACK
140 Internal configuration option to enable the s3c specific gpio
141 chip tracking if the platform requires it.
146 bool "ADC common driver support"
148 Core support for the ADC block found in the Samsung SoC systems
149 for drivers such as the touchscreen and hwmon to use to share
152 # device definitions to compile in
157 Compile in platform device definitions for HSMMC code
159 config S3C_DEV_HSMMC1
162 Compile in platform device definitions for HSMMC channel 1
164 config S3C_DEV_HSMMC2
167 Compile in platform device definitions for HSMMC channel 2
169 config S3C_DEV_HSMMC3
172 Compile in platform device definitions for HSMMC channel 3
177 Compile in platform device definitions for HWMON
182 Compile in platform device definitions for I2C channel 1
187 Compile in platform device definitions for I2C channel 2
192 Compile in platform device definition for I2C controller 3
197 Compile in platform device definition for I2C controller 4
202 Compile in platform device definition for I2C controller 5
207 Compile in platform device definition for I2C controller 6
212 Compile in platform device definition for I2C controller 7
217 Compile in platform device definition for framebuffer
219 config S3C_DEV_USB_HOST
222 Compile in platform device definition for USB host.
224 config S3C_DEV_USB_HSOTG
227 Compile in platform device definition for USB high-speed OtG
231 default y if ARCH_S3C2410
233 Complie in platform device definition for Watchdog Timer
238 Compile in platform device definition for NAND controller
240 config S3C_DEV_ONENAND
243 Compile in platform device definition for OneNAND controller
248 Complie in platform device definition for RTC
250 config SAMSUNG_DEV_ADC
253 Compile in platform device definition for ADC controller
255 config SAMSUNG_DEV_IDE
258 Compile in platform device definitions for IDE
260 config S3C64XX_DEV_SPI
263 Compile in platform device definitions for S3C64XX's type
266 config SAMSUNG_DEV_TS
269 Common in platform device definitions for touchscreen device
271 config SAMSUNG_DEV_KEYPAD
274 Compile in platform device definitions for keypad
276 config SAMSUNG_DEV_PWM
278 default y if ARCH_S3C2410
280 Compile in platform device definition for PWM Timer
283 bool "PWM device support"
286 Support for exporting the PWM timer blocks via the pwm device
294 Internal configuration for S3C DMA core
300 S3C DMA API Driver for PL330 DMAC.
302 comment "Power management"
304 config SAMSUNG_PM_DEBUG
305 bool "S3C2410 PM Suspend debug"
308 Say Y here if you want verbose debugging from the PM Suspend and
309 Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
310 for more information.
312 config S3C_PM_DEBUG_LED_SMDK
313 bool "SMDK LED suspend/resume debugging"
314 depends on PM && (MACH_SMDK6410)
316 Say Y here to enable the use of the SMDK LEDs on the baseboard
317 for debugging of the state of the suspend and resume process.
319 Note, this currently only works for S3C64XX based SMDK boards.
321 config SAMSUNG_PM_CHECK
322 bool "S3C2410 PM Suspend Memory CRC"
323 depends on PM && CRC32
325 Enable the PM code's memory area checksum over sleep. This option
326 will generate CRCs of all blocks of memory, and store them before
327 going to sleep. The blocks are then checked on resume for any
330 Note, this can take several seconds depending on memory size
333 See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
335 config SAMSUNG_PM_CHECK_CHUNKSIZE
336 int "S3C2410 PM Suspend CRC Chunksize (KiB)"
337 depends on PM && SAMSUNG_PM_CHECK
340 Set the chunksize in Kilobytes of the CRC for checking memory
341 corruption over suspend and resume. A smaller value will mean that
342 the CRC data block will take more memory, but wil identify any
343 faults with better precision.
345 See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
347 config SAMSUNG_WAKEMASK
351 Compile support for wakeup-mask controls found on the S3C6400
352 and above. This code allows a set of interrupt to wakeup-mask
353 mappings. See <plat/wakeup-mask.h>
355 comment "Power Domain"
358 bool "Samsung Power Domain"
359 depends on PM_RUNTIME
361 Say Y here if you want to control Power Domain by Runtime PM.