blob: f08bfb7af18788a11d26d07b60b595d5edb5926c [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
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700250endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700251
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700252choice
253 prompt "MSM SoC Revision"
254 default MSM_SOC_REV_NONE
255config MSM_SOC_REV_NONE
256 bool "N/A"
257 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
258 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walker4ad15e62010-05-06 13:54:17 -0700259config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700260 bool "Rev. A"
261 select ARCH_MSM7X27A if ARCH_MSM7X27
262endchoice
Daniel Walker4ad15e62010-05-06 13:54:17 -0700263
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700264config MSM_KRAIT_TBB_ABORT_HANDLER
265 bool "Krait TBB/TBH data abort handler"
266 depends on ARCH_MSM_KRAIT
267 depends on ARM_THUMB
268 help
269 Certain early samples of the Krait processor may generate data
270 aborts for TBB / TBH instructions that fail their condition code
271 checks. Enabling this option will ignore these erroneous data aborts,
272 at the expense of a very small performance penalty.
273
274 If unsure, say N.
275
Daniel Walker4ad15e62010-05-06 13:54:17 -0700276config ARCH_MSM_ARM11
277 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700278
Daniel Walker4ad15e62010-05-06 13:54:17 -0700279config ARCH_MSM_SCORPION
Daniel Walkerbf83de42010-03-16 16:29:44 -0700280 bool
281
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700282config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700283 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800284 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700285
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700286config MSM_SMP
287 bool
288
289config ARCH_MSM_SCORPIONMP
290 select ARCH_MSM_SCORPION
291 select MSM_SMP
292 bool
293
294config ARCH_MSM_KRAITMP
295 select ARCH_MSM_KRAIT
296 select MSM_SMP
297 bool
298
299config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800300 bool
Rohit Vaswaniaf7ae272012-01-09 10:28:57 -0800301 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700302
303config ARCH_MSM7X27A
304 bool
305 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700306 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530307 select MULTI_IRQ_HANDLER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700308
Gregory Beanf9f3d312010-04-30 22:06:50 -0700309config MSM_VIC
310 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700311
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700312config MSM_RPM
313 bool "Resource Power Manager"
314 select MSM_MPM
315
316config MSM_MPM
317 bool "Modem Power Manager"
318
319config MSM_XO
320 bool
321
322config MSM_REMOTE_SPINLOCK_DEKKERS
323 bool
324config MSM_REMOTE_SPINLOCK_SWP
325 bool
326config MSM_REMOTE_SPINLOCK_LDREX
327 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600328config MSM_REMOTE_SPINLOCK_SFPB
329 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700330config MSM_ADM3
331 bool
332
333menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700334
335config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700336 depends on ARCH_MSM7X01A
337 depends on MSM_STACKED_MEMORY
338 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700339 bool "Halibut Board (QCT SURF7201A)"
340 help
341 Support for the Qualcomm SURF7201A eval board.
342
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700343config MACH_MSM7201A_SURF
344 depends on ARCH_MSM7X01A
345 depends on MSM_STACKED_MEMORY
346 default y
347 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700348 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700349 Support for the Qualcomm MSM7201A SURF eval board.
350
351config MACH_MSM7201A_FFA
352 depends on ARCH_MSM7X01A
353 depends on MSM_STACKED_MEMORY
354 default y
355 bool "MSM7201A FFA"
356 help
357 Support for the Qualcomm MSM7201A FFA eval board.
358
359config MACH_TROUT
360 depends on ARCH_MSM7X01A
361 depends on MSM_STACKED_MEMORY
362 default y
363 bool "Trout"
364
365config MACH_MSM7X27_SURF
366 depends on ARCH_MSM7X27
367 depends on !MSM_STACKED_MEMORY
368 default y
369 bool "MSM7x27 SURF"
370 help
371 Support for the Qualcomm MSM7x27 SURF eval board.
372
373config MACH_MSM7X27_FFA
374 depends on ARCH_MSM7X27
375 depends on !MSM_STACKED_MEMORY
376 default y
377 bool "MSM7x27 FFA"
378 help
379 Support for the Qualcomm MSM7x27 FFA eval board.
380
381config MACH_MSM7X27A_RUMI3
382 depends on ARCH_MSM7X27A
383 depends on !MSM_STACKED_MEMORY
384 default y
385 bool "MSM7x27A RUMI3"
386 help
387 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
388
389config MACH_MSM7X27A_SURF
390 depends on ARCH_MSM7X27A
391 depends on !MSM_STACKED_MEMORY
392 default y
393 bool "MSM7x27A SURF"
394 help
395 Support for the Qualcomm MSM7x27A SURF.
396
397config MACH_MSM7X27A_FFA
398 depends on ARCH_MSM7X27A
399 depends on !MSM_STACKED_MEMORY
400 default y
401 bool "MSM7x27A FFA"
402 help
403 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700404
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530405config MACH_MSM7625A_SURF
406 depends on ARCH_MSM7X27A
407 depends on !MSM_STACKED_MEMORY
408 default y
409 bool "MSM7625A SURF"
410 help
411 Support for the Qualcomm MSM7625A SURF.
412
413config MACH_MSM7625A_FFA
414 depends on ARCH_MSM7X27A
415 depends on !MSM_STACKED_MEMORY
416 default y
417 bool "MSM7625A FFA"
418 help
419 Support for the Qualcomm MSM7625A FFA.
420
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530421config MACH_MSM7627A_QRD1
422 depends on ARCH_MSM7X27A
423 depends on !MSM_STACKED_MEMORY
424 default y
425 bool "MSM7627A QRD1"
426 help
427 Support for the Qualcomm MSM7627A Refrence Design.
428
Taniya Dasc868a2e2012-01-03 10:18:47 +0530429config MACH_MSM7627A_EVB
430 depends on ARCH_MSM7X27A
431 depends on !MSM_STACKED_MEMORY
432 default y
433 bool "MSM7627A EVB"
434 help
435 Support for the Qualcomm MSM7627A Reference Design.
436
Daniel Walker7b521612010-05-06 12:44:57 -0700437config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700438 depends on ARCH_MSM7X30
439 depends on !MSM_STACKED_MEMORY
440 default y
441 bool "MSM7x30 SURF"
442 help
443 Support for the Qualcomm MSM7x30 SURF eval board.
444
445config MACH_MSM7X30_FFA
446 depends on ARCH_MSM7X30
447 depends on !MSM_STACKED_MEMORY
448 default y
449 bool "MSM7x30 FFA"
450 help
451 Support for the Qualcomm MSM7x30 FFA eval board.
452
453config MACH_MSM7X30_FLUID
454 depends on ARCH_MSM7X30
455 depends on !MSM_STACKED_MEMORY
456 default y
457 bool "MSM7x30 FLUID"
458 help
459 Support for the Qualcomm MSM7x30 FLUID eval board.
460
461config MACH_SAPPHIRE
462 depends on ARCH_MSM7X01A
463 default n
464 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700465
Daniel Walker4ad15e62010-05-06 13:54:17 -0700466config MACH_QSD8X50_SURF
467 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700468 depends on MSM_SOC_REV_NONE
469 depends on MSM_STACKED_MEMORY
470 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700471 bool "QSD8x50 SURF"
472 help
473 Support for the Qualcomm QSD8x50 SURF eval board.
474
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700475config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700476 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700477 depends on MSM_SOC_REV_NONE
478 depends on MSM_STACKED_MEMORY
479 default y
480 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700481 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700482 Support for the Qualcomm QSD8x50 FFA eval board.
483
484config MACH_MSM7X25_SURF
485 depends on ARCH_MSM7X25
486 depends on !MSM_STACKED_MEMORY
487 default y
488 bool "MSM7x25 SURF"
489 help
490 Support for the Qualcomm MSM7x25 SURF eval board.
491
492config MACH_MSM7X25_FFA
493 depends on ARCH_MSM7X25
494 depends on !MSM_STACKED_MEMORY
495 default y
496 bool "MSM7x25 FFA"
497 help
498 Support for the Qualcomm MSM7x25 FFA eval board.
499
500config MACH_MSM8X55_SURF
501 depends on ARCH_MSM7X30
502 depends on !MSM_STACKED_MEMORY
503 default y
504 bool "MSM8X55 SURF"
505 help
506 Support for the Qualcomm MSM8x55 SURF eval board.
507
508config MACH_MSM8X55_FFA
509 depends on ARCH_MSM7X30
510 depends on !MSM_STACKED_MEMORY
511 default y
512 bool "MSM8X55 FFA"
513 help
514 Support for the Qualcomm MSM8x55 FFA eval board.
515
516config MACH_MSM8X55_SVLTE_FFA
517 depends on ARCH_MSM7X30
518 depends on !MSM_STACKED_MEMORY
519 default y
520 bool "MSM8X55 SVLTE FFA"
521 help
522 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
523
524config MACH_MSM8X55_SVLTE_SURF
525 depends on ARCH_MSM7X30
526 depends on !MSM_STACKED_MEMORY
527 default y
528 bool "MSM8X55 SVLTE SURF"
529 help
530 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700531
Steve Mucklea55df6e2010-01-07 12:43:24 -0800532config MACH_MSM8X60_RUMI3
533 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700534 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800535 bool "MSM8x60 RUMI3"
536 help
537 Support for the Qualcomm MSM8x60 RUMI3 emulator.
538
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800539config MACH_MSM8X60_SIM
540 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700541 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800542 bool "MSM8x60 Simulator"
543 help
544 Support for the Qualcomm MSM8x60 simulator.
545
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700546config MACH_MSM8X60_SURF
547 depends on ARCH_MSM8X60
548 default n
549 bool "MSM8x60 SURF"
550 help
551 Support for the Qualcomm MSM8x60 SURF eval board.
552
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700553config MACH_MSM8X60_FFA
554 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700555 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700556 bool "MSM8x60 FFA"
557 help
558 Support for the Qualcomm MSM8x60 FFA eval board.
559
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700560config MACH_MSM8X60_FLUID
561 depends on ARCH_MSM8X60
562 default n
563 bool "MSM8x60 FLUID"
564 help
565 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
566 8x60 target which has a form factor that is much closer to that
567 of a phone than other targets. It also has a new display and
568 touchscreen controller.
569
570config MACH_MSM8X60_FUSION
571 depends on ARCH_MSM8X60
572 default n
573 bool "MSM8x60 FUSION"
574 help
575 Support for the Qualcomm MSM8x60 Fusion SURF device.
576
577config MACH_MSM8X60_FUSN_FFA
578 depends on ARCH_MSM8X60
579 default n
580 bool "MSM8x60 FUSN FFA"
581 help
582 Support for the Qualcomm MSM8x60 Fusion FFA device.
583
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400584config MACH_MSM8X60_DRAGON
585 depends on ARCH_MSM8X60
586 default n
587 bool "MSM8x60 DRAGON"
588 help
589 Support for the Qualcomm MSM8x60 Dragon board.
590
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800591config MACH_MSM8960_SIM
592 depends on ARCH_MSM8960
593 bool "MSM8960 Simulator"
594 help
595 Support for the Qualcomm MSM8960 simulator.
596
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800597config MACH_MSM8960_RUMI3
598 depends on ARCH_MSM8960
599 bool "MSM8960 RUMI3"
600 help
601 Support for the Qualcomm MSM8960 RUMI3 emulator.
602
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700603config MACH_MSM8960_CDP
604 depends on ARCH_MSM8960
605 bool "MSM8960 CDP"
606 help
607 Support for the Qualcomm MSM8960 CDP device.
608
609config MACH_MSM8960_MTP
610 depends on ARCH_MSM8960
611 bool "MSM8960 MTP"
612 help
613 Support for the Qualcomm MSM8960 MTP device.
614
615config MACH_MSM8960_FLUID
616 depends on ARCH_MSM8960
617 bool "MSM8960 FLUID"
618 help
619 Support for the Qualcomm MSM8960 FLUID device.
620
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300621config MACH_MSM8960_LIQUID
622 depends on ARCH_MSM8960
623 bool "MSM8960 LIQUID"
624 help
625 Support for the Qualcomm MSM8960 LIQUID device.
626
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700627config MACH_MSM8930_CDP
628 depends on ARCH_MSM8930
629 bool "MSM8930 CDP"
630 help
631 Support for the Qualcomm MSM8930 CDP device.
632
633config MACH_MSM8930_MTP
634 depends on ARCH_MSM8930
635 bool "MSM8930 MTP"
636 help
637 Support for the Qualcomm MSM8930 MTP device.
638
639config MACH_MSM8930_FLUID
640 depends on ARCH_MSM8930
641 bool "MSM8930 FLUID"
642 help
643 Support for the Qualcomm MSM8930 FLUID device.
644
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800645config MACH_MSM8627_CDP
646 depends on ARCH_MSM8930
647 bool "MSM8627 CDP"
648 help
649 Support for the Qualcomm MSM8627 CDP device.
650
651config MACH_MSM8627_MTP
652 depends on ARCH_MSM8930
653 bool "MSM8627 MTP"
654 help
655 Support for the Qualcomm MSM8627 MTP device.
656
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700657config MACH_MSM9615_CDP
658 depends on ARCH_MSM9615
659 bool "MSM9615 CDP"
660 help
661 Support for the Qualcomm MSM9615 CDP device.
662
663config MACH_MSM9615_MTP
664 depends on ARCH_MSM9615
665 bool "MSM9615 MTP"
666 help
667 Support for the Qualcomm MSM9615 MTP device.
668
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700669config MSM_USE_TSIF1
670 depends on ARCH_MSM8X60
671 bool "MSM8x60 use TSIF1"
672 help
673 Selects TSIF1 core to be used rather than TSIF0.
674 The two TSIF cores share the same DM configuration
675 so they cannot be used simultaneously.
676
677config MACH_APQ8064_SIM
678 depends on ARCH_APQ8064
679 bool "APQ8064 Simulator"
680 help
681 Support for the Qualcomm APQ8064 simulator.
682
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700683config MACH_APQ8064_RUMI3
684 depends on ARCH_APQ8064
685 bool "APQ8064 RUMI3"
686 help
687 Support for the Qualcomm APQ8064 RUMI3 emulator.
688
Joel King82b7e3f2012-01-05 10:03:27 -0800689config MACH_APQ8064_CDP
690 depends on ARCH_APQ8064
691 bool "APQ8064 CDP"
692 help
693 Support for the Qualcomm APQ8064 CDP device.
694
695config MACH_APQ8064_MTP
696 depends on ARCH_APQ8064
697 bool "APQ8064 MTP"
698 help
699 Support for the Qualcomm APQ8064 MTP device.
700
701config MACH_APQ8064_LIQUID
702 depends on ARCH_APQ8064
703 bool "APQ8064 LIQUID"
704 help
705 Support for the Qualcomm APQ8064 LIQUID device.
706
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700707config MACH_FSM9XXX_SURF
708 depends on ARCH_FSM9XXX
709 depends on !MSM_STACKED_MEMORY
710 default y
711 bool "FSM9XXX SURF"
712 help
713 Support for the Qualcomm FSM9xxx femtocell
714 chipset based SURF evaluation board and
715 FFA board.
716
Daniel Walker4ad15e62010-05-06 13:54:17 -0700717endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800718
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700719config MSM_STACKED_MEMORY
720 bool "Stacked Memory"
721 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800722 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700723 This option is used to indicate the presence of on-die stacked
724 memory. When present this memory bank is used for a high speed
725 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800726
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700727config PHYS_OFFSET
728 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700729 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700730 default "0x80200000" if ARCH_APQ8064
731 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700732 default "0x80200000" if ARCH_MSM8930
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700733 default "0x80200000" if ARCH_MSMCOPPER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700734 default "0x10000000" if ARCH_FSM9XXX
735 default "0x00200000" if !MSM_STACKED_MEMORY
736 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
737 default "0x20000000" if ARCH_QSD8X50
738 default "0x40200000" if ARCH_MSM8X60
739 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800740
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700741config KERNEL_PMEM_EBI_REGION
742 bool "Enable in-kernel PMEM region for EBI"
743 default y if ARCH_MSM8X60
744 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960)
745 help
746 Enable the in-kernel PMEM allocator to use EBI memory.
747
748config KERNEL_PMEM_SMI_REGION
749 bool "Enable in-kernel PMEM region for SMI"
750 default y if ARCH_MSM8X60
751 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
752 help
753 Enable the in-kernel PMEM allocator to use SMI memory.
754
755config PMEM_GPU0
756 bool "Enable PMEM GPU0 region"
757 default y
758 depends on ARCH_QSD8X50 && ANDROID_PMEM
759 help
760 Enable the PMEM GPU0 device on SMI Memory.
761
762config MSM_AMSS_VERSION
763 int
764 default 6210 if MSM_AMSS_VERSION_6210
765 default 6220 if MSM_AMSS_VERSION_6220
766 default 6225 if MSM_AMSS_VERSION_6225
767
768choice
769 prompt "AMSS modem firmware version"
770
771 default MSM_AMSS_VERSION_6225
772
773 config MSM_AMSS_VERSION_6210
774 bool "6.2.10"
775
776 config MSM_AMSS_VERSION_6220
777 bool "6.2.20"
778
779 config MSM_AMSS_VERSION_6225
780 bool "6.2.20 + New ADSP"
781endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800782
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700783config MSM_HAS_DEBUG_UART_HS
784 bool
785 help
786 Say Y here if high speed MSM UART is present.
787
788config MSM_HAS_DEBUG_UART_HS_V14
789 bool
790 select MSM_HAS_DEBUG_UART_HS
791 help
792 Say Y here if high speed MSM UART v1.4 is present.
793
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800794config DEBUG_MSM8930_UART
795 bool "Kernel low-level debugging messages via MSM 8930 UART"
796 depends on ARCH_MSM8930 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700797 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800798 help
799 Say Y here if you want the debug print routines to direct
800 their output to the serial port on MSM 8930 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100801
802choice
803 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800804 depends on DEBUG_LL
Pavel Machek6339f662009-11-02 11:48:29 +0100805
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800806 config DEBUG_MSM_UART1
807 bool "Kernel low-level debugging messages via MSM UART1"
808 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
809 help
810 Say Y here if you want the debug print routines to direct
811 their output to the first serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100812
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800813 config DEBUG_MSM_UART2
814 bool "Kernel low-level debugging messages via MSM UART2"
815 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
816 help
817 Say Y here if you want the debug print routines to direct
818 their output to the second serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100819
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800820 config DEBUG_MSM_UART3
821 bool "Kernel low-level debugging messages via MSM UART3"
822 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
823 help
824 Say Y here if you want the debug print routines to direct
825 their output to the third serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100826
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800827 config DEBUG_MSM8660_UART
828 bool "Kernel low-level debugging messages via MSM 8660 UART"
829 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700830 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800831 help
832 Say Y here if you want the debug print routines to direct
833 their output to the serial port on MSM 8660 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100834
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800835 config DEBUG_MSM8960_UART
836 bool "Kernel low-level debugging messages via MSM 8960 UART"
837 depends on ARCH_MSM8960
838 select DEBUG_MSM8930_UART
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700839 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800840 help
841 Say Y here if you want the debug print routines to direct
842 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700843
844 config DEBUG_MSMCOPPER_UART
845 bool "Kernel low-level debugging messages via MSM Copper UART"
846 depends on ARCH_MSMCOPPER
847 select MSM_HAS_DEBUG_UART_HS_V14
848 help
849 Say Y here if you want the debug print routines to direct
850 their output to the serial port on MSM Copper devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100851endchoice
852
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700853choice
854 prompt "Default Timer"
855 default MSM7X00A_USE_GP_TIMER
856
857 config MSM7X00A_USE_GP_TIMER
858 bool "GP Timer"
859 help
860 Low resolution timer that allows power collapse from idle.
861
862 config MSM7X00A_USE_DG_TIMER
863 bool "DG Timer"
864 help
865 High resolution timer.
866endchoice
867
868choice
869 prompt "Suspend sleep mode"
870 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
871 help
872 Allows overriding the sleep mode used. Leave at power
873 collapse suspend unless the arm9 image has problems.
874
875 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
876 bool "Power collapse suspend"
877 help
878 Lowest sleep state. Returns through reset vector.
879
880 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
881 bool "Power collapse"
882 help
883 Sleep state that returns through reset vector.
884
885 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
886 bool "Apps Sleep"
887
888 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
889 bool "Ramp down cpu clock and wait for interrupt"
890
891 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
892 bool "Wait for interrupt"
893endchoice
894
895config MSM7X00A_SLEEP_MODE
896 int
897 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
898 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
899 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
900 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
901 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
902
903choice
904 prompt "Idle sleep mode"
905 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
906 help
907 Allows overriding the sleep mode used from idle. Leave at power
908 collapse suspend unless the arm9 image has problems.
909
910 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
911 bool "Power collapse suspend"
912 help
913 Lowest sleep state. Returns through reset vector.
914
915 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
916 bool "Power collapse"
917 help
918 Sleep state that returns through reset vector.
919
920 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
921 bool "Apps Sleep"
922
923 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
924 bool "Ramp down cpu clock and wait for interrupt"
925
926 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
927 bool "Wait for interrupt"
928endchoice
929
930config MSM7X00A_IDLE_SLEEP_MODE
931 int
932 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
933 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
934 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
935 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
936 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
937
938config MSM7X00A_IDLE_SLEEP_MIN_TIME
939 int "Minimum idle time before sleep"
940 default 20000000
941 help
942 Minimum idle time in nanoseconds before entering low power mode.
943
944config MSM7X00A_IDLE_SPIN_TIME
945 int "Idle spin time before cpu ramp down"
946 default 80000
947 help
948 Spin time in nanoseconds before ramping down cpu clock and entering
949 any low power state.
950
951menuconfig MSM_IDLE_STATS
952 bool "Collect idle statistics"
953 default y
954 help
955 Collect idle statistics and export them in proc/msm_pm_stats.
956
957if MSM_IDLE_STATS
958
959config MSM_IDLE_STATS_FIRST_BUCKET
960 int "First bucket time"
961 default 62500
962 help
963 Upper time limit in nanoseconds of first bucket.
964
965config MSM_IDLE_STATS_BUCKET_SHIFT
966 int "Bucket shift"
967 default 2
968
969config MSM_IDLE_STATS_BUCKET_COUNT
970 int "Bucket count"
971 default 10
972
973config MSM_SUSPEND_STATS_FIRST_BUCKET
974 int "First bucket time for suspend"
975 default 1000000000
976 help
977 Upper time limit in nanoseconds of first bucket of the
978 histogram. This is for collecting statistics on suspend.
979
980endif # MSM_IDLE_STATS
981
982config CPU_HAS_L2_PMU
983 bool "L2CC PMU Support"
984 help
985 Select this if the L2 cache controller has a Performance Monitoring Unit.
986
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700987config HTC_HEADSET
988 tristate "HTC 2 Wire detection driver"
989 default n
990 help
991 Provides support for detecting HTC 2 wire devices, such as wired
992 headset, on the trout platform. Can be used with the msm serial
993 debugger, but not with serial console.
994
995config TROUT_BATTCHG
996 depends on MACH_TROUT && POWER_SUPPLY
997 default y
998 bool "Trout battery / charger driver"
999
1000config HTC_PWRSINK
1001 depends on MSM_SMD
1002 default n
1003 bool "HTC Power Sink Driver"
1004
1005config QSD_SVS
1006 bool "QSD Static Voltage Scaling"
1007 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1008 default y
1009 select TPS65023
1010 help
1011 Enables static voltage scaling using the TPS65023 PMIC.
1012
1013config QSD_PMIC_DEFAULT_DCDC1
1014 int "PMIC default output voltage"
1015 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1016 default 1250
1017 help
1018 This is the PMIC voltage at Linux kernel boot.
1019
1020config MSM_FIQ_SUPPORT
1021 default y
1022 bool "Enable installation of an FIQ handler."
1023
1024config MSM_SERIAL_DEBUGGER
1025 select MSM_FIQ_SUPPORT
1026 select KERNEL_DEBUGGER_CORE
1027 default n
1028 bool "FIQ Mode Serial Debugger"
1029 help
1030 The FIQ serial debugger can accept commands even when the
1031 kernel is unresponsive due to being stuck with interrupts
1032 disabled. Depends on the kernel debugger core in drivers/misc.
1033
1034config MSM_SERIAL_DEBUGGER_CONSOLE
1035 depends on MSM_SERIAL_DEBUGGER
1036 default n
1037 bool "Console on FIQ Serial Debugger port"
1038 help
1039 Enables a console so that printk messages are displayed on
1040 the debugger serial port as the occur.
Daniel Walkerbf83de42010-03-16 16:29:44 -07001041
Steve Mucklec8aabae2010-04-21 16:20:27 -07001042config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001043 default y
1044 bool "Proc-Comm RPC Interface"
1045 help
1046 Enables a lightweight communications interface to the
1047 baseband processor.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001048
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001049config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001050 bool "MSM Shared Memory Driver (SMD)"
1051 help
1052 Support for the shared memory interface between the apps
1053 processor and the baseband processor. Provides access to
1054 the "shared heap", as well as virtual serial channels
1055 used to communicate with various services on the baseband
1056 processor.
1057
1058choice
1059 prompt "MSM Shared memory interface version"
1060 depends on MSM_SMD
1061 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1062 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1063
1064 config MSM_SMD_PKG3
1065 bool
1066 prompt "Package 3"
1067
1068 config MSM_SMD_PKG4
1069 bool
1070 prompt "Package 4"
1071endchoice
1072
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001073config MSM_RPC_SDIO_XPRT
1074 depends on MSM_SDIO_AL
1075 default y
1076 bool "MSM SDIO XPRT Layer"
1077 help
1078 SDIO Transport Layer for RPC Rouer
1079
1080config MSM_RPC_SDIO_DEBUG
1081 depends on MSM_RPC_SDIO_XPRT
1082 default y
1083 bool "MSM SDIO XPRT debug support"
1084 help
1085 Support for debugging SDIO XPRT
1086
1087config MSM_SMD_DEBUG
1088 depends on MSM_SMD
1089 default y
1090 bool "MSM SMD debug support"
1091 help
1092 Support for debugging the SMD for communication
1093 between the ARM9 and ARM11
1094
1095config MSM_SDIO_AL
1096 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1097 default y
1098 tristate "SDIO-Abstraction-Layer"
1099 help
1100 Support MSM<->MDM Communication over SDIO bus.
1101 MDM SDIO-Client should have pipes support.
1102
1103config MSM_SDIO_DMUX
1104 bool "SDIO Data Mux Driver"
1105 depends on MSM_SDIO_AL
1106 default n
1107 help
1108 Support Muxed Data Channels over SDIO interface.
1109
1110config MSM_BAM_DMUX
1111 bool "BAM Data Mux Driver"
1112 depends on SPS
1113 default n
1114 help
1115 Support Muxed Data Channels over BAM interface.
1116 BAM has a limited number of pipes. This driver
1117 provides a means to support more logical channels
1118 via muxing than BAM could without muxing.
1119
1120config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001121 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001122 default y
1123 bool "MSM N-WAY SMD support"
1124 help
1125 Supports APPS-QDSP SMD communication along with
1126 normal APPS-MODEM SMD communication.
1127
1128config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001129 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001130 default y
1131 bool "MSM N-WAY SMSM support"
1132 help
1133 Supports APPS-QDSP SMSM communication along with
1134 normal APPS-MODEM SMSM communication.
1135
1136config MSM_RESET_MODEM
1137 tristate "Reset Modem Driver"
1138 depends on MSM_SMD
1139 default m
1140 help
1141 Allows the user to reset the modem through a device node.
1142
1143config MSM_SMD_LOGGING
1144 depends on MSM_SMD
1145 default y
1146 bool "MSM Shared Memory Logger"
1147 help
1148 This option exposes the shared memory logger at /dev/smem_log
1149 and a debugfs node named smem_log.
1150
1151 If in doubt, say yes.
1152
1153config MSM_SMD_NMEA
1154 bool "NMEA GPS Driver"
1155 depends on MSM_SMD
1156 default y
1157 help
1158 Enable this to support the NMEA GPS device.
1159
1160 If in doubt, say yes.
1161
1162config MSM_SDIO_TTY
1163 bool "SDIO TTY Driver"
1164 depends on MSM_SDIO_AL
1165 default n
1166 help
1167 Provides a TTY driver SDIO TTY
1168 This driver can be used by user space
1169 applications for passing data through the
1170 SDIO interface.
1171
1172config MSM_SMD_TTY
1173 bool "SMD TTY Driver"
1174 depends on MSM_SMD
1175 default y
1176 help
1177 Provides TTY interfaces to interact with the modem.
1178
1179 If in doubt, say yes.
1180
1181config MSM_SMD_QMI
1182 bool "SMD QMI Driver"
1183 depends on MSM_SMD
1184 default y
1185 help
1186 Manages network data connections.
1187
1188 If in doubt, say yes.
1189
1190config MSM_SMD_PKT
1191 bool "SMD Packet Driver"
1192 depends on MSM_SMD
1193 default y
1194 help
1195 Provides a binary SMD non-muxed packet port interface.
1196
1197 If in doubt, say yes.
1198
1199config MSM_SDIO_CMUX
1200 bool "SDIO CMUX Driver"
1201 depends on MSM_SDIO_AL
1202 default n
1203 help
1204 Provides a Muxed port interface over SDIO QMI
1205
1206config MSM_DSPS
1207 bool "Sensors DSPS driver"
1208 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1209 default n
1210 help
1211 Provides user-space interface to the sensors manager
1212 to turn on/off the Sensors Processor system clocks.
1213 It is the DSPS responsibility to turn on/off the sensors
1214 themself.
1215 The number of clocks and their name may vary between targets.
1216 It also triggers the PIL to load the DSPS firmware.
1217
1218config MSM_SDIO_CTL
1219 bool "SDIO CTL Driver"
1220 depends on MSM_SDIO_CMUX
1221 default n
1222 help
1223 Provides a binary SDIO control port interface.
1224
1225config MSM_ONCRPCROUTER
1226 depends on MSM_SMD
1227 default n
1228 bool "MSM ONCRPC router support"
1229 help
1230 Support for the MSM ONCRPC router for communication between
1231 the ARM9 and ARM11
1232
1233config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001234 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001235 default n
1236 bool "MSM IPC Router support"
1237 help
1238 Support for the MSM IPC Router for communication between
1239 the APPs and the MODEM
1240
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001241config MSM_IPC_ROUTER_SMD_XPRT
1242 depends on MSM_SMD
1243 depends on MSM_IPC_ROUTER
1244 default n
1245 bool "MSM SMD XPRT Layer"
1246 help
1247 SMD Transport Layer for IPC Router
1248
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001249config MSM_ONCRPCROUTER_DEBUG
1250 depends on MSM_ONCRPCROUTER
1251 default y
1252 bool "MSM debug ONCRPC router support"
1253 help
1254 Support for debugging the ONCRPC router for communication
1255 between the ARM9 and ARM11
1256
1257config MSM_RPC_LOOPBACK_XPRT
1258 depends on MSM_ONCRPCROUTER
1259 default n
1260 bool "MSM RPC local routing support"
1261 help
1262 Support for routing RPC messages between APPS clients
1263 and APPS servers. Helps in testing APPS RPC framework.
1264
1265config MSM_RPCSERVER_TIME_REMOTE
1266 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1267 default y
1268 bool "Time remote RPC server"
1269 help
1270 The time remote server receives notification of time bases and
1271 reports these events to registered callback functions.
1272
1273config MSM_RPCSERVER_WATCHDOG
1274 depends on MSM_ONCRPCROUTER
1275 default y
1276 bool "Watchdog RPC server"
1277 help
1278 The dog_keepalive server handles watchdog events.
1279
1280config MSM_RPC_WATCHDOG
1281 depends on MSM_ONCRPCROUTER
1282 default n
1283 bool "Watchdog RPC client"
1284 help
1285 The dog_keepalive client module.
1286
1287config MSM_RPC_PING
1288 depends on MSM_ONCRPCROUTER && DEBUG_FS
1289 default m
1290 bool "MSM rpc ping"
1291 help
1292 Implements MSM rpc ping test module.
1293
1294config MSM_RPC_PROC_COMM_TEST
1295 depends on DEBUG_FS && MSM_PROC_COMM
1296 default m
1297 bool "MSM rpc proc comm test"
1298 help
1299 Implements MSM rpc proc comm test module.
1300
1301config MSM_RPC_OEM_RAPI
1302 depends on MSM_ONCRPCROUTER
1303 default m
1304 bool "MSM oem rapi"
1305 help
1306 Implements MSM oem rapi client module.
1307
1308config MSM_RPCSERVER_HANDSET
1309 depends on MSM_ONCRPCROUTER
1310 default y
1311 bool "Handset events RPC server"
1312 help
1313 Support for receiving handset events like headset detect,
1314 headset switch and clamshell state.
1315
1316config MSM_RMT_STORAGE_CLIENT
1317 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1318 default n
1319 bool "Remote Storage RPC client"
1320 help
1321 Provide RPC mechanism for remote processors to access storage
1322 device on apps processor.
1323
1324config MSM_RMT_STORAGE_CLIENT_STATS
1325 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1326 default n
1327 bool "Remote storage RPC client performance statistics"
1328 help
1329 Collects performance statistics and shows this information
1330 through a debugfs file rmt_storage_stats.
1331
1332config MSM_SDIO_SMEM
1333 depends on MSM_SDIO_AL
1334 default n
1335 bool "SDIO SMEM for remote storage"
1336 help
1337 Copies data from remote MDM9K memory to local MSM8x60
1338 memory. Used by remote storage client to shadow
1339 MDM9K filesystem.
1340
1341config MSM_DALRPC
1342 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001343 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001344 help
1345 Supports RPC calls to DAL devices on remote processor cores.
1346
1347config MSM_DALRPC_TEST
1348 tristate "DAL RPC test module"
1349 depends on (MSM_DALRPC && DEBUG_FS)
1350 default m
1351 help
1352 Exercises DAL RPC calls to QDSP6.
1353
1354if CPU_FREQ_MSM
1355
1356config MSM_CPU_FREQ_SET_MIN_MAX
1357 bool "Set Min/Max CPU frequencies."
1358 default n
1359 help
1360 Allow setting min and max CPU frequencies. Sysfs can be used
1361 to override these values.
1362
1363config MSM_CPU_FREQ_MAX
1364 int "Max CPU Frequency"
1365 depends on MSM_CPU_FREQ_SET_MIN_MAX
1366 default 384000
1367
1368config MSM_CPU_FREQ_MIN
1369 int "Min CPU Frequency"
1370 depends on MSM_CPU_FREQ_SET_MIN_MAX
1371 default 245760
1372
1373endif # CPU_FREQ_MSM
1374
1375config MSM_CPU_AVS
1376 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1377 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1378 depends on ARCH_QSD8X50
1379 default n
1380 select MSM_AVS_HW
1381 help
1382 This enables the s/w control of Adaptive Voltage Scaling feature
1383 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1384 based on feedback from three ring oscillators in the CPU.
1385
1386config MSM_AVS_HW
1387 bool "Enable Adaptive Voltage Scaling (AVS)"
1388 default n
1389 help
1390 Enable AVS hardware to fine tune voltage at each frequency. The
1391 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1392 fine tune the voltages based on the feedback from the ring
1393 oscillators.
1394
1395config MSM_HW3D
1396 tristate "MSM Hardware 3D Register Driver"
1397 depends on ANDROID_PMEM
1398 default y
1399 help
1400 Provides access to registers needed by the userspace OpenGL|ES
1401 library.
1402
1403config MSM_ADSP
1404 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1405 tristate "MSM ADSP driver"
1406 depends on ANDROID_PMEM
1407 default y
1408 help
1409 Provides access to registers needed by the userspace aDSP library.
1410
1411config ADSP_RPC_VER
1412 hex
1413 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1414 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1415 depends on MSM_ADSP
1416 help
1417 Select proper ADSP RPC version
1418choice
1419 prompt "ADSP RPC version"
1420
1421 default AMSS_7X25_VERSION_2009
1422
1423 config AMSS_7X25_VERSION_2009
1424 bool "2.0.09"
1425
1426 config AMSS_7X25_VERSION_2008
1427 bool "2.0.08"
1428endchoice
1429
1430config MSM7KV2_AUDIO
1431 bool "MSM7K v2 audio"
1432 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1433 default y
1434 help
1435 Enables QDSP5V2-based audio drivers for audio playbacks and
1436 voice call.
1437
1438config MSM_ADSP_REPORT_EVENTS
1439 bool "Report modem events from the DSP"
1440 default y
1441 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1442 help
1443 Normally, only messages from the aDSP are reported to userspace.
1444 With this option, we report events from the aDSP as well.
1445
1446config MSM_QDSP6
1447 tristate "QDSP6 support"
1448 depends on ARCH_QSD8X50 && ANDROID_PMEM
1449 default y
1450 help
1451 Enable support for qdsp6. This provides audio and video functionality.
1452
1453config MSM8X60_AUDIO
1454 tristate "MSM8X60 audio support"
1455 depends on ARCH_MSM8X60 && ANDROID_PMEM
1456 default y
1457 help
1458 Enable support for qdsp6v2. This provides audio functionality.
1459
1460config MSM8X60_FTM_AUDIO_DEVICES
1461 bool "MSM8X60 audio factory test mode support"
1462 depends on MSM8X60_AUDIO
1463 help
1464 Enable support audio factory test mode devices. This is used
1465 in a production line environment.
1466
Ben Romberger45b351c2011-07-20 22:37:27 -07001467config RTAC
1468 bool "MSM8K real-time audio calibration support"
1469 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001470 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001471 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001472 audio operation
1473
1474config MSM7X27A_AUDIO
1475 bool "MSM7X27A audio support"
1476 depends on ARCH_MSM7X27A && MSM_ADSP
1477 default n
1478 help
1479 Enable support for 7x27a. This provides audio functionality.
1480
Justin Pauporea6cd2092011-06-22 16:19:45 -07001481config MSM_PROC_COMM_REGULATOR
1482 bool
1483 depends on MSM_PROC_COMM && REGULATOR
1484 help
1485 Enable regulator framework support for regulators managed by PMLIB
1486 on the modem, and controlled through proccomm calls.
1487
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001488config MSM_VREG_SWITCH_INVERTED
1489 bool "Reverse vreg switch polarity"
1490 default n
1491 help
1492 Reverses the enable and disable for vreg switch.
1493
1494config MSM_DMA_TEST
1495 tristate "MSM DMA test module"
1496 default m
1497 help
1498 Intended to be compiled as a module. Provides a device node
1499 and ioctls for testing the MSM dma system.
1500
1501config WIFI_CONTROL_FUNC
1502 bool "Enable WiFi control function abstraction"
1503 help
1504 Enables Power/Reset/Carddetect function abstraction
1505
1506config WIFI_MEM_PREALLOC
1507 depends on WIFI_CONTROL_FUNC
1508 bool "Preallocate memory for WiFi buffers"
1509 help
1510 Preallocates memory buffers for WiFi driver
1511
1512config QSD_AUDIO
1513 bool "QSD audio"
1514 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1515 default y
1516 help
1517 Provides PCM, MP3, and AAC audio playback.
1518
1519config AUDIO_AAC_PLUS
1520 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1521 bool "AAC+ Audio"
1522 default y
1523 help
1524 Provides AAC+ decoding
1525
1526config AUDIO_ENHANCED_AAC_PLUS
1527 depends on AUDIO_AAC_PLUS
1528 bool "Enhanced AAC+ Audio"
1529 default y
1530 help
1531 Provides Enhanced AAC+ decoding
1532
1533config SURF_FFA_GPIO_KEYPAD
1534 bool "MSM SURF/FFA GPIO keypad"
1535 depends on INPUT_GPIO = "y"
1536 default y
1537 help
1538 Select if the GPIO keypad is attached.
1539
1540config MSM_SLEEP_TIME_OVERRIDE
1541 bool "Allow overriding suspend/sleep time with PM module parameter"
1542 default y
1543 help
1544 Enable the module parameter sleep_time_override. Specified
1545 in units of seconds, it overwrites the normal sleep time of
1546 suspend. The feature is required for automated power management
1547 testing.
1548
1549config MSM_MEMORY_LOW_POWER_MODE
1550 bool "Control the low power modes of memory"
1551 default n
1552 help
1553 The application processor controls whether memory should enter
1554 which low power mode.
1555
1556choice
1557 prompt "Default Memory Low Power Mode during Idle"
1558 depends on MSM_MEMORY_LOW_POWER_MODE
1559 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1560 help
1561 Selects the default low power mode of the memory during idle
1562 sleep.
1563
1564 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1565 bool "Memory active"
1566
1567 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1568 bool "Memory in retention"
1569
1570 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1571 bool "Memory in deep power down"
1572endchoice
1573
1574choice
1575 prompt "Default Memory Low Power Mode during Suspend"
1576 depends on MSM_MEMORY_LOW_POWER_MODE
1577 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1578 help
1579 Selects the default low power mode of the memory during suspend
1580 sleep.
1581
1582 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1583 bool "Memory active"
1584
1585 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1586 bool "Memory in retention"
1587
1588 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1589 bool "Memory in deep power down"
1590endchoice
1591
1592choice
1593 prompt "Power management timeout action"
1594 default MSM_PM_TIMEOUT_HALT
1595 help
1596 Selects the Application Processor's action when Power Management
1597 times out waiting for Modem's handshake.
1598
1599 config MSM_PM_TIMEOUT_HALT
1600 bool "Halt the Application Processor"
1601
1602 config MSM_PM_TIMEOUT_RESET_MODEM
1603 bool "Reset the Modem Processor"
1604
1605 config MSM_PM_TIMEOUT_RESET_CHIP
1606 bool "Reset the entire chip"
1607endchoice
1608
1609config MSM_IDLE_WAIT_ON_MODEM
1610 int "Wait for Modem to become ready for idle power collapse"
1611 default 0
1612 help
1613 If Modem is not ready to handle Application Processor's request
1614 for idle power collapse, wait the number of microseconds in case
1615 Modem becomes ready soon.
1616
Matt Wagantall9274df92011-12-15 11:11:05 -08001617config MSM_RPM_REGULATOR
1618 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001619 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001620 help
1621 Compile in support for the RPM regulator driver, used for setting
1622 voltages and other parameters of the various power rails supplied
1623 by some Qualcomm PMICs.
1624
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001625config MSM_PIL
1626 bool "Peripheral image loading"
1627 select FW_LOADER
1628 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1629 default n
1630 help
1631 Some peripherals need to be loaded into memory before they can be
1632 brought out of reset.
1633
1634 Say yes to support these devices.
1635
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001636config MSM_PIL_MODEM
1637 tristate "Modem (ARM11) Boot Support"
1638 depends on MSM_PIL
1639 help
1640 Support for booting and shutting down ARM11 Modem processors.
1641
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001642config MSM_PIL_QDSP6V3
1643 tristate "QDSP6v3 (Hexagon) Boot Support"
1644 depends on MSM_PIL
1645 help
1646 Support for booting and shutting down QDSP6v3 processors (hexagon).
1647 The QDSP6 is a low power DSP used in audio software applications.
1648
Stephen Boydeb819882011-08-29 14:46:30 -07001649config MSM_PIL_QDSP6V4
1650 tristate "QDSP6v4 (Hexagon) Boot Support"
1651 depends on MSM_PIL
1652 help
1653 Support for booting and shutting down QDSP6v4 processors (hexagon).
1654 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1655 software applications.
1656
Stephen Boyd322a9922011-09-20 01:05:54 -07001657config MSM_PIL_RIVA
1658 tristate "RIVA (WCNSS) Boot Support"
1659 depends on MSM_PIL
1660 help
1661 Support for booting and shutting down the RIVA processor (WCNSS).
1662 Riva is the wireless subsystem processor used in bluetooth, wireless
1663 LAN, and FM software applications.
1664
Stephen Boydd89eebe2011-09-28 23:28:11 -07001665config MSM_PIL_TZAPPS
1666 tristate "TZApps Boot Support"
1667 depends on MSM_PIL
1668 help
1669 Support for booting and shutting down TZApps.
1670
1671 TZApps is an image that runs in the secure processor state. It is
1672 used to decrypt data and perform secure operations on the behalf of
1673 the kernel.
1674
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001675config MSM_SCM
1676 bool "Secure Channel Manager (SCM) support"
1677 default n
1678
1679config MSM_SUBSYSTEM_RESTART
1680 bool "MSM Subsystem Restart Driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001681 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001682 default n
1683 help
1684 This option enables the MSM subsystem restart driver, which provides
1685 a framework to handle subsystem crashes.
1686
Matt Wagantallf8020902011-08-30 21:19:23 -07001687config MSM_SYSMON_COMM
1688 bool "MSM System Monitor communication support"
1689 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1690 default y
1691 help
1692 This option adds support for MSM System Monitor library, which
1693 provides an API that may be used for notifying subsystems within
1694 the SoC about other subsystems' power-up/down state-changes.
1695
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001696config MSM_MODEM_8960
1697 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001698 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001699 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001700 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001701 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001702 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001703
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001704config MSM_LPASS_8960
1705 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001706 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001707 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001708 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001709 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001710 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001711
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001712config MSM_WCNSS_SSR_8960
1713 tristate "MSM 8960 WCNSS restart module"
1714 depends on (ARCH_MSM8960)
1715 help
1716 This option enables the WCNSS restart module for MSM8960, which
1717 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1718 into the subsystem restart framework.
1719
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001720config SCORPION_Uni_45nm_BUG
1721 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1722 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1723 default y
1724 help
1725 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1726 invalidating the Branch Predictor Array by Modified Virtual Address can
1727 create invalid entries in the TLB with the wrong ASID values on Scorpion
1728 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1729 workaround for Scorpion Uniprocessor 45nm cores.
1730
1731 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1732
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001733config MSM_BUSPM_DEV
1734 tristate "MSM Bus Performance Monitor Kernel Module"
1735 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1736 default m
1737 help
1738 This kernel module is used to mmap() hardware registers for the
1739 performance monitors, counters, etc. The module can also be used to
1740 allocate physical memory which is used by bus performance hardware to
1741 dump performance data.
1742
Mona Hossain11c03ac2011-10-26 12:42:10 -07001743config MSM_TZ_LOG
1744 tristate "MSM Trust Zone (TZ) Log Driver"
1745 depends on DEBUG_FS
1746 help
1747 This option enables a driver with a debugfs interface for messages
1748 produced by the Secure code (Trust zone). These messages provide
1749 diagnostic information about TZ operation.
1750
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001751config MSM_RPM_LOG
1752 tristate "MSM Resource Power Manager Log Driver"
1753 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001754 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001755 default n
1756 help
1757 This option enables a driver which can read from a circular buffer
1758 of messages produced by the RPM. These messages provide diagnostic
1759 information about RPM operation. The driver outputs the messages
1760 via a debugfs node.
1761
1762config MSM_RPM_STATS_LOG
1763 tristate "MSM Resource Power Manager Stat Driver"
1764 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001765 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001766 default n
1767 help
1768 This option enables a driver which reads RPM messages from a shared
1769 memory location. These messages provide statistical information about
1770 the low power modes that RPM enters. The drivers outputs the message
1771 via a debugfs node.
1772
1773config MSM_IOMMU
1774 bool "MSM IOMMU Support"
Joel King41d594e2011-10-14 13:18:20 -07001775 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_APQ8064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001776 select IOMMU_API
1777 default n
1778 help
1779 Support for the IOMMUs found on certain Qualcomm SOCs.
1780 These IOMMUs allow virtualization of the address space used by most
1781 cores within the multimedia subsystem.
1782
1783 If unsure, say N here.
1784
1785config IOMMU_PGTABLES_L2
1786 bool "Allow SMMU page tables in the L2 cache (Experimental)"
1787 depends on MSM_IOMMU=y
1788 depends on MMU
1789 depends on CPU_DCACHE_DISABLE=n
1790 depends on SMP
1791 default y
1792 help
1793 Improves TLB miss latency at the expense of potential L2 pollution.
1794 However, with large multimedia buffers, the TLB should mostly contain
1795 section mappings and TLB misses should be quite infrequent.
1796 Most people can probably say Y here.
1797
1798config MSM_DIRECT_SCLK_ACCESS
1799 bool "Direct access to the SCLK timer"
1800 default n
1801
1802config IOMMU_API
1803 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001804
Gregory Beanab78cde2010-09-01 16:26:12 -07001805config MSM_GPIOMUX
1806 bool
1807
Gregory Bean1963a2a2010-08-28 10:05:44 -07001808config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001809 bool
1810
1811config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07001812 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001813
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001814config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001815 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001816
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001817config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001818 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001819
1820config MSM_BUS_SCALING
1821 bool "Bus scaling driver"
1822 default n
1823
Gagan Mac85c70492011-06-10 16:07:47 -06001824config MSM_BUS_RPM_MULTI_TIER_ENABLED
1825 bool "RPM Multi-tiering Configuration"
1826 depends on MSM_BUS_SCALING
1827
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001828config MSM_WATCHDOG
1829 bool "MSM Watchdog Support"
Rohit Vaswani085a9332011-09-28 18:57:24 -07001830 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001831 help
1832 This enables the watchdog as is present on 8x60. Currently we use
1833 core 0's watchdog, and reset the entire SoC if it times out. It does
1834 not run during the bootup process, so it will not catch any early
1835 lockups.
1836
1837config MSM_DLOAD_MODE
1838 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07001839 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001840 default n
1841 help
1842 This makes the SoC enter download mode when it resets
1843 due to a kernel panic. Note that this doesn't by itself
1844 make the kernel reboot on a kernel panic - that must be
1845 enabled via another mechanism.
1846
Pratik Patel17f3b822011-11-21 12:41:47 -08001847config MSM_JTAG
1848 bool "JTAG debug and trace support"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001849 help
Pratik Patel17f3b822011-11-21 12:41:47 -08001850 Add additional support for JTAG kernel debugging and tracing.
Pratik Patel7831c082011-06-08 21:44:37 -07001851
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001852config MSM_ETM
1853 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08001854 depends on ARCH_MSM8X60
1855 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001856 help
Pratik Patel17f3b822011-11-21 12:41:47 -08001857 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07001858
1859config MSM_QDSS
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001860 bool "Qualcomm Debug Subsystem"
Pratik Patel17f3b822011-11-21 12:41:47 -08001861 select MSM_JTAG
Pratik Patel7831c082011-06-08 21:44:37 -07001862 help
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001863 Enables support for Qualcomm Debug Subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001864
Pratik Patel29cba152012-01-03 11:40:26 -08001865config MSM_QDSS_ETM_DEFAULT_ENABLE
1866 bool "Turn on QDSS ETM Tracing by Default"
1867 depends on MSM_QDSS
1868 help
1869 Turns on QDSS ETM tracing by default. Otherwise, tracing is
1870 disabled by default but can be enabled by other means.
1871
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001872config MSM_SLEEP_STATS
1873 bool "Enable exporting of MSM sleep stats to userspace"
1874 depends on CPU_IDLE
1875 default n
1876
Lynus Vazdde09ee2012-01-05 13:28:22 +05301877config MSM_SLEEP_STATS_DEVICE
1878 bool "Enable exporting of MSM sleep device stats to userspace"
1879
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001880config MSM_STANDALONE_POWER_COLLAPSE
1881 bool "Enable standalone power collapse"
1882 default n
1883
1884config MSM_GSBI9_UART
1885 bool "Enable GSBI9 UART device"
1886 default n
1887 help
1888 This enables GSBI9 configured into UART.
1889
1890config MSM_SHARED_GPIO_FOR_UART2DM
1891 bool "Use shared GPIOs into UART mode"
1892 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
1893 help
1894 This option configures GPIO muxed with SDC4/MMC3
1895 8-bit mode into UART mode. It is used for serial
1896 console on UART2DM. Say Y if you want to have
1897 serial console on UART2DM.
1898
1899config MSM_SHOW_RESUME_IRQ
1900 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08001901 depends on (ARM_GIC || PMIC8058)
1902 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001903 default n
1904 help
1905 This option logs wake up interrupts that have triggered just before
1906 the resume loop unrolls. Say Y if you want to debug why the system
1907 resumed.
1908
1909config BT_MSM_PINTEST
1910 tristate "MSM Bluetooth Pin Connectivity Test"
1911 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
1912 default n
1913 help
1914 Bluetooth MSM Pin Connectivity test module.
1915 This driver provides support for verifying the MSM to BT pin
1916 connectivity.
1917
1918config MSM_FAKE_BATTERY
1919 depends on POWER_SUPPLY
1920 default n
1921 bool "MSM Fake Battery"
1922 help
1923 Enables MSM fake battery driver.
1924
1925config MSM_QDSP6_APR
1926 bool "Audio QDSP6 APR support"
1927 depends on MSM_SMD
1928 default n
1929 help
1930 Enable APR IPC protocol support between
1931 application processor and QDSP6. APR is
1932 used by audio driver to configure QDSP6's
1933 ASM, ADM and AFE.
1934
1935
1936config MSM_AUDIO_QDSP6
1937 bool "QDSP6 HW Audio support"
1938 select SND_SOC_MSM_QDSP6_INTF
1939 default n
1940 help
1941 Enable HW audio support in QDSP6.
1942 QDSP6 can support HW encoder & decoder and audio processing
1943
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02001944config MSM_ULTRASOUND
1945 bool "MSM ultrasound support"
1946 depends on MSM_AUDIO_QDSP6
1947 help
1948 Enable support for qdsp6/ultrasound.
1949
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001950config MSM_RPC_VIBRATOR
1951 bool "RPC based MSM Vibrator Support"
1952 depends on MSM_ONCRPCROUTER
1953 help
1954 Enable the vibrator support on MSM over RPC. The vibrator
1955 is connected on the PMIC. Say Y if you want to enable this
1956 feature.
1957
1958config PM8XXX_RPC_VIBRATOR
1959 bool "RPC based Vibrator on PM8xxx PMICs"
1960 depends on MSM_RPC_VIBRATOR
1961 help
1962 Enable the vibrator support on MSM over RPC. The vibrator
1963 is connected on the PM8XXX PMIC. Say Y if you want to enable
1964 this feature.
1965
1966config MSM_SPM_V1
1967 bool "Driver support for SPM Version 1"
1968 help
1969 Enables the support for Version 1 of the SPM driver. SPM hardware is
1970 used to manage the processor power during sleep. The driver allows
1971 configuring SPM to allow different power modes.
1972
1973config MSM_SPM_V2
1974 bool "Driver support for SPM Version 2"
1975 help
1976 Enables the support for Version 2 of the SPM driver. SPM hardware is
1977 used to manage the processor power during sleep. The driver allows
1978 configuring SPM to allow different power modes.
1979
1980config MSM_L2_SPM
1981 bool "SPM support for L2 cache"
1982 depends on MSM_SPM_V2
1983 help
1984 Enable SPM driver support for L2 cache. Some MSM chipsets allow
1985 control of L2 cache low power mode with a Subsystem Power manager.
1986 Enabling this driver allows configuring L2 SPM for low power modes
1987 on supported chipsets.
1988
Laura Abbott2d1760b2011-09-29 21:31:24 -07001989config MSM_MULTIMEDIA_USE_ION
1990 bool "Multimedia suport using Ion"
1991 depends on ION_MSM
1992 help
1993 Enable support for multimedia drivers using Ion for buffer management
1994 instead of pmem. Selecting this may also involve userspace
1995 dependencies as well.
1996
Brian Swetland9e73c842007-11-26 04:12:13 -08001997endif