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