blob: 20a5449217a178d05589b968684c195d2967d25d [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
157 select MEMORY_HOTPLUG
158 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -0800159 select ARCH_ENABLE_MEMORY_HOTPLUG
160 select ARCH_ENABLE_MEMORY_HOTREMOVE
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700161 select MIGRATION
162 select ARCH_MEMORY_PROBE
163 select ARCH_MEMORY_REMOVE
Larry Bassel4dc15912011-10-14 11:01:43 -0700164 select FIX_MOVABLE_ZONE
Larry Basseld4d82c92011-12-07 09:52:49 -0800165 select CLEANCACHE
166 select QCACHE
Laura Abbott6d61a912011-10-27 16:44:14 -0700167 select MSM_MULTIMEDIA_USE_ION
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530168 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800169 select MSM_PM8X60 if PM
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700170
171config ARCH_MSM8930
172 bool "MSM8930"
173 select ARCH_MSM_KRAITMP
174 select ARM_GIC
175 select CPU_V7
176 select MSM_V2_TLMM
177 select MSM_GPIOMUX
178 select MSM_SCM if SMP
179 select MSM_DIRECT_SCLK_ACCESS
180 select REGULATOR
David Collins5779cea2012-01-05 15:09:21 -0800181 select MSM_RPM_REGULATOR
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700182 select MSM_RPM
183 select MSM_XO
184 select MSM_QDSP6_APR
185 select MSM_PIL
186 select MSM_AUDIO_QDSP6 if SND_SOC
187 select CPU_HAS_L2_PMU
188 select MSM_SPM_V2
189 select MSM_L2_SPM
190 select MSM_NATIVE_RESTART
191 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600192 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700193 select ARCH_POPULATES_NODE_MAP
194 select ARCH_SPARSEMEM_ENABLE
195 select ARCH_HAS_HOLES_MEMORYMODEL
196 select MEMORY_HOTPLUG
197 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -0800198 select ARCH_ENABLE_MEMORY_HOTPLUG
199 select ARCH_ENABLE_MEMORY_HOTREMOVE
Larry Basself74479e2011-09-08 11:07:52 -0700200 select MIGRATION
201 select ARCH_MEMORY_PROBE
202 select ARCH_MEMORY_REMOVE
Larry Bassel4dc15912011-10-14 11:01:43 -0700203 select FIX_MOVABLE_ZONE
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +0200204 select MSM_ULTRASOUND
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530205 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800206 select MSM_PM8X60 if PM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700207
208config ARCH_APQ8064
209 bool "APQ8064"
210 select ARCH_MSM_KRAITMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700211 select MSM_V2_TLMM
212 select ARM_GIC
213 select CPU_V7
214 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700215 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600216 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800217 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800218 select MSM_QDSP6_APR
219 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530220 select MULTI_IRQ_HANDLER
Praveen Chidambaram78499012011-11-01 17:15:17 -0600221 select MSM_RPM
222 select MSM_SPM_V2
223 select MSM_L2_SPM
Matt Wagantall88b86312012-01-31 16:53:03 -0800224 select MSM_PM8X60 if PM
Neil Leeder814d3d32012-01-19 17:21:43 -0500225 select CPU_HAS_L2_PMU
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700226
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700227config ARCH_MSMCOPPER
228 bool "MSM Copper"
229 select ARCH_MSM_KRAITMP
230 select MSM_V2_TLMM
231 select ARM_GIC
232 select CPU_V7
233 select MSM_SCM if SMP
234 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530235 select MULTI_IRQ_HANDLER
Olav Hauganb800c8c2012-01-30 08:50:45 -0800236 select MSM_MULTIMEDIA_USE_ION
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700237
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700238config ARCH_FSM9XXX
239 bool "FSM9XXX"
240 select ARCH_MSM_SCORPION
241 select MSM_VIC
242 select CPU_V7
243 select MSM_REMOTE_SPINLOCK_LDREX
244 select FSM9XXX_TLMM
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530245 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800246 select MSM_DALRPC
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800247
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700248config ARCH_MSM9615
249 bool "MSM9615"
250 select ARM_GIC
251 select ARCH_MSM_CORTEX_A5
252 select CPU_V7
253 select MSM_V2_TLMM
254 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600255 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600256 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700257 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800258 select REGULATOR
259 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530260 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800261 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800262 select MSM_XO
Matt Wagantall9274df92011-12-15 11:11:05 -0800263
Taniya Das43bcdd62011-12-02 17:33:27 +0530264config ARCH_MSM8625
265 bool "MSM8625"
266 select ARCH_MSM_CORTEX_A5
267 select CPU_V7
268 select MSM_GPIOMUX
269 select ARM_GIC
270 select ARCH_MSM_CORTEXMP
271 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530272 select ARM_TICKET_LOCKS
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700273endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700274
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700275choice
276 prompt "MSM SoC Revision"
277 default MSM_SOC_REV_NONE
278config MSM_SOC_REV_NONE
279 bool "N/A"
280 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
281 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walker4ad15e62010-05-06 13:54:17 -0700282config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700283 bool "Rev. A"
284 select ARCH_MSM7X27A if ARCH_MSM7X27
285endchoice
Daniel Walker4ad15e62010-05-06 13:54:17 -0700286
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700287config MSM_KRAIT_TBB_ABORT_HANDLER
288 bool "Krait TBB/TBH data abort handler"
289 depends on ARCH_MSM_KRAIT
290 depends on ARM_THUMB
291 help
292 Certain early samples of the Krait processor may generate data
293 aborts for TBB / TBH instructions that fail their condition code
294 checks. Enabling this option will ignore these erroneous data aborts,
295 at the expense of a very small performance penalty.
296
297 If unsure, say N.
298
Daniel Walker4ad15e62010-05-06 13:54:17 -0700299config ARCH_MSM_ARM11
300 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700301
Daniel Walker4ad15e62010-05-06 13:54:17 -0700302config ARCH_MSM_SCORPION
Daniel Walkerbf83de42010-03-16 16:29:44 -0700303 bool
304
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700305config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700306 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800307 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700308
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700309config MSM_SMP
310 bool
311
312config ARCH_MSM_SCORPIONMP
313 select ARCH_MSM_SCORPION
314 select MSM_SMP
315 bool
316
317config ARCH_MSM_KRAITMP
318 select ARCH_MSM_KRAIT
319 select MSM_SMP
320 bool
321
Taniya Das43bcdd62011-12-02 17:33:27 +0530322config ARCH_MSM_CORTEXMP
323 select MSM_SMP
324 bool
325
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700326config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800327 bool
Rohit Vaswaniaf7ae272012-01-09 10:28:57 -0800328 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700329
330config ARCH_MSM7X27A
331 bool
332 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700333 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530334 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530335 select ARM_GIC
336 select ARCH_MSM_CORTEXMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700337
Gregory Beanf9f3d312010-04-30 22:06:50 -0700338config MSM_VIC
339 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700340
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700341config MSM_RPM
342 bool "Resource Power Manager"
343 select MSM_MPM
344
345config MSM_MPM
346 bool "Modem Power Manager"
347
348config MSM_XO
349 bool
350
351config MSM_REMOTE_SPINLOCK_DEKKERS
352 bool
353config MSM_REMOTE_SPINLOCK_SWP
354 bool
355config MSM_REMOTE_SPINLOCK_LDREX
356 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600357config MSM_REMOTE_SPINLOCK_SFPB
358 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700359config MSM_ADM3
360 bool
361
362menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700363
364config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700365 depends on ARCH_MSM7X01A
366 depends on MSM_STACKED_MEMORY
367 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700368 bool "Halibut Board (QCT SURF7201A)"
369 help
370 Support for the Qualcomm SURF7201A eval board.
371
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700372config MACH_MSM7201A_SURF
373 depends on ARCH_MSM7X01A
374 depends on MSM_STACKED_MEMORY
375 default y
376 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700377 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700378 Support for the Qualcomm MSM7201A SURF eval board.
379
380config MACH_MSM7201A_FFA
381 depends on ARCH_MSM7X01A
382 depends on MSM_STACKED_MEMORY
383 default y
384 bool "MSM7201A FFA"
385 help
386 Support for the Qualcomm MSM7201A FFA eval board.
387
388config MACH_TROUT
389 depends on ARCH_MSM7X01A
390 depends on MSM_STACKED_MEMORY
391 default y
392 bool "Trout"
393
394config MACH_MSM7X27_SURF
395 depends on ARCH_MSM7X27
396 depends on !MSM_STACKED_MEMORY
397 default y
398 bool "MSM7x27 SURF"
399 help
400 Support for the Qualcomm MSM7x27 SURF eval board.
401
402config MACH_MSM7X27_FFA
403 depends on ARCH_MSM7X27
404 depends on !MSM_STACKED_MEMORY
405 default y
406 bool "MSM7x27 FFA"
407 help
408 Support for the Qualcomm MSM7x27 FFA eval board.
409
410config MACH_MSM7X27A_RUMI3
411 depends on ARCH_MSM7X27A
412 depends on !MSM_STACKED_MEMORY
413 default y
414 bool "MSM7x27A RUMI3"
415 help
416 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
417
418config MACH_MSM7X27A_SURF
419 depends on ARCH_MSM7X27A
420 depends on !MSM_STACKED_MEMORY
421 default y
422 bool "MSM7x27A SURF"
423 help
424 Support for the Qualcomm MSM7x27A SURF.
425
426config MACH_MSM7X27A_FFA
427 depends on ARCH_MSM7X27A
428 depends on !MSM_STACKED_MEMORY
429 default y
430 bool "MSM7x27A FFA"
431 help
432 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700433
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530434config MACH_MSM7625A_SURF
435 depends on ARCH_MSM7X27A
436 depends on !MSM_STACKED_MEMORY
437 default y
438 bool "MSM7625A SURF"
439 help
440 Support for the Qualcomm MSM7625A SURF.
441
442config MACH_MSM7625A_FFA
443 depends on ARCH_MSM7X27A
444 depends on !MSM_STACKED_MEMORY
445 default y
446 bool "MSM7625A FFA"
447 help
448 Support for the Qualcomm MSM7625A FFA.
449
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530450config MACH_MSM7627A_QRD1
451 depends on ARCH_MSM7X27A
452 depends on !MSM_STACKED_MEMORY
453 default y
454 bool "MSM7627A QRD1"
455 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530456 Support for the Qualcomm MSM7627A Reference Design.
457
458config MACH_MSM7627A_QRD3
459 depends on ARCH_MSM7X27A
460 depends on !MSM_STACKED_MEMORY
461 default y
462 bool "MSM7627A QRD3"
463 help
464 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530465
Taniya Dasc868a2e2012-01-03 10:18:47 +0530466config MACH_MSM7627A_EVB
467 depends on ARCH_MSM7X27A
468 depends on !MSM_STACKED_MEMORY
469 default y
470 bool "MSM7627A EVB"
471 help
472 Support for the Qualcomm MSM7627A Reference Design.
473
Taniya Das43bcdd62011-12-02 17:33:27 +0530474config MACH_MSM8625_RUMI3
475 depends on ARCH_MSM8625
476 depends on !MSM_STACKED_MEMORY
477 default y
478 bool "MSM8625 RUMI3"
479 help
480 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
481
Taniya Dase3027e22012-02-27 16:32:27 +0530482config MACH_MSM8625_SURF
483 depends on ARCH_MSM8625
484 depends on !MSM_STACKED_MEMORY
485 default y
486 bool "MSM8625 SURF"
487 help
488 Support for the Qualcomm MSM8625 SURF.
489
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530490config MACH_MSM8625_EVB
491 depends on ARCH_MSM8625
492 depends on !MSM_STACKED_MEMORY
493 default y
494 bool "MSM8625 EVB"
495 help
496 Support for the Qualcomm MSM8625 Reference Design.
497
Daniel Walker7b521612010-05-06 12:44:57 -0700498config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700499 depends on ARCH_MSM7X30
500 depends on !MSM_STACKED_MEMORY
501 default y
502 bool "MSM7x30 SURF"
503 help
504 Support for the Qualcomm MSM7x30 SURF eval board.
505
506config MACH_MSM7X30_FFA
507 depends on ARCH_MSM7X30
508 depends on !MSM_STACKED_MEMORY
509 default y
510 bool "MSM7x30 FFA"
511 help
512 Support for the Qualcomm MSM7x30 FFA eval board.
513
514config MACH_MSM7X30_FLUID
515 depends on ARCH_MSM7X30
516 depends on !MSM_STACKED_MEMORY
517 default y
518 bool "MSM7x30 FLUID"
519 help
520 Support for the Qualcomm MSM7x30 FLUID eval board.
521
522config MACH_SAPPHIRE
523 depends on ARCH_MSM7X01A
524 default n
525 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700526
Daniel Walker4ad15e62010-05-06 13:54:17 -0700527config MACH_QSD8X50_SURF
528 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700529 depends on MSM_SOC_REV_NONE
530 depends on MSM_STACKED_MEMORY
531 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700532 bool "QSD8x50 SURF"
533 help
534 Support for the Qualcomm QSD8x50 SURF eval board.
535
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700536config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700537 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700538 depends on MSM_SOC_REV_NONE
539 depends on MSM_STACKED_MEMORY
540 default y
541 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700542 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700543 Support for the Qualcomm QSD8x50 FFA eval board.
544
545config MACH_MSM7X25_SURF
546 depends on ARCH_MSM7X25
547 depends on !MSM_STACKED_MEMORY
548 default y
549 bool "MSM7x25 SURF"
550 help
551 Support for the Qualcomm MSM7x25 SURF eval board.
552
553config MACH_MSM7X25_FFA
554 depends on ARCH_MSM7X25
555 depends on !MSM_STACKED_MEMORY
556 default y
557 bool "MSM7x25 FFA"
558 help
559 Support for the Qualcomm MSM7x25 FFA eval board.
560
561config MACH_MSM8X55_SURF
562 depends on ARCH_MSM7X30
563 depends on !MSM_STACKED_MEMORY
564 default y
565 bool "MSM8X55 SURF"
566 help
567 Support for the Qualcomm MSM8x55 SURF eval board.
568
569config MACH_MSM8X55_FFA
570 depends on ARCH_MSM7X30
571 depends on !MSM_STACKED_MEMORY
572 default y
573 bool "MSM8X55 FFA"
574 help
575 Support for the Qualcomm MSM8x55 FFA eval board.
576
577config MACH_MSM8X55_SVLTE_FFA
578 depends on ARCH_MSM7X30
579 depends on !MSM_STACKED_MEMORY
580 default y
581 bool "MSM8X55 SVLTE FFA"
582 help
583 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
584
585config MACH_MSM8X55_SVLTE_SURF
586 depends on ARCH_MSM7X30
587 depends on !MSM_STACKED_MEMORY
588 default y
589 bool "MSM8X55 SVLTE SURF"
590 help
591 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700592
Steve Mucklea55df6e2010-01-07 12:43:24 -0800593config MACH_MSM8X60_RUMI3
594 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700595 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800596 bool "MSM8x60 RUMI3"
597 help
598 Support for the Qualcomm MSM8x60 RUMI3 emulator.
599
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800600config MACH_MSM8X60_SIM
601 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700602 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800603 bool "MSM8x60 Simulator"
604 help
605 Support for the Qualcomm MSM8x60 simulator.
606
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700607config MACH_MSM8X60_SURF
608 depends on ARCH_MSM8X60
609 default n
610 bool "MSM8x60 SURF"
611 help
612 Support for the Qualcomm MSM8x60 SURF eval board.
613
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700614config MACH_MSM8X60_FFA
615 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700616 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700617 bool "MSM8x60 FFA"
618 help
619 Support for the Qualcomm MSM8x60 FFA eval board.
620
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700621config MACH_MSM8X60_FLUID
622 depends on ARCH_MSM8X60
623 default n
624 bool "MSM8x60 FLUID"
625 help
626 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
627 8x60 target which has a form factor that is much closer to that
628 of a phone than other targets. It also has a new display and
629 touchscreen controller.
630
631config MACH_MSM8X60_FUSION
632 depends on ARCH_MSM8X60
633 default n
634 bool "MSM8x60 FUSION"
635 help
636 Support for the Qualcomm MSM8x60 Fusion SURF device.
637
638config MACH_MSM8X60_FUSN_FFA
639 depends on ARCH_MSM8X60
640 default n
641 bool "MSM8x60 FUSN FFA"
642 help
643 Support for the Qualcomm MSM8x60 Fusion FFA device.
644
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400645config MACH_MSM8X60_DRAGON
646 depends on ARCH_MSM8X60
647 default n
648 bool "MSM8x60 DRAGON"
649 help
650 Support for the Qualcomm MSM8x60 Dragon board.
651
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800652config MACH_MSM8960_SIM
653 depends on ARCH_MSM8960
654 bool "MSM8960 Simulator"
655 help
656 Support for the Qualcomm MSM8960 simulator.
657
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800658config MACH_MSM8960_RUMI3
659 depends on ARCH_MSM8960
660 bool "MSM8960 RUMI3"
661 help
662 Support for the Qualcomm MSM8960 RUMI3 emulator.
663
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700664config MACH_MSM8960_CDP
665 depends on ARCH_MSM8960
666 bool "MSM8960 CDP"
667 help
668 Support for the Qualcomm MSM8960 CDP device.
669
670config MACH_MSM8960_MTP
671 depends on ARCH_MSM8960
672 bool "MSM8960 MTP"
673 help
674 Support for the Qualcomm MSM8960 MTP device.
675
676config MACH_MSM8960_FLUID
677 depends on ARCH_MSM8960
678 bool "MSM8960 FLUID"
679 help
680 Support for the Qualcomm MSM8960 FLUID device.
681
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300682config MACH_MSM8960_LIQUID
683 depends on ARCH_MSM8960
684 bool "MSM8960 LIQUID"
685 help
686 Support for the Qualcomm MSM8960 LIQUID device.
687
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700688config MACH_MSM8930_CDP
689 depends on ARCH_MSM8930
690 bool "MSM8930 CDP"
691 help
692 Support for the Qualcomm MSM8930 CDP device.
693
694config MACH_MSM8930_MTP
695 depends on ARCH_MSM8930
696 bool "MSM8930 MTP"
697 help
698 Support for the Qualcomm MSM8930 MTP device.
699
700config MACH_MSM8930_FLUID
701 depends on ARCH_MSM8930
702 bool "MSM8930 FLUID"
703 help
704 Support for the Qualcomm MSM8930 FLUID device.
705
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800706config MACH_MSM8627_CDP
707 depends on ARCH_MSM8930
708 bool "MSM8627 CDP"
709 help
710 Support for the Qualcomm MSM8627 CDP device.
711
712config MACH_MSM8627_MTP
713 depends on ARCH_MSM8930
714 bool "MSM8627 MTP"
715 help
716 Support for the Qualcomm MSM8627 MTP device.
717
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700718config MACH_MSM9615_CDP
719 depends on ARCH_MSM9615
720 bool "MSM9615 CDP"
721 help
722 Support for the Qualcomm MSM9615 CDP device.
723
724config MACH_MSM9615_MTP
725 depends on ARCH_MSM9615
726 bool "MSM9615 MTP"
727 help
728 Support for the Qualcomm MSM9615 MTP device.
729
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700730config MSM_USE_TSIF1
731 depends on ARCH_MSM8X60
732 bool "MSM8x60 use TSIF1"
733 help
734 Selects TSIF1 core to be used rather than TSIF0.
735 The two TSIF cores share the same DM configuration
736 so they cannot be used simultaneously.
737
738config MACH_APQ8064_SIM
739 depends on ARCH_APQ8064
740 bool "APQ8064 Simulator"
741 help
742 Support for the Qualcomm APQ8064 simulator.
743
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700744config MACH_APQ8064_RUMI3
745 depends on ARCH_APQ8064
746 bool "APQ8064 RUMI3"
747 help
748 Support for the Qualcomm APQ8064 RUMI3 emulator.
749
Joel King82b7e3f2012-01-05 10:03:27 -0800750config MACH_APQ8064_CDP
751 depends on ARCH_APQ8064
752 bool "APQ8064 CDP"
753 help
754 Support for the Qualcomm APQ8064 CDP device.
755
756config MACH_APQ8064_MTP
757 depends on ARCH_APQ8064
758 bool "APQ8064 MTP"
759 help
760 Support for the Qualcomm APQ8064 MTP device.
761
762config MACH_APQ8064_LIQUID
763 depends on ARCH_APQ8064
764 bool "APQ8064 LIQUID"
765 help
766 Support for the Qualcomm APQ8064 LIQUID device.
767
Joel King11ca8202012-02-13 16:19:03 -0800768config MACH_MPQ8064_HRD
769 depends on ARCH_APQ8064
770 bool "MPQ8064 HRD"
771 help
772 Support for the Qualcomm MPQ8064 HRD device.
773
774config MACH_MPQ8064_DTV
775 depends on ARCH_APQ8064
776 bool "MPQ8064 DTV"
777 help
778 Support for the Qualcomm MPQ8064 DTV device.
779
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700780config MACH_FSM9XXX_SURF
781 depends on ARCH_FSM9XXX
782 depends on !MSM_STACKED_MEMORY
783 default y
784 bool "FSM9XXX SURF"
785 help
786 Support for the Qualcomm FSM9xxx femtocell
787 chipset based SURF evaluation board and
788 FFA board.
789
Daniel Walker4ad15e62010-05-06 13:54:17 -0700790endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800791
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700792config MSM_STACKED_MEMORY
793 bool "Stacked Memory"
794 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800795 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700796 This option is used to indicate the presence of on-die stacked
797 memory. When present this memory bank is used for a high speed
798 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800799
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700800config PHYS_OFFSET
801 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700802 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700803 default "0x80200000" if ARCH_APQ8064
804 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700805 default "0x80200000" if ARCH_MSM8930
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700806 default "0x80200000" if ARCH_MSMCOPPER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700807 default "0x10000000" if ARCH_FSM9XXX
808 default "0x00200000" if !MSM_STACKED_MEMORY
809 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
810 default "0x20000000" if ARCH_QSD8X50
811 default "0x40200000" if ARCH_MSM8X60
812 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800813
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700814config KERNEL_PMEM_EBI_REGION
815 bool "Enable in-kernel PMEM region for EBI"
816 default y if ARCH_MSM8X60
Olav Hauganb800c8c2012-01-30 08:50:45 -0800817 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSMCOPPER)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700818 help
819 Enable the in-kernel PMEM allocator to use EBI memory.
820
821config KERNEL_PMEM_SMI_REGION
822 bool "Enable in-kernel PMEM region for SMI"
823 default y if ARCH_MSM8X60
824 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
825 help
826 Enable the in-kernel PMEM allocator to use SMI memory.
827
828config PMEM_GPU0
829 bool "Enable PMEM GPU0 region"
830 default y
831 depends on ARCH_QSD8X50 && ANDROID_PMEM
832 help
833 Enable the PMEM GPU0 device on SMI Memory.
834
835config MSM_AMSS_VERSION
836 int
837 default 6210 if MSM_AMSS_VERSION_6210
838 default 6220 if MSM_AMSS_VERSION_6220
839 default 6225 if MSM_AMSS_VERSION_6225
840
841choice
842 prompt "AMSS modem firmware version"
843
844 default MSM_AMSS_VERSION_6225
845
846 config MSM_AMSS_VERSION_6210
847 bool "6.2.10"
848
849 config MSM_AMSS_VERSION_6220
850 bool "6.2.20"
851
852 config MSM_AMSS_VERSION_6225
853 bool "6.2.20 + New ADSP"
854endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800855
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700856config MSM_HAS_DEBUG_UART_HS
857 bool
858 help
859 Say Y here if high speed MSM UART is present.
860
861config MSM_HAS_DEBUG_UART_HS_V14
862 bool
863 select MSM_HAS_DEBUG_UART_HS
864 help
865 Say Y here if high speed MSM UART v1.4 is present.
866
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800867config DEBUG_MSM8930_UART
868 bool "Kernel low-level debugging messages via MSM 8930 UART"
869 depends on ARCH_MSM8930 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700870 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800871 help
872 Say Y here if you want the debug print routines to direct
873 their output to the serial port on MSM 8930 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100874
875choice
876 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800877 depends on DEBUG_LL
Pavel Machek6339f662009-11-02 11:48:29 +0100878
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800879 config DEBUG_MSM_UART1
880 bool "Kernel low-level debugging messages via MSM UART1"
881 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
882 help
883 Say Y here if you want the debug print routines to direct
884 their output to the first serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100885
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800886 config DEBUG_MSM_UART2
887 bool "Kernel low-level debugging messages via MSM UART2"
888 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
889 help
890 Say Y here if you want the debug print routines to direct
891 their output to the second serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100892
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800893 config DEBUG_MSM_UART3
894 bool "Kernel low-level debugging messages via MSM UART3"
895 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
896 help
897 Say Y here if you want the debug print routines to direct
898 their output to the third serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100899
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800900 config DEBUG_MSM8660_UART
901 bool "Kernel low-level debugging messages via MSM 8660 UART"
902 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700903 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800904 help
905 Say Y here if you want the debug print routines to direct
906 their output to the serial port on MSM 8660 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100907
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800908 config DEBUG_MSM8960_UART
909 bool "Kernel low-level debugging messages via MSM 8960 UART"
910 depends on ARCH_MSM8960
911 select DEBUG_MSM8930_UART
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700912 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800913 help
914 Say Y here if you want the debug print routines to direct
915 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700916
917 config DEBUG_MSMCOPPER_UART
918 bool "Kernel low-level debugging messages via MSM Copper UART"
919 depends on ARCH_MSMCOPPER
920 select MSM_HAS_DEBUG_UART_HS_V14
921 help
922 Say Y here if you want the debug print routines to direct
923 their output to the serial port on MSM Copper devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100924endchoice
925
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700926choice
927 prompt "Default Timer"
928 default MSM7X00A_USE_GP_TIMER
929
930 config MSM7X00A_USE_GP_TIMER
931 bool "GP Timer"
932 help
933 Low resolution timer that allows power collapse from idle.
934
935 config MSM7X00A_USE_DG_TIMER
936 bool "DG Timer"
937 help
938 High resolution timer.
939endchoice
940
941choice
942 prompt "Suspend sleep mode"
943 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
944 help
945 Allows overriding the sleep mode used. Leave at power
946 collapse suspend unless the arm9 image has problems.
947
948 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
949 bool "Power collapse suspend"
950 help
951 Lowest sleep state. Returns through reset vector.
952
953 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
954 bool "Power collapse"
955 help
956 Sleep state that returns through reset vector.
957
958 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
959 bool "Apps Sleep"
960
961 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
962 bool "Ramp down cpu clock and wait for interrupt"
963
964 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
965 bool "Wait for interrupt"
966endchoice
967
968config MSM7X00A_SLEEP_MODE
969 int
970 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
971 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
972 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
973 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
974 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
975
976choice
977 prompt "Idle sleep mode"
978 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
979 help
980 Allows overriding the sleep mode used from idle. Leave at power
981 collapse suspend unless the arm9 image has problems.
982
983 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
984 bool "Power collapse suspend"
985 help
986 Lowest sleep state. Returns through reset vector.
987
988 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
989 bool "Power collapse"
990 help
991 Sleep state that returns through reset vector.
992
993 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
994 bool "Apps Sleep"
995
996 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
997 bool "Ramp down cpu clock and wait for interrupt"
998
999 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1000 bool "Wait for interrupt"
1001endchoice
1002
1003config MSM7X00A_IDLE_SLEEP_MODE
1004 int
1005 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1006 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1007 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1008 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1009 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1010
1011config MSM7X00A_IDLE_SLEEP_MIN_TIME
1012 int "Minimum idle time before sleep"
1013 default 20000000
1014 help
1015 Minimum idle time in nanoseconds before entering low power mode.
1016
1017config MSM7X00A_IDLE_SPIN_TIME
1018 int "Idle spin time before cpu ramp down"
1019 default 80000
1020 help
1021 Spin time in nanoseconds before ramping down cpu clock and entering
1022 any low power state.
1023
1024menuconfig MSM_IDLE_STATS
1025 bool "Collect idle statistics"
1026 default y
1027 help
1028 Collect idle statistics and export them in proc/msm_pm_stats.
1029
1030if MSM_IDLE_STATS
1031
1032config MSM_IDLE_STATS_FIRST_BUCKET
1033 int "First bucket time"
1034 default 62500
1035 help
1036 Upper time limit in nanoseconds of first bucket.
1037
1038config MSM_IDLE_STATS_BUCKET_SHIFT
1039 int "Bucket shift"
1040 default 2
1041
1042config MSM_IDLE_STATS_BUCKET_COUNT
1043 int "Bucket count"
1044 default 10
1045
1046config MSM_SUSPEND_STATS_FIRST_BUCKET
1047 int "First bucket time for suspend"
1048 default 1000000000
1049 help
1050 Upper time limit in nanoseconds of first bucket of the
1051 histogram. This is for collecting statistics on suspend.
1052
1053endif # MSM_IDLE_STATS
1054
1055config CPU_HAS_L2_PMU
1056 bool "L2CC PMU Support"
1057 help
1058 Select this if the L2 cache controller has a Performance Monitoring Unit.
1059
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001060config HTC_HEADSET
1061 tristate "HTC 2 Wire detection driver"
1062 default n
1063 help
1064 Provides support for detecting HTC 2 wire devices, such as wired
1065 headset, on the trout platform. Can be used with the msm serial
1066 debugger, but not with serial console.
1067
1068config TROUT_BATTCHG
1069 depends on MACH_TROUT && POWER_SUPPLY
1070 default y
1071 bool "Trout battery / charger driver"
1072
1073config HTC_PWRSINK
1074 depends on MSM_SMD
1075 default n
1076 bool "HTC Power Sink Driver"
1077
1078config QSD_SVS
1079 bool "QSD Static Voltage Scaling"
1080 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1081 default y
1082 select TPS65023
1083 help
1084 Enables static voltage scaling using the TPS65023 PMIC.
1085
1086config QSD_PMIC_DEFAULT_DCDC1
1087 int "PMIC default output voltage"
1088 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1089 default 1250
1090 help
1091 This is the PMIC voltage at Linux kernel boot.
1092
1093config MSM_FIQ_SUPPORT
1094 default y
1095 bool "Enable installation of an FIQ handler."
1096
1097config MSM_SERIAL_DEBUGGER
1098 select MSM_FIQ_SUPPORT
1099 select KERNEL_DEBUGGER_CORE
1100 default n
1101 bool "FIQ Mode Serial Debugger"
1102 help
1103 The FIQ serial debugger can accept commands even when the
1104 kernel is unresponsive due to being stuck with interrupts
1105 disabled. Depends on the kernel debugger core in drivers/misc.
1106
1107config MSM_SERIAL_DEBUGGER_CONSOLE
1108 depends on MSM_SERIAL_DEBUGGER
1109 default n
1110 bool "Console on FIQ Serial Debugger port"
1111 help
1112 Enables a console so that printk messages are displayed on
1113 the debugger serial port as the occur.
Daniel Walkerbf83de42010-03-16 16:29:44 -07001114
Steve Mucklec8aabae2010-04-21 16:20:27 -07001115config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001116 default y
1117 bool "Proc-Comm RPC Interface"
1118 help
1119 Enables a lightweight communications interface to the
1120 baseband processor.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001121
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001122config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001123 bool "MSM Shared Memory Driver (SMD)"
1124 help
1125 Support for the shared memory interface between the apps
1126 processor and the baseband processor. Provides access to
1127 the "shared heap", as well as virtual serial channels
1128 used to communicate with various services on the baseband
1129 processor.
1130
1131choice
1132 prompt "MSM Shared memory interface version"
1133 depends on MSM_SMD
1134 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1135 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1136
1137 config MSM_SMD_PKG3
1138 bool
1139 prompt "Package 3"
1140
1141 config MSM_SMD_PKG4
1142 bool
1143 prompt "Package 4"
1144endchoice
1145
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001146config MSM_RPC_SDIO_XPRT
1147 depends on MSM_SDIO_AL
1148 default y
1149 bool "MSM SDIO XPRT Layer"
1150 help
1151 SDIO Transport Layer for RPC Rouer
1152
1153config MSM_RPC_SDIO_DEBUG
1154 depends on MSM_RPC_SDIO_XPRT
1155 default y
1156 bool "MSM SDIO XPRT debug support"
1157 help
1158 Support for debugging SDIO XPRT
1159
1160config MSM_SMD_DEBUG
1161 depends on MSM_SMD
1162 default y
1163 bool "MSM SMD debug support"
1164 help
1165 Support for debugging the SMD for communication
1166 between the ARM9 and ARM11
1167
1168config MSM_SDIO_AL
1169 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1170 default y
1171 tristate "SDIO-Abstraction-Layer"
1172 help
1173 Support MSM<->MDM Communication over SDIO bus.
1174 MDM SDIO-Client should have pipes support.
1175
1176config MSM_SDIO_DMUX
1177 bool "SDIO Data Mux Driver"
1178 depends on MSM_SDIO_AL
1179 default n
1180 help
1181 Support Muxed Data Channels over SDIO interface.
1182
1183config MSM_BAM_DMUX
1184 bool "BAM Data Mux Driver"
1185 depends on SPS
1186 default n
1187 help
1188 Support Muxed Data Channels over BAM interface.
1189 BAM has a limited number of pipes. This driver
1190 provides a means to support more logical channels
1191 via muxing than BAM could without muxing.
1192
1193config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001194 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001195 default y
1196 bool "MSM N-WAY SMD support"
1197 help
1198 Supports APPS-QDSP SMD communication along with
1199 normal APPS-MODEM SMD communication.
1200
1201config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001202 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001203 default y
1204 bool "MSM N-WAY SMSM support"
1205 help
1206 Supports APPS-QDSP SMSM communication along with
1207 normal APPS-MODEM SMSM communication.
1208
1209config MSM_RESET_MODEM
1210 tristate "Reset Modem Driver"
1211 depends on MSM_SMD
1212 default m
1213 help
1214 Allows the user to reset the modem through a device node.
1215
1216config MSM_SMD_LOGGING
1217 depends on MSM_SMD
1218 default y
1219 bool "MSM Shared Memory Logger"
1220 help
1221 This option exposes the shared memory logger at /dev/smem_log
1222 and a debugfs node named smem_log.
1223
1224 If in doubt, say yes.
1225
1226config MSM_SMD_NMEA
1227 bool "NMEA GPS Driver"
1228 depends on MSM_SMD
1229 default y
1230 help
1231 Enable this to support the NMEA GPS device.
1232
1233 If in doubt, say yes.
1234
1235config MSM_SDIO_TTY
1236 bool "SDIO TTY Driver"
1237 depends on MSM_SDIO_AL
1238 default n
1239 help
1240 Provides a TTY driver SDIO TTY
1241 This driver can be used by user space
1242 applications for passing data through the
1243 SDIO interface.
1244
1245config MSM_SMD_TTY
1246 bool "SMD TTY Driver"
1247 depends on MSM_SMD
1248 default y
1249 help
1250 Provides TTY interfaces to interact with the modem.
1251
1252 If in doubt, say yes.
1253
1254config MSM_SMD_QMI
1255 bool "SMD QMI Driver"
1256 depends on MSM_SMD
1257 default y
1258 help
1259 Manages network data connections.
1260
1261 If in doubt, say yes.
1262
1263config MSM_SMD_PKT
1264 bool "SMD Packet Driver"
1265 depends on MSM_SMD
1266 default y
1267 help
1268 Provides a binary SMD non-muxed packet port interface.
1269
1270 If in doubt, say yes.
1271
1272config MSM_SDIO_CMUX
1273 bool "SDIO CMUX Driver"
1274 depends on MSM_SDIO_AL
1275 default n
1276 help
1277 Provides a Muxed port interface over SDIO QMI
1278
1279config MSM_DSPS
1280 bool "Sensors DSPS driver"
1281 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1282 default n
1283 help
1284 Provides user-space interface to the sensors manager
1285 to turn on/off the Sensors Processor system clocks.
1286 It is the DSPS responsibility to turn on/off the sensors
1287 themself.
1288 The number of clocks and their name may vary between targets.
1289 It also triggers the PIL to load the DSPS firmware.
1290
1291config MSM_SDIO_CTL
1292 bool "SDIO CTL Driver"
1293 depends on MSM_SDIO_CMUX
1294 default n
1295 help
1296 Provides a binary SDIO control port interface.
1297
1298config MSM_ONCRPCROUTER
1299 depends on MSM_SMD
1300 default n
1301 bool "MSM ONCRPC router support"
1302 help
1303 Support for the MSM ONCRPC router for communication between
1304 the ARM9 and ARM11
1305
1306config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001307 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001308 default n
1309 bool "MSM IPC Router support"
1310 help
1311 Support for the MSM IPC Router for communication between
1312 the APPs and the MODEM
1313
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001314config MSM_IPC_ROUTER_SMD_XPRT
1315 depends on MSM_SMD
1316 depends on MSM_IPC_ROUTER
1317 default n
1318 bool "MSM SMD XPRT Layer"
1319 help
1320 SMD Transport Layer for IPC Router
1321
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001322config MSM_ONCRPCROUTER_DEBUG
1323 depends on MSM_ONCRPCROUTER
1324 default y
1325 bool "MSM debug ONCRPC router support"
1326 help
1327 Support for debugging the ONCRPC router for communication
1328 between the ARM9 and ARM11
1329
1330config MSM_RPC_LOOPBACK_XPRT
1331 depends on MSM_ONCRPCROUTER
1332 default n
1333 bool "MSM RPC local routing support"
1334 help
1335 Support for routing RPC messages between APPS clients
1336 and APPS servers. Helps in testing APPS RPC framework.
1337
1338config MSM_RPCSERVER_TIME_REMOTE
1339 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1340 default y
1341 bool "Time remote RPC server"
1342 help
1343 The time remote server receives notification of time bases and
1344 reports these events to registered callback functions.
1345
1346config MSM_RPCSERVER_WATCHDOG
1347 depends on MSM_ONCRPCROUTER
1348 default y
1349 bool "Watchdog RPC server"
1350 help
1351 The dog_keepalive server handles watchdog events.
1352
1353config MSM_RPC_WATCHDOG
1354 depends on MSM_ONCRPCROUTER
1355 default n
1356 bool "Watchdog RPC client"
1357 help
1358 The dog_keepalive client module.
1359
1360config MSM_RPC_PING
1361 depends on MSM_ONCRPCROUTER && DEBUG_FS
1362 default m
1363 bool "MSM rpc ping"
1364 help
1365 Implements MSM rpc ping test module.
1366
1367config MSM_RPC_PROC_COMM_TEST
1368 depends on DEBUG_FS && MSM_PROC_COMM
1369 default m
1370 bool "MSM rpc proc comm test"
1371 help
1372 Implements MSM rpc proc comm test module.
1373
1374config MSM_RPC_OEM_RAPI
1375 depends on MSM_ONCRPCROUTER
1376 default m
1377 bool "MSM oem rapi"
1378 help
1379 Implements MSM oem rapi client module.
1380
1381config MSM_RPCSERVER_HANDSET
1382 depends on MSM_ONCRPCROUTER
1383 default y
1384 bool "Handset events RPC server"
1385 help
1386 Support for receiving handset events like headset detect,
1387 headset switch and clamshell state.
1388
1389config MSM_RMT_STORAGE_CLIENT
1390 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1391 default n
1392 bool "Remote Storage RPC client"
1393 help
1394 Provide RPC mechanism for remote processors to access storage
1395 device on apps processor.
1396
1397config MSM_RMT_STORAGE_CLIENT_STATS
1398 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1399 default n
1400 bool "Remote storage RPC client performance statistics"
1401 help
1402 Collects performance statistics and shows this information
1403 through a debugfs file rmt_storage_stats.
1404
1405config MSM_SDIO_SMEM
1406 depends on MSM_SDIO_AL
1407 default n
1408 bool "SDIO SMEM for remote storage"
1409 help
1410 Copies data from remote MDM9K memory to local MSM8x60
1411 memory. Used by remote storage client to shadow
1412 MDM9K filesystem.
1413
1414config MSM_DALRPC
1415 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001416 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001417 help
1418 Supports RPC calls to DAL devices on remote processor cores.
1419
1420config MSM_DALRPC_TEST
1421 tristate "DAL RPC test module"
1422 depends on (MSM_DALRPC && DEBUG_FS)
1423 default m
1424 help
1425 Exercises DAL RPC calls to QDSP6.
1426
1427if CPU_FREQ_MSM
1428
1429config MSM_CPU_FREQ_SET_MIN_MAX
1430 bool "Set Min/Max CPU frequencies."
1431 default n
1432 help
1433 Allow setting min and max CPU frequencies. Sysfs can be used
1434 to override these values.
1435
1436config MSM_CPU_FREQ_MAX
1437 int "Max CPU Frequency"
1438 depends on MSM_CPU_FREQ_SET_MIN_MAX
1439 default 384000
1440
1441config MSM_CPU_FREQ_MIN
1442 int "Min CPU Frequency"
1443 depends on MSM_CPU_FREQ_SET_MIN_MAX
1444 default 245760
1445
1446endif # CPU_FREQ_MSM
1447
1448config MSM_CPU_AVS
1449 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1450 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1451 depends on ARCH_QSD8X50
1452 default n
1453 select MSM_AVS_HW
1454 help
1455 This enables the s/w control of Adaptive Voltage Scaling feature
1456 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1457 based on feedback from three ring oscillators in the CPU.
1458
1459config MSM_AVS_HW
1460 bool "Enable Adaptive Voltage Scaling (AVS)"
1461 default n
1462 help
1463 Enable AVS hardware to fine tune voltage at each frequency. The
1464 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1465 fine tune the voltages based on the feedback from the ring
1466 oscillators.
1467
1468config MSM_HW3D
1469 tristate "MSM Hardware 3D Register Driver"
1470 depends on ANDROID_PMEM
1471 default y
1472 help
1473 Provides access to registers needed by the userspace OpenGL|ES
1474 library.
1475
1476config MSM_ADSP
1477 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1478 tristate "MSM ADSP driver"
1479 depends on ANDROID_PMEM
1480 default y
1481 help
1482 Provides access to registers needed by the userspace aDSP library.
1483
1484config ADSP_RPC_VER
1485 hex
1486 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1487 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1488 depends on MSM_ADSP
1489 help
1490 Select proper ADSP RPC version
1491choice
1492 prompt "ADSP RPC version"
1493
1494 default AMSS_7X25_VERSION_2009
1495
1496 config AMSS_7X25_VERSION_2009
1497 bool "2.0.09"
1498
1499 config AMSS_7X25_VERSION_2008
1500 bool "2.0.08"
1501endchoice
1502
1503config MSM7KV2_AUDIO
1504 bool "MSM7K v2 audio"
1505 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1506 default y
1507 help
1508 Enables QDSP5V2-based audio drivers for audio playbacks and
1509 voice call.
1510
1511config MSM_ADSP_REPORT_EVENTS
1512 bool "Report modem events from the DSP"
1513 default y
1514 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1515 help
1516 Normally, only messages from the aDSP are reported to userspace.
1517 With this option, we report events from the aDSP as well.
1518
1519config MSM_QDSP6
1520 tristate "QDSP6 support"
1521 depends on ARCH_QSD8X50 && ANDROID_PMEM
1522 default y
1523 help
1524 Enable support for qdsp6. This provides audio and video functionality.
1525
1526config MSM8X60_AUDIO
1527 tristate "MSM8X60 audio support"
1528 depends on ARCH_MSM8X60 && ANDROID_PMEM
1529 default y
1530 help
1531 Enable support for qdsp6v2. This provides audio functionality.
1532
1533config MSM8X60_FTM_AUDIO_DEVICES
1534 bool "MSM8X60 audio factory test mode support"
1535 depends on MSM8X60_AUDIO
1536 help
1537 Enable support audio factory test mode devices. This is used
1538 in a production line environment.
1539
Ben Romberger45b351c2011-07-20 22:37:27 -07001540config RTAC
1541 bool "MSM8K real-time audio calibration support"
1542 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001543 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001544 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001545 audio operation
1546
1547config MSM7X27A_AUDIO
1548 bool "MSM7X27A audio support"
1549 depends on ARCH_MSM7X27A && MSM_ADSP
1550 default n
1551 help
1552 Enable support for 7x27a. This provides audio functionality.
1553
Justin Pauporea6cd2092011-06-22 16:19:45 -07001554config MSM_PROC_COMM_REGULATOR
1555 bool
1556 depends on MSM_PROC_COMM && REGULATOR
1557 help
1558 Enable regulator framework support for regulators managed by PMLIB
1559 on the modem, and controlled through proccomm calls.
1560
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001561config MSM_VREG_SWITCH_INVERTED
1562 bool "Reverse vreg switch polarity"
1563 default n
1564 help
1565 Reverses the enable and disable for vreg switch.
1566
1567config MSM_DMA_TEST
1568 tristate "MSM DMA test module"
1569 default m
1570 help
1571 Intended to be compiled as a module. Provides a device node
1572 and ioctls for testing the MSM dma system.
1573
1574config WIFI_CONTROL_FUNC
1575 bool "Enable WiFi control function abstraction"
1576 help
1577 Enables Power/Reset/Carddetect function abstraction
1578
1579config WIFI_MEM_PREALLOC
1580 depends on WIFI_CONTROL_FUNC
1581 bool "Preallocate memory for WiFi buffers"
1582 help
1583 Preallocates memory buffers for WiFi driver
1584
1585config QSD_AUDIO
1586 bool "QSD audio"
1587 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1588 default y
1589 help
1590 Provides PCM, MP3, and AAC audio playback.
1591
1592config AUDIO_AAC_PLUS
1593 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1594 bool "AAC+ Audio"
1595 default y
1596 help
1597 Provides AAC+ decoding
1598
1599config AUDIO_ENHANCED_AAC_PLUS
1600 depends on AUDIO_AAC_PLUS
1601 bool "Enhanced AAC+ Audio"
1602 default y
1603 help
1604 Provides Enhanced AAC+ decoding
1605
1606config SURF_FFA_GPIO_KEYPAD
1607 bool "MSM SURF/FFA GPIO keypad"
1608 depends on INPUT_GPIO = "y"
1609 default y
1610 help
1611 Select if the GPIO keypad is attached.
1612
1613config MSM_SLEEP_TIME_OVERRIDE
1614 bool "Allow overriding suspend/sleep time with PM module parameter"
1615 default y
1616 help
1617 Enable the module parameter sleep_time_override. Specified
1618 in units of seconds, it overwrites the normal sleep time of
1619 suspend. The feature is required for automated power management
1620 testing.
1621
1622config MSM_MEMORY_LOW_POWER_MODE
1623 bool "Control the low power modes of memory"
1624 default n
1625 help
1626 The application processor controls whether memory should enter
1627 which low power mode.
1628
1629choice
1630 prompt "Default Memory Low Power Mode during Idle"
1631 depends on MSM_MEMORY_LOW_POWER_MODE
1632 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1633 help
1634 Selects the default low power mode of the memory during idle
1635 sleep.
1636
1637 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1638 bool "Memory active"
1639
1640 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1641 bool "Memory in retention"
1642
1643 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1644 bool "Memory in deep power down"
1645endchoice
1646
1647choice
1648 prompt "Default Memory Low Power Mode during Suspend"
1649 depends on MSM_MEMORY_LOW_POWER_MODE
1650 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1651 help
1652 Selects the default low power mode of the memory during suspend
1653 sleep.
1654
1655 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1656 bool "Memory active"
1657
1658 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1659 bool "Memory in retention"
1660
1661 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1662 bool "Memory in deep power down"
1663endchoice
1664
1665choice
1666 prompt "Power management timeout action"
1667 default MSM_PM_TIMEOUT_HALT
1668 help
1669 Selects the Application Processor's action when Power Management
1670 times out waiting for Modem's handshake.
1671
1672 config MSM_PM_TIMEOUT_HALT
1673 bool "Halt the Application Processor"
1674
1675 config MSM_PM_TIMEOUT_RESET_MODEM
1676 bool "Reset the Modem Processor"
1677
1678 config MSM_PM_TIMEOUT_RESET_CHIP
1679 bool "Reset the entire chip"
1680endchoice
1681
1682config MSM_IDLE_WAIT_ON_MODEM
1683 int "Wait for Modem to become ready for idle power collapse"
1684 default 0
1685 help
1686 If Modem is not ready to handle Application Processor's request
1687 for idle power collapse, wait the number of microseconds in case
1688 Modem becomes ready soon.
1689
Matt Wagantall9274df92011-12-15 11:11:05 -08001690config MSM_RPM_REGULATOR
1691 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001692 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001693 help
1694 Compile in support for the RPM regulator driver, used for setting
1695 voltages and other parameters of the various power rails supplied
1696 by some Qualcomm PMICs.
1697
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001698config MSM_PIL
1699 bool "Peripheral image loading"
1700 select FW_LOADER
1701 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1702 default n
1703 help
1704 Some peripherals need to be loaded into memory before they can be
1705 brought out of reset.
1706
1707 Say yes to support these devices.
1708
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001709config MSM_PIL_MODEM
1710 tristate "Modem (ARM11) Boot Support"
1711 depends on MSM_PIL
1712 help
1713 Support for booting and shutting down ARM11 Modem processors.
1714
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001715config MSM_PIL_QDSP6V3
1716 tristate "QDSP6v3 (Hexagon) Boot Support"
1717 depends on MSM_PIL
1718 help
1719 Support for booting and shutting down QDSP6v3 processors (hexagon).
1720 The QDSP6 is a low power DSP used in audio software applications.
1721
Stephen Boydeb819882011-08-29 14:46:30 -07001722config MSM_PIL_QDSP6V4
1723 tristate "QDSP6v4 (Hexagon) Boot Support"
1724 depends on MSM_PIL
1725 help
1726 Support for booting and shutting down QDSP6v4 processors (hexagon).
1727 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1728 software applications.
1729
Stephen Boyd322a9922011-09-20 01:05:54 -07001730config MSM_PIL_RIVA
1731 tristate "RIVA (WCNSS) Boot Support"
1732 depends on MSM_PIL
1733 help
1734 Support for booting and shutting down the RIVA processor (WCNSS).
1735 Riva is the wireless subsystem processor used in bluetooth, wireless
1736 LAN, and FM software applications.
1737
Stephen Boydd89eebe2011-09-28 23:28:11 -07001738config MSM_PIL_TZAPPS
1739 tristate "TZApps Boot Support"
1740 depends on MSM_PIL
1741 help
1742 Support for booting and shutting down TZApps.
1743
1744 TZApps is an image that runs in the secure processor state. It is
1745 used to decrypt data and perform secure operations on the behalf of
1746 the kernel.
1747
Matt Wagantall292aace2012-01-26 19:12:34 -08001748config MSM_PIL_GSS
1749 tristate "GSS (Coretx A5) Boot Support"
1750 depends on MSM_PIL
1751 help
1752 Support for booting and shutting down Cortex A5 processors which run
1753 GPS subsystem firmware.
1754
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001755config MSM_SCM
1756 bool "Secure Channel Manager (SCM) support"
1757 default n
1758
1759config MSM_SUBSYSTEM_RESTART
1760 bool "MSM Subsystem Restart Driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001761 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001762 default n
1763 help
1764 This option enables the MSM subsystem restart driver, which provides
1765 a framework to handle subsystem crashes.
1766
Matt Wagantallf8020902011-08-30 21:19:23 -07001767config MSM_SYSMON_COMM
1768 bool "MSM System Monitor communication support"
1769 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1770 default y
1771 help
1772 This option adds support for MSM System Monitor library, which
1773 provides an API that may be used for notifying subsystems within
1774 the SoC about other subsystems' power-up/down state-changes.
1775
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001776config MSM_MODEM_8960
1777 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001778 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001779 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001780 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001781 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001782 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001783
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001784config MSM_LPASS_8960
1785 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001786 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001787 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001788 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001789 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001790 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001791
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001792config MSM_WCNSS_SSR_8960
1793 tristate "MSM 8960 WCNSS restart module"
1794 depends on (ARCH_MSM8960)
1795 help
1796 This option enables the WCNSS restart module for MSM8960, which
1797 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1798 into the subsystem restart framework.
1799
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001800config SCORPION_Uni_45nm_BUG
1801 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1802 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1803 default y
1804 help
1805 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1806 invalidating the Branch Predictor Array by Modified Virtual Address can
1807 create invalid entries in the TLB with the wrong ASID values on Scorpion
1808 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1809 workaround for Scorpion Uniprocessor 45nm cores.
1810
1811 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1812
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001813config MSM_BUSPM_DEV
1814 tristate "MSM Bus Performance Monitor Kernel Module"
1815 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1816 default m
1817 help
1818 This kernel module is used to mmap() hardware registers for the
1819 performance monitors, counters, etc. The module can also be used to
1820 allocate physical memory which is used by bus performance hardware to
1821 dump performance data.
1822
Mona Hossain11c03ac2011-10-26 12:42:10 -07001823config MSM_TZ_LOG
1824 tristate "MSM Trust Zone (TZ) Log Driver"
1825 depends on DEBUG_FS
1826 help
1827 This option enables a driver with a debugfs interface for messages
1828 produced by the Secure code (Trust zone). These messages provide
1829 diagnostic information about TZ operation.
1830
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001831config MSM_RPM_LOG
1832 tristate "MSM Resource Power Manager Log Driver"
1833 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001834 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001835 default n
1836 help
1837 This option enables a driver which can read from a circular buffer
1838 of messages produced by the RPM. These messages provide diagnostic
1839 information about RPM operation. The driver outputs the messages
1840 via a debugfs node.
1841
1842config MSM_RPM_STATS_LOG
1843 tristate "MSM Resource Power Manager Stat Driver"
1844 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001845 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001846 default n
1847 help
1848 This option enables a driver which reads RPM messages from a shared
1849 memory location. These messages provide statistical information about
1850 the low power modes that RPM enters. The drivers outputs the message
1851 via a debugfs node.
1852
1853config MSM_IOMMU
1854 bool "MSM IOMMU Support"
Joel King41d594e2011-10-14 13:18:20 -07001855 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_APQ8064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001856 select IOMMU_API
1857 default n
1858 help
1859 Support for the IOMMUs found on certain Qualcomm SOCs.
1860 These IOMMUs allow virtualization of the address space used by most
1861 cores within the multimedia subsystem.
1862
1863 If unsure, say N here.
1864
1865config IOMMU_PGTABLES_L2
1866 bool "Allow SMMU page tables in the L2 cache (Experimental)"
1867 depends on MSM_IOMMU=y
1868 depends on MMU
1869 depends on CPU_DCACHE_DISABLE=n
1870 depends on SMP
1871 default y
1872 help
1873 Improves TLB miss latency at the expense of potential L2 pollution.
1874 However, with large multimedia buffers, the TLB should mostly contain
1875 section mappings and TLB misses should be quite infrequent.
1876 Most people can probably say Y here.
1877
1878config MSM_DIRECT_SCLK_ACCESS
1879 bool "Direct access to the SCLK timer"
1880 default n
1881
1882config IOMMU_API
1883 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001884
Gregory Beanab78cde2010-09-01 16:26:12 -07001885config MSM_GPIOMUX
1886 bool
1887
Gregory Bean1963a2a2010-08-28 10:05:44 -07001888config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001889 bool
1890
1891config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07001892 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001893
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001894config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001895 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001896
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001897config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001898 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001899
Matt Wagantall88b86312012-01-31 16:53:03 -08001900config MSM_PM
1901 depends on PM
1902 bool
1903
1904config MSM_PM2
1905 depends on PM
1906 bool
1907
1908config MSM_PM8X60
1909 depends on PM
1910 bool
1911
1912config MSM_NOPM
1913 default y if !PM
1914 bool
1915
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001916config MSM_BUS_SCALING
1917 bool "Bus scaling driver"
1918 default n
1919
Gagan Mac85c70492011-06-10 16:07:47 -06001920config MSM_BUS_RPM_MULTI_TIER_ENABLED
1921 bool "RPM Multi-tiering Configuration"
1922 depends on MSM_BUS_SCALING
1923
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001924config MSM_WATCHDOG
1925 bool "MSM Watchdog Support"
Rohit Vaswani085a9332011-09-28 18:57:24 -07001926 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001927 help
1928 This enables the watchdog as is present on 8x60. Currently we use
1929 core 0's watchdog, and reset the entire SoC if it times out. It does
1930 not run during the bootup process, so it will not catch any early
1931 lockups.
1932
1933config MSM_DLOAD_MODE
1934 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07001935 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001936 default n
1937 help
1938 This makes the SoC enter download mode when it resets
1939 due to a kernel panic. Note that this doesn't by itself
1940 make the kernel reboot on a kernel panic - that must be
1941 enabled via another mechanism.
1942
Pratik Patel17f3b822011-11-21 12:41:47 -08001943config MSM_JTAG
1944 bool "JTAG debug and trace support"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001945 help
Pratik Patel17f3b822011-11-21 12:41:47 -08001946 Add additional support for JTAG kernel debugging and tracing.
Pratik Patel7831c082011-06-08 21:44:37 -07001947
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001948config MSM_ETM
1949 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08001950 depends on ARCH_MSM8X60
1951 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001952 help
Pratik Patel17f3b822011-11-21 12:41:47 -08001953 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07001954
1955config MSM_QDSS
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001956 bool "Qualcomm Debug Subsystem"
Pratik Patel17f3b822011-11-21 12:41:47 -08001957 select MSM_JTAG
Pratik Patel7831c082011-06-08 21:44:37 -07001958 help
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001959 Enables support for Qualcomm Debug Subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001960
Pratik Patel29cba152012-01-03 11:40:26 -08001961config MSM_QDSS_ETM_DEFAULT_ENABLE
1962 bool "Turn on QDSS ETM Tracing by Default"
1963 depends on MSM_QDSS
1964 help
1965 Turns on QDSS ETM tracing by default. Otherwise, tracing is
1966 disabled by default but can be enabled by other means.
1967
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001968config MSM_SLEEP_STATS
1969 bool "Enable exporting of MSM sleep stats to userspace"
1970 depends on CPU_IDLE
1971 default n
1972
Lynus Vazdde09ee2012-01-05 13:28:22 +05301973config MSM_SLEEP_STATS_DEVICE
1974 bool "Enable exporting of MSM sleep device stats to userspace"
1975
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001976config MSM_STANDALONE_POWER_COLLAPSE
1977 bool "Enable standalone power collapse"
1978 default n
1979
1980config MSM_GSBI9_UART
1981 bool "Enable GSBI9 UART device"
1982 default n
1983 help
1984 This enables GSBI9 configured into UART.
1985
1986config MSM_SHARED_GPIO_FOR_UART2DM
1987 bool "Use shared GPIOs into UART mode"
1988 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
1989 help
1990 This option configures GPIO muxed with SDC4/MMC3
1991 8-bit mode into UART mode. It is used for serial
1992 console on UART2DM. Say Y if you want to have
1993 serial console on UART2DM.
1994
1995config MSM_SHOW_RESUME_IRQ
1996 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08001997 depends on (ARM_GIC || PMIC8058)
1998 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001999 default n
2000 help
2001 This option logs wake up interrupts that have triggered just before
2002 the resume loop unrolls. Say Y if you want to debug why the system
2003 resumed.
2004
2005config BT_MSM_PINTEST
2006 tristate "MSM Bluetooth Pin Connectivity Test"
2007 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2008 default n
2009 help
2010 Bluetooth MSM Pin Connectivity test module.
2011 This driver provides support for verifying the MSM to BT pin
2012 connectivity.
2013
2014config MSM_FAKE_BATTERY
2015 depends on POWER_SUPPLY
2016 default n
2017 bool "MSM Fake Battery"
2018 help
2019 Enables MSM fake battery driver.
2020
2021config MSM_QDSP6_APR
2022 bool "Audio QDSP6 APR support"
2023 depends on MSM_SMD
2024 default n
2025 help
2026 Enable APR IPC protocol support between
2027 application processor and QDSP6. APR is
2028 used by audio driver to configure QDSP6's
2029 ASM, ADM and AFE.
2030
2031
2032config MSM_AUDIO_QDSP6
2033 bool "QDSP6 HW Audio support"
2034 select SND_SOC_MSM_QDSP6_INTF
2035 default n
2036 help
2037 Enable HW audio support in QDSP6.
2038 QDSP6 can support HW encoder & decoder and audio processing
2039
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002040config MSM_ULTRASOUND
2041 bool "MSM ultrasound support"
2042 depends on MSM_AUDIO_QDSP6
2043 help
2044 Enable support for qdsp6/ultrasound.
2045
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002046config MSM_RPC_VIBRATOR
2047 bool "RPC based MSM Vibrator Support"
2048 depends on MSM_ONCRPCROUTER
2049 help
2050 Enable the vibrator support on MSM over RPC. The vibrator
2051 is connected on the PMIC. Say Y if you want to enable this
2052 feature.
2053
2054config PM8XXX_RPC_VIBRATOR
2055 bool "RPC based Vibrator on PM8xxx PMICs"
2056 depends on MSM_RPC_VIBRATOR
2057 help
2058 Enable the vibrator support on MSM over RPC. The vibrator
2059 is connected on the PM8XXX PMIC. Say Y if you want to enable
2060 this feature.
2061
2062config MSM_SPM_V1
2063 bool "Driver support for SPM Version 1"
2064 help
2065 Enables the support for Version 1 of the SPM driver. SPM hardware is
2066 used to manage the processor power during sleep. The driver allows
2067 configuring SPM to allow different power modes.
2068
2069config MSM_SPM_V2
2070 bool "Driver support for SPM Version 2"
2071 help
2072 Enables the support for Version 2 of the SPM driver. SPM hardware is
2073 used to manage the processor power during sleep. The driver allows
2074 configuring SPM to allow different power modes.
2075
2076config MSM_L2_SPM
2077 bool "SPM support for L2 cache"
2078 depends on MSM_SPM_V2
2079 help
2080 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2081 control of L2 cache low power mode with a Subsystem Power manager.
2082 Enabling this driver allows configuring L2 SPM for low power modes
2083 on supported chipsets.
2084
Laura Abbott2d1760b2011-09-29 21:31:24 -07002085config MSM_MULTIMEDIA_USE_ION
2086 bool "Multimedia suport using Ion"
2087 depends on ION_MSM
2088 help
2089 Enable support for multimedia drivers using Ion for buffer management
2090 instead of pmem. Selecting this may also involve userspace
2091 dependencies as well.
2092
Laura Abbottad340ff2012-01-04 14:23:48 -08002093config MSM_RTB
2094 bool "Register tracing"
2095 help
2096 Add support for logging different events to a small uncached
2097 region. This is designed to aid in debugging reset cases where the
2098 caches may not be flushed before the target resets.
2099
2100config MSM_RTB_SEPARATE_CPUS
2101 bool "Separate entries for each cpu"
2102 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002103 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002104 help
2105 Under some circumstances, it may be beneficial to give dedicated space
2106 for each cpu to log accesses. Selecting this option will log each cpu
2107 separately. This will guarantee that the last acesses for each cpu
2108 will be logged but there will be fewer entries per cpu
2109
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002110config MSM_CACHE_ERP
2111 bool "Cache / CPU error reporting"
2112 depends on ARCH_MSM_KRAIT
2113 help
2114 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2115 log. Enabling this feature can be used as a system debugging technique
2116 if cache corruption is suspected. Cache error statistics will also be
2117 reported in /proc/cpu/msm_cache_erp.
2118
2119 For production builds, you should probably say 'N' here.
2120
2121config MSM_L1_ERR_PANIC
2122 bool "Panic on L1 cache / TLB errors"
2123 depends on MSM_CACHE_ERP
2124 help
2125 To cause the kernel to panic whenever an L1 cache or TLB error is
2126 detected, say 'Y' here. This may be useful as a debugging technique if
2127 general system instability is suspected.
2128
2129 For production builds, you should probably say 'N' here.
2130
2131
2132config MSM_L2_ERP_PORT_PANIC
2133 bool "Panic on L2 master port errors"
2134 depends on MSM_CACHE_ERP
2135 help
2136 Master port errors can occur when a memory request is not properly
2137 handled by the destination slave. Enable this option to catch drivers
2138 which attempt to access bad areas of the address space, or access
2139 hardware registers in an improper state (such as certain clocks not
2140 being on). This option may help with debugging, though production
2141 builds should probably say 'N' here.
2142
2143config MSM_L2_ERP_1BIT_PANIC
2144 bool "Panic on recoverable L2 soft errors"
2145 depends on MSM_CACHE_ERP
2146 help
2147 Enable this option to cause a kernel panic whenever the L2 cache
2148 encounters a single-bit (correctable) soft error. This option should
2149 only be enabled when doing low-level debugging where cache corruption
2150 is suspected.
2151
2152 For production builds, you should definitely say 'N' here.
2153
2154config MSM_L2_ERP_2BIT_PANIC
2155 bool "Panic on unrecoverable L2 soft errors"
2156 depends on MSM_CACHE_ERP
2157 help
2158 Enable this option to cause a kernel panic whenever the L2 cache
2159 encounters a double-bit (non-correctable) soft error. Debug builds
2160 will likely benefit from having this option enabled to catch cache
2161 problems as soon as possible.
2162
2163 For production builds, it may be acceptable to say 'N' here, since
2164 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002165
Brian Swetland9e73c842007-11-26 04:12:13 -08002166endif