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