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