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