blob: 6cedf9512e9507b261563152ca67bab99998be11 [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
144
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
Daniel Walkerbf83de42010-03-16 16:29:44 -0700153endchoice
154
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
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800450config MACH_MSM8960_SIM
451 depends on ARCH_MSM8960
452 bool "MSM8960 Simulator"
453 help
454 Support for the Qualcomm MSM8960 simulator.
455
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800456config MACH_MSM8960_RUMI3
457 depends on ARCH_MSM8960
458 bool "MSM8960 RUMI3"
459 help
460 Support for the Qualcomm MSM8960 RUMI3 emulator.
461
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700462config MACH_MSM8960_CDP
463 depends on ARCH_MSM8960
464 bool "MSM8960 CDP"
465 help
466 Support for the Qualcomm MSM8960 CDP device.
467
468config MACH_MSM8960_MTP
469 depends on ARCH_MSM8960
470 bool "MSM8960 MTP"
471 help
472 Support for the Qualcomm MSM8960 MTP device.
473
474config MACH_MSM8960_FLUID
475 depends on ARCH_MSM8960
476 bool "MSM8960 FLUID"
477 help
478 Support for the Qualcomm MSM8960 FLUID device.
479
480config MSM_USE_TSIF1
481 depends on ARCH_MSM8X60
482 bool "MSM8x60 use TSIF1"
483 help
484 Selects TSIF1 core to be used rather than TSIF0.
485 The two TSIF cores share the same DM configuration
486 so they cannot be used simultaneously.
487
488config MACH_APQ8064_SIM
489 depends on ARCH_APQ8064
490 bool "APQ8064 Simulator"
491 help
492 Support for the Qualcomm APQ8064 simulator.
493
494config MACH_FSM9XXX_SURF
495 depends on ARCH_FSM9XXX
496 depends on !MSM_STACKED_MEMORY
497 default y
498 bool "FSM9XXX SURF"
499 help
500 Support for the Qualcomm FSM9xxx femtocell
501 chipset based SURF evaluation board and
502 FFA board.
503
Daniel Walker4ad15e62010-05-06 13:54:17 -0700504endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800505
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700506config MSM_STACKED_MEMORY
507 bool "Stacked Memory"
508 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800509 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700510 This option is used to indicate the presence of on-die stacked
511 memory. When present this memory bank is used for a high speed
512 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800513
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700514config PHYS_OFFSET
515 hex
516 default "0x80200000" if ARCH_APQ8064
517 default "0x80200000" if ARCH_MSM8960
518 default "0x10000000" if ARCH_FSM9XXX
519 default "0x00200000" if !MSM_STACKED_MEMORY
520 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
521 default "0x20000000" if ARCH_QSD8X50
522 default "0x40200000" if ARCH_MSM8X60
523 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800524
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700525config KERNEL_PMEM_EBI_REGION
526 bool "Enable in-kernel PMEM region for EBI"
527 default y if ARCH_MSM8X60
528 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960)
529 help
530 Enable the in-kernel PMEM allocator to use EBI memory.
531
532config KERNEL_PMEM_SMI_REGION
533 bool "Enable in-kernel PMEM region for SMI"
534 default y if ARCH_MSM8X60
535 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
536 help
537 Enable the in-kernel PMEM allocator to use SMI memory.
538
539config PMEM_GPU0
540 bool "Enable PMEM GPU0 region"
541 default y
542 depends on ARCH_QSD8X50 && ANDROID_PMEM
543 help
544 Enable the PMEM GPU0 device on SMI Memory.
545
546config MSM_AMSS_VERSION
547 int
548 default 6210 if MSM_AMSS_VERSION_6210
549 default 6220 if MSM_AMSS_VERSION_6220
550 default 6225 if MSM_AMSS_VERSION_6225
551
552choice
553 prompt "AMSS modem firmware version"
554
555 default MSM_AMSS_VERSION_6225
556
557 config MSM_AMSS_VERSION_6210
558 bool "6.2.10"
559
560 config MSM_AMSS_VERSION_6220
561 bool "6.2.20"
562
563 config MSM_AMSS_VERSION_6225
564 bool "6.2.20 + New ADSP"
565endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800566
Pavel Machek6339f662009-11-02 11:48:29 +0100567config MSM_DEBUG_UART
568 int
569 default 1 if MSM_DEBUG_UART1
570 default 2 if MSM_DEBUG_UART2
571 default 3 if MSM_DEBUG_UART3
572
573choice
574 prompt "Debug UART"
575
576 default MSM_DEBUG_UART_NONE
577
578 config MSM_DEBUG_UART_NONE
579 bool "None"
580
581 config MSM_DEBUG_UART1
582 bool "UART1"
583
584 config MSM_DEBUG_UART2
585 bool "UART2"
586
587 config MSM_DEBUG_UART3
588 bool "UART3"
589endchoice
590
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700591choice
592 prompt "Default Timer"
593 default MSM7X00A_USE_GP_TIMER
594
595 config MSM7X00A_USE_GP_TIMER
596 bool "GP Timer"
597 help
598 Low resolution timer that allows power collapse from idle.
599
600 config MSM7X00A_USE_DG_TIMER
601 bool "DG Timer"
602 help
603 High resolution timer.
604endchoice
605
606choice
607 prompt "Suspend sleep mode"
608 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
609 help
610 Allows overriding the sleep mode used. Leave at power
611 collapse suspend unless the arm9 image has problems.
612
613 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
614 bool "Power collapse suspend"
615 help
616 Lowest sleep state. Returns through reset vector.
617
618 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
619 bool "Power collapse"
620 help
621 Sleep state that returns through reset vector.
622
623 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
624 bool "Apps Sleep"
625
626 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
627 bool "Ramp down cpu clock and wait for interrupt"
628
629 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
630 bool "Wait for interrupt"
631endchoice
632
633config MSM7X00A_SLEEP_MODE
634 int
635 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
636 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
637 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
638 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
639 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
640
641choice
642 prompt "Idle sleep mode"
643 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
644 help
645 Allows overriding the sleep mode used from idle. Leave at power
646 collapse suspend unless the arm9 image has problems.
647
648 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
649 bool "Power collapse suspend"
650 help
651 Lowest sleep state. Returns through reset vector.
652
653 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
654 bool "Power collapse"
655 help
656 Sleep state that returns through reset vector.
657
658 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
659 bool "Apps Sleep"
660
661 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
662 bool "Ramp down cpu clock and wait for interrupt"
663
664 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
665 bool "Wait for interrupt"
666endchoice
667
668config MSM7X00A_IDLE_SLEEP_MODE
669 int
670 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
671 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
672 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
673 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
674 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
675
676config MSM7X00A_IDLE_SLEEP_MIN_TIME
677 int "Minimum idle time before sleep"
678 default 20000000
679 help
680 Minimum idle time in nanoseconds before entering low power mode.
681
682config MSM7X00A_IDLE_SPIN_TIME
683 int "Idle spin time before cpu ramp down"
684 default 80000
685 help
686 Spin time in nanoseconds before ramping down cpu clock and entering
687 any low power state.
688
689menuconfig MSM_IDLE_STATS
690 bool "Collect idle statistics"
691 default y
692 help
693 Collect idle statistics and export them in proc/msm_pm_stats.
694
695if MSM_IDLE_STATS
696
697config MSM_IDLE_STATS_FIRST_BUCKET
698 int "First bucket time"
699 default 62500
700 help
701 Upper time limit in nanoseconds of first bucket.
702
703config MSM_IDLE_STATS_BUCKET_SHIFT
704 int "Bucket shift"
705 default 2
706
707config MSM_IDLE_STATS_BUCKET_COUNT
708 int "Bucket count"
709 default 10
710
711config MSM_SUSPEND_STATS_FIRST_BUCKET
712 int "First bucket time for suspend"
713 default 1000000000
714 help
715 Upper time limit in nanoseconds of first bucket of the
716 histogram. This is for collecting statistics on suspend.
717
718endif # MSM_IDLE_STATS
719
720config CPU_HAS_L2_PMU
721 bool "L2CC PMU Support"
722 help
723 Select this if the L2 cache controller has a Performance Monitoring Unit.
724
725config MSM_JTAG_V7
726 depends on CPU_V7
727 default y if DEBUG_KERNEL
728 bool "JTAG debug support"
729 help
730 Add additional support for JTAG kernel debugging.
731
732config HTC_HEADSET
733 tristate "HTC 2 Wire detection driver"
734 default n
735 help
736 Provides support for detecting HTC 2 wire devices, such as wired
737 headset, on the trout platform. Can be used with the msm serial
738 debugger, but not with serial console.
739
740config TROUT_BATTCHG
741 depends on MACH_TROUT && POWER_SUPPLY
742 default y
743 bool "Trout battery / charger driver"
744
745config HTC_PWRSINK
746 depends on MSM_SMD
747 default n
748 bool "HTC Power Sink Driver"
749
750config QSD_SVS
751 bool "QSD Static Voltage Scaling"
752 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
753 default y
754 select TPS65023
755 help
756 Enables static voltage scaling using the TPS65023 PMIC.
757
758config QSD_PMIC_DEFAULT_DCDC1
759 int "PMIC default output voltage"
760 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
761 default 1250
762 help
763 This is the PMIC voltage at Linux kernel boot.
764
765config MSM_FIQ_SUPPORT
766 default y
767 bool "Enable installation of an FIQ handler."
768
769config MSM_SERIAL_DEBUGGER
770 select MSM_FIQ_SUPPORT
771 select KERNEL_DEBUGGER_CORE
772 default n
773 bool "FIQ Mode Serial Debugger"
774 help
775 The FIQ serial debugger can accept commands even when the
776 kernel is unresponsive due to being stuck with interrupts
777 disabled. Depends on the kernel debugger core in drivers/misc.
778
779config MSM_SERIAL_DEBUGGER_CONSOLE
780 depends on MSM_SERIAL_DEBUGGER
781 default n
782 bool "Console on FIQ Serial Debugger port"
783 help
784 Enables a console so that printk messages are displayed on
785 the debugger serial port as the occur.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700786
Steve Mucklec8aabae2010-04-21 16:20:27 -0700787config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700788 default y
789 bool "Proc-Comm RPC Interface"
790 help
791 Enables a lightweight communications interface to the
792 baseband processor.
Steve Mucklec8aabae2010-04-21 16:20:27 -0700793
Brian Swetland2eb44eb2008-09-29 16:00:48 -0700794config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700795 bool "MSM Shared Memory Driver (SMD)"
796 help
797 Support for the shared memory interface between the apps
798 processor and the baseband processor. Provides access to
799 the "shared heap", as well as virtual serial channels
800 used to communicate with various services on the baseband
801 processor.
802
803choice
804 prompt "MSM Shared memory interface version"
805 depends on MSM_SMD
806 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
807 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
808
809 config MSM_SMD_PKG3
810 bool
811 prompt "Package 3"
812
813 config MSM_SMD_PKG4
814 bool
815 prompt "Package 4"
816endchoice
817
818config MSM_IPC_ROUTER_SMD_XPRT
819 depends on MSM_SMD
820 default n
821 bool "MSM SMD XPRT Layer"
822 help
823 SMD Transport Layer for IPC Router
824
825config MSM_RPC_SDIO_XPRT
826 depends on MSM_SDIO_AL
827 default y
828 bool "MSM SDIO XPRT Layer"
829 help
830 SDIO Transport Layer for RPC Rouer
831
832config MSM_RPC_SDIO_DEBUG
833 depends on MSM_RPC_SDIO_XPRT
834 default y
835 bool "MSM SDIO XPRT debug support"
836 help
837 Support for debugging SDIO XPRT
838
839config MSM_SMD_DEBUG
840 depends on MSM_SMD
841 default y
842 bool "MSM SMD debug support"
843 help
844 Support for debugging the SMD for communication
845 between the ARM9 and ARM11
846
847config MSM_SDIO_AL
848 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
849 default y
850 tristate "SDIO-Abstraction-Layer"
851 help
852 Support MSM<->MDM Communication over SDIO bus.
853 MDM SDIO-Client should have pipes support.
854
855config MSM_SDIO_DMUX
856 bool "SDIO Data Mux Driver"
857 depends on MSM_SDIO_AL
858 default n
859 help
860 Support Muxed Data Channels over SDIO interface.
861
862config MSM_BAM_DMUX
863 bool "BAM Data Mux Driver"
864 depends on SPS
865 default n
866 help
867 Support Muxed Data Channels over BAM interface.
868 BAM has a limited number of pipes. This driver
869 provides a means to support more logical channels
870 via muxing than BAM could without muxing.
871
872config MSM_N_WAY_SMD
873 depends on (MSM_SMD && (ARCH_MSM_SCORPION || ARCH_MSM8960 || ARCH_MSM7X27 || ARCH_MSM7X25))
874 default y
875 bool "MSM N-WAY SMD support"
876 help
877 Supports APPS-QDSP SMD communication along with
878 normal APPS-MODEM SMD communication.
879
880config MSM_N_WAY_SMSM
881 depends on (MSM_SMD && (ARCH_MSM_SCORPION || ARCH_MSM8960 || ARCH_MSM7X27 || ARCH_MSM7X25))
882 default y
883 bool "MSM N-WAY SMSM support"
884 help
885 Supports APPS-QDSP SMSM communication along with
886 normal APPS-MODEM SMSM communication.
887
888config MSM_RESET_MODEM
889 tristate "Reset Modem Driver"
890 depends on MSM_SMD
891 default m
892 help
893 Allows the user to reset the modem through a device node.
894
895config MSM_SMD_LOGGING
896 depends on MSM_SMD
897 default y
898 bool "MSM Shared Memory Logger"
899 help
900 This option exposes the shared memory logger at /dev/smem_log
901 and a debugfs node named smem_log.
902
903 If in doubt, say yes.
904
905config MSM_SMD_NMEA
906 bool "NMEA GPS Driver"
907 depends on MSM_SMD
908 default y
909 help
910 Enable this to support the NMEA GPS device.
911
912 If in doubt, say yes.
913
914config MSM_SDIO_TTY
915 bool "SDIO TTY Driver"
916 depends on MSM_SDIO_AL
917 default n
918 help
919 Provides a TTY driver SDIO TTY
920 This driver can be used by user space
921 applications for passing data through the
922 SDIO interface.
923
924config MSM_SMD_TTY
925 bool "SMD TTY Driver"
926 depends on MSM_SMD
927 default y
928 help
929 Provides TTY interfaces to interact with the modem.
930
931 If in doubt, say yes.
932
933config MSM_SMD_QMI
934 bool "SMD QMI Driver"
935 depends on MSM_SMD
936 default y
937 help
938 Manages network data connections.
939
940 If in doubt, say yes.
941
942config MSM_SMD_PKT
943 bool "SMD Packet Driver"
944 depends on MSM_SMD
945 default y
946 help
947 Provides a binary SMD non-muxed packet port interface.
948
949 If in doubt, say yes.
950
951config MSM_SDIO_CMUX
952 bool "SDIO CMUX Driver"
953 depends on MSM_SDIO_AL
954 default n
955 help
956 Provides a Muxed port interface over SDIO QMI
957
958config MSM_DSPS
959 bool "Sensors DSPS driver"
960 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
961 default n
962 help
963 Provides user-space interface to the sensors manager
964 to turn on/off the Sensors Processor system clocks.
965 It is the DSPS responsibility to turn on/off the sensors
966 themself.
967 The number of clocks and their name may vary between targets.
968 It also triggers the PIL to load the DSPS firmware.
969
970config MSM_SDIO_CTL
971 bool "SDIO CTL Driver"
972 depends on MSM_SDIO_CMUX
973 default n
974 help
975 Provides a binary SDIO control port interface.
976
977config MSM_ONCRPCROUTER
978 depends on MSM_SMD
979 default n
980 bool "MSM ONCRPC router support"
981 help
982 Support for the MSM ONCRPC router for communication between
983 the ARM9 and ARM11
984
985config MSM_IPC_ROUTER
986 depends on MSM_IPC_ROUTER_SMD_XPRT
987 default n
988 bool "MSM IPC Router support"
989 help
990 Support for the MSM IPC Router for communication between
991 the APPs and the MODEM
992
993config MSM_ONCRPCROUTER_DEBUG
994 depends on MSM_ONCRPCROUTER
995 default y
996 bool "MSM debug ONCRPC router support"
997 help
998 Support for debugging the ONCRPC router for communication
999 between the ARM9 and ARM11
1000
1001config MSM_RPC_LOOPBACK_XPRT
1002 depends on MSM_ONCRPCROUTER
1003 default n
1004 bool "MSM RPC local routing support"
1005 help
1006 Support for routing RPC messages between APPS clients
1007 and APPS servers. Helps in testing APPS RPC framework.
1008
1009config MSM_RPCSERVER_TIME_REMOTE
1010 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1011 default y
1012 bool "Time remote RPC server"
1013 help
1014 The time remote server receives notification of time bases and
1015 reports these events to registered callback functions.
1016
1017config MSM_RPCSERVER_WATCHDOG
1018 depends on MSM_ONCRPCROUTER
1019 default y
1020 bool "Watchdog RPC server"
1021 help
1022 The dog_keepalive server handles watchdog events.
1023
1024config MSM_RPC_WATCHDOG
1025 depends on MSM_ONCRPCROUTER
1026 default n
1027 bool "Watchdog RPC client"
1028 help
1029 The dog_keepalive client module.
1030
1031config MSM_RPC_PING
1032 depends on MSM_ONCRPCROUTER && DEBUG_FS
1033 default m
1034 bool "MSM rpc ping"
1035 help
1036 Implements MSM rpc ping test module.
1037
1038config MSM_RPC_PROC_COMM_TEST
1039 depends on DEBUG_FS && MSM_PROC_COMM
1040 default m
1041 bool "MSM rpc proc comm test"
1042 help
1043 Implements MSM rpc proc comm test module.
1044
1045config MSM_RPC_OEM_RAPI
1046 depends on MSM_ONCRPCROUTER
1047 default m
1048 bool "MSM oem rapi"
1049 help
1050 Implements MSM oem rapi client module.
1051
1052config MSM_RPCSERVER_HANDSET
1053 depends on MSM_ONCRPCROUTER
1054 default y
1055 bool "Handset events RPC server"
1056 help
1057 Support for receiving handset events like headset detect,
1058 headset switch and clamshell state.
1059
1060config MSM_RMT_STORAGE_CLIENT
1061 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1062 default n
1063 bool "Remote Storage RPC client"
1064 help
1065 Provide RPC mechanism for remote processors to access storage
1066 device on apps processor.
1067
1068config MSM_RMT_STORAGE_CLIENT_STATS
1069 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1070 default n
1071 bool "Remote storage RPC client performance statistics"
1072 help
1073 Collects performance statistics and shows this information
1074 through a debugfs file rmt_storage_stats.
1075
1076config MSM_SDIO_SMEM
1077 depends on MSM_SDIO_AL
1078 default n
1079 bool "SDIO SMEM for remote storage"
1080 help
1081 Copies data from remote MDM9K memory to local MSM8x60
1082 memory. Used by remote storage client to shadow
1083 MDM9K filesystem.
1084
1085config MSM_DALRPC
1086 bool "DAL RPC support"
1087 depends on ARCH_MSM_SCORPION || ARCH_MSM_KRAIT
1088 default y
1089 help
1090 Supports RPC calls to DAL devices on remote processor cores.
1091
1092config MSM_DALRPC_TEST
1093 tristate "DAL RPC test module"
1094 depends on (MSM_DALRPC && DEBUG_FS)
1095 default m
1096 help
1097 Exercises DAL RPC calls to QDSP6.
1098
1099if CPU_FREQ_MSM
1100
1101config MSM_CPU_FREQ_SET_MIN_MAX
1102 bool "Set Min/Max CPU frequencies."
1103 default n
1104 help
1105 Allow setting min and max CPU frequencies. Sysfs can be used
1106 to override these values.
1107
1108config MSM_CPU_FREQ_MAX
1109 int "Max CPU Frequency"
1110 depends on MSM_CPU_FREQ_SET_MIN_MAX
1111 default 384000
1112
1113config MSM_CPU_FREQ_MIN
1114 int "Min CPU Frequency"
1115 depends on MSM_CPU_FREQ_SET_MIN_MAX
1116 default 245760
1117
1118endif # CPU_FREQ_MSM
1119
1120config MSM_CPU_AVS
1121 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1122 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1123 depends on ARCH_QSD8X50
1124 default n
1125 select MSM_AVS_HW
1126 help
1127 This enables the s/w control of Adaptive Voltage Scaling feature
1128 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1129 based on feedback from three ring oscillators in the CPU.
1130
1131config MSM_AVS_HW
1132 bool "Enable Adaptive Voltage Scaling (AVS)"
1133 default n
1134 help
1135 Enable AVS hardware to fine tune voltage at each frequency. The
1136 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1137 fine tune the voltages based on the feedback from the ring
1138 oscillators.
1139
1140config MSM_HW3D
1141 tristate "MSM Hardware 3D Register Driver"
1142 depends on ANDROID_PMEM
1143 default y
1144 help
1145 Provides access to registers needed by the userspace OpenGL|ES
1146 library.
1147
1148config MSM_ADSP
1149 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1150 tristate "MSM ADSP driver"
1151 depends on ANDROID_PMEM
1152 default y
1153 help
1154 Provides access to registers needed by the userspace aDSP library.
1155
1156config ADSP_RPC_VER
1157 hex
1158 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1159 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1160 depends on MSM_ADSP
1161 help
1162 Select proper ADSP RPC version
1163choice
1164 prompt "ADSP RPC version"
1165
1166 default AMSS_7X25_VERSION_2009
1167
1168 config AMSS_7X25_VERSION_2009
1169 bool "2.0.09"
1170
1171 config AMSS_7X25_VERSION_2008
1172 bool "2.0.08"
1173endchoice
1174
1175config MSM7KV2_AUDIO
1176 bool "MSM7K v2 audio"
1177 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1178 default y
1179 help
1180 Enables QDSP5V2-based audio drivers for audio playbacks and
1181 voice call.
1182
1183config MSM_ADSP_REPORT_EVENTS
1184 bool "Report modem events from the DSP"
1185 default y
1186 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1187 help
1188 Normally, only messages from the aDSP are reported to userspace.
1189 With this option, we report events from the aDSP as well.
1190
1191config MSM_QDSP6
1192 tristate "QDSP6 support"
1193 depends on ARCH_QSD8X50 && ANDROID_PMEM
1194 default y
1195 help
1196 Enable support for qdsp6. This provides audio and video functionality.
1197
1198config MSM8X60_AUDIO
1199 tristate "MSM8X60 audio support"
1200 depends on ARCH_MSM8X60 && ANDROID_PMEM
1201 default y
1202 help
1203 Enable support for qdsp6v2. This provides audio functionality.
1204
1205config MSM8X60_FTM_AUDIO_DEVICES
1206 bool "MSM8X60 audio factory test mode support"
1207 depends on MSM8X60_AUDIO
1208 help
1209 Enable support audio factory test mode devices. This is used
1210 in a production line environment.
1211
1212config MSM8X60_RTAC
1213 tristate "MSM8X60 real-time audio calibration support"
1214 depends on MSM8X60_AUDIO
1215 default n
1216 help
1217 Enable support for rtac in qdsp6v2. This enables calibration during
1218 audio operation
1219
1220config MSM7X27A_AUDIO
1221 bool "MSM7X27A audio support"
1222 depends on ARCH_MSM7X27A && MSM_ADSP
1223 default n
1224 help
1225 Enable support for 7x27a. This provides audio functionality.
1226
1227config MSM_VREG_SWITCH_INVERTED
1228 bool "Reverse vreg switch polarity"
1229 default n
1230 help
1231 Reverses the enable and disable for vreg switch.
1232
1233config MSM_DMA_TEST
1234 tristate "MSM DMA test module"
1235 default m
1236 help
1237 Intended to be compiled as a module. Provides a device node
1238 and ioctls for testing the MSM dma system.
1239
1240config WIFI_CONTROL_FUNC
1241 bool "Enable WiFi control function abstraction"
1242 help
1243 Enables Power/Reset/Carddetect function abstraction
1244
1245config WIFI_MEM_PREALLOC
1246 depends on WIFI_CONTROL_FUNC
1247 bool "Preallocate memory for WiFi buffers"
1248 help
1249 Preallocates memory buffers for WiFi driver
1250
1251config QSD_AUDIO
1252 bool "QSD audio"
1253 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1254 default y
1255 help
1256 Provides PCM, MP3, and AAC audio playback.
1257
1258config AUDIO_AAC_PLUS
1259 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1260 bool "AAC+ Audio"
1261 default y
1262 help
1263 Provides AAC+ decoding
1264
1265config AUDIO_ENHANCED_AAC_PLUS
1266 depends on AUDIO_AAC_PLUS
1267 bool "Enhanced AAC+ Audio"
1268 default y
1269 help
1270 Provides Enhanced AAC+ decoding
1271
1272config SURF_FFA_GPIO_KEYPAD
1273 bool "MSM SURF/FFA GPIO keypad"
1274 depends on INPUT_GPIO = "y"
1275 default y
1276 help
1277 Select if the GPIO keypad is attached.
1278
1279config MSM_SLEEP_TIME_OVERRIDE
1280 bool "Allow overriding suspend/sleep time with PM module parameter"
1281 default y
1282 help
1283 Enable the module parameter sleep_time_override. Specified
1284 in units of seconds, it overwrites the normal sleep time of
1285 suspend. The feature is required for automated power management
1286 testing.
1287
1288config MSM_MEMORY_LOW_POWER_MODE
1289 bool "Control the low power modes of memory"
1290 default n
1291 help
1292 The application processor controls whether memory should enter
1293 which low power mode.
1294
1295choice
1296 prompt "Default Memory Low Power Mode during Idle"
1297 depends on MSM_MEMORY_LOW_POWER_MODE
1298 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1299 help
1300 Selects the default low power mode of the memory during idle
1301 sleep.
1302
1303 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1304 bool "Memory active"
1305
1306 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1307 bool "Memory in retention"
1308
1309 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1310 bool "Memory in deep power down"
1311endchoice
1312
1313choice
1314 prompt "Default Memory Low Power Mode during Suspend"
1315 depends on MSM_MEMORY_LOW_POWER_MODE
1316 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1317 help
1318 Selects the default low power mode of the memory during suspend
1319 sleep.
1320
1321 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1322 bool "Memory active"
1323
1324 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1325 bool "Memory in retention"
1326
1327 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1328 bool "Memory in deep power down"
1329endchoice
1330
1331choice
1332 prompt "Power management timeout action"
1333 default MSM_PM_TIMEOUT_HALT
1334 help
1335 Selects the Application Processor's action when Power Management
1336 times out waiting for Modem's handshake.
1337
1338 config MSM_PM_TIMEOUT_HALT
1339 bool "Halt the Application Processor"
1340
1341 config MSM_PM_TIMEOUT_RESET_MODEM
1342 bool "Reset the Modem Processor"
1343
1344 config MSM_PM_TIMEOUT_RESET_CHIP
1345 bool "Reset the entire chip"
1346endchoice
1347
1348config MSM_IDLE_WAIT_ON_MODEM
1349 int "Wait for Modem to become ready for idle power collapse"
1350 default 0
1351 help
1352 If Modem is not ready to handle Application Processor's request
1353 for idle power collapse, wait the number of microseconds in case
1354 Modem becomes ready soon.
1355
1356config MSM_PIL
1357 bool "Peripheral image loading"
1358 select FW_LOADER
1359 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1360 default n
1361 help
1362 Some peripherals need to be loaded into memory before they can be
1363 brought out of reset.
1364
1365 Say yes to support these devices.
1366
1367config MSM_SECURE_PIL
1368 bool "Secure Peripheral image loading"
1369 depends on MSM_PIL
1370 default n
1371
1372config MSM_SCM
1373 bool "Secure Channel Manager (SCM) support"
1374 default n
1375
1376config MSM_SUBSYSTEM_RESTART
1377 bool "MSM Subsystem Restart Driver"
1378 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1379 default n
1380 help
1381 This option enables the MSM subsystem restart driver, which provides
1382 a framework to handle subsystem crashes.
1383
1384config MSM_MODEM_8960
1385 bool "MSM 8960 Modem driver"
1386 depends on (ARCH_MSM8960)
1387 help
1388 This option enables the modem driver for the MSM8960, which monitors
1389 modem hardware watchdog interrupt lines and plugs into the subsystem
1390 restart and PIL drivers.
1391
1392config SCORPION_Uni_45nm_BUG
1393 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1394 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1395 default y
1396 help
1397 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1398 invalidating the Branch Predictor Array by Modified Virtual Address can
1399 create invalid entries in the TLB with the wrong ASID values on Scorpion
1400 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1401 workaround for Scorpion Uniprocessor 45nm cores.
1402
1403 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1404
1405config MSM_RPM_LOG
1406 tristate "MSM Resource Power Manager Log Driver"
1407 depends on DEBUG_FS
1408 depends on ARCH_MSM8X60
1409 default n
1410 help
1411 This option enables a driver which can read from a circular buffer
1412 of messages produced by the RPM. These messages provide diagnostic
1413 information about RPM operation. The driver outputs the messages
1414 via a debugfs node.
1415
1416config MSM_RPM_STATS_LOG
1417 tristate "MSM Resource Power Manager Stat Driver"
1418 depends on DEBUG_FS
1419 depends on ARCH_MSM8X60
1420 default n
1421 help
1422 This option enables a driver which reads RPM messages from a shared
1423 memory location. These messages provide statistical information about
1424 the low power modes that RPM enters. The drivers outputs the message
1425 via a debugfs node.
1426
1427config MSM_IOMMU
1428 bool "MSM IOMMU Support"
1429 depends on ARCH_MSM8X60 || ARCH_MSM8960
1430 select IOMMU_API
1431 default n
1432 help
1433 Support for the IOMMUs found on certain Qualcomm SOCs.
1434 These IOMMUs allow virtualization of the address space used by most
1435 cores within the multimedia subsystem.
1436
1437 If unsure, say N here.
1438
1439config IOMMU_PGTABLES_L2
1440 bool "Allow SMMU page tables in the L2 cache (Experimental)"
1441 depends on MSM_IOMMU=y
1442 depends on MMU
1443 depends on CPU_DCACHE_DISABLE=n
1444 depends on SMP
1445 default y
1446 help
1447 Improves TLB miss latency at the expense of potential L2 pollution.
1448 However, with large multimedia buffers, the TLB should mostly contain
1449 section mappings and TLB misses should be quite infrequent.
1450 Most people can probably say Y here.
1451
1452config MSM_DIRECT_SCLK_ACCESS
1453 bool "Direct access to the SCLK timer"
1454 default n
1455
1456config IOMMU_API
1457 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001458
Gregory Beanab78cde2010-09-01 16:26:12 -07001459config MSM_GPIOMUX
1460 bool
1461
Gregory Bean1963a2a2010-08-28 10:05:44 -07001462config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001463 bool
1464
1465config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07001466 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001467
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001468config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001469 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001470
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001471config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001472 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001473
1474config MSM_BUS_SCALING
1475 bool "Bus scaling driver"
1476 default n
1477
1478config MSM_WATCHDOG
1479 bool "MSM Watchdog Support"
1480 depends on ARCH_MSM8X60 || ARCH_MSM8960
1481 help
1482 This enables the watchdog as is present on 8x60. Currently we use
1483 core 0's watchdog, and reset the entire SoC if it times out. It does
1484 not run during the bootup process, so it will not catch any early
1485 lockups.
1486
1487config MSM_DLOAD_MODE
1488 bool "Enable download mode on crashes"
1489 depends on ARCH_MSM8X60 || ARCH_MSM8960
1490 default n
1491 help
1492 This makes the SoC enter download mode when it resets
1493 due to a kernel panic. Note that this doesn't by itself
1494 make the kernel reboot on a kernel panic - that must be
1495 enabled via another mechanism.
1496
1497config MSM_ETM
1498 tristate "Enable MSM ETM and ETB"
1499 depends on ARCH_MSM8X60
1500 help
1501 This enables embedded trace collection on Qualcomm v7 CPUs.
1502
1503config MSM_SLEEP_STATS
1504 bool "Enable exporting of MSM sleep stats to userspace"
1505 depends on CPU_IDLE
1506 default n
1507
1508config MSM_STANDALONE_POWER_COLLAPSE
1509 bool "Enable standalone power collapse"
1510 default n
1511
1512config MSM_GSBI9_UART
1513 bool "Enable GSBI9 UART device"
1514 default n
1515 help
1516 This enables GSBI9 configured into UART.
1517
1518config MSM_SHARED_GPIO_FOR_UART2DM
1519 bool "Use shared GPIOs into UART mode"
1520 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
1521 help
1522 This option configures GPIO muxed with SDC4/MMC3
1523 8-bit mode into UART mode. It is used for serial
1524 console on UART2DM. Say Y if you want to have
1525 serial console on UART2DM.
1526
1527config MSM_SHOW_RESUME_IRQ
1528 bool "Enable logging of interrupts that could have caused resume"
1529 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1530 default n
1531 help
1532 This option logs wake up interrupts that have triggered just before
1533 the resume loop unrolls. Say Y if you want to debug why the system
1534 resumed.
1535
1536config BT_MSM_PINTEST
1537 tristate "MSM Bluetooth Pin Connectivity Test"
1538 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
1539 default n
1540 help
1541 Bluetooth MSM Pin Connectivity test module.
1542 This driver provides support for verifying the MSM to BT pin
1543 connectivity.
1544
1545config MSM_FAKE_BATTERY
1546 depends on POWER_SUPPLY
1547 default n
1548 bool "MSM Fake Battery"
1549 help
1550 Enables MSM fake battery driver.
1551
1552config MSM_QDSP6_APR
1553 bool "Audio QDSP6 APR support"
1554 depends on MSM_SMD
1555 default n
1556 help
1557 Enable APR IPC protocol support between
1558 application processor and QDSP6. APR is
1559 used by audio driver to configure QDSP6's
1560 ASM, ADM and AFE.
1561
1562
1563config MSM_AUDIO_QDSP6
1564 bool "QDSP6 HW Audio support"
1565 select SND_SOC_MSM_QDSP6_INTF
1566 default n
1567 help
1568 Enable HW audio support in QDSP6.
1569 QDSP6 can support HW encoder & decoder and audio processing
1570
1571config MSM_RPC_VIBRATOR
1572 bool "RPC based MSM Vibrator Support"
1573 depends on MSM_ONCRPCROUTER
1574 help
1575 Enable the vibrator support on MSM over RPC. The vibrator
1576 is connected on the PMIC. Say Y if you want to enable this
1577 feature.
1578
1579config PM8XXX_RPC_VIBRATOR
1580 bool "RPC based Vibrator on PM8xxx PMICs"
1581 depends on MSM_RPC_VIBRATOR
1582 help
1583 Enable the vibrator support on MSM over RPC. The vibrator
1584 is connected on the PM8XXX PMIC. Say Y if you want to enable
1585 this feature.
1586
1587config MSM_SPM_V1
1588 bool "Driver support for SPM Version 1"
1589 help
1590 Enables the support for Version 1 of the SPM driver. SPM hardware is
1591 used to manage the processor power during sleep. The driver allows
1592 configuring SPM to allow different power modes.
1593
1594config MSM_SPM_V2
1595 bool "Driver support for SPM Version 2"
1596 help
1597 Enables the support for Version 2 of the SPM driver. SPM hardware is
1598 used to manage the processor power during sleep. The driver allows
1599 configuring SPM to allow different power modes.
1600
1601config MSM_L2_SPM
1602 bool "SPM support for L2 cache"
1603 depends on MSM_SPM_V2
1604 help
1605 Enable SPM driver support for L2 cache. Some MSM chipsets allow
1606 control of L2 cache low power mode with a Subsystem Power manager.
1607 Enabling this driver allows configuring L2 SPM for low power modes
1608 on supported chipsets.
1609
Brian Swetland9e73c842007-11-26 04:12:13 -08001610endif