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