blob: 5a67eda57bb2dd059699a8debc4731ebae52ea6f [file] [log] [blame]
Ben Dooksa21765a2007-02-11 18:31:01 +01001# Copyright 2007 Simtec Electronics
2#
3# Licensed under GPLv2
4
5config PLAT_S3C24XX
6 bool
Kukjin Kimb130d5c2012-02-03 14:29:23 +09007 depends on ARCH_S3C24XX
Ben Dooksbcae8ae2008-10-21 14:06:32 +01008 default y
Ben Dooks7d477a02007-02-12 18:59:35 +01009 select NO_IOPORT
Russell Kingbb2b1802008-07-26 15:36:03 +010010 select ARCH_REQUIRE_GPIOLIB
Kukjin Kim258b78c2010-12-03 21:22:42 +090011 select S3C_DEV_NAND
Ben Dooksa21765a2007-02-11 18:31:01 +010012 help
Ben Dooksd58153d2007-07-22 16:07:09 +010013 Base platform code for any Samsung S3C24XX device
Ben Dooksa21765a2007-02-11 18:31:01 +010014
Ben Dooksb8870602007-02-11 20:33:13 +010015if PLAT_S3C24XX
16
Ben Dooks89f1fa02010-01-29 09:02:17 +000017# low-level serial option nodes
18
19config CPU_LLSERIAL_S3C2410_ONLY
20 bool
21 default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440
22
23config CPU_LLSERIAL_S3C2440_ONLY
24 bool
25 default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410
26
27config CPU_LLSERIAL_S3C2410
28 bool
29 help
30 Selected if there is an S3C2410 (or register compatible) serial
31 low-level implementation needed
32
33config CPU_LLSERIAL_S3C2440
34 bool
35 help
36 Selected if there is an S3C2440 (or register compatible) serial
37 low-level implementation needed
38
Ben Dooks1b3ba682008-10-21 14:06:22 +010039# code that is shared between a number of the s3c24xx implementations
40
41config S3C2410_CLOCK
42 bool
43 help
44 Clock code for the S3C2410, and similar processors which
45 is currently includes the S3C2410, S3C2440, S3C2442.
46
Ben Dooksaf337f32010-04-28 18:03:57 +090047config S3C2443_CLOCK
48 bool
49 help
50 Clock code for the S3C2443 and similar processors, which includes
51 the S3C2416 and S3C2450.
52
Ben Dooks93bc6b62008-10-21 14:06:33 +010053config S3C24XX_DCLK
54 bool
55 help
56 Clock code for supporting DCLK/CLKOUT on S3C24XX architectures
57
Ben Dookse2178d42008-11-10 10:59:32 +000058# gpio configurations
59
60config S3C24XX_GPIO_EXTRA
61 int
62 default 128 if S3C24XX_GPIO_EXTRA128
63 default 64 if S3C24XX_GPIO_EXTRA64
Vasily Khoruzhick14477092010-09-08 12:39:46 +030064 default 16 if ARCH_H1940
Ben Dookse2178d42008-11-10 10:59:32 +000065 default 0
66
67config S3C24XX_GPIO_EXTRA64
68 bool
69 help
70 Add an extra 64 gpio numbers to the available GPIO pool. This is
71 available for boards that need extra gpios for external devices.
72
73config S3C24XX_GPIO_EXTRA128
74 bool
75 help
76 Add an extra 128 gpio numbers to the available GPIO pool. This is
77 available for boards that need extra gpios for external devices.
78
Ben Dooksa21765a2007-02-11 18:31:01 +010079config PM_SIMTEC
80 bool
81 help
82 Common power management code for systems that are
83 compatible with the Simtec style of power management
84
Ben Dooksa21765a2007-02-11 18:31:01 +010085config S3C2410_DMA
86 bool "S3C2410 DMA support"
Kukjin Kimb130d5c2012-02-03 14:29:23 +090087 depends on ARCH_S3C24XX
Ben Dooks97c1b142009-03-19 15:02:39 +000088 select S3C_DMA
Ben Dooksa21765a2007-02-11 18:31:01 +010089 help
90 S3C2410 DMA support. This is needed for drivers like sound which
91 use the S3C2410's DMA system to move data to and from the
92 peripheral blocks.
93
94config S3C2410_DMA_DEBUG
95 bool "S3C2410 DMA support debug"
Kukjin Kimb130d5c2012-02-03 14:29:23 +090096 depends on ARCH_S3C24XX && S3C2410_DMA
Ben Dooksa21765a2007-02-11 18:31:01 +010097 help
98 Enable debugging output for the DMA code. This option sends info
99 to the kernel log, at priority KERN_DEBUG.
100
Ben Dooksb2a6cf32008-10-21 14:06:20 +0100101# common code for s3c24xx based machines, such as the SMDKs.
102
Ben Dooks831a6fc2009-07-30 23:23:26 +0100103# cpu frequency items common between s3c2410 and s3c2440/s3c2442
104
105config S3C2410_IOTIMING
106 bool
107 depends on CPU_FREQ_S3C24XX
108 help
109 Internal node to select io timing code that is common to the s3c2410
110 and s3c2440/s3c2442 cpu frequency support.
111
Ben Dooksa24c0912009-07-30 23:23:27 +0100112config S3C2410_CPUFREQ_UTILS
113 bool
114 depends on CPU_FREQ_S3C24XX
115 help
116 Internal node to select timing code that is common to the s3c2410
117 and s3c2440/s3c244 cpu frequency support.
118
Ben Dooks140780a2009-07-30 23:23:37 +0100119# cpu frequency support common to s3c2412, s3c2413 and s3c2442
120
121config S3C2412_IOTIMING
122 bool
123 depends on CPU_FREQ_S3C24XX && (CPU_S3C2412 || CPU_S3C2443)
124 help
125 Intel node to select io timing code that is common to the s3c2412
126 and the s3c2443.
127
Ben Dooksa21765a2007-02-11 18:31:01 +0100128config MACH_SMDK
129 bool
130 help
131 Common machine code for SMDK2410 and SMDK2440
132
Ben Dooks4d3a3462009-11-13 22:34:20 +0000133config S3C24XX_SIMTEC_AUDIO
134 bool
135 depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
136 default y
137 help
138 Add audio devices for common Simtec S3C24XX boards
139
Naveen Krishna5bfdca12010-05-18 20:44:27 +0900140config S3C2410_SETUP_TS
141 bool
142 help
143 Compile in platform device definition for Samsung TouchScreen.
144
Ben Dooksb8870602007-02-11 20:33:13 +0100145endif