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