• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
12config PLAT_S3C24XX
13	def_bool y
14	select GPIOLIB
15	select NO_IOPORT_MAP
16	select S3C_DEV_NAND
17	select IRQ_DOMAIN
18	select COMMON_CLK
19	help
20	  Base platform code for any Samsung S3C24XX device
21
22
23
24menu "SAMSUNG S3C24XX SoCs Support"
25
26comment "S3C24XX SoCs"
27
28config CPU_S3C2410
29	bool "SAMSUNG S3C2410"
30	default y
31	select CPU_ARM920T
32	select S3C2410_COMMON_CLK
33	select ARM_S3C2410_CPUFREQ if ARM_S3C24XX_CPUFREQ
34	select S3C2410_PM if PM
35	help
36	  Support for S3C2410 and S3C2410A family from the S3C24XX line
37	  of Samsung Mobile CPUs.
38
39config CPU_S3C2412
40	bool "SAMSUNG S3C2412"
41	select CPU_ARM926T
42	select S3C2412_COMMON_CLK
43	select S3C2412_PM if PM_SLEEP
44	help
45	  Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line
46
47config CPU_S3C2416
48	bool "SAMSUNG S3C2416/S3C2450"
49	select CPU_ARM926T
50	select S3C2416_PM if PM_SLEEP
51	select S3C2443_COMMON_CLK
52	help
53	  Support for the S3C2416 SoC from the S3C24XX line
54
55config CPU_S3C2440
56	bool "SAMSUNG S3C2440"
57	select CPU_ARM920T
58	select S3C2410_COMMON_CLK
59	select S3C2410_PM if PM_SLEEP
60	help
61	  Support for S3C2440 Samsung Mobile CPU based systems.
62
63config CPU_S3C2442
64	bool "SAMSUNG S3C2442"
65	select CPU_ARM920T
66	select S3C2410_COMMON_CLK
67	select S3C2410_PM if PM_SLEEP
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
75config CPU_S3C2443
76	bool "SAMSUNG S3C2443"
77	select CPU_ARM920T
78	select S3C2443_COMMON_CLK
79	help
80	  Support for the S3C2443 SoC from the S3C24XX line
81
82# common code
83
84config S3C24XX_SMDK
85	bool
86	help
87	  Common machine code for SMDK2410 and SMDK2440
88
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
102config S3C24XX_SIMTEC_USB
103	bool
104	help
105	  USB management code for common Simtec S3C24XX boards
106
107config S3C24XX_SETUP_TS
108	bool
109	help
110	  Compile in platform device definition for Samsung TouchScreen.
111
112config S3C2410_PM
113	bool
114	help
115	  Power Management code common to S3C2410 and better
116
117config S3C24XX_PLL
118	bool "Support CPUfreq changing of PLL frequency (EXPERIMENTAL)"
119	depends on ARM_S3C24XX_CPUFREQ
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
128config S3C_SETUP_CAMIF
129	bool
130	help
131	  Compile in common setup code for S3C CAMIF devices
132
133# cpu frequency items common between s3c2410 and s3c2440/s3c2442
134
135config S3C2410_IOTIMING
136	bool
137	depends on ARM_S3C24XX_CPUFREQ
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
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.
148
149# cpu frequency support common to s3c2412, s3c2413 and s3c2442
150
151config S3C2412_IOTIMING
152	bool
153	depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2412 || CPU_S3C2443)
154	help
155	  Intel node to select io timing code that is common to the s3c2412
156	  and the s3c2443.
157
158# cpu-specific sections
159
160if CPU_S3C2410
161
162config S3C2410_PLL
163	bool
164	depends on ARM_S3C2410_CPUFREQ && S3C24XX_PLL
165	default y
166	help
167	  Select the PLL table for the S3C2410
168
169config S3C24XX_SIMTEC_NOR
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"
190	select S3C24XX_SIMTEC_PM if PM
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)"
198	select ISA
199	select MACH_BAST_IDE
200	select S3C2410_COMMON_DCLK
201	select S3C2410_IOTIMING if ARM_S3C2410_CPUFREQ
202	select S3C24XX_SIMTEC_NOR
203	select S3C24XX_SIMTEC_PM if PM
204	select S3C24XX_SIMTEC_USB
205	select S3C_DEV_HWMON
206	select S3C_DEV_NAND
207	select S3C_DEV_USB_HOST
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
223	select S3C24XX_SETUP_TS
224	select S3C_DEV_NAND
225	select S3C_DEV_USB_HOST
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
237config MACH_N30
238	bool "Acer N30 family"
239	select S3C_DEV_NAND
240	select S3C_DEV_USB_HOST
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"
247	select S3C_DEV_NAND
248	select S3C_DEV_USB_HOST
249	help
250	  Say Y here if you are using the Nex Vision OTOM board
251
252config MACH_QT2410
253	bool "QT2410"
254	select S3C_DEV_NAND
255	select S3C_DEV_USB_HOST
256	help
257	  Say Y here if you are using the Armzone QT2410
258
259config ARCH_SMDK2410
260	bool "SMDK2410/A9M2410"
261	select S3C24XX_SMDK
262	select S3C_DEV_USB_HOST
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"
276	select MACH_BAST_IDE
277	select S3C2410_COMMON_DCLK
278	select S3C24XX_SIMTEC_NOR
279	select S3C24XX_SIMTEC_PM if PM
280	select S3C24XX_SIMTEC_USB
281	select S3C_DEV_USB_HOST
282	help
283	  Say Y here if you are using the Thorcom VR1000 board.
284
285endif	# CPU_S3C2410
286
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
298	depends on !CPU_S3C2410 && !CPU_S3C2416 && !CPU_S3C2440 && \
299		   !CPU_S3C2442 && !CPU_S3C2443
300	default y
301
302config S3C2412_PM
303	bool
304	select S3C2412_PM_SLEEP
305	select SAMSUNG_WAKEMASK
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"
318	select S3C_DEV_NAND
319	select S3C_DEV_USB_HOST
320	help
321	  Say Y here if you are using the Logitech Jive.
322
323config MACH_JIVE_SHOW_BOOTLOADER
324	bool "Allow access to bootloader partitions in MTD"
325	depends on MACH_JIVE
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
346	select S3C24XX_SMDK
347	select S3C_DEV_NAND
348	select S3C_DEV_USB_HOST
349	help
350	  Say Y here if you are using an SMDK2413
351
352config MACH_VSTMS
353	bool "VMSTMS"
354	select S3C_DEV_NAND
355	select S3C_DEV_USB_HOST
356	help
357	  Say Y here if you are using an VSTMS board
358
359endif	# CPU_S3C2412
360
361if CPU_S3C2416
362
363config S3C2416_PM
364	bool
365	select S3C2412_PM_SLEEP
366	select SAMSUNG_WAKEMASK
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"
385	select S3C2416_SETUP_SDHCI
386	select S3C24XX_SMDK
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
392	help
393	  Say Y here if you are using an SMDK2416
394
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
407endif	# CPU_S3C2416
408
409if CPU_S3C2440 || CPU_S3C2442
410
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
425	depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_12000000
426	default y if S3C24XX_PLL
427	help
428	  PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
429
430config S3C2440_PLL_16934400
431	bool
432	depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_16934400
433	default y if S3C24XX_PLL
434	help
435	  PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
436endif
437
438if CPU_S3C2440
439
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"
449	select HAVE_PATA_PLATFORM
450	select S3C2410_COMMON_DCLK
451	select S3C2440_XTAL_12000000
452	select S3C24XX_SIMTEC_PM if PM
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"
460	select S3C_DEV_NAND
461	select S3C_DEV_USB_HOST
462	help
463	  Say Y here if you are using the AT2440EVB development board
464
465config MACH_MINI2440
466	bool "MINI2440 development board"
467	select LEDS_CLASS
468	select LEDS_TRIGGERS
469	select LEDS_TRIGGER_BACKLIGHT
470	select NEW_LEDS
471	select S3C_DEV_NAND
472	select S3C_DEV_USB_HOST
473	select S3C_SETUP_CAMIF
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
481	select S3C_DEV_NAND
482	select S3C_DEV_USB_HOST
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"
488	select S3C2410_COMMON_DCLK
489	select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
490	select S3C2440_XTAL_12000000
491	select S3C24XX_SIMTEC_PM if PM
492	select S3C_DEV_NAND
493	select S3C_DEV_USB_HOST
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
501	depends on TPS65010
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"
513	select PM_H1940 if PM
514	select S3C2440_XTAL_16934400
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
522	select S3C24XX_SMDK
523	select S3C_DEV_NAND
524	select S3C_DEV_USB_HOST
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"
546	select I2C
547	select MFD_PCF50633
548	select PCF50633_GPIO
549	select POWER_SUPPLY
550	select S3C24XX_PWM
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"
557	select I2C
558	select PM_H1940 if PM
559	select S3C2410_COMMON_DCLK
560	select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
561	select S3C2440_XTAL_16934400
562	select S3C24XX_PWM
563	select S3C_DEV_NAND
564	help
565	   Say Y here if you're using HP iPAQ rx1950
566
567endif	# CPU_S3C2442
568
569if CPU_S3C2443 || CPU_S3C2416
570
571config S3C2443_SETUP_SPI
572	bool
573	help
574	  Common setup code for SPI GPIO configurations
575
576endif	# CPU_S3C2443 || CPU_S3C2416
577
578if CPU_S3C2443
579
580comment "S3C2443 Boards"
581
582config MACH_SMDK2443
583	bool "SMDK2443"
584	select S3C24XX_SMDK
585	select S3C_DEV_HSMMC1
586	help
587	  Say Y here if you are using an SMDK2443
588
589endif	# CPU_S3C2443
590
591config PM_H1940
592	bool
593	help
594	  Internal node for H1940 and related PM
595
596endmenu	# SAMSUNG S3C24XX SoCs Support
597
598endif	# ARCH_S3C24XX
599