blob: ed2b9ad4282aad8d054b39d7c42e713fbb48cfdf [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
877choice
878 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800879 depends on DEBUG_LL
Pavel Machek6339f662009-11-02 11:48:29 +0100880
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800881 config DEBUG_MSM_UART1
882 bool "Kernel low-level debugging messages via MSM UART1"
883 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
884 help
885 Say Y here if you want the debug print routines to direct
886 their output to the first serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100887
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800888 config DEBUG_MSM_UART2
889 bool "Kernel low-level debugging messages via MSM UART2"
890 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
891 help
892 Say Y here if you want the debug print routines to direct
893 their output to the second serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100894
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800895 config DEBUG_MSM_UART3
896 bool "Kernel low-level debugging messages via MSM UART3"
897 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
898 help
899 Say Y here if you want the debug print routines to direct
900 their output to the third serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100901
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800902 config DEBUG_MSM8660_UART
903 bool "Kernel low-level debugging messages via MSM 8660 UART"
904 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700905 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800906 help
907 Say Y here if you want the debug print routines to direct
908 their output to the serial port on MSM 8660 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100909
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800910 config DEBUG_MSM8960_UART
911 bool "Kernel low-level debugging messages via MSM 8960 UART"
912 depends on ARCH_MSM8960
913 select DEBUG_MSM8930_UART
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700914 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800915 help
916 Say Y here if you want the debug print routines to direct
917 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700918
919 config DEBUG_MSMCOPPER_UART
920 bool "Kernel low-level debugging messages via MSM Copper UART"
921 depends on ARCH_MSMCOPPER
922 select MSM_HAS_DEBUG_UART_HS_V14
923 help
924 Say Y here if you want the debug print routines to direct
925 their output to the serial port on MSM Copper devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100926endchoice
927
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700928choice
929 prompt "Default Timer"
930 default MSM7X00A_USE_GP_TIMER
931
932 config MSM7X00A_USE_GP_TIMER
933 bool "GP Timer"
934 help
935 Low resolution timer that allows power collapse from idle.
936
937 config MSM7X00A_USE_DG_TIMER
938 bool "DG Timer"
939 help
940 High resolution timer.
941endchoice
942
943choice
944 prompt "Suspend sleep mode"
945 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
946 help
947 Allows overriding the sleep mode used. Leave at power
948 collapse suspend unless the arm9 image has problems.
949
950 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
951 bool "Power collapse suspend"
952 help
953 Lowest sleep state. Returns through reset vector.
954
955 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
956 bool "Power collapse"
957 help
958 Sleep state that returns through reset vector.
959
960 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
961 bool "Apps Sleep"
962
963 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
964 bool "Ramp down cpu clock and wait for interrupt"
965
966 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
967 bool "Wait for interrupt"
968endchoice
969
970config MSM7X00A_SLEEP_MODE
971 int
972 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
973 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
974 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
975 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
976 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
977
978choice
979 prompt "Idle sleep mode"
980 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
981 help
982 Allows overriding the sleep mode used from idle. Leave at power
983 collapse suspend unless the arm9 image has problems.
984
985 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
986 bool "Power collapse suspend"
987 help
988 Lowest sleep state. Returns through reset vector.
989
990 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
991 bool "Power collapse"
992 help
993 Sleep state that returns through reset vector.
994
995 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
996 bool "Apps Sleep"
997
998 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
999 bool "Ramp down cpu clock and wait for interrupt"
1000
1001 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1002 bool "Wait for interrupt"
1003endchoice
1004
1005config MSM7X00A_IDLE_SLEEP_MODE
1006 int
1007 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1008 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1009 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1010 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1011 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1012
1013config MSM7X00A_IDLE_SLEEP_MIN_TIME
1014 int "Minimum idle time before sleep"
1015 default 20000000
1016 help
1017 Minimum idle time in nanoseconds before entering low power mode.
1018
1019config MSM7X00A_IDLE_SPIN_TIME
1020 int "Idle spin time before cpu ramp down"
1021 default 80000
1022 help
1023 Spin time in nanoseconds before ramping down cpu clock and entering
1024 any low power state.
1025
1026menuconfig MSM_IDLE_STATS
1027 bool "Collect idle statistics"
1028 default y
1029 help
1030 Collect idle statistics and export them in proc/msm_pm_stats.
1031
1032if MSM_IDLE_STATS
1033
1034config MSM_IDLE_STATS_FIRST_BUCKET
1035 int "First bucket time"
1036 default 62500
1037 help
1038 Upper time limit in nanoseconds of first bucket.
1039
1040config MSM_IDLE_STATS_BUCKET_SHIFT
1041 int "Bucket shift"
1042 default 2
1043
1044config MSM_IDLE_STATS_BUCKET_COUNT
1045 int "Bucket count"
1046 default 10
1047
1048config MSM_SUSPEND_STATS_FIRST_BUCKET
1049 int "First bucket time for suspend"
1050 default 1000000000
1051 help
1052 Upper time limit in nanoseconds of first bucket of the
1053 histogram. This is for collecting statistics on suspend.
1054
1055endif # MSM_IDLE_STATS
1056
1057config CPU_HAS_L2_PMU
1058 bool "L2CC PMU Support"
1059 help
1060 Select this if the L2 cache controller has a Performance Monitoring Unit.
1061
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001062config HTC_HEADSET
1063 tristate "HTC 2 Wire detection driver"
1064 default n
1065 help
1066 Provides support for detecting HTC 2 wire devices, such as wired
1067 headset, on the trout platform. Can be used with the msm serial
1068 debugger, but not with serial console.
1069
1070config TROUT_BATTCHG
1071 depends on MACH_TROUT && POWER_SUPPLY
1072 default y
1073 bool "Trout battery / charger driver"
1074
1075config HTC_PWRSINK
1076 depends on MSM_SMD
1077 default n
1078 bool "HTC Power Sink Driver"
1079
1080config QSD_SVS
1081 bool "QSD Static Voltage Scaling"
1082 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1083 default y
1084 select TPS65023
1085 help
1086 Enables static voltage scaling using the TPS65023 PMIC.
1087
1088config QSD_PMIC_DEFAULT_DCDC1
1089 int "PMIC default output voltage"
1090 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1091 default 1250
1092 help
1093 This is the PMIC voltage at Linux kernel boot.
1094
1095config MSM_FIQ_SUPPORT
1096 default y
1097 bool "Enable installation of an FIQ handler."
1098
1099config MSM_SERIAL_DEBUGGER
1100 select MSM_FIQ_SUPPORT
1101 select KERNEL_DEBUGGER_CORE
1102 default n
1103 bool "FIQ Mode Serial Debugger"
1104 help
1105 The FIQ serial debugger can accept commands even when the
1106 kernel is unresponsive due to being stuck with interrupts
1107 disabled. Depends on the kernel debugger core in drivers/misc.
1108
1109config MSM_SERIAL_DEBUGGER_CONSOLE
1110 depends on MSM_SERIAL_DEBUGGER
1111 default n
1112 bool "Console on FIQ Serial Debugger port"
1113 help
1114 Enables a console so that printk messages are displayed on
1115 the debugger serial port as the occur.
Daniel Walkerbf83de42010-03-16 16:29:44 -07001116
Steve Mucklec8aabae2010-04-21 16:20:27 -07001117config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001118 default y
1119 bool "Proc-Comm RPC Interface"
1120 help
1121 Enables a lightweight communications interface to the
1122 baseband processor.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001123
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001124config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001125 bool "MSM Shared Memory Driver (SMD)"
1126 help
1127 Support for the shared memory interface between the apps
1128 processor and the baseband processor. Provides access to
1129 the "shared heap", as well as virtual serial channels
1130 used to communicate with various services on the baseband
1131 processor.
1132
1133choice
1134 prompt "MSM Shared memory interface version"
1135 depends on MSM_SMD
1136 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1137 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1138
1139 config MSM_SMD_PKG3
1140 bool
1141 prompt "Package 3"
1142
1143 config MSM_SMD_PKG4
1144 bool
1145 prompt "Package 4"
1146endchoice
1147
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001148config MSM_RPC_SDIO_XPRT
1149 depends on MSM_SDIO_AL
1150 default y
1151 bool "MSM SDIO XPRT Layer"
1152 help
1153 SDIO Transport Layer for RPC Rouer
1154
1155config MSM_RPC_SDIO_DEBUG
1156 depends on MSM_RPC_SDIO_XPRT
1157 default y
1158 bool "MSM SDIO XPRT debug support"
1159 help
1160 Support for debugging SDIO XPRT
1161
1162config MSM_SMD_DEBUG
1163 depends on MSM_SMD
1164 default y
1165 bool "MSM SMD debug support"
1166 help
1167 Support for debugging the SMD for communication
1168 between the ARM9 and ARM11
1169
1170config MSM_SDIO_AL
1171 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1172 default y
1173 tristate "SDIO-Abstraction-Layer"
1174 help
1175 Support MSM<->MDM Communication over SDIO bus.
1176 MDM SDIO-Client should have pipes support.
1177
1178config MSM_SDIO_DMUX
1179 bool "SDIO Data Mux Driver"
1180 depends on MSM_SDIO_AL
1181 default n
1182 help
1183 Support Muxed Data Channels over SDIO interface.
1184
1185config MSM_BAM_DMUX
1186 bool "BAM Data Mux Driver"
1187 depends on SPS
1188 default n
1189 help
1190 Support Muxed Data Channels over BAM interface.
1191 BAM has a limited number of pipes. This driver
1192 provides a means to support more logical channels
1193 via muxing than BAM could without muxing.
1194
1195config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001196 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001197 default y
1198 bool "MSM N-WAY SMD support"
1199 help
1200 Supports APPS-QDSP SMD communication along with
1201 normal APPS-MODEM SMD communication.
1202
1203config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001204 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001205 default y
1206 bool "MSM N-WAY SMSM support"
1207 help
1208 Supports APPS-QDSP SMSM communication along with
1209 normal APPS-MODEM SMSM communication.
1210
1211config MSM_RESET_MODEM
1212 tristate "Reset Modem Driver"
1213 depends on MSM_SMD
1214 default m
1215 help
1216 Allows the user to reset the modem through a device node.
1217
1218config MSM_SMD_LOGGING
1219 depends on MSM_SMD
1220 default y
1221 bool "MSM Shared Memory Logger"
1222 help
1223 This option exposes the shared memory logger at /dev/smem_log
1224 and a debugfs node named smem_log.
1225
1226 If in doubt, say yes.
1227
1228config MSM_SMD_NMEA
1229 bool "NMEA GPS Driver"
1230 depends on MSM_SMD
1231 default y
1232 help
1233 Enable this to support the NMEA GPS device.
1234
1235 If in doubt, say yes.
1236
1237config MSM_SDIO_TTY
1238 bool "SDIO TTY Driver"
1239 depends on MSM_SDIO_AL
1240 default n
1241 help
1242 Provides a TTY driver SDIO TTY
1243 This driver can be used by user space
1244 applications for passing data through the
1245 SDIO interface.
1246
1247config MSM_SMD_TTY
1248 bool "SMD TTY Driver"
1249 depends on MSM_SMD
1250 default y
1251 help
1252 Provides TTY interfaces to interact with the modem.
1253
1254 If in doubt, say yes.
1255
1256config MSM_SMD_QMI
1257 bool "SMD QMI Driver"
1258 depends on MSM_SMD
1259 default y
1260 help
1261 Manages network data connections.
1262
1263 If in doubt, say yes.
1264
1265config MSM_SMD_PKT
1266 bool "SMD Packet Driver"
1267 depends on MSM_SMD
1268 default y
1269 help
1270 Provides a binary SMD non-muxed packet port interface.
1271
1272 If in doubt, say yes.
1273
1274config MSM_SDIO_CMUX
1275 bool "SDIO CMUX Driver"
1276 depends on MSM_SDIO_AL
1277 default n
1278 help
1279 Provides a Muxed port interface over SDIO QMI
1280
1281config MSM_DSPS
1282 bool "Sensors DSPS driver"
1283 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1284 default n
1285 help
1286 Provides user-space interface to the sensors manager
1287 to turn on/off the Sensors Processor system clocks.
1288 It is the DSPS responsibility to turn on/off the sensors
1289 themself.
1290 The number of clocks and their name may vary between targets.
1291 It also triggers the PIL to load the DSPS firmware.
1292
1293config MSM_SDIO_CTL
1294 bool "SDIO CTL Driver"
1295 depends on MSM_SDIO_CMUX
1296 default n
1297 help
1298 Provides a binary SDIO control port interface.
1299
1300config MSM_ONCRPCROUTER
1301 depends on MSM_SMD
1302 default n
1303 bool "MSM ONCRPC router support"
1304 help
1305 Support for the MSM ONCRPC router for communication between
1306 the ARM9 and ARM11
1307
1308config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001309 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001310 default n
1311 bool "MSM IPC Router support"
1312 help
1313 Support for the MSM IPC Router for communication between
1314 the APPs and the MODEM
1315
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001316config MSM_IPC_ROUTER_SMD_XPRT
1317 depends on MSM_SMD
1318 depends on MSM_IPC_ROUTER
1319 default n
1320 bool "MSM SMD XPRT Layer"
1321 help
1322 SMD Transport Layer for IPC Router
1323
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001324config MSM_ONCRPCROUTER_DEBUG
1325 depends on MSM_ONCRPCROUTER
1326 default y
1327 bool "MSM debug ONCRPC router support"
1328 help
1329 Support for debugging the ONCRPC router for communication
1330 between the ARM9 and ARM11
1331
1332config MSM_RPC_LOOPBACK_XPRT
1333 depends on MSM_ONCRPCROUTER
1334 default n
1335 bool "MSM RPC local routing support"
1336 help
1337 Support for routing RPC messages between APPS clients
1338 and APPS servers. Helps in testing APPS RPC framework.
1339
1340config MSM_RPCSERVER_TIME_REMOTE
1341 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1342 default y
1343 bool "Time remote RPC server"
1344 help
1345 The time remote server receives notification of time bases and
1346 reports these events to registered callback functions.
1347
1348config MSM_RPCSERVER_WATCHDOG
1349 depends on MSM_ONCRPCROUTER
1350 default y
1351 bool "Watchdog RPC server"
1352 help
1353 The dog_keepalive server handles watchdog events.
1354
1355config MSM_RPC_WATCHDOG
1356 depends on MSM_ONCRPCROUTER
1357 default n
1358 bool "Watchdog RPC client"
1359 help
1360 The dog_keepalive client module.
1361
1362config MSM_RPC_PING
1363 depends on MSM_ONCRPCROUTER && DEBUG_FS
1364 default m
1365 bool "MSM rpc ping"
1366 help
1367 Implements MSM rpc ping test module.
1368
1369config MSM_RPC_PROC_COMM_TEST
1370 depends on DEBUG_FS && MSM_PROC_COMM
1371 default m
1372 bool "MSM rpc proc comm test"
1373 help
1374 Implements MSM rpc proc comm test module.
1375
1376config MSM_RPC_OEM_RAPI
1377 depends on MSM_ONCRPCROUTER
1378 default m
1379 bool "MSM oem rapi"
1380 help
1381 Implements MSM oem rapi client module.
1382
1383config MSM_RPCSERVER_HANDSET
1384 depends on MSM_ONCRPCROUTER
1385 default y
1386 bool "Handset events RPC server"
1387 help
1388 Support for receiving handset events like headset detect,
1389 headset switch and clamshell state.
1390
1391config MSM_RMT_STORAGE_CLIENT
1392 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1393 default n
1394 bool "Remote Storage RPC client"
1395 help
1396 Provide RPC mechanism for remote processors to access storage
1397 device on apps processor.
1398
1399config MSM_RMT_STORAGE_CLIENT_STATS
1400 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1401 default n
1402 bool "Remote storage RPC client performance statistics"
1403 help
1404 Collects performance statistics and shows this information
1405 through a debugfs file rmt_storage_stats.
1406
1407config MSM_SDIO_SMEM
1408 depends on MSM_SDIO_AL
1409 default n
1410 bool "SDIO SMEM for remote storage"
1411 help
1412 Copies data from remote MDM9K memory to local MSM8x60
1413 memory. Used by remote storage client to shadow
1414 MDM9K filesystem.
1415
1416config MSM_DALRPC
1417 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001418 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001419 help
1420 Supports RPC calls to DAL devices on remote processor cores.
1421
1422config MSM_DALRPC_TEST
1423 tristate "DAL RPC test module"
1424 depends on (MSM_DALRPC && DEBUG_FS)
1425 default m
1426 help
1427 Exercises DAL RPC calls to QDSP6.
1428
1429if CPU_FREQ_MSM
1430
1431config MSM_CPU_FREQ_SET_MIN_MAX
1432 bool "Set Min/Max CPU frequencies."
1433 default n
1434 help
1435 Allow setting min and max CPU frequencies. Sysfs can be used
1436 to override these values.
1437
1438config MSM_CPU_FREQ_MAX
1439 int "Max CPU Frequency"
1440 depends on MSM_CPU_FREQ_SET_MIN_MAX
1441 default 384000
1442
1443config MSM_CPU_FREQ_MIN
1444 int "Min CPU Frequency"
1445 depends on MSM_CPU_FREQ_SET_MIN_MAX
1446 default 245760
1447
1448endif # CPU_FREQ_MSM
1449
1450config MSM_CPU_AVS
1451 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1452 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1453 depends on ARCH_QSD8X50
1454 default n
1455 select MSM_AVS_HW
1456 help
1457 This enables the s/w control of Adaptive Voltage Scaling feature
1458 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1459 based on feedback from three ring oscillators in the CPU.
1460
1461config MSM_AVS_HW
1462 bool "Enable Adaptive Voltage Scaling (AVS)"
1463 default n
1464 help
1465 Enable AVS hardware to fine tune voltage at each frequency. The
1466 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1467 fine tune the voltages based on the feedback from the ring
1468 oscillators.
1469
1470config MSM_HW3D
1471 tristate "MSM Hardware 3D Register Driver"
1472 depends on ANDROID_PMEM
1473 default y
1474 help
1475 Provides access to registers needed by the userspace OpenGL|ES
1476 library.
1477
1478config MSM_ADSP
1479 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1480 tristate "MSM ADSP driver"
1481 depends on ANDROID_PMEM
1482 default y
1483 help
1484 Provides access to registers needed by the userspace aDSP library.
1485
1486config ADSP_RPC_VER
1487 hex
1488 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1489 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1490 depends on MSM_ADSP
1491 help
1492 Select proper ADSP RPC version
1493choice
1494 prompt "ADSP RPC version"
1495
1496 default AMSS_7X25_VERSION_2009
1497
1498 config AMSS_7X25_VERSION_2009
1499 bool "2.0.09"
1500
1501 config AMSS_7X25_VERSION_2008
1502 bool "2.0.08"
1503endchoice
1504
1505config MSM7KV2_AUDIO
1506 bool "MSM7K v2 audio"
1507 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1508 default y
1509 help
1510 Enables QDSP5V2-based audio drivers for audio playbacks and
1511 voice call.
1512
1513config MSM_ADSP_REPORT_EVENTS
1514 bool "Report modem events from the DSP"
1515 default y
1516 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1517 help
1518 Normally, only messages from the aDSP are reported to userspace.
1519 With this option, we report events from the aDSP as well.
1520
1521config MSM_QDSP6
1522 tristate "QDSP6 support"
1523 depends on ARCH_QSD8X50 && ANDROID_PMEM
1524 default y
1525 help
1526 Enable support for qdsp6. This provides audio and video functionality.
1527
1528config MSM8X60_AUDIO
1529 tristate "MSM8X60 audio support"
1530 depends on ARCH_MSM8X60 && ANDROID_PMEM
1531 default y
1532 help
1533 Enable support for qdsp6v2. This provides audio functionality.
1534
1535config MSM8X60_FTM_AUDIO_DEVICES
1536 bool "MSM8X60 audio factory test mode support"
1537 depends on MSM8X60_AUDIO
1538 help
1539 Enable support audio factory test mode devices. This is used
1540 in a production line environment.
1541
Ben Romberger45b351c2011-07-20 22:37:27 -07001542config RTAC
1543 bool "MSM8K real-time audio calibration support"
1544 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001545 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001546 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001547 audio operation
1548
1549config MSM7X27A_AUDIO
1550 bool "MSM7X27A audio support"
1551 depends on ARCH_MSM7X27A && MSM_ADSP
1552 default n
1553 help
1554 Enable support for 7x27a. This provides audio functionality.
1555
Justin Pauporea6cd2092011-06-22 16:19:45 -07001556config MSM_PROC_COMM_REGULATOR
1557 bool
1558 depends on MSM_PROC_COMM && REGULATOR
1559 help
1560 Enable regulator framework support for regulators managed by PMLIB
1561 on the modem, and controlled through proccomm calls.
1562
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001563config MSM_VREG_SWITCH_INVERTED
1564 bool "Reverse vreg switch polarity"
1565 default n
1566 help
1567 Reverses the enable and disable for vreg switch.
1568
1569config MSM_DMA_TEST
1570 tristate "MSM DMA test module"
1571 default m
1572 help
1573 Intended to be compiled as a module. Provides a device node
1574 and ioctls for testing the MSM dma system.
1575
1576config WIFI_CONTROL_FUNC
1577 bool "Enable WiFi control function abstraction"
1578 help
1579 Enables Power/Reset/Carddetect function abstraction
1580
1581config WIFI_MEM_PREALLOC
1582 depends on WIFI_CONTROL_FUNC
1583 bool "Preallocate memory for WiFi buffers"
1584 help
1585 Preallocates memory buffers for WiFi driver
1586
1587config QSD_AUDIO
1588 bool "QSD audio"
1589 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1590 default y
1591 help
1592 Provides PCM, MP3, and AAC audio playback.
1593
1594config AUDIO_AAC_PLUS
1595 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1596 bool "AAC+ Audio"
1597 default y
1598 help
1599 Provides AAC+ decoding
1600
1601config AUDIO_ENHANCED_AAC_PLUS
1602 depends on AUDIO_AAC_PLUS
1603 bool "Enhanced AAC+ Audio"
1604 default y
1605 help
1606 Provides Enhanced AAC+ decoding
1607
1608config SURF_FFA_GPIO_KEYPAD
1609 bool "MSM SURF/FFA GPIO keypad"
1610 depends on INPUT_GPIO = "y"
1611 default y
1612 help
1613 Select if the GPIO keypad is attached.
1614
1615config MSM_SLEEP_TIME_OVERRIDE
1616 bool "Allow overriding suspend/sleep time with PM module parameter"
1617 default y
1618 help
1619 Enable the module parameter sleep_time_override. Specified
1620 in units of seconds, it overwrites the normal sleep time of
1621 suspend. The feature is required for automated power management
1622 testing.
1623
1624config MSM_MEMORY_LOW_POWER_MODE
1625 bool "Control the low power modes of memory"
1626 default n
1627 help
1628 The application processor controls whether memory should enter
1629 which low power mode.
1630
1631choice
1632 prompt "Default Memory Low Power Mode during Idle"
1633 depends on MSM_MEMORY_LOW_POWER_MODE
1634 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1635 help
1636 Selects the default low power mode of the memory during idle
1637 sleep.
1638
1639 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1640 bool "Memory active"
1641
1642 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1643 bool "Memory in retention"
1644
1645 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1646 bool "Memory in deep power down"
1647endchoice
1648
1649choice
1650 prompt "Default Memory Low Power Mode during Suspend"
1651 depends on MSM_MEMORY_LOW_POWER_MODE
1652 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1653 help
1654 Selects the default low power mode of the memory during suspend
1655 sleep.
1656
1657 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1658 bool "Memory active"
1659
1660 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1661 bool "Memory in retention"
1662
1663 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1664 bool "Memory in deep power down"
1665endchoice
1666
1667choice
1668 prompt "Power management timeout action"
1669 default MSM_PM_TIMEOUT_HALT
1670 help
1671 Selects the Application Processor's action when Power Management
1672 times out waiting for Modem's handshake.
1673
1674 config MSM_PM_TIMEOUT_HALT
1675 bool "Halt the Application Processor"
1676
1677 config MSM_PM_TIMEOUT_RESET_MODEM
1678 bool "Reset the Modem Processor"
1679
1680 config MSM_PM_TIMEOUT_RESET_CHIP
1681 bool "Reset the entire chip"
1682endchoice
1683
1684config MSM_IDLE_WAIT_ON_MODEM
1685 int "Wait for Modem to become ready for idle power collapse"
1686 default 0
1687 help
1688 If Modem is not ready to handle Application Processor's request
1689 for idle power collapse, wait the number of microseconds in case
1690 Modem becomes ready soon.
1691
Matt Wagantall9274df92011-12-15 11:11:05 -08001692config MSM_RPM_REGULATOR
1693 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001694 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001695 help
1696 Compile in support for the RPM regulator driver, used for setting
1697 voltages and other parameters of the various power rails supplied
1698 by some Qualcomm PMICs.
1699
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001700config MSM_PIL
1701 bool "Peripheral image loading"
1702 select FW_LOADER
1703 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1704 default n
1705 help
1706 Some peripherals need to be loaded into memory before they can be
1707 brought out of reset.
1708
1709 Say yes to support these devices.
1710
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001711config MSM_PIL_MODEM
1712 tristate "Modem (ARM11) Boot Support"
1713 depends on MSM_PIL
1714 help
1715 Support for booting and shutting down ARM11 Modem processors.
1716
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001717config MSM_PIL_QDSP6V3
1718 tristate "QDSP6v3 (Hexagon) Boot Support"
1719 depends on MSM_PIL
1720 help
1721 Support for booting and shutting down QDSP6v3 processors (hexagon).
1722 The QDSP6 is a low power DSP used in audio software applications.
1723
Stephen Boydeb819882011-08-29 14:46:30 -07001724config MSM_PIL_QDSP6V4
1725 tristate "QDSP6v4 (Hexagon) Boot Support"
1726 depends on MSM_PIL
1727 help
1728 Support for booting and shutting down QDSP6v4 processors (hexagon).
1729 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1730 software applications.
1731
Stephen Boyd322a9922011-09-20 01:05:54 -07001732config MSM_PIL_RIVA
1733 tristate "RIVA (WCNSS) Boot Support"
1734 depends on MSM_PIL
1735 help
1736 Support for booting and shutting down the RIVA processor (WCNSS).
1737 Riva is the wireless subsystem processor used in bluetooth, wireless
1738 LAN, and FM software applications.
1739
Stephen Boydd89eebe2011-09-28 23:28:11 -07001740config MSM_PIL_TZAPPS
1741 tristate "TZApps Boot Support"
1742 depends on MSM_PIL
1743 help
1744 Support for booting and shutting down TZApps.
1745
1746 TZApps is an image that runs in the secure processor state. It is
1747 used to decrypt data and perform secure operations on the behalf of
1748 the kernel.
1749
Matt Wagantall292aace2012-01-26 19:12:34 -08001750config MSM_PIL_GSS
1751 tristate "GSS (Coretx A5) Boot Support"
1752 depends on MSM_PIL
1753 help
1754 Support for booting and shutting down Cortex A5 processors which run
1755 GPS subsystem firmware.
1756
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001757config MSM_SCM
1758 bool "Secure Channel Manager (SCM) support"
1759 default n
1760
1761config MSM_SUBSYSTEM_RESTART
1762 bool "MSM Subsystem Restart Driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001763 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001764 default n
1765 help
1766 This option enables the MSM subsystem restart driver, which provides
1767 a framework to handle subsystem crashes.
1768
Matt Wagantallf8020902011-08-30 21:19:23 -07001769config MSM_SYSMON_COMM
1770 bool "MSM System Monitor communication support"
1771 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1772 default y
1773 help
1774 This option adds support for MSM System Monitor library, which
1775 provides an API that may be used for notifying subsystems within
1776 the SoC about other subsystems' power-up/down state-changes.
1777
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001778config MSM_MODEM_8960
1779 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001780 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001781 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001782 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001783 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001784 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001785
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001786config MSM_LPASS_8960
1787 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001788 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001789 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001790 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001791 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001792 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001793
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001794config MSM_WCNSS_SSR_8960
1795 tristate "MSM 8960 WCNSS restart module"
1796 depends on (ARCH_MSM8960)
1797 help
1798 This option enables the WCNSS restart module for MSM8960, which
1799 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1800 into the subsystem restart framework.
1801
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001802config SCORPION_Uni_45nm_BUG
1803 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1804 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1805 default y
1806 help
1807 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1808 invalidating the Branch Predictor Array by Modified Virtual Address can
1809 create invalid entries in the TLB with the wrong ASID values on Scorpion
1810 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1811 workaround for Scorpion Uniprocessor 45nm cores.
1812
1813 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1814
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001815config MSM_BUSPM_DEV
1816 tristate "MSM Bus Performance Monitor Kernel Module"
1817 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1818 default m
1819 help
1820 This kernel module is used to mmap() hardware registers for the
1821 performance monitors, counters, etc. The module can also be used to
1822 allocate physical memory which is used by bus performance hardware to
1823 dump performance data.
1824
Mona Hossain11c03ac2011-10-26 12:42:10 -07001825config MSM_TZ_LOG
1826 tristate "MSM Trust Zone (TZ) Log Driver"
1827 depends on DEBUG_FS
1828 help
1829 This option enables a driver with a debugfs interface for messages
1830 produced by the Secure code (Trust zone). These messages provide
1831 diagnostic information about TZ operation.
1832
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001833config MSM_RPM_LOG
1834 tristate "MSM Resource Power Manager Log Driver"
1835 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001836 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001837 default n
1838 help
1839 This option enables a driver which can read from a circular buffer
1840 of messages produced by the RPM. These messages provide diagnostic
1841 information about RPM operation. The driver outputs the messages
1842 via a debugfs node.
1843
1844config MSM_RPM_STATS_LOG
1845 tristate "MSM Resource Power Manager Stat 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 reads RPM messages from a shared
1851 memory location. These messages provide statistical information about
1852 the low power modes that RPM enters. The drivers outputs the message
1853 via a debugfs node.
1854
1855config MSM_IOMMU
1856 bool "MSM IOMMU Support"
Joel King41d594e2011-10-14 13:18:20 -07001857 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_APQ8064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001858 select IOMMU_API
1859 default n
1860 help
1861 Support for the IOMMUs found on certain Qualcomm SOCs.
1862 These IOMMUs allow virtualization of the address space used by most
1863 cores within the multimedia subsystem.
1864
1865 If unsure, say N here.
1866
1867config IOMMU_PGTABLES_L2
1868 bool "Allow SMMU page tables in the L2 cache (Experimental)"
1869 depends on MSM_IOMMU=y
1870 depends on MMU
1871 depends on CPU_DCACHE_DISABLE=n
1872 depends on SMP
1873 default y
1874 help
1875 Improves TLB miss latency at the expense of potential L2 pollution.
1876 However, with large multimedia buffers, the TLB should mostly contain
1877 section mappings and TLB misses should be quite infrequent.
1878 Most people can probably say Y here.
1879
1880config MSM_DIRECT_SCLK_ACCESS
1881 bool "Direct access to the SCLK timer"
1882 default n
1883
1884config IOMMU_API
1885 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001886
Gregory Beanab78cde2010-09-01 16:26:12 -07001887config MSM_GPIOMUX
1888 bool
1889
Gregory Bean1963a2a2010-08-28 10:05:44 -07001890config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001891 bool
1892
1893config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07001894 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001895
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001896config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001897 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001898
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001899config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001900 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001901
Matt Wagantall88b86312012-01-31 16:53:03 -08001902config MSM_PM
1903 depends on PM
1904 bool
1905
1906config MSM_PM2
1907 depends on PM
1908 bool
1909
1910config MSM_PM8X60
1911 depends on PM
1912 bool
1913
1914config MSM_NOPM
1915 default y if !PM
1916 bool
1917
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001918config MSM_BUS_SCALING
1919 bool "Bus scaling driver"
1920 default n
1921
Gagan Mac85c70492011-06-10 16:07:47 -06001922config MSM_BUS_RPM_MULTI_TIER_ENABLED
1923 bool "RPM Multi-tiering Configuration"
1924 depends on MSM_BUS_SCALING
1925
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001926config MSM_WATCHDOG
1927 bool "MSM Watchdog Support"
Rohit Vaswani085a9332011-09-28 18:57:24 -07001928 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001929 help
1930 This enables the watchdog as is present on 8x60. Currently we use
1931 core 0's watchdog, and reset the entire SoC if it times out. It does
1932 not run during the bootup process, so it will not catch any early
1933 lockups.
1934
1935config MSM_DLOAD_MODE
1936 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07001937 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001938 default n
1939 help
1940 This makes the SoC enter download mode when it resets
1941 due to a kernel panic. Note that this doesn't by itself
1942 make the kernel reboot on a kernel panic - that must be
1943 enabled via another mechanism.
1944
Pratik Patel17f3b822011-11-21 12:41:47 -08001945config MSM_JTAG
1946 bool "JTAG debug and trace support"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001947 help
Pratik Patel17f3b822011-11-21 12:41:47 -08001948 Add additional support for JTAG kernel debugging and tracing.
Pratik Patel7831c082011-06-08 21:44:37 -07001949
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001950config MSM_ETM
1951 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08001952 depends on ARCH_MSM8X60
1953 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001954 help
Pratik Patel17f3b822011-11-21 12:41:47 -08001955 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07001956
1957config MSM_QDSS
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001958 bool "Qualcomm Debug Subsystem"
Pratik Patel17f3b822011-11-21 12:41:47 -08001959 select MSM_JTAG
Pratik Patel7831c082011-06-08 21:44:37 -07001960 help
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001961 Enables support for Qualcomm Debug Subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001962
Pratik Patel29cba152012-01-03 11:40:26 -08001963config MSM_QDSS_ETM_DEFAULT_ENABLE
1964 bool "Turn on QDSS ETM Tracing by Default"
1965 depends on MSM_QDSS
1966 help
1967 Turns on QDSS ETM tracing by default. Otherwise, tracing is
1968 disabled by default but can be enabled by other means.
1969
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001970config MSM_SLEEP_STATS
1971 bool "Enable exporting of MSM sleep stats to userspace"
1972 depends on CPU_IDLE
1973 default n
1974
Lynus Vazdde09ee2012-01-05 13:28:22 +05301975config MSM_SLEEP_STATS_DEVICE
1976 bool "Enable exporting of MSM sleep device stats to userspace"
1977
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001978config MSM_STANDALONE_POWER_COLLAPSE
1979 bool "Enable standalone power collapse"
1980 default n
1981
1982config MSM_GSBI9_UART
1983 bool "Enable GSBI9 UART device"
1984 default n
1985 help
1986 This enables GSBI9 configured into UART.
1987
1988config MSM_SHARED_GPIO_FOR_UART2DM
1989 bool "Use shared GPIOs into UART mode"
1990 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
1991 help
1992 This option configures GPIO muxed with SDC4/MMC3
1993 8-bit mode into UART mode. It is used for serial
1994 console on UART2DM. Say Y if you want to have
1995 serial console on UART2DM.
1996
1997config MSM_SHOW_RESUME_IRQ
1998 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08001999 depends on (ARM_GIC || PMIC8058)
2000 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002001 default n
2002 help
2003 This option logs wake up interrupts that have triggered just before
2004 the resume loop unrolls. Say Y if you want to debug why the system
2005 resumed.
2006
2007config BT_MSM_PINTEST
2008 tristate "MSM Bluetooth Pin Connectivity Test"
2009 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2010 default n
2011 help
2012 Bluetooth MSM Pin Connectivity test module.
2013 This driver provides support for verifying the MSM to BT pin
2014 connectivity.
2015
2016config MSM_FAKE_BATTERY
2017 depends on POWER_SUPPLY
2018 default n
2019 bool "MSM Fake Battery"
2020 help
2021 Enables MSM fake battery driver.
2022
2023config MSM_QDSP6_APR
2024 bool "Audio QDSP6 APR support"
2025 depends on MSM_SMD
2026 default n
2027 help
2028 Enable APR IPC protocol support between
2029 application processor and QDSP6. APR is
2030 used by audio driver to configure QDSP6's
2031 ASM, ADM and AFE.
2032
2033
2034config MSM_AUDIO_QDSP6
2035 bool "QDSP6 HW Audio support"
2036 select SND_SOC_MSM_QDSP6_INTF
2037 default n
2038 help
2039 Enable HW audio support in QDSP6.
2040 QDSP6 can support HW encoder & decoder and audio processing
2041
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002042config MSM_ULTRASOUND
2043 bool "MSM ultrasound support"
2044 depends on MSM_AUDIO_QDSP6
2045 help
2046 Enable support for qdsp6/ultrasound.
2047
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002048config MSM_RPC_VIBRATOR
2049 bool "RPC based MSM Vibrator Support"
2050 depends on MSM_ONCRPCROUTER
2051 help
2052 Enable the vibrator support on MSM over RPC. The vibrator
2053 is connected on the PMIC. Say Y if you want to enable this
2054 feature.
2055
2056config PM8XXX_RPC_VIBRATOR
2057 bool "RPC based Vibrator on PM8xxx PMICs"
2058 depends on MSM_RPC_VIBRATOR
2059 help
2060 Enable the vibrator support on MSM over RPC. The vibrator
2061 is connected on the PM8XXX PMIC. Say Y if you want to enable
2062 this feature.
2063
2064config MSM_SPM_V1
2065 bool "Driver support for SPM Version 1"
2066 help
2067 Enables the support for Version 1 of the SPM driver. SPM hardware is
2068 used to manage the processor power during sleep. The driver allows
2069 configuring SPM to allow different power modes.
2070
2071config MSM_SPM_V2
2072 bool "Driver support for SPM Version 2"
2073 help
2074 Enables the support for Version 2 of the SPM driver. SPM hardware is
2075 used to manage the processor power during sleep. The driver allows
2076 configuring SPM to allow different power modes.
2077
2078config MSM_L2_SPM
2079 bool "SPM support for L2 cache"
2080 depends on MSM_SPM_V2
2081 help
2082 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2083 control of L2 cache low power mode with a Subsystem Power manager.
2084 Enabling this driver allows configuring L2 SPM for low power modes
2085 on supported chipsets.
2086
Laura Abbott2d1760b2011-09-29 21:31:24 -07002087config MSM_MULTIMEDIA_USE_ION
2088 bool "Multimedia suport using Ion"
2089 depends on ION_MSM
2090 help
2091 Enable support for multimedia drivers using Ion for buffer management
2092 instead of pmem. Selecting this may also involve userspace
2093 dependencies as well.
2094
Laura Abbottad340ff2012-01-04 14:23:48 -08002095config MSM_RTB
2096 bool "Register tracing"
2097 help
2098 Add support for logging different events to a small uncached
2099 region. This is designed to aid in debugging reset cases where the
2100 caches may not be flushed before the target resets.
2101
2102config MSM_RTB_SEPARATE_CPUS
2103 bool "Separate entries for each cpu"
2104 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002105 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002106 help
2107 Under some circumstances, it may be beneficial to give dedicated space
2108 for each cpu to log accesses. Selecting this option will log each cpu
2109 separately. This will guarantee that the last acesses for each cpu
2110 will be logged but there will be fewer entries per cpu
2111
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002112config MSM_CACHE_ERP
2113 bool "Cache / CPU error reporting"
2114 depends on ARCH_MSM_KRAIT
2115 help
2116 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2117 log. Enabling this feature can be used as a system debugging technique
2118 if cache corruption is suspected. Cache error statistics will also be
2119 reported in /proc/cpu/msm_cache_erp.
2120
2121 For production builds, you should probably say 'N' here.
2122
2123config MSM_L1_ERR_PANIC
2124 bool "Panic on L1 cache / TLB errors"
2125 depends on MSM_CACHE_ERP
2126 help
2127 To cause the kernel to panic whenever an L1 cache or TLB error is
2128 detected, say 'Y' here. This may be useful as a debugging technique if
2129 general system instability is suspected.
2130
2131 For production builds, you should probably say 'N' here.
2132
2133
2134config MSM_L2_ERP_PORT_PANIC
2135 bool "Panic on L2 master port errors"
2136 depends on MSM_CACHE_ERP
2137 help
2138 Master port errors can occur when a memory request is not properly
2139 handled by the destination slave. Enable this option to catch drivers
2140 which attempt to access bad areas of the address space, or access
2141 hardware registers in an improper state (such as certain clocks not
2142 being on). This option may help with debugging, though production
2143 builds should probably say 'N' here.
2144
2145config MSM_L2_ERP_1BIT_PANIC
2146 bool "Panic on recoverable L2 soft errors"
2147 depends on MSM_CACHE_ERP
2148 help
2149 Enable this option to cause a kernel panic whenever the L2 cache
2150 encounters a single-bit (correctable) soft error. This option should
2151 only be enabled when doing low-level debugging where cache corruption
2152 is suspected.
2153
2154 For production builds, you should definitely say 'N' here.
2155
2156config MSM_L2_ERP_2BIT_PANIC
2157 bool "Panic on unrecoverable 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 double-bit (non-correctable) soft error. Debug builds
2162 will likely benefit from having this option enabled to catch cache
2163 problems as soon as possible.
2164
2165 For production builds, it may be acceptable to say 'N' here, since
2166 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002167
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002168config MSM_DCVS
2169 bool "Use MSM DCVS for CPU/GPU Frequency control"
2170 depends on MSM_SCM
2171 help
2172 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2173 The DCVS manager allows idle driver to feed the idle information to the
2174 algorithm and the algorithm returns a frequency for the core which is
2175 passed to the frequency change driver.
2176
Brian Swetland9e73c842007-11-26 04:12:13 -08002177endif