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