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