blob: 73418534944e56e4086e683588c8c8215e4a8af6 [file] [log] [blame]
Brian Swetland1637de02008-09-09 07:13:33 -07001if ARCH_MSM
Brian Swetland9e73c842007-11-26 04:12:13 -08002
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -07003menu "MSM SoC Type"
Daniel Walkerbf83de42010-03-16 16:29:44 -07004
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07005config ARCH_MSM7X01A
Daniel Walkerbf83de42010-03-16 16:29:44 -07006 bool "MSM7x00A / MSM7x01A"
7 select ARCH_MSM_ARM11
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07008 select MSM_VIC
Daniel Walkerbf83de42010-03-16 16:29:44 -07009 select CPU_V6
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070010 select MSM_REMOTE_SPINLOCK_SWP
11
12config ARCH_MSM7X25
13 bool "MSM7x25"
14 select ARCH_MSM_ARM11
15 select MSM_VIC
16 select CPU_V6
17 select MSM_REMOTE_SPINLOCK_SWP
18
19config ARCH_MSM7X27
20 bool "MSM7x27"
21 select ARCH_MSM_ARM11 if MSM_SOC_REV_NONE
22 select ARCH_HAS_BARRIERS if MSM_SOC_REV_NONE
23 select ARCH_MSM_CORTEX_A5 if MSM_SOC_REV_A
24 select MSM_VIC
25 select CPU_V6 if MSM_SOC_REV_NONE
26 select CPU_V7 if MSM_SOC_REV_A
27 select MSM_REMOTE_SPINLOCK_SWP if MSM_SOC_REV_NONE
28 select MSM_GPIOMUX
29 select REGULATOR
Daniel Walkerbf83de42010-03-16 16:29:44 -070030
Daniel Walker7b521612010-05-06 12:44:57 -070031config ARCH_MSM7X30
32 bool "MSM7x30"
33 select ARCH_MSM_SCORPION
Daniel Walker7b521612010-05-06 12:44:57 -070034 select MSM_VIC
35 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070036 select MSM_REMOTE_SPINLOCK_DEKKERS
37 select ARCH_SPARSEMEM_ENABLE
Laura Abbott78593b52011-09-26 18:48:14 -070038 select ARCH_HAS_HOLES_MEMORYMODEL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070039 select MEMORY_HOTPLUG
40 select MEMORY_HOTREMOVE
41 select MIGRATION
42 select ARCH_MEMORY_PROBE
43 select ARCH_MEMORY_REMOVE
44 select DONT_RESERVE_FROM_MOVABLE_ZONE
Gregory Beanab78cde2010-09-01 16:26:12 -070045 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070046 select RESERVE_FIRST_PAGE
47 select MSM_DALRPC
48 select MSM_SPM_V1
49 select REGULATOR
Justin Paupore637a25d2011-07-14 17:11:04 -070050 select MSM_PROC_COMM_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
Zhoulu Luoca2a0442011-09-30 18:32:50 -0700135 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600136 select MSM_REMOTE_SPINLOCK_SFPB
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700137
138config ARCH_APQ8064
139 bool "APQ8064"
140 select ARCH_MSM_KRAITMP
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700141 select MACH_APQ8064_SIM if !MACH_APQ8064_RUMI3
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700142 select MSM_V2_TLMM
143 select ARM_GIC
144 select CPU_V7
145 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700146 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600147 select MSM_REMOTE_SPINLOCK_SFPB
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700148
149config ARCH_FSM9XXX
150 bool "FSM9XXX"
151 select ARCH_MSM_SCORPION
152 select MSM_VIC
153 select CPU_V7
154 select MSM_REMOTE_SPINLOCK_LDREX
155 select FSM9XXX_TLMM
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800156
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700157config ARCH_MSM9615
158 bool "MSM9615"
159 select ARM_GIC
160 select ARCH_MSM_CORTEX_A5
161 select CPU_V7
162 select MSM_V2_TLMM
163 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600164 select MSM_RPM
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700165endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700166
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700167choice
168 prompt "MSM SoC Revision"
169 default MSM_SOC_REV_NONE
170config MSM_SOC_REV_NONE
171 bool "N/A"
172 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
173 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walker4ad15e62010-05-06 13:54:17 -0700174config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700175 bool "Rev. A"
176 select ARCH_MSM7X27A if ARCH_MSM7X27
177endchoice
Daniel Walker4ad15e62010-05-06 13:54:17 -0700178
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700179config MSM_KRAIT_TBB_ABORT_HANDLER
180 bool "Krait TBB/TBH data abort handler"
181 depends on ARCH_MSM_KRAIT
182 depends on ARM_THUMB
183 help
184 Certain early samples of the Krait processor may generate data
185 aborts for TBB / TBH instructions that fail their condition code
186 checks. Enabling this option will ignore these erroneous data aborts,
187 at the expense of a very small performance penalty.
188
189 If unsure, say N.
190
Daniel Walker4ad15e62010-05-06 13:54:17 -0700191config ARCH_MSM_ARM11
192 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700193
Daniel Walker4ad15e62010-05-06 13:54:17 -0700194config ARCH_MSM_SCORPION
Daniel Walkerbf83de42010-03-16 16:29:44 -0700195 bool
196
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700197config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700198 bool
199
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700200config MSM_SMP
201 bool
202
203config ARCH_MSM_SCORPIONMP
204 select ARCH_MSM_SCORPION
205 select MSM_SMP
206 bool
207
208config ARCH_MSM_KRAITMP
209 select ARCH_MSM_KRAIT
210 select MSM_SMP
211 bool
212
213config ARCH_MSM_CORTEX_A5
214 bool
215 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
216
217config ARCH_MSM7X27A
218 bool
219 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700220 select MSM_PROC_COMM_REGULATOR
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700221
Gregory Beanf9f3d312010-04-30 22:06:50 -0700222config MSM_VIC
223 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700224
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700225config MSM_RPM
226 bool "Resource Power Manager"
227 select MSM_MPM
228
229config MSM_MPM
230 bool "Modem Power Manager"
231
232config MSM_XO
233 bool
234
235config MSM_REMOTE_SPINLOCK_DEKKERS
236 bool
237config MSM_REMOTE_SPINLOCK_SWP
238 bool
239config MSM_REMOTE_SPINLOCK_LDREX
240 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600241config MSM_REMOTE_SPINLOCK_SFPB
242 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700243config MSM_ADM3
244 bool
245
246menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700247
248config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700249 depends on ARCH_MSM7X01A
250 depends on MSM_STACKED_MEMORY
251 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700252 bool "Halibut Board (QCT SURF7201A)"
253 help
254 Support for the Qualcomm SURF7201A eval board.
255
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700256config MACH_MSM7201A_SURF
257 depends on ARCH_MSM7X01A
258 depends on MSM_STACKED_MEMORY
259 default y
260 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700261 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700262 Support for the Qualcomm MSM7201A SURF eval board.
263
264config MACH_MSM7201A_FFA
265 depends on ARCH_MSM7X01A
266 depends on MSM_STACKED_MEMORY
267 default y
268 bool "MSM7201A FFA"
269 help
270 Support for the Qualcomm MSM7201A FFA eval board.
271
272config MACH_TROUT
273 depends on ARCH_MSM7X01A
274 depends on MSM_STACKED_MEMORY
275 default y
276 bool "Trout"
277
278config MACH_MSM7X27_SURF
279 depends on ARCH_MSM7X27
280 depends on !MSM_STACKED_MEMORY
281 default y
282 bool "MSM7x27 SURF"
283 help
284 Support for the Qualcomm MSM7x27 SURF eval board.
285
286config MACH_MSM7X27_FFA
287 depends on ARCH_MSM7X27
288 depends on !MSM_STACKED_MEMORY
289 default y
290 bool "MSM7x27 FFA"
291 help
292 Support for the Qualcomm MSM7x27 FFA eval board.
293
294config MACH_MSM7X27A_RUMI3
295 depends on ARCH_MSM7X27A
296 depends on !MSM_STACKED_MEMORY
297 default y
298 bool "MSM7x27A RUMI3"
299 help
300 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
301
302config MACH_MSM7X27A_SURF
303 depends on ARCH_MSM7X27A
304 depends on !MSM_STACKED_MEMORY
305 default y
306 bool "MSM7x27A SURF"
307 help
308 Support for the Qualcomm MSM7x27A SURF.
309
310config MACH_MSM7X27A_FFA
311 depends on ARCH_MSM7X27A
312 depends on !MSM_STACKED_MEMORY
313 default y
314 bool "MSM7x27A FFA"
315 help
316 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700317
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530318config MACH_MSM7625A_SURF
319 depends on ARCH_MSM7X27A
320 depends on !MSM_STACKED_MEMORY
321 default y
322 bool "MSM7625A SURF"
323 help
324 Support for the Qualcomm MSM7625A SURF.
325
326config MACH_MSM7625A_FFA
327 depends on ARCH_MSM7X27A
328 depends on !MSM_STACKED_MEMORY
329 default y
330 bool "MSM7625A FFA"
331 help
332 Support for the Qualcomm MSM7625A FFA.
333
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530334config MACH_MSM7627A_QRD1
335 depends on ARCH_MSM7X27A
336 depends on !MSM_STACKED_MEMORY
337 default y
338 bool "MSM7627A QRD1"
339 help
340 Support for the Qualcomm MSM7627A Refrence Design.
341
Daniel Walker7b521612010-05-06 12:44:57 -0700342config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700343 depends on ARCH_MSM7X30
344 depends on !MSM_STACKED_MEMORY
345 default y
346 bool "MSM7x30 SURF"
347 help
348 Support for the Qualcomm MSM7x30 SURF eval board.
349
350config MACH_MSM7X30_FFA
351 depends on ARCH_MSM7X30
352 depends on !MSM_STACKED_MEMORY
353 default y
354 bool "MSM7x30 FFA"
355 help
356 Support for the Qualcomm MSM7x30 FFA eval board.
357
358config MACH_MSM7X30_FLUID
359 depends on ARCH_MSM7X30
360 depends on !MSM_STACKED_MEMORY
361 default y
362 bool "MSM7x30 FLUID"
363 help
364 Support for the Qualcomm MSM7x30 FLUID eval board.
365
366config MACH_SAPPHIRE
367 depends on ARCH_MSM7X01A
368 default n
369 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700370
Daniel Walker4ad15e62010-05-06 13:54:17 -0700371config MACH_QSD8X50_SURF
372 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700373 depends on MSM_SOC_REV_NONE
374 depends on MSM_STACKED_MEMORY
375 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700376 bool "QSD8x50 SURF"
377 help
378 Support for the Qualcomm QSD8x50 SURF eval board.
379
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700380config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700381 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700382 depends on MSM_SOC_REV_NONE
383 depends on MSM_STACKED_MEMORY
384 default y
385 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700386 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700387 Support for the Qualcomm QSD8x50 FFA eval board.
388
389config MACH_MSM7X25_SURF
390 depends on ARCH_MSM7X25
391 depends on !MSM_STACKED_MEMORY
392 default y
393 bool "MSM7x25 SURF"
394 help
395 Support for the Qualcomm MSM7x25 SURF eval board.
396
397config MACH_MSM7X25_FFA
398 depends on ARCH_MSM7X25
399 depends on !MSM_STACKED_MEMORY
400 default y
401 bool "MSM7x25 FFA"
402 help
403 Support for the Qualcomm MSM7x25 FFA eval board.
404
405config MACH_MSM8X55_SURF
406 depends on ARCH_MSM7X30
407 depends on !MSM_STACKED_MEMORY
408 default y
409 bool "MSM8X55 SURF"
410 help
411 Support for the Qualcomm MSM8x55 SURF eval board.
412
413config MACH_MSM8X55_FFA
414 depends on ARCH_MSM7X30
415 depends on !MSM_STACKED_MEMORY
416 default y
417 bool "MSM8X55 FFA"
418 help
419 Support for the Qualcomm MSM8x55 FFA eval board.
420
421config MACH_MSM8X55_SVLTE_FFA
422 depends on ARCH_MSM7X30
423 depends on !MSM_STACKED_MEMORY
424 default y
425 bool "MSM8X55 SVLTE FFA"
426 help
427 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
428
429config MACH_MSM8X55_SVLTE_SURF
430 depends on ARCH_MSM7X30
431 depends on !MSM_STACKED_MEMORY
432 default y
433 bool "MSM8X55 SVLTE SURF"
434 help
435 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700436
Steve Mucklea55df6e2010-01-07 12:43:24 -0800437config MACH_MSM8X60_RUMI3
438 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700439 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800440 bool "MSM8x60 RUMI3"
441 help
442 Support for the Qualcomm MSM8x60 RUMI3 emulator.
443
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800444config MACH_MSM8X60_SIM
445 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700446 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800447 bool "MSM8x60 Simulator"
448 help
449 Support for the Qualcomm MSM8x60 simulator.
450
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700451config MACH_MSM8X60_SURF
452 depends on ARCH_MSM8X60
453 default n
454 bool "MSM8x60 SURF"
455 help
456 Support for the Qualcomm MSM8x60 SURF eval board.
457
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700458config MACH_MSM8X60_FFA
459 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700460 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700461 bool "MSM8x60 FFA"
462 help
463 Support for the Qualcomm MSM8x60 FFA eval board.
464
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700465config MACH_MSM8X60_FLUID
466 depends on ARCH_MSM8X60
467 default n
468 bool "MSM8x60 FLUID"
469 help
470 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
471 8x60 target which has a form factor that is much closer to that
472 of a phone than other targets. It also has a new display and
473 touchscreen controller.
474
475config MACH_MSM8X60_FUSION
476 depends on ARCH_MSM8X60
477 default n
478 bool "MSM8x60 FUSION"
479 help
480 Support for the Qualcomm MSM8x60 Fusion SURF device.
481
482config MACH_MSM8X60_FUSN_FFA
483 depends on ARCH_MSM8X60
484 default n
485 bool "MSM8x60 FUSN FFA"
486 help
487 Support for the Qualcomm MSM8x60 Fusion FFA device.
488
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400489config MACH_MSM8X60_DRAGON
490 depends on ARCH_MSM8X60
491 default n
492 bool "MSM8x60 DRAGON"
493 help
494 Support for the Qualcomm MSM8x60 Dragon board.
495
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800496config MACH_MSM8960_SIM
497 depends on ARCH_MSM8960
498 bool "MSM8960 Simulator"
499 help
500 Support for the Qualcomm MSM8960 simulator.
501
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800502config MACH_MSM8960_RUMI3
503 depends on ARCH_MSM8960
504 bool "MSM8960 RUMI3"
505 help
506 Support for the Qualcomm MSM8960 RUMI3 emulator.
507
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700508config MACH_MSM8960_CDP
509 depends on ARCH_MSM8960
510 bool "MSM8960 CDP"
511 help
512 Support for the Qualcomm MSM8960 CDP device.
513
514config MACH_MSM8960_MTP
515 depends on ARCH_MSM8960
516 bool "MSM8960 MTP"
517 help
518 Support for the Qualcomm MSM8960 MTP device.
519
520config MACH_MSM8960_FLUID
521 depends on ARCH_MSM8960
522 bool "MSM8960 FLUID"
523 help
524 Support for the Qualcomm MSM8960 FLUID device.
525
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300526config MACH_MSM8960_LIQUID
527 depends on ARCH_MSM8960
528 bool "MSM8960 LIQUID"
529 help
530 Support for the Qualcomm MSM8960 LIQUID device.
531
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700532config MACH_MSM9615_CDP
533 depends on ARCH_MSM9615
534 bool "MSM9615 CDP"
535 help
536 Support for the Qualcomm MSM9615 CDP device.
537
538config MACH_MSM9615_MTP
539 depends on ARCH_MSM9615
540 bool "MSM9615 MTP"
541 help
542 Support for the Qualcomm MSM9615 MTP device.
543
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700544config MSM_USE_TSIF1
545 depends on ARCH_MSM8X60
546 bool "MSM8x60 use TSIF1"
547 help
548 Selects TSIF1 core to be used rather than TSIF0.
549 The two TSIF cores share the same DM configuration
550 so they cannot be used simultaneously.
551
552config MACH_APQ8064_SIM
553 depends on ARCH_APQ8064
554 bool "APQ8064 Simulator"
555 help
556 Support for the Qualcomm APQ8064 simulator.
557
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700558config MACH_APQ8064_RUMI3
559 depends on ARCH_APQ8064
560 bool "APQ8064 RUMI3"
561 help
562 Support for the Qualcomm APQ8064 RUMI3 emulator.
563
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700564config MACH_FSM9XXX_SURF
565 depends on ARCH_FSM9XXX
566 depends on !MSM_STACKED_MEMORY
567 default y
568 bool "FSM9XXX SURF"
569 help
570 Support for the Qualcomm FSM9xxx femtocell
571 chipset based SURF evaluation board and
572 FFA board.
573
Daniel Walker4ad15e62010-05-06 13:54:17 -0700574endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800575
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700576config MSM_STACKED_MEMORY
577 bool "Stacked Memory"
578 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800579 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700580 This option is used to indicate the presence of on-die stacked
581 memory. When present this memory bank is used for a high speed
582 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800583
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700584config PHYS_OFFSET
585 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700586 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700587 default "0x80200000" if ARCH_APQ8064
588 default "0x80200000" if ARCH_MSM8960
589 default "0x10000000" if ARCH_FSM9XXX
590 default "0x00200000" if !MSM_STACKED_MEMORY
591 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
592 default "0x20000000" if ARCH_QSD8X50
593 default "0x40200000" if ARCH_MSM8X60
594 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800595
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700596config KERNEL_PMEM_EBI_REGION
597 bool "Enable in-kernel PMEM region for EBI"
598 default y if ARCH_MSM8X60
599 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960)
600 help
601 Enable the in-kernel PMEM allocator to use EBI memory.
602
603config KERNEL_PMEM_SMI_REGION
604 bool "Enable in-kernel PMEM region for SMI"
605 default y if ARCH_MSM8X60
606 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
607 help
608 Enable the in-kernel PMEM allocator to use SMI memory.
609
610config PMEM_GPU0
611 bool "Enable PMEM GPU0 region"
612 default y
613 depends on ARCH_QSD8X50 && ANDROID_PMEM
614 help
615 Enable the PMEM GPU0 device on SMI Memory.
616
617config MSM_AMSS_VERSION
618 int
619 default 6210 if MSM_AMSS_VERSION_6210
620 default 6220 if MSM_AMSS_VERSION_6220
621 default 6225 if MSM_AMSS_VERSION_6225
622
623choice
624 prompt "AMSS modem firmware version"
625
626 default MSM_AMSS_VERSION_6225
627
628 config MSM_AMSS_VERSION_6210
629 bool "6.2.10"
630
631 config MSM_AMSS_VERSION_6220
632 bool "6.2.20"
633
634 config MSM_AMSS_VERSION_6225
635 bool "6.2.20 + New ADSP"
636endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800637
Pavel Machek6339f662009-11-02 11:48:29 +0100638config MSM_DEBUG_UART
639 int
640 default 1 if MSM_DEBUG_UART1
641 default 2 if MSM_DEBUG_UART2
642 default 3 if MSM_DEBUG_UART3
643
644choice
645 prompt "Debug UART"
646
647 default MSM_DEBUG_UART_NONE
648
649 config MSM_DEBUG_UART_NONE
650 bool "None"
651
652 config MSM_DEBUG_UART1
653 bool "UART1"
654
655 config MSM_DEBUG_UART2
656 bool "UART2"
657
658 config MSM_DEBUG_UART3
659 bool "UART3"
660endchoice
661
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700662choice
663 prompt "Default Timer"
664 default MSM7X00A_USE_GP_TIMER
665
666 config MSM7X00A_USE_GP_TIMER
667 bool "GP Timer"
668 help
669 Low resolution timer that allows power collapse from idle.
670
671 config MSM7X00A_USE_DG_TIMER
672 bool "DG Timer"
673 help
674 High resolution timer.
675endchoice
676
677choice
678 prompt "Suspend sleep mode"
679 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
680 help
681 Allows overriding the sleep mode used. Leave at power
682 collapse suspend unless the arm9 image has problems.
683
684 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
685 bool "Power collapse suspend"
686 help
687 Lowest sleep state. Returns through reset vector.
688
689 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
690 bool "Power collapse"
691 help
692 Sleep state that returns through reset vector.
693
694 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
695 bool "Apps Sleep"
696
697 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
698 bool "Ramp down cpu clock and wait for interrupt"
699
700 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
701 bool "Wait for interrupt"
702endchoice
703
704config MSM7X00A_SLEEP_MODE
705 int
706 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
707 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
708 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
709 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
710 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
711
712choice
713 prompt "Idle sleep mode"
714 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
715 help
716 Allows overriding the sleep mode used from idle. Leave at power
717 collapse suspend unless the arm9 image has problems.
718
719 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
720 bool "Power collapse suspend"
721 help
722 Lowest sleep state. Returns through reset vector.
723
724 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
725 bool "Power collapse"
726 help
727 Sleep state that returns through reset vector.
728
729 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
730 bool "Apps Sleep"
731
732 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
733 bool "Ramp down cpu clock and wait for interrupt"
734
735 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
736 bool "Wait for interrupt"
737endchoice
738
739config MSM7X00A_IDLE_SLEEP_MODE
740 int
741 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
742 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
743 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
744 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
745 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
746
747config MSM7X00A_IDLE_SLEEP_MIN_TIME
748 int "Minimum idle time before sleep"
749 default 20000000
750 help
751 Minimum idle time in nanoseconds before entering low power mode.
752
753config MSM7X00A_IDLE_SPIN_TIME
754 int "Idle spin time before cpu ramp down"
755 default 80000
756 help
757 Spin time in nanoseconds before ramping down cpu clock and entering
758 any low power state.
759
760menuconfig MSM_IDLE_STATS
761 bool "Collect idle statistics"
762 default y
763 help
764 Collect idle statistics and export them in proc/msm_pm_stats.
765
766if MSM_IDLE_STATS
767
768config MSM_IDLE_STATS_FIRST_BUCKET
769 int "First bucket time"
770 default 62500
771 help
772 Upper time limit in nanoseconds of first bucket.
773
774config MSM_IDLE_STATS_BUCKET_SHIFT
775 int "Bucket shift"
776 default 2
777
778config MSM_IDLE_STATS_BUCKET_COUNT
779 int "Bucket count"
780 default 10
781
782config MSM_SUSPEND_STATS_FIRST_BUCKET
783 int "First bucket time for suspend"
784 default 1000000000
785 help
786 Upper time limit in nanoseconds of first bucket of the
787 histogram. This is for collecting statistics on suspend.
788
789endif # MSM_IDLE_STATS
790
791config CPU_HAS_L2_PMU
792 bool "L2CC PMU Support"
793 help
794 Select this if the L2 cache controller has a Performance Monitoring Unit.
795
796config MSM_JTAG_V7
797 depends on CPU_V7
798 default y if DEBUG_KERNEL
799 bool "JTAG debug support"
800 help
801 Add additional support for JTAG kernel debugging.
802
803config HTC_HEADSET
804 tristate "HTC 2 Wire detection driver"
805 default n
806 help
807 Provides support for detecting HTC 2 wire devices, such as wired
808 headset, on the trout platform. Can be used with the msm serial
809 debugger, but not with serial console.
810
811config TROUT_BATTCHG
812 depends on MACH_TROUT && POWER_SUPPLY
813 default y
814 bool "Trout battery / charger driver"
815
816config HTC_PWRSINK
817 depends on MSM_SMD
818 default n
819 bool "HTC Power Sink Driver"
820
821config QSD_SVS
822 bool "QSD Static Voltage Scaling"
823 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
824 default y
825 select TPS65023
826 help
827 Enables static voltage scaling using the TPS65023 PMIC.
828
829config QSD_PMIC_DEFAULT_DCDC1
830 int "PMIC default output voltage"
831 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
832 default 1250
833 help
834 This is the PMIC voltage at Linux kernel boot.
835
836config MSM_FIQ_SUPPORT
837 default y
838 bool "Enable installation of an FIQ handler."
839
840config MSM_SERIAL_DEBUGGER
841 select MSM_FIQ_SUPPORT
842 select KERNEL_DEBUGGER_CORE
843 default n
844 bool "FIQ Mode Serial Debugger"
845 help
846 The FIQ serial debugger can accept commands even when the
847 kernel is unresponsive due to being stuck with interrupts
848 disabled. Depends on the kernel debugger core in drivers/misc.
849
850config MSM_SERIAL_DEBUGGER_CONSOLE
851 depends on MSM_SERIAL_DEBUGGER
852 default n
853 bool "Console on FIQ Serial Debugger port"
854 help
855 Enables a console so that printk messages are displayed on
856 the debugger serial port as the occur.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700857
Steve Mucklec8aabae2010-04-21 16:20:27 -0700858config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700859 default y
860 bool "Proc-Comm RPC Interface"
861 help
862 Enables a lightweight communications interface to the
863 baseband processor.
Steve Mucklec8aabae2010-04-21 16:20:27 -0700864
Brian Swetland2eb44eb2008-09-29 16:00:48 -0700865config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700866 bool "MSM Shared Memory Driver (SMD)"
867 help
868 Support for the shared memory interface between the apps
869 processor and the baseband processor. Provides access to
870 the "shared heap", as well as virtual serial channels
871 used to communicate with various services on the baseband
872 processor.
873
874choice
875 prompt "MSM Shared memory interface version"
876 depends on MSM_SMD
877 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
878 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
879
880 config MSM_SMD_PKG3
881 bool
882 prompt "Package 3"
883
884 config MSM_SMD_PKG4
885 bool
886 prompt "Package 4"
887endchoice
888
889config MSM_IPC_ROUTER_SMD_XPRT
890 depends on MSM_SMD
891 default n
892 bool "MSM SMD XPRT Layer"
893 help
894 SMD Transport Layer for IPC Router
895
896config MSM_RPC_SDIO_XPRT
897 depends on MSM_SDIO_AL
898 default y
899 bool "MSM SDIO XPRT Layer"
900 help
901 SDIO Transport Layer for RPC Rouer
902
903config MSM_RPC_SDIO_DEBUG
904 depends on MSM_RPC_SDIO_XPRT
905 default y
906 bool "MSM SDIO XPRT debug support"
907 help
908 Support for debugging SDIO XPRT
909
910config MSM_SMD_DEBUG
911 depends on MSM_SMD
912 default y
913 bool "MSM SMD debug support"
914 help
915 Support for debugging the SMD for communication
916 between the ARM9 and ARM11
917
918config MSM_SDIO_AL
919 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
920 default y
921 tristate "SDIO-Abstraction-Layer"
922 help
923 Support MSM<->MDM Communication over SDIO bus.
924 MDM SDIO-Client should have pipes support.
925
926config MSM_SDIO_DMUX
927 bool "SDIO Data Mux Driver"
928 depends on MSM_SDIO_AL
929 default n
930 help
931 Support Muxed Data Channels over SDIO interface.
932
933config MSM_BAM_DMUX
934 bool "BAM Data Mux Driver"
935 depends on SPS
936 default n
937 help
938 Support Muxed Data Channels over BAM interface.
939 BAM has a limited number of pipes. This driver
940 provides a means to support more logical channels
941 via muxing than BAM could without muxing.
942
943config MSM_N_WAY_SMD
Jeff Hugo56b933a2011-09-28 14:42:05 -0600944 depends on (MSM_SMD && (ARCH_MSM_SCORPION || ARCH_MSM8960 || ARCH_MSM7X27 || ARCH_MSM7X25 || ARCH_MSM9615))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700945 default y
946 bool "MSM N-WAY SMD support"
947 help
948 Supports APPS-QDSP SMD communication along with
949 normal APPS-MODEM SMD communication.
950
951config MSM_N_WAY_SMSM
Jeff Hugo56b933a2011-09-28 14:42:05 -0600952 depends on (MSM_SMD && (ARCH_MSM_SCORPION || ARCH_MSM8960 || ARCH_MSM7X27 || ARCH_MSM7X25 || ARCH_MSM9615))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700953 default y
954 bool "MSM N-WAY SMSM support"
955 help
956 Supports APPS-QDSP SMSM communication along with
957 normal APPS-MODEM SMSM communication.
958
959config MSM_RESET_MODEM
960 tristate "Reset Modem Driver"
961 depends on MSM_SMD
962 default m
963 help
964 Allows the user to reset the modem through a device node.
965
966config MSM_SMD_LOGGING
967 depends on MSM_SMD
968 default y
969 bool "MSM Shared Memory Logger"
970 help
971 This option exposes the shared memory logger at /dev/smem_log
972 and a debugfs node named smem_log.
973
974 If in doubt, say yes.
975
976config MSM_SMD_NMEA
977 bool "NMEA GPS Driver"
978 depends on MSM_SMD
979 default y
980 help
981 Enable this to support the NMEA GPS device.
982
983 If in doubt, say yes.
984
985config MSM_SDIO_TTY
986 bool "SDIO TTY Driver"
987 depends on MSM_SDIO_AL
988 default n
989 help
990 Provides a TTY driver SDIO TTY
991 This driver can be used by user space
992 applications for passing data through the
993 SDIO interface.
994
995config MSM_SMD_TTY
996 bool "SMD TTY Driver"
997 depends on MSM_SMD
998 default y
999 help
1000 Provides TTY interfaces to interact with the modem.
1001
1002 If in doubt, say yes.
1003
1004config MSM_SMD_QMI
1005 bool "SMD QMI Driver"
1006 depends on MSM_SMD
1007 default y
1008 help
1009 Manages network data connections.
1010
1011 If in doubt, say yes.
1012
1013config MSM_SMD_PKT
1014 bool "SMD Packet Driver"
1015 depends on MSM_SMD
1016 default y
1017 help
1018 Provides a binary SMD non-muxed packet port interface.
1019
1020 If in doubt, say yes.
1021
1022config MSM_SDIO_CMUX
1023 bool "SDIO CMUX Driver"
1024 depends on MSM_SDIO_AL
1025 default n
1026 help
1027 Provides a Muxed port interface over SDIO QMI
1028
1029config MSM_DSPS
1030 bool "Sensors DSPS driver"
1031 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1032 default n
1033 help
1034 Provides user-space interface to the sensors manager
1035 to turn on/off the Sensors Processor system clocks.
1036 It is the DSPS responsibility to turn on/off the sensors
1037 themself.
1038 The number of clocks and their name may vary between targets.
1039 It also triggers the PIL to load the DSPS firmware.
1040
1041config MSM_SDIO_CTL
1042 bool "SDIO CTL Driver"
1043 depends on MSM_SDIO_CMUX
1044 default n
1045 help
1046 Provides a binary SDIO control port interface.
1047
1048config MSM_ONCRPCROUTER
1049 depends on MSM_SMD
1050 default n
1051 bool "MSM ONCRPC router support"
1052 help
1053 Support for the MSM ONCRPC router for communication between
1054 the ARM9 and ARM11
1055
1056config MSM_IPC_ROUTER
1057 depends on MSM_IPC_ROUTER_SMD_XPRT
1058 default n
1059 bool "MSM IPC Router support"
1060 help
1061 Support for the MSM IPC Router for communication between
1062 the APPs and the MODEM
1063
1064config MSM_ONCRPCROUTER_DEBUG
1065 depends on MSM_ONCRPCROUTER
1066 default y
1067 bool "MSM debug ONCRPC router support"
1068 help
1069 Support for debugging the ONCRPC router for communication
1070 between the ARM9 and ARM11
1071
1072config MSM_RPC_LOOPBACK_XPRT
1073 depends on MSM_ONCRPCROUTER
1074 default n
1075 bool "MSM RPC local routing support"
1076 help
1077 Support for routing RPC messages between APPS clients
1078 and APPS servers. Helps in testing APPS RPC framework.
1079
1080config MSM_RPCSERVER_TIME_REMOTE
1081 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1082 default y
1083 bool "Time remote RPC server"
1084 help
1085 The time remote server receives notification of time bases and
1086 reports these events to registered callback functions.
1087
1088config MSM_RPCSERVER_WATCHDOG
1089 depends on MSM_ONCRPCROUTER
1090 default y
1091 bool "Watchdog RPC server"
1092 help
1093 The dog_keepalive server handles watchdog events.
1094
1095config MSM_RPC_WATCHDOG
1096 depends on MSM_ONCRPCROUTER
1097 default n
1098 bool "Watchdog RPC client"
1099 help
1100 The dog_keepalive client module.
1101
1102config MSM_RPC_PING
1103 depends on MSM_ONCRPCROUTER && DEBUG_FS
1104 default m
1105 bool "MSM rpc ping"
1106 help
1107 Implements MSM rpc ping test module.
1108
1109config MSM_RPC_PROC_COMM_TEST
1110 depends on DEBUG_FS && MSM_PROC_COMM
1111 default m
1112 bool "MSM rpc proc comm test"
1113 help
1114 Implements MSM rpc proc comm test module.
1115
1116config MSM_RPC_OEM_RAPI
1117 depends on MSM_ONCRPCROUTER
1118 default m
1119 bool "MSM oem rapi"
1120 help
1121 Implements MSM oem rapi client module.
1122
1123config MSM_RPCSERVER_HANDSET
1124 depends on MSM_ONCRPCROUTER
1125 default y
1126 bool "Handset events RPC server"
1127 help
1128 Support for receiving handset events like headset detect,
1129 headset switch and clamshell state.
1130
1131config MSM_RMT_STORAGE_CLIENT
1132 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1133 default n
1134 bool "Remote Storage RPC client"
1135 help
1136 Provide RPC mechanism for remote processors to access storage
1137 device on apps processor.
1138
1139config MSM_RMT_STORAGE_CLIENT_STATS
1140 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1141 default n
1142 bool "Remote storage RPC client performance statistics"
1143 help
1144 Collects performance statistics and shows this information
1145 through a debugfs file rmt_storage_stats.
1146
1147config MSM_SDIO_SMEM
1148 depends on MSM_SDIO_AL
1149 default n
1150 bool "SDIO SMEM for remote storage"
1151 help
1152 Copies data from remote MDM9K memory to local MSM8x60
1153 memory. Used by remote storage client to shadow
1154 MDM9K filesystem.
1155
1156config MSM_DALRPC
1157 bool "DAL RPC support"
1158 depends on ARCH_MSM_SCORPION || ARCH_MSM_KRAIT
1159 default y
1160 help
1161 Supports RPC calls to DAL devices on remote processor cores.
1162
1163config MSM_DALRPC_TEST
1164 tristate "DAL RPC test module"
1165 depends on (MSM_DALRPC && DEBUG_FS)
1166 default m
1167 help
1168 Exercises DAL RPC calls to QDSP6.
1169
1170if CPU_FREQ_MSM
1171
1172config MSM_CPU_FREQ_SET_MIN_MAX
1173 bool "Set Min/Max CPU frequencies."
1174 default n
1175 help
1176 Allow setting min and max CPU frequencies. Sysfs can be used
1177 to override these values.
1178
1179config MSM_CPU_FREQ_MAX
1180 int "Max CPU Frequency"
1181 depends on MSM_CPU_FREQ_SET_MIN_MAX
1182 default 384000
1183
1184config MSM_CPU_FREQ_MIN
1185 int "Min CPU Frequency"
1186 depends on MSM_CPU_FREQ_SET_MIN_MAX
1187 default 245760
1188
1189endif # CPU_FREQ_MSM
1190
1191config MSM_CPU_AVS
1192 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1193 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1194 depends on ARCH_QSD8X50
1195 default n
1196 select MSM_AVS_HW
1197 help
1198 This enables the s/w control of Adaptive Voltage Scaling feature
1199 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1200 based on feedback from three ring oscillators in the CPU.
1201
1202config MSM_AVS_HW
1203 bool "Enable Adaptive Voltage Scaling (AVS)"
1204 default n
1205 help
1206 Enable AVS hardware to fine tune voltage at each frequency. The
1207 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1208 fine tune the voltages based on the feedback from the ring
1209 oscillators.
1210
1211config MSM_HW3D
1212 tristate "MSM Hardware 3D Register Driver"
1213 depends on ANDROID_PMEM
1214 default y
1215 help
1216 Provides access to registers needed by the userspace OpenGL|ES
1217 library.
1218
1219config MSM_ADSP
1220 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1221 tristate "MSM ADSP driver"
1222 depends on ANDROID_PMEM
1223 default y
1224 help
1225 Provides access to registers needed by the userspace aDSP library.
1226
1227config ADSP_RPC_VER
1228 hex
1229 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1230 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1231 depends on MSM_ADSP
1232 help
1233 Select proper ADSP RPC version
1234choice
1235 prompt "ADSP RPC version"
1236
1237 default AMSS_7X25_VERSION_2009
1238
1239 config AMSS_7X25_VERSION_2009
1240 bool "2.0.09"
1241
1242 config AMSS_7X25_VERSION_2008
1243 bool "2.0.08"
1244endchoice
1245
1246config MSM7KV2_AUDIO
1247 bool "MSM7K v2 audio"
1248 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1249 default y
1250 help
1251 Enables QDSP5V2-based audio drivers for audio playbacks and
1252 voice call.
1253
1254config MSM_ADSP_REPORT_EVENTS
1255 bool "Report modem events from the DSP"
1256 default y
1257 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1258 help
1259 Normally, only messages from the aDSP are reported to userspace.
1260 With this option, we report events from the aDSP as well.
1261
1262config MSM_QDSP6
1263 tristate "QDSP6 support"
1264 depends on ARCH_QSD8X50 && ANDROID_PMEM
1265 default y
1266 help
1267 Enable support for qdsp6. This provides audio and video functionality.
1268
1269config MSM8X60_AUDIO
1270 tristate "MSM8X60 audio support"
1271 depends on ARCH_MSM8X60 && ANDROID_PMEM
1272 default y
1273 help
1274 Enable support for qdsp6v2. This provides audio functionality.
1275
1276config MSM8X60_FTM_AUDIO_DEVICES
1277 bool "MSM8X60 audio factory test mode support"
1278 depends on MSM8X60_AUDIO
1279 help
1280 Enable support audio factory test mode devices. This is used
1281 in a production line environment.
1282
Ben Romberger45b351c2011-07-20 22:37:27 -07001283config RTAC
1284 bool "MSM8K real-time audio calibration support"
1285 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001286 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001287 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001288 audio operation
1289
1290config MSM7X27A_AUDIO
1291 bool "MSM7X27A audio support"
1292 depends on ARCH_MSM7X27A && MSM_ADSP
1293 default n
1294 help
1295 Enable support for 7x27a. This provides audio functionality.
1296
Justin Pauporea6cd2092011-06-22 16:19:45 -07001297config MSM_PROC_COMM_REGULATOR
1298 bool
1299 depends on MSM_PROC_COMM && REGULATOR
1300 help
1301 Enable regulator framework support for regulators managed by PMLIB
1302 on the modem, and controlled through proccomm calls.
1303
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001304config MSM_VREG_SWITCH_INVERTED
1305 bool "Reverse vreg switch polarity"
1306 default n
1307 help
1308 Reverses the enable and disable for vreg switch.
1309
1310config MSM_DMA_TEST
1311 tristate "MSM DMA test module"
1312 default m
1313 help
1314 Intended to be compiled as a module. Provides a device node
1315 and ioctls for testing the MSM dma system.
1316
1317config WIFI_CONTROL_FUNC
1318 bool "Enable WiFi control function abstraction"
1319 help
1320 Enables Power/Reset/Carddetect function abstraction
1321
1322config WIFI_MEM_PREALLOC
1323 depends on WIFI_CONTROL_FUNC
1324 bool "Preallocate memory for WiFi buffers"
1325 help
1326 Preallocates memory buffers for WiFi driver
1327
1328config QSD_AUDIO
1329 bool "QSD audio"
1330 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1331 default y
1332 help
1333 Provides PCM, MP3, and AAC audio playback.
1334
1335config AUDIO_AAC_PLUS
1336 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1337 bool "AAC+ Audio"
1338 default y
1339 help
1340 Provides AAC+ decoding
1341
1342config AUDIO_ENHANCED_AAC_PLUS
1343 depends on AUDIO_AAC_PLUS
1344 bool "Enhanced AAC+ Audio"
1345 default y
1346 help
1347 Provides Enhanced AAC+ decoding
1348
1349config SURF_FFA_GPIO_KEYPAD
1350 bool "MSM SURF/FFA GPIO keypad"
1351 depends on INPUT_GPIO = "y"
1352 default y
1353 help
1354 Select if the GPIO keypad is attached.
1355
1356config MSM_SLEEP_TIME_OVERRIDE
1357 bool "Allow overriding suspend/sleep time with PM module parameter"
1358 default y
1359 help
1360 Enable the module parameter sleep_time_override. Specified
1361 in units of seconds, it overwrites the normal sleep time of
1362 suspend. The feature is required for automated power management
1363 testing.
1364
1365config MSM_MEMORY_LOW_POWER_MODE
1366 bool "Control the low power modes of memory"
1367 default n
1368 help
1369 The application processor controls whether memory should enter
1370 which low power mode.
1371
1372choice
1373 prompt "Default Memory Low Power Mode during Idle"
1374 depends on MSM_MEMORY_LOW_POWER_MODE
1375 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1376 help
1377 Selects the default low power mode of the memory during idle
1378 sleep.
1379
1380 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1381 bool "Memory active"
1382
1383 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1384 bool "Memory in retention"
1385
1386 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1387 bool "Memory in deep power down"
1388endchoice
1389
1390choice
1391 prompt "Default Memory Low Power Mode during Suspend"
1392 depends on MSM_MEMORY_LOW_POWER_MODE
1393 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1394 help
1395 Selects the default low power mode of the memory during suspend
1396 sleep.
1397
1398 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1399 bool "Memory active"
1400
1401 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1402 bool "Memory in retention"
1403
1404 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1405 bool "Memory in deep power down"
1406endchoice
1407
1408choice
1409 prompt "Power management timeout action"
1410 default MSM_PM_TIMEOUT_HALT
1411 help
1412 Selects the Application Processor's action when Power Management
1413 times out waiting for Modem's handshake.
1414
1415 config MSM_PM_TIMEOUT_HALT
1416 bool "Halt the Application Processor"
1417
1418 config MSM_PM_TIMEOUT_RESET_MODEM
1419 bool "Reset the Modem Processor"
1420
1421 config MSM_PM_TIMEOUT_RESET_CHIP
1422 bool "Reset the entire chip"
1423endchoice
1424
1425config MSM_IDLE_WAIT_ON_MODEM
1426 int "Wait for Modem to become ready for idle power collapse"
1427 default 0
1428 help
1429 If Modem is not ready to handle Application Processor's request
1430 for idle power collapse, wait the number of microseconds in case
1431 Modem becomes ready soon.
1432
1433config MSM_PIL
1434 bool "Peripheral image loading"
1435 select FW_LOADER
1436 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1437 default n
1438 help
1439 Some peripherals need to be loaded into memory before they can be
1440 brought out of reset.
1441
1442 Say yes to support these devices.
1443
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001444config MSM_SCM
1445 bool "Secure Channel Manager (SCM) support"
1446 default n
1447
1448config MSM_SUBSYSTEM_RESTART
1449 bool "MSM Subsystem Restart Driver"
1450 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1451 default n
1452 help
1453 This option enables the MSM subsystem restart driver, which provides
1454 a framework to handle subsystem crashes.
1455
Matt Wagantallf8020902011-08-30 21:19:23 -07001456config MSM_SYSMON_COMM
1457 bool "MSM System Monitor communication support"
1458 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1459 default y
1460 help
1461 This option adds support for MSM System Monitor library, which
1462 provides an API that may be used for notifying subsystems within
1463 the SoC about other subsystems' power-up/down state-changes.
1464
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001465config MSM_MODEM_8960
1466 bool "MSM 8960 Modem driver"
1467 depends on (ARCH_MSM8960)
1468 help
1469 This option enables the modem driver for the MSM8960, which monitors
1470 modem hardware watchdog interrupt lines and plugs into the subsystem
1471 restart and PIL drivers.
1472
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001473config MSM_LPASS_8960
1474 tristate "MSM 8960 Lpass driver"
1475 depends on (ARCH_MSM8960)
1476 help
1477 This option enables the lpass driver for the MSM8960, which monitors
1478 lpass hardware watchdog interrupt lines and plugs into the subsystem
1479 restart and PIL drivers.
1480
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001481config MSM_WCNSS_SSR_8960
1482 tristate "MSM 8960 WCNSS restart module"
1483 depends on (ARCH_MSM8960)
1484 help
1485 This option enables the WCNSS restart module for MSM8960, which
1486 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1487 into the subsystem restart framework.
1488
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001489config SCORPION_Uni_45nm_BUG
1490 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1491 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1492 default y
1493 help
1494 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1495 invalidating the Branch Predictor Array by Modified Virtual Address can
1496 create invalid entries in the TLB with the wrong ASID values on Scorpion
1497 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1498 workaround for Scorpion Uniprocessor 45nm cores.
1499
1500 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1501
1502config MSM_RPM_LOG
1503 tristate "MSM Resource Power Manager Log Driver"
1504 depends on DEBUG_FS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001505 default n
1506 help
1507 This option enables a driver which can read from a circular buffer
1508 of messages produced by the RPM. These messages provide diagnostic
1509 information about RPM operation. The driver outputs the messages
1510 via a debugfs node.
1511
1512config MSM_RPM_STATS_LOG
1513 tristate "MSM Resource Power Manager Stat Driver"
1514 depends on DEBUG_FS
1515 depends on ARCH_MSM8X60
1516 default n
1517 help
1518 This option enables a driver which reads RPM messages from a shared
1519 memory location. These messages provide statistical information about
1520 the low power modes that RPM enters. The drivers outputs the message
1521 via a debugfs node.
1522
1523config MSM_IOMMU
1524 bool "MSM IOMMU Support"
1525 depends on ARCH_MSM8X60 || ARCH_MSM8960
1526 select IOMMU_API
1527 default n
1528 help
1529 Support for the IOMMUs found on certain Qualcomm SOCs.
1530 These IOMMUs allow virtualization of the address space used by most
1531 cores within the multimedia subsystem.
1532
1533 If unsure, say N here.
1534
1535config IOMMU_PGTABLES_L2
1536 bool "Allow SMMU page tables in the L2 cache (Experimental)"
1537 depends on MSM_IOMMU=y
1538 depends on MMU
1539 depends on CPU_DCACHE_DISABLE=n
1540 depends on SMP
1541 default y
1542 help
1543 Improves TLB miss latency at the expense of potential L2 pollution.
1544 However, with large multimedia buffers, the TLB should mostly contain
1545 section mappings and TLB misses should be quite infrequent.
1546 Most people can probably say Y here.
1547
1548config MSM_DIRECT_SCLK_ACCESS
1549 bool "Direct access to the SCLK timer"
1550 default n
1551
1552config IOMMU_API
1553 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001554
Gregory Beanab78cde2010-09-01 16:26:12 -07001555config MSM_GPIOMUX
1556 bool
1557
Gregory Bean1963a2a2010-08-28 10:05:44 -07001558config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001559 bool
1560
1561config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07001562 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001563
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001564config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001565 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001566
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001567config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001568 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001569
1570config MSM_BUS_SCALING
1571 bool "Bus scaling driver"
1572 default n
1573
Gagan Mac85c70492011-06-10 16:07:47 -06001574config MSM_BUS_RPM_MULTI_TIER_ENABLED
1575 bool "RPM Multi-tiering Configuration"
1576 depends on MSM_BUS_SCALING
1577
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001578config MSM_WATCHDOG
1579 bool "MSM Watchdog Support"
Rohit Vaswani085a9332011-09-28 18:57:24 -07001580 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001581 help
1582 This enables the watchdog as is present on 8x60. Currently we use
1583 core 0's watchdog, and reset the entire SoC if it times out. It does
1584 not run during the bootup process, so it will not catch any early
1585 lockups.
1586
1587config MSM_DLOAD_MODE
1588 bool "Enable download mode on crashes"
1589 depends on ARCH_MSM8X60 || ARCH_MSM8960
1590 default n
1591 help
1592 This makes the SoC enter download mode when it resets
1593 due to a kernel panic. Note that this doesn't by itself
1594 make the kernel reboot on a kernel panic - that must be
1595 enabled via another mechanism.
1596
Pratik Patel7831c082011-06-08 21:44:37 -07001597config MSM_TRACE_ACROSS_PC
1598 bool "Trace support across power collapse"
1599 depends on ARCH_MSM8X60 || ARCH_MSM8960
1600 help
1601 Enables trace state to be saved and restored across power collapse.
1602
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001603config MSM_ETM
1604 tristate "Enable MSM ETM and ETB"
1605 depends on ARCH_MSM8X60
Pratik Patel7831c082011-06-08 21:44:37 -07001606 select MSM_TRACE_ACROSS_PC
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001607 help
Pratik Patel7831c082011-06-08 21:44:37 -07001608 Enables embedded trace collection on Qualcomm v7 CPUs.
1609
1610config MSM_QDSS
1611 bool "Coresight tracing support"
1612 depends on ARCH_MSM8960
1613 select MSM_TRACE_ACROSS_PC
1614 help
1615 Enables support for Qualcomm debug subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001616
1617config MSM_SLEEP_STATS
1618 bool "Enable exporting of MSM sleep stats to userspace"
1619 depends on CPU_IDLE
1620 default n
1621
1622config MSM_STANDALONE_POWER_COLLAPSE
1623 bool "Enable standalone power collapse"
1624 default n
1625
1626config MSM_GSBI9_UART
1627 bool "Enable GSBI9 UART device"
1628 default n
1629 help
1630 This enables GSBI9 configured into UART.
1631
1632config MSM_SHARED_GPIO_FOR_UART2DM
1633 bool "Use shared GPIOs into UART mode"
1634 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
1635 help
1636 This option configures GPIO muxed with SDC4/MMC3
1637 8-bit mode into UART mode. It is used for serial
1638 console on UART2DM. Say Y if you want to have
1639 serial console on UART2DM.
1640
1641config MSM_SHOW_RESUME_IRQ
1642 bool "Enable logging of interrupts that could have caused resume"
1643 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1644 default n
1645 help
1646 This option logs wake up interrupts that have triggered just before
1647 the resume loop unrolls. Say Y if you want to debug why the system
1648 resumed.
1649
1650config BT_MSM_PINTEST
1651 tristate "MSM Bluetooth Pin Connectivity Test"
1652 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
1653 default n
1654 help
1655 Bluetooth MSM Pin Connectivity test module.
1656 This driver provides support for verifying the MSM to BT pin
1657 connectivity.
1658
1659config MSM_FAKE_BATTERY
1660 depends on POWER_SUPPLY
1661 default n
1662 bool "MSM Fake Battery"
1663 help
1664 Enables MSM fake battery driver.
1665
1666config MSM_QDSP6_APR
1667 bool "Audio QDSP6 APR support"
1668 depends on MSM_SMD
1669 default n
1670 help
1671 Enable APR IPC protocol support between
1672 application processor and QDSP6. APR is
1673 used by audio driver to configure QDSP6's
1674 ASM, ADM and AFE.
1675
1676
1677config MSM_AUDIO_QDSP6
1678 bool "QDSP6 HW Audio support"
1679 select SND_SOC_MSM_QDSP6_INTF
1680 default n
1681 help
1682 Enable HW audio support in QDSP6.
1683 QDSP6 can support HW encoder & decoder and audio processing
1684
1685config MSM_RPC_VIBRATOR
1686 bool "RPC based MSM Vibrator Support"
1687 depends on MSM_ONCRPCROUTER
1688 help
1689 Enable the vibrator support on MSM over RPC. The vibrator
1690 is connected on the PMIC. Say Y if you want to enable this
1691 feature.
1692
1693config PM8XXX_RPC_VIBRATOR
1694 bool "RPC based Vibrator on PM8xxx PMICs"
1695 depends on MSM_RPC_VIBRATOR
1696 help
1697 Enable the vibrator support on MSM over RPC. The vibrator
1698 is connected on the PM8XXX PMIC. Say Y if you want to enable
1699 this feature.
1700
1701config MSM_SPM_V1
1702 bool "Driver support for SPM Version 1"
1703 help
1704 Enables the support for Version 1 of the SPM driver. SPM hardware is
1705 used to manage the processor power during sleep. The driver allows
1706 configuring SPM to allow different power modes.
1707
1708config MSM_SPM_V2
1709 bool "Driver support for SPM Version 2"
1710 help
1711 Enables the support for Version 2 of the SPM driver. SPM hardware is
1712 used to manage the processor power during sleep. The driver allows
1713 configuring SPM to allow different power modes.
1714
1715config MSM_L2_SPM
1716 bool "SPM support for L2 cache"
1717 depends on MSM_SPM_V2
1718 help
1719 Enable SPM driver support for L2 cache. Some MSM chipsets allow
1720 control of L2 cache low power mode with a Subsystem Power manager.
1721 Enabling this driver allows configuring L2 SPM for low power modes
1722 on supported chipsets.
1723
Brian Swetland9e73c842007-11-26 04:12:13 -08001724endif