blob: 5663ef7df907ed827be76666f95592a69e8745fd [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
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800255 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700256
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700257config MSM_SMP
258 bool
259
260config ARCH_MSM_SCORPIONMP
261 select ARCH_MSM_SCORPION
262 select MSM_SMP
263 bool
264
265config ARCH_MSM_KRAITMP
266 select ARCH_MSM_KRAIT
267 select MSM_SMP
268 bool
269
270config ARCH_MSM_CORTEX_A5
271 bool
272 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
273
274config ARCH_MSM7X27A
275 bool
276 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700277 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530278 select MULTI_IRQ_HANDLER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700279
Gregory Beanf9f3d312010-04-30 22:06:50 -0700280config MSM_VIC
281 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700282
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700283config MSM_RPM
284 bool "Resource Power Manager"
285 select MSM_MPM
286
287config MSM_MPM
288 bool "Modem Power Manager"
289
290config MSM_XO
291 bool
292
293config MSM_REMOTE_SPINLOCK_DEKKERS
294 bool
295config MSM_REMOTE_SPINLOCK_SWP
296 bool
297config MSM_REMOTE_SPINLOCK_LDREX
298 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600299config MSM_REMOTE_SPINLOCK_SFPB
300 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700301config MSM_ADM3
302 bool
303
304menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700305
306config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700307 depends on ARCH_MSM7X01A
308 depends on MSM_STACKED_MEMORY
309 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700310 bool "Halibut Board (QCT SURF7201A)"
311 help
312 Support for the Qualcomm SURF7201A eval board.
313
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700314config MACH_MSM7201A_SURF
315 depends on ARCH_MSM7X01A
316 depends on MSM_STACKED_MEMORY
317 default y
318 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700319 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700320 Support for the Qualcomm MSM7201A SURF eval board.
321
322config MACH_MSM7201A_FFA
323 depends on ARCH_MSM7X01A
324 depends on MSM_STACKED_MEMORY
325 default y
326 bool "MSM7201A FFA"
327 help
328 Support for the Qualcomm MSM7201A FFA eval board.
329
330config MACH_TROUT
331 depends on ARCH_MSM7X01A
332 depends on MSM_STACKED_MEMORY
333 default y
334 bool "Trout"
335
336config MACH_MSM7X27_SURF
337 depends on ARCH_MSM7X27
338 depends on !MSM_STACKED_MEMORY
339 default y
340 bool "MSM7x27 SURF"
341 help
342 Support for the Qualcomm MSM7x27 SURF eval board.
343
344config MACH_MSM7X27_FFA
345 depends on ARCH_MSM7X27
346 depends on !MSM_STACKED_MEMORY
347 default y
348 bool "MSM7x27 FFA"
349 help
350 Support for the Qualcomm MSM7x27 FFA eval board.
351
352config MACH_MSM7X27A_RUMI3
353 depends on ARCH_MSM7X27A
354 depends on !MSM_STACKED_MEMORY
355 default y
356 bool "MSM7x27A RUMI3"
357 help
358 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
359
360config MACH_MSM7X27A_SURF
361 depends on ARCH_MSM7X27A
362 depends on !MSM_STACKED_MEMORY
363 default y
364 bool "MSM7x27A SURF"
365 help
366 Support for the Qualcomm MSM7x27A SURF.
367
368config MACH_MSM7X27A_FFA
369 depends on ARCH_MSM7X27A
370 depends on !MSM_STACKED_MEMORY
371 default y
372 bool "MSM7x27A FFA"
373 help
374 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700375
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530376config MACH_MSM7625A_SURF
377 depends on ARCH_MSM7X27A
378 depends on !MSM_STACKED_MEMORY
379 default y
380 bool "MSM7625A SURF"
381 help
382 Support for the Qualcomm MSM7625A SURF.
383
384config MACH_MSM7625A_FFA
385 depends on ARCH_MSM7X27A
386 depends on !MSM_STACKED_MEMORY
387 default y
388 bool "MSM7625A FFA"
389 help
390 Support for the Qualcomm MSM7625A FFA.
391
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530392config MACH_MSM7627A_QRD1
393 depends on ARCH_MSM7X27A
394 depends on !MSM_STACKED_MEMORY
395 default y
396 bool "MSM7627A QRD1"
397 help
398 Support for the Qualcomm MSM7627A Refrence Design.
399
Daniel Walker7b521612010-05-06 12:44:57 -0700400config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700401 depends on ARCH_MSM7X30
402 depends on !MSM_STACKED_MEMORY
403 default y
404 bool "MSM7x30 SURF"
405 help
406 Support for the Qualcomm MSM7x30 SURF eval board.
407
408config MACH_MSM7X30_FFA
409 depends on ARCH_MSM7X30
410 depends on !MSM_STACKED_MEMORY
411 default y
412 bool "MSM7x30 FFA"
413 help
414 Support for the Qualcomm MSM7x30 FFA eval board.
415
416config MACH_MSM7X30_FLUID
417 depends on ARCH_MSM7X30
418 depends on !MSM_STACKED_MEMORY
419 default y
420 bool "MSM7x30 FLUID"
421 help
422 Support for the Qualcomm MSM7x30 FLUID eval board.
423
424config MACH_SAPPHIRE
425 depends on ARCH_MSM7X01A
426 default n
427 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700428
Daniel Walker4ad15e62010-05-06 13:54:17 -0700429config MACH_QSD8X50_SURF
430 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700431 depends on MSM_SOC_REV_NONE
432 depends on MSM_STACKED_MEMORY
433 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700434 bool "QSD8x50 SURF"
435 help
436 Support for the Qualcomm QSD8x50 SURF eval board.
437
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700438config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700439 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700440 depends on MSM_SOC_REV_NONE
441 depends on MSM_STACKED_MEMORY
442 default y
443 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700444 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700445 Support for the Qualcomm QSD8x50 FFA eval board.
446
447config MACH_MSM7X25_SURF
448 depends on ARCH_MSM7X25
449 depends on !MSM_STACKED_MEMORY
450 default y
451 bool "MSM7x25 SURF"
452 help
453 Support for the Qualcomm MSM7x25 SURF eval board.
454
455config MACH_MSM7X25_FFA
456 depends on ARCH_MSM7X25
457 depends on !MSM_STACKED_MEMORY
458 default y
459 bool "MSM7x25 FFA"
460 help
461 Support for the Qualcomm MSM7x25 FFA eval board.
462
463config MACH_MSM8X55_SURF
464 depends on ARCH_MSM7X30
465 depends on !MSM_STACKED_MEMORY
466 default y
467 bool "MSM8X55 SURF"
468 help
469 Support for the Qualcomm MSM8x55 SURF eval board.
470
471config MACH_MSM8X55_FFA
472 depends on ARCH_MSM7X30
473 depends on !MSM_STACKED_MEMORY
474 default y
475 bool "MSM8X55 FFA"
476 help
477 Support for the Qualcomm MSM8x55 FFA eval board.
478
479config MACH_MSM8X55_SVLTE_FFA
480 depends on ARCH_MSM7X30
481 depends on !MSM_STACKED_MEMORY
482 default y
483 bool "MSM8X55 SVLTE FFA"
484 help
485 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
486
487config MACH_MSM8X55_SVLTE_SURF
488 depends on ARCH_MSM7X30
489 depends on !MSM_STACKED_MEMORY
490 default y
491 bool "MSM8X55 SVLTE SURF"
492 help
493 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700494
Steve Mucklea55df6e2010-01-07 12:43:24 -0800495config MACH_MSM8X60_RUMI3
496 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700497 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800498 bool "MSM8x60 RUMI3"
499 help
500 Support for the Qualcomm MSM8x60 RUMI3 emulator.
501
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800502config MACH_MSM8X60_SIM
503 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700504 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800505 bool "MSM8x60 Simulator"
506 help
507 Support for the Qualcomm MSM8x60 simulator.
508
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700509config MACH_MSM8X60_SURF
510 depends on ARCH_MSM8X60
511 default n
512 bool "MSM8x60 SURF"
513 help
514 Support for the Qualcomm MSM8x60 SURF eval board.
515
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700516config MACH_MSM8X60_FFA
517 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700518 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700519 bool "MSM8x60 FFA"
520 help
521 Support for the Qualcomm MSM8x60 FFA eval board.
522
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700523config MACH_MSM8X60_FLUID
524 depends on ARCH_MSM8X60
525 default n
526 bool "MSM8x60 FLUID"
527 help
528 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
529 8x60 target which has a form factor that is much closer to that
530 of a phone than other targets. It also has a new display and
531 touchscreen controller.
532
533config MACH_MSM8X60_FUSION
534 depends on ARCH_MSM8X60
535 default n
536 bool "MSM8x60 FUSION"
537 help
538 Support for the Qualcomm MSM8x60 Fusion SURF device.
539
540config MACH_MSM8X60_FUSN_FFA
541 depends on ARCH_MSM8X60
542 default n
543 bool "MSM8x60 FUSN FFA"
544 help
545 Support for the Qualcomm MSM8x60 Fusion FFA device.
546
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400547config MACH_MSM8X60_DRAGON
548 depends on ARCH_MSM8X60
549 default n
550 bool "MSM8x60 DRAGON"
551 help
552 Support for the Qualcomm MSM8x60 Dragon board.
553
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800554config MACH_MSM8960_SIM
555 depends on ARCH_MSM8960
556 bool "MSM8960 Simulator"
557 help
558 Support for the Qualcomm MSM8960 simulator.
559
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800560config MACH_MSM8960_RUMI3
561 depends on ARCH_MSM8960
562 bool "MSM8960 RUMI3"
563 help
564 Support for the Qualcomm MSM8960 RUMI3 emulator.
565
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700566config MACH_MSM8960_CDP
567 depends on ARCH_MSM8960
568 bool "MSM8960 CDP"
569 help
570 Support for the Qualcomm MSM8960 CDP device.
571
572config MACH_MSM8960_MTP
573 depends on ARCH_MSM8960
574 bool "MSM8960 MTP"
575 help
576 Support for the Qualcomm MSM8960 MTP device.
577
578config MACH_MSM8960_FLUID
579 depends on ARCH_MSM8960
580 bool "MSM8960 FLUID"
581 help
582 Support for the Qualcomm MSM8960 FLUID device.
583
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300584config MACH_MSM8960_LIQUID
585 depends on ARCH_MSM8960
586 bool "MSM8960 LIQUID"
587 help
588 Support for the Qualcomm MSM8960 LIQUID device.
589
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700590config MACH_MSM8930_CDP
591 depends on ARCH_MSM8930
592 bool "MSM8930 CDP"
593 help
594 Support for the Qualcomm MSM8930 CDP device.
595
596config MACH_MSM8930_MTP
597 depends on ARCH_MSM8930
598 bool "MSM8930 MTP"
599 help
600 Support for the Qualcomm MSM8930 MTP device.
601
602config MACH_MSM8930_FLUID
603 depends on ARCH_MSM8930
604 bool "MSM8930 FLUID"
605 help
606 Support for the Qualcomm MSM8930 FLUID device.
607
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800608config MACH_MSM8627_CDP
609 depends on ARCH_MSM8930
610 bool "MSM8627 CDP"
611 help
612 Support for the Qualcomm MSM8627 CDP device.
613
614config MACH_MSM8627_MTP
615 depends on ARCH_MSM8930
616 bool "MSM8627 MTP"
617 help
618 Support for the Qualcomm MSM8627 MTP device.
619
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700620config MACH_MSM9615_CDP
621 depends on ARCH_MSM9615
622 bool "MSM9615 CDP"
623 help
624 Support for the Qualcomm MSM9615 CDP device.
625
626config MACH_MSM9615_MTP
627 depends on ARCH_MSM9615
628 bool "MSM9615 MTP"
629 help
630 Support for the Qualcomm MSM9615 MTP device.
631
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700632config MSM_USE_TSIF1
633 depends on ARCH_MSM8X60
634 bool "MSM8x60 use TSIF1"
635 help
636 Selects TSIF1 core to be used rather than TSIF0.
637 The two TSIF cores share the same DM configuration
638 so they cannot be used simultaneously.
639
640config MACH_APQ8064_SIM
641 depends on ARCH_APQ8064
642 bool "APQ8064 Simulator"
643 help
644 Support for the Qualcomm APQ8064 simulator.
645
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700646config MACH_APQ8064_RUMI3
647 depends on ARCH_APQ8064
648 bool "APQ8064 RUMI3"
649 help
650 Support for the Qualcomm APQ8064 RUMI3 emulator.
651
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700652config MACH_FSM9XXX_SURF
653 depends on ARCH_FSM9XXX
654 depends on !MSM_STACKED_MEMORY
655 default y
656 bool "FSM9XXX SURF"
657 help
658 Support for the Qualcomm FSM9xxx femtocell
659 chipset based SURF evaluation board and
660 FFA board.
661
Daniel Walker4ad15e62010-05-06 13:54:17 -0700662endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800663
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700664config MSM_STACKED_MEMORY
665 bool "Stacked Memory"
666 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800667 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700668 This option is used to indicate the presence of on-die stacked
669 memory. When present this memory bank is used for a high speed
670 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800671
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700672config PHYS_OFFSET
673 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700674 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700675 default "0x80200000" if ARCH_APQ8064
676 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700677 default "0x80200000" if ARCH_MSM8930
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700678 default "0x80200000" if ARCH_MSMCOPPER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700679 default "0x10000000" if ARCH_FSM9XXX
680 default "0x00200000" if !MSM_STACKED_MEMORY
681 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
682 default "0x20000000" if ARCH_QSD8X50
683 default "0x40200000" if ARCH_MSM8X60
684 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800685
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700686config KERNEL_PMEM_EBI_REGION
687 bool "Enable in-kernel PMEM region for EBI"
688 default y if ARCH_MSM8X60
689 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960)
690 help
691 Enable the in-kernel PMEM allocator to use EBI memory.
692
693config KERNEL_PMEM_SMI_REGION
694 bool "Enable in-kernel PMEM region for SMI"
695 default y if ARCH_MSM8X60
696 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
697 help
698 Enable the in-kernel PMEM allocator to use SMI memory.
699
700config PMEM_GPU0
701 bool "Enable PMEM GPU0 region"
702 default y
703 depends on ARCH_QSD8X50 && ANDROID_PMEM
704 help
705 Enable the PMEM GPU0 device on SMI Memory.
706
707config MSM_AMSS_VERSION
708 int
709 default 6210 if MSM_AMSS_VERSION_6210
710 default 6220 if MSM_AMSS_VERSION_6220
711 default 6225 if MSM_AMSS_VERSION_6225
712
713choice
714 prompt "AMSS modem firmware version"
715
716 default MSM_AMSS_VERSION_6225
717
718 config MSM_AMSS_VERSION_6210
719 bool "6.2.10"
720
721 config MSM_AMSS_VERSION_6220
722 bool "6.2.20"
723
724 config MSM_AMSS_VERSION_6225
725 bool "6.2.20 + New ADSP"
726endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800727
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700728config MSM_HAS_DEBUG_UART_HS
729 bool
730 help
731 Say Y here if high speed MSM UART is present.
732
733config MSM_HAS_DEBUG_UART_HS_V14
734 bool
735 select MSM_HAS_DEBUG_UART_HS
736 help
737 Say Y here if high speed MSM UART v1.4 is present.
738
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800739config DEBUG_MSM8930_UART
740 bool "Kernel low-level debugging messages via MSM 8930 UART"
741 depends on ARCH_MSM8930 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700742 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800743 help
744 Say Y here if you want the debug print routines to direct
745 their output to the serial port on MSM 8930 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100746
747choice
748 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800749 depends on DEBUG_LL
Pavel Machek6339f662009-11-02 11:48:29 +0100750
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800751 config DEBUG_MSM_UART1
752 bool "Kernel low-level debugging messages via MSM UART1"
753 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
754 help
755 Say Y here if you want the debug print routines to direct
756 their output to the first serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100757
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800758 config DEBUG_MSM_UART2
759 bool "Kernel low-level debugging messages via MSM UART2"
760 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
761 help
762 Say Y here if you want the debug print routines to direct
763 their output to the second serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100764
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800765 config DEBUG_MSM_UART3
766 bool "Kernel low-level debugging messages via MSM UART3"
767 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
768 help
769 Say Y here if you want the debug print routines to direct
770 their output to the third serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100771
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800772 config DEBUG_MSM8660_UART
773 bool "Kernel low-level debugging messages via MSM 8660 UART"
774 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700775 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800776 help
777 Say Y here if you want the debug print routines to direct
778 their output to the serial port on MSM 8660 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100779
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800780 config DEBUG_MSM8960_UART
781 bool "Kernel low-level debugging messages via MSM 8960 UART"
782 depends on ARCH_MSM8960
783 select DEBUG_MSM8930_UART
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700784 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800785 help
786 Say Y here if you want the debug print routines to direct
787 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700788
789 config DEBUG_MSMCOPPER_UART
790 bool "Kernel low-level debugging messages via MSM Copper UART"
791 depends on ARCH_MSMCOPPER
792 select MSM_HAS_DEBUG_UART_HS_V14
793 help
794 Say Y here if you want the debug print routines to direct
795 their output to the serial port on MSM Copper devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100796endchoice
797
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700798choice
799 prompt "Default Timer"
800 default MSM7X00A_USE_GP_TIMER
801
802 config MSM7X00A_USE_GP_TIMER
803 bool "GP Timer"
804 help
805 Low resolution timer that allows power collapse from idle.
806
807 config MSM7X00A_USE_DG_TIMER
808 bool "DG Timer"
809 help
810 High resolution timer.
811endchoice
812
813choice
814 prompt "Suspend sleep mode"
815 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
816 help
817 Allows overriding the sleep mode used. Leave at power
818 collapse suspend unless the arm9 image has problems.
819
820 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
821 bool "Power collapse suspend"
822 help
823 Lowest sleep state. Returns through reset vector.
824
825 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
826 bool "Power collapse"
827 help
828 Sleep state that returns through reset vector.
829
830 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
831 bool "Apps Sleep"
832
833 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
834 bool "Ramp down cpu clock and wait for interrupt"
835
836 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
837 bool "Wait for interrupt"
838endchoice
839
840config MSM7X00A_SLEEP_MODE
841 int
842 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
843 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
844 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
845 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
846 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
847
848choice
849 prompt "Idle sleep mode"
850 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
851 help
852 Allows overriding the sleep mode used from idle. Leave at power
853 collapse suspend unless the arm9 image has problems.
854
855 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
856 bool "Power collapse suspend"
857 help
858 Lowest sleep state. Returns through reset vector.
859
860 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
861 bool "Power collapse"
862 help
863 Sleep state that returns through reset vector.
864
865 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
866 bool "Apps Sleep"
867
868 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
869 bool "Ramp down cpu clock and wait for interrupt"
870
871 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
872 bool "Wait for interrupt"
873endchoice
874
875config MSM7X00A_IDLE_SLEEP_MODE
876 int
877 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
878 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
879 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
880 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
881 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
882
883config MSM7X00A_IDLE_SLEEP_MIN_TIME
884 int "Minimum idle time before sleep"
885 default 20000000
886 help
887 Minimum idle time in nanoseconds before entering low power mode.
888
889config MSM7X00A_IDLE_SPIN_TIME
890 int "Idle spin time before cpu ramp down"
891 default 80000
892 help
893 Spin time in nanoseconds before ramping down cpu clock and entering
894 any low power state.
895
896menuconfig MSM_IDLE_STATS
897 bool "Collect idle statistics"
898 default y
899 help
900 Collect idle statistics and export them in proc/msm_pm_stats.
901
902if MSM_IDLE_STATS
903
904config MSM_IDLE_STATS_FIRST_BUCKET
905 int "First bucket time"
906 default 62500
907 help
908 Upper time limit in nanoseconds of first bucket.
909
910config MSM_IDLE_STATS_BUCKET_SHIFT
911 int "Bucket shift"
912 default 2
913
914config MSM_IDLE_STATS_BUCKET_COUNT
915 int "Bucket count"
916 default 10
917
918config MSM_SUSPEND_STATS_FIRST_BUCKET
919 int "First bucket time for suspend"
920 default 1000000000
921 help
922 Upper time limit in nanoseconds of first bucket of the
923 histogram. This is for collecting statistics on suspend.
924
925endif # MSM_IDLE_STATS
926
927config CPU_HAS_L2_PMU
928 bool "L2CC PMU Support"
929 help
930 Select this if the L2 cache controller has a Performance Monitoring Unit.
931
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700932config HTC_HEADSET
933 tristate "HTC 2 Wire detection driver"
934 default n
935 help
936 Provides support for detecting HTC 2 wire devices, such as wired
937 headset, on the trout platform. Can be used with the msm serial
938 debugger, but not with serial console.
939
940config TROUT_BATTCHG
941 depends on MACH_TROUT && POWER_SUPPLY
942 default y
943 bool "Trout battery / charger driver"
944
945config HTC_PWRSINK
946 depends on MSM_SMD
947 default n
948 bool "HTC Power Sink Driver"
949
950config QSD_SVS
951 bool "QSD Static Voltage Scaling"
952 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
953 default y
954 select TPS65023
955 help
956 Enables static voltage scaling using the TPS65023 PMIC.
957
958config QSD_PMIC_DEFAULT_DCDC1
959 int "PMIC default output voltage"
960 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
961 default 1250
962 help
963 This is the PMIC voltage at Linux kernel boot.
964
965config MSM_FIQ_SUPPORT
966 default y
967 bool "Enable installation of an FIQ handler."
968
969config MSM_SERIAL_DEBUGGER
970 select MSM_FIQ_SUPPORT
971 select KERNEL_DEBUGGER_CORE
972 default n
973 bool "FIQ Mode Serial Debugger"
974 help
975 The FIQ serial debugger can accept commands even when the
976 kernel is unresponsive due to being stuck with interrupts
977 disabled. Depends on the kernel debugger core in drivers/misc.
978
979config MSM_SERIAL_DEBUGGER_CONSOLE
980 depends on MSM_SERIAL_DEBUGGER
981 default n
982 bool "Console on FIQ Serial Debugger port"
983 help
984 Enables a console so that printk messages are displayed on
985 the debugger serial port as the occur.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700986
Steve Mucklec8aabae2010-04-21 16:20:27 -0700987config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700988 default y
989 bool "Proc-Comm RPC Interface"
990 help
991 Enables a lightweight communications interface to the
992 baseband processor.
Steve Mucklec8aabae2010-04-21 16:20:27 -0700993
Brian Swetland2eb44eb2008-09-29 16:00:48 -0700994config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700995 bool "MSM Shared Memory Driver (SMD)"
996 help
997 Support for the shared memory interface between the apps
998 processor and the baseband processor. Provides access to
999 the "shared heap", as well as virtual serial channels
1000 used to communicate with various services on the baseband
1001 processor.
1002
1003choice
1004 prompt "MSM Shared memory interface version"
1005 depends on MSM_SMD
1006 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1007 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1008
1009 config MSM_SMD_PKG3
1010 bool
1011 prompt "Package 3"
1012
1013 config MSM_SMD_PKG4
1014 bool
1015 prompt "Package 4"
1016endchoice
1017
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001018config MSM_RPC_SDIO_XPRT
1019 depends on MSM_SDIO_AL
1020 default y
1021 bool "MSM SDIO XPRT Layer"
1022 help
1023 SDIO Transport Layer for RPC Rouer
1024
1025config MSM_RPC_SDIO_DEBUG
1026 depends on MSM_RPC_SDIO_XPRT
1027 default y
1028 bool "MSM SDIO XPRT debug support"
1029 help
1030 Support for debugging SDIO XPRT
1031
1032config MSM_SMD_DEBUG
1033 depends on MSM_SMD
1034 default y
1035 bool "MSM SMD debug support"
1036 help
1037 Support for debugging the SMD for communication
1038 between the ARM9 and ARM11
1039
1040config MSM_SDIO_AL
1041 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1042 default y
1043 tristate "SDIO-Abstraction-Layer"
1044 help
1045 Support MSM<->MDM Communication over SDIO bus.
1046 MDM SDIO-Client should have pipes support.
1047
1048config MSM_SDIO_DMUX
1049 bool "SDIO Data Mux Driver"
1050 depends on MSM_SDIO_AL
1051 default n
1052 help
1053 Support Muxed Data Channels over SDIO interface.
1054
1055config MSM_BAM_DMUX
1056 bool "BAM Data Mux Driver"
1057 depends on SPS
1058 default n
1059 help
1060 Support Muxed Data Channels over BAM interface.
1061 BAM has a limited number of pipes. This driver
1062 provides a means to support more logical channels
1063 via muxing than BAM could without muxing.
1064
1065config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001066 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001067 default y
1068 bool "MSM N-WAY SMD support"
1069 help
1070 Supports APPS-QDSP SMD communication along with
1071 normal APPS-MODEM SMD communication.
1072
1073config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001074 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001075 default y
1076 bool "MSM N-WAY SMSM support"
1077 help
1078 Supports APPS-QDSP SMSM communication along with
1079 normal APPS-MODEM SMSM communication.
1080
1081config MSM_RESET_MODEM
1082 tristate "Reset Modem Driver"
1083 depends on MSM_SMD
1084 default m
1085 help
1086 Allows the user to reset the modem through a device node.
1087
1088config MSM_SMD_LOGGING
1089 depends on MSM_SMD
1090 default y
1091 bool "MSM Shared Memory Logger"
1092 help
1093 This option exposes the shared memory logger at /dev/smem_log
1094 and a debugfs node named smem_log.
1095
1096 If in doubt, say yes.
1097
1098config MSM_SMD_NMEA
1099 bool "NMEA GPS Driver"
1100 depends on MSM_SMD
1101 default y
1102 help
1103 Enable this to support the NMEA GPS device.
1104
1105 If in doubt, say yes.
1106
1107config MSM_SDIO_TTY
1108 bool "SDIO TTY Driver"
1109 depends on MSM_SDIO_AL
1110 default n
1111 help
1112 Provides a TTY driver SDIO TTY
1113 This driver can be used by user space
1114 applications for passing data through the
1115 SDIO interface.
1116
1117config MSM_SMD_TTY
1118 bool "SMD TTY Driver"
1119 depends on MSM_SMD
1120 default y
1121 help
1122 Provides TTY interfaces to interact with the modem.
1123
1124 If in doubt, say yes.
1125
1126config MSM_SMD_QMI
1127 bool "SMD QMI Driver"
1128 depends on MSM_SMD
1129 default y
1130 help
1131 Manages network data connections.
1132
1133 If in doubt, say yes.
1134
1135config MSM_SMD_PKT
1136 bool "SMD Packet Driver"
1137 depends on MSM_SMD
1138 default y
1139 help
1140 Provides a binary SMD non-muxed packet port interface.
1141
1142 If in doubt, say yes.
1143
1144config MSM_SDIO_CMUX
1145 bool "SDIO CMUX Driver"
1146 depends on MSM_SDIO_AL
1147 default n
1148 help
1149 Provides a Muxed port interface over SDIO QMI
1150
1151config MSM_DSPS
1152 bool "Sensors DSPS driver"
1153 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1154 default n
1155 help
1156 Provides user-space interface to the sensors manager
1157 to turn on/off the Sensors Processor system clocks.
1158 It is the DSPS responsibility to turn on/off the sensors
1159 themself.
1160 The number of clocks and their name may vary between targets.
1161 It also triggers the PIL to load the DSPS firmware.
1162
1163config MSM_SDIO_CTL
1164 bool "SDIO CTL Driver"
1165 depends on MSM_SDIO_CMUX
1166 default n
1167 help
1168 Provides a binary SDIO control port interface.
1169
1170config MSM_ONCRPCROUTER
1171 depends on MSM_SMD
1172 default n
1173 bool "MSM ONCRPC router support"
1174 help
1175 Support for the MSM ONCRPC router for communication between
1176 the ARM9 and ARM11
1177
1178config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001179 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001180 default n
1181 bool "MSM IPC Router support"
1182 help
1183 Support for the MSM IPC Router for communication between
1184 the APPs and the MODEM
1185
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001186config MSM_IPC_ROUTER_SMD_XPRT
1187 depends on MSM_SMD
1188 depends on MSM_IPC_ROUTER
1189 default n
1190 bool "MSM SMD XPRT Layer"
1191 help
1192 SMD Transport Layer for IPC Router
1193
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001194config MSM_ONCRPCROUTER_DEBUG
1195 depends on MSM_ONCRPCROUTER
1196 default y
1197 bool "MSM debug ONCRPC router support"
1198 help
1199 Support for debugging the ONCRPC router for communication
1200 between the ARM9 and ARM11
1201
1202config MSM_RPC_LOOPBACK_XPRT
1203 depends on MSM_ONCRPCROUTER
1204 default n
1205 bool "MSM RPC local routing support"
1206 help
1207 Support for routing RPC messages between APPS clients
1208 and APPS servers. Helps in testing APPS RPC framework.
1209
1210config MSM_RPCSERVER_TIME_REMOTE
1211 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1212 default y
1213 bool "Time remote RPC server"
1214 help
1215 The time remote server receives notification of time bases and
1216 reports these events to registered callback functions.
1217
1218config MSM_RPCSERVER_WATCHDOG
1219 depends on MSM_ONCRPCROUTER
1220 default y
1221 bool "Watchdog RPC server"
1222 help
1223 The dog_keepalive server handles watchdog events.
1224
1225config MSM_RPC_WATCHDOG
1226 depends on MSM_ONCRPCROUTER
1227 default n
1228 bool "Watchdog RPC client"
1229 help
1230 The dog_keepalive client module.
1231
1232config MSM_RPC_PING
1233 depends on MSM_ONCRPCROUTER && DEBUG_FS
1234 default m
1235 bool "MSM rpc ping"
1236 help
1237 Implements MSM rpc ping test module.
1238
1239config MSM_RPC_PROC_COMM_TEST
1240 depends on DEBUG_FS && MSM_PROC_COMM
1241 default m
1242 bool "MSM rpc proc comm test"
1243 help
1244 Implements MSM rpc proc comm test module.
1245
1246config MSM_RPC_OEM_RAPI
1247 depends on MSM_ONCRPCROUTER
1248 default m
1249 bool "MSM oem rapi"
1250 help
1251 Implements MSM oem rapi client module.
1252
1253config MSM_RPCSERVER_HANDSET
1254 depends on MSM_ONCRPCROUTER
1255 default y
1256 bool "Handset events RPC server"
1257 help
1258 Support for receiving handset events like headset detect,
1259 headset switch and clamshell state.
1260
1261config MSM_RMT_STORAGE_CLIENT
1262 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1263 default n
1264 bool "Remote Storage RPC client"
1265 help
1266 Provide RPC mechanism for remote processors to access storage
1267 device on apps processor.
1268
1269config MSM_RMT_STORAGE_CLIENT_STATS
1270 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1271 default n
1272 bool "Remote storage RPC client performance statistics"
1273 help
1274 Collects performance statistics and shows this information
1275 through a debugfs file rmt_storage_stats.
1276
1277config MSM_SDIO_SMEM
1278 depends on MSM_SDIO_AL
1279 default n
1280 bool "SDIO SMEM for remote storage"
1281 help
1282 Copies data from remote MDM9K memory to local MSM8x60
1283 memory. Used by remote storage client to shadow
1284 MDM9K filesystem.
1285
1286config MSM_DALRPC
1287 bool "DAL RPC support"
1288 depends on ARCH_MSM_SCORPION || ARCH_MSM_KRAIT
1289 default y
1290 help
1291 Supports RPC calls to DAL devices on remote processor cores.
1292
1293config MSM_DALRPC_TEST
1294 tristate "DAL RPC test module"
1295 depends on (MSM_DALRPC && DEBUG_FS)
1296 default m
1297 help
1298 Exercises DAL RPC calls to QDSP6.
1299
1300if CPU_FREQ_MSM
1301
1302config MSM_CPU_FREQ_SET_MIN_MAX
1303 bool "Set Min/Max CPU frequencies."
1304 default n
1305 help
1306 Allow setting min and max CPU frequencies. Sysfs can be used
1307 to override these values.
1308
1309config MSM_CPU_FREQ_MAX
1310 int "Max CPU Frequency"
1311 depends on MSM_CPU_FREQ_SET_MIN_MAX
1312 default 384000
1313
1314config MSM_CPU_FREQ_MIN
1315 int "Min CPU Frequency"
1316 depends on MSM_CPU_FREQ_SET_MIN_MAX
1317 default 245760
1318
1319endif # CPU_FREQ_MSM
1320
1321config MSM_CPU_AVS
1322 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1323 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1324 depends on ARCH_QSD8X50
1325 default n
1326 select MSM_AVS_HW
1327 help
1328 This enables the s/w control of Adaptive Voltage Scaling feature
1329 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1330 based on feedback from three ring oscillators in the CPU.
1331
1332config MSM_AVS_HW
1333 bool "Enable Adaptive Voltage Scaling (AVS)"
1334 default n
1335 help
1336 Enable AVS hardware to fine tune voltage at each frequency. The
1337 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1338 fine tune the voltages based on the feedback from the ring
1339 oscillators.
1340
1341config MSM_HW3D
1342 tristate "MSM Hardware 3D Register Driver"
1343 depends on ANDROID_PMEM
1344 default y
1345 help
1346 Provides access to registers needed by the userspace OpenGL|ES
1347 library.
1348
1349config MSM_ADSP
1350 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1351 tristate "MSM ADSP driver"
1352 depends on ANDROID_PMEM
1353 default y
1354 help
1355 Provides access to registers needed by the userspace aDSP library.
1356
1357config ADSP_RPC_VER
1358 hex
1359 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1360 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1361 depends on MSM_ADSP
1362 help
1363 Select proper ADSP RPC version
1364choice
1365 prompt "ADSP RPC version"
1366
1367 default AMSS_7X25_VERSION_2009
1368
1369 config AMSS_7X25_VERSION_2009
1370 bool "2.0.09"
1371
1372 config AMSS_7X25_VERSION_2008
1373 bool "2.0.08"
1374endchoice
1375
1376config MSM7KV2_AUDIO
1377 bool "MSM7K v2 audio"
1378 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1379 default y
1380 help
1381 Enables QDSP5V2-based audio drivers for audio playbacks and
1382 voice call.
1383
1384config MSM_ADSP_REPORT_EVENTS
1385 bool "Report modem events from the DSP"
1386 default y
1387 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1388 help
1389 Normally, only messages from the aDSP are reported to userspace.
1390 With this option, we report events from the aDSP as well.
1391
1392config MSM_QDSP6
1393 tristate "QDSP6 support"
1394 depends on ARCH_QSD8X50 && ANDROID_PMEM
1395 default y
1396 help
1397 Enable support for qdsp6. This provides audio and video functionality.
1398
1399config MSM8X60_AUDIO
1400 tristate "MSM8X60 audio support"
1401 depends on ARCH_MSM8X60 && ANDROID_PMEM
1402 default y
1403 help
1404 Enable support for qdsp6v2. This provides audio functionality.
1405
1406config MSM8X60_FTM_AUDIO_DEVICES
1407 bool "MSM8X60 audio factory test mode support"
1408 depends on MSM8X60_AUDIO
1409 help
1410 Enable support audio factory test mode devices. This is used
1411 in a production line environment.
1412
Ben Romberger45b351c2011-07-20 22:37:27 -07001413config RTAC
1414 bool "MSM8K real-time audio calibration support"
1415 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001416 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001417 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001418 audio operation
1419
1420config MSM7X27A_AUDIO
1421 bool "MSM7X27A audio support"
1422 depends on ARCH_MSM7X27A && MSM_ADSP
1423 default n
1424 help
1425 Enable support for 7x27a. This provides audio functionality.
1426
Justin Pauporea6cd2092011-06-22 16:19:45 -07001427config MSM_PROC_COMM_REGULATOR
1428 bool
1429 depends on MSM_PROC_COMM && REGULATOR
1430 help
1431 Enable regulator framework support for regulators managed by PMLIB
1432 on the modem, and controlled through proccomm calls.
1433
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001434config MSM_VREG_SWITCH_INVERTED
1435 bool "Reverse vreg switch polarity"
1436 default n
1437 help
1438 Reverses the enable and disable for vreg switch.
1439
1440config MSM_DMA_TEST
1441 tristate "MSM DMA test module"
1442 default m
1443 help
1444 Intended to be compiled as a module. Provides a device node
1445 and ioctls for testing the MSM dma system.
1446
1447config WIFI_CONTROL_FUNC
1448 bool "Enable WiFi control function abstraction"
1449 help
1450 Enables Power/Reset/Carddetect function abstraction
1451
1452config WIFI_MEM_PREALLOC
1453 depends on WIFI_CONTROL_FUNC
1454 bool "Preallocate memory for WiFi buffers"
1455 help
1456 Preallocates memory buffers for WiFi driver
1457
1458config QSD_AUDIO
1459 bool "QSD audio"
1460 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1461 default y
1462 help
1463 Provides PCM, MP3, and AAC audio playback.
1464
1465config AUDIO_AAC_PLUS
1466 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1467 bool "AAC+ Audio"
1468 default y
1469 help
1470 Provides AAC+ decoding
1471
1472config AUDIO_ENHANCED_AAC_PLUS
1473 depends on AUDIO_AAC_PLUS
1474 bool "Enhanced AAC+ Audio"
1475 default y
1476 help
1477 Provides Enhanced AAC+ decoding
1478
1479config SURF_FFA_GPIO_KEYPAD
1480 bool "MSM SURF/FFA GPIO keypad"
1481 depends on INPUT_GPIO = "y"
1482 default y
1483 help
1484 Select if the GPIO keypad is attached.
1485
1486config MSM_SLEEP_TIME_OVERRIDE
1487 bool "Allow overriding suspend/sleep time with PM module parameter"
1488 default y
1489 help
1490 Enable the module parameter sleep_time_override. Specified
1491 in units of seconds, it overwrites the normal sleep time of
1492 suspend. The feature is required for automated power management
1493 testing.
1494
1495config MSM_MEMORY_LOW_POWER_MODE
1496 bool "Control the low power modes of memory"
1497 default n
1498 help
1499 The application processor controls whether memory should enter
1500 which low power mode.
1501
1502choice
1503 prompt "Default Memory Low Power Mode during Idle"
1504 depends on MSM_MEMORY_LOW_POWER_MODE
1505 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1506 help
1507 Selects the default low power mode of the memory during idle
1508 sleep.
1509
1510 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1511 bool "Memory active"
1512
1513 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1514 bool "Memory in retention"
1515
1516 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1517 bool "Memory in deep power down"
1518endchoice
1519
1520choice
1521 prompt "Default Memory Low Power Mode during Suspend"
1522 depends on MSM_MEMORY_LOW_POWER_MODE
1523 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1524 help
1525 Selects the default low power mode of the memory during suspend
1526 sleep.
1527
1528 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1529 bool "Memory active"
1530
1531 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1532 bool "Memory in retention"
1533
1534 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1535 bool "Memory in deep power down"
1536endchoice
1537
1538choice
1539 prompt "Power management timeout action"
1540 default MSM_PM_TIMEOUT_HALT
1541 help
1542 Selects the Application Processor's action when Power Management
1543 times out waiting for Modem's handshake.
1544
1545 config MSM_PM_TIMEOUT_HALT
1546 bool "Halt the Application Processor"
1547
1548 config MSM_PM_TIMEOUT_RESET_MODEM
1549 bool "Reset the Modem Processor"
1550
1551 config MSM_PM_TIMEOUT_RESET_CHIP
1552 bool "Reset the entire chip"
1553endchoice
1554
1555config MSM_IDLE_WAIT_ON_MODEM
1556 int "Wait for Modem to become ready for idle power collapse"
1557 default 0
1558 help
1559 If Modem is not ready to handle Application Processor's request
1560 for idle power collapse, wait the number of microseconds in case
1561 Modem becomes ready soon.
1562
1563config MSM_PIL
1564 bool "Peripheral image loading"
1565 select FW_LOADER
1566 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1567 default n
1568 help
1569 Some peripherals need to be loaded into memory before they can be
1570 brought out of reset.
1571
1572 Say yes to support these devices.
1573
Stephen Boydeb819882011-08-29 14:46:30 -07001574config MSM_PIL_QDSP6V4
1575 tristate "QDSP6v4 (Hexagon) Boot Support"
1576 depends on MSM_PIL
1577 help
1578 Support for booting and shutting down QDSP6v4 processors (hexagon).
1579 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1580 software applications.
1581
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001582config MSM_SCM
1583 bool "Secure Channel Manager (SCM) support"
1584 default n
1585
1586config MSM_SUBSYSTEM_RESTART
1587 bool "MSM Subsystem Restart Driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001588 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001589 default n
1590 help
1591 This option enables the MSM subsystem restart driver, which provides
1592 a framework to handle subsystem crashes.
1593
Matt Wagantallf8020902011-08-30 21:19:23 -07001594config MSM_SYSMON_COMM
1595 bool "MSM System Monitor communication support"
1596 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1597 default y
1598 help
1599 This option adds support for MSM System Monitor library, which
1600 provides an API that may be used for notifying subsystems within
1601 the SoC about other subsystems' power-up/down state-changes.
1602
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001603config MSM_MODEM_8960
1604 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001605 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001606 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001607 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001608 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001609 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001610
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001611config MSM_LPASS_8960
1612 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001613 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001614 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001615 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001616 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001617 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001618
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001619config MSM_WCNSS_SSR_8960
1620 tristate "MSM 8960 WCNSS restart module"
1621 depends on (ARCH_MSM8960)
1622 help
1623 This option enables the WCNSS restart module for MSM8960, which
1624 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1625 into the subsystem restart framework.
1626
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001627config SCORPION_Uni_45nm_BUG
1628 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1629 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1630 default y
1631 help
1632 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1633 invalidating the Branch Predictor Array by Modified Virtual Address can
1634 create invalid entries in the TLB with the wrong ASID values on Scorpion
1635 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1636 workaround for Scorpion Uniprocessor 45nm cores.
1637
1638 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1639
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001640config MSM_BUSPM_DEV
1641 tristate "MSM Bus Performance Monitor Kernel Module"
1642 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1643 default m
1644 help
1645 This kernel module is used to mmap() hardware registers for the
1646 performance monitors, counters, etc. The module can also be used to
1647 allocate physical memory which is used by bus performance hardware to
1648 dump performance data.
1649
Mona Hossain11c03ac2011-10-26 12:42:10 -07001650config MSM_TZ_LOG
1651 tristate "MSM Trust Zone (TZ) Log Driver"
1652 depends on DEBUG_FS
1653 help
1654 This option enables a driver with a debugfs interface for messages
1655 produced by the Secure code (Trust zone). These messages provide
1656 diagnostic information about TZ operation.
1657
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001658config MSM_RPM_LOG
1659 tristate "MSM Resource Power Manager Log Driver"
1660 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001661 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001662 default n
1663 help
1664 This option enables a driver which can read from a circular buffer
1665 of messages produced by the RPM. These messages provide diagnostic
1666 information about RPM operation. The driver outputs the messages
1667 via a debugfs node.
1668
1669config MSM_RPM_STATS_LOG
1670 tristate "MSM Resource Power Manager Stat Driver"
1671 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001672 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001673 default n
1674 help
1675 This option enables a driver which reads RPM messages from a shared
1676 memory location. These messages provide statistical information about
1677 the low power modes that RPM enters. The drivers outputs the message
1678 via a debugfs node.
1679
1680config MSM_IOMMU
1681 bool "MSM IOMMU Support"
Joel King41d594e2011-10-14 13:18:20 -07001682 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_APQ8064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001683 select IOMMU_API
1684 default n
1685 help
1686 Support for the IOMMUs found on certain Qualcomm SOCs.
1687 These IOMMUs allow virtualization of the address space used by most
1688 cores within the multimedia subsystem.
1689
1690 If unsure, say N here.
1691
1692config IOMMU_PGTABLES_L2
1693 bool "Allow SMMU page tables in the L2 cache (Experimental)"
1694 depends on MSM_IOMMU=y
1695 depends on MMU
1696 depends on CPU_DCACHE_DISABLE=n
1697 depends on SMP
1698 default y
1699 help
1700 Improves TLB miss latency at the expense of potential L2 pollution.
1701 However, with large multimedia buffers, the TLB should mostly contain
1702 section mappings and TLB misses should be quite infrequent.
1703 Most people can probably say Y here.
1704
1705config MSM_DIRECT_SCLK_ACCESS
1706 bool "Direct access to the SCLK timer"
1707 default n
1708
1709config IOMMU_API
1710 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001711
Gregory Beanab78cde2010-09-01 16:26:12 -07001712config MSM_GPIOMUX
1713 bool
1714
Gregory Bean1963a2a2010-08-28 10:05:44 -07001715config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001716 bool
1717
1718config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07001719 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001720
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001721config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001722 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001723
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001724config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001725 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001726
1727config MSM_BUS_SCALING
1728 bool "Bus scaling driver"
1729 default n
1730
Gagan Mac85c70492011-06-10 16:07:47 -06001731config MSM_BUS_RPM_MULTI_TIER_ENABLED
1732 bool "RPM Multi-tiering Configuration"
1733 depends on MSM_BUS_SCALING
1734
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001735config MSM_WATCHDOG
1736 bool "MSM Watchdog Support"
Rohit Vaswani085a9332011-09-28 18:57:24 -07001737 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001738 help
1739 This enables the watchdog as is present on 8x60. Currently we use
1740 core 0's watchdog, and reset the entire SoC if it times out. It does
1741 not run during the bootup process, so it will not catch any early
1742 lockups.
1743
1744config MSM_DLOAD_MODE
1745 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07001746 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001747 default n
1748 help
1749 This makes the SoC enter download mode when it resets
1750 due to a kernel panic. Note that this doesn't by itself
1751 make the kernel reboot on a kernel panic - that must be
1752 enabled via another mechanism.
1753
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001754config HAS_QDSS
1755 bool "QDSS Present"
1756 help
1757 Select this if the chip has Qualcomm Debug Subsystem implemented.
1758
1759config MSM_DEBUG_ACROSS_PC
1760 bool "Debug support across power collapse"
1761 help
1762 Enables debug state to be saved and restored across power collapse.
1763
1764config MSM_JTAG_V7
1765 depends on CPU_V7 && !HAS_QDSS
1766 default y if DEBUG_KERNEL
1767 bool "JTAG debug support"
1768 select MSM_DEBUG_ACROSS_PC
1769 help
1770 Add additional support for JTAG kernel debugging.
1771
Pratik Patel7831c082011-06-08 21:44:37 -07001772config MSM_TRACE_ACROSS_PC
1773 bool "Trace support across power collapse"
Pratik Patel7831c082011-06-08 21:44:37 -07001774 help
1775 Enables trace state to be saved and restored across power collapse.
1776
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001777config MSM_ETM
1778 tristate "Enable MSM ETM and ETB"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001779 depends on ARCH_MSM8X60 && !HAS_QDSS
Pratik Patel7831c082011-06-08 21:44:37 -07001780 select MSM_TRACE_ACROSS_PC
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001781 help
Pratik Patel7831c082011-06-08 21:44:37 -07001782 Enables embedded trace collection on Qualcomm v7 CPUs.
1783
1784config MSM_QDSS
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001785 bool "Qualcomm Debug Subsystem"
1786 depends on HAS_QDSS
1787 select MSM_DEBUG_ACROSS_PC
Pratik Patel7831c082011-06-08 21:44:37 -07001788 select MSM_TRACE_ACROSS_PC
1789 help
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001790 Enables support for Qualcomm Debug Subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001791
1792config MSM_SLEEP_STATS
1793 bool "Enable exporting of MSM sleep stats to userspace"
1794 depends on CPU_IDLE
1795 default n
1796
1797config MSM_STANDALONE_POWER_COLLAPSE
1798 bool "Enable standalone power collapse"
1799 default n
1800
1801config MSM_GSBI9_UART
1802 bool "Enable GSBI9 UART device"
1803 default n
1804 help
1805 This enables GSBI9 configured into UART.
1806
1807config MSM_SHARED_GPIO_FOR_UART2DM
1808 bool "Use shared GPIOs into UART mode"
1809 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
1810 help
1811 This option configures GPIO muxed with SDC4/MMC3
1812 8-bit mode into UART mode. It is used for serial
1813 console on UART2DM. Say Y if you want to have
1814 serial console on UART2DM.
1815
1816config MSM_SHOW_RESUME_IRQ
1817 bool "Enable logging of interrupts that could have caused resume"
Sathish Ambleyd4efc762011-10-09 22:19:22 -07001818 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSMCOPPER)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001819 default n
1820 help
1821 This option logs wake up interrupts that have triggered just before
1822 the resume loop unrolls. Say Y if you want to debug why the system
1823 resumed.
1824
1825config BT_MSM_PINTEST
1826 tristate "MSM Bluetooth Pin Connectivity Test"
1827 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
1828 default n
1829 help
1830 Bluetooth MSM Pin Connectivity test module.
1831 This driver provides support for verifying the MSM to BT pin
1832 connectivity.
1833
1834config MSM_FAKE_BATTERY
1835 depends on POWER_SUPPLY
1836 default n
1837 bool "MSM Fake Battery"
1838 help
1839 Enables MSM fake battery driver.
1840
1841config MSM_QDSP6_APR
1842 bool "Audio QDSP6 APR support"
1843 depends on MSM_SMD
1844 default n
1845 help
1846 Enable APR IPC protocol support between
1847 application processor and QDSP6. APR is
1848 used by audio driver to configure QDSP6's
1849 ASM, ADM and AFE.
1850
1851
1852config MSM_AUDIO_QDSP6
1853 bool "QDSP6 HW Audio support"
1854 select SND_SOC_MSM_QDSP6_INTF
1855 default n
1856 help
1857 Enable HW audio support in QDSP6.
1858 QDSP6 can support HW encoder & decoder and audio processing
1859
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02001860config MSM_ULTRASOUND
1861 bool "MSM ultrasound support"
1862 depends on MSM_AUDIO_QDSP6
1863 help
1864 Enable support for qdsp6/ultrasound.
1865
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001866config MSM_RPC_VIBRATOR
1867 bool "RPC based MSM Vibrator Support"
1868 depends on MSM_ONCRPCROUTER
1869 help
1870 Enable the vibrator support on MSM over RPC. The vibrator
1871 is connected on the PMIC. Say Y if you want to enable this
1872 feature.
1873
1874config PM8XXX_RPC_VIBRATOR
1875 bool "RPC based Vibrator on PM8xxx PMICs"
1876 depends on MSM_RPC_VIBRATOR
1877 help
1878 Enable the vibrator support on MSM over RPC. The vibrator
1879 is connected on the PM8XXX PMIC. Say Y if you want to enable
1880 this feature.
1881
1882config MSM_SPM_V1
1883 bool "Driver support for SPM Version 1"
1884 help
1885 Enables the support for Version 1 of the SPM driver. SPM hardware is
1886 used to manage the processor power during sleep. The driver allows
1887 configuring SPM to allow different power modes.
1888
1889config MSM_SPM_V2
1890 bool "Driver support for SPM Version 2"
1891 help
1892 Enables the support for Version 2 of the SPM driver. SPM hardware is
1893 used to manage the processor power during sleep. The driver allows
1894 configuring SPM to allow different power modes.
1895
1896config MSM_L2_SPM
1897 bool "SPM support for L2 cache"
1898 depends on MSM_SPM_V2
1899 help
1900 Enable SPM driver support for L2 cache. Some MSM chipsets allow
1901 control of L2 cache low power mode with a Subsystem Power manager.
1902 Enabling this driver allows configuring L2 SPM for low power modes
1903 on supported chipsets.
1904
Laura Abbott2d1760b2011-09-29 21:31:24 -07001905config MSM_MULTIMEDIA_USE_ION
1906 bool "Multimedia suport using Ion"
1907 depends on ION_MSM
1908 help
1909 Enable support for multimedia drivers using Ion for buffer management
1910 instead of pmem. Selecting this may also involve userspace
1911 dependencies as well.
1912
Brian Swetland9e73c842007-11-26 04:12:13 -08001913endif