blob: 9df90cd43422e1046a2e06652935695d9b1ebe11 [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
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700201 select MACH_APQ8064_SIM if !MACH_APQ8064_RUMI3
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700202 select MSM_V2_TLMM
203 select ARM_GIC
204 select CPU_V7
205 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700206 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600207 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800208 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800209 select MSM_QDSP6_APR
210 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530211 select MULTI_IRQ_HANDLER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700212
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700213config ARCH_MSMCOPPER
214 bool "MSM Copper"
215 select ARCH_MSM_KRAITMP
216 select MSM_V2_TLMM
217 select ARM_GIC
218 select CPU_V7
219 select MSM_SCM if SMP
220 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530221 select MULTI_IRQ_HANDLER
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700222
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700223config ARCH_FSM9XXX
224 bool "FSM9XXX"
225 select ARCH_MSM_SCORPION
226 select MSM_VIC
227 select CPU_V7
228 select MSM_REMOTE_SPINLOCK_LDREX
229 select FSM9XXX_TLMM
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530230 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800231 select MSM_DALRPC
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800232
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700233config ARCH_MSM9615
234 bool "MSM9615"
235 select ARM_GIC
236 select ARCH_MSM_CORTEX_A5
237 select CPU_V7
238 select MSM_V2_TLMM
239 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600240 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600241 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700242 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800243 select REGULATOR
244 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530245 select MULTI_IRQ_HANDLER
Matt Wagantall9274df92011-12-15 11:11:05 -0800246
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700247endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700248
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700249choice
250 prompt "MSM SoC Revision"
251 default MSM_SOC_REV_NONE
252config MSM_SOC_REV_NONE
253 bool "N/A"
254 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
255 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walker4ad15e62010-05-06 13:54:17 -0700256config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700257 bool "Rev. A"
258 select ARCH_MSM7X27A if ARCH_MSM7X27
259endchoice
Daniel Walker4ad15e62010-05-06 13:54:17 -0700260
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700261config MSM_KRAIT_TBB_ABORT_HANDLER
262 bool "Krait TBB/TBH data abort handler"
263 depends on ARCH_MSM_KRAIT
264 depends on ARM_THUMB
265 help
266 Certain early samples of the Krait processor may generate data
267 aborts for TBB / TBH instructions that fail their condition code
268 checks. Enabling this option will ignore these erroneous data aborts,
269 at the expense of a very small performance penalty.
270
271 If unsure, say N.
272
Daniel Walker4ad15e62010-05-06 13:54:17 -0700273config ARCH_MSM_ARM11
274 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700275
Daniel Walker4ad15e62010-05-06 13:54:17 -0700276config ARCH_MSM_SCORPION
Daniel Walkerbf83de42010-03-16 16:29:44 -0700277 bool
278
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700279config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700280 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800281 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700282
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700283config MSM_SMP
284 bool
285
286config ARCH_MSM_SCORPIONMP
287 select ARCH_MSM_SCORPION
288 select MSM_SMP
289 bool
290
291config ARCH_MSM_KRAITMP
292 select ARCH_MSM_KRAIT
293 select MSM_SMP
294 bool
295
296config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800297 bool
Rohit Vaswaniaf7ae272012-01-09 10:28:57 -0800298 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700299
300config ARCH_MSM7X27A
301 bool
302 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700303 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530304 select MULTI_IRQ_HANDLER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700305
Gregory Beanf9f3d312010-04-30 22:06:50 -0700306config MSM_VIC
307 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700308
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700309config MSM_RPM
310 bool "Resource Power Manager"
311 select MSM_MPM
312
313config MSM_MPM
314 bool "Modem Power Manager"
315
316config MSM_XO
317 bool
318
319config MSM_REMOTE_SPINLOCK_DEKKERS
320 bool
321config MSM_REMOTE_SPINLOCK_SWP
322 bool
323config MSM_REMOTE_SPINLOCK_LDREX
324 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600325config MSM_REMOTE_SPINLOCK_SFPB
326 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700327config MSM_ADM3
328 bool
329
330menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700331
332config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700333 depends on ARCH_MSM7X01A
334 depends on MSM_STACKED_MEMORY
335 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700336 bool "Halibut Board (QCT SURF7201A)"
337 help
338 Support for the Qualcomm SURF7201A eval board.
339
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700340config MACH_MSM7201A_SURF
341 depends on ARCH_MSM7X01A
342 depends on MSM_STACKED_MEMORY
343 default y
344 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700345 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700346 Support for the Qualcomm MSM7201A SURF eval board.
347
348config MACH_MSM7201A_FFA
349 depends on ARCH_MSM7X01A
350 depends on MSM_STACKED_MEMORY
351 default y
352 bool "MSM7201A FFA"
353 help
354 Support for the Qualcomm MSM7201A FFA eval board.
355
356config MACH_TROUT
357 depends on ARCH_MSM7X01A
358 depends on MSM_STACKED_MEMORY
359 default y
360 bool "Trout"
361
362config MACH_MSM7X27_SURF
363 depends on ARCH_MSM7X27
364 depends on !MSM_STACKED_MEMORY
365 default y
366 bool "MSM7x27 SURF"
367 help
368 Support for the Qualcomm MSM7x27 SURF eval board.
369
370config MACH_MSM7X27_FFA
371 depends on ARCH_MSM7X27
372 depends on !MSM_STACKED_MEMORY
373 default y
374 bool "MSM7x27 FFA"
375 help
376 Support for the Qualcomm MSM7x27 FFA eval board.
377
378config MACH_MSM7X27A_RUMI3
379 depends on ARCH_MSM7X27A
380 depends on !MSM_STACKED_MEMORY
381 default y
382 bool "MSM7x27A RUMI3"
383 help
384 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
385
386config MACH_MSM7X27A_SURF
387 depends on ARCH_MSM7X27A
388 depends on !MSM_STACKED_MEMORY
389 default y
390 bool "MSM7x27A SURF"
391 help
392 Support for the Qualcomm MSM7x27A SURF.
393
394config MACH_MSM7X27A_FFA
395 depends on ARCH_MSM7X27A
396 depends on !MSM_STACKED_MEMORY
397 default y
398 bool "MSM7x27A FFA"
399 help
400 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700401
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530402config MACH_MSM7625A_SURF
403 depends on ARCH_MSM7X27A
404 depends on !MSM_STACKED_MEMORY
405 default y
406 bool "MSM7625A SURF"
407 help
408 Support for the Qualcomm MSM7625A SURF.
409
410config MACH_MSM7625A_FFA
411 depends on ARCH_MSM7X27A
412 depends on !MSM_STACKED_MEMORY
413 default y
414 bool "MSM7625A FFA"
415 help
416 Support for the Qualcomm MSM7625A FFA.
417
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530418config MACH_MSM7627A_QRD1
419 depends on ARCH_MSM7X27A
420 depends on !MSM_STACKED_MEMORY
421 default y
422 bool "MSM7627A QRD1"
423 help
424 Support for the Qualcomm MSM7627A Refrence Design.
425
Daniel Walker7b521612010-05-06 12:44:57 -0700426config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700427 depends on ARCH_MSM7X30
428 depends on !MSM_STACKED_MEMORY
429 default y
430 bool "MSM7x30 SURF"
431 help
432 Support for the Qualcomm MSM7x30 SURF eval board.
433
434config MACH_MSM7X30_FFA
435 depends on ARCH_MSM7X30
436 depends on !MSM_STACKED_MEMORY
437 default y
438 bool "MSM7x30 FFA"
439 help
440 Support for the Qualcomm MSM7x30 FFA eval board.
441
442config MACH_MSM7X30_FLUID
443 depends on ARCH_MSM7X30
444 depends on !MSM_STACKED_MEMORY
445 default y
446 bool "MSM7x30 FLUID"
447 help
448 Support for the Qualcomm MSM7x30 FLUID eval board.
449
450config MACH_SAPPHIRE
451 depends on ARCH_MSM7X01A
452 default n
453 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700454
Daniel Walker4ad15e62010-05-06 13:54:17 -0700455config MACH_QSD8X50_SURF
456 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700457 depends on MSM_SOC_REV_NONE
458 depends on MSM_STACKED_MEMORY
459 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700460 bool "QSD8x50 SURF"
461 help
462 Support for the Qualcomm QSD8x50 SURF eval board.
463
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700464config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700465 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700466 depends on MSM_SOC_REV_NONE
467 depends on MSM_STACKED_MEMORY
468 default y
469 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700470 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700471 Support for the Qualcomm QSD8x50 FFA eval board.
472
473config MACH_MSM7X25_SURF
474 depends on ARCH_MSM7X25
475 depends on !MSM_STACKED_MEMORY
476 default y
477 bool "MSM7x25 SURF"
478 help
479 Support for the Qualcomm MSM7x25 SURF eval board.
480
481config MACH_MSM7X25_FFA
482 depends on ARCH_MSM7X25
483 depends on !MSM_STACKED_MEMORY
484 default y
485 bool "MSM7x25 FFA"
486 help
487 Support for the Qualcomm MSM7x25 FFA eval board.
488
489config MACH_MSM8X55_SURF
490 depends on ARCH_MSM7X30
491 depends on !MSM_STACKED_MEMORY
492 default y
493 bool "MSM8X55 SURF"
494 help
495 Support for the Qualcomm MSM8x55 SURF eval board.
496
497config MACH_MSM8X55_FFA
498 depends on ARCH_MSM7X30
499 depends on !MSM_STACKED_MEMORY
500 default y
501 bool "MSM8X55 FFA"
502 help
503 Support for the Qualcomm MSM8x55 FFA eval board.
504
505config MACH_MSM8X55_SVLTE_FFA
506 depends on ARCH_MSM7X30
507 depends on !MSM_STACKED_MEMORY
508 default y
509 bool "MSM8X55 SVLTE FFA"
510 help
511 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
512
513config MACH_MSM8X55_SVLTE_SURF
514 depends on ARCH_MSM7X30
515 depends on !MSM_STACKED_MEMORY
516 default y
517 bool "MSM8X55 SVLTE SURF"
518 help
519 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700520
Steve Mucklea55df6e2010-01-07 12:43:24 -0800521config MACH_MSM8X60_RUMI3
522 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700523 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800524 bool "MSM8x60 RUMI3"
525 help
526 Support for the Qualcomm MSM8x60 RUMI3 emulator.
527
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800528config MACH_MSM8X60_SIM
529 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700530 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800531 bool "MSM8x60 Simulator"
532 help
533 Support for the Qualcomm MSM8x60 simulator.
534
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700535config MACH_MSM8X60_SURF
536 depends on ARCH_MSM8X60
537 default n
538 bool "MSM8x60 SURF"
539 help
540 Support for the Qualcomm MSM8x60 SURF eval board.
541
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700542config MACH_MSM8X60_FFA
543 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700544 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700545 bool "MSM8x60 FFA"
546 help
547 Support for the Qualcomm MSM8x60 FFA eval board.
548
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700549config MACH_MSM8X60_FLUID
550 depends on ARCH_MSM8X60
551 default n
552 bool "MSM8x60 FLUID"
553 help
554 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
555 8x60 target which has a form factor that is much closer to that
556 of a phone than other targets. It also has a new display and
557 touchscreen controller.
558
559config MACH_MSM8X60_FUSION
560 depends on ARCH_MSM8X60
561 default n
562 bool "MSM8x60 FUSION"
563 help
564 Support for the Qualcomm MSM8x60 Fusion SURF device.
565
566config MACH_MSM8X60_FUSN_FFA
567 depends on ARCH_MSM8X60
568 default n
569 bool "MSM8x60 FUSN FFA"
570 help
571 Support for the Qualcomm MSM8x60 Fusion FFA device.
572
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400573config MACH_MSM8X60_DRAGON
574 depends on ARCH_MSM8X60
575 default n
576 bool "MSM8x60 DRAGON"
577 help
578 Support for the Qualcomm MSM8x60 Dragon board.
579
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800580config MACH_MSM8960_SIM
581 depends on ARCH_MSM8960
582 bool "MSM8960 Simulator"
583 help
584 Support for the Qualcomm MSM8960 simulator.
585
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800586config MACH_MSM8960_RUMI3
587 depends on ARCH_MSM8960
588 bool "MSM8960 RUMI3"
589 help
590 Support for the Qualcomm MSM8960 RUMI3 emulator.
591
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700592config MACH_MSM8960_CDP
593 depends on ARCH_MSM8960
594 bool "MSM8960 CDP"
595 help
596 Support for the Qualcomm MSM8960 CDP device.
597
598config MACH_MSM8960_MTP
599 depends on ARCH_MSM8960
600 bool "MSM8960 MTP"
601 help
602 Support for the Qualcomm MSM8960 MTP device.
603
604config MACH_MSM8960_FLUID
605 depends on ARCH_MSM8960
606 bool "MSM8960 FLUID"
607 help
608 Support for the Qualcomm MSM8960 FLUID device.
609
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300610config MACH_MSM8960_LIQUID
611 depends on ARCH_MSM8960
612 bool "MSM8960 LIQUID"
613 help
614 Support for the Qualcomm MSM8960 LIQUID device.
615
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700616config MACH_MSM8930_CDP
617 depends on ARCH_MSM8930
618 bool "MSM8930 CDP"
619 help
620 Support for the Qualcomm MSM8930 CDP device.
621
622config MACH_MSM8930_MTP
623 depends on ARCH_MSM8930
624 bool "MSM8930 MTP"
625 help
626 Support for the Qualcomm MSM8930 MTP device.
627
628config MACH_MSM8930_FLUID
629 depends on ARCH_MSM8930
630 bool "MSM8930 FLUID"
631 help
632 Support for the Qualcomm MSM8930 FLUID device.
633
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800634config MACH_MSM8627_CDP
635 depends on ARCH_MSM8930
636 bool "MSM8627 CDP"
637 help
638 Support for the Qualcomm MSM8627 CDP device.
639
640config MACH_MSM8627_MTP
641 depends on ARCH_MSM8930
642 bool "MSM8627 MTP"
643 help
644 Support for the Qualcomm MSM8627 MTP device.
645
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700646config MACH_MSM9615_CDP
647 depends on ARCH_MSM9615
648 bool "MSM9615 CDP"
649 help
650 Support for the Qualcomm MSM9615 CDP device.
651
652config MACH_MSM9615_MTP
653 depends on ARCH_MSM9615
654 bool "MSM9615 MTP"
655 help
656 Support for the Qualcomm MSM9615 MTP device.
657
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700658config MSM_USE_TSIF1
659 depends on ARCH_MSM8X60
660 bool "MSM8x60 use TSIF1"
661 help
662 Selects TSIF1 core to be used rather than TSIF0.
663 The two TSIF cores share the same DM configuration
664 so they cannot be used simultaneously.
665
666config MACH_APQ8064_SIM
667 depends on ARCH_APQ8064
668 bool "APQ8064 Simulator"
669 help
670 Support for the Qualcomm APQ8064 simulator.
671
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700672config MACH_APQ8064_RUMI3
673 depends on ARCH_APQ8064
674 bool "APQ8064 RUMI3"
675 help
676 Support for the Qualcomm APQ8064 RUMI3 emulator.
677
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700678config MACH_FSM9XXX_SURF
679 depends on ARCH_FSM9XXX
680 depends on !MSM_STACKED_MEMORY
681 default y
682 bool "FSM9XXX SURF"
683 help
684 Support for the Qualcomm FSM9xxx femtocell
685 chipset based SURF evaluation board and
686 FFA board.
687
Daniel Walker4ad15e62010-05-06 13:54:17 -0700688endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800689
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700690config MSM_STACKED_MEMORY
691 bool "Stacked Memory"
692 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800693 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700694 This option is used to indicate the presence of on-die stacked
695 memory. When present this memory bank is used for a high speed
696 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800697
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700698config PHYS_OFFSET
699 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700700 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700701 default "0x80200000" if ARCH_APQ8064
702 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700703 default "0x80200000" if ARCH_MSM8930
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700704 default "0x80200000" if ARCH_MSMCOPPER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700705 default "0x10000000" if ARCH_FSM9XXX
706 default "0x00200000" if !MSM_STACKED_MEMORY
707 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
708 default "0x20000000" if ARCH_QSD8X50
709 default "0x40200000" if ARCH_MSM8X60
710 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800711
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700712config KERNEL_PMEM_EBI_REGION
713 bool "Enable in-kernel PMEM region for EBI"
714 default y if ARCH_MSM8X60
715 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960)
716 help
717 Enable the in-kernel PMEM allocator to use EBI memory.
718
719config KERNEL_PMEM_SMI_REGION
720 bool "Enable in-kernel PMEM region for SMI"
721 default y if ARCH_MSM8X60
722 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
723 help
724 Enable the in-kernel PMEM allocator to use SMI memory.
725
726config PMEM_GPU0
727 bool "Enable PMEM GPU0 region"
728 default y
729 depends on ARCH_QSD8X50 && ANDROID_PMEM
730 help
731 Enable the PMEM GPU0 device on SMI Memory.
732
733config MSM_AMSS_VERSION
734 int
735 default 6210 if MSM_AMSS_VERSION_6210
736 default 6220 if MSM_AMSS_VERSION_6220
737 default 6225 if MSM_AMSS_VERSION_6225
738
739choice
740 prompt "AMSS modem firmware version"
741
742 default MSM_AMSS_VERSION_6225
743
744 config MSM_AMSS_VERSION_6210
745 bool "6.2.10"
746
747 config MSM_AMSS_VERSION_6220
748 bool "6.2.20"
749
750 config MSM_AMSS_VERSION_6225
751 bool "6.2.20 + New ADSP"
752endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800753
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700754config MSM_HAS_DEBUG_UART_HS
755 bool
756 help
757 Say Y here if high speed MSM UART is present.
758
759config MSM_HAS_DEBUG_UART_HS_V14
760 bool
761 select MSM_HAS_DEBUG_UART_HS
762 help
763 Say Y here if high speed MSM UART v1.4 is present.
764
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800765config DEBUG_MSM8930_UART
766 bool "Kernel low-level debugging messages via MSM 8930 UART"
767 depends on ARCH_MSM8930 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700768 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800769 help
770 Say Y here if you want the debug print routines to direct
771 their output to the serial port on MSM 8930 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100772
773choice
774 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800775 depends on DEBUG_LL
Pavel Machek6339f662009-11-02 11:48:29 +0100776
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800777 config DEBUG_MSM_UART1
778 bool "Kernel low-level debugging messages via MSM UART1"
779 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
780 help
781 Say Y here if you want the debug print routines to direct
782 their output to the first serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100783
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800784 config DEBUG_MSM_UART2
785 bool "Kernel low-level debugging messages via MSM UART2"
786 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
787 help
788 Say Y here if you want the debug print routines to direct
789 their output to the second serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100790
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800791 config DEBUG_MSM_UART3
792 bool "Kernel low-level debugging messages via MSM UART3"
793 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
794 help
795 Say Y here if you want the debug print routines to direct
796 their output to the third serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100797
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800798 config DEBUG_MSM8660_UART
799 bool "Kernel low-level debugging messages via MSM 8660 UART"
800 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700801 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800802 help
803 Say Y here if you want the debug print routines to direct
804 their output to the serial port on MSM 8660 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100805
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800806 config DEBUG_MSM8960_UART
807 bool "Kernel low-level debugging messages via MSM 8960 UART"
808 depends on ARCH_MSM8960
809 select DEBUG_MSM8930_UART
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700810 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800811 help
812 Say Y here if you want the debug print routines to direct
813 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700814
815 config DEBUG_MSMCOPPER_UART
816 bool "Kernel low-level debugging messages via MSM Copper UART"
817 depends on ARCH_MSMCOPPER
818 select MSM_HAS_DEBUG_UART_HS_V14
819 help
820 Say Y here if you want the debug print routines to direct
821 their output to the serial port on MSM Copper devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100822endchoice
823
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700824choice
825 prompt "Default Timer"
826 default MSM7X00A_USE_GP_TIMER
827
828 config MSM7X00A_USE_GP_TIMER
829 bool "GP Timer"
830 help
831 Low resolution timer that allows power collapse from idle.
832
833 config MSM7X00A_USE_DG_TIMER
834 bool "DG Timer"
835 help
836 High resolution timer.
837endchoice
838
839choice
840 prompt "Suspend sleep mode"
841 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
842 help
843 Allows overriding the sleep mode used. Leave at power
844 collapse suspend unless the arm9 image has problems.
845
846 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
847 bool "Power collapse suspend"
848 help
849 Lowest sleep state. Returns through reset vector.
850
851 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
852 bool "Power collapse"
853 help
854 Sleep state that returns through reset vector.
855
856 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
857 bool "Apps Sleep"
858
859 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
860 bool "Ramp down cpu clock and wait for interrupt"
861
862 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
863 bool "Wait for interrupt"
864endchoice
865
866config MSM7X00A_SLEEP_MODE
867 int
868 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
869 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
870 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
871 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
872 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
873
874choice
875 prompt "Idle sleep mode"
876 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
877 help
878 Allows overriding the sleep mode used from idle. Leave at power
879 collapse suspend unless the arm9 image has problems.
880
881 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
882 bool "Power collapse suspend"
883 help
884 Lowest sleep state. Returns through reset vector.
885
886 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
887 bool "Power collapse"
888 help
889 Sleep state that returns through reset vector.
890
891 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
892 bool "Apps Sleep"
893
894 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
895 bool "Ramp down cpu clock and wait for interrupt"
896
897 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
898 bool "Wait for interrupt"
899endchoice
900
901config MSM7X00A_IDLE_SLEEP_MODE
902 int
903 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
904 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
905 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
906 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
907 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
908
909config MSM7X00A_IDLE_SLEEP_MIN_TIME
910 int "Minimum idle time before sleep"
911 default 20000000
912 help
913 Minimum idle time in nanoseconds before entering low power mode.
914
915config MSM7X00A_IDLE_SPIN_TIME
916 int "Idle spin time before cpu ramp down"
917 default 80000
918 help
919 Spin time in nanoseconds before ramping down cpu clock and entering
920 any low power state.
921
922menuconfig MSM_IDLE_STATS
923 bool "Collect idle statistics"
924 default y
925 help
926 Collect idle statistics and export them in proc/msm_pm_stats.
927
928if MSM_IDLE_STATS
929
930config MSM_IDLE_STATS_FIRST_BUCKET
931 int "First bucket time"
932 default 62500
933 help
934 Upper time limit in nanoseconds of first bucket.
935
936config MSM_IDLE_STATS_BUCKET_SHIFT
937 int "Bucket shift"
938 default 2
939
940config MSM_IDLE_STATS_BUCKET_COUNT
941 int "Bucket count"
942 default 10
943
944config MSM_SUSPEND_STATS_FIRST_BUCKET
945 int "First bucket time for suspend"
946 default 1000000000
947 help
948 Upper time limit in nanoseconds of first bucket of the
949 histogram. This is for collecting statistics on suspend.
950
951endif # MSM_IDLE_STATS
952
953config CPU_HAS_L2_PMU
954 bool "L2CC PMU Support"
955 help
956 Select this if the L2 cache controller has a Performance Monitoring Unit.
957
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700958config HTC_HEADSET
959 tristate "HTC 2 Wire detection driver"
960 default n
961 help
962 Provides support for detecting HTC 2 wire devices, such as wired
963 headset, on the trout platform. Can be used with the msm serial
964 debugger, but not with serial console.
965
966config TROUT_BATTCHG
967 depends on MACH_TROUT && POWER_SUPPLY
968 default y
969 bool "Trout battery / charger driver"
970
971config HTC_PWRSINK
972 depends on MSM_SMD
973 default n
974 bool "HTC Power Sink Driver"
975
976config QSD_SVS
977 bool "QSD Static Voltage Scaling"
978 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
979 default y
980 select TPS65023
981 help
982 Enables static voltage scaling using the TPS65023 PMIC.
983
984config QSD_PMIC_DEFAULT_DCDC1
985 int "PMIC default output voltage"
986 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
987 default 1250
988 help
989 This is the PMIC voltage at Linux kernel boot.
990
991config MSM_FIQ_SUPPORT
992 default y
993 bool "Enable installation of an FIQ handler."
994
995config MSM_SERIAL_DEBUGGER
996 select MSM_FIQ_SUPPORT
997 select KERNEL_DEBUGGER_CORE
998 default n
999 bool "FIQ Mode Serial Debugger"
1000 help
1001 The FIQ serial debugger can accept commands even when the
1002 kernel is unresponsive due to being stuck with interrupts
1003 disabled. Depends on the kernel debugger core in drivers/misc.
1004
1005config MSM_SERIAL_DEBUGGER_CONSOLE
1006 depends on MSM_SERIAL_DEBUGGER
1007 default n
1008 bool "Console on FIQ Serial Debugger port"
1009 help
1010 Enables a console so that printk messages are displayed on
1011 the debugger serial port as the occur.
Daniel Walkerbf83de42010-03-16 16:29:44 -07001012
Steve Mucklec8aabae2010-04-21 16:20:27 -07001013config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001014 default y
1015 bool "Proc-Comm RPC Interface"
1016 help
1017 Enables a lightweight communications interface to the
1018 baseband processor.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001019
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001020config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001021 bool "MSM Shared Memory Driver (SMD)"
1022 help
1023 Support for the shared memory interface between the apps
1024 processor and the baseband processor. Provides access to
1025 the "shared heap", as well as virtual serial channels
1026 used to communicate with various services on the baseband
1027 processor.
1028
1029choice
1030 prompt "MSM Shared memory interface version"
1031 depends on MSM_SMD
1032 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1033 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1034
1035 config MSM_SMD_PKG3
1036 bool
1037 prompt "Package 3"
1038
1039 config MSM_SMD_PKG4
1040 bool
1041 prompt "Package 4"
1042endchoice
1043
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001044config MSM_RPC_SDIO_XPRT
1045 depends on MSM_SDIO_AL
1046 default y
1047 bool "MSM SDIO XPRT Layer"
1048 help
1049 SDIO Transport Layer for RPC Rouer
1050
1051config MSM_RPC_SDIO_DEBUG
1052 depends on MSM_RPC_SDIO_XPRT
1053 default y
1054 bool "MSM SDIO XPRT debug support"
1055 help
1056 Support for debugging SDIO XPRT
1057
1058config MSM_SMD_DEBUG
1059 depends on MSM_SMD
1060 default y
1061 bool "MSM SMD debug support"
1062 help
1063 Support for debugging the SMD for communication
1064 between the ARM9 and ARM11
1065
1066config MSM_SDIO_AL
1067 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1068 default y
1069 tristate "SDIO-Abstraction-Layer"
1070 help
1071 Support MSM<->MDM Communication over SDIO bus.
1072 MDM SDIO-Client should have pipes support.
1073
1074config MSM_SDIO_DMUX
1075 bool "SDIO Data Mux Driver"
1076 depends on MSM_SDIO_AL
1077 default n
1078 help
1079 Support Muxed Data Channels over SDIO interface.
1080
1081config MSM_BAM_DMUX
1082 bool "BAM Data Mux Driver"
1083 depends on SPS
1084 default n
1085 help
1086 Support Muxed Data Channels over BAM interface.
1087 BAM has a limited number of pipes. This driver
1088 provides a means to support more logical channels
1089 via muxing than BAM could without muxing.
1090
1091config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001092 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001093 default y
1094 bool "MSM N-WAY SMD support"
1095 help
1096 Supports APPS-QDSP SMD communication along with
1097 normal APPS-MODEM SMD communication.
1098
1099config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001100 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001101 default y
1102 bool "MSM N-WAY SMSM support"
1103 help
1104 Supports APPS-QDSP SMSM communication along with
1105 normal APPS-MODEM SMSM communication.
1106
1107config MSM_RESET_MODEM
1108 tristate "Reset Modem Driver"
1109 depends on MSM_SMD
1110 default m
1111 help
1112 Allows the user to reset the modem through a device node.
1113
1114config MSM_SMD_LOGGING
1115 depends on MSM_SMD
1116 default y
1117 bool "MSM Shared Memory Logger"
1118 help
1119 This option exposes the shared memory logger at /dev/smem_log
1120 and a debugfs node named smem_log.
1121
1122 If in doubt, say yes.
1123
1124config MSM_SMD_NMEA
1125 bool "NMEA GPS Driver"
1126 depends on MSM_SMD
1127 default y
1128 help
1129 Enable this to support the NMEA GPS device.
1130
1131 If in doubt, say yes.
1132
1133config MSM_SDIO_TTY
1134 bool "SDIO TTY Driver"
1135 depends on MSM_SDIO_AL
1136 default n
1137 help
1138 Provides a TTY driver SDIO TTY
1139 This driver can be used by user space
1140 applications for passing data through the
1141 SDIO interface.
1142
1143config MSM_SMD_TTY
1144 bool "SMD TTY Driver"
1145 depends on MSM_SMD
1146 default y
1147 help
1148 Provides TTY interfaces to interact with the modem.
1149
1150 If in doubt, say yes.
1151
1152config MSM_SMD_QMI
1153 bool "SMD QMI Driver"
1154 depends on MSM_SMD
1155 default y
1156 help
1157 Manages network data connections.
1158
1159 If in doubt, say yes.
1160
1161config MSM_SMD_PKT
1162 bool "SMD Packet Driver"
1163 depends on MSM_SMD
1164 default y
1165 help
1166 Provides a binary SMD non-muxed packet port interface.
1167
1168 If in doubt, say yes.
1169
1170config MSM_SDIO_CMUX
1171 bool "SDIO CMUX Driver"
1172 depends on MSM_SDIO_AL
1173 default n
1174 help
1175 Provides a Muxed port interface over SDIO QMI
1176
1177config MSM_DSPS
1178 bool "Sensors DSPS driver"
1179 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1180 default n
1181 help
1182 Provides user-space interface to the sensors manager
1183 to turn on/off the Sensors Processor system clocks.
1184 It is the DSPS responsibility to turn on/off the sensors
1185 themself.
1186 The number of clocks and their name may vary between targets.
1187 It also triggers the PIL to load the DSPS firmware.
1188
1189config MSM_SDIO_CTL
1190 bool "SDIO CTL Driver"
1191 depends on MSM_SDIO_CMUX
1192 default n
1193 help
1194 Provides a binary SDIO control port interface.
1195
1196config MSM_ONCRPCROUTER
1197 depends on MSM_SMD
1198 default n
1199 bool "MSM ONCRPC router support"
1200 help
1201 Support for the MSM ONCRPC router for communication between
1202 the ARM9 and ARM11
1203
1204config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001205 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001206 default n
1207 bool "MSM IPC Router support"
1208 help
1209 Support for the MSM IPC Router for communication between
1210 the APPs and the MODEM
1211
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001212config MSM_IPC_ROUTER_SMD_XPRT
1213 depends on MSM_SMD
1214 depends on MSM_IPC_ROUTER
1215 default n
1216 bool "MSM SMD XPRT Layer"
1217 help
1218 SMD Transport Layer for IPC Router
1219
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001220config MSM_ONCRPCROUTER_DEBUG
1221 depends on MSM_ONCRPCROUTER
1222 default y
1223 bool "MSM debug ONCRPC router support"
1224 help
1225 Support for debugging the ONCRPC router for communication
1226 between the ARM9 and ARM11
1227
1228config MSM_RPC_LOOPBACK_XPRT
1229 depends on MSM_ONCRPCROUTER
1230 default n
1231 bool "MSM RPC local routing support"
1232 help
1233 Support for routing RPC messages between APPS clients
1234 and APPS servers. Helps in testing APPS RPC framework.
1235
1236config MSM_RPCSERVER_TIME_REMOTE
1237 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1238 default y
1239 bool "Time remote RPC server"
1240 help
1241 The time remote server receives notification of time bases and
1242 reports these events to registered callback functions.
1243
1244config MSM_RPCSERVER_WATCHDOG
1245 depends on MSM_ONCRPCROUTER
1246 default y
1247 bool "Watchdog RPC server"
1248 help
1249 The dog_keepalive server handles watchdog events.
1250
1251config MSM_RPC_WATCHDOG
1252 depends on MSM_ONCRPCROUTER
1253 default n
1254 bool "Watchdog RPC client"
1255 help
1256 The dog_keepalive client module.
1257
1258config MSM_RPC_PING
1259 depends on MSM_ONCRPCROUTER && DEBUG_FS
1260 default m
1261 bool "MSM rpc ping"
1262 help
1263 Implements MSM rpc ping test module.
1264
1265config MSM_RPC_PROC_COMM_TEST
1266 depends on DEBUG_FS && MSM_PROC_COMM
1267 default m
1268 bool "MSM rpc proc comm test"
1269 help
1270 Implements MSM rpc proc comm test module.
1271
1272config MSM_RPC_OEM_RAPI
1273 depends on MSM_ONCRPCROUTER
1274 default m
1275 bool "MSM oem rapi"
1276 help
1277 Implements MSM oem rapi client module.
1278
1279config MSM_RPCSERVER_HANDSET
1280 depends on MSM_ONCRPCROUTER
1281 default y
1282 bool "Handset events RPC server"
1283 help
1284 Support for receiving handset events like headset detect,
1285 headset switch and clamshell state.
1286
1287config MSM_RMT_STORAGE_CLIENT
1288 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1289 default n
1290 bool "Remote Storage RPC client"
1291 help
1292 Provide RPC mechanism for remote processors to access storage
1293 device on apps processor.
1294
1295config MSM_RMT_STORAGE_CLIENT_STATS
1296 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1297 default n
1298 bool "Remote storage RPC client performance statistics"
1299 help
1300 Collects performance statistics and shows this information
1301 through a debugfs file rmt_storage_stats.
1302
1303config MSM_SDIO_SMEM
1304 depends on MSM_SDIO_AL
1305 default n
1306 bool "SDIO SMEM for remote storage"
1307 help
1308 Copies data from remote MDM9K memory to local MSM8x60
1309 memory. Used by remote storage client to shadow
1310 MDM9K filesystem.
1311
1312config MSM_DALRPC
1313 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001314 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001315 help
1316 Supports RPC calls to DAL devices on remote processor cores.
1317
1318config MSM_DALRPC_TEST
1319 tristate "DAL RPC test module"
1320 depends on (MSM_DALRPC && DEBUG_FS)
1321 default m
1322 help
1323 Exercises DAL RPC calls to QDSP6.
1324
1325if CPU_FREQ_MSM
1326
1327config MSM_CPU_FREQ_SET_MIN_MAX
1328 bool "Set Min/Max CPU frequencies."
1329 default n
1330 help
1331 Allow setting min and max CPU frequencies. Sysfs can be used
1332 to override these values.
1333
1334config MSM_CPU_FREQ_MAX
1335 int "Max CPU Frequency"
1336 depends on MSM_CPU_FREQ_SET_MIN_MAX
1337 default 384000
1338
1339config MSM_CPU_FREQ_MIN
1340 int "Min CPU Frequency"
1341 depends on MSM_CPU_FREQ_SET_MIN_MAX
1342 default 245760
1343
1344endif # CPU_FREQ_MSM
1345
1346config MSM_CPU_AVS
1347 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1348 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1349 depends on ARCH_QSD8X50
1350 default n
1351 select MSM_AVS_HW
1352 help
1353 This enables the s/w control of Adaptive Voltage Scaling feature
1354 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1355 based on feedback from three ring oscillators in the CPU.
1356
1357config MSM_AVS_HW
1358 bool "Enable Adaptive Voltage Scaling (AVS)"
1359 default n
1360 help
1361 Enable AVS hardware to fine tune voltage at each frequency. The
1362 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1363 fine tune the voltages based on the feedback from the ring
1364 oscillators.
1365
1366config MSM_HW3D
1367 tristate "MSM Hardware 3D Register Driver"
1368 depends on ANDROID_PMEM
1369 default y
1370 help
1371 Provides access to registers needed by the userspace OpenGL|ES
1372 library.
1373
1374config MSM_ADSP
1375 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1376 tristate "MSM ADSP driver"
1377 depends on ANDROID_PMEM
1378 default y
1379 help
1380 Provides access to registers needed by the userspace aDSP library.
1381
1382config ADSP_RPC_VER
1383 hex
1384 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1385 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1386 depends on MSM_ADSP
1387 help
1388 Select proper ADSP RPC version
1389choice
1390 prompt "ADSP RPC version"
1391
1392 default AMSS_7X25_VERSION_2009
1393
1394 config AMSS_7X25_VERSION_2009
1395 bool "2.0.09"
1396
1397 config AMSS_7X25_VERSION_2008
1398 bool "2.0.08"
1399endchoice
1400
1401config MSM7KV2_AUDIO
1402 bool "MSM7K v2 audio"
1403 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1404 default y
1405 help
1406 Enables QDSP5V2-based audio drivers for audio playbacks and
1407 voice call.
1408
1409config MSM_ADSP_REPORT_EVENTS
1410 bool "Report modem events from the DSP"
1411 default y
1412 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1413 help
1414 Normally, only messages from the aDSP are reported to userspace.
1415 With this option, we report events from the aDSP as well.
1416
1417config MSM_QDSP6
1418 tristate "QDSP6 support"
1419 depends on ARCH_QSD8X50 && ANDROID_PMEM
1420 default y
1421 help
1422 Enable support for qdsp6. This provides audio and video functionality.
1423
1424config MSM8X60_AUDIO
1425 tristate "MSM8X60 audio support"
1426 depends on ARCH_MSM8X60 && ANDROID_PMEM
1427 default y
1428 help
1429 Enable support for qdsp6v2. This provides audio functionality.
1430
1431config MSM8X60_FTM_AUDIO_DEVICES
1432 bool "MSM8X60 audio factory test mode support"
1433 depends on MSM8X60_AUDIO
1434 help
1435 Enable support audio factory test mode devices. This is used
1436 in a production line environment.
1437
Ben Romberger45b351c2011-07-20 22:37:27 -07001438config RTAC
1439 bool "MSM8K real-time audio calibration support"
1440 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001441 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001442 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001443 audio operation
1444
1445config MSM7X27A_AUDIO
1446 bool "MSM7X27A audio support"
1447 depends on ARCH_MSM7X27A && MSM_ADSP
1448 default n
1449 help
1450 Enable support for 7x27a. This provides audio functionality.
1451
Justin Pauporea6cd2092011-06-22 16:19:45 -07001452config MSM_PROC_COMM_REGULATOR
1453 bool
1454 depends on MSM_PROC_COMM && REGULATOR
1455 help
1456 Enable regulator framework support for regulators managed by PMLIB
1457 on the modem, and controlled through proccomm calls.
1458
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001459config MSM_VREG_SWITCH_INVERTED
1460 bool "Reverse vreg switch polarity"
1461 default n
1462 help
1463 Reverses the enable and disable for vreg switch.
1464
1465config MSM_DMA_TEST
1466 tristate "MSM DMA test module"
1467 default m
1468 help
1469 Intended to be compiled as a module. Provides a device node
1470 and ioctls for testing the MSM dma system.
1471
1472config WIFI_CONTROL_FUNC
1473 bool "Enable WiFi control function abstraction"
1474 help
1475 Enables Power/Reset/Carddetect function abstraction
1476
1477config WIFI_MEM_PREALLOC
1478 depends on WIFI_CONTROL_FUNC
1479 bool "Preallocate memory for WiFi buffers"
1480 help
1481 Preallocates memory buffers for WiFi driver
1482
1483config QSD_AUDIO
1484 bool "QSD audio"
1485 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1486 default y
1487 help
1488 Provides PCM, MP3, and AAC audio playback.
1489
1490config AUDIO_AAC_PLUS
1491 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1492 bool "AAC+ Audio"
1493 default y
1494 help
1495 Provides AAC+ decoding
1496
1497config AUDIO_ENHANCED_AAC_PLUS
1498 depends on AUDIO_AAC_PLUS
1499 bool "Enhanced AAC+ Audio"
1500 default y
1501 help
1502 Provides Enhanced AAC+ decoding
1503
1504config SURF_FFA_GPIO_KEYPAD
1505 bool "MSM SURF/FFA GPIO keypad"
1506 depends on INPUT_GPIO = "y"
1507 default y
1508 help
1509 Select if the GPIO keypad is attached.
1510
1511config MSM_SLEEP_TIME_OVERRIDE
1512 bool "Allow overriding suspend/sleep time with PM module parameter"
1513 default y
1514 help
1515 Enable the module parameter sleep_time_override. Specified
1516 in units of seconds, it overwrites the normal sleep time of
1517 suspend. The feature is required for automated power management
1518 testing.
1519
1520config MSM_MEMORY_LOW_POWER_MODE
1521 bool "Control the low power modes of memory"
1522 default n
1523 help
1524 The application processor controls whether memory should enter
1525 which low power mode.
1526
1527choice
1528 prompt "Default Memory Low Power Mode during Idle"
1529 depends on MSM_MEMORY_LOW_POWER_MODE
1530 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1531 help
1532 Selects the default low power mode of the memory during idle
1533 sleep.
1534
1535 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1536 bool "Memory active"
1537
1538 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1539 bool "Memory in retention"
1540
1541 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1542 bool "Memory in deep power down"
1543endchoice
1544
1545choice
1546 prompt "Default Memory Low Power Mode during Suspend"
1547 depends on MSM_MEMORY_LOW_POWER_MODE
1548 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1549 help
1550 Selects the default low power mode of the memory during suspend
1551 sleep.
1552
1553 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1554 bool "Memory active"
1555
1556 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1557 bool "Memory in retention"
1558
1559 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1560 bool "Memory in deep power down"
1561endchoice
1562
1563choice
1564 prompt "Power management timeout action"
1565 default MSM_PM_TIMEOUT_HALT
1566 help
1567 Selects the Application Processor's action when Power Management
1568 times out waiting for Modem's handshake.
1569
1570 config MSM_PM_TIMEOUT_HALT
1571 bool "Halt the Application Processor"
1572
1573 config MSM_PM_TIMEOUT_RESET_MODEM
1574 bool "Reset the Modem Processor"
1575
1576 config MSM_PM_TIMEOUT_RESET_CHIP
1577 bool "Reset the entire chip"
1578endchoice
1579
1580config MSM_IDLE_WAIT_ON_MODEM
1581 int "Wait for Modem to become ready for idle power collapse"
1582 default 0
1583 help
1584 If Modem is not ready to handle Application Processor's request
1585 for idle power collapse, wait the number of microseconds in case
1586 Modem becomes ready soon.
1587
Matt Wagantall9274df92011-12-15 11:11:05 -08001588config MSM_RPM_REGULATOR
1589 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001590 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001591 help
1592 Compile in support for the RPM regulator driver, used for setting
1593 voltages and other parameters of the various power rails supplied
1594 by some Qualcomm PMICs.
1595
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001596config MSM_PIL
1597 bool "Peripheral image loading"
1598 select FW_LOADER
1599 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1600 default n
1601 help
1602 Some peripherals need to be loaded into memory before they can be
1603 brought out of reset.
1604
1605 Say yes to support these devices.
1606
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001607config MSM_PIL_MODEM
1608 tristate "Modem (ARM11) Boot Support"
1609 depends on MSM_PIL
1610 help
1611 Support for booting and shutting down ARM11 Modem processors.
1612
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001613config MSM_PIL_QDSP6V3
1614 tristate "QDSP6v3 (Hexagon) Boot Support"
1615 depends on MSM_PIL
1616 help
1617 Support for booting and shutting down QDSP6v3 processors (hexagon).
1618 The QDSP6 is a low power DSP used in audio software applications.
1619
Stephen Boydeb819882011-08-29 14:46:30 -07001620config MSM_PIL_QDSP6V4
1621 tristate "QDSP6v4 (Hexagon) Boot Support"
1622 depends on MSM_PIL
1623 help
1624 Support for booting and shutting down QDSP6v4 processors (hexagon).
1625 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1626 software applications.
1627
Stephen Boyd322a9922011-09-20 01:05:54 -07001628config MSM_PIL_RIVA
1629 tristate "RIVA (WCNSS) Boot Support"
1630 depends on MSM_PIL
1631 help
1632 Support for booting and shutting down the RIVA processor (WCNSS).
1633 Riva is the wireless subsystem processor used in bluetooth, wireless
1634 LAN, and FM software applications.
1635
Stephen Boydd89eebe2011-09-28 23:28:11 -07001636config MSM_PIL_TZAPPS
1637 tristate "TZApps Boot Support"
1638 depends on MSM_PIL
1639 help
1640 Support for booting and shutting down TZApps.
1641
1642 TZApps is an image that runs in the secure processor state. It is
1643 used to decrypt data and perform secure operations on the behalf of
1644 the kernel.
1645
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001646config MSM_SCM
1647 bool "Secure Channel Manager (SCM) support"
1648 default n
1649
1650config MSM_SUBSYSTEM_RESTART
1651 bool "MSM Subsystem Restart Driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001652 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001653 default n
1654 help
1655 This option enables the MSM subsystem restart driver, which provides
1656 a framework to handle subsystem crashes.
1657
Matt Wagantallf8020902011-08-30 21:19:23 -07001658config MSM_SYSMON_COMM
1659 bool "MSM System Monitor communication support"
1660 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1661 default y
1662 help
1663 This option adds support for MSM System Monitor library, which
1664 provides an API that may be used for notifying subsystems within
1665 the SoC about other subsystems' power-up/down state-changes.
1666
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001667config MSM_MODEM_8960
1668 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001669 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001670 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001671 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001672 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001673 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001674
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001675config MSM_LPASS_8960
1676 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001677 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001678 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001679 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001680 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001681 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001682
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001683config MSM_WCNSS_SSR_8960
1684 tristate "MSM 8960 WCNSS restart module"
1685 depends on (ARCH_MSM8960)
1686 help
1687 This option enables the WCNSS restart module for MSM8960, which
1688 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1689 into the subsystem restart framework.
1690
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001691config SCORPION_Uni_45nm_BUG
1692 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1693 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1694 default y
1695 help
1696 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1697 invalidating the Branch Predictor Array by Modified Virtual Address can
1698 create invalid entries in the TLB with the wrong ASID values on Scorpion
1699 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1700 workaround for Scorpion Uniprocessor 45nm cores.
1701
1702 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1703
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001704config MSM_BUSPM_DEV
1705 tristate "MSM Bus Performance Monitor Kernel Module"
1706 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1707 default m
1708 help
1709 This kernel module is used to mmap() hardware registers for the
1710 performance monitors, counters, etc. The module can also be used to
1711 allocate physical memory which is used by bus performance hardware to
1712 dump performance data.
1713
Mona Hossain11c03ac2011-10-26 12:42:10 -07001714config MSM_TZ_LOG
1715 tristate "MSM Trust Zone (TZ) Log Driver"
1716 depends on DEBUG_FS
1717 help
1718 This option enables a driver with a debugfs interface for messages
1719 produced by the Secure code (Trust zone). These messages provide
1720 diagnostic information about TZ operation.
1721
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001722config MSM_RPM_LOG
1723 tristate "MSM Resource Power Manager Log Driver"
1724 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001725 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001726 default n
1727 help
1728 This option enables a driver which can read from a circular buffer
1729 of messages produced by the RPM. These messages provide diagnostic
1730 information about RPM operation. The driver outputs the messages
1731 via a debugfs node.
1732
1733config MSM_RPM_STATS_LOG
1734 tristate "MSM Resource Power Manager Stat Driver"
1735 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001736 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001737 default n
1738 help
1739 This option enables a driver which reads RPM messages from a shared
1740 memory location. These messages provide statistical information about
1741 the low power modes that RPM enters. The drivers outputs the message
1742 via a debugfs node.
1743
1744config MSM_IOMMU
1745 bool "MSM IOMMU Support"
Joel King41d594e2011-10-14 13:18:20 -07001746 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_APQ8064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001747 select IOMMU_API
1748 default n
1749 help
1750 Support for the IOMMUs found on certain Qualcomm SOCs.
1751 These IOMMUs allow virtualization of the address space used by most
1752 cores within the multimedia subsystem.
1753
1754 If unsure, say N here.
1755
1756config IOMMU_PGTABLES_L2
1757 bool "Allow SMMU page tables in the L2 cache (Experimental)"
1758 depends on MSM_IOMMU=y
1759 depends on MMU
1760 depends on CPU_DCACHE_DISABLE=n
1761 depends on SMP
1762 default y
1763 help
1764 Improves TLB miss latency at the expense of potential L2 pollution.
1765 However, with large multimedia buffers, the TLB should mostly contain
1766 section mappings and TLB misses should be quite infrequent.
1767 Most people can probably say Y here.
1768
1769config MSM_DIRECT_SCLK_ACCESS
1770 bool "Direct access to the SCLK timer"
1771 default n
1772
1773config IOMMU_API
1774 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001775
Gregory Beanab78cde2010-09-01 16:26:12 -07001776config MSM_GPIOMUX
1777 bool
1778
Gregory Bean1963a2a2010-08-28 10:05:44 -07001779config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001780 bool
1781
1782config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07001783 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001784
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001785config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001786 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001787
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001788config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001789 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001790
1791config MSM_BUS_SCALING
1792 bool "Bus scaling driver"
1793 default n
1794
Gagan Mac85c70492011-06-10 16:07:47 -06001795config MSM_BUS_RPM_MULTI_TIER_ENABLED
1796 bool "RPM Multi-tiering Configuration"
1797 depends on MSM_BUS_SCALING
1798
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001799config MSM_WATCHDOG
1800 bool "MSM Watchdog Support"
Rohit Vaswani085a9332011-09-28 18:57:24 -07001801 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001802 help
1803 This enables the watchdog as is present on 8x60. Currently we use
1804 core 0's watchdog, and reset the entire SoC if it times out. It does
1805 not run during the bootup process, so it will not catch any early
1806 lockups.
1807
1808config MSM_DLOAD_MODE
1809 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07001810 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001811 default n
1812 help
1813 This makes the SoC enter download mode when it resets
1814 due to a kernel panic. Note that this doesn't by itself
1815 make the kernel reboot on a kernel panic - that must be
1816 enabled via another mechanism.
1817
Pratik Patel17f3b822011-11-21 12:41:47 -08001818config MSM_JTAG
1819 bool "JTAG debug and trace support"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001820 help
Pratik Patel17f3b822011-11-21 12:41:47 -08001821 Add additional support for JTAG kernel debugging and tracing.
Pratik Patel7831c082011-06-08 21:44:37 -07001822
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001823config MSM_ETM
1824 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08001825 depends on ARCH_MSM8X60
1826 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001827 help
Pratik Patel17f3b822011-11-21 12:41:47 -08001828 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07001829
1830config MSM_QDSS
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001831 bool "Qualcomm Debug Subsystem"
Pratik Patel17f3b822011-11-21 12:41:47 -08001832 select MSM_JTAG
Pratik Patel7831c082011-06-08 21:44:37 -07001833 help
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001834 Enables support for Qualcomm Debug Subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001835
Pratik Patel29cba152012-01-03 11:40:26 -08001836config MSM_QDSS_ETM_DEFAULT_ENABLE
1837 bool "Turn on QDSS ETM Tracing by Default"
1838 depends on MSM_QDSS
1839 help
1840 Turns on QDSS ETM tracing by default. Otherwise, tracing is
1841 disabled by default but can be enabled by other means.
1842
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001843config MSM_SLEEP_STATS
1844 bool "Enable exporting of MSM sleep stats to userspace"
1845 depends on CPU_IDLE
1846 default n
1847
Lynus Vazdde09ee2012-01-05 13:28:22 +05301848config MSM_SLEEP_STATS_DEVICE
1849 bool "Enable exporting of MSM sleep device stats to userspace"
1850
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001851config MSM_STANDALONE_POWER_COLLAPSE
1852 bool "Enable standalone power collapse"
1853 default n
1854
1855config MSM_GSBI9_UART
1856 bool "Enable GSBI9 UART device"
1857 default n
1858 help
1859 This enables GSBI9 configured into UART.
1860
1861config MSM_SHARED_GPIO_FOR_UART2DM
1862 bool "Use shared GPIOs into UART mode"
1863 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
1864 help
1865 This option configures GPIO muxed with SDC4/MMC3
1866 8-bit mode into UART mode. It is used for serial
1867 console on UART2DM. Say Y if you want to have
1868 serial console on UART2DM.
1869
1870config MSM_SHOW_RESUME_IRQ
1871 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08001872 depends on (ARM_GIC || PMIC8058)
1873 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001874 default n
1875 help
1876 This option logs wake up interrupts that have triggered just before
1877 the resume loop unrolls. Say Y if you want to debug why the system
1878 resumed.
1879
1880config BT_MSM_PINTEST
1881 tristate "MSM Bluetooth Pin Connectivity Test"
1882 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
1883 default n
1884 help
1885 Bluetooth MSM Pin Connectivity test module.
1886 This driver provides support for verifying the MSM to BT pin
1887 connectivity.
1888
1889config MSM_FAKE_BATTERY
1890 depends on POWER_SUPPLY
1891 default n
1892 bool "MSM Fake Battery"
1893 help
1894 Enables MSM fake battery driver.
1895
1896config MSM_QDSP6_APR
1897 bool "Audio QDSP6 APR support"
1898 depends on MSM_SMD
1899 default n
1900 help
1901 Enable APR IPC protocol support between
1902 application processor and QDSP6. APR is
1903 used by audio driver to configure QDSP6's
1904 ASM, ADM and AFE.
1905
1906
1907config MSM_AUDIO_QDSP6
1908 bool "QDSP6 HW Audio support"
1909 select SND_SOC_MSM_QDSP6_INTF
1910 default n
1911 help
1912 Enable HW audio support in QDSP6.
1913 QDSP6 can support HW encoder & decoder and audio processing
1914
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02001915config MSM_ULTRASOUND
1916 bool "MSM ultrasound support"
1917 depends on MSM_AUDIO_QDSP6
1918 help
1919 Enable support for qdsp6/ultrasound.
1920
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001921config MSM_RPC_VIBRATOR
1922 bool "RPC based MSM Vibrator Support"
1923 depends on MSM_ONCRPCROUTER
1924 help
1925 Enable the vibrator support on MSM over RPC. The vibrator
1926 is connected on the PMIC. Say Y if you want to enable this
1927 feature.
1928
1929config PM8XXX_RPC_VIBRATOR
1930 bool "RPC based Vibrator on PM8xxx PMICs"
1931 depends on MSM_RPC_VIBRATOR
1932 help
1933 Enable the vibrator support on MSM over RPC. The vibrator
1934 is connected on the PM8XXX PMIC. Say Y if you want to enable
1935 this feature.
1936
1937config MSM_SPM_V1
1938 bool "Driver support for SPM Version 1"
1939 help
1940 Enables the support for Version 1 of the SPM driver. SPM hardware is
1941 used to manage the processor power during sleep. The driver allows
1942 configuring SPM to allow different power modes.
1943
1944config MSM_SPM_V2
1945 bool "Driver support for SPM Version 2"
1946 help
1947 Enables the support for Version 2 of the SPM driver. SPM hardware is
1948 used to manage the processor power during sleep. The driver allows
1949 configuring SPM to allow different power modes.
1950
1951config MSM_L2_SPM
1952 bool "SPM support for L2 cache"
1953 depends on MSM_SPM_V2
1954 help
1955 Enable SPM driver support for L2 cache. Some MSM chipsets allow
1956 control of L2 cache low power mode with a Subsystem Power manager.
1957 Enabling this driver allows configuring L2 SPM for low power modes
1958 on supported chipsets.
1959
Laura Abbott2d1760b2011-09-29 21:31:24 -07001960config MSM_MULTIMEDIA_USE_ION
1961 bool "Multimedia suport using Ion"
1962 depends on ION_MSM
1963 help
1964 Enable support for multimedia drivers using Ion for buffer management
1965 instead of pmem. Selecting this may also involve userspace
1966 dependencies as well.
1967
Brian Swetland9e73c842007-11-26 04:12:13 -08001968endif