blob: 1c2fe91c23e93b4ea49967423eb16ab61d31ce78 [file] [log] [blame]
Ben Dookscf383672009-11-10 00:14:58 +00001# arch/arm/plat-samsung/Kconfig
2#
3# Copyright 2009 Simtec Electronics
4#
5# Licensed under GPLv2
6
7config PLAT_SAMSUNG
8 bool
9 depends on ARCH_S3C2410 || ARCH_S3C24A0 || ARCH_S3C64XX || ARCH_S5PC1XX
10 default y
11 help
12 Base platform code for all Samsung SoC based systems
13
14if PLAT_SAMSUNG
15
Harald Welteaa9ad6a2009-12-01 01:24:34 +000016config SAMSUNG_CLKSRC
17 bool
18 help
19 Select the clock code for the clksrc implementation
20 used by newer systems such as the S3C64XX.
Ben Dookscf383672009-11-10 00:14:58 +000021
Ben Dooks7162ba02010-01-06 10:14:51 +090022# options for IRQ support
23
24config SAMSUNG_IRQ_VIC_TIMER
25 bool
26 help
27 Internal configuration to build the VIC timer interrupt code.
28
Ben Dooks51022cf2010-01-06 11:18:44 +090029config SAMSUNG_IRQ_UART
30 bool
31 help
32 Internal configuration to build the IRQ UART demux code.
33
Ben Dooks4f830db2010-01-06 02:28:20 +090034# options for gpio configuration support
35
Kukjin Kim1f323cf2010-01-19 15:30:54 +090036config SAMSUNG_GPIOLIB_4BIT
37 bool
38 help
39 GPIOlib file contains the 4 bit modification functions for gpio
40 configuration. GPIOlib shall be compiled only for S3C64XX and S5P
41 series of processors.
42
Ben Dooks4f830db2010-01-06 02:28:20 +090043config S3C_GPIO_CFG_S3C24XX
44 bool
45 help
46 Internal configuration to enable S3C24XX style GPIO configuration
47 functions.
48
49config S3C_GPIO_CFG_S3C64XX
50 bool
51 help
52 Internal configuration to enable S3C64XX style GPIO configuration
53 functions.
54
55config S5P_GPIO_CFG_S5PC1XX
56 bool
57 help
58 Internal configuration to enable S5PC1XX style GPIO configuration
59 functions.
60
61config S3C_GPIO_PULL_UPDOWN
62 bool
63 help
64 Internal configuration to enable the correct GPIO pull helper
65
66config S3C_GPIO_PULL_DOWN
67 bool
68 help
69 Internal configuration to enable the correct GPIO pull helper
70
71config S3C_GPIO_PULL_UP
72 bool
73 help
74 Internal configuration to enable the correct GPIO pull helper
75
Kukjin Kim85841bc2010-01-11 12:21:51 +090076config SAMSUNG_GPIO_EXTRA
77 int "Number of additional GPIO pins"
78 default 0
79 help
80 Use additional GPIO space in addition to the GPIO's the SOC
81 provides. This allows expanding the GPIO space for use with
82 GPIO expanders.
83
Maurus Cuelenaere3929e1e2010-01-14 00:30:31 +010084# ADC driver
85
86config S3C_ADC
87 bool "ADC common driver support"
88 help
89 Core support for the ADC block found in the Samsung SoC systems
90 for drivers such as the touchscreen and hwmon to use to share
91 this resource.
92
Ben Dooksb6a60412010-01-06 02:45:09 +090093# device definitions to compile in
94
95config S3C_DEV_HSMMC
96 bool
97 help
98 Compile in platform device definitions for HSMMC code
99
100config S3C_DEV_HSMMC1
101 bool
102 help
103 Compile in platform device definitions for HSMMC channel 1
104
105config S3C_DEV_HSMMC2
106 bool
107 help
108 Compile in platform device definitions for HSMMC channel 2
109
110config S3C_DEV_I2C1
111 bool
112 help
113 Compile in platform device definitions for I2C channel 1
114
115config S3C_DEV_FB
116 bool
117 help
118 Compile in platform device definition for framebuffer
119
120config S3C_DEV_USB_HOST
121 bool
122 help
123 Compile in platform device definition for USB host.
124
125config S3C_DEV_USB_HSOTG
126 bool
127 help
128 Compile in platform device definition for USB high-speed OtG
129
130config S3C_DEV_NAND
131 bool
132 help
133 Compile in platform device definition for NAND controller
134
Ben Dooks80057452010-01-20 12:29:25 +0900135comment "Power management"
136
137config SAMSUNG_PM_DEBUG
138 bool "S3C2410 PM Suspend debug"
139 depends on PM
140 help
141 Say Y here if you want verbose debugging from the PM Suspend and
142 Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
143 for more information.
144
145config S3C_PM_DEBUG_LED_SMDK
146 bool "SMDK LED suspend/resume debugging"
147 depends on PM && (MACH_SMDK6410)
148 help
149 Say Y here to enable the use of the SMDK LEDs on the baseboard
150 for debugging of the state of the suspend and resume process.
151
152 Note, this currently only works for S3C64XX based SMDK boards.
153
154config SAMSUNG_PM_CHECK
155 bool "S3C2410 PM Suspend Memory CRC"
156 depends on PM && CRC32
157 help
158 Enable the PM code's memory area checksum over sleep. This option
159 will generate CRCs of all blocks of memory, and store them before
160 going to sleep. The blocks are then checked on resume for any
161 errors.
162
163 Note, this can take several seconds depending on memory size
164 and CPU speed.
165
166 See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
167
168config SAMSUNG_PM_CHECK_CHUNKSIZE
169 int "S3C2410 PM Suspend CRC Chunksize (KiB)"
170 depends on PM && SAMSUNG_PM_CHECK
171 default 64
172 help
173 Set the chunksize in Kilobytes of the CRC for checking memory
174 corruption over suspend and resume. A smaller value will mean that
175 the CRC data block will take more memory, but wil identify any
176 faults with better precision.
177
178 See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
179
Ben Dookscf383672009-11-10 00:14:58 +0000180endif