blob: cb393c60692dd96566c3b88589a1a4a3f4af683b [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
141 select MSM_L2_SPM
142 select MSM_NATIVE_RESTART
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700143 select DONT_MAP_HOLE_AFTER_MEMBANK0
144 select MSM_REMOTE_SPINLOCK_SFPB
145 select ARCH_POPULATES_NODE_MAP
146 select ARCH_SPARSEMEM_ENABLE
147 select ARCH_HAS_HOLES_MEMORYMODEL
148 select MEMORY_HOTPLUG
149 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -0800150 select ARCH_ENABLE_MEMORY_HOTPLUG
151 select ARCH_ENABLE_MEMORY_HOTREMOVE
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700152 select MIGRATION
153 select ARCH_MEMORY_PROBE
154 select ARCH_MEMORY_REMOVE
Larry Bassel4dc15912011-10-14 11:01:43 -0700155 select FIX_MOVABLE_ZONE
Larry Basseld4d82c92011-12-07 09:52:49 -0800156 select CLEANCACHE
157 select QCACHE
Laura Abbott6d61a912011-10-27 16:44:14 -0700158 select MSM_MULTIMEDIA_USE_ION
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530159 select MULTI_IRQ_HANDLER
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700160
161config ARCH_MSM8930
162 bool "MSM8930"
163 select ARCH_MSM_KRAITMP
164 select ARM_GIC
165 select CPU_V7
166 select MSM_V2_TLMM
167 select MSM_GPIOMUX
168 select MSM_SCM if SMP
169 select MSM_DIRECT_SCLK_ACCESS
170 select REGULATOR
171 select MSM_RPM
172 select MSM_XO
173 select MSM_QDSP6_APR
174 select MSM_PIL
175 select MSM_AUDIO_QDSP6 if SND_SOC
176 select CPU_HAS_L2_PMU
177 select MSM_SPM_V2
178 select MSM_L2_SPM
179 select MSM_NATIVE_RESTART
180 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600181 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700182 select ARCH_POPULATES_NODE_MAP
183 select ARCH_SPARSEMEM_ENABLE
184 select ARCH_HAS_HOLES_MEMORYMODEL
185 select MEMORY_HOTPLUG
186 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -0800187 select ARCH_ENABLE_MEMORY_HOTPLUG
188 select ARCH_ENABLE_MEMORY_HOTREMOVE
Larry Basself74479e2011-09-08 11:07:52 -0700189 select MIGRATION
190 select ARCH_MEMORY_PROBE
191 select ARCH_MEMORY_REMOVE
Larry Bassel4dc15912011-10-14 11:01:43 -0700192 select FIX_MOVABLE_ZONE
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +0200193 select MSM_ULTRASOUND
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530194 select MULTI_IRQ_HANDLER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700195
196config ARCH_APQ8064
197 bool "APQ8064"
198 select ARCH_MSM_KRAITMP
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700199 select MACH_APQ8064_SIM if !MACH_APQ8064_RUMI3
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700200 select MSM_V2_TLMM
201 select ARM_GIC
202 select CPU_V7
203 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700204 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600205 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800206 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800207 select MSM_QDSP6_APR
208 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530209 select MULTI_IRQ_HANDLER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700210
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700211config ARCH_MSMCOPPER
212 bool "MSM Copper"
213 select ARCH_MSM_KRAITMP
214 select MSM_V2_TLMM
215 select ARM_GIC
216 select CPU_V7
217 select MSM_SCM if SMP
218 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530219 select MULTI_IRQ_HANDLER
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700220
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700221config ARCH_FSM9XXX
222 bool "FSM9XXX"
223 select ARCH_MSM_SCORPION
224 select MSM_VIC
225 select CPU_V7
226 select MSM_REMOTE_SPINLOCK_LDREX
227 select FSM9XXX_TLMM
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530228 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800229 select MSM_DALRPC
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 bool
Rohit Vaswaniaf7ae272012-01-09 10:28:57 -0800296 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700297
298config ARCH_MSM7X27A
299 bool
300 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700301 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530302 select MULTI_IRQ_HANDLER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700303
Gregory Beanf9f3d312010-04-30 22:06:50 -0700304config MSM_VIC
305 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700306
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700307config MSM_RPM
308 bool "Resource Power Manager"
309 select MSM_MPM
310
311config MSM_MPM
312 bool "Modem Power Manager"
313
314config MSM_XO
315 bool
316
317config MSM_REMOTE_SPINLOCK_DEKKERS
318 bool
319config MSM_REMOTE_SPINLOCK_SWP
320 bool
321config MSM_REMOTE_SPINLOCK_LDREX
322 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600323config MSM_REMOTE_SPINLOCK_SFPB
324 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700325config MSM_ADM3
326 bool
327
328menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700329
330config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700331 depends on ARCH_MSM7X01A
332 depends on MSM_STACKED_MEMORY
333 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700334 bool "Halibut Board (QCT SURF7201A)"
335 help
336 Support for the Qualcomm SURF7201A eval board.
337
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700338config MACH_MSM7201A_SURF
339 depends on ARCH_MSM7X01A
340 depends on MSM_STACKED_MEMORY
341 default y
342 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700343 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700344 Support for the Qualcomm MSM7201A SURF eval board.
345
346config MACH_MSM7201A_FFA
347 depends on ARCH_MSM7X01A
348 depends on MSM_STACKED_MEMORY
349 default y
350 bool "MSM7201A FFA"
351 help
352 Support for the Qualcomm MSM7201A FFA eval board.
353
354config MACH_TROUT
355 depends on ARCH_MSM7X01A
356 depends on MSM_STACKED_MEMORY
357 default y
358 bool "Trout"
359
360config MACH_MSM7X27_SURF
361 depends on ARCH_MSM7X27
362 depends on !MSM_STACKED_MEMORY
363 default y
364 bool "MSM7x27 SURF"
365 help
366 Support for the Qualcomm MSM7x27 SURF eval board.
367
368config MACH_MSM7X27_FFA
369 depends on ARCH_MSM7X27
370 depends on !MSM_STACKED_MEMORY
371 default y
372 bool "MSM7x27 FFA"
373 help
374 Support for the Qualcomm MSM7x27 FFA eval board.
375
376config MACH_MSM7X27A_RUMI3
377 depends on ARCH_MSM7X27A
378 depends on !MSM_STACKED_MEMORY
379 default y
380 bool "MSM7x27A RUMI3"
381 help
382 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
383
384config MACH_MSM7X27A_SURF
385 depends on ARCH_MSM7X27A
386 depends on !MSM_STACKED_MEMORY
387 default y
388 bool "MSM7x27A SURF"
389 help
390 Support for the Qualcomm MSM7x27A SURF.
391
392config MACH_MSM7X27A_FFA
393 depends on ARCH_MSM7X27A
394 depends on !MSM_STACKED_MEMORY
395 default y
396 bool "MSM7x27A FFA"
397 help
398 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700399
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530400config MACH_MSM7625A_SURF
401 depends on ARCH_MSM7X27A
402 depends on !MSM_STACKED_MEMORY
403 default y
404 bool "MSM7625A SURF"
405 help
406 Support for the Qualcomm MSM7625A SURF.
407
408config MACH_MSM7625A_FFA
409 depends on ARCH_MSM7X27A
410 depends on !MSM_STACKED_MEMORY
411 default y
412 bool "MSM7625A FFA"
413 help
414 Support for the Qualcomm MSM7625A FFA.
415
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530416config MACH_MSM7627A_QRD1
417 depends on ARCH_MSM7X27A
418 depends on !MSM_STACKED_MEMORY
419 default y
420 bool "MSM7627A QRD1"
421 help
422 Support for the Qualcomm MSM7627A Refrence Design.
423
Daniel Walker7b521612010-05-06 12:44:57 -0700424config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700425 depends on ARCH_MSM7X30
426 depends on !MSM_STACKED_MEMORY
427 default y
428 bool "MSM7x30 SURF"
429 help
430 Support for the Qualcomm MSM7x30 SURF eval board.
431
432config MACH_MSM7X30_FFA
433 depends on ARCH_MSM7X30
434 depends on !MSM_STACKED_MEMORY
435 default y
436 bool "MSM7x30 FFA"
437 help
438 Support for the Qualcomm MSM7x30 FFA eval board.
439
440config MACH_MSM7X30_FLUID
441 depends on ARCH_MSM7X30
442 depends on !MSM_STACKED_MEMORY
443 default y
444 bool "MSM7x30 FLUID"
445 help
446 Support for the Qualcomm MSM7x30 FLUID eval board.
447
448config MACH_SAPPHIRE
449 depends on ARCH_MSM7X01A
450 default n
451 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700452
Daniel Walker4ad15e62010-05-06 13:54:17 -0700453config MACH_QSD8X50_SURF
454 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700455 depends on MSM_SOC_REV_NONE
456 depends on MSM_STACKED_MEMORY
457 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700458 bool "QSD8x50 SURF"
459 help
460 Support for the Qualcomm QSD8x50 SURF eval board.
461
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700462config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700463 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700464 depends on MSM_SOC_REV_NONE
465 depends on MSM_STACKED_MEMORY
466 default y
467 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700468 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700469 Support for the Qualcomm QSD8x50 FFA eval board.
470
471config MACH_MSM7X25_SURF
472 depends on ARCH_MSM7X25
473 depends on !MSM_STACKED_MEMORY
474 default y
475 bool "MSM7x25 SURF"
476 help
477 Support for the Qualcomm MSM7x25 SURF eval board.
478
479config MACH_MSM7X25_FFA
480 depends on ARCH_MSM7X25
481 depends on !MSM_STACKED_MEMORY
482 default y
483 bool "MSM7x25 FFA"
484 help
485 Support for the Qualcomm MSM7x25 FFA eval board.
486
487config MACH_MSM8X55_SURF
488 depends on ARCH_MSM7X30
489 depends on !MSM_STACKED_MEMORY
490 default y
491 bool "MSM8X55 SURF"
492 help
493 Support for the Qualcomm MSM8x55 SURF eval board.
494
495config MACH_MSM8X55_FFA
496 depends on ARCH_MSM7X30
497 depends on !MSM_STACKED_MEMORY
498 default y
499 bool "MSM8X55 FFA"
500 help
501 Support for the Qualcomm MSM8x55 FFA eval board.
502
503config MACH_MSM8X55_SVLTE_FFA
504 depends on ARCH_MSM7X30
505 depends on !MSM_STACKED_MEMORY
506 default y
507 bool "MSM8X55 SVLTE FFA"
508 help
509 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
510
511config MACH_MSM8X55_SVLTE_SURF
512 depends on ARCH_MSM7X30
513 depends on !MSM_STACKED_MEMORY
514 default y
515 bool "MSM8X55 SVLTE SURF"
516 help
517 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700518
Steve Mucklea55df6e2010-01-07 12:43:24 -0800519config MACH_MSM8X60_RUMI3
520 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700521 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800522 bool "MSM8x60 RUMI3"
523 help
524 Support for the Qualcomm MSM8x60 RUMI3 emulator.
525
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800526config MACH_MSM8X60_SIM
527 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700528 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800529 bool "MSM8x60 Simulator"
530 help
531 Support for the Qualcomm MSM8x60 simulator.
532
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700533config MACH_MSM8X60_SURF
534 depends on ARCH_MSM8X60
535 default n
536 bool "MSM8x60 SURF"
537 help
538 Support for the Qualcomm MSM8x60 SURF eval board.
539
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700540config MACH_MSM8X60_FFA
541 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700542 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700543 bool "MSM8x60 FFA"
544 help
545 Support for the Qualcomm MSM8x60 FFA eval board.
546
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700547config MACH_MSM8X60_FLUID
548 depends on ARCH_MSM8X60
549 default n
550 bool "MSM8x60 FLUID"
551 help
552 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
553 8x60 target which has a form factor that is much closer to that
554 of a phone than other targets. It also has a new display and
555 touchscreen controller.
556
557config MACH_MSM8X60_FUSION
558 depends on ARCH_MSM8X60
559 default n
560 bool "MSM8x60 FUSION"
561 help
562 Support for the Qualcomm MSM8x60 Fusion SURF device.
563
564config MACH_MSM8X60_FUSN_FFA
565 depends on ARCH_MSM8X60
566 default n
567 bool "MSM8x60 FUSN FFA"
568 help
569 Support for the Qualcomm MSM8x60 Fusion FFA device.
570
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400571config MACH_MSM8X60_DRAGON
572 depends on ARCH_MSM8X60
573 default n
574 bool "MSM8x60 DRAGON"
575 help
576 Support for the Qualcomm MSM8x60 Dragon board.
577
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800578config MACH_MSM8960_SIM
579 depends on ARCH_MSM8960
580 bool "MSM8960 Simulator"
581 help
582 Support for the Qualcomm MSM8960 simulator.
583
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800584config MACH_MSM8960_RUMI3
585 depends on ARCH_MSM8960
586 bool "MSM8960 RUMI3"
587 help
588 Support for the Qualcomm MSM8960 RUMI3 emulator.
589
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700590config MACH_MSM8960_CDP
591 depends on ARCH_MSM8960
592 bool "MSM8960 CDP"
593 help
594 Support for the Qualcomm MSM8960 CDP device.
595
596config MACH_MSM8960_MTP
597 depends on ARCH_MSM8960
598 bool "MSM8960 MTP"
599 help
600 Support for the Qualcomm MSM8960 MTP device.
601
602config MACH_MSM8960_FLUID
603 depends on ARCH_MSM8960
604 bool "MSM8960 FLUID"
605 help
606 Support for the Qualcomm MSM8960 FLUID device.
607
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300608config MACH_MSM8960_LIQUID
609 depends on ARCH_MSM8960
610 bool "MSM8960 LIQUID"
611 help
612 Support for the Qualcomm MSM8960 LIQUID device.
613
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700614config MACH_MSM8930_CDP
615 depends on ARCH_MSM8930
616 bool "MSM8930 CDP"
617 help
618 Support for the Qualcomm MSM8930 CDP device.
619
620config MACH_MSM8930_MTP
621 depends on ARCH_MSM8930
622 bool "MSM8930 MTP"
623 help
624 Support for the Qualcomm MSM8930 MTP device.
625
626config MACH_MSM8930_FLUID
627 depends on ARCH_MSM8930
628 bool "MSM8930 FLUID"
629 help
630 Support for the Qualcomm MSM8930 FLUID device.
631
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800632config MACH_MSM8627_CDP
633 depends on ARCH_MSM8930
634 bool "MSM8627 CDP"
635 help
636 Support for the Qualcomm MSM8627 CDP device.
637
638config MACH_MSM8627_MTP
639 depends on ARCH_MSM8930
640 bool "MSM8627 MTP"
641 help
642 Support for the Qualcomm MSM8627 MTP device.
643
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700644config MACH_MSM9615_CDP
645 depends on ARCH_MSM9615
646 bool "MSM9615 CDP"
647 help
648 Support for the Qualcomm MSM9615 CDP device.
649
650config MACH_MSM9615_MTP
651 depends on ARCH_MSM9615
652 bool "MSM9615 MTP"
653 help
654 Support for the Qualcomm MSM9615 MTP device.
655
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700656config MSM_USE_TSIF1
657 depends on ARCH_MSM8X60
658 bool "MSM8x60 use TSIF1"
659 help
660 Selects TSIF1 core to be used rather than TSIF0.
661 The two TSIF cores share the same DM configuration
662 so they cannot be used simultaneously.
663
664config MACH_APQ8064_SIM
665 depends on ARCH_APQ8064
666 bool "APQ8064 Simulator"
667 help
668 Support for the Qualcomm APQ8064 simulator.
669
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700670config MACH_APQ8064_RUMI3
671 depends on ARCH_APQ8064
672 bool "APQ8064 RUMI3"
673 help
674 Support for the Qualcomm APQ8064 RUMI3 emulator.
675
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700676config MACH_FSM9XXX_SURF
677 depends on ARCH_FSM9XXX
678 depends on !MSM_STACKED_MEMORY
679 default y
680 bool "FSM9XXX SURF"
681 help
682 Support for the Qualcomm FSM9xxx femtocell
683 chipset based SURF evaluation board and
684 FFA board.
685
Daniel Walker4ad15e62010-05-06 13:54:17 -0700686endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800687
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700688config MSM_STACKED_MEMORY
689 bool "Stacked Memory"
690 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800691 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700692 This option is used to indicate the presence of on-die stacked
693 memory. When present this memory bank is used for a high speed
694 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800695
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700696config PHYS_OFFSET
697 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700698 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700699 default "0x80200000" if ARCH_APQ8064
700 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700701 default "0x80200000" if ARCH_MSM8930
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700702 default "0x80200000" if ARCH_MSMCOPPER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700703 default "0x10000000" if ARCH_FSM9XXX
704 default "0x00200000" if !MSM_STACKED_MEMORY
705 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
706 default "0x20000000" if ARCH_QSD8X50
707 default "0x40200000" if ARCH_MSM8X60
708 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800709
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700710config KERNEL_PMEM_EBI_REGION
711 bool "Enable in-kernel PMEM region for EBI"
712 default y if ARCH_MSM8X60
713 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960)
714 help
715 Enable the in-kernel PMEM allocator to use EBI memory.
716
717config KERNEL_PMEM_SMI_REGION
718 bool "Enable in-kernel PMEM region for SMI"
719 default y if ARCH_MSM8X60
720 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
721 help
722 Enable the in-kernel PMEM allocator to use SMI memory.
723
724config PMEM_GPU0
725 bool "Enable PMEM GPU0 region"
726 default y
727 depends on ARCH_QSD8X50 && ANDROID_PMEM
728 help
729 Enable the PMEM GPU0 device on SMI Memory.
730
731config MSM_AMSS_VERSION
732 int
733 default 6210 if MSM_AMSS_VERSION_6210
734 default 6220 if MSM_AMSS_VERSION_6220
735 default 6225 if MSM_AMSS_VERSION_6225
736
737choice
738 prompt "AMSS modem firmware version"
739
740 default MSM_AMSS_VERSION_6225
741
742 config MSM_AMSS_VERSION_6210
743 bool "6.2.10"
744
745 config MSM_AMSS_VERSION_6220
746 bool "6.2.20"
747
748 config MSM_AMSS_VERSION_6225
749 bool "6.2.20 + New ADSP"
750endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800751
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700752config MSM_HAS_DEBUG_UART_HS
753 bool
754 help
755 Say Y here if high speed MSM UART is present.
756
757config MSM_HAS_DEBUG_UART_HS_V14
758 bool
759 select MSM_HAS_DEBUG_UART_HS
760 help
761 Say Y here if high speed MSM UART v1.4 is present.
762
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800763config DEBUG_MSM8930_UART
764 bool "Kernel low-level debugging messages via MSM 8930 UART"
765 depends on ARCH_MSM8930 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700766 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800767 help
768 Say Y here if you want the debug print routines to direct
769 their output to the serial port on MSM 8930 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100770
771choice
772 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800773 depends on DEBUG_LL
Pavel Machek6339f662009-11-02 11:48:29 +0100774
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800775 config DEBUG_MSM_UART1
776 bool "Kernel low-level debugging messages via MSM UART1"
777 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
778 help
779 Say Y here if you want the debug print routines to direct
780 their output to the first serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100781
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800782 config DEBUG_MSM_UART2
783 bool "Kernel low-level debugging messages via MSM UART2"
784 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
785 help
786 Say Y here if you want the debug print routines to direct
787 their output to the second serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100788
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800789 config DEBUG_MSM_UART3
790 bool "Kernel low-level debugging messages via MSM UART3"
791 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
792 help
793 Say Y here if you want the debug print routines to direct
794 their output to the third serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100795
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800796 config DEBUG_MSM8660_UART
797 bool "Kernel low-level debugging messages via MSM 8660 UART"
798 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700799 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800800 help
801 Say Y here if you want the debug print routines to direct
802 their output to the serial port on MSM 8660 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100803
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800804 config DEBUG_MSM8960_UART
805 bool "Kernel low-level debugging messages via MSM 8960 UART"
806 depends on ARCH_MSM8960
807 select DEBUG_MSM8930_UART
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700808 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800809 help
810 Say Y here if you want the debug print routines to direct
811 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700812
813 config DEBUG_MSMCOPPER_UART
814 bool "Kernel low-level debugging messages via MSM Copper UART"
815 depends on ARCH_MSMCOPPER
816 select MSM_HAS_DEBUG_UART_HS_V14
817 help
818 Say Y here if you want the debug print routines to direct
819 their output to the serial port on MSM Copper devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100820endchoice
821
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700822choice
823 prompt "Default Timer"
824 default MSM7X00A_USE_GP_TIMER
825
826 config MSM7X00A_USE_GP_TIMER
827 bool "GP Timer"
828 help
829 Low resolution timer that allows power collapse from idle.
830
831 config MSM7X00A_USE_DG_TIMER
832 bool "DG Timer"
833 help
834 High resolution timer.
835endchoice
836
837choice
838 prompt "Suspend sleep mode"
839 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
840 help
841 Allows overriding the sleep mode used. Leave at power
842 collapse suspend unless the arm9 image has problems.
843
844 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
845 bool "Power collapse suspend"
846 help
847 Lowest sleep state. Returns through reset vector.
848
849 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
850 bool "Power collapse"
851 help
852 Sleep state that returns through reset vector.
853
854 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
855 bool "Apps Sleep"
856
857 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
858 bool "Ramp down cpu clock and wait for interrupt"
859
860 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
861 bool "Wait for interrupt"
862endchoice
863
864config MSM7X00A_SLEEP_MODE
865 int
866 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
867 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
868 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
869 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
870 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
871
872choice
873 prompt "Idle sleep mode"
874 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
875 help
876 Allows overriding the sleep mode used from idle. Leave at power
877 collapse suspend unless the arm9 image has problems.
878
879 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
880 bool "Power collapse suspend"
881 help
882 Lowest sleep state. Returns through reset vector.
883
884 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
885 bool "Power collapse"
886 help
887 Sleep state that returns through reset vector.
888
889 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
890 bool "Apps Sleep"
891
892 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
893 bool "Ramp down cpu clock and wait for interrupt"
894
895 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
896 bool "Wait for interrupt"
897endchoice
898
899config MSM7X00A_IDLE_SLEEP_MODE
900 int
901 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
902 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
903 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
904 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
905 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
906
907config MSM7X00A_IDLE_SLEEP_MIN_TIME
908 int "Minimum idle time before sleep"
909 default 20000000
910 help
911 Minimum idle time in nanoseconds before entering low power mode.
912
913config MSM7X00A_IDLE_SPIN_TIME
914 int "Idle spin time before cpu ramp down"
915 default 80000
916 help
917 Spin time in nanoseconds before ramping down cpu clock and entering
918 any low power state.
919
920menuconfig MSM_IDLE_STATS
921 bool "Collect idle statistics"
922 default y
923 help
924 Collect idle statistics and export them in proc/msm_pm_stats.
925
926if MSM_IDLE_STATS
927
928config MSM_IDLE_STATS_FIRST_BUCKET
929 int "First bucket time"
930 default 62500
931 help
932 Upper time limit in nanoseconds of first bucket.
933
934config MSM_IDLE_STATS_BUCKET_SHIFT
935 int "Bucket shift"
936 default 2
937
938config MSM_IDLE_STATS_BUCKET_COUNT
939 int "Bucket count"
940 default 10
941
942config MSM_SUSPEND_STATS_FIRST_BUCKET
943 int "First bucket time for suspend"
944 default 1000000000
945 help
946 Upper time limit in nanoseconds of first bucket of the
947 histogram. This is for collecting statistics on suspend.
948
949endif # MSM_IDLE_STATS
950
951config CPU_HAS_L2_PMU
952 bool "L2CC PMU Support"
953 help
954 Select this if the L2 cache controller has a Performance Monitoring Unit.
955
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700956config HTC_HEADSET
957 tristate "HTC 2 Wire detection driver"
958 default n
959 help
960 Provides support for detecting HTC 2 wire devices, such as wired
961 headset, on the trout platform. Can be used with the msm serial
962 debugger, but not with serial console.
963
964config TROUT_BATTCHG
965 depends on MACH_TROUT && POWER_SUPPLY
966 default y
967 bool "Trout battery / charger driver"
968
969config HTC_PWRSINK
970 depends on MSM_SMD
971 default n
972 bool "HTC Power Sink Driver"
973
974config QSD_SVS
975 bool "QSD Static Voltage Scaling"
976 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
977 default y
978 select TPS65023
979 help
980 Enables static voltage scaling using the TPS65023 PMIC.
981
982config QSD_PMIC_DEFAULT_DCDC1
983 int "PMIC default output voltage"
984 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
985 default 1250
986 help
987 This is the PMIC voltage at Linux kernel boot.
988
989config MSM_FIQ_SUPPORT
990 default y
991 bool "Enable installation of an FIQ handler."
992
993config MSM_SERIAL_DEBUGGER
994 select MSM_FIQ_SUPPORT
995 select KERNEL_DEBUGGER_CORE
996 default n
997 bool "FIQ Mode Serial Debugger"
998 help
999 The FIQ serial debugger can accept commands even when the
1000 kernel is unresponsive due to being stuck with interrupts
1001 disabled. Depends on the kernel debugger core in drivers/misc.
1002
1003config MSM_SERIAL_DEBUGGER_CONSOLE
1004 depends on MSM_SERIAL_DEBUGGER
1005 default n
1006 bool "Console on FIQ Serial Debugger port"
1007 help
1008 Enables a console so that printk messages are displayed on
1009 the debugger serial port as the occur.
Daniel Walkerbf83de42010-03-16 16:29:44 -07001010
Steve Mucklec8aabae2010-04-21 16:20:27 -07001011config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001012 default y
1013 bool "Proc-Comm RPC Interface"
1014 help
1015 Enables a lightweight communications interface to the
1016 baseband processor.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001017
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001018config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001019 bool "MSM Shared Memory Driver (SMD)"
1020 help
1021 Support for the shared memory interface between the apps
1022 processor and the baseband processor. Provides access to
1023 the "shared heap", as well as virtual serial channels
1024 used to communicate with various services on the baseband
1025 processor.
1026
1027choice
1028 prompt "MSM Shared memory interface version"
1029 depends on MSM_SMD
1030 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1031 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1032
1033 config MSM_SMD_PKG3
1034 bool
1035 prompt "Package 3"
1036
1037 config MSM_SMD_PKG4
1038 bool
1039 prompt "Package 4"
1040endchoice
1041
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001042config MSM_RPC_SDIO_XPRT
1043 depends on MSM_SDIO_AL
1044 default y
1045 bool "MSM SDIO XPRT Layer"
1046 help
1047 SDIO Transport Layer for RPC Rouer
1048
1049config MSM_RPC_SDIO_DEBUG
1050 depends on MSM_RPC_SDIO_XPRT
1051 default y
1052 bool "MSM SDIO XPRT debug support"
1053 help
1054 Support for debugging SDIO XPRT
1055
1056config MSM_SMD_DEBUG
1057 depends on MSM_SMD
1058 default y
1059 bool "MSM SMD debug support"
1060 help
1061 Support for debugging the SMD for communication
1062 between the ARM9 and ARM11
1063
1064config MSM_SDIO_AL
1065 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1066 default y
1067 tristate "SDIO-Abstraction-Layer"
1068 help
1069 Support MSM<->MDM Communication over SDIO bus.
1070 MDM SDIO-Client should have pipes support.
1071
1072config MSM_SDIO_DMUX
1073 bool "SDIO Data Mux Driver"
1074 depends on MSM_SDIO_AL
1075 default n
1076 help
1077 Support Muxed Data Channels over SDIO interface.
1078
1079config MSM_BAM_DMUX
1080 bool "BAM Data Mux Driver"
1081 depends on SPS
1082 default n
1083 help
1084 Support Muxed Data Channels over BAM interface.
1085 BAM has a limited number of pipes. This driver
1086 provides a means to support more logical channels
1087 via muxing than BAM could without muxing.
1088
1089config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001090 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001091 default y
1092 bool "MSM N-WAY SMD support"
1093 help
1094 Supports APPS-QDSP SMD communication along with
1095 normal APPS-MODEM SMD communication.
1096
1097config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001098 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001099 default y
1100 bool "MSM N-WAY SMSM support"
1101 help
1102 Supports APPS-QDSP SMSM communication along with
1103 normal APPS-MODEM SMSM communication.
1104
1105config MSM_RESET_MODEM
1106 tristate "Reset Modem Driver"
1107 depends on MSM_SMD
1108 default m
1109 help
1110 Allows the user to reset the modem through a device node.
1111
1112config MSM_SMD_LOGGING
1113 depends on MSM_SMD
1114 default y
1115 bool "MSM Shared Memory Logger"
1116 help
1117 This option exposes the shared memory logger at /dev/smem_log
1118 and a debugfs node named smem_log.
1119
1120 If in doubt, say yes.
1121
1122config MSM_SMD_NMEA
1123 bool "NMEA GPS Driver"
1124 depends on MSM_SMD
1125 default y
1126 help
1127 Enable this to support the NMEA GPS device.
1128
1129 If in doubt, say yes.
1130
1131config MSM_SDIO_TTY
1132 bool "SDIO TTY Driver"
1133 depends on MSM_SDIO_AL
1134 default n
1135 help
1136 Provides a TTY driver SDIO TTY
1137 This driver can be used by user space
1138 applications for passing data through the
1139 SDIO interface.
1140
1141config MSM_SMD_TTY
1142 bool "SMD TTY Driver"
1143 depends on MSM_SMD
1144 default y
1145 help
1146 Provides TTY interfaces to interact with the modem.
1147
1148 If in doubt, say yes.
1149
1150config MSM_SMD_QMI
1151 bool "SMD QMI Driver"
1152 depends on MSM_SMD
1153 default y
1154 help
1155 Manages network data connections.
1156
1157 If in doubt, say yes.
1158
1159config MSM_SMD_PKT
1160 bool "SMD Packet Driver"
1161 depends on MSM_SMD
1162 default y
1163 help
1164 Provides a binary SMD non-muxed packet port interface.
1165
1166 If in doubt, say yes.
1167
1168config MSM_SDIO_CMUX
1169 bool "SDIO CMUX Driver"
1170 depends on MSM_SDIO_AL
1171 default n
1172 help
1173 Provides a Muxed port interface over SDIO QMI
1174
1175config MSM_DSPS
1176 bool "Sensors DSPS driver"
1177 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1178 default n
1179 help
1180 Provides user-space interface to the sensors manager
1181 to turn on/off the Sensors Processor system clocks.
1182 It is the DSPS responsibility to turn on/off the sensors
1183 themself.
1184 The number of clocks and their name may vary between targets.
1185 It also triggers the PIL to load the DSPS firmware.
1186
1187config MSM_SDIO_CTL
1188 bool "SDIO CTL Driver"
1189 depends on MSM_SDIO_CMUX
1190 default n
1191 help
1192 Provides a binary SDIO control port interface.
1193
1194config MSM_ONCRPCROUTER
1195 depends on MSM_SMD
1196 default n
1197 bool "MSM ONCRPC router support"
1198 help
1199 Support for the MSM ONCRPC router for communication between
1200 the ARM9 and ARM11
1201
1202config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001203 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001204 default n
1205 bool "MSM IPC Router support"
1206 help
1207 Support for the MSM IPC Router for communication between
1208 the APPs and the MODEM
1209
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001210config MSM_IPC_ROUTER_SMD_XPRT
1211 depends on MSM_SMD
1212 depends on MSM_IPC_ROUTER
1213 default n
1214 bool "MSM SMD XPRT Layer"
1215 help
1216 SMD Transport Layer for IPC Router
1217
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001218config MSM_ONCRPCROUTER_DEBUG
1219 depends on MSM_ONCRPCROUTER
1220 default y
1221 bool "MSM debug ONCRPC router support"
1222 help
1223 Support for debugging the ONCRPC router for communication
1224 between the ARM9 and ARM11
1225
1226config MSM_RPC_LOOPBACK_XPRT
1227 depends on MSM_ONCRPCROUTER
1228 default n
1229 bool "MSM RPC local routing support"
1230 help
1231 Support for routing RPC messages between APPS clients
1232 and APPS servers. Helps in testing APPS RPC framework.
1233
1234config MSM_RPCSERVER_TIME_REMOTE
1235 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1236 default y
1237 bool "Time remote RPC server"
1238 help
1239 The time remote server receives notification of time bases and
1240 reports these events to registered callback functions.
1241
1242config MSM_RPCSERVER_WATCHDOG
1243 depends on MSM_ONCRPCROUTER
1244 default y
1245 bool "Watchdog RPC server"
1246 help
1247 The dog_keepalive server handles watchdog events.
1248
1249config MSM_RPC_WATCHDOG
1250 depends on MSM_ONCRPCROUTER
1251 default n
1252 bool "Watchdog RPC client"
1253 help
1254 The dog_keepalive client module.
1255
1256config MSM_RPC_PING
1257 depends on MSM_ONCRPCROUTER && DEBUG_FS
1258 default m
1259 bool "MSM rpc ping"
1260 help
1261 Implements MSM rpc ping test module.
1262
1263config MSM_RPC_PROC_COMM_TEST
1264 depends on DEBUG_FS && MSM_PROC_COMM
1265 default m
1266 bool "MSM rpc proc comm test"
1267 help
1268 Implements MSM rpc proc comm test module.
1269
1270config MSM_RPC_OEM_RAPI
1271 depends on MSM_ONCRPCROUTER
1272 default m
1273 bool "MSM oem rapi"
1274 help
1275 Implements MSM oem rapi client module.
1276
1277config MSM_RPCSERVER_HANDSET
1278 depends on MSM_ONCRPCROUTER
1279 default y
1280 bool "Handset events RPC server"
1281 help
1282 Support for receiving handset events like headset detect,
1283 headset switch and clamshell state.
1284
1285config MSM_RMT_STORAGE_CLIENT
1286 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1287 default n
1288 bool "Remote Storage RPC client"
1289 help
1290 Provide RPC mechanism for remote processors to access storage
1291 device on apps processor.
1292
1293config MSM_RMT_STORAGE_CLIENT_STATS
1294 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1295 default n
1296 bool "Remote storage RPC client performance statistics"
1297 help
1298 Collects performance statistics and shows this information
1299 through a debugfs file rmt_storage_stats.
1300
1301config MSM_SDIO_SMEM
1302 depends on MSM_SDIO_AL
1303 default n
1304 bool "SDIO SMEM for remote storage"
1305 help
1306 Copies data from remote MDM9K memory to local MSM8x60
1307 memory. Used by remote storage client to shadow
1308 MDM9K filesystem.
1309
1310config MSM_DALRPC
1311 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001312 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001313 help
1314 Supports RPC calls to DAL devices on remote processor cores.
1315
1316config MSM_DALRPC_TEST
1317 tristate "DAL RPC test module"
1318 depends on (MSM_DALRPC && DEBUG_FS)
1319 default m
1320 help
1321 Exercises DAL RPC calls to QDSP6.
1322
1323if CPU_FREQ_MSM
1324
1325config MSM_CPU_FREQ_SET_MIN_MAX
1326 bool "Set Min/Max CPU frequencies."
1327 default n
1328 help
1329 Allow setting min and max CPU frequencies. Sysfs can be used
1330 to override these values.
1331
1332config MSM_CPU_FREQ_MAX
1333 int "Max CPU Frequency"
1334 depends on MSM_CPU_FREQ_SET_MIN_MAX
1335 default 384000
1336
1337config MSM_CPU_FREQ_MIN
1338 int "Min CPU Frequency"
1339 depends on MSM_CPU_FREQ_SET_MIN_MAX
1340 default 245760
1341
1342endif # CPU_FREQ_MSM
1343
1344config MSM_CPU_AVS
1345 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1346 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1347 depends on ARCH_QSD8X50
1348 default n
1349 select MSM_AVS_HW
1350 help
1351 This enables the s/w control of Adaptive Voltage Scaling feature
1352 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1353 based on feedback from three ring oscillators in the CPU.
1354
1355config MSM_AVS_HW
1356 bool "Enable Adaptive Voltage Scaling (AVS)"
1357 default n
1358 help
1359 Enable AVS hardware to fine tune voltage at each frequency. The
1360 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1361 fine tune the voltages based on the feedback from the ring
1362 oscillators.
1363
1364config MSM_HW3D
1365 tristate "MSM Hardware 3D Register Driver"
1366 depends on ANDROID_PMEM
1367 default y
1368 help
1369 Provides access to registers needed by the userspace OpenGL|ES
1370 library.
1371
1372config MSM_ADSP
1373 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1374 tristate "MSM ADSP driver"
1375 depends on ANDROID_PMEM
1376 default y
1377 help
1378 Provides access to registers needed by the userspace aDSP library.
1379
1380config ADSP_RPC_VER
1381 hex
1382 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1383 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1384 depends on MSM_ADSP
1385 help
1386 Select proper ADSP RPC version
1387choice
1388 prompt "ADSP RPC version"
1389
1390 default AMSS_7X25_VERSION_2009
1391
1392 config AMSS_7X25_VERSION_2009
1393 bool "2.0.09"
1394
1395 config AMSS_7X25_VERSION_2008
1396 bool "2.0.08"
1397endchoice
1398
1399config MSM7KV2_AUDIO
1400 bool "MSM7K v2 audio"
1401 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1402 default y
1403 help
1404 Enables QDSP5V2-based audio drivers for audio playbacks and
1405 voice call.
1406
1407config MSM_ADSP_REPORT_EVENTS
1408 bool "Report modem events from the DSP"
1409 default y
1410 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1411 help
1412 Normally, only messages from the aDSP are reported to userspace.
1413 With this option, we report events from the aDSP as well.
1414
1415config MSM_QDSP6
1416 tristate "QDSP6 support"
1417 depends on ARCH_QSD8X50 && ANDROID_PMEM
1418 default y
1419 help
1420 Enable support for qdsp6. This provides audio and video functionality.
1421
1422config MSM8X60_AUDIO
1423 tristate "MSM8X60 audio support"
1424 depends on ARCH_MSM8X60 && ANDROID_PMEM
1425 default y
1426 help
1427 Enable support for qdsp6v2. This provides audio functionality.
1428
1429config MSM8X60_FTM_AUDIO_DEVICES
1430 bool "MSM8X60 audio factory test mode support"
1431 depends on MSM8X60_AUDIO
1432 help
1433 Enable support audio factory test mode devices. This is used
1434 in a production line environment.
1435
Ben Romberger45b351c2011-07-20 22:37:27 -07001436config RTAC
1437 bool "MSM8K real-time audio calibration support"
1438 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001439 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001440 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001441 audio operation
1442
1443config MSM7X27A_AUDIO
1444 bool "MSM7X27A audio support"
1445 depends on ARCH_MSM7X27A && MSM_ADSP
1446 default n
1447 help
1448 Enable support for 7x27a. This provides audio functionality.
1449
Justin Pauporea6cd2092011-06-22 16:19:45 -07001450config MSM_PROC_COMM_REGULATOR
1451 bool
1452 depends on MSM_PROC_COMM && REGULATOR
1453 help
1454 Enable regulator framework support for regulators managed by PMLIB
1455 on the modem, and controlled through proccomm calls.
1456
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001457config MSM_VREG_SWITCH_INVERTED
1458 bool "Reverse vreg switch polarity"
1459 default n
1460 help
1461 Reverses the enable and disable for vreg switch.
1462
1463config MSM_DMA_TEST
1464 tristate "MSM DMA test module"
1465 default m
1466 help
1467 Intended to be compiled as a module. Provides a device node
1468 and ioctls for testing the MSM dma system.
1469
1470config WIFI_CONTROL_FUNC
1471 bool "Enable WiFi control function abstraction"
1472 help
1473 Enables Power/Reset/Carddetect function abstraction
1474
1475config WIFI_MEM_PREALLOC
1476 depends on WIFI_CONTROL_FUNC
1477 bool "Preallocate memory for WiFi buffers"
1478 help
1479 Preallocates memory buffers for WiFi driver
1480
1481config QSD_AUDIO
1482 bool "QSD audio"
1483 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1484 default y
1485 help
1486 Provides PCM, MP3, and AAC audio playback.
1487
1488config AUDIO_AAC_PLUS
1489 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1490 bool "AAC+ Audio"
1491 default y
1492 help
1493 Provides AAC+ decoding
1494
1495config AUDIO_ENHANCED_AAC_PLUS
1496 depends on AUDIO_AAC_PLUS
1497 bool "Enhanced AAC+ Audio"
1498 default y
1499 help
1500 Provides Enhanced AAC+ decoding
1501
1502config SURF_FFA_GPIO_KEYPAD
1503 bool "MSM SURF/FFA GPIO keypad"
1504 depends on INPUT_GPIO = "y"
1505 default y
1506 help
1507 Select if the GPIO keypad is attached.
1508
1509config MSM_SLEEP_TIME_OVERRIDE
1510 bool "Allow overriding suspend/sleep time with PM module parameter"
1511 default y
1512 help
1513 Enable the module parameter sleep_time_override. Specified
1514 in units of seconds, it overwrites the normal sleep time of
1515 suspend. The feature is required for automated power management
1516 testing.
1517
1518config MSM_MEMORY_LOW_POWER_MODE
1519 bool "Control the low power modes of memory"
1520 default n
1521 help
1522 The application processor controls whether memory should enter
1523 which low power mode.
1524
1525choice
1526 prompt "Default Memory Low Power Mode during Idle"
1527 depends on MSM_MEMORY_LOW_POWER_MODE
1528 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1529 help
1530 Selects the default low power mode of the memory during idle
1531 sleep.
1532
1533 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1534 bool "Memory active"
1535
1536 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1537 bool "Memory in retention"
1538
1539 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1540 bool "Memory in deep power down"
1541endchoice
1542
1543choice
1544 prompt "Default Memory Low Power Mode during Suspend"
1545 depends on MSM_MEMORY_LOW_POWER_MODE
1546 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1547 help
1548 Selects the default low power mode of the memory during suspend
1549 sleep.
1550
1551 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1552 bool "Memory active"
1553
1554 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1555 bool "Memory in retention"
1556
1557 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1558 bool "Memory in deep power down"
1559endchoice
1560
1561choice
1562 prompt "Power management timeout action"
1563 default MSM_PM_TIMEOUT_HALT
1564 help
1565 Selects the Application Processor's action when Power Management
1566 times out waiting for Modem's handshake.
1567
1568 config MSM_PM_TIMEOUT_HALT
1569 bool "Halt the Application Processor"
1570
1571 config MSM_PM_TIMEOUT_RESET_MODEM
1572 bool "Reset the Modem Processor"
1573
1574 config MSM_PM_TIMEOUT_RESET_CHIP
1575 bool "Reset the entire chip"
1576endchoice
1577
1578config MSM_IDLE_WAIT_ON_MODEM
1579 int "Wait for Modem to become ready for idle power collapse"
1580 default 0
1581 help
1582 If Modem is not ready to handle Application Processor's request
1583 for idle power collapse, wait the number of microseconds in case
1584 Modem becomes ready soon.
1585
Matt Wagantall9274df92011-12-15 11:11:05 -08001586config MSM_RPM_REGULATOR
1587 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001588 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001589 help
1590 Compile in support for the RPM regulator driver, used for setting
1591 voltages and other parameters of the various power rails supplied
1592 by some Qualcomm PMICs.
1593
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001594config MSM_PIL
1595 bool "Peripheral image loading"
1596 select FW_LOADER
1597 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1598 default n
1599 help
1600 Some peripherals need to be loaded into memory before they can be
1601 brought out of reset.
1602
1603 Say yes to support these devices.
1604
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001605config MSM_PIL_MODEM
1606 tristate "Modem (ARM11) Boot Support"
1607 depends on MSM_PIL
1608 help
1609 Support for booting and shutting down ARM11 Modem processors.
1610
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001611config MSM_PIL_QDSP6V3
1612 tristate "QDSP6v3 (Hexagon) Boot Support"
1613 depends on MSM_PIL
1614 help
1615 Support for booting and shutting down QDSP6v3 processors (hexagon).
1616 The QDSP6 is a low power DSP used in audio software applications.
1617
Stephen Boydeb819882011-08-29 14:46:30 -07001618config MSM_PIL_QDSP6V4
1619 tristate "QDSP6v4 (Hexagon) Boot Support"
1620 depends on MSM_PIL
1621 help
1622 Support for booting and shutting down QDSP6v4 processors (hexagon).
1623 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1624 software applications.
1625
Stephen Boyd322a9922011-09-20 01:05:54 -07001626config MSM_PIL_RIVA
1627 tristate "RIVA (WCNSS) Boot Support"
1628 depends on MSM_PIL
1629 help
1630 Support for booting and shutting down the RIVA processor (WCNSS).
1631 Riva is the wireless subsystem processor used in bluetooth, wireless
1632 LAN, and FM software applications.
1633
Stephen Boydd89eebe2011-09-28 23:28:11 -07001634config MSM_PIL_TZAPPS
1635 tristate "TZApps Boot Support"
1636 depends on MSM_PIL
1637 help
1638 Support for booting and shutting down TZApps.
1639
1640 TZApps is an image that runs in the secure processor state. It is
1641 used to decrypt data and perform secure operations on the behalf of
1642 the kernel.
1643
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001644config MSM_SCM
1645 bool "Secure Channel Manager (SCM) support"
1646 default n
1647
1648config MSM_SUBSYSTEM_RESTART
1649 bool "MSM Subsystem Restart Driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001650 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001651 default n
1652 help
1653 This option enables the MSM subsystem restart driver, which provides
1654 a framework to handle subsystem crashes.
1655
Matt Wagantallf8020902011-08-30 21:19:23 -07001656config MSM_SYSMON_COMM
1657 bool "MSM System Monitor communication support"
1658 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1659 default y
1660 help
1661 This option adds support for MSM System Monitor library, which
1662 provides an API that may be used for notifying subsystems within
1663 the SoC about other subsystems' power-up/down state-changes.
1664
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001665config MSM_MODEM_8960
1666 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001667 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001668 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001669 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001670 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001671 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001672
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001673config MSM_LPASS_8960
1674 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001675 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001676 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001677 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001678 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001679 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001680
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001681config MSM_WCNSS_SSR_8960
1682 tristate "MSM 8960 WCNSS restart module"
1683 depends on (ARCH_MSM8960)
1684 help
1685 This option enables the WCNSS restart module for MSM8960, which
1686 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1687 into the subsystem restart framework.
1688
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001689config SCORPION_Uni_45nm_BUG
1690 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1691 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1692 default y
1693 help
1694 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1695 invalidating the Branch Predictor Array by Modified Virtual Address can
1696 create invalid entries in the TLB with the wrong ASID values on Scorpion
1697 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1698 workaround for Scorpion Uniprocessor 45nm cores.
1699
1700 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1701
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001702config MSM_BUSPM_DEV
1703 tristate "MSM Bus Performance Monitor Kernel Module"
1704 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1705 default m
1706 help
1707 This kernel module is used to mmap() hardware registers for the
1708 performance monitors, counters, etc. The module can also be used to
1709 allocate physical memory which is used by bus performance hardware to
1710 dump performance data.
1711
Mona Hossain11c03ac2011-10-26 12:42:10 -07001712config MSM_TZ_LOG
1713 tristate "MSM Trust Zone (TZ) Log Driver"
1714 depends on DEBUG_FS
1715 help
1716 This option enables a driver with a debugfs interface for messages
1717 produced by the Secure code (Trust zone). These messages provide
1718 diagnostic information about TZ operation.
1719
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001720config MSM_RPM_LOG
1721 tristate "MSM Resource Power Manager Log Driver"
1722 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001723 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001724 default n
1725 help
1726 This option enables a driver which can read from a circular buffer
1727 of messages produced by the RPM. These messages provide diagnostic
1728 information about RPM operation. The driver outputs the messages
1729 via a debugfs node.
1730
1731config MSM_RPM_STATS_LOG
1732 tristate "MSM Resource Power Manager Stat Driver"
1733 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001734 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001735 default n
1736 help
1737 This option enables a driver which reads RPM messages from a shared
1738 memory location. These messages provide statistical information about
1739 the low power modes that RPM enters. The drivers outputs the message
1740 via a debugfs node.
1741
1742config MSM_IOMMU
1743 bool "MSM IOMMU Support"
Joel King41d594e2011-10-14 13:18:20 -07001744 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_APQ8064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001745 select IOMMU_API
1746 default n
1747 help
1748 Support for the IOMMUs found on certain Qualcomm SOCs.
1749 These IOMMUs allow virtualization of the address space used by most
1750 cores within the multimedia subsystem.
1751
1752 If unsure, say N here.
1753
1754config IOMMU_PGTABLES_L2
1755 bool "Allow SMMU page tables in the L2 cache (Experimental)"
1756 depends on MSM_IOMMU=y
1757 depends on MMU
1758 depends on CPU_DCACHE_DISABLE=n
1759 depends on SMP
1760 default y
1761 help
1762 Improves TLB miss latency at the expense of potential L2 pollution.
1763 However, with large multimedia buffers, the TLB should mostly contain
1764 section mappings and TLB misses should be quite infrequent.
1765 Most people can probably say Y here.
1766
1767config MSM_DIRECT_SCLK_ACCESS
1768 bool "Direct access to the SCLK timer"
1769 default n
1770
1771config IOMMU_API
1772 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001773
Gregory Beanab78cde2010-09-01 16:26:12 -07001774config MSM_GPIOMUX
1775 bool
1776
Gregory Bean1963a2a2010-08-28 10:05:44 -07001777config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001778 bool
1779
1780config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07001781 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001782
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001783config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001784 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001785
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001786config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001787 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001788
1789config MSM_BUS_SCALING
1790 bool "Bus scaling driver"
1791 default n
1792
Gagan Mac85c70492011-06-10 16:07:47 -06001793config MSM_BUS_RPM_MULTI_TIER_ENABLED
1794 bool "RPM Multi-tiering Configuration"
1795 depends on MSM_BUS_SCALING
1796
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001797config MSM_WATCHDOG
1798 bool "MSM Watchdog Support"
Rohit Vaswani085a9332011-09-28 18:57:24 -07001799 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001800 help
1801 This enables the watchdog as is present on 8x60. Currently we use
1802 core 0's watchdog, and reset the entire SoC if it times out. It does
1803 not run during the bootup process, so it will not catch any early
1804 lockups.
1805
1806config MSM_DLOAD_MODE
1807 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07001808 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001809 default n
1810 help
1811 This makes the SoC enter download mode when it resets
1812 due to a kernel panic. Note that this doesn't by itself
1813 make the kernel reboot on a kernel panic - that must be
1814 enabled via another mechanism.
1815
Pratik Patel17f3b822011-11-21 12:41:47 -08001816config MSM_JTAG
1817 bool "JTAG debug and trace support"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001818 help
Pratik Patel17f3b822011-11-21 12:41:47 -08001819 Add additional support for JTAG kernel debugging and tracing.
Pratik Patel7831c082011-06-08 21:44:37 -07001820
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001821config MSM_ETM
1822 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08001823 depends on ARCH_MSM8X60
1824 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001825 help
Pratik Patel17f3b822011-11-21 12:41:47 -08001826 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07001827
1828config MSM_QDSS
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001829 bool "Qualcomm Debug Subsystem"
Pratik Patel17f3b822011-11-21 12:41:47 -08001830 select MSM_JTAG
Pratik Patel7831c082011-06-08 21:44:37 -07001831 help
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001832 Enables support for Qualcomm Debug Subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001833
Pratik Patel29cba152012-01-03 11:40:26 -08001834config MSM_QDSS_ETM_DEFAULT_ENABLE
1835 bool "Turn on QDSS ETM Tracing by Default"
1836 depends on MSM_QDSS
1837 help
1838 Turns on QDSS ETM tracing by default. Otherwise, tracing is
1839 disabled by default but can be enabled by other means.
1840
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001841config MSM_SLEEP_STATS
1842 bool "Enable exporting of MSM sleep stats to userspace"
1843 depends on CPU_IDLE
1844 default n
1845
1846config MSM_STANDALONE_POWER_COLLAPSE
1847 bool "Enable standalone power collapse"
1848 default n
1849
1850config MSM_GSBI9_UART
1851 bool "Enable GSBI9 UART device"
1852 default n
1853 help
1854 This enables GSBI9 configured into UART.
1855
1856config MSM_SHARED_GPIO_FOR_UART2DM
1857 bool "Use shared GPIOs into UART mode"
1858 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
1859 help
1860 This option configures GPIO muxed with SDC4/MMC3
1861 8-bit mode into UART mode. It is used for serial
1862 console on UART2DM. Say Y if you want to have
1863 serial console on UART2DM.
1864
1865config MSM_SHOW_RESUME_IRQ
1866 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08001867 depends on (ARM_GIC || PMIC8058)
1868 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001869 default n
1870 help
1871 This option logs wake up interrupts that have triggered just before
1872 the resume loop unrolls. Say Y if you want to debug why the system
1873 resumed.
1874
1875config BT_MSM_PINTEST
1876 tristate "MSM Bluetooth Pin Connectivity Test"
1877 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
1878 default n
1879 help
1880 Bluetooth MSM Pin Connectivity test module.
1881 This driver provides support for verifying the MSM to BT pin
1882 connectivity.
1883
1884config MSM_FAKE_BATTERY
1885 depends on POWER_SUPPLY
1886 default n
1887 bool "MSM Fake Battery"
1888 help
1889 Enables MSM fake battery driver.
1890
1891config MSM_QDSP6_APR
1892 bool "Audio QDSP6 APR support"
1893 depends on MSM_SMD
1894 default n
1895 help
1896 Enable APR IPC protocol support between
1897 application processor and QDSP6. APR is
1898 used by audio driver to configure QDSP6's
1899 ASM, ADM and AFE.
1900
1901
1902config MSM_AUDIO_QDSP6
1903 bool "QDSP6 HW Audio support"
1904 select SND_SOC_MSM_QDSP6_INTF
1905 default n
1906 help
1907 Enable HW audio support in QDSP6.
1908 QDSP6 can support HW encoder & decoder and audio processing
1909
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02001910config MSM_ULTRASOUND
1911 bool "MSM ultrasound support"
1912 depends on MSM_AUDIO_QDSP6
1913 help
1914 Enable support for qdsp6/ultrasound.
1915
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001916config MSM_RPC_VIBRATOR
1917 bool "RPC based MSM Vibrator Support"
1918 depends on MSM_ONCRPCROUTER
1919 help
1920 Enable the vibrator support on MSM over RPC. The vibrator
1921 is connected on the PMIC. Say Y if you want to enable this
1922 feature.
1923
1924config PM8XXX_RPC_VIBRATOR
1925 bool "RPC based Vibrator on PM8xxx PMICs"
1926 depends on MSM_RPC_VIBRATOR
1927 help
1928 Enable the vibrator support on MSM over RPC. The vibrator
1929 is connected on the PM8XXX PMIC. Say Y if you want to enable
1930 this feature.
1931
1932config MSM_SPM_V1
1933 bool "Driver support for SPM Version 1"
1934 help
1935 Enables the support for Version 1 of the SPM driver. SPM hardware is
1936 used to manage the processor power during sleep. The driver allows
1937 configuring SPM to allow different power modes.
1938
1939config MSM_SPM_V2
1940 bool "Driver support for SPM Version 2"
1941 help
1942 Enables the support for Version 2 of the SPM driver. SPM hardware is
1943 used to manage the processor power during sleep. The driver allows
1944 configuring SPM to allow different power modes.
1945
1946config MSM_L2_SPM
1947 bool "SPM support for L2 cache"
1948 depends on MSM_SPM_V2
1949 help
1950 Enable SPM driver support for L2 cache. Some MSM chipsets allow
1951 control of L2 cache low power mode with a Subsystem Power manager.
1952 Enabling this driver allows configuring L2 SPM for low power modes
1953 on supported chipsets.
1954
Laura Abbott2d1760b2011-09-29 21:31:24 -07001955config MSM_MULTIMEDIA_USE_ION
1956 bool "Multimedia suport using Ion"
1957 depends on ION_MSM
1958 help
1959 Enable support for multimedia drivers using Ion for buffer management
1960 instead of pmem. Selecting this may also involve userspace
1961 dependencies as well.
1962
Brian Swetland9e73c842007-11-26 04:12:13 -08001963endif