blob: 182c15f46139957d04a975be5c03f37d18308ed6 [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
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070078 select MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070079 select MSM_PIL
80 select MSM_SCM
81 select ARCH_HAS_CPU_IDLE_WAIT
82 select MSM_DIRECT_SCLK_ACCESS
83 select MSM_RPM
84 select MSM_XO
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070085 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070086 select MSM_BUS_SCALING
87 select MSM_SECURE_IO
88 select MSM_DALRPC
89 select MSM_QDSP6_APR
90 select MSM_NATIVE_RESTART
91 select ARCH_INLINE_SPIN_TRYLOCK
92 select ARCH_INLINE_SPIN_TRYLOCK_BH
93 select ARCH_INLINE_SPIN_LOCK
94 select ARCH_INLINE_SPIN_LOCK_BH
95 select ARCH_INLINE_SPIN_LOCK_IRQ
96 select ARCH_INLINE_SPIN_LOCK_IRQSAVE
97 select ARCH_INLINE_SPIN_UNLOCK
98 select ARCH_INLINE_SPIN_UNLOCK_BH
99 select ARCH_INLINE_SPIN_UNLOCK_IRQ
100 select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
101 select ARCH_INLINE_READ_TRYLOCK
102 select ARCH_INLINE_READ_LOCK
103 select ARCH_INLINE_READ_LOCK_BH
104 select ARCH_INLINE_READ_LOCK_IRQ
105 select ARCH_INLINE_READ_LOCK_IRQSAVE
106 select ARCH_INLINE_READ_UNLOCK
107 select ARCH_INLINE_READ_UNLOCK_BH
108 select ARCH_INLINE_READ_UNLOCK_IRQ
109 select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
110 select ARCH_INLINE_WRITE_TRYLOCK
111 select ARCH_INLINE_WRITE_LOCK
112 select ARCH_INLINE_WRITE_LOCK_BH
113 select ARCH_INLINE_WRITE_LOCK_IRQ
114 select ARCH_INLINE_WRITE_LOCK_IRQSAVE
115 select ARCH_INLINE_WRITE_UNLOCK
116 select ARCH_INLINE_WRITE_UNLOCK_BH
117 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
118 select CPU_HAS_L2_PMU
119 select MSM_SPM_V1
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700120
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800121config ARCH_MSM8960
122 bool "MSM8960"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700123 select ARCH_MSM_KRAITMP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800124 select ARM_GIC
125 select CPU_V7
126 select MSM_V2_TLMM
127 select MSM_GPIOMUX
128 select MSM_SCM if SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700129 select MSM_DIRECT_SCLK_ACCESS
130 select REGULATOR
131 select MSM_RPM
132 select MSM_XO
133 select MSM_QDSP6_APR
134 select MSM_PIL
135 select MSM_AUDIO_QDSP6 if SND_SOC
136 select CPU_HAS_L2_PMU
137 select MSM_SPM_V2
Pratik Patelfd6f56a2011-10-10 17:47:55 -0700138 select HAS_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700139 select MSM_L2_SPM
140 select MSM_NATIVE_RESTART
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700141 select DONT_MAP_HOLE_AFTER_MEMBANK0
142 select MSM_REMOTE_SPINLOCK_SFPB
143 select ARCH_POPULATES_NODE_MAP
144 select ARCH_SPARSEMEM_ENABLE
145 select ARCH_HAS_HOLES_MEMORYMODEL
146 select MEMORY_HOTPLUG
147 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -0800148 select ARCH_ENABLE_MEMORY_HOTPLUG
149 select ARCH_ENABLE_MEMORY_HOTREMOVE
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700150 select MIGRATION
151 select ARCH_MEMORY_PROBE
152 select ARCH_MEMORY_REMOVE
Larry Bassel4dc15912011-10-14 11:01:43 -0700153 select FIX_MOVABLE_ZONE
Larry Basseld4d82c92011-12-07 09:52:49 -0800154 select CLEANCACHE
155 select QCACHE
Laura Abbott6d61a912011-10-27 16:44:14 -0700156 select MSM_MULTIMEDIA_USE_ION
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700157
158config ARCH_MSM8930
159 bool "MSM8930"
160 select ARCH_MSM_KRAITMP
161 select ARM_GIC
162 select CPU_V7
163 select MSM_V2_TLMM
164 select MSM_GPIOMUX
165 select MSM_SCM if SMP
166 select MSM_DIRECT_SCLK_ACCESS
167 select REGULATOR
168 select MSM_RPM
169 select MSM_XO
170 select MSM_QDSP6_APR
171 select MSM_PIL
172 select MSM_AUDIO_QDSP6 if SND_SOC
173 select CPU_HAS_L2_PMU
174 select MSM_SPM_V2
175 select MSM_L2_SPM
176 select MSM_NATIVE_RESTART
177 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600178 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700179 select ARCH_POPULATES_NODE_MAP
180 select ARCH_SPARSEMEM_ENABLE
181 select ARCH_HAS_HOLES_MEMORYMODEL
182 select MEMORY_HOTPLUG
183 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -0800184 select ARCH_ENABLE_MEMORY_HOTPLUG
185 select ARCH_ENABLE_MEMORY_HOTREMOVE
Larry Basself74479e2011-09-08 11:07:52 -0700186 select MIGRATION
187 select ARCH_MEMORY_PROBE
188 select ARCH_MEMORY_REMOVE
Larry Bassel4dc15912011-10-14 11:01:43 -0700189 select FIX_MOVABLE_ZONE
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +0200190 select MSM_ULTRASOUND
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700191
192config ARCH_APQ8064
193 bool "APQ8064"
194 select ARCH_MSM_KRAITMP
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700195 select MACH_APQ8064_SIM if !MACH_APQ8064_RUMI3
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700196 select MSM_V2_TLMM
197 select ARM_GIC
198 select CPU_V7
199 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700200 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600201 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800202 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800203 select MSM_QDSP6_APR
204 select MSM_AUDIO_QDSP6 if SND_SOC
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700205
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700206config ARCH_MSMCOPPER
207 bool "MSM Copper"
208 select ARCH_MSM_KRAITMP
209 select MSM_V2_TLMM
210 select ARM_GIC
211 select CPU_V7
212 select MSM_SCM if SMP
213 select MSM_GPIOMUX
214
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700215config ARCH_FSM9XXX
216 bool "FSM9XXX"
217 select ARCH_MSM_SCORPION
218 select MSM_VIC
219 select CPU_V7
220 select MSM_REMOTE_SPINLOCK_LDREX
221 select FSM9XXX_TLMM
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800222
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700223config ARCH_MSM9615
224 bool "MSM9615"
225 select ARM_GIC
226 select ARCH_MSM_CORTEX_A5
227 select CPU_V7
228 select MSM_V2_TLMM
229 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600230 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600231 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700232 select MSM_NATIVE_RESTART
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700233endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700234
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700235choice
236 prompt "MSM SoC Revision"
237 default MSM_SOC_REV_NONE
238config MSM_SOC_REV_NONE
239 bool "N/A"
240 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
241 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walker4ad15e62010-05-06 13:54:17 -0700242config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700243 bool "Rev. A"
244 select ARCH_MSM7X27A if ARCH_MSM7X27
245endchoice
Daniel Walker4ad15e62010-05-06 13:54:17 -0700246
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700247config MSM_KRAIT_TBB_ABORT_HANDLER
248 bool "Krait TBB/TBH data abort handler"
249 depends on ARCH_MSM_KRAIT
250 depends on ARM_THUMB
251 help
252 Certain early samples of the Krait processor may generate data
253 aborts for TBB / TBH instructions that fail their condition code
254 checks. Enabling this option will ignore these erroneous data aborts,
255 at the expense of a very small performance penalty.
256
257 If unsure, say N.
258
Daniel Walker4ad15e62010-05-06 13:54:17 -0700259config ARCH_MSM_ARM11
260 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700261
Daniel Walker4ad15e62010-05-06 13:54:17 -0700262config ARCH_MSM_SCORPION
Daniel Walkerbf83de42010-03-16 16:29:44 -0700263 bool
264
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700265config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700266 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800267 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700268
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700269config MSM_SMP
270 bool
271
272config ARCH_MSM_SCORPIONMP
273 select ARCH_MSM_SCORPION
274 select MSM_SMP
275 bool
276
277config ARCH_MSM_KRAITMP
278 select ARCH_MSM_KRAIT
279 select MSM_SMP
280 bool
281
282config ARCH_MSM_CORTEX_A5
283 bool
284 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
285
286config ARCH_MSM7X27A
287 bool
288 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700289 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530290 select MULTI_IRQ_HANDLER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700291
Gregory Beanf9f3d312010-04-30 22:06:50 -0700292config MSM_VIC
293 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700294
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700295config MSM_RPM
296 bool "Resource Power Manager"
297 select MSM_MPM
298
299config MSM_MPM
300 bool "Modem Power Manager"
301
302config MSM_XO
303 bool
304
305config MSM_REMOTE_SPINLOCK_DEKKERS
306 bool
307config MSM_REMOTE_SPINLOCK_SWP
308 bool
309config MSM_REMOTE_SPINLOCK_LDREX
310 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600311config MSM_REMOTE_SPINLOCK_SFPB
312 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700313config MSM_ADM3
314 bool
315
316menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700317
318config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700319 depends on ARCH_MSM7X01A
320 depends on MSM_STACKED_MEMORY
321 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700322 bool "Halibut Board (QCT SURF7201A)"
323 help
324 Support for the Qualcomm SURF7201A eval board.
325
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700326config MACH_MSM7201A_SURF
327 depends on ARCH_MSM7X01A
328 depends on MSM_STACKED_MEMORY
329 default y
330 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700331 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700332 Support for the Qualcomm MSM7201A SURF eval board.
333
334config MACH_MSM7201A_FFA
335 depends on ARCH_MSM7X01A
336 depends on MSM_STACKED_MEMORY
337 default y
338 bool "MSM7201A FFA"
339 help
340 Support for the Qualcomm MSM7201A FFA eval board.
341
342config MACH_TROUT
343 depends on ARCH_MSM7X01A
344 depends on MSM_STACKED_MEMORY
345 default y
346 bool "Trout"
347
348config MACH_MSM7X27_SURF
349 depends on ARCH_MSM7X27
350 depends on !MSM_STACKED_MEMORY
351 default y
352 bool "MSM7x27 SURF"
353 help
354 Support for the Qualcomm MSM7x27 SURF eval board.
355
356config MACH_MSM7X27_FFA
357 depends on ARCH_MSM7X27
358 depends on !MSM_STACKED_MEMORY
359 default y
360 bool "MSM7x27 FFA"
361 help
362 Support for the Qualcomm MSM7x27 FFA eval board.
363
364config MACH_MSM7X27A_RUMI3
365 depends on ARCH_MSM7X27A
366 depends on !MSM_STACKED_MEMORY
367 default y
368 bool "MSM7x27A RUMI3"
369 help
370 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
371
372config MACH_MSM7X27A_SURF
373 depends on ARCH_MSM7X27A
374 depends on !MSM_STACKED_MEMORY
375 default y
376 bool "MSM7x27A SURF"
377 help
378 Support for the Qualcomm MSM7x27A SURF.
379
380config MACH_MSM7X27A_FFA
381 depends on ARCH_MSM7X27A
382 depends on !MSM_STACKED_MEMORY
383 default y
384 bool "MSM7x27A FFA"
385 help
386 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700387
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530388config MACH_MSM7625A_SURF
389 depends on ARCH_MSM7X27A
390 depends on !MSM_STACKED_MEMORY
391 default y
392 bool "MSM7625A SURF"
393 help
394 Support for the Qualcomm MSM7625A SURF.
395
396config MACH_MSM7625A_FFA
397 depends on ARCH_MSM7X27A
398 depends on !MSM_STACKED_MEMORY
399 default y
400 bool "MSM7625A FFA"
401 help
402 Support for the Qualcomm MSM7625A FFA.
403
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530404config MACH_MSM7627A_QRD1
405 depends on ARCH_MSM7X27A
406 depends on !MSM_STACKED_MEMORY
407 default y
408 bool "MSM7627A QRD1"
409 help
410 Support for the Qualcomm MSM7627A Refrence Design.
411
Daniel Walker7b521612010-05-06 12:44:57 -0700412config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700413 depends on ARCH_MSM7X30
414 depends on !MSM_STACKED_MEMORY
415 default y
416 bool "MSM7x30 SURF"
417 help
418 Support for the Qualcomm MSM7x30 SURF eval board.
419
420config MACH_MSM7X30_FFA
421 depends on ARCH_MSM7X30
422 depends on !MSM_STACKED_MEMORY
423 default y
424 bool "MSM7x30 FFA"
425 help
426 Support for the Qualcomm MSM7x30 FFA eval board.
427
428config MACH_MSM7X30_FLUID
429 depends on ARCH_MSM7X30
430 depends on !MSM_STACKED_MEMORY
431 default y
432 bool "MSM7x30 FLUID"
433 help
434 Support for the Qualcomm MSM7x30 FLUID eval board.
435
436config MACH_SAPPHIRE
437 depends on ARCH_MSM7X01A
438 default n
439 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700440
Daniel Walker4ad15e62010-05-06 13:54:17 -0700441config MACH_QSD8X50_SURF
442 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700443 depends on MSM_SOC_REV_NONE
444 depends on MSM_STACKED_MEMORY
445 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700446 bool "QSD8x50 SURF"
447 help
448 Support for the Qualcomm QSD8x50 SURF eval board.
449
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700450config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700451 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700452 depends on MSM_SOC_REV_NONE
453 depends on MSM_STACKED_MEMORY
454 default y
455 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700456 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700457 Support for the Qualcomm QSD8x50 FFA eval board.
458
459config MACH_MSM7X25_SURF
460 depends on ARCH_MSM7X25
461 depends on !MSM_STACKED_MEMORY
462 default y
463 bool "MSM7x25 SURF"
464 help
465 Support for the Qualcomm MSM7x25 SURF eval board.
466
467config MACH_MSM7X25_FFA
468 depends on ARCH_MSM7X25
469 depends on !MSM_STACKED_MEMORY
470 default y
471 bool "MSM7x25 FFA"
472 help
473 Support for the Qualcomm MSM7x25 FFA eval board.
474
475config MACH_MSM8X55_SURF
476 depends on ARCH_MSM7X30
477 depends on !MSM_STACKED_MEMORY
478 default y
479 bool "MSM8X55 SURF"
480 help
481 Support for the Qualcomm MSM8x55 SURF eval board.
482
483config MACH_MSM8X55_FFA
484 depends on ARCH_MSM7X30
485 depends on !MSM_STACKED_MEMORY
486 default y
487 bool "MSM8X55 FFA"
488 help
489 Support for the Qualcomm MSM8x55 FFA eval board.
490
491config MACH_MSM8X55_SVLTE_FFA
492 depends on ARCH_MSM7X30
493 depends on !MSM_STACKED_MEMORY
494 default y
495 bool "MSM8X55 SVLTE FFA"
496 help
497 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
498
499config MACH_MSM8X55_SVLTE_SURF
500 depends on ARCH_MSM7X30
501 depends on !MSM_STACKED_MEMORY
502 default y
503 bool "MSM8X55 SVLTE SURF"
504 help
505 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700506
Steve Mucklea55df6e2010-01-07 12:43:24 -0800507config MACH_MSM8X60_RUMI3
508 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700509 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800510 bool "MSM8x60 RUMI3"
511 help
512 Support for the Qualcomm MSM8x60 RUMI3 emulator.
513
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800514config MACH_MSM8X60_SIM
515 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700516 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800517 bool "MSM8x60 Simulator"
518 help
519 Support for the Qualcomm MSM8x60 simulator.
520
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700521config MACH_MSM8X60_SURF
522 depends on ARCH_MSM8X60
523 default n
524 bool "MSM8x60 SURF"
525 help
526 Support for the Qualcomm MSM8x60 SURF eval board.
527
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700528config MACH_MSM8X60_FFA
529 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700530 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700531 bool "MSM8x60 FFA"
532 help
533 Support for the Qualcomm MSM8x60 FFA eval board.
534
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700535config MACH_MSM8X60_FLUID
536 depends on ARCH_MSM8X60
537 default n
538 bool "MSM8x60 FLUID"
539 help
540 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
541 8x60 target which has a form factor that is much closer to that
542 of a phone than other targets. It also has a new display and
543 touchscreen controller.
544
545config MACH_MSM8X60_FUSION
546 depends on ARCH_MSM8X60
547 default n
548 bool "MSM8x60 FUSION"
549 help
550 Support for the Qualcomm MSM8x60 Fusion SURF device.
551
552config MACH_MSM8X60_FUSN_FFA
553 depends on ARCH_MSM8X60
554 default n
555 bool "MSM8x60 FUSN FFA"
556 help
557 Support for the Qualcomm MSM8x60 Fusion FFA device.
558
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400559config MACH_MSM8X60_DRAGON
560 depends on ARCH_MSM8X60
561 default n
562 bool "MSM8x60 DRAGON"
563 help
564 Support for the Qualcomm MSM8x60 Dragon board.
565
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800566config MACH_MSM8960_SIM
567 depends on ARCH_MSM8960
568 bool "MSM8960 Simulator"
569 help
570 Support for the Qualcomm MSM8960 simulator.
571
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800572config MACH_MSM8960_RUMI3
573 depends on ARCH_MSM8960
574 bool "MSM8960 RUMI3"
575 help
576 Support for the Qualcomm MSM8960 RUMI3 emulator.
577
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700578config MACH_MSM8960_CDP
579 depends on ARCH_MSM8960
580 bool "MSM8960 CDP"
581 help
582 Support for the Qualcomm MSM8960 CDP device.
583
584config MACH_MSM8960_MTP
585 depends on ARCH_MSM8960
586 bool "MSM8960 MTP"
587 help
588 Support for the Qualcomm MSM8960 MTP device.
589
590config MACH_MSM8960_FLUID
591 depends on ARCH_MSM8960
592 bool "MSM8960 FLUID"
593 help
594 Support for the Qualcomm MSM8960 FLUID device.
595
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300596config MACH_MSM8960_LIQUID
597 depends on ARCH_MSM8960
598 bool "MSM8960 LIQUID"
599 help
600 Support for the Qualcomm MSM8960 LIQUID device.
601
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700602config MACH_MSM8930_CDP
603 depends on ARCH_MSM8930
604 bool "MSM8930 CDP"
605 help
606 Support for the Qualcomm MSM8930 CDP device.
607
608config MACH_MSM8930_MTP
609 depends on ARCH_MSM8930
610 bool "MSM8930 MTP"
611 help
612 Support for the Qualcomm MSM8930 MTP device.
613
614config MACH_MSM8930_FLUID
615 depends on ARCH_MSM8930
616 bool "MSM8930 FLUID"
617 help
618 Support for the Qualcomm MSM8930 FLUID device.
619
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800620config MACH_MSM8627_CDP
621 depends on ARCH_MSM8930
622 bool "MSM8627 CDP"
623 help
624 Support for the Qualcomm MSM8627 CDP device.
625
626config MACH_MSM8627_MTP
627 depends on ARCH_MSM8930
628 bool "MSM8627 MTP"
629 help
630 Support for the Qualcomm MSM8627 MTP device.
631
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700632config MACH_MSM9615_CDP
633 depends on ARCH_MSM9615
634 bool "MSM9615 CDP"
635 help
636 Support for the Qualcomm MSM9615 CDP device.
637
638config MACH_MSM9615_MTP
639 depends on ARCH_MSM9615
640 bool "MSM9615 MTP"
641 help
642 Support for the Qualcomm MSM9615 MTP device.
643
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700644config MSM_USE_TSIF1
645 depends on ARCH_MSM8X60
646 bool "MSM8x60 use TSIF1"
647 help
648 Selects TSIF1 core to be used rather than TSIF0.
649 The two TSIF cores share the same DM configuration
650 so they cannot be used simultaneously.
651
652config MACH_APQ8064_SIM
653 depends on ARCH_APQ8064
654 bool "APQ8064 Simulator"
655 help
656 Support for the Qualcomm APQ8064 simulator.
657
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700658config MACH_APQ8064_RUMI3
659 depends on ARCH_APQ8064
660 bool "APQ8064 RUMI3"
661 help
662 Support for the Qualcomm APQ8064 RUMI3 emulator.
663
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700664config MACH_FSM9XXX_SURF
665 depends on ARCH_FSM9XXX
666 depends on !MSM_STACKED_MEMORY
667 default y
668 bool "FSM9XXX SURF"
669 help
670 Support for the Qualcomm FSM9xxx femtocell
671 chipset based SURF evaluation board and
672 FFA board.
673
Daniel Walker4ad15e62010-05-06 13:54:17 -0700674endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800675
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700676config MSM_STACKED_MEMORY
677 bool "Stacked Memory"
678 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800679 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700680 This option is used to indicate the presence of on-die stacked
681 memory. When present this memory bank is used for a high speed
682 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800683
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700684config PHYS_OFFSET
685 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700686 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700687 default "0x80200000" if ARCH_APQ8064
688 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700689 default "0x80200000" if ARCH_MSM8930
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700690 default "0x80200000" if ARCH_MSMCOPPER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700691 default "0x10000000" if ARCH_FSM9XXX
692 default "0x00200000" if !MSM_STACKED_MEMORY
693 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
694 default "0x20000000" if ARCH_QSD8X50
695 default "0x40200000" if ARCH_MSM8X60
696 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800697
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700698config KERNEL_PMEM_EBI_REGION
699 bool "Enable in-kernel PMEM region for EBI"
700 default y if ARCH_MSM8X60
701 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960)
702 help
703 Enable the in-kernel PMEM allocator to use EBI memory.
704
705config KERNEL_PMEM_SMI_REGION
706 bool "Enable in-kernel PMEM region for SMI"
707 default y if ARCH_MSM8X60
708 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
709 help
710 Enable the in-kernel PMEM allocator to use SMI memory.
711
712config PMEM_GPU0
713 bool "Enable PMEM GPU0 region"
714 default y
715 depends on ARCH_QSD8X50 && ANDROID_PMEM
716 help
717 Enable the PMEM GPU0 device on SMI Memory.
718
719config MSM_AMSS_VERSION
720 int
721 default 6210 if MSM_AMSS_VERSION_6210
722 default 6220 if MSM_AMSS_VERSION_6220
723 default 6225 if MSM_AMSS_VERSION_6225
724
725choice
726 prompt "AMSS modem firmware version"
727
728 default MSM_AMSS_VERSION_6225
729
730 config MSM_AMSS_VERSION_6210
731 bool "6.2.10"
732
733 config MSM_AMSS_VERSION_6220
734 bool "6.2.20"
735
736 config MSM_AMSS_VERSION_6225
737 bool "6.2.20 + New ADSP"
738endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800739
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700740config MSM_HAS_DEBUG_UART_HS
741 bool
742 help
743 Say Y here if high speed MSM UART is present.
744
745config MSM_HAS_DEBUG_UART_HS_V14
746 bool
747 select MSM_HAS_DEBUG_UART_HS
748 help
749 Say Y here if high speed MSM UART v1.4 is present.
750
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800751config DEBUG_MSM8930_UART
752 bool "Kernel low-level debugging messages via MSM 8930 UART"
753 depends on ARCH_MSM8930 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700754 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800755 help
756 Say Y here if you want the debug print routines to direct
757 their output to the serial port on MSM 8930 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100758
759choice
760 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800761 depends on DEBUG_LL
Pavel Machek6339f662009-11-02 11:48:29 +0100762
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800763 config DEBUG_MSM_UART1
764 bool "Kernel low-level debugging messages via MSM UART1"
765 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
766 help
767 Say Y here if you want the debug print routines to direct
768 their output to the first serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100769
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800770 config DEBUG_MSM_UART2
771 bool "Kernel low-level debugging messages via MSM UART2"
772 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
773 help
774 Say Y here if you want the debug print routines to direct
775 their output to the second serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100776
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800777 config DEBUG_MSM_UART3
778 bool "Kernel low-level debugging messages via MSM UART3"
779 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
780 help
781 Say Y here if you want the debug print routines to direct
782 their output to the third serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100783
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800784 config DEBUG_MSM8660_UART
785 bool "Kernel low-level debugging messages via MSM 8660 UART"
786 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700787 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800788 help
789 Say Y here if you want the debug print routines to direct
790 their output to the serial port on MSM 8660 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100791
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800792 config DEBUG_MSM8960_UART
793 bool "Kernel low-level debugging messages via MSM 8960 UART"
794 depends on ARCH_MSM8960
795 select DEBUG_MSM8930_UART
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700796 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800797 help
798 Say Y here if you want the debug print routines to direct
799 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700800
801 config DEBUG_MSMCOPPER_UART
802 bool "Kernel low-level debugging messages via MSM Copper UART"
803 depends on ARCH_MSMCOPPER
804 select MSM_HAS_DEBUG_UART_HS_V14
805 help
806 Say Y here if you want the debug print routines to direct
807 their output to the serial port on MSM Copper devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100808endchoice
809
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700810choice
811 prompt "Default Timer"
812 default MSM7X00A_USE_GP_TIMER
813
814 config MSM7X00A_USE_GP_TIMER
815 bool "GP Timer"
816 help
817 Low resolution timer that allows power collapse from idle.
818
819 config MSM7X00A_USE_DG_TIMER
820 bool "DG Timer"
821 help
822 High resolution timer.
823endchoice
824
825choice
826 prompt "Suspend sleep mode"
827 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
828 help
829 Allows overriding the sleep mode used. Leave at power
830 collapse suspend unless the arm9 image has problems.
831
832 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
833 bool "Power collapse suspend"
834 help
835 Lowest sleep state. Returns through reset vector.
836
837 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
838 bool "Power collapse"
839 help
840 Sleep state that returns through reset vector.
841
842 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
843 bool "Apps Sleep"
844
845 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
846 bool "Ramp down cpu clock and wait for interrupt"
847
848 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
849 bool "Wait for interrupt"
850endchoice
851
852config MSM7X00A_SLEEP_MODE
853 int
854 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
855 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
856 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
857 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
858 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
859
860choice
861 prompt "Idle sleep mode"
862 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
863 help
864 Allows overriding the sleep mode used from idle. Leave at power
865 collapse suspend unless the arm9 image has problems.
866
867 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
868 bool "Power collapse suspend"
869 help
870 Lowest sleep state. Returns through reset vector.
871
872 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
873 bool "Power collapse"
874 help
875 Sleep state that returns through reset vector.
876
877 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
878 bool "Apps Sleep"
879
880 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
881 bool "Ramp down cpu clock and wait for interrupt"
882
883 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
884 bool "Wait for interrupt"
885endchoice
886
887config MSM7X00A_IDLE_SLEEP_MODE
888 int
889 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
890 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
891 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
892 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
893 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
894
895config MSM7X00A_IDLE_SLEEP_MIN_TIME
896 int "Minimum idle time before sleep"
897 default 20000000
898 help
899 Minimum idle time in nanoseconds before entering low power mode.
900
901config MSM7X00A_IDLE_SPIN_TIME
902 int "Idle spin time before cpu ramp down"
903 default 80000
904 help
905 Spin time in nanoseconds before ramping down cpu clock and entering
906 any low power state.
907
908menuconfig MSM_IDLE_STATS
909 bool "Collect idle statistics"
910 default y
911 help
912 Collect idle statistics and export them in proc/msm_pm_stats.
913
914if MSM_IDLE_STATS
915
916config MSM_IDLE_STATS_FIRST_BUCKET
917 int "First bucket time"
918 default 62500
919 help
920 Upper time limit in nanoseconds of first bucket.
921
922config MSM_IDLE_STATS_BUCKET_SHIFT
923 int "Bucket shift"
924 default 2
925
926config MSM_IDLE_STATS_BUCKET_COUNT
927 int "Bucket count"
928 default 10
929
930config MSM_SUSPEND_STATS_FIRST_BUCKET
931 int "First bucket time for suspend"
932 default 1000000000
933 help
934 Upper time limit in nanoseconds of first bucket of the
935 histogram. This is for collecting statistics on suspend.
936
937endif # MSM_IDLE_STATS
938
939config CPU_HAS_L2_PMU
940 bool "L2CC PMU Support"
941 help
942 Select this if the L2 cache controller has a Performance Monitoring Unit.
943
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700944config HTC_HEADSET
945 tristate "HTC 2 Wire detection driver"
946 default n
947 help
948 Provides support for detecting HTC 2 wire devices, such as wired
949 headset, on the trout platform. Can be used with the msm serial
950 debugger, but not with serial console.
951
952config TROUT_BATTCHG
953 depends on MACH_TROUT && POWER_SUPPLY
954 default y
955 bool "Trout battery / charger driver"
956
957config HTC_PWRSINK
958 depends on MSM_SMD
959 default n
960 bool "HTC Power Sink Driver"
961
962config QSD_SVS
963 bool "QSD Static Voltage Scaling"
964 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
965 default y
966 select TPS65023
967 help
968 Enables static voltage scaling using the TPS65023 PMIC.
969
970config QSD_PMIC_DEFAULT_DCDC1
971 int "PMIC default output voltage"
972 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
973 default 1250
974 help
975 This is the PMIC voltage at Linux kernel boot.
976
977config MSM_FIQ_SUPPORT
978 default y
979 bool "Enable installation of an FIQ handler."
980
981config MSM_SERIAL_DEBUGGER
982 select MSM_FIQ_SUPPORT
983 select KERNEL_DEBUGGER_CORE
984 default n
985 bool "FIQ Mode Serial Debugger"
986 help
987 The FIQ serial debugger can accept commands even when the
988 kernel is unresponsive due to being stuck with interrupts
989 disabled. Depends on the kernel debugger core in drivers/misc.
990
991config MSM_SERIAL_DEBUGGER_CONSOLE
992 depends on MSM_SERIAL_DEBUGGER
993 default n
994 bool "Console on FIQ Serial Debugger port"
995 help
996 Enables a console so that printk messages are displayed on
997 the debugger serial port as the occur.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700998
Steve Mucklec8aabae2010-04-21 16:20:27 -0700999config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001000 default y
1001 bool "Proc-Comm RPC Interface"
1002 help
1003 Enables a lightweight communications interface to the
1004 baseband processor.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001005
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001006config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001007 bool "MSM Shared Memory Driver (SMD)"
1008 help
1009 Support for the shared memory interface between the apps
1010 processor and the baseband processor. Provides access to
1011 the "shared heap", as well as virtual serial channels
1012 used to communicate with various services on the baseband
1013 processor.
1014
1015choice
1016 prompt "MSM Shared memory interface version"
1017 depends on MSM_SMD
1018 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1019 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1020
1021 config MSM_SMD_PKG3
1022 bool
1023 prompt "Package 3"
1024
1025 config MSM_SMD_PKG4
1026 bool
1027 prompt "Package 4"
1028endchoice
1029
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001030config MSM_RPC_SDIO_XPRT
1031 depends on MSM_SDIO_AL
1032 default y
1033 bool "MSM SDIO XPRT Layer"
1034 help
1035 SDIO Transport Layer for RPC Rouer
1036
1037config MSM_RPC_SDIO_DEBUG
1038 depends on MSM_RPC_SDIO_XPRT
1039 default y
1040 bool "MSM SDIO XPRT debug support"
1041 help
1042 Support for debugging SDIO XPRT
1043
1044config MSM_SMD_DEBUG
1045 depends on MSM_SMD
1046 default y
1047 bool "MSM SMD debug support"
1048 help
1049 Support for debugging the SMD for communication
1050 between the ARM9 and ARM11
1051
1052config MSM_SDIO_AL
1053 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1054 default y
1055 tristate "SDIO-Abstraction-Layer"
1056 help
1057 Support MSM<->MDM Communication over SDIO bus.
1058 MDM SDIO-Client should have pipes support.
1059
1060config MSM_SDIO_DMUX
1061 bool "SDIO Data Mux Driver"
1062 depends on MSM_SDIO_AL
1063 default n
1064 help
1065 Support Muxed Data Channels over SDIO interface.
1066
1067config MSM_BAM_DMUX
1068 bool "BAM Data Mux Driver"
1069 depends on SPS
1070 default n
1071 help
1072 Support Muxed Data Channels over BAM interface.
1073 BAM has a limited number of pipes. This driver
1074 provides a means to support more logical channels
1075 via muxing than BAM could without muxing.
1076
1077config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001078 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001079 default y
1080 bool "MSM N-WAY SMD support"
1081 help
1082 Supports APPS-QDSP SMD communication along with
1083 normal APPS-MODEM SMD communication.
1084
1085config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001086 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001087 default y
1088 bool "MSM N-WAY SMSM support"
1089 help
1090 Supports APPS-QDSP SMSM communication along with
1091 normal APPS-MODEM SMSM communication.
1092
1093config MSM_RESET_MODEM
1094 tristate "Reset Modem Driver"
1095 depends on MSM_SMD
1096 default m
1097 help
1098 Allows the user to reset the modem through a device node.
1099
1100config MSM_SMD_LOGGING
1101 depends on MSM_SMD
1102 default y
1103 bool "MSM Shared Memory Logger"
1104 help
1105 This option exposes the shared memory logger at /dev/smem_log
1106 and a debugfs node named smem_log.
1107
1108 If in doubt, say yes.
1109
1110config MSM_SMD_NMEA
1111 bool "NMEA GPS Driver"
1112 depends on MSM_SMD
1113 default y
1114 help
1115 Enable this to support the NMEA GPS device.
1116
1117 If in doubt, say yes.
1118
1119config MSM_SDIO_TTY
1120 bool "SDIO TTY Driver"
1121 depends on MSM_SDIO_AL
1122 default n
1123 help
1124 Provides a TTY driver SDIO TTY
1125 This driver can be used by user space
1126 applications for passing data through the
1127 SDIO interface.
1128
1129config MSM_SMD_TTY
1130 bool "SMD TTY Driver"
1131 depends on MSM_SMD
1132 default y
1133 help
1134 Provides TTY interfaces to interact with the modem.
1135
1136 If in doubt, say yes.
1137
1138config MSM_SMD_QMI
1139 bool "SMD QMI Driver"
1140 depends on MSM_SMD
1141 default y
1142 help
1143 Manages network data connections.
1144
1145 If in doubt, say yes.
1146
1147config MSM_SMD_PKT
1148 bool "SMD Packet Driver"
1149 depends on MSM_SMD
1150 default y
1151 help
1152 Provides a binary SMD non-muxed packet port interface.
1153
1154 If in doubt, say yes.
1155
1156config MSM_SDIO_CMUX
1157 bool "SDIO CMUX Driver"
1158 depends on MSM_SDIO_AL
1159 default n
1160 help
1161 Provides a Muxed port interface over SDIO QMI
1162
1163config MSM_DSPS
1164 bool "Sensors DSPS driver"
1165 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1166 default n
1167 help
1168 Provides user-space interface to the sensors manager
1169 to turn on/off the Sensors Processor system clocks.
1170 It is the DSPS responsibility to turn on/off the sensors
1171 themself.
1172 The number of clocks and their name may vary between targets.
1173 It also triggers the PIL to load the DSPS firmware.
1174
1175config MSM_SDIO_CTL
1176 bool "SDIO CTL Driver"
1177 depends on MSM_SDIO_CMUX
1178 default n
1179 help
1180 Provides a binary SDIO control port interface.
1181
1182config MSM_ONCRPCROUTER
1183 depends on MSM_SMD
1184 default n
1185 bool "MSM ONCRPC router support"
1186 help
1187 Support for the MSM ONCRPC router for communication between
1188 the ARM9 and ARM11
1189
1190config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001191 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001192 default n
1193 bool "MSM IPC Router support"
1194 help
1195 Support for the MSM IPC Router for communication between
1196 the APPs and the MODEM
1197
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001198config MSM_IPC_ROUTER_SMD_XPRT
1199 depends on MSM_SMD
1200 depends on MSM_IPC_ROUTER
1201 default n
1202 bool "MSM SMD XPRT Layer"
1203 help
1204 SMD Transport Layer for IPC Router
1205
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001206config MSM_ONCRPCROUTER_DEBUG
1207 depends on MSM_ONCRPCROUTER
1208 default y
1209 bool "MSM debug ONCRPC router support"
1210 help
1211 Support for debugging the ONCRPC router for communication
1212 between the ARM9 and ARM11
1213
1214config MSM_RPC_LOOPBACK_XPRT
1215 depends on MSM_ONCRPCROUTER
1216 default n
1217 bool "MSM RPC local routing support"
1218 help
1219 Support for routing RPC messages between APPS clients
1220 and APPS servers. Helps in testing APPS RPC framework.
1221
1222config MSM_RPCSERVER_TIME_REMOTE
1223 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1224 default y
1225 bool "Time remote RPC server"
1226 help
1227 The time remote server receives notification of time bases and
1228 reports these events to registered callback functions.
1229
1230config MSM_RPCSERVER_WATCHDOG
1231 depends on MSM_ONCRPCROUTER
1232 default y
1233 bool "Watchdog RPC server"
1234 help
1235 The dog_keepalive server handles watchdog events.
1236
1237config MSM_RPC_WATCHDOG
1238 depends on MSM_ONCRPCROUTER
1239 default n
1240 bool "Watchdog RPC client"
1241 help
1242 The dog_keepalive client module.
1243
1244config MSM_RPC_PING
1245 depends on MSM_ONCRPCROUTER && DEBUG_FS
1246 default m
1247 bool "MSM rpc ping"
1248 help
1249 Implements MSM rpc ping test module.
1250
1251config MSM_RPC_PROC_COMM_TEST
1252 depends on DEBUG_FS && MSM_PROC_COMM
1253 default m
1254 bool "MSM rpc proc comm test"
1255 help
1256 Implements MSM rpc proc comm test module.
1257
1258config MSM_RPC_OEM_RAPI
1259 depends on MSM_ONCRPCROUTER
1260 default m
1261 bool "MSM oem rapi"
1262 help
1263 Implements MSM oem rapi client module.
1264
1265config MSM_RPCSERVER_HANDSET
1266 depends on MSM_ONCRPCROUTER
1267 default y
1268 bool "Handset events RPC server"
1269 help
1270 Support for receiving handset events like headset detect,
1271 headset switch and clamshell state.
1272
1273config MSM_RMT_STORAGE_CLIENT
1274 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1275 default n
1276 bool "Remote Storage RPC client"
1277 help
1278 Provide RPC mechanism for remote processors to access storage
1279 device on apps processor.
1280
1281config MSM_RMT_STORAGE_CLIENT_STATS
1282 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1283 default n
1284 bool "Remote storage RPC client performance statistics"
1285 help
1286 Collects performance statistics and shows this information
1287 through a debugfs file rmt_storage_stats.
1288
1289config MSM_SDIO_SMEM
1290 depends on MSM_SDIO_AL
1291 default n
1292 bool "SDIO SMEM for remote storage"
1293 help
1294 Copies data from remote MDM9K memory to local MSM8x60
1295 memory. Used by remote storage client to shadow
1296 MDM9K filesystem.
1297
1298config MSM_DALRPC
1299 bool "DAL RPC support"
1300 depends on ARCH_MSM_SCORPION || ARCH_MSM_KRAIT
1301 default y
1302 help
1303 Supports RPC calls to DAL devices on remote processor cores.
1304
1305config MSM_DALRPC_TEST
1306 tristate "DAL RPC test module"
1307 depends on (MSM_DALRPC && DEBUG_FS)
1308 default m
1309 help
1310 Exercises DAL RPC calls to QDSP6.
1311
1312if CPU_FREQ_MSM
1313
1314config MSM_CPU_FREQ_SET_MIN_MAX
1315 bool "Set Min/Max CPU frequencies."
1316 default n
1317 help
1318 Allow setting min and max CPU frequencies. Sysfs can be used
1319 to override these values.
1320
1321config MSM_CPU_FREQ_MAX
1322 int "Max CPU Frequency"
1323 depends on MSM_CPU_FREQ_SET_MIN_MAX
1324 default 384000
1325
1326config MSM_CPU_FREQ_MIN
1327 int "Min CPU Frequency"
1328 depends on MSM_CPU_FREQ_SET_MIN_MAX
1329 default 245760
1330
1331endif # CPU_FREQ_MSM
1332
1333config MSM_CPU_AVS
1334 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1335 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1336 depends on ARCH_QSD8X50
1337 default n
1338 select MSM_AVS_HW
1339 help
1340 This enables the s/w control of Adaptive Voltage Scaling feature
1341 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1342 based on feedback from three ring oscillators in the CPU.
1343
1344config MSM_AVS_HW
1345 bool "Enable Adaptive Voltage Scaling (AVS)"
1346 default n
1347 help
1348 Enable AVS hardware to fine tune voltage at each frequency. The
1349 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1350 fine tune the voltages based on the feedback from the ring
1351 oscillators.
1352
1353config MSM_HW3D
1354 tristate "MSM Hardware 3D Register Driver"
1355 depends on ANDROID_PMEM
1356 default y
1357 help
1358 Provides access to registers needed by the userspace OpenGL|ES
1359 library.
1360
1361config MSM_ADSP
1362 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1363 tristate "MSM ADSP driver"
1364 depends on ANDROID_PMEM
1365 default y
1366 help
1367 Provides access to registers needed by the userspace aDSP library.
1368
1369config ADSP_RPC_VER
1370 hex
1371 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1372 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1373 depends on MSM_ADSP
1374 help
1375 Select proper ADSP RPC version
1376choice
1377 prompt "ADSP RPC version"
1378
1379 default AMSS_7X25_VERSION_2009
1380
1381 config AMSS_7X25_VERSION_2009
1382 bool "2.0.09"
1383
1384 config AMSS_7X25_VERSION_2008
1385 bool "2.0.08"
1386endchoice
1387
1388config MSM7KV2_AUDIO
1389 bool "MSM7K v2 audio"
1390 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1391 default y
1392 help
1393 Enables QDSP5V2-based audio drivers for audio playbacks and
1394 voice call.
1395
1396config MSM_ADSP_REPORT_EVENTS
1397 bool "Report modem events from the DSP"
1398 default y
1399 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1400 help
1401 Normally, only messages from the aDSP are reported to userspace.
1402 With this option, we report events from the aDSP as well.
1403
1404config MSM_QDSP6
1405 tristate "QDSP6 support"
1406 depends on ARCH_QSD8X50 && ANDROID_PMEM
1407 default y
1408 help
1409 Enable support for qdsp6. This provides audio and video functionality.
1410
1411config MSM8X60_AUDIO
1412 tristate "MSM8X60 audio support"
1413 depends on ARCH_MSM8X60 && ANDROID_PMEM
1414 default y
1415 help
1416 Enable support for qdsp6v2. This provides audio functionality.
1417
1418config MSM8X60_FTM_AUDIO_DEVICES
1419 bool "MSM8X60 audio factory test mode support"
1420 depends on MSM8X60_AUDIO
1421 help
1422 Enable support audio factory test mode devices. This is used
1423 in a production line environment.
1424
Ben Romberger45b351c2011-07-20 22:37:27 -07001425config RTAC
1426 bool "MSM8K real-time audio calibration support"
1427 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001428 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001429 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001430 audio operation
1431
1432config MSM7X27A_AUDIO
1433 bool "MSM7X27A audio support"
1434 depends on ARCH_MSM7X27A && MSM_ADSP
1435 default n
1436 help
1437 Enable support for 7x27a. This provides audio functionality.
1438
Justin Pauporea6cd2092011-06-22 16:19:45 -07001439config MSM_PROC_COMM_REGULATOR
1440 bool
1441 depends on MSM_PROC_COMM && REGULATOR
1442 help
1443 Enable regulator framework support for regulators managed by PMLIB
1444 on the modem, and controlled through proccomm calls.
1445
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001446config MSM_VREG_SWITCH_INVERTED
1447 bool "Reverse vreg switch polarity"
1448 default n
1449 help
1450 Reverses the enable and disable for vreg switch.
1451
1452config MSM_DMA_TEST
1453 tristate "MSM DMA test module"
1454 default m
1455 help
1456 Intended to be compiled as a module. Provides a device node
1457 and ioctls for testing the MSM dma system.
1458
1459config WIFI_CONTROL_FUNC
1460 bool "Enable WiFi control function abstraction"
1461 help
1462 Enables Power/Reset/Carddetect function abstraction
1463
1464config WIFI_MEM_PREALLOC
1465 depends on WIFI_CONTROL_FUNC
1466 bool "Preallocate memory for WiFi buffers"
1467 help
1468 Preallocates memory buffers for WiFi driver
1469
1470config QSD_AUDIO
1471 bool "QSD audio"
1472 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1473 default y
1474 help
1475 Provides PCM, MP3, and AAC audio playback.
1476
1477config AUDIO_AAC_PLUS
1478 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1479 bool "AAC+ Audio"
1480 default y
1481 help
1482 Provides AAC+ decoding
1483
1484config AUDIO_ENHANCED_AAC_PLUS
1485 depends on AUDIO_AAC_PLUS
1486 bool "Enhanced AAC+ Audio"
1487 default y
1488 help
1489 Provides Enhanced AAC+ decoding
1490
1491config SURF_FFA_GPIO_KEYPAD
1492 bool "MSM SURF/FFA GPIO keypad"
1493 depends on INPUT_GPIO = "y"
1494 default y
1495 help
1496 Select if the GPIO keypad is attached.
1497
1498config MSM_SLEEP_TIME_OVERRIDE
1499 bool "Allow overriding suspend/sleep time with PM module parameter"
1500 default y
1501 help
1502 Enable the module parameter sleep_time_override. Specified
1503 in units of seconds, it overwrites the normal sleep time of
1504 suspend. The feature is required for automated power management
1505 testing.
1506
1507config MSM_MEMORY_LOW_POWER_MODE
1508 bool "Control the low power modes of memory"
1509 default n
1510 help
1511 The application processor controls whether memory should enter
1512 which low power mode.
1513
1514choice
1515 prompt "Default Memory Low Power Mode during Idle"
1516 depends on MSM_MEMORY_LOW_POWER_MODE
1517 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1518 help
1519 Selects the default low power mode of the memory during idle
1520 sleep.
1521
1522 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1523 bool "Memory active"
1524
1525 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1526 bool "Memory in retention"
1527
1528 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1529 bool "Memory in deep power down"
1530endchoice
1531
1532choice
1533 prompt "Default Memory Low Power Mode during Suspend"
1534 depends on MSM_MEMORY_LOW_POWER_MODE
1535 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1536 help
1537 Selects the default low power mode of the memory during suspend
1538 sleep.
1539
1540 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1541 bool "Memory active"
1542
1543 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1544 bool "Memory in retention"
1545
1546 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1547 bool "Memory in deep power down"
1548endchoice
1549
1550choice
1551 prompt "Power management timeout action"
1552 default MSM_PM_TIMEOUT_HALT
1553 help
1554 Selects the Application Processor's action when Power Management
1555 times out waiting for Modem's handshake.
1556
1557 config MSM_PM_TIMEOUT_HALT
1558 bool "Halt the Application Processor"
1559
1560 config MSM_PM_TIMEOUT_RESET_MODEM
1561 bool "Reset the Modem Processor"
1562
1563 config MSM_PM_TIMEOUT_RESET_CHIP
1564 bool "Reset the entire chip"
1565endchoice
1566
1567config MSM_IDLE_WAIT_ON_MODEM
1568 int "Wait for Modem to become ready for idle power collapse"
1569 default 0
1570 help
1571 If Modem is not ready to handle Application Processor's request
1572 for idle power collapse, wait the number of microseconds in case
1573 Modem becomes ready soon.
1574
1575config MSM_PIL
1576 bool "Peripheral image loading"
1577 select FW_LOADER
1578 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1579 default n
1580 help
1581 Some peripherals need to be loaded into memory before they can be
1582 brought out of reset.
1583
1584 Say yes to support these devices.
1585
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001586config MSM_PIL_QDSP6V3
1587 tristate "QDSP6v3 (Hexagon) Boot Support"
1588 depends on MSM_PIL
1589 help
1590 Support for booting and shutting down QDSP6v3 processors (hexagon).
1591 The QDSP6 is a low power DSP used in audio software applications.
1592
Stephen Boydeb819882011-08-29 14:46:30 -07001593config MSM_PIL_QDSP6V4
1594 tristate "QDSP6v4 (Hexagon) Boot Support"
1595 depends on MSM_PIL
1596 help
1597 Support for booting and shutting down QDSP6v4 processors (hexagon).
1598 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1599 software applications.
1600
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001601config MSM_SCM
1602 bool "Secure Channel Manager (SCM) support"
1603 default n
1604
1605config MSM_SUBSYSTEM_RESTART
1606 bool "MSM Subsystem Restart Driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001607 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001608 default n
1609 help
1610 This option enables the MSM subsystem restart driver, which provides
1611 a framework to handle subsystem crashes.
1612
Matt Wagantallf8020902011-08-30 21:19:23 -07001613config MSM_SYSMON_COMM
1614 bool "MSM System Monitor communication support"
1615 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1616 default y
1617 help
1618 This option adds support for MSM System Monitor library, which
1619 provides an API that may be used for notifying subsystems within
1620 the SoC about other subsystems' power-up/down state-changes.
1621
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001622config MSM_MODEM_8960
1623 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001624 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001625 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001626 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001627 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001628 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001629
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001630config MSM_LPASS_8960
1631 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001632 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001633 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001634 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001635 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001636 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001637
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001638config MSM_WCNSS_SSR_8960
1639 tristate "MSM 8960 WCNSS restart module"
1640 depends on (ARCH_MSM8960)
1641 help
1642 This option enables the WCNSS restart module for MSM8960, which
1643 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1644 into the subsystem restart framework.
1645
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001646config SCORPION_Uni_45nm_BUG
1647 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1648 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1649 default y
1650 help
1651 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1652 invalidating the Branch Predictor Array by Modified Virtual Address can
1653 create invalid entries in the TLB with the wrong ASID values on Scorpion
1654 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1655 workaround for Scorpion Uniprocessor 45nm cores.
1656
1657 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1658
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001659config MSM_BUSPM_DEV
1660 tristate "MSM Bus Performance Monitor Kernel Module"
1661 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1662 default m
1663 help
1664 This kernel module is used to mmap() hardware registers for the
1665 performance monitors, counters, etc. The module can also be used to
1666 allocate physical memory which is used by bus performance hardware to
1667 dump performance data.
1668
Mona Hossain11c03ac2011-10-26 12:42:10 -07001669config MSM_TZ_LOG
1670 tristate "MSM Trust Zone (TZ) Log Driver"
1671 depends on DEBUG_FS
1672 help
1673 This option enables a driver with a debugfs interface for messages
1674 produced by the Secure code (Trust zone). These messages provide
1675 diagnostic information about TZ operation.
1676
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001677config MSM_RPM_LOG
1678 tristate "MSM Resource Power Manager Log Driver"
1679 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001680 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001681 default n
1682 help
1683 This option enables a driver which can read from a circular buffer
1684 of messages produced by the RPM. These messages provide diagnostic
1685 information about RPM operation. The driver outputs the messages
1686 via a debugfs node.
1687
1688config MSM_RPM_STATS_LOG
1689 tristate "MSM Resource Power Manager Stat Driver"
1690 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001691 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001692 default n
1693 help
1694 This option enables a driver which reads RPM messages from a shared
1695 memory location. These messages provide statistical information about
1696 the low power modes that RPM enters. The drivers outputs the message
1697 via a debugfs node.
1698
1699config MSM_IOMMU
1700 bool "MSM IOMMU Support"
Joel King41d594e2011-10-14 13:18:20 -07001701 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_APQ8064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001702 select IOMMU_API
1703 default n
1704 help
1705 Support for the IOMMUs found on certain Qualcomm SOCs.
1706 These IOMMUs allow virtualization of the address space used by most
1707 cores within the multimedia subsystem.
1708
1709 If unsure, say N here.
1710
1711config IOMMU_PGTABLES_L2
1712 bool "Allow SMMU page tables in the L2 cache (Experimental)"
1713 depends on MSM_IOMMU=y
1714 depends on MMU
1715 depends on CPU_DCACHE_DISABLE=n
1716 depends on SMP
1717 default y
1718 help
1719 Improves TLB miss latency at the expense of potential L2 pollution.
1720 However, with large multimedia buffers, the TLB should mostly contain
1721 section mappings and TLB misses should be quite infrequent.
1722 Most people can probably say Y here.
1723
1724config MSM_DIRECT_SCLK_ACCESS
1725 bool "Direct access to the SCLK timer"
1726 default n
1727
1728config IOMMU_API
1729 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001730
Gregory Beanab78cde2010-09-01 16:26:12 -07001731config MSM_GPIOMUX
1732 bool
1733
Gregory Bean1963a2a2010-08-28 10:05:44 -07001734config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001735 bool
1736
1737config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07001738 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001739
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001740config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001741 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001742
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001743config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001744 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001745
1746config MSM_BUS_SCALING
1747 bool "Bus scaling driver"
1748 default n
1749
Gagan Mac85c70492011-06-10 16:07:47 -06001750config MSM_BUS_RPM_MULTI_TIER_ENABLED
1751 bool "RPM Multi-tiering Configuration"
1752 depends on MSM_BUS_SCALING
1753
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001754config MSM_WATCHDOG
1755 bool "MSM Watchdog Support"
Rohit Vaswani085a9332011-09-28 18:57:24 -07001756 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001757 help
1758 This enables the watchdog as is present on 8x60. Currently we use
1759 core 0's watchdog, and reset the entire SoC if it times out. It does
1760 not run during the bootup process, so it will not catch any early
1761 lockups.
1762
1763config MSM_DLOAD_MODE
1764 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07001765 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001766 default n
1767 help
1768 This makes the SoC enter download mode when it resets
1769 due to a kernel panic. Note that this doesn't by itself
1770 make the kernel reboot on a kernel panic - that must be
1771 enabled via another mechanism.
1772
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001773config HAS_QDSS
1774 bool "QDSS Present"
1775 help
1776 Select this if the chip has Qualcomm Debug Subsystem implemented.
1777
1778config MSM_DEBUG_ACROSS_PC
1779 bool "Debug support across power collapse"
1780 help
1781 Enables debug state to be saved and restored across power collapse.
1782
1783config MSM_JTAG_V7
1784 depends on CPU_V7 && !HAS_QDSS
1785 default y if DEBUG_KERNEL
1786 bool "JTAG debug support"
1787 select MSM_DEBUG_ACROSS_PC
1788 help
1789 Add additional support for JTAG kernel debugging.
1790
Pratik Patel7831c082011-06-08 21:44:37 -07001791config MSM_TRACE_ACROSS_PC
1792 bool "Trace support across power collapse"
Pratik Patel7831c082011-06-08 21:44:37 -07001793 help
1794 Enables trace state to be saved and restored across power collapse.
1795
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001796config MSM_ETM
1797 tristate "Enable MSM ETM and ETB"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001798 depends on ARCH_MSM8X60 && !HAS_QDSS
Pratik Patel7831c082011-06-08 21:44:37 -07001799 select MSM_TRACE_ACROSS_PC
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001800 help
Pratik Patel7831c082011-06-08 21:44:37 -07001801 Enables embedded trace collection on Qualcomm v7 CPUs.
1802
1803config MSM_QDSS
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001804 bool "Qualcomm Debug Subsystem"
1805 depends on HAS_QDSS
1806 select MSM_DEBUG_ACROSS_PC
Pratik Patel7831c082011-06-08 21:44:37 -07001807 select MSM_TRACE_ACROSS_PC
1808 help
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001809 Enables support for Qualcomm Debug Subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001810
1811config MSM_SLEEP_STATS
1812 bool "Enable exporting of MSM sleep stats to userspace"
1813 depends on CPU_IDLE
1814 default n
1815
1816config MSM_STANDALONE_POWER_COLLAPSE
1817 bool "Enable standalone power collapse"
1818 default n
1819
1820config MSM_GSBI9_UART
1821 bool "Enable GSBI9 UART device"
1822 default n
1823 help
1824 This enables GSBI9 configured into UART.
1825
1826config MSM_SHARED_GPIO_FOR_UART2DM
1827 bool "Use shared GPIOs into UART mode"
1828 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
1829 help
1830 This option configures GPIO muxed with SDC4/MMC3
1831 8-bit mode into UART mode. It is used for serial
1832 console on UART2DM. Say Y if you want to have
1833 serial console on UART2DM.
1834
1835config MSM_SHOW_RESUME_IRQ
1836 bool "Enable logging of interrupts that could have caused resume"
Sathish Ambleyd4efc762011-10-09 22:19:22 -07001837 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSMCOPPER)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001838 default n
1839 help
1840 This option logs wake up interrupts that have triggered just before
1841 the resume loop unrolls. Say Y if you want to debug why the system
1842 resumed.
1843
1844config BT_MSM_PINTEST
1845 tristate "MSM Bluetooth Pin Connectivity Test"
1846 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
1847 default n
1848 help
1849 Bluetooth MSM Pin Connectivity test module.
1850 This driver provides support for verifying the MSM to BT pin
1851 connectivity.
1852
1853config MSM_FAKE_BATTERY
1854 depends on POWER_SUPPLY
1855 default n
1856 bool "MSM Fake Battery"
1857 help
1858 Enables MSM fake battery driver.
1859
1860config MSM_QDSP6_APR
1861 bool "Audio QDSP6 APR support"
1862 depends on MSM_SMD
1863 default n
1864 help
1865 Enable APR IPC protocol support between
1866 application processor and QDSP6. APR is
1867 used by audio driver to configure QDSP6's
1868 ASM, ADM and AFE.
1869
1870
1871config MSM_AUDIO_QDSP6
1872 bool "QDSP6 HW Audio support"
1873 select SND_SOC_MSM_QDSP6_INTF
1874 default n
1875 help
1876 Enable HW audio support in QDSP6.
1877 QDSP6 can support HW encoder & decoder and audio processing
1878
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02001879config MSM_ULTRASOUND
1880 bool "MSM ultrasound support"
1881 depends on MSM_AUDIO_QDSP6
1882 help
1883 Enable support for qdsp6/ultrasound.
1884
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001885config MSM_RPC_VIBRATOR
1886 bool "RPC based MSM Vibrator Support"
1887 depends on MSM_ONCRPCROUTER
1888 help
1889 Enable the vibrator support on MSM over RPC. The vibrator
1890 is connected on the PMIC. Say Y if you want to enable this
1891 feature.
1892
1893config PM8XXX_RPC_VIBRATOR
1894 bool "RPC based Vibrator on PM8xxx PMICs"
1895 depends on MSM_RPC_VIBRATOR
1896 help
1897 Enable the vibrator support on MSM over RPC. The vibrator
1898 is connected on the PM8XXX PMIC. Say Y if you want to enable
1899 this feature.
1900
1901config MSM_SPM_V1
1902 bool "Driver support for SPM Version 1"
1903 help
1904 Enables the support for Version 1 of the SPM driver. SPM hardware is
1905 used to manage the processor power during sleep. The driver allows
1906 configuring SPM to allow different power modes.
1907
1908config MSM_SPM_V2
1909 bool "Driver support for SPM Version 2"
1910 help
1911 Enables the support for Version 2 of the SPM driver. SPM hardware is
1912 used to manage the processor power during sleep. The driver allows
1913 configuring SPM to allow different power modes.
1914
1915config MSM_L2_SPM
1916 bool "SPM support for L2 cache"
1917 depends on MSM_SPM_V2
1918 help
1919 Enable SPM driver support for L2 cache. Some MSM chipsets allow
1920 control of L2 cache low power mode with a Subsystem Power manager.
1921 Enabling this driver allows configuring L2 SPM for low power modes
1922 on supported chipsets.
1923
Laura Abbott2d1760b2011-09-29 21:31:24 -07001924config MSM_MULTIMEDIA_USE_ION
1925 bool "Multimedia suport using Ion"
1926 depends on ION_MSM
1927 help
1928 Enable support for multimedia drivers using Ion for buffer management
1929 instead of pmem. Selecting this may also involve userspace
1930 dependencies as well.
1931
Brian Swetland9e73c842007-11-26 04:12:13 -08001932endif