blob: e5f7449d5c97fc34be6768b281c03bc2999c0ff6 [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
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700715config MSM_HAS_DEBUG_UART_HS
716 bool
717 help
718 Say Y here if high speed MSM UART is present.
719
720config MSM_HAS_DEBUG_UART_HS_V14
721 bool
722 select MSM_HAS_DEBUG_UART_HS
723 help
724 Say Y here if high speed MSM UART v1.4 is present.
725
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800726config DEBUG_MSM8930_UART
727 bool "Kernel low-level debugging messages via MSM 8930 UART"
728 depends on ARCH_MSM8930 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700729 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800730 help
731 Say Y here if you want the debug print routines to direct
732 their output to the serial port on MSM 8930 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100733
734choice
735 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800736 depends on DEBUG_LL
Pavel Machek6339f662009-11-02 11:48:29 +0100737
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800738 config DEBUG_MSM_UART1
739 bool "Kernel low-level debugging messages via MSM UART1"
740 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
741 help
742 Say Y here if you want the debug print routines to direct
743 their output to the first serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100744
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800745 config DEBUG_MSM_UART2
746 bool "Kernel low-level debugging messages via MSM UART2"
747 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
748 help
749 Say Y here if you want the debug print routines to direct
750 their output to the second serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100751
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800752 config DEBUG_MSM_UART3
753 bool "Kernel low-level debugging messages via MSM UART3"
754 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
755 help
756 Say Y here if you want the debug print routines to direct
757 their output to the third serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100758
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800759 config DEBUG_MSM8660_UART
760 bool "Kernel low-level debugging messages via MSM 8660 UART"
761 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700762 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800763 help
764 Say Y here if you want the debug print routines to direct
765 their output to the serial port on MSM 8660 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100766
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800767 config DEBUG_MSM8960_UART
768 bool "Kernel low-level debugging messages via MSM 8960 UART"
769 depends on ARCH_MSM8960
770 select DEBUG_MSM8930_UART
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700771 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800772 help
773 Say Y here if you want the debug print routines to direct
774 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700775
776 config DEBUG_MSMCOPPER_UART
777 bool "Kernel low-level debugging messages via MSM Copper UART"
778 depends on ARCH_MSMCOPPER
779 select MSM_HAS_DEBUG_UART_HS_V14
780 help
781 Say Y here if you want the debug print routines to direct
782 their output to the serial port on MSM Copper devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100783endchoice
784
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700785choice
786 prompt "Default Timer"
787 default MSM7X00A_USE_GP_TIMER
788
789 config MSM7X00A_USE_GP_TIMER
790 bool "GP Timer"
791 help
792 Low resolution timer that allows power collapse from idle.
793
794 config MSM7X00A_USE_DG_TIMER
795 bool "DG Timer"
796 help
797 High resolution timer.
798endchoice
799
800choice
801 prompt "Suspend sleep mode"
802 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
803 help
804 Allows overriding the sleep mode used. Leave at power
805 collapse suspend unless the arm9 image has problems.
806
807 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
808 bool "Power collapse suspend"
809 help
810 Lowest sleep state. Returns through reset vector.
811
812 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
813 bool "Power collapse"
814 help
815 Sleep state that returns through reset vector.
816
817 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
818 bool "Apps Sleep"
819
820 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
821 bool "Ramp down cpu clock and wait for interrupt"
822
823 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
824 bool "Wait for interrupt"
825endchoice
826
827config MSM7X00A_SLEEP_MODE
828 int
829 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
830 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
831 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
832 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
833 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
834
835choice
836 prompt "Idle sleep mode"
837 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
838 help
839 Allows overriding the sleep mode used from idle. Leave at power
840 collapse suspend unless the arm9 image has problems.
841
842 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
843 bool "Power collapse suspend"
844 help
845 Lowest sleep state. Returns through reset vector.
846
847 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
848 bool "Power collapse"
849 help
850 Sleep state that returns through reset vector.
851
852 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
853 bool "Apps Sleep"
854
855 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
856 bool "Ramp down cpu clock and wait for interrupt"
857
858 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
859 bool "Wait for interrupt"
860endchoice
861
862config MSM7X00A_IDLE_SLEEP_MODE
863 int
864 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
865 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
866 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
867 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
868 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
869
870config MSM7X00A_IDLE_SLEEP_MIN_TIME
871 int "Minimum idle time before sleep"
872 default 20000000
873 help
874 Minimum idle time in nanoseconds before entering low power mode.
875
876config MSM7X00A_IDLE_SPIN_TIME
877 int "Idle spin time before cpu ramp down"
878 default 80000
879 help
880 Spin time in nanoseconds before ramping down cpu clock and entering
881 any low power state.
882
883menuconfig MSM_IDLE_STATS
884 bool "Collect idle statistics"
885 default y
886 help
887 Collect idle statistics and export them in proc/msm_pm_stats.
888
889if MSM_IDLE_STATS
890
891config MSM_IDLE_STATS_FIRST_BUCKET
892 int "First bucket time"
893 default 62500
894 help
895 Upper time limit in nanoseconds of first bucket.
896
897config MSM_IDLE_STATS_BUCKET_SHIFT
898 int "Bucket shift"
899 default 2
900
901config MSM_IDLE_STATS_BUCKET_COUNT
902 int "Bucket count"
903 default 10
904
905config MSM_SUSPEND_STATS_FIRST_BUCKET
906 int "First bucket time for suspend"
907 default 1000000000
908 help
909 Upper time limit in nanoseconds of first bucket of the
910 histogram. This is for collecting statistics on suspend.
911
912endif # MSM_IDLE_STATS
913
914config CPU_HAS_L2_PMU
915 bool "L2CC PMU Support"
916 help
917 Select this if the L2 cache controller has a Performance Monitoring Unit.
918
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700919config HTC_HEADSET
920 tristate "HTC 2 Wire detection driver"
921 default n
922 help
923 Provides support for detecting HTC 2 wire devices, such as wired
924 headset, on the trout platform. Can be used with the msm serial
925 debugger, but not with serial console.
926
927config TROUT_BATTCHG
928 depends on MACH_TROUT && POWER_SUPPLY
929 default y
930 bool "Trout battery / charger driver"
931
932config HTC_PWRSINK
933 depends on MSM_SMD
934 default n
935 bool "HTC Power Sink Driver"
936
937config QSD_SVS
938 bool "QSD Static Voltage Scaling"
939 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
940 default y
941 select TPS65023
942 help
943 Enables static voltage scaling using the TPS65023 PMIC.
944
945config QSD_PMIC_DEFAULT_DCDC1
946 int "PMIC default output voltage"
947 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
948 default 1250
949 help
950 This is the PMIC voltage at Linux kernel boot.
951
952config MSM_FIQ_SUPPORT
953 default y
954 bool "Enable installation of an FIQ handler."
955
956config MSM_SERIAL_DEBUGGER
957 select MSM_FIQ_SUPPORT
958 select KERNEL_DEBUGGER_CORE
959 default n
960 bool "FIQ Mode Serial Debugger"
961 help
962 The FIQ serial debugger can accept commands even when the
963 kernel is unresponsive due to being stuck with interrupts
964 disabled. Depends on the kernel debugger core in drivers/misc.
965
966config MSM_SERIAL_DEBUGGER_CONSOLE
967 depends on MSM_SERIAL_DEBUGGER
968 default n
969 bool "Console on FIQ Serial Debugger port"
970 help
971 Enables a console so that printk messages are displayed on
972 the debugger serial port as the occur.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700973
Steve Mucklec8aabae2010-04-21 16:20:27 -0700974config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700975 default y
976 bool "Proc-Comm RPC Interface"
977 help
978 Enables a lightweight communications interface to the
979 baseband processor.
Steve Mucklec8aabae2010-04-21 16:20:27 -0700980
Brian Swetland2eb44eb2008-09-29 16:00:48 -0700981config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700982 bool "MSM Shared Memory Driver (SMD)"
983 help
984 Support for the shared memory interface between the apps
985 processor and the baseband processor. Provides access to
986 the "shared heap", as well as virtual serial channels
987 used to communicate with various services on the baseband
988 processor.
989
990choice
991 prompt "MSM Shared memory interface version"
992 depends on MSM_SMD
993 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
994 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
995
996 config MSM_SMD_PKG3
997 bool
998 prompt "Package 3"
999
1000 config MSM_SMD_PKG4
1001 bool
1002 prompt "Package 4"
1003endchoice
1004
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001005config MSM_RPC_SDIO_XPRT
1006 depends on MSM_SDIO_AL
1007 default y
1008 bool "MSM SDIO XPRT Layer"
1009 help
1010 SDIO Transport Layer for RPC Rouer
1011
1012config MSM_RPC_SDIO_DEBUG
1013 depends on MSM_RPC_SDIO_XPRT
1014 default y
1015 bool "MSM SDIO XPRT debug support"
1016 help
1017 Support for debugging SDIO XPRT
1018
1019config MSM_SMD_DEBUG
1020 depends on MSM_SMD
1021 default y
1022 bool "MSM SMD debug support"
1023 help
1024 Support for debugging the SMD for communication
1025 between the ARM9 and ARM11
1026
1027config MSM_SDIO_AL
1028 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1029 default y
1030 tristate "SDIO-Abstraction-Layer"
1031 help
1032 Support MSM<->MDM Communication over SDIO bus.
1033 MDM SDIO-Client should have pipes support.
1034
1035config MSM_SDIO_DMUX
1036 bool "SDIO Data Mux Driver"
1037 depends on MSM_SDIO_AL
1038 default n
1039 help
1040 Support Muxed Data Channels over SDIO interface.
1041
1042config MSM_BAM_DMUX
1043 bool "BAM Data Mux Driver"
1044 depends on SPS
1045 default n
1046 help
1047 Support Muxed Data Channels over BAM interface.
1048 BAM has a limited number of pipes. This driver
1049 provides a means to support more logical channels
1050 via muxing than BAM could without muxing.
1051
1052config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001053 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001054 default y
1055 bool "MSM N-WAY SMD support"
1056 help
1057 Supports APPS-QDSP SMD communication along with
1058 normal APPS-MODEM SMD communication.
1059
1060config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001061 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001062 default y
1063 bool "MSM N-WAY SMSM support"
1064 help
1065 Supports APPS-QDSP SMSM communication along with
1066 normal APPS-MODEM SMSM communication.
1067
1068config MSM_RESET_MODEM
1069 tristate "Reset Modem Driver"
1070 depends on MSM_SMD
1071 default m
1072 help
1073 Allows the user to reset the modem through a device node.
1074
1075config MSM_SMD_LOGGING
1076 depends on MSM_SMD
1077 default y
1078 bool "MSM Shared Memory Logger"
1079 help
1080 This option exposes the shared memory logger at /dev/smem_log
1081 and a debugfs node named smem_log.
1082
1083 If in doubt, say yes.
1084
1085config MSM_SMD_NMEA
1086 bool "NMEA GPS Driver"
1087 depends on MSM_SMD
1088 default y
1089 help
1090 Enable this to support the NMEA GPS device.
1091
1092 If in doubt, say yes.
1093
1094config MSM_SDIO_TTY
1095 bool "SDIO TTY Driver"
1096 depends on MSM_SDIO_AL
1097 default n
1098 help
1099 Provides a TTY driver SDIO TTY
1100 This driver can be used by user space
1101 applications for passing data through the
1102 SDIO interface.
1103
1104config MSM_SMD_TTY
1105 bool "SMD TTY Driver"
1106 depends on MSM_SMD
1107 default y
1108 help
1109 Provides TTY interfaces to interact with the modem.
1110
1111 If in doubt, say yes.
1112
1113config MSM_SMD_QMI
1114 bool "SMD QMI Driver"
1115 depends on MSM_SMD
1116 default y
1117 help
1118 Manages network data connections.
1119
1120 If in doubt, say yes.
1121
1122config MSM_SMD_PKT
1123 bool "SMD Packet Driver"
1124 depends on MSM_SMD
1125 default y
1126 help
1127 Provides a binary SMD non-muxed packet port interface.
1128
1129 If in doubt, say yes.
1130
1131config MSM_SDIO_CMUX
1132 bool "SDIO CMUX Driver"
1133 depends on MSM_SDIO_AL
1134 default n
1135 help
1136 Provides a Muxed port interface over SDIO QMI
1137
1138config MSM_DSPS
1139 bool "Sensors DSPS driver"
1140 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1141 default n
1142 help
1143 Provides user-space interface to the sensors manager
1144 to turn on/off the Sensors Processor system clocks.
1145 It is the DSPS responsibility to turn on/off the sensors
1146 themself.
1147 The number of clocks and their name may vary between targets.
1148 It also triggers the PIL to load the DSPS firmware.
1149
1150config MSM_SDIO_CTL
1151 bool "SDIO CTL Driver"
1152 depends on MSM_SDIO_CMUX
1153 default n
1154 help
1155 Provides a binary SDIO control port interface.
1156
1157config MSM_ONCRPCROUTER
1158 depends on MSM_SMD
1159 default n
1160 bool "MSM ONCRPC router support"
1161 help
1162 Support for the MSM ONCRPC router for communication between
1163 the ARM9 and ARM11
1164
1165config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001166 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001167 default n
1168 bool "MSM IPC Router support"
1169 help
1170 Support for the MSM IPC Router for communication between
1171 the APPs and the MODEM
1172
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001173config MSM_IPC_ROUTER_SMD_XPRT
1174 depends on MSM_SMD
1175 depends on MSM_IPC_ROUTER
1176 default n
1177 bool "MSM SMD XPRT Layer"
1178 help
1179 SMD Transport Layer for IPC Router
1180
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001181config MSM_ONCRPCROUTER_DEBUG
1182 depends on MSM_ONCRPCROUTER
1183 default y
1184 bool "MSM debug ONCRPC router support"
1185 help
1186 Support for debugging the ONCRPC router for communication
1187 between the ARM9 and ARM11
1188
1189config MSM_RPC_LOOPBACK_XPRT
1190 depends on MSM_ONCRPCROUTER
1191 default n
1192 bool "MSM RPC local routing support"
1193 help
1194 Support for routing RPC messages between APPS clients
1195 and APPS servers. Helps in testing APPS RPC framework.
1196
1197config MSM_RPCSERVER_TIME_REMOTE
1198 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1199 default y
1200 bool "Time remote RPC server"
1201 help
1202 The time remote server receives notification of time bases and
1203 reports these events to registered callback functions.
1204
1205config MSM_RPCSERVER_WATCHDOG
1206 depends on MSM_ONCRPCROUTER
1207 default y
1208 bool "Watchdog RPC server"
1209 help
1210 The dog_keepalive server handles watchdog events.
1211
1212config MSM_RPC_WATCHDOG
1213 depends on MSM_ONCRPCROUTER
1214 default n
1215 bool "Watchdog RPC client"
1216 help
1217 The dog_keepalive client module.
1218
1219config MSM_RPC_PING
1220 depends on MSM_ONCRPCROUTER && DEBUG_FS
1221 default m
1222 bool "MSM rpc ping"
1223 help
1224 Implements MSM rpc ping test module.
1225
1226config MSM_RPC_PROC_COMM_TEST
1227 depends on DEBUG_FS && MSM_PROC_COMM
1228 default m
1229 bool "MSM rpc proc comm test"
1230 help
1231 Implements MSM rpc proc comm test module.
1232
1233config MSM_RPC_OEM_RAPI
1234 depends on MSM_ONCRPCROUTER
1235 default m
1236 bool "MSM oem rapi"
1237 help
1238 Implements MSM oem rapi client module.
1239
1240config MSM_RPCSERVER_HANDSET
1241 depends on MSM_ONCRPCROUTER
1242 default y
1243 bool "Handset events RPC server"
1244 help
1245 Support for receiving handset events like headset detect,
1246 headset switch and clamshell state.
1247
1248config MSM_RMT_STORAGE_CLIENT
1249 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1250 default n
1251 bool "Remote Storage RPC client"
1252 help
1253 Provide RPC mechanism for remote processors to access storage
1254 device on apps processor.
1255
1256config MSM_RMT_STORAGE_CLIENT_STATS
1257 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1258 default n
1259 bool "Remote storage RPC client performance statistics"
1260 help
1261 Collects performance statistics and shows this information
1262 through a debugfs file rmt_storage_stats.
1263
1264config MSM_SDIO_SMEM
1265 depends on MSM_SDIO_AL
1266 default n
1267 bool "SDIO SMEM for remote storage"
1268 help
1269 Copies data from remote MDM9K memory to local MSM8x60
1270 memory. Used by remote storage client to shadow
1271 MDM9K filesystem.
1272
1273config MSM_DALRPC
1274 bool "DAL RPC support"
1275 depends on ARCH_MSM_SCORPION || ARCH_MSM_KRAIT
1276 default y
1277 help
1278 Supports RPC calls to DAL devices on remote processor cores.
1279
1280config MSM_DALRPC_TEST
1281 tristate "DAL RPC test module"
1282 depends on (MSM_DALRPC && DEBUG_FS)
1283 default m
1284 help
1285 Exercises DAL RPC calls to QDSP6.
1286
1287if CPU_FREQ_MSM
1288
1289config MSM_CPU_FREQ_SET_MIN_MAX
1290 bool "Set Min/Max CPU frequencies."
1291 default n
1292 help
1293 Allow setting min and max CPU frequencies. Sysfs can be used
1294 to override these values.
1295
1296config MSM_CPU_FREQ_MAX
1297 int "Max CPU Frequency"
1298 depends on MSM_CPU_FREQ_SET_MIN_MAX
1299 default 384000
1300
1301config MSM_CPU_FREQ_MIN
1302 int "Min CPU Frequency"
1303 depends on MSM_CPU_FREQ_SET_MIN_MAX
1304 default 245760
1305
1306endif # CPU_FREQ_MSM
1307
1308config MSM_CPU_AVS
1309 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1310 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1311 depends on ARCH_QSD8X50
1312 default n
1313 select MSM_AVS_HW
1314 help
1315 This enables the s/w control of Adaptive Voltage Scaling feature
1316 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1317 based on feedback from three ring oscillators in the CPU.
1318
1319config MSM_AVS_HW
1320 bool "Enable Adaptive Voltage Scaling (AVS)"
1321 default n
1322 help
1323 Enable AVS hardware to fine tune voltage at each frequency. The
1324 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1325 fine tune the voltages based on the feedback from the ring
1326 oscillators.
1327
1328config MSM_HW3D
1329 tristate "MSM Hardware 3D Register Driver"
1330 depends on ANDROID_PMEM
1331 default y
1332 help
1333 Provides access to registers needed by the userspace OpenGL|ES
1334 library.
1335
1336config MSM_ADSP
1337 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1338 tristate "MSM ADSP driver"
1339 depends on ANDROID_PMEM
1340 default y
1341 help
1342 Provides access to registers needed by the userspace aDSP library.
1343
1344config ADSP_RPC_VER
1345 hex
1346 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1347 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1348 depends on MSM_ADSP
1349 help
1350 Select proper ADSP RPC version
1351choice
1352 prompt "ADSP RPC version"
1353
1354 default AMSS_7X25_VERSION_2009
1355
1356 config AMSS_7X25_VERSION_2009
1357 bool "2.0.09"
1358
1359 config AMSS_7X25_VERSION_2008
1360 bool "2.0.08"
1361endchoice
1362
1363config MSM7KV2_AUDIO
1364 bool "MSM7K v2 audio"
1365 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1366 default y
1367 help
1368 Enables QDSP5V2-based audio drivers for audio playbacks and
1369 voice call.
1370
1371config MSM_ADSP_REPORT_EVENTS
1372 bool "Report modem events from the DSP"
1373 default y
1374 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1375 help
1376 Normally, only messages from the aDSP are reported to userspace.
1377 With this option, we report events from the aDSP as well.
1378
1379config MSM_QDSP6
1380 tristate "QDSP6 support"
1381 depends on ARCH_QSD8X50 && ANDROID_PMEM
1382 default y
1383 help
1384 Enable support for qdsp6. This provides audio and video functionality.
1385
1386config MSM8X60_AUDIO
1387 tristate "MSM8X60 audio support"
1388 depends on ARCH_MSM8X60 && ANDROID_PMEM
1389 default y
1390 help
1391 Enable support for qdsp6v2. This provides audio functionality.
1392
1393config MSM8X60_FTM_AUDIO_DEVICES
1394 bool "MSM8X60 audio factory test mode support"
1395 depends on MSM8X60_AUDIO
1396 help
1397 Enable support audio factory test mode devices. This is used
1398 in a production line environment.
1399
Ben Romberger45b351c2011-07-20 22:37:27 -07001400config RTAC
1401 bool "MSM8K real-time audio calibration support"
1402 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001403 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001404 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001405 audio operation
1406
1407config MSM7X27A_AUDIO
1408 bool "MSM7X27A audio support"
1409 depends on ARCH_MSM7X27A && MSM_ADSP
1410 default n
1411 help
1412 Enable support for 7x27a. This provides audio functionality.
1413
Justin Pauporea6cd2092011-06-22 16:19:45 -07001414config MSM_PROC_COMM_REGULATOR
1415 bool
1416 depends on MSM_PROC_COMM && REGULATOR
1417 help
1418 Enable regulator framework support for regulators managed by PMLIB
1419 on the modem, and controlled through proccomm calls.
1420
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001421config MSM_VREG_SWITCH_INVERTED
1422 bool "Reverse vreg switch polarity"
1423 default n
1424 help
1425 Reverses the enable and disable for vreg switch.
1426
1427config MSM_DMA_TEST
1428 tristate "MSM DMA test module"
1429 default m
1430 help
1431 Intended to be compiled as a module. Provides a device node
1432 and ioctls for testing the MSM dma system.
1433
1434config WIFI_CONTROL_FUNC
1435 bool "Enable WiFi control function abstraction"
1436 help
1437 Enables Power/Reset/Carddetect function abstraction
1438
1439config WIFI_MEM_PREALLOC
1440 depends on WIFI_CONTROL_FUNC
1441 bool "Preallocate memory for WiFi buffers"
1442 help
1443 Preallocates memory buffers for WiFi driver
1444
1445config QSD_AUDIO
1446 bool "QSD audio"
1447 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1448 default y
1449 help
1450 Provides PCM, MP3, and AAC audio playback.
1451
1452config AUDIO_AAC_PLUS
1453 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1454 bool "AAC+ Audio"
1455 default y
1456 help
1457 Provides AAC+ decoding
1458
1459config AUDIO_ENHANCED_AAC_PLUS
1460 depends on AUDIO_AAC_PLUS
1461 bool "Enhanced AAC+ Audio"
1462 default y
1463 help
1464 Provides Enhanced AAC+ decoding
1465
1466config SURF_FFA_GPIO_KEYPAD
1467 bool "MSM SURF/FFA GPIO keypad"
1468 depends on INPUT_GPIO = "y"
1469 default y
1470 help
1471 Select if the GPIO keypad is attached.
1472
1473config MSM_SLEEP_TIME_OVERRIDE
1474 bool "Allow overriding suspend/sleep time with PM module parameter"
1475 default y
1476 help
1477 Enable the module parameter sleep_time_override. Specified
1478 in units of seconds, it overwrites the normal sleep time of
1479 suspend. The feature is required for automated power management
1480 testing.
1481
1482config MSM_MEMORY_LOW_POWER_MODE
1483 bool "Control the low power modes of memory"
1484 default n
1485 help
1486 The application processor controls whether memory should enter
1487 which low power mode.
1488
1489choice
1490 prompt "Default Memory Low Power Mode during Idle"
1491 depends on MSM_MEMORY_LOW_POWER_MODE
1492 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1493 help
1494 Selects the default low power mode of the memory during idle
1495 sleep.
1496
1497 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1498 bool "Memory active"
1499
1500 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1501 bool "Memory in retention"
1502
1503 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1504 bool "Memory in deep power down"
1505endchoice
1506
1507choice
1508 prompt "Default Memory Low Power Mode during Suspend"
1509 depends on MSM_MEMORY_LOW_POWER_MODE
1510 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1511 help
1512 Selects the default low power mode of the memory during suspend
1513 sleep.
1514
1515 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1516 bool "Memory active"
1517
1518 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1519 bool "Memory in retention"
1520
1521 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1522 bool "Memory in deep power down"
1523endchoice
1524
1525choice
1526 prompt "Power management timeout action"
1527 default MSM_PM_TIMEOUT_HALT
1528 help
1529 Selects the Application Processor's action when Power Management
1530 times out waiting for Modem's handshake.
1531
1532 config MSM_PM_TIMEOUT_HALT
1533 bool "Halt the Application Processor"
1534
1535 config MSM_PM_TIMEOUT_RESET_MODEM
1536 bool "Reset the Modem Processor"
1537
1538 config MSM_PM_TIMEOUT_RESET_CHIP
1539 bool "Reset the entire chip"
1540endchoice
1541
1542config MSM_IDLE_WAIT_ON_MODEM
1543 int "Wait for Modem to become ready for idle power collapse"
1544 default 0
1545 help
1546 If Modem is not ready to handle Application Processor's request
1547 for idle power collapse, wait the number of microseconds in case
1548 Modem becomes ready soon.
1549
1550config MSM_PIL
1551 bool "Peripheral image loading"
1552 select FW_LOADER
1553 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1554 default n
1555 help
1556 Some peripherals need to be loaded into memory before they can be
1557 brought out of reset.
1558
1559 Say yes to support these devices.
1560
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001561config MSM_SCM
1562 bool "Secure Channel Manager (SCM) support"
1563 default n
1564
1565config MSM_SUBSYSTEM_RESTART
1566 bool "MSM Subsystem Restart Driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001567 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001568 default n
1569 help
1570 This option enables the MSM subsystem restart driver, which provides
1571 a framework to handle subsystem crashes.
1572
Matt Wagantallf8020902011-08-30 21:19:23 -07001573config MSM_SYSMON_COMM
1574 bool "MSM System Monitor communication support"
1575 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1576 default y
1577 help
1578 This option adds support for MSM System Monitor library, which
1579 provides an API that may be used for notifying subsystems within
1580 the SoC about other subsystems' power-up/down state-changes.
1581
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001582config MSM_MODEM_8960
1583 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001584 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001585 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001586 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001587 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001588 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001589
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001590config MSM_LPASS_8960
1591 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001592 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001593 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001594 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001595 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001596 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001597
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001598config MSM_WCNSS_SSR_8960
1599 tristate "MSM 8960 WCNSS restart module"
1600 depends on (ARCH_MSM8960)
1601 help
1602 This option enables the WCNSS restart module for MSM8960, which
1603 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1604 into the subsystem restart framework.
1605
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001606config SCORPION_Uni_45nm_BUG
1607 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1608 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1609 default y
1610 help
1611 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1612 invalidating the Branch Predictor Array by Modified Virtual Address can
1613 create invalid entries in the TLB with the wrong ASID values on Scorpion
1614 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1615 workaround for Scorpion Uniprocessor 45nm cores.
1616
1617 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1618
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001619config MSM_BUSPM_DEV
1620 tristate "MSM Bus Performance Monitor Kernel Module"
1621 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1622 default m
1623 help
1624 This kernel module is used to mmap() hardware registers for the
1625 performance monitors, counters, etc. The module can also be used to
1626 allocate physical memory which is used by bus performance hardware to
1627 dump performance data.
1628
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001629config MSM_RPM_LOG
1630 tristate "MSM Resource Power Manager Log Driver"
1631 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001632 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001633 default n
1634 help
1635 This option enables a driver which can read from a circular buffer
1636 of messages produced by the RPM. These messages provide diagnostic
1637 information about RPM operation. The driver outputs the messages
1638 via a debugfs node.
1639
1640config MSM_RPM_STATS_LOG
1641 tristate "MSM Resource Power Manager Stat Driver"
1642 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001643 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001644 default n
1645 help
1646 This option enables a driver which reads RPM messages from a shared
1647 memory location. These messages provide statistical information about
1648 the low power modes that RPM enters. The drivers outputs the message
1649 via a debugfs node.
1650
1651config MSM_IOMMU
1652 bool "MSM IOMMU Support"
Joel King41d594e2011-10-14 13:18:20 -07001653 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_APQ8064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001654 select IOMMU_API
1655 default n
1656 help
1657 Support for the IOMMUs found on certain Qualcomm SOCs.
1658 These IOMMUs allow virtualization of the address space used by most
1659 cores within the multimedia subsystem.
1660
1661 If unsure, say N here.
1662
1663config IOMMU_PGTABLES_L2
1664 bool "Allow SMMU page tables in the L2 cache (Experimental)"
1665 depends on MSM_IOMMU=y
1666 depends on MMU
1667 depends on CPU_DCACHE_DISABLE=n
1668 depends on SMP
1669 default y
1670 help
1671 Improves TLB miss latency at the expense of potential L2 pollution.
1672 However, with large multimedia buffers, the TLB should mostly contain
1673 section mappings and TLB misses should be quite infrequent.
1674 Most people can probably say Y here.
1675
1676config MSM_DIRECT_SCLK_ACCESS
1677 bool "Direct access to the SCLK timer"
1678 default n
1679
1680config IOMMU_API
1681 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001682
Gregory Beanab78cde2010-09-01 16:26:12 -07001683config MSM_GPIOMUX
1684 bool
1685
Gregory Bean1963a2a2010-08-28 10:05:44 -07001686config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001687 bool
1688
1689config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07001690 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001691
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001692config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001693 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001694
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001695config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001696 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001697
1698config MSM_BUS_SCALING
1699 bool "Bus scaling driver"
1700 default n
1701
Gagan Mac85c70492011-06-10 16:07:47 -06001702config MSM_BUS_RPM_MULTI_TIER_ENABLED
1703 bool "RPM Multi-tiering Configuration"
1704 depends on MSM_BUS_SCALING
1705
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001706config MSM_WATCHDOG
1707 bool "MSM Watchdog Support"
Rohit Vaswani085a9332011-09-28 18:57:24 -07001708 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001709 help
1710 This enables the watchdog as is present on 8x60. Currently we use
1711 core 0's watchdog, and reset the entire SoC if it times out. It does
1712 not run during the bootup process, so it will not catch any early
1713 lockups.
1714
1715config MSM_DLOAD_MODE
1716 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07001717 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001718 default n
1719 help
1720 This makes the SoC enter download mode when it resets
1721 due to a kernel panic. Note that this doesn't by itself
1722 make the kernel reboot on a kernel panic - that must be
1723 enabled via another mechanism.
1724
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001725config HAS_QDSS
1726 bool "QDSS Present"
1727 help
1728 Select this if the chip has Qualcomm Debug Subsystem implemented.
1729
1730config MSM_DEBUG_ACROSS_PC
1731 bool "Debug support across power collapse"
1732 help
1733 Enables debug state to be saved and restored across power collapse.
1734
1735config MSM_JTAG_V7
1736 depends on CPU_V7 && !HAS_QDSS
1737 default y if DEBUG_KERNEL
1738 bool "JTAG debug support"
1739 select MSM_DEBUG_ACROSS_PC
1740 help
1741 Add additional support for JTAG kernel debugging.
1742
Pratik Patel7831c082011-06-08 21:44:37 -07001743config MSM_TRACE_ACROSS_PC
1744 bool "Trace support across power collapse"
Pratik Patel7831c082011-06-08 21:44:37 -07001745 help
1746 Enables trace state to be saved and restored across power collapse.
1747
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001748config MSM_ETM
1749 tristate "Enable MSM ETM and ETB"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001750 depends on ARCH_MSM8X60 && !HAS_QDSS
Pratik Patel7831c082011-06-08 21:44:37 -07001751 select MSM_TRACE_ACROSS_PC
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001752 help
Pratik Patel7831c082011-06-08 21:44:37 -07001753 Enables embedded trace collection on Qualcomm v7 CPUs.
1754
1755config MSM_QDSS
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001756 bool "Qualcomm Debug Subsystem"
1757 depends on HAS_QDSS
1758 select MSM_DEBUG_ACROSS_PC
Pratik Patel7831c082011-06-08 21:44:37 -07001759 select MSM_TRACE_ACROSS_PC
1760 help
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001761 Enables support for Qualcomm Debug Subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001762
1763config MSM_SLEEP_STATS
1764 bool "Enable exporting of MSM sleep stats to userspace"
1765 depends on CPU_IDLE
1766 default n
1767
1768config MSM_STANDALONE_POWER_COLLAPSE
1769 bool "Enable standalone power collapse"
1770 default n
1771
1772config MSM_GSBI9_UART
1773 bool "Enable GSBI9 UART device"
1774 default n
1775 help
1776 This enables GSBI9 configured into UART.
1777
1778config MSM_SHARED_GPIO_FOR_UART2DM
1779 bool "Use shared GPIOs into UART mode"
1780 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
1781 help
1782 This option configures GPIO muxed with SDC4/MMC3
1783 8-bit mode into UART mode. It is used for serial
1784 console on UART2DM. Say Y if you want to have
1785 serial console on UART2DM.
1786
1787config MSM_SHOW_RESUME_IRQ
1788 bool "Enable logging of interrupts that could have caused resume"
Sathish Ambleyd4efc762011-10-09 22:19:22 -07001789 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSMCOPPER)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001790 default n
1791 help
1792 This option logs wake up interrupts that have triggered just before
1793 the resume loop unrolls. Say Y if you want to debug why the system
1794 resumed.
1795
1796config BT_MSM_PINTEST
1797 tristate "MSM Bluetooth Pin Connectivity Test"
1798 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
1799 default n
1800 help
1801 Bluetooth MSM Pin Connectivity test module.
1802 This driver provides support for verifying the MSM to BT pin
1803 connectivity.
1804
1805config MSM_FAKE_BATTERY
1806 depends on POWER_SUPPLY
1807 default n
1808 bool "MSM Fake Battery"
1809 help
1810 Enables MSM fake battery driver.
1811
1812config MSM_QDSP6_APR
1813 bool "Audio QDSP6 APR support"
1814 depends on MSM_SMD
1815 default n
1816 help
1817 Enable APR IPC protocol support between
1818 application processor and QDSP6. APR is
1819 used by audio driver to configure QDSP6's
1820 ASM, ADM and AFE.
1821
1822
1823config MSM_AUDIO_QDSP6
1824 bool "QDSP6 HW Audio support"
1825 select SND_SOC_MSM_QDSP6_INTF
1826 default n
1827 help
1828 Enable HW audio support in QDSP6.
1829 QDSP6 can support HW encoder & decoder and audio processing
1830
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02001831config MSM_ULTRASOUND
1832 bool "MSM ultrasound support"
1833 depends on MSM_AUDIO_QDSP6
1834 help
1835 Enable support for qdsp6/ultrasound.
1836
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001837config MSM_RPC_VIBRATOR
1838 bool "RPC based MSM Vibrator Support"
1839 depends on MSM_ONCRPCROUTER
1840 help
1841 Enable the vibrator support on MSM over RPC. The vibrator
1842 is connected on the PMIC. Say Y if you want to enable this
1843 feature.
1844
1845config PM8XXX_RPC_VIBRATOR
1846 bool "RPC based Vibrator on PM8xxx PMICs"
1847 depends on MSM_RPC_VIBRATOR
1848 help
1849 Enable the vibrator support on MSM over RPC. The vibrator
1850 is connected on the PM8XXX PMIC. Say Y if you want to enable
1851 this feature.
1852
1853config MSM_SPM_V1
1854 bool "Driver support for SPM Version 1"
1855 help
1856 Enables the support for Version 1 of the SPM driver. SPM hardware is
1857 used to manage the processor power during sleep. The driver allows
1858 configuring SPM to allow different power modes.
1859
1860config MSM_SPM_V2
1861 bool "Driver support for SPM Version 2"
1862 help
1863 Enables the support for Version 2 of the SPM driver. SPM hardware is
1864 used to manage the processor power during sleep. The driver allows
1865 configuring SPM to allow different power modes.
1866
1867config MSM_L2_SPM
1868 bool "SPM support for L2 cache"
1869 depends on MSM_SPM_V2
1870 help
1871 Enable SPM driver support for L2 cache. Some MSM chipsets allow
1872 control of L2 cache low power mode with a Subsystem Power manager.
1873 Enabling this driver allows configuring L2 SPM for low power modes
1874 on supported chipsets.
1875
Laura Abbott2d1760b2011-09-29 21:31:24 -07001876config MSM_MULTIMEDIA_USE_ION
1877 bool "Multimedia suport using Ion"
1878 depends on ION_MSM
1879 help
1880 Enable support for multimedia drivers using Ion for buffer management
1881 instead of pmem. Selecting this may also involve userspace
1882 dependencies as well.
1883
Brian Swetland9e73c842007-11-26 04:12:13 -08001884endif