blob: 1b836c4cbe3c20e0b9a6fc5b7bd7ea67e5e05082 [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
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800607config MACH_MSM8627_CDP
608 depends on ARCH_MSM8930
609 bool "MSM8627 CDP"
610 help
611 Support for the Qualcomm MSM8627 CDP device.
612
613config MACH_MSM8627_MTP
614 depends on ARCH_MSM8930
615 bool "MSM8627 MTP"
616 help
617 Support for the Qualcomm MSM8627 MTP device.
618
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700619config MACH_MSM9615_CDP
620 depends on ARCH_MSM9615
621 bool "MSM9615 CDP"
622 help
623 Support for the Qualcomm MSM9615 CDP device.
624
625config MACH_MSM9615_MTP
626 depends on ARCH_MSM9615
627 bool "MSM9615 MTP"
628 help
629 Support for the Qualcomm MSM9615 MTP device.
630
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700631config MSM_USE_TSIF1
632 depends on ARCH_MSM8X60
633 bool "MSM8x60 use TSIF1"
634 help
635 Selects TSIF1 core to be used rather than TSIF0.
636 The two TSIF cores share the same DM configuration
637 so they cannot be used simultaneously.
638
639config MACH_APQ8064_SIM
640 depends on ARCH_APQ8064
641 bool "APQ8064 Simulator"
642 help
643 Support for the Qualcomm APQ8064 simulator.
644
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700645config MACH_APQ8064_RUMI3
646 depends on ARCH_APQ8064
647 bool "APQ8064 RUMI3"
648 help
649 Support for the Qualcomm APQ8064 RUMI3 emulator.
650
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700651config MACH_FSM9XXX_SURF
652 depends on ARCH_FSM9XXX
653 depends on !MSM_STACKED_MEMORY
654 default y
655 bool "FSM9XXX SURF"
656 help
657 Support for the Qualcomm FSM9xxx femtocell
658 chipset based SURF evaluation board and
659 FFA board.
660
Daniel Walker4ad15e62010-05-06 13:54:17 -0700661endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800662
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700663config MSM_STACKED_MEMORY
664 bool "Stacked Memory"
665 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800666 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700667 This option is used to indicate the presence of on-die stacked
668 memory. When present this memory bank is used for a high speed
669 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800670
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700671config PHYS_OFFSET
672 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700673 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700674 default "0x80200000" if ARCH_APQ8064
675 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700676 default "0x80200000" if ARCH_MSM8930
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700677 default "0x80200000" if ARCH_MSMCOPPER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700678 default "0x10000000" if ARCH_FSM9XXX
679 default "0x00200000" if !MSM_STACKED_MEMORY
680 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
681 default "0x20000000" if ARCH_QSD8X50
682 default "0x40200000" if ARCH_MSM8X60
683 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800684
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700685config KERNEL_PMEM_EBI_REGION
686 bool "Enable in-kernel PMEM region for EBI"
687 default y if ARCH_MSM8X60
688 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960)
689 help
690 Enable the in-kernel PMEM allocator to use EBI memory.
691
692config KERNEL_PMEM_SMI_REGION
693 bool "Enable in-kernel PMEM region for SMI"
694 default y if ARCH_MSM8X60
695 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
696 help
697 Enable the in-kernel PMEM allocator to use SMI memory.
698
699config PMEM_GPU0
700 bool "Enable PMEM GPU0 region"
701 default y
702 depends on ARCH_QSD8X50 && ANDROID_PMEM
703 help
704 Enable the PMEM GPU0 device on SMI Memory.
705
706config MSM_AMSS_VERSION
707 int
708 default 6210 if MSM_AMSS_VERSION_6210
709 default 6220 if MSM_AMSS_VERSION_6220
710 default 6225 if MSM_AMSS_VERSION_6225
711
712choice
713 prompt "AMSS modem firmware version"
714
715 default MSM_AMSS_VERSION_6225
716
717 config MSM_AMSS_VERSION_6210
718 bool "6.2.10"
719
720 config MSM_AMSS_VERSION_6220
721 bool "6.2.20"
722
723 config MSM_AMSS_VERSION_6225
724 bool "6.2.20 + New ADSP"
725endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800726
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700727config MSM_HAS_DEBUG_UART_HS
728 bool
729 help
730 Say Y here if high speed MSM UART is present.
731
732config MSM_HAS_DEBUG_UART_HS_V14
733 bool
734 select MSM_HAS_DEBUG_UART_HS
735 help
736 Say Y here if high speed MSM UART v1.4 is present.
737
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800738config DEBUG_MSM8930_UART
739 bool "Kernel low-level debugging messages via MSM 8930 UART"
740 depends on ARCH_MSM8930 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700741 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800742 help
743 Say Y here if you want the debug print routines to direct
744 their output to the serial port on MSM 8930 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100745
746choice
747 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800748 depends on DEBUG_LL
Pavel Machek6339f662009-11-02 11:48:29 +0100749
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800750 config DEBUG_MSM_UART1
751 bool "Kernel low-level debugging messages via MSM UART1"
752 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
753 help
754 Say Y here if you want the debug print routines to direct
755 their output to the first serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100756
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800757 config DEBUG_MSM_UART2
758 bool "Kernel low-level debugging messages via MSM UART2"
759 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
760 help
761 Say Y here if you want the debug print routines to direct
762 their output to the second serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100763
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800764 config DEBUG_MSM_UART3
765 bool "Kernel low-level debugging messages via MSM UART3"
766 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
767 help
768 Say Y here if you want the debug print routines to direct
769 their output to the third serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100770
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800771 config DEBUG_MSM8660_UART
772 bool "Kernel low-level debugging messages via MSM 8660 UART"
773 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700774 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800775 help
776 Say Y here if you want the debug print routines to direct
777 their output to the serial port on MSM 8660 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100778
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800779 config DEBUG_MSM8960_UART
780 bool "Kernel low-level debugging messages via MSM 8960 UART"
781 depends on ARCH_MSM8960
782 select DEBUG_MSM8930_UART
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700783 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800784 help
785 Say Y here if you want the debug print routines to direct
786 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700787
788 config DEBUG_MSMCOPPER_UART
789 bool "Kernel low-level debugging messages via MSM Copper UART"
790 depends on ARCH_MSMCOPPER
791 select MSM_HAS_DEBUG_UART_HS_V14
792 help
793 Say Y here if you want the debug print routines to direct
794 their output to the serial port on MSM Copper devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100795endchoice
796
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700797choice
798 prompt "Default Timer"
799 default MSM7X00A_USE_GP_TIMER
800
801 config MSM7X00A_USE_GP_TIMER
802 bool "GP Timer"
803 help
804 Low resolution timer that allows power collapse from idle.
805
806 config MSM7X00A_USE_DG_TIMER
807 bool "DG Timer"
808 help
809 High resolution timer.
810endchoice
811
812choice
813 prompt "Suspend sleep mode"
814 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
815 help
816 Allows overriding the sleep mode used. Leave at power
817 collapse suspend unless the arm9 image has problems.
818
819 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
820 bool "Power collapse suspend"
821 help
822 Lowest sleep state. Returns through reset vector.
823
824 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
825 bool "Power collapse"
826 help
827 Sleep state that returns through reset vector.
828
829 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
830 bool "Apps Sleep"
831
832 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
833 bool "Ramp down cpu clock and wait for interrupt"
834
835 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
836 bool "Wait for interrupt"
837endchoice
838
839config MSM7X00A_SLEEP_MODE
840 int
841 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
842 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
843 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
844 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
845 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
846
847choice
848 prompt "Idle sleep mode"
849 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
850 help
851 Allows overriding the sleep mode used from idle. Leave at power
852 collapse suspend unless the arm9 image has problems.
853
854 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
855 bool "Power collapse suspend"
856 help
857 Lowest sleep state. Returns through reset vector.
858
859 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
860 bool "Power collapse"
861 help
862 Sleep state that returns through reset vector.
863
864 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
865 bool "Apps Sleep"
866
867 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
868 bool "Ramp down cpu clock and wait for interrupt"
869
870 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
871 bool "Wait for interrupt"
872endchoice
873
874config MSM7X00A_IDLE_SLEEP_MODE
875 int
876 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
877 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
878 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
879 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
880 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
881
882config MSM7X00A_IDLE_SLEEP_MIN_TIME
883 int "Minimum idle time before sleep"
884 default 20000000
885 help
886 Minimum idle time in nanoseconds before entering low power mode.
887
888config MSM7X00A_IDLE_SPIN_TIME
889 int "Idle spin time before cpu ramp down"
890 default 80000
891 help
892 Spin time in nanoseconds before ramping down cpu clock and entering
893 any low power state.
894
895menuconfig MSM_IDLE_STATS
896 bool "Collect idle statistics"
897 default y
898 help
899 Collect idle statistics and export them in proc/msm_pm_stats.
900
901if MSM_IDLE_STATS
902
903config MSM_IDLE_STATS_FIRST_BUCKET
904 int "First bucket time"
905 default 62500
906 help
907 Upper time limit in nanoseconds of first bucket.
908
909config MSM_IDLE_STATS_BUCKET_SHIFT
910 int "Bucket shift"
911 default 2
912
913config MSM_IDLE_STATS_BUCKET_COUNT
914 int "Bucket count"
915 default 10
916
917config MSM_SUSPEND_STATS_FIRST_BUCKET
918 int "First bucket time for suspend"
919 default 1000000000
920 help
921 Upper time limit in nanoseconds of first bucket of the
922 histogram. This is for collecting statistics on suspend.
923
924endif # MSM_IDLE_STATS
925
926config CPU_HAS_L2_PMU
927 bool "L2CC PMU Support"
928 help
929 Select this if the L2 cache controller has a Performance Monitoring Unit.
930
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700931config HTC_HEADSET
932 tristate "HTC 2 Wire detection driver"
933 default n
934 help
935 Provides support for detecting HTC 2 wire devices, such as wired
936 headset, on the trout platform. Can be used with the msm serial
937 debugger, but not with serial console.
938
939config TROUT_BATTCHG
940 depends on MACH_TROUT && POWER_SUPPLY
941 default y
942 bool "Trout battery / charger driver"
943
944config HTC_PWRSINK
945 depends on MSM_SMD
946 default n
947 bool "HTC Power Sink Driver"
948
949config QSD_SVS
950 bool "QSD Static Voltage Scaling"
951 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
952 default y
953 select TPS65023
954 help
955 Enables static voltage scaling using the TPS65023 PMIC.
956
957config QSD_PMIC_DEFAULT_DCDC1
958 int "PMIC default output voltage"
959 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
960 default 1250
961 help
962 This is the PMIC voltage at Linux kernel boot.
963
964config MSM_FIQ_SUPPORT
965 default y
966 bool "Enable installation of an FIQ handler."
967
968config MSM_SERIAL_DEBUGGER
969 select MSM_FIQ_SUPPORT
970 select KERNEL_DEBUGGER_CORE
971 default n
972 bool "FIQ Mode Serial Debugger"
973 help
974 The FIQ serial debugger can accept commands even when the
975 kernel is unresponsive due to being stuck with interrupts
976 disabled. Depends on the kernel debugger core in drivers/misc.
977
978config MSM_SERIAL_DEBUGGER_CONSOLE
979 depends on MSM_SERIAL_DEBUGGER
980 default n
981 bool "Console on FIQ Serial Debugger port"
982 help
983 Enables a console so that printk messages are displayed on
984 the debugger serial port as the occur.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700985
Steve Mucklec8aabae2010-04-21 16:20:27 -0700986config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700987 default y
988 bool "Proc-Comm RPC Interface"
989 help
990 Enables a lightweight communications interface to the
991 baseband processor.
Steve Mucklec8aabae2010-04-21 16:20:27 -0700992
Brian Swetland2eb44eb2008-09-29 16:00:48 -0700993config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700994 bool "MSM Shared Memory Driver (SMD)"
995 help
996 Support for the shared memory interface between the apps
997 processor and the baseband processor. Provides access to
998 the "shared heap", as well as virtual serial channels
999 used to communicate with various services on the baseband
1000 processor.
1001
1002choice
1003 prompt "MSM Shared memory interface version"
1004 depends on MSM_SMD
1005 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1006 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1007
1008 config MSM_SMD_PKG3
1009 bool
1010 prompt "Package 3"
1011
1012 config MSM_SMD_PKG4
1013 bool
1014 prompt "Package 4"
1015endchoice
1016
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001017config MSM_RPC_SDIO_XPRT
1018 depends on MSM_SDIO_AL
1019 default y
1020 bool "MSM SDIO XPRT Layer"
1021 help
1022 SDIO Transport Layer for RPC Rouer
1023
1024config MSM_RPC_SDIO_DEBUG
1025 depends on MSM_RPC_SDIO_XPRT
1026 default y
1027 bool "MSM SDIO XPRT debug support"
1028 help
1029 Support for debugging SDIO XPRT
1030
1031config MSM_SMD_DEBUG
1032 depends on MSM_SMD
1033 default y
1034 bool "MSM SMD debug support"
1035 help
1036 Support for debugging the SMD for communication
1037 between the ARM9 and ARM11
1038
1039config MSM_SDIO_AL
1040 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1041 default y
1042 tristate "SDIO-Abstraction-Layer"
1043 help
1044 Support MSM<->MDM Communication over SDIO bus.
1045 MDM SDIO-Client should have pipes support.
1046
1047config MSM_SDIO_DMUX
1048 bool "SDIO Data Mux Driver"
1049 depends on MSM_SDIO_AL
1050 default n
1051 help
1052 Support Muxed Data Channels over SDIO interface.
1053
1054config MSM_BAM_DMUX
1055 bool "BAM Data Mux Driver"
1056 depends on SPS
1057 default n
1058 help
1059 Support Muxed Data Channels over BAM interface.
1060 BAM has a limited number of pipes. This driver
1061 provides a means to support more logical channels
1062 via muxing than BAM could without muxing.
1063
1064config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001065 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001066 default y
1067 bool "MSM N-WAY SMD support"
1068 help
1069 Supports APPS-QDSP SMD communication along with
1070 normal APPS-MODEM SMD communication.
1071
1072config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001073 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001074 default y
1075 bool "MSM N-WAY SMSM support"
1076 help
1077 Supports APPS-QDSP SMSM communication along with
1078 normal APPS-MODEM SMSM communication.
1079
1080config MSM_RESET_MODEM
1081 tristate "Reset Modem Driver"
1082 depends on MSM_SMD
1083 default m
1084 help
1085 Allows the user to reset the modem through a device node.
1086
1087config MSM_SMD_LOGGING
1088 depends on MSM_SMD
1089 default y
1090 bool "MSM Shared Memory Logger"
1091 help
1092 This option exposes the shared memory logger at /dev/smem_log
1093 and a debugfs node named smem_log.
1094
1095 If in doubt, say yes.
1096
1097config MSM_SMD_NMEA
1098 bool "NMEA GPS Driver"
1099 depends on MSM_SMD
1100 default y
1101 help
1102 Enable this to support the NMEA GPS device.
1103
1104 If in doubt, say yes.
1105
1106config MSM_SDIO_TTY
1107 bool "SDIO TTY Driver"
1108 depends on MSM_SDIO_AL
1109 default n
1110 help
1111 Provides a TTY driver SDIO TTY
1112 This driver can be used by user space
1113 applications for passing data through the
1114 SDIO interface.
1115
1116config MSM_SMD_TTY
1117 bool "SMD TTY Driver"
1118 depends on MSM_SMD
1119 default y
1120 help
1121 Provides TTY interfaces to interact with the modem.
1122
1123 If in doubt, say yes.
1124
1125config MSM_SMD_QMI
1126 bool "SMD QMI Driver"
1127 depends on MSM_SMD
1128 default y
1129 help
1130 Manages network data connections.
1131
1132 If in doubt, say yes.
1133
1134config MSM_SMD_PKT
1135 bool "SMD Packet Driver"
1136 depends on MSM_SMD
1137 default y
1138 help
1139 Provides a binary SMD non-muxed packet port interface.
1140
1141 If in doubt, say yes.
1142
1143config MSM_SDIO_CMUX
1144 bool "SDIO CMUX Driver"
1145 depends on MSM_SDIO_AL
1146 default n
1147 help
1148 Provides a Muxed port interface over SDIO QMI
1149
1150config MSM_DSPS
1151 bool "Sensors DSPS driver"
1152 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1153 default n
1154 help
1155 Provides user-space interface to the sensors manager
1156 to turn on/off the Sensors Processor system clocks.
1157 It is the DSPS responsibility to turn on/off the sensors
1158 themself.
1159 The number of clocks and their name may vary between targets.
1160 It also triggers the PIL to load the DSPS firmware.
1161
1162config MSM_SDIO_CTL
1163 bool "SDIO CTL Driver"
1164 depends on MSM_SDIO_CMUX
1165 default n
1166 help
1167 Provides a binary SDIO control port interface.
1168
1169config MSM_ONCRPCROUTER
1170 depends on MSM_SMD
1171 default n
1172 bool "MSM ONCRPC router support"
1173 help
1174 Support for the MSM ONCRPC router for communication between
1175 the ARM9 and ARM11
1176
1177config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001178 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001179 default n
1180 bool "MSM IPC Router support"
1181 help
1182 Support for the MSM IPC Router for communication between
1183 the APPs and the MODEM
1184
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001185config MSM_IPC_ROUTER_SMD_XPRT
1186 depends on MSM_SMD
1187 depends on MSM_IPC_ROUTER
1188 default n
1189 bool "MSM SMD XPRT Layer"
1190 help
1191 SMD Transport Layer for IPC Router
1192
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001193config MSM_ONCRPCROUTER_DEBUG
1194 depends on MSM_ONCRPCROUTER
1195 default y
1196 bool "MSM debug ONCRPC router support"
1197 help
1198 Support for debugging the ONCRPC router for communication
1199 between the ARM9 and ARM11
1200
1201config MSM_RPC_LOOPBACK_XPRT
1202 depends on MSM_ONCRPCROUTER
1203 default n
1204 bool "MSM RPC local routing support"
1205 help
1206 Support for routing RPC messages between APPS clients
1207 and APPS servers. Helps in testing APPS RPC framework.
1208
1209config MSM_RPCSERVER_TIME_REMOTE
1210 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1211 default y
1212 bool "Time remote RPC server"
1213 help
1214 The time remote server receives notification of time bases and
1215 reports these events to registered callback functions.
1216
1217config MSM_RPCSERVER_WATCHDOG
1218 depends on MSM_ONCRPCROUTER
1219 default y
1220 bool "Watchdog RPC server"
1221 help
1222 The dog_keepalive server handles watchdog events.
1223
1224config MSM_RPC_WATCHDOG
1225 depends on MSM_ONCRPCROUTER
1226 default n
1227 bool "Watchdog RPC client"
1228 help
1229 The dog_keepalive client module.
1230
1231config MSM_RPC_PING
1232 depends on MSM_ONCRPCROUTER && DEBUG_FS
1233 default m
1234 bool "MSM rpc ping"
1235 help
1236 Implements MSM rpc ping test module.
1237
1238config MSM_RPC_PROC_COMM_TEST
1239 depends on DEBUG_FS && MSM_PROC_COMM
1240 default m
1241 bool "MSM rpc proc comm test"
1242 help
1243 Implements MSM rpc proc comm test module.
1244
1245config MSM_RPC_OEM_RAPI
1246 depends on MSM_ONCRPCROUTER
1247 default m
1248 bool "MSM oem rapi"
1249 help
1250 Implements MSM oem rapi client module.
1251
1252config MSM_RPCSERVER_HANDSET
1253 depends on MSM_ONCRPCROUTER
1254 default y
1255 bool "Handset events RPC server"
1256 help
1257 Support for receiving handset events like headset detect,
1258 headset switch and clamshell state.
1259
1260config MSM_RMT_STORAGE_CLIENT
1261 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1262 default n
1263 bool "Remote Storage RPC client"
1264 help
1265 Provide RPC mechanism for remote processors to access storage
1266 device on apps processor.
1267
1268config MSM_RMT_STORAGE_CLIENT_STATS
1269 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1270 default n
1271 bool "Remote storage RPC client performance statistics"
1272 help
1273 Collects performance statistics and shows this information
1274 through a debugfs file rmt_storage_stats.
1275
1276config MSM_SDIO_SMEM
1277 depends on MSM_SDIO_AL
1278 default n
1279 bool "SDIO SMEM for remote storage"
1280 help
1281 Copies data from remote MDM9K memory to local MSM8x60
1282 memory. Used by remote storage client to shadow
1283 MDM9K filesystem.
1284
1285config MSM_DALRPC
1286 bool "DAL RPC support"
1287 depends on ARCH_MSM_SCORPION || ARCH_MSM_KRAIT
1288 default y
1289 help
1290 Supports RPC calls to DAL devices on remote processor cores.
1291
1292config MSM_DALRPC_TEST
1293 tristate "DAL RPC test module"
1294 depends on (MSM_DALRPC && DEBUG_FS)
1295 default m
1296 help
1297 Exercises DAL RPC calls to QDSP6.
1298
1299if CPU_FREQ_MSM
1300
1301config MSM_CPU_FREQ_SET_MIN_MAX
1302 bool "Set Min/Max CPU frequencies."
1303 default n
1304 help
1305 Allow setting min and max CPU frequencies. Sysfs can be used
1306 to override these values.
1307
1308config MSM_CPU_FREQ_MAX
1309 int "Max CPU Frequency"
1310 depends on MSM_CPU_FREQ_SET_MIN_MAX
1311 default 384000
1312
1313config MSM_CPU_FREQ_MIN
1314 int "Min CPU Frequency"
1315 depends on MSM_CPU_FREQ_SET_MIN_MAX
1316 default 245760
1317
1318endif # CPU_FREQ_MSM
1319
1320config MSM_CPU_AVS
1321 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1322 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1323 depends on ARCH_QSD8X50
1324 default n
1325 select MSM_AVS_HW
1326 help
1327 This enables the s/w control of Adaptive Voltage Scaling feature
1328 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1329 based on feedback from three ring oscillators in the CPU.
1330
1331config MSM_AVS_HW
1332 bool "Enable Adaptive Voltage Scaling (AVS)"
1333 default n
1334 help
1335 Enable AVS hardware to fine tune voltage at each frequency. The
1336 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1337 fine tune the voltages based on the feedback from the ring
1338 oscillators.
1339
1340config MSM_HW3D
1341 tristate "MSM Hardware 3D Register Driver"
1342 depends on ANDROID_PMEM
1343 default y
1344 help
1345 Provides access to registers needed by the userspace OpenGL|ES
1346 library.
1347
1348config MSM_ADSP
1349 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1350 tristate "MSM ADSP driver"
1351 depends on ANDROID_PMEM
1352 default y
1353 help
1354 Provides access to registers needed by the userspace aDSP library.
1355
1356config ADSP_RPC_VER
1357 hex
1358 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1359 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1360 depends on MSM_ADSP
1361 help
1362 Select proper ADSP RPC version
1363choice
1364 prompt "ADSP RPC version"
1365
1366 default AMSS_7X25_VERSION_2009
1367
1368 config AMSS_7X25_VERSION_2009
1369 bool "2.0.09"
1370
1371 config AMSS_7X25_VERSION_2008
1372 bool "2.0.08"
1373endchoice
1374
1375config MSM7KV2_AUDIO
1376 bool "MSM7K v2 audio"
1377 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1378 default y
1379 help
1380 Enables QDSP5V2-based audio drivers for audio playbacks and
1381 voice call.
1382
1383config MSM_ADSP_REPORT_EVENTS
1384 bool "Report modem events from the DSP"
1385 default y
1386 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1387 help
1388 Normally, only messages from the aDSP are reported to userspace.
1389 With this option, we report events from the aDSP as well.
1390
1391config MSM_QDSP6
1392 tristate "QDSP6 support"
1393 depends on ARCH_QSD8X50 && ANDROID_PMEM
1394 default y
1395 help
1396 Enable support for qdsp6. This provides audio and video functionality.
1397
1398config MSM8X60_AUDIO
1399 tristate "MSM8X60 audio support"
1400 depends on ARCH_MSM8X60 && ANDROID_PMEM
1401 default y
1402 help
1403 Enable support for qdsp6v2. This provides audio functionality.
1404
1405config MSM8X60_FTM_AUDIO_DEVICES
1406 bool "MSM8X60 audio factory test mode support"
1407 depends on MSM8X60_AUDIO
1408 help
1409 Enable support audio factory test mode devices. This is used
1410 in a production line environment.
1411
Ben Romberger45b351c2011-07-20 22:37:27 -07001412config RTAC
1413 bool "MSM8K real-time audio calibration support"
1414 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001415 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001416 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001417 audio operation
1418
1419config MSM7X27A_AUDIO
1420 bool "MSM7X27A audio support"
1421 depends on ARCH_MSM7X27A && MSM_ADSP
1422 default n
1423 help
1424 Enable support for 7x27a. This provides audio functionality.
1425
Justin Pauporea6cd2092011-06-22 16:19:45 -07001426config MSM_PROC_COMM_REGULATOR
1427 bool
1428 depends on MSM_PROC_COMM && REGULATOR
1429 help
1430 Enable regulator framework support for regulators managed by PMLIB
1431 on the modem, and controlled through proccomm calls.
1432
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001433config MSM_VREG_SWITCH_INVERTED
1434 bool "Reverse vreg switch polarity"
1435 default n
1436 help
1437 Reverses the enable and disable for vreg switch.
1438
1439config MSM_DMA_TEST
1440 tristate "MSM DMA test module"
1441 default m
1442 help
1443 Intended to be compiled as a module. Provides a device node
1444 and ioctls for testing the MSM dma system.
1445
1446config WIFI_CONTROL_FUNC
1447 bool "Enable WiFi control function abstraction"
1448 help
1449 Enables Power/Reset/Carddetect function abstraction
1450
1451config WIFI_MEM_PREALLOC
1452 depends on WIFI_CONTROL_FUNC
1453 bool "Preallocate memory for WiFi buffers"
1454 help
1455 Preallocates memory buffers for WiFi driver
1456
1457config QSD_AUDIO
1458 bool "QSD audio"
1459 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1460 default y
1461 help
1462 Provides PCM, MP3, and AAC audio playback.
1463
1464config AUDIO_AAC_PLUS
1465 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1466 bool "AAC+ Audio"
1467 default y
1468 help
1469 Provides AAC+ decoding
1470
1471config AUDIO_ENHANCED_AAC_PLUS
1472 depends on AUDIO_AAC_PLUS
1473 bool "Enhanced AAC+ Audio"
1474 default y
1475 help
1476 Provides Enhanced AAC+ decoding
1477
1478config SURF_FFA_GPIO_KEYPAD
1479 bool "MSM SURF/FFA GPIO keypad"
1480 depends on INPUT_GPIO = "y"
1481 default y
1482 help
1483 Select if the GPIO keypad is attached.
1484
1485config MSM_SLEEP_TIME_OVERRIDE
1486 bool "Allow overriding suspend/sleep time with PM module parameter"
1487 default y
1488 help
1489 Enable the module parameter sleep_time_override. Specified
1490 in units of seconds, it overwrites the normal sleep time of
1491 suspend. The feature is required for automated power management
1492 testing.
1493
1494config MSM_MEMORY_LOW_POWER_MODE
1495 bool "Control the low power modes of memory"
1496 default n
1497 help
1498 The application processor controls whether memory should enter
1499 which low power mode.
1500
1501choice
1502 prompt "Default Memory Low Power Mode during Idle"
1503 depends on MSM_MEMORY_LOW_POWER_MODE
1504 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1505 help
1506 Selects the default low power mode of the memory during idle
1507 sleep.
1508
1509 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1510 bool "Memory active"
1511
1512 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1513 bool "Memory in retention"
1514
1515 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1516 bool "Memory in deep power down"
1517endchoice
1518
1519choice
1520 prompt "Default Memory Low Power Mode during Suspend"
1521 depends on MSM_MEMORY_LOW_POWER_MODE
1522 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1523 help
1524 Selects the default low power mode of the memory during suspend
1525 sleep.
1526
1527 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1528 bool "Memory active"
1529
1530 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1531 bool "Memory in retention"
1532
1533 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1534 bool "Memory in deep power down"
1535endchoice
1536
1537choice
1538 prompt "Power management timeout action"
1539 default MSM_PM_TIMEOUT_HALT
1540 help
1541 Selects the Application Processor's action when Power Management
1542 times out waiting for Modem's handshake.
1543
1544 config MSM_PM_TIMEOUT_HALT
1545 bool "Halt the Application Processor"
1546
1547 config MSM_PM_TIMEOUT_RESET_MODEM
1548 bool "Reset the Modem Processor"
1549
1550 config MSM_PM_TIMEOUT_RESET_CHIP
1551 bool "Reset the entire chip"
1552endchoice
1553
1554config MSM_IDLE_WAIT_ON_MODEM
1555 int "Wait for Modem to become ready for idle power collapse"
1556 default 0
1557 help
1558 If Modem is not ready to handle Application Processor's request
1559 for idle power collapse, wait the number of microseconds in case
1560 Modem becomes ready soon.
1561
1562config MSM_PIL
1563 bool "Peripheral image loading"
1564 select FW_LOADER
1565 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1566 default n
1567 help
1568 Some peripherals need to be loaded into memory before they can be
1569 brought out of reset.
1570
1571 Say yes to support these devices.
1572
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001573config MSM_SCM
1574 bool "Secure Channel Manager (SCM) support"
1575 default n
1576
1577config MSM_SUBSYSTEM_RESTART
1578 bool "MSM Subsystem Restart Driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001579 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001580 default n
1581 help
1582 This option enables the MSM subsystem restart driver, which provides
1583 a framework to handle subsystem crashes.
1584
Matt Wagantallf8020902011-08-30 21:19:23 -07001585config MSM_SYSMON_COMM
1586 bool "MSM System Monitor communication support"
1587 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1588 default y
1589 help
1590 This option adds support for MSM System Monitor library, which
1591 provides an API that may be used for notifying subsystems within
1592 the SoC about other subsystems' power-up/down state-changes.
1593
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001594config MSM_MODEM_8960
1595 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001596 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001597 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001598 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001599 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001600 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001601
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001602config MSM_LPASS_8960
1603 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001604 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001605 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001606 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001607 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001608 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001609
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001610config MSM_WCNSS_SSR_8960
1611 tristate "MSM 8960 WCNSS restart module"
1612 depends on (ARCH_MSM8960)
1613 help
1614 This option enables the WCNSS restart module for MSM8960, which
1615 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1616 into the subsystem restart framework.
1617
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001618config SCORPION_Uni_45nm_BUG
1619 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1620 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1621 default y
1622 help
1623 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1624 invalidating the Branch Predictor Array by Modified Virtual Address can
1625 create invalid entries in the TLB with the wrong ASID values on Scorpion
1626 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1627 workaround for Scorpion Uniprocessor 45nm cores.
1628
1629 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1630
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001631config MSM_BUSPM_DEV
1632 tristate "MSM Bus Performance Monitor Kernel Module"
1633 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1634 default m
1635 help
1636 This kernel module is used to mmap() hardware registers for the
1637 performance monitors, counters, etc. The module can also be used to
1638 allocate physical memory which is used by bus performance hardware to
1639 dump performance data.
1640
Mona Hossain11c03ac2011-10-26 12:42:10 -07001641config MSM_TZ_LOG
1642 tristate "MSM Trust Zone (TZ) Log Driver"
1643 depends on DEBUG_FS
1644 help
1645 This option enables a driver with a debugfs interface for messages
1646 produced by the Secure code (Trust zone). These messages provide
1647 diagnostic information about TZ operation.
1648
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001649config MSM_RPM_LOG
1650 tristate "MSM Resource Power Manager Log Driver"
1651 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001652 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001653 default n
1654 help
1655 This option enables a driver which can read from a circular buffer
1656 of messages produced by the RPM. These messages provide diagnostic
1657 information about RPM operation. The driver outputs the messages
1658 via a debugfs node.
1659
1660config MSM_RPM_STATS_LOG
1661 tristate "MSM Resource Power Manager Stat Driver"
1662 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001663 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001664 default n
1665 help
1666 This option enables a driver which reads RPM messages from a shared
1667 memory location. These messages provide statistical information about
1668 the low power modes that RPM enters. The drivers outputs the message
1669 via a debugfs node.
1670
1671config MSM_IOMMU
1672 bool "MSM IOMMU Support"
Joel King41d594e2011-10-14 13:18:20 -07001673 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_APQ8064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001674 select IOMMU_API
1675 default n
1676 help
1677 Support for the IOMMUs found on certain Qualcomm SOCs.
1678 These IOMMUs allow virtualization of the address space used by most
1679 cores within the multimedia subsystem.
1680
1681 If unsure, say N here.
1682
1683config IOMMU_PGTABLES_L2
1684 bool "Allow SMMU page tables in the L2 cache (Experimental)"
1685 depends on MSM_IOMMU=y
1686 depends on MMU
1687 depends on CPU_DCACHE_DISABLE=n
1688 depends on SMP
1689 default y
1690 help
1691 Improves TLB miss latency at the expense of potential L2 pollution.
1692 However, with large multimedia buffers, the TLB should mostly contain
1693 section mappings and TLB misses should be quite infrequent.
1694 Most people can probably say Y here.
1695
1696config MSM_DIRECT_SCLK_ACCESS
1697 bool "Direct access to the SCLK timer"
1698 default n
1699
1700config IOMMU_API
1701 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001702
Gregory Beanab78cde2010-09-01 16:26:12 -07001703config MSM_GPIOMUX
1704 bool
1705
Gregory Bean1963a2a2010-08-28 10:05:44 -07001706config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001707 bool
1708
1709config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07001710 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001711
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001712config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001713 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001714
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001715config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001716 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001717
1718config MSM_BUS_SCALING
1719 bool "Bus scaling driver"
1720 default n
1721
Gagan Mac85c70492011-06-10 16:07:47 -06001722config MSM_BUS_RPM_MULTI_TIER_ENABLED
1723 bool "RPM Multi-tiering Configuration"
1724 depends on MSM_BUS_SCALING
1725
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001726config MSM_WATCHDOG
1727 bool "MSM Watchdog Support"
Rohit Vaswani085a9332011-09-28 18:57:24 -07001728 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001729 help
1730 This enables the watchdog as is present on 8x60. Currently we use
1731 core 0's watchdog, and reset the entire SoC if it times out. It does
1732 not run during the bootup process, so it will not catch any early
1733 lockups.
1734
1735config MSM_DLOAD_MODE
1736 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07001737 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001738 default n
1739 help
1740 This makes the SoC enter download mode when it resets
1741 due to a kernel panic. Note that this doesn't by itself
1742 make the kernel reboot on a kernel panic - that must be
1743 enabled via another mechanism.
1744
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001745config HAS_QDSS
1746 bool "QDSS Present"
1747 help
1748 Select this if the chip has Qualcomm Debug Subsystem implemented.
1749
1750config MSM_DEBUG_ACROSS_PC
1751 bool "Debug support across power collapse"
1752 help
1753 Enables debug state to be saved and restored across power collapse.
1754
1755config MSM_JTAG_V7
1756 depends on CPU_V7 && !HAS_QDSS
1757 default y if DEBUG_KERNEL
1758 bool "JTAG debug support"
1759 select MSM_DEBUG_ACROSS_PC
1760 help
1761 Add additional support for JTAG kernel debugging.
1762
Pratik Patel7831c082011-06-08 21:44:37 -07001763config MSM_TRACE_ACROSS_PC
1764 bool "Trace support across power collapse"
Pratik Patel7831c082011-06-08 21:44:37 -07001765 help
1766 Enables trace state to be saved and restored across power collapse.
1767
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001768config MSM_ETM
1769 tristate "Enable MSM ETM and ETB"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001770 depends on ARCH_MSM8X60 && !HAS_QDSS
Pratik Patel7831c082011-06-08 21:44:37 -07001771 select MSM_TRACE_ACROSS_PC
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001772 help
Pratik Patel7831c082011-06-08 21:44:37 -07001773 Enables embedded trace collection on Qualcomm v7 CPUs.
1774
1775config MSM_QDSS
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001776 bool "Qualcomm Debug Subsystem"
1777 depends on HAS_QDSS
1778 select MSM_DEBUG_ACROSS_PC
Pratik Patel7831c082011-06-08 21:44:37 -07001779 select MSM_TRACE_ACROSS_PC
1780 help
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001781 Enables support for Qualcomm Debug Subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001782
1783config MSM_SLEEP_STATS
1784 bool "Enable exporting of MSM sleep stats to userspace"
1785 depends on CPU_IDLE
1786 default n
1787
1788config MSM_STANDALONE_POWER_COLLAPSE
1789 bool "Enable standalone power collapse"
1790 default n
1791
1792config MSM_GSBI9_UART
1793 bool "Enable GSBI9 UART device"
1794 default n
1795 help
1796 This enables GSBI9 configured into UART.
1797
1798config MSM_SHARED_GPIO_FOR_UART2DM
1799 bool "Use shared GPIOs into UART mode"
1800 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
1801 help
1802 This option configures GPIO muxed with SDC4/MMC3
1803 8-bit mode into UART mode. It is used for serial
1804 console on UART2DM. Say Y if you want to have
1805 serial console on UART2DM.
1806
1807config MSM_SHOW_RESUME_IRQ
1808 bool "Enable logging of interrupts that could have caused resume"
Sathish Ambleyd4efc762011-10-09 22:19:22 -07001809 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSMCOPPER)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001810 default n
1811 help
1812 This option logs wake up interrupts that have triggered just before
1813 the resume loop unrolls. Say Y if you want to debug why the system
1814 resumed.
1815
1816config BT_MSM_PINTEST
1817 tristate "MSM Bluetooth Pin Connectivity Test"
1818 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
1819 default n
1820 help
1821 Bluetooth MSM Pin Connectivity test module.
1822 This driver provides support for verifying the MSM to BT pin
1823 connectivity.
1824
1825config MSM_FAKE_BATTERY
1826 depends on POWER_SUPPLY
1827 default n
1828 bool "MSM Fake Battery"
1829 help
1830 Enables MSM fake battery driver.
1831
1832config MSM_QDSP6_APR
1833 bool "Audio QDSP6 APR support"
1834 depends on MSM_SMD
1835 default n
1836 help
1837 Enable APR IPC protocol support between
1838 application processor and QDSP6. APR is
1839 used by audio driver to configure QDSP6's
1840 ASM, ADM and AFE.
1841
1842
1843config MSM_AUDIO_QDSP6
1844 bool "QDSP6 HW Audio support"
1845 select SND_SOC_MSM_QDSP6_INTF
1846 default n
1847 help
1848 Enable HW audio support in QDSP6.
1849 QDSP6 can support HW encoder & decoder and audio processing
1850
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02001851config MSM_ULTRASOUND
1852 bool "MSM ultrasound support"
1853 depends on MSM_AUDIO_QDSP6
1854 help
1855 Enable support for qdsp6/ultrasound.
1856
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001857config MSM_RPC_VIBRATOR
1858 bool "RPC based MSM Vibrator Support"
1859 depends on MSM_ONCRPCROUTER
1860 help
1861 Enable the vibrator support on MSM over RPC. The vibrator
1862 is connected on the PMIC. Say Y if you want to enable this
1863 feature.
1864
1865config PM8XXX_RPC_VIBRATOR
1866 bool "RPC based Vibrator on PM8xxx PMICs"
1867 depends on MSM_RPC_VIBRATOR
1868 help
1869 Enable the vibrator support on MSM over RPC. The vibrator
1870 is connected on the PM8XXX PMIC. Say Y if you want to enable
1871 this feature.
1872
1873config MSM_SPM_V1
1874 bool "Driver support for SPM Version 1"
1875 help
1876 Enables the support for Version 1 of the SPM driver. SPM hardware is
1877 used to manage the processor power during sleep. The driver allows
1878 configuring SPM to allow different power modes.
1879
1880config MSM_SPM_V2
1881 bool "Driver support for SPM Version 2"
1882 help
1883 Enables the support for Version 2 of the SPM driver. SPM hardware is
1884 used to manage the processor power during sleep. The driver allows
1885 configuring SPM to allow different power modes.
1886
1887config MSM_L2_SPM
1888 bool "SPM support for L2 cache"
1889 depends on MSM_SPM_V2
1890 help
1891 Enable SPM driver support for L2 cache. Some MSM chipsets allow
1892 control of L2 cache low power mode with a Subsystem Power manager.
1893 Enabling this driver allows configuring L2 SPM for low power modes
1894 on supported chipsets.
1895
Laura Abbott2d1760b2011-09-29 21:31:24 -07001896config MSM_MULTIMEDIA_USE_ION
1897 bool "Multimedia suport using Ion"
1898 depends on ION_MSM
1899 help
1900 Enable support for multimedia drivers using Ion for buffer management
1901 instead of pmem. Selecting this may also involve userspace
1902 dependencies as well.
1903
Brian Swetland9e73c842007-11-26 04:12:13 -08001904endif