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