blob: d311962c1cbc800cec2c0d77b62a9e33b4a6de9a [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
Daniel Walkerbf83de42010-03-16 16:29:44 -070033
Daniel Walker7b521612010-05-06 12:44:57 -070034config ARCH_MSM7X30
35 bool "MSM7x30"
36 select ARCH_MSM_SCORPION
Daniel Walker7b521612010-05-06 12:44:57 -070037 select MSM_VIC
38 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070039 select MSM_REMOTE_SPINLOCK_DEKKERS
40 select ARCH_SPARSEMEM_ENABLE
Laura Abbott78593b52011-09-26 18:48:14 -070041 select ARCH_HAS_HOLES_MEMORYMODEL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070042 select MEMORY_HOTPLUG
43 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -080044 select ARCH_ENABLE_MEMORY_HOTPLUG
45 select ARCH_ENABLE_MEMORY_HOTREMOVE
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070046 select MIGRATION
47 select ARCH_MEMORY_PROBE
48 select ARCH_MEMORY_REMOVE
Gregory Beanab78cde2010-09-01 16:26:12 -070049 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070050 select RESERVE_FIRST_PAGE
51 select MSM_DALRPC
52 select MSM_SPM_V1
53 select REGULATOR
Justin Paupore637a25d2011-07-14 17:11:04 -070054 select MSM_PROC_COMM_REGULATOR
Taniya Dasbae99fb2011-10-12 09:55:13 +053055 select MULTI_IRQ_HANDLER
Daniel Walker7b521612010-05-06 12:44:57 -070056
Daniel Walker4ad15e62010-05-06 13:54:17 -070057config ARCH_QSD8X50
58 bool "QSD8X50"
59 select ARCH_MSM_SCORPION
Daniel Walker4ad15e62010-05-06 13:54:17 -070060 select MSM_VIC
61 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070062 select MSM_REMOTE_SPINLOCK_LDREX
63 select CPU_USE_DOMAINS
64 select EMULATE_DOMAIN_MANAGER_V7
Gregory Beanab78cde2010-09-01 16:26:12 -070065 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070066 select MSM_DALRPC
Daniel Walker46fe5f22010-08-18 11:00:25 -070067
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070068config ARCH_MSM8X60
69 bool "MSM8X60"
Jeff Ohlsteine14411d2010-11-30 13:06:36 -080070 select ARCH_MSM_SCORPIONMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070071 select SMP_PARALLEL_START if SMP
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070072 select ARM_GIC
73 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070074 select MSM_REMOTE_SPINLOCK_LDREX
75 select ARCH_REQUIRE_GPIOLIB
76 select MSM_ADM3
77 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -080078 select MSM_RPM_REGULATOR
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070079 select MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070080 select MSM_PIL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070081 select ARCH_HAS_CPU_IDLE_WAIT
82 select MSM_DIRECT_SCLK_ACCESS
83 select MSM_RPM
84 select MSM_XO
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070085 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070086 select MSM_BUS_SCALING
87 select MSM_SECURE_IO
88 select MSM_DALRPC
89 select MSM_QDSP6_APR
90 select MSM_NATIVE_RESTART
91 select ARCH_INLINE_SPIN_TRYLOCK
92 select ARCH_INLINE_SPIN_TRYLOCK_BH
93 select ARCH_INLINE_SPIN_LOCK
94 select ARCH_INLINE_SPIN_LOCK_BH
95 select ARCH_INLINE_SPIN_LOCK_IRQ
96 select ARCH_INLINE_SPIN_LOCK_IRQSAVE
97 select ARCH_INLINE_SPIN_UNLOCK
98 select ARCH_INLINE_SPIN_UNLOCK_BH
99 select ARCH_INLINE_SPIN_UNLOCK_IRQ
100 select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
101 select ARCH_INLINE_READ_TRYLOCK
102 select ARCH_INLINE_READ_LOCK
103 select ARCH_INLINE_READ_LOCK_BH
104 select ARCH_INLINE_READ_LOCK_IRQ
105 select ARCH_INLINE_READ_LOCK_IRQSAVE
106 select ARCH_INLINE_READ_UNLOCK
107 select ARCH_INLINE_READ_UNLOCK_BH
108 select ARCH_INLINE_READ_UNLOCK_IRQ
109 select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
110 select ARCH_INLINE_WRITE_TRYLOCK
111 select ARCH_INLINE_WRITE_LOCK
112 select ARCH_INLINE_WRITE_LOCK_BH
113 select ARCH_INLINE_WRITE_LOCK_IRQ
114 select ARCH_INLINE_WRITE_LOCK_IRQSAVE
115 select ARCH_INLINE_WRITE_UNLOCK
116 select ARCH_INLINE_WRITE_UNLOCK_BH
117 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
118 select CPU_HAS_L2_PMU
119 select MSM_SPM_V1
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530120 select MSM_SCM if SMP
121 select MULTI_IRQ_HANDLER
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700122
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800123config ARCH_MSM8960
124 bool "MSM8960"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700125 select ARCH_MSM_KRAITMP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800126 select ARM_GIC
127 select CPU_V7
128 select MSM_V2_TLMM
129 select MSM_GPIOMUX
130 select MSM_SCM if SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700131 select MSM_DIRECT_SCLK_ACCESS
132 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -0800133 select MSM_RPM_REGULATOR
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700134 select MSM_RPM
135 select MSM_XO
136 select MSM_QDSP6_APR
137 select MSM_PIL
138 select MSM_AUDIO_QDSP6 if SND_SOC
139 select CPU_HAS_L2_PMU
140 select MSM_SPM_V2
Pratik Patelfd6f56a2011-10-10 17:47:55 -0700141 select HAS_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700142 select MSM_L2_SPM
143 select MSM_NATIVE_RESTART
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700144 select DONT_MAP_HOLE_AFTER_MEMBANK0
145 select MSM_REMOTE_SPINLOCK_SFPB
146 select ARCH_POPULATES_NODE_MAP
147 select ARCH_SPARSEMEM_ENABLE
148 select ARCH_HAS_HOLES_MEMORYMODEL
149 select MEMORY_HOTPLUG
150 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -0800151 select ARCH_ENABLE_MEMORY_HOTPLUG
152 select ARCH_ENABLE_MEMORY_HOTREMOVE
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700153 select MIGRATION
154 select ARCH_MEMORY_PROBE
155 select ARCH_MEMORY_REMOVE
Larry Bassel4dc15912011-10-14 11:01:43 -0700156 select FIX_MOVABLE_ZONE
Larry Basseld4d82c92011-12-07 09:52:49 -0800157 select CLEANCACHE
158 select QCACHE
Laura Abbott6d61a912011-10-27 16:44:14 -0700159 select MSM_MULTIMEDIA_USE_ION
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530160 select MULTI_IRQ_HANDLER
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700161
162config ARCH_MSM8930
163 bool "MSM8930"
164 select ARCH_MSM_KRAITMP
165 select ARM_GIC
166 select CPU_V7
167 select MSM_V2_TLMM
168 select MSM_GPIOMUX
169 select MSM_SCM if SMP
170 select MSM_DIRECT_SCLK_ACCESS
171 select REGULATOR
172 select MSM_RPM
173 select MSM_XO
174 select MSM_QDSP6_APR
175 select MSM_PIL
176 select MSM_AUDIO_QDSP6 if SND_SOC
177 select CPU_HAS_L2_PMU
178 select MSM_SPM_V2
179 select MSM_L2_SPM
180 select MSM_NATIVE_RESTART
181 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600182 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700183 select ARCH_POPULATES_NODE_MAP
184 select ARCH_SPARSEMEM_ENABLE
185 select ARCH_HAS_HOLES_MEMORYMODEL
186 select MEMORY_HOTPLUG
187 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -0800188 select ARCH_ENABLE_MEMORY_HOTPLUG
189 select ARCH_ENABLE_MEMORY_HOTREMOVE
Larry Basself74479e2011-09-08 11:07:52 -0700190 select MIGRATION
191 select ARCH_MEMORY_PROBE
192 select ARCH_MEMORY_REMOVE
Larry Bassel4dc15912011-10-14 11:01:43 -0700193 select FIX_MOVABLE_ZONE
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +0200194 select MSM_ULTRASOUND
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530195 select MULTI_IRQ_HANDLER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700196
197config ARCH_APQ8064
198 bool "APQ8064"
199 select ARCH_MSM_KRAITMP
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700200 select MACH_APQ8064_SIM if !MACH_APQ8064_RUMI3
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700201 select MSM_V2_TLMM
202 select ARM_GIC
203 select CPU_V7
204 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700205 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600206 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800207 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800208 select MSM_QDSP6_APR
209 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530210 select MULTI_IRQ_HANDLER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700211
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700212config ARCH_MSMCOPPER
213 bool "MSM Copper"
214 select ARCH_MSM_KRAITMP
215 select MSM_V2_TLMM
216 select ARM_GIC
217 select CPU_V7
218 select MSM_SCM if SMP
219 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530220 select MULTI_IRQ_HANDLER
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700221
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700222config ARCH_FSM9XXX
223 bool "FSM9XXX"
224 select ARCH_MSM_SCORPION
225 select MSM_VIC
226 select CPU_V7
227 select MSM_REMOTE_SPINLOCK_LDREX
228 select FSM9XXX_TLMM
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530229 select MULTI_IRQ_HANDLER
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800230
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700231config ARCH_MSM9615
232 bool "MSM9615"
233 select ARM_GIC
234 select ARCH_MSM_CORTEX_A5
235 select CPU_V7
236 select MSM_V2_TLMM
237 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600238 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600239 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700240 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800241 select REGULATOR
242 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530243 select MULTI_IRQ_HANDLER
Matt Wagantall9274df92011-12-15 11:11:05 -0800244
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700245endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700246
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700247choice
248 prompt "MSM SoC Revision"
249 default MSM_SOC_REV_NONE
250config MSM_SOC_REV_NONE
251 bool "N/A"
252 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
253 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walker4ad15e62010-05-06 13:54:17 -0700254config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700255 bool "Rev. A"
256 select ARCH_MSM7X27A if ARCH_MSM7X27
257endchoice
Daniel Walker4ad15e62010-05-06 13:54:17 -0700258
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700259config MSM_KRAIT_TBB_ABORT_HANDLER
260 bool "Krait TBB/TBH data abort handler"
261 depends on ARCH_MSM_KRAIT
262 depends on ARM_THUMB
263 help
264 Certain early samples of the Krait processor may generate data
265 aborts for TBB / TBH instructions that fail their condition code
266 checks. Enabling this option will ignore these erroneous data aborts,
267 at the expense of a very small performance penalty.
268
269 If unsure, say N.
270
Daniel Walker4ad15e62010-05-06 13:54:17 -0700271config ARCH_MSM_ARM11
272 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700273
Daniel Walker4ad15e62010-05-06 13:54:17 -0700274config ARCH_MSM_SCORPION
Daniel Walkerbf83de42010-03-16 16:29:44 -0700275 bool
276
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700277config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700278 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800279 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700280
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700281config MSM_SMP
282 bool
283
284config ARCH_MSM_SCORPIONMP
285 select ARCH_MSM_SCORPION
286 select MSM_SMP
287 bool
288
289config ARCH_MSM_KRAITMP
290 select ARCH_MSM_KRAIT
291 select MSM_SMP
292 bool
293
294config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800295 select PERF_EVENTS
296 select HAVE_HW_BREAKPOINT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700297 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800298 bool
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"
1314 depends on ARCH_MSM_SCORPION || ARCH_MSM_KRAIT
1315 default y
1316 help
1317 Supports RPC calls to DAL devices on remote processor cores.
1318
1319config MSM_DALRPC_TEST
1320 tristate "DAL RPC test module"
1321 depends on (MSM_DALRPC && DEBUG_FS)
1322 default m
1323 help
1324 Exercises DAL RPC calls to QDSP6.
1325
1326if CPU_FREQ_MSM
1327
1328config MSM_CPU_FREQ_SET_MIN_MAX
1329 bool "Set Min/Max CPU frequencies."
1330 default n
1331 help
1332 Allow setting min and max CPU frequencies. Sysfs can be used
1333 to override these values.
1334
1335config MSM_CPU_FREQ_MAX
1336 int "Max CPU Frequency"
1337 depends on MSM_CPU_FREQ_SET_MIN_MAX
1338 default 384000
1339
1340config MSM_CPU_FREQ_MIN
1341 int "Min CPU Frequency"
1342 depends on MSM_CPU_FREQ_SET_MIN_MAX
1343 default 245760
1344
1345endif # CPU_FREQ_MSM
1346
1347config MSM_CPU_AVS
1348 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1349 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1350 depends on ARCH_QSD8X50
1351 default n
1352 select MSM_AVS_HW
1353 help
1354 This enables the s/w control of Adaptive Voltage Scaling feature
1355 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1356 based on feedback from three ring oscillators in the CPU.
1357
1358config MSM_AVS_HW
1359 bool "Enable Adaptive Voltage Scaling (AVS)"
1360 default n
1361 help
1362 Enable AVS hardware to fine tune voltage at each frequency. The
1363 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1364 fine tune the voltages based on the feedback from the ring
1365 oscillators.
1366
1367config MSM_HW3D
1368 tristate "MSM Hardware 3D Register Driver"
1369 depends on ANDROID_PMEM
1370 default y
1371 help
1372 Provides access to registers needed by the userspace OpenGL|ES
1373 library.
1374
1375config MSM_ADSP
1376 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1377 tristate "MSM ADSP driver"
1378 depends on ANDROID_PMEM
1379 default y
1380 help
1381 Provides access to registers needed by the userspace aDSP library.
1382
1383config ADSP_RPC_VER
1384 hex
1385 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1386 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1387 depends on MSM_ADSP
1388 help
1389 Select proper ADSP RPC version
1390choice
1391 prompt "ADSP RPC version"
1392
1393 default AMSS_7X25_VERSION_2009
1394
1395 config AMSS_7X25_VERSION_2009
1396 bool "2.0.09"
1397
1398 config AMSS_7X25_VERSION_2008
1399 bool "2.0.08"
1400endchoice
1401
1402config MSM7KV2_AUDIO
1403 bool "MSM7K v2 audio"
1404 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1405 default y
1406 help
1407 Enables QDSP5V2-based audio drivers for audio playbacks and
1408 voice call.
1409
1410config MSM_ADSP_REPORT_EVENTS
1411 bool "Report modem events from the DSP"
1412 default y
1413 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1414 help
1415 Normally, only messages from the aDSP are reported to userspace.
1416 With this option, we report events from the aDSP as well.
1417
1418config MSM_QDSP6
1419 tristate "QDSP6 support"
1420 depends on ARCH_QSD8X50 && ANDROID_PMEM
1421 default y
1422 help
1423 Enable support for qdsp6. This provides audio and video functionality.
1424
1425config MSM8X60_AUDIO
1426 tristate "MSM8X60 audio support"
1427 depends on ARCH_MSM8X60 && ANDROID_PMEM
1428 default y
1429 help
1430 Enable support for qdsp6v2. This provides audio functionality.
1431
1432config MSM8X60_FTM_AUDIO_DEVICES
1433 bool "MSM8X60 audio factory test mode support"
1434 depends on MSM8X60_AUDIO
1435 help
1436 Enable support audio factory test mode devices. This is used
1437 in a production line environment.
1438
Ben Romberger45b351c2011-07-20 22:37:27 -07001439config RTAC
1440 bool "MSM8K real-time audio calibration support"
1441 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001442 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001443 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001444 audio operation
1445
1446config MSM7X27A_AUDIO
1447 bool "MSM7X27A audio support"
1448 depends on ARCH_MSM7X27A && MSM_ADSP
1449 default n
1450 help
1451 Enable support for 7x27a. This provides audio functionality.
1452
Justin Pauporea6cd2092011-06-22 16:19:45 -07001453config MSM_PROC_COMM_REGULATOR
1454 bool
1455 depends on MSM_PROC_COMM && REGULATOR
1456 help
1457 Enable regulator framework support for regulators managed by PMLIB
1458 on the modem, and controlled through proccomm calls.
1459
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001460config MSM_VREG_SWITCH_INVERTED
1461 bool "Reverse vreg switch polarity"
1462 default n
1463 help
1464 Reverses the enable and disable for vreg switch.
1465
1466config MSM_DMA_TEST
1467 tristate "MSM DMA test module"
1468 default m
1469 help
1470 Intended to be compiled as a module. Provides a device node
1471 and ioctls for testing the MSM dma system.
1472
1473config WIFI_CONTROL_FUNC
1474 bool "Enable WiFi control function abstraction"
1475 help
1476 Enables Power/Reset/Carddetect function abstraction
1477
1478config WIFI_MEM_PREALLOC
1479 depends on WIFI_CONTROL_FUNC
1480 bool "Preallocate memory for WiFi buffers"
1481 help
1482 Preallocates memory buffers for WiFi driver
1483
1484config QSD_AUDIO
1485 bool "QSD audio"
1486 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1487 default y
1488 help
1489 Provides PCM, MP3, and AAC audio playback.
1490
1491config AUDIO_AAC_PLUS
1492 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1493 bool "AAC+ Audio"
1494 default y
1495 help
1496 Provides AAC+ decoding
1497
1498config AUDIO_ENHANCED_AAC_PLUS
1499 depends on AUDIO_AAC_PLUS
1500 bool "Enhanced AAC+ Audio"
1501 default y
1502 help
1503 Provides Enhanced AAC+ decoding
1504
1505config SURF_FFA_GPIO_KEYPAD
1506 bool "MSM SURF/FFA GPIO keypad"
1507 depends on INPUT_GPIO = "y"
1508 default y
1509 help
1510 Select if the GPIO keypad is attached.
1511
1512config MSM_SLEEP_TIME_OVERRIDE
1513 bool "Allow overriding suspend/sleep time with PM module parameter"
1514 default y
1515 help
1516 Enable the module parameter sleep_time_override. Specified
1517 in units of seconds, it overwrites the normal sleep time of
1518 suspend. The feature is required for automated power management
1519 testing.
1520
1521config MSM_MEMORY_LOW_POWER_MODE
1522 bool "Control the low power modes of memory"
1523 default n
1524 help
1525 The application processor controls whether memory should enter
1526 which low power mode.
1527
1528choice
1529 prompt "Default Memory Low Power Mode during Idle"
1530 depends on MSM_MEMORY_LOW_POWER_MODE
1531 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1532 help
1533 Selects the default low power mode of the memory during idle
1534 sleep.
1535
1536 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1537 bool "Memory active"
1538
1539 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1540 bool "Memory in retention"
1541
1542 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1543 bool "Memory in deep power down"
1544endchoice
1545
1546choice
1547 prompt "Default Memory Low Power Mode during Suspend"
1548 depends on MSM_MEMORY_LOW_POWER_MODE
1549 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1550 help
1551 Selects the default low power mode of the memory during suspend
1552 sleep.
1553
1554 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1555 bool "Memory active"
1556
1557 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1558 bool "Memory in retention"
1559
1560 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1561 bool "Memory in deep power down"
1562endchoice
1563
1564choice
1565 prompt "Power management timeout action"
1566 default MSM_PM_TIMEOUT_HALT
1567 help
1568 Selects the Application Processor's action when Power Management
1569 times out waiting for Modem's handshake.
1570
1571 config MSM_PM_TIMEOUT_HALT
1572 bool "Halt the Application Processor"
1573
1574 config MSM_PM_TIMEOUT_RESET_MODEM
1575 bool "Reset the Modem Processor"
1576
1577 config MSM_PM_TIMEOUT_RESET_CHIP
1578 bool "Reset the entire chip"
1579endchoice
1580
1581config MSM_IDLE_WAIT_ON_MODEM
1582 int "Wait for Modem to become ready for idle power collapse"
1583 default 0
1584 help
1585 If Modem is not ready to handle Application Processor's request
1586 for idle power collapse, wait the number of microseconds in case
1587 Modem becomes ready soon.
1588
Matt Wagantall9274df92011-12-15 11:11:05 -08001589config MSM_RPM_REGULATOR
1590 bool "RPM regulator driver"
1591 depends on RPM && REGULATOR
1592 help
1593 Compile in support for the RPM regulator driver, used for setting
1594 voltages and other parameters of the various power rails supplied
1595 by some Qualcomm PMICs.
1596
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001597config MSM_PIL
1598 bool "Peripheral image loading"
1599 select FW_LOADER
1600 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1601 default n
1602 help
1603 Some peripherals need to be loaded into memory before they can be
1604 brought out of reset.
1605
1606 Say yes to support these devices.
1607
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001608config MSM_PIL_MODEM
1609 tristate "Modem (ARM11) Boot Support"
1610 depends on MSM_PIL
1611 help
1612 Support for booting and shutting down ARM11 Modem processors.
1613
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001614config MSM_PIL_QDSP6V3
1615 tristate "QDSP6v3 (Hexagon) Boot Support"
1616 depends on MSM_PIL
1617 help
1618 Support for booting and shutting down QDSP6v3 processors (hexagon).
1619 The QDSP6 is a low power DSP used in audio software applications.
1620
Stephen Boydeb819882011-08-29 14:46:30 -07001621config MSM_PIL_QDSP6V4
1622 tristate "QDSP6v4 (Hexagon) Boot Support"
1623 depends on MSM_PIL
1624 help
1625 Support for booting and shutting down QDSP6v4 processors (hexagon).
1626 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1627 software applications.
1628
Stephen Boyd322a9922011-09-20 01:05:54 -07001629config MSM_PIL_RIVA
1630 tristate "RIVA (WCNSS) Boot Support"
1631 depends on MSM_PIL
1632 help
1633 Support for booting and shutting down the RIVA processor (WCNSS).
1634 Riva is the wireless subsystem processor used in bluetooth, wireless
1635 LAN, and FM software applications.
1636
Stephen Boydd89eebe2011-09-28 23:28:11 -07001637config MSM_PIL_TZAPPS
1638 tristate "TZApps Boot Support"
1639 depends on MSM_PIL
1640 help
1641 Support for booting and shutting down TZApps.
1642
1643 TZApps is an image that runs in the secure processor state. It is
1644 used to decrypt data and perform secure operations on the behalf of
1645 the kernel.
1646
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001647config MSM_SCM
1648 bool "Secure Channel Manager (SCM) support"
1649 default n
1650
1651config MSM_SUBSYSTEM_RESTART
1652 bool "MSM Subsystem Restart Driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001653 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001654 default n
1655 help
1656 This option enables the MSM subsystem restart driver, which provides
1657 a framework to handle subsystem crashes.
1658
Matt Wagantallf8020902011-08-30 21:19:23 -07001659config MSM_SYSMON_COMM
1660 bool "MSM System Monitor communication support"
1661 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1662 default y
1663 help
1664 This option adds support for MSM System Monitor library, which
1665 provides an API that may be used for notifying subsystems within
1666 the SoC about other subsystems' power-up/down state-changes.
1667
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001668config MSM_MODEM_8960
1669 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001670 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001671 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001672 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001673 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001674 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001675
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001676config MSM_LPASS_8960
1677 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001678 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001679 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001680 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001681 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001682 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001683
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001684config MSM_WCNSS_SSR_8960
1685 tristate "MSM 8960 WCNSS restart module"
1686 depends on (ARCH_MSM8960)
1687 help
1688 This option enables the WCNSS restart module for MSM8960, which
1689 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1690 into the subsystem restart framework.
1691
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001692config SCORPION_Uni_45nm_BUG
1693 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1694 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1695 default y
1696 help
1697 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1698 invalidating the Branch Predictor Array by Modified Virtual Address can
1699 create invalid entries in the TLB with the wrong ASID values on Scorpion
1700 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1701 workaround for Scorpion Uniprocessor 45nm cores.
1702
1703 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1704
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001705config MSM_BUSPM_DEV
1706 tristate "MSM Bus Performance Monitor Kernel Module"
1707 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1708 default m
1709 help
1710 This kernel module is used to mmap() hardware registers for the
1711 performance monitors, counters, etc. The module can also be used to
1712 allocate physical memory which is used by bus performance hardware to
1713 dump performance data.
1714
Mona Hossain11c03ac2011-10-26 12:42:10 -07001715config MSM_TZ_LOG
1716 tristate "MSM Trust Zone (TZ) Log Driver"
1717 depends on DEBUG_FS
1718 help
1719 This option enables a driver with a debugfs interface for messages
1720 produced by the Secure code (Trust zone). These messages provide
1721 diagnostic information about TZ operation.
1722
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001723config MSM_RPM_LOG
1724 tristate "MSM Resource Power Manager Log Driver"
1725 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001726 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001727 default n
1728 help
1729 This option enables a driver which can read from a circular buffer
1730 of messages produced by the RPM. These messages provide diagnostic
1731 information about RPM operation. The driver outputs the messages
1732 via a debugfs node.
1733
1734config MSM_RPM_STATS_LOG
1735 tristate "MSM Resource Power Manager Stat Driver"
1736 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001737 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001738 default n
1739 help
1740 This option enables a driver which reads RPM messages from a shared
1741 memory location. These messages provide statistical information about
1742 the low power modes that RPM enters. The drivers outputs the message
1743 via a debugfs node.
1744
1745config MSM_IOMMU
1746 bool "MSM IOMMU Support"
Joel King41d594e2011-10-14 13:18:20 -07001747 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_APQ8064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001748 select IOMMU_API
1749 default n
1750 help
1751 Support for the IOMMUs found on certain Qualcomm SOCs.
1752 These IOMMUs allow virtualization of the address space used by most
1753 cores within the multimedia subsystem.
1754
1755 If unsure, say N here.
1756
1757config IOMMU_PGTABLES_L2
1758 bool "Allow SMMU page tables in the L2 cache (Experimental)"
1759 depends on MSM_IOMMU=y
1760 depends on MMU
1761 depends on CPU_DCACHE_DISABLE=n
1762 depends on SMP
1763 default y
1764 help
1765 Improves TLB miss latency at the expense of potential L2 pollution.
1766 However, with large multimedia buffers, the TLB should mostly contain
1767 section mappings and TLB misses should be quite infrequent.
1768 Most people can probably say Y here.
1769
1770config MSM_DIRECT_SCLK_ACCESS
1771 bool "Direct access to the SCLK timer"
1772 default n
1773
1774config IOMMU_API
1775 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001776
Gregory Beanab78cde2010-09-01 16:26:12 -07001777config MSM_GPIOMUX
1778 bool
1779
Gregory Bean1963a2a2010-08-28 10:05:44 -07001780config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001781 bool
1782
1783config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07001784 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001785
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001786config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001787 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001788
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001789config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001790 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001791
1792config MSM_BUS_SCALING
1793 bool "Bus scaling driver"
1794 default n
1795
Gagan Mac85c70492011-06-10 16:07:47 -06001796config MSM_BUS_RPM_MULTI_TIER_ENABLED
1797 bool "RPM Multi-tiering Configuration"
1798 depends on MSM_BUS_SCALING
1799
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001800config MSM_WATCHDOG
1801 bool "MSM Watchdog Support"
Rohit Vaswani085a9332011-09-28 18:57:24 -07001802 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001803 help
1804 This enables the watchdog as is present on 8x60. Currently we use
1805 core 0's watchdog, and reset the entire SoC if it times out. It does
1806 not run during the bootup process, so it will not catch any early
1807 lockups.
1808
1809config MSM_DLOAD_MODE
1810 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07001811 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001812 default n
1813 help
1814 This makes the SoC enter download mode when it resets
1815 due to a kernel panic. Note that this doesn't by itself
1816 make the kernel reboot on a kernel panic - that must be
1817 enabled via another mechanism.
1818
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001819config HAS_QDSS
1820 bool "QDSS Present"
1821 help
1822 Select this if the chip has Qualcomm Debug Subsystem implemented.
1823
1824config MSM_DEBUG_ACROSS_PC
1825 bool "Debug support across power collapse"
1826 help
1827 Enables debug state to be saved and restored across power collapse.
1828
1829config MSM_JTAG_V7
1830 depends on CPU_V7 && !HAS_QDSS
1831 default y if DEBUG_KERNEL
1832 bool "JTAG debug support"
1833 select MSM_DEBUG_ACROSS_PC
1834 help
1835 Add additional support for JTAG kernel debugging.
1836
Pratik Patel7831c082011-06-08 21:44:37 -07001837config MSM_TRACE_ACROSS_PC
1838 bool "Trace support across power collapse"
Pratik Patel7831c082011-06-08 21:44:37 -07001839 help
1840 Enables trace state to be saved and restored across power collapse.
1841
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001842config MSM_ETM
1843 tristate "Enable MSM ETM and ETB"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001844 depends on ARCH_MSM8X60 && !HAS_QDSS
Pratik Patel7831c082011-06-08 21:44:37 -07001845 select MSM_TRACE_ACROSS_PC
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001846 help
Pratik Patel7831c082011-06-08 21:44:37 -07001847 Enables embedded trace collection on Qualcomm v7 CPUs.
1848
1849config MSM_QDSS
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001850 bool "Qualcomm Debug Subsystem"
1851 depends on HAS_QDSS
1852 select MSM_DEBUG_ACROSS_PC
Pratik Patel7831c082011-06-08 21:44:37 -07001853 select MSM_TRACE_ACROSS_PC
1854 help
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001855 Enables support for Qualcomm Debug Subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001856
1857config MSM_SLEEP_STATS
1858 bool "Enable exporting of MSM sleep stats to userspace"
1859 depends on CPU_IDLE
1860 default n
1861
1862config MSM_STANDALONE_POWER_COLLAPSE
1863 bool "Enable standalone power collapse"
1864 default n
1865
1866config MSM_GSBI9_UART
1867 bool "Enable GSBI9 UART device"
1868 default n
1869 help
1870 This enables GSBI9 configured into UART.
1871
1872config MSM_SHARED_GPIO_FOR_UART2DM
1873 bool "Use shared GPIOs into UART mode"
1874 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
1875 help
1876 This option configures GPIO muxed with SDC4/MMC3
1877 8-bit mode into UART mode. It is used for serial
1878 console on UART2DM. Say Y if you want to have
1879 serial console on UART2DM.
1880
1881config MSM_SHOW_RESUME_IRQ
1882 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08001883 depends on (ARM_GIC || PMIC8058)
1884 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001885 default n
1886 help
1887 This option logs wake up interrupts that have triggered just before
1888 the resume loop unrolls. Say Y if you want to debug why the system
1889 resumed.
1890
1891config BT_MSM_PINTEST
1892 tristate "MSM Bluetooth Pin Connectivity Test"
1893 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
1894 default n
1895 help
1896 Bluetooth MSM Pin Connectivity test module.
1897 This driver provides support for verifying the MSM to BT pin
1898 connectivity.
1899
1900config MSM_FAKE_BATTERY
1901 depends on POWER_SUPPLY
1902 default n
1903 bool "MSM Fake Battery"
1904 help
1905 Enables MSM fake battery driver.
1906
1907config MSM_QDSP6_APR
1908 bool "Audio QDSP6 APR support"
1909 depends on MSM_SMD
1910 default n
1911 help
1912 Enable APR IPC protocol support between
1913 application processor and QDSP6. APR is
1914 used by audio driver to configure QDSP6's
1915 ASM, ADM and AFE.
1916
1917
1918config MSM_AUDIO_QDSP6
1919 bool "QDSP6 HW Audio support"
1920 select SND_SOC_MSM_QDSP6_INTF
1921 default n
1922 help
1923 Enable HW audio support in QDSP6.
1924 QDSP6 can support HW encoder & decoder and audio processing
1925
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02001926config MSM_ULTRASOUND
1927 bool "MSM ultrasound support"
1928 depends on MSM_AUDIO_QDSP6
1929 help
1930 Enable support for qdsp6/ultrasound.
1931
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001932config MSM_RPC_VIBRATOR
1933 bool "RPC based MSM Vibrator Support"
1934 depends on MSM_ONCRPCROUTER
1935 help
1936 Enable the vibrator support on MSM over RPC. The vibrator
1937 is connected on the PMIC. Say Y if you want to enable this
1938 feature.
1939
1940config PM8XXX_RPC_VIBRATOR
1941 bool "RPC based Vibrator on PM8xxx PMICs"
1942 depends on MSM_RPC_VIBRATOR
1943 help
1944 Enable the vibrator support on MSM over RPC. The vibrator
1945 is connected on the PM8XXX PMIC. Say Y if you want to enable
1946 this feature.
1947
1948config MSM_SPM_V1
1949 bool "Driver support for SPM Version 1"
1950 help
1951 Enables the support for Version 1 of the SPM driver. SPM hardware is
1952 used to manage the processor power during sleep. The driver allows
1953 configuring SPM to allow different power modes.
1954
1955config MSM_SPM_V2
1956 bool "Driver support for SPM Version 2"
1957 help
1958 Enables the support for Version 2 of the SPM driver. SPM hardware is
1959 used to manage the processor power during sleep. The driver allows
1960 configuring SPM to allow different power modes.
1961
1962config MSM_L2_SPM
1963 bool "SPM support for L2 cache"
1964 depends on MSM_SPM_V2
1965 help
1966 Enable SPM driver support for L2 cache. Some MSM chipsets allow
1967 control of L2 cache low power mode with a Subsystem Power manager.
1968 Enabling this driver allows configuring L2 SPM for low power modes
1969 on supported chipsets.
1970
Laura Abbott2d1760b2011-09-29 21:31:24 -07001971config MSM_MULTIMEDIA_USE_ION
1972 bool "Multimedia suport using Ion"
1973 depends on ION_MSM
1974 help
1975 Enable support for multimedia drivers using Ion for buffer management
1976 instead of pmem. Selecting this may also involve userspace
1977 dependencies as well.
1978
Brian Swetland9e73c842007-11-26 04:12:13 -08001979endif