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