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