ARM: S3C24XX: let S3C2412_PM select S3C2412_PM_SLEEP
[firefly-linux-kernel-4.4.55.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 menu "SAMSUNG S3C24XX SoCs Support"
13
14 comment "S3C24XX SoCs"
15
16 config CPU_S3C2410
17         bool "SAMSUNG S3C2410"
18         default y
19         select CPU_ARM920T
20         select CPU_LLSERIAL_S3C2410
21         select S3C2410_CLOCK
22         select S3C2410_CPUFREQ if CPU_FREQ_S3C24XX
23         select S3C2410_PM if PM
24         help
25           Support for S3C2410 and S3C2410A family from the S3C24XX line
26           of Samsung Mobile CPUs.
27
28 config CPU_S3C2412
29         bool "SAMSUNG S3C2412"
30         depends on ARCH_S3C24XX
31         select CPU_ARM926T
32         select CPU_LLSERIAL_S3C2440
33         select S3C2412_DMA if S3C24XX_DMA
34         select S3C2412_PM if PM
35         help
36           Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line
37
38 config CPU_S3C2416
39         bool "SAMSUNG S3C2416/S3C2450"
40         depends on ARCH_S3C24XX
41         select CPU_ARM926T
42         select CPU_LLSERIAL_S3C2440
43         select S3C2416_PM if PM
44         select S3C2443_COMMON
45         select S3C2443_DMA if S3C24XX_DMA
46         select SAMSUNG_CLKSRC
47         help
48           Support for the S3C2416 SoC from the S3C24XX line
49
50 config CPU_S3C2440
51         bool "SAMSUNG S3C2440"
52         select CPU_ARM920T
53         select CPU_LLSERIAL_S3C2440
54         select S3C2410_CLOCK
55         select S3C2410_PM if PM
56         select S3C2440_DMA if S3C24XX_DMA
57         help
58           Support for S3C2440 Samsung Mobile CPU based systems.
59
60 config CPU_S3C2442
61         bool "SAMSUNG S3C2442"
62         select CPU_ARM920T
63         select CPU_LLSERIAL_S3C2440
64         select S3C2410_CLOCK
65         select S3C2410_PM if PM
66         help
67           Support for S3C2442 Samsung Mobile CPU based systems.
68
69 config CPU_S3C244X
70         def_bool y
71         depends on CPU_S3C2440 || CPU_S3C2442
72
73 config CPU_S3C2443
74         bool "SAMSUNG S3C2443"
75         depends on ARCH_S3C24XX
76         select CPU_ARM920T
77         select CPU_LLSERIAL_S3C2440
78         select S3C2443_COMMON
79         select S3C2443_DMA if S3C24XX_DMA
80         select SAMSUNG_CLKSRC
81         help
82           Support for the S3C2443 SoC from the S3C24XX line
83
84 # common code
85
86 config S3C24XX_SMDK
87         bool
88         help
89           Common machine code for SMDK2410 and SMDK2440
90
91 config S3C24XX_SIMTEC_AUDIO
92         bool
93         depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
94         default y
95         help
96           Add audio devices for common Simtec S3C24XX boards
97
98 config S3C24XX_SIMTEC_PM
99         bool
100         help
101           Common power management code for systems that are
102           compatible with the Simtec style of power management
103
104 config S3C24XX_SIMTEC_USB
105         bool
106         help
107           USB management code for common Simtec S3C24XX boards
108
109 config S3C24XX_SETUP_TS
110         bool
111         help
112           Compile in platform device definition for Samsung TouchScreen.
113
114 config S3C2410_DMA
115         bool
116         depends on S3C24XX_DMA && (CPU_S3C2410 || CPU_S3C2442)
117         default y if CPU_S3C2410 || CPU_S3C2442
118         help
119           DMA device selection for S3C2410 and compatible CPUs
120
121 config S3C2410_PM
122         bool
123         help
124           Power Management code common to S3C2410 and better
125
126 # cpu-specific sections
127
128 if CPU_S3C2410
129
130 config S3C24XX_SIMTEC_NOR
131         bool
132         help
133           Internal node to specify machine has simtec NOR mapping
134
135 config MACH_BAST_IDE
136         bool
137         select HAVE_PATA_PLATFORM
138         help
139           Internal node for machines with an BAST style IDE
140           interface
141
142 comment "S3C2410 Boards"
143
144 #
145 # The "S3C2410 Boards" list is ordered alphabetically by option text.
146 # (without ARCH_ or MACH_)
147 #
148
149 config MACH_AML_M5900
150         bool "AML M5900 Series"
151         select S3C24XX_SIMTEC_PM if PM
152         select S3C_DEV_USB_HOST
153         help
154           Say Y here if you are using the American Microsystems M5900 Series
155           <http://www.amltd.com>
156
157 config ARCH_BAST
158         bool "Simtec Electronics BAST (EB2410ITX)"
159         select ISA
160         select MACH_BAST_IDE
161         select S3C2410_IOTIMING if S3C2410_CPUFREQ
162         select S3C24XX_DCLK
163         select S3C24XX_SIMTEC_NOR
164         select S3C24XX_SIMTEC_PM if PM
165         select S3C24XX_SIMTEC_USB
166         select S3C_DEV_HWMON
167         select S3C_DEV_NAND
168         select S3C_DEV_USB_HOST
169         help
170           Say Y here if you are using the Simtec Electronics EB2410ITX
171           development board (also known as BAST)
172
173 config BAST_PC104_IRQ
174         bool "BAST PC104 IRQ support"
175         depends on ARCH_BAST
176         default y
177         help
178           Say Y here to enable the PC104 IRQ routing on the
179           Simtec BAST (EB2410ITX)
180
181 config ARCH_H1940
182         bool "IPAQ H1940"
183         select PM_H1940 if PM
184         select S3C24XX_SETUP_TS
185         select S3C_DEV_NAND
186         select S3C_DEV_USB_HOST
187         help
188           Say Y here if you are using the HP IPAQ H1940
189
190 config H1940BT
191         tristate "Control the state of H1940 bluetooth chip"
192         depends on ARCH_H1940
193         select RFKILL
194         help
195           This is a simple driver that is able to control
196           the state of built in bluetooth chip on h1940.
197
198 config PM_H1940
199         bool
200         help
201           Internal node for H1940 and related PM
202
203 config MACH_N30
204         bool "Acer N30 family"
205         select MACH_N35
206         select S3C_DEV_NAND
207         select S3C_DEV_USB_HOST
208         help
209           Say Y here if you want suppt for the Acer N30, Acer N35,
210           Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs.
211
212 config MACH_OTOM
213         bool "NexVision OTOM Board"
214         select S3C_DEV_NAND
215         select S3C_DEV_USB_HOST
216         help
217           Say Y here if you are using the Nex Vision OTOM board
218
219 config MACH_QT2410
220         bool "QT2410"
221         select S3C_DEV_NAND
222         select S3C_DEV_USB_HOST
223         help
224           Say Y here if you are using the Armzone QT2410
225
226 config ARCH_SMDK2410
227         bool "SMDK2410/A9M2410"
228         select S3C24XX_SMDK
229         help
230           Say Y here if you are using the SMDK2410 or the derived module A9M2410
231           <http://www.fsforth.de>
232
233 config MACH_TCT_HAMMER
234         bool "TCT Hammer Board"
235         select S3C_DEV_USB_HOST
236         help
237           Say Y here if you are using the TinCanTools Hammer Board
238           <http://www.tincantools.com>
239
240 config MACH_VR1000
241         bool "Thorcom VR1000"
242         select MACH_BAST_IDE
243         select S3C24XX_DCLK
244         select S3C24XX_SIMTEC_NOR
245         select S3C24XX_SIMTEC_PM if PM
246         select S3C24XX_SIMTEC_USB
247         select S3C_DEV_USB_HOST
248         help
249           Say Y here if you are using the Thorcom VR1000 board.
250
251 endif   # CPU_S3C2410
252
253 config S3C2412_PM_SLEEP
254         bool
255         help
256           Internal config node to apply sleep for S3C2412 power management.
257           Can be selected by another SoCs such as S3C2416 with similar
258           sleep procedure.
259
260 if CPU_S3C2412
261
262 config CPU_S3C2412_ONLY
263         bool
264         depends on ARCH_S3C24XX && !CPU_S3C2410 && \
265                    !CPU_S3C2416 && !CPU_S3C2440 && !CPU_S3C2442 && \
266                    !CPU_S3C2443 && CPU_S3C2412
267         default y
268
269 config S3C2412_DMA
270         bool
271         help
272           Internal config node for S3C2412 DMA support
273
274 config S3C2412_PM
275         bool
276         select S3C2412_PM_SLEEP
277         help
278           Internal config node to apply S3C2412 power management
279
280 comment "S3C2412 Boards"
281
282 #
283 # The "S3C2412 Boards" list is ordered alphabetically by option text.
284 # (without ARCH_ or MACH_)
285 #
286
287 config MACH_JIVE
288         bool "Logitech Jive"
289         select S3C_DEV_NAND
290         select S3C_DEV_USB_HOST
291         help
292           Say Y here if you are using the Logitech Jive.
293
294 config MACH_JIVE_SHOW_BOOTLOADER
295         bool "Allow access to bootloader partitions in MTD (EXPERIMENTAL)"
296         depends on MACH_JIVE && EXPERIMENTAL
297
298 config MACH_S3C2413
299         bool
300         help
301           Internal node for S3C2413 version of SMDK2413, so that
302           machine_is_s3c2413() will work when MACH_SMDK2413 is
303           selected
304
305 config MACH_SMDK2412
306         bool "SMDK2412"
307         select MACH_SMDK2413
308         help
309           Say Y here if you are using an SMDK2412
310
311           Note, this shares support with SMDK2413, so will automatically
312           select MACH_SMDK2413.
313
314 config MACH_SMDK2413
315         bool "SMDK2413"
316         select MACH_S3C2413
317         select S3C24XX_SMDK
318         select S3C_DEV_NAND
319         select S3C_DEV_USB_HOST
320         help
321           Say Y here if you are using an SMDK2413
322
323 config MACH_VSTMS
324         bool "VMSTMS"
325         select S3C_DEV_NAND
326         select S3C_DEV_USB_HOST
327         help
328           Say Y here if you are using an VSTMS board
329
330 endif   # CPU_S3C2412
331
332 if CPU_S3C2416
333
334 config S3C2416_PM
335         bool
336         select S3C2412_PM_SLEEP
337         help
338           Internal config node to apply S3C2416 power management
339
340 config S3C2416_SETUP_SDHCI
341         bool
342         select S3C2416_SETUP_SDHCI_GPIO
343         help
344           Internal helper functions for S3C2416 based SDHCI systems
345
346 config S3C2416_SETUP_SDHCI_GPIO
347         bool
348         help
349           Common setup code for SDHCI gpio.
350
351 comment "S3C2416 Boards"
352
353 config MACH_SMDK2416
354         bool "SMDK2416"
355         select S3C2416_SETUP_SDHCI
356         select S3C24XX_SMDK
357         select S3C_DEV_FB
358         select S3C_DEV_HSMMC
359         select S3C_DEV_HSMMC1
360         select S3C_DEV_NAND
361         select S3C_DEV_USB_HOST
362         help
363           Say Y here if you are using an SMDK2416
364
365 endif   # CPU_S3C2416
366
367 if CPU_S3C2440
368
369 config S3C2440_DMA
370         bool
371         help
372           Support for S3C2440 specific DMA code5A
373
374 comment "S3C2440 Boards"
375
376 #
377 # The "S3C2440 Boards" list is ordered alphabetically by option text.
378 # (without ARCH_ or MACH_)
379 #
380
381 config MACH_ANUBIS
382         bool "Simtec Electronics ANUBIS"
383         select HAVE_PATA_PLATFORM
384         select S3C2440_XTAL_12000000
385         select S3C24XX_DCLK
386         select S3C24XX_GPIO_EXTRA64
387         select S3C24XX_SIMTEC_PM if PM
388         select S3C_DEV_USB_HOST
389         help
390           Say Y here if you are using the Simtec Electronics ANUBIS
391           development system
392
393 config MACH_AT2440EVB
394         bool "Avantech AT2440EVB development board"
395         select S3C_DEV_NAND
396         select S3C_DEV_USB_HOST
397         help
398           Say Y here if you are using the AT2440EVB development board
399
400 config MACH_MINI2440
401         bool "MINI2440 development board"
402         select EEPROM_AT24
403         select LEDS_CLASS
404         select LEDS_TRIGGERS
405         select LEDS_TRIGGER_BACKLIGHT
406         select NEW_LEDS
407         select S3C_DEV_NAND
408         select S3C_DEV_USB_HOST
409         select S3C_SETUP_CAMIF
410         help
411           Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
412           available via various sources. It can come with a 3.5" or 7" touch LCD.
413
414 config MACH_NEXCODER_2440
415         bool "NexVision NEXCODER 2440 Light Board"
416         select S3C2440_XTAL_12000000
417         select S3C_DEV_NAND
418         select S3C_DEV_USB_HOST
419         help
420           Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
421
422 config MACH_OSIRIS
423         bool "Simtec IM2440D20 (OSIRIS) module"
424         select S3C2410_IOTIMING if S3C2440_CPUFREQ
425         select S3C2440_XTAL_12000000
426         select S3C24XX_DCLK
427         select S3C24XX_GPIO_EXTRA128
428         select S3C24XX_SIMTEC_PM if PM
429         select S3C_DEV_NAND
430         select S3C_DEV_USB_HOST
431         help
432           Say Y here if you are using the Simtec IM2440D20 module, also
433           known as the Osiris.
434
435 config MACH_OSIRIS_DVS
436         tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"
437         depends on MACH_OSIRIS
438         select TPS65010
439         help
440           Say Y/M here if you want to have dynamic voltage scaling support
441           on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.
442
443           The DVS driver alters the voltage supplied to the ARM core
444           depending on the frequency it is running at. The driver itself
445           does not do any of the frequency alteration, which is left up
446           to the cpufreq driver.
447
448 config MACH_RX3715
449         bool "HP iPAQ rx3715"
450         select PM_H1940 if PM
451         select S3C2440_XTAL_16934400
452         select S3C_DEV_NAND
453         help
454           Say Y here if you are using the HP iPAQ rx3715.
455
456 config ARCH_S3C2440
457         bool "SMDK2440"
458         select S3C2440_XTAL_16934400
459         select S3C24XX_SMDK
460         select S3C_DEV_NAND
461         select S3C_DEV_USB_HOST
462         help
463           Say Y here if you are using the SMDK2440.
464
465 config SMDK2440_CPU2440
466         bool "SMDK2440 with S3C2440 CPU module"
467         default y if ARCH_S3C2440
468         select S3C2440_XTAL_16934400
469
470 endif   # CPU_S3C2440
471
472 if CPU_S3C2442
473
474 comment "S3C2442 Boards"
475
476 #
477 # The "S3C2442 Boards" list is ordered alphabetically by option text.
478 # (without ARCH_ or MACH_)
479 #
480
481 config MACH_NEO1973_GTA02
482         bool "Openmoko GTA02 / Freerunner phone"
483         select I2C
484         select MACH_NEO1973
485         select MFD_PCF50633
486         select PCF50633_GPIO
487         select POWER_SUPPLY
488         select S3C24XX_PWM
489         select S3C_DEV_USB_HOST
490         help
491            Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
492
493 config MACH_RX1950
494         bool "HP iPAQ rx1950"
495         select I2C
496         select PM_H1940 if PM
497         select S3C2410_IOTIMING if S3C2440_CPUFREQ
498         select S3C2440_XTAL_16934400
499         select S3C24XX_DCLK
500         select S3C24XX_PWM
501         select S3C_DEV_NAND
502         help
503            Say Y here if you're using HP iPAQ rx1950
504
505 config SMDK2440_CPU2442
506         bool "SMDM2440 with S3C2442 CPU module"
507
508 endif   # CPU_S3C2440
509
510 if CPU_S3C2443 || CPU_S3C2416
511
512 config S3C2443_COMMON
513         bool
514         help
515           Common code for the S3C2443 and similar processors, which includes
516           the S3C2416 and S3C2450.
517
518 config S3C2443_DMA
519         bool
520         help
521           Internal config node for S3C2443 DMA support
522
523 config S3C2443_SETUP_SPI
524         bool
525         help
526           Common setup code for SPI GPIO configurations
527
528 endif   # CPU_S3C2443 || CPU_S3C2416
529
530 if CPU_S3C2443
531
532 comment "S3C2443 Boards"
533
534 config MACH_SMDK2443
535         bool "SMDK2443"
536         select S3C24XX_SMDK
537         select S3C_DEV_HSMMC1
538         help
539           Say Y here if you are using an SMDK2443
540
541 endif   # CPU_S3C2443
542
543 endmenu # SAMSUNG S3C24XX SoCs Support
544
545 endif   # ARCH_S3C24XX