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