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