blob: 4ea24a4ed143449fa51087b774e3aed04336f014 [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
Laura Abbott085dd202012-03-30 14:02:34 -0700171 select HOLES_IN_ZONE if SPARSEMEM
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700172
173config ARCH_MSM8930
174 bool "MSM8930"
175 select ARCH_MSM_KRAITMP
176 select ARM_GIC
177 select CPU_V7
178 select MSM_V2_TLMM
179 select MSM_GPIOMUX
180 select MSM_SCM if SMP
181 select MSM_DIRECT_SCLK_ACCESS
182 select REGULATOR
David Collins5779cea2012-01-05 15:09:21 -0800183 select MSM_RPM_REGULATOR
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700184 select MSM_RPM
185 select MSM_XO
186 select MSM_QDSP6_APR
187 select MSM_PIL
188 select MSM_AUDIO_QDSP6 if SND_SOC
189 select CPU_HAS_L2_PMU
190 select MSM_SPM_V2
191 select MSM_L2_SPM
192 select MSM_NATIVE_RESTART
193 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600194 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700195 select ARCH_POPULATES_NODE_MAP
196 select ARCH_SPARSEMEM_ENABLE
197 select ARCH_HAS_HOLES_MEMORYMODEL
Larry Basselb8d61022012-02-24 10:49:45 -0800198 select ENABLE_DMM
199 select MEMORY_HOTPLUG if ENABLE_DMM
200 select MEMORY_HOTREMOVE if ENABLE_DMM
201 select ARCH_ENABLE_MEMORY_HOTPLUG if ENABLE_DMM
202 select ARCH_ENABLE_MEMORY_HOTREMOVE if ENABLE_DMM
203 select MIGRATION if ENABLE_DMM
204 select ARCH_MEMORY_PROBE if ENABLE_DMM
205 select ARCH_MEMORY_REMOVE if ENABLE_DMM
206 select FIX_MOVABLE_ZONE if ENABLE_DMM
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +0200207 select MSM_ULTRASOUND
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530208 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800209 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700210 select HOLES_IN_ZONE if SPARSEMEM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700211
212config ARCH_APQ8064
213 bool "APQ8064"
214 select ARCH_MSM_KRAITMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700215 select MSM_V2_TLMM
216 select ARM_GIC
217 select CPU_V7
218 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700219 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600220 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800221 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800222 select MSM_QDSP6_APR
223 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530224 select MULTI_IRQ_HANDLER
Praveen Chidambaram78499012011-11-01 17:15:17 -0600225 select MSM_RPM
226 select MSM_SPM_V2
227 select MSM_L2_SPM
Matt Wagantall88b86312012-01-31 16:53:03 -0800228 select MSM_PM8X60 if PM
Neil Leeder814d3d32012-01-19 17:21:43 -0500229 select CPU_HAS_L2_PMU
Laura Abbott085dd202012-03-30 14:02:34 -0700230 select HOLES_IN_ZONE if SPARSEMEM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700231
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700232config ARCH_MSMCOPPER
233 bool "MSM Copper"
234 select ARCH_MSM_KRAITMP
235 select MSM_V2_TLMM
236 select ARM_GIC
237 select CPU_V7
238 select MSM_SCM if SMP
239 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530240 select MULTI_IRQ_HANDLER
Olav Hauganb800c8c2012-01-30 08:50:45 -0800241 select MSM_MULTIMEDIA_USE_ION
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700242
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700243config ARCH_FSM9XXX
244 bool "FSM9XXX"
245 select ARCH_MSM_SCORPION
246 select MSM_VIC
247 select CPU_V7
248 select MSM_REMOTE_SPINLOCK_LDREX
249 select FSM9XXX_TLMM
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530250 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800251 select MSM_DALRPC
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800252
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700253config ARCH_MSM9615
254 bool "MSM9615"
255 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530256 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700257 select ARCH_MSM_CORTEX_A5
258 select CPU_V7
259 select MSM_V2_TLMM
260 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600261 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600262 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700263 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800264 select REGULATOR
265 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530266 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800267 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800268 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700269 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800270 select MSM_QDSP6_APR
271 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800272 select FIQ
Matt Wagantall9274df92011-12-15 11:11:05 -0800273
Taniya Das43bcdd62011-12-02 17:33:27 +0530274config ARCH_MSM8625
275 bool "MSM8625"
276 select ARCH_MSM_CORTEX_A5
277 select CPU_V7
278 select MSM_GPIOMUX
279 select ARM_GIC
280 select ARCH_MSM_CORTEXMP
281 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530282 select ARM_TICKET_LOCKS
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700283endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700284
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700285choice
286 prompt "MSM SoC Revision"
287 default MSM_SOC_REV_NONE
288config MSM_SOC_REV_NONE
289 bool "N/A"
290 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
291 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walker4ad15e62010-05-06 13:54:17 -0700292config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700293 bool "Rev. A"
294 select ARCH_MSM7X27A if ARCH_MSM7X27
295endchoice
Daniel Walker4ad15e62010-05-06 13:54:17 -0700296
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700297config MSM_KRAIT_TBB_ABORT_HANDLER
298 bool "Krait TBB/TBH data abort handler"
299 depends on ARCH_MSM_KRAIT
300 depends on ARM_THUMB
301 help
302 Certain early samples of the Krait processor may generate data
303 aborts for TBB / TBH instructions that fail their condition code
304 checks. Enabling this option will ignore these erroneous data aborts,
305 at the expense of a very small performance penalty.
306
307 If unsure, say N.
308
Daniel Walker4ad15e62010-05-06 13:54:17 -0700309config ARCH_MSM_ARM11
310 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700311
Daniel Walker4ad15e62010-05-06 13:54:17 -0700312config ARCH_MSM_SCORPION
Daniel Walkerbf83de42010-03-16 16:29:44 -0700313 bool
314
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700315config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700316 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800317 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700318
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700319config MSM_SMP
320 bool
321
322config ARCH_MSM_SCORPIONMP
323 select ARCH_MSM_SCORPION
324 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530325 select HAVE_ARCH_HAS_CURRENT_TIMER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700326 bool
327
328config ARCH_MSM_KRAITMP
329 select ARCH_MSM_KRAIT
330 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530331 select HAVE_ARCH_HAS_CURRENT_TIMER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700332 bool
333
Taniya Das43bcdd62011-12-02 17:33:27 +0530334config ARCH_MSM_CORTEXMP
335 select MSM_SMP
336 bool
337
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700338config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800339 bool
Rohit Vaswaniaf7ae272012-01-09 10:28:57 -0800340 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700341
342config ARCH_MSM7X27A
343 bool
344 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700345 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530346 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530347 select ARM_GIC
348 select ARCH_MSM_CORTEXMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700349
Gregory Beanf9f3d312010-04-30 22:06:50 -0700350config MSM_VIC
351 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700352
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700353config MSM_RPM
354 bool "Resource Power Manager"
355 select MSM_MPM
356
357config MSM_MPM
358 bool "Modem Power Manager"
359
360config MSM_XO
361 bool
362
363config MSM_REMOTE_SPINLOCK_DEKKERS
364 bool
365config MSM_REMOTE_SPINLOCK_SWP
366 bool
367config MSM_REMOTE_SPINLOCK_LDREX
368 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600369config MSM_REMOTE_SPINLOCK_SFPB
370 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700371config MSM_ADM3
372 bool
373
374menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700375
376config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700377 depends on ARCH_MSM7X01A
378 depends on MSM_STACKED_MEMORY
379 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700380 bool "Halibut Board (QCT SURF7201A)"
381 help
382 Support for the Qualcomm SURF7201A eval board.
383
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700384config MACH_MSM7201A_SURF
385 depends on ARCH_MSM7X01A
386 depends on MSM_STACKED_MEMORY
387 default y
388 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700389 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700390 Support for the Qualcomm MSM7201A SURF eval board.
391
392config MACH_MSM7201A_FFA
393 depends on ARCH_MSM7X01A
394 depends on MSM_STACKED_MEMORY
395 default y
396 bool "MSM7201A FFA"
397 help
398 Support for the Qualcomm MSM7201A FFA eval board.
399
400config MACH_TROUT
401 depends on ARCH_MSM7X01A
402 depends on MSM_STACKED_MEMORY
403 default y
404 bool "Trout"
405
406config MACH_MSM7X27_SURF
407 depends on ARCH_MSM7X27
408 depends on !MSM_STACKED_MEMORY
409 default y
410 bool "MSM7x27 SURF"
411 help
412 Support for the Qualcomm MSM7x27 SURF eval board.
413
414config MACH_MSM7X27_FFA
415 depends on ARCH_MSM7X27
416 depends on !MSM_STACKED_MEMORY
417 default y
418 bool "MSM7x27 FFA"
419 help
420 Support for the Qualcomm MSM7x27 FFA eval board.
421
422config MACH_MSM7X27A_RUMI3
423 depends on ARCH_MSM7X27A
424 depends on !MSM_STACKED_MEMORY
425 default y
426 bool "MSM7x27A RUMI3"
427 help
428 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
429
430config MACH_MSM7X27A_SURF
431 depends on ARCH_MSM7X27A
432 depends on !MSM_STACKED_MEMORY
433 default y
434 bool "MSM7x27A SURF"
435 help
436 Support for the Qualcomm MSM7x27A SURF.
437
438config MACH_MSM7X27A_FFA
439 depends on ARCH_MSM7X27A
440 depends on !MSM_STACKED_MEMORY
441 default y
442 bool "MSM7x27A FFA"
443 help
444 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700445
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530446config MACH_MSM7625A_SURF
447 depends on ARCH_MSM7X27A
448 depends on !MSM_STACKED_MEMORY
449 default y
450 bool "MSM7625A SURF"
451 help
452 Support for the Qualcomm MSM7625A SURF.
453
454config MACH_MSM7625A_FFA
455 depends on ARCH_MSM7X27A
456 depends on !MSM_STACKED_MEMORY
457 default y
458 bool "MSM7625A FFA"
459 help
460 Support for the Qualcomm MSM7625A FFA.
461
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530462config MACH_MSM7627A_QRD1
463 depends on ARCH_MSM7X27A
464 depends on !MSM_STACKED_MEMORY
465 default y
466 bool "MSM7627A QRD1"
467 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530468 Support for the Qualcomm MSM7627A Reference Design.
469
470config MACH_MSM7627A_QRD3
471 depends on ARCH_MSM7X27A
472 depends on !MSM_STACKED_MEMORY
473 default y
474 bool "MSM7627A QRD3"
475 help
476 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530477
Taniya Dasc868a2e2012-01-03 10:18:47 +0530478config MACH_MSM7627A_EVB
479 depends on ARCH_MSM7X27A
480 depends on !MSM_STACKED_MEMORY
481 default y
482 bool "MSM7627A EVB"
483 help
484 Support for the Qualcomm MSM7627A Reference Design.
485
Taniya Das43bcdd62011-12-02 17:33:27 +0530486config MACH_MSM8625_RUMI3
487 depends on ARCH_MSM8625
488 depends on !MSM_STACKED_MEMORY
489 default y
490 bool "MSM8625 RUMI3"
491 help
492 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
493
Taniya Dase3027e22012-02-27 16:32:27 +0530494config MACH_MSM8625_SURF
495 depends on ARCH_MSM8625
496 depends on !MSM_STACKED_MEMORY
497 default y
498 bool "MSM8625 SURF"
499 help
500 Support for the Qualcomm MSM8625 SURF.
501
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530502config MACH_MSM8625_EVB
503 depends on ARCH_MSM8625
504 depends on !MSM_STACKED_MEMORY
505 default y
506 bool "MSM8625 EVB"
507 help
508 Support for the Qualcomm MSM8625 Reference Design.
509
Taniya Dasbd096542012-03-15 17:43:45 +0530510config MACH_MSM8625_QRD7
511 depends on ARCH_MSM8625
512 depends on !MSM_STACKED_MEMORY
513 default y
514 bool "MSM8625 QRD7"
515 help
516 Support for the Qualcomm MSM8625 Reference Design.
517
Daniel Walker7b521612010-05-06 12:44:57 -0700518config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700519 depends on ARCH_MSM7X30
520 depends on !MSM_STACKED_MEMORY
521 default y
522 bool "MSM7x30 SURF"
523 help
524 Support for the Qualcomm MSM7x30 SURF eval board.
525
526config MACH_MSM7X30_FFA
527 depends on ARCH_MSM7X30
528 depends on !MSM_STACKED_MEMORY
529 default y
530 bool "MSM7x30 FFA"
531 help
532 Support for the Qualcomm MSM7x30 FFA eval board.
533
534config MACH_MSM7X30_FLUID
535 depends on ARCH_MSM7X30
536 depends on !MSM_STACKED_MEMORY
537 default y
538 bool "MSM7x30 FLUID"
539 help
540 Support for the Qualcomm MSM7x30 FLUID eval board.
541
542config MACH_SAPPHIRE
543 depends on ARCH_MSM7X01A
544 default n
545 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700546
Daniel Walker4ad15e62010-05-06 13:54:17 -0700547config MACH_QSD8X50_SURF
548 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700549 depends on MSM_SOC_REV_NONE
550 depends on MSM_STACKED_MEMORY
551 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700552 bool "QSD8x50 SURF"
553 help
554 Support for the Qualcomm QSD8x50 SURF eval board.
555
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700556config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700557 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700558 depends on MSM_SOC_REV_NONE
559 depends on MSM_STACKED_MEMORY
560 default y
561 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700562 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700563 Support for the Qualcomm QSD8x50 FFA eval board.
564
565config MACH_MSM7X25_SURF
566 depends on ARCH_MSM7X25
567 depends on !MSM_STACKED_MEMORY
568 default y
569 bool "MSM7x25 SURF"
570 help
571 Support for the Qualcomm MSM7x25 SURF eval board.
572
573config MACH_MSM7X25_FFA
574 depends on ARCH_MSM7X25
575 depends on !MSM_STACKED_MEMORY
576 default y
577 bool "MSM7x25 FFA"
578 help
579 Support for the Qualcomm MSM7x25 FFA eval board.
580
581config MACH_MSM8X55_SURF
582 depends on ARCH_MSM7X30
583 depends on !MSM_STACKED_MEMORY
584 default y
585 bool "MSM8X55 SURF"
586 help
587 Support for the Qualcomm MSM8x55 SURF eval board.
588
589config MACH_MSM8X55_FFA
590 depends on ARCH_MSM7X30
591 depends on !MSM_STACKED_MEMORY
592 default y
593 bool "MSM8X55 FFA"
594 help
595 Support for the Qualcomm MSM8x55 FFA eval board.
596
597config MACH_MSM8X55_SVLTE_FFA
598 depends on ARCH_MSM7X30
599 depends on !MSM_STACKED_MEMORY
600 default y
601 bool "MSM8X55 SVLTE FFA"
602 help
603 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
604
605config MACH_MSM8X55_SVLTE_SURF
606 depends on ARCH_MSM7X30
607 depends on !MSM_STACKED_MEMORY
608 default y
609 bool "MSM8X55 SVLTE SURF"
610 help
611 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700612
Steve Mucklea55df6e2010-01-07 12:43:24 -0800613config MACH_MSM8X60_RUMI3
614 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700615 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800616 bool "MSM8x60 RUMI3"
617 help
618 Support for the Qualcomm MSM8x60 RUMI3 emulator.
619
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800620config MACH_MSM8X60_SIM
621 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700622 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800623 bool "MSM8x60 Simulator"
624 help
625 Support for the Qualcomm MSM8x60 simulator.
626
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700627config MACH_MSM8X60_SURF
628 depends on ARCH_MSM8X60
629 default n
630 bool "MSM8x60 SURF"
631 help
632 Support for the Qualcomm MSM8x60 SURF eval board.
633
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700634config MACH_MSM8X60_FFA
635 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700636 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700637 bool "MSM8x60 FFA"
638 help
639 Support for the Qualcomm MSM8x60 FFA eval board.
640
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700641config MACH_MSM8X60_FLUID
642 depends on ARCH_MSM8X60
643 default n
644 bool "MSM8x60 FLUID"
645 help
646 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
647 8x60 target which has a form factor that is much closer to that
648 of a phone than other targets. It also has a new display and
649 touchscreen controller.
650
651config MACH_MSM8X60_FUSION
652 depends on ARCH_MSM8X60
653 default n
654 bool "MSM8x60 FUSION"
655 help
656 Support for the Qualcomm MSM8x60 Fusion SURF device.
657
658config MACH_MSM8X60_FUSN_FFA
659 depends on ARCH_MSM8X60
660 default n
661 bool "MSM8x60 FUSN FFA"
662 help
663 Support for the Qualcomm MSM8x60 Fusion FFA device.
664
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400665config MACH_MSM8X60_DRAGON
666 depends on ARCH_MSM8X60
667 default n
668 bool "MSM8x60 DRAGON"
669 help
670 Support for the Qualcomm MSM8x60 Dragon board.
671
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800672config MACH_MSM8960_SIM
673 depends on ARCH_MSM8960
674 bool "MSM8960 Simulator"
675 help
676 Support for the Qualcomm MSM8960 simulator.
677
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800678config MACH_MSM8960_RUMI3
679 depends on ARCH_MSM8960
680 bool "MSM8960 RUMI3"
681 help
682 Support for the Qualcomm MSM8960 RUMI3 emulator.
683
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700684config MACH_MSM8960_CDP
685 depends on ARCH_MSM8960
686 bool "MSM8960 CDP"
687 help
688 Support for the Qualcomm MSM8960 CDP device.
689
690config MACH_MSM8960_MTP
691 depends on ARCH_MSM8960
692 bool "MSM8960 MTP"
693 help
694 Support for the Qualcomm MSM8960 MTP device.
695
696config MACH_MSM8960_FLUID
697 depends on ARCH_MSM8960
698 bool "MSM8960 FLUID"
699 help
700 Support for the Qualcomm MSM8960 FLUID device.
701
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300702config MACH_MSM8960_LIQUID
703 depends on ARCH_MSM8960
704 bool "MSM8960 LIQUID"
705 help
706 Support for the Qualcomm MSM8960 LIQUID device.
707
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700708config MACH_MSM8930_CDP
709 depends on ARCH_MSM8930
710 bool "MSM8930 CDP"
711 help
712 Support for the Qualcomm MSM8930 CDP device.
713
714config MACH_MSM8930_MTP
715 depends on ARCH_MSM8930
716 bool "MSM8930 MTP"
717 help
718 Support for the Qualcomm MSM8930 MTP device.
719
720config MACH_MSM8930_FLUID
721 depends on ARCH_MSM8930
722 bool "MSM8930 FLUID"
723 help
724 Support for the Qualcomm MSM8930 FLUID device.
725
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800726config MACH_MSM8627_CDP
727 depends on ARCH_MSM8930
728 bool "MSM8627 CDP"
729 help
730 Support for the Qualcomm MSM8627 CDP device.
731
732config MACH_MSM8627_MTP
733 depends on ARCH_MSM8930
734 bool "MSM8627 MTP"
735 help
736 Support for the Qualcomm MSM8627 MTP device.
737
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700738config MACH_MSM9615_CDP
739 depends on ARCH_MSM9615
740 bool "MSM9615 CDP"
741 help
742 Support for the Qualcomm MSM9615 CDP device.
743
744config MACH_MSM9615_MTP
745 depends on ARCH_MSM9615
746 bool "MSM9615 MTP"
747 help
748 Support for the Qualcomm MSM9615 MTP device.
749
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700750config MSM_USE_TSIF1
751 depends on ARCH_MSM8X60
752 bool "MSM8x60 use TSIF1"
753 help
754 Selects TSIF1 core to be used rather than TSIF0.
755 The two TSIF cores share the same DM configuration
756 so they cannot be used simultaneously.
757
758config MACH_APQ8064_SIM
759 depends on ARCH_APQ8064
760 bool "APQ8064 Simulator"
761 help
762 Support for the Qualcomm APQ8064 simulator.
763
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700764config MACH_APQ8064_RUMI3
765 depends on ARCH_APQ8064
766 bool "APQ8064 RUMI3"
767 help
768 Support for the Qualcomm APQ8064 RUMI3 emulator.
769
Joel King82b7e3f2012-01-05 10:03:27 -0800770config MACH_APQ8064_CDP
771 depends on ARCH_APQ8064
772 bool "APQ8064 CDP"
773 help
774 Support for the Qualcomm APQ8064 CDP device.
775
776config MACH_APQ8064_MTP
777 depends on ARCH_APQ8064
778 bool "APQ8064 MTP"
779 help
780 Support for the Qualcomm APQ8064 MTP device.
781
782config MACH_APQ8064_LIQUID
783 depends on ARCH_APQ8064
784 bool "APQ8064 LIQUID"
785 help
786 Support for the Qualcomm APQ8064 LIQUID device.
787
Joel King064bbf82012-04-01 13:23:39 -0700788config MACH_MPQ8064_CDP
789 depends on ARCH_APQ8064
790 bool "MPQ8064 CDP"
791 help
792 Support for the Qualcomm MPQ8064 CDP device.
793
Joel King11ca8202012-02-13 16:19:03 -0800794config MACH_MPQ8064_HRD
795 depends on ARCH_APQ8064
796 bool "MPQ8064 HRD"
797 help
798 Support for the Qualcomm MPQ8064 HRD device.
799
800config MACH_MPQ8064_DTV
801 depends on ARCH_APQ8064
802 bool "MPQ8064 DTV"
803 help
804 Support for the Qualcomm MPQ8064 DTV device.
805
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700806config MACH_FSM9XXX_SURF
807 depends on ARCH_FSM9XXX
808 depends on !MSM_STACKED_MEMORY
809 default y
810 bool "FSM9XXX SURF"
811 help
812 Support for the Qualcomm FSM9xxx femtocell
813 chipset based SURF evaluation board and
814 FFA board.
815
Daniel Walker4ad15e62010-05-06 13:54:17 -0700816endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800817
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700818config MSM_STACKED_MEMORY
819 bool "Stacked Memory"
820 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800821 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700822 This option is used to indicate the presence of on-die stacked
823 memory. When present this memory bank is used for a high speed
824 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800825
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700826config PHYS_OFFSET
827 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700828 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700829 default "0x80200000" if ARCH_APQ8064
830 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700831 default "0x80200000" if ARCH_MSM8930
Sathish Ambley39a1dc42012-03-19 21:46:26 -0700832 default "0x20200000" if ARCH_MSMCOPPER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700833 default "0x10000000" if ARCH_FSM9XXX
834 default "0x00200000" if !MSM_STACKED_MEMORY
835 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
836 default "0x20000000" if ARCH_QSD8X50
837 default "0x40200000" if ARCH_MSM8X60
838 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800839
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700840config KERNEL_PMEM_EBI_REGION
841 bool "Enable in-kernel PMEM region for EBI"
842 default y if ARCH_MSM8X60
Olav Hauganb800c8c2012-01-30 08:50:45 -0800843 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSMCOPPER)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700844 help
845 Enable the in-kernel PMEM allocator to use EBI memory.
846
847config KERNEL_PMEM_SMI_REGION
848 bool "Enable in-kernel PMEM region for SMI"
849 default y if ARCH_MSM8X60
850 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
851 help
852 Enable the in-kernel PMEM allocator to use SMI memory.
853
854config PMEM_GPU0
855 bool "Enable PMEM GPU0 region"
856 default y
857 depends on ARCH_QSD8X50 && ANDROID_PMEM
858 help
859 Enable the PMEM GPU0 device on SMI Memory.
860
861config MSM_AMSS_VERSION
862 int
863 default 6210 if MSM_AMSS_VERSION_6210
864 default 6220 if MSM_AMSS_VERSION_6220
865 default 6225 if MSM_AMSS_VERSION_6225
866
867choice
868 prompt "AMSS modem firmware version"
869
870 default MSM_AMSS_VERSION_6225
871
872 config MSM_AMSS_VERSION_6210
873 bool "6.2.10"
874
875 config MSM_AMSS_VERSION_6220
876 bool "6.2.20"
877
878 config MSM_AMSS_VERSION_6225
879 bool "6.2.20 + New ADSP"
880endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800881
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700882config MSM_HAS_DEBUG_UART_HS
883 bool
884 help
885 Say Y here if high speed MSM UART is present.
886
887config MSM_HAS_DEBUG_UART_HS_V14
888 bool
889 select MSM_HAS_DEBUG_UART_HS
890 help
891 Say Y here if high speed MSM UART v1.4 is present.
892
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800893config DEBUG_MSM8930_UART
894 bool "Kernel low-level debugging messages via MSM 8930 UART"
895 depends on ARCH_MSM8930 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700896 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800897 help
898 Say Y here if you want the debug print routines to direct
899 their output to the serial port on MSM 8930 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100900
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530901config MSM_DEBUG_UART_PHYS
902 hex
903 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
904 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
905 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
906 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
907 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
908 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
909 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
910 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
911
Pavel Machek6339f662009-11-02 11:48:29 +0100912choice
913 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800914 depends on DEBUG_LL
Pavel Machek6339f662009-11-02 11:48:29 +0100915
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800916 config DEBUG_MSM_UART1
917 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530918 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800919 help
920 Say Y here if you want the debug print routines to direct
921 their output to the first serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100922
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800923 config DEBUG_MSM_UART2
924 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530925 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800926 help
927 Say Y here if you want the debug print routines to direct
928 their output to the second serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100929
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800930 config DEBUG_MSM_UART3
931 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530932 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800933 help
934 Say Y here if you want the debug print routines to direct
935 their output to the third serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100936
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800937 config DEBUG_MSM8660_UART
938 bool "Kernel low-level debugging messages via MSM 8660 UART"
939 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700940 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800941 help
942 Say Y here if you want the debug print routines to direct
943 their output to the serial port on MSM 8660 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100944
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800945 config DEBUG_MSM8960_UART
946 bool "Kernel low-level debugging messages via MSM 8960 UART"
947 depends on ARCH_MSM8960
948 select DEBUG_MSM8930_UART
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700949 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800950 help
951 Say Y here if you want the debug print routines to direct
952 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700953
954 config DEBUG_MSMCOPPER_UART
955 bool "Kernel low-level debugging messages via MSM Copper UART"
956 depends on ARCH_MSMCOPPER
957 select MSM_HAS_DEBUG_UART_HS_V14
958 help
959 Say Y here if you want the debug print routines to direct
960 their output to the serial port on MSM Copper devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100961endchoice
962
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700963choice
964 prompt "Default Timer"
965 default MSM7X00A_USE_GP_TIMER
966
967 config MSM7X00A_USE_GP_TIMER
968 bool "GP Timer"
969 help
970 Low resolution timer that allows power collapse from idle.
971
972 config MSM7X00A_USE_DG_TIMER
973 bool "DG Timer"
974 help
975 High resolution timer.
976endchoice
977
978choice
979 prompt "Suspend sleep mode"
980 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
981 help
982 Allows overriding the sleep mode used. Leave at power
983 collapse suspend unless the arm9 image has problems.
984
985 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
986 bool "Power collapse suspend"
987 help
988 Lowest sleep state. Returns through reset vector.
989
990 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
991 bool "Power collapse"
992 help
993 Sleep state that returns through reset vector.
994
995 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
996 bool "Apps Sleep"
997
998 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
999 bool "Ramp down cpu clock and wait for interrupt"
1000
1001 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1002 bool "Wait for interrupt"
1003endchoice
1004
1005config MSM7X00A_SLEEP_MODE
1006 int
1007 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1008 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1009 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1010 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1011 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1012
1013choice
1014 prompt "Idle sleep mode"
1015 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1016 help
1017 Allows overriding the sleep mode used from idle. Leave at power
1018 collapse suspend unless the arm9 image has problems.
1019
1020 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1021 bool "Power collapse suspend"
1022 help
1023 Lowest sleep state. Returns through reset vector.
1024
1025 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1026 bool "Power collapse"
1027 help
1028 Sleep state that returns through reset vector.
1029
1030 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1031 bool "Apps Sleep"
1032
1033 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1034 bool "Ramp down cpu clock and wait for interrupt"
1035
1036 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1037 bool "Wait for interrupt"
1038endchoice
1039
1040config MSM7X00A_IDLE_SLEEP_MODE
1041 int
1042 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1043 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1044 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1045 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1046 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1047
1048config MSM7X00A_IDLE_SLEEP_MIN_TIME
1049 int "Minimum idle time before sleep"
1050 default 20000000
1051 help
1052 Minimum idle time in nanoseconds before entering low power mode.
1053
1054config MSM7X00A_IDLE_SPIN_TIME
1055 int "Idle spin time before cpu ramp down"
1056 default 80000
1057 help
1058 Spin time in nanoseconds before ramping down cpu clock and entering
1059 any low power state.
1060
1061menuconfig MSM_IDLE_STATS
1062 bool "Collect idle statistics"
1063 default y
1064 help
1065 Collect idle statistics and export them in proc/msm_pm_stats.
1066
1067if MSM_IDLE_STATS
1068
1069config MSM_IDLE_STATS_FIRST_BUCKET
1070 int "First bucket time"
1071 default 62500
1072 help
1073 Upper time limit in nanoseconds of first bucket.
1074
1075config MSM_IDLE_STATS_BUCKET_SHIFT
1076 int "Bucket shift"
1077 default 2
1078
1079config MSM_IDLE_STATS_BUCKET_COUNT
1080 int "Bucket count"
1081 default 10
1082
1083config MSM_SUSPEND_STATS_FIRST_BUCKET
1084 int "First bucket time for suspend"
1085 default 1000000000
1086 help
1087 Upper time limit in nanoseconds of first bucket of the
1088 histogram. This is for collecting statistics on suspend.
1089
1090endif # MSM_IDLE_STATS
1091
1092config CPU_HAS_L2_PMU
1093 bool "L2CC PMU Support"
1094 help
1095 Select this if the L2 cache controller has a Performance Monitoring Unit.
1096
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001097config HTC_HEADSET
1098 tristate "HTC 2 Wire detection driver"
1099 default n
1100 help
1101 Provides support for detecting HTC 2 wire devices, such as wired
1102 headset, on the trout platform. Can be used with the msm serial
1103 debugger, but not with serial console.
1104
1105config TROUT_BATTCHG
1106 depends on MACH_TROUT && POWER_SUPPLY
1107 default y
1108 bool "Trout battery / charger driver"
1109
1110config HTC_PWRSINK
1111 depends on MSM_SMD
1112 default n
1113 bool "HTC Power Sink Driver"
1114
1115config QSD_SVS
1116 bool "QSD Static Voltage Scaling"
1117 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1118 default y
1119 select TPS65023
1120 help
1121 Enables static voltage scaling using the TPS65023 PMIC.
1122
1123config QSD_PMIC_DEFAULT_DCDC1
1124 int "PMIC default output voltage"
1125 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1126 default 1250
1127 help
1128 This is the PMIC voltage at Linux kernel boot.
1129
1130config MSM_FIQ_SUPPORT
1131 default y
1132 bool "Enable installation of an FIQ handler."
1133
1134config MSM_SERIAL_DEBUGGER
1135 select MSM_FIQ_SUPPORT
1136 select KERNEL_DEBUGGER_CORE
1137 default n
1138 bool "FIQ Mode Serial Debugger"
1139 help
1140 The FIQ serial debugger can accept commands even when the
1141 kernel is unresponsive due to being stuck with interrupts
1142 disabled. Depends on the kernel debugger core in drivers/misc.
1143
1144config MSM_SERIAL_DEBUGGER_CONSOLE
1145 depends on MSM_SERIAL_DEBUGGER
1146 default n
1147 bool "Console on FIQ Serial Debugger port"
1148 help
1149 Enables a console so that printk messages are displayed on
1150 the debugger serial port as the occur.
Daniel Walkerbf83de42010-03-16 16:29:44 -07001151
Steve Mucklec8aabae2010-04-21 16:20:27 -07001152config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001153 default y
1154 bool "Proc-Comm RPC Interface"
1155 help
1156 Enables a lightweight communications interface to the
1157 baseband processor.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001158
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001159config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001160 bool "MSM Shared Memory Driver (SMD)"
1161 help
1162 Support for the shared memory interface between the apps
1163 processor and the baseband processor. Provides access to
1164 the "shared heap", as well as virtual serial channels
1165 used to communicate with various services on the baseband
1166 processor.
1167
1168choice
1169 prompt "MSM Shared memory interface version"
1170 depends on MSM_SMD
1171 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1172 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1173
1174 config MSM_SMD_PKG3
1175 bool
1176 prompt "Package 3"
1177
1178 config MSM_SMD_PKG4
1179 bool
1180 prompt "Package 4"
1181endchoice
1182
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001183config MSM_RPC_SDIO_XPRT
1184 depends on MSM_SDIO_AL
1185 default y
1186 bool "MSM SDIO XPRT Layer"
1187 help
1188 SDIO Transport Layer for RPC Rouer
1189
1190config MSM_RPC_SDIO_DEBUG
1191 depends on MSM_RPC_SDIO_XPRT
1192 default y
1193 bool "MSM SDIO XPRT debug support"
1194 help
1195 Support for debugging SDIO XPRT
1196
1197config MSM_SMD_DEBUG
1198 depends on MSM_SMD
1199 default y
1200 bool "MSM SMD debug support"
1201 help
1202 Support for debugging the SMD for communication
1203 between the ARM9 and ARM11
1204
1205config MSM_SDIO_AL
1206 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1207 default y
1208 tristate "SDIO-Abstraction-Layer"
1209 help
1210 Support MSM<->MDM Communication over SDIO bus.
1211 MDM SDIO-Client should have pipes support.
1212
1213config MSM_SDIO_DMUX
1214 bool "SDIO Data Mux Driver"
1215 depends on MSM_SDIO_AL
1216 default n
1217 help
1218 Support Muxed Data Channels over SDIO interface.
1219
1220config MSM_BAM_DMUX
1221 bool "BAM Data Mux Driver"
1222 depends on SPS
1223 default n
1224 help
1225 Support Muxed Data Channels over BAM interface.
1226 BAM has a limited number of pipes. This driver
1227 provides a means to support more logical channels
1228 via muxing than BAM could without muxing.
1229
1230config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001231 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001232 default y
1233 bool "MSM N-WAY SMD support"
1234 help
1235 Supports APPS-QDSP SMD communication along with
1236 normal APPS-MODEM SMD communication.
1237
1238config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001239 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001240 default y
1241 bool "MSM N-WAY SMSM support"
1242 help
1243 Supports APPS-QDSP SMSM communication along with
1244 normal APPS-MODEM SMSM communication.
1245
1246config MSM_RESET_MODEM
1247 tristate "Reset Modem Driver"
1248 depends on MSM_SMD
1249 default m
1250 help
1251 Allows the user to reset the modem through a device node.
1252
1253config MSM_SMD_LOGGING
1254 depends on MSM_SMD
1255 default y
1256 bool "MSM Shared Memory Logger"
1257 help
1258 This option exposes the shared memory logger at /dev/smem_log
1259 and a debugfs node named smem_log.
1260
1261 If in doubt, say yes.
1262
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001263config MSM_IPC_LOGGING
1264 bool "MSM Debug Logging for IPC Drivers"
1265 help
1266 This option allows the debug logging for IPC Drivers.
1267
1268 If in doubt, say no.
1269
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001270config MSM_SMD_NMEA
1271 bool "NMEA GPS Driver"
1272 depends on MSM_SMD
1273 default y
1274 help
1275 Enable this to support the NMEA GPS device.
1276
1277 If in doubt, say yes.
1278
1279config MSM_SDIO_TTY
1280 bool "SDIO TTY Driver"
1281 depends on MSM_SDIO_AL
1282 default n
1283 help
1284 Provides a TTY driver SDIO TTY
1285 This driver can be used by user space
1286 applications for passing data through the
1287 SDIO interface.
1288
1289config MSM_SMD_TTY
1290 bool "SMD TTY Driver"
1291 depends on MSM_SMD
1292 default y
1293 help
1294 Provides TTY interfaces to interact with the modem.
1295
1296 If in doubt, say yes.
1297
1298config MSM_SMD_QMI
1299 bool "SMD QMI Driver"
1300 depends on MSM_SMD
1301 default y
1302 help
1303 Manages network data connections.
1304
1305 If in doubt, say yes.
1306
1307config MSM_SMD_PKT
1308 bool "SMD Packet Driver"
1309 depends on MSM_SMD
1310 default y
1311 help
1312 Provides a binary SMD non-muxed packet port interface.
1313
1314 If in doubt, say yes.
1315
1316config MSM_SDIO_CMUX
1317 bool "SDIO CMUX Driver"
1318 depends on MSM_SDIO_AL
1319 default n
1320 help
1321 Provides a Muxed port interface over SDIO QMI
1322
1323config MSM_DSPS
1324 bool "Sensors DSPS driver"
1325 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1326 default n
1327 help
1328 Provides user-space interface to the sensors manager
1329 to turn on/off the Sensors Processor system clocks.
1330 It is the DSPS responsibility to turn on/off the sensors
1331 themself.
1332 The number of clocks and their name may vary between targets.
1333 It also triggers the PIL to load the DSPS firmware.
1334
1335config MSM_SDIO_CTL
1336 bool "SDIO CTL Driver"
1337 depends on MSM_SDIO_CMUX
1338 default n
1339 help
1340 Provides a binary SDIO control port interface.
1341
1342config MSM_ONCRPCROUTER
1343 depends on MSM_SMD
1344 default n
1345 bool "MSM ONCRPC router support"
1346 help
1347 Support for the MSM ONCRPC router for communication between
1348 the ARM9 and ARM11
1349
1350config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001351 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001352 default n
1353 bool "MSM IPC Router support"
1354 help
1355 Support for the MSM IPC Router for communication between
1356 the APPs and the MODEM
1357
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001358config MSM_IPC_ROUTER_SMD_XPRT
1359 depends on MSM_SMD
1360 depends on MSM_IPC_ROUTER
1361 default n
1362 bool "MSM SMD XPRT Layer"
1363 help
1364 SMD Transport Layer for IPC Router
1365
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001366config MSM_ONCRPCROUTER_DEBUG
1367 depends on MSM_ONCRPCROUTER
1368 default y
1369 bool "MSM debug ONCRPC router support"
1370 help
1371 Support for debugging the ONCRPC router for communication
1372 between the ARM9 and ARM11
1373
1374config MSM_RPC_LOOPBACK_XPRT
1375 depends on MSM_ONCRPCROUTER
1376 default n
1377 bool "MSM RPC local routing support"
1378 help
1379 Support for routing RPC messages between APPS clients
1380 and APPS servers. Helps in testing APPS RPC framework.
1381
1382config MSM_RPCSERVER_TIME_REMOTE
1383 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1384 default y
1385 bool "Time remote RPC server"
1386 help
1387 The time remote server receives notification of time bases and
1388 reports these events to registered callback functions.
1389
1390config MSM_RPCSERVER_WATCHDOG
1391 depends on MSM_ONCRPCROUTER
1392 default y
1393 bool "Watchdog RPC server"
1394 help
1395 The dog_keepalive server handles watchdog events.
1396
1397config MSM_RPC_WATCHDOG
1398 depends on MSM_ONCRPCROUTER
1399 default n
1400 bool "Watchdog RPC client"
1401 help
1402 The dog_keepalive client module.
1403
1404config MSM_RPC_PING
1405 depends on MSM_ONCRPCROUTER && DEBUG_FS
1406 default m
1407 bool "MSM rpc ping"
1408 help
1409 Implements MSM rpc ping test module.
1410
1411config MSM_RPC_PROC_COMM_TEST
1412 depends on DEBUG_FS && MSM_PROC_COMM
1413 default m
1414 bool "MSM rpc proc comm test"
1415 help
1416 Implements MSM rpc proc comm test module.
1417
1418config MSM_RPC_OEM_RAPI
1419 depends on MSM_ONCRPCROUTER
1420 default m
1421 bool "MSM oem rapi"
1422 help
1423 Implements MSM oem rapi client module.
1424
1425config MSM_RPCSERVER_HANDSET
1426 depends on MSM_ONCRPCROUTER
1427 default y
1428 bool "Handset events RPC server"
1429 help
1430 Support for receiving handset events like headset detect,
1431 headset switch and clamshell state.
1432
1433config MSM_RMT_STORAGE_CLIENT
1434 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1435 default n
1436 bool "Remote Storage RPC client"
1437 help
1438 Provide RPC mechanism for remote processors to access storage
1439 device on apps processor.
1440
1441config MSM_RMT_STORAGE_CLIENT_STATS
1442 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1443 default n
1444 bool "Remote storage RPC client performance statistics"
1445 help
1446 Collects performance statistics and shows this information
1447 through a debugfs file rmt_storage_stats.
1448
1449config MSM_SDIO_SMEM
1450 depends on MSM_SDIO_AL
1451 default n
1452 bool "SDIO SMEM for remote storage"
1453 help
1454 Copies data from remote MDM9K memory to local MSM8x60
1455 memory. Used by remote storage client to shadow
1456 MDM9K filesystem.
1457
1458config MSM_DALRPC
1459 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001460 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001461 help
1462 Supports RPC calls to DAL devices on remote processor cores.
1463
1464config MSM_DALRPC_TEST
1465 tristate "DAL RPC test module"
1466 depends on (MSM_DALRPC && DEBUG_FS)
1467 default m
1468 help
1469 Exercises DAL RPC calls to QDSP6.
1470
1471if CPU_FREQ_MSM
1472
1473config MSM_CPU_FREQ_SET_MIN_MAX
1474 bool "Set Min/Max CPU frequencies."
1475 default n
1476 help
1477 Allow setting min and max CPU frequencies. Sysfs can be used
1478 to override these values.
1479
1480config MSM_CPU_FREQ_MAX
1481 int "Max CPU Frequency"
1482 depends on MSM_CPU_FREQ_SET_MIN_MAX
1483 default 384000
1484
1485config MSM_CPU_FREQ_MIN
1486 int "Min CPU Frequency"
1487 depends on MSM_CPU_FREQ_SET_MIN_MAX
1488 default 245760
1489
1490endif # CPU_FREQ_MSM
1491
1492config MSM_CPU_AVS
1493 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1494 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1495 depends on ARCH_QSD8X50
1496 default n
1497 select MSM_AVS_HW
1498 help
1499 This enables the s/w control of Adaptive Voltage Scaling feature
1500 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1501 based on feedback from three ring oscillators in the CPU.
1502
1503config MSM_AVS_HW
1504 bool "Enable Adaptive Voltage Scaling (AVS)"
1505 default n
1506 help
1507 Enable AVS hardware to fine tune voltage at each frequency. The
1508 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1509 fine tune the voltages based on the feedback from the ring
1510 oscillators.
1511
1512config MSM_HW3D
1513 tristate "MSM Hardware 3D Register Driver"
1514 depends on ANDROID_PMEM
1515 default y
1516 help
1517 Provides access to registers needed by the userspace OpenGL|ES
1518 library.
1519
1520config MSM_ADSP
1521 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1522 tristate "MSM ADSP driver"
1523 depends on ANDROID_PMEM
1524 default y
1525 help
1526 Provides access to registers needed by the userspace aDSP library.
1527
1528config ADSP_RPC_VER
1529 hex
1530 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1531 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1532 depends on MSM_ADSP
1533 help
1534 Select proper ADSP RPC version
1535choice
1536 prompt "ADSP RPC version"
1537
1538 default AMSS_7X25_VERSION_2009
1539
1540 config AMSS_7X25_VERSION_2009
1541 bool "2.0.09"
1542
1543 config AMSS_7X25_VERSION_2008
1544 bool "2.0.08"
1545endchoice
1546
1547config MSM7KV2_AUDIO
1548 bool "MSM7K v2 audio"
1549 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1550 default y
1551 help
1552 Enables QDSP5V2-based audio drivers for audio playbacks and
1553 voice call.
1554
1555config MSM_ADSP_REPORT_EVENTS
1556 bool "Report modem events from the DSP"
1557 default y
1558 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1559 help
1560 Normally, only messages from the aDSP are reported to userspace.
1561 With this option, we report events from the aDSP as well.
1562
1563config MSM_QDSP6
1564 tristate "QDSP6 support"
1565 depends on ARCH_QSD8X50 && ANDROID_PMEM
1566 default y
1567 help
1568 Enable support for qdsp6. This provides audio and video functionality.
1569
1570config MSM8X60_AUDIO
1571 tristate "MSM8X60 audio support"
1572 depends on ARCH_MSM8X60 && ANDROID_PMEM
1573 default y
1574 help
1575 Enable support for qdsp6v2. This provides audio functionality.
1576
1577config MSM8X60_FTM_AUDIO_DEVICES
1578 bool "MSM8X60 audio factory test mode support"
1579 depends on MSM8X60_AUDIO
1580 help
1581 Enable support audio factory test mode devices. This is used
1582 in a production line environment.
1583
Ben Romberger45b351c2011-07-20 22:37:27 -07001584config RTAC
1585 bool "MSM8K real-time audio calibration support"
1586 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001587 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001588 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001589 audio operation
1590
1591config MSM7X27A_AUDIO
1592 bool "MSM7X27A audio support"
1593 depends on ARCH_MSM7X27A && MSM_ADSP
1594 default n
1595 help
1596 Enable support for 7x27a. This provides audio functionality.
1597
Justin Pauporea6cd2092011-06-22 16:19:45 -07001598config MSM_PROC_COMM_REGULATOR
1599 bool
1600 depends on MSM_PROC_COMM && REGULATOR
1601 help
1602 Enable regulator framework support for regulators managed by PMLIB
1603 on the modem, and controlled through proccomm calls.
1604
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001605config MSM_VREG_SWITCH_INVERTED
1606 bool "Reverse vreg switch polarity"
1607 default n
1608 help
1609 Reverses the enable and disable for vreg switch.
1610
1611config MSM_DMA_TEST
1612 tristate "MSM DMA test module"
1613 default m
1614 help
1615 Intended to be compiled as a module. Provides a device node
1616 and ioctls for testing the MSM dma system.
1617
1618config WIFI_CONTROL_FUNC
1619 bool "Enable WiFi control function abstraction"
1620 help
1621 Enables Power/Reset/Carddetect function abstraction
1622
1623config WIFI_MEM_PREALLOC
1624 depends on WIFI_CONTROL_FUNC
1625 bool "Preallocate memory for WiFi buffers"
1626 help
1627 Preallocates memory buffers for WiFi driver
1628
1629config QSD_AUDIO
1630 bool "QSD audio"
1631 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1632 default y
1633 help
1634 Provides PCM, MP3, and AAC audio playback.
1635
1636config AUDIO_AAC_PLUS
1637 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1638 bool "AAC+ Audio"
1639 default y
1640 help
1641 Provides AAC+ decoding
1642
1643config AUDIO_ENHANCED_AAC_PLUS
1644 depends on AUDIO_AAC_PLUS
1645 bool "Enhanced AAC+ Audio"
1646 default y
1647 help
1648 Provides Enhanced AAC+ decoding
1649
1650config SURF_FFA_GPIO_KEYPAD
1651 bool "MSM SURF/FFA GPIO keypad"
1652 depends on INPUT_GPIO = "y"
1653 default y
1654 help
1655 Select if the GPIO keypad is attached.
1656
1657config MSM_SLEEP_TIME_OVERRIDE
1658 bool "Allow overriding suspend/sleep time with PM module parameter"
1659 default y
1660 help
1661 Enable the module parameter sleep_time_override. Specified
1662 in units of seconds, it overwrites the normal sleep time of
1663 suspend. The feature is required for automated power management
1664 testing.
1665
1666config MSM_MEMORY_LOW_POWER_MODE
1667 bool "Control the low power modes of memory"
1668 default n
1669 help
1670 The application processor controls whether memory should enter
1671 which low power mode.
1672
1673choice
1674 prompt "Default Memory Low Power Mode during Idle"
1675 depends on MSM_MEMORY_LOW_POWER_MODE
1676 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1677 help
1678 Selects the default low power mode of the memory during idle
1679 sleep.
1680
1681 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1682 bool "Memory active"
1683
1684 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1685 bool "Memory in retention"
1686
1687 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1688 bool "Memory in deep power down"
1689endchoice
1690
1691choice
1692 prompt "Default Memory Low Power Mode during Suspend"
1693 depends on MSM_MEMORY_LOW_POWER_MODE
1694 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1695 help
1696 Selects the default low power mode of the memory during suspend
1697 sleep.
1698
1699 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1700 bool "Memory active"
1701
1702 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1703 bool "Memory in retention"
1704
1705 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1706 bool "Memory in deep power down"
1707endchoice
1708
1709choice
1710 prompt "Power management timeout action"
1711 default MSM_PM_TIMEOUT_HALT
1712 help
1713 Selects the Application Processor's action when Power Management
1714 times out waiting for Modem's handshake.
1715
1716 config MSM_PM_TIMEOUT_HALT
1717 bool "Halt the Application Processor"
1718
1719 config MSM_PM_TIMEOUT_RESET_MODEM
1720 bool "Reset the Modem Processor"
1721
1722 config MSM_PM_TIMEOUT_RESET_CHIP
1723 bool "Reset the entire chip"
1724endchoice
1725
1726config MSM_IDLE_WAIT_ON_MODEM
1727 int "Wait for Modem to become ready for idle power collapse"
1728 default 0
1729 help
1730 If Modem is not ready to handle Application Processor's request
1731 for idle power collapse, wait the number of microseconds in case
1732 Modem becomes ready soon.
1733
Matt Wagantall9274df92011-12-15 11:11:05 -08001734config MSM_RPM_REGULATOR
1735 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001736 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001737 help
1738 Compile in support for the RPM regulator driver, used for setting
1739 voltages and other parameters of the various power rails supplied
1740 by some Qualcomm PMICs.
1741
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001742config MSM_PIL
1743 bool "Peripheral image loading"
1744 select FW_LOADER
1745 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1746 default n
1747 help
1748 Some peripherals need to be loaded into memory before they can be
1749 brought out of reset.
1750
1751 Say yes to support these devices.
1752
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001753config MSM_PIL_MODEM
1754 tristate "Modem (ARM11) Boot Support"
1755 depends on MSM_PIL
1756 help
1757 Support for booting and shutting down ARM11 Modem processors.
1758
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001759config MSM_PIL_QDSP6V3
1760 tristate "QDSP6v3 (Hexagon) Boot Support"
1761 depends on MSM_PIL
1762 help
1763 Support for booting and shutting down QDSP6v3 processors (hexagon).
1764 The QDSP6 is a low power DSP used in audio software applications.
1765
Stephen Boydeb819882011-08-29 14:46:30 -07001766config MSM_PIL_QDSP6V4
1767 tristate "QDSP6v4 (Hexagon) Boot Support"
1768 depends on MSM_PIL
1769 help
1770 Support for booting and shutting down QDSP6v4 processors (hexagon).
1771 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1772 software applications.
1773
Stephen Boyd322a9922011-09-20 01:05:54 -07001774config MSM_PIL_RIVA
1775 tristate "RIVA (WCNSS) Boot Support"
1776 depends on MSM_PIL
1777 help
1778 Support for booting and shutting down the RIVA processor (WCNSS).
1779 Riva is the wireless subsystem processor used in bluetooth, wireless
1780 LAN, and FM software applications.
1781
Stephen Boydd89eebe2011-09-28 23:28:11 -07001782config MSM_PIL_TZAPPS
1783 tristate "TZApps Boot Support"
1784 depends on MSM_PIL
1785 help
1786 Support for booting and shutting down TZApps.
1787
1788 TZApps is an image that runs in the secure processor state. It is
1789 used to decrypt data and perform secure operations on the behalf of
1790 the kernel.
1791
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07001792config MSM_PIL_DSPS
1793 tristate "DSPS Boot Support"
1794 depends on MSM_PIL
1795 help
1796 Support for booting and shutting down ARM7 DSPS processors.
1797
1798 DSPS is a sensors offloading processor used for applications such
1799 as rotation detection, temperature, etc.
1800
Stephen Boyd7b973de2012-03-09 12:26:16 -08001801config MSM_PIL_VIDC
1802 tristate "Video Core Secure Boot Support"
1803 depends on MSM_PIL
1804 help
1805 Support for authenticating the video core image.
1806
Matt Wagantall292aace2012-01-26 19:12:34 -08001807config MSM_PIL_GSS
1808 tristate "GSS (Coretx A5) Boot Support"
1809 depends on MSM_PIL
1810 help
1811 Support for booting and shutting down Cortex A5 processors which run
1812 GPS subsystem firmware.
1813
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001814config MSM_SCM
1815 bool "Secure Channel Manager (SCM) support"
1816 default n
1817
1818config MSM_SUBSYSTEM_RESTART
1819 bool "MSM Subsystem Restart Driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001820 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001821 default n
1822 help
1823 This option enables the MSM subsystem restart driver, which provides
1824 a framework to handle subsystem crashes.
1825
Matt Wagantallf8020902011-08-30 21:19:23 -07001826config MSM_SYSMON_COMM
1827 bool "MSM System Monitor communication support"
1828 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1829 default y
1830 help
1831 This option adds support for MSM System Monitor library, which
1832 provides an API that may be used for notifying subsystems within
1833 the SoC about other subsystems' power-up/down state-changes.
1834
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001835config MSM_MODEM_8960
1836 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001837 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001838 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001839 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001840 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001841 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001842
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001843config MSM_LPASS_8960
1844 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001845 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001846 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001847 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001848 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001849 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001850
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001851config MSM_WCNSS_SSR_8960
1852 tristate "MSM 8960 WCNSS restart module"
1853 depends on (ARCH_MSM8960)
1854 help
1855 This option enables the WCNSS restart module for MSM8960, which
1856 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1857 into the subsystem restart framework.
1858
Rohit Vaswanid0fb4182012-03-19 18:07:59 -07001859config MSM_GSS_SSR_8064
1860 bool "MSM 8064 GSS restart driver"
1861 depends on (ARCH_APQ8064)
1862 help
1863 This option enables the gps subsystem restart driver for APQ8064, which monitors
1864 gss hardware watchdog interrupt lines and plugs into the subsystem
1865 restart and PIL drivers.
1866
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001867config SCORPION_Uni_45nm_BUG
1868 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1869 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1870 default y
1871 help
1872 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1873 invalidating the Branch Predictor Array by Modified Virtual Address can
1874 create invalid entries in the TLB with the wrong ASID values on Scorpion
1875 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1876 workaround for Scorpion Uniprocessor 45nm cores.
1877
1878 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1879
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001880config MSM_BUSPM_DEV
1881 tristate "MSM Bus Performance Monitor Kernel Module"
1882 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1883 default m
1884 help
1885 This kernel module is used to mmap() hardware registers for the
1886 performance monitors, counters, etc. The module can also be used to
1887 allocate physical memory which is used by bus performance hardware to
1888 dump performance data.
1889
Mona Hossain11c03ac2011-10-26 12:42:10 -07001890config MSM_TZ_LOG
1891 tristate "MSM Trust Zone (TZ) Log Driver"
1892 depends on DEBUG_FS
1893 help
1894 This option enables a driver with a debugfs interface for messages
1895 produced by the Secure code (Trust zone). These messages provide
1896 diagnostic information about TZ operation.
1897
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001898config MSM_RPM_LOG
1899 tristate "MSM Resource Power Manager Log Driver"
1900 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001901 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001902 default n
1903 help
1904 This option enables a driver which can read from a circular buffer
1905 of messages produced by the RPM. These messages provide diagnostic
1906 information about RPM operation. The driver outputs the messages
1907 via a debugfs node.
1908
1909config MSM_RPM_STATS_LOG
1910 tristate "MSM Resource Power Manager Stat Driver"
1911 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001912 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001913 default n
1914 help
1915 This option enables a driver which reads RPM messages from a shared
1916 memory location. These messages provide statistical information about
1917 the low power modes that RPM enters. The drivers outputs the message
1918 via a debugfs node.
1919
1920config MSM_IOMMU
1921 bool "MSM IOMMU Support"
Joel King41d594e2011-10-14 13:18:20 -07001922 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_APQ8064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001923 select IOMMU_API
1924 default n
1925 help
1926 Support for the IOMMUs found on certain Qualcomm SOCs.
1927 These IOMMUs allow virtualization of the address space used by most
1928 cores within the multimedia subsystem.
1929
1930 If unsure, say N here.
1931
1932config IOMMU_PGTABLES_L2
1933 bool "Allow SMMU page tables in the L2 cache (Experimental)"
1934 depends on MSM_IOMMU=y
1935 depends on MMU
1936 depends on CPU_DCACHE_DISABLE=n
1937 depends on SMP
1938 default y
1939 help
1940 Improves TLB miss latency at the expense of potential L2 pollution.
1941 However, with large multimedia buffers, the TLB should mostly contain
1942 section mappings and TLB misses should be quite infrequent.
1943 Most people can probably say Y here.
1944
1945config MSM_DIRECT_SCLK_ACCESS
1946 bool "Direct access to the SCLK timer"
1947 default n
1948
1949config IOMMU_API
1950 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001951
Gregory Beanab78cde2010-09-01 16:26:12 -07001952config MSM_GPIOMUX
1953 bool
1954
Gregory Bean1963a2a2010-08-28 10:05:44 -07001955config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001956 bool
1957
1958config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07001959 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001960
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001961config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001962 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001963
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001964config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001965 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001966
Matt Wagantall88b86312012-01-31 16:53:03 -08001967config MSM_PM
1968 depends on PM
1969 bool
1970
1971config MSM_PM2
1972 depends on PM
1973 bool
1974
1975config MSM_PM8X60
1976 depends on PM
1977 bool
1978
1979config MSM_NOPM
1980 default y if !PM
1981 bool
1982
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001983config MSM_BUS_SCALING
1984 bool "Bus scaling driver"
1985 default n
1986
Gagan Mac85c70492011-06-10 16:07:47 -06001987config MSM_BUS_RPM_MULTI_TIER_ENABLED
1988 bool "RPM Multi-tiering Configuration"
1989 depends on MSM_BUS_SCALING
1990
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001991config MSM_WATCHDOG
1992 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07001993 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001994 help
1995 This enables the watchdog as is present on 8x60. Currently we use
1996 core 0's watchdog, and reset the entire SoC if it times out. It does
1997 not run during the bootup process, so it will not catch any early
1998 lockups.
1999
2000config MSM_DLOAD_MODE
2001 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07002002 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002003 default n
2004 help
2005 This makes the SoC enter download mode when it resets
2006 due to a kernel panic. Note that this doesn't by itself
2007 make the kernel reboot on a kernel panic - that must be
2008 enabled via another mechanism.
2009
Pratik Patel17f3b822011-11-21 12:41:47 -08002010config MSM_JTAG
2011 bool "JTAG debug and trace support"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002012 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002013 Add additional support for JTAG kernel debugging and tracing.
Pratik Patel7831c082011-06-08 21:44:37 -07002014
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002015config MSM_ETM
2016 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002017 depends on ARCH_MSM8X60
2018 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002019 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002020 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002021
2022config MSM_QDSS
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002023 bool "Qualcomm Debug Subsystem"
Pratik Patel17f3b822011-11-21 12:41:47 -08002024 select MSM_JTAG
Pratik Patel7831c082011-06-08 21:44:37 -07002025 help
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002026 Enables support for Qualcomm Debug Subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002027
Pratik Patel29cba152012-01-03 11:40:26 -08002028config MSM_QDSS_ETM_DEFAULT_ENABLE
2029 bool "Turn on QDSS ETM Tracing by Default"
2030 depends on MSM_QDSS
2031 help
2032 Turns on QDSS ETM tracing by default. Otherwise, tracing is
2033 disabled by default but can be enabled by other means.
2034
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002035config MSM_SLEEP_STATS
2036 bool "Enable exporting of MSM sleep stats to userspace"
2037 depends on CPU_IDLE
2038 default n
2039
Lynus Vazdde09ee2012-01-05 13:28:22 +05302040config MSM_SLEEP_STATS_DEVICE
2041 bool "Enable exporting of MSM sleep device stats to userspace"
2042
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302043config MSM_RUN_QUEUE_STATS
2044 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
2045 default y
2046
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002047config MSM_STANDALONE_POWER_COLLAPSE
2048 bool "Enable standalone power collapse"
2049 default n
2050
2051config MSM_GSBI9_UART
2052 bool "Enable GSBI9 UART device"
2053 default n
2054 help
2055 This enables GSBI9 configured into UART.
2056
2057config MSM_SHARED_GPIO_FOR_UART2DM
2058 bool "Use shared GPIOs into UART mode"
2059 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2060 help
2061 This option configures GPIO muxed with SDC4/MMC3
2062 8-bit mode into UART mode. It is used for serial
2063 console on UART2DM. Say Y if you want to have
2064 serial console on UART2DM.
2065
2066config MSM_SHOW_RESUME_IRQ
2067 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002068 depends on (ARM_GIC || PMIC8058)
2069 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002070 default n
2071 help
2072 This option logs wake up interrupts that have triggered just before
2073 the resume loop unrolls. Say Y if you want to debug why the system
2074 resumed.
2075
2076config BT_MSM_PINTEST
2077 tristate "MSM Bluetooth Pin Connectivity Test"
2078 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2079 default n
2080 help
2081 Bluetooth MSM Pin Connectivity test module.
2082 This driver provides support for verifying the MSM to BT pin
2083 connectivity.
2084
2085config MSM_FAKE_BATTERY
2086 depends on POWER_SUPPLY
2087 default n
2088 bool "MSM Fake Battery"
2089 help
2090 Enables MSM fake battery driver.
2091
2092config MSM_QDSP6_APR
2093 bool "Audio QDSP6 APR support"
2094 depends on MSM_SMD
2095 default n
2096 help
2097 Enable APR IPC protocol support between
2098 application processor and QDSP6. APR is
2099 used by audio driver to configure QDSP6's
2100 ASM, ADM and AFE.
2101
2102
2103config MSM_AUDIO_QDSP6
2104 bool "QDSP6 HW Audio support"
2105 select SND_SOC_MSM_QDSP6_INTF
2106 default n
2107 help
2108 Enable HW audio support in QDSP6.
2109 QDSP6 can support HW encoder & decoder and audio processing
2110
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002111config MSM_ULTRASOUND
2112 bool "MSM ultrasound support"
2113 depends on MSM_AUDIO_QDSP6
2114 help
2115 Enable support for qdsp6/ultrasound.
2116
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002117config MSM_RPC_VIBRATOR
2118 bool "RPC based MSM Vibrator Support"
2119 depends on MSM_ONCRPCROUTER
2120 help
2121 Enable the vibrator support on MSM over RPC. The vibrator
2122 is connected on the PMIC. Say Y if you want to enable this
2123 feature.
2124
2125config PM8XXX_RPC_VIBRATOR
2126 bool "RPC based Vibrator on PM8xxx PMICs"
2127 depends on MSM_RPC_VIBRATOR
2128 help
2129 Enable the vibrator support on MSM over RPC. The vibrator
2130 is connected on the PM8XXX PMIC. Say Y if you want to enable
2131 this feature.
2132
2133config MSM_SPM_V1
2134 bool "Driver support for SPM Version 1"
2135 help
2136 Enables the support for Version 1 of the SPM driver. SPM hardware is
2137 used to manage the processor power during sleep. The driver allows
2138 configuring SPM to allow different power modes.
2139
2140config MSM_SPM_V2
2141 bool "Driver support for SPM Version 2"
2142 help
2143 Enables the support for Version 2 of the SPM driver. SPM hardware is
2144 used to manage the processor power during sleep. The driver allows
2145 configuring SPM to allow different power modes.
2146
2147config MSM_L2_SPM
2148 bool "SPM support for L2 cache"
2149 depends on MSM_SPM_V2
2150 help
2151 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2152 control of L2 cache low power mode with a Subsystem Power manager.
2153 Enabling this driver allows configuring L2 SPM for low power modes
2154 on supported chipsets.
2155
Laura Abbott2d1760b2011-09-29 21:31:24 -07002156config MSM_MULTIMEDIA_USE_ION
2157 bool "Multimedia suport using Ion"
2158 depends on ION_MSM
2159 help
2160 Enable support for multimedia drivers using Ion for buffer management
2161 instead of pmem. Selecting this may also involve userspace
2162 dependencies as well.
2163
Laura Abbottad340ff2012-01-04 14:23:48 -08002164config MSM_RTB
2165 bool "Register tracing"
2166 help
2167 Add support for logging different events to a small uncached
2168 region. This is designed to aid in debugging reset cases where the
2169 caches may not be flushed before the target resets.
2170
2171config MSM_RTB_SEPARATE_CPUS
2172 bool "Separate entries for each cpu"
2173 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002174 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002175 help
2176 Under some circumstances, it may be beneficial to give dedicated space
2177 for each cpu to log accesses. Selecting this option will log each cpu
2178 separately. This will guarantee that the last acesses for each cpu
2179 will be logged but there will be fewer entries per cpu
2180
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002181config MSM_CACHE_ERP
2182 bool "Cache / CPU error reporting"
2183 depends on ARCH_MSM_KRAIT
2184 help
2185 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2186 log. Enabling this feature can be used as a system debugging technique
2187 if cache corruption is suspected. Cache error statistics will also be
2188 reported in /proc/cpu/msm_cache_erp.
2189
2190 For production builds, you should probably say 'N' here.
2191
2192config MSM_L1_ERR_PANIC
2193 bool "Panic on L1 cache / TLB errors"
2194 depends on MSM_CACHE_ERP
2195 help
2196 To cause the kernel to panic whenever an L1 cache or TLB error is
2197 detected, say 'Y' here. This may be useful as a debugging technique if
2198 general system instability is suspected.
2199
2200 For production builds, you should probably say 'N' here.
2201
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002202config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2203 bool "Report L2 master port slave/decode errors in kernel log"
2204 depends on MSM_CACHE_ERP
2205 help
2206 Master port errors can occur when a memory request is not properly
2207 handled by the destination slave. This can occur if the destination
2208 register does not exist or is inaccessible due to security
2209 restrictions or (in some cases) clock configuration. Enabling this
2210 option will cause a backtrace to be printed to the kernel log whenever
2211 such an error is encountered. Note that the error is reported as an
2212 interrupt rather than as an exception, meaning that the backtrace may
2213 have some skid. This option may help with debugging, though production
2214 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002215
2216config MSM_L2_ERP_PORT_PANIC
2217 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002218 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002219 help
2220 Master port errors can occur when a memory request is not properly
2221 handled by the destination slave. Enable this option to catch drivers
2222 which attempt to access bad areas of the address space, or access
2223 hardware registers in an improper state (such as certain clocks not
2224 being on). This option may help with debugging, though production
2225 builds should probably say 'N' here.
2226
2227config MSM_L2_ERP_1BIT_PANIC
2228 bool "Panic on recoverable L2 soft errors"
2229 depends on MSM_CACHE_ERP
2230 help
2231 Enable this option to cause a kernel panic whenever the L2 cache
2232 encounters a single-bit (correctable) soft error. This option should
2233 only be enabled when doing low-level debugging where cache corruption
2234 is suspected.
2235
2236 For production builds, you should definitely say 'N' here.
2237
2238config MSM_L2_ERP_2BIT_PANIC
2239 bool "Panic on unrecoverable L2 soft errors"
2240 depends on MSM_CACHE_ERP
2241 help
2242 Enable this option to cause a kernel panic whenever the L2 cache
2243 encounters a double-bit (non-correctable) soft error. Debug builds
2244 will likely benefit from having this option enabled to catch cache
2245 problems as soon as possible.
2246
2247 For production builds, it may be acceptable to say 'N' here, since
2248 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002249
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002250config MSM_DCVS
2251 bool "Use MSM DCVS for CPU/GPU Frequency control"
2252 depends on MSM_SCM
2253 help
2254 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2255 The DCVS manager allows idle driver to feed the idle information to the
2256 algorithm and the algorithm returns a frequency for the core which is
2257 passed to the frequency change driver.
2258
Taniya Dasc43e6872012-03-21 16:41:14 +05302259config HAVE_ARCH_HAS_CURRENT_TIMER
2260 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002261
2262config MSM_CACHE_DUMP
2263 bool "Cache dumping support"
2264 help
2265 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2266 This allows for analysis of the caches in case cache corruption is
2267 suspected.
2268
Laura Abbott7b637362012-03-29 16:43:49 -07002269config MSM_CACHE_DUMP_ON_PANIC
2270 bool "Dump caches on panic"
2271 depends on MSM_CACHE_DUMP
2272 help
2273 By default, the caches are flushed on panic. This means that trying to
2274 look at them in a RAM dump will give useless data. Select this if you
2275 want to dump the L1 and L2 caches on panic before any flush occurs.
2276 If unsure, say N
2277
Jack Phamccbbfab2012-04-09 19:50:20 -07002278config MSM_HSIC_SYSMON
2279 tristate "MSM HSIC system monitor driver"
2280 depends on USB
2281 help
2282 Add support for bridging with the system monitor interface of MDM
2283 over HSIC. This driver allows the local system monitor to
2284 communicate with the remote system monitor interface.
2285
2286config MSM_HSIC_SYSMON_TEST
2287 tristate "MSM HSIC system monitor bridge test"
2288 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2289 help
2290 Enable the test hook for the Qualcomm system monitor HSIC driver.
2291 This will create a debugfs file entry named "hsic_sysmon_test" which
2292 can be read and written to send character data to the sysmon port of
2293 the modem over USB.
2294
Brian Swetland9e73c842007-11-26 04:12:13 -08002295endif