ARM: S3C24XX: fix building without PM_SLEEP
[deliverable/linux.git] / arch / arm / mach-s3c24xx / Kconfig
CommitLineData
85fd6d63
KK
1# arch/arm/mach-s3c24xx/Kconfig
2#
3# Copyright (c) 2012 Samsung Electronics Co., Ltd.
4# http://www.samsung.com/
5#
6# Copyright 2007 Simtec Electronics
7#
8# Licensed under GPLv2
9
10if ARCH_S3C24XX
11
09ec1d7e
KK
12config PLAT_S3C24XX
13 def_bool y
14 select ARCH_REQUIRE_GPIOLIB
ce816fa8 15 select NO_IOPORT_MAP
09ec1d7e
KK
16 select S3C_DEV_NAND
17 select IRQ_DOMAIN
18 help
19 Base platform code for any Samsung S3C24XX device
20
4659c534 21
51cb1289 22
85fd6d63
KK
23menu "SAMSUNG S3C24XX SoCs Support"
24
25comment "S3C24XX SoCs"
26
27config CPU_S3C2410
28 bool "SAMSUNG S3C2410"
29 default y
30 select CPU_ARM920T
07ee5e7c 31 select S3C2410_COMMON_CLK
f023f8dd 32 select ARM_S3C2410_CPUFREQ if ARM_S3C24XX_CPUFREQ
b1b3f49c 33 select S3C2410_PM if PM
85fd6d63
KK
34 help
35 Support for S3C2410 and S3C2410A family from the S3C24XX line
36 of Samsung Mobile CPUs.
37
85e2a26f
KK
38config CPU_S3C2412
39 bool "SAMSUNG S3C2412"
85e2a26f 40 select CPU_ARM926T
3c27f314 41 select S3C2412_COMMON_CLK
4f506daf 42 select S3C2412_PM if PM_SLEEP
85e2a26f
KK
43 help
44 Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line
45
26febf8e
KK
46config CPU_S3C2416
47 bool "SAMSUNG S3C2416/S3C2450"
26febf8e 48 select CPU_ARM926T
4f506daf 49 select S3C2416_PM if PM_SLEEP
dfc0f509 50 select S3C2443_COMMON_CLK
26febf8e
KK
51 help
52 Support for the S3C2416 SoC from the S3C24XX line
53
dd6f01b5
KK
54config CPU_S3C2440
55 bool "SAMSUNG S3C2440"
56 select CPU_ARM920T
a28d618e 57 select S3C2410_COMMON_CLK
4f506daf 58 select S3C2410_PM if PM_SLEEP
dd6f01b5
KK
59 help
60 Support for S3C2440 Samsung Mobile CPU based systems.
61
62config CPU_S3C2442
63 bool "SAMSUNG S3C2442"
64 select CPU_ARM920T
a28d618e 65 select S3C2410_COMMON_CLK
4f506daf 66 select S3C2410_PM if PM_SLEEP
dd6f01b5
KK
67 help
68 Support for S3C2442 Samsung Mobile CPU based systems.
69
70config CPU_S3C244X
71 def_bool y
72 depends on CPU_S3C2440 || CPU_S3C2442
73
84c028b9
KK
74config CPU_S3C2443
75 bool "SAMSUNG S3C2443"
84c028b9 76 select CPU_ARM920T
dfc0f509 77 select S3C2443_COMMON_CLK
84c028b9
KK
78 help
79 Support for the S3C2443 SoC from the S3C24XX line
80
28c569f6
HS
81# common code
82
83config S3C24XX_SMDK
84 bool
85 help
86 Common machine code for SMDK2410 and SMDK2440
87
9072dc98
HS
88config S3C24XX_SIMTEC_AUDIO
89 bool
90 depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
91 default y
92 help
93 Add audio devices for common Simtec S3C24XX boards
94
95config S3C24XX_SIMTEC_PM
96 bool
97 help
98 Common power management code for systems that are
99 compatible with the Simtec style of power management
100
ec2cc753
HS
101config S3C24XX_SIMTEC_USB
102 bool
103 help
104 USB management code for common Simtec S3C24XX boards
105
2c5689a7
HS
106config S3C24XX_SETUP_TS
107 bool
108 help
109 Compile in platform device definition for Samsung TouchScreen.
110
85fd6d63
KK
111config S3C2410_PM
112 bool
113 help
114 Power Management code common to S3C2410 and better
115
f023f8dd
VK
116config S3C24XX_PLL
117 bool "Support CPUfreq changing of PLL frequency (EXPERIMENTAL)"
3715534a 118 depends on ARM_S3C24XX_CPUFREQ
f023f8dd
VK
119 help
120 Compile in support for changing the PLL frequency from the
121 S3C24XX series CPUfreq driver. The PLL takes time to settle
122 after a frequency change, so by default it is not enabled.
123
124 This also means that the PLL tables for the selected CPU(s) will
125 be built which may increase the size of the kernel image.
126
09ec1d7e
KK
127# cpu frequency items common between s3c2410 and s3c2440/s3c2442
128
129config S3C2410_IOTIMING
130 bool
f023f8dd 131 depends on ARM_S3C24XX_CPUFREQ
09ec1d7e
KK
132 help
133 Internal node to select io timing code that is common to the s3c2410
134 and s3c2440/s3c2442 cpu frequency support.
135
136config S3C2410_CPUFREQ_UTILS
f023f8dd
VK
137 bool
138 depends on ARM_S3C24XX_CPUFREQ
139 help
140 Internal node to select timing code that is common to the s3c2410
141 and s3c2440/s3c244 cpu frequency support.
09ec1d7e
KK
142
143# cpu frequency support common to s3c2412, s3c2413 and s3c2442
144
145config S3C2412_IOTIMING
146 bool
f023f8dd 147 depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2412 || CPU_S3C2443)
09ec1d7e
KK
148 help
149 Intel node to select io timing code that is common to the s3c2412
150 and the s3c2443.
151
7518dde9
KK
152# cpu-specific sections
153
154if CPU_S3C2410
155
82c18712
KK
156config S3C2410_PLL
157 bool
f023f8dd 158 depends on ARM_S3C2410_CPUFREQ && S3C24XX_PLL
82c18712
KK
159 default y
160 help
161 Select the PLL table for the S3C2410
162
ec2cc753 163config S3C24XX_SIMTEC_NOR
85fd6d63
KK
164 bool
165 help
166 Internal node to specify machine has simtec NOR mapping
167
168config MACH_BAST_IDE
169 bool
170 select HAVE_PATA_PLATFORM
171 help
172 Internal node for machines with an BAST style IDE
173 interface
174
175comment "S3C2410 Boards"
176
177#
178# The "S3C2410 Boards" list is ordered alphabetically by option text.
179# (without ARCH_ or MACH_)
180#
181
182config MACH_AML_M5900
183 bool "AML M5900 Series"
9072dc98 184 select S3C24XX_SIMTEC_PM if PM
85fd6d63
KK
185 select S3C_DEV_USB_HOST
186 help
187 Say Y here if you are using the American Microsystems M5900 Series
188 <http://www.amltd.com>
189
190config ARCH_BAST
191 bool "Simtec Electronics BAST (EB2410ITX)"
b1b3f49c
RK
192 select ISA
193 select MACH_BAST_IDE
efe32f6e 194 select S3C2410_COMMON_DCLK
f023f8dd 195 select S3C2410_IOTIMING if ARM_S3C2410_CPUFREQ
ec2cc753 196 select S3C24XX_SIMTEC_NOR
b1b3f49c 197 select S3C24XX_SIMTEC_PM if PM
ec2cc753 198 select S3C24XX_SIMTEC_USB
85fd6d63 199 select S3C_DEV_HWMON
85fd6d63 200 select S3C_DEV_NAND
b1b3f49c 201 select S3C_DEV_USB_HOST
85fd6d63
KK
202 help
203 Say Y here if you are using the Simtec Electronics EB2410ITX
204 development board (also known as BAST)
205
206config BAST_PC104_IRQ
207 bool "BAST PC104 IRQ support"
208 depends on ARCH_BAST
209 default y
210 help
211 Say Y here to enable the PC104 IRQ routing on the
212 Simtec BAST (EB2410ITX)
213
214config ARCH_H1940
215 bool "IPAQ H1940"
216 select PM_H1940 if PM
2c5689a7 217 select S3C24XX_SETUP_TS
b1b3f49c
RK
218 select S3C_DEV_NAND
219 select S3C_DEV_USB_HOST
85fd6d63
KK
220 help
221 Say Y here if you are using the HP IPAQ H1940
222
223config H1940BT
224 tristate "Control the state of H1940 bluetooth chip"
225 depends on ARCH_H1940
226 select RFKILL
227 help
228 This is a simple driver that is able to control
229 the state of built in bluetooth chip on h1940.
230
231config PM_H1940
232 bool
233 help
234 Internal node for H1940 and related PM
235
236config MACH_N30
237 bool "Acer N30 family"
85fd6d63 238 select S3C_DEV_NAND
b1b3f49c 239 select S3C_DEV_USB_HOST
85fd6d63
KK
240 help
241 Say Y here if you want suppt for the Acer N30, Acer N35,
242 Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs.
243
244config MACH_OTOM
245 bool "NexVision OTOM Board"
85fd6d63 246 select S3C_DEV_NAND
b1b3f49c 247 select S3C_DEV_USB_HOST
85fd6d63
KK
248 help
249 Say Y here if you are using the Nex Vision OTOM board
250
251config MACH_QT2410
252 bool "QT2410"
85fd6d63 253 select S3C_DEV_NAND
b1b3f49c 254 select S3C_DEV_USB_HOST
85fd6d63
KK
255 help
256 Say Y here if you are using the Armzone QT2410
257
258config ARCH_SMDK2410
259 bool "SMDK2410/A9M2410"
28c569f6 260 select S3C24XX_SMDK
1a4c2a19 261 select S3C_DEV_USB_HOST
85fd6d63
KK
262 help
263 Say Y here if you are using the SMDK2410 or the derived module A9M2410
264 <http://www.fsforth.de>
265
266config MACH_TCT_HAMMER
267 bool "TCT Hammer Board"
268 select S3C_DEV_USB_HOST
269 help
270 Say Y here if you are using the TinCanTools Hammer Board
271 <http://www.tincantools.com>
272
273config MACH_VR1000
274 bool "Thorcom VR1000"
b1b3f49c 275 select MACH_BAST_IDE
efe32f6e 276 select S3C2410_COMMON_DCLK
ec2cc753 277 select S3C24XX_SIMTEC_NOR
b1b3f49c 278 select S3C24XX_SIMTEC_PM if PM
ec2cc753 279 select S3C24XX_SIMTEC_USB
b1b3f49c 280 select S3C_DEV_USB_HOST
85fd6d63
KK
281 help
282 Say Y here if you are using the Thorcom VR1000 board.
283
284endif # CPU_S3C2410
285
85e2a26f
KK
286config S3C2412_PM_SLEEP
287 bool
288 help
289 Internal config node to apply sleep for S3C2412 power management.
290 Can be selected by another SoCs such as S3C2416 with similar
291 sleep procedure.
292
293if CPU_S3C2412
294
295config CPU_S3C2412_ONLY
296 bool
1c13786d 297 depends on !CPU_S3C2410 && !CPU_S3C2416 && !CPU_S3C2440 && \
a4e4d22c 298 !CPU_S3C2442 && !CPU_S3C2443
85e2a26f
KK
299 default y
300
85e2a26f
KK
301config S3C2412_PM
302 bool
7eae354f 303 select S3C2412_PM_SLEEP
59295708 304 select SAMSUNG_WAKEMASK
85e2a26f
KK
305 help
306 Internal config node to apply S3C2412 power management
307
308comment "S3C2412 Boards"
309
310#
311# The "S3C2412 Boards" list is ordered alphabetically by option text.
312# (without ARCH_ or MACH_)
313#
314
315config MACH_JIVE
316 bool "Logitech Jive"
85e2a26f 317 select S3C_DEV_NAND
b1b3f49c 318 select S3C_DEV_USB_HOST
85e2a26f
KK
319 help
320 Say Y here if you are using the Logitech Jive.
321
322config MACH_JIVE_SHOW_BOOTLOADER
5ec9b067
KC
323 bool "Allow access to bootloader partitions in MTD"
324 depends on MACH_JIVE
85e2a26f
KK
325
326config MACH_S3C2413
327 bool
328 help
329 Internal node for S3C2413 version of SMDK2413, so that
330 machine_is_s3c2413() will work when MACH_SMDK2413 is
331 selected
332
333config MACH_SMDK2412
334 bool "SMDK2412"
335 select MACH_SMDK2413
336 help
337 Say Y here if you are using an SMDK2412
338
339 Note, this shares support with SMDK2413, so will automatically
340 select MACH_SMDK2413.
341
342config MACH_SMDK2413
343 bool "SMDK2413"
344 select MACH_S3C2413
28c569f6 345 select S3C24XX_SMDK
85e2a26f 346 select S3C_DEV_NAND
b1b3f49c 347 select S3C_DEV_USB_HOST
85e2a26f
KK
348 help
349 Say Y here if you are using an SMDK2413
350
351config MACH_VSTMS
352 bool "VMSTMS"
85e2a26f 353 select S3C_DEV_NAND
b1b3f49c 354 select S3C_DEV_USB_HOST
85e2a26f
KK
355 help
356 Say Y here if you are using an VSTMS board
357
358endif # CPU_S3C2412
359
26febf8e
KK
360if CPU_S3C2416
361
362config S3C2416_PM
363 bool
364 select S3C2412_PM_SLEEP
ea8d33ad 365 select SAMSUNG_WAKEMASK
26febf8e
KK
366 help
367 Internal config node to apply S3C2416 power management
368
369config S3C2416_SETUP_SDHCI
370 bool
371 select S3C2416_SETUP_SDHCI_GPIO
372 help
373 Internal helper functions for S3C2416 based SDHCI systems
374
375config S3C2416_SETUP_SDHCI_GPIO
376 bool
377 help
378 Common setup code for SDHCI gpio.
379
380comment "S3C2416 Boards"
381
382config MACH_SMDK2416
383 bool "SMDK2416"
b1b3f49c 384 select S3C2416_SETUP_SDHCI
28c569f6 385 select S3C24XX_SMDK
26febf8e
KK
386 select S3C_DEV_FB
387 select S3C_DEV_HSMMC
388 select S3C_DEV_HSMMC1
389 select S3C_DEV_NAND
390 select S3C_DEV_USB_HOST
26febf8e
KK
391 help
392 Say Y here if you are using an SMDK2416
393
35aca364
HS
394config MACH_S3C2416_DT
395 bool "Samsung S3C2416 machine using devicetree"
396 select CLKSRC_OF
397 select USE_OF
398 select PINCTRL
399 select PINCTRL_S3C24XX
400 help
401 Machine support for Samsung S3C2416 machines with device tree enabled.
402 Select this if a fdt blob is available for the S3C2416 SoC based board.
403 Note: This is under development and not all peripherals can be supported
404 with this machine file.
405
26febf8e
KK
406endif # CPU_S3C2416
407
dd6f01b5
KK
408if CPU_S3C2440
409
acf2d41d
KK
410config S3C2440_XTAL_12000000
411 bool
412 help
413 Indicate that the build needs to support 12MHz system
414 crystal.
415
416config S3C2440_XTAL_16934400
417 bool
418 help
419 Indicate that the build needs to support 16.9344MHz system
420 crystal.
421
422config S3C2440_PLL_12000000
423 bool
f023f8dd
VK
424 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_12000000
425 default y if S3C24XX_PLL
acf2d41d
KK
426 help
427 PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
428
429config S3C2440_PLL_16934400
430 bool
f023f8dd
VK
431 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_16934400
432 default y if S3C24XX_PLL
acf2d41d
KK
433 help
434 PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
435
dd6f01b5
KK
436comment "S3C2440 Boards"
437
438#
439# The "S3C2440 Boards" list is ordered alphabetically by option text.
440# (without ARCH_ or MACH_)
441#
442
443config MACH_ANUBIS
444 bool "Simtec Electronics ANUBIS"
dd6f01b5 445 select HAVE_PATA_PLATFORM
efe32f6e 446 select S3C2410_COMMON_DCLK
dd6f01b5 447 select S3C2440_XTAL_12000000
b1b3f49c 448 select S3C24XX_SIMTEC_PM if PM
dd6f01b5
KK
449 select S3C_DEV_USB_HOST
450 help
451 Say Y here if you are using the Simtec Electronics ANUBIS
452 development system
453
454config MACH_AT2440EVB
455 bool "Avantech AT2440EVB development board"
dd6f01b5 456 select S3C_DEV_NAND
b1b3f49c 457 select S3C_DEV_USB_HOST
dd6f01b5
KK
458 help
459 Say Y here if you are using the AT2440EVB development board
460
461config MACH_MINI2440
462 bool "MINI2440 development board"
37373f16 463 select EEPROM_AT24 if I2C
dd6f01b5 464 select LEDS_CLASS
678a0990 465 select LEDS_TRIGGERS
dd6f01b5 466 select LEDS_TRIGGER_BACKLIGHT
b1b3f49c 467 select NEW_LEDS
dd6f01b5
KK
468 select S3C_DEV_NAND
469 select S3C_DEV_USB_HOST
e51d5486 470 select S3C_SETUP_CAMIF
dd6f01b5
KK
471 help
472 Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
473 available via various sources. It can come with a 3.5" or 7" touch LCD.
474
475config MACH_NEXCODER_2440
476 bool "NexVision NEXCODER 2440 Light Board"
477 select S3C2440_XTAL_12000000
dd6f01b5 478 select S3C_DEV_NAND
b1b3f49c 479 select S3C_DEV_USB_HOST
dd6f01b5
KK
480 help
481 Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
482
483config MACH_OSIRIS
484 bool "Simtec IM2440D20 (OSIRIS) module"
efe32f6e 485 select S3C2410_COMMON_DCLK
f023f8dd 486 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
b1b3f49c 487 select S3C2440_XTAL_12000000
b1b3f49c 488 select S3C24XX_SIMTEC_PM if PM
dd6f01b5 489 select S3C_DEV_NAND
b1b3f49c 490 select S3C_DEV_USB_HOST
dd6f01b5
KK
491 help
492 Say Y here if you are using the Simtec IM2440D20 module, also
493 known as the Osiris.
494
495config MACH_OSIRIS_DVS
496 tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"
497 depends on MACH_OSIRIS
f88309c6 498 depends on TPS65010
dd6f01b5
KK
499 help
500 Say Y/M here if you want to have dynamic voltage scaling support
501 on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.
502
503 The DVS driver alters the voltage supplied to the ARM core
504 depending on the frequency it is running at. The driver itself
505 does not do any of the frequency alteration, which is left up
506 to the cpufreq driver.
507
508config MACH_RX3715
509 bool "HP iPAQ rx3715"
dd6f01b5 510 select PM_H1940 if PM
b1b3f49c 511 select S3C2440_XTAL_16934400
dd6f01b5
KK
512 select S3C_DEV_NAND
513 help
514 Say Y here if you are using the HP iPAQ rx3715.
515
516config ARCH_S3C2440
517 bool "SMDK2440"
518 select S3C2440_XTAL_16934400
28c569f6 519 select S3C24XX_SMDK
dd6f01b5 520 select S3C_DEV_NAND
b1b3f49c 521 select S3C_DEV_USB_HOST
dd6f01b5
KK
522 help
523 Say Y here if you are using the SMDK2440.
524
525config SMDK2440_CPU2440
526 bool "SMDK2440 with S3C2440 CPU module"
527 default y if ARCH_S3C2440
528 select S3C2440_XTAL_16934400
529
530endif # CPU_S3C2440
531
532if CPU_S3C2442
533
534comment "S3C2442 Boards"
535
536#
537# The "S3C2442 Boards" list is ordered alphabetically by option text.
538# (without ARCH_ or MACH_)
539#
540
541config MACH_NEO1973_GTA02
542 bool "Openmoko GTA02 / Freerunner phone"
b1b3f49c 543 select I2C
dd6f01b5
KK
544 select MFD_PCF50633
545 select PCF50633_GPIO
dd6f01b5 546 select POWER_SUPPLY
35e79061 547 select S3C24XX_PWM
dd6f01b5
KK
548 select S3C_DEV_USB_HOST
549 help
550 Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
551
552config MACH_RX1950
553 bool "HP iPAQ rx1950"
dd6f01b5 554 select I2C
b1b3f49c 555 select PM_H1940 if PM
efe32f6e 556 select S3C2410_COMMON_DCLK
f023f8dd 557 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
dd6f01b5 558 select S3C2440_XTAL_16934400
b1b3f49c
RK
559 select S3C24XX_PWM
560 select S3C_DEV_NAND
dd6f01b5
KK
561 help
562 Say Y here if you're using HP iPAQ rx1950
563
bd338d07 564endif # CPU_S3C2442
dd6f01b5 565
8c3d7c30
HS
566if CPU_S3C2443 || CPU_S3C2416
567
f03eb25e
HS
568config S3C2443_SETUP_SPI
569 bool
570 help
571 Common setup code for SPI GPIO configurations
572
46cdaba1
HS
573endif # CPU_S3C2443 || CPU_S3C2416
574
575if CPU_S3C2443
576
84c028b9
KK
577comment "S3C2443 Boards"
578
579config MACH_SMDK2443
580 bool "SMDK2443"
28c569f6 581 select S3C24XX_SMDK
84c028b9
KK
582 select S3C_DEV_HSMMC1
583 help
584 Say Y here if you are using an SMDK2443
585
586endif # CPU_S3C2443
587
85fd6d63
KK
588endmenu # SAMSUNG S3C24XX SoCs Support
589
590endif # ARCH_S3C24XX
This page took 0.160091 seconds and 5 git commands to generate.