blob: 8a7d46652af6a764dcd8e5d0aa697e73d9dc5f08 [file] [log] [blame]
Brian Swetland1637de02008-09-09 07:13:33 -07001if ARCH_MSM
Brian Swetland9e73c842007-11-26 04:12:13 -08002
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -07003menu "MSM SoC Type"
Daniel Walkerbf83de42010-03-16 16:29:44 -07004
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07005config ARCH_MSM7X01A
Daniel Walkerbf83de42010-03-16 16:29:44 -07006 bool "MSM7x00A / MSM7x01A"
7 select ARCH_MSM_ARM11
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07008 select MSM_VIC
Daniel Walkerbf83de42010-03-16 16:29:44 -07009 select CPU_V6
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070010 select MSM_REMOTE_SPINLOCK_SWP
11
12config ARCH_MSM7X25
13 bool "MSM7x25"
14 select ARCH_MSM_ARM11
15 select MSM_VIC
16 select CPU_V6
17 select MSM_REMOTE_SPINLOCK_SWP
Taniya Dasbe561a02011-10-12 09:53:11 +053018 select MULTI_IRQ_HANDLER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070019
20config ARCH_MSM7X27
21 bool "MSM7x27"
22 select ARCH_MSM_ARM11 if MSM_SOC_REV_NONE
23 select ARCH_HAS_BARRIERS if MSM_SOC_REV_NONE
24 select ARCH_MSM_CORTEX_A5 if MSM_SOC_REV_A
25 select MSM_VIC
26 select CPU_V6 if MSM_SOC_REV_NONE
27 select CPU_V7 if MSM_SOC_REV_A
28 select MSM_REMOTE_SPINLOCK_SWP if MSM_SOC_REV_NONE
29 select MSM_GPIOMUX
30 select REGULATOR
Taniya Dasbe561a02011-10-12 09:53:11 +053031 select MULTI_IRQ_HANDLER
Pankaj Kumar75c86fd2011-10-01 18:51:09 +053032 select MSM_PROC_COMM_REGULATOR
Laura Abbott1fbd2e62011-12-18 10:26:46 -080033 select CLEANCACHE
34 select QCACHE
Daniel Walkerbf83de42010-03-16 16:29:44 -070035
Daniel Walker7b521612010-05-06 12:44:57 -070036config ARCH_MSM7X30
37 bool "MSM7x30"
38 select ARCH_MSM_SCORPION
Daniel Walker7b521612010-05-06 12:44:57 -070039 select MSM_VIC
40 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070041 select MSM_REMOTE_SPINLOCK_DEKKERS
42 select ARCH_SPARSEMEM_ENABLE
Laura Abbott78593b52011-09-26 18:48:14 -070043 select ARCH_HAS_HOLES_MEMORYMODEL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070044 select MEMORY_HOTPLUG
45 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -080046 select ARCH_ENABLE_MEMORY_HOTPLUG
47 select ARCH_ENABLE_MEMORY_HOTREMOVE
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070048 select MIGRATION
49 select ARCH_MEMORY_PROBE
50 select ARCH_MEMORY_REMOVE
Gregory Beanab78cde2010-09-01 16:26:12 -070051 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070052 select RESERVE_FIRST_PAGE
53 select MSM_DALRPC
54 select MSM_SPM_V1
55 select REGULATOR
Justin Paupore637a25d2011-07-14 17:11:04 -070056 select MSM_PROC_COMM_REGULATOR
Taniya Dasbae99fb2011-10-12 09:55:13 +053057 select MULTI_IRQ_HANDLER
Daniel Walker7b521612010-05-06 12:44:57 -070058
Daniel Walker4ad15e62010-05-06 13:54:17 -070059config ARCH_QSD8X50
60 bool "QSD8X50"
61 select ARCH_MSM_SCORPION
Daniel Walker4ad15e62010-05-06 13:54:17 -070062 select MSM_VIC
63 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070064 select MSM_REMOTE_SPINLOCK_LDREX
65 select CPU_USE_DOMAINS
66 select EMULATE_DOMAIN_MANAGER_V7
Gregory Beanab78cde2010-09-01 16:26:12 -070067 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070068 select MSM_DALRPC
Daniel Walker46fe5f22010-08-18 11:00:25 -070069
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070070config ARCH_MSM8X60
71 bool "MSM8X60"
Jeff Ohlsteine14411d2010-11-30 13:06:36 -080072 select ARCH_MSM_SCORPIONMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070073 select SMP_PARALLEL_START if SMP
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070074 select ARM_GIC
75 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070076 select MSM_REMOTE_SPINLOCK_LDREX
77 select ARCH_REQUIRE_GPIOLIB
78 select MSM_ADM3
79 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -080080 select MSM_RPM_REGULATOR
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070081 select MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070082 select MSM_PIL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070083 select ARCH_HAS_CPU_IDLE_WAIT
84 select MSM_DIRECT_SCLK_ACCESS
85 select MSM_RPM
86 select MSM_XO
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070087 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070088 select MSM_BUS_SCALING
89 select MSM_SECURE_IO
90 select MSM_DALRPC
91 select MSM_QDSP6_APR
92 select MSM_NATIVE_RESTART
93 select ARCH_INLINE_SPIN_TRYLOCK
94 select ARCH_INLINE_SPIN_TRYLOCK_BH
95 select ARCH_INLINE_SPIN_LOCK
96 select ARCH_INLINE_SPIN_LOCK_BH
97 select ARCH_INLINE_SPIN_LOCK_IRQ
98 select ARCH_INLINE_SPIN_LOCK_IRQSAVE
99 select ARCH_INLINE_SPIN_UNLOCK
100 select ARCH_INLINE_SPIN_UNLOCK_BH
101 select ARCH_INLINE_SPIN_UNLOCK_IRQ
102 select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
103 select ARCH_INLINE_READ_TRYLOCK
104 select ARCH_INLINE_READ_LOCK
105 select ARCH_INLINE_READ_LOCK_BH
106 select ARCH_INLINE_READ_LOCK_IRQ
107 select ARCH_INLINE_READ_LOCK_IRQSAVE
108 select ARCH_INLINE_READ_UNLOCK
109 select ARCH_INLINE_READ_UNLOCK_BH
110 select ARCH_INLINE_READ_UNLOCK_IRQ
111 select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
112 select ARCH_INLINE_WRITE_TRYLOCK
113 select ARCH_INLINE_WRITE_LOCK
114 select ARCH_INLINE_WRITE_LOCK_BH
115 select ARCH_INLINE_WRITE_LOCK_IRQ
116 select ARCH_INLINE_WRITE_LOCK_IRQSAVE
117 select ARCH_INLINE_WRITE_UNLOCK
118 select ARCH_INLINE_WRITE_UNLOCK_BH
119 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
120 select CPU_HAS_L2_PMU
121 select MSM_SPM_V1
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530122 select MSM_SCM if SMP
123 select MULTI_IRQ_HANDLER
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700124
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800125config ARCH_MSM8960
126 bool "MSM8960"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700127 select ARCH_MSM_KRAITMP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800128 select ARM_GIC
129 select CPU_V7
130 select MSM_V2_TLMM
131 select MSM_GPIOMUX
132 select MSM_SCM if SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700133 select MSM_DIRECT_SCLK_ACCESS
134 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -0800135 select MSM_RPM_REGULATOR
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700136 select MSM_RPM
137 select MSM_XO
138 select MSM_QDSP6_APR
139 select MSM_PIL
140 select MSM_AUDIO_QDSP6 if SND_SOC
141 select CPU_HAS_L2_PMU
142 select MSM_SPM_V2
143 select MSM_L2_SPM
144 select MSM_NATIVE_RESTART
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700145 select DONT_MAP_HOLE_AFTER_MEMBANK0
146 select MSM_REMOTE_SPINLOCK_SFPB
147 select ARCH_POPULATES_NODE_MAP
148 select ARCH_SPARSEMEM_ENABLE
149 select ARCH_HAS_HOLES_MEMORYMODEL
150 select MEMORY_HOTPLUG
151 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -0800152 select ARCH_ENABLE_MEMORY_HOTPLUG
153 select ARCH_ENABLE_MEMORY_HOTREMOVE
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700154 select MIGRATION
155 select ARCH_MEMORY_PROBE
156 select ARCH_MEMORY_REMOVE
Larry Bassel4dc15912011-10-14 11:01:43 -0700157 select FIX_MOVABLE_ZONE
Larry Basseld4d82c92011-12-07 09:52:49 -0800158 select CLEANCACHE
159 select QCACHE
Laura Abbott6d61a912011-10-27 16:44:14 -0700160 select MSM_MULTIMEDIA_USE_ION
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530161 select MULTI_IRQ_HANDLER
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700162
163config ARCH_MSM8930
164 bool "MSM8930"
165 select ARCH_MSM_KRAITMP
166 select ARM_GIC
167 select CPU_V7
168 select MSM_V2_TLMM
169 select MSM_GPIOMUX
170 select MSM_SCM if SMP
171 select MSM_DIRECT_SCLK_ACCESS
172 select REGULATOR
David Collins5779cea2012-01-05 15:09:21 -0800173 select MSM_RPM_REGULATOR
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700174 select MSM_RPM
175 select MSM_XO
176 select MSM_QDSP6_APR
177 select MSM_PIL
178 select MSM_AUDIO_QDSP6 if SND_SOC
179 select CPU_HAS_L2_PMU
180 select MSM_SPM_V2
181 select MSM_L2_SPM
182 select MSM_NATIVE_RESTART
183 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600184 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700185 select ARCH_POPULATES_NODE_MAP
186 select ARCH_SPARSEMEM_ENABLE
187 select ARCH_HAS_HOLES_MEMORYMODEL
188 select MEMORY_HOTPLUG
189 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -0800190 select ARCH_ENABLE_MEMORY_HOTPLUG
191 select ARCH_ENABLE_MEMORY_HOTREMOVE
Larry Basself74479e2011-09-08 11:07:52 -0700192 select MIGRATION
193 select ARCH_MEMORY_PROBE
194 select ARCH_MEMORY_REMOVE
Larry Bassel4dc15912011-10-14 11:01:43 -0700195 select FIX_MOVABLE_ZONE
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +0200196 select MSM_ULTRASOUND
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530197 select MULTI_IRQ_HANDLER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700198
199config ARCH_APQ8064
200 bool "APQ8064"
201 select ARCH_MSM_KRAITMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700202 select MSM_V2_TLMM
203 select ARM_GIC
204 select CPU_V7
205 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700206 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600207 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800208 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800209 select MSM_QDSP6_APR
210 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530211 select MULTI_IRQ_HANDLER
Praveen Chidambaram78499012011-11-01 17:15:17 -0600212 select MSM_RPM
213 select MSM_SPM_V2
214 select MSM_L2_SPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700215
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700216config ARCH_MSMCOPPER
217 bool "MSM Copper"
218 select ARCH_MSM_KRAITMP
219 select MSM_V2_TLMM
220 select ARM_GIC
221 select CPU_V7
222 select MSM_SCM if SMP
223 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530224 select MULTI_IRQ_HANDLER
Olav Hauganb800c8c2012-01-30 08:50:45 -0800225 select MSM_MULTIMEDIA_USE_ION
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700226
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700227config ARCH_FSM9XXX
228 bool "FSM9XXX"
229 select ARCH_MSM_SCORPION
230 select MSM_VIC
231 select CPU_V7
232 select MSM_REMOTE_SPINLOCK_LDREX
233 select FSM9XXX_TLMM
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530234 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800235 select MSM_DALRPC
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800236
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700237config ARCH_MSM9615
238 bool "MSM9615"
239 select ARM_GIC
240 select ARCH_MSM_CORTEX_A5
241 select CPU_V7
242 select MSM_V2_TLMM
243 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600244 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600245 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700246 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800247 select REGULATOR
248 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530249 select MULTI_IRQ_HANDLER
Matt Wagantall9274df92011-12-15 11:11:05 -0800250
Taniya Das43bcdd62011-12-02 17:33:27 +0530251config ARCH_MSM8625
252 bool "MSM8625"
253 select ARCH_MSM_CORTEX_A5
254 select CPU_V7
255 select MSM_GPIOMUX
256 select ARM_GIC
257 select ARCH_MSM_CORTEXMP
258 select MULTI_IRQ_HANDLER
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700259endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700260
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700261choice
262 prompt "MSM SoC Revision"
263 default MSM_SOC_REV_NONE
264config MSM_SOC_REV_NONE
265 bool "N/A"
266 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
267 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walker4ad15e62010-05-06 13:54:17 -0700268config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700269 bool "Rev. A"
270 select ARCH_MSM7X27A if ARCH_MSM7X27
271endchoice
Daniel Walker4ad15e62010-05-06 13:54:17 -0700272
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700273config MSM_KRAIT_TBB_ABORT_HANDLER
274 bool "Krait TBB/TBH data abort handler"
275 depends on ARCH_MSM_KRAIT
276 depends on ARM_THUMB
277 help
278 Certain early samples of the Krait processor may generate data
279 aborts for TBB / TBH instructions that fail their condition code
280 checks. Enabling this option will ignore these erroneous data aborts,
281 at the expense of a very small performance penalty.
282
283 If unsure, say N.
284
Daniel Walker4ad15e62010-05-06 13:54:17 -0700285config ARCH_MSM_ARM11
286 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700287
Daniel Walker4ad15e62010-05-06 13:54:17 -0700288config ARCH_MSM_SCORPION
Daniel Walkerbf83de42010-03-16 16:29:44 -0700289 bool
290
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700291config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700292 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800293 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700294
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700295config MSM_SMP
296 bool
297
298config ARCH_MSM_SCORPIONMP
299 select ARCH_MSM_SCORPION
300 select MSM_SMP
301 bool
302
303config ARCH_MSM_KRAITMP
304 select ARCH_MSM_KRAIT
305 select MSM_SMP
306 bool
307
Taniya Das43bcdd62011-12-02 17:33:27 +0530308config ARCH_MSM_CORTEXMP
309 select MSM_SMP
310 bool
311
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700312config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800313 bool
Rohit Vaswaniaf7ae272012-01-09 10:28:57 -0800314 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700315
316config ARCH_MSM7X27A
317 bool
318 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700319 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530320 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530321 select ARM_GIC
322 select ARCH_MSM_CORTEXMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700323
Gregory Beanf9f3d312010-04-30 22:06:50 -0700324config MSM_VIC
325 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700326
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700327config MSM_RPM
328 bool "Resource Power Manager"
329 select MSM_MPM
330
331config MSM_MPM
332 bool "Modem Power Manager"
333
334config MSM_XO
335 bool
336
337config MSM_REMOTE_SPINLOCK_DEKKERS
338 bool
339config MSM_REMOTE_SPINLOCK_SWP
340 bool
341config MSM_REMOTE_SPINLOCK_LDREX
342 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600343config MSM_REMOTE_SPINLOCK_SFPB
344 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700345config MSM_ADM3
346 bool
347
348menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700349
350config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700351 depends on ARCH_MSM7X01A
352 depends on MSM_STACKED_MEMORY
353 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700354 bool "Halibut Board (QCT SURF7201A)"
355 help
356 Support for the Qualcomm SURF7201A eval board.
357
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700358config MACH_MSM7201A_SURF
359 depends on ARCH_MSM7X01A
360 depends on MSM_STACKED_MEMORY
361 default y
362 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700363 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700364 Support for the Qualcomm MSM7201A SURF eval board.
365
366config MACH_MSM7201A_FFA
367 depends on ARCH_MSM7X01A
368 depends on MSM_STACKED_MEMORY
369 default y
370 bool "MSM7201A FFA"
371 help
372 Support for the Qualcomm MSM7201A FFA eval board.
373
374config MACH_TROUT
375 depends on ARCH_MSM7X01A
376 depends on MSM_STACKED_MEMORY
377 default y
378 bool "Trout"
379
380config MACH_MSM7X27_SURF
381 depends on ARCH_MSM7X27
382 depends on !MSM_STACKED_MEMORY
383 default y
384 bool "MSM7x27 SURF"
385 help
386 Support for the Qualcomm MSM7x27 SURF eval board.
387
388config MACH_MSM7X27_FFA
389 depends on ARCH_MSM7X27
390 depends on !MSM_STACKED_MEMORY
391 default y
392 bool "MSM7x27 FFA"
393 help
394 Support for the Qualcomm MSM7x27 FFA eval board.
395
396config MACH_MSM7X27A_RUMI3
397 depends on ARCH_MSM7X27A
398 depends on !MSM_STACKED_MEMORY
399 default y
400 bool "MSM7x27A RUMI3"
401 help
402 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
403
404config MACH_MSM7X27A_SURF
405 depends on ARCH_MSM7X27A
406 depends on !MSM_STACKED_MEMORY
407 default y
408 bool "MSM7x27A SURF"
409 help
410 Support for the Qualcomm MSM7x27A SURF.
411
412config MACH_MSM7X27A_FFA
413 depends on ARCH_MSM7X27A
414 depends on !MSM_STACKED_MEMORY
415 default y
416 bool "MSM7x27A FFA"
417 help
418 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700419
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530420config MACH_MSM7625A_SURF
421 depends on ARCH_MSM7X27A
422 depends on !MSM_STACKED_MEMORY
423 default y
424 bool "MSM7625A SURF"
425 help
426 Support for the Qualcomm MSM7625A SURF.
427
428config MACH_MSM7625A_FFA
429 depends on ARCH_MSM7X27A
430 depends on !MSM_STACKED_MEMORY
431 default y
432 bool "MSM7625A FFA"
433 help
434 Support for the Qualcomm MSM7625A FFA.
435
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530436config MACH_MSM7627A_QRD1
437 depends on ARCH_MSM7X27A
438 depends on !MSM_STACKED_MEMORY
439 default y
440 bool "MSM7627A QRD1"
441 help
442 Support for the Qualcomm MSM7627A Refrence Design.
443
Taniya Dasc868a2e2012-01-03 10:18:47 +0530444config MACH_MSM7627A_EVB
445 depends on ARCH_MSM7X27A
446 depends on !MSM_STACKED_MEMORY
447 default y
448 bool "MSM7627A EVB"
449 help
450 Support for the Qualcomm MSM7627A Reference Design.
451
Taniya Das43bcdd62011-12-02 17:33:27 +0530452config MACH_MSM8625_RUMI3
453 depends on ARCH_MSM8625
454 depends on !MSM_STACKED_MEMORY
455 default y
456 bool "MSM8625 RUMI3"
457 help
458 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
459
Daniel Walker7b521612010-05-06 12:44:57 -0700460config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700461 depends on ARCH_MSM7X30
462 depends on !MSM_STACKED_MEMORY
463 default y
464 bool "MSM7x30 SURF"
465 help
466 Support for the Qualcomm MSM7x30 SURF eval board.
467
468config MACH_MSM7X30_FFA
469 depends on ARCH_MSM7X30
470 depends on !MSM_STACKED_MEMORY
471 default y
472 bool "MSM7x30 FFA"
473 help
474 Support for the Qualcomm MSM7x30 FFA eval board.
475
476config MACH_MSM7X30_FLUID
477 depends on ARCH_MSM7X30
478 depends on !MSM_STACKED_MEMORY
479 default y
480 bool "MSM7x30 FLUID"
481 help
482 Support for the Qualcomm MSM7x30 FLUID eval board.
483
484config MACH_SAPPHIRE
485 depends on ARCH_MSM7X01A
486 default n
487 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700488
Daniel Walker4ad15e62010-05-06 13:54:17 -0700489config MACH_QSD8X50_SURF
490 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700491 depends on MSM_SOC_REV_NONE
492 depends on MSM_STACKED_MEMORY
493 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700494 bool "QSD8x50 SURF"
495 help
496 Support for the Qualcomm QSD8x50 SURF eval board.
497
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700498config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700499 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700500 depends on MSM_SOC_REV_NONE
501 depends on MSM_STACKED_MEMORY
502 default y
503 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700504 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700505 Support for the Qualcomm QSD8x50 FFA eval board.
506
507config MACH_MSM7X25_SURF
508 depends on ARCH_MSM7X25
509 depends on !MSM_STACKED_MEMORY
510 default y
511 bool "MSM7x25 SURF"
512 help
513 Support for the Qualcomm MSM7x25 SURF eval board.
514
515config MACH_MSM7X25_FFA
516 depends on ARCH_MSM7X25
517 depends on !MSM_STACKED_MEMORY
518 default y
519 bool "MSM7x25 FFA"
520 help
521 Support for the Qualcomm MSM7x25 FFA eval board.
522
523config MACH_MSM8X55_SURF
524 depends on ARCH_MSM7X30
525 depends on !MSM_STACKED_MEMORY
526 default y
527 bool "MSM8X55 SURF"
528 help
529 Support for the Qualcomm MSM8x55 SURF eval board.
530
531config MACH_MSM8X55_FFA
532 depends on ARCH_MSM7X30
533 depends on !MSM_STACKED_MEMORY
534 default y
535 bool "MSM8X55 FFA"
536 help
537 Support for the Qualcomm MSM8x55 FFA eval board.
538
539config MACH_MSM8X55_SVLTE_FFA
540 depends on ARCH_MSM7X30
541 depends on !MSM_STACKED_MEMORY
542 default y
543 bool "MSM8X55 SVLTE FFA"
544 help
545 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
546
547config MACH_MSM8X55_SVLTE_SURF
548 depends on ARCH_MSM7X30
549 depends on !MSM_STACKED_MEMORY
550 default y
551 bool "MSM8X55 SVLTE SURF"
552 help
553 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700554
Steve Mucklea55df6e2010-01-07 12:43:24 -0800555config MACH_MSM8X60_RUMI3
556 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700557 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800558 bool "MSM8x60 RUMI3"
559 help
560 Support for the Qualcomm MSM8x60 RUMI3 emulator.
561
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800562config MACH_MSM8X60_SIM
563 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700564 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800565 bool "MSM8x60 Simulator"
566 help
567 Support for the Qualcomm MSM8x60 simulator.
568
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700569config MACH_MSM8X60_SURF
570 depends on ARCH_MSM8X60
571 default n
572 bool "MSM8x60 SURF"
573 help
574 Support for the Qualcomm MSM8x60 SURF eval board.
575
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700576config MACH_MSM8X60_FFA
577 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700578 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700579 bool "MSM8x60 FFA"
580 help
581 Support for the Qualcomm MSM8x60 FFA eval board.
582
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700583config MACH_MSM8X60_FLUID
584 depends on ARCH_MSM8X60
585 default n
586 bool "MSM8x60 FLUID"
587 help
588 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
589 8x60 target which has a form factor that is much closer to that
590 of a phone than other targets. It also has a new display and
591 touchscreen controller.
592
593config MACH_MSM8X60_FUSION
594 depends on ARCH_MSM8X60
595 default n
596 bool "MSM8x60 FUSION"
597 help
598 Support for the Qualcomm MSM8x60 Fusion SURF device.
599
600config MACH_MSM8X60_FUSN_FFA
601 depends on ARCH_MSM8X60
602 default n
603 bool "MSM8x60 FUSN FFA"
604 help
605 Support for the Qualcomm MSM8x60 Fusion FFA device.
606
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400607config MACH_MSM8X60_DRAGON
608 depends on ARCH_MSM8X60
609 default n
610 bool "MSM8x60 DRAGON"
611 help
612 Support for the Qualcomm MSM8x60 Dragon board.
613
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800614config MACH_MSM8960_SIM
615 depends on ARCH_MSM8960
616 bool "MSM8960 Simulator"
617 help
618 Support for the Qualcomm MSM8960 simulator.
619
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800620config MACH_MSM8960_RUMI3
621 depends on ARCH_MSM8960
622 bool "MSM8960 RUMI3"
623 help
624 Support for the Qualcomm MSM8960 RUMI3 emulator.
625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700626config MACH_MSM8960_CDP
627 depends on ARCH_MSM8960
628 bool "MSM8960 CDP"
629 help
630 Support for the Qualcomm MSM8960 CDP device.
631
632config MACH_MSM8960_MTP
633 depends on ARCH_MSM8960
634 bool "MSM8960 MTP"
635 help
636 Support for the Qualcomm MSM8960 MTP device.
637
638config MACH_MSM8960_FLUID
639 depends on ARCH_MSM8960
640 bool "MSM8960 FLUID"
641 help
642 Support for the Qualcomm MSM8960 FLUID device.
643
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300644config MACH_MSM8960_LIQUID
645 depends on ARCH_MSM8960
646 bool "MSM8960 LIQUID"
647 help
648 Support for the Qualcomm MSM8960 LIQUID device.
649
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700650config MACH_MSM8930_CDP
651 depends on ARCH_MSM8930
652 bool "MSM8930 CDP"
653 help
654 Support for the Qualcomm MSM8930 CDP device.
655
656config MACH_MSM8930_MTP
657 depends on ARCH_MSM8930
658 bool "MSM8930 MTP"
659 help
660 Support for the Qualcomm MSM8930 MTP device.
661
662config MACH_MSM8930_FLUID
663 depends on ARCH_MSM8930
664 bool "MSM8930 FLUID"
665 help
666 Support for the Qualcomm MSM8930 FLUID device.
667
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800668config MACH_MSM8627_CDP
669 depends on ARCH_MSM8930
670 bool "MSM8627 CDP"
671 help
672 Support for the Qualcomm MSM8627 CDP device.
673
674config MACH_MSM8627_MTP
675 depends on ARCH_MSM8930
676 bool "MSM8627 MTP"
677 help
678 Support for the Qualcomm MSM8627 MTP device.
679
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700680config MACH_MSM9615_CDP
681 depends on ARCH_MSM9615
682 bool "MSM9615 CDP"
683 help
684 Support for the Qualcomm MSM9615 CDP device.
685
686config MACH_MSM9615_MTP
687 depends on ARCH_MSM9615
688 bool "MSM9615 MTP"
689 help
690 Support for the Qualcomm MSM9615 MTP device.
691
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700692config MSM_USE_TSIF1
693 depends on ARCH_MSM8X60
694 bool "MSM8x60 use TSIF1"
695 help
696 Selects TSIF1 core to be used rather than TSIF0.
697 The two TSIF cores share the same DM configuration
698 so they cannot be used simultaneously.
699
700config MACH_APQ8064_SIM
701 depends on ARCH_APQ8064
702 bool "APQ8064 Simulator"
703 help
704 Support for the Qualcomm APQ8064 simulator.
705
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700706config MACH_APQ8064_RUMI3
707 depends on ARCH_APQ8064
708 bool "APQ8064 RUMI3"
709 help
710 Support for the Qualcomm APQ8064 RUMI3 emulator.
711
Joel King82b7e3f2012-01-05 10:03:27 -0800712config MACH_APQ8064_CDP
713 depends on ARCH_APQ8064
714 bool "APQ8064 CDP"
715 help
716 Support for the Qualcomm APQ8064 CDP device.
717
718config MACH_APQ8064_MTP
719 depends on ARCH_APQ8064
720 bool "APQ8064 MTP"
721 help
722 Support for the Qualcomm APQ8064 MTP device.
723
724config MACH_APQ8064_LIQUID
725 depends on ARCH_APQ8064
726 bool "APQ8064 LIQUID"
727 help
728 Support for the Qualcomm APQ8064 LIQUID device.
729
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700730config MACH_FSM9XXX_SURF
731 depends on ARCH_FSM9XXX
732 depends on !MSM_STACKED_MEMORY
733 default y
734 bool "FSM9XXX SURF"
735 help
736 Support for the Qualcomm FSM9xxx femtocell
737 chipset based SURF evaluation board and
738 FFA board.
739
Daniel Walker4ad15e62010-05-06 13:54:17 -0700740endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800741
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700742config MSM_STACKED_MEMORY
743 bool "Stacked Memory"
744 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800745 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700746 This option is used to indicate the presence of on-die stacked
747 memory. When present this memory bank is used for a high speed
748 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800749
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700750config PHYS_OFFSET
751 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700752 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700753 default "0x80200000" if ARCH_APQ8064
754 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700755 default "0x80200000" if ARCH_MSM8930
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700756 default "0x80200000" if ARCH_MSMCOPPER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700757 default "0x10000000" if ARCH_FSM9XXX
758 default "0x00200000" if !MSM_STACKED_MEMORY
759 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
760 default "0x20000000" if ARCH_QSD8X50
761 default "0x40200000" if ARCH_MSM8X60
762 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800763
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700764config KERNEL_PMEM_EBI_REGION
765 bool "Enable in-kernel PMEM region for EBI"
766 default y if ARCH_MSM8X60
Olav Hauganb800c8c2012-01-30 08:50:45 -0800767 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSMCOPPER)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700768 help
769 Enable the in-kernel PMEM allocator to use EBI memory.
770
771config KERNEL_PMEM_SMI_REGION
772 bool "Enable in-kernel PMEM region for SMI"
773 default y if ARCH_MSM8X60
774 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
775 help
776 Enable the in-kernel PMEM allocator to use SMI memory.
777
778config PMEM_GPU0
779 bool "Enable PMEM GPU0 region"
780 default y
781 depends on ARCH_QSD8X50 && ANDROID_PMEM
782 help
783 Enable the PMEM GPU0 device on SMI Memory.
784
785config MSM_AMSS_VERSION
786 int
787 default 6210 if MSM_AMSS_VERSION_6210
788 default 6220 if MSM_AMSS_VERSION_6220
789 default 6225 if MSM_AMSS_VERSION_6225
790
791choice
792 prompt "AMSS modem firmware version"
793
794 default MSM_AMSS_VERSION_6225
795
796 config MSM_AMSS_VERSION_6210
797 bool "6.2.10"
798
799 config MSM_AMSS_VERSION_6220
800 bool "6.2.20"
801
802 config MSM_AMSS_VERSION_6225
803 bool "6.2.20 + New ADSP"
804endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800805
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700806config MSM_HAS_DEBUG_UART_HS
807 bool
808 help
809 Say Y here if high speed MSM UART is present.
810
811config MSM_HAS_DEBUG_UART_HS_V14
812 bool
813 select MSM_HAS_DEBUG_UART_HS
814 help
815 Say Y here if high speed MSM UART v1.4 is present.
816
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800817config DEBUG_MSM8930_UART
818 bool "Kernel low-level debugging messages via MSM 8930 UART"
819 depends on ARCH_MSM8930 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700820 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800821 help
822 Say Y here if you want the debug print routines to direct
823 their output to the serial port on MSM 8930 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100824
825choice
826 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800827 depends on DEBUG_LL
Pavel Machek6339f662009-11-02 11:48:29 +0100828
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800829 config DEBUG_MSM_UART1
830 bool "Kernel low-level debugging messages via MSM UART1"
831 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
832 help
833 Say Y here if you want the debug print routines to direct
834 their output to the first serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100835
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800836 config DEBUG_MSM_UART2
837 bool "Kernel low-level debugging messages via MSM UART2"
838 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
839 help
840 Say Y here if you want the debug print routines to direct
841 their output to the second serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100842
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800843 config DEBUG_MSM_UART3
844 bool "Kernel low-level debugging messages via MSM UART3"
845 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
846 help
847 Say Y here if you want the debug print routines to direct
848 their output to the third serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100849
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800850 config DEBUG_MSM8660_UART
851 bool "Kernel low-level debugging messages via MSM 8660 UART"
852 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700853 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800854 help
855 Say Y here if you want the debug print routines to direct
856 their output to the serial port on MSM 8660 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100857
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800858 config DEBUG_MSM8960_UART
859 bool "Kernel low-level debugging messages via MSM 8960 UART"
860 depends on ARCH_MSM8960
861 select DEBUG_MSM8930_UART
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700862 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800863 help
864 Say Y here if you want the debug print routines to direct
865 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700866
867 config DEBUG_MSMCOPPER_UART
868 bool "Kernel low-level debugging messages via MSM Copper UART"
869 depends on ARCH_MSMCOPPER
870 select MSM_HAS_DEBUG_UART_HS_V14
871 help
872 Say Y here if you want the debug print routines to direct
873 their output to the serial port on MSM Copper devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100874endchoice
875
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700876choice
877 prompt "Default Timer"
878 default MSM7X00A_USE_GP_TIMER
879
880 config MSM7X00A_USE_GP_TIMER
881 bool "GP Timer"
882 help
883 Low resolution timer that allows power collapse from idle.
884
885 config MSM7X00A_USE_DG_TIMER
886 bool "DG Timer"
887 help
888 High resolution timer.
889endchoice
890
891choice
892 prompt "Suspend sleep mode"
893 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
894 help
895 Allows overriding the sleep mode used. Leave at power
896 collapse suspend unless the arm9 image has problems.
897
898 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
899 bool "Power collapse suspend"
900 help
901 Lowest sleep state. Returns through reset vector.
902
903 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
904 bool "Power collapse"
905 help
906 Sleep state that returns through reset vector.
907
908 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
909 bool "Apps Sleep"
910
911 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
912 bool "Ramp down cpu clock and wait for interrupt"
913
914 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
915 bool "Wait for interrupt"
916endchoice
917
918config MSM7X00A_SLEEP_MODE
919 int
920 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
921 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
922 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
923 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
924 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
925
926choice
927 prompt "Idle sleep mode"
928 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
929 help
930 Allows overriding the sleep mode used from idle. Leave at power
931 collapse suspend unless the arm9 image has problems.
932
933 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
934 bool "Power collapse suspend"
935 help
936 Lowest sleep state. Returns through reset vector.
937
938 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
939 bool "Power collapse"
940 help
941 Sleep state that returns through reset vector.
942
943 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
944 bool "Apps Sleep"
945
946 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
947 bool "Ramp down cpu clock and wait for interrupt"
948
949 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
950 bool "Wait for interrupt"
951endchoice
952
953config MSM7X00A_IDLE_SLEEP_MODE
954 int
955 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
956 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
957 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
958 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
959 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
960
961config MSM7X00A_IDLE_SLEEP_MIN_TIME
962 int "Minimum idle time before sleep"
963 default 20000000
964 help
965 Minimum idle time in nanoseconds before entering low power mode.
966
967config MSM7X00A_IDLE_SPIN_TIME
968 int "Idle spin time before cpu ramp down"
969 default 80000
970 help
971 Spin time in nanoseconds before ramping down cpu clock and entering
972 any low power state.
973
974menuconfig MSM_IDLE_STATS
975 bool "Collect idle statistics"
976 default y
977 help
978 Collect idle statistics and export them in proc/msm_pm_stats.
979
980if MSM_IDLE_STATS
981
982config MSM_IDLE_STATS_FIRST_BUCKET
983 int "First bucket time"
984 default 62500
985 help
986 Upper time limit in nanoseconds of first bucket.
987
988config MSM_IDLE_STATS_BUCKET_SHIFT
989 int "Bucket shift"
990 default 2
991
992config MSM_IDLE_STATS_BUCKET_COUNT
993 int "Bucket count"
994 default 10
995
996config MSM_SUSPEND_STATS_FIRST_BUCKET
997 int "First bucket time for suspend"
998 default 1000000000
999 help
1000 Upper time limit in nanoseconds of first bucket of the
1001 histogram. This is for collecting statistics on suspend.
1002
1003endif # MSM_IDLE_STATS
1004
1005config CPU_HAS_L2_PMU
1006 bool "L2CC PMU Support"
1007 help
1008 Select this if the L2 cache controller has a Performance Monitoring Unit.
1009
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001010config HTC_HEADSET
1011 tristate "HTC 2 Wire detection driver"
1012 default n
1013 help
1014 Provides support for detecting HTC 2 wire devices, such as wired
1015 headset, on the trout platform. Can be used with the msm serial
1016 debugger, but not with serial console.
1017
1018config TROUT_BATTCHG
1019 depends on MACH_TROUT && POWER_SUPPLY
1020 default y
1021 bool "Trout battery / charger driver"
1022
1023config HTC_PWRSINK
1024 depends on MSM_SMD
1025 default n
1026 bool "HTC Power Sink Driver"
1027
1028config QSD_SVS
1029 bool "QSD Static Voltage Scaling"
1030 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1031 default y
1032 select TPS65023
1033 help
1034 Enables static voltage scaling using the TPS65023 PMIC.
1035
1036config QSD_PMIC_DEFAULT_DCDC1
1037 int "PMIC default output voltage"
1038 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1039 default 1250
1040 help
1041 This is the PMIC voltage at Linux kernel boot.
1042
1043config MSM_FIQ_SUPPORT
1044 default y
1045 bool "Enable installation of an FIQ handler."
1046
1047config MSM_SERIAL_DEBUGGER
1048 select MSM_FIQ_SUPPORT
1049 select KERNEL_DEBUGGER_CORE
1050 default n
1051 bool "FIQ Mode Serial Debugger"
1052 help
1053 The FIQ serial debugger can accept commands even when the
1054 kernel is unresponsive due to being stuck with interrupts
1055 disabled. Depends on the kernel debugger core in drivers/misc.
1056
1057config MSM_SERIAL_DEBUGGER_CONSOLE
1058 depends on MSM_SERIAL_DEBUGGER
1059 default n
1060 bool "Console on FIQ Serial Debugger port"
1061 help
1062 Enables a console so that printk messages are displayed on
1063 the debugger serial port as the occur.
Daniel Walkerbf83de42010-03-16 16:29:44 -07001064
Steve Mucklec8aabae2010-04-21 16:20:27 -07001065config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001066 default y
1067 bool "Proc-Comm RPC Interface"
1068 help
1069 Enables a lightweight communications interface to the
1070 baseband processor.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001071
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001072config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001073 bool "MSM Shared Memory Driver (SMD)"
1074 help
1075 Support for the shared memory interface between the apps
1076 processor and the baseband processor. Provides access to
1077 the "shared heap", as well as virtual serial channels
1078 used to communicate with various services on the baseband
1079 processor.
1080
1081choice
1082 prompt "MSM Shared memory interface version"
1083 depends on MSM_SMD
1084 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1085 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1086
1087 config MSM_SMD_PKG3
1088 bool
1089 prompt "Package 3"
1090
1091 config MSM_SMD_PKG4
1092 bool
1093 prompt "Package 4"
1094endchoice
1095
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001096config MSM_RPC_SDIO_XPRT
1097 depends on MSM_SDIO_AL
1098 default y
1099 bool "MSM SDIO XPRT Layer"
1100 help
1101 SDIO Transport Layer for RPC Rouer
1102
1103config MSM_RPC_SDIO_DEBUG
1104 depends on MSM_RPC_SDIO_XPRT
1105 default y
1106 bool "MSM SDIO XPRT debug support"
1107 help
1108 Support for debugging SDIO XPRT
1109
1110config MSM_SMD_DEBUG
1111 depends on MSM_SMD
1112 default y
1113 bool "MSM SMD debug support"
1114 help
1115 Support for debugging the SMD for communication
1116 between the ARM9 and ARM11
1117
1118config MSM_SDIO_AL
1119 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1120 default y
1121 tristate "SDIO-Abstraction-Layer"
1122 help
1123 Support MSM<->MDM Communication over SDIO bus.
1124 MDM SDIO-Client should have pipes support.
1125
1126config MSM_SDIO_DMUX
1127 bool "SDIO Data Mux Driver"
1128 depends on MSM_SDIO_AL
1129 default n
1130 help
1131 Support Muxed Data Channels over SDIO interface.
1132
1133config MSM_BAM_DMUX
1134 bool "BAM Data Mux Driver"
1135 depends on SPS
1136 default n
1137 help
1138 Support Muxed Data Channels over BAM interface.
1139 BAM has a limited number of pipes. This driver
1140 provides a means to support more logical channels
1141 via muxing than BAM could without muxing.
1142
1143config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001144 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001145 default y
1146 bool "MSM N-WAY SMD support"
1147 help
1148 Supports APPS-QDSP SMD communication along with
1149 normal APPS-MODEM SMD communication.
1150
1151config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001152 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001153 default y
1154 bool "MSM N-WAY SMSM support"
1155 help
1156 Supports APPS-QDSP SMSM communication along with
1157 normal APPS-MODEM SMSM communication.
1158
1159config MSM_RESET_MODEM
1160 tristate "Reset Modem Driver"
1161 depends on MSM_SMD
1162 default m
1163 help
1164 Allows the user to reset the modem through a device node.
1165
1166config MSM_SMD_LOGGING
1167 depends on MSM_SMD
1168 default y
1169 bool "MSM Shared Memory Logger"
1170 help
1171 This option exposes the shared memory logger at /dev/smem_log
1172 and a debugfs node named smem_log.
1173
1174 If in doubt, say yes.
1175
1176config MSM_SMD_NMEA
1177 bool "NMEA GPS Driver"
1178 depends on MSM_SMD
1179 default y
1180 help
1181 Enable this to support the NMEA GPS device.
1182
1183 If in doubt, say yes.
1184
1185config MSM_SDIO_TTY
1186 bool "SDIO TTY Driver"
1187 depends on MSM_SDIO_AL
1188 default n
1189 help
1190 Provides a TTY driver SDIO TTY
1191 This driver can be used by user space
1192 applications for passing data through the
1193 SDIO interface.
1194
1195config MSM_SMD_TTY
1196 bool "SMD TTY Driver"
1197 depends on MSM_SMD
1198 default y
1199 help
1200 Provides TTY interfaces to interact with the modem.
1201
1202 If in doubt, say yes.
1203
1204config MSM_SMD_QMI
1205 bool "SMD QMI Driver"
1206 depends on MSM_SMD
1207 default y
1208 help
1209 Manages network data connections.
1210
1211 If in doubt, say yes.
1212
1213config MSM_SMD_PKT
1214 bool "SMD Packet Driver"
1215 depends on MSM_SMD
1216 default y
1217 help
1218 Provides a binary SMD non-muxed packet port interface.
1219
1220 If in doubt, say yes.
1221
1222config MSM_SDIO_CMUX
1223 bool "SDIO CMUX Driver"
1224 depends on MSM_SDIO_AL
1225 default n
1226 help
1227 Provides a Muxed port interface over SDIO QMI
1228
1229config MSM_DSPS
1230 bool "Sensors DSPS driver"
1231 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1232 default n
1233 help
1234 Provides user-space interface to the sensors manager
1235 to turn on/off the Sensors Processor system clocks.
1236 It is the DSPS responsibility to turn on/off the sensors
1237 themself.
1238 The number of clocks and their name may vary between targets.
1239 It also triggers the PIL to load the DSPS firmware.
1240
1241config MSM_SDIO_CTL
1242 bool "SDIO CTL Driver"
1243 depends on MSM_SDIO_CMUX
1244 default n
1245 help
1246 Provides a binary SDIO control port interface.
1247
1248config MSM_ONCRPCROUTER
1249 depends on MSM_SMD
1250 default n
1251 bool "MSM ONCRPC router support"
1252 help
1253 Support for the MSM ONCRPC router for communication between
1254 the ARM9 and ARM11
1255
1256config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001257 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001258 default n
1259 bool "MSM IPC Router support"
1260 help
1261 Support for the MSM IPC Router for communication between
1262 the APPs and the MODEM
1263
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001264config MSM_IPC_ROUTER_SMD_XPRT
1265 depends on MSM_SMD
1266 depends on MSM_IPC_ROUTER
1267 default n
1268 bool "MSM SMD XPRT Layer"
1269 help
1270 SMD Transport Layer for IPC Router
1271
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001272config MSM_ONCRPCROUTER_DEBUG
1273 depends on MSM_ONCRPCROUTER
1274 default y
1275 bool "MSM debug ONCRPC router support"
1276 help
1277 Support for debugging the ONCRPC router for communication
1278 between the ARM9 and ARM11
1279
1280config MSM_RPC_LOOPBACK_XPRT
1281 depends on MSM_ONCRPCROUTER
1282 default n
1283 bool "MSM RPC local routing support"
1284 help
1285 Support for routing RPC messages between APPS clients
1286 and APPS servers. Helps in testing APPS RPC framework.
1287
1288config MSM_RPCSERVER_TIME_REMOTE
1289 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1290 default y
1291 bool "Time remote RPC server"
1292 help
1293 The time remote server receives notification of time bases and
1294 reports these events to registered callback functions.
1295
1296config MSM_RPCSERVER_WATCHDOG
1297 depends on MSM_ONCRPCROUTER
1298 default y
1299 bool "Watchdog RPC server"
1300 help
1301 The dog_keepalive server handles watchdog events.
1302
1303config MSM_RPC_WATCHDOG
1304 depends on MSM_ONCRPCROUTER
1305 default n
1306 bool "Watchdog RPC client"
1307 help
1308 The dog_keepalive client module.
1309
1310config MSM_RPC_PING
1311 depends on MSM_ONCRPCROUTER && DEBUG_FS
1312 default m
1313 bool "MSM rpc ping"
1314 help
1315 Implements MSM rpc ping test module.
1316
1317config MSM_RPC_PROC_COMM_TEST
1318 depends on DEBUG_FS && MSM_PROC_COMM
1319 default m
1320 bool "MSM rpc proc comm test"
1321 help
1322 Implements MSM rpc proc comm test module.
1323
1324config MSM_RPC_OEM_RAPI
1325 depends on MSM_ONCRPCROUTER
1326 default m
1327 bool "MSM oem rapi"
1328 help
1329 Implements MSM oem rapi client module.
1330
1331config MSM_RPCSERVER_HANDSET
1332 depends on MSM_ONCRPCROUTER
1333 default y
1334 bool "Handset events RPC server"
1335 help
1336 Support for receiving handset events like headset detect,
1337 headset switch and clamshell state.
1338
1339config MSM_RMT_STORAGE_CLIENT
1340 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1341 default n
1342 bool "Remote Storage RPC client"
1343 help
1344 Provide RPC mechanism for remote processors to access storage
1345 device on apps processor.
1346
1347config MSM_RMT_STORAGE_CLIENT_STATS
1348 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1349 default n
1350 bool "Remote storage RPC client performance statistics"
1351 help
1352 Collects performance statistics and shows this information
1353 through a debugfs file rmt_storage_stats.
1354
1355config MSM_SDIO_SMEM
1356 depends on MSM_SDIO_AL
1357 default n
1358 bool "SDIO SMEM for remote storage"
1359 help
1360 Copies data from remote MDM9K memory to local MSM8x60
1361 memory. Used by remote storage client to shadow
1362 MDM9K filesystem.
1363
1364config MSM_DALRPC
1365 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001366 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001367 help
1368 Supports RPC calls to DAL devices on remote processor cores.
1369
1370config MSM_DALRPC_TEST
1371 tristate "DAL RPC test module"
1372 depends on (MSM_DALRPC && DEBUG_FS)
1373 default m
1374 help
1375 Exercises DAL RPC calls to QDSP6.
1376
1377if CPU_FREQ_MSM
1378
1379config MSM_CPU_FREQ_SET_MIN_MAX
1380 bool "Set Min/Max CPU frequencies."
1381 default n
1382 help
1383 Allow setting min and max CPU frequencies. Sysfs can be used
1384 to override these values.
1385
1386config MSM_CPU_FREQ_MAX
1387 int "Max CPU Frequency"
1388 depends on MSM_CPU_FREQ_SET_MIN_MAX
1389 default 384000
1390
1391config MSM_CPU_FREQ_MIN
1392 int "Min CPU Frequency"
1393 depends on MSM_CPU_FREQ_SET_MIN_MAX
1394 default 245760
1395
1396endif # CPU_FREQ_MSM
1397
1398config MSM_CPU_AVS
1399 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1400 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1401 depends on ARCH_QSD8X50
1402 default n
1403 select MSM_AVS_HW
1404 help
1405 This enables the s/w control of Adaptive Voltage Scaling feature
1406 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1407 based on feedback from three ring oscillators in the CPU.
1408
1409config MSM_AVS_HW
1410 bool "Enable Adaptive Voltage Scaling (AVS)"
1411 default n
1412 help
1413 Enable AVS hardware to fine tune voltage at each frequency. The
1414 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1415 fine tune the voltages based on the feedback from the ring
1416 oscillators.
1417
1418config MSM_HW3D
1419 tristate "MSM Hardware 3D Register Driver"
1420 depends on ANDROID_PMEM
1421 default y
1422 help
1423 Provides access to registers needed by the userspace OpenGL|ES
1424 library.
1425
1426config MSM_ADSP
1427 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1428 tristate "MSM ADSP driver"
1429 depends on ANDROID_PMEM
1430 default y
1431 help
1432 Provides access to registers needed by the userspace aDSP library.
1433
1434config ADSP_RPC_VER
1435 hex
1436 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1437 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1438 depends on MSM_ADSP
1439 help
1440 Select proper ADSP RPC version
1441choice
1442 prompt "ADSP RPC version"
1443
1444 default AMSS_7X25_VERSION_2009
1445
1446 config AMSS_7X25_VERSION_2009
1447 bool "2.0.09"
1448
1449 config AMSS_7X25_VERSION_2008
1450 bool "2.0.08"
1451endchoice
1452
1453config MSM7KV2_AUDIO
1454 bool "MSM7K v2 audio"
1455 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1456 default y
1457 help
1458 Enables QDSP5V2-based audio drivers for audio playbacks and
1459 voice call.
1460
1461config MSM_ADSP_REPORT_EVENTS
1462 bool "Report modem events from the DSP"
1463 default y
1464 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1465 help
1466 Normally, only messages from the aDSP are reported to userspace.
1467 With this option, we report events from the aDSP as well.
1468
1469config MSM_QDSP6
1470 tristate "QDSP6 support"
1471 depends on ARCH_QSD8X50 && ANDROID_PMEM
1472 default y
1473 help
1474 Enable support for qdsp6. This provides audio and video functionality.
1475
1476config MSM8X60_AUDIO
1477 tristate "MSM8X60 audio support"
1478 depends on ARCH_MSM8X60 && ANDROID_PMEM
1479 default y
1480 help
1481 Enable support for qdsp6v2. This provides audio functionality.
1482
1483config MSM8X60_FTM_AUDIO_DEVICES
1484 bool "MSM8X60 audio factory test mode support"
1485 depends on MSM8X60_AUDIO
1486 help
1487 Enable support audio factory test mode devices. This is used
1488 in a production line environment.
1489
Ben Romberger45b351c2011-07-20 22:37:27 -07001490config RTAC
1491 bool "MSM8K real-time audio calibration support"
1492 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001493 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001494 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001495 audio operation
1496
1497config MSM7X27A_AUDIO
1498 bool "MSM7X27A audio support"
1499 depends on ARCH_MSM7X27A && MSM_ADSP
1500 default n
1501 help
1502 Enable support for 7x27a. This provides audio functionality.
1503
Justin Pauporea6cd2092011-06-22 16:19:45 -07001504config MSM_PROC_COMM_REGULATOR
1505 bool
1506 depends on MSM_PROC_COMM && REGULATOR
1507 help
1508 Enable regulator framework support for regulators managed by PMLIB
1509 on the modem, and controlled through proccomm calls.
1510
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001511config MSM_VREG_SWITCH_INVERTED
1512 bool "Reverse vreg switch polarity"
1513 default n
1514 help
1515 Reverses the enable and disable for vreg switch.
1516
1517config MSM_DMA_TEST
1518 tristate "MSM DMA test module"
1519 default m
1520 help
1521 Intended to be compiled as a module. Provides a device node
1522 and ioctls for testing the MSM dma system.
1523
1524config WIFI_CONTROL_FUNC
1525 bool "Enable WiFi control function abstraction"
1526 help
1527 Enables Power/Reset/Carddetect function abstraction
1528
1529config WIFI_MEM_PREALLOC
1530 depends on WIFI_CONTROL_FUNC
1531 bool "Preallocate memory for WiFi buffers"
1532 help
1533 Preallocates memory buffers for WiFi driver
1534
1535config QSD_AUDIO
1536 bool "QSD audio"
1537 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1538 default y
1539 help
1540 Provides PCM, MP3, and AAC audio playback.
1541
1542config AUDIO_AAC_PLUS
1543 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1544 bool "AAC+ Audio"
1545 default y
1546 help
1547 Provides AAC+ decoding
1548
1549config AUDIO_ENHANCED_AAC_PLUS
1550 depends on AUDIO_AAC_PLUS
1551 bool "Enhanced AAC+ Audio"
1552 default y
1553 help
1554 Provides Enhanced AAC+ decoding
1555
1556config SURF_FFA_GPIO_KEYPAD
1557 bool "MSM SURF/FFA GPIO keypad"
1558 depends on INPUT_GPIO = "y"
1559 default y
1560 help
1561 Select if the GPIO keypad is attached.
1562
1563config MSM_SLEEP_TIME_OVERRIDE
1564 bool "Allow overriding suspend/sleep time with PM module parameter"
1565 default y
1566 help
1567 Enable the module parameter sleep_time_override. Specified
1568 in units of seconds, it overwrites the normal sleep time of
1569 suspend. The feature is required for automated power management
1570 testing.
1571
1572config MSM_MEMORY_LOW_POWER_MODE
1573 bool "Control the low power modes of memory"
1574 default n
1575 help
1576 The application processor controls whether memory should enter
1577 which low power mode.
1578
1579choice
1580 prompt "Default Memory Low Power Mode during Idle"
1581 depends on MSM_MEMORY_LOW_POWER_MODE
1582 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1583 help
1584 Selects the default low power mode of the memory during idle
1585 sleep.
1586
1587 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1588 bool "Memory active"
1589
1590 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1591 bool "Memory in retention"
1592
1593 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1594 bool "Memory in deep power down"
1595endchoice
1596
1597choice
1598 prompt "Default Memory Low Power Mode during Suspend"
1599 depends on MSM_MEMORY_LOW_POWER_MODE
1600 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1601 help
1602 Selects the default low power mode of the memory during suspend
1603 sleep.
1604
1605 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1606 bool "Memory active"
1607
1608 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1609 bool "Memory in retention"
1610
1611 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1612 bool "Memory in deep power down"
1613endchoice
1614
1615choice
1616 prompt "Power management timeout action"
1617 default MSM_PM_TIMEOUT_HALT
1618 help
1619 Selects the Application Processor's action when Power Management
1620 times out waiting for Modem's handshake.
1621
1622 config MSM_PM_TIMEOUT_HALT
1623 bool "Halt the Application Processor"
1624
1625 config MSM_PM_TIMEOUT_RESET_MODEM
1626 bool "Reset the Modem Processor"
1627
1628 config MSM_PM_TIMEOUT_RESET_CHIP
1629 bool "Reset the entire chip"
1630endchoice
1631
1632config MSM_IDLE_WAIT_ON_MODEM
1633 int "Wait for Modem to become ready for idle power collapse"
1634 default 0
1635 help
1636 If Modem is not ready to handle Application Processor's request
1637 for idle power collapse, wait the number of microseconds in case
1638 Modem becomes ready soon.
1639
Matt Wagantall9274df92011-12-15 11:11:05 -08001640config MSM_RPM_REGULATOR
1641 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001642 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001643 help
1644 Compile in support for the RPM regulator driver, used for setting
1645 voltages and other parameters of the various power rails supplied
1646 by some Qualcomm PMICs.
1647
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001648config MSM_PIL
1649 bool "Peripheral image loading"
1650 select FW_LOADER
1651 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1652 default n
1653 help
1654 Some peripherals need to be loaded into memory before they can be
1655 brought out of reset.
1656
1657 Say yes to support these devices.
1658
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001659config MSM_PIL_MODEM
1660 tristate "Modem (ARM11) Boot Support"
1661 depends on MSM_PIL
1662 help
1663 Support for booting and shutting down ARM11 Modem processors.
1664
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001665config MSM_PIL_QDSP6V3
1666 tristate "QDSP6v3 (Hexagon) Boot Support"
1667 depends on MSM_PIL
1668 help
1669 Support for booting and shutting down QDSP6v3 processors (hexagon).
1670 The QDSP6 is a low power DSP used in audio software applications.
1671
Stephen Boydeb819882011-08-29 14:46:30 -07001672config MSM_PIL_QDSP6V4
1673 tristate "QDSP6v4 (Hexagon) Boot Support"
1674 depends on MSM_PIL
1675 help
1676 Support for booting and shutting down QDSP6v4 processors (hexagon).
1677 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1678 software applications.
1679
Stephen Boyd322a9922011-09-20 01:05:54 -07001680config MSM_PIL_RIVA
1681 tristate "RIVA (WCNSS) Boot Support"
1682 depends on MSM_PIL
1683 help
1684 Support for booting and shutting down the RIVA processor (WCNSS).
1685 Riva is the wireless subsystem processor used in bluetooth, wireless
1686 LAN, and FM software applications.
1687
Stephen Boydd89eebe2011-09-28 23:28:11 -07001688config MSM_PIL_TZAPPS
1689 tristate "TZApps Boot Support"
1690 depends on MSM_PIL
1691 help
1692 Support for booting and shutting down TZApps.
1693
1694 TZApps is an image that runs in the secure processor state. It is
1695 used to decrypt data and perform secure operations on the behalf of
1696 the kernel.
1697
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001698config MSM_SCM
1699 bool "Secure Channel Manager (SCM) support"
1700 default n
1701
1702config MSM_SUBSYSTEM_RESTART
1703 bool "MSM Subsystem Restart Driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001704 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001705 default n
1706 help
1707 This option enables the MSM subsystem restart driver, which provides
1708 a framework to handle subsystem crashes.
1709
Matt Wagantallf8020902011-08-30 21:19:23 -07001710config MSM_SYSMON_COMM
1711 bool "MSM System Monitor communication support"
1712 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1713 default y
1714 help
1715 This option adds support for MSM System Monitor library, which
1716 provides an API that may be used for notifying subsystems within
1717 the SoC about other subsystems' power-up/down state-changes.
1718
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001719config MSM_MODEM_8960
1720 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001721 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001722 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001723 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001724 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001725 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001726
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001727config MSM_LPASS_8960
1728 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001729 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001730 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001731 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001732 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001733 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001734
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001735config MSM_WCNSS_SSR_8960
1736 tristate "MSM 8960 WCNSS restart module"
1737 depends on (ARCH_MSM8960)
1738 help
1739 This option enables the WCNSS restart module for MSM8960, which
1740 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1741 into the subsystem restart framework.
1742
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001743config SCORPION_Uni_45nm_BUG
1744 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1745 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1746 default y
1747 help
1748 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1749 invalidating the Branch Predictor Array by Modified Virtual Address can
1750 create invalid entries in the TLB with the wrong ASID values on Scorpion
1751 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1752 workaround for Scorpion Uniprocessor 45nm cores.
1753
1754 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1755
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001756config MSM_BUSPM_DEV
1757 tristate "MSM Bus Performance Monitor Kernel Module"
1758 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1759 default m
1760 help
1761 This kernel module is used to mmap() hardware registers for the
1762 performance monitors, counters, etc. The module can also be used to
1763 allocate physical memory which is used by bus performance hardware to
1764 dump performance data.
1765
Mona Hossain11c03ac2011-10-26 12:42:10 -07001766config MSM_TZ_LOG
1767 tristate "MSM Trust Zone (TZ) Log Driver"
1768 depends on DEBUG_FS
1769 help
1770 This option enables a driver with a debugfs interface for messages
1771 produced by the Secure code (Trust zone). These messages provide
1772 diagnostic information about TZ operation.
1773
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001774config MSM_RPM_LOG
1775 tristate "MSM Resource Power Manager Log Driver"
1776 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001777 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001778 default n
1779 help
1780 This option enables a driver which can read from a circular buffer
1781 of messages produced by the RPM. These messages provide diagnostic
1782 information about RPM operation. The driver outputs the messages
1783 via a debugfs node.
1784
1785config MSM_RPM_STATS_LOG
1786 tristate "MSM Resource Power Manager Stat Driver"
1787 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001788 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001789 default n
1790 help
1791 This option enables a driver which reads RPM messages from a shared
1792 memory location. These messages provide statistical information about
1793 the low power modes that RPM enters. The drivers outputs the message
1794 via a debugfs node.
1795
1796config MSM_IOMMU
1797 bool "MSM IOMMU Support"
Joel King41d594e2011-10-14 13:18:20 -07001798 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_APQ8064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001799 select IOMMU_API
1800 default n
1801 help
1802 Support for the IOMMUs found on certain Qualcomm SOCs.
1803 These IOMMUs allow virtualization of the address space used by most
1804 cores within the multimedia subsystem.
1805
1806 If unsure, say N here.
1807
1808config IOMMU_PGTABLES_L2
1809 bool "Allow SMMU page tables in the L2 cache (Experimental)"
1810 depends on MSM_IOMMU=y
1811 depends on MMU
1812 depends on CPU_DCACHE_DISABLE=n
1813 depends on SMP
1814 default y
1815 help
1816 Improves TLB miss latency at the expense of potential L2 pollution.
1817 However, with large multimedia buffers, the TLB should mostly contain
1818 section mappings and TLB misses should be quite infrequent.
1819 Most people can probably say Y here.
1820
1821config MSM_DIRECT_SCLK_ACCESS
1822 bool "Direct access to the SCLK timer"
1823 default n
1824
1825config IOMMU_API
1826 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001827
Gregory Beanab78cde2010-09-01 16:26:12 -07001828config MSM_GPIOMUX
1829 bool
1830
Gregory Bean1963a2a2010-08-28 10:05:44 -07001831config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001832 bool
1833
1834config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07001835 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001836
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001837config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001838 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001839
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001840config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001841 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001842
1843config MSM_BUS_SCALING
1844 bool "Bus scaling driver"
1845 default n
1846
Gagan Mac85c70492011-06-10 16:07:47 -06001847config MSM_BUS_RPM_MULTI_TIER_ENABLED
1848 bool "RPM Multi-tiering Configuration"
1849 depends on MSM_BUS_SCALING
1850
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001851config MSM_WATCHDOG
1852 bool "MSM Watchdog Support"
Rohit Vaswani085a9332011-09-28 18:57:24 -07001853 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001854 help
1855 This enables the watchdog as is present on 8x60. Currently we use
1856 core 0's watchdog, and reset the entire SoC if it times out. It does
1857 not run during the bootup process, so it will not catch any early
1858 lockups.
1859
1860config MSM_DLOAD_MODE
1861 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07001862 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001863 default n
1864 help
1865 This makes the SoC enter download mode when it resets
1866 due to a kernel panic. Note that this doesn't by itself
1867 make the kernel reboot on a kernel panic - that must be
1868 enabled via another mechanism.
1869
Pratik Patel17f3b822011-11-21 12:41:47 -08001870config MSM_JTAG
1871 bool "JTAG debug and trace support"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001872 help
Pratik Patel17f3b822011-11-21 12:41:47 -08001873 Add additional support for JTAG kernel debugging and tracing.
Pratik Patel7831c082011-06-08 21:44:37 -07001874
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001875config MSM_ETM
1876 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08001877 depends on ARCH_MSM8X60
1878 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001879 help
Pratik Patel17f3b822011-11-21 12:41:47 -08001880 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07001881
1882config MSM_QDSS
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001883 bool "Qualcomm Debug Subsystem"
Pratik Patel17f3b822011-11-21 12:41:47 -08001884 select MSM_JTAG
Pratik Patel7831c082011-06-08 21:44:37 -07001885 help
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001886 Enables support for Qualcomm Debug Subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001887
Pratik Patel29cba152012-01-03 11:40:26 -08001888config MSM_QDSS_ETM_DEFAULT_ENABLE
1889 bool "Turn on QDSS ETM Tracing by Default"
1890 depends on MSM_QDSS
1891 help
1892 Turns on QDSS ETM tracing by default. Otherwise, tracing is
1893 disabled by default but can be enabled by other means.
1894
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001895config MSM_SLEEP_STATS
1896 bool "Enable exporting of MSM sleep stats to userspace"
1897 depends on CPU_IDLE
1898 default n
1899
Lynus Vazdde09ee2012-01-05 13:28:22 +05301900config MSM_SLEEP_STATS_DEVICE
1901 bool "Enable exporting of MSM sleep device stats to userspace"
1902
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001903config MSM_STANDALONE_POWER_COLLAPSE
1904 bool "Enable standalone power collapse"
1905 default n
1906
1907config MSM_GSBI9_UART
1908 bool "Enable GSBI9 UART device"
1909 default n
1910 help
1911 This enables GSBI9 configured into UART.
1912
1913config MSM_SHARED_GPIO_FOR_UART2DM
1914 bool "Use shared GPIOs into UART mode"
1915 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
1916 help
1917 This option configures GPIO muxed with SDC4/MMC3
1918 8-bit mode into UART mode. It is used for serial
1919 console on UART2DM. Say Y if you want to have
1920 serial console on UART2DM.
1921
1922config MSM_SHOW_RESUME_IRQ
1923 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08001924 depends on (ARM_GIC || PMIC8058)
1925 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001926 default n
1927 help
1928 This option logs wake up interrupts that have triggered just before
1929 the resume loop unrolls. Say Y if you want to debug why the system
1930 resumed.
1931
1932config BT_MSM_PINTEST
1933 tristate "MSM Bluetooth Pin Connectivity Test"
1934 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
1935 default n
1936 help
1937 Bluetooth MSM Pin Connectivity test module.
1938 This driver provides support for verifying the MSM to BT pin
1939 connectivity.
1940
1941config MSM_FAKE_BATTERY
1942 depends on POWER_SUPPLY
1943 default n
1944 bool "MSM Fake Battery"
1945 help
1946 Enables MSM fake battery driver.
1947
1948config MSM_QDSP6_APR
1949 bool "Audio QDSP6 APR support"
1950 depends on MSM_SMD
1951 default n
1952 help
1953 Enable APR IPC protocol support between
1954 application processor and QDSP6. APR is
1955 used by audio driver to configure QDSP6's
1956 ASM, ADM and AFE.
1957
1958
1959config MSM_AUDIO_QDSP6
1960 bool "QDSP6 HW Audio support"
1961 select SND_SOC_MSM_QDSP6_INTF
1962 default n
1963 help
1964 Enable HW audio support in QDSP6.
1965 QDSP6 can support HW encoder & decoder and audio processing
1966
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02001967config MSM_ULTRASOUND
1968 bool "MSM ultrasound support"
1969 depends on MSM_AUDIO_QDSP6
1970 help
1971 Enable support for qdsp6/ultrasound.
1972
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001973config MSM_RPC_VIBRATOR
1974 bool "RPC based MSM Vibrator Support"
1975 depends on MSM_ONCRPCROUTER
1976 help
1977 Enable the vibrator support on MSM over RPC. The vibrator
1978 is connected on the PMIC. Say Y if you want to enable this
1979 feature.
1980
1981config PM8XXX_RPC_VIBRATOR
1982 bool "RPC based Vibrator on PM8xxx PMICs"
1983 depends on MSM_RPC_VIBRATOR
1984 help
1985 Enable the vibrator support on MSM over RPC. The vibrator
1986 is connected on the PM8XXX PMIC. Say Y if you want to enable
1987 this feature.
1988
1989config MSM_SPM_V1
1990 bool "Driver support for SPM Version 1"
1991 help
1992 Enables the support for Version 1 of the SPM driver. SPM hardware is
1993 used to manage the processor power during sleep. The driver allows
1994 configuring SPM to allow different power modes.
1995
1996config MSM_SPM_V2
1997 bool "Driver support for SPM Version 2"
1998 help
1999 Enables the support for Version 2 of the SPM driver. SPM hardware is
2000 used to manage the processor power during sleep. The driver allows
2001 configuring SPM to allow different power modes.
2002
2003config MSM_L2_SPM
2004 bool "SPM support for L2 cache"
2005 depends on MSM_SPM_V2
2006 help
2007 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2008 control of L2 cache low power mode with a Subsystem Power manager.
2009 Enabling this driver allows configuring L2 SPM for low power modes
2010 on supported chipsets.
2011
Laura Abbott2d1760b2011-09-29 21:31:24 -07002012config MSM_MULTIMEDIA_USE_ION
2013 bool "Multimedia suport using Ion"
2014 depends on ION_MSM
2015 help
2016 Enable support for multimedia drivers using Ion for buffer management
2017 instead of pmem. Selecting this may also involve userspace
2018 dependencies as well.
2019
Laura Abbottad340ff2012-01-04 14:23:48 -08002020config MSM_RTB
2021 bool "Register tracing"
2022 help
2023 Add support for logging different events to a small uncached
2024 region. This is designed to aid in debugging reset cases where the
2025 caches may not be flushed before the target resets.
2026
2027config MSM_RTB_SEPARATE_CPUS
2028 bool "Separate entries for each cpu"
2029 depends on MSM_RTB
2030 help
2031 Under some circumstances, it may be beneficial to give dedicated space
2032 for each cpu to log accesses. Selecting this option will log each cpu
2033 separately. This will guarantee that the last acesses for each cpu
2034 will be logged but there will be fewer entries per cpu
2035
2036
Brian Swetland9e73c842007-11-26 04:12:13 -08002037endif