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