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