ARM: S3C24XX: Move audio-simtec.h to plat-s3c24xx
[deliverable/linux.git] / arch / arm / plat-samsung / Kconfig
CommitLineData
cf383678
BD
1# arch/arm/plat-samsung/Kconfig
2#
3# Copyright 2009 Simtec Electronics
4#
5# Licensed under GPLv2
6
7config PLAT_SAMSUNG
8 bool
9 depends on ARCH_S3C2410 || ARCH_S3C24A0 || ARCH_S3C64XX || ARCH_S5PC1XX
10 default y
11 help
12 Base platform code for all Samsung SoC based systems
13
14if PLAT_SAMSUNG
15
89f1fa08
BD
16# boot configurations
17
18comment "Boot options"
19
20config S3C_BOOT_WATCHDOG
21 bool "S3C Initialisation watchdog"
22 depends on S3C2410_WATCHDOG
23 help
24 Say y to enable the watchdog during the kernel decompression
25 stage. If the kernel fails to uncompress, then the watchdog
26 will trigger a reset and the system should restart.
27
28config S3C_BOOT_ERROR_RESET
29 bool "S3C Reboot on decompression error"
30 help
31 Say y here to use the watchdog to reset the system if the
32 kernel decompressor detects an error during decompression.
33
34config S3C_BOOT_UART_FORCE_FIFO
35 bool "Force UART FIFO on during boot process"
36 default y
37 help
38 Say Y here to force the UART FIFOs on during the kernel
39 uncompressor
40
41
42config S3C_LOWLEVEL_UART_PORT
43 int "S3C UART to use for low-level messages"
44 default 0
45 help
46 Choice of which UART port to use for the low-level messages,
47 such as the `Uncompressing...` at start time. The value of
48 this configuration should be between zero and two. The port
49 must have been initialised by the boot-loader before use.
50
51# clock options
52
aa9ad6ad
HW
53config SAMSUNG_CLKSRC
54 bool
55 help
56 Select the clock code for the clksrc implementation
57 used by newer systems such as the S3C64XX.
cf383678 58
7162ba03
BD
59# options for IRQ support
60
61config SAMSUNG_IRQ_VIC_TIMER
62 bool
63 help
64 Internal configuration to build the VIC timer interrupt code.
65
51022cf6
BD
66config SAMSUNG_IRQ_UART
67 bool
68 help
69 Internal configuration to build the IRQ UART demux code.
70
4f830db9
BD
71# options for gpio configuration support
72
1f323cfd
KK
73config SAMSUNG_GPIOLIB_4BIT
74 bool
75 help
76 GPIOlib file contains the 4 bit modification functions for gpio
77 configuration. GPIOlib shall be compiled only for S3C64XX and S5P
78 series of processors.
79
4f830db9
BD
80config S3C_GPIO_CFG_S3C24XX
81 bool
82 help
83 Internal configuration to enable S3C24XX style GPIO configuration
84 functions.
85
86config S3C_GPIO_CFG_S3C64XX
87 bool
88 help
89 Internal configuration to enable S3C64XX style GPIO configuration
90 functions.
91
92config S5P_GPIO_CFG_S5PC1XX
93 bool
94 help
95 Internal configuration to enable S5PC1XX style GPIO configuration
96 functions.
97
98config S3C_GPIO_PULL_UPDOWN
99 bool
100 help
101 Internal configuration to enable the correct GPIO pull helper
102
103config S3C_GPIO_PULL_DOWN
104 bool
105 help
106 Internal configuration to enable the correct GPIO pull helper
107
108config S3C_GPIO_PULL_UP
109 bool
110 help
111 Internal configuration to enable the correct GPIO pull helper
112
85841bce
KK
113config SAMSUNG_GPIO_EXTRA
114 int "Number of additional GPIO pins"
115 default 0
116 help
117 Use additional GPIO space in addition to the GPIO's the SOC
118 provides. This allows expanding the GPIO space for use with
119 GPIO expanders.
120
89f1fa08
BD
121config S3C_GPIO_SPACE
122 int "Space between gpio banks"
123 default 0
124 help
125 Add a number of spare GPIO entries between each bank for debugging
126 purposes. This allows any problems where an counter overflows from
127 one bank to another to be caught, at the expense of using a little
128 more memory.
129
130config S3C_GPIO_TRACK
131 bool
132 help
133 Internal configuration option to enable the s3c specific gpio
134 chip tracking if the platform requires it.
135
3929e1e7
MC
136# ADC driver
137
138config S3C_ADC
139 bool "ADC common driver support"
140 help
141 Core support for the ADC block found in the Samsung SoC systems
142 for drivers such as the touchscreen and hwmon to use to share
143 this resource.
144
b6a60413
BD
145# device definitions to compile in
146
147config S3C_DEV_HSMMC
148 bool
149 help
150 Compile in platform device definitions for HSMMC code
151
152config S3C_DEV_HSMMC1
153 bool
154 help
155 Compile in platform device definitions for HSMMC channel 1
156
157config S3C_DEV_HSMMC2
158 bool
159 help
160 Compile in platform device definitions for HSMMC channel 2
161
162config S3C_DEV_I2C1
163 bool
164 help
165 Compile in platform device definitions for I2C channel 1
166
167config S3C_DEV_FB
168 bool
169 help
170 Compile in platform device definition for framebuffer
171
172config S3C_DEV_USB_HOST
173 bool
174 help
175 Compile in platform device definition for USB host.
176
177config S3C_DEV_USB_HSOTG
178 bool
179 help
180 Compile in platform device definition for USB high-speed OtG
181
182config S3C_DEV_NAND
183 bool
184 help
185 Compile in platform device definition for NAND controller
186
4b4c6625
JB
187config S3C64XX_DEV_SPI
188 bool
189 help
190 Compile in platform device definitions for S3C64XX's type
191 SPI controllers.
192
89f1fa08
BD
193# DMA
194
195config S3C_DMA
196 bool
197 help
198 Internal configuration for S3C DMA core
199
8005745d
BD
200comment "Power management"
201
202config SAMSUNG_PM_DEBUG
203 bool "S3C2410 PM Suspend debug"
204 depends on PM
205 help
206 Say Y here if you want verbose debugging from the PM Suspend and
207 Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
208 for more information.
209
210config S3C_PM_DEBUG_LED_SMDK
211 bool "SMDK LED suspend/resume debugging"
212 depends on PM && (MACH_SMDK6410)
213 help
214 Say Y here to enable the use of the SMDK LEDs on the baseboard
215 for debugging of the state of the suspend and resume process.
216
217 Note, this currently only works for S3C64XX based SMDK boards.
218
219config SAMSUNG_PM_CHECK
220 bool "S3C2410 PM Suspend Memory CRC"
221 depends on PM && CRC32
222 help
223 Enable the PM code's memory area checksum over sleep. This option
224 will generate CRCs of all blocks of memory, and store them before
225 going to sleep. The blocks are then checked on resume for any
226 errors.
227
228 Note, this can take several seconds depending on memory size
229 and CPU speed.
230
231 See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
232
233config SAMSUNG_PM_CHECK_CHUNKSIZE
234 int "S3C2410 PM Suspend CRC Chunksize (KiB)"
235 depends on PM && SAMSUNG_PM_CHECK
236 default 64
237 help
238 Set the chunksize in Kilobytes of the CRC for checking memory
239 corruption over suspend and resume. A smaller value will mean that
240 the CRC data block will take more memory, but wil identify any
241 faults with better precision.
242
243 See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
244
cf383678 245endif
This page took 0.047896 seconds and 5 git commands to generate.