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