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