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.
44 This option enables ATAGS based boot support code for
45 Samsung platforms, including static platform devices, legacy
46 clock, timer and interrupt initialization, etc.
48 Platforms that support only DT based boot need not to select
54 int "Space between gpio banks"
57 Add a number of spare GPIO entries between each bank for debugging
58 purposes. This allows any problems where an counter overflows from
59 one bank to another to be caught, at the expense of using a little
65 Internal configuration option to enable the s3c specific gpio
66 chip tracking if the platform requires it.
71 bool "ADC common driver support"
72 depends on !ARCH_MULTIPLATFORM
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
231 config SAMSUNG_PM_GPIO
233 default y if GPIO_SAMSUNG && PM
235 Include legacy GPIO power management code for platforms not using
236 pinctrl-samsung driver.
239 comment "Power management"
241 config SAMSUNG_PM_DEBUG
242 bool "Samsung PM Suspend debug"
243 depends on PM && DEBUG_KERNEL
244 depends on DEBUG_EXYNOS_UART || DEBUG_S3C24XX_UART || DEBUG_S3C2410_UART
246 Say Y here if you want verbose debugging from the PM Suspend and
247 Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
248 for more information.
250 config S3C_PM_DEBUG_LED_SMDK
251 bool "SMDK LED suspend/resume debugging"
252 depends on PM && (MACH_SMDK6410)
254 Say Y here to enable the use of the SMDK LEDs on the baseboard
255 for debugging of the state of the suspend and resume process.
257 Note, this currently only works for S3C64XX based SMDK boards.
259 config SAMSUNG_PM_CHECK
260 bool "S3C2410 PM Suspend Memory CRC"
264 Enable the PM code's memory area checksum over sleep. This option
265 will generate CRCs of all blocks of memory, and store them before
266 going to sleep. The blocks are then checked on resume for any
269 Note, this can take several seconds depending on memory size
272 See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
274 config SAMSUNG_PM_CHECK_CHUNKSIZE
275 int "S3C2410 PM Suspend CRC Chunksize (KiB)"
276 depends on PM && SAMSUNG_PM_CHECK
279 Set the chunksize in Kilobytes of the CRC for checking memory
280 corruption over suspend and resume. A smaller value will mean that
281 the CRC data block will take more memory, but wil identify any
282 faults with better precision.
284 See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
286 config SAMSUNG_WAKEMASK
290 Compile support for wakeup-mask controls found on the S3C6400
291 and above. This code allows a set of interrupt to wakeup-mask
292 mappings. See <plat/wakeup-mask.h>
294 config SAMSUNG_WDT_RESET
297 Compile support for system restart by triggering watchdog reset.
298 Used on SoCs that do not provide dedicated reset control.
300 config DEBUG_S3C_UART
301 depends on PLAT_SAMSUNG
303 default "0" if DEBUG_S3C_UART0
304 default "1" if DEBUG_S3C_UART1
305 default "2" if DEBUG_S3C_UART2
306 default "3" if DEBUG_S3C_UART3