blob: c049b5f49f1efb6c009e806da4b915b87f6041ec [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
Taniya Dasbe561a02011-10-12 09:53:11 +053018 select MULTI_IRQ_HANDLER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070019
20config ARCH_MSM7X27
21 bool "MSM7x27"
22 select ARCH_MSM_ARM11 if MSM_SOC_REV_NONE
23 select ARCH_HAS_BARRIERS if MSM_SOC_REV_NONE
24 select ARCH_MSM_CORTEX_A5 if MSM_SOC_REV_A
25 select MSM_VIC
26 select CPU_V6 if MSM_SOC_REV_NONE
27 select CPU_V7 if MSM_SOC_REV_A
28 select MSM_REMOTE_SPINLOCK_SWP if MSM_SOC_REV_NONE
29 select MSM_GPIOMUX
30 select REGULATOR
Taniya Dasbe561a02011-10-12 09:53:11 +053031 select MULTI_IRQ_HANDLER
Pankaj Kumar75c86fd2011-10-01 18:51:09 +053032 select MSM_PROC_COMM_REGULATOR
Daniel Walkerbf83de42010-03-16 16:29:44 -070033
Daniel Walker7b521612010-05-06 12:44:57 -070034config ARCH_MSM7X30
35 bool "MSM7x30"
36 select ARCH_MSM_SCORPION
Daniel Walker7b521612010-05-06 12:44:57 -070037 select MSM_VIC
38 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070039 select MSM_REMOTE_SPINLOCK_DEKKERS
40 select ARCH_SPARSEMEM_ENABLE
Laura Abbott78593b52011-09-26 18:48:14 -070041 select ARCH_HAS_HOLES_MEMORYMODEL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070042 select MEMORY_HOTPLUG
43 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -080044 select ARCH_ENABLE_MEMORY_HOTPLUG
45 select ARCH_ENABLE_MEMORY_HOTREMOVE
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070046 select MIGRATION
47 select ARCH_MEMORY_PROBE
48 select ARCH_MEMORY_REMOVE
Gregory Beanab78cde2010-09-01 16:26:12 -070049 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070050 select RESERVE_FIRST_PAGE
51 select MSM_DALRPC
52 select MSM_SPM_V1
53 select REGULATOR
Justin Paupore637a25d2011-07-14 17:11:04 -070054 select MSM_PROC_COMM_REGULATOR
Taniya Dasbae99fb2011-10-12 09:55:13 +053055 select MULTI_IRQ_HANDLER
Daniel Walker7b521612010-05-06 12:44:57 -070056
Daniel Walker4ad15e62010-05-06 13:54:17 -070057config ARCH_QSD8X50
58 bool "QSD8X50"
59 select ARCH_MSM_SCORPION
Daniel Walker4ad15e62010-05-06 13:54:17 -070060 select MSM_VIC
61 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070062 select MSM_REMOTE_SPINLOCK_LDREX
63 select CPU_USE_DOMAINS
64 select EMULATE_DOMAIN_MANAGER_V7
Gregory Beanab78cde2010-09-01 16:26:12 -070065 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070066 select MSM_DALRPC
Daniel Walker46fe5f22010-08-18 11:00:25 -070067
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070068config ARCH_MSM8X60
69 bool "MSM8X60"
Jeff Ohlsteine14411d2010-11-30 13:06:36 -080070 select ARCH_MSM_SCORPIONMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070071 select SMP_PARALLEL_START if SMP
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070072 select ARM_GIC
73 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070074 select MSM_REMOTE_SPINLOCK_LDREX
75 select ARCH_REQUIRE_GPIOLIB
76 select MSM_ADM3
77 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -080078 select MSM_RPM_REGULATOR
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070079 select MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070080 select MSM_PIL
81 select MSM_SCM
82 select ARCH_HAS_CPU_IDLE_WAIT
83 select MSM_DIRECT_SCLK_ACCESS
84 select MSM_RPM
85 select MSM_XO
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070086 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070087 select MSM_BUS_SCALING
88 select MSM_SECURE_IO
89 select MSM_DALRPC
90 select MSM_QDSP6_APR
91 select MSM_NATIVE_RESTART
92 select ARCH_INLINE_SPIN_TRYLOCK
93 select ARCH_INLINE_SPIN_TRYLOCK_BH
94 select ARCH_INLINE_SPIN_LOCK
95 select ARCH_INLINE_SPIN_LOCK_BH
96 select ARCH_INLINE_SPIN_LOCK_IRQ
97 select ARCH_INLINE_SPIN_LOCK_IRQSAVE
98 select ARCH_INLINE_SPIN_UNLOCK
99 select ARCH_INLINE_SPIN_UNLOCK_BH
100 select ARCH_INLINE_SPIN_UNLOCK_IRQ
101 select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
102 select ARCH_INLINE_READ_TRYLOCK
103 select ARCH_INLINE_READ_LOCK
104 select ARCH_INLINE_READ_LOCK_BH
105 select ARCH_INLINE_READ_LOCK_IRQ
106 select ARCH_INLINE_READ_LOCK_IRQSAVE
107 select ARCH_INLINE_READ_UNLOCK
108 select ARCH_INLINE_READ_UNLOCK_BH
109 select ARCH_INLINE_READ_UNLOCK_IRQ
110 select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
111 select ARCH_INLINE_WRITE_TRYLOCK
112 select ARCH_INLINE_WRITE_LOCK
113 select ARCH_INLINE_WRITE_LOCK_BH
114 select ARCH_INLINE_WRITE_LOCK_IRQ
115 select ARCH_INLINE_WRITE_LOCK_IRQSAVE
116 select ARCH_INLINE_WRITE_UNLOCK
117 select ARCH_INLINE_WRITE_UNLOCK_BH
118 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
119 select CPU_HAS_L2_PMU
120 select MSM_SPM_V1
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700121
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800122config ARCH_MSM8960
123 bool "MSM8960"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700124 select ARCH_MSM_KRAITMP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800125 select ARM_GIC
126 select CPU_V7
127 select MSM_V2_TLMM
128 select MSM_GPIOMUX
129 select MSM_SCM if SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700130 select MSM_DIRECT_SCLK_ACCESS
131 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -0800132 select MSM_RPM_REGULATOR
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700133 select MSM_RPM
134 select MSM_XO
135 select MSM_QDSP6_APR
136 select MSM_PIL
137 select MSM_AUDIO_QDSP6 if SND_SOC
138 select CPU_HAS_L2_PMU
139 select MSM_SPM_V2
Pratik Patelfd6f56a2011-10-10 17:47:55 -0700140 select HAS_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700141 select MSM_L2_SPM
142 select MSM_NATIVE_RESTART
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700143 select DONT_MAP_HOLE_AFTER_MEMBANK0
144 select MSM_REMOTE_SPINLOCK_SFPB
145 select ARCH_POPULATES_NODE_MAP
146 select ARCH_SPARSEMEM_ENABLE
147 select ARCH_HAS_HOLES_MEMORYMODEL
148 select MEMORY_HOTPLUG
149 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -0800150 select ARCH_ENABLE_MEMORY_HOTPLUG
151 select ARCH_ENABLE_MEMORY_HOTREMOVE
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700152 select MIGRATION
153 select ARCH_MEMORY_PROBE
154 select ARCH_MEMORY_REMOVE
Larry Bassel4dc15912011-10-14 11:01:43 -0700155 select FIX_MOVABLE_ZONE
Larry Basseld4d82c92011-12-07 09:52:49 -0800156 select CLEANCACHE
157 select QCACHE
Laura Abbott6d61a912011-10-27 16:44:14 -0700158 select MSM_MULTIMEDIA_USE_ION
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700159
160config ARCH_MSM8930
161 bool "MSM8930"
162 select ARCH_MSM_KRAITMP
163 select ARM_GIC
164 select CPU_V7
165 select MSM_V2_TLMM
166 select MSM_GPIOMUX
167 select MSM_SCM if SMP
168 select MSM_DIRECT_SCLK_ACCESS
169 select REGULATOR
170 select MSM_RPM
171 select MSM_XO
172 select MSM_QDSP6_APR
173 select MSM_PIL
174 select MSM_AUDIO_QDSP6 if SND_SOC
175 select CPU_HAS_L2_PMU
176 select MSM_SPM_V2
177 select MSM_L2_SPM
178 select MSM_NATIVE_RESTART
179 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600180 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700181 select ARCH_POPULATES_NODE_MAP
182 select ARCH_SPARSEMEM_ENABLE
183 select ARCH_HAS_HOLES_MEMORYMODEL
184 select MEMORY_HOTPLUG
185 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -0800186 select ARCH_ENABLE_MEMORY_HOTPLUG
187 select ARCH_ENABLE_MEMORY_HOTREMOVE
Larry Basself74479e2011-09-08 11:07:52 -0700188 select MIGRATION
189 select ARCH_MEMORY_PROBE
190 select ARCH_MEMORY_REMOVE
Larry Bassel4dc15912011-10-14 11:01:43 -0700191 select FIX_MOVABLE_ZONE
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +0200192 select MSM_ULTRASOUND
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700193
194config ARCH_APQ8064
195 bool "APQ8064"
196 select ARCH_MSM_KRAITMP
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700197 select MACH_APQ8064_SIM if !MACH_APQ8064_RUMI3
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700198 select MSM_V2_TLMM
199 select ARM_GIC
200 select CPU_V7
201 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700202 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600203 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800204 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800205 select MSM_QDSP6_APR
206 select MSM_AUDIO_QDSP6 if SND_SOC
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700207
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700208config ARCH_MSMCOPPER
209 bool "MSM Copper"
210 select ARCH_MSM_KRAITMP
211 select MSM_V2_TLMM
212 select ARM_GIC
213 select CPU_V7
214 select MSM_SCM if SMP
215 select MSM_GPIOMUX
216
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700217config ARCH_FSM9XXX
218 bool "FSM9XXX"
219 select ARCH_MSM_SCORPION
220 select MSM_VIC
221 select CPU_V7
222 select MSM_REMOTE_SPINLOCK_LDREX
223 select FSM9XXX_TLMM
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800224
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700225config ARCH_MSM9615
226 bool "MSM9615"
227 select ARM_GIC
228 select ARCH_MSM_CORTEX_A5
229 select CPU_V7
230 select MSM_V2_TLMM
231 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600232 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600233 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700234 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800235 select REGULATOR
236 select MSM_RPM_REGULATOR
237
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700238endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700239
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700240choice
241 prompt "MSM SoC Revision"
242 default MSM_SOC_REV_NONE
243config MSM_SOC_REV_NONE
244 bool "N/A"
245 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
246 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walker4ad15e62010-05-06 13:54:17 -0700247config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700248 bool "Rev. A"
249 select ARCH_MSM7X27A if ARCH_MSM7X27
250endchoice
Daniel Walker4ad15e62010-05-06 13:54:17 -0700251
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700252config MSM_KRAIT_TBB_ABORT_HANDLER
253 bool "Krait TBB/TBH data abort handler"
254 depends on ARCH_MSM_KRAIT
255 depends on ARM_THUMB
256 help
257 Certain early samples of the Krait processor may generate data
258 aborts for TBB / TBH instructions that fail their condition code
259 checks. Enabling this option will ignore these erroneous data aborts,
260 at the expense of a very small performance penalty.
261
262 If unsure, say N.
263
Daniel Walker4ad15e62010-05-06 13:54:17 -0700264config ARCH_MSM_ARM11
265 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700266
Daniel Walker4ad15e62010-05-06 13:54:17 -0700267config ARCH_MSM_SCORPION
Daniel Walkerbf83de42010-03-16 16:29:44 -0700268 bool
269
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700270config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700271 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800272 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700273
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700274config MSM_SMP
275 bool
276
277config ARCH_MSM_SCORPIONMP
278 select ARCH_MSM_SCORPION
279 select MSM_SMP
280 bool
281
282config ARCH_MSM_KRAITMP
283 select ARCH_MSM_KRAIT
284 select MSM_SMP
285 bool
286
287config ARCH_MSM_CORTEX_A5
288 bool
289 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
290
291config ARCH_MSM7X27A
292 bool
293 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700294 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530295 select MULTI_IRQ_HANDLER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700296
Gregory Beanf9f3d312010-04-30 22:06:50 -0700297config MSM_VIC
298 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700299
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700300config MSM_RPM
301 bool "Resource Power Manager"
302 select MSM_MPM
303
304config MSM_MPM
305 bool "Modem Power Manager"
306
307config MSM_XO
308 bool
309
310config MSM_REMOTE_SPINLOCK_DEKKERS
311 bool
312config MSM_REMOTE_SPINLOCK_SWP
313 bool
314config MSM_REMOTE_SPINLOCK_LDREX
315 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600316config MSM_REMOTE_SPINLOCK_SFPB
317 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700318config MSM_ADM3
319 bool
320
321menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700322
323config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700324 depends on ARCH_MSM7X01A
325 depends on MSM_STACKED_MEMORY
326 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700327 bool "Halibut Board (QCT SURF7201A)"
328 help
329 Support for the Qualcomm SURF7201A eval board.
330
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700331config MACH_MSM7201A_SURF
332 depends on ARCH_MSM7X01A
333 depends on MSM_STACKED_MEMORY
334 default y
335 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700336 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700337 Support for the Qualcomm MSM7201A SURF eval board.
338
339config MACH_MSM7201A_FFA
340 depends on ARCH_MSM7X01A
341 depends on MSM_STACKED_MEMORY
342 default y
343 bool "MSM7201A FFA"
344 help
345 Support for the Qualcomm MSM7201A FFA eval board.
346
347config MACH_TROUT
348 depends on ARCH_MSM7X01A
349 depends on MSM_STACKED_MEMORY
350 default y
351 bool "Trout"
352
353config MACH_MSM7X27_SURF
354 depends on ARCH_MSM7X27
355 depends on !MSM_STACKED_MEMORY
356 default y
357 bool "MSM7x27 SURF"
358 help
359 Support for the Qualcomm MSM7x27 SURF eval board.
360
361config MACH_MSM7X27_FFA
362 depends on ARCH_MSM7X27
363 depends on !MSM_STACKED_MEMORY
364 default y
365 bool "MSM7x27 FFA"
366 help
367 Support for the Qualcomm MSM7x27 FFA eval board.
368
369config MACH_MSM7X27A_RUMI3
370 depends on ARCH_MSM7X27A
371 depends on !MSM_STACKED_MEMORY
372 default y
373 bool "MSM7x27A RUMI3"
374 help
375 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
376
377config MACH_MSM7X27A_SURF
378 depends on ARCH_MSM7X27A
379 depends on !MSM_STACKED_MEMORY
380 default y
381 bool "MSM7x27A SURF"
382 help
383 Support for the Qualcomm MSM7x27A SURF.
384
385config MACH_MSM7X27A_FFA
386 depends on ARCH_MSM7X27A
387 depends on !MSM_STACKED_MEMORY
388 default y
389 bool "MSM7x27A FFA"
390 help
391 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700392
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530393config MACH_MSM7625A_SURF
394 depends on ARCH_MSM7X27A
395 depends on !MSM_STACKED_MEMORY
396 default y
397 bool "MSM7625A SURF"
398 help
399 Support for the Qualcomm MSM7625A SURF.
400
401config MACH_MSM7625A_FFA
402 depends on ARCH_MSM7X27A
403 depends on !MSM_STACKED_MEMORY
404 default y
405 bool "MSM7625A FFA"
406 help
407 Support for the Qualcomm MSM7625A FFA.
408
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530409config MACH_MSM7627A_QRD1
410 depends on ARCH_MSM7X27A
411 depends on !MSM_STACKED_MEMORY
412 default y
413 bool "MSM7627A QRD1"
414 help
415 Support for the Qualcomm MSM7627A Refrence Design.
416
Daniel Walker7b521612010-05-06 12:44:57 -0700417config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700418 depends on ARCH_MSM7X30
419 depends on !MSM_STACKED_MEMORY
420 default y
421 bool "MSM7x30 SURF"
422 help
423 Support for the Qualcomm MSM7x30 SURF eval board.
424
425config MACH_MSM7X30_FFA
426 depends on ARCH_MSM7X30
427 depends on !MSM_STACKED_MEMORY
428 default y
429 bool "MSM7x30 FFA"
430 help
431 Support for the Qualcomm MSM7x30 FFA eval board.
432
433config MACH_MSM7X30_FLUID
434 depends on ARCH_MSM7X30
435 depends on !MSM_STACKED_MEMORY
436 default y
437 bool "MSM7x30 FLUID"
438 help
439 Support for the Qualcomm MSM7x30 FLUID eval board.
440
441config MACH_SAPPHIRE
442 depends on ARCH_MSM7X01A
443 default n
444 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700445
Daniel Walker4ad15e62010-05-06 13:54:17 -0700446config MACH_QSD8X50_SURF
447 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700448 depends on MSM_SOC_REV_NONE
449 depends on MSM_STACKED_MEMORY
450 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700451 bool "QSD8x50 SURF"
452 help
453 Support for the Qualcomm QSD8x50 SURF eval board.
454
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700455config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700456 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700457 depends on MSM_SOC_REV_NONE
458 depends on MSM_STACKED_MEMORY
459 default y
460 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700461 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700462 Support for the Qualcomm QSD8x50 FFA eval board.
463
464config MACH_MSM7X25_SURF
465 depends on ARCH_MSM7X25
466 depends on !MSM_STACKED_MEMORY
467 default y
468 bool "MSM7x25 SURF"
469 help
470 Support for the Qualcomm MSM7x25 SURF eval board.
471
472config MACH_MSM7X25_FFA
473 depends on ARCH_MSM7X25
474 depends on !MSM_STACKED_MEMORY
475 default y
476 bool "MSM7x25 FFA"
477 help
478 Support for the Qualcomm MSM7x25 FFA eval board.
479
480config MACH_MSM8X55_SURF
481 depends on ARCH_MSM7X30
482 depends on !MSM_STACKED_MEMORY
483 default y
484 bool "MSM8X55 SURF"
485 help
486 Support for the Qualcomm MSM8x55 SURF eval board.
487
488config MACH_MSM8X55_FFA
489 depends on ARCH_MSM7X30
490 depends on !MSM_STACKED_MEMORY
491 default y
492 bool "MSM8X55 FFA"
493 help
494 Support for the Qualcomm MSM8x55 FFA eval board.
495
496config MACH_MSM8X55_SVLTE_FFA
497 depends on ARCH_MSM7X30
498 depends on !MSM_STACKED_MEMORY
499 default y
500 bool "MSM8X55 SVLTE FFA"
501 help
502 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
503
504config MACH_MSM8X55_SVLTE_SURF
505 depends on ARCH_MSM7X30
506 depends on !MSM_STACKED_MEMORY
507 default y
508 bool "MSM8X55 SVLTE SURF"
509 help
510 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700511
Steve Mucklea55df6e2010-01-07 12:43:24 -0800512config MACH_MSM8X60_RUMI3
513 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700514 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800515 bool "MSM8x60 RUMI3"
516 help
517 Support for the Qualcomm MSM8x60 RUMI3 emulator.
518
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800519config MACH_MSM8X60_SIM
520 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700521 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800522 bool "MSM8x60 Simulator"
523 help
524 Support for the Qualcomm MSM8x60 simulator.
525
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700526config MACH_MSM8X60_SURF
527 depends on ARCH_MSM8X60
528 default n
529 bool "MSM8x60 SURF"
530 help
531 Support for the Qualcomm MSM8x60 SURF eval board.
532
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700533config MACH_MSM8X60_FFA
534 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700535 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700536 bool "MSM8x60 FFA"
537 help
538 Support for the Qualcomm MSM8x60 FFA eval board.
539
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700540config MACH_MSM8X60_FLUID
541 depends on ARCH_MSM8X60
542 default n
543 bool "MSM8x60 FLUID"
544 help
545 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
546 8x60 target which has a form factor that is much closer to that
547 of a phone than other targets. It also has a new display and
548 touchscreen controller.
549
550config MACH_MSM8X60_FUSION
551 depends on ARCH_MSM8X60
552 default n
553 bool "MSM8x60 FUSION"
554 help
555 Support for the Qualcomm MSM8x60 Fusion SURF device.
556
557config MACH_MSM8X60_FUSN_FFA
558 depends on ARCH_MSM8X60
559 default n
560 bool "MSM8x60 FUSN FFA"
561 help
562 Support for the Qualcomm MSM8x60 Fusion FFA device.
563
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400564config MACH_MSM8X60_DRAGON
565 depends on ARCH_MSM8X60
566 default n
567 bool "MSM8x60 DRAGON"
568 help
569 Support for the Qualcomm MSM8x60 Dragon board.
570
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800571config MACH_MSM8960_SIM
572 depends on ARCH_MSM8960
573 bool "MSM8960 Simulator"
574 help
575 Support for the Qualcomm MSM8960 simulator.
576
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800577config MACH_MSM8960_RUMI3
578 depends on ARCH_MSM8960
579 bool "MSM8960 RUMI3"
580 help
581 Support for the Qualcomm MSM8960 RUMI3 emulator.
582
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700583config MACH_MSM8960_CDP
584 depends on ARCH_MSM8960
585 bool "MSM8960 CDP"
586 help
587 Support for the Qualcomm MSM8960 CDP device.
588
589config MACH_MSM8960_MTP
590 depends on ARCH_MSM8960
591 bool "MSM8960 MTP"
592 help
593 Support for the Qualcomm MSM8960 MTP device.
594
595config MACH_MSM8960_FLUID
596 depends on ARCH_MSM8960
597 bool "MSM8960 FLUID"
598 help
599 Support for the Qualcomm MSM8960 FLUID device.
600
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300601config MACH_MSM8960_LIQUID
602 depends on ARCH_MSM8960
603 bool "MSM8960 LIQUID"
604 help
605 Support for the Qualcomm MSM8960 LIQUID device.
606
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700607config MACH_MSM8930_CDP
608 depends on ARCH_MSM8930
609 bool "MSM8930 CDP"
610 help
611 Support for the Qualcomm MSM8930 CDP device.
612
613config MACH_MSM8930_MTP
614 depends on ARCH_MSM8930
615 bool "MSM8930 MTP"
616 help
617 Support for the Qualcomm MSM8930 MTP device.
618
619config MACH_MSM8930_FLUID
620 depends on ARCH_MSM8930
621 bool "MSM8930 FLUID"
622 help
623 Support for the Qualcomm MSM8930 FLUID device.
624
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800625config MACH_MSM8627_CDP
626 depends on ARCH_MSM8930
627 bool "MSM8627 CDP"
628 help
629 Support for the Qualcomm MSM8627 CDP device.
630
631config MACH_MSM8627_MTP
632 depends on ARCH_MSM8930
633 bool "MSM8627 MTP"
634 help
635 Support for the Qualcomm MSM8627 MTP device.
636
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700637config MACH_MSM9615_CDP
638 depends on ARCH_MSM9615
639 bool "MSM9615 CDP"
640 help
641 Support for the Qualcomm MSM9615 CDP device.
642
643config MACH_MSM9615_MTP
644 depends on ARCH_MSM9615
645 bool "MSM9615 MTP"
646 help
647 Support for the Qualcomm MSM9615 MTP device.
648
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700649config MSM_USE_TSIF1
650 depends on ARCH_MSM8X60
651 bool "MSM8x60 use TSIF1"
652 help
653 Selects TSIF1 core to be used rather than TSIF0.
654 The two TSIF cores share the same DM configuration
655 so they cannot be used simultaneously.
656
657config MACH_APQ8064_SIM
658 depends on ARCH_APQ8064
659 bool "APQ8064 Simulator"
660 help
661 Support for the Qualcomm APQ8064 simulator.
662
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700663config MACH_APQ8064_RUMI3
664 depends on ARCH_APQ8064
665 bool "APQ8064 RUMI3"
666 help
667 Support for the Qualcomm APQ8064 RUMI3 emulator.
668
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700669config MACH_FSM9XXX_SURF
670 depends on ARCH_FSM9XXX
671 depends on !MSM_STACKED_MEMORY
672 default y
673 bool "FSM9XXX SURF"
674 help
675 Support for the Qualcomm FSM9xxx femtocell
676 chipset based SURF evaluation board and
677 FFA board.
678
Daniel Walker4ad15e62010-05-06 13:54:17 -0700679endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800680
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700681config MSM_STACKED_MEMORY
682 bool "Stacked Memory"
683 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800684 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700685 This option is used to indicate the presence of on-die stacked
686 memory. When present this memory bank is used for a high speed
687 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800688
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700689config PHYS_OFFSET
690 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700691 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700692 default "0x80200000" if ARCH_APQ8064
693 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700694 default "0x80200000" if ARCH_MSM8930
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700695 default "0x80200000" if ARCH_MSMCOPPER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700696 default "0x10000000" if ARCH_FSM9XXX
697 default "0x00200000" if !MSM_STACKED_MEMORY
698 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
699 default "0x20000000" if ARCH_QSD8X50
700 default "0x40200000" if ARCH_MSM8X60
701 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800702
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700703config KERNEL_PMEM_EBI_REGION
704 bool "Enable in-kernel PMEM region for EBI"
705 default y if ARCH_MSM8X60
706 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960)
707 help
708 Enable the in-kernel PMEM allocator to use EBI memory.
709
710config KERNEL_PMEM_SMI_REGION
711 bool "Enable in-kernel PMEM region for SMI"
712 default y if ARCH_MSM8X60
713 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
714 help
715 Enable the in-kernel PMEM allocator to use SMI memory.
716
717config PMEM_GPU0
718 bool "Enable PMEM GPU0 region"
719 default y
720 depends on ARCH_QSD8X50 && ANDROID_PMEM
721 help
722 Enable the PMEM GPU0 device on SMI Memory.
723
724config MSM_AMSS_VERSION
725 int
726 default 6210 if MSM_AMSS_VERSION_6210
727 default 6220 if MSM_AMSS_VERSION_6220
728 default 6225 if MSM_AMSS_VERSION_6225
729
730choice
731 prompt "AMSS modem firmware version"
732
733 default MSM_AMSS_VERSION_6225
734
735 config MSM_AMSS_VERSION_6210
736 bool "6.2.10"
737
738 config MSM_AMSS_VERSION_6220
739 bool "6.2.20"
740
741 config MSM_AMSS_VERSION_6225
742 bool "6.2.20 + New ADSP"
743endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800744
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700745config MSM_HAS_DEBUG_UART_HS
746 bool
747 help
748 Say Y here if high speed MSM UART is present.
749
750config MSM_HAS_DEBUG_UART_HS_V14
751 bool
752 select MSM_HAS_DEBUG_UART_HS
753 help
754 Say Y here if high speed MSM UART v1.4 is present.
755
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800756config DEBUG_MSM8930_UART
757 bool "Kernel low-level debugging messages via MSM 8930 UART"
758 depends on ARCH_MSM8930 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700759 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800760 help
761 Say Y here if you want the debug print routines to direct
762 their output to the serial port on MSM 8930 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100763
764choice
765 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800766 depends on DEBUG_LL
Pavel Machek6339f662009-11-02 11:48:29 +0100767
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800768 config DEBUG_MSM_UART1
769 bool "Kernel low-level debugging messages via MSM UART1"
770 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
771 help
772 Say Y here if you want the debug print routines to direct
773 their output to the first serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100774
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800775 config DEBUG_MSM_UART2
776 bool "Kernel low-level debugging messages via MSM UART2"
777 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
778 help
779 Say Y here if you want the debug print routines to direct
780 their output to the second serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100781
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800782 config DEBUG_MSM_UART3
783 bool "Kernel low-level debugging messages via MSM UART3"
784 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
785 help
786 Say Y here if you want the debug print routines to direct
787 their output to the third serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100788
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800789 config DEBUG_MSM8660_UART
790 bool "Kernel low-level debugging messages via MSM 8660 UART"
791 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700792 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800793 help
794 Say Y here if you want the debug print routines to direct
795 their output to the serial port on MSM 8660 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100796
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800797 config DEBUG_MSM8960_UART
798 bool "Kernel low-level debugging messages via MSM 8960 UART"
799 depends on ARCH_MSM8960
800 select DEBUG_MSM8930_UART
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700801 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800802 help
803 Say Y here if you want the debug print routines to direct
804 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700805
806 config DEBUG_MSMCOPPER_UART
807 bool "Kernel low-level debugging messages via MSM Copper UART"
808 depends on ARCH_MSMCOPPER
809 select MSM_HAS_DEBUG_UART_HS_V14
810 help
811 Say Y here if you want the debug print routines to direct
812 their output to the serial port on MSM Copper devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100813endchoice
814
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700815choice
816 prompt "Default Timer"
817 default MSM7X00A_USE_GP_TIMER
818
819 config MSM7X00A_USE_GP_TIMER
820 bool "GP Timer"
821 help
822 Low resolution timer that allows power collapse from idle.
823
824 config MSM7X00A_USE_DG_TIMER
825 bool "DG Timer"
826 help
827 High resolution timer.
828endchoice
829
830choice
831 prompt "Suspend sleep mode"
832 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
833 help
834 Allows overriding the sleep mode used. Leave at power
835 collapse suspend unless the arm9 image has problems.
836
837 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
838 bool "Power collapse suspend"
839 help
840 Lowest sleep state. Returns through reset vector.
841
842 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
843 bool "Power collapse"
844 help
845 Sleep state that returns through reset vector.
846
847 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
848 bool "Apps Sleep"
849
850 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
851 bool "Ramp down cpu clock and wait for interrupt"
852
853 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
854 bool "Wait for interrupt"
855endchoice
856
857config MSM7X00A_SLEEP_MODE
858 int
859 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
860 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
861 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
862 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
863 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
864
865choice
866 prompt "Idle sleep mode"
867 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
868 help
869 Allows overriding the sleep mode used from idle. Leave at power
870 collapse suspend unless the arm9 image has problems.
871
872 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
873 bool "Power collapse suspend"
874 help
875 Lowest sleep state. Returns through reset vector.
876
877 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
878 bool "Power collapse"
879 help
880 Sleep state that returns through reset vector.
881
882 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
883 bool "Apps Sleep"
884
885 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
886 bool "Ramp down cpu clock and wait for interrupt"
887
888 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
889 bool "Wait for interrupt"
890endchoice
891
892config MSM7X00A_IDLE_SLEEP_MODE
893 int
894 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
895 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
896 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
897 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
898 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
899
900config MSM7X00A_IDLE_SLEEP_MIN_TIME
901 int "Minimum idle time before sleep"
902 default 20000000
903 help
904 Minimum idle time in nanoseconds before entering low power mode.
905
906config MSM7X00A_IDLE_SPIN_TIME
907 int "Idle spin time before cpu ramp down"
908 default 80000
909 help
910 Spin time in nanoseconds before ramping down cpu clock and entering
911 any low power state.
912
913menuconfig MSM_IDLE_STATS
914 bool "Collect idle statistics"
915 default y
916 help
917 Collect idle statistics and export them in proc/msm_pm_stats.
918
919if MSM_IDLE_STATS
920
921config MSM_IDLE_STATS_FIRST_BUCKET
922 int "First bucket time"
923 default 62500
924 help
925 Upper time limit in nanoseconds of first bucket.
926
927config MSM_IDLE_STATS_BUCKET_SHIFT
928 int "Bucket shift"
929 default 2
930
931config MSM_IDLE_STATS_BUCKET_COUNT
932 int "Bucket count"
933 default 10
934
935config MSM_SUSPEND_STATS_FIRST_BUCKET
936 int "First bucket time for suspend"
937 default 1000000000
938 help
939 Upper time limit in nanoseconds of first bucket of the
940 histogram. This is for collecting statistics on suspend.
941
942endif # MSM_IDLE_STATS
943
944config CPU_HAS_L2_PMU
945 bool "L2CC PMU Support"
946 help
947 Select this if the L2 cache controller has a Performance Monitoring Unit.
948
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700949config HTC_HEADSET
950 tristate "HTC 2 Wire detection driver"
951 default n
952 help
953 Provides support for detecting HTC 2 wire devices, such as wired
954 headset, on the trout platform. Can be used with the msm serial
955 debugger, but not with serial console.
956
957config TROUT_BATTCHG
958 depends on MACH_TROUT && POWER_SUPPLY
959 default y
960 bool "Trout battery / charger driver"
961
962config HTC_PWRSINK
963 depends on MSM_SMD
964 default n
965 bool "HTC Power Sink Driver"
966
967config QSD_SVS
968 bool "QSD Static Voltage Scaling"
969 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
970 default y
971 select TPS65023
972 help
973 Enables static voltage scaling using the TPS65023 PMIC.
974
975config QSD_PMIC_DEFAULT_DCDC1
976 int "PMIC default output voltage"
977 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
978 default 1250
979 help
980 This is the PMIC voltage at Linux kernel boot.
981
982config MSM_FIQ_SUPPORT
983 default y
984 bool "Enable installation of an FIQ handler."
985
986config MSM_SERIAL_DEBUGGER
987 select MSM_FIQ_SUPPORT
988 select KERNEL_DEBUGGER_CORE
989 default n
990 bool "FIQ Mode Serial Debugger"
991 help
992 The FIQ serial debugger can accept commands even when the
993 kernel is unresponsive due to being stuck with interrupts
994 disabled. Depends on the kernel debugger core in drivers/misc.
995
996config MSM_SERIAL_DEBUGGER_CONSOLE
997 depends on MSM_SERIAL_DEBUGGER
998 default n
999 bool "Console on FIQ Serial Debugger port"
1000 help
1001 Enables a console so that printk messages are displayed on
1002 the debugger serial port as the occur.
Daniel Walkerbf83de42010-03-16 16:29:44 -07001003
Steve Mucklec8aabae2010-04-21 16:20:27 -07001004config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001005 default y
1006 bool "Proc-Comm RPC Interface"
1007 help
1008 Enables a lightweight communications interface to the
1009 baseband processor.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001010
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001011config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001012 bool "MSM Shared Memory Driver (SMD)"
1013 help
1014 Support for the shared memory interface between the apps
1015 processor and the baseband processor. Provides access to
1016 the "shared heap", as well as virtual serial channels
1017 used to communicate with various services on the baseband
1018 processor.
1019
1020choice
1021 prompt "MSM Shared memory interface version"
1022 depends on MSM_SMD
1023 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1024 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1025
1026 config MSM_SMD_PKG3
1027 bool
1028 prompt "Package 3"
1029
1030 config MSM_SMD_PKG4
1031 bool
1032 prompt "Package 4"
1033endchoice
1034
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001035config MSM_RPC_SDIO_XPRT
1036 depends on MSM_SDIO_AL
1037 default y
1038 bool "MSM SDIO XPRT Layer"
1039 help
1040 SDIO Transport Layer for RPC Rouer
1041
1042config MSM_RPC_SDIO_DEBUG
1043 depends on MSM_RPC_SDIO_XPRT
1044 default y
1045 bool "MSM SDIO XPRT debug support"
1046 help
1047 Support for debugging SDIO XPRT
1048
1049config MSM_SMD_DEBUG
1050 depends on MSM_SMD
1051 default y
1052 bool "MSM SMD debug support"
1053 help
1054 Support for debugging the SMD for communication
1055 between the ARM9 and ARM11
1056
1057config MSM_SDIO_AL
1058 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1059 default y
1060 tristate "SDIO-Abstraction-Layer"
1061 help
1062 Support MSM<->MDM Communication over SDIO bus.
1063 MDM SDIO-Client should have pipes support.
1064
1065config MSM_SDIO_DMUX
1066 bool "SDIO Data Mux Driver"
1067 depends on MSM_SDIO_AL
1068 default n
1069 help
1070 Support Muxed Data Channels over SDIO interface.
1071
1072config MSM_BAM_DMUX
1073 bool "BAM Data Mux Driver"
1074 depends on SPS
1075 default n
1076 help
1077 Support Muxed Data Channels over BAM interface.
1078 BAM has a limited number of pipes. This driver
1079 provides a means to support more logical channels
1080 via muxing than BAM could without muxing.
1081
1082config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001083 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001084 default y
1085 bool "MSM N-WAY SMD support"
1086 help
1087 Supports APPS-QDSP SMD communication along with
1088 normal APPS-MODEM SMD communication.
1089
1090config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001091 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001092 default y
1093 bool "MSM N-WAY SMSM support"
1094 help
1095 Supports APPS-QDSP SMSM communication along with
1096 normal APPS-MODEM SMSM communication.
1097
1098config MSM_RESET_MODEM
1099 tristate "Reset Modem Driver"
1100 depends on MSM_SMD
1101 default m
1102 help
1103 Allows the user to reset the modem through a device node.
1104
1105config MSM_SMD_LOGGING
1106 depends on MSM_SMD
1107 default y
1108 bool "MSM Shared Memory Logger"
1109 help
1110 This option exposes the shared memory logger at /dev/smem_log
1111 and a debugfs node named smem_log.
1112
1113 If in doubt, say yes.
1114
1115config MSM_SMD_NMEA
1116 bool "NMEA GPS Driver"
1117 depends on MSM_SMD
1118 default y
1119 help
1120 Enable this to support the NMEA GPS device.
1121
1122 If in doubt, say yes.
1123
1124config MSM_SDIO_TTY
1125 bool "SDIO TTY Driver"
1126 depends on MSM_SDIO_AL
1127 default n
1128 help
1129 Provides a TTY driver SDIO TTY
1130 This driver can be used by user space
1131 applications for passing data through the
1132 SDIO interface.
1133
1134config MSM_SMD_TTY
1135 bool "SMD TTY Driver"
1136 depends on MSM_SMD
1137 default y
1138 help
1139 Provides TTY interfaces to interact with the modem.
1140
1141 If in doubt, say yes.
1142
1143config MSM_SMD_QMI
1144 bool "SMD QMI Driver"
1145 depends on MSM_SMD
1146 default y
1147 help
1148 Manages network data connections.
1149
1150 If in doubt, say yes.
1151
1152config MSM_SMD_PKT
1153 bool "SMD Packet Driver"
1154 depends on MSM_SMD
1155 default y
1156 help
1157 Provides a binary SMD non-muxed packet port interface.
1158
1159 If in doubt, say yes.
1160
1161config MSM_SDIO_CMUX
1162 bool "SDIO CMUX Driver"
1163 depends on MSM_SDIO_AL
1164 default n
1165 help
1166 Provides a Muxed port interface over SDIO QMI
1167
1168config MSM_DSPS
1169 bool "Sensors DSPS driver"
1170 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1171 default n
1172 help
1173 Provides user-space interface to the sensors manager
1174 to turn on/off the Sensors Processor system clocks.
1175 It is the DSPS responsibility to turn on/off the sensors
1176 themself.
1177 The number of clocks and their name may vary between targets.
1178 It also triggers the PIL to load the DSPS firmware.
1179
1180config MSM_SDIO_CTL
1181 bool "SDIO CTL Driver"
1182 depends on MSM_SDIO_CMUX
1183 default n
1184 help
1185 Provides a binary SDIO control port interface.
1186
1187config MSM_ONCRPCROUTER
1188 depends on MSM_SMD
1189 default n
1190 bool "MSM ONCRPC router support"
1191 help
1192 Support for the MSM ONCRPC router for communication between
1193 the ARM9 and ARM11
1194
1195config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001196 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001197 default n
1198 bool "MSM IPC Router support"
1199 help
1200 Support for the MSM IPC Router for communication between
1201 the APPs and the MODEM
1202
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001203config MSM_IPC_ROUTER_SMD_XPRT
1204 depends on MSM_SMD
1205 depends on MSM_IPC_ROUTER
1206 default n
1207 bool "MSM SMD XPRT Layer"
1208 help
1209 SMD Transport Layer for IPC Router
1210
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001211config MSM_ONCRPCROUTER_DEBUG
1212 depends on MSM_ONCRPCROUTER
1213 default y
1214 bool "MSM debug ONCRPC router support"
1215 help
1216 Support for debugging the ONCRPC router for communication
1217 between the ARM9 and ARM11
1218
1219config MSM_RPC_LOOPBACK_XPRT
1220 depends on MSM_ONCRPCROUTER
1221 default n
1222 bool "MSM RPC local routing support"
1223 help
1224 Support for routing RPC messages between APPS clients
1225 and APPS servers. Helps in testing APPS RPC framework.
1226
1227config MSM_RPCSERVER_TIME_REMOTE
1228 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1229 default y
1230 bool "Time remote RPC server"
1231 help
1232 The time remote server receives notification of time bases and
1233 reports these events to registered callback functions.
1234
1235config MSM_RPCSERVER_WATCHDOG
1236 depends on MSM_ONCRPCROUTER
1237 default y
1238 bool "Watchdog RPC server"
1239 help
1240 The dog_keepalive server handles watchdog events.
1241
1242config MSM_RPC_WATCHDOG
1243 depends on MSM_ONCRPCROUTER
1244 default n
1245 bool "Watchdog RPC client"
1246 help
1247 The dog_keepalive client module.
1248
1249config MSM_RPC_PING
1250 depends on MSM_ONCRPCROUTER && DEBUG_FS
1251 default m
1252 bool "MSM rpc ping"
1253 help
1254 Implements MSM rpc ping test module.
1255
1256config MSM_RPC_PROC_COMM_TEST
1257 depends on DEBUG_FS && MSM_PROC_COMM
1258 default m
1259 bool "MSM rpc proc comm test"
1260 help
1261 Implements MSM rpc proc comm test module.
1262
1263config MSM_RPC_OEM_RAPI
1264 depends on MSM_ONCRPCROUTER
1265 default m
1266 bool "MSM oem rapi"
1267 help
1268 Implements MSM oem rapi client module.
1269
1270config MSM_RPCSERVER_HANDSET
1271 depends on MSM_ONCRPCROUTER
1272 default y
1273 bool "Handset events RPC server"
1274 help
1275 Support for receiving handset events like headset detect,
1276 headset switch and clamshell state.
1277
1278config MSM_RMT_STORAGE_CLIENT
1279 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1280 default n
1281 bool "Remote Storage RPC client"
1282 help
1283 Provide RPC mechanism for remote processors to access storage
1284 device on apps processor.
1285
1286config MSM_RMT_STORAGE_CLIENT_STATS
1287 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1288 default n
1289 bool "Remote storage RPC client performance statistics"
1290 help
1291 Collects performance statistics and shows this information
1292 through a debugfs file rmt_storage_stats.
1293
1294config MSM_SDIO_SMEM
1295 depends on MSM_SDIO_AL
1296 default n
1297 bool "SDIO SMEM for remote storage"
1298 help
1299 Copies data from remote MDM9K memory to local MSM8x60
1300 memory. Used by remote storage client to shadow
1301 MDM9K filesystem.
1302
1303config MSM_DALRPC
1304 bool "DAL RPC support"
1305 depends on ARCH_MSM_SCORPION || ARCH_MSM_KRAIT
1306 default y
1307 help
1308 Supports RPC calls to DAL devices on remote processor cores.
1309
1310config MSM_DALRPC_TEST
1311 tristate "DAL RPC test module"
1312 depends on (MSM_DALRPC && DEBUG_FS)
1313 default m
1314 help
1315 Exercises DAL RPC calls to QDSP6.
1316
1317if CPU_FREQ_MSM
1318
1319config MSM_CPU_FREQ_SET_MIN_MAX
1320 bool "Set Min/Max CPU frequencies."
1321 default n
1322 help
1323 Allow setting min and max CPU frequencies. Sysfs can be used
1324 to override these values.
1325
1326config MSM_CPU_FREQ_MAX
1327 int "Max CPU Frequency"
1328 depends on MSM_CPU_FREQ_SET_MIN_MAX
1329 default 384000
1330
1331config MSM_CPU_FREQ_MIN
1332 int "Min CPU Frequency"
1333 depends on MSM_CPU_FREQ_SET_MIN_MAX
1334 default 245760
1335
1336endif # CPU_FREQ_MSM
1337
1338config MSM_CPU_AVS
1339 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1340 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1341 depends on ARCH_QSD8X50
1342 default n
1343 select MSM_AVS_HW
1344 help
1345 This enables the s/w control of Adaptive Voltage Scaling feature
1346 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1347 based on feedback from three ring oscillators in the CPU.
1348
1349config MSM_AVS_HW
1350 bool "Enable Adaptive Voltage Scaling (AVS)"
1351 default n
1352 help
1353 Enable AVS hardware to fine tune voltage at each frequency. The
1354 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1355 fine tune the voltages based on the feedback from the ring
1356 oscillators.
1357
1358config MSM_HW3D
1359 tristate "MSM Hardware 3D Register Driver"
1360 depends on ANDROID_PMEM
1361 default y
1362 help
1363 Provides access to registers needed by the userspace OpenGL|ES
1364 library.
1365
1366config MSM_ADSP
1367 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1368 tristate "MSM ADSP driver"
1369 depends on ANDROID_PMEM
1370 default y
1371 help
1372 Provides access to registers needed by the userspace aDSP library.
1373
1374config ADSP_RPC_VER
1375 hex
1376 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1377 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1378 depends on MSM_ADSP
1379 help
1380 Select proper ADSP RPC version
1381choice
1382 prompt "ADSP RPC version"
1383
1384 default AMSS_7X25_VERSION_2009
1385
1386 config AMSS_7X25_VERSION_2009
1387 bool "2.0.09"
1388
1389 config AMSS_7X25_VERSION_2008
1390 bool "2.0.08"
1391endchoice
1392
1393config MSM7KV2_AUDIO
1394 bool "MSM7K v2 audio"
1395 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1396 default y
1397 help
1398 Enables QDSP5V2-based audio drivers for audio playbacks and
1399 voice call.
1400
1401config MSM_ADSP_REPORT_EVENTS
1402 bool "Report modem events from the DSP"
1403 default y
1404 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1405 help
1406 Normally, only messages from the aDSP are reported to userspace.
1407 With this option, we report events from the aDSP as well.
1408
1409config MSM_QDSP6
1410 tristate "QDSP6 support"
1411 depends on ARCH_QSD8X50 && ANDROID_PMEM
1412 default y
1413 help
1414 Enable support for qdsp6. This provides audio and video functionality.
1415
1416config MSM8X60_AUDIO
1417 tristate "MSM8X60 audio support"
1418 depends on ARCH_MSM8X60 && ANDROID_PMEM
1419 default y
1420 help
1421 Enable support for qdsp6v2. This provides audio functionality.
1422
1423config MSM8X60_FTM_AUDIO_DEVICES
1424 bool "MSM8X60 audio factory test mode support"
1425 depends on MSM8X60_AUDIO
1426 help
1427 Enable support audio factory test mode devices. This is used
1428 in a production line environment.
1429
Ben Romberger45b351c2011-07-20 22:37:27 -07001430config RTAC
1431 bool "MSM8K real-time audio calibration support"
1432 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001433 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001434 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001435 audio operation
1436
1437config MSM7X27A_AUDIO
1438 bool "MSM7X27A audio support"
1439 depends on ARCH_MSM7X27A && MSM_ADSP
1440 default n
1441 help
1442 Enable support for 7x27a. This provides audio functionality.
1443
Justin Pauporea6cd2092011-06-22 16:19:45 -07001444config MSM_PROC_COMM_REGULATOR
1445 bool
1446 depends on MSM_PROC_COMM && REGULATOR
1447 help
1448 Enable regulator framework support for regulators managed by PMLIB
1449 on the modem, and controlled through proccomm calls.
1450
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001451config MSM_VREG_SWITCH_INVERTED
1452 bool "Reverse vreg switch polarity"
1453 default n
1454 help
1455 Reverses the enable and disable for vreg switch.
1456
1457config MSM_DMA_TEST
1458 tristate "MSM DMA test module"
1459 default m
1460 help
1461 Intended to be compiled as a module. Provides a device node
1462 and ioctls for testing the MSM dma system.
1463
1464config WIFI_CONTROL_FUNC
1465 bool "Enable WiFi control function abstraction"
1466 help
1467 Enables Power/Reset/Carddetect function abstraction
1468
1469config WIFI_MEM_PREALLOC
1470 depends on WIFI_CONTROL_FUNC
1471 bool "Preallocate memory for WiFi buffers"
1472 help
1473 Preallocates memory buffers for WiFi driver
1474
1475config QSD_AUDIO
1476 bool "QSD audio"
1477 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1478 default y
1479 help
1480 Provides PCM, MP3, and AAC audio playback.
1481
1482config AUDIO_AAC_PLUS
1483 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1484 bool "AAC+ Audio"
1485 default y
1486 help
1487 Provides AAC+ decoding
1488
1489config AUDIO_ENHANCED_AAC_PLUS
1490 depends on AUDIO_AAC_PLUS
1491 bool "Enhanced AAC+ Audio"
1492 default y
1493 help
1494 Provides Enhanced AAC+ decoding
1495
1496config SURF_FFA_GPIO_KEYPAD
1497 bool "MSM SURF/FFA GPIO keypad"
1498 depends on INPUT_GPIO = "y"
1499 default y
1500 help
1501 Select if the GPIO keypad is attached.
1502
1503config MSM_SLEEP_TIME_OVERRIDE
1504 bool "Allow overriding suspend/sleep time with PM module parameter"
1505 default y
1506 help
1507 Enable the module parameter sleep_time_override. Specified
1508 in units of seconds, it overwrites the normal sleep time of
1509 suspend. The feature is required for automated power management
1510 testing.
1511
1512config MSM_MEMORY_LOW_POWER_MODE
1513 bool "Control the low power modes of memory"
1514 default n
1515 help
1516 The application processor controls whether memory should enter
1517 which low power mode.
1518
1519choice
1520 prompt "Default Memory Low Power Mode during Idle"
1521 depends on MSM_MEMORY_LOW_POWER_MODE
1522 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1523 help
1524 Selects the default low power mode of the memory during idle
1525 sleep.
1526
1527 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1528 bool "Memory active"
1529
1530 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1531 bool "Memory in retention"
1532
1533 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1534 bool "Memory in deep power down"
1535endchoice
1536
1537choice
1538 prompt "Default Memory Low Power Mode during Suspend"
1539 depends on MSM_MEMORY_LOW_POWER_MODE
1540 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1541 help
1542 Selects the default low power mode of the memory during suspend
1543 sleep.
1544
1545 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1546 bool "Memory active"
1547
1548 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1549 bool "Memory in retention"
1550
1551 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1552 bool "Memory in deep power down"
1553endchoice
1554
1555choice
1556 prompt "Power management timeout action"
1557 default MSM_PM_TIMEOUT_HALT
1558 help
1559 Selects the Application Processor's action when Power Management
1560 times out waiting for Modem's handshake.
1561
1562 config MSM_PM_TIMEOUT_HALT
1563 bool "Halt the Application Processor"
1564
1565 config MSM_PM_TIMEOUT_RESET_MODEM
1566 bool "Reset the Modem Processor"
1567
1568 config MSM_PM_TIMEOUT_RESET_CHIP
1569 bool "Reset the entire chip"
1570endchoice
1571
1572config MSM_IDLE_WAIT_ON_MODEM
1573 int "Wait for Modem to become ready for idle power collapse"
1574 default 0
1575 help
1576 If Modem is not ready to handle Application Processor's request
1577 for idle power collapse, wait the number of microseconds in case
1578 Modem becomes ready soon.
1579
Matt Wagantall9274df92011-12-15 11:11:05 -08001580config MSM_RPM_REGULATOR
1581 bool "RPM regulator driver"
1582 depends on RPM && REGULATOR
1583 help
1584 Compile in support for the RPM regulator driver, used for setting
1585 voltages and other parameters of the various power rails supplied
1586 by some Qualcomm PMICs.
1587
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001588config MSM_PIL
1589 bool "Peripheral image loading"
1590 select FW_LOADER
1591 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1592 default n
1593 help
1594 Some peripherals need to be loaded into memory before they can be
1595 brought out of reset.
1596
1597 Say yes to support these devices.
1598
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001599config MSM_PIL_QDSP6V3
1600 tristate "QDSP6v3 (Hexagon) Boot Support"
1601 depends on MSM_PIL
1602 help
1603 Support for booting and shutting down QDSP6v3 processors (hexagon).
1604 The QDSP6 is a low power DSP used in audio software applications.
1605
Stephen Boydeb819882011-08-29 14:46:30 -07001606config MSM_PIL_QDSP6V4
1607 tristate "QDSP6v4 (Hexagon) Boot Support"
1608 depends on MSM_PIL
1609 help
1610 Support for booting and shutting down QDSP6v4 processors (hexagon).
1611 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1612 software applications.
1613
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001614config MSM_SCM
1615 bool "Secure Channel Manager (SCM) support"
1616 default n
1617
1618config MSM_SUBSYSTEM_RESTART
1619 bool "MSM Subsystem Restart Driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001620 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001621 default n
1622 help
1623 This option enables the MSM subsystem restart driver, which provides
1624 a framework to handle subsystem crashes.
1625
Matt Wagantallf8020902011-08-30 21:19:23 -07001626config MSM_SYSMON_COMM
1627 bool "MSM System Monitor communication support"
1628 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1629 default y
1630 help
1631 This option adds support for MSM System Monitor library, which
1632 provides an API that may be used for notifying subsystems within
1633 the SoC about other subsystems' power-up/down state-changes.
1634
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001635config MSM_MODEM_8960
1636 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001637 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001638 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001639 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001640 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001641 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001642
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001643config MSM_LPASS_8960
1644 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001645 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001646 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001647 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001648 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001649 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001650
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001651config MSM_WCNSS_SSR_8960
1652 tristate "MSM 8960 WCNSS restart module"
1653 depends on (ARCH_MSM8960)
1654 help
1655 This option enables the WCNSS restart module for MSM8960, which
1656 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1657 into the subsystem restart framework.
1658
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001659config SCORPION_Uni_45nm_BUG
1660 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1661 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1662 default y
1663 help
1664 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1665 invalidating the Branch Predictor Array by Modified Virtual Address can
1666 create invalid entries in the TLB with the wrong ASID values on Scorpion
1667 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1668 workaround for Scorpion Uniprocessor 45nm cores.
1669
1670 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1671
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001672config MSM_BUSPM_DEV
1673 tristate "MSM Bus Performance Monitor Kernel Module"
1674 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1675 default m
1676 help
1677 This kernel module is used to mmap() hardware registers for the
1678 performance monitors, counters, etc. The module can also be used to
1679 allocate physical memory which is used by bus performance hardware to
1680 dump performance data.
1681
Mona Hossain11c03ac2011-10-26 12:42:10 -07001682config MSM_TZ_LOG
1683 tristate "MSM Trust Zone (TZ) Log Driver"
1684 depends on DEBUG_FS
1685 help
1686 This option enables a driver with a debugfs interface for messages
1687 produced by the Secure code (Trust zone). These messages provide
1688 diagnostic information about TZ operation.
1689
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001690config MSM_RPM_LOG
1691 tristate "MSM Resource Power Manager Log Driver"
1692 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001693 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001694 default n
1695 help
1696 This option enables a driver which can read from a circular buffer
1697 of messages produced by the RPM. These messages provide diagnostic
1698 information about RPM operation. The driver outputs the messages
1699 via a debugfs node.
1700
1701config MSM_RPM_STATS_LOG
1702 tristate "MSM Resource Power Manager Stat Driver"
1703 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001704 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001705 default n
1706 help
1707 This option enables a driver which reads RPM messages from a shared
1708 memory location. These messages provide statistical information about
1709 the low power modes that RPM enters. The drivers outputs the message
1710 via a debugfs node.
1711
1712config MSM_IOMMU
1713 bool "MSM IOMMU Support"
Joel King41d594e2011-10-14 13:18:20 -07001714 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_APQ8064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001715 select IOMMU_API
1716 default n
1717 help
1718 Support for the IOMMUs found on certain Qualcomm SOCs.
1719 These IOMMUs allow virtualization of the address space used by most
1720 cores within the multimedia subsystem.
1721
1722 If unsure, say N here.
1723
1724config IOMMU_PGTABLES_L2
1725 bool "Allow SMMU page tables in the L2 cache (Experimental)"
1726 depends on MSM_IOMMU=y
1727 depends on MMU
1728 depends on CPU_DCACHE_DISABLE=n
1729 depends on SMP
1730 default y
1731 help
1732 Improves TLB miss latency at the expense of potential L2 pollution.
1733 However, with large multimedia buffers, the TLB should mostly contain
1734 section mappings and TLB misses should be quite infrequent.
1735 Most people can probably say Y here.
1736
1737config MSM_DIRECT_SCLK_ACCESS
1738 bool "Direct access to the SCLK timer"
1739 default n
1740
1741config IOMMU_API
1742 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001743
Gregory Beanab78cde2010-09-01 16:26:12 -07001744config MSM_GPIOMUX
1745 bool
1746
Gregory Bean1963a2a2010-08-28 10:05:44 -07001747config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001748 bool
1749
1750config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07001751 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001752
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001753config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001754 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001755
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001756config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001757 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001758
1759config MSM_BUS_SCALING
1760 bool "Bus scaling driver"
1761 default n
1762
Gagan Mac85c70492011-06-10 16:07:47 -06001763config MSM_BUS_RPM_MULTI_TIER_ENABLED
1764 bool "RPM Multi-tiering Configuration"
1765 depends on MSM_BUS_SCALING
1766
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001767config MSM_WATCHDOG
1768 bool "MSM Watchdog Support"
Rohit Vaswani085a9332011-09-28 18:57:24 -07001769 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001770 help
1771 This enables the watchdog as is present on 8x60. Currently we use
1772 core 0's watchdog, and reset the entire SoC if it times out. It does
1773 not run during the bootup process, so it will not catch any early
1774 lockups.
1775
1776config MSM_DLOAD_MODE
1777 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07001778 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001779 default n
1780 help
1781 This makes the SoC enter download mode when it resets
1782 due to a kernel panic. Note that this doesn't by itself
1783 make the kernel reboot on a kernel panic - that must be
1784 enabled via another mechanism.
1785
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001786config HAS_QDSS
1787 bool "QDSS Present"
1788 help
1789 Select this if the chip has Qualcomm Debug Subsystem implemented.
1790
1791config MSM_DEBUG_ACROSS_PC
1792 bool "Debug support across power collapse"
1793 help
1794 Enables debug state to be saved and restored across power collapse.
1795
1796config MSM_JTAG_V7
1797 depends on CPU_V7 && !HAS_QDSS
1798 default y if DEBUG_KERNEL
1799 bool "JTAG debug support"
1800 select MSM_DEBUG_ACROSS_PC
1801 help
1802 Add additional support for JTAG kernel debugging.
1803
Pratik Patel7831c082011-06-08 21:44:37 -07001804config MSM_TRACE_ACROSS_PC
1805 bool "Trace support across power collapse"
Pratik Patel7831c082011-06-08 21:44:37 -07001806 help
1807 Enables trace state to be saved and restored across power collapse.
1808
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001809config MSM_ETM
1810 tristate "Enable MSM ETM and ETB"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001811 depends on ARCH_MSM8X60 && !HAS_QDSS
Pratik Patel7831c082011-06-08 21:44:37 -07001812 select MSM_TRACE_ACROSS_PC
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001813 help
Pratik Patel7831c082011-06-08 21:44:37 -07001814 Enables embedded trace collection on Qualcomm v7 CPUs.
1815
1816config MSM_QDSS
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001817 bool "Qualcomm Debug Subsystem"
1818 depends on HAS_QDSS
1819 select MSM_DEBUG_ACROSS_PC
Pratik Patel7831c082011-06-08 21:44:37 -07001820 select MSM_TRACE_ACROSS_PC
1821 help
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001822 Enables support for Qualcomm Debug Subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001823
1824config MSM_SLEEP_STATS
1825 bool "Enable exporting of MSM sleep stats to userspace"
1826 depends on CPU_IDLE
1827 default n
1828
1829config MSM_STANDALONE_POWER_COLLAPSE
1830 bool "Enable standalone power collapse"
1831 default n
1832
1833config MSM_GSBI9_UART
1834 bool "Enable GSBI9 UART device"
1835 default n
1836 help
1837 This enables GSBI9 configured into UART.
1838
1839config MSM_SHARED_GPIO_FOR_UART2DM
1840 bool "Use shared GPIOs into UART mode"
1841 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
1842 help
1843 This option configures GPIO muxed with SDC4/MMC3
1844 8-bit mode into UART mode. It is used for serial
1845 console on UART2DM. Say Y if you want to have
1846 serial console on UART2DM.
1847
1848config MSM_SHOW_RESUME_IRQ
1849 bool "Enable logging of interrupts that could have caused resume"
Sathish Ambleyd4efc762011-10-09 22:19:22 -07001850 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSMCOPPER)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001851 default n
1852 help
1853 This option logs wake up interrupts that have triggered just before
1854 the resume loop unrolls. Say Y if you want to debug why the system
1855 resumed.
1856
1857config BT_MSM_PINTEST
1858 tristate "MSM Bluetooth Pin Connectivity Test"
1859 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
1860 default n
1861 help
1862 Bluetooth MSM Pin Connectivity test module.
1863 This driver provides support for verifying the MSM to BT pin
1864 connectivity.
1865
1866config MSM_FAKE_BATTERY
1867 depends on POWER_SUPPLY
1868 default n
1869 bool "MSM Fake Battery"
1870 help
1871 Enables MSM fake battery driver.
1872
1873config MSM_QDSP6_APR
1874 bool "Audio QDSP6 APR support"
1875 depends on MSM_SMD
1876 default n
1877 help
1878 Enable APR IPC protocol support between
1879 application processor and QDSP6. APR is
1880 used by audio driver to configure QDSP6's
1881 ASM, ADM and AFE.
1882
1883
1884config MSM_AUDIO_QDSP6
1885 bool "QDSP6 HW Audio support"
1886 select SND_SOC_MSM_QDSP6_INTF
1887 default n
1888 help
1889 Enable HW audio support in QDSP6.
1890 QDSP6 can support HW encoder & decoder and audio processing
1891
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02001892config MSM_ULTRASOUND
1893 bool "MSM ultrasound support"
1894 depends on MSM_AUDIO_QDSP6
1895 help
1896 Enable support for qdsp6/ultrasound.
1897
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001898config MSM_RPC_VIBRATOR
1899 bool "RPC based MSM Vibrator Support"
1900 depends on MSM_ONCRPCROUTER
1901 help
1902 Enable the vibrator support on MSM over RPC. The vibrator
1903 is connected on the PMIC. Say Y if you want to enable this
1904 feature.
1905
1906config PM8XXX_RPC_VIBRATOR
1907 bool "RPC based Vibrator on PM8xxx PMICs"
1908 depends on MSM_RPC_VIBRATOR
1909 help
1910 Enable the vibrator support on MSM over RPC. The vibrator
1911 is connected on the PM8XXX PMIC. Say Y if you want to enable
1912 this feature.
1913
1914config MSM_SPM_V1
1915 bool "Driver support for SPM Version 1"
1916 help
1917 Enables the support for Version 1 of the SPM driver. SPM hardware is
1918 used to manage the processor power during sleep. The driver allows
1919 configuring SPM to allow different power modes.
1920
1921config MSM_SPM_V2
1922 bool "Driver support for SPM Version 2"
1923 help
1924 Enables the support for Version 2 of the SPM driver. SPM hardware is
1925 used to manage the processor power during sleep. The driver allows
1926 configuring SPM to allow different power modes.
1927
1928config MSM_L2_SPM
1929 bool "SPM support for L2 cache"
1930 depends on MSM_SPM_V2
1931 help
1932 Enable SPM driver support for L2 cache. Some MSM chipsets allow
1933 control of L2 cache low power mode with a Subsystem Power manager.
1934 Enabling this driver allows configuring L2 SPM for low power modes
1935 on supported chipsets.
1936
Laura Abbott2d1760b2011-09-29 21:31:24 -07001937config MSM_MULTIMEDIA_USE_ION
1938 bool "Multimedia suport using Ion"
1939 depends on ION_MSM
1940 help
1941 Enable support for multimedia drivers using Ion for buffer management
1942 instead of pmem. Selecting this may also involve userspace
1943 dependencies as well.
1944
Brian Swetland9e73c842007-11-26 04:12:13 -08001945endif