blob: 32b4a995390a5dd0441bc41d407f72c46c327e87 [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
Laura Abbott1fbd2e62011-12-18 10:26:46 -080033 select CLEANCACHE
34 select QCACHE
Daniel Walkerbf83de42010-03-16 16:29:44 -070035
Daniel Walker7b521612010-05-06 12:44:57 -070036config ARCH_MSM7X30
37 bool "MSM7x30"
38 select ARCH_MSM_SCORPION
Daniel Walker7b521612010-05-06 12:44:57 -070039 select MSM_VIC
40 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070041 select MSM_REMOTE_SPINLOCK_DEKKERS
42 select ARCH_SPARSEMEM_ENABLE
Laura Abbott78593b52011-09-26 18:48:14 -070043 select ARCH_HAS_HOLES_MEMORYMODEL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070044 select MEMORY_HOTPLUG
45 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -080046 select ARCH_ENABLE_MEMORY_HOTPLUG
47 select ARCH_ENABLE_MEMORY_HOTREMOVE
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070048 select MIGRATION
49 select ARCH_MEMORY_PROBE
50 select ARCH_MEMORY_REMOVE
Gregory Beanab78cde2010-09-01 16:26:12 -070051 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070052 select RESERVE_FIRST_PAGE
53 select MSM_DALRPC
54 select MSM_SPM_V1
55 select REGULATOR
Justin Paupore637a25d2011-07-14 17:11:04 -070056 select MSM_PROC_COMM_REGULATOR
Taniya Dasbae99fb2011-10-12 09:55:13 +053057 select MULTI_IRQ_HANDLER
Daniel Walker7b521612010-05-06 12:44:57 -070058
Daniel Walker4ad15e62010-05-06 13:54:17 -070059config ARCH_QSD8X50
60 bool "QSD8X50"
61 select ARCH_MSM_SCORPION
Daniel Walker4ad15e62010-05-06 13:54:17 -070062 select MSM_VIC
63 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070064 select MSM_REMOTE_SPINLOCK_LDREX
65 select CPU_USE_DOMAINS
66 select EMULATE_DOMAIN_MANAGER_V7
Gregory Beanab78cde2010-09-01 16:26:12 -070067 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070068 select MSM_DALRPC
Daniel Walker46fe5f22010-08-18 11:00:25 -070069
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070070config ARCH_MSM8X60
71 bool "MSM8X60"
Jeff Ohlsteine14411d2010-11-30 13:06:36 -080072 select ARCH_MSM_SCORPIONMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070073 select SMP_PARALLEL_START if SMP
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070074 select ARM_GIC
75 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070076 select MSM_REMOTE_SPINLOCK_LDREX
77 select ARCH_REQUIRE_GPIOLIB
78 select MSM_ADM3
79 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -080080 select MSM_RPM_REGULATOR
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070081 select MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070082 select MSM_PIL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070083 select ARCH_HAS_CPU_IDLE_WAIT
84 select MSM_DIRECT_SCLK_ACCESS
85 select MSM_RPM
86 select MSM_XO
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070087 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070088 select MSM_BUS_SCALING
89 select MSM_SECURE_IO
90 select MSM_DALRPC
91 select MSM_QDSP6_APR
92 select MSM_NATIVE_RESTART
93 select ARCH_INLINE_SPIN_TRYLOCK
94 select ARCH_INLINE_SPIN_TRYLOCK_BH
95 select ARCH_INLINE_SPIN_LOCK
96 select ARCH_INLINE_SPIN_LOCK_BH
97 select ARCH_INLINE_SPIN_LOCK_IRQ
98 select ARCH_INLINE_SPIN_LOCK_IRQSAVE
99 select ARCH_INLINE_SPIN_UNLOCK
100 select ARCH_INLINE_SPIN_UNLOCK_BH
101 select ARCH_INLINE_SPIN_UNLOCK_IRQ
102 select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
103 select ARCH_INLINE_READ_TRYLOCK
104 select ARCH_INLINE_READ_LOCK
105 select ARCH_INLINE_READ_LOCK_BH
106 select ARCH_INLINE_READ_LOCK_IRQ
107 select ARCH_INLINE_READ_LOCK_IRQSAVE
108 select ARCH_INLINE_READ_UNLOCK
109 select ARCH_INLINE_READ_UNLOCK_BH
110 select ARCH_INLINE_READ_UNLOCK_IRQ
111 select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
112 select ARCH_INLINE_WRITE_TRYLOCK
113 select ARCH_INLINE_WRITE_LOCK
114 select ARCH_INLINE_WRITE_LOCK_BH
115 select ARCH_INLINE_WRITE_LOCK_IRQ
116 select ARCH_INLINE_WRITE_LOCK_IRQSAVE
117 select ARCH_INLINE_WRITE_UNLOCK
118 select ARCH_INLINE_WRITE_UNLOCK_BH
119 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
120 select CPU_HAS_L2_PMU
121 select MSM_SPM_V1
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530122 select MSM_SCM if SMP
123 select MULTI_IRQ_HANDLER
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700124
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800125config ARCH_MSM8960
126 bool "MSM8960"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700127 select ARCH_MSM_KRAITMP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800128 select ARM_GIC
129 select CPU_V7
130 select MSM_V2_TLMM
131 select MSM_GPIOMUX
132 select MSM_SCM if SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700133 select MSM_DIRECT_SCLK_ACCESS
134 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -0800135 select MSM_RPM_REGULATOR
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700136 select MSM_RPM
137 select MSM_XO
138 select MSM_QDSP6_APR
139 select MSM_PIL
140 select MSM_AUDIO_QDSP6 if SND_SOC
141 select CPU_HAS_L2_PMU
142 select MSM_SPM_V2
143 select MSM_L2_SPM
144 select MSM_NATIVE_RESTART
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700145 select DONT_MAP_HOLE_AFTER_MEMBANK0
146 select MSM_REMOTE_SPINLOCK_SFPB
147 select ARCH_POPULATES_NODE_MAP
148 select ARCH_SPARSEMEM_ENABLE
149 select ARCH_HAS_HOLES_MEMORYMODEL
150 select MEMORY_HOTPLUG
151 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -0800152 select ARCH_ENABLE_MEMORY_HOTPLUG
153 select ARCH_ENABLE_MEMORY_HOTREMOVE
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700154 select MIGRATION
155 select ARCH_MEMORY_PROBE
156 select ARCH_MEMORY_REMOVE
Larry Bassel4dc15912011-10-14 11:01:43 -0700157 select FIX_MOVABLE_ZONE
Larry Basseld4d82c92011-12-07 09:52:49 -0800158 select CLEANCACHE
159 select QCACHE
Laura Abbott6d61a912011-10-27 16:44:14 -0700160 select MSM_MULTIMEDIA_USE_ION
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530161 select MULTI_IRQ_HANDLER
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700162
163config ARCH_MSM8930
164 bool "MSM8930"
165 select ARCH_MSM_KRAITMP
166 select ARM_GIC
167 select CPU_V7
168 select MSM_V2_TLMM
169 select MSM_GPIOMUX
170 select MSM_SCM if SMP
171 select MSM_DIRECT_SCLK_ACCESS
172 select REGULATOR
David Collins5779cea2012-01-05 15:09:21 -0800173 select MSM_RPM_REGULATOR
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700174 select MSM_RPM
175 select MSM_XO
176 select MSM_QDSP6_APR
177 select MSM_PIL
178 select MSM_AUDIO_QDSP6 if SND_SOC
179 select CPU_HAS_L2_PMU
180 select MSM_SPM_V2
181 select MSM_L2_SPM
182 select MSM_NATIVE_RESTART
183 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600184 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700185 select ARCH_POPULATES_NODE_MAP
186 select ARCH_SPARSEMEM_ENABLE
187 select ARCH_HAS_HOLES_MEMORYMODEL
188 select MEMORY_HOTPLUG
189 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -0800190 select ARCH_ENABLE_MEMORY_HOTPLUG
191 select ARCH_ENABLE_MEMORY_HOTREMOVE
Larry Basself74479e2011-09-08 11:07:52 -0700192 select MIGRATION
193 select ARCH_MEMORY_PROBE
194 select ARCH_MEMORY_REMOVE
Larry Bassel4dc15912011-10-14 11:01:43 -0700195 select FIX_MOVABLE_ZONE
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +0200196 select MSM_ULTRASOUND
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530197 select MULTI_IRQ_HANDLER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700198
199config ARCH_APQ8064
200 bool "APQ8064"
201 select ARCH_MSM_KRAITMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700202 select MSM_V2_TLMM
203 select ARM_GIC
204 select CPU_V7
205 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700206 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600207 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800208 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800209 select MSM_QDSP6_APR
210 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530211 select MULTI_IRQ_HANDLER
Praveen Chidambaram78499012011-11-01 17:15:17 -0600212 select MSM_RPM
213 select MSM_SPM_V2
214 select MSM_L2_SPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700215
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700216config ARCH_MSMCOPPER
217 bool "MSM Copper"
218 select ARCH_MSM_KRAITMP
219 select MSM_V2_TLMM
220 select ARM_GIC
221 select CPU_V7
222 select MSM_SCM if SMP
223 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530224 select MULTI_IRQ_HANDLER
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700225
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700226config ARCH_FSM9XXX
227 bool "FSM9XXX"
228 select ARCH_MSM_SCORPION
229 select MSM_VIC
230 select CPU_V7
231 select MSM_REMOTE_SPINLOCK_LDREX
232 select FSM9XXX_TLMM
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530233 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800234 select MSM_DALRPC
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800235
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700236config ARCH_MSM9615
237 bool "MSM9615"
238 select ARM_GIC
239 select ARCH_MSM_CORTEX_A5
240 select CPU_V7
241 select MSM_V2_TLMM
242 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600243 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600244 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700245 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800246 select REGULATOR
247 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530248 select MULTI_IRQ_HANDLER
Matt Wagantall9274df92011-12-15 11:11:05 -0800249
Taniya Das43bcdd62011-12-02 17:33:27 +0530250config ARCH_MSM8625
251 bool "MSM8625"
252 select ARCH_MSM_CORTEX_A5
253 select CPU_V7
254 select MSM_GPIOMUX
255 select ARM_GIC
256 select ARCH_MSM_CORTEXMP
257 select MULTI_IRQ_HANDLER
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700258endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700259
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700260choice
261 prompt "MSM SoC Revision"
262 default MSM_SOC_REV_NONE
263config MSM_SOC_REV_NONE
264 bool "N/A"
265 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
266 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walker4ad15e62010-05-06 13:54:17 -0700267config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700268 bool "Rev. A"
269 select ARCH_MSM7X27A if ARCH_MSM7X27
270endchoice
Daniel Walker4ad15e62010-05-06 13:54:17 -0700271
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700272config MSM_KRAIT_TBB_ABORT_HANDLER
273 bool "Krait TBB/TBH data abort handler"
274 depends on ARCH_MSM_KRAIT
275 depends on ARM_THUMB
276 help
277 Certain early samples of the Krait processor may generate data
278 aborts for TBB / TBH instructions that fail their condition code
279 checks. Enabling this option will ignore these erroneous data aborts,
280 at the expense of a very small performance penalty.
281
282 If unsure, say N.
283
Daniel Walker4ad15e62010-05-06 13:54:17 -0700284config ARCH_MSM_ARM11
285 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700286
Daniel Walker4ad15e62010-05-06 13:54:17 -0700287config ARCH_MSM_SCORPION
Daniel Walkerbf83de42010-03-16 16:29:44 -0700288 bool
289
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700290config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700291 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800292 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700293
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700294config MSM_SMP
295 bool
296
297config ARCH_MSM_SCORPIONMP
298 select ARCH_MSM_SCORPION
299 select MSM_SMP
300 bool
301
302config ARCH_MSM_KRAITMP
303 select ARCH_MSM_KRAIT
304 select MSM_SMP
305 bool
306
Taniya Das43bcdd62011-12-02 17:33:27 +0530307config ARCH_MSM_CORTEXMP
308 select MSM_SMP
309 bool
310
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700311config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800312 bool
Rohit Vaswaniaf7ae272012-01-09 10:28:57 -0800313 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700314
315config ARCH_MSM7X27A
316 bool
317 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700318 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530319 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530320 select ARM_GIC
321 select ARCH_MSM_CORTEXMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700322
Gregory Beanf9f3d312010-04-30 22:06:50 -0700323config MSM_VIC
324 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700325
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700326config MSM_RPM
327 bool "Resource Power Manager"
328 select MSM_MPM
329
330config MSM_MPM
331 bool "Modem Power Manager"
332
333config MSM_XO
334 bool
335
336config MSM_REMOTE_SPINLOCK_DEKKERS
337 bool
338config MSM_REMOTE_SPINLOCK_SWP
339 bool
340config MSM_REMOTE_SPINLOCK_LDREX
341 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600342config MSM_REMOTE_SPINLOCK_SFPB
343 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700344config MSM_ADM3
345 bool
346
347menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700348
349config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700350 depends on ARCH_MSM7X01A
351 depends on MSM_STACKED_MEMORY
352 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700353 bool "Halibut Board (QCT SURF7201A)"
354 help
355 Support for the Qualcomm SURF7201A eval board.
356
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700357config MACH_MSM7201A_SURF
358 depends on ARCH_MSM7X01A
359 depends on MSM_STACKED_MEMORY
360 default y
361 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700362 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700363 Support for the Qualcomm MSM7201A SURF eval board.
364
365config MACH_MSM7201A_FFA
366 depends on ARCH_MSM7X01A
367 depends on MSM_STACKED_MEMORY
368 default y
369 bool "MSM7201A FFA"
370 help
371 Support for the Qualcomm MSM7201A FFA eval board.
372
373config MACH_TROUT
374 depends on ARCH_MSM7X01A
375 depends on MSM_STACKED_MEMORY
376 default y
377 bool "Trout"
378
379config MACH_MSM7X27_SURF
380 depends on ARCH_MSM7X27
381 depends on !MSM_STACKED_MEMORY
382 default y
383 bool "MSM7x27 SURF"
384 help
385 Support for the Qualcomm MSM7x27 SURF eval board.
386
387config MACH_MSM7X27_FFA
388 depends on ARCH_MSM7X27
389 depends on !MSM_STACKED_MEMORY
390 default y
391 bool "MSM7x27 FFA"
392 help
393 Support for the Qualcomm MSM7x27 FFA eval board.
394
395config MACH_MSM7X27A_RUMI3
396 depends on ARCH_MSM7X27A
397 depends on !MSM_STACKED_MEMORY
398 default y
399 bool "MSM7x27A RUMI3"
400 help
401 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
402
403config MACH_MSM7X27A_SURF
404 depends on ARCH_MSM7X27A
405 depends on !MSM_STACKED_MEMORY
406 default y
407 bool "MSM7x27A SURF"
408 help
409 Support for the Qualcomm MSM7x27A SURF.
410
411config MACH_MSM7X27A_FFA
412 depends on ARCH_MSM7X27A
413 depends on !MSM_STACKED_MEMORY
414 default y
415 bool "MSM7x27A FFA"
416 help
417 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700418
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530419config MACH_MSM7625A_SURF
420 depends on ARCH_MSM7X27A
421 depends on !MSM_STACKED_MEMORY
422 default y
423 bool "MSM7625A SURF"
424 help
425 Support for the Qualcomm MSM7625A SURF.
426
427config MACH_MSM7625A_FFA
428 depends on ARCH_MSM7X27A
429 depends on !MSM_STACKED_MEMORY
430 default y
431 bool "MSM7625A FFA"
432 help
433 Support for the Qualcomm MSM7625A FFA.
434
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530435config MACH_MSM7627A_QRD1
436 depends on ARCH_MSM7X27A
437 depends on !MSM_STACKED_MEMORY
438 default y
439 bool "MSM7627A QRD1"
440 help
441 Support for the Qualcomm MSM7627A Refrence Design.
442
Taniya Dasc868a2e2012-01-03 10:18:47 +0530443config MACH_MSM7627A_EVB
444 depends on ARCH_MSM7X27A
445 depends on !MSM_STACKED_MEMORY
446 default y
447 bool "MSM7627A EVB"
448 help
449 Support for the Qualcomm MSM7627A Reference Design.
450
Taniya Das43bcdd62011-12-02 17:33:27 +0530451config MACH_MSM8625_RUMI3
452 depends on ARCH_MSM8625
453 depends on !MSM_STACKED_MEMORY
454 default y
455 bool "MSM8625 RUMI3"
456 help
457 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
458
Daniel Walker7b521612010-05-06 12:44:57 -0700459config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700460 depends on ARCH_MSM7X30
461 depends on !MSM_STACKED_MEMORY
462 default y
463 bool "MSM7x30 SURF"
464 help
465 Support for the Qualcomm MSM7x30 SURF eval board.
466
467config MACH_MSM7X30_FFA
468 depends on ARCH_MSM7X30
469 depends on !MSM_STACKED_MEMORY
470 default y
471 bool "MSM7x30 FFA"
472 help
473 Support for the Qualcomm MSM7x30 FFA eval board.
474
475config MACH_MSM7X30_FLUID
476 depends on ARCH_MSM7X30
477 depends on !MSM_STACKED_MEMORY
478 default y
479 bool "MSM7x30 FLUID"
480 help
481 Support for the Qualcomm MSM7x30 FLUID eval board.
482
483config MACH_SAPPHIRE
484 depends on ARCH_MSM7X01A
485 default n
486 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700487
Daniel Walker4ad15e62010-05-06 13:54:17 -0700488config MACH_QSD8X50_SURF
489 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700490 depends on MSM_SOC_REV_NONE
491 depends on MSM_STACKED_MEMORY
492 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700493 bool "QSD8x50 SURF"
494 help
495 Support for the Qualcomm QSD8x50 SURF eval board.
496
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700497config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700498 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700499 depends on MSM_SOC_REV_NONE
500 depends on MSM_STACKED_MEMORY
501 default y
502 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700503 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700504 Support for the Qualcomm QSD8x50 FFA eval board.
505
506config MACH_MSM7X25_SURF
507 depends on ARCH_MSM7X25
508 depends on !MSM_STACKED_MEMORY
509 default y
510 bool "MSM7x25 SURF"
511 help
512 Support for the Qualcomm MSM7x25 SURF eval board.
513
514config MACH_MSM7X25_FFA
515 depends on ARCH_MSM7X25
516 depends on !MSM_STACKED_MEMORY
517 default y
518 bool "MSM7x25 FFA"
519 help
520 Support for the Qualcomm MSM7x25 FFA eval board.
521
522config MACH_MSM8X55_SURF
523 depends on ARCH_MSM7X30
524 depends on !MSM_STACKED_MEMORY
525 default y
526 bool "MSM8X55 SURF"
527 help
528 Support for the Qualcomm MSM8x55 SURF eval board.
529
530config MACH_MSM8X55_FFA
531 depends on ARCH_MSM7X30
532 depends on !MSM_STACKED_MEMORY
533 default y
534 bool "MSM8X55 FFA"
535 help
536 Support for the Qualcomm MSM8x55 FFA eval board.
537
538config MACH_MSM8X55_SVLTE_FFA
539 depends on ARCH_MSM7X30
540 depends on !MSM_STACKED_MEMORY
541 default y
542 bool "MSM8X55 SVLTE FFA"
543 help
544 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
545
546config MACH_MSM8X55_SVLTE_SURF
547 depends on ARCH_MSM7X30
548 depends on !MSM_STACKED_MEMORY
549 default y
550 bool "MSM8X55 SVLTE SURF"
551 help
552 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700553
Steve Mucklea55df6e2010-01-07 12:43:24 -0800554config MACH_MSM8X60_RUMI3
555 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700556 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800557 bool "MSM8x60 RUMI3"
558 help
559 Support for the Qualcomm MSM8x60 RUMI3 emulator.
560
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800561config MACH_MSM8X60_SIM
562 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700563 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800564 bool "MSM8x60 Simulator"
565 help
566 Support for the Qualcomm MSM8x60 simulator.
567
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700568config MACH_MSM8X60_SURF
569 depends on ARCH_MSM8X60
570 default n
571 bool "MSM8x60 SURF"
572 help
573 Support for the Qualcomm MSM8x60 SURF eval board.
574
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700575config MACH_MSM8X60_FFA
576 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700577 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700578 bool "MSM8x60 FFA"
579 help
580 Support for the Qualcomm MSM8x60 FFA eval board.
581
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700582config MACH_MSM8X60_FLUID
583 depends on ARCH_MSM8X60
584 default n
585 bool "MSM8x60 FLUID"
586 help
587 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
588 8x60 target which has a form factor that is much closer to that
589 of a phone than other targets. It also has a new display and
590 touchscreen controller.
591
592config MACH_MSM8X60_FUSION
593 depends on ARCH_MSM8X60
594 default n
595 bool "MSM8x60 FUSION"
596 help
597 Support for the Qualcomm MSM8x60 Fusion SURF device.
598
599config MACH_MSM8X60_FUSN_FFA
600 depends on ARCH_MSM8X60
601 default n
602 bool "MSM8x60 FUSN FFA"
603 help
604 Support for the Qualcomm MSM8x60 Fusion FFA device.
605
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400606config MACH_MSM8X60_DRAGON
607 depends on ARCH_MSM8X60
608 default n
609 bool "MSM8x60 DRAGON"
610 help
611 Support for the Qualcomm MSM8x60 Dragon board.
612
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800613config MACH_MSM8960_SIM
614 depends on ARCH_MSM8960
615 bool "MSM8960 Simulator"
616 help
617 Support for the Qualcomm MSM8960 simulator.
618
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800619config MACH_MSM8960_RUMI3
620 depends on ARCH_MSM8960
621 bool "MSM8960 RUMI3"
622 help
623 Support for the Qualcomm MSM8960 RUMI3 emulator.
624
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700625config MACH_MSM8960_CDP
626 depends on ARCH_MSM8960
627 bool "MSM8960 CDP"
628 help
629 Support for the Qualcomm MSM8960 CDP device.
630
631config MACH_MSM8960_MTP
632 depends on ARCH_MSM8960
633 bool "MSM8960 MTP"
634 help
635 Support for the Qualcomm MSM8960 MTP device.
636
637config MACH_MSM8960_FLUID
638 depends on ARCH_MSM8960
639 bool "MSM8960 FLUID"
640 help
641 Support for the Qualcomm MSM8960 FLUID device.
642
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300643config MACH_MSM8960_LIQUID
644 depends on ARCH_MSM8960
645 bool "MSM8960 LIQUID"
646 help
647 Support for the Qualcomm MSM8960 LIQUID device.
648
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700649config MACH_MSM8930_CDP
650 depends on ARCH_MSM8930
651 bool "MSM8930 CDP"
652 help
653 Support for the Qualcomm MSM8930 CDP device.
654
655config MACH_MSM8930_MTP
656 depends on ARCH_MSM8930
657 bool "MSM8930 MTP"
658 help
659 Support for the Qualcomm MSM8930 MTP device.
660
661config MACH_MSM8930_FLUID
662 depends on ARCH_MSM8930
663 bool "MSM8930 FLUID"
664 help
665 Support for the Qualcomm MSM8930 FLUID device.
666
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800667config MACH_MSM8627_CDP
668 depends on ARCH_MSM8930
669 bool "MSM8627 CDP"
670 help
671 Support for the Qualcomm MSM8627 CDP device.
672
673config MACH_MSM8627_MTP
674 depends on ARCH_MSM8930
675 bool "MSM8627 MTP"
676 help
677 Support for the Qualcomm MSM8627 MTP device.
678
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700679config MACH_MSM9615_CDP
680 depends on ARCH_MSM9615
681 bool "MSM9615 CDP"
682 help
683 Support for the Qualcomm MSM9615 CDP device.
684
685config MACH_MSM9615_MTP
686 depends on ARCH_MSM9615
687 bool "MSM9615 MTP"
688 help
689 Support for the Qualcomm MSM9615 MTP device.
690
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700691config MSM_USE_TSIF1
692 depends on ARCH_MSM8X60
693 bool "MSM8x60 use TSIF1"
694 help
695 Selects TSIF1 core to be used rather than TSIF0.
696 The two TSIF cores share the same DM configuration
697 so they cannot be used simultaneously.
698
699config MACH_APQ8064_SIM
700 depends on ARCH_APQ8064
701 bool "APQ8064 Simulator"
702 help
703 Support for the Qualcomm APQ8064 simulator.
704
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700705config MACH_APQ8064_RUMI3
706 depends on ARCH_APQ8064
707 bool "APQ8064 RUMI3"
708 help
709 Support for the Qualcomm APQ8064 RUMI3 emulator.
710
Joel King82b7e3f2012-01-05 10:03:27 -0800711config MACH_APQ8064_CDP
712 depends on ARCH_APQ8064
713 bool "APQ8064 CDP"
714 help
715 Support for the Qualcomm APQ8064 CDP device.
716
717config MACH_APQ8064_MTP
718 depends on ARCH_APQ8064
719 bool "APQ8064 MTP"
720 help
721 Support for the Qualcomm APQ8064 MTP device.
722
723config MACH_APQ8064_LIQUID
724 depends on ARCH_APQ8064
725 bool "APQ8064 LIQUID"
726 help
727 Support for the Qualcomm APQ8064 LIQUID device.
728
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700729config MACH_FSM9XXX_SURF
730 depends on ARCH_FSM9XXX
731 depends on !MSM_STACKED_MEMORY
732 default y
733 bool "FSM9XXX SURF"
734 help
735 Support for the Qualcomm FSM9xxx femtocell
736 chipset based SURF evaluation board and
737 FFA board.
738
Daniel Walker4ad15e62010-05-06 13:54:17 -0700739endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800740
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700741config MSM_STACKED_MEMORY
742 bool "Stacked Memory"
743 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800744 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700745 This option is used to indicate the presence of on-die stacked
746 memory. When present this memory bank is used for a high speed
747 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800748
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700749config PHYS_OFFSET
750 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700751 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700752 default "0x80200000" if ARCH_APQ8064
753 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700754 default "0x80200000" if ARCH_MSM8930
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700755 default "0x80200000" if ARCH_MSMCOPPER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700756 default "0x10000000" if ARCH_FSM9XXX
757 default "0x00200000" if !MSM_STACKED_MEMORY
758 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
759 default "0x20000000" if ARCH_QSD8X50
760 default "0x40200000" if ARCH_MSM8X60
761 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800762
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700763config KERNEL_PMEM_EBI_REGION
764 bool "Enable in-kernel PMEM region for EBI"
765 default y if ARCH_MSM8X60
766 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960)
767 help
768 Enable the in-kernel PMEM allocator to use EBI memory.
769
770config KERNEL_PMEM_SMI_REGION
771 bool "Enable in-kernel PMEM region for SMI"
772 default y if ARCH_MSM8X60
773 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
774 help
775 Enable the in-kernel PMEM allocator to use SMI memory.
776
777config PMEM_GPU0
778 bool "Enable PMEM GPU0 region"
779 default y
780 depends on ARCH_QSD8X50 && ANDROID_PMEM
781 help
782 Enable the PMEM GPU0 device on SMI Memory.
783
784config MSM_AMSS_VERSION
785 int
786 default 6210 if MSM_AMSS_VERSION_6210
787 default 6220 if MSM_AMSS_VERSION_6220
788 default 6225 if MSM_AMSS_VERSION_6225
789
790choice
791 prompt "AMSS modem firmware version"
792
793 default MSM_AMSS_VERSION_6225
794
795 config MSM_AMSS_VERSION_6210
796 bool "6.2.10"
797
798 config MSM_AMSS_VERSION_6220
799 bool "6.2.20"
800
801 config MSM_AMSS_VERSION_6225
802 bool "6.2.20 + New ADSP"
803endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800804
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700805config MSM_HAS_DEBUG_UART_HS
806 bool
807 help
808 Say Y here if high speed MSM UART is present.
809
810config MSM_HAS_DEBUG_UART_HS_V14
811 bool
812 select MSM_HAS_DEBUG_UART_HS
813 help
814 Say Y here if high speed MSM UART v1.4 is present.
815
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800816config DEBUG_MSM8930_UART
817 bool "Kernel low-level debugging messages via MSM 8930 UART"
818 depends on ARCH_MSM8930 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700819 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800820 help
821 Say Y here if you want the debug print routines to direct
822 their output to the serial port on MSM 8930 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100823
824choice
825 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800826 depends on DEBUG_LL
Pavel Machek6339f662009-11-02 11:48:29 +0100827
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800828 config DEBUG_MSM_UART1
829 bool "Kernel low-level debugging messages via MSM UART1"
830 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
831 help
832 Say Y here if you want the debug print routines to direct
833 their output to the first serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100834
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800835 config DEBUG_MSM_UART2
836 bool "Kernel low-level debugging messages via MSM UART2"
837 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
838 help
839 Say Y here if you want the debug print routines to direct
840 their output to the second serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100841
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800842 config DEBUG_MSM_UART3
843 bool "Kernel low-level debugging messages via MSM UART3"
844 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
845 help
846 Say Y here if you want the debug print routines to direct
847 their output to the third serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100848
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800849 config DEBUG_MSM8660_UART
850 bool "Kernel low-level debugging messages via MSM 8660 UART"
851 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700852 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800853 help
854 Say Y here if you want the debug print routines to direct
855 their output to the serial port on MSM 8660 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100856
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800857 config DEBUG_MSM8960_UART
858 bool "Kernel low-level debugging messages via MSM 8960 UART"
859 depends on ARCH_MSM8960
860 select DEBUG_MSM8930_UART
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700861 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800862 help
863 Say Y here if you want the debug print routines to direct
864 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700865
866 config DEBUG_MSMCOPPER_UART
867 bool "Kernel low-level debugging messages via MSM Copper UART"
868 depends on ARCH_MSMCOPPER
869 select MSM_HAS_DEBUG_UART_HS_V14
870 help
871 Say Y here if you want the debug print routines to direct
872 their output to the serial port on MSM Copper devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100873endchoice
874
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700875choice
876 prompt "Default Timer"
877 default MSM7X00A_USE_GP_TIMER
878
879 config MSM7X00A_USE_GP_TIMER
880 bool "GP Timer"
881 help
882 Low resolution timer that allows power collapse from idle.
883
884 config MSM7X00A_USE_DG_TIMER
885 bool "DG Timer"
886 help
887 High resolution timer.
888endchoice
889
890choice
891 prompt "Suspend sleep mode"
892 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
893 help
894 Allows overriding the sleep mode used. Leave at power
895 collapse suspend unless the arm9 image has problems.
896
897 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
898 bool "Power collapse suspend"
899 help
900 Lowest sleep state. Returns through reset vector.
901
902 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
903 bool "Power collapse"
904 help
905 Sleep state that returns through reset vector.
906
907 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
908 bool "Apps Sleep"
909
910 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
911 bool "Ramp down cpu clock and wait for interrupt"
912
913 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
914 bool "Wait for interrupt"
915endchoice
916
917config MSM7X00A_SLEEP_MODE
918 int
919 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
920 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
921 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
922 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
923 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
924
925choice
926 prompt "Idle sleep mode"
927 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
928 help
929 Allows overriding the sleep mode used from idle. Leave at power
930 collapse suspend unless the arm9 image has problems.
931
932 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
933 bool "Power collapse suspend"
934 help
935 Lowest sleep state. Returns through reset vector.
936
937 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
938 bool "Power collapse"
939 help
940 Sleep state that returns through reset vector.
941
942 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
943 bool "Apps Sleep"
944
945 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
946 bool "Ramp down cpu clock and wait for interrupt"
947
948 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
949 bool "Wait for interrupt"
950endchoice
951
952config MSM7X00A_IDLE_SLEEP_MODE
953 int
954 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
955 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
956 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
957 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
958 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
959
960config MSM7X00A_IDLE_SLEEP_MIN_TIME
961 int "Minimum idle time before sleep"
962 default 20000000
963 help
964 Minimum idle time in nanoseconds before entering low power mode.
965
966config MSM7X00A_IDLE_SPIN_TIME
967 int "Idle spin time before cpu ramp down"
968 default 80000
969 help
970 Spin time in nanoseconds before ramping down cpu clock and entering
971 any low power state.
972
973menuconfig MSM_IDLE_STATS
974 bool "Collect idle statistics"
975 default y
976 help
977 Collect idle statistics and export them in proc/msm_pm_stats.
978
979if MSM_IDLE_STATS
980
981config MSM_IDLE_STATS_FIRST_BUCKET
982 int "First bucket time"
983 default 62500
984 help
985 Upper time limit in nanoseconds of first bucket.
986
987config MSM_IDLE_STATS_BUCKET_SHIFT
988 int "Bucket shift"
989 default 2
990
991config MSM_IDLE_STATS_BUCKET_COUNT
992 int "Bucket count"
993 default 10
994
995config MSM_SUSPEND_STATS_FIRST_BUCKET
996 int "First bucket time for suspend"
997 default 1000000000
998 help
999 Upper time limit in nanoseconds of first bucket of the
1000 histogram. This is for collecting statistics on suspend.
1001
1002endif # MSM_IDLE_STATS
1003
1004config CPU_HAS_L2_PMU
1005 bool "L2CC PMU Support"
1006 help
1007 Select this if the L2 cache controller has a Performance Monitoring Unit.
1008
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001009config HTC_HEADSET
1010 tristate "HTC 2 Wire detection driver"
1011 default n
1012 help
1013 Provides support for detecting HTC 2 wire devices, such as wired
1014 headset, on the trout platform. Can be used with the msm serial
1015 debugger, but not with serial console.
1016
1017config TROUT_BATTCHG
1018 depends on MACH_TROUT && POWER_SUPPLY
1019 default y
1020 bool "Trout battery / charger driver"
1021
1022config HTC_PWRSINK
1023 depends on MSM_SMD
1024 default n
1025 bool "HTC Power Sink Driver"
1026
1027config QSD_SVS
1028 bool "QSD Static Voltage Scaling"
1029 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1030 default y
1031 select TPS65023
1032 help
1033 Enables static voltage scaling using the TPS65023 PMIC.
1034
1035config QSD_PMIC_DEFAULT_DCDC1
1036 int "PMIC default output voltage"
1037 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1038 default 1250
1039 help
1040 This is the PMIC voltage at Linux kernel boot.
1041
1042config MSM_FIQ_SUPPORT
1043 default y
1044 bool "Enable installation of an FIQ handler."
1045
1046config MSM_SERIAL_DEBUGGER
1047 select MSM_FIQ_SUPPORT
1048 select KERNEL_DEBUGGER_CORE
1049 default n
1050 bool "FIQ Mode Serial Debugger"
1051 help
1052 The FIQ serial debugger can accept commands even when the
1053 kernel is unresponsive due to being stuck with interrupts
1054 disabled. Depends on the kernel debugger core in drivers/misc.
1055
1056config MSM_SERIAL_DEBUGGER_CONSOLE
1057 depends on MSM_SERIAL_DEBUGGER
1058 default n
1059 bool "Console on FIQ Serial Debugger port"
1060 help
1061 Enables a console so that printk messages are displayed on
1062 the debugger serial port as the occur.
Daniel Walkerbf83de42010-03-16 16:29:44 -07001063
Steve Mucklec8aabae2010-04-21 16:20:27 -07001064config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001065 default y
1066 bool "Proc-Comm RPC Interface"
1067 help
1068 Enables a lightweight communications interface to the
1069 baseband processor.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001070
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001071config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001072 bool "MSM Shared Memory Driver (SMD)"
1073 help
1074 Support for the shared memory interface between the apps
1075 processor and the baseband processor. Provides access to
1076 the "shared heap", as well as virtual serial channels
1077 used to communicate with various services on the baseband
1078 processor.
1079
1080choice
1081 prompt "MSM Shared memory interface version"
1082 depends on MSM_SMD
1083 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1084 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1085
1086 config MSM_SMD_PKG3
1087 bool
1088 prompt "Package 3"
1089
1090 config MSM_SMD_PKG4
1091 bool
1092 prompt "Package 4"
1093endchoice
1094
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001095config MSM_RPC_SDIO_XPRT
1096 depends on MSM_SDIO_AL
1097 default y
1098 bool "MSM SDIO XPRT Layer"
1099 help
1100 SDIO Transport Layer for RPC Rouer
1101
1102config MSM_RPC_SDIO_DEBUG
1103 depends on MSM_RPC_SDIO_XPRT
1104 default y
1105 bool "MSM SDIO XPRT debug support"
1106 help
1107 Support for debugging SDIO XPRT
1108
1109config MSM_SMD_DEBUG
1110 depends on MSM_SMD
1111 default y
1112 bool "MSM SMD debug support"
1113 help
1114 Support for debugging the SMD for communication
1115 between the ARM9 and ARM11
1116
1117config MSM_SDIO_AL
1118 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1119 default y
1120 tristate "SDIO-Abstraction-Layer"
1121 help
1122 Support MSM<->MDM Communication over SDIO bus.
1123 MDM SDIO-Client should have pipes support.
1124
1125config MSM_SDIO_DMUX
1126 bool "SDIO Data Mux Driver"
1127 depends on MSM_SDIO_AL
1128 default n
1129 help
1130 Support Muxed Data Channels over SDIO interface.
1131
1132config MSM_BAM_DMUX
1133 bool "BAM Data Mux Driver"
1134 depends on SPS
1135 default n
1136 help
1137 Support Muxed Data Channels over BAM interface.
1138 BAM has a limited number of pipes. This driver
1139 provides a means to support more logical channels
1140 via muxing than BAM could without muxing.
1141
1142config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001143 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001144 default y
1145 bool "MSM N-WAY SMD support"
1146 help
1147 Supports APPS-QDSP SMD communication along with
1148 normal APPS-MODEM SMD communication.
1149
1150config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001151 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001152 default y
1153 bool "MSM N-WAY SMSM support"
1154 help
1155 Supports APPS-QDSP SMSM communication along with
1156 normal APPS-MODEM SMSM communication.
1157
1158config MSM_RESET_MODEM
1159 tristate "Reset Modem Driver"
1160 depends on MSM_SMD
1161 default m
1162 help
1163 Allows the user to reset the modem through a device node.
1164
1165config MSM_SMD_LOGGING
1166 depends on MSM_SMD
1167 default y
1168 bool "MSM Shared Memory Logger"
1169 help
1170 This option exposes the shared memory logger at /dev/smem_log
1171 and a debugfs node named smem_log.
1172
1173 If in doubt, say yes.
1174
1175config MSM_SMD_NMEA
1176 bool "NMEA GPS Driver"
1177 depends on MSM_SMD
1178 default y
1179 help
1180 Enable this to support the NMEA GPS device.
1181
1182 If in doubt, say yes.
1183
1184config MSM_SDIO_TTY
1185 bool "SDIO TTY Driver"
1186 depends on MSM_SDIO_AL
1187 default n
1188 help
1189 Provides a TTY driver SDIO TTY
1190 This driver can be used by user space
1191 applications for passing data through the
1192 SDIO interface.
1193
1194config MSM_SMD_TTY
1195 bool "SMD TTY Driver"
1196 depends on MSM_SMD
1197 default y
1198 help
1199 Provides TTY interfaces to interact with the modem.
1200
1201 If in doubt, say yes.
1202
1203config MSM_SMD_QMI
1204 bool "SMD QMI Driver"
1205 depends on MSM_SMD
1206 default y
1207 help
1208 Manages network data connections.
1209
1210 If in doubt, say yes.
1211
1212config MSM_SMD_PKT
1213 bool "SMD Packet Driver"
1214 depends on MSM_SMD
1215 default y
1216 help
1217 Provides a binary SMD non-muxed packet port interface.
1218
1219 If in doubt, say yes.
1220
1221config MSM_SDIO_CMUX
1222 bool "SDIO CMUX Driver"
1223 depends on MSM_SDIO_AL
1224 default n
1225 help
1226 Provides a Muxed port interface over SDIO QMI
1227
1228config MSM_DSPS
1229 bool "Sensors DSPS driver"
1230 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1231 default n
1232 help
1233 Provides user-space interface to the sensors manager
1234 to turn on/off the Sensors Processor system clocks.
1235 It is the DSPS responsibility to turn on/off the sensors
1236 themself.
1237 The number of clocks and their name may vary between targets.
1238 It also triggers the PIL to load the DSPS firmware.
1239
1240config MSM_SDIO_CTL
1241 bool "SDIO CTL Driver"
1242 depends on MSM_SDIO_CMUX
1243 default n
1244 help
1245 Provides a binary SDIO control port interface.
1246
1247config MSM_ONCRPCROUTER
1248 depends on MSM_SMD
1249 default n
1250 bool "MSM ONCRPC router support"
1251 help
1252 Support for the MSM ONCRPC router for communication between
1253 the ARM9 and ARM11
1254
1255config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001256 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001257 default n
1258 bool "MSM IPC Router support"
1259 help
1260 Support for the MSM IPC Router for communication between
1261 the APPs and the MODEM
1262
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001263config MSM_IPC_ROUTER_SMD_XPRT
1264 depends on MSM_SMD
1265 depends on MSM_IPC_ROUTER
1266 default n
1267 bool "MSM SMD XPRT Layer"
1268 help
1269 SMD Transport Layer for IPC Router
1270
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001271config MSM_ONCRPCROUTER_DEBUG
1272 depends on MSM_ONCRPCROUTER
1273 default y
1274 bool "MSM debug ONCRPC router support"
1275 help
1276 Support for debugging the ONCRPC router for communication
1277 between the ARM9 and ARM11
1278
1279config MSM_RPC_LOOPBACK_XPRT
1280 depends on MSM_ONCRPCROUTER
1281 default n
1282 bool "MSM RPC local routing support"
1283 help
1284 Support for routing RPC messages between APPS clients
1285 and APPS servers. Helps in testing APPS RPC framework.
1286
1287config MSM_RPCSERVER_TIME_REMOTE
1288 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1289 default y
1290 bool "Time remote RPC server"
1291 help
1292 The time remote server receives notification of time bases and
1293 reports these events to registered callback functions.
1294
1295config MSM_RPCSERVER_WATCHDOG
1296 depends on MSM_ONCRPCROUTER
1297 default y
1298 bool "Watchdog RPC server"
1299 help
1300 The dog_keepalive server handles watchdog events.
1301
1302config MSM_RPC_WATCHDOG
1303 depends on MSM_ONCRPCROUTER
1304 default n
1305 bool "Watchdog RPC client"
1306 help
1307 The dog_keepalive client module.
1308
1309config MSM_RPC_PING
1310 depends on MSM_ONCRPCROUTER && DEBUG_FS
1311 default m
1312 bool "MSM rpc ping"
1313 help
1314 Implements MSM rpc ping test module.
1315
1316config MSM_RPC_PROC_COMM_TEST
1317 depends on DEBUG_FS && MSM_PROC_COMM
1318 default m
1319 bool "MSM rpc proc comm test"
1320 help
1321 Implements MSM rpc proc comm test module.
1322
1323config MSM_RPC_OEM_RAPI
1324 depends on MSM_ONCRPCROUTER
1325 default m
1326 bool "MSM oem rapi"
1327 help
1328 Implements MSM oem rapi client module.
1329
1330config MSM_RPCSERVER_HANDSET
1331 depends on MSM_ONCRPCROUTER
1332 default y
1333 bool "Handset events RPC server"
1334 help
1335 Support for receiving handset events like headset detect,
1336 headset switch and clamshell state.
1337
1338config MSM_RMT_STORAGE_CLIENT
1339 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1340 default n
1341 bool "Remote Storage RPC client"
1342 help
1343 Provide RPC mechanism for remote processors to access storage
1344 device on apps processor.
1345
1346config MSM_RMT_STORAGE_CLIENT_STATS
1347 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1348 default n
1349 bool "Remote storage RPC client performance statistics"
1350 help
1351 Collects performance statistics and shows this information
1352 through a debugfs file rmt_storage_stats.
1353
1354config MSM_SDIO_SMEM
1355 depends on MSM_SDIO_AL
1356 default n
1357 bool "SDIO SMEM for remote storage"
1358 help
1359 Copies data from remote MDM9K memory to local MSM8x60
1360 memory. Used by remote storage client to shadow
1361 MDM9K filesystem.
1362
1363config MSM_DALRPC
1364 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001365 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001366 help
1367 Supports RPC calls to DAL devices on remote processor cores.
1368
1369config MSM_DALRPC_TEST
1370 tristate "DAL RPC test module"
1371 depends on (MSM_DALRPC && DEBUG_FS)
1372 default m
1373 help
1374 Exercises DAL RPC calls to QDSP6.
1375
1376if CPU_FREQ_MSM
1377
1378config MSM_CPU_FREQ_SET_MIN_MAX
1379 bool "Set Min/Max CPU frequencies."
1380 default n
1381 help
1382 Allow setting min and max CPU frequencies. Sysfs can be used
1383 to override these values.
1384
1385config MSM_CPU_FREQ_MAX
1386 int "Max CPU Frequency"
1387 depends on MSM_CPU_FREQ_SET_MIN_MAX
1388 default 384000
1389
1390config MSM_CPU_FREQ_MIN
1391 int "Min CPU Frequency"
1392 depends on MSM_CPU_FREQ_SET_MIN_MAX
1393 default 245760
1394
1395endif # CPU_FREQ_MSM
1396
1397config MSM_CPU_AVS
1398 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1399 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1400 depends on ARCH_QSD8X50
1401 default n
1402 select MSM_AVS_HW
1403 help
1404 This enables the s/w control of Adaptive Voltage Scaling feature
1405 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1406 based on feedback from three ring oscillators in the CPU.
1407
1408config MSM_AVS_HW
1409 bool "Enable Adaptive Voltage Scaling (AVS)"
1410 default n
1411 help
1412 Enable AVS hardware to fine tune voltage at each frequency. The
1413 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1414 fine tune the voltages based on the feedback from the ring
1415 oscillators.
1416
1417config MSM_HW3D
1418 tristate "MSM Hardware 3D Register Driver"
1419 depends on ANDROID_PMEM
1420 default y
1421 help
1422 Provides access to registers needed by the userspace OpenGL|ES
1423 library.
1424
1425config MSM_ADSP
1426 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1427 tristate "MSM ADSP driver"
1428 depends on ANDROID_PMEM
1429 default y
1430 help
1431 Provides access to registers needed by the userspace aDSP library.
1432
1433config ADSP_RPC_VER
1434 hex
1435 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1436 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1437 depends on MSM_ADSP
1438 help
1439 Select proper ADSP RPC version
1440choice
1441 prompt "ADSP RPC version"
1442
1443 default AMSS_7X25_VERSION_2009
1444
1445 config AMSS_7X25_VERSION_2009
1446 bool "2.0.09"
1447
1448 config AMSS_7X25_VERSION_2008
1449 bool "2.0.08"
1450endchoice
1451
1452config MSM7KV2_AUDIO
1453 bool "MSM7K v2 audio"
1454 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1455 default y
1456 help
1457 Enables QDSP5V2-based audio drivers for audio playbacks and
1458 voice call.
1459
1460config MSM_ADSP_REPORT_EVENTS
1461 bool "Report modem events from the DSP"
1462 default y
1463 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1464 help
1465 Normally, only messages from the aDSP are reported to userspace.
1466 With this option, we report events from the aDSP as well.
1467
1468config MSM_QDSP6
1469 tristate "QDSP6 support"
1470 depends on ARCH_QSD8X50 && ANDROID_PMEM
1471 default y
1472 help
1473 Enable support for qdsp6. This provides audio and video functionality.
1474
1475config MSM8X60_AUDIO
1476 tristate "MSM8X60 audio support"
1477 depends on ARCH_MSM8X60 && ANDROID_PMEM
1478 default y
1479 help
1480 Enable support for qdsp6v2. This provides audio functionality.
1481
1482config MSM8X60_FTM_AUDIO_DEVICES
1483 bool "MSM8X60 audio factory test mode support"
1484 depends on MSM8X60_AUDIO
1485 help
1486 Enable support audio factory test mode devices. This is used
1487 in a production line environment.
1488
Ben Romberger45b351c2011-07-20 22:37:27 -07001489config RTAC
1490 bool "MSM8K real-time audio calibration support"
1491 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001492 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001493 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001494 audio operation
1495
1496config MSM7X27A_AUDIO
1497 bool "MSM7X27A audio support"
1498 depends on ARCH_MSM7X27A && MSM_ADSP
1499 default n
1500 help
1501 Enable support for 7x27a. This provides audio functionality.
1502
Justin Pauporea6cd2092011-06-22 16:19:45 -07001503config MSM_PROC_COMM_REGULATOR
1504 bool
1505 depends on MSM_PROC_COMM && REGULATOR
1506 help
1507 Enable regulator framework support for regulators managed by PMLIB
1508 on the modem, and controlled through proccomm calls.
1509
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001510config MSM_VREG_SWITCH_INVERTED
1511 bool "Reverse vreg switch polarity"
1512 default n
1513 help
1514 Reverses the enable and disable for vreg switch.
1515
1516config MSM_DMA_TEST
1517 tristate "MSM DMA test module"
1518 default m
1519 help
1520 Intended to be compiled as a module. Provides a device node
1521 and ioctls for testing the MSM dma system.
1522
1523config WIFI_CONTROL_FUNC
1524 bool "Enable WiFi control function abstraction"
1525 help
1526 Enables Power/Reset/Carddetect function abstraction
1527
1528config WIFI_MEM_PREALLOC
1529 depends on WIFI_CONTROL_FUNC
1530 bool "Preallocate memory for WiFi buffers"
1531 help
1532 Preallocates memory buffers for WiFi driver
1533
1534config QSD_AUDIO
1535 bool "QSD audio"
1536 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1537 default y
1538 help
1539 Provides PCM, MP3, and AAC audio playback.
1540
1541config AUDIO_AAC_PLUS
1542 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1543 bool "AAC+ Audio"
1544 default y
1545 help
1546 Provides AAC+ decoding
1547
1548config AUDIO_ENHANCED_AAC_PLUS
1549 depends on AUDIO_AAC_PLUS
1550 bool "Enhanced AAC+ Audio"
1551 default y
1552 help
1553 Provides Enhanced AAC+ decoding
1554
1555config SURF_FFA_GPIO_KEYPAD
1556 bool "MSM SURF/FFA GPIO keypad"
1557 depends on INPUT_GPIO = "y"
1558 default y
1559 help
1560 Select if the GPIO keypad is attached.
1561
1562config MSM_SLEEP_TIME_OVERRIDE
1563 bool "Allow overriding suspend/sleep time with PM module parameter"
1564 default y
1565 help
1566 Enable the module parameter sleep_time_override. Specified
1567 in units of seconds, it overwrites the normal sleep time of
1568 suspend. The feature is required for automated power management
1569 testing.
1570
1571config MSM_MEMORY_LOW_POWER_MODE
1572 bool "Control the low power modes of memory"
1573 default n
1574 help
1575 The application processor controls whether memory should enter
1576 which low power mode.
1577
1578choice
1579 prompt "Default Memory Low Power Mode during Idle"
1580 depends on MSM_MEMORY_LOW_POWER_MODE
1581 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1582 help
1583 Selects the default low power mode of the memory during idle
1584 sleep.
1585
1586 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1587 bool "Memory active"
1588
1589 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1590 bool "Memory in retention"
1591
1592 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1593 bool "Memory in deep power down"
1594endchoice
1595
1596choice
1597 prompt "Default Memory Low Power Mode during Suspend"
1598 depends on MSM_MEMORY_LOW_POWER_MODE
1599 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1600 help
1601 Selects the default low power mode of the memory during suspend
1602 sleep.
1603
1604 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1605 bool "Memory active"
1606
1607 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1608 bool "Memory in retention"
1609
1610 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1611 bool "Memory in deep power down"
1612endchoice
1613
1614choice
1615 prompt "Power management timeout action"
1616 default MSM_PM_TIMEOUT_HALT
1617 help
1618 Selects the Application Processor's action when Power Management
1619 times out waiting for Modem's handshake.
1620
1621 config MSM_PM_TIMEOUT_HALT
1622 bool "Halt the Application Processor"
1623
1624 config MSM_PM_TIMEOUT_RESET_MODEM
1625 bool "Reset the Modem Processor"
1626
1627 config MSM_PM_TIMEOUT_RESET_CHIP
1628 bool "Reset the entire chip"
1629endchoice
1630
1631config MSM_IDLE_WAIT_ON_MODEM
1632 int "Wait for Modem to become ready for idle power collapse"
1633 default 0
1634 help
1635 If Modem is not ready to handle Application Processor's request
1636 for idle power collapse, wait the number of microseconds in case
1637 Modem becomes ready soon.
1638
Matt Wagantall9274df92011-12-15 11:11:05 -08001639config MSM_RPM_REGULATOR
1640 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001641 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001642 help
1643 Compile in support for the RPM regulator driver, used for setting
1644 voltages and other parameters of the various power rails supplied
1645 by some Qualcomm PMICs.
1646
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001647config MSM_PIL
1648 bool "Peripheral image loading"
1649 select FW_LOADER
1650 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1651 default n
1652 help
1653 Some peripherals need to be loaded into memory before they can be
1654 brought out of reset.
1655
1656 Say yes to support these devices.
1657
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001658config MSM_PIL_MODEM
1659 tristate "Modem (ARM11) Boot Support"
1660 depends on MSM_PIL
1661 help
1662 Support for booting and shutting down ARM11 Modem processors.
1663
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001664config MSM_PIL_QDSP6V3
1665 tristate "QDSP6v3 (Hexagon) Boot Support"
1666 depends on MSM_PIL
1667 help
1668 Support for booting and shutting down QDSP6v3 processors (hexagon).
1669 The QDSP6 is a low power DSP used in audio software applications.
1670
Stephen Boydeb819882011-08-29 14:46:30 -07001671config MSM_PIL_QDSP6V4
1672 tristate "QDSP6v4 (Hexagon) Boot Support"
1673 depends on MSM_PIL
1674 help
1675 Support for booting and shutting down QDSP6v4 processors (hexagon).
1676 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1677 software applications.
1678
Stephen Boyd322a9922011-09-20 01:05:54 -07001679config MSM_PIL_RIVA
1680 tristate "RIVA (WCNSS) Boot Support"
1681 depends on MSM_PIL
1682 help
1683 Support for booting and shutting down the RIVA processor (WCNSS).
1684 Riva is the wireless subsystem processor used in bluetooth, wireless
1685 LAN, and FM software applications.
1686
Stephen Boydd89eebe2011-09-28 23:28:11 -07001687config MSM_PIL_TZAPPS
1688 tristate "TZApps Boot Support"
1689 depends on MSM_PIL
1690 help
1691 Support for booting and shutting down TZApps.
1692
1693 TZApps is an image that runs in the secure processor state. It is
1694 used to decrypt data and perform secure operations on the behalf of
1695 the kernel.
1696
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001697config MSM_SCM
1698 bool "Secure Channel Manager (SCM) support"
1699 default n
1700
1701config MSM_SUBSYSTEM_RESTART
1702 bool "MSM Subsystem Restart Driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001703 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001704 default n
1705 help
1706 This option enables the MSM subsystem restart driver, which provides
1707 a framework to handle subsystem crashes.
1708
Matt Wagantallf8020902011-08-30 21:19:23 -07001709config MSM_SYSMON_COMM
1710 bool "MSM System Monitor communication support"
1711 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1712 default y
1713 help
1714 This option adds support for MSM System Monitor library, which
1715 provides an API that may be used for notifying subsystems within
1716 the SoC about other subsystems' power-up/down state-changes.
1717
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001718config MSM_MODEM_8960
1719 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001720 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001721 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001722 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001723 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001724 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001725
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001726config MSM_LPASS_8960
1727 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001728 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001729 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001730 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001731 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001732 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001733
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001734config MSM_WCNSS_SSR_8960
1735 tristate "MSM 8960 WCNSS restart module"
1736 depends on (ARCH_MSM8960)
1737 help
1738 This option enables the WCNSS restart module for MSM8960, which
1739 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1740 into the subsystem restart framework.
1741
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001742config SCORPION_Uni_45nm_BUG
1743 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1744 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1745 default y
1746 help
1747 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1748 invalidating the Branch Predictor Array by Modified Virtual Address can
1749 create invalid entries in the TLB with the wrong ASID values on Scorpion
1750 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1751 workaround for Scorpion Uniprocessor 45nm cores.
1752
1753 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1754
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001755config MSM_BUSPM_DEV
1756 tristate "MSM Bus Performance Monitor Kernel Module"
1757 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1758 default m
1759 help
1760 This kernel module is used to mmap() hardware registers for the
1761 performance monitors, counters, etc. The module can also be used to
1762 allocate physical memory which is used by bus performance hardware to
1763 dump performance data.
1764
Mona Hossain11c03ac2011-10-26 12:42:10 -07001765config MSM_TZ_LOG
1766 tristate "MSM Trust Zone (TZ) Log Driver"
1767 depends on DEBUG_FS
1768 help
1769 This option enables a driver with a debugfs interface for messages
1770 produced by the Secure code (Trust zone). These messages provide
1771 diagnostic information about TZ operation.
1772
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001773config MSM_RPM_LOG
1774 tristate "MSM Resource Power Manager Log Driver"
1775 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001776 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001777 default n
1778 help
1779 This option enables a driver which can read from a circular buffer
1780 of messages produced by the RPM. These messages provide diagnostic
1781 information about RPM operation. The driver outputs the messages
1782 via a debugfs node.
1783
1784config MSM_RPM_STATS_LOG
1785 tristate "MSM Resource Power Manager Stat Driver"
1786 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001787 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001788 default n
1789 help
1790 This option enables a driver which reads RPM messages from a shared
1791 memory location. These messages provide statistical information about
1792 the low power modes that RPM enters. The drivers outputs the message
1793 via a debugfs node.
1794
1795config MSM_IOMMU
1796 bool "MSM IOMMU Support"
Joel King41d594e2011-10-14 13:18:20 -07001797 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_APQ8064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001798 select IOMMU_API
1799 default n
1800 help
1801 Support for the IOMMUs found on certain Qualcomm SOCs.
1802 These IOMMUs allow virtualization of the address space used by most
1803 cores within the multimedia subsystem.
1804
1805 If unsure, say N here.
1806
1807config IOMMU_PGTABLES_L2
1808 bool "Allow SMMU page tables in the L2 cache (Experimental)"
1809 depends on MSM_IOMMU=y
1810 depends on MMU
1811 depends on CPU_DCACHE_DISABLE=n
1812 depends on SMP
1813 default y
1814 help
1815 Improves TLB miss latency at the expense of potential L2 pollution.
1816 However, with large multimedia buffers, the TLB should mostly contain
1817 section mappings and TLB misses should be quite infrequent.
1818 Most people can probably say Y here.
1819
1820config MSM_DIRECT_SCLK_ACCESS
1821 bool "Direct access to the SCLK timer"
1822 default n
1823
1824config IOMMU_API
1825 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001826
Gregory Beanab78cde2010-09-01 16:26:12 -07001827config MSM_GPIOMUX
1828 bool
1829
Gregory Bean1963a2a2010-08-28 10:05:44 -07001830config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001831 bool
1832
1833config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07001834 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001835
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001836config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001837 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001838
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001839config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001840 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001841
1842config MSM_BUS_SCALING
1843 bool "Bus scaling driver"
1844 default n
1845
Gagan Mac85c70492011-06-10 16:07:47 -06001846config MSM_BUS_RPM_MULTI_TIER_ENABLED
1847 bool "RPM Multi-tiering Configuration"
1848 depends on MSM_BUS_SCALING
1849
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001850config MSM_WATCHDOG
1851 bool "MSM Watchdog Support"
Rohit Vaswani085a9332011-09-28 18:57:24 -07001852 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001853 help
1854 This enables the watchdog as is present on 8x60. Currently we use
1855 core 0's watchdog, and reset the entire SoC if it times out. It does
1856 not run during the bootup process, so it will not catch any early
1857 lockups.
1858
1859config MSM_DLOAD_MODE
1860 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07001861 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001862 default n
1863 help
1864 This makes the SoC enter download mode when it resets
1865 due to a kernel panic. Note that this doesn't by itself
1866 make the kernel reboot on a kernel panic - that must be
1867 enabled via another mechanism.
1868
Pratik Patel17f3b822011-11-21 12:41:47 -08001869config MSM_JTAG
1870 bool "JTAG debug and trace support"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001871 help
Pratik Patel17f3b822011-11-21 12:41:47 -08001872 Add additional support for JTAG kernel debugging and tracing.
Pratik Patel7831c082011-06-08 21:44:37 -07001873
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001874config MSM_ETM
1875 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08001876 depends on ARCH_MSM8X60
1877 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001878 help
Pratik Patel17f3b822011-11-21 12:41:47 -08001879 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07001880
1881config MSM_QDSS
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001882 bool "Qualcomm Debug Subsystem"
Pratik Patel17f3b822011-11-21 12:41:47 -08001883 select MSM_JTAG
Pratik Patel7831c082011-06-08 21:44:37 -07001884 help
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001885 Enables support for Qualcomm Debug Subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001886
Pratik Patel29cba152012-01-03 11:40:26 -08001887config MSM_QDSS_ETM_DEFAULT_ENABLE
1888 bool "Turn on QDSS ETM Tracing by Default"
1889 depends on MSM_QDSS
1890 help
1891 Turns on QDSS ETM tracing by default. Otherwise, tracing is
1892 disabled by default but can be enabled by other means.
1893
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001894config MSM_SLEEP_STATS
1895 bool "Enable exporting of MSM sleep stats to userspace"
1896 depends on CPU_IDLE
1897 default n
1898
Lynus Vazdde09ee2012-01-05 13:28:22 +05301899config MSM_SLEEP_STATS_DEVICE
1900 bool "Enable exporting of MSM sleep device stats to userspace"
1901
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001902config MSM_STANDALONE_POWER_COLLAPSE
1903 bool "Enable standalone power collapse"
1904 default n
1905
1906config MSM_GSBI9_UART
1907 bool "Enable GSBI9 UART device"
1908 default n
1909 help
1910 This enables GSBI9 configured into UART.
1911
1912config MSM_SHARED_GPIO_FOR_UART2DM
1913 bool "Use shared GPIOs into UART mode"
1914 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
1915 help
1916 This option configures GPIO muxed with SDC4/MMC3
1917 8-bit mode into UART mode. It is used for serial
1918 console on UART2DM. Say Y if you want to have
1919 serial console on UART2DM.
1920
1921config MSM_SHOW_RESUME_IRQ
1922 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08001923 depends on (ARM_GIC || PMIC8058)
1924 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001925 default n
1926 help
1927 This option logs wake up interrupts that have triggered just before
1928 the resume loop unrolls. Say Y if you want to debug why the system
1929 resumed.
1930
1931config BT_MSM_PINTEST
1932 tristate "MSM Bluetooth Pin Connectivity Test"
1933 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
1934 default n
1935 help
1936 Bluetooth MSM Pin Connectivity test module.
1937 This driver provides support for verifying the MSM to BT pin
1938 connectivity.
1939
1940config MSM_FAKE_BATTERY
1941 depends on POWER_SUPPLY
1942 default n
1943 bool "MSM Fake Battery"
1944 help
1945 Enables MSM fake battery driver.
1946
1947config MSM_QDSP6_APR
1948 bool "Audio QDSP6 APR support"
1949 depends on MSM_SMD
1950 default n
1951 help
1952 Enable APR IPC protocol support between
1953 application processor and QDSP6. APR is
1954 used by audio driver to configure QDSP6's
1955 ASM, ADM and AFE.
1956
1957
1958config MSM_AUDIO_QDSP6
1959 bool "QDSP6 HW Audio support"
1960 select SND_SOC_MSM_QDSP6_INTF
1961 default n
1962 help
1963 Enable HW audio support in QDSP6.
1964 QDSP6 can support HW encoder & decoder and audio processing
1965
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02001966config MSM_ULTRASOUND
1967 bool "MSM ultrasound support"
1968 depends on MSM_AUDIO_QDSP6
1969 help
1970 Enable support for qdsp6/ultrasound.
1971
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001972config MSM_RPC_VIBRATOR
1973 bool "RPC based MSM Vibrator Support"
1974 depends on MSM_ONCRPCROUTER
1975 help
1976 Enable the vibrator support on MSM over RPC. The vibrator
1977 is connected on the PMIC. Say Y if you want to enable this
1978 feature.
1979
1980config PM8XXX_RPC_VIBRATOR
1981 bool "RPC based Vibrator on PM8xxx PMICs"
1982 depends on MSM_RPC_VIBRATOR
1983 help
1984 Enable the vibrator support on MSM over RPC. The vibrator
1985 is connected on the PM8XXX PMIC. Say Y if you want to enable
1986 this feature.
1987
1988config MSM_SPM_V1
1989 bool "Driver support for SPM Version 1"
1990 help
1991 Enables the support for Version 1 of the SPM driver. SPM hardware is
1992 used to manage the processor power during sleep. The driver allows
1993 configuring SPM to allow different power modes.
1994
1995config MSM_SPM_V2
1996 bool "Driver support for SPM Version 2"
1997 help
1998 Enables the support for Version 2 of the SPM driver. SPM hardware is
1999 used to manage the processor power during sleep. The driver allows
2000 configuring SPM to allow different power modes.
2001
2002config MSM_L2_SPM
2003 bool "SPM support for L2 cache"
2004 depends on MSM_SPM_V2
2005 help
2006 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2007 control of L2 cache low power mode with a Subsystem Power manager.
2008 Enabling this driver allows configuring L2 SPM for low power modes
2009 on supported chipsets.
2010
Laura Abbott2d1760b2011-09-29 21:31:24 -07002011config MSM_MULTIMEDIA_USE_ION
2012 bool "Multimedia suport using Ion"
2013 depends on ION_MSM
2014 help
2015 Enable support for multimedia drivers using Ion for buffer management
2016 instead of pmem. Selecting this may also involve userspace
2017 dependencies as well.
2018
Brian Swetland9e73c842007-11-26 04:12:13 -08002019endif