blob: ad07bbb51f402ce59acdb8611f0fe16f5361bebe [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
Daniel Walkerbf83de42010-03-16 16:29:44 -070032
Daniel Walker7b521612010-05-06 12:44:57 -070033config ARCH_MSM7X30
34 bool "MSM7x30"
35 select ARCH_MSM_SCORPION
Daniel Walker7b521612010-05-06 12:44:57 -070036 select MSM_VIC
37 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070038 select MSM_REMOTE_SPINLOCK_DEKKERS
39 select ARCH_SPARSEMEM_ENABLE
Laura Abbott78593b52011-09-26 18:48:14 -070040 select ARCH_HAS_HOLES_MEMORYMODEL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070041 select MEMORY_HOTPLUG
42 select MEMORY_HOTREMOVE
43 select MIGRATION
44 select ARCH_MEMORY_PROBE
45 select ARCH_MEMORY_REMOVE
46 select DONT_RESERVE_FROM_MOVABLE_ZONE
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
136 select MSM_L2_SPM
137 select MSM_NATIVE_RESTART
Zhoulu Luoca2a0442011-09-30 18:32:50 -0700138 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600139 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700140 select ARCH_POPULATES_NODE_MAP
141 select ARCH_SPARSEMEM_ENABLE
142 select ARCH_HAS_HOLES_MEMORYMODEL
143 select MEMORY_HOTPLUG
144 select MEMORY_HOTREMOVE
145 select MIGRATION
146 select ARCH_MEMORY_PROBE
147 select ARCH_MEMORY_REMOVE
148 select DONT_RESERVE_FROM_MOVABLE_ZONE
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700149
150config ARCH_APQ8064
151 bool "APQ8064"
152 select ARCH_MSM_KRAITMP
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700153 select MACH_APQ8064_SIM if !MACH_APQ8064_RUMI3
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700154 select MSM_V2_TLMM
155 select ARM_GIC
156 select CPU_V7
157 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700158 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600159 select MSM_REMOTE_SPINLOCK_SFPB
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700160
161config ARCH_FSM9XXX
162 bool "FSM9XXX"
163 select ARCH_MSM_SCORPION
164 select MSM_VIC
165 select CPU_V7
166 select MSM_REMOTE_SPINLOCK_LDREX
167 select FSM9XXX_TLMM
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800168
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700169config ARCH_MSM9615
170 bool "MSM9615"
171 select ARM_GIC
172 select ARCH_MSM_CORTEX_A5
173 select CPU_V7
174 select MSM_V2_TLMM
175 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600176 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600177 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700178 select MSM_NATIVE_RESTART
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700179endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700180
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700181choice
182 prompt "MSM SoC Revision"
183 default MSM_SOC_REV_NONE
184config MSM_SOC_REV_NONE
185 bool "N/A"
186 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
187 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walker4ad15e62010-05-06 13:54:17 -0700188config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700189 bool "Rev. A"
190 select ARCH_MSM7X27A if ARCH_MSM7X27
191endchoice
Daniel Walker4ad15e62010-05-06 13:54:17 -0700192
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700193config MSM_KRAIT_TBB_ABORT_HANDLER
194 bool "Krait TBB/TBH data abort handler"
195 depends on ARCH_MSM_KRAIT
196 depends on ARM_THUMB
197 help
198 Certain early samples of the Krait processor may generate data
199 aborts for TBB / TBH instructions that fail their condition code
200 checks. Enabling this option will ignore these erroneous data aborts,
201 at the expense of a very small performance penalty.
202
203 If unsure, say N.
204
Daniel Walker4ad15e62010-05-06 13:54:17 -0700205config ARCH_MSM_ARM11
206 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700207
Daniel Walker4ad15e62010-05-06 13:54:17 -0700208config ARCH_MSM_SCORPION
Daniel Walkerbf83de42010-03-16 16:29:44 -0700209 bool
210
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700211config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700212 bool
213
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700214config MSM_SMP
215 bool
216
217config ARCH_MSM_SCORPIONMP
218 select ARCH_MSM_SCORPION
219 select MSM_SMP
220 bool
221
222config ARCH_MSM_KRAITMP
223 select ARCH_MSM_KRAIT
224 select MSM_SMP
225 bool
226
227config ARCH_MSM_CORTEX_A5
228 bool
229 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
230
231config ARCH_MSM7X27A
232 bool
233 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700234 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530235 select MULTI_IRQ_HANDLER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700236
Gregory Beanf9f3d312010-04-30 22:06:50 -0700237config MSM_VIC
238 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700239
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700240config MSM_RPM
241 bool "Resource Power Manager"
242 select MSM_MPM
243
244config MSM_MPM
245 bool "Modem Power Manager"
246
247config MSM_XO
248 bool
249
250config MSM_REMOTE_SPINLOCK_DEKKERS
251 bool
252config MSM_REMOTE_SPINLOCK_SWP
253 bool
254config MSM_REMOTE_SPINLOCK_LDREX
255 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600256config MSM_REMOTE_SPINLOCK_SFPB
257 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700258config MSM_ADM3
259 bool
260
261menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700262
263config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700264 depends on ARCH_MSM7X01A
265 depends on MSM_STACKED_MEMORY
266 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700267 bool "Halibut Board (QCT SURF7201A)"
268 help
269 Support for the Qualcomm SURF7201A eval board.
270
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700271config MACH_MSM7201A_SURF
272 depends on ARCH_MSM7X01A
273 depends on MSM_STACKED_MEMORY
274 default y
275 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700276 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700277 Support for the Qualcomm MSM7201A SURF eval board.
278
279config MACH_MSM7201A_FFA
280 depends on ARCH_MSM7X01A
281 depends on MSM_STACKED_MEMORY
282 default y
283 bool "MSM7201A FFA"
284 help
285 Support for the Qualcomm MSM7201A FFA eval board.
286
287config MACH_TROUT
288 depends on ARCH_MSM7X01A
289 depends on MSM_STACKED_MEMORY
290 default y
291 bool "Trout"
292
293config MACH_MSM7X27_SURF
294 depends on ARCH_MSM7X27
295 depends on !MSM_STACKED_MEMORY
296 default y
297 bool "MSM7x27 SURF"
298 help
299 Support for the Qualcomm MSM7x27 SURF eval board.
300
301config MACH_MSM7X27_FFA
302 depends on ARCH_MSM7X27
303 depends on !MSM_STACKED_MEMORY
304 default y
305 bool "MSM7x27 FFA"
306 help
307 Support for the Qualcomm MSM7x27 FFA eval board.
308
309config MACH_MSM7X27A_RUMI3
310 depends on ARCH_MSM7X27A
311 depends on !MSM_STACKED_MEMORY
312 default y
313 bool "MSM7x27A RUMI3"
314 help
315 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
316
317config MACH_MSM7X27A_SURF
318 depends on ARCH_MSM7X27A
319 depends on !MSM_STACKED_MEMORY
320 default y
321 bool "MSM7x27A SURF"
322 help
323 Support for the Qualcomm MSM7x27A SURF.
324
325config MACH_MSM7X27A_FFA
326 depends on ARCH_MSM7X27A
327 depends on !MSM_STACKED_MEMORY
328 default y
329 bool "MSM7x27A FFA"
330 help
331 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700332
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530333config MACH_MSM7625A_SURF
334 depends on ARCH_MSM7X27A
335 depends on !MSM_STACKED_MEMORY
336 default y
337 bool "MSM7625A SURF"
338 help
339 Support for the Qualcomm MSM7625A SURF.
340
341config MACH_MSM7625A_FFA
342 depends on ARCH_MSM7X27A
343 depends on !MSM_STACKED_MEMORY
344 default y
345 bool "MSM7625A FFA"
346 help
347 Support for the Qualcomm MSM7625A FFA.
348
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530349config MACH_MSM7627A_QRD1
350 depends on ARCH_MSM7X27A
351 depends on !MSM_STACKED_MEMORY
352 default y
353 bool "MSM7627A QRD1"
354 help
355 Support for the Qualcomm MSM7627A Refrence Design.
356
Daniel Walker7b521612010-05-06 12:44:57 -0700357config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700358 depends on ARCH_MSM7X30
359 depends on !MSM_STACKED_MEMORY
360 default y
361 bool "MSM7x30 SURF"
362 help
363 Support for the Qualcomm MSM7x30 SURF eval board.
364
365config MACH_MSM7X30_FFA
366 depends on ARCH_MSM7X30
367 depends on !MSM_STACKED_MEMORY
368 default y
369 bool "MSM7x30 FFA"
370 help
371 Support for the Qualcomm MSM7x30 FFA eval board.
372
373config MACH_MSM7X30_FLUID
374 depends on ARCH_MSM7X30
375 depends on !MSM_STACKED_MEMORY
376 default y
377 bool "MSM7x30 FLUID"
378 help
379 Support for the Qualcomm MSM7x30 FLUID eval board.
380
381config MACH_SAPPHIRE
382 depends on ARCH_MSM7X01A
383 default n
384 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700385
Daniel Walker4ad15e62010-05-06 13:54:17 -0700386config MACH_QSD8X50_SURF
387 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700388 depends on MSM_SOC_REV_NONE
389 depends on MSM_STACKED_MEMORY
390 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700391 bool "QSD8x50 SURF"
392 help
393 Support for the Qualcomm QSD8x50 SURF eval board.
394
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700395config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700396 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700397 depends on MSM_SOC_REV_NONE
398 depends on MSM_STACKED_MEMORY
399 default y
400 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700401 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700402 Support for the Qualcomm QSD8x50 FFA eval board.
403
404config MACH_MSM7X25_SURF
405 depends on ARCH_MSM7X25
406 depends on !MSM_STACKED_MEMORY
407 default y
408 bool "MSM7x25 SURF"
409 help
410 Support for the Qualcomm MSM7x25 SURF eval board.
411
412config MACH_MSM7X25_FFA
413 depends on ARCH_MSM7X25
414 depends on !MSM_STACKED_MEMORY
415 default y
416 bool "MSM7x25 FFA"
417 help
418 Support for the Qualcomm MSM7x25 FFA eval board.
419
420config MACH_MSM8X55_SURF
421 depends on ARCH_MSM7X30
422 depends on !MSM_STACKED_MEMORY
423 default y
424 bool "MSM8X55 SURF"
425 help
426 Support for the Qualcomm MSM8x55 SURF eval board.
427
428config MACH_MSM8X55_FFA
429 depends on ARCH_MSM7X30
430 depends on !MSM_STACKED_MEMORY
431 default y
432 bool "MSM8X55 FFA"
433 help
434 Support for the Qualcomm MSM8x55 FFA eval board.
435
436config MACH_MSM8X55_SVLTE_FFA
437 depends on ARCH_MSM7X30
438 depends on !MSM_STACKED_MEMORY
439 default y
440 bool "MSM8X55 SVLTE FFA"
441 help
442 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
443
444config MACH_MSM8X55_SVLTE_SURF
445 depends on ARCH_MSM7X30
446 depends on !MSM_STACKED_MEMORY
447 default y
448 bool "MSM8X55 SVLTE SURF"
449 help
450 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700451
Steve Mucklea55df6e2010-01-07 12:43:24 -0800452config MACH_MSM8X60_RUMI3
453 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700454 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800455 bool "MSM8x60 RUMI3"
456 help
457 Support for the Qualcomm MSM8x60 RUMI3 emulator.
458
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800459config MACH_MSM8X60_SIM
460 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700461 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800462 bool "MSM8x60 Simulator"
463 help
464 Support for the Qualcomm MSM8x60 simulator.
465
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700466config MACH_MSM8X60_SURF
467 depends on ARCH_MSM8X60
468 default n
469 bool "MSM8x60 SURF"
470 help
471 Support for the Qualcomm MSM8x60 SURF eval board.
472
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700473config MACH_MSM8X60_FFA
474 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700475 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700476 bool "MSM8x60 FFA"
477 help
478 Support for the Qualcomm MSM8x60 FFA eval board.
479
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700480config MACH_MSM8X60_FLUID
481 depends on ARCH_MSM8X60
482 default n
483 bool "MSM8x60 FLUID"
484 help
485 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
486 8x60 target which has a form factor that is much closer to that
487 of a phone than other targets. It also has a new display and
488 touchscreen controller.
489
490config MACH_MSM8X60_FUSION
491 depends on ARCH_MSM8X60
492 default n
493 bool "MSM8x60 FUSION"
494 help
495 Support for the Qualcomm MSM8x60 Fusion SURF device.
496
497config MACH_MSM8X60_FUSN_FFA
498 depends on ARCH_MSM8X60
499 default n
500 bool "MSM8x60 FUSN FFA"
501 help
502 Support for the Qualcomm MSM8x60 Fusion FFA device.
503
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400504config MACH_MSM8X60_DRAGON
505 depends on ARCH_MSM8X60
506 default n
507 bool "MSM8x60 DRAGON"
508 help
509 Support for the Qualcomm MSM8x60 Dragon board.
510
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800511config MACH_MSM8960_SIM
512 depends on ARCH_MSM8960
513 bool "MSM8960 Simulator"
514 help
515 Support for the Qualcomm MSM8960 simulator.
516
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800517config MACH_MSM8960_RUMI3
518 depends on ARCH_MSM8960
519 bool "MSM8960 RUMI3"
520 help
521 Support for the Qualcomm MSM8960 RUMI3 emulator.
522
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700523config MACH_MSM8960_CDP
524 depends on ARCH_MSM8960
525 bool "MSM8960 CDP"
526 help
527 Support for the Qualcomm MSM8960 CDP device.
528
529config MACH_MSM8960_MTP
530 depends on ARCH_MSM8960
531 bool "MSM8960 MTP"
532 help
533 Support for the Qualcomm MSM8960 MTP device.
534
535config MACH_MSM8960_FLUID
536 depends on ARCH_MSM8960
537 bool "MSM8960 FLUID"
538 help
539 Support for the Qualcomm MSM8960 FLUID device.
540
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300541config MACH_MSM8960_LIQUID
542 depends on ARCH_MSM8960
543 bool "MSM8960 LIQUID"
544 help
545 Support for the Qualcomm MSM8960 LIQUID device.
546
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700547config MACH_MSM9615_CDP
548 depends on ARCH_MSM9615
549 bool "MSM9615 CDP"
550 help
551 Support for the Qualcomm MSM9615 CDP device.
552
553config MACH_MSM9615_MTP
554 depends on ARCH_MSM9615
555 bool "MSM9615 MTP"
556 help
557 Support for the Qualcomm MSM9615 MTP device.
558
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700559config MSM_USE_TSIF1
560 depends on ARCH_MSM8X60
561 bool "MSM8x60 use TSIF1"
562 help
563 Selects TSIF1 core to be used rather than TSIF0.
564 The two TSIF cores share the same DM configuration
565 so they cannot be used simultaneously.
566
567config MACH_APQ8064_SIM
568 depends on ARCH_APQ8064
569 bool "APQ8064 Simulator"
570 help
571 Support for the Qualcomm APQ8064 simulator.
572
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700573config MACH_APQ8064_RUMI3
574 depends on ARCH_APQ8064
575 bool "APQ8064 RUMI3"
576 help
577 Support for the Qualcomm APQ8064 RUMI3 emulator.
578
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700579config MACH_FSM9XXX_SURF
580 depends on ARCH_FSM9XXX
581 depends on !MSM_STACKED_MEMORY
582 default y
583 bool "FSM9XXX SURF"
584 help
585 Support for the Qualcomm FSM9xxx femtocell
586 chipset based SURF evaluation board and
587 FFA board.
588
Daniel Walker4ad15e62010-05-06 13:54:17 -0700589endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800590
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700591config MSM_STACKED_MEMORY
592 bool "Stacked Memory"
593 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800594 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700595 This option is used to indicate the presence of on-die stacked
596 memory. When present this memory bank is used for a high speed
597 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800598
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700599config PHYS_OFFSET
600 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700601 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700602 default "0x80200000" if ARCH_APQ8064
603 default "0x80200000" if ARCH_MSM8960
604 default "0x10000000" if ARCH_FSM9XXX
605 default "0x00200000" if !MSM_STACKED_MEMORY
606 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
607 default "0x20000000" if ARCH_QSD8X50
608 default "0x40200000" if ARCH_MSM8X60
609 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800610
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700611config KERNEL_PMEM_EBI_REGION
612 bool "Enable in-kernel PMEM region for EBI"
613 default y if ARCH_MSM8X60
614 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960)
615 help
616 Enable the in-kernel PMEM allocator to use EBI memory.
617
618config KERNEL_PMEM_SMI_REGION
619 bool "Enable in-kernel PMEM region for SMI"
620 default y if ARCH_MSM8X60
621 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
622 help
623 Enable the in-kernel PMEM allocator to use SMI memory.
624
625config PMEM_GPU0
626 bool "Enable PMEM GPU0 region"
627 default y
628 depends on ARCH_QSD8X50 && ANDROID_PMEM
629 help
630 Enable the PMEM GPU0 device on SMI Memory.
631
632config MSM_AMSS_VERSION
633 int
634 default 6210 if MSM_AMSS_VERSION_6210
635 default 6220 if MSM_AMSS_VERSION_6220
636 default 6225 if MSM_AMSS_VERSION_6225
637
638choice
639 prompt "AMSS modem firmware version"
640
641 default MSM_AMSS_VERSION_6225
642
643 config MSM_AMSS_VERSION_6210
644 bool "6.2.10"
645
646 config MSM_AMSS_VERSION_6220
647 bool "6.2.20"
648
649 config MSM_AMSS_VERSION_6225
650 bool "6.2.20 + New ADSP"
651endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800652
Pavel Machek6339f662009-11-02 11:48:29 +0100653config MSM_DEBUG_UART
654 int
655 default 1 if MSM_DEBUG_UART1
656 default 2 if MSM_DEBUG_UART2
657 default 3 if MSM_DEBUG_UART3
658
659choice
660 prompt "Debug UART"
661
662 default MSM_DEBUG_UART_NONE
663
664 config MSM_DEBUG_UART_NONE
665 bool "None"
666
667 config MSM_DEBUG_UART1
668 bool "UART1"
669
670 config MSM_DEBUG_UART2
671 bool "UART2"
672
673 config MSM_DEBUG_UART3
674 bool "UART3"
675endchoice
676
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700677choice
678 prompt "Default Timer"
679 default MSM7X00A_USE_GP_TIMER
680
681 config MSM7X00A_USE_GP_TIMER
682 bool "GP Timer"
683 help
684 Low resolution timer that allows power collapse from idle.
685
686 config MSM7X00A_USE_DG_TIMER
687 bool "DG Timer"
688 help
689 High resolution timer.
690endchoice
691
692choice
693 prompt "Suspend sleep mode"
694 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
695 help
696 Allows overriding the sleep mode used. Leave at power
697 collapse suspend unless the arm9 image has problems.
698
699 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
700 bool "Power collapse suspend"
701 help
702 Lowest sleep state. Returns through reset vector.
703
704 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
705 bool "Power collapse"
706 help
707 Sleep state that returns through reset vector.
708
709 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
710 bool "Apps Sleep"
711
712 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
713 bool "Ramp down cpu clock and wait for interrupt"
714
715 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
716 bool "Wait for interrupt"
717endchoice
718
719config MSM7X00A_SLEEP_MODE
720 int
721 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
722 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
723 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
724 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
725 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
726
727choice
728 prompt "Idle sleep mode"
729 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
730 help
731 Allows overriding the sleep mode used from idle. Leave at power
732 collapse suspend unless the arm9 image has problems.
733
734 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
735 bool "Power collapse suspend"
736 help
737 Lowest sleep state. Returns through reset vector.
738
739 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
740 bool "Power collapse"
741 help
742 Sleep state that returns through reset vector.
743
744 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
745 bool "Apps Sleep"
746
747 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
748 bool "Ramp down cpu clock and wait for interrupt"
749
750 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
751 bool "Wait for interrupt"
752endchoice
753
754config MSM7X00A_IDLE_SLEEP_MODE
755 int
756 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
757 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
758 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
759 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
760 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
761
762config MSM7X00A_IDLE_SLEEP_MIN_TIME
763 int "Minimum idle time before sleep"
764 default 20000000
765 help
766 Minimum idle time in nanoseconds before entering low power mode.
767
768config MSM7X00A_IDLE_SPIN_TIME
769 int "Idle spin time before cpu ramp down"
770 default 80000
771 help
772 Spin time in nanoseconds before ramping down cpu clock and entering
773 any low power state.
774
775menuconfig MSM_IDLE_STATS
776 bool "Collect idle statistics"
777 default y
778 help
779 Collect idle statistics and export them in proc/msm_pm_stats.
780
781if MSM_IDLE_STATS
782
783config MSM_IDLE_STATS_FIRST_BUCKET
784 int "First bucket time"
785 default 62500
786 help
787 Upper time limit in nanoseconds of first bucket.
788
789config MSM_IDLE_STATS_BUCKET_SHIFT
790 int "Bucket shift"
791 default 2
792
793config MSM_IDLE_STATS_BUCKET_COUNT
794 int "Bucket count"
795 default 10
796
797config MSM_SUSPEND_STATS_FIRST_BUCKET
798 int "First bucket time for suspend"
799 default 1000000000
800 help
801 Upper time limit in nanoseconds of first bucket of the
802 histogram. This is for collecting statistics on suspend.
803
804endif # MSM_IDLE_STATS
805
806config CPU_HAS_L2_PMU
807 bool "L2CC PMU Support"
808 help
809 Select this if the L2 cache controller has a Performance Monitoring Unit.
810
811config MSM_JTAG_V7
812 depends on CPU_V7
813 default y if DEBUG_KERNEL
814 bool "JTAG debug support"
815 help
816 Add additional support for JTAG kernel debugging.
817
818config HTC_HEADSET
819 tristate "HTC 2 Wire detection driver"
820 default n
821 help
822 Provides support for detecting HTC 2 wire devices, such as wired
823 headset, on the trout platform. Can be used with the msm serial
824 debugger, but not with serial console.
825
826config TROUT_BATTCHG
827 depends on MACH_TROUT && POWER_SUPPLY
828 default y
829 bool "Trout battery / charger driver"
830
831config HTC_PWRSINK
832 depends on MSM_SMD
833 default n
834 bool "HTC Power Sink Driver"
835
836config QSD_SVS
837 bool "QSD Static Voltage Scaling"
838 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
839 default y
840 select TPS65023
841 help
842 Enables static voltage scaling using the TPS65023 PMIC.
843
844config QSD_PMIC_DEFAULT_DCDC1
845 int "PMIC default output voltage"
846 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
847 default 1250
848 help
849 This is the PMIC voltage at Linux kernel boot.
850
851config MSM_FIQ_SUPPORT
852 default y
853 bool "Enable installation of an FIQ handler."
854
855config MSM_SERIAL_DEBUGGER
856 select MSM_FIQ_SUPPORT
857 select KERNEL_DEBUGGER_CORE
858 default n
859 bool "FIQ Mode Serial Debugger"
860 help
861 The FIQ serial debugger can accept commands even when the
862 kernel is unresponsive due to being stuck with interrupts
863 disabled. Depends on the kernel debugger core in drivers/misc.
864
865config MSM_SERIAL_DEBUGGER_CONSOLE
866 depends on MSM_SERIAL_DEBUGGER
867 default n
868 bool "Console on FIQ Serial Debugger port"
869 help
870 Enables a console so that printk messages are displayed on
871 the debugger serial port as the occur.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700872
Steve Mucklec8aabae2010-04-21 16:20:27 -0700873config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700874 default y
875 bool "Proc-Comm RPC Interface"
876 help
877 Enables a lightweight communications interface to the
878 baseband processor.
Steve Mucklec8aabae2010-04-21 16:20:27 -0700879
Brian Swetland2eb44eb2008-09-29 16:00:48 -0700880config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700881 bool "MSM Shared Memory Driver (SMD)"
882 help
883 Support for the shared memory interface between the apps
884 processor and the baseband processor. Provides access to
885 the "shared heap", as well as virtual serial channels
886 used to communicate with various services on the baseband
887 processor.
888
889choice
890 prompt "MSM Shared memory interface version"
891 depends on MSM_SMD
892 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
893 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
894
895 config MSM_SMD_PKG3
896 bool
897 prompt "Package 3"
898
899 config MSM_SMD_PKG4
900 bool
901 prompt "Package 4"
902endchoice
903
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700904config MSM_RPC_SDIO_XPRT
905 depends on MSM_SDIO_AL
906 default y
907 bool "MSM SDIO XPRT Layer"
908 help
909 SDIO Transport Layer for RPC Rouer
910
911config MSM_RPC_SDIO_DEBUG
912 depends on MSM_RPC_SDIO_XPRT
913 default y
914 bool "MSM SDIO XPRT debug support"
915 help
916 Support for debugging SDIO XPRT
917
918config MSM_SMD_DEBUG
919 depends on MSM_SMD
920 default y
921 bool "MSM SMD debug support"
922 help
923 Support for debugging the SMD for communication
924 between the ARM9 and ARM11
925
926config MSM_SDIO_AL
927 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
928 default y
929 tristate "SDIO-Abstraction-Layer"
930 help
931 Support MSM<->MDM Communication over SDIO bus.
932 MDM SDIO-Client should have pipes support.
933
934config MSM_SDIO_DMUX
935 bool "SDIO Data Mux Driver"
936 depends on MSM_SDIO_AL
937 default n
938 help
939 Support Muxed Data Channels over SDIO interface.
940
941config MSM_BAM_DMUX
942 bool "BAM Data Mux Driver"
943 depends on SPS
944 default n
945 help
946 Support Muxed Data Channels over BAM interface.
947 BAM has a limited number of pipes. This driver
948 provides a means to support more logical channels
949 via muxing than BAM could without muxing.
950
951config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -0600952 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700953 default y
954 bool "MSM N-WAY SMD support"
955 help
956 Supports APPS-QDSP SMD communication along with
957 normal APPS-MODEM SMD communication.
958
959config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -0600960 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700961 default y
962 bool "MSM N-WAY SMSM support"
963 help
964 Supports APPS-QDSP SMSM communication along with
965 normal APPS-MODEM SMSM communication.
966
967config MSM_RESET_MODEM
968 tristate "Reset Modem Driver"
969 depends on MSM_SMD
970 default m
971 help
972 Allows the user to reset the modem through a device node.
973
974config MSM_SMD_LOGGING
975 depends on MSM_SMD
976 default y
977 bool "MSM Shared Memory Logger"
978 help
979 This option exposes the shared memory logger at /dev/smem_log
980 and a debugfs node named smem_log.
981
982 If in doubt, say yes.
983
984config MSM_SMD_NMEA
985 bool "NMEA GPS Driver"
986 depends on MSM_SMD
987 default y
988 help
989 Enable this to support the NMEA GPS device.
990
991 If in doubt, say yes.
992
993config MSM_SDIO_TTY
994 bool "SDIO TTY Driver"
995 depends on MSM_SDIO_AL
996 default n
997 help
998 Provides a TTY driver SDIO TTY
999 This driver can be used by user space
1000 applications for passing data through the
1001 SDIO interface.
1002
1003config MSM_SMD_TTY
1004 bool "SMD TTY Driver"
1005 depends on MSM_SMD
1006 default y
1007 help
1008 Provides TTY interfaces to interact with the modem.
1009
1010 If in doubt, say yes.
1011
1012config MSM_SMD_QMI
1013 bool "SMD QMI Driver"
1014 depends on MSM_SMD
1015 default y
1016 help
1017 Manages network data connections.
1018
1019 If in doubt, say yes.
1020
1021config MSM_SMD_PKT
1022 bool "SMD Packet Driver"
1023 depends on MSM_SMD
1024 default y
1025 help
1026 Provides a binary SMD non-muxed packet port interface.
1027
1028 If in doubt, say yes.
1029
1030config MSM_SDIO_CMUX
1031 bool "SDIO CMUX Driver"
1032 depends on MSM_SDIO_AL
1033 default n
1034 help
1035 Provides a Muxed port interface over SDIO QMI
1036
1037config MSM_DSPS
1038 bool "Sensors DSPS driver"
1039 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1040 default n
1041 help
1042 Provides user-space interface to the sensors manager
1043 to turn on/off the Sensors Processor system clocks.
1044 It is the DSPS responsibility to turn on/off the sensors
1045 themself.
1046 The number of clocks and their name may vary between targets.
1047 It also triggers the PIL to load the DSPS firmware.
1048
1049config MSM_SDIO_CTL
1050 bool "SDIO CTL Driver"
1051 depends on MSM_SDIO_CMUX
1052 default n
1053 help
1054 Provides a binary SDIO control port interface.
1055
1056config MSM_ONCRPCROUTER
1057 depends on MSM_SMD
1058 default n
1059 bool "MSM ONCRPC router support"
1060 help
1061 Support for the MSM ONCRPC router for communication between
1062 the ARM9 and ARM11
1063
1064config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001065 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001066 default n
1067 bool "MSM IPC Router support"
1068 help
1069 Support for the MSM IPC Router for communication between
1070 the APPs and the MODEM
1071
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001072config MSM_IPC_ROUTER_SMD_XPRT
1073 depends on MSM_SMD
1074 depends on MSM_IPC_ROUTER
1075 default n
1076 bool "MSM SMD XPRT Layer"
1077 help
1078 SMD Transport Layer for IPC Router
1079
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001080config MSM_ONCRPCROUTER_DEBUG
1081 depends on MSM_ONCRPCROUTER
1082 default y
1083 bool "MSM debug ONCRPC router support"
1084 help
1085 Support for debugging the ONCRPC router for communication
1086 between the ARM9 and ARM11
1087
1088config MSM_RPC_LOOPBACK_XPRT
1089 depends on MSM_ONCRPCROUTER
1090 default n
1091 bool "MSM RPC local routing support"
1092 help
1093 Support for routing RPC messages between APPS clients
1094 and APPS servers. Helps in testing APPS RPC framework.
1095
1096config MSM_RPCSERVER_TIME_REMOTE
1097 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1098 default y
1099 bool "Time remote RPC server"
1100 help
1101 The time remote server receives notification of time bases and
1102 reports these events to registered callback functions.
1103
1104config MSM_RPCSERVER_WATCHDOG
1105 depends on MSM_ONCRPCROUTER
1106 default y
1107 bool "Watchdog RPC server"
1108 help
1109 The dog_keepalive server handles watchdog events.
1110
1111config MSM_RPC_WATCHDOG
1112 depends on MSM_ONCRPCROUTER
1113 default n
1114 bool "Watchdog RPC client"
1115 help
1116 The dog_keepalive client module.
1117
1118config MSM_RPC_PING
1119 depends on MSM_ONCRPCROUTER && DEBUG_FS
1120 default m
1121 bool "MSM rpc ping"
1122 help
1123 Implements MSM rpc ping test module.
1124
1125config MSM_RPC_PROC_COMM_TEST
1126 depends on DEBUG_FS && MSM_PROC_COMM
1127 default m
1128 bool "MSM rpc proc comm test"
1129 help
1130 Implements MSM rpc proc comm test module.
1131
1132config MSM_RPC_OEM_RAPI
1133 depends on MSM_ONCRPCROUTER
1134 default m
1135 bool "MSM oem rapi"
1136 help
1137 Implements MSM oem rapi client module.
1138
1139config MSM_RPCSERVER_HANDSET
1140 depends on MSM_ONCRPCROUTER
1141 default y
1142 bool "Handset events RPC server"
1143 help
1144 Support for receiving handset events like headset detect,
1145 headset switch and clamshell state.
1146
1147config MSM_RMT_STORAGE_CLIENT
1148 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1149 default n
1150 bool "Remote Storage RPC client"
1151 help
1152 Provide RPC mechanism for remote processors to access storage
1153 device on apps processor.
1154
1155config MSM_RMT_STORAGE_CLIENT_STATS
1156 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1157 default n
1158 bool "Remote storage RPC client performance statistics"
1159 help
1160 Collects performance statistics and shows this information
1161 through a debugfs file rmt_storage_stats.
1162
1163config MSM_SDIO_SMEM
1164 depends on MSM_SDIO_AL
1165 default n
1166 bool "SDIO SMEM for remote storage"
1167 help
1168 Copies data from remote MDM9K memory to local MSM8x60
1169 memory. Used by remote storage client to shadow
1170 MDM9K filesystem.
1171
1172config MSM_DALRPC
1173 bool "DAL RPC support"
1174 depends on ARCH_MSM_SCORPION || ARCH_MSM_KRAIT
1175 default y
1176 help
1177 Supports RPC calls to DAL devices on remote processor cores.
1178
1179config MSM_DALRPC_TEST
1180 tristate "DAL RPC test module"
1181 depends on (MSM_DALRPC && DEBUG_FS)
1182 default m
1183 help
1184 Exercises DAL RPC calls to QDSP6.
1185
1186if CPU_FREQ_MSM
1187
1188config MSM_CPU_FREQ_SET_MIN_MAX
1189 bool "Set Min/Max CPU frequencies."
1190 default n
1191 help
1192 Allow setting min and max CPU frequencies. Sysfs can be used
1193 to override these values.
1194
1195config MSM_CPU_FREQ_MAX
1196 int "Max CPU Frequency"
1197 depends on MSM_CPU_FREQ_SET_MIN_MAX
1198 default 384000
1199
1200config MSM_CPU_FREQ_MIN
1201 int "Min CPU Frequency"
1202 depends on MSM_CPU_FREQ_SET_MIN_MAX
1203 default 245760
1204
1205endif # CPU_FREQ_MSM
1206
1207config MSM_CPU_AVS
1208 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1209 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1210 depends on ARCH_QSD8X50
1211 default n
1212 select MSM_AVS_HW
1213 help
1214 This enables the s/w control of Adaptive Voltage Scaling feature
1215 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1216 based on feedback from three ring oscillators in the CPU.
1217
1218config MSM_AVS_HW
1219 bool "Enable Adaptive Voltage Scaling (AVS)"
1220 default n
1221 help
1222 Enable AVS hardware to fine tune voltage at each frequency. The
1223 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1224 fine tune the voltages based on the feedback from the ring
1225 oscillators.
1226
1227config MSM_HW3D
1228 tristate "MSM Hardware 3D Register Driver"
1229 depends on ANDROID_PMEM
1230 default y
1231 help
1232 Provides access to registers needed by the userspace OpenGL|ES
1233 library.
1234
1235config MSM_ADSP
1236 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1237 tristate "MSM ADSP driver"
1238 depends on ANDROID_PMEM
1239 default y
1240 help
1241 Provides access to registers needed by the userspace aDSP library.
1242
1243config ADSP_RPC_VER
1244 hex
1245 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1246 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1247 depends on MSM_ADSP
1248 help
1249 Select proper ADSP RPC version
1250choice
1251 prompt "ADSP RPC version"
1252
1253 default AMSS_7X25_VERSION_2009
1254
1255 config AMSS_7X25_VERSION_2009
1256 bool "2.0.09"
1257
1258 config AMSS_7X25_VERSION_2008
1259 bool "2.0.08"
1260endchoice
1261
1262config MSM7KV2_AUDIO
1263 bool "MSM7K v2 audio"
1264 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1265 default y
1266 help
1267 Enables QDSP5V2-based audio drivers for audio playbacks and
1268 voice call.
1269
1270config MSM_ADSP_REPORT_EVENTS
1271 bool "Report modem events from the DSP"
1272 default y
1273 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1274 help
1275 Normally, only messages from the aDSP are reported to userspace.
1276 With this option, we report events from the aDSP as well.
1277
1278config MSM_QDSP6
1279 tristate "QDSP6 support"
1280 depends on ARCH_QSD8X50 && ANDROID_PMEM
1281 default y
1282 help
1283 Enable support for qdsp6. This provides audio and video functionality.
1284
1285config MSM8X60_AUDIO
1286 tristate "MSM8X60 audio support"
1287 depends on ARCH_MSM8X60 && ANDROID_PMEM
1288 default y
1289 help
1290 Enable support for qdsp6v2. This provides audio functionality.
1291
1292config MSM8X60_FTM_AUDIO_DEVICES
1293 bool "MSM8X60 audio factory test mode support"
1294 depends on MSM8X60_AUDIO
1295 help
1296 Enable support audio factory test mode devices. This is used
1297 in a production line environment.
1298
Ben Romberger45b351c2011-07-20 22:37:27 -07001299config RTAC
1300 bool "MSM8K real-time audio calibration support"
1301 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001302 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001303 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001304 audio operation
1305
1306config MSM7X27A_AUDIO
1307 bool "MSM7X27A audio support"
1308 depends on ARCH_MSM7X27A && MSM_ADSP
1309 default n
1310 help
1311 Enable support for 7x27a. This provides audio functionality.
1312
Justin Pauporea6cd2092011-06-22 16:19:45 -07001313config MSM_PROC_COMM_REGULATOR
1314 bool
1315 depends on MSM_PROC_COMM && REGULATOR
1316 help
1317 Enable regulator framework support for regulators managed by PMLIB
1318 on the modem, and controlled through proccomm calls.
1319
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001320config MSM_VREG_SWITCH_INVERTED
1321 bool "Reverse vreg switch polarity"
1322 default n
1323 help
1324 Reverses the enable and disable for vreg switch.
1325
1326config MSM_DMA_TEST
1327 tristate "MSM DMA test module"
1328 default m
1329 help
1330 Intended to be compiled as a module. Provides a device node
1331 and ioctls for testing the MSM dma system.
1332
1333config WIFI_CONTROL_FUNC
1334 bool "Enable WiFi control function abstraction"
1335 help
1336 Enables Power/Reset/Carddetect function abstraction
1337
1338config WIFI_MEM_PREALLOC
1339 depends on WIFI_CONTROL_FUNC
1340 bool "Preallocate memory for WiFi buffers"
1341 help
1342 Preallocates memory buffers for WiFi driver
1343
1344config QSD_AUDIO
1345 bool "QSD audio"
1346 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1347 default y
1348 help
1349 Provides PCM, MP3, and AAC audio playback.
1350
1351config AUDIO_AAC_PLUS
1352 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1353 bool "AAC+ Audio"
1354 default y
1355 help
1356 Provides AAC+ decoding
1357
1358config AUDIO_ENHANCED_AAC_PLUS
1359 depends on AUDIO_AAC_PLUS
1360 bool "Enhanced AAC+ Audio"
1361 default y
1362 help
1363 Provides Enhanced AAC+ decoding
1364
1365config SURF_FFA_GPIO_KEYPAD
1366 bool "MSM SURF/FFA GPIO keypad"
1367 depends on INPUT_GPIO = "y"
1368 default y
1369 help
1370 Select if the GPIO keypad is attached.
1371
1372config MSM_SLEEP_TIME_OVERRIDE
1373 bool "Allow overriding suspend/sleep time with PM module parameter"
1374 default y
1375 help
1376 Enable the module parameter sleep_time_override. Specified
1377 in units of seconds, it overwrites the normal sleep time of
1378 suspend. The feature is required for automated power management
1379 testing.
1380
1381config MSM_MEMORY_LOW_POWER_MODE
1382 bool "Control the low power modes of memory"
1383 default n
1384 help
1385 The application processor controls whether memory should enter
1386 which low power mode.
1387
1388choice
1389 prompt "Default Memory Low Power Mode during Idle"
1390 depends on MSM_MEMORY_LOW_POWER_MODE
1391 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1392 help
1393 Selects the default low power mode of the memory during idle
1394 sleep.
1395
1396 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1397 bool "Memory active"
1398
1399 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1400 bool "Memory in retention"
1401
1402 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1403 bool "Memory in deep power down"
1404endchoice
1405
1406choice
1407 prompt "Default Memory Low Power Mode during Suspend"
1408 depends on MSM_MEMORY_LOW_POWER_MODE
1409 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1410 help
1411 Selects the default low power mode of the memory during suspend
1412 sleep.
1413
1414 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1415 bool "Memory active"
1416
1417 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1418 bool "Memory in retention"
1419
1420 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1421 bool "Memory in deep power down"
1422endchoice
1423
1424choice
1425 prompt "Power management timeout action"
1426 default MSM_PM_TIMEOUT_HALT
1427 help
1428 Selects the Application Processor's action when Power Management
1429 times out waiting for Modem's handshake.
1430
1431 config MSM_PM_TIMEOUT_HALT
1432 bool "Halt the Application Processor"
1433
1434 config MSM_PM_TIMEOUT_RESET_MODEM
1435 bool "Reset the Modem Processor"
1436
1437 config MSM_PM_TIMEOUT_RESET_CHIP
1438 bool "Reset the entire chip"
1439endchoice
1440
1441config MSM_IDLE_WAIT_ON_MODEM
1442 int "Wait for Modem to become ready for idle power collapse"
1443 default 0
1444 help
1445 If Modem is not ready to handle Application Processor's request
1446 for idle power collapse, wait the number of microseconds in case
1447 Modem becomes ready soon.
1448
1449config MSM_PIL
1450 bool "Peripheral image loading"
1451 select FW_LOADER
1452 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1453 default n
1454 help
1455 Some peripherals need to be loaded into memory before they can be
1456 brought out of reset.
1457
1458 Say yes to support these devices.
1459
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001460config MSM_SCM
1461 bool "Secure Channel Manager (SCM) support"
1462 default n
1463
1464config MSM_SUBSYSTEM_RESTART
1465 bool "MSM Subsystem Restart Driver"
1466 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1467 default n
1468 help
1469 This option enables the MSM subsystem restart driver, which provides
1470 a framework to handle subsystem crashes.
1471
Matt Wagantallf8020902011-08-30 21:19:23 -07001472config MSM_SYSMON_COMM
1473 bool "MSM System Monitor communication support"
1474 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1475 default y
1476 help
1477 This option adds support for MSM System Monitor library, which
1478 provides an API that may be used for notifying subsystems within
1479 the SoC about other subsystems' power-up/down state-changes.
1480
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001481config MSM_MODEM_8960
1482 bool "MSM 8960 Modem driver"
1483 depends on (ARCH_MSM8960)
1484 help
1485 This option enables the modem driver for the MSM8960, which monitors
1486 modem hardware watchdog interrupt lines and plugs into the subsystem
1487 restart and PIL drivers.
1488
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001489config MSM_LPASS_8960
1490 tristate "MSM 8960 Lpass driver"
1491 depends on (ARCH_MSM8960)
1492 help
1493 This option enables the lpass driver for the MSM8960, which monitors
1494 lpass hardware watchdog interrupt lines and plugs into the subsystem
1495 restart and PIL drivers.
1496
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001497config MSM_WCNSS_SSR_8960
1498 tristate "MSM 8960 WCNSS restart module"
1499 depends on (ARCH_MSM8960)
1500 help
1501 This option enables the WCNSS restart module for MSM8960, which
1502 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1503 into the subsystem restart framework.
1504
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001505config SCORPION_Uni_45nm_BUG
1506 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1507 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1508 default y
1509 help
1510 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1511 invalidating the Branch Predictor Array by Modified Virtual Address can
1512 create invalid entries in the TLB with the wrong ASID values on Scorpion
1513 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1514 workaround for Scorpion Uniprocessor 45nm cores.
1515
1516 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1517
1518config MSM_RPM_LOG
1519 tristate "MSM Resource Power Manager Log Driver"
1520 depends on DEBUG_FS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001521 default n
1522 help
1523 This option enables a driver which can read from a circular buffer
1524 of messages produced by the RPM. These messages provide diagnostic
1525 information about RPM operation. The driver outputs the messages
1526 via a debugfs node.
1527
1528config MSM_RPM_STATS_LOG
1529 tristate "MSM Resource Power Manager Stat Driver"
1530 depends on DEBUG_FS
1531 depends on ARCH_MSM8X60
1532 default n
1533 help
1534 This option enables a driver which reads RPM messages from a shared
1535 memory location. These messages provide statistical information about
1536 the low power modes that RPM enters. The drivers outputs the message
1537 via a debugfs node.
1538
1539config MSM_IOMMU
1540 bool "MSM IOMMU Support"
Joel King41d594e2011-10-14 13:18:20 -07001541 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_APQ8064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001542 select IOMMU_API
1543 default n
1544 help
1545 Support for the IOMMUs found on certain Qualcomm SOCs.
1546 These IOMMUs allow virtualization of the address space used by most
1547 cores within the multimedia subsystem.
1548
1549 If unsure, say N here.
1550
1551config IOMMU_PGTABLES_L2
1552 bool "Allow SMMU page tables in the L2 cache (Experimental)"
1553 depends on MSM_IOMMU=y
1554 depends on MMU
1555 depends on CPU_DCACHE_DISABLE=n
1556 depends on SMP
1557 default y
1558 help
1559 Improves TLB miss latency at the expense of potential L2 pollution.
1560 However, with large multimedia buffers, the TLB should mostly contain
1561 section mappings and TLB misses should be quite infrequent.
1562 Most people can probably say Y here.
1563
1564config MSM_DIRECT_SCLK_ACCESS
1565 bool "Direct access to the SCLK timer"
1566 default n
1567
1568config IOMMU_API
1569 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001570
Gregory Beanab78cde2010-09-01 16:26:12 -07001571config MSM_GPIOMUX
1572 bool
1573
Gregory Bean1963a2a2010-08-28 10:05:44 -07001574config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001575 bool
1576
1577config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07001578 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001579
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001580config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001581 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001582
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001583config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001584 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001585
1586config MSM_BUS_SCALING
1587 bool "Bus scaling driver"
1588 default n
1589
Gagan Mac85c70492011-06-10 16:07:47 -06001590config MSM_BUS_RPM_MULTI_TIER_ENABLED
1591 bool "RPM Multi-tiering Configuration"
1592 depends on MSM_BUS_SCALING
1593
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001594config MSM_WATCHDOG
1595 bool "MSM Watchdog Support"
Rohit Vaswani085a9332011-09-28 18:57:24 -07001596 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001597 help
1598 This enables the watchdog as is present on 8x60. Currently we use
1599 core 0's watchdog, and reset the entire SoC if it times out. It does
1600 not run during the bootup process, so it will not catch any early
1601 lockups.
1602
1603config MSM_DLOAD_MODE
1604 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07001605 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001606 default n
1607 help
1608 This makes the SoC enter download mode when it resets
1609 due to a kernel panic. Note that this doesn't by itself
1610 make the kernel reboot on a kernel panic - that must be
1611 enabled via another mechanism.
1612
Pratik Patel7831c082011-06-08 21:44:37 -07001613config MSM_TRACE_ACROSS_PC
1614 bool "Trace support across power collapse"
1615 depends on ARCH_MSM8X60 || ARCH_MSM8960
1616 help
1617 Enables trace state to be saved and restored across power collapse.
1618
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001619config MSM_ETM
1620 tristate "Enable MSM ETM and ETB"
1621 depends on ARCH_MSM8X60
Pratik Patel7831c082011-06-08 21:44:37 -07001622 select MSM_TRACE_ACROSS_PC
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001623 help
Pratik Patel7831c082011-06-08 21:44:37 -07001624 Enables embedded trace collection on Qualcomm v7 CPUs.
1625
1626config MSM_QDSS
1627 bool "Coresight tracing support"
1628 depends on ARCH_MSM8960
1629 select MSM_TRACE_ACROSS_PC
1630 help
1631 Enables support for Qualcomm debug subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001632
1633config MSM_SLEEP_STATS
1634 bool "Enable exporting of MSM sleep stats to userspace"
1635 depends on CPU_IDLE
1636 default n
1637
1638config MSM_STANDALONE_POWER_COLLAPSE
1639 bool "Enable standalone power collapse"
1640 default n
1641
1642config MSM_GSBI9_UART
1643 bool "Enable GSBI9 UART device"
1644 default n
1645 help
1646 This enables GSBI9 configured into UART.
1647
1648config MSM_SHARED_GPIO_FOR_UART2DM
1649 bool "Use shared GPIOs into UART mode"
1650 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
1651 help
1652 This option configures GPIO muxed with SDC4/MMC3
1653 8-bit mode into UART mode. It is used for serial
1654 console on UART2DM. Say Y if you want to have
1655 serial console on UART2DM.
1656
1657config MSM_SHOW_RESUME_IRQ
1658 bool "Enable logging of interrupts that could have caused resume"
1659 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1660 default n
1661 help
1662 This option logs wake up interrupts that have triggered just before
1663 the resume loop unrolls. Say Y if you want to debug why the system
1664 resumed.
1665
1666config BT_MSM_PINTEST
1667 tristate "MSM Bluetooth Pin Connectivity Test"
1668 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
1669 default n
1670 help
1671 Bluetooth MSM Pin Connectivity test module.
1672 This driver provides support for verifying the MSM to BT pin
1673 connectivity.
1674
1675config MSM_FAKE_BATTERY
1676 depends on POWER_SUPPLY
1677 default n
1678 bool "MSM Fake Battery"
1679 help
1680 Enables MSM fake battery driver.
1681
1682config MSM_QDSP6_APR
1683 bool "Audio QDSP6 APR support"
1684 depends on MSM_SMD
1685 default n
1686 help
1687 Enable APR IPC protocol support between
1688 application processor and QDSP6. APR is
1689 used by audio driver to configure QDSP6's
1690 ASM, ADM and AFE.
1691
1692
1693config MSM_AUDIO_QDSP6
1694 bool "QDSP6 HW Audio support"
1695 select SND_SOC_MSM_QDSP6_INTF
1696 default n
1697 help
1698 Enable HW audio support in QDSP6.
1699 QDSP6 can support HW encoder & decoder and audio processing
1700
1701config MSM_RPC_VIBRATOR
1702 bool "RPC based MSM Vibrator Support"
1703 depends on MSM_ONCRPCROUTER
1704 help
1705 Enable the vibrator support on MSM over RPC. The vibrator
1706 is connected on the PMIC. Say Y if you want to enable this
1707 feature.
1708
1709config PM8XXX_RPC_VIBRATOR
1710 bool "RPC based Vibrator on PM8xxx PMICs"
1711 depends on MSM_RPC_VIBRATOR
1712 help
1713 Enable the vibrator support on MSM over RPC. The vibrator
1714 is connected on the PM8XXX PMIC. Say Y if you want to enable
1715 this feature.
1716
1717config MSM_SPM_V1
1718 bool "Driver support for SPM Version 1"
1719 help
1720 Enables the support for Version 1 of the SPM driver. SPM hardware is
1721 used to manage the processor power during sleep. The driver allows
1722 configuring SPM to allow different power modes.
1723
1724config MSM_SPM_V2
1725 bool "Driver support for SPM Version 2"
1726 help
1727 Enables the support for Version 2 of the SPM driver. SPM hardware is
1728 used to manage the processor power during sleep. The driver allows
1729 configuring SPM to allow different power modes.
1730
1731config MSM_L2_SPM
1732 bool "SPM support for L2 cache"
1733 depends on MSM_SPM_V2
1734 help
1735 Enable SPM driver support for L2 cache. Some MSM chipsets allow
1736 control of L2 cache low power mode with a Subsystem Power manager.
1737 Enabling this driver allows configuring L2 SPM for low power modes
1738 on supported chipsets.
1739
Brian Swetland9e73c842007-11-26 04:12:13 -08001740endif