blob: 023d289b7db37b130e18bd98bb8ba6572e2da82a [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
Matt Wagantall88b86312012-01-31 16:53:03 -080011 select MSM_PM if PM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070012
13config ARCH_MSM7X25
14 bool "MSM7x25"
15 select ARCH_MSM_ARM11
16 select MSM_VIC
17 select CPU_V6
18 select MSM_REMOTE_SPINLOCK_SWP
Taniya Dasbe561a02011-10-12 09:53:11 +053019 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -080020 select MSM_PM if PM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070021
22config ARCH_MSM7X27
23 bool "MSM7x27"
24 select ARCH_MSM_ARM11 if MSM_SOC_REV_NONE
25 select ARCH_HAS_BARRIERS if MSM_SOC_REV_NONE
26 select ARCH_MSM_CORTEX_A5 if MSM_SOC_REV_A
27 select MSM_VIC
28 select CPU_V6 if MSM_SOC_REV_NONE
29 select CPU_V7 if MSM_SOC_REV_A
30 select MSM_REMOTE_SPINLOCK_SWP if MSM_SOC_REV_NONE
31 select MSM_GPIOMUX
32 select REGULATOR
Taniya Dasbe561a02011-10-12 09:53:11 +053033 select MULTI_IRQ_HANDLER
Pankaj Kumar75c86fd2011-10-01 18:51:09 +053034 select MSM_PROC_COMM_REGULATOR
Laura Abbott1fbd2e62011-12-18 10:26:46 -080035 select CLEANCACHE
36 select QCACHE
Matt Wagantall88b86312012-01-31 16:53:03 -080037 select MSM_PM2 if PM
Daniel Walkerbf83de42010-03-16 16:29:44 -070038
Daniel Walker7b521612010-05-06 12:44:57 -070039config ARCH_MSM7X30
40 bool "MSM7x30"
41 select ARCH_MSM_SCORPION
Daniel Walker7b521612010-05-06 12:44:57 -070042 select MSM_VIC
43 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070044 select MSM_REMOTE_SPINLOCK_DEKKERS
45 select ARCH_SPARSEMEM_ENABLE
Laura Abbott78593b52011-09-26 18:48:14 -070046 select ARCH_HAS_HOLES_MEMORYMODEL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070047 select MEMORY_HOTPLUG
48 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -080049 select ARCH_ENABLE_MEMORY_HOTPLUG
50 select ARCH_ENABLE_MEMORY_HOTREMOVE
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070051 select MIGRATION
52 select ARCH_MEMORY_PROBE
53 select ARCH_MEMORY_REMOVE
Gregory Beanab78cde2010-09-01 16:26:12 -070054 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070055 select RESERVE_FIRST_PAGE
56 select MSM_DALRPC
57 select MSM_SPM_V1
58 select REGULATOR
Justin Paupore637a25d2011-07-14 17:11:04 -070059 select MSM_PROC_COMM_REGULATOR
Taniya Dasbae99fb2011-10-12 09:55:13 +053060 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -080061 select MSM_PM2 if PM
Daniel Walker7b521612010-05-06 12:44:57 -070062
Daniel Walker4ad15e62010-05-06 13:54:17 -070063config ARCH_QSD8X50
64 bool "QSD8X50"
65 select ARCH_MSM_SCORPION
Daniel Walker4ad15e62010-05-06 13:54:17 -070066 select MSM_VIC
67 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070068 select MSM_REMOTE_SPINLOCK_LDREX
69 select CPU_USE_DOMAINS
70 select EMULATE_DOMAIN_MANAGER_V7
Gregory Beanab78cde2010-09-01 16:26:12 -070071 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070072 select MSM_DALRPC
Matt Wagantall88b86312012-01-31 16:53:03 -080073 select MSM_PM2 if PM
Daniel Walker46fe5f22010-08-18 11:00:25 -070074
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070075config ARCH_MSM8X60
76 bool "MSM8X60"
Jeff Ohlsteine14411d2010-11-30 13:06:36 -080077 select ARCH_MSM_SCORPIONMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070078 select SMP_PARALLEL_START if SMP
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070079 select ARM_GIC
80 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070081 select MSM_REMOTE_SPINLOCK_LDREX
82 select ARCH_REQUIRE_GPIOLIB
83 select MSM_ADM3
84 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -080085 select MSM_RPM_REGULATOR
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070086 select MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070087 select MSM_PIL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070088 select ARCH_HAS_CPU_IDLE_WAIT
89 select MSM_DIRECT_SCLK_ACCESS
90 select MSM_RPM
91 select MSM_XO
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070092 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070093 select MSM_BUS_SCALING
94 select MSM_SECURE_IO
95 select MSM_DALRPC
96 select MSM_QDSP6_APR
97 select MSM_NATIVE_RESTART
98 select ARCH_INLINE_SPIN_TRYLOCK
99 select ARCH_INLINE_SPIN_TRYLOCK_BH
100 select ARCH_INLINE_SPIN_LOCK
101 select ARCH_INLINE_SPIN_LOCK_BH
102 select ARCH_INLINE_SPIN_LOCK_IRQ
103 select ARCH_INLINE_SPIN_LOCK_IRQSAVE
104 select ARCH_INLINE_SPIN_UNLOCK
105 select ARCH_INLINE_SPIN_UNLOCK_BH
106 select ARCH_INLINE_SPIN_UNLOCK_IRQ
107 select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
108 select ARCH_INLINE_READ_TRYLOCK
109 select ARCH_INLINE_READ_LOCK
110 select ARCH_INLINE_READ_LOCK_BH
111 select ARCH_INLINE_READ_LOCK_IRQ
112 select ARCH_INLINE_READ_LOCK_IRQSAVE
113 select ARCH_INLINE_READ_UNLOCK
114 select ARCH_INLINE_READ_UNLOCK_BH
115 select ARCH_INLINE_READ_UNLOCK_IRQ
116 select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
117 select ARCH_INLINE_WRITE_TRYLOCK
118 select ARCH_INLINE_WRITE_LOCK
119 select ARCH_INLINE_WRITE_LOCK_BH
120 select ARCH_INLINE_WRITE_LOCK_IRQ
121 select ARCH_INLINE_WRITE_LOCK_IRQSAVE
122 select ARCH_INLINE_WRITE_UNLOCK
123 select ARCH_INLINE_WRITE_UNLOCK_BH
124 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
125 select CPU_HAS_L2_PMU
126 select MSM_SPM_V1
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530127 select MSM_SCM if SMP
128 select MULTI_IRQ_HANDLER
Laura Abbott46505f62011-11-02 18:06:55 -0700129 select MSM_MULTIMEDIA_USE_ION
Matt Wagantall88b86312012-01-31 16:53:03 -0800130 select MSM_PM8X60 if PM
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700131
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800132config ARCH_MSM8960
133 bool "MSM8960"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700134 select ARCH_MSM_KRAITMP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800135 select ARM_GIC
136 select CPU_V7
137 select MSM_V2_TLMM
138 select MSM_GPIOMUX
139 select MSM_SCM if SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700140 select MSM_DIRECT_SCLK_ACCESS
141 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -0800142 select MSM_RPM_REGULATOR
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700143 select MSM_RPM
144 select MSM_XO
145 select MSM_QDSP6_APR
146 select MSM_PIL
147 select MSM_AUDIO_QDSP6 if SND_SOC
148 select CPU_HAS_L2_PMU
149 select MSM_SPM_V2
150 select MSM_L2_SPM
151 select MSM_NATIVE_RESTART
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700152 select DONT_MAP_HOLE_AFTER_MEMBANK0
153 select MSM_REMOTE_SPINLOCK_SFPB
154 select ARCH_POPULATES_NODE_MAP
155 select ARCH_SPARSEMEM_ENABLE
156 select ARCH_HAS_HOLES_MEMORYMODEL
Larry Basselb8d61022012-02-24 10:49:45 -0800157 select ENABLE_DMM
158 select MEMORY_HOTPLUG if ENABLE_DMM
159 select MEMORY_HOTREMOVE if ENABLE_DMM
160 select ARCH_ENABLE_MEMORY_HOTPLUG if ENABLE_DMM
161 select ARCH_ENABLE_MEMORY_HOTREMOVE if ENABLE_DMM
162 select MIGRATION if ENABLE_DMM
163 select ARCH_MEMORY_PROBE if ENABLE_DMM
164 select ARCH_MEMORY_REMOVE if ENABLE_DMM
165 select FIX_MOVABLE_ZONE if ENABLE_DMM
Larry Basseld4d82c92011-12-07 09:52:49 -0800166 select CLEANCACHE
167 select QCACHE
Laura Abbott6d61a912011-10-27 16:44:14 -0700168 select MSM_MULTIMEDIA_USE_ION
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530169 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800170 select MSM_PM8X60 if PM
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700171
172config ARCH_MSM8930
173 bool "MSM8930"
174 select ARCH_MSM_KRAITMP
175 select ARM_GIC
176 select CPU_V7
177 select MSM_V2_TLMM
178 select MSM_GPIOMUX
179 select MSM_SCM if SMP
180 select MSM_DIRECT_SCLK_ACCESS
181 select REGULATOR
David Collins5779cea2012-01-05 15:09:21 -0800182 select MSM_RPM_REGULATOR
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700183 select MSM_RPM
184 select MSM_XO
185 select MSM_QDSP6_APR
186 select MSM_PIL
187 select MSM_AUDIO_QDSP6 if SND_SOC
188 select CPU_HAS_L2_PMU
189 select MSM_SPM_V2
190 select MSM_L2_SPM
191 select MSM_NATIVE_RESTART
192 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600193 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700194 select ARCH_POPULATES_NODE_MAP
195 select ARCH_SPARSEMEM_ENABLE
196 select ARCH_HAS_HOLES_MEMORYMODEL
Larry Basselb8d61022012-02-24 10:49:45 -0800197 select ENABLE_DMM
198 select MEMORY_HOTPLUG if ENABLE_DMM
199 select MEMORY_HOTREMOVE if ENABLE_DMM
200 select ARCH_ENABLE_MEMORY_HOTPLUG if ENABLE_DMM
201 select ARCH_ENABLE_MEMORY_HOTREMOVE if ENABLE_DMM
202 select MIGRATION if ENABLE_DMM
203 select ARCH_MEMORY_PROBE if ENABLE_DMM
204 select ARCH_MEMORY_REMOVE if ENABLE_DMM
205 select FIX_MOVABLE_ZONE if ENABLE_DMM
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +0200206 select MSM_ULTRASOUND
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530207 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800208 select MSM_PM8X60 if PM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700209
210config ARCH_APQ8064
211 bool "APQ8064"
212 select ARCH_MSM_KRAITMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700213 select MSM_V2_TLMM
214 select ARM_GIC
215 select CPU_V7
216 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700217 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600218 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800219 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800220 select MSM_QDSP6_APR
221 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530222 select MULTI_IRQ_HANDLER
Praveen Chidambaram78499012011-11-01 17:15:17 -0600223 select MSM_RPM
224 select MSM_SPM_V2
225 select MSM_L2_SPM
Matt Wagantall88b86312012-01-31 16:53:03 -0800226 select MSM_PM8X60 if PM
Neil Leeder814d3d32012-01-19 17:21:43 -0500227 select CPU_HAS_L2_PMU
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700228
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700229config ARCH_MSMCOPPER
230 bool "MSM Copper"
231 select ARCH_MSM_KRAITMP
232 select MSM_V2_TLMM
233 select ARM_GIC
234 select CPU_V7
235 select MSM_SCM if SMP
236 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530237 select MULTI_IRQ_HANDLER
Olav Hauganb800c8c2012-01-30 08:50:45 -0800238 select MSM_MULTIMEDIA_USE_ION
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700239
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700240config ARCH_FSM9XXX
241 bool "FSM9XXX"
242 select ARCH_MSM_SCORPION
243 select MSM_VIC
244 select CPU_V7
245 select MSM_REMOTE_SPINLOCK_LDREX
246 select FSM9XXX_TLMM
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530247 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800248 select MSM_DALRPC
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800249
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700250config ARCH_MSM9615
251 bool "MSM9615"
252 select ARM_GIC
253 select ARCH_MSM_CORTEX_A5
254 select CPU_V7
255 select MSM_V2_TLMM
256 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600257 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600258 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700259 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800260 select REGULATOR
261 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530262 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800263 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800264 select MSM_XO
Matt Wagantall9274df92011-12-15 11:11:05 -0800265
Taniya Das43bcdd62011-12-02 17:33:27 +0530266config ARCH_MSM8625
267 bool "MSM8625"
268 select ARCH_MSM_CORTEX_A5
269 select CPU_V7
270 select MSM_GPIOMUX
271 select ARM_GIC
272 select ARCH_MSM_CORTEXMP
273 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530274 select ARM_TICKET_LOCKS
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700275endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700276
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700277choice
278 prompt "MSM SoC Revision"
279 default MSM_SOC_REV_NONE
280config MSM_SOC_REV_NONE
281 bool "N/A"
282 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
283 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walker4ad15e62010-05-06 13:54:17 -0700284config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700285 bool "Rev. A"
286 select ARCH_MSM7X27A if ARCH_MSM7X27
287endchoice
Daniel Walker4ad15e62010-05-06 13:54:17 -0700288
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700289config MSM_KRAIT_TBB_ABORT_HANDLER
290 bool "Krait TBB/TBH data abort handler"
291 depends on ARCH_MSM_KRAIT
292 depends on ARM_THUMB
293 help
294 Certain early samples of the Krait processor may generate data
295 aborts for TBB / TBH instructions that fail their condition code
296 checks. Enabling this option will ignore these erroneous data aborts,
297 at the expense of a very small performance penalty.
298
299 If unsure, say N.
300
Daniel Walker4ad15e62010-05-06 13:54:17 -0700301config ARCH_MSM_ARM11
302 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700303
Daniel Walker4ad15e62010-05-06 13:54:17 -0700304config ARCH_MSM_SCORPION
Daniel Walkerbf83de42010-03-16 16:29:44 -0700305 bool
306
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700307config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700308 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800309 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700310
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700311config MSM_SMP
312 bool
313
314config ARCH_MSM_SCORPIONMP
315 select ARCH_MSM_SCORPION
316 select MSM_SMP
317 bool
318
319config ARCH_MSM_KRAITMP
320 select ARCH_MSM_KRAIT
321 select MSM_SMP
322 bool
323
Taniya Das43bcdd62011-12-02 17:33:27 +0530324config ARCH_MSM_CORTEXMP
325 select MSM_SMP
326 bool
327
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700328config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800329 bool
Rohit Vaswaniaf7ae272012-01-09 10:28:57 -0800330 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700331
332config ARCH_MSM7X27A
333 bool
334 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700335 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530336 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530337 select ARM_GIC
338 select ARCH_MSM_CORTEXMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700339
Gregory Beanf9f3d312010-04-30 22:06:50 -0700340config MSM_VIC
341 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700342
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700343config MSM_RPM
344 bool "Resource Power Manager"
345 select MSM_MPM
346
347config MSM_MPM
348 bool "Modem Power Manager"
349
350config MSM_XO
351 bool
352
353config MSM_REMOTE_SPINLOCK_DEKKERS
354 bool
355config MSM_REMOTE_SPINLOCK_SWP
356 bool
357config MSM_REMOTE_SPINLOCK_LDREX
358 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600359config MSM_REMOTE_SPINLOCK_SFPB
360 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700361config MSM_ADM3
362 bool
363
364menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700365
366config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700367 depends on ARCH_MSM7X01A
368 depends on MSM_STACKED_MEMORY
369 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700370 bool "Halibut Board (QCT SURF7201A)"
371 help
372 Support for the Qualcomm SURF7201A eval board.
373
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700374config MACH_MSM7201A_SURF
375 depends on ARCH_MSM7X01A
376 depends on MSM_STACKED_MEMORY
377 default y
378 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700379 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700380 Support for the Qualcomm MSM7201A SURF eval board.
381
382config MACH_MSM7201A_FFA
383 depends on ARCH_MSM7X01A
384 depends on MSM_STACKED_MEMORY
385 default y
386 bool "MSM7201A FFA"
387 help
388 Support for the Qualcomm MSM7201A FFA eval board.
389
390config MACH_TROUT
391 depends on ARCH_MSM7X01A
392 depends on MSM_STACKED_MEMORY
393 default y
394 bool "Trout"
395
396config MACH_MSM7X27_SURF
397 depends on ARCH_MSM7X27
398 depends on !MSM_STACKED_MEMORY
399 default y
400 bool "MSM7x27 SURF"
401 help
402 Support for the Qualcomm MSM7x27 SURF eval board.
403
404config MACH_MSM7X27_FFA
405 depends on ARCH_MSM7X27
406 depends on !MSM_STACKED_MEMORY
407 default y
408 bool "MSM7x27 FFA"
409 help
410 Support for the Qualcomm MSM7x27 FFA eval board.
411
412config MACH_MSM7X27A_RUMI3
413 depends on ARCH_MSM7X27A
414 depends on !MSM_STACKED_MEMORY
415 default y
416 bool "MSM7x27A RUMI3"
417 help
418 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
419
420config MACH_MSM7X27A_SURF
421 depends on ARCH_MSM7X27A
422 depends on !MSM_STACKED_MEMORY
423 default y
424 bool "MSM7x27A SURF"
425 help
426 Support for the Qualcomm MSM7x27A SURF.
427
428config MACH_MSM7X27A_FFA
429 depends on ARCH_MSM7X27A
430 depends on !MSM_STACKED_MEMORY
431 default y
432 bool "MSM7x27A FFA"
433 help
434 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700435
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530436config MACH_MSM7625A_SURF
437 depends on ARCH_MSM7X27A
438 depends on !MSM_STACKED_MEMORY
439 default y
440 bool "MSM7625A SURF"
441 help
442 Support for the Qualcomm MSM7625A SURF.
443
444config MACH_MSM7625A_FFA
445 depends on ARCH_MSM7X27A
446 depends on !MSM_STACKED_MEMORY
447 default y
448 bool "MSM7625A FFA"
449 help
450 Support for the Qualcomm MSM7625A FFA.
451
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530452config MACH_MSM7627A_QRD1
453 depends on ARCH_MSM7X27A
454 depends on !MSM_STACKED_MEMORY
455 default y
456 bool "MSM7627A QRD1"
457 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530458 Support for the Qualcomm MSM7627A Reference Design.
459
460config MACH_MSM7627A_QRD3
461 depends on ARCH_MSM7X27A
462 depends on !MSM_STACKED_MEMORY
463 default y
464 bool "MSM7627A QRD3"
465 help
466 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530467
Taniya Dasc868a2e2012-01-03 10:18:47 +0530468config MACH_MSM7627A_EVB
469 depends on ARCH_MSM7X27A
470 depends on !MSM_STACKED_MEMORY
471 default y
472 bool "MSM7627A EVB"
473 help
474 Support for the Qualcomm MSM7627A Reference Design.
475
Taniya Das43bcdd62011-12-02 17:33:27 +0530476config MACH_MSM8625_RUMI3
477 depends on ARCH_MSM8625
478 depends on !MSM_STACKED_MEMORY
479 default y
480 bool "MSM8625 RUMI3"
481 help
482 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
483
Taniya Dase3027e22012-02-27 16:32:27 +0530484config MACH_MSM8625_SURF
485 depends on ARCH_MSM8625
486 depends on !MSM_STACKED_MEMORY
487 default y
488 bool "MSM8625 SURF"
489 help
490 Support for the Qualcomm MSM8625 SURF.
491
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530492config MACH_MSM8625_EVB
493 depends on ARCH_MSM8625
494 depends on !MSM_STACKED_MEMORY
495 default y
496 bool "MSM8625 EVB"
497 help
498 Support for the Qualcomm MSM8625 Reference Design.
499
Daniel Walker7b521612010-05-06 12:44:57 -0700500config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700501 depends on ARCH_MSM7X30
502 depends on !MSM_STACKED_MEMORY
503 default y
504 bool "MSM7x30 SURF"
505 help
506 Support for the Qualcomm MSM7x30 SURF eval board.
507
508config MACH_MSM7X30_FFA
509 depends on ARCH_MSM7X30
510 depends on !MSM_STACKED_MEMORY
511 default y
512 bool "MSM7x30 FFA"
513 help
514 Support for the Qualcomm MSM7x30 FFA eval board.
515
516config MACH_MSM7X30_FLUID
517 depends on ARCH_MSM7X30
518 depends on !MSM_STACKED_MEMORY
519 default y
520 bool "MSM7x30 FLUID"
521 help
522 Support for the Qualcomm MSM7x30 FLUID eval board.
523
524config MACH_SAPPHIRE
525 depends on ARCH_MSM7X01A
526 default n
527 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700528
Daniel Walker4ad15e62010-05-06 13:54:17 -0700529config MACH_QSD8X50_SURF
530 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700531 depends on MSM_SOC_REV_NONE
532 depends on MSM_STACKED_MEMORY
533 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700534 bool "QSD8x50 SURF"
535 help
536 Support for the Qualcomm QSD8x50 SURF eval board.
537
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700538config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700539 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700540 depends on MSM_SOC_REV_NONE
541 depends on MSM_STACKED_MEMORY
542 default y
543 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700544 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700545 Support for the Qualcomm QSD8x50 FFA eval board.
546
547config MACH_MSM7X25_SURF
548 depends on ARCH_MSM7X25
549 depends on !MSM_STACKED_MEMORY
550 default y
551 bool "MSM7x25 SURF"
552 help
553 Support for the Qualcomm MSM7x25 SURF eval board.
554
555config MACH_MSM7X25_FFA
556 depends on ARCH_MSM7X25
557 depends on !MSM_STACKED_MEMORY
558 default y
559 bool "MSM7x25 FFA"
560 help
561 Support for the Qualcomm MSM7x25 FFA eval board.
562
563config MACH_MSM8X55_SURF
564 depends on ARCH_MSM7X30
565 depends on !MSM_STACKED_MEMORY
566 default y
567 bool "MSM8X55 SURF"
568 help
569 Support for the Qualcomm MSM8x55 SURF eval board.
570
571config MACH_MSM8X55_FFA
572 depends on ARCH_MSM7X30
573 depends on !MSM_STACKED_MEMORY
574 default y
575 bool "MSM8X55 FFA"
576 help
577 Support for the Qualcomm MSM8x55 FFA eval board.
578
579config MACH_MSM8X55_SVLTE_FFA
580 depends on ARCH_MSM7X30
581 depends on !MSM_STACKED_MEMORY
582 default y
583 bool "MSM8X55 SVLTE FFA"
584 help
585 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
586
587config MACH_MSM8X55_SVLTE_SURF
588 depends on ARCH_MSM7X30
589 depends on !MSM_STACKED_MEMORY
590 default y
591 bool "MSM8X55 SVLTE SURF"
592 help
593 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700594
Steve Mucklea55df6e2010-01-07 12:43:24 -0800595config MACH_MSM8X60_RUMI3
596 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700597 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800598 bool "MSM8x60 RUMI3"
599 help
600 Support for the Qualcomm MSM8x60 RUMI3 emulator.
601
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800602config MACH_MSM8X60_SIM
603 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700604 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800605 bool "MSM8x60 Simulator"
606 help
607 Support for the Qualcomm MSM8x60 simulator.
608
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700609config MACH_MSM8X60_SURF
610 depends on ARCH_MSM8X60
611 default n
612 bool "MSM8x60 SURF"
613 help
614 Support for the Qualcomm MSM8x60 SURF eval board.
615
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700616config MACH_MSM8X60_FFA
617 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700618 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700619 bool "MSM8x60 FFA"
620 help
621 Support for the Qualcomm MSM8x60 FFA eval board.
622
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700623config MACH_MSM8X60_FLUID
624 depends on ARCH_MSM8X60
625 default n
626 bool "MSM8x60 FLUID"
627 help
628 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
629 8x60 target which has a form factor that is much closer to that
630 of a phone than other targets. It also has a new display and
631 touchscreen controller.
632
633config MACH_MSM8X60_FUSION
634 depends on ARCH_MSM8X60
635 default n
636 bool "MSM8x60 FUSION"
637 help
638 Support for the Qualcomm MSM8x60 Fusion SURF device.
639
640config MACH_MSM8X60_FUSN_FFA
641 depends on ARCH_MSM8X60
642 default n
643 bool "MSM8x60 FUSN FFA"
644 help
645 Support for the Qualcomm MSM8x60 Fusion FFA device.
646
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400647config MACH_MSM8X60_DRAGON
648 depends on ARCH_MSM8X60
649 default n
650 bool "MSM8x60 DRAGON"
651 help
652 Support for the Qualcomm MSM8x60 Dragon board.
653
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800654config MACH_MSM8960_SIM
655 depends on ARCH_MSM8960
656 bool "MSM8960 Simulator"
657 help
658 Support for the Qualcomm MSM8960 simulator.
659
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800660config MACH_MSM8960_RUMI3
661 depends on ARCH_MSM8960
662 bool "MSM8960 RUMI3"
663 help
664 Support for the Qualcomm MSM8960 RUMI3 emulator.
665
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700666config MACH_MSM8960_CDP
667 depends on ARCH_MSM8960
668 bool "MSM8960 CDP"
669 help
670 Support for the Qualcomm MSM8960 CDP device.
671
672config MACH_MSM8960_MTP
673 depends on ARCH_MSM8960
674 bool "MSM8960 MTP"
675 help
676 Support for the Qualcomm MSM8960 MTP device.
677
678config MACH_MSM8960_FLUID
679 depends on ARCH_MSM8960
680 bool "MSM8960 FLUID"
681 help
682 Support for the Qualcomm MSM8960 FLUID device.
683
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300684config MACH_MSM8960_LIQUID
685 depends on ARCH_MSM8960
686 bool "MSM8960 LIQUID"
687 help
688 Support for the Qualcomm MSM8960 LIQUID device.
689
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700690config MACH_MSM8930_CDP
691 depends on ARCH_MSM8930
692 bool "MSM8930 CDP"
693 help
694 Support for the Qualcomm MSM8930 CDP device.
695
696config MACH_MSM8930_MTP
697 depends on ARCH_MSM8930
698 bool "MSM8930 MTP"
699 help
700 Support for the Qualcomm MSM8930 MTP device.
701
702config MACH_MSM8930_FLUID
703 depends on ARCH_MSM8930
704 bool "MSM8930 FLUID"
705 help
706 Support for the Qualcomm MSM8930 FLUID device.
707
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800708config MACH_MSM8627_CDP
709 depends on ARCH_MSM8930
710 bool "MSM8627 CDP"
711 help
712 Support for the Qualcomm MSM8627 CDP device.
713
714config MACH_MSM8627_MTP
715 depends on ARCH_MSM8930
716 bool "MSM8627 MTP"
717 help
718 Support for the Qualcomm MSM8627 MTP device.
719
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700720config MACH_MSM9615_CDP
721 depends on ARCH_MSM9615
722 bool "MSM9615 CDP"
723 help
724 Support for the Qualcomm MSM9615 CDP device.
725
726config MACH_MSM9615_MTP
727 depends on ARCH_MSM9615
728 bool "MSM9615 MTP"
729 help
730 Support for the Qualcomm MSM9615 MTP device.
731
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700732config MSM_USE_TSIF1
733 depends on ARCH_MSM8X60
734 bool "MSM8x60 use TSIF1"
735 help
736 Selects TSIF1 core to be used rather than TSIF0.
737 The two TSIF cores share the same DM configuration
738 so they cannot be used simultaneously.
739
740config MACH_APQ8064_SIM
741 depends on ARCH_APQ8064
742 bool "APQ8064 Simulator"
743 help
744 Support for the Qualcomm APQ8064 simulator.
745
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700746config MACH_APQ8064_RUMI3
747 depends on ARCH_APQ8064
748 bool "APQ8064 RUMI3"
749 help
750 Support for the Qualcomm APQ8064 RUMI3 emulator.
751
Joel King82b7e3f2012-01-05 10:03:27 -0800752config MACH_APQ8064_CDP
753 depends on ARCH_APQ8064
754 bool "APQ8064 CDP"
755 help
756 Support for the Qualcomm APQ8064 CDP device.
757
758config MACH_APQ8064_MTP
759 depends on ARCH_APQ8064
760 bool "APQ8064 MTP"
761 help
762 Support for the Qualcomm APQ8064 MTP device.
763
764config MACH_APQ8064_LIQUID
765 depends on ARCH_APQ8064
766 bool "APQ8064 LIQUID"
767 help
768 Support for the Qualcomm APQ8064 LIQUID device.
769
Joel King11ca8202012-02-13 16:19:03 -0800770config MACH_MPQ8064_HRD
771 depends on ARCH_APQ8064
772 bool "MPQ8064 HRD"
773 help
774 Support for the Qualcomm MPQ8064 HRD device.
775
776config MACH_MPQ8064_DTV
777 depends on ARCH_APQ8064
778 bool "MPQ8064 DTV"
779 help
780 Support for the Qualcomm MPQ8064 DTV device.
781
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700782config MACH_FSM9XXX_SURF
783 depends on ARCH_FSM9XXX
784 depends on !MSM_STACKED_MEMORY
785 default y
786 bool "FSM9XXX SURF"
787 help
788 Support for the Qualcomm FSM9xxx femtocell
789 chipset based SURF evaluation board and
790 FFA board.
791
Daniel Walker4ad15e62010-05-06 13:54:17 -0700792endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800793
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700794config MSM_STACKED_MEMORY
795 bool "Stacked Memory"
796 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800797 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700798 This option is used to indicate the presence of on-die stacked
799 memory. When present this memory bank is used for a high speed
800 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800801
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700802config PHYS_OFFSET
803 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700804 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700805 default "0x80200000" if ARCH_APQ8064
806 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700807 default "0x80200000" if ARCH_MSM8930
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700808 default "0x80200000" if ARCH_MSMCOPPER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700809 default "0x10000000" if ARCH_FSM9XXX
810 default "0x00200000" if !MSM_STACKED_MEMORY
811 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
812 default "0x20000000" if ARCH_QSD8X50
813 default "0x40200000" if ARCH_MSM8X60
814 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800815
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700816config KERNEL_PMEM_EBI_REGION
817 bool "Enable in-kernel PMEM region for EBI"
818 default y if ARCH_MSM8X60
Olav Hauganb800c8c2012-01-30 08:50:45 -0800819 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSMCOPPER)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700820 help
821 Enable the in-kernel PMEM allocator to use EBI memory.
822
823config KERNEL_PMEM_SMI_REGION
824 bool "Enable in-kernel PMEM region for SMI"
825 default y if ARCH_MSM8X60
826 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
827 help
828 Enable the in-kernel PMEM allocator to use SMI memory.
829
830config PMEM_GPU0
831 bool "Enable PMEM GPU0 region"
832 default y
833 depends on ARCH_QSD8X50 && ANDROID_PMEM
834 help
835 Enable the PMEM GPU0 device on SMI Memory.
836
837config MSM_AMSS_VERSION
838 int
839 default 6210 if MSM_AMSS_VERSION_6210
840 default 6220 if MSM_AMSS_VERSION_6220
841 default 6225 if MSM_AMSS_VERSION_6225
842
843choice
844 prompt "AMSS modem firmware version"
845
846 default MSM_AMSS_VERSION_6225
847
848 config MSM_AMSS_VERSION_6210
849 bool "6.2.10"
850
851 config MSM_AMSS_VERSION_6220
852 bool "6.2.20"
853
854 config MSM_AMSS_VERSION_6225
855 bool "6.2.20 + New ADSP"
856endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800857
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700858config MSM_HAS_DEBUG_UART_HS
859 bool
860 help
861 Say Y here if high speed MSM UART is present.
862
863config MSM_HAS_DEBUG_UART_HS_V14
864 bool
865 select MSM_HAS_DEBUG_UART_HS
866 help
867 Say Y here if high speed MSM UART v1.4 is present.
868
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800869config DEBUG_MSM8930_UART
870 bool "Kernel low-level debugging messages via MSM 8930 UART"
871 depends on ARCH_MSM8930 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700872 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800873 help
874 Say Y here if you want the debug print routines to direct
875 their output to the serial port on MSM 8930 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100876
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530877config MSM_DEBUG_UART_PHYS
878 hex
879 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
880 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
881 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
882 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
883 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
884 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
885 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
886 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
887
Pavel Machek6339f662009-11-02 11:48:29 +0100888choice
889 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800890 depends on DEBUG_LL
Pavel Machek6339f662009-11-02 11:48:29 +0100891
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800892 config DEBUG_MSM_UART1
893 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530894 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800895 help
896 Say Y here if you want the debug print routines to direct
897 their output to the first serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100898
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800899 config DEBUG_MSM_UART2
900 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530901 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800902 help
903 Say Y here if you want the debug print routines to direct
904 their output to the second serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100905
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800906 config DEBUG_MSM_UART3
907 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530908 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800909 help
910 Say Y here if you want the debug print routines to direct
911 their output to the third serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100912
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800913 config DEBUG_MSM8660_UART
914 bool "Kernel low-level debugging messages via MSM 8660 UART"
915 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700916 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800917 help
918 Say Y here if you want the debug print routines to direct
919 their output to the serial port on MSM 8660 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100920
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800921 config DEBUG_MSM8960_UART
922 bool "Kernel low-level debugging messages via MSM 8960 UART"
923 depends on ARCH_MSM8960
924 select DEBUG_MSM8930_UART
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700925 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800926 help
927 Say Y here if you want the debug print routines to direct
928 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700929
930 config DEBUG_MSMCOPPER_UART
931 bool "Kernel low-level debugging messages via MSM Copper UART"
932 depends on ARCH_MSMCOPPER
933 select MSM_HAS_DEBUG_UART_HS_V14
934 help
935 Say Y here if you want the debug print routines to direct
936 their output to the serial port on MSM Copper devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100937endchoice
938
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700939choice
940 prompt "Default Timer"
941 default MSM7X00A_USE_GP_TIMER
942
943 config MSM7X00A_USE_GP_TIMER
944 bool "GP Timer"
945 help
946 Low resolution timer that allows power collapse from idle.
947
948 config MSM7X00A_USE_DG_TIMER
949 bool "DG Timer"
950 help
951 High resolution timer.
952endchoice
953
954choice
955 prompt "Suspend sleep mode"
956 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
957 help
958 Allows overriding the sleep mode used. Leave at power
959 collapse suspend unless the arm9 image has problems.
960
961 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
962 bool "Power collapse suspend"
963 help
964 Lowest sleep state. Returns through reset vector.
965
966 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
967 bool "Power collapse"
968 help
969 Sleep state that returns through reset vector.
970
971 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
972 bool "Apps Sleep"
973
974 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
975 bool "Ramp down cpu clock and wait for interrupt"
976
977 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
978 bool "Wait for interrupt"
979endchoice
980
981config MSM7X00A_SLEEP_MODE
982 int
983 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
984 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
985 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
986 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
987 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
988
989choice
990 prompt "Idle sleep mode"
991 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
992 help
993 Allows overriding the sleep mode used from idle. Leave at power
994 collapse suspend unless the arm9 image has problems.
995
996 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
997 bool "Power collapse suspend"
998 help
999 Lowest sleep state. Returns through reset vector.
1000
1001 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1002 bool "Power collapse"
1003 help
1004 Sleep state that returns through reset vector.
1005
1006 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1007 bool "Apps Sleep"
1008
1009 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1010 bool "Ramp down cpu clock and wait for interrupt"
1011
1012 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1013 bool "Wait for interrupt"
1014endchoice
1015
1016config MSM7X00A_IDLE_SLEEP_MODE
1017 int
1018 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1019 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1020 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1021 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1022 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1023
1024config MSM7X00A_IDLE_SLEEP_MIN_TIME
1025 int "Minimum idle time before sleep"
1026 default 20000000
1027 help
1028 Minimum idle time in nanoseconds before entering low power mode.
1029
1030config MSM7X00A_IDLE_SPIN_TIME
1031 int "Idle spin time before cpu ramp down"
1032 default 80000
1033 help
1034 Spin time in nanoseconds before ramping down cpu clock and entering
1035 any low power state.
1036
1037menuconfig MSM_IDLE_STATS
1038 bool "Collect idle statistics"
1039 default y
1040 help
1041 Collect idle statistics and export them in proc/msm_pm_stats.
1042
1043if MSM_IDLE_STATS
1044
1045config MSM_IDLE_STATS_FIRST_BUCKET
1046 int "First bucket time"
1047 default 62500
1048 help
1049 Upper time limit in nanoseconds of first bucket.
1050
1051config MSM_IDLE_STATS_BUCKET_SHIFT
1052 int "Bucket shift"
1053 default 2
1054
1055config MSM_IDLE_STATS_BUCKET_COUNT
1056 int "Bucket count"
1057 default 10
1058
1059config MSM_SUSPEND_STATS_FIRST_BUCKET
1060 int "First bucket time for suspend"
1061 default 1000000000
1062 help
1063 Upper time limit in nanoseconds of first bucket of the
1064 histogram. This is for collecting statistics on suspend.
1065
1066endif # MSM_IDLE_STATS
1067
1068config CPU_HAS_L2_PMU
1069 bool "L2CC PMU Support"
1070 help
1071 Select this if the L2 cache controller has a Performance Monitoring Unit.
1072
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001073config HTC_HEADSET
1074 tristate "HTC 2 Wire detection driver"
1075 default n
1076 help
1077 Provides support for detecting HTC 2 wire devices, such as wired
1078 headset, on the trout platform. Can be used with the msm serial
1079 debugger, but not with serial console.
1080
1081config TROUT_BATTCHG
1082 depends on MACH_TROUT && POWER_SUPPLY
1083 default y
1084 bool "Trout battery / charger driver"
1085
1086config HTC_PWRSINK
1087 depends on MSM_SMD
1088 default n
1089 bool "HTC Power Sink Driver"
1090
1091config QSD_SVS
1092 bool "QSD Static Voltage Scaling"
1093 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1094 default y
1095 select TPS65023
1096 help
1097 Enables static voltage scaling using the TPS65023 PMIC.
1098
1099config QSD_PMIC_DEFAULT_DCDC1
1100 int "PMIC default output voltage"
1101 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1102 default 1250
1103 help
1104 This is the PMIC voltage at Linux kernel boot.
1105
1106config MSM_FIQ_SUPPORT
1107 default y
1108 bool "Enable installation of an FIQ handler."
1109
1110config MSM_SERIAL_DEBUGGER
1111 select MSM_FIQ_SUPPORT
1112 select KERNEL_DEBUGGER_CORE
1113 default n
1114 bool "FIQ Mode Serial Debugger"
1115 help
1116 The FIQ serial debugger can accept commands even when the
1117 kernel is unresponsive due to being stuck with interrupts
1118 disabled. Depends on the kernel debugger core in drivers/misc.
1119
1120config MSM_SERIAL_DEBUGGER_CONSOLE
1121 depends on MSM_SERIAL_DEBUGGER
1122 default n
1123 bool "Console on FIQ Serial Debugger port"
1124 help
1125 Enables a console so that printk messages are displayed on
1126 the debugger serial port as the occur.
Daniel Walkerbf83de42010-03-16 16:29:44 -07001127
Steve Mucklec8aabae2010-04-21 16:20:27 -07001128config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001129 default y
1130 bool "Proc-Comm RPC Interface"
1131 help
1132 Enables a lightweight communications interface to the
1133 baseband processor.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001134
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001135config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001136 bool "MSM Shared Memory Driver (SMD)"
1137 help
1138 Support for the shared memory interface between the apps
1139 processor and the baseband processor. Provides access to
1140 the "shared heap", as well as virtual serial channels
1141 used to communicate with various services on the baseband
1142 processor.
1143
1144choice
1145 prompt "MSM Shared memory interface version"
1146 depends on MSM_SMD
1147 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1148 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1149
1150 config MSM_SMD_PKG3
1151 bool
1152 prompt "Package 3"
1153
1154 config MSM_SMD_PKG4
1155 bool
1156 prompt "Package 4"
1157endchoice
1158
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001159config MSM_RPC_SDIO_XPRT
1160 depends on MSM_SDIO_AL
1161 default y
1162 bool "MSM SDIO XPRT Layer"
1163 help
1164 SDIO Transport Layer for RPC Rouer
1165
1166config MSM_RPC_SDIO_DEBUG
1167 depends on MSM_RPC_SDIO_XPRT
1168 default y
1169 bool "MSM SDIO XPRT debug support"
1170 help
1171 Support for debugging SDIO XPRT
1172
1173config MSM_SMD_DEBUG
1174 depends on MSM_SMD
1175 default y
1176 bool "MSM SMD debug support"
1177 help
1178 Support for debugging the SMD for communication
1179 between the ARM9 and ARM11
1180
1181config MSM_SDIO_AL
1182 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1183 default y
1184 tristate "SDIO-Abstraction-Layer"
1185 help
1186 Support MSM<->MDM Communication over SDIO bus.
1187 MDM SDIO-Client should have pipes support.
1188
1189config MSM_SDIO_DMUX
1190 bool "SDIO Data Mux Driver"
1191 depends on MSM_SDIO_AL
1192 default n
1193 help
1194 Support Muxed Data Channels over SDIO interface.
1195
1196config MSM_BAM_DMUX
1197 bool "BAM Data Mux Driver"
1198 depends on SPS
1199 default n
1200 help
1201 Support Muxed Data Channels over BAM interface.
1202 BAM has a limited number of pipes. This driver
1203 provides a means to support more logical channels
1204 via muxing than BAM could without muxing.
1205
1206config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001207 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001208 default y
1209 bool "MSM N-WAY SMD support"
1210 help
1211 Supports APPS-QDSP SMD communication along with
1212 normal APPS-MODEM SMD communication.
1213
1214config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001215 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001216 default y
1217 bool "MSM N-WAY SMSM support"
1218 help
1219 Supports APPS-QDSP SMSM communication along with
1220 normal APPS-MODEM SMSM communication.
1221
1222config MSM_RESET_MODEM
1223 tristate "Reset Modem Driver"
1224 depends on MSM_SMD
1225 default m
1226 help
1227 Allows the user to reset the modem through a device node.
1228
1229config MSM_SMD_LOGGING
1230 depends on MSM_SMD
1231 default y
1232 bool "MSM Shared Memory Logger"
1233 help
1234 This option exposes the shared memory logger at /dev/smem_log
1235 and a debugfs node named smem_log.
1236
1237 If in doubt, say yes.
1238
1239config MSM_SMD_NMEA
1240 bool "NMEA GPS Driver"
1241 depends on MSM_SMD
1242 default y
1243 help
1244 Enable this to support the NMEA GPS device.
1245
1246 If in doubt, say yes.
1247
1248config MSM_SDIO_TTY
1249 bool "SDIO TTY Driver"
1250 depends on MSM_SDIO_AL
1251 default n
1252 help
1253 Provides a TTY driver SDIO TTY
1254 This driver can be used by user space
1255 applications for passing data through the
1256 SDIO interface.
1257
1258config MSM_SMD_TTY
1259 bool "SMD TTY Driver"
1260 depends on MSM_SMD
1261 default y
1262 help
1263 Provides TTY interfaces to interact with the modem.
1264
1265 If in doubt, say yes.
1266
1267config MSM_SMD_QMI
1268 bool "SMD QMI Driver"
1269 depends on MSM_SMD
1270 default y
1271 help
1272 Manages network data connections.
1273
1274 If in doubt, say yes.
1275
1276config MSM_SMD_PKT
1277 bool "SMD Packet Driver"
1278 depends on MSM_SMD
1279 default y
1280 help
1281 Provides a binary SMD non-muxed packet port interface.
1282
1283 If in doubt, say yes.
1284
1285config MSM_SDIO_CMUX
1286 bool "SDIO CMUX Driver"
1287 depends on MSM_SDIO_AL
1288 default n
1289 help
1290 Provides a Muxed port interface over SDIO QMI
1291
1292config MSM_DSPS
1293 bool "Sensors DSPS driver"
1294 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1295 default n
1296 help
1297 Provides user-space interface to the sensors manager
1298 to turn on/off the Sensors Processor system clocks.
1299 It is the DSPS responsibility to turn on/off the sensors
1300 themself.
1301 The number of clocks and their name may vary between targets.
1302 It also triggers the PIL to load the DSPS firmware.
1303
1304config MSM_SDIO_CTL
1305 bool "SDIO CTL Driver"
1306 depends on MSM_SDIO_CMUX
1307 default n
1308 help
1309 Provides a binary SDIO control port interface.
1310
1311config MSM_ONCRPCROUTER
1312 depends on MSM_SMD
1313 default n
1314 bool "MSM ONCRPC router support"
1315 help
1316 Support for the MSM ONCRPC router for communication between
1317 the ARM9 and ARM11
1318
1319config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001320 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001321 default n
1322 bool "MSM IPC Router support"
1323 help
1324 Support for the MSM IPC Router for communication between
1325 the APPs and the MODEM
1326
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001327config MSM_IPC_ROUTER_SMD_XPRT
1328 depends on MSM_SMD
1329 depends on MSM_IPC_ROUTER
1330 default n
1331 bool "MSM SMD XPRT Layer"
1332 help
1333 SMD Transport Layer for IPC Router
1334
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001335config MSM_ONCRPCROUTER_DEBUG
1336 depends on MSM_ONCRPCROUTER
1337 default y
1338 bool "MSM debug ONCRPC router support"
1339 help
1340 Support for debugging the ONCRPC router for communication
1341 between the ARM9 and ARM11
1342
1343config MSM_RPC_LOOPBACK_XPRT
1344 depends on MSM_ONCRPCROUTER
1345 default n
1346 bool "MSM RPC local routing support"
1347 help
1348 Support for routing RPC messages between APPS clients
1349 and APPS servers. Helps in testing APPS RPC framework.
1350
1351config MSM_RPCSERVER_TIME_REMOTE
1352 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1353 default y
1354 bool "Time remote RPC server"
1355 help
1356 The time remote server receives notification of time bases and
1357 reports these events to registered callback functions.
1358
1359config MSM_RPCSERVER_WATCHDOG
1360 depends on MSM_ONCRPCROUTER
1361 default y
1362 bool "Watchdog RPC server"
1363 help
1364 The dog_keepalive server handles watchdog events.
1365
1366config MSM_RPC_WATCHDOG
1367 depends on MSM_ONCRPCROUTER
1368 default n
1369 bool "Watchdog RPC client"
1370 help
1371 The dog_keepalive client module.
1372
1373config MSM_RPC_PING
1374 depends on MSM_ONCRPCROUTER && DEBUG_FS
1375 default m
1376 bool "MSM rpc ping"
1377 help
1378 Implements MSM rpc ping test module.
1379
1380config MSM_RPC_PROC_COMM_TEST
1381 depends on DEBUG_FS && MSM_PROC_COMM
1382 default m
1383 bool "MSM rpc proc comm test"
1384 help
1385 Implements MSM rpc proc comm test module.
1386
1387config MSM_RPC_OEM_RAPI
1388 depends on MSM_ONCRPCROUTER
1389 default m
1390 bool "MSM oem rapi"
1391 help
1392 Implements MSM oem rapi client module.
1393
1394config MSM_RPCSERVER_HANDSET
1395 depends on MSM_ONCRPCROUTER
1396 default y
1397 bool "Handset events RPC server"
1398 help
1399 Support for receiving handset events like headset detect,
1400 headset switch and clamshell state.
1401
1402config MSM_RMT_STORAGE_CLIENT
1403 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1404 default n
1405 bool "Remote Storage RPC client"
1406 help
1407 Provide RPC mechanism for remote processors to access storage
1408 device on apps processor.
1409
1410config MSM_RMT_STORAGE_CLIENT_STATS
1411 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1412 default n
1413 bool "Remote storage RPC client performance statistics"
1414 help
1415 Collects performance statistics and shows this information
1416 through a debugfs file rmt_storage_stats.
1417
1418config MSM_SDIO_SMEM
1419 depends on MSM_SDIO_AL
1420 default n
1421 bool "SDIO SMEM for remote storage"
1422 help
1423 Copies data from remote MDM9K memory to local MSM8x60
1424 memory. Used by remote storage client to shadow
1425 MDM9K filesystem.
1426
1427config MSM_DALRPC
1428 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001429 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001430 help
1431 Supports RPC calls to DAL devices on remote processor cores.
1432
1433config MSM_DALRPC_TEST
1434 tristate "DAL RPC test module"
1435 depends on (MSM_DALRPC && DEBUG_FS)
1436 default m
1437 help
1438 Exercises DAL RPC calls to QDSP6.
1439
1440if CPU_FREQ_MSM
1441
1442config MSM_CPU_FREQ_SET_MIN_MAX
1443 bool "Set Min/Max CPU frequencies."
1444 default n
1445 help
1446 Allow setting min and max CPU frequencies. Sysfs can be used
1447 to override these values.
1448
1449config MSM_CPU_FREQ_MAX
1450 int "Max CPU Frequency"
1451 depends on MSM_CPU_FREQ_SET_MIN_MAX
1452 default 384000
1453
1454config MSM_CPU_FREQ_MIN
1455 int "Min CPU Frequency"
1456 depends on MSM_CPU_FREQ_SET_MIN_MAX
1457 default 245760
1458
1459endif # CPU_FREQ_MSM
1460
1461config MSM_CPU_AVS
1462 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1463 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1464 depends on ARCH_QSD8X50
1465 default n
1466 select MSM_AVS_HW
1467 help
1468 This enables the s/w control of Adaptive Voltage Scaling feature
1469 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1470 based on feedback from three ring oscillators in the CPU.
1471
1472config MSM_AVS_HW
1473 bool "Enable Adaptive Voltage Scaling (AVS)"
1474 default n
1475 help
1476 Enable AVS hardware to fine tune voltage at each frequency. The
1477 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1478 fine tune the voltages based on the feedback from the ring
1479 oscillators.
1480
1481config MSM_HW3D
1482 tristate "MSM Hardware 3D Register Driver"
1483 depends on ANDROID_PMEM
1484 default y
1485 help
1486 Provides access to registers needed by the userspace OpenGL|ES
1487 library.
1488
1489config MSM_ADSP
1490 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1491 tristate "MSM ADSP driver"
1492 depends on ANDROID_PMEM
1493 default y
1494 help
1495 Provides access to registers needed by the userspace aDSP library.
1496
1497config ADSP_RPC_VER
1498 hex
1499 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1500 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1501 depends on MSM_ADSP
1502 help
1503 Select proper ADSP RPC version
1504choice
1505 prompt "ADSP RPC version"
1506
1507 default AMSS_7X25_VERSION_2009
1508
1509 config AMSS_7X25_VERSION_2009
1510 bool "2.0.09"
1511
1512 config AMSS_7X25_VERSION_2008
1513 bool "2.0.08"
1514endchoice
1515
1516config MSM7KV2_AUDIO
1517 bool "MSM7K v2 audio"
1518 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1519 default y
1520 help
1521 Enables QDSP5V2-based audio drivers for audio playbacks and
1522 voice call.
1523
1524config MSM_ADSP_REPORT_EVENTS
1525 bool "Report modem events from the DSP"
1526 default y
1527 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1528 help
1529 Normally, only messages from the aDSP are reported to userspace.
1530 With this option, we report events from the aDSP as well.
1531
1532config MSM_QDSP6
1533 tristate "QDSP6 support"
1534 depends on ARCH_QSD8X50 && ANDROID_PMEM
1535 default y
1536 help
1537 Enable support for qdsp6. This provides audio and video functionality.
1538
1539config MSM8X60_AUDIO
1540 tristate "MSM8X60 audio support"
1541 depends on ARCH_MSM8X60 && ANDROID_PMEM
1542 default y
1543 help
1544 Enable support for qdsp6v2. This provides audio functionality.
1545
1546config MSM8X60_FTM_AUDIO_DEVICES
1547 bool "MSM8X60 audio factory test mode support"
1548 depends on MSM8X60_AUDIO
1549 help
1550 Enable support audio factory test mode devices. This is used
1551 in a production line environment.
1552
Ben Romberger45b351c2011-07-20 22:37:27 -07001553config RTAC
1554 bool "MSM8K real-time audio calibration support"
1555 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001556 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001557 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001558 audio operation
1559
1560config MSM7X27A_AUDIO
1561 bool "MSM7X27A audio support"
1562 depends on ARCH_MSM7X27A && MSM_ADSP
1563 default n
1564 help
1565 Enable support for 7x27a. This provides audio functionality.
1566
Justin Pauporea6cd2092011-06-22 16:19:45 -07001567config MSM_PROC_COMM_REGULATOR
1568 bool
1569 depends on MSM_PROC_COMM && REGULATOR
1570 help
1571 Enable regulator framework support for regulators managed by PMLIB
1572 on the modem, and controlled through proccomm calls.
1573
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001574config MSM_VREG_SWITCH_INVERTED
1575 bool "Reverse vreg switch polarity"
1576 default n
1577 help
1578 Reverses the enable and disable for vreg switch.
1579
1580config MSM_DMA_TEST
1581 tristate "MSM DMA test module"
1582 default m
1583 help
1584 Intended to be compiled as a module. Provides a device node
1585 and ioctls for testing the MSM dma system.
1586
1587config WIFI_CONTROL_FUNC
1588 bool "Enable WiFi control function abstraction"
1589 help
1590 Enables Power/Reset/Carddetect function abstraction
1591
1592config WIFI_MEM_PREALLOC
1593 depends on WIFI_CONTROL_FUNC
1594 bool "Preallocate memory for WiFi buffers"
1595 help
1596 Preallocates memory buffers for WiFi driver
1597
1598config QSD_AUDIO
1599 bool "QSD audio"
1600 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1601 default y
1602 help
1603 Provides PCM, MP3, and AAC audio playback.
1604
1605config AUDIO_AAC_PLUS
1606 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1607 bool "AAC+ Audio"
1608 default y
1609 help
1610 Provides AAC+ decoding
1611
1612config AUDIO_ENHANCED_AAC_PLUS
1613 depends on AUDIO_AAC_PLUS
1614 bool "Enhanced AAC+ Audio"
1615 default y
1616 help
1617 Provides Enhanced AAC+ decoding
1618
1619config SURF_FFA_GPIO_KEYPAD
1620 bool "MSM SURF/FFA GPIO keypad"
1621 depends on INPUT_GPIO = "y"
1622 default y
1623 help
1624 Select if the GPIO keypad is attached.
1625
1626config MSM_SLEEP_TIME_OVERRIDE
1627 bool "Allow overriding suspend/sleep time with PM module parameter"
1628 default y
1629 help
1630 Enable the module parameter sleep_time_override. Specified
1631 in units of seconds, it overwrites the normal sleep time of
1632 suspend. The feature is required for automated power management
1633 testing.
1634
1635config MSM_MEMORY_LOW_POWER_MODE
1636 bool "Control the low power modes of memory"
1637 default n
1638 help
1639 The application processor controls whether memory should enter
1640 which low power mode.
1641
1642choice
1643 prompt "Default Memory Low Power Mode during Idle"
1644 depends on MSM_MEMORY_LOW_POWER_MODE
1645 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1646 help
1647 Selects the default low power mode of the memory during idle
1648 sleep.
1649
1650 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1651 bool "Memory active"
1652
1653 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1654 bool "Memory in retention"
1655
1656 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1657 bool "Memory in deep power down"
1658endchoice
1659
1660choice
1661 prompt "Default Memory Low Power Mode during Suspend"
1662 depends on MSM_MEMORY_LOW_POWER_MODE
1663 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1664 help
1665 Selects the default low power mode of the memory during suspend
1666 sleep.
1667
1668 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1669 bool "Memory active"
1670
1671 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1672 bool "Memory in retention"
1673
1674 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1675 bool "Memory in deep power down"
1676endchoice
1677
1678choice
1679 prompt "Power management timeout action"
1680 default MSM_PM_TIMEOUT_HALT
1681 help
1682 Selects the Application Processor's action when Power Management
1683 times out waiting for Modem's handshake.
1684
1685 config MSM_PM_TIMEOUT_HALT
1686 bool "Halt the Application Processor"
1687
1688 config MSM_PM_TIMEOUT_RESET_MODEM
1689 bool "Reset the Modem Processor"
1690
1691 config MSM_PM_TIMEOUT_RESET_CHIP
1692 bool "Reset the entire chip"
1693endchoice
1694
1695config MSM_IDLE_WAIT_ON_MODEM
1696 int "Wait for Modem to become ready for idle power collapse"
1697 default 0
1698 help
1699 If Modem is not ready to handle Application Processor's request
1700 for idle power collapse, wait the number of microseconds in case
1701 Modem becomes ready soon.
1702
Matt Wagantall9274df92011-12-15 11:11:05 -08001703config MSM_RPM_REGULATOR
1704 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001705 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001706 help
1707 Compile in support for the RPM regulator driver, used for setting
1708 voltages and other parameters of the various power rails supplied
1709 by some Qualcomm PMICs.
1710
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001711config MSM_PIL
1712 bool "Peripheral image loading"
1713 select FW_LOADER
1714 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1715 default n
1716 help
1717 Some peripherals need to be loaded into memory before they can be
1718 brought out of reset.
1719
1720 Say yes to support these devices.
1721
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001722config MSM_PIL_MODEM
1723 tristate "Modem (ARM11) Boot Support"
1724 depends on MSM_PIL
1725 help
1726 Support for booting and shutting down ARM11 Modem processors.
1727
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001728config MSM_PIL_QDSP6V3
1729 tristate "QDSP6v3 (Hexagon) Boot Support"
1730 depends on MSM_PIL
1731 help
1732 Support for booting and shutting down QDSP6v3 processors (hexagon).
1733 The QDSP6 is a low power DSP used in audio software applications.
1734
Stephen Boydeb819882011-08-29 14:46:30 -07001735config MSM_PIL_QDSP6V4
1736 tristate "QDSP6v4 (Hexagon) Boot Support"
1737 depends on MSM_PIL
1738 help
1739 Support for booting and shutting down QDSP6v4 processors (hexagon).
1740 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1741 software applications.
1742
Stephen Boyd322a9922011-09-20 01:05:54 -07001743config MSM_PIL_RIVA
1744 tristate "RIVA (WCNSS) Boot Support"
1745 depends on MSM_PIL
1746 help
1747 Support for booting and shutting down the RIVA processor (WCNSS).
1748 Riva is the wireless subsystem processor used in bluetooth, wireless
1749 LAN, and FM software applications.
1750
Stephen Boydd89eebe2011-09-28 23:28:11 -07001751config MSM_PIL_TZAPPS
1752 tristate "TZApps Boot Support"
1753 depends on MSM_PIL
1754 help
1755 Support for booting and shutting down TZApps.
1756
1757 TZApps is an image that runs in the secure processor state. It is
1758 used to decrypt data and perform secure operations on the behalf of
1759 the kernel.
1760
Matt Wagantall292aace2012-01-26 19:12:34 -08001761config MSM_PIL_GSS
1762 tristate "GSS (Coretx A5) Boot Support"
1763 depends on MSM_PIL
1764 help
1765 Support for booting and shutting down Cortex A5 processors which run
1766 GPS subsystem firmware.
1767
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001768config MSM_SCM
1769 bool "Secure Channel Manager (SCM) support"
1770 default n
1771
1772config MSM_SUBSYSTEM_RESTART
1773 bool "MSM Subsystem Restart Driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001774 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001775 default n
1776 help
1777 This option enables the MSM subsystem restart driver, which provides
1778 a framework to handle subsystem crashes.
1779
Matt Wagantallf8020902011-08-30 21:19:23 -07001780config MSM_SYSMON_COMM
1781 bool "MSM System Monitor communication support"
1782 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1783 default y
1784 help
1785 This option adds support for MSM System Monitor library, which
1786 provides an API that may be used for notifying subsystems within
1787 the SoC about other subsystems' power-up/down state-changes.
1788
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001789config MSM_MODEM_8960
1790 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001791 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001792 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001793 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001794 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001795 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001796
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001797config MSM_LPASS_8960
1798 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001799 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001800 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001801 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001802 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001803 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001804
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001805config MSM_WCNSS_SSR_8960
1806 tristate "MSM 8960 WCNSS restart module"
1807 depends on (ARCH_MSM8960)
1808 help
1809 This option enables the WCNSS restart module for MSM8960, which
1810 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1811 into the subsystem restart framework.
1812
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001813config SCORPION_Uni_45nm_BUG
1814 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1815 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1816 default y
1817 help
1818 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1819 invalidating the Branch Predictor Array by Modified Virtual Address can
1820 create invalid entries in the TLB with the wrong ASID values on Scorpion
1821 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1822 workaround for Scorpion Uniprocessor 45nm cores.
1823
1824 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1825
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001826config MSM_BUSPM_DEV
1827 tristate "MSM Bus Performance Monitor Kernel Module"
1828 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1829 default m
1830 help
1831 This kernel module is used to mmap() hardware registers for the
1832 performance monitors, counters, etc. The module can also be used to
1833 allocate physical memory which is used by bus performance hardware to
1834 dump performance data.
1835
Mona Hossain11c03ac2011-10-26 12:42:10 -07001836config MSM_TZ_LOG
1837 tristate "MSM Trust Zone (TZ) Log Driver"
1838 depends on DEBUG_FS
1839 help
1840 This option enables a driver with a debugfs interface for messages
1841 produced by the Secure code (Trust zone). These messages provide
1842 diagnostic information about TZ operation.
1843
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001844config MSM_RPM_LOG
1845 tristate "MSM Resource Power Manager Log Driver"
1846 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001847 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001848 default n
1849 help
1850 This option enables a driver which can read from a circular buffer
1851 of messages produced by the RPM. These messages provide diagnostic
1852 information about RPM operation. The driver outputs the messages
1853 via a debugfs node.
1854
1855config MSM_RPM_STATS_LOG
1856 tristate "MSM Resource Power Manager Stat Driver"
1857 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001858 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001859 default n
1860 help
1861 This option enables a driver which reads RPM messages from a shared
1862 memory location. These messages provide statistical information about
1863 the low power modes that RPM enters. The drivers outputs the message
1864 via a debugfs node.
1865
1866config MSM_IOMMU
1867 bool "MSM IOMMU Support"
Joel King41d594e2011-10-14 13:18:20 -07001868 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_APQ8064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001869 select IOMMU_API
1870 default n
1871 help
1872 Support for the IOMMUs found on certain Qualcomm SOCs.
1873 These IOMMUs allow virtualization of the address space used by most
1874 cores within the multimedia subsystem.
1875
1876 If unsure, say N here.
1877
1878config IOMMU_PGTABLES_L2
1879 bool "Allow SMMU page tables in the L2 cache (Experimental)"
1880 depends on MSM_IOMMU=y
1881 depends on MMU
1882 depends on CPU_DCACHE_DISABLE=n
1883 depends on SMP
1884 default y
1885 help
1886 Improves TLB miss latency at the expense of potential L2 pollution.
1887 However, with large multimedia buffers, the TLB should mostly contain
1888 section mappings and TLB misses should be quite infrequent.
1889 Most people can probably say Y here.
1890
1891config MSM_DIRECT_SCLK_ACCESS
1892 bool "Direct access to the SCLK timer"
1893 default n
1894
1895config IOMMU_API
1896 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001897
Gregory Beanab78cde2010-09-01 16:26:12 -07001898config MSM_GPIOMUX
1899 bool
1900
Gregory Bean1963a2a2010-08-28 10:05:44 -07001901config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001902 bool
1903
1904config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07001905 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001906
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001907config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001908 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001909
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001910config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001911 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001912
Matt Wagantall88b86312012-01-31 16:53:03 -08001913config MSM_PM
1914 depends on PM
1915 bool
1916
1917config MSM_PM2
1918 depends on PM
1919 bool
1920
1921config MSM_PM8X60
1922 depends on PM
1923 bool
1924
1925config MSM_NOPM
1926 default y if !PM
1927 bool
1928
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001929config MSM_BUS_SCALING
1930 bool "Bus scaling driver"
1931 default n
1932
Gagan Mac85c70492011-06-10 16:07:47 -06001933config MSM_BUS_RPM_MULTI_TIER_ENABLED
1934 bool "RPM Multi-tiering Configuration"
1935 depends on MSM_BUS_SCALING
1936
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001937config MSM_WATCHDOG
1938 bool "MSM Watchdog Support"
Rohit Vaswani085a9332011-09-28 18:57:24 -07001939 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001940 help
1941 This enables the watchdog as is present on 8x60. Currently we use
1942 core 0's watchdog, and reset the entire SoC if it times out. It does
1943 not run during the bootup process, so it will not catch any early
1944 lockups.
1945
1946config MSM_DLOAD_MODE
1947 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07001948 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001949 default n
1950 help
1951 This makes the SoC enter download mode when it resets
1952 due to a kernel panic. Note that this doesn't by itself
1953 make the kernel reboot on a kernel panic - that must be
1954 enabled via another mechanism.
1955
Pratik Patel17f3b822011-11-21 12:41:47 -08001956config MSM_JTAG
1957 bool "JTAG debug and trace support"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001958 help
Pratik Patel17f3b822011-11-21 12:41:47 -08001959 Add additional support for JTAG kernel debugging and tracing.
Pratik Patel7831c082011-06-08 21:44:37 -07001960
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001961config MSM_ETM
1962 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08001963 depends on ARCH_MSM8X60
1964 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001965 help
Pratik Patel17f3b822011-11-21 12:41:47 -08001966 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07001967
1968config MSM_QDSS
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001969 bool "Qualcomm Debug Subsystem"
Pratik Patel17f3b822011-11-21 12:41:47 -08001970 select MSM_JTAG
Pratik Patel7831c082011-06-08 21:44:37 -07001971 help
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001972 Enables support for Qualcomm Debug Subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001973
Pratik Patel29cba152012-01-03 11:40:26 -08001974config MSM_QDSS_ETM_DEFAULT_ENABLE
1975 bool "Turn on QDSS ETM Tracing by Default"
1976 depends on MSM_QDSS
1977 help
1978 Turns on QDSS ETM tracing by default. Otherwise, tracing is
1979 disabled by default but can be enabled by other means.
1980
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001981config MSM_SLEEP_STATS
1982 bool "Enable exporting of MSM sleep stats to userspace"
1983 depends on CPU_IDLE
1984 default n
1985
Lynus Vazdde09ee2012-01-05 13:28:22 +05301986config MSM_SLEEP_STATS_DEVICE
1987 bool "Enable exporting of MSM sleep device stats to userspace"
1988
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001989config MSM_STANDALONE_POWER_COLLAPSE
1990 bool "Enable standalone power collapse"
1991 default n
1992
1993config MSM_GSBI9_UART
1994 bool "Enable GSBI9 UART device"
1995 default n
1996 help
1997 This enables GSBI9 configured into UART.
1998
1999config MSM_SHARED_GPIO_FOR_UART2DM
2000 bool "Use shared GPIOs into UART mode"
2001 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2002 help
2003 This option configures GPIO muxed with SDC4/MMC3
2004 8-bit mode into UART mode. It is used for serial
2005 console on UART2DM. Say Y if you want to have
2006 serial console on UART2DM.
2007
2008config MSM_SHOW_RESUME_IRQ
2009 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002010 depends on (ARM_GIC || PMIC8058)
2011 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002012 default n
2013 help
2014 This option logs wake up interrupts that have triggered just before
2015 the resume loop unrolls. Say Y if you want to debug why the system
2016 resumed.
2017
2018config BT_MSM_PINTEST
2019 tristate "MSM Bluetooth Pin Connectivity Test"
2020 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2021 default n
2022 help
2023 Bluetooth MSM Pin Connectivity test module.
2024 This driver provides support for verifying the MSM to BT pin
2025 connectivity.
2026
2027config MSM_FAKE_BATTERY
2028 depends on POWER_SUPPLY
2029 default n
2030 bool "MSM Fake Battery"
2031 help
2032 Enables MSM fake battery driver.
2033
2034config MSM_QDSP6_APR
2035 bool "Audio QDSP6 APR support"
2036 depends on MSM_SMD
2037 default n
2038 help
2039 Enable APR IPC protocol support between
2040 application processor and QDSP6. APR is
2041 used by audio driver to configure QDSP6's
2042 ASM, ADM and AFE.
2043
2044
2045config MSM_AUDIO_QDSP6
2046 bool "QDSP6 HW Audio support"
2047 select SND_SOC_MSM_QDSP6_INTF
2048 default n
2049 help
2050 Enable HW audio support in QDSP6.
2051 QDSP6 can support HW encoder & decoder and audio processing
2052
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002053config MSM_ULTRASOUND
2054 bool "MSM ultrasound support"
2055 depends on MSM_AUDIO_QDSP6
2056 help
2057 Enable support for qdsp6/ultrasound.
2058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002059config MSM_RPC_VIBRATOR
2060 bool "RPC based MSM Vibrator Support"
2061 depends on MSM_ONCRPCROUTER
2062 help
2063 Enable the vibrator support on MSM over RPC. The vibrator
2064 is connected on the PMIC. Say Y if you want to enable this
2065 feature.
2066
2067config PM8XXX_RPC_VIBRATOR
2068 bool "RPC based Vibrator on PM8xxx PMICs"
2069 depends on MSM_RPC_VIBRATOR
2070 help
2071 Enable the vibrator support on MSM over RPC. The vibrator
2072 is connected on the PM8XXX PMIC. Say Y if you want to enable
2073 this feature.
2074
2075config MSM_SPM_V1
2076 bool "Driver support for SPM Version 1"
2077 help
2078 Enables the support for Version 1 of the SPM driver. SPM hardware is
2079 used to manage the processor power during sleep. The driver allows
2080 configuring SPM to allow different power modes.
2081
2082config MSM_SPM_V2
2083 bool "Driver support for SPM Version 2"
2084 help
2085 Enables the support for Version 2 of the SPM driver. SPM hardware is
2086 used to manage the processor power during sleep. The driver allows
2087 configuring SPM to allow different power modes.
2088
2089config MSM_L2_SPM
2090 bool "SPM support for L2 cache"
2091 depends on MSM_SPM_V2
2092 help
2093 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2094 control of L2 cache low power mode with a Subsystem Power manager.
2095 Enabling this driver allows configuring L2 SPM for low power modes
2096 on supported chipsets.
2097
Laura Abbott2d1760b2011-09-29 21:31:24 -07002098config MSM_MULTIMEDIA_USE_ION
2099 bool "Multimedia suport using Ion"
2100 depends on ION_MSM
2101 help
2102 Enable support for multimedia drivers using Ion for buffer management
2103 instead of pmem. Selecting this may also involve userspace
2104 dependencies as well.
2105
Laura Abbottad340ff2012-01-04 14:23:48 -08002106config MSM_RTB
2107 bool "Register tracing"
2108 help
2109 Add support for logging different events to a small uncached
2110 region. This is designed to aid in debugging reset cases where the
2111 caches may not be flushed before the target resets.
2112
2113config MSM_RTB_SEPARATE_CPUS
2114 bool "Separate entries for each cpu"
2115 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002116 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002117 help
2118 Under some circumstances, it may be beneficial to give dedicated space
2119 for each cpu to log accesses. Selecting this option will log each cpu
2120 separately. This will guarantee that the last acesses for each cpu
2121 will be logged but there will be fewer entries per cpu
2122
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002123config MSM_CACHE_ERP
2124 bool "Cache / CPU error reporting"
2125 depends on ARCH_MSM_KRAIT
2126 help
2127 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2128 log. Enabling this feature can be used as a system debugging technique
2129 if cache corruption is suspected. Cache error statistics will also be
2130 reported in /proc/cpu/msm_cache_erp.
2131
2132 For production builds, you should probably say 'N' here.
2133
2134config MSM_L1_ERR_PANIC
2135 bool "Panic on L1 cache / TLB errors"
2136 depends on MSM_CACHE_ERP
2137 help
2138 To cause the kernel to panic whenever an L1 cache or TLB error is
2139 detected, say 'Y' here. This may be useful as a debugging technique if
2140 general system instability is suspected.
2141
2142 For production builds, you should probably say 'N' here.
2143
2144
2145config MSM_L2_ERP_PORT_PANIC
2146 bool "Panic on L2 master port errors"
2147 depends on MSM_CACHE_ERP
2148 help
2149 Master port errors can occur when a memory request is not properly
2150 handled by the destination slave. Enable this option to catch drivers
2151 which attempt to access bad areas of the address space, or access
2152 hardware registers in an improper state (such as certain clocks not
2153 being on). This option may help with debugging, though production
2154 builds should probably say 'N' here.
2155
2156config MSM_L2_ERP_1BIT_PANIC
2157 bool "Panic on recoverable L2 soft errors"
2158 depends on MSM_CACHE_ERP
2159 help
2160 Enable this option to cause a kernel panic whenever the L2 cache
2161 encounters a single-bit (correctable) soft error. This option should
2162 only be enabled when doing low-level debugging where cache corruption
2163 is suspected.
2164
2165 For production builds, you should definitely say 'N' here.
2166
2167config MSM_L2_ERP_2BIT_PANIC
2168 bool "Panic on unrecoverable L2 soft errors"
2169 depends on MSM_CACHE_ERP
2170 help
2171 Enable this option to cause a kernel panic whenever the L2 cache
2172 encounters a double-bit (non-correctable) soft error. Debug builds
2173 will likely benefit from having this option enabled to catch cache
2174 problems as soon as possible.
2175
2176 For production builds, it may be acceptable to say 'N' here, since
2177 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002178
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002179config MSM_DCVS
2180 bool "Use MSM DCVS for CPU/GPU Frequency control"
2181 depends on MSM_SCM
2182 help
2183 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2184 The DCVS manager allows idle driver to feed the idle information to the
2185 algorithm and the algorithm returns a frequency for the core which is
2186 passed to the frequency change driver.
2187
Brian Swetland9e73c842007-11-26 04:12:13 -08002188endif