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
220 config SAMSUNG_DEV_BACKLIGHT
222 depends on SAMSUNG_DEV_PWM
224 Compile in platform device definition LCD backlight with PWM Timer
227 bool "PWM device support"
231 Support for exporting the PWM timer blocks via the pwm device
234 config S3C_SETUP_CAMIF
237 Compile in common setup code for S3C CAMIF devices
244 Internal configuration for S3C DMA core
246 config SAMSUNG_PM_GPIO
248 default y if GPIO_SAMSUNG && PM
250 Include legacy GPIO power management code for platforms not using
251 pinctrl-samsung driver.
253 config SAMSUNG_DMADEV
254 bool "Use legacy Samsung DMA abstraction"
255 depends on CPU_S5PV210 || ARCH_S3C64XX
259 Use DMA device engine for PL330 DMAC.
266 Compile in setup memory (init) code for MFC
268 comment "Power management"
270 config SAMSUNG_PM_DEBUG
271 bool "S3C2410 PM Suspend debug"
272 depends on PM && DEBUG_KERNEL && DEBUG_S3C_UART
274 Say Y here if you want verbose debugging from the PM Suspend and
275 Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
276 for more information.
278 config S3C_PM_DEBUG_LED_SMDK
279 bool "SMDK LED suspend/resume debugging"
280 depends on PM && (MACH_SMDK6410)
282 Say Y here to enable the use of the SMDK LEDs on the baseboard
283 for debugging of the state of the suspend and resume process.
285 Note, this currently only works for S3C64XX based SMDK boards.
287 config SAMSUNG_PM_CHECK
288 bool "S3C2410 PM Suspend Memory CRC"
292 Enable the PM code's memory area checksum over sleep. This option
293 will generate CRCs of all blocks of memory, and store them before
294 going to sleep. The blocks are then checked on resume for any
297 Note, this can take several seconds depending on memory size
300 See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
302 config SAMSUNG_PM_CHECK_CHUNKSIZE
303 int "S3C2410 PM Suspend CRC Chunksize (KiB)"
304 depends on PM && SAMSUNG_PM_CHECK
307 Set the chunksize in Kilobytes of the CRC for checking memory
308 corruption over suspend and resume. A smaller value will mean that
309 the CRC data block will take more memory, but wil identify any
310 faults with better precision.
312 See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
314 config SAMSUNG_WAKEMASK
318 Compile support for wakeup-mask controls found on the S3C6400
319 and above. This code allows a set of interrupt to wakeup-mask
320 mappings. See <plat/wakeup-mask.h>
322 config SAMSUNG_WDT_RESET
325 Compile support for system restart by triggering watchdog reset.
326 Used on SoCs that do not provide dedicated reset control.
328 config DEBUG_S3C_UART
329 depends on PLAT_SAMSUNG
331 default "0" if DEBUG_S3C_UART0
332 default "1" if DEBUG_S3C_UART1
333 default "2" if DEBUG_S3C_UART2
334 default "3" if DEBUG_S3C_UART3