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