blob: 35d727f706aabfcf00407fc33068b0b297ee30a3 [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
173 select MSM_RPM
174 select MSM_XO
175 select MSM_QDSP6_APR
176 select MSM_PIL
177 select MSM_AUDIO_QDSP6 if SND_SOC
178 select CPU_HAS_L2_PMU
179 select MSM_SPM_V2
180 select MSM_L2_SPM
181 select MSM_NATIVE_RESTART
182 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600183 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700184 select ARCH_POPULATES_NODE_MAP
185 select ARCH_SPARSEMEM_ENABLE
186 select ARCH_HAS_HOLES_MEMORYMODEL
187 select MEMORY_HOTPLUG
188 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -0800189 select ARCH_ENABLE_MEMORY_HOTPLUG
190 select ARCH_ENABLE_MEMORY_HOTREMOVE
Larry Basself74479e2011-09-08 11:07:52 -0700191 select MIGRATION
192 select ARCH_MEMORY_PROBE
193 select ARCH_MEMORY_REMOVE
Larry Bassel4dc15912011-10-14 11:01:43 -0700194 select FIX_MOVABLE_ZONE
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +0200195 select MSM_ULTRASOUND
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530196 select MULTI_IRQ_HANDLER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700197
198config ARCH_APQ8064
199 bool "APQ8064"
200 select ARCH_MSM_KRAITMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700201 select MSM_V2_TLMM
202 select ARM_GIC
203 select CPU_V7
204 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700205 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600206 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800207 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800208 select MSM_QDSP6_APR
209 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530210 select MULTI_IRQ_HANDLER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700211
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700212config ARCH_MSMCOPPER
213 bool "MSM Copper"
214 select ARCH_MSM_KRAITMP
215 select MSM_V2_TLMM
216 select ARM_GIC
217 select CPU_V7
218 select MSM_SCM if SMP
219 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530220 select MULTI_IRQ_HANDLER
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700221
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700222config ARCH_FSM9XXX
223 bool "FSM9XXX"
224 select ARCH_MSM_SCORPION
225 select MSM_VIC
226 select CPU_V7
227 select MSM_REMOTE_SPINLOCK_LDREX
228 select FSM9XXX_TLMM
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530229 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800230 select MSM_DALRPC
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800231
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700232config ARCH_MSM9615
233 bool "MSM9615"
234 select ARM_GIC
235 select ARCH_MSM_CORTEX_A5
236 select CPU_V7
237 select MSM_V2_TLMM
238 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600239 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600240 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700241 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800242 select REGULATOR
243 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530244 select MULTI_IRQ_HANDLER
Matt Wagantall9274df92011-12-15 11:11:05 -0800245
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700246endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700247
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700248choice
249 prompt "MSM SoC Revision"
250 default MSM_SOC_REV_NONE
251config MSM_SOC_REV_NONE
252 bool "N/A"
253 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
254 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walker4ad15e62010-05-06 13:54:17 -0700255config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700256 bool "Rev. A"
257 select ARCH_MSM7X27A if ARCH_MSM7X27
258endchoice
Daniel Walker4ad15e62010-05-06 13:54:17 -0700259
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700260config MSM_KRAIT_TBB_ABORT_HANDLER
261 bool "Krait TBB/TBH data abort handler"
262 depends on ARCH_MSM_KRAIT
263 depends on ARM_THUMB
264 help
265 Certain early samples of the Krait processor may generate data
266 aborts for TBB / TBH instructions that fail their condition code
267 checks. Enabling this option will ignore these erroneous data aborts,
268 at the expense of a very small performance penalty.
269
270 If unsure, say N.
271
Daniel Walker4ad15e62010-05-06 13:54:17 -0700272config ARCH_MSM_ARM11
273 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700274
Daniel Walker4ad15e62010-05-06 13:54:17 -0700275config ARCH_MSM_SCORPION
Daniel Walkerbf83de42010-03-16 16:29:44 -0700276 bool
277
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700278config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700279 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800280 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700281
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700282config MSM_SMP
283 bool
284
285config ARCH_MSM_SCORPIONMP
286 select ARCH_MSM_SCORPION
287 select MSM_SMP
288 bool
289
290config ARCH_MSM_KRAITMP
291 select ARCH_MSM_KRAIT
292 select MSM_SMP
293 bool
294
295config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800296 bool
Rohit Vaswaniaf7ae272012-01-09 10:28:57 -0800297 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700298
299config ARCH_MSM7X27A
300 bool
301 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700302 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530303 select MULTI_IRQ_HANDLER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700304
Gregory Beanf9f3d312010-04-30 22:06:50 -0700305config MSM_VIC
306 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700307
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700308config MSM_RPM
309 bool "Resource Power Manager"
310 select MSM_MPM
311
312config MSM_MPM
313 bool "Modem Power Manager"
314
315config MSM_XO
316 bool
317
318config MSM_REMOTE_SPINLOCK_DEKKERS
319 bool
320config MSM_REMOTE_SPINLOCK_SWP
321 bool
322config MSM_REMOTE_SPINLOCK_LDREX
323 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600324config MSM_REMOTE_SPINLOCK_SFPB
325 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700326config MSM_ADM3
327 bool
328
329menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700330
331config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700332 depends on ARCH_MSM7X01A
333 depends on MSM_STACKED_MEMORY
334 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700335 bool "Halibut Board (QCT SURF7201A)"
336 help
337 Support for the Qualcomm SURF7201A eval board.
338
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700339config MACH_MSM7201A_SURF
340 depends on ARCH_MSM7X01A
341 depends on MSM_STACKED_MEMORY
342 default y
343 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700344 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700345 Support for the Qualcomm MSM7201A SURF eval board.
346
347config MACH_MSM7201A_FFA
348 depends on ARCH_MSM7X01A
349 depends on MSM_STACKED_MEMORY
350 default y
351 bool "MSM7201A FFA"
352 help
353 Support for the Qualcomm MSM7201A FFA eval board.
354
355config MACH_TROUT
356 depends on ARCH_MSM7X01A
357 depends on MSM_STACKED_MEMORY
358 default y
359 bool "Trout"
360
361config MACH_MSM7X27_SURF
362 depends on ARCH_MSM7X27
363 depends on !MSM_STACKED_MEMORY
364 default y
365 bool "MSM7x27 SURF"
366 help
367 Support for the Qualcomm MSM7x27 SURF eval board.
368
369config MACH_MSM7X27_FFA
370 depends on ARCH_MSM7X27
371 depends on !MSM_STACKED_MEMORY
372 default y
373 bool "MSM7x27 FFA"
374 help
375 Support for the Qualcomm MSM7x27 FFA eval board.
376
377config MACH_MSM7X27A_RUMI3
378 depends on ARCH_MSM7X27A
379 depends on !MSM_STACKED_MEMORY
380 default y
381 bool "MSM7x27A RUMI3"
382 help
383 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
384
385config MACH_MSM7X27A_SURF
386 depends on ARCH_MSM7X27A
387 depends on !MSM_STACKED_MEMORY
388 default y
389 bool "MSM7x27A SURF"
390 help
391 Support for the Qualcomm MSM7x27A SURF.
392
393config MACH_MSM7X27A_FFA
394 depends on ARCH_MSM7X27A
395 depends on !MSM_STACKED_MEMORY
396 default y
397 bool "MSM7x27A FFA"
398 help
399 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700400
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530401config MACH_MSM7625A_SURF
402 depends on ARCH_MSM7X27A
403 depends on !MSM_STACKED_MEMORY
404 default y
405 bool "MSM7625A SURF"
406 help
407 Support for the Qualcomm MSM7625A SURF.
408
409config MACH_MSM7625A_FFA
410 depends on ARCH_MSM7X27A
411 depends on !MSM_STACKED_MEMORY
412 default y
413 bool "MSM7625A FFA"
414 help
415 Support for the Qualcomm MSM7625A FFA.
416
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530417config MACH_MSM7627A_QRD1
418 depends on ARCH_MSM7X27A
419 depends on !MSM_STACKED_MEMORY
420 default y
421 bool "MSM7627A QRD1"
422 help
423 Support for the Qualcomm MSM7627A Refrence Design.
424
Taniya Dasc868a2e2012-01-03 10:18:47 +0530425config MACH_MSM7627A_EVB
426 depends on ARCH_MSM7X27A
427 depends on !MSM_STACKED_MEMORY
428 default y
429 bool "MSM7627A EVB"
430 help
431 Support for the Qualcomm MSM7627A Reference Design.
432
Daniel Walker7b521612010-05-06 12:44:57 -0700433config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700434 depends on ARCH_MSM7X30
435 depends on !MSM_STACKED_MEMORY
436 default y
437 bool "MSM7x30 SURF"
438 help
439 Support for the Qualcomm MSM7x30 SURF eval board.
440
441config MACH_MSM7X30_FFA
442 depends on ARCH_MSM7X30
443 depends on !MSM_STACKED_MEMORY
444 default y
445 bool "MSM7x30 FFA"
446 help
447 Support for the Qualcomm MSM7x30 FFA eval board.
448
449config MACH_MSM7X30_FLUID
450 depends on ARCH_MSM7X30
451 depends on !MSM_STACKED_MEMORY
452 default y
453 bool "MSM7x30 FLUID"
454 help
455 Support for the Qualcomm MSM7x30 FLUID eval board.
456
457config MACH_SAPPHIRE
458 depends on ARCH_MSM7X01A
459 default n
460 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700461
Daniel Walker4ad15e62010-05-06 13:54:17 -0700462config MACH_QSD8X50_SURF
463 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700464 depends on MSM_SOC_REV_NONE
465 depends on MSM_STACKED_MEMORY
466 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700467 bool "QSD8x50 SURF"
468 help
469 Support for the Qualcomm QSD8x50 SURF eval board.
470
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700471config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700472 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700473 depends on MSM_SOC_REV_NONE
474 depends on MSM_STACKED_MEMORY
475 default y
476 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700477 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700478 Support for the Qualcomm QSD8x50 FFA eval board.
479
480config MACH_MSM7X25_SURF
481 depends on ARCH_MSM7X25
482 depends on !MSM_STACKED_MEMORY
483 default y
484 bool "MSM7x25 SURF"
485 help
486 Support for the Qualcomm MSM7x25 SURF eval board.
487
488config MACH_MSM7X25_FFA
489 depends on ARCH_MSM7X25
490 depends on !MSM_STACKED_MEMORY
491 default y
492 bool "MSM7x25 FFA"
493 help
494 Support for the Qualcomm MSM7x25 FFA eval board.
495
496config MACH_MSM8X55_SURF
497 depends on ARCH_MSM7X30
498 depends on !MSM_STACKED_MEMORY
499 default y
500 bool "MSM8X55 SURF"
501 help
502 Support for the Qualcomm MSM8x55 SURF eval board.
503
504config MACH_MSM8X55_FFA
505 depends on ARCH_MSM7X30
506 depends on !MSM_STACKED_MEMORY
507 default y
508 bool "MSM8X55 FFA"
509 help
510 Support for the Qualcomm MSM8x55 FFA eval board.
511
512config MACH_MSM8X55_SVLTE_FFA
513 depends on ARCH_MSM7X30
514 depends on !MSM_STACKED_MEMORY
515 default y
516 bool "MSM8X55 SVLTE FFA"
517 help
518 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
519
520config MACH_MSM8X55_SVLTE_SURF
521 depends on ARCH_MSM7X30
522 depends on !MSM_STACKED_MEMORY
523 default y
524 bool "MSM8X55 SVLTE SURF"
525 help
526 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700527
Steve Mucklea55df6e2010-01-07 12:43:24 -0800528config MACH_MSM8X60_RUMI3
529 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700530 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800531 bool "MSM8x60 RUMI3"
532 help
533 Support for the Qualcomm MSM8x60 RUMI3 emulator.
534
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800535config MACH_MSM8X60_SIM
536 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700537 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800538 bool "MSM8x60 Simulator"
539 help
540 Support for the Qualcomm MSM8x60 simulator.
541
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700542config MACH_MSM8X60_SURF
543 depends on ARCH_MSM8X60
544 default n
545 bool "MSM8x60 SURF"
546 help
547 Support for the Qualcomm MSM8x60 SURF eval board.
548
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700549config MACH_MSM8X60_FFA
550 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700551 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700552 bool "MSM8x60 FFA"
553 help
554 Support for the Qualcomm MSM8x60 FFA eval board.
555
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700556config MACH_MSM8X60_FLUID
557 depends on ARCH_MSM8X60
558 default n
559 bool "MSM8x60 FLUID"
560 help
561 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
562 8x60 target which has a form factor that is much closer to that
563 of a phone than other targets. It also has a new display and
564 touchscreen controller.
565
566config MACH_MSM8X60_FUSION
567 depends on ARCH_MSM8X60
568 default n
569 bool "MSM8x60 FUSION"
570 help
571 Support for the Qualcomm MSM8x60 Fusion SURF device.
572
573config MACH_MSM8X60_FUSN_FFA
574 depends on ARCH_MSM8X60
575 default n
576 bool "MSM8x60 FUSN FFA"
577 help
578 Support for the Qualcomm MSM8x60 Fusion FFA device.
579
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400580config MACH_MSM8X60_DRAGON
581 depends on ARCH_MSM8X60
582 default n
583 bool "MSM8x60 DRAGON"
584 help
585 Support for the Qualcomm MSM8x60 Dragon board.
586
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800587config MACH_MSM8960_SIM
588 depends on ARCH_MSM8960
589 bool "MSM8960 Simulator"
590 help
591 Support for the Qualcomm MSM8960 simulator.
592
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800593config MACH_MSM8960_RUMI3
594 depends on ARCH_MSM8960
595 bool "MSM8960 RUMI3"
596 help
597 Support for the Qualcomm MSM8960 RUMI3 emulator.
598
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700599config MACH_MSM8960_CDP
600 depends on ARCH_MSM8960
601 bool "MSM8960 CDP"
602 help
603 Support for the Qualcomm MSM8960 CDP device.
604
605config MACH_MSM8960_MTP
606 depends on ARCH_MSM8960
607 bool "MSM8960 MTP"
608 help
609 Support for the Qualcomm MSM8960 MTP device.
610
611config MACH_MSM8960_FLUID
612 depends on ARCH_MSM8960
613 bool "MSM8960 FLUID"
614 help
615 Support for the Qualcomm MSM8960 FLUID device.
616
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300617config MACH_MSM8960_LIQUID
618 depends on ARCH_MSM8960
619 bool "MSM8960 LIQUID"
620 help
621 Support for the Qualcomm MSM8960 LIQUID device.
622
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700623config MACH_MSM8930_CDP
624 depends on ARCH_MSM8930
625 bool "MSM8930 CDP"
626 help
627 Support for the Qualcomm MSM8930 CDP device.
628
629config MACH_MSM8930_MTP
630 depends on ARCH_MSM8930
631 bool "MSM8930 MTP"
632 help
633 Support for the Qualcomm MSM8930 MTP device.
634
635config MACH_MSM8930_FLUID
636 depends on ARCH_MSM8930
637 bool "MSM8930 FLUID"
638 help
639 Support for the Qualcomm MSM8930 FLUID device.
640
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800641config MACH_MSM8627_CDP
642 depends on ARCH_MSM8930
643 bool "MSM8627 CDP"
644 help
645 Support for the Qualcomm MSM8627 CDP device.
646
647config MACH_MSM8627_MTP
648 depends on ARCH_MSM8930
649 bool "MSM8627 MTP"
650 help
651 Support for the Qualcomm MSM8627 MTP device.
652
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700653config MACH_MSM9615_CDP
654 depends on ARCH_MSM9615
655 bool "MSM9615 CDP"
656 help
657 Support for the Qualcomm MSM9615 CDP device.
658
659config MACH_MSM9615_MTP
660 depends on ARCH_MSM9615
661 bool "MSM9615 MTP"
662 help
663 Support for the Qualcomm MSM9615 MTP device.
664
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700665config MSM_USE_TSIF1
666 depends on ARCH_MSM8X60
667 bool "MSM8x60 use TSIF1"
668 help
669 Selects TSIF1 core to be used rather than TSIF0.
670 The two TSIF cores share the same DM configuration
671 so they cannot be used simultaneously.
672
673config MACH_APQ8064_SIM
674 depends on ARCH_APQ8064
675 bool "APQ8064 Simulator"
676 help
677 Support for the Qualcomm APQ8064 simulator.
678
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700679config MACH_APQ8064_RUMI3
680 depends on ARCH_APQ8064
681 bool "APQ8064 RUMI3"
682 help
683 Support for the Qualcomm APQ8064 RUMI3 emulator.
684
Joel King82b7e3f2012-01-05 10:03:27 -0800685config MACH_APQ8064_CDP
686 depends on ARCH_APQ8064
687 bool "APQ8064 CDP"
688 help
689 Support for the Qualcomm APQ8064 CDP device.
690
691config MACH_APQ8064_MTP
692 depends on ARCH_APQ8064
693 bool "APQ8064 MTP"
694 help
695 Support for the Qualcomm APQ8064 MTP device.
696
697config MACH_APQ8064_LIQUID
698 depends on ARCH_APQ8064
699 bool "APQ8064 LIQUID"
700 help
701 Support for the Qualcomm APQ8064 LIQUID device.
702
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700703config MACH_FSM9XXX_SURF
704 depends on ARCH_FSM9XXX
705 depends on !MSM_STACKED_MEMORY
706 default y
707 bool "FSM9XXX SURF"
708 help
709 Support for the Qualcomm FSM9xxx femtocell
710 chipset based SURF evaluation board and
711 FFA board.
712
Daniel Walker4ad15e62010-05-06 13:54:17 -0700713endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800714
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700715config MSM_STACKED_MEMORY
716 bool "Stacked Memory"
717 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800718 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700719 This option is used to indicate the presence of on-die stacked
720 memory. When present this memory bank is used for a high speed
721 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800722
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700723config PHYS_OFFSET
724 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700725 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700726 default "0x80200000" if ARCH_APQ8064
727 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700728 default "0x80200000" if ARCH_MSM8930
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700729 default "0x80200000" if ARCH_MSMCOPPER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700730 default "0x10000000" if ARCH_FSM9XXX
731 default "0x00200000" if !MSM_STACKED_MEMORY
732 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
733 default "0x20000000" if ARCH_QSD8X50
734 default "0x40200000" if ARCH_MSM8X60
735 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800736
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700737config KERNEL_PMEM_EBI_REGION
738 bool "Enable in-kernel PMEM region for EBI"
739 default y if ARCH_MSM8X60
740 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960)
741 help
742 Enable the in-kernel PMEM allocator to use EBI memory.
743
744config KERNEL_PMEM_SMI_REGION
745 bool "Enable in-kernel PMEM region for SMI"
746 default y if ARCH_MSM8X60
747 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
748 help
749 Enable the in-kernel PMEM allocator to use SMI memory.
750
751config PMEM_GPU0
752 bool "Enable PMEM GPU0 region"
753 default y
754 depends on ARCH_QSD8X50 && ANDROID_PMEM
755 help
756 Enable the PMEM GPU0 device on SMI Memory.
757
758config MSM_AMSS_VERSION
759 int
760 default 6210 if MSM_AMSS_VERSION_6210
761 default 6220 if MSM_AMSS_VERSION_6220
762 default 6225 if MSM_AMSS_VERSION_6225
763
764choice
765 prompt "AMSS modem firmware version"
766
767 default MSM_AMSS_VERSION_6225
768
769 config MSM_AMSS_VERSION_6210
770 bool "6.2.10"
771
772 config MSM_AMSS_VERSION_6220
773 bool "6.2.20"
774
775 config MSM_AMSS_VERSION_6225
776 bool "6.2.20 + New ADSP"
777endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800778
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700779config MSM_HAS_DEBUG_UART_HS
780 bool
781 help
782 Say Y here if high speed MSM UART is present.
783
784config MSM_HAS_DEBUG_UART_HS_V14
785 bool
786 select MSM_HAS_DEBUG_UART_HS
787 help
788 Say Y here if high speed MSM UART v1.4 is present.
789
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800790config DEBUG_MSM8930_UART
791 bool "Kernel low-level debugging messages via MSM 8930 UART"
792 depends on ARCH_MSM8930 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700793 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800794 help
795 Say Y here if you want the debug print routines to direct
796 their output to the serial port on MSM 8930 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100797
798choice
799 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800800 depends on DEBUG_LL
Pavel Machek6339f662009-11-02 11:48:29 +0100801
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800802 config DEBUG_MSM_UART1
803 bool "Kernel low-level debugging messages via MSM UART1"
804 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
805 help
806 Say Y here if you want the debug print routines to direct
807 their output to the first serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100808
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800809 config DEBUG_MSM_UART2
810 bool "Kernel low-level debugging messages via MSM UART2"
811 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
812 help
813 Say Y here if you want the debug print routines to direct
814 their output to the second serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100815
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800816 config DEBUG_MSM_UART3
817 bool "Kernel low-level debugging messages via MSM UART3"
818 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
819 help
820 Say Y here if you want the debug print routines to direct
821 their output to the third serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100822
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800823 config DEBUG_MSM8660_UART
824 bool "Kernel low-level debugging messages via MSM 8660 UART"
825 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700826 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800827 help
828 Say Y here if you want the debug print routines to direct
829 their output to the serial port on MSM 8660 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100830
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800831 config DEBUG_MSM8960_UART
832 bool "Kernel low-level debugging messages via MSM 8960 UART"
833 depends on ARCH_MSM8960
834 select DEBUG_MSM8930_UART
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700835 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800836 help
837 Say Y here if you want the debug print routines to direct
838 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700839
840 config DEBUG_MSMCOPPER_UART
841 bool "Kernel low-level debugging messages via MSM Copper UART"
842 depends on ARCH_MSMCOPPER
843 select MSM_HAS_DEBUG_UART_HS_V14
844 help
845 Say Y here if you want the debug print routines to direct
846 their output to the serial port on MSM Copper devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100847endchoice
848
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700849choice
850 prompt "Default Timer"
851 default MSM7X00A_USE_GP_TIMER
852
853 config MSM7X00A_USE_GP_TIMER
854 bool "GP Timer"
855 help
856 Low resolution timer that allows power collapse from idle.
857
858 config MSM7X00A_USE_DG_TIMER
859 bool "DG Timer"
860 help
861 High resolution timer.
862endchoice
863
864choice
865 prompt "Suspend sleep mode"
866 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
867 help
868 Allows overriding the sleep mode used. Leave at power
869 collapse suspend unless the arm9 image has problems.
870
871 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
872 bool "Power collapse suspend"
873 help
874 Lowest sleep state. Returns through reset vector.
875
876 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
877 bool "Power collapse"
878 help
879 Sleep state that returns through reset vector.
880
881 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
882 bool "Apps Sleep"
883
884 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
885 bool "Ramp down cpu clock and wait for interrupt"
886
887 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
888 bool "Wait for interrupt"
889endchoice
890
891config MSM7X00A_SLEEP_MODE
892 int
893 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
894 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
895 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
896 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
897 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
898
899choice
900 prompt "Idle sleep mode"
901 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
902 help
903 Allows overriding the sleep mode used from idle. Leave at power
904 collapse suspend unless the arm9 image has problems.
905
906 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
907 bool "Power collapse suspend"
908 help
909 Lowest sleep state. Returns through reset vector.
910
911 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
912 bool "Power collapse"
913 help
914 Sleep state that returns through reset vector.
915
916 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
917 bool "Apps Sleep"
918
919 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
920 bool "Ramp down cpu clock and wait for interrupt"
921
922 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
923 bool "Wait for interrupt"
924endchoice
925
926config MSM7X00A_IDLE_SLEEP_MODE
927 int
928 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
929 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
930 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
931 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
932 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
933
934config MSM7X00A_IDLE_SLEEP_MIN_TIME
935 int "Minimum idle time before sleep"
936 default 20000000
937 help
938 Minimum idle time in nanoseconds before entering low power mode.
939
940config MSM7X00A_IDLE_SPIN_TIME
941 int "Idle spin time before cpu ramp down"
942 default 80000
943 help
944 Spin time in nanoseconds before ramping down cpu clock and entering
945 any low power state.
946
947menuconfig MSM_IDLE_STATS
948 bool "Collect idle statistics"
949 default y
950 help
951 Collect idle statistics and export them in proc/msm_pm_stats.
952
953if MSM_IDLE_STATS
954
955config MSM_IDLE_STATS_FIRST_BUCKET
956 int "First bucket time"
957 default 62500
958 help
959 Upper time limit in nanoseconds of first bucket.
960
961config MSM_IDLE_STATS_BUCKET_SHIFT
962 int "Bucket shift"
963 default 2
964
965config MSM_IDLE_STATS_BUCKET_COUNT
966 int "Bucket count"
967 default 10
968
969config MSM_SUSPEND_STATS_FIRST_BUCKET
970 int "First bucket time for suspend"
971 default 1000000000
972 help
973 Upper time limit in nanoseconds of first bucket of the
974 histogram. This is for collecting statistics on suspend.
975
976endif # MSM_IDLE_STATS
977
978config CPU_HAS_L2_PMU
979 bool "L2CC PMU Support"
980 help
981 Select this if the L2 cache controller has a Performance Monitoring Unit.
982
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700983config HTC_HEADSET
984 tristate "HTC 2 Wire detection driver"
985 default n
986 help
987 Provides support for detecting HTC 2 wire devices, such as wired
988 headset, on the trout platform. Can be used with the msm serial
989 debugger, but not with serial console.
990
991config TROUT_BATTCHG
992 depends on MACH_TROUT && POWER_SUPPLY
993 default y
994 bool "Trout battery / charger driver"
995
996config HTC_PWRSINK
997 depends on MSM_SMD
998 default n
999 bool "HTC Power Sink Driver"
1000
1001config QSD_SVS
1002 bool "QSD Static Voltage Scaling"
1003 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1004 default y
1005 select TPS65023
1006 help
1007 Enables static voltage scaling using the TPS65023 PMIC.
1008
1009config QSD_PMIC_DEFAULT_DCDC1
1010 int "PMIC default output voltage"
1011 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1012 default 1250
1013 help
1014 This is the PMIC voltage at Linux kernel boot.
1015
1016config MSM_FIQ_SUPPORT
1017 default y
1018 bool "Enable installation of an FIQ handler."
1019
1020config MSM_SERIAL_DEBUGGER
1021 select MSM_FIQ_SUPPORT
1022 select KERNEL_DEBUGGER_CORE
1023 default n
1024 bool "FIQ Mode Serial Debugger"
1025 help
1026 The FIQ serial debugger can accept commands even when the
1027 kernel is unresponsive due to being stuck with interrupts
1028 disabled. Depends on the kernel debugger core in drivers/misc.
1029
1030config MSM_SERIAL_DEBUGGER_CONSOLE
1031 depends on MSM_SERIAL_DEBUGGER
1032 default n
1033 bool "Console on FIQ Serial Debugger port"
1034 help
1035 Enables a console so that printk messages are displayed on
1036 the debugger serial port as the occur.
Daniel Walkerbf83de42010-03-16 16:29:44 -07001037
Steve Mucklec8aabae2010-04-21 16:20:27 -07001038config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001039 default y
1040 bool "Proc-Comm RPC Interface"
1041 help
1042 Enables a lightweight communications interface to the
1043 baseband processor.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001044
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001045config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001046 bool "MSM Shared Memory Driver (SMD)"
1047 help
1048 Support for the shared memory interface between the apps
1049 processor and the baseband processor. Provides access to
1050 the "shared heap", as well as virtual serial channels
1051 used to communicate with various services on the baseband
1052 processor.
1053
1054choice
1055 prompt "MSM Shared memory interface version"
1056 depends on MSM_SMD
1057 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1058 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1059
1060 config MSM_SMD_PKG3
1061 bool
1062 prompt "Package 3"
1063
1064 config MSM_SMD_PKG4
1065 bool
1066 prompt "Package 4"
1067endchoice
1068
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001069config MSM_RPC_SDIO_XPRT
1070 depends on MSM_SDIO_AL
1071 default y
1072 bool "MSM SDIO XPRT Layer"
1073 help
1074 SDIO Transport Layer for RPC Rouer
1075
1076config MSM_RPC_SDIO_DEBUG
1077 depends on MSM_RPC_SDIO_XPRT
1078 default y
1079 bool "MSM SDIO XPRT debug support"
1080 help
1081 Support for debugging SDIO XPRT
1082
1083config MSM_SMD_DEBUG
1084 depends on MSM_SMD
1085 default y
1086 bool "MSM SMD debug support"
1087 help
1088 Support for debugging the SMD for communication
1089 between the ARM9 and ARM11
1090
1091config MSM_SDIO_AL
1092 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1093 default y
1094 tristate "SDIO-Abstraction-Layer"
1095 help
1096 Support MSM<->MDM Communication over SDIO bus.
1097 MDM SDIO-Client should have pipes support.
1098
1099config MSM_SDIO_DMUX
1100 bool "SDIO Data Mux Driver"
1101 depends on MSM_SDIO_AL
1102 default n
1103 help
1104 Support Muxed Data Channels over SDIO interface.
1105
1106config MSM_BAM_DMUX
1107 bool "BAM Data Mux Driver"
1108 depends on SPS
1109 default n
1110 help
1111 Support Muxed Data Channels over BAM interface.
1112 BAM has a limited number of pipes. This driver
1113 provides a means to support more logical channels
1114 via muxing than BAM could without muxing.
1115
1116config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001117 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001118 default y
1119 bool "MSM N-WAY SMD support"
1120 help
1121 Supports APPS-QDSP SMD communication along with
1122 normal APPS-MODEM SMD communication.
1123
1124config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001125 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001126 default y
1127 bool "MSM N-WAY SMSM support"
1128 help
1129 Supports APPS-QDSP SMSM communication along with
1130 normal APPS-MODEM SMSM communication.
1131
1132config MSM_RESET_MODEM
1133 tristate "Reset Modem Driver"
1134 depends on MSM_SMD
1135 default m
1136 help
1137 Allows the user to reset the modem through a device node.
1138
1139config MSM_SMD_LOGGING
1140 depends on MSM_SMD
1141 default y
1142 bool "MSM Shared Memory Logger"
1143 help
1144 This option exposes the shared memory logger at /dev/smem_log
1145 and a debugfs node named smem_log.
1146
1147 If in doubt, say yes.
1148
1149config MSM_SMD_NMEA
1150 bool "NMEA GPS Driver"
1151 depends on MSM_SMD
1152 default y
1153 help
1154 Enable this to support the NMEA GPS device.
1155
1156 If in doubt, say yes.
1157
1158config MSM_SDIO_TTY
1159 bool "SDIO TTY Driver"
1160 depends on MSM_SDIO_AL
1161 default n
1162 help
1163 Provides a TTY driver SDIO TTY
1164 This driver can be used by user space
1165 applications for passing data through the
1166 SDIO interface.
1167
1168config MSM_SMD_TTY
1169 bool "SMD TTY Driver"
1170 depends on MSM_SMD
1171 default y
1172 help
1173 Provides TTY interfaces to interact with the modem.
1174
1175 If in doubt, say yes.
1176
1177config MSM_SMD_QMI
1178 bool "SMD QMI Driver"
1179 depends on MSM_SMD
1180 default y
1181 help
1182 Manages network data connections.
1183
1184 If in doubt, say yes.
1185
1186config MSM_SMD_PKT
1187 bool "SMD Packet Driver"
1188 depends on MSM_SMD
1189 default y
1190 help
1191 Provides a binary SMD non-muxed packet port interface.
1192
1193 If in doubt, say yes.
1194
1195config MSM_SDIO_CMUX
1196 bool "SDIO CMUX Driver"
1197 depends on MSM_SDIO_AL
1198 default n
1199 help
1200 Provides a Muxed port interface over SDIO QMI
1201
1202config MSM_DSPS
1203 bool "Sensors DSPS driver"
1204 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1205 default n
1206 help
1207 Provides user-space interface to the sensors manager
1208 to turn on/off the Sensors Processor system clocks.
1209 It is the DSPS responsibility to turn on/off the sensors
1210 themself.
1211 The number of clocks and their name may vary between targets.
1212 It also triggers the PIL to load the DSPS firmware.
1213
1214config MSM_SDIO_CTL
1215 bool "SDIO CTL Driver"
1216 depends on MSM_SDIO_CMUX
1217 default n
1218 help
1219 Provides a binary SDIO control port interface.
1220
1221config MSM_ONCRPCROUTER
1222 depends on MSM_SMD
1223 default n
1224 bool "MSM ONCRPC router support"
1225 help
1226 Support for the MSM ONCRPC router for communication between
1227 the ARM9 and ARM11
1228
1229config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001230 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001231 default n
1232 bool "MSM IPC Router support"
1233 help
1234 Support for the MSM IPC Router for communication between
1235 the APPs and the MODEM
1236
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001237config MSM_IPC_ROUTER_SMD_XPRT
1238 depends on MSM_SMD
1239 depends on MSM_IPC_ROUTER
1240 default n
1241 bool "MSM SMD XPRT Layer"
1242 help
1243 SMD Transport Layer for IPC Router
1244
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001245config MSM_ONCRPCROUTER_DEBUG
1246 depends on MSM_ONCRPCROUTER
1247 default y
1248 bool "MSM debug ONCRPC router support"
1249 help
1250 Support for debugging the ONCRPC router for communication
1251 between the ARM9 and ARM11
1252
1253config MSM_RPC_LOOPBACK_XPRT
1254 depends on MSM_ONCRPCROUTER
1255 default n
1256 bool "MSM RPC local routing support"
1257 help
1258 Support for routing RPC messages between APPS clients
1259 and APPS servers. Helps in testing APPS RPC framework.
1260
1261config MSM_RPCSERVER_TIME_REMOTE
1262 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1263 default y
1264 bool "Time remote RPC server"
1265 help
1266 The time remote server receives notification of time bases and
1267 reports these events to registered callback functions.
1268
1269config MSM_RPCSERVER_WATCHDOG
1270 depends on MSM_ONCRPCROUTER
1271 default y
1272 bool "Watchdog RPC server"
1273 help
1274 The dog_keepalive server handles watchdog events.
1275
1276config MSM_RPC_WATCHDOG
1277 depends on MSM_ONCRPCROUTER
1278 default n
1279 bool "Watchdog RPC client"
1280 help
1281 The dog_keepalive client module.
1282
1283config MSM_RPC_PING
1284 depends on MSM_ONCRPCROUTER && DEBUG_FS
1285 default m
1286 bool "MSM rpc ping"
1287 help
1288 Implements MSM rpc ping test module.
1289
1290config MSM_RPC_PROC_COMM_TEST
1291 depends on DEBUG_FS && MSM_PROC_COMM
1292 default m
1293 bool "MSM rpc proc comm test"
1294 help
1295 Implements MSM rpc proc comm test module.
1296
1297config MSM_RPC_OEM_RAPI
1298 depends on MSM_ONCRPCROUTER
1299 default m
1300 bool "MSM oem rapi"
1301 help
1302 Implements MSM oem rapi client module.
1303
1304config MSM_RPCSERVER_HANDSET
1305 depends on MSM_ONCRPCROUTER
1306 default y
1307 bool "Handset events RPC server"
1308 help
1309 Support for receiving handset events like headset detect,
1310 headset switch and clamshell state.
1311
1312config MSM_RMT_STORAGE_CLIENT
1313 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1314 default n
1315 bool "Remote Storage RPC client"
1316 help
1317 Provide RPC mechanism for remote processors to access storage
1318 device on apps processor.
1319
1320config MSM_RMT_STORAGE_CLIENT_STATS
1321 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1322 default n
1323 bool "Remote storage RPC client performance statistics"
1324 help
1325 Collects performance statistics and shows this information
1326 through a debugfs file rmt_storage_stats.
1327
1328config MSM_SDIO_SMEM
1329 depends on MSM_SDIO_AL
1330 default n
1331 bool "SDIO SMEM for remote storage"
1332 help
1333 Copies data from remote MDM9K memory to local MSM8x60
1334 memory. Used by remote storage client to shadow
1335 MDM9K filesystem.
1336
1337config MSM_DALRPC
1338 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001339 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001340 help
1341 Supports RPC calls to DAL devices on remote processor cores.
1342
1343config MSM_DALRPC_TEST
1344 tristate "DAL RPC test module"
1345 depends on (MSM_DALRPC && DEBUG_FS)
1346 default m
1347 help
1348 Exercises DAL RPC calls to QDSP6.
1349
1350if CPU_FREQ_MSM
1351
1352config MSM_CPU_FREQ_SET_MIN_MAX
1353 bool "Set Min/Max CPU frequencies."
1354 default n
1355 help
1356 Allow setting min and max CPU frequencies. Sysfs can be used
1357 to override these values.
1358
1359config MSM_CPU_FREQ_MAX
1360 int "Max CPU Frequency"
1361 depends on MSM_CPU_FREQ_SET_MIN_MAX
1362 default 384000
1363
1364config MSM_CPU_FREQ_MIN
1365 int "Min CPU Frequency"
1366 depends on MSM_CPU_FREQ_SET_MIN_MAX
1367 default 245760
1368
1369endif # CPU_FREQ_MSM
1370
1371config MSM_CPU_AVS
1372 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1373 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1374 depends on ARCH_QSD8X50
1375 default n
1376 select MSM_AVS_HW
1377 help
1378 This enables the s/w control of Adaptive Voltage Scaling feature
1379 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1380 based on feedback from three ring oscillators in the CPU.
1381
1382config MSM_AVS_HW
1383 bool "Enable Adaptive Voltage Scaling (AVS)"
1384 default n
1385 help
1386 Enable AVS hardware to fine tune voltage at each frequency. The
1387 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1388 fine tune the voltages based on the feedback from the ring
1389 oscillators.
1390
1391config MSM_HW3D
1392 tristate "MSM Hardware 3D Register Driver"
1393 depends on ANDROID_PMEM
1394 default y
1395 help
1396 Provides access to registers needed by the userspace OpenGL|ES
1397 library.
1398
1399config MSM_ADSP
1400 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1401 tristate "MSM ADSP driver"
1402 depends on ANDROID_PMEM
1403 default y
1404 help
1405 Provides access to registers needed by the userspace aDSP library.
1406
1407config ADSP_RPC_VER
1408 hex
1409 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1410 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1411 depends on MSM_ADSP
1412 help
1413 Select proper ADSP RPC version
1414choice
1415 prompt "ADSP RPC version"
1416
1417 default AMSS_7X25_VERSION_2009
1418
1419 config AMSS_7X25_VERSION_2009
1420 bool "2.0.09"
1421
1422 config AMSS_7X25_VERSION_2008
1423 bool "2.0.08"
1424endchoice
1425
1426config MSM7KV2_AUDIO
1427 bool "MSM7K v2 audio"
1428 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1429 default y
1430 help
1431 Enables QDSP5V2-based audio drivers for audio playbacks and
1432 voice call.
1433
1434config MSM_ADSP_REPORT_EVENTS
1435 bool "Report modem events from the DSP"
1436 default y
1437 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1438 help
1439 Normally, only messages from the aDSP are reported to userspace.
1440 With this option, we report events from the aDSP as well.
1441
1442config MSM_QDSP6
1443 tristate "QDSP6 support"
1444 depends on ARCH_QSD8X50 && ANDROID_PMEM
1445 default y
1446 help
1447 Enable support for qdsp6. This provides audio and video functionality.
1448
1449config MSM8X60_AUDIO
1450 tristate "MSM8X60 audio support"
1451 depends on ARCH_MSM8X60 && ANDROID_PMEM
1452 default y
1453 help
1454 Enable support for qdsp6v2. This provides audio functionality.
1455
1456config MSM8X60_FTM_AUDIO_DEVICES
1457 bool "MSM8X60 audio factory test mode support"
1458 depends on MSM8X60_AUDIO
1459 help
1460 Enable support audio factory test mode devices. This is used
1461 in a production line environment.
1462
Ben Romberger45b351c2011-07-20 22:37:27 -07001463config RTAC
1464 bool "MSM8K real-time audio calibration support"
1465 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001466 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001467 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001468 audio operation
1469
1470config MSM7X27A_AUDIO
1471 bool "MSM7X27A audio support"
1472 depends on ARCH_MSM7X27A && MSM_ADSP
1473 default n
1474 help
1475 Enable support for 7x27a. This provides audio functionality.
1476
Justin Pauporea6cd2092011-06-22 16:19:45 -07001477config MSM_PROC_COMM_REGULATOR
1478 bool
1479 depends on MSM_PROC_COMM && REGULATOR
1480 help
1481 Enable regulator framework support for regulators managed by PMLIB
1482 on the modem, and controlled through proccomm calls.
1483
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001484config MSM_VREG_SWITCH_INVERTED
1485 bool "Reverse vreg switch polarity"
1486 default n
1487 help
1488 Reverses the enable and disable for vreg switch.
1489
1490config MSM_DMA_TEST
1491 tristate "MSM DMA test module"
1492 default m
1493 help
1494 Intended to be compiled as a module. Provides a device node
1495 and ioctls for testing the MSM dma system.
1496
1497config WIFI_CONTROL_FUNC
1498 bool "Enable WiFi control function abstraction"
1499 help
1500 Enables Power/Reset/Carddetect function abstraction
1501
1502config WIFI_MEM_PREALLOC
1503 depends on WIFI_CONTROL_FUNC
1504 bool "Preallocate memory for WiFi buffers"
1505 help
1506 Preallocates memory buffers for WiFi driver
1507
1508config QSD_AUDIO
1509 bool "QSD audio"
1510 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1511 default y
1512 help
1513 Provides PCM, MP3, and AAC audio playback.
1514
1515config AUDIO_AAC_PLUS
1516 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1517 bool "AAC+ Audio"
1518 default y
1519 help
1520 Provides AAC+ decoding
1521
1522config AUDIO_ENHANCED_AAC_PLUS
1523 depends on AUDIO_AAC_PLUS
1524 bool "Enhanced AAC+ Audio"
1525 default y
1526 help
1527 Provides Enhanced AAC+ decoding
1528
1529config SURF_FFA_GPIO_KEYPAD
1530 bool "MSM SURF/FFA GPIO keypad"
1531 depends on INPUT_GPIO = "y"
1532 default y
1533 help
1534 Select if the GPIO keypad is attached.
1535
1536config MSM_SLEEP_TIME_OVERRIDE
1537 bool "Allow overriding suspend/sleep time with PM module parameter"
1538 default y
1539 help
1540 Enable the module parameter sleep_time_override. Specified
1541 in units of seconds, it overwrites the normal sleep time of
1542 suspend. The feature is required for automated power management
1543 testing.
1544
1545config MSM_MEMORY_LOW_POWER_MODE
1546 bool "Control the low power modes of memory"
1547 default n
1548 help
1549 The application processor controls whether memory should enter
1550 which low power mode.
1551
1552choice
1553 prompt "Default Memory Low Power Mode during Idle"
1554 depends on MSM_MEMORY_LOW_POWER_MODE
1555 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1556 help
1557 Selects the default low power mode of the memory during idle
1558 sleep.
1559
1560 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1561 bool "Memory active"
1562
1563 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1564 bool "Memory in retention"
1565
1566 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1567 bool "Memory in deep power down"
1568endchoice
1569
1570choice
1571 prompt "Default Memory Low Power Mode during Suspend"
1572 depends on MSM_MEMORY_LOW_POWER_MODE
1573 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1574 help
1575 Selects the default low power mode of the memory during suspend
1576 sleep.
1577
1578 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1579 bool "Memory active"
1580
1581 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1582 bool "Memory in retention"
1583
1584 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1585 bool "Memory in deep power down"
1586endchoice
1587
1588choice
1589 prompt "Power management timeout action"
1590 default MSM_PM_TIMEOUT_HALT
1591 help
1592 Selects the Application Processor's action when Power Management
1593 times out waiting for Modem's handshake.
1594
1595 config MSM_PM_TIMEOUT_HALT
1596 bool "Halt the Application Processor"
1597
1598 config MSM_PM_TIMEOUT_RESET_MODEM
1599 bool "Reset the Modem Processor"
1600
1601 config MSM_PM_TIMEOUT_RESET_CHIP
1602 bool "Reset the entire chip"
1603endchoice
1604
1605config MSM_IDLE_WAIT_ON_MODEM
1606 int "Wait for Modem to become ready for idle power collapse"
1607 default 0
1608 help
1609 If Modem is not ready to handle Application Processor's request
1610 for idle power collapse, wait the number of microseconds in case
1611 Modem becomes ready soon.
1612
Matt Wagantall9274df92011-12-15 11:11:05 -08001613config MSM_RPM_REGULATOR
1614 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001615 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001616 help
1617 Compile in support for the RPM regulator driver, used for setting
1618 voltages and other parameters of the various power rails supplied
1619 by some Qualcomm PMICs.
1620
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001621config MSM_PIL
1622 bool "Peripheral image loading"
1623 select FW_LOADER
1624 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1625 default n
1626 help
1627 Some peripherals need to be loaded into memory before they can be
1628 brought out of reset.
1629
1630 Say yes to support these devices.
1631
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001632config MSM_PIL_MODEM
1633 tristate "Modem (ARM11) Boot Support"
1634 depends on MSM_PIL
1635 help
1636 Support for booting and shutting down ARM11 Modem processors.
1637
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001638config MSM_PIL_QDSP6V3
1639 tristate "QDSP6v3 (Hexagon) Boot Support"
1640 depends on MSM_PIL
1641 help
1642 Support for booting and shutting down QDSP6v3 processors (hexagon).
1643 The QDSP6 is a low power DSP used in audio software applications.
1644
Stephen Boydeb819882011-08-29 14:46:30 -07001645config MSM_PIL_QDSP6V4
1646 tristate "QDSP6v4 (Hexagon) Boot Support"
1647 depends on MSM_PIL
1648 help
1649 Support for booting and shutting down QDSP6v4 processors (hexagon).
1650 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1651 software applications.
1652
Stephen Boyd322a9922011-09-20 01:05:54 -07001653config MSM_PIL_RIVA
1654 tristate "RIVA (WCNSS) Boot Support"
1655 depends on MSM_PIL
1656 help
1657 Support for booting and shutting down the RIVA processor (WCNSS).
1658 Riva is the wireless subsystem processor used in bluetooth, wireless
1659 LAN, and FM software applications.
1660
Stephen Boydd89eebe2011-09-28 23:28:11 -07001661config MSM_PIL_TZAPPS
1662 tristate "TZApps Boot Support"
1663 depends on MSM_PIL
1664 help
1665 Support for booting and shutting down TZApps.
1666
1667 TZApps is an image that runs in the secure processor state. It is
1668 used to decrypt data and perform secure operations on the behalf of
1669 the kernel.
1670
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001671config MSM_SCM
1672 bool "Secure Channel Manager (SCM) support"
1673 default n
1674
1675config MSM_SUBSYSTEM_RESTART
1676 bool "MSM Subsystem Restart Driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001677 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001678 default n
1679 help
1680 This option enables the MSM subsystem restart driver, which provides
1681 a framework to handle subsystem crashes.
1682
Matt Wagantallf8020902011-08-30 21:19:23 -07001683config MSM_SYSMON_COMM
1684 bool "MSM System Monitor communication support"
1685 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1686 default y
1687 help
1688 This option adds support for MSM System Monitor library, which
1689 provides an API that may be used for notifying subsystems within
1690 the SoC about other subsystems' power-up/down state-changes.
1691
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001692config MSM_MODEM_8960
1693 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001694 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001695 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001696 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001697 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001698 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001699
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001700config MSM_LPASS_8960
1701 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001702 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001703 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001704 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001705 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001706 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001707
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001708config MSM_WCNSS_SSR_8960
1709 tristate "MSM 8960 WCNSS restart module"
1710 depends on (ARCH_MSM8960)
1711 help
1712 This option enables the WCNSS restart module for MSM8960, which
1713 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1714 into the subsystem restart framework.
1715
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001716config SCORPION_Uni_45nm_BUG
1717 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1718 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1719 default y
1720 help
1721 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1722 invalidating the Branch Predictor Array by Modified Virtual Address can
1723 create invalid entries in the TLB with the wrong ASID values on Scorpion
1724 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1725 workaround for Scorpion Uniprocessor 45nm cores.
1726
1727 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1728
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001729config MSM_BUSPM_DEV
1730 tristate "MSM Bus Performance Monitor Kernel Module"
1731 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1732 default m
1733 help
1734 This kernel module is used to mmap() hardware registers for the
1735 performance monitors, counters, etc. The module can also be used to
1736 allocate physical memory which is used by bus performance hardware to
1737 dump performance data.
1738
Mona Hossain11c03ac2011-10-26 12:42:10 -07001739config MSM_TZ_LOG
1740 tristate "MSM Trust Zone (TZ) Log Driver"
1741 depends on DEBUG_FS
1742 help
1743 This option enables a driver with a debugfs interface for messages
1744 produced by the Secure code (Trust zone). These messages provide
1745 diagnostic information about TZ operation.
1746
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001747config MSM_RPM_LOG
1748 tristate "MSM Resource Power Manager Log Driver"
1749 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001750 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001751 default n
1752 help
1753 This option enables a driver which can read from a circular buffer
1754 of messages produced by the RPM. These messages provide diagnostic
1755 information about RPM operation. The driver outputs the messages
1756 via a debugfs node.
1757
1758config MSM_RPM_STATS_LOG
1759 tristate "MSM Resource Power Manager Stat Driver"
1760 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001761 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001762 default n
1763 help
1764 This option enables a driver which reads RPM messages from a shared
1765 memory location. These messages provide statistical information about
1766 the low power modes that RPM enters. The drivers outputs the message
1767 via a debugfs node.
1768
1769config MSM_IOMMU
1770 bool "MSM IOMMU Support"
Joel King41d594e2011-10-14 13:18:20 -07001771 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_APQ8064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001772 select IOMMU_API
1773 default n
1774 help
1775 Support for the IOMMUs found on certain Qualcomm SOCs.
1776 These IOMMUs allow virtualization of the address space used by most
1777 cores within the multimedia subsystem.
1778
1779 If unsure, say N here.
1780
1781config IOMMU_PGTABLES_L2
1782 bool "Allow SMMU page tables in the L2 cache (Experimental)"
1783 depends on MSM_IOMMU=y
1784 depends on MMU
1785 depends on CPU_DCACHE_DISABLE=n
1786 depends on SMP
1787 default y
1788 help
1789 Improves TLB miss latency at the expense of potential L2 pollution.
1790 However, with large multimedia buffers, the TLB should mostly contain
1791 section mappings and TLB misses should be quite infrequent.
1792 Most people can probably say Y here.
1793
1794config MSM_DIRECT_SCLK_ACCESS
1795 bool "Direct access to the SCLK timer"
1796 default n
1797
1798config IOMMU_API
1799 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001800
Gregory Beanab78cde2010-09-01 16:26:12 -07001801config MSM_GPIOMUX
1802 bool
1803
Gregory Bean1963a2a2010-08-28 10:05:44 -07001804config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001805 bool
1806
1807config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07001808 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001809
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001810config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001811 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001812
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001813config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001814 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001815
1816config MSM_BUS_SCALING
1817 bool "Bus scaling driver"
1818 default n
1819
Gagan Mac85c70492011-06-10 16:07:47 -06001820config MSM_BUS_RPM_MULTI_TIER_ENABLED
1821 bool "RPM Multi-tiering Configuration"
1822 depends on MSM_BUS_SCALING
1823
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001824config MSM_WATCHDOG
1825 bool "MSM Watchdog Support"
Rohit Vaswani085a9332011-09-28 18:57:24 -07001826 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001827 help
1828 This enables the watchdog as is present on 8x60. Currently we use
1829 core 0's watchdog, and reset the entire SoC if it times out. It does
1830 not run during the bootup process, so it will not catch any early
1831 lockups.
1832
1833config MSM_DLOAD_MODE
1834 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07001835 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001836 default n
1837 help
1838 This makes the SoC enter download mode when it resets
1839 due to a kernel panic. Note that this doesn't by itself
1840 make the kernel reboot on a kernel panic - that must be
1841 enabled via another mechanism.
1842
Pratik Patel17f3b822011-11-21 12:41:47 -08001843config MSM_JTAG
1844 bool "JTAG debug and trace support"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001845 help
Pratik Patel17f3b822011-11-21 12:41:47 -08001846 Add additional support for JTAG kernel debugging and tracing.
Pratik Patel7831c082011-06-08 21:44:37 -07001847
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001848config MSM_ETM
1849 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08001850 depends on ARCH_MSM8X60
1851 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001852 help
Pratik Patel17f3b822011-11-21 12:41:47 -08001853 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07001854
1855config MSM_QDSS
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001856 bool "Qualcomm Debug Subsystem"
Pratik Patel17f3b822011-11-21 12:41:47 -08001857 select MSM_JTAG
Pratik Patel7831c082011-06-08 21:44:37 -07001858 help
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001859 Enables support for Qualcomm Debug Subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001860
Pratik Patel29cba152012-01-03 11:40:26 -08001861config MSM_QDSS_ETM_DEFAULT_ENABLE
1862 bool "Turn on QDSS ETM Tracing by Default"
1863 depends on MSM_QDSS
1864 help
1865 Turns on QDSS ETM tracing by default. Otherwise, tracing is
1866 disabled by default but can be enabled by other means.
1867
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001868config MSM_SLEEP_STATS
1869 bool "Enable exporting of MSM sleep stats to userspace"
1870 depends on CPU_IDLE
1871 default n
1872
Lynus Vazdde09ee2012-01-05 13:28:22 +05301873config MSM_SLEEP_STATS_DEVICE
1874 bool "Enable exporting of MSM sleep device stats to userspace"
1875
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001876config MSM_STANDALONE_POWER_COLLAPSE
1877 bool "Enable standalone power collapse"
1878 default n
1879
1880config MSM_GSBI9_UART
1881 bool "Enable GSBI9 UART device"
1882 default n
1883 help
1884 This enables GSBI9 configured into UART.
1885
1886config MSM_SHARED_GPIO_FOR_UART2DM
1887 bool "Use shared GPIOs into UART mode"
1888 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
1889 help
1890 This option configures GPIO muxed with SDC4/MMC3
1891 8-bit mode into UART mode. It is used for serial
1892 console on UART2DM. Say Y if you want to have
1893 serial console on UART2DM.
1894
1895config MSM_SHOW_RESUME_IRQ
1896 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08001897 depends on (ARM_GIC || PMIC8058)
1898 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001899 default n
1900 help
1901 This option logs wake up interrupts that have triggered just before
1902 the resume loop unrolls. Say Y if you want to debug why the system
1903 resumed.
1904
1905config BT_MSM_PINTEST
1906 tristate "MSM Bluetooth Pin Connectivity Test"
1907 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
1908 default n
1909 help
1910 Bluetooth MSM Pin Connectivity test module.
1911 This driver provides support for verifying the MSM to BT pin
1912 connectivity.
1913
1914config MSM_FAKE_BATTERY
1915 depends on POWER_SUPPLY
1916 default n
1917 bool "MSM Fake Battery"
1918 help
1919 Enables MSM fake battery driver.
1920
1921config MSM_QDSP6_APR
1922 bool "Audio QDSP6 APR support"
1923 depends on MSM_SMD
1924 default n
1925 help
1926 Enable APR IPC protocol support between
1927 application processor and QDSP6. APR is
1928 used by audio driver to configure QDSP6's
1929 ASM, ADM and AFE.
1930
1931
1932config MSM_AUDIO_QDSP6
1933 bool "QDSP6 HW Audio support"
1934 select SND_SOC_MSM_QDSP6_INTF
1935 default n
1936 help
1937 Enable HW audio support in QDSP6.
1938 QDSP6 can support HW encoder & decoder and audio processing
1939
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02001940config MSM_ULTRASOUND
1941 bool "MSM ultrasound support"
1942 depends on MSM_AUDIO_QDSP6
1943 help
1944 Enable support for qdsp6/ultrasound.
1945
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001946config MSM_RPC_VIBRATOR
1947 bool "RPC based MSM Vibrator Support"
1948 depends on MSM_ONCRPCROUTER
1949 help
1950 Enable the vibrator support on MSM over RPC. The vibrator
1951 is connected on the PMIC. Say Y if you want to enable this
1952 feature.
1953
1954config PM8XXX_RPC_VIBRATOR
1955 bool "RPC based Vibrator on PM8xxx PMICs"
1956 depends on MSM_RPC_VIBRATOR
1957 help
1958 Enable the vibrator support on MSM over RPC. The vibrator
1959 is connected on the PM8XXX PMIC. Say Y if you want to enable
1960 this feature.
1961
1962config MSM_SPM_V1
1963 bool "Driver support for SPM Version 1"
1964 help
1965 Enables the support for Version 1 of the SPM driver. SPM hardware is
1966 used to manage the processor power during sleep. The driver allows
1967 configuring SPM to allow different power modes.
1968
1969config MSM_SPM_V2
1970 bool "Driver support for SPM Version 2"
1971 help
1972 Enables the support for Version 2 of the SPM driver. SPM hardware is
1973 used to manage the processor power during sleep. The driver allows
1974 configuring SPM to allow different power modes.
1975
1976config MSM_L2_SPM
1977 bool "SPM support for L2 cache"
1978 depends on MSM_SPM_V2
1979 help
1980 Enable SPM driver support for L2 cache. Some MSM chipsets allow
1981 control of L2 cache low power mode with a Subsystem Power manager.
1982 Enabling this driver allows configuring L2 SPM for low power modes
1983 on supported chipsets.
1984
Laura Abbott2d1760b2011-09-29 21:31:24 -07001985config MSM_MULTIMEDIA_USE_ION
1986 bool "Multimedia suport using Ion"
1987 depends on ION_MSM
1988 help
1989 Enable support for multimedia drivers using Ion for buffer management
1990 instead of pmem. Selecting this may also involve userspace
1991 dependencies as well.
1992
Brian Swetland9e73c842007-11-26 04:12:13 -08001993endif