1 # arch/arm/plat-samsung/Kconfig
3 # Copyright 2009 Simtec Electronics
9 depends on PLAT_S3C24XX || ARCH_S3C64XX || ARCH_EXYNOS || ARCH_S5PV210
11 select GENERIC_IRQ_CHIP
14 Base platform code for all Samsung SoC based systems
18 depends on PM && (PLAT_S3C24XX || ARCH_S3C64XX)
21 Base platform power management code for samsung code
24 menu "Samsung Common options"
28 comment "Boot options"
30 config S3C_LOWLEVEL_UART_PORT
31 int "S3C UART to use for low-level messages"
32 depends on ARCH_S3C64XX
35 Choice of which UART port to use for the low-level messages,
36 such as the `Uncompressing...` at start time. The value of
37 this configuration should be between zero and two. The port
38 must have been initialised by the boot-loader before use.
42 depends on !ARCH_MULTIPLATFORM
45 This option enables ATAGS based boot support code for
46 Samsung platforms, including static platform devices, legacy
47 clock, timer and interrupt initialization, etc.
49 Platforms that support only DT based boot need not to select
55 int "Space between gpio banks"
58 Add a number of spare GPIO entries between each bank for debugging
59 purposes. This allows any problems where an counter overflows from
60 one bank to another to be caught, at the expense of using a little
66 Internal configuration option to enable the s3c specific gpio
67 chip tracking if the platform requires it.
72 bool "ADC common driver support"
74 Core support for the ADC block found in the Samsung SoC systems
75 for drivers such as the touchscreen and hwmon to use to share
78 # device definitions to compile in
83 Compile in platform device definitions for HSMMC code
88 Compile in platform device definitions for HSMMC channel 1
93 Compile in platform device definitions for HSMMC channel 2
98 Compile in platform device definitions for HSMMC channel 3
103 Compile in platform device definitions for HWMON
108 Compile in platform device definitions for I2C channel 1
113 Compile in platform device definitions for I2C channel 2
118 Compile in platform device definition for I2C controller 3
123 Compile in platform device definition for I2C controller 4
128 Compile in platform device definition for I2C controller 5
133 Compile in platform device definition for I2C controller 6
138 Compile in platform device definition for I2C controller 7
143 Compile in platform device definition for framebuffer
145 config S3C_DEV_USB_HOST
148 Compile in platform device definition for USB host.
150 config S3C_DEV_USB_HSOTG
153 Compile in platform device definition for USB high-speed OtG
157 default y if ARCH_S3C24XX
159 Complie in platform device definition for Watchdog Timer
164 Compile in platform device definition for NAND controller
166 config S3C_DEV_ONENAND
169 Compile in platform device definition for OneNAND controller
174 Complie in platform device definition for RTC
176 config SAMSUNG_DEV_ADC
179 Compile in platform device definition for ADC controller
181 config SAMSUNG_DEV_IDE
184 Compile in platform device definitions for IDE
186 config S3C64XX_DEV_SPI0
189 Compile in platform device definitions for S3C64XX's type
192 config S3C64XX_DEV_SPI1
195 Compile in platform device definitions for S3C64XX's type
198 config S3C64XX_DEV_SPI2
201 Compile in platform device definitions for S3C64XX's type
204 config SAMSUNG_DEV_TS
207 Common in platform device definitions for touchscreen device
209 config SAMSUNG_DEV_KEYPAD
212 Compile in platform device definitions for keypad
214 config SAMSUNG_DEV_PWM
216 default y if ARCH_S3C24XX
218 Compile in platform device definition for PWM Timer
221 bool "PWM device support"
225 Support for exporting the PWM timer blocks via the pwm device
228 config SAMSUNG_PM_GPIO
230 default y if GPIO_SAMSUNG && PM
232 Include legacy GPIO power management code for platforms not using
233 pinctrl-samsung driver.
236 comment "Power management"
238 config SAMSUNG_PM_DEBUG
239 bool "Samsung PM Suspend debug"
240 depends on PM && DEBUG_KERNEL
241 depends on DEBUG_EXYNOS_UART || DEBUG_S3C24XX_UART || DEBUG_S3C2410_UART
243 Say Y here if you want verbose debugging from the PM Suspend and
244 Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
245 for more information.
247 config S3C_PM_DEBUG_LED_SMDK
248 bool "SMDK LED suspend/resume debugging"
249 depends on PM && (MACH_SMDK6410)
251 Say Y here to enable the use of the SMDK LEDs on the baseboard
252 for debugging of the state of the suspend and resume process.
254 Note, this currently only works for S3C64XX based SMDK boards.
256 config SAMSUNG_PM_CHECK
257 bool "S3C2410 PM Suspend Memory CRC"
261 Enable the PM code's memory area checksum over sleep. This option
262 will generate CRCs of all blocks of memory, and store them before
263 going to sleep. The blocks are then checked on resume for any
266 Note, this can take several seconds depending on memory size
269 See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
271 config SAMSUNG_PM_CHECK_CHUNKSIZE
272 int "S3C2410 PM Suspend CRC Chunksize (KiB)"
273 depends on PM && SAMSUNG_PM_CHECK
276 Set the chunksize in Kilobytes of the CRC for checking memory
277 corruption over suspend and resume. A smaller value will mean that
278 the CRC data block will take more memory, but wil identify any
279 faults with better precision.
281 See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
283 config SAMSUNG_WAKEMASK
287 Compile support for wakeup-mask controls found on the S3C6400
288 and above. This code allows a set of interrupt to wakeup-mask
289 mappings. See <plat/wakeup-mask.h>
291 config SAMSUNG_WDT_RESET
294 Compile support for system restart by triggering watchdog reset.
295 Used on SoCs that do not provide dedicated reset control.
297 config DEBUG_S3C_UART
298 depends on PLAT_SAMSUNG
300 default "0" if DEBUG_S3C_UART0
301 default "1" if DEBUG_S3C_UART1
302 default "2" if DEBUG_S3C_UART2
303 default "3" if DEBUG_S3C_UART3