Merge remote-tracking branch 'asoc/fix/fsl-ssi' into asoc-linus
[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
b1b3f49c 42 select S3C2412_PM if PM
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
b1b3f49c 49 select S3C2416_PM if PM
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
dd6f01b5 58 select S3C2410_PM if PM
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
dd6f01b5
KK
66 select S3C2410_PM if PM
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
365 help
366 Internal config node to apply S3C2416 power management
367
368config S3C2416_SETUP_SDHCI
369 bool
370 select S3C2416_SETUP_SDHCI_GPIO
371 help
372 Internal helper functions for S3C2416 based SDHCI systems
373
374config S3C2416_SETUP_SDHCI_GPIO
375 bool
376 help
377 Common setup code for SDHCI gpio.
378
379comment "S3C2416 Boards"
380
381config MACH_SMDK2416
382 bool "SMDK2416"
b1b3f49c 383 select S3C2416_SETUP_SDHCI
28c569f6 384 select S3C24XX_SMDK
26febf8e
KK
385 select S3C_DEV_FB
386 select S3C_DEV_HSMMC
387 select S3C_DEV_HSMMC1
388 select S3C_DEV_NAND
389 select S3C_DEV_USB_HOST
26febf8e
KK
390 help
391 Say Y here if you are using an SMDK2416
392
35aca364
HS
393config MACH_S3C2416_DT
394 bool "Samsung S3C2416 machine using devicetree"
395 select CLKSRC_OF
396 select USE_OF
397 select PINCTRL
398 select PINCTRL_S3C24XX
399 help
400 Machine support for Samsung S3C2416 machines with device tree enabled.
401 Select this if a fdt blob is available for the S3C2416 SoC based board.
402 Note: This is under development and not all peripherals can be supported
403 with this machine file.
404
26febf8e
KK
405endif # CPU_S3C2416
406
dd6f01b5
KK
407if CPU_S3C2440
408
acf2d41d
KK
409config S3C2440_XTAL_12000000
410 bool
411 help
412 Indicate that the build needs to support 12MHz system
413 crystal.
414
415config S3C2440_XTAL_16934400
416 bool
417 help
418 Indicate that the build needs to support 16.9344MHz system
419 crystal.
420
421config S3C2440_PLL_12000000
422 bool
f023f8dd
VK
423 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_12000000
424 default y if S3C24XX_PLL
acf2d41d
KK
425 help
426 PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
427
428config S3C2440_PLL_16934400
429 bool
f023f8dd
VK
430 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_16934400
431 default y if S3C24XX_PLL
acf2d41d
KK
432 help
433 PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
434
dd6f01b5
KK
435comment "S3C2440 Boards"
436
437#
438# The "S3C2440 Boards" list is ordered alphabetically by option text.
439# (without ARCH_ or MACH_)
440#
441
442config MACH_ANUBIS
443 bool "Simtec Electronics ANUBIS"
dd6f01b5 444 select HAVE_PATA_PLATFORM
efe32f6e 445 select S3C2410_COMMON_DCLK
dd6f01b5 446 select S3C2440_XTAL_12000000
b1b3f49c 447 select S3C24XX_SIMTEC_PM if PM
dd6f01b5
KK
448 select S3C_DEV_USB_HOST
449 help
450 Say Y here if you are using the Simtec Electronics ANUBIS
451 development system
452
453config MACH_AT2440EVB
454 bool "Avantech AT2440EVB development board"
dd6f01b5 455 select S3C_DEV_NAND
b1b3f49c 456 select S3C_DEV_USB_HOST
dd6f01b5
KK
457 help
458 Say Y here if you are using the AT2440EVB development board
459
460config MACH_MINI2440
461 bool "MINI2440 development board"
37373f16 462 select EEPROM_AT24 if I2C
dd6f01b5 463 select LEDS_CLASS
678a0990 464 select LEDS_TRIGGERS
dd6f01b5 465 select LEDS_TRIGGER_BACKLIGHT
b1b3f49c 466 select NEW_LEDS
dd6f01b5
KK
467 select S3C_DEV_NAND
468 select S3C_DEV_USB_HOST
e51d5486 469 select S3C_SETUP_CAMIF
dd6f01b5
KK
470 help
471 Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
472 available via various sources. It can come with a 3.5" or 7" touch LCD.
473
474config MACH_NEXCODER_2440
475 bool "NexVision NEXCODER 2440 Light Board"
476 select S3C2440_XTAL_12000000
dd6f01b5 477 select S3C_DEV_NAND
b1b3f49c 478 select S3C_DEV_USB_HOST
dd6f01b5
KK
479 help
480 Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
481
482config MACH_OSIRIS
483 bool "Simtec IM2440D20 (OSIRIS) module"
efe32f6e 484 select S3C2410_COMMON_DCLK
f023f8dd 485 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
b1b3f49c 486 select S3C2440_XTAL_12000000
b1b3f49c 487 select S3C24XX_SIMTEC_PM if PM
dd6f01b5 488 select S3C_DEV_NAND
b1b3f49c 489 select S3C_DEV_USB_HOST
dd6f01b5
KK
490 help
491 Say Y here if you are using the Simtec IM2440D20 module, also
492 known as the Osiris.
493
494config MACH_OSIRIS_DVS
495 tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"
496 depends on MACH_OSIRIS
f88309c6 497 depends on TPS65010
dd6f01b5
KK
498 help
499 Say Y/M here if you want to have dynamic voltage scaling support
500 on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.
501
502 The DVS driver alters the voltage supplied to the ARM core
503 depending on the frequency it is running at. The driver itself
504 does not do any of the frequency alteration, which is left up
505 to the cpufreq driver.
506
507config MACH_RX3715
508 bool "HP iPAQ rx3715"
dd6f01b5 509 select PM_H1940 if PM
b1b3f49c 510 select S3C2440_XTAL_16934400
dd6f01b5
KK
511 select S3C_DEV_NAND
512 help
513 Say Y here if you are using the HP iPAQ rx3715.
514
515config ARCH_S3C2440
516 bool "SMDK2440"
517 select S3C2440_XTAL_16934400
28c569f6 518 select S3C24XX_SMDK
dd6f01b5 519 select S3C_DEV_NAND
b1b3f49c 520 select S3C_DEV_USB_HOST
dd6f01b5
KK
521 help
522 Say Y here if you are using the SMDK2440.
523
524config SMDK2440_CPU2440
525 bool "SMDK2440 with S3C2440 CPU module"
526 default y if ARCH_S3C2440
527 select S3C2440_XTAL_16934400
528
529endif # CPU_S3C2440
530
531if CPU_S3C2442
532
533comment "S3C2442 Boards"
534
535#
536# The "S3C2442 Boards" list is ordered alphabetically by option text.
537# (without ARCH_ or MACH_)
538#
539
540config MACH_NEO1973_GTA02
541 bool "Openmoko GTA02 / Freerunner phone"
b1b3f49c 542 select I2C
dd6f01b5
KK
543 select MFD_PCF50633
544 select PCF50633_GPIO
dd6f01b5 545 select POWER_SUPPLY
35e79061 546 select S3C24XX_PWM
dd6f01b5
KK
547 select S3C_DEV_USB_HOST
548 help
549 Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
550
551config MACH_RX1950
552 bool "HP iPAQ rx1950"
dd6f01b5 553 select I2C
b1b3f49c 554 select PM_H1940 if PM
efe32f6e 555 select S3C2410_COMMON_DCLK
f023f8dd 556 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
dd6f01b5 557 select S3C2440_XTAL_16934400
b1b3f49c
RK
558 select S3C24XX_PWM
559 select S3C_DEV_NAND
dd6f01b5
KK
560 help
561 Say Y here if you're using HP iPAQ rx1950
562
bd338d07 563endif # CPU_S3C2442
dd6f01b5 564
8c3d7c30
HS
565if CPU_S3C2443 || CPU_S3C2416
566
f03eb25e
HS
567config S3C2443_SETUP_SPI
568 bool
569 help
570 Common setup code for SPI GPIO configurations
571
46cdaba1
HS
572endif # CPU_S3C2443 || CPU_S3C2416
573
574if CPU_S3C2443
575
84c028b9
KK
576comment "S3C2443 Boards"
577
578config MACH_SMDK2443
579 bool "SMDK2443"
28c569f6 580 select S3C24XX_SMDK
84c028b9
KK
581 select S3C_DEV_HSMMC1
582 help
583 Say Y here if you are using an SMDK2443
584
585endif # CPU_S3C2443
586
85fd6d63
KK
587endmenu # SAMSUNG S3C24XX SoCs Support
588
589endif # ARCH_S3C24XX
This page took 0.156376 seconds and 5 git commands to generate.