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