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