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