[ARM] 3627/1: S3C24XX: split s3c2410 clocks from core clocks
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-s3c2410 / Kconfig
1 if ARCH_S3C2410
2
3 menu "S3C24XX Implementations"
4
5 config MACH_ANUBIS
6         bool "Simtec Electronics ANUBIS"
7         select CPU_S3C2440
8         help
9           Say Y gere if you are using the Simtec Electronics ANUBIS
10           development system
11
12 config MACH_OSIRIS
13         bool "Simtec IM2440D20 (OSIRIS) module"
14         select CPU_S3C2440
15         help
16           Say Y here if you are using the Simtec IM2440D20 module, also
17           known as the Osiris.
18
19 config ARCH_BAST
20         bool "Simtec Electronics BAST (EB2410ITX)"
21         select CPU_S3C2410
22         select ISA
23         help
24           Say Y here if you are using the Simtec Electronics EB2410ITX
25           development board (also known as BAST)
26
27           Product page: <http://www.simtec.co.uk/products/EB2410ITX/>.
28
29 config BAST_PC104_IRQ
30         bool "BAST PC104 IRQ support"
31         depends on ARCH_BAST
32         default y
33         help
34           Say Y here to enable the PC104 IRQ routing on the
35           Simtec BAST (EB2410ITX)
36
37 config ARCH_H1940
38         bool "IPAQ H1940"
39         select CPU_S3C2410
40         help
41           Say Y here if you are using the HP IPAQ H1940
42
43           <http://www.handhelds.org/projects/h1940.html>.
44
45 config MACH_N30
46         bool "Acer N30"
47         select CPU_S3C2410
48         help
49           Say Y here if you are using the Acer N30
50
51           <http://zoo.weinigel.se/n30>.
52
53 config MACH_SMDK
54         bool
55         help
56           Common machine code for SMDK2410 and SMDK2440
57
58 config ARCH_SMDK2410
59         bool "SMDK2410/A9M2410"
60         select CPU_S3C2410
61         select MACH_SMDK
62         help
63            Say Y here if you are using the SMDK2410 or the derived module A9M2410
64            <http://www.fsforth.de>
65
66 config ARCH_S3C2440
67         bool "SMDK2440"
68         select CPU_S3C2440
69         select MACH_SMDK
70         help
71           Say Y here if you are using the SMDK2440.
72
73 config SMDK2440_CPU2440
74         bool "SMDK2440 with S3C2440 cpu module"
75         depends on ARCH_S3C2440
76         default y if ARCH_S3C2440
77         select CPU_S3C2440
78
79 config SMDK2440_CPU2442
80         bool "SMDM2440 with S3C2442 cpu module"
81         depends on ARCH_S3C2440
82         select CPU_S3C2442
83
84
85 config MACH_VR1000
86         bool "Thorcom VR1000"
87         select CPU_S3C2410
88         help
89           Say Y here if you are using the Thorcom VR1000 board.
90
91           This linux port is currently being maintained by Simtec, on behalf
92           of Thorcom. Any queries, please contact Thorcom first.
93
94 config MACH_RX3715
95         bool "HP iPAQ rx3715"
96         select CPU_S3C2440
97         help
98           Say Y here if you are using the HP iPAQ rx3715.
99
100           See <http://www.handhelds.org/projects/rx3715.html> for more
101           information on this project
102
103 config MACH_OTOM
104         bool "NexVision OTOM Board"
105         select CPU_S3C2410
106         help
107           Say Y here if you are using the Nex Vision OTOM board
108
109 config MACH_NEXCODER_2440
110         bool "NexVision NEXCODER 2440 Light Board"
111         select CPU_S3C2440
112         help
113           Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
114
115 endmenu
116
117 config S3C2410_CLOCK
118         bool
119         help
120           Clock code for the S3C2410, and similar processors
121
122 config CPU_S3C2410
123         bool
124         depends on ARCH_S3C2410
125         select S3C2410_CLOCK
126         help
127           Support for S3C2410 and S3C2410A family from the S3C24XX line
128           of Samsung Mobile CPUs.
129
130 config CPU_S3C244X
131         bool
132         depends on ARCH_S3C2410 && (CPU_S3C2440 || CPU_S3C2442)
133         help
134           Support for S3C2440 and S3C2442 Samsung Mobile CPU based systems.
135
136 config CPU_S3C2440
137         bool
138         depends on ARCH_S3C2410
139         select S3C2410_CLOCK
140         select CPU_S3C244X
141         help
142           Support for S3C2440 Samsung Mobile CPU based systems.
143
144 config CPU_S3C2442
145         bool
146         depends on ARCH_S3C2420
147         select S3C2410_CLOCK
148         select CPU_S3C244X
149         help
150           Support for S3C2442 Samsung Mobile CPU based systems.
151
152 comment "S3C2410 Boot"
153
154 config S3C2410_BOOT_WATCHDOG
155         bool "S3C2410 Initialisation watchdog"
156         depends on ARCH_S3C2410 && S3C2410_WATCHDOG
157         help
158           Say y to enable the watchdog during the kernel decompression
159           stage. If the kernel fails to uncompress, then the watchdog
160           will trigger a reset and the system should restart.
161
162           Although this uses the same hardware unit as the kernel watchdog
163           driver, it is not a replacement for it. If you use this option,
164           you will have to use the watchdg driver to either stop the timeout
165           or restart it. If you do not, then your kernel will reboot after
166           startup.
167
168           The driver uses a fixed timeout value, so the exact time till the
169           system resets depends on the value of PCLK. The timeout on an
170           200MHz s3c2410 should be about 30 seconds.
171
172 config S3C2410_BOOT_ERROR_RESET
173         bool "S3C2410 Reboot on decompression error"
174         depends on ARCH_S3C2410
175         help
176           Say y here to use the watchdog to reset the system if the
177           kernel decompressor detects an error during decompression.
178
179
180 comment "S3C2410 Setup"
181
182 config S3C2410_DMA
183         bool "S3C2410 DMA support"
184         depends on ARCH_S3C2410
185         help
186           S3C2410 DMA support. This is needed for drivers like sound which
187           use the S3C2410's DMA system to move data to and from the
188           peripheral blocks.
189
190 config S3C2410_DMA_DEBUG
191         bool "S3C2410 DMA support debug"
192         depends on ARCH_S3C2410 && S3C2410_DMA
193         help
194           Enable debugging output for the DMA code. This option sends info
195           to the kernel log, at priority KERN_DEBUG.
196
197           Note, it is easy to create and fill the log buffer in a small
198           amount of time, as well as using an significant percentage of
199           the CPU time doing so.
200
201
202 config S3C2410_PM_DEBUG
203         bool "S3C2410 PM Suspend debug"
204         depends on ARCH_S3C2410 && 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
210 config S3C2410_PM_CHECK
211         bool "S3C2410 PM Suspend Memory CRC"
212         depends on ARCH_S3C2410 && PM && CRC32
213         help
214           Enable the PM code's memory area checksum over sleep. This option
215           will generate CRCs of all blocks of memory, and store them before
216           going to sleep. The blocks are then checked on resume for any
217           errors.
218
219 config S3C2410_PM_CHECK_CHUNKSIZE
220         int "S3C2410 PM Suspend CRC Chunksize (KiB)"
221         depends on ARCH_S3C2410 && PM && S3C2410_PM_CHECK
222         default 64
223         help
224           Set the chunksize in Kilobytes of the CRC for checking memory
225           corruption over suspend and resume. A smaller value will mean that
226           the CRC data block will take more memory, but wil identify any
227           faults with better precision.
228
229 config PM_SIMTEC
230         bool
231         depends on PM && (ARCH_BAST || MACH_VR1000)
232         default y
233
234 config S3C2410_LOWLEVEL_UART_PORT
235         int "S3C2410 UART to use for low-level messages"
236         default 0
237         help
238           Choice of which UART port to use for the low-level messages,
239           such as the `Uncompressing...` at start time. The value of
240           this configuration should be between zero and two. The port
241           must have been initialised by the boot-loader before use.
242
243           Note, this does not affect the port used by the debug messages,
244           which is a separate configuration.
245
246 endif