]> bbs.cooldavid.org Git - net-next-2.6.git/blame - arch/arm/plat-samsung/Kconfig
Merge branches 'irq-core-for-linus' and 'core-locking-for-linus' of git://git.kernel...
[net-next-2.6.git] / arch / arm / plat-samsung / Kconfig
CommitLineData
cf383678
BD
1# arch/arm/plat-samsung/Kconfig
2#
3# Copyright 2009 Simtec Electronics
4#
5# Licensed under GPLv2
6
7config PLAT_SAMSUNG
8 bool
2d4a3b76 9 depends on PLAT_S3C24XX || ARCH_S3C64XX || PLAT_S5P
ae5fa355 10 select NO_IOPORT
cf383678
BD
11 default y
12 help
13 Base platform code for all Samsung SoC based systems
14
15if PLAT_SAMSUNG
16
89f1fa08
BD
17# boot configurations
18
19comment "Boot options"
20
21config S3C_BOOT_WATCHDOG
22 bool "S3C Initialisation watchdog"
23 depends on S3C2410_WATCHDOG
24 help
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.
28
29config S3C_BOOT_ERROR_RESET
30 bool "S3C Reboot on decompression error"
31 help
32 Say y here to use the watchdog to reset the system if the
33 kernel decompressor detects an error during decompression.
34
35config S3C_BOOT_UART_FORCE_FIFO
36 bool "Force UART FIFO on during boot process"
37 default y
38 help
39 Say Y here to force the UART FIFOs on during the kernel
40 uncompressor
41
42
43config S3C_LOWLEVEL_UART_PORT
44 int "S3C UART to use for low-level messages"
45 default 0
46 help
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.
51
52# clock options
53
aa9ad6ad
HW
54config SAMSUNG_CLKSRC
55 bool
56 help
57 Select the clock code for the clksrc implementation
58 used by newer systems such as the S3C64XX.
cf383678 59
7162ba03
BD
60# options for IRQ support
61
62config SAMSUNG_IRQ_VIC_TIMER
63 bool
64 help
65 Internal configuration to build the VIC timer interrupt code.
66
51022cf6
BD
67config SAMSUNG_IRQ_UART
68 bool
69 help
70 Internal configuration to build the IRQ UART demux code.
71
4f830db9
BD
72# options for gpio configuration support
73
1f323cfd
KK
74config SAMSUNG_GPIOLIB_4BIT
75 bool
76 help
77 GPIOlib file contains the 4 bit modification functions for gpio
78 configuration. GPIOlib shall be compiled only for S3C64XX and S5P
79 series of processors.
80
4f830db9
BD
81config S3C_GPIO_CFG_S3C24XX
82 bool
83 help
84 Internal configuration to enable S3C24XX style GPIO configuration
85 functions.
86
87config S3C_GPIO_CFG_S3C64XX
88 bool
89 help
90 Internal configuration to enable S3C64XX style GPIO configuration
91 functions.
92
4f830db9
BD
93config S3C_GPIO_PULL_UPDOWN
94 bool
95 help
96 Internal configuration to enable the correct GPIO pull helper
97
98config S3C_GPIO_PULL_DOWN
99 bool
100 help
101 Internal configuration to enable the correct GPIO pull helper
102
103config S3C_GPIO_PULL_UP
104 bool
105 help
106 Internal configuration to enable the correct GPIO pull helper
107
838c6d49
MS
108config S5P_GPIO_DRVSTR
109 bool
110 help
111 Internal configuration to get and set correct GPIO driver strength
112 helper
113
85841bce
KK
114config SAMSUNG_GPIO_EXTRA
115 int "Number of additional GPIO pins"
116 default 0
117 help
118 Use additional GPIO space in addition to the GPIO's the SOC
119 provides. This allows expanding the GPIO space for use with
120 GPIO expanders.
121
89f1fa08
BD
122config S3C_GPIO_SPACE
123 int "Space between gpio banks"
124 default 0
125 help
126 Add a number of spare GPIO entries between each bank for debugging
127 purposes. This allows any problems where an counter overflows from
128 one bank to another to be caught, at the expense of using a little
129 more memory.
130
131config S3C_GPIO_TRACK
132 bool
133 help
134 Internal configuration option to enable the s3c specific gpio
135 chip tracking if the platform requires it.
136
3929e1e7
MC
137# ADC driver
138
139config S3C_ADC
140 bool "ADC common driver support"
141 help
142 Core support for the ADC block found in the Samsung SoC systems
143 for drivers such as the touchscreen and hwmon to use to share
144 this resource.
145
b6a60413
BD
146# device definitions to compile in
147
148config S3C_DEV_HSMMC
149 bool
150 help
151 Compile in platform device definitions for HSMMC code
152
153config S3C_DEV_HSMMC1
154 bool
155 help
156 Compile in platform device definitions for HSMMC channel 1
157
158config S3C_DEV_HSMMC2
159 bool
160 help
161 Compile in platform device definitions for HSMMC channel 2
162
b3c674bc
HL
163config S3C_DEV_HSMMC3
164 bool
165 help
166 Compile in platform device definitions for HSMMC channel 3
167
6cd82ffe
MC
168config S3C_DEV_HWMON
169 bool
170 help
171 Compile in platform device definitions for HWMON
172
b6a60413
BD
173config S3C_DEV_I2C1
174 bool
175 help
176 Compile in platform device definitions for I2C channel 1
177
c8d833bf
MS
178config S3C_DEV_I2C2
179 bool
180 help
181 Compile in platform device definitions for I2C channel 2
182
b7a98255
KP
183config S3C_DEV_I2C3
184 bool
185 help
186 Compile in platform device definition for I2C controller 3
187
188config S3C_DEV_I2C4
189 bool
190 help
191 Compile in platform device definition for I2C controller 4
192
193config S3C_DEV_I2C5
194 bool
195 help
196 Compile in platform device definition for I2C controller 5
197
198config S3C_DEV_I2C6
199 bool
200 help
201 Compile in platform device definition for I2C controller 6
202
203config S3C_DEV_I2C7
204 bool
205 help
206 Compile in platform device definition for I2C controller 7
207
b6a60413
BD
208config S3C_DEV_FB
209 bool
210 help
211 Compile in platform device definition for framebuffer
212
213config S3C_DEV_USB_HOST
214 bool
215 help
216 Compile in platform device definition for USB host.
217
218config S3C_DEV_USB_HSOTG
219 bool
220 help
221 Compile in platform device definition for USB high-speed OtG
222
e1d5c93e
BG
223config S3C_DEV_WDT
224 bool
225 default y if ARCH_S3C2410
226 help
227 Complie in platform device definition for Watchdog Timer
228
b6a60413
BD
229config S3C_DEV_NAND
230 bool
231 help
232 Compile in platform device definition for NAND controller
233
999304be
MS
234config S3C_DEV_ONENAND
235 bool
236 help
237 Compile in platform device definition for OneNAND controller
238
adc0950c
AD
239config S3C_DEV_RTC
240 bool
241 help
242 Complie in platform device definition for RTC
243
4f7cdc38
NK
244config SAMSUNG_DEV_ADC
245 bool
246 help
247 Compile in platform device definition for ADC controller
248
db90005b
AK
249config SAMSUNG_DEV_IDE
250 bool
251 help
252 Compile in platform device definitions for IDE
253
4b4c6625
JB
254config S3C64XX_DEV_SPI
255 bool
256 help
257 Compile in platform device definitions for S3C64XX's type
258 SPI controllers.
259
2b6c02ab 260config SAMSUNG_DEV_TS
909de0d6
MC
261 bool
262 help
2b6c02ab 263 Common in platform device definitions for touchscreen device
909de0d6 264
995c48ad
JS
265config SAMSUNG_DEV_KEYPAD
266 bool
267 help
268 Compile in platform device definitions for keypad
269
89f1fa08
BD
270# DMA
271
272config S3C_DMA
273 bool
274 help
275 Internal configuration for S3C DMA core
276
d800edeb
JB
277config S3C_PL330_DMA
278 bool
279 select PL330
280 help
281 S3C DMA API Driver for PL330 DMAC.
282
8005745d
BD
283comment "Power management"
284
285config SAMSUNG_PM_DEBUG
286 bool "S3C2410 PM Suspend debug"
287 depends on PM
288 help
289 Say Y here if you want verbose debugging from the PM Suspend and
290 Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
291 for more information.
292
293config S3C_PM_DEBUG_LED_SMDK
294 bool "SMDK LED suspend/resume debugging"
295 depends on PM && (MACH_SMDK6410)
296 help
297 Say Y here to enable the use of the SMDK LEDs on the baseboard
298 for debugging of the state of the suspend and resume process.
299
300 Note, this currently only works for S3C64XX based SMDK boards.
301
302config SAMSUNG_PM_CHECK
303 bool "S3C2410 PM Suspend Memory CRC"
304 depends on PM && CRC32
305 help
306 Enable the PM code's memory area checksum over sleep. This option
307 will generate CRCs of all blocks of memory, and store them before
308 going to sleep. The blocks are then checked on resume for any
309 errors.
310
311 Note, this can take several seconds depending on memory size
312 and CPU speed.
313
314 See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
315
316config SAMSUNG_PM_CHECK_CHUNKSIZE
317 int "S3C2410 PM Suspend CRC Chunksize (KiB)"
318 depends on PM && SAMSUNG_PM_CHECK
319 default 64
320 help
321 Set the chunksize in Kilobytes of the CRC for checking memory
322 corruption over suspend and resume. A smaller value will mean that
323 the CRC data block will take more memory, but wil identify any
324 faults with better precision.
325
326 See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
327
0317e52e
BD
328config SAMSUNG_WAKEMASK
329 bool
330 depends on PM
331 help
332 Compile support for wakeup-mask controls found on the S3C6400
333 and above. This code allows a set of interrupt to wakeup-mask
334 mappings. See <plat/wakeup-mask.h>
335
cf383678 336endif