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