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