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