blob: f3ae47ecdead3bfb4ec5595fc8bf08266f057eff [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
Taniya Dasbe561a02011-10-12 09:53:11 +053018 select MULTI_IRQ_HANDLER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070019
20config ARCH_MSM7X27
21 bool "MSM7x27"
22 select ARCH_MSM_ARM11 if MSM_SOC_REV_NONE
23 select ARCH_HAS_BARRIERS if MSM_SOC_REV_NONE
24 select ARCH_MSM_CORTEX_A5 if MSM_SOC_REV_A
25 select MSM_VIC
26 select CPU_V6 if MSM_SOC_REV_NONE
27 select CPU_V7 if MSM_SOC_REV_A
28 select MSM_REMOTE_SPINLOCK_SWP if MSM_SOC_REV_NONE
29 select MSM_GPIOMUX
30 select REGULATOR
Taniya Dasbe561a02011-10-12 09:53:11 +053031 select MULTI_IRQ_HANDLER
Pankaj Kumar75c86fd2011-10-01 18:51:09 +053032 select MSM_PROC_COMM_REGULATOR
Daniel Walkerbf83de42010-03-16 16:29:44 -070033
Daniel Walker7b521612010-05-06 12:44:57 -070034config ARCH_MSM7X30
35 bool "MSM7x30"
36 select ARCH_MSM_SCORPION
Daniel Walker7b521612010-05-06 12:44:57 -070037 select MSM_VIC
38 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070039 select MSM_REMOTE_SPINLOCK_DEKKERS
40 select ARCH_SPARSEMEM_ENABLE
Laura Abbott78593b52011-09-26 18:48:14 -070041 select ARCH_HAS_HOLES_MEMORYMODEL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070042 select MEMORY_HOTPLUG
43 select MEMORY_HOTREMOVE
44 select MIGRATION
45 select ARCH_MEMORY_PROBE
46 select ARCH_MEMORY_REMOVE
Gregory Beanab78cde2010-09-01 16:26:12 -070047 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070048 select RESERVE_FIRST_PAGE
49 select MSM_DALRPC
50 select MSM_SPM_V1
51 select REGULATOR
Justin Paupore637a25d2011-07-14 17:11:04 -070052 select MSM_PROC_COMM_REGULATOR
Taniya Dasbae99fb2011-10-12 09:55:13 +053053 select MULTI_IRQ_HANDLER
Daniel Walker7b521612010-05-06 12:44:57 -070054
Daniel Walker4ad15e62010-05-06 13:54:17 -070055config ARCH_QSD8X50
56 bool "QSD8X50"
57 select ARCH_MSM_SCORPION
Daniel Walker4ad15e62010-05-06 13:54:17 -070058 select MSM_VIC
59 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070060 select MSM_REMOTE_SPINLOCK_LDREX
61 select CPU_USE_DOMAINS
62 select EMULATE_DOMAIN_MANAGER_V7
Gregory Beanab78cde2010-09-01 16:26:12 -070063 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070064 select MSM_DALRPC
Daniel Walker46fe5f22010-08-18 11:00:25 -070065
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070066config ARCH_MSM8X60
67 bool "MSM8X60"
Jeff Ohlsteine14411d2010-11-30 13:06:36 -080068 select ARCH_MSM_SCORPIONMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070069 select SMP_PARALLEL_START if SMP
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070070 select ARM_GIC
71 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070072 select MSM_REMOTE_SPINLOCK_LDREX
73 select ARCH_REQUIRE_GPIOLIB
74 select MSM_ADM3
75 select REGULATOR
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070076 select MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070077 select MSM_PIL
78 select MSM_SCM
79 select ARCH_HAS_CPU_IDLE_WAIT
80 select MSM_DIRECT_SCLK_ACCESS
81 select MSM_RPM
82 select MSM_XO
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070083 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070084 select MSM_BUS_SCALING
85 select MSM_SECURE_IO
86 select MSM_DALRPC
87 select MSM_QDSP6_APR
88 select MSM_NATIVE_RESTART
89 select ARCH_INLINE_SPIN_TRYLOCK
90 select ARCH_INLINE_SPIN_TRYLOCK_BH
91 select ARCH_INLINE_SPIN_LOCK
92 select ARCH_INLINE_SPIN_LOCK_BH
93 select ARCH_INLINE_SPIN_LOCK_IRQ
94 select ARCH_INLINE_SPIN_LOCK_IRQSAVE
95 select ARCH_INLINE_SPIN_UNLOCK
96 select ARCH_INLINE_SPIN_UNLOCK_BH
97 select ARCH_INLINE_SPIN_UNLOCK_IRQ
98 select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
99 select ARCH_INLINE_READ_TRYLOCK
100 select ARCH_INLINE_READ_LOCK
101 select ARCH_INLINE_READ_LOCK_BH
102 select ARCH_INLINE_READ_LOCK_IRQ
103 select ARCH_INLINE_READ_LOCK_IRQSAVE
104 select ARCH_INLINE_READ_UNLOCK
105 select ARCH_INLINE_READ_UNLOCK_BH
106 select ARCH_INLINE_READ_UNLOCK_IRQ
107 select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
108 select ARCH_INLINE_WRITE_TRYLOCK
109 select ARCH_INLINE_WRITE_LOCK
110 select ARCH_INLINE_WRITE_LOCK_BH
111 select ARCH_INLINE_WRITE_LOCK_IRQ
112 select ARCH_INLINE_WRITE_LOCK_IRQSAVE
113 select ARCH_INLINE_WRITE_UNLOCK
114 select ARCH_INLINE_WRITE_UNLOCK_BH
115 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
116 select CPU_HAS_L2_PMU
117 select MSM_SPM_V1
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700118
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800119config ARCH_MSM8960
120 bool "MSM8960"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700121 select ARCH_MSM_KRAITMP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800122 select ARM_GIC
123 select CPU_V7
124 select MSM_V2_TLMM
125 select MSM_GPIOMUX
126 select MSM_SCM if SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700127 select MSM_DIRECT_SCLK_ACCESS
128 select REGULATOR
129 select MSM_RPM
130 select MSM_XO
131 select MSM_QDSP6_APR
132 select MSM_PIL
133 select MSM_AUDIO_QDSP6 if SND_SOC
134 select CPU_HAS_L2_PMU
135 select MSM_SPM_V2
136 select MSM_L2_SPM
137 select MSM_NATIVE_RESTART
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700138 select DONT_MAP_HOLE_AFTER_MEMBANK0
139 select MSM_REMOTE_SPINLOCK_SFPB
140 select ARCH_POPULATES_NODE_MAP
141 select ARCH_SPARSEMEM_ENABLE
142 select ARCH_HAS_HOLES_MEMORYMODEL
143 select MEMORY_HOTPLUG
144 select MEMORY_HOTREMOVE
145 select MIGRATION
146 select ARCH_MEMORY_PROBE
147 select ARCH_MEMORY_REMOVE
148 select DONT_RESERVE_FROM_MOVABLE_ZONE
149
150config ARCH_MSM8930
151 bool "MSM8930"
152 select ARCH_MSM_KRAITMP
153 select ARM_GIC
154 select CPU_V7
155 select MSM_V2_TLMM
156 select MSM_GPIOMUX
157 select MSM_SCM if SMP
158 select MSM_DIRECT_SCLK_ACCESS
159 select REGULATOR
160 select MSM_RPM
161 select MSM_XO
162 select MSM_QDSP6_APR
163 select MSM_PIL
164 select MSM_AUDIO_QDSP6 if SND_SOC
165 select CPU_HAS_L2_PMU
166 select MSM_SPM_V2
167 select MSM_L2_SPM
168 select MSM_NATIVE_RESTART
169 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600170 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700171 select ARCH_POPULATES_NODE_MAP
172 select ARCH_SPARSEMEM_ENABLE
173 select ARCH_HAS_HOLES_MEMORYMODEL
174 select MEMORY_HOTPLUG
175 select MEMORY_HOTREMOVE
176 select MIGRATION
177 select ARCH_MEMORY_PROBE
178 select ARCH_MEMORY_REMOVE
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +0200179 select DONT_RESERVE_FROM_MOVABLE_ZONE
180 select MSM_ULTRASOUND
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700181
182config ARCH_APQ8064
183 bool "APQ8064"
184 select ARCH_MSM_KRAITMP
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700185 select MACH_APQ8064_SIM if !MACH_APQ8064_RUMI3
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700186 select MSM_V2_TLMM
187 select ARM_GIC
188 select CPU_V7
189 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700190 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600191 select MSM_REMOTE_SPINLOCK_SFPB
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700192
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700193config ARCH_MSMCOPPER
194 bool "MSM Copper"
195 select ARCH_MSM_KRAITMP
196 select MSM_V2_TLMM
197 select ARM_GIC
198 select CPU_V7
199 select MSM_SCM if SMP
200 select MSM_GPIOMUX
201
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700202config ARCH_FSM9XXX
203 bool "FSM9XXX"
204 select ARCH_MSM_SCORPION
205 select MSM_VIC
206 select CPU_V7
207 select MSM_REMOTE_SPINLOCK_LDREX
208 select FSM9XXX_TLMM
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800209
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700210config ARCH_MSM9615
211 bool "MSM9615"
212 select ARM_GIC
213 select ARCH_MSM_CORTEX_A5
214 select CPU_V7
215 select MSM_V2_TLMM
216 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600217 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600218 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700219 select MSM_NATIVE_RESTART
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700220endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700221
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700222choice
223 prompt "MSM SoC Revision"
224 default MSM_SOC_REV_NONE
225config MSM_SOC_REV_NONE
226 bool "N/A"
227 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
228 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walker4ad15e62010-05-06 13:54:17 -0700229config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700230 bool "Rev. A"
231 select ARCH_MSM7X27A if ARCH_MSM7X27
232endchoice
Daniel Walker4ad15e62010-05-06 13:54:17 -0700233
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700234config MSM_KRAIT_TBB_ABORT_HANDLER
235 bool "Krait TBB/TBH data abort handler"
236 depends on ARCH_MSM_KRAIT
237 depends on ARM_THUMB
238 help
239 Certain early samples of the Krait processor may generate data
240 aborts for TBB / TBH instructions that fail their condition code
241 checks. Enabling this option will ignore these erroneous data aborts,
242 at the expense of a very small performance penalty.
243
244 If unsure, say N.
245
Daniel Walker4ad15e62010-05-06 13:54:17 -0700246config ARCH_MSM_ARM11
247 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700248
Daniel Walker4ad15e62010-05-06 13:54:17 -0700249config ARCH_MSM_SCORPION
Daniel Walkerbf83de42010-03-16 16:29:44 -0700250 bool
251
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700252config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700253 bool
254
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700255config MSM_SMP
256 bool
257
258config ARCH_MSM_SCORPIONMP
259 select ARCH_MSM_SCORPION
260 select MSM_SMP
261 bool
262
263config ARCH_MSM_KRAITMP
264 select ARCH_MSM_KRAIT
265 select MSM_SMP
266 bool
267
268config ARCH_MSM_CORTEX_A5
269 bool
270 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
271
272config ARCH_MSM7X27A
273 bool
274 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700275 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530276 select MULTI_IRQ_HANDLER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700277
Gregory Beanf9f3d312010-04-30 22:06:50 -0700278config MSM_VIC
279 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700280
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700281config MSM_RPM
282 bool "Resource Power Manager"
283 select MSM_MPM
284
285config MSM_MPM
286 bool "Modem Power Manager"
287
288config MSM_XO
289 bool
290
291config MSM_REMOTE_SPINLOCK_DEKKERS
292 bool
293config MSM_REMOTE_SPINLOCK_SWP
294 bool
295config MSM_REMOTE_SPINLOCK_LDREX
296 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600297config MSM_REMOTE_SPINLOCK_SFPB
298 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700299config MSM_ADM3
300 bool
301
302menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700303
304config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700305 depends on ARCH_MSM7X01A
306 depends on MSM_STACKED_MEMORY
307 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700308 bool "Halibut Board (QCT SURF7201A)"
309 help
310 Support for the Qualcomm SURF7201A eval board.
311
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700312config MACH_MSM7201A_SURF
313 depends on ARCH_MSM7X01A
314 depends on MSM_STACKED_MEMORY
315 default y
316 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700317 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700318 Support for the Qualcomm MSM7201A SURF eval board.
319
320config MACH_MSM7201A_FFA
321 depends on ARCH_MSM7X01A
322 depends on MSM_STACKED_MEMORY
323 default y
324 bool "MSM7201A FFA"
325 help
326 Support for the Qualcomm MSM7201A FFA eval board.
327
328config MACH_TROUT
329 depends on ARCH_MSM7X01A
330 depends on MSM_STACKED_MEMORY
331 default y
332 bool "Trout"
333
334config MACH_MSM7X27_SURF
335 depends on ARCH_MSM7X27
336 depends on !MSM_STACKED_MEMORY
337 default y
338 bool "MSM7x27 SURF"
339 help
340 Support for the Qualcomm MSM7x27 SURF eval board.
341
342config MACH_MSM7X27_FFA
343 depends on ARCH_MSM7X27
344 depends on !MSM_STACKED_MEMORY
345 default y
346 bool "MSM7x27 FFA"
347 help
348 Support for the Qualcomm MSM7x27 FFA eval board.
349
350config MACH_MSM7X27A_RUMI3
351 depends on ARCH_MSM7X27A
352 depends on !MSM_STACKED_MEMORY
353 default y
354 bool "MSM7x27A RUMI3"
355 help
356 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
357
358config MACH_MSM7X27A_SURF
359 depends on ARCH_MSM7X27A
360 depends on !MSM_STACKED_MEMORY
361 default y
362 bool "MSM7x27A SURF"
363 help
364 Support for the Qualcomm MSM7x27A SURF.
365
366config MACH_MSM7X27A_FFA
367 depends on ARCH_MSM7X27A
368 depends on !MSM_STACKED_MEMORY
369 default y
370 bool "MSM7x27A FFA"
371 help
372 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700373
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530374config MACH_MSM7625A_SURF
375 depends on ARCH_MSM7X27A
376 depends on !MSM_STACKED_MEMORY
377 default y
378 bool "MSM7625A SURF"
379 help
380 Support for the Qualcomm MSM7625A SURF.
381
382config MACH_MSM7625A_FFA
383 depends on ARCH_MSM7X27A
384 depends on !MSM_STACKED_MEMORY
385 default y
386 bool "MSM7625A FFA"
387 help
388 Support for the Qualcomm MSM7625A FFA.
389
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530390config MACH_MSM7627A_QRD1
391 depends on ARCH_MSM7X27A
392 depends on !MSM_STACKED_MEMORY
393 default y
394 bool "MSM7627A QRD1"
395 help
396 Support for the Qualcomm MSM7627A Refrence Design.
397
Daniel Walker7b521612010-05-06 12:44:57 -0700398config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700399 depends on ARCH_MSM7X30
400 depends on !MSM_STACKED_MEMORY
401 default y
402 bool "MSM7x30 SURF"
403 help
404 Support for the Qualcomm MSM7x30 SURF eval board.
405
406config MACH_MSM7X30_FFA
407 depends on ARCH_MSM7X30
408 depends on !MSM_STACKED_MEMORY
409 default y
410 bool "MSM7x30 FFA"
411 help
412 Support for the Qualcomm MSM7x30 FFA eval board.
413
414config MACH_MSM7X30_FLUID
415 depends on ARCH_MSM7X30
416 depends on !MSM_STACKED_MEMORY
417 default y
418 bool "MSM7x30 FLUID"
419 help
420 Support for the Qualcomm MSM7x30 FLUID eval board.
421
422config MACH_SAPPHIRE
423 depends on ARCH_MSM7X01A
424 default n
425 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700426
Daniel Walker4ad15e62010-05-06 13:54:17 -0700427config MACH_QSD8X50_SURF
428 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700429 depends on MSM_SOC_REV_NONE
430 depends on MSM_STACKED_MEMORY
431 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700432 bool "QSD8x50 SURF"
433 help
434 Support for the Qualcomm QSD8x50 SURF eval board.
435
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700436config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700437 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700438 depends on MSM_SOC_REV_NONE
439 depends on MSM_STACKED_MEMORY
440 default y
441 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700442 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700443 Support for the Qualcomm QSD8x50 FFA eval board.
444
445config MACH_MSM7X25_SURF
446 depends on ARCH_MSM7X25
447 depends on !MSM_STACKED_MEMORY
448 default y
449 bool "MSM7x25 SURF"
450 help
451 Support for the Qualcomm MSM7x25 SURF eval board.
452
453config MACH_MSM7X25_FFA
454 depends on ARCH_MSM7X25
455 depends on !MSM_STACKED_MEMORY
456 default y
457 bool "MSM7x25 FFA"
458 help
459 Support for the Qualcomm MSM7x25 FFA eval board.
460
461config MACH_MSM8X55_SURF
462 depends on ARCH_MSM7X30
463 depends on !MSM_STACKED_MEMORY
464 default y
465 bool "MSM8X55 SURF"
466 help
467 Support for the Qualcomm MSM8x55 SURF eval board.
468
469config MACH_MSM8X55_FFA
470 depends on ARCH_MSM7X30
471 depends on !MSM_STACKED_MEMORY
472 default y
473 bool "MSM8X55 FFA"
474 help
475 Support for the Qualcomm MSM8x55 FFA eval board.
476
477config MACH_MSM8X55_SVLTE_FFA
478 depends on ARCH_MSM7X30
479 depends on !MSM_STACKED_MEMORY
480 default y
481 bool "MSM8X55 SVLTE FFA"
482 help
483 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
484
485config MACH_MSM8X55_SVLTE_SURF
486 depends on ARCH_MSM7X30
487 depends on !MSM_STACKED_MEMORY
488 default y
489 bool "MSM8X55 SVLTE SURF"
490 help
491 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700492
Steve Mucklea55df6e2010-01-07 12:43:24 -0800493config MACH_MSM8X60_RUMI3
494 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700495 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800496 bool "MSM8x60 RUMI3"
497 help
498 Support for the Qualcomm MSM8x60 RUMI3 emulator.
499
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800500config MACH_MSM8X60_SIM
501 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700502 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800503 bool "MSM8x60 Simulator"
504 help
505 Support for the Qualcomm MSM8x60 simulator.
506
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700507config MACH_MSM8X60_SURF
508 depends on ARCH_MSM8X60
509 default n
510 bool "MSM8x60 SURF"
511 help
512 Support for the Qualcomm MSM8x60 SURF eval board.
513
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700514config MACH_MSM8X60_FFA
515 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700516 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700517 bool "MSM8x60 FFA"
518 help
519 Support for the Qualcomm MSM8x60 FFA eval board.
520
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700521config MACH_MSM8X60_FLUID
522 depends on ARCH_MSM8X60
523 default n
524 bool "MSM8x60 FLUID"
525 help
526 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
527 8x60 target which has a form factor that is much closer to that
528 of a phone than other targets. It also has a new display and
529 touchscreen controller.
530
531config MACH_MSM8X60_FUSION
532 depends on ARCH_MSM8X60
533 default n
534 bool "MSM8x60 FUSION"
535 help
536 Support for the Qualcomm MSM8x60 Fusion SURF device.
537
538config MACH_MSM8X60_FUSN_FFA
539 depends on ARCH_MSM8X60
540 default n
541 bool "MSM8x60 FUSN FFA"
542 help
543 Support for the Qualcomm MSM8x60 Fusion FFA device.
544
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400545config MACH_MSM8X60_DRAGON
546 depends on ARCH_MSM8X60
547 default n
548 bool "MSM8x60 DRAGON"
549 help
550 Support for the Qualcomm MSM8x60 Dragon board.
551
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800552config MACH_MSM8960_SIM
553 depends on ARCH_MSM8960
554 bool "MSM8960 Simulator"
555 help
556 Support for the Qualcomm MSM8960 simulator.
557
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800558config MACH_MSM8960_RUMI3
559 depends on ARCH_MSM8960
560 bool "MSM8960 RUMI3"
561 help
562 Support for the Qualcomm MSM8960 RUMI3 emulator.
563
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700564config MACH_MSM8960_CDP
565 depends on ARCH_MSM8960
566 bool "MSM8960 CDP"
567 help
568 Support for the Qualcomm MSM8960 CDP device.
569
570config MACH_MSM8960_MTP
571 depends on ARCH_MSM8960
572 bool "MSM8960 MTP"
573 help
574 Support for the Qualcomm MSM8960 MTP device.
575
576config MACH_MSM8960_FLUID
577 depends on ARCH_MSM8960
578 bool "MSM8960 FLUID"
579 help
580 Support for the Qualcomm MSM8960 FLUID device.
581
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300582config MACH_MSM8960_LIQUID
583 depends on ARCH_MSM8960
584 bool "MSM8960 LIQUID"
585 help
586 Support for the Qualcomm MSM8960 LIQUID device.
587
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700588config MACH_MSM8930_CDP
589 depends on ARCH_MSM8930
590 bool "MSM8930 CDP"
591 help
592 Support for the Qualcomm MSM8930 CDP device.
593
594config MACH_MSM8930_MTP
595 depends on ARCH_MSM8930
596 bool "MSM8930 MTP"
597 help
598 Support for the Qualcomm MSM8930 MTP device.
599
600config MACH_MSM8930_FLUID
601 depends on ARCH_MSM8930
602 bool "MSM8930 FLUID"
603 help
604 Support for the Qualcomm MSM8930 FLUID device.
605
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700606config MACH_MSM9615_CDP
607 depends on ARCH_MSM9615
608 bool "MSM9615 CDP"
609 help
610 Support for the Qualcomm MSM9615 CDP device.
611
612config MACH_MSM9615_MTP
613 depends on ARCH_MSM9615
614 bool "MSM9615 MTP"
615 help
616 Support for the Qualcomm MSM9615 MTP device.
617
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700618config MSM_USE_TSIF1
619 depends on ARCH_MSM8X60
620 bool "MSM8x60 use TSIF1"
621 help
622 Selects TSIF1 core to be used rather than TSIF0.
623 The two TSIF cores share the same DM configuration
624 so they cannot be used simultaneously.
625
626config MACH_APQ8064_SIM
627 depends on ARCH_APQ8064
628 bool "APQ8064 Simulator"
629 help
630 Support for the Qualcomm APQ8064 simulator.
631
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700632config MACH_APQ8064_RUMI3
633 depends on ARCH_APQ8064
634 bool "APQ8064 RUMI3"
635 help
636 Support for the Qualcomm APQ8064 RUMI3 emulator.
637
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700638config MACH_FSM9XXX_SURF
639 depends on ARCH_FSM9XXX
640 depends on !MSM_STACKED_MEMORY
641 default y
642 bool "FSM9XXX SURF"
643 help
644 Support for the Qualcomm FSM9xxx femtocell
645 chipset based SURF evaluation board and
646 FFA board.
647
Daniel Walker4ad15e62010-05-06 13:54:17 -0700648endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800649
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700650config MSM_STACKED_MEMORY
651 bool "Stacked Memory"
652 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800653 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700654 This option is used to indicate the presence of on-die stacked
655 memory. When present this memory bank is used for a high speed
656 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800657
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700658config PHYS_OFFSET
659 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700660 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700661 default "0x80200000" if ARCH_APQ8064
662 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700663 default "0x80200000" if ARCH_MSM8930
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700664 default "0x80200000" if ARCH_MSMCOPPER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700665 default "0x10000000" if ARCH_FSM9XXX
666 default "0x00200000" if !MSM_STACKED_MEMORY
667 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
668 default "0x20000000" if ARCH_QSD8X50
669 default "0x40200000" if ARCH_MSM8X60
670 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800671
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700672config KERNEL_PMEM_EBI_REGION
673 bool "Enable in-kernel PMEM region for EBI"
674 default y if ARCH_MSM8X60
675 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960)
676 help
677 Enable the in-kernel PMEM allocator to use EBI memory.
678
679config KERNEL_PMEM_SMI_REGION
680 bool "Enable in-kernel PMEM region for SMI"
681 default y if ARCH_MSM8X60
682 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
683 help
684 Enable the in-kernel PMEM allocator to use SMI memory.
685
686config PMEM_GPU0
687 bool "Enable PMEM GPU0 region"
688 default y
689 depends on ARCH_QSD8X50 && ANDROID_PMEM
690 help
691 Enable the PMEM GPU0 device on SMI Memory.
692
693config MSM_AMSS_VERSION
694 int
695 default 6210 if MSM_AMSS_VERSION_6210
696 default 6220 if MSM_AMSS_VERSION_6220
697 default 6225 if MSM_AMSS_VERSION_6225
698
699choice
700 prompt "AMSS modem firmware version"
701
702 default MSM_AMSS_VERSION_6225
703
704 config MSM_AMSS_VERSION_6210
705 bool "6.2.10"
706
707 config MSM_AMSS_VERSION_6220
708 bool "6.2.20"
709
710 config MSM_AMSS_VERSION_6225
711 bool "6.2.20 + New ADSP"
712endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800713
Pavel Machek6339f662009-11-02 11:48:29 +0100714config MSM_DEBUG_UART
715 int
716 default 1 if MSM_DEBUG_UART1
717 default 2 if MSM_DEBUG_UART2
718 default 3 if MSM_DEBUG_UART3
719
720choice
721 prompt "Debug UART"
722
723 default MSM_DEBUG_UART_NONE
724
725 config MSM_DEBUG_UART_NONE
726 bool "None"
727
728 config MSM_DEBUG_UART1
729 bool "UART1"
730
731 config MSM_DEBUG_UART2
732 bool "UART2"
733
734 config MSM_DEBUG_UART3
735 bool "UART3"
736endchoice
737
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700738choice
739 prompt "Default Timer"
740 default MSM7X00A_USE_GP_TIMER
741
742 config MSM7X00A_USE_GP_TIMER
743 bool "GP Timer"
744 help
745 Low resolution timer that allows power collapse from idle.
746
747 config MSM7X00A_USE_DG_TIMER
748 bool "DG Timer"
749 help
750 High resolution timer.
751endchoice
752
753choice
754 prompt "Suspend sleep mode"
755 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
756 help
757 Allows overriding the sleep mode used. Leave at power
758 collapse suspend unless the arm9 image has problems.
759
760 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
761 bool "Power collapse suspend"
762 help
763 Lowest sleep state. Returns through reset vector.
764
765 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
766 bool "Power collapse"
767 help
768 Sleep state that returns through reset vector.
769
770 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
771 bool "Apps Sleep"
772
773 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
774 bool "Ramp down cpu clock and wait for interrupt"
775
776 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
777 bool "Wait for interrupt"
778endchoice
779
780config MSM7X00A_SLEEP_MODE
781 int
782 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
783 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
784 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
785 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
786 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
787
788choice
789 prompt "Idle sleep mode"
790 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
791 help
792 Allows overriding the sleep mode used from idle. Leave at power
793 collapse suspend unless the arm9 image has problems.
794
795 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
796 bool "Power collapse suspend"
797 help
798 Lowest sleep state. Returns through reset vector.
799
800 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
801 bool "Power collapse"
802 help
803 Sleep state that returns through reset vector.
804
805 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
806 bool "Apps Sleep"
807
808 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
809 bool "Ramp down cpu clock and wait for interrupt"
810
811 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
812 bool "Wait for interrupt"
813endchoice
814
815config MSM7X00A_IDLE_SLEEP_MODE
816 int
817 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
818 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
819 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
820 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
821 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
822
823config MSM7X00A_IDLE_SLEEP_MIN_TIME
824 int "Minimum idle time before sleep"
825 default 20000000
826 help
827 Minimum idle time in nanoseconds before entering low power mode.
828
829config MSM7X00A_IDLE_SPIN_TIME
830 int "Idle spin time before cpu ramp down"
831 default 80000
832 help
833 Spin time in nanoseconds before ramping down cpu clock and entering
834 any low power state.
835
836menuconfig MSM_IDLE_STATS
837 bool "Collect idle statistics"
838 default y
839 help
840 Collect idle statistics and export them in proc/msm_pm_stats.
841
842if MSM_IDLE_STATS
843
844config MSM_IDLE_STATS_FIRST_BUCKET
845 int "First bucket time"
846 default 62500
847 help
848 Upper time limit in nanoseconds of first bucket.
849
850config MSM_IDLE_STATS_BUCKET_SHIFT
851 int "Bucket shift"
852 default 2
853
854config MSM_IDLE_STATS_BUCKET_COUNT
855 int "Bucket count"
856 default 10
857
858config MSM_SUSPEND_STATS_FIRST_BUCKET
859 int "First bucket time for suspend"
860 default 1000000000
861 help
862 Upper time limit in nanoseconds of first bucket of the
863 histogram. This is for collecting statistics on suspend.
864
865endif # MSM_IDLE_STATS
866
867config CPU_HAS_L2_PMU
868 bool "L2CC PMU Support"
869 help
870 Select this if the L2 cache controller has a Performance Monitoring Unit.
871
872config MSM_JTAG_V7
873 depends on CPU_V7
874 default y if DEBUG_KERNEL
875 bool "JTAG debug support"
876 help
877 Add additional support for JTAG kernel debugging.
878
879config HTC_HEADSET
880 tristate "HTC 2 Wire detection driver"
881 default n
882 help
883 Provides support for detecting HTC 2 wire devices, such as wired
884 headset, on the trout platform. Can be used with the msm serial
885 debugger, but not with serial console.
886
887config TROUT_BATTCHG
888 depends on MACH_TROUT && POWER_SUPPLY
889 default y
890 bool "Trout battery / charger driver"
891
892config HTC_PWRSINK
893 depends on MSM_SMD
894 default n
895 bool "HTC Power Sink Driver"
896
897config QSD_SVS
898 bool "QSD Static Voltage Scaling"
899 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
900 default y
901 select TPS65023
902 help
903 Enables static voltage scaling using the TPS65023 PMIC.
904
905config QSD_PMIC_DEFAULT_DCDC1
906 int "PMIC default output voltage"
907 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
908 default 1250
909 help
910 This is the PMIC voltage at Linux kernel boot.
911
912config MSM_FIQ_SUPPORT
913 default y
914 bool "Enable installation of an FIQ handler."
915
916config MSM_SERIAL_DEBUGGER
917 select MSM_FIQ_SUPPORT
918 select KERNEL_DEBUGGER_CORE
919 default n
920 bool "FIQ Mode Serial Debugger"
921 help
922 The FIQ serial debugger can accept commands even when the
923 kernel is unresponsive due to being stuck with interrupts
924 disabled. Depends on the kernel debugger core in drivers/misc.
925
926config MSM_SERIAL_DEBUGGER_CONSOLE
927 depends on MSM_SERIAL_DEBUGGER
928 default n
929 bool "Console on FIQ Serial Debugger port"
930 help
931 Enables a console so that printk messages are displayed on
932 the debugger serial port as the occur.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700933
Steve Mucklec8aabae2010-04-21 16:20:27 -0700934config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700935 default y
936 bool "Proc-Comm RPC Interface"
937 help
938 Enables a lightweight communications interface to the
939 baseband processor.
Steve Mucklec8aabae2010-04-21 16:20:27 -0700940
Brian Swetland2eb44eb2008-09-29 16:00:48 -0700941config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700942 bool "MSM Shared Memory Driver (SMD)"
943 help
944 Support for the shared memory interface between the apps
945 processor and the baseband processor. Provides access to
946 the "shared heap", as well as virtual serial channels
947 used to communicate with various services on the baseband
948 processor.
949
950choice
951 prompt "MSM Shared memory interface version"
952 depends on MSM_SMD
953 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
954 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
955
956 config MSM_SMD_PKG3
957 bool
958 prompt "Package 3"
959
960 config MSM_SMD_PKG4
961 bool
962 prompt "Package 4"
963endchoice
964
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700965config MSM_RPC_SDIO_XPRT
966 depends on MSM_SDIO_AL
967 default y
968 bool "MSM SDIO XPRT Layer"
969 help
970 SDIO Transport Layer for RPC Rouer
971
972config MSM_RPC_SDIO_DEBUG
973 depends on MSM_RPC_SDIO_XPRT
974 default y
975 bool "MSM SDIO XPRT debug support"
976 help
977 Support for debugging SDIO XPRT
978
979config MSM_SMD_DEBUG
980 depends on MSM_SMD
981 default y
982 bool "MSM SMD debug support"
983 help
984 Support for debugging the SMD for communication
985 between the ARM9 and ARM11
986
987config MSM_SDIO_AL
988 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
989 default y
990 tristate "SDIO-Abstraction-Layer"
991 help
992 Support MSM<->MDM Communication over SDIO bus.
993 MDM SDIO-Client should have pipes support.
994
995config MSM_SDIO_DMUX
996 bool "SDIO Data Mux Driver"
997 depends on MSM_SDIO_AL
998 default n
999 help
1000 Support Muxed Data Channels over SDIO interface.
1001
1002config MSM_BAM_DMUX
1003 bool "BAM Data Mux Driver"
1004 depends on SPS
1005 default n
1006 help
1007 Support Muxed Data Channels over BAM interface.
1008 BAM has a limited number of pipes. This driver
1009 provides a means to support more logical channels
1010 via muxing than BAM could without muxing.
1011
1012config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001013 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001014 default y
1015 bool "MSM N-WAY SMD support"
1016 help
1017 Supports APPS-QDSP SMD communication along with
1018 normal APPS-MODEM SMD communication.
1019
1020config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001021 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001022 default y
1023 bool "MSM N-WAY SMSM support"
1024 help
1025 Supports APPS-QDSP SMSM communication along with
1026 normal APPS-MODEM SMSM communication.
1027
1028config MSM_RESET_MODEM
1029 tristate "Reset Modem Driver"
1030 depends on MSM_SMD
1031 default m
1032 help
1033 Allows the user to reset the modem through a device node.
1034
1035config MSM_SMD_LOGGING
1036 depends on MSM_SMD
1037 default y
1038 bool "MSM Shared Memory Logger"
1039 help
1040 This option exposes the shared memory logger at /dev/smem_log
1041 and a debugfs node named smem_log.
1042
1043 If in doubt, say yes.
1044
1045config MSM_SMD_NMEA
1046 bool "NMEA GPS Driver"
1047 depends on MSM_SMD
1048 default y
1049 help
1050 Enable this to support the NMEA GPS device.
1051
1052 If in doubt, say yes.
1053
1054config MSM_SDIO_TTY
1055 bool "SDIO TTY Driver"
1056 depends on MSM_SDIO_AL
1057 default n
1058 help
1059 Provides a TTY driver SDIO TTY
1060 This driver can be used by user space
1061 applications for passing data through the
1062 SDIO interface.
1063
1064config MSM_SMD_TTY
1065 bool "SMD TTY Driver"
1066 depends on MSM_SMD
1067 default y
1068 help
1069 Provides TTY interfaces to interact with the modem.
1070
1071 If in doubt, say yes.
1072
1073config MSM_SMD_QMI
1074 bool "SMD QMI Driver"
1075 depends on MSM_SMD
1076 default y
1077 help
1078 Manages network data connections.
1079
1080 If in doubt, say yes.
1081
1082config MSM_SMD_PKT
1083 bool "SMD Packet Driver"
1084 depends on MSM_SMD
1085 default y
1086 help
1087 Provides a binary SMD non-muxed packet port interface.
1088
1089 If in doubt, say yes.
1090
1091config MSM_SDIO_CMUX
1092 bool "SDIO CMUX Driver"
1093 depends on MSM_SDIO_AL
1094 default n
1095 help
1096 Provides a Muxed port interface over SDIO QMI
1097
1098config MSM_DSPS
1099 bool "Sensors DSPS driver"
1100 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1101 default n
1102 help
1103 Provides user-space interface to the sensors manager
1104 to turn on/off the Sensors Processor system clocks.
1105 It is the DSPS responsibility to turn on/off the sensors
1106 themself.
1107 The number of clocks and their name may vary between targets.
1108 It also triggers the PIL to load the DSPS firmware.
1109
1110config MSM_SDIO_CTL
1111 bool "SDIO CTL Driver"
1112 depends on MSM_SDIO_CMUX
1113 default n
1114 help
1115 Provides a binary SDIO control port interface.
1116
1117config MSM_ONCRPCROUTER
1118 depends on MSM_SMD
1119 default n
1120 bool "MSM ONCRPC router support"
1121 help
1122 Support for the MSM ONCRPC router for communication between
1123 the ARM9 and ARM11
1124
1125config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001126 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001127 default n
1128 bool "MSM IPC Router support"
1129 help
1130 Support for the MSM IPC Router for communication between
1131 the APPs and the MODEM
1132
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001133config MSM_IPC_ROUTER_SMD_XPRT
1134 depends on MSM_SMD
1135 depends on MSM_IPC_ROUTER
1136 default n
1137 bool "MSM SMD XPRT Layer"
1138 help
1139 SMD Transport Layer for IPC Router
1140
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001141config MSM_ONCRPCROUTER_DEBUG
1142 depends on MSM_ONCRPCROUTER
1143 default y
1144 bool "MSM debug ONCRPC router support"
1145 help
1146 Support for debugging the ONCRPC router for communication
1147 between the ARM9 and ARM11
1148
1149config MSM_RPC_LOOPBACK_XPRT
1150 depends on MSM_ONCRPCROUTER
1151 default n
1152 bool "MSM RPC local routing support"
1153 help
1154 Support for routing RPC messages between APPS clients
1155 and APPS servers. Helps in testing APPS RPC framework.
1156
1157config MSM_RPCSERVER_TIME_REMOTE
1158 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1159 default y
1160 bool "Time remote RPC server"
1161 help
1162 The time remote server receives notification of time bases and
1163 reports these events to registered callback functions.
1164
1165config MSM_RPCSERVER_WATCHDOG
1166 depends on MSM_ONCRPCROUTER
1167 default y
1168 bool "Watchdog RPC server"
1169 help
1170 The dog_keepalive server handles watchdog events.
1171
1172config MSM_RPC_WATCHDOG
1173 depends on MSM_ONCRPCROUTER
1174 default n
1175 bool "Watchdog RPC client"
1176 help
1177 The dog_keepalive client module.
1178
1179config MSM_RPC_PING
1180 depends on MSM_ONCRPCROUTER && DEBUG_FS
1181 default m
1182 bool "MSM rpc ping"
1183 help
1184 Implements MSM rpc ping test module.
1185
1186config MSM_RPC_PROC_COMM_TEST
1187 depends on DEBUG_FS && MSM_PROC_COMM
1188 default m
1189 bool "MSM rpc proc comm test"
1190 help
1191 Implements MSM rpc proc comm test module.
1192
1193config MSM_RPC_OEM_RAPI
1194 depends on MSM_ONCRPCROUTER
1195 default m
1196 bool "MSM oem rapi"
1197 help
1198 Implements MSM oem rapi client module.
1199
1200config MSM_RPCSERVER_HANDSET
1201 depends on MSM_ONCRPCROUTER
1202 default y
1203 bool "Handset events RPC server"
1204 help
1205 Support for receiving handset events like headset detect,
1206 headset switch and clamshell state.
1207
1208config MSM_RMT_STORAGE_CLIENT
1209 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1210 default n
1211 bool "Remote Storage RPC client"
1212 help
1213 Provide RPC mechanism for remote processors to access storage
1214 device on apps processor.
1215
1216config MSM_RMT_STORAGE_CLIENT_STATS
1217 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1218 default n
1219 bool "Remote storage RPC client performance statistics"
1220 help
1221 Collects performance statistics and shows this information
1222 through a debugfs file rmt_storage_stats.
1223
1224config MSM_SDIO_SMEM
1225 depends on MSM_SDIO_AL
1226 default n
1227 bool "SDIO SMEM for remote storage"
1228 help
1229 Copies data from remote MDM9K memory to local MSM8x60
1230 memory. Used by remote storage client to shadow
1231 MDM9K filesystem.
1232
1233config MSM_DALRPC
1234 bool "DAL RPC support"
1235 depends on ARCH_MSM_SCORPION || ARCH_MSM_KRAIT
1236 default y
1237 help
1238 Supports RPC calls to DAL devices on remote processor cores.
1239
1240config MSM_DALRPC_TEST
1241 tristate "DAL RPC test module"
1242 depends on (MSM_DALRPC && DEBUG_FS)
1243 default m
1244 help
1245 Exercises DAL RPC calls to QDSP6.
1246
1247if CPU_FREQ_MSM
1248
1249config MSM_CPU_FREQ_SET_MIN_MAX
1250 bool "Set Min/Max CPU frequencies."
1251 default n
1252 help
1253 Allow setting min and max CPU frequencies. Sysfs can be used
1254 to override these values.
1255
1256config MSM_CPU_FREQ_MAX
1257 int "Max CPU Frequency"
1258 depends on MSM_CPU_FREQ_SET_MIN_MAX
1259 default 384000
1260
1261config MSM_CPU_FREQ_MIN
1262 int "Min CPU Frequency"
1263 depends on MSM_CPU_FREQ_SET_MIN_MAX
1264 default 245760
1265
1266endif # CPU_FREQ_MSM
1267
1268config MSM_CPU_AVS
1269 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1270 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1271 depends on ARCH_QSD8X50
1272 default n
1273 select MSM_AVS_HW
1274 help
1275 This enables the s/w control of Adaptive Voltage Scaling feature
1276 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1277 based on feedback from three ring oscillators in the CPU.
1278
1279config MSM_AVS_HW
1280 bool "Enable Adaptive Voltage Scaling (AVS)"
1281 default n
1282 help
1283 Enable AVS hardware to fine tune voltage at each frequency. The
1284 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1285 fine tune the voltages based on the feedback from the ring
1286 oscillators.
1287
1288config MSM_HW3D
1289 tristate "MSM Hardware 3D Register Driver"
1290 depends on ANDROID_PMEM
1291 default y
1292 help
1293 Provides access to registers needed by the userspace OpenGL|ES
1294 library.
1295
1296config MSM_ADSP
1297 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1298 tristate "MSM ADSP driver"
1299 depends on ANDROID_PMEM
1300 default y
1301 help
1302 Provides access to registers needed by the userspace aDSP library.
1303
1304config ADSP_RPC_VER
1305 hex
1306 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1307 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1308 depends on MSM_ADSP
1309 help
1310 Select proper ADSP RPC version
1311choice
1312 prompt "ADSP RPC version"
1313
1314 default AMSS_7X25_VERSION_2009
1315
1316 config AMSS_7X25_VERSION_2009
1317 bool "2.0.09"
1318
1319 config AMSS_7X25_VERSION_2008
1320 bool "2.0.08"
1321endchoice
1322
1323config MSM7KV2_AUDIO
1324 bool "MSM7K v2 audio"
1325 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1326 default y
1327 help
1328 Enables QDSP5V2-based audio drivers for audio playbacks and
1329 voice call.
1330
1331config MSM_ADSP_REPORT_EVENTS
1332 bool "Report modem events from the DSP"
1333 default y
1334 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1335 help
1336 Normally, only messages from the aDSP are reported to userspace.
1337 With this option, we report events from the aDSP as well.
1338
1339config MSM_QDSP6
1340 tristate "QDSP6 support"
1341 depends on ARCH_QSD8X50 && ANDROID_PMEM
1342 default y
1343 help
1344 Enable support for qdsp6. This provides audio and video functionality.
1345
1346config MSM8X60_AUDIO
1347 tristate "MSM8X60 audio support"
1348 depends on ARCH_MSM8X60 && ANDROID_PMEM
1349 default y
1350 help
1351 Enable support for qdsp6v2. This provides audio functionality.
1352
1353config MSM8X60_FTM_AUDIO_DEVICES
1354 bool "MSM8X60 audio factory test mode support"
1355 depends on MSM8X60_AUDIO
1356 help
1357 Enable support audio factory test mode devices. This is used
1358 in a production line environment.
1359
Ben Romberger45b351c2011-07-20 22:37:27 -07001360config RTAC
1361 bool "MSM8K real-time audio calibration support"
1362 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001363 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001364 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001365 audio operation
1366
1367config MSM7X27A_AUDIO
1368 bool "MSM7X27A audio support"
1369 depends on ARCH_MSM7X27A && MSM_ADSP
1370 default n
1371 help
1372 Enable support for 7x27a. This provides audio functionality.
1373
Justin Pauporea6cd2092011-06-22 16:19:45 -07001374config MSM_PROC_COMM_REGULATOR
1375 bool
1376 depends on MSM_PROC_COMM && REGULATOR
1377 help
1378 Enable regulator framework support for regulators managed by PMLIB
1379 on the modem, and controlled through proccomm calls.
1380
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001381config MSM_VREG_SWITCH_INVERTED
1382 bool "Reverse vreg switch polarity"
1383 default n
1384 help
1385 Reverses the enable and disable for vreg switch.
1386
1387config MSM_DMA_TEST
1388 tristate "MSM DMA test module"
1389 default m
1390 help
1391 Intended to be compiled as a module. Provides a device node
1392 and ioctls for testing the MSM dma system.
1393
1394config WIFI_CONTROL_FUNC
1395 bool "Enable WiFi control function abstraction"
1396 help
1397 Enables Power/Reset/Carddetect function abstraction
1398
1399config WIFI_MEM_PREALLOC
1400 depends on WIFI_CONTROL_FUNC
1401 bool "Preallocate memory for WiFi buffers"
1402 help
1403 Preallocates memory buffers for WiFi driver
1404
1405config QSD_AUDIO
1406 bool "QSD audio"
1407 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1408 default y
1409 help
1410 Provides PCM, MP3, and AAC audio playback.
1411
1412config AUDIO_AAC_PLUS
1413 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1414 bool "AAC+ Audio"
1415 default y
1416 help
1417 Provides AAC+ decoding
1418
1419config AUDIO_ENHANCED_AAC_PLUS
1420 depends on AUDIO_AAC_PLUS
1421 bool "Enhanced AAC+ Audio"
1422 default y
1423 help
1424 Provides Enhanced AAC+ decoding
1425
1426config SURF_FFA_GPIO_KEYPAD
1427 bool "MSM SURF/FFA GPIO keypad"
1428 depends on INPUT_GPIO = "y"
1429 default y
1430 help
1431 Select if the GPIO keypad is attached.
1432
1433config MSM_SLEEP_TIME_OVERRIDE
1434 bool "Allow overriding suspend/sleep time with PM module parameter"
1435 default y
1436 help
1437 Enable the module parameter sleep_time_override. Specified
1438 in units of seconds, it overwrites the normal sleep time of
1439 suspend. The feature is required for automated power management
1440 testing.
1441
1442config MSM_MEMORY_LOW_POWER_MODE
1443 bool "Control the low power modes of memory"
1444 default n
1445 help
1446 The application processor controls whether memory should enter
1447 which low power mode.
1448
1449choice
1450 prompt "Default Memory Low Power Mode during Idle"
1451 depends on MSM_MEMORY_LOW_POWER_MODE
1452 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1453 help
1454 Selects the default low power mode of the memory during idle
1455 sleep.
1456
1457 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1458 bool "Memory active"
1459
1460 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1461 bool "Memory in retention"
1462
1463 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1464 bool "Memory in deep power down"
1465endchoice
1466
1467choice
1468 prompt "Default Memory Low Power Mode during Suspend"
1469 depends on MSM_MEMORY_LOW_POWER_MODE
1470 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1471 help
1472 Selects the default low power mode of the memory during suspend
1473 sleep.
1474
1475 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1476 bool "Memory active"
1477
1478 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1479 bool "Memory in retention"
1480
1481 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1482 bool "Memory in deep power down"
1483endchoice
1484
1485choice
1486 prompt "Power management timeout action"
1487 default MSM_PM_TIMEOUT_HALT
1488 help
1489 Selects the Application Processor's action when Power Management
1490 times out waiting for Modem's handshake.
1491
1492 config MSM_PM_TIMEOUT_HALT
1493 bool "Halt the Application Processor"
1494
1495 config MSM_PM_TIMEOUT_RESET_MODEM
1496 bool "Reset the Modem Processor"
1497
1498 config MSM_PM_TIMEOUT_RESET_CHIP
1499 bool "Reset the entire chip"
1500endchoice
1501
1502config MSM_IDLE_WAIT_ON_MODEM
1503 int "Wait for Modem to become ready for idle power collapse"
1504 default 0
1505 help
1506 If Modem is not ready to handle Application Processor's request
1507 for idle power collapse, wait the number of microseconds in case
1508 Modem becomes ready soon.
1509
1510config MSM_PIL
1511 bool "Peripheral image loading"
1512 select FW_LOADER
1513 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1514 default n
1515 help
1516 Some peripherals need to be loaded into memory before they can be
1517 brought out of reset.
1518
1519 Say yes to support these devices.
1520
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001521config MSM_SCM
1522 bool "Secure Channel Manager (SCM) support"
1523 default n
1524
1525config MSM_SUBSYSTEM_RESTART
1526 bool "MSM Subsystem Restart Driver"
1527 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1528 default n
1529 help
1530 This option enables the MSM subsystem restart driver, which provides
1531 a framework to handle subsystem crashes.
1532
Matt Wagantallf8020902011-08-30 21:19:23 -07001533config MSM_SYSMON_COMM
1534 bool "MSM System Monitor communication support"
1535 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1536 default y
1537 help
1538 This option adds support for MSM System Monitor library, which
1539 provides an API that may be used for notifying subsystems within
1540 the SoC about other subsystems' power-up/down state-changes.
1541
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001542config MSM_MODEM_8960
1543 bool "MSM 8960 Modem driver"
1544 depends on (ARCH_MSM8960)
1545 help
1546 This option enables the modem driver for the MSM8960, which monitors
1547 modem hardware watchdog interrupt lines and plugs into the subsystem
1548 restart and PIL drivers.
1549
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001550config MSM_LPASS_8960
1551 tristate "MSM 8960 Lpass driver"
1552 depends on (ARCH_MSM8960)
1553 help
1554 This option enables the lpass driver for the MSM8960, which monitors
1555 lpass hardware watchdog interrupt lines and plugs into the subsystem
1556 restart and PIL drivers.
1557
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001558config MSM_WCNSS_SSR_8960
1559 tristate "MSM 8960 WCNSS restart module"
1560 depends on (ARCH_MSM8960)
1561 help
1562 This option enables the WCNSS restart module for MSM8960, which
1563 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1564 into the subsystem restart framework.
1565
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001566config SCORPION_Uni_45nm_BUG
1567 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1568 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1569 default y
1570 help
1571 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1572 invalidating the Branch Predictor Array by Modified Virtual Address can
1573 create invalid entries in the TLB with the wrong ASID values on Scorpion
1574 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1575 workaround for Scorpion Uniprocessor 45nm cores.
1576
1577 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1578
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001579config MSM_BUSPM_DEV
1580 tristate "MSM Bus Performance Monitor Kernel Module"
1581 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1582 default m
1583 help
1584 This kernel module is used to mmap() hardware registers for the
1585 performance monitors, counters, etc. The module can also be used to
1586 allocate physical memory which is used by bus performance hardware to
1587 dump performance data.
1588
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001589config MSM_RPM_LOG
1590 tristate "MSM Resource Power Manager Log Driver"
1591 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001592 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001593 default n
1594 help
1595 This option enables a driver which can read from a circular buffer
1596 of messages produced by the RPM. These messages provide diagnostic
1597 information about RPM operation. The driver outputs the messages
1598 via a debugfs node.
1599
1600config MSM_RPM_STATS_LOG
1601 tristate "MSM Resource Power Manager Stat Driver"
1602 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001603 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001604 default n
1605 help
1606 This option enables a driver which reads RPM messages from a shared
1607 memory location. These messages provide statistical information about
1608 the low power modes that RPM enters. The drivers outputs the message
1609 via a debugfs node.
1610
1611config MSM_IOMMU
1612 bool "MSM IOMMU Support"
Joel King41d594e2011-10-14 13:18:20 -07001613 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_APQ8064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001614 select IOMMU_API
1615 default n
1616 help
1617 Support for the IOMMUs found on certain Qualcomm SOCs.
1618 These IOMMUs allow virtualization of the address space used by most
1619 cores within the multimedia subsystem.
1620
1621 If unsure, say N here.
1622
1623config IOMMU_PGTABLES_L2
1624 bool "Allow SMMU page tables in the L2 cache (Experimental)"
1625 depends on MSM_IOMMU=y
1626 depends on MMU
1627 depends on CPU_DCACHE_DISABLE=n
1628 depends on SMP
1629 default y
1630 help
1631 Improves TLB miss latency at the expense of potential L2 pollution.
1632 However, with large multimedia buffers, the TLB should mostly contain
1633 section mappings and TLB misses should be quite infrequent.
1634 Most people can probably say Y here.
1635
1636config MSM_DIRECT_SCLK_ACCESS
1637 bool "Direct access to the SCLK timer"
1638 default n
1639
1640config IOMMU_API
1641 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001642
Gregory Beanab78cde2010-09-01 16:26:12 -07001643config MSM_GPIOMUX
1644 bool
1645
Gregory Bean1963a2a2010-08-28 10:05:44 -07001646config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001647 bool
1648
1649config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07001650 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001651
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001652config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001653 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001654
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001655config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001656 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001657
1658config MSM_BUS_SCALING
1659 bool "Bus scaling driver"
1660 default n
1661
Gagan Mac85c70492011-06-10 16:07:47 -06001662config MSM_BUS_RPM_MULTI_TIER_ENABLED
1663 bool "RPM Multi-tiering Configuration"
1664 depends on MSM_BUS_SCALING
1665
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001666config MSM_WATCHDOG
1667 bool "MSM Watchdog Support"
Rohit Vaswani085a9332011-09-28 18:57:24 -07001668 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001669 help
1670 This enables the watchdog as is present on 8x60. Currently we use
1671 core 0's watchdog, and reset the entire SoC if it times out. It does
1672 not run during the bootup process, so it will not catch any early
1673 lockups.
1674
1675config MSM_DLOAD_MODE
1676 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07001677 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001678 default n
1679 help
1680 This makes the SoC enter download mode when it resets
1681 due to a kernel panic. Note that this doesn't by itself
1682 make the kernel reboot on a kernel panic - that must be
1683 enabled via another mechanism.
1684
Pratik Patel7831c082011-06-08 21:44:37 -07001685config MSM_TRACE_ACROSS_PC
1686 bool "Trace support across power collapse"
1687 depends on ARCH_MSM8X60 || ARCH_MSM8960
1688 help
1689 Enables trace state to be saved and restored across power collapse.
1690
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001691config MSM_ETM
1692 tristate "Enable MSM ETM and ETB"
1693 depends on ARCH_MSM8X60
Pratik Patel7831c082011-06-08 21:44:37 -07001694 select MSM_TRACE_ACROSS_PC
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001695 help
Pratik Patel7831c082011-06-08 21:44:37 -07001696 Enables embedded trace collection on Qualcomm v7 CPUs.
1697
1698config MSM_QDSS
1699 bool "Coresight tracing support"
1700 depends on ARCH_MSM8960
1701 select MSM_TRACE_ACROSS_PC
1702 help
1703 Enables support for Qualcomm debug subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001704
1705config MSM_SLEEP_STATS
1706 bool "Enable exporting of MSM sleep stats to userspace"
1707 depends on CPU_IDLE
1708 default n
1709
1710config MSM_STANDALONE_POWER_COLLAPSE
1711 bool "Enable standalone power collapse"
1712 default n
1713
1714config MSM_GSBI9_UART
1715 bool "Enable GSBI9 UART device"
1716 default n
1717 help
1718 This enables GSBI9 configured into UART.
1719
1720config MSM_SHARED_GPIO_FOR_UART2DM
1721 bool "Use shared GPIOs into UART mode"
1722 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
1723 help
1724 This option configures GPIO muxed with SDC4/MMC3
1725 8-bit mode into UART mode. It is used for serial
1726 console on UART2DM. Say Y if you want to have
1727 serial console on UART2DM.
1728
1729config MSM_SHOW_RESUME_IRQ
1730 bool "Enable logging of interrupts that could have caused resume"
Sathish Ambleyd4efc762011-10-09 22:19:22 -07001731 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSMCOPPER)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001732 default n
1733 help
1734 This option logs wake up interrupts that have triggered just before
1735 the resume loop unrolls. Say Y if you want to debug why the system
1736 resumed.
1737
1738config BT_MSM_PINTEST
1739 tristate "MSM Bluetooth Pin Connectivity Test"
1740 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
1741 default n
1742 help
1743 Bluetooth MSM Pin Connectivity test module.
1744 This driver provides support for verifying the MSM to BT pin
1745 connectivity.
1746
1747config MSM_FAKE_BATTERY
1748 depends on POWER_SUPPLY
1749 default n
1750 bool "MSM Fake Battery"
1751 help
1752 Enables MSM fake battery driver.
1753
1754config MSM_QDSP6_APR
1755 bool "Audio QDSP6 APR support"
1756 depends on MSM_SMD
1757 default n
1758 help
1759 Enable APR IPC protocol support between
1760 application processor and QDSP6. APR is
1761 used by audio driver to configure QDSP6's
1762 ASM, ADM and AFE.
1763
1764
1765config MSM_AUDIO_QDSP6
1766 bool "QDSP6 HW Audio support"
1767 select SND_SOC_MSM_QDSP6_INTF
1768 default n
1769 help
1770 Enable HW audio support in QDSP6.
1771 QDSP6 can support HW encoder & decoder and audio processing
1772
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02001773config MSM_ULTRASOUND
1774 bool "MSM ultrasound support"
1775 depends on MSM_AUDIO_QDSP6
1776 help
1777 Enable support for qdsp6/ultrasound.
1778
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001779config MSM_RPC_VIBRATOR
1780 bool "RPC based MSM Vibrator Support"
1781 depends on MSM_ONCRPCROUTER
1782 help
1783 Enable the vibrator support on MSM over RPC. The vibrator
1784 is connected on the PMIC. Say Y if you want to enable this
1785 feature.
1786
1787config PM8XXX_RPC_VIBRATOR
1788 bool "RPC based Vibrator on PM8xxx PMICs"
1789 depends on MSM_RPC_VIBRATOR
1790 help
1791 Enable the vibrator support on MSM over RPC. The vibrator
1792 is connected on the PM8XXX PMIC. Say Y if you want to enable
1793 this feature.
1794
1795config MSM_SPM_V1
1796 bool "Driver support for SPM Version 1"
1797 help
1798 Enables the support for Version 1 of the SPM driver. SPM hardware is
1799 used to manage the processor power during sleep. The driver allows
1800 configuring SPM to allow different power modes.
1801
1802config MSM_SPM_V2
1803 bool "Driver support for SPM Version 2"
1804 help
1805 Enables the support for Version 2 of the SPM driver. SPM hardware is
1806 used to manage the processor power during sleep. The driver allows
1807 configuring SPM to allow different power modes.
1808
1809config MSM_L2_SPM
1810 bool "SPM support for L2 cache"
1811 depends on MSM_SPM_V2
1812 help
1813 Enable SPM driver support for L2 cache. Some MSM chipsets allow
1814 control of L2 cache low power mode with a Subsystem Power manager.
1815 Enabling this driver allows configuring L2 SPM for low power modes
1816 on supported chipsets.
1817
Laura Abbott2d1760b2011-09-29 21:31:24 -07001818config MSM_MULTIMEDIA_USE_ION
1819 bool "Multimedia suport using Ion"
1820 depends on ION_MSM
1821 help
1822 Enable support for multimedia drivers using Ion for buffer management
1823 instead of pmem. Selecting this may also involve userspace
1824 dependencies as well.
1825
Brian Swetland9e73c842007-11-26 04:12:13 -08001826endif