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