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