blob: bfc8356bcfd2485050c6efa9eeb4edca0af60f8a [file] [log] [blame]
Brian Swetland1637de02008-09-09 07:13:33 -07001if ARCH_MSM
Brian Swetland9e73c842007-11-26 04:12:13 -08002
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -07003menu "MSM SoC Type"
Daniel Walkerbf83de42010-03-16 16:29:44 -07004
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07005config ARCH_MSM7X01A
Daniel Walkerbf83de42010-03-16 16:29:44 -07006 bool "MSM7x00A / MSM7x01A"
7 select ARCH_MSM_ARM11
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07008 select MSM_VIC
Daniel Walkerbf83de42010-03-16 16:29:44 -07009 select CPU_V6
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070010 select MSM_REMOTE_SPINLOCK_SWP
11
12config ARCH_MSM7X25
13 bool "MSM7x25"
14 select ARCH_MSM_ARM11
15 select MSM_VIC
16 select CPU_V6
17 select MSM_REMOTE_SPINLOCK_SWP
18
19config ARCH_MSM7X27
20 bool "MSM7x27"
21 select ARCH_MSM_ARM11 if MSM_SOC_REV_NONE
22 select ARCH_HAS_BARRIERS if MSM_SOC_REV_NONE
23 select ARCH_MSM_CORTEX_A5 if MSM_SOC_REV_A
24 select MSM_VIC
25 select CPU_V6 if MSM_SOC_REV_NONE
26 select CPU_V7 if MSM_SOC_REV_A
27 select MSM_REMOTE_SPINLOCK_SWP if MSM_SOC_REV_NONE
28 select MSM_GPIOMUX
29 select REGULATOR
Daniel Walkerbf83de42010-03-16 16:29:44 -070030
Daniel Walker7b521612010-05-06 12:44:57 -070031config ARCH_MSM7X30
32 bool "MSM7x30"
33 select ARCH_MSM_SCORPION
Daniel Walker7b521612010-05-06 12:44:57 -070034 select MSM_VIC
35 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070036 select MSM_REMOTE_SPINLOCK_DEKKERS
37 select ARCH_SPARSEMEM_ENABLE
38 select MEMORY_HOTPLUG
39 select MEMORY_HOTREMOVE
40 select MIGRATION
41 select ARCH_MEMORY_PROBE
42 select ARCH_MEMORY_REMOVE
43 select DONT_RESERVE_FROM_MOVABLE_ZONE
Gregory Beanab78cde2010-09-01 16:26:12 -070044 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070045 select RESERVE_FIRST_PAGE
46 select MSM_DALRPC
47 select MSM_SPM_V1
48 select REGULATOR
Justin Paupore637a25d2011-07-14 17:11:04 -070049 select MSM_PROC_COMM_REGULATOR
Daniel Walker7b521612010-05-06 12:44:57 -070050
Daniel Walker4ad15e62010-05-06 13:54:17 -070051config ARCH_QSD8X50
52 bool "QSD8X50"
53 select ARCH_MSM_SCORPION
Daniel Walker4ad15e62010-05-06 13:54:17 -070054 select MSM_VIC
55 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070056 select MSM_REMOTE_SPINLOCK_LDREX
57 select CPU_USE_DOMAINS
58 select EMULATE_DOMAIN_MANAGER_V7
Gregory Beanab78cde2010-09-01 16:26:12 -070059 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070060 select MSM_DALRPC
Daniel Walker46fe5f22010-08-18 11:00:25 -070061
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070062config ARCH_MSM8X60
63 bool "MSM8X60"
Jeff Ohlsteine14411d2010-11-30 13:06:36 -080064 select ARCH_MSM_SCORPIONMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070065 select SMP_PARALLEL_START if SMP
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070066 select ARM_GIC
67 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070068 select MSM_REMOTE_SPINLOCK_LDREX
69 select ARCH_REQUIRE_GPIOLIB
70 select MSM_ADM3
71 select REGULATOR
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070072 select MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070073 select MSM_PIL
74 select MSM_SCM
75 select ARCH_HAS_CPU_IDLE_WAIT
76 select MSM_DIRECT_SCLK_ACCESS
77 select MSM_RPM
78 select MSM_XO
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070079 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070080 select MSM_BUS_SCALING
81 select MSM_SECURE_IO
82 select MSM_DALRPC
83 select MSM_QDSP6_APR
84 select MSM_NATIVE_RESTART
85 select ARCH_INLINE_SPIN_TRYLOCK
86 select ARCH_INLINE_SPIN_TRYLOCK_BH
87 select ARCH_INLINE_SPIN_LOCK
88 select ARCH_INLINE_SPIN_LOCK_BH
89 select ARCH_INLINE_SPIN_LOCK_IRQ
90 select ARCH_INLINE_SPIN_LOCK_IRQSAVE
91 select ARCH_INLINE_SPIN_UNLOCK
92 select ARCH_INLINE_SPIN_UNLOCK_BH
93 select ARCH_INLINE_SPIN_UNLOCK_IRQ
94 select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
95 select ARCH_INLINE_READ_TRYLOCK
96 select ARCH_INLINE_READ_LOCK
97 select ARCH_INLINE_READ_LOCK_BH
98 select ARCH_INLINE_READ_LOCK_IRQ
99 select ARCH_INLINE_READ_LOCK_IRQSAVE
100 select ARCH_INLINE_READ_UNLOCK
101 select ARCH_INLINE_READ_UNLOCK_BH
102 select ARCH_INLINE_READ_UNLOCK_IRQ
103 select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
104 select ARCH_INLINE_WRITE_TRYLOCK
105 select ARCH_INLINE_WRITE_LOCK
106 select ARCH_INLINE_WRITE_LOCK_BH
107 select ARCH_INLINE_WRITE_LOCK_IRQ
108 select ARCH_INLINE_WRITE_LOCK_IRQSAVE
109 select ARCH_INLINE_WRITE_UNLOCK
110 select ARCH_INLINE_WRITE_UNLOCK_BH
111 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
112 select CPU_HAS_L2_PMU
113 select MSM_SPM_V1
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700114
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800115config ARCH_MSM8960
116 bool "MSM8960"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700117 select ARCH_MSM_KRAITMP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800118 select ARM_GIC
119 select CPU_V7
120 select MSM_V2_TLMM
121 select MSM_GPIOMUX
122 select MSM_SCM if SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700123 select MSM_DIRECT_SCLK_ACCESS
124 select REGULATOR
125 select MSM_RPM
126 select MSM_XO
127 select MSM_QDSP6_APR
128 select MSM_PIL
129 select MSM_AUDIO_QDSP6 if SND_SOC
130 select CPU_HAS_L2_PMU
131 select MSM_SPM_V2
132 select MSM_L2_SPM
133 select MSM_NATIVE_RESTART
134
135config ARCH_APQ8064
136 bool "APQ8064"
137 select ARCH_MSM_KRAITMP
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700138 select MACH_APQ8064_SIM if !MACH_APQ8064_RUMI3
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700139 select MSM_V2_TLMM
140 select ARM_GIC
141 select CPU_V7
142 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700143 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700144
145config ARCH_FSM9XXX
146 bool "FSM9XXX"
147 select ARCH_MSM_SCORPION
148 select MSM_VIC
149 select CPU_V7
150 select MSM_REMOTE_SPINLOCK_LDREX
151 select FSM9XXX_TLMM
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800152
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700153endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700154
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700155choice
156 prompt "MSM SoC Revision"
157 default MSM_SOC_REV_NONE
158config MSM_SOC_REV_NONE
159 bool "N/A"
160 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
161 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walker4ad15e62010-05-06 13:54:17 -0700162config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700163 bool "Rev. A"
164 select ARCH_MSM7X27A if ARCH_MSM7X27
165endchoice
Daniel Walker4ad15e62010-05-06 13:54:17 -0700166
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700167config MSM_KRAIT_TBB_ABORT_HANDLER
168 bool "Krait TBB/TBH data abort handler"
169 depends on ARCH_MSM_KRAIT
170 depends on ARM_THUMB
171 help
172 Certain early samples of the Krait processor may generate data
173 aborts for TBB / TBH instructions that fail their condition code
174 checks. Enabling this option will ignore these erroneous data aborts,
175 at the expense of a very small performance penalty.
176
177 If unsure, say N.
178
Daniel Walker4ad15e62010-05-06 13:54:17 -0700179config ARCH_MSM_ARM11
180 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700181
Daniel Walker4ad15e62010-05-06 13:54:17 -0700182config ARCH_MSM_SCORPION
Daniel Walkerbf83de42010-03-16 16:29:44 -0700183 bool
184
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700185config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700186 bool
187
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700188config MSM_SMP
189 bool
190
191config ARCH_MSM_SCORPIONMP
192 select ARCH_MSM_SCORPION
193 select MSM_SMP
194 bool
195
196config ARCH_MSM_KRAITMP
197 select ARCH_MSM_KRAIT
198 select MSM_SMP
199 bool
200
201config ARCH_MSM_CORTEX_A5
202 bool
203 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
204
205config ARCH_MSM7X27A
206 bool
207 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700208 select MSM_PROC_COMM_REGULATOR
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700209
Gregory Beanf9f3d312010-04-30 22:06:50 -0700210config MSM_VIC
211 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700212
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700213config MSM_RPM
214 bool "Resource Power Manager"
215 select MSM_MPM
216
217config MSM_MPM
218 bool "Modem Power Manager"
219
220config MSM_XO
221 bool
222
223config MSM_REMOTE_SPINLOCK_DEKKERS
224 bool
225config MSM_REMOTE_SPINLOCK_SWP
226 bool
227config MSM_REMOTE_SPINLOCK_LDREX
228 bool
229config MSM_ADM3
230 bool
231
232menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700233
234config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700235 depends on ARCH_MSM7X01A
236 depends on MSM_STACKED_MEMORY
237 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700238 bool "Halibut Board (QCT SURF7201A)"
239 help
240 Support for the Qualcomm SURF7201A eval board.
241
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700242config MACH_MSM7201A_SURF
243 depends on ARCH_MSM7X01A
244 depends on MSM_STACKED_MEMORY
245 default y
246 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700247 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700248 Support for the Qualcomm MSM7201A SURF eval board.
249
250config MACH_MSM7201A_FFA
251 depends on ARCH_MSM7X01A
252 depends on MSM_STACKED_MEMORY
253 default y
254 bool "MSM7201A FFA"
255 help
256 Support for the Qualcomm MSM7201A FFA eval board.
257
258config MACH_TROUT
259 depends on ARCH_MSM7X01A
260 depends on MSM_STACKED_MEMORY
261 default y
262 bool "Trout"
263
264config MACH_MSM7X27_SURF
265 depends on ARCH_MSM7X27
266 depends on !MSM_STACKED_MEMORY
267 default y
268 bool "MSM7x27 SURF"
269 help
270 Support for the Qualcomm MSM7x27 SURF eval board.
271
272config MACH_MSM7X27_FFA
273 depends on ARCH_MSM7X27
274 depends on !MSM_STACKED_MEMORY
275 default y
276 bool "MSM7x27 FFA"
277 help
278 Support for the Qualcomm MSM7x27 FFA eval board.
279
280config MACH_MSM7X27A_RUMI3
281 depends on ARCH_MSM7X27A
282 depends on !MSM_STACKED_MEMORY
283 default y
284 bool "MSM7x27A RUMI3"
285 help
286 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
287
288config MACH_MSM7X27A_SURF
289 depends on ARCH_MSM7X27A
290 depends on !MSM_STACKED_MEMORY
291 default y
292 bool "MSM7x27A SURF"
293 help
294 Support for the Qualcomm MSM7x27A SURF.
295
296config MACH_MSM7X27A_FFA
297 depends on ARCH_MSM7X27A
298 depends on !MSM_STACKED_MEMORY
299 default y
300 bool "MSM7x27A FFA"
301 help
302 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700303
Daniel Walker7b521612010-05-06 12:44:57 -0700304config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700305 depends on ARCH_MSM7X30
306 depends on !MSM_STACKED_MEMORY
307 default y
308 bool "MSM7x30 SURF"
309 help
310 Support for the Qualcomm MSM7x30 SURF eval board.
311
312config MACH_MSM7X30_FFA
313 depends on ARCH_MSM7X30
314 depends on !MSM_STACKED_MEMORY
315 default y
316 bool "MSM7x30 FFA"
317 help
318 Support for the Qualcomm MSM7x30 FFA eval board.
319
320config MACH_MSM7X30_FLUID
321 depends on ARCH_MSM7X30
322 depends on !MSM_STACKED_MEMORY
323 default y
324 bool "MSM7x30 FLUID"
325 help
326 Support for the Qualcomm MSM7x30 FLUID eval board.
327
328config MACH_SAPPHIRE
329 depends on ARCH_MSM7X01A
330 default n
331 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700332
Daniel Walker4ad15e62010-05-06 13:54:17 -0700333config MACH_QSD8X50_SURF
334 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700335 depends on MSM_SOC_REV_NONE
336 depends on MSM_STACKED_MEMORY
337 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700338 bool "QSD8x50 SURF"
339 help
340 Support for the Qualcomm QSD8x50 SURF eval board.
341
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700342config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700343 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700344 depends on MSM_SOC_REV_NONE
345 depends on MSM_STACKED_MEMORY
346 default y
347 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700348 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700349 Support for the Qualcomm QSD8x50 FFA eval board.
350
351config MACH_MSM7X25_SURF
352 depends on ARCH_MSM7X25
353 depends on !MSM_STACKED_MEMORY
354 default y
355 bool "MSM7x25 SURF"
356 help
357 Support for the Qualcomm MSM7x25 SURF eval board.
358
359config MACH_MSM7X25_FFA
360 depends on ARCH_MSM7X25
361 depends on !MSM_STACKED_MEMORY
362 default y
363 bool "MSM7x25 FFA"
364 help
365 Support for the Qualcomm MSM7x25 FFA eval board.
366
367config MACH_MSM8X55_SURF
368 depends on ARCH_MSM7X30
369 depends on !MSM_STACKED_MEMORY
370 default y
371 bool "MSM8X55 SURF"
372 help
373 Support for the Qualcomm MSM8x55 SURF eval board.
374
375config MACH_MSM8X55_FFA
376 depends on ARCH_MSM7X30
377 depends on !MSM_STACKED_MEMORY
378 default y
379 bool "MSM8X55 FFA"
380 help
381 Support for the Qualcomm MSM8x55 FFA eval board.
382
383config MACH_MSM8X55_SVLTE_FFA
384 depends on ARCH_MSM7X30
385 depends on !MSM_STACKED_MEMORY
386 default y
387 bool "MSM8X55 SVLTE FFA"
388 help
389 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
390
391config MACH_MSM8X55_SVLTE_SURF
392 depends on ARCH_MSM7X30
393 depends on !MSM_STACKED_MEMORY
394 default y
395 bool "MSM8X55 SVLTE SURF"
396 help
397 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700398
Steve Mucklea55df6e2010-01-07 12:43:24 -0800399config MACH_MSM8X60_RUMI3
400 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700401 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800402 bool "MSM8x60 RUMI3"
403 help
404 Support for the Qualcomm MSM8x60 RUMI3 emulator.
405
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800406config MACH_MSM8X60_SIM
407 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700408 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800409 bool "MSM8x60 Simulator"
410 help
411 Support for the Qualcomm MSM8x60 simulator.
412
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700413config MACH_MSM8X60_SURF
414 depends on ARCH_MSM8X60
415 default n
416 bool "MSM8x60 SURF"
417 help
418 Support for the Qualcomm MSM8x60 SURF eval board.
419
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700420config MACH_MSM8X60_FFA
421 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700422 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700423 bool "MSM8x60 FFA"
424 help
425 Support for the Qualcomm MSM8x60 FFA eval board.
426
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700427config MACH_MSM8X60_FLUID
428 depends on ARCH_MSM8X60
429 default n
430 bool "MSM8x60 FLUID"
431 help
432 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
433 8x60 target which has a form factor that is much closer to that
434 of a phone than other targets. It also has a new display and
435 touchscreen controller.
436
437config MACH_MSM8X60_FUSION
438 depends on ARCH_MSM8X60
439 default n
440 bool "MSM8x60 FUSION"
441 help
442 Support for the Qualcomm MSM8x60 Fusion SURF device.
443
444config MACH_MSM8X60_FUSN_FFA
445 depends on ARCH_MSM8X60
446 default n
447 bool "MSM8x60 FUSN FFA"
448 help
449 Support for the Qualcomm MSM8x60 Fusion FFA device.
450
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400451config MACH_MSM8X60_DRAGON
452 depends on ARCH_MSM8X60
453 default n
454 bool "MSM8x60 DRAGON"
455 help
456 Support for the Qualcomm MSM8x60 Dragon board.
457
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800458config MACH_MSM8960_SIM
459 depends on ARCH_MSM8960
460 bool "MSM8960 Simulator"
461 help
462 Support for the Qualcomm MSM8960 simulator.
463
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800464config MACH_MSM8960_RUMI3
465 depends on ARCH_MSM8960
466 bool "MSM8960 RUMI3"
467 help
468 Support for the Qualcomm MSM8960 RUMI3 emulator.
469
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700470config MACH_MSM8960_CDP
471 depends on ARCH_MSM8960
472 bool "MSM8960 CDP"
473 help
474 Support for the Qualcomm MSM8960 CDP device.
475
476config MACH_MSM8960_MTP
477 depends on ARCH_MSM8960
478 bool "MSM8960 MTP"
479 help
480 Support for the Qualcomm MSM8960 MTP device.
481
482config MACH_MSM8960_FLUID
483 depends on ARCH_MSM8960
484 bool "MSM8960 FLUID"
485 help
486 Support for the Qualcomm MSM8960 FLUID device.
487
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300488config MACH_MSM8960_LIQUID
489 depends on ARCH_MSM8960
490 bool "MSM8960 LIQUID"
491 help
492 Support for the Qualcomm MSM8960 LIQUID device.
493
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700494config MSM_USE_TSIF1
495 depends on ARCH_MSM8X60
496 bool "MSM8x60 use TSIF1"
497 help
498 Selects TSIF1 core to be used rather than TSIF0.
499 The two TSIF cores share the same DM configuration
500 so they cannot be used simultaneously.
501
502config MACH_APQ8064_SIM
503 depends on ARCH_APQ8064
504 bool "APQ8064 Simulator"
505 help
506 Support for the Qualcomm APQ8064 simulator.
507
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700508config MACH_APQ8064_RUMI3
509 depends on ARCH_APQ8064
510 bool "APQ8064 RUMI3"
511 help
512 Support for the Qualcomm APQ8064 RUMI3 emulator.
513
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700514config MACH_FSM9XXX_SURF
515 depends on ARCH_FSM9XXX
516 depends on !MSM_STACKED_MEMORY
517 default y
518 bool "FSM9XXX SURF"
519 help
520 Support for the Qualcomm FSM9xxx femtocell
521 chipset based SURF evaluation board and
522 FFA board.
523
Daniel Walker4ad15e62010-05-06 13:54:17 -0700524endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800525
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700526config MSM_STACKED_MEMORY
527 bool "Stacked Memory"
528 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800529 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700530 This option is used to indicate the presence of on-die stacked
531 memory. When present this memory bank is used for a high speed
532 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800533
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700534config PHYS_OFFSET
535 hex
536 default "0x80200000" if ARCH_APQ8064
537 default "0x80200000" if ARCH_MSM8960
538 default "0x10000000" if ARCH_FSM9XXX
539 default "0x00200000" if !MSM_STACKED_MEMORY
540 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
541 default "0x20000000" if ARCH_QSD8X50
542 default "0x40200000" if ARCH_MSM8X60
543 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800544
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700545config KERNEL_PMEM_EBI_REGION
546 bool "Enable in-kernel PMEM region for EBI"
547 default y if ARCH_MSM8X60
548 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960)
549 help
550 Enable the in-kernel PMEM allocator to use EBI memory.
551
552config KERNEL_PMEM_SMI_REGION
553 bool "Enable in-kernel PMEM region for SMI"
554 default y if ARCH_MSM8X60
555 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
556 help
557 Enable the in-kernel PMEM allocator to use SMI memory.
558
559config PMEM_GPU0
560 bool "Enable PMEM GPU0 region"
561 default y
562 depends on ARCH_QSD8X50 && ANDROID_PMEM
563 help
564 Enable the PMEM GPU0 device on SMI Memory.
565
566config MSM_AMSS_VERSION
567 int
568 default 6210 if MSM_AMSS_VERSION_6210
569 default 6220 if MSM_AMSS_VERSION_6220
570 default 6225 if MSM_AMSS_VERSION_6225
571
572choice
573 prompt "AMSS modem firmware version"
574
575 default MSM_AMSS_VERSION_6225
576
577 config MSM_AMSS_VERSION_6210
578 bool "6.2.10"
579
580 config MSM_AMSS_VERSION_6220
581 bool "6.2.20"
582
583 config MSM_AMSS_VERSION_6225
584 bool "6.2.20 + New ADSP"
585endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800586
Pavel Machek6339f662009-11-02 11:48:29 +0100587config MSM_DEBUG_UART
588 int
589 default 1 if MSM_DEBUG_UART1
590 default 2 if MSM_DEBUG_UART2
591 default 3 if MSM_DEBUG_UART3
592
593choice
594 prompt "Debug UART"
595
596 default MSM_DEBUG_UART_NONE
597
598 config MSM_DEBUG_UART_NONE
599 bool "None"
600
601 config MSM_DEBUG_UART1
602 bool "UART1"
603
604 config MSM_DEBUG_UART2
605 bool "UART2"
606
607 config MSM_DEBUG_UART3
608 bool "UART3"
609endchoice
610
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700611choice
612 prompt "Default Timer"
613 default MSM7X00A_USE_GP_TIMER
614
615 config MSM7X00A_USE_GP_TIMER
616 bool "GP Timer"
617 help
618 Low resolution timer that allows power collapse from idle.
619
620 config MSM7X00A_USE_DG_TIMER
621 bool "DG Timer"
622 help
623 High resolution timer.
624endchoice
625
626choice
627 prompt "Suspend sleep mode"
628 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
629 help
630 Allows overriding the sleep mode used. Leave at power
631 collapse suspend unless the arm9 image has problems.
632
633 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
634 bool "Power collapse suspend"
635 help
636 Lowest sleep state. Returns through reset vector.
637
638 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
639 bool "Power collapse"
640 help
641 Sleep state that returns through reset vector.
642
643 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
644 bool "Apps Sleep"
645
646 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
647 bool "Ramp down cpu clock and wait for interrupt"
648
649 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
650 bool "Wait for interrupt"
651endchoice
652
653config MSM7X00A_SLEEP_MODE
654 int
655 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
656 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
657 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
658 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
659 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
660
661choice
662 prompt "Idle sleep mode"
663 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
664 help
665 Allows overriding the sleep mode used from idle. Leave at power
666 collapse suspend unless the arm9 image has problems.
667
668 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
669 bool "Power collapse suspend"
670 help
671 Lowest sleep state. Returns through reset vector.
672
673 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
674 bool "Power collapse"
675 help
676 Sleep state that returns through reset vector.
677
678 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
679 bool "Apps Sleep"
680
681 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
682 bool "Ramp down cpu clock and wait for interrupt"
683
684 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
685 bool "Wait for interrupt"
686endchoice
687
688config MSM7X00A_IDLE_SLEEP_MODE
689 int
690 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
691 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
692 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
693 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
694 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
695
696config MSM7X00A_IDLE_SLEEP_MIN_TIME
697 int "Minimum idle time before sleep"
698 default 20000000
699 help
700 Minimum idle time in nanoseconds before entering low power mode.
701
702config MSM7X00A_IDLE_SPIN_TIME
703 int "Idle spin time before cpu ramp down"
704 default 80000
705 help
706 Spin time in nanoseconds before ramping down cpu clock and entering
707 any low power state.
708
709menuconfig MSM_IDLE_STATS
710 bool "Collect idle statistics"
711 default y
712 help
713 Collect idle statistics and export them in proc/msm_pm_stats.
714
715if MSM_IDLE_STATS
716
717config MSM_IDLE_STATS_FIRST_BUCKET
718 int "First bucket time"
719 default 62500
720 help
721 Upper time limit in nanoseconds of first bucket.
722
723config MSM_IDLE_STATS_BUCKET_SHIFT
724 int "Bucket shift"
725 default 2
726
727config MSM_IDLE_STATS_BUCKET_COUNT
728 int "Bucket count"
729 default 10
730
731config MSM_SUSPEND_STATS_FIRST_BUCKET
732 int "First bucket time for suspend"
733 default 1000000000
734 help
735 Upper time limit in nanoseconds of first bucket of the
736 histogram. This is for collecting statistics on suspend.
737
738endif # MSM_IDLE_STATS
739
740config CPU_HAS_L2_PMU
741 bool "L2CC PMU Support"
742 help
743 Select this if the L2 cache controller has a Performance Monitoring Unit.
744
745config MSM_JTAG_V7
746 depends on CPU_V7
747 default y if DEBUG_KERNEL
748 bool "JTAG debug support"
749 help
750 Add additional support for JTAG kernel debugging.
751
752config HTC_HEADSET
753 tristate "HTC 2 Wire detection driver"
754 default n
755 help
756 Provides support for detecting HTC 2 wire devices, such as wired
757 headset, on the trout platform. Can be used with the msm serial
758 debugger, but not with serial console.
759
760config TROUT_BATTCHG
761 depends on MACH_TROUT && POWER_SUPPLY
762 default y
763 bool "Trout battery / charger driver"
764
765config HTC_PWRSINK
766 depends on MSM_SMD
767 default n
768 bool "HTC Power Sink Driver"
769
770config QSD_SVS
771 bool "QSD Static Voltage Scaling"
772 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
773 default y
774 select TPS65023
775 help
776 Enables static voltage scaling using the TPS65023 PMIC.
777
778config QSD_PMIC_DEFAULT_DCDC1
779 int "PMIC default output voltage"
780 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
781 default 1250
782 help
783 This is the PMIC voltage at Linux kernel boot.
784
785config MSM_FIQ_SUPPORT
786 default y
787 bool "Enable installation of an FIQ handler."
788
789config MSM_SERIAL_DEBUGGER
790 select MSM_FIQ_SUPPORT
791 select KERNEL_DEBUGGER_CORE
792 default n
793 bool "FIQ Mode Serial Debugger"
794 help
795 The FIQ serial debugger can accept commands even when the
796 kernel is unresponsive due to being stuck with interrupts
797 disabled. Depends on the kernel debugger core in drivers/misc.
798
799config MSM_SERIAL_DEBUGGER_CONSOLE
800 depends on MSM_SERIAL_DEBUGGER
801 default n
802 bool "Console on FIQ Serial Debugger port"
803 help
804 Enables a console so that printk messages are displayed on
805 the debugger serial port as the occur.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700806
Steve Mucklec8aabae2010-04-21 16:20:27 -0700807config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700808 default y
809 bool "Proc-Comm RPC Interface"
810 help
811 Enables a lightweight communications interface to the
812 baseband processor.
Steve Mucklec8aabae2010-04-21 16:20:27 -0700813
Brian Swetland2eb44eb2008-09-29 16:00:48 -0700814config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700815 bool "MSM Shared Memory Driver (SMD)"
816 help
817 Support for the shared memory interface between the apps
818 processor and the baseband processor. Provides access to
819 the "shared heap", as well as virtual serial channels
820 used to communicate with various services on the baseband
821 processor.
822
823choice
824 prompt "MSM Shared memory interface version"
825 depends on MSM_SMD
826 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
827 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
828
829 config MSM_SMD_PKG3
830 bool
831 prompt "Package 3"
832
833 config MSM_SMD_PKG4
834 bool
835 prompt "Package 4"
836endchoice
837
838config MSM_IPC_ROUTER_SMD_XPRT
839 depends on MSM_SMD
840 default n
841 bool "MSM SMD XPRT Layer"
842 help
843 SMD Transport Layer for IPC Router
844
845config MSM_RPC_SDIO_XPRT
846 depends on MSM_SDIO_AL
847 default y
848 bool "MSM SDIO XPRT Layer"
849 help
850 SDIO Transport Layer for RPC Rouer
851
852config MSM_RPC_SDIO_DEBUG
853 depends on MSM_RPC_SDIO_XPRT
854 default y
855 bool "MSM SDIO XPRT debug support"
856 help
857 Support for debugging SDIO XPRT
858
859config MSM_SMD_DEBUG
860 depends on MSM_SMD
861 default y
862 bool "MSM SMD debug support"
863 help
864 Support for debugging the SMD for communication
865 between the ARM9 and ARM11
866
867config MSM_SDIO_AL
868 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
869 default y
870 tristate "SDIO-Abstraction-Layer"
871 help
872 Support MSM<->MDM Communication over SDIO bus.
873 MDM SDIO-Client should have pipes support.
874
875config MSM_SDIO_DMUX
876 bool "SDIO Data Mux Driver"
877 depends on MSM_SDIO_AL
878 default n
879 help
880 Support Muxed Data Channels over SDIO interface.
881
882config MSM_BAM_DMUX
883 bool "BAM Data Mux Driver"
884 depends on SPS
885 default n
886 help
887 Support Muxed Data Channels over BAM interface.
888 BAM has a limited number of pipes. This driver
889 provides a means to support more logical channels
890 via muxing than BAM could without muxing.
891
892config MSM_N_WAY_SMD
893 depends on (MSM_SMD && (ARCH_MSM_SCORPION || ARCH_MSM8960 || ARCH_MSM7X27 || ARCH_MSM7X25))
894 default y
895 bool "MSM N-WAY SMD support"
896 help
897 Supports APPS-QDSP SMD communication along with
898 normal APPS-MODEM SMD communication.
899
900config MSM_N_WAY_SMSM
901 depends on (MSM_SMD && (ARCH_MSM_SCORPION || ARCH_MSM8960 || ARCH_MSM7X27 || ARCH_MSM7X25))
902 default y
903 bool "MSM N-WAY SMSM support"
904 help
905 Supports APPS-QDSP SMSM communication along with
906 normal APPS-MODEM SMSM communication.
907
908config MSM_RESET_MODEM
909 tristate "Reset Modem Driver"
910 depends on MSM_SMD
911 default m
912 help
913 Allows the user to reset the modem through a device node.
914
915config MSM_SMD_LOGGING
916 depends on MSM_SMD
917 default y
918 bool "MSM Shared Memory Logger"
919 help
920 This option exposes the shared memory logger at /dev/smem_log
921 and a debugfs node named smem_log.
922
923 If in doubt, say yes.
924
925config MSM_SMD_NMEA
926 bool "NMEA GPS Driver"
927 depends on MSM_SMD
928 default y
929 help
930 Enable this to support the NMEA GPS device.
931
932 If in doubt, say yes.
933
934config MSM_SDIO_TTY
935 bool "SDIO TTY Driver"
936 depends on MSM_SDIO_AL
937 default n
938 help
939 Provides a TTY driver SDIO TTY
940 This driver can be used by user space
941 applications for passing data through the
942 SDIO interface.
943
944config MSM_SMD_TTY
945 bool "SMD TTY Driver"
946 depends on MSM_SMD
947 default y
948 help
949 Provides TTY interfaces to interact with the modem.
950
951 If in doubt, say yes.
952
953config MSM_SMD_QMI
954 bool "SMD QMI Driver"
955 depends on MSM_SMD
956 default y
957 help
958 Manages network data connections.
959
960 If in doubt, say yes.
961
962config MSM_SMD_PKT
963 bool "SMD Packet Driver"
964 depends on MSM_SMD
965 default y
966 help
967 Provides a binary SMD non-muxed packet port interface.
968
969 If in doubt, say yes.
970
971config MSM_SDIO_CMUX
972 bool "SDIO CMUX Driver"
973 depends on MSM_SDIO_AL
974 default n
975 help
976 Provides a Muxed port interface over SDIO QMI
977
978config MSM_DSPS
979 bool "Sensors DSPS driver"
980 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
981 default n
982 help
983 Provides user-space interface to the sensors manager
984 to turn on/off the Sensors Processor system clocks.
985 It is the DSPS responsibility to turn on/off the sensors
986 themself.
987 The number of clocks and their name may vary between targets.
988 It also triggers the PIL to load the DSPS firmware.
989
990config MSM_SDIO_CTL
991 bool "SDIO CTL Driver"
992 depends on MSM_SDIO_CMUX
993 default n
994 help
995 Provides a binary SDIO control port interface.
996
997config MSM_ONCRPCROUTER
998 depends on MSM_SMD
999 default n
1000 bool "MSM ONCRPC router support"
1001 help
1002 Support for the MSM ONCRPC router for communication between
1003 the ARM9 and ARM11
1004
1005config MSM_IPC_ROUTER
1006 depends on MSM_IPC_ROUTER_SMD_XPRT
1007 default n
1008 bool "MSM IPC Router support"
1009 help
1010 Support for the MSM IPC Router for communication between
1011 the APPs and the MODEM
1012
1013config MSM_ONCRPCROUTER_DEBUG
1014 depends on MSM_ONCRPCROUTER
1015 default y
1016 bool "MSM debug ONCRPC router support"
1017 help
1018 Support for debugging the ONCRPC router for communication
1019 between the ARM9 and ARM11
1020
1021config MSM_RPC_LOOPBACK_XPRT
1022 depends on MSM_ONCRPCROUTER
1023 default n
1024 bool "MSM RPC local routing support"
1025 help
1026 Support for routing RPC messages between APPS clients
1027 and APPS servers. Helps in testing APPS RPC framework.
1028
1029config MSM_RPCSERVER_TIME_REMOTE
1030 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1031 default y
1032 bool "Time remote RPC server"
1033 help
1034 The time remote server receives notification of time bases and
1035 reports these events to registered callback functions.
1036
1037config MSM_RPCSERVER_WATCHDOG
1038 depends on MSM_ONCRPCROUTER
1039 default y
1040 bool "Watchdog RPC server"
1041 help
1042 The dog_keepalive server handles watchdog events.
1043
1044config MSM_RPC_WATCHDOG
1045 depends on MSM_ONCRPCROUTER
1046 default n
1047 bool "Watchdog RPC client"
1048 help
1049 The dog_keepalive client module.
1050
1051config MSM_RPC_PING
1052 depends on MSM_ONCRPCROUTER && DEBUG_FS
1053 default m
1054 bool "MSM rpc ping"
1055 help
1056 Implements MSM rpc ping test module.
1057
1058config MSM_RPC_PROC_COMM_TEST
1059 depends on DEBUG_FS && MSM_PROC_COMM
1060 default m
1061 bool "MSM rpc proc comm test"
1062 help
1063 Implements MSM rpc proc comm test module.
1064
1065config MSM_RPC_OEM_RAPI
1066 depends on MSM_ONCRPCROUTER
1067 default m
1068 bool "MSM oem rapi"
1069 help
1070 Implements MSM oem rapi client module.
1071
1072config MSM_RPCSERVER_HANDSET
1073 depends on MSM_ONCRPCROUTER
1074 default y
1075 bool "Handset events RPC server"
1076 help
1077 Support for receiving handset events like headset detect,
1078 headset switch and clamshell state.
1079
1080config MSM_RMT_STORAGE_CLIENT
1081 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1082 default n
1083 bool "Remote Storage RPC client"
1084 help
1085 Provide RPC mechanism for remote processors to access storage
1086 device on apps processor.
1087
1088config MSM_RMT_STORAGE_CLIENT_STATS
1089 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1090 default n
1091 bool "Remote storage RPC client performance statistics"
1092 help
1093 Collects performance statistics and shows this information
1094 through a debugfs file rmt_storage_stats.
1095
1096config MSM_SDIO_SMEM
1097 depends on MSM_SDIO_AL
1098 default n
1099 bool "SDIO SMEM for remote storage"
1100 help
1101 Copies data from remote MDM9K memory to local MSM8x60
1102 memory. Used by remote storage client to shadow
1103 MDM9K filesystem.
1104
1105config MSM_DALRPC
1106 bool "DAL RPC support"
1107 depends on ARCH_MSM_SCORPION || ARCH_MSM_KRAIT
1108 default y
1109 help
1110 Supports RPC calls to DAL devices on remote processor cores.
1111
1112config MSM_DALRPC_TEST
1113 tristate "DAL RPC test module"
1114 depends on (MSM_DALRPC && DEBUG_FS)
1115 default m
1116 help
1117 Exercises DAL RPC calls to QDSP6.
1118
1119if CPU_FREQ_MSM
1120
1121config MSM_CPU_FREQ_SET_MIN_MAX
1122 bool "Set Min/Max CPU frequencies."
1123 default n
1124 help
1125 Allow setting min and max CPU frequencies. Sysfs can be used
1126 to override these values.
1127
1128config MSM_CPU_FREQ_MAX
1129 int "Max CPU Frequency"
1130 depends on MSM_CPU_FREQ_SET_MIN_MAX
1131 default 384000
1132
1133config MSM_CPU_FREQ_MIN
1134 int "Min CPU Frequency"
1135 depends on MSM_CPU_FREQ_SET_MIN_MAX
1136 default 245760
1137
1138endif # CPU_FREQ_MSM
1139
1140config MSM_CPU_AVS
1141 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1142 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1143 depends on ARCH_QSD8X50
1144 default n
1145 select MSM_AVS_HW
1146 help
1147 This enables the s/w control of Adaptive Voltage Scaling feature
1148 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1149 based on feedback from three ring oscillators in the CPU.
1150
1151config MSM_AVS_HW
1152 bool "Enable Adaptive Voltage Scaling (AVS)"
1153 default n
1154 help
1155 Enable AVS hardware to fine tune voltage at each frequency. The
1156 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1157 fine tune the voltages based on the feedback from the ring
1158 oscillators.
1159
1160config MSM_HW3D
1161 tristate "MSM Hardware 3D Register Driver"
1162 depends on ANDROID_PMEM
1163 default y
1164 help
1165 Provides access to registers needed by the userspace OpenGL|ES
1166 library.
1167
1168config MSM_ADSP
1169 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1170 tristate "MSM ADSP driver"
1171 depends on ANDROID_PMEM
1172 default y
1173 help
1174 Provides access to registers needed by the userspace aDSP library.
1175
1176config ADSP_RPC_VER
1177 hex
1178 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1179 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1180 depends on MSM_ADSP
1181 help
1182 Select proper ADSP RPC version
1183choice
1184 prompt "ADSP RPC version"
1185
1186 default AMSS_7X25_VERSION_2009
1187
1188 config AMSS_7X25_VERSION_2009
1189 bool "2.0.09"
1190
1191 config AMSS_7X25_VERSION_2008
1192 bool "2.0.08"
1193endchoice
1194
1195config MSM7KV2_AUDIO
1196 bool "MSM7K v2 audio"
1197 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1198 default y
1199 help
1200 Enables QDSP5V2-based audio drivers for audio playbacks and
1201 voice call.
1202
1203config MSM_ADSP_REPORT_EVENTS
1204 bool "Report modem events from the DSP"
1205 default y
1206 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1207 help
1208 Normally, only messages from the aDSP are reported to userspace.
1209 With this option, we report events from the aDSP as well.
1210
1211config MSM_QDSP6
1212 tristate "QDSP6 support"
1213 depends on ARCH_QSD8X50 && ANDROID_PMEM
1214 default y
1215 help
1216 Enable support for qdsp6. This provides audio and video functionality.
1217
1218config MSM8X60_AUDIO
1219 tristate "MSM8X60 audio support"
1220 depends on ARCH_MSM8X60 && ANDROID_PMEM
1221 default y
1222 help
1223 Enable support for qdsp6v2. This provides audio functionality.
1224
1225config MSM8X60_FTM_AUDIO_DEVICES
1226 bool "MSM8X60 audio factory test mode support"
1227 depends on MSM8X60_AUDIO
1228 help
1229 Enable support audio factory test mode devices. This is used
1230 in a production line environment.
1231
Ben Romberger45b351c2011-07-20 22:37:27 -07001232config RTAC
1233 bool "MSM8K real-time audio calibration support"
1234 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001235 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001236 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001237 audio operation
1238
1239config MSM7X27A_AUDIO
1240 bool "MSM7X27A audio support"
1241 depends on ARCH_MSM7X27A && MSM_ADSP
1242 default n
1243 help
1244 Enable support for 7x27a. This provides audio functionality.
1245
Justin Pauporea6cd2092011-06-22 16:19:45 -07001246config MSM_PROC_COMM_REGULATOR
1247 bool
1248 depends on MSM_PROC_COMM && REGULATOR
1249 help
1250 Enable regulator framework support for regulators managed by PMLIB
1251 on the modem, and controlled through proccomm calls.
1252
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001253config MSM_VREG_SWITCH_INVERTED
1254 bool "Reverse vreg switch polarity"
1255 default n
1256 help
1257 Reverses the enable and disable for vreg switch.
1258
1259config MSM_DMA_TEST
1260 tristate "MSM DMA test module"
1261 default m
1262 help
1263 Intended to be compiled as a module. Provides a device node
1264 and ioctls for testing the MSM dma system.
1265
1266config WIFI_CONTROL_FUNC
1267 bool "Enable WiFi control function abstraction"
1268 help
1269 Enables Power/Reset/Carddetect function abstraction
1270
1271config WIFI_MEM_PREALLOC
1272 depends on WIFI_CONTROL_FUNC
1273 bool "Preallocate memory for WiFi buffers"
1274 help
1275 Preallocates memory buffers for WiFi driver
1276
1277config QSD_AUDIO
1278 bool "QSD audio"
1279 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1280 default y
1281 help
1282 Provides PCM, MP3, and AAC audio playback.
1283
1284config AUDIO_AAC_PLUS
1285 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1286 bool "AAC+ Audio"
1287 default y
1288 help
1289 Provides AAC+ decoding
1290
1291config AUDIO_ENHANCED_AAC_PLUS
1292 depends on AUDIO_AAC_PLUS
1293 bool "Enhanced AAC+ Audio"
1294 default y
1295 help
1296 Provides Enhanced AAC+ decoding
1297
1298config SURF_FFA_GPIO_KEYPAD
1299 bool "MSM SURF/FFA GPIO keypad"
1300 depends on INPUT_GPIO = "y"
1301 default y
1302 help
1303 Select if the GPIO keypad is attached.
1304
1305config MSM_SLEEP_TIME_OVERRIDE
1306 bool "Allow overriding suspend/sleep time with PM module parameter"
1307 default y
1308 help
1309 Enable the module parameter sleep_time_override. Specified
1310 in units of seconds, it overwrites the normal sleep time of
1311 suspend. The feature is required for automated power management
1312 testing.
1313
1314config MSM_MEMORY_LOW_POWER_MODE
1315 bool "Control the low power modes of memory"
1316 default n
1317 help
1318 The application processor controls whether memory should enter
1319 which low power mode.
1320
1321choice
1322 prompt "Default Memory Low Power Mode during Idle"
1323 depends on MSM_MEMORY_LOW_POWER_MODE
1324 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1325 help
1326 Selects the default low power mode of the memory during idle
1327 sleep.
1328
1329 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1330 bool "Memory active"
1331
1332 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1333 bool "Memory in retention"
1334
1335 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1336 bool "Memory in deep power down"
1337endchoice
1338
1339choice
1340 prompt "Default Memory Low Power Mode during Suspend"
1341 depends on MSM_MEMORY_LOW_POWER_MODE
1342 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1343 help
1344 Selects the default low power mode of the memory during suspend
1345 sleep.
1346
1347 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1348 bool "Memory active"
1349
1350 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1351 bool "Memory in retention"
1352
1353 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1354 bool "Memory in deep power down"
1355endchoice
1356
1357choice
1358 prompt "Power management timeout action"
1359 default MSM_PM_TIMEOUT_HALT
1360 help
1361 Selects the Application Processor's action when Power Management
1362 times out waiting for Modem's handshake.
1363
1364 config MSM_PM_TIMEOUT_HALT
1365 bool "Halt the Application Processor"
1366
1367 config MSM_PM_TIMEOUT_RESET_MODEM
1368 bool "Reset the Modem Processor"
1369
1370 config MSM_PM_TIMEOUT_RESET_CHIP
1371 bool "Reset the entire chip"
1372endchoice
1373
1374config MSM_IDLE_WAIT_ON_MODEM
1375 int "Wait for Modem to become ready for idle power collapse"
1376 default 0
1377 help
1378 If Modem is not ready to handle Application Processor's request
1379 for idle power collapse, wait the number of microseconds in case
1380 Modem becomes ready soon.
1381
1382config MSM_PIL
1383 bool "Peripheral image loading"
1384 select FW_LOADER
1385 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1386 default n
1387 help
1388 Some peripherals need to be loaded into memory before they can be
1389 brought out of reset.
1390
1391 Say yes to support these devices.
1392
1393config MSM_SECURE_PIL
1394 bool "Secure Peripheral image loading"
1395 depends on MSM_PIL
1396 default n
1397
1398config MSM_SCM
1399 bool "Secure Channel Manager (SCM) support"
1400 default n
1401
1402config MSM_SUBSYSTEM_RESTART
1403 bool "MSM Subsystem Restart Driver"
1404 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1405 default n
1406 help
1407 This option enables the MSM subsystem restart driver, which provides
1408 a framework to handle subsystem crashes.
1409
1410config MSM_MODEM_8960
1411 bool "MSM 8960 Modem driver"
1412 depends on (ARCH_MSM8960)
1413 help
1414 This option enables the modem driver for the MSM8960, which monitors
1415 modem hardware watchdog interrupt lines and plugs into the subsystem
1416 restart and PIL drivers.
1417
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001418config MSM_LPASS_8960
1419 tristate "MSM 8960 Lpass driver"
1420 depends on (ARCH_MSM8960)
1421 help
1422 This option enables the lpass driver for the MSM8960, which monitors
1423 lpass hardware watchdog interrupt lines and plugs into the subsystem
1424 restart and PIL drivers.
1425
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001426config MSM_WCNSS_SSR_8960
1427 tristate "MSM 8960 WCNSS restart module"
1428 depends on (ARCH_MSM8960)
1429 help
1430 This option enables the WCNSS restart module for MSM8960, which
1431 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1432 into the subsystem restart framework.
1433
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001434config SCORPION_Uni_45nm_BUG
1435 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1436 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1437 default y
1438 help
1439 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1440 invalidating the Branch Predictor Array by Modified Virtual Address can
1441 create invalid entries in the TLB with the wrong ASID values on Scorpion
1442 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1443 workaround for Scorpion Uniprocessor 45nm cores.
1444
1445 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1446
1447config MSM_RPM_LOG
1448 tristate "MSM Resource Power Manager Log Driver"
1449 depends on DEBUG_FS
1450 depends on ARCH_MSM8X60
1451 default n
1452 help
1453 This option enables a driver which can read from a circular buffer
1454 of messages produced by the RPM. These messages provide diagnostic
1455 information about RPM operation. The driver outputs the messages
1456 via a debugfs node.
1457
1458config MSM_RPM_STATS_LOG
1459 tristate "MSM Resource Power Manager Stat Driver"
1460 depends on DEBUG_FS
1461 depends on ARCH_MSM8X60
1462 default n
1463 help
1464 This option enables a driver which reads RPM messages from a shared
1465 memory location. These messages provide statistical information about
1466 the low power modes that RPM enters. The drivers outputs the message
1467 via a debugfs node.
1468
1469config MSM_IOMMU
1470 bool "MSM IOMMU Support"
1471 depends on ARCH_MSM8X60 || ARCH_MSM8960
1472 select IOMMU_API
1473 default n
1474 help
1475 Support for the IOMMUs found on certain Qualcomm SOCs.
1476 These IOMMUs allow virtualization of the address space used by most
1477 cores within the multimedia subsystem.
1478
1479 If unsure, say N here.
1480
1481config IOMMU_PGTABLES_L2
1482 bool "Allow SMMU page tables in the L2 cache (Experimental)"
1483 depends on MSM_IOMMU=y
1484 depends on MMU
1485 depends on CPU_DCACHE_DISABLE=n
1486 depends on SMP
1487 default y
1488 help
1489 Improves TLB miss latency at the expense of potential L2 pollution.
1490 However, with large multimedia buffers, the TLB should mostly contain
1491 section mappings and TLB misses should be quite infrequent.
1492 Most people can probably say Y here.
1493
1494config MSM_DIRECT_SCLK_ACCESS
1495 bool "Direct access to the SCLK timer"
1496 default n
1497
1498config IOMMU_API
1499 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001500
Gregory Beanab78cde2010-09-01 16:26:12 -07001501config MSM_GPIOMUX
1502 bool
1503
Gregory Bean1963a2a2010-08-28 10:05:44 -07001504config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001505 bool
1506
1507config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07001508 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001509
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001510config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001511 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001512
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001513config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001514 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001515
1516config MSM_BUS_SCALING
1517 bool "Bus scaling driver"
1518 default n
1519
Gagan Mac85c70492011-06-10 16:07:47 -06001520config MSM_BUS_RPM_MULTI_TIER_ENABLED
1521 bool "RPM Multi-tiering Configuration"
1522 depends on MSM_BUS_SCALING
1523
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001524config MSM_WATCHDOG
1525 bool "MSM Watchdog Support"
1526 depends on ARCH_MSM8X60 || ARCH_MSM8960
1527 help
1528 This enables the watchdog as is present on 8x60. Currently we use
1529 core 0's watchdog, and reset the entire SoC if it times out. It does
1530 not run during the bootup process, so it will not catch any early
1531 lockups.
1532
1533config MSM_DLOAD_MODE
1534 bool "Enable download mode on crashes"
1535 depends on ARCH_MSM8X60 || ARCH_MSM8960
1536 default n
1537 help
1538 This makes the SoC enter download mode when it resets
1539 due to a kernel panic. Note that this doesn't by itself
1540 make the kernel reboot on a kernel panic - that must be
1541 enabled via another mechanism.
1542
1543config MSM_ETM
1544 tristate "Enable MSM ETM and ETB"
1545 depends on ARCH_MSM8X60
1546 help
1547 This enables embedded trace collection on Qualcomm v7 CPUs.
1548
1549config MSM_SLEEP_STATS
1550 bool "Enable exporting of MSM sleep stats to userspace"
1551 depends on CPU_IDLE
1552 default n
1553
1554config MSM_STANDALONE_POWER_COLLAPSE
1555 bool "Enable standalone power collapse"
1556 default n
1557
1558config MSM_GSBI9_UART
1559 bool "Enable GSBI9 UART device"
1560 default n
1561 help
1562 This enables GSBI9 configured into UART.
1563
1564config MSM_SHARED_GPIO_FOR_UART2DM
1565 bool "Use shared GPIOs into UART mode"
1566 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
1567 help
1568 This option configures GPIO muxed with SDC4/MMC3
1569 8-bit mode into UART mode. It is used for serial
1570 console on UART2DM. Say Y if you want to have
1571 serial console on UART2DM.
1572
1573config MSM_SHOW_RESUME_IRQ
1574 bool "Enable logging of interrupts that could have caused resume"
1575 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1576 default n
1577 help
1578 This option logs wake up interrupts that have triggered just before
1579 the resume loop unrolls. Say Y if you want to debug why the system
1580 resumed.
1581
1582config BT_MSM_PINTEST
1583 tristate "MSM Bluetooth Pin Connectivity Test"
1584 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
1585 default n
1586 help
1587 Bluetooth MSM Pin Connectivity test module.
1588 This driver provides support for verifying the MSM to BT pin
1589 connectivity.
1590
1591config MSM_FAKE_BATTERY
1592 depends on POWER_SUPPLY
1593 default n
1594 bool "MSM Fake Battery"
1595 help
1596 Enables MSM fake battery driver.
1597
1598config MSM_QDSP6_APR
1599 bool "Audio QDSP6 APR support"
1600 depends on MSM_SMD
1601 default n
1602 help
1603 Enable APR IPC protocol support between
1604 application processor and QDSP6. APR is
1605 used by audio driver to configure QDSP6's
1606 ASM, ADM and AFE.
1607
1608
1609config MSM_AUDIO_QDSP6
1610 bool "QDSP6 HW Audio support"
1611 select SND_SOC_MSM_QDSP6_INTF
1612 default n
1613 help
1614 Enable HW audio support in QDSP6.
1615 QDSP6 can support HW encoder & decoder and audio processing
1616
1617config MSM_RPC_VIBRATOR
1618 bool "RPC based MSM Vibrator Support"
1619 depends on MSM_ONCRPCROUTER
1620 help
1621 Enable the vibrator support on MSM over RPC. The vibrator
1622 is connected on the PMIC. Say Y if you want to enable this
1623 feature.
1624
1625config PM8XXX_RPC_VIBRATOR
1626 bool "RPC based Vibrator on PM8xxx PMICs"
1627 depends on MSM_RPC_VIBRATOR
1628 help
1629 Enable the vibrator support on MSM over RPC. The vibrator
1630 is connected on the PM8XXX PMIC. Say Y if you want to enable
1631 this feature.
1632
1633config MSM_SPM_V1
1634 bool "Driver support for SPM Version 1"
1635 help
1636 Enables the support for Version 1 of the SPM driver. SPM hardware is
1637 used to manage the processor power during sleep. The driver allows
1638 configuring SPM to allow different power modes.
1639
1640config MSM_SPM_V2
1641 bool "Driver support for SPM Version 2"
1642 help
1643 Enables the support for Version 2 of the SPM driver. SPM hardware is
1644 used to manage the processor power during sleep. The driver allows
1645 configuring SPM to allow different power modes.
1646
1647config MSM_L2_SPM
1648 bool "SPM support for L2 cache"
1649 depends on MSM_SPM_V2
1650 help
1651 Enable SPM driver support for L2 cache. Some MSM chipsets allow
1652 control of L2 cache low power mode with a Subsystem Power manager.
1653 Enabling this driver allows configuring L2 SPM for low power modes
1654 on supported chipsets.
1655
Brian Swetland9e73c842007-11-26 04:12:13 -08001656endif