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