blob: 27db4a5676b972e8ba1f0dd1431f27bcecadd08a [file] [log] [blame]
Brian Swetland1637de02008-09-09 07:13:33 -07001if ARCH_MSM
Brian Swetland9e73c842007-11-26 04:12:13 -08002
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -07003menu "MSM SoC Type"
Daniel Walkerbf83de42010-03-16 16:29:44 -07004
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07005config ARCH_MSM7X01A
Daniel Walkerbf83de42010-03-16 16:29:44 -07006 bool "MSM7x00A / MSM7x01A"
7 select ARCH_MSM_ARM11
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07008 select MSM_VIC
Daniel Walkerbf83de42010-03-16 16:29:44 -07009 select CPU_V6
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070010 select MSM_REMOTE_SPINLOCK_SWP
Matt Wagantall88b86312012-01-31 16:53:03 -080011 select MSM_PM if PM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070012
13config ARCH_MSM7X25
14 bool "MSM7x25"
15 select ARCH_MSM_ARM11
16 select MSM_VIC
17 select CPU_V6
18 select MSM_REMOTE_SPINLOCK_SWP
Taniya Dasbe561a02011-10-12 09:53:11 +053019 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -080020 select MSM_PM if PM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070021
22config ARCH_MSM7X27
23 bool "MSM7x27"
24 select ARCH_MSM_ARM11 if MSM_SOC_REV_NONE
25 select ARCH_HAS_BARRIERS if MSM_SOC_REV_NONE
26 select ARCH_MSM_CORTEX_A5 if MSM_SOC_REV_A
27 select MSM_VIC
28 select CPU_V6 if MSM_SOC_REV_NONE
29 select CPU_V7 if MSM_SOC_REV_A
30 select MSM_REMOTE_SPINLOCK_SWP if MSM_SOC_REV_NONE
31 select MSM_GPIOMUX
32 select REGULATOR
Taniya Dasbe561a02011-10-12 09:53:11 +053033 select MULTI_IRQ_HANDLER
Pankaj Kumar75c86fd2011-10-01 18:51:09 +053034 select MSM_PROC_COMM_REGULATOR
Laura Abbott1fbd2e62011-12-18 10:26:46 -080035 select CLEANCACHE
36 select QCACHE
Matt Wagantall88b86312012-01-31 16:53:03 -080037 select MSM_PM2 if PM
Daniel Walkerbf83de42010-03-16 16:29:44 -070038
Daniel Walker7b521612010-05-06 12:44:57 -070039config ARCH_MSM7X30
40 bool "MSM7x30"
41 select ARCH_MSM_SCORPION
Daniel Walker7b521612010-05-06 12:44:57 -070042 select MSM_VIC
43 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070044 select MSM_REMOTE_SPINLOCK_DEKKERS
45 select ARCH_SPARSEMEM_ENABLE
Laura Abbott78593b52011-09-26 18:48:14 -070046 select ARCH_HAS_HOLES_MEMORYMODEL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070047 select MEMORY_HOTPLUG
48 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -080049 select ARCH_ENABLE_MEMORY_HOTPLUG
50 select ARCH_ENABLE_MEMORY_HOTREMOVE
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070051 select MIGRATION
52 select ARCH_MEMORY_PROBE
53 select ARCH_MEMORY_REMOVE
Gregory Beanab78cde2010-09-01 16:26:12 -070054 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070055 select RESERVE_FIRST_PAGE
56 select MSM_DALRPC
57 select MSM_SPM_V1
58 select REGULATOR
Justin Paupore637a25d2011-07-14 17:11:04 -070059 select MSM_PROC_COMM_REGULATOR
Taniya Dasbae99fb2011-10-12 09:55:13 +053060 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -080061 select MSM_PM2 if PM
Daniel Walker7b521612010-05-06 12:44:57 -070062
Daniel Walker4ad15e62010-05-06 13:54:17 -070063config ARCH_QSD8X50
64 bool "QSD8X50"
65 select ARCH_MSM_SCORPION
Daniel Walker4ad15e62010-05-06 13:54:17 -070066 select MSM_VIC
67 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070068 select MSM_REMOTE_SPINLOCK_LDREX
69 select CPU_USE_DOMAINS
70 select EMULATE_DOMAIN_MANAGER_V7
Gregory Beanab78cde2010-09-01 16:26:12 -070071 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070072 select MSM_DALRPC
Matt Wagantall88b86312012-01-31 16:53:03 -080073 select MSM_PM2 if PM
Daniel Walker46fe5f22010-08-18 11:00:25 -070074
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070075config ARCH_MSM8X60
76 bool "MSM8X60"
Jeff Ohlsteine14411d2010-11-30 13:06:36 -080077 select ARCH_MSM_SCORPIONMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070078 select SMP_PARALLEL_START if SMP
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070079 select ARM_GIC
80 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070081 select MSM_REMOTE_SPINLOCK_LDREX
82 select ARCH_REQUIRE_GPIOLIB
83 select MSM_ADM3
84 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -080085 select MSM_RPM_REGULATOR
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070086 select MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070087 select MSM_PIL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070088 select ARCH_HAS_CPU_IDLE_WAIT
89 select MSM_DIRECT_SCLK_ACCESS
90 select MSM_RPM
91 select MSM_XO
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070092 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070093 select MSM_BUS_SCALING
94 select MSM_SECURE_IO
95 select MSM_DALRPC
96 select MSM_QDSP6_APR
97 select MSM_NATIVE_RESTART
98 select ARCH_INLINE_SPIN_TRYLOCK
99 select ARCH_INLINE_SPIN_TRYLOCK_BH
100 select ARCH_INLINE_SPIN_LOCK
101 select ARCH_INLINE_SPIN_LOCK_BH
102 select ARCH_INLINE_SPIN_LOCK_IRQ
103 select ARCH_INLINE_SPIN_LOCK_IRQSAVE
104 select ARCH_INLINE_SPIN_UNLOCK
105 select ARCH_INLINE_SPIN_UNLOCK_BH
106 select ARCH_INLINE_SPIN_UNLOCK_IRQ
107 select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
108 select ARCH_INLINE_READ_TRYLOCK
109 select ARCH_INLINE_READ_LOCK
110 select ARCH_INLINE_READ_LOCK_BH
111 select ARCH_INLINE_READ_LOCK_IRQ
112 select ARCH_INLINE_READ_LOCK_IRQSAVE
113 select ARCH_INLINE_READ_UNLOCK
114 select ARCH_INLINE_READ_UNLOCK_BH
115 select ARCH_INLINE_READ_UNLOCK_IRQ
116 select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
117 select ARCH_INLINE_WRITE_TRYLOCK
118 select ARCH_INLINE_WRITE_LOCK
119 select ARCH_INLINE_WRITE_LOCK_BH
120 select ARCH_INLINE_WRITE_LOCK_IRQ
121 select ARCH_INLINE_WRITE_LOCK_IRQSAVE
122 select ARCH_INLINE_WRITE_UNLOCK
123 select ARCH_INLINE_WRITE_UNLOCK_BH
124 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
125 select CPU_HAS_L2_PMU
126 select MSM_SPM_V1
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530127 select MSM_SCM if SMP
128 select MULTI_IRQ_HANDLER
Laura Abbott46505f62011-11-02 18:06:55 -0700129 select MSM_MULTIMEDIA_USE_ION
Matt Wagantall88b86312012-01-31 16:53:03 -0800130 select MSM_PM8X60 if PM
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700131
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800132config ARCH_MSM8960
133 bool "MSM8960"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700134 select ARCH_MSM_KRAITMP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800135 select ARM_GIC
136 select CPU_V7
137 select MSM_V2_TLMM
138 select MSM_GPIOMUX
139 select MSM_SCM if SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700140 select MSM_DIRECT_SCLK_ACCESS
141 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -0800142 select MSM_RPM_REGULATOR
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700143 select MSM_RPM
144 select MSM_XO
145 select MSM_QDSP6_APR
146 select MSM_PIL
147 select MSM_AUDIO_QDSP6 if SND_SOC
148 select CPU_HAS_L2_PMU
149 select MSM_SPM_V2
150 select MSM_L2_SPM
151 select MSM_NATIVE_RESTART
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700152 select DONT_MAP_HOLE_AFTER_MEMBANK0
153 select MSM_REMOTE_SPINLOCK_SFPB
154 select ARCH_POPULATES_NODE_MAP
155 select ARCH_SPARSEMEM_ENABLE
156 select ARCH_HAS_HOLES_MEMORYMODEL
Larry Basselb8d61022012-02-24 10:49:45 -0800157 select ENABLE_DMM
158 select MEMORY_HOTPLUG if ENABLE_DMM
159 select MEMORY_HOTREMOVE if ENABLE_DMM
160 select ARCH_ENABLE_MEMORY_HOTPLUG if ENABLE_DMM
161 select ARCH_ENABLE_MEMORY_HOTREMOVE if ENABLE_DMM
162 select MIGRATION if ENABLE_DMM
163 select ARCH_MEMORY_PROBE if ENABLE_DMM
164 select ARCH_MEMORY_REMOVE if ENABLE_DMM
165 select FIX_MOVABLE_ZONE if ENABLE_DMM
Larry Basseld4d82c92011-12-07 09:52:49 -0800166 select CLEANCACHE
167 select QCACHE
Laura Abbott6d61a912011-10-27 16:44:14 -0700168 select MSM_MULTIMEDIA_USE_ION
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530169 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800170 select MSM_PM8X60 if PM
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700171
172config ARCH_MSM8930
173 bool "MSM8930"
174 select ARCH_MSM_KRAITMP
175 select ARM_GIC
176 select CPU_V7
177 select MSM_V2_TLMM
178 select MSM_GPIOMUX
179 select MSM_SCM if SMP
180 select MSM_DIRECT_SCLK_ACCESS
181 select REGULATOR
David Collins5779cea2012-01-05 15:09:21 -0800182 select MSM_RPM_REGULATOR
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700183 select MSM_RPM
184 select MSM_XO
185 select MSM_QDSP6_APR
186 select MSM_PIL
187 select MSM_AUDIO_QDSP6 if SND_SOC
188 select CPU_HAS_L2_PMU
189 select MSM_SPM_V2
190 select MSM_L2_SPM
191 select MSM_NATIVE_RESTART
192 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600193 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700194 select ARCH_POPULATES_NODE_MAP
195 select ARCH_SPARSEMEM_ENABLE
196 select ARCH_HAS_HOLES_MEMORYMODEL
Larry Basselb8d61022012-02-24 10:49:45 -0800197 select ENABLE_DMM
198 select MEMORY_HOTPLUG if ENABLE_DMM
199 select MEMORY_HOTREMOVE if ENABLE_DMM
200 select ARCH_ENABLE_MEMORY_HOTPLUG if ENABLE_DMM
201 select ARCH_ENABLE_MEMORY_HOTREMOVE if ENABLE_DMM
202 select MIGRATION if ENABLE_DMM
203 select ARCH_MEMORY_PROBE if ENABLE_DMM
204 select ARCH_MEMORY_REMOVE if ENABLE_DMM
205 select FIX_MOVABLE_ZONE if ENABLE_DMM
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +0200206 select MSM_ULTRASOUND
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530207 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800208 select MSM_PM8X60 if PM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700209
210config ARCH_APQ8064
211 bool "APQ8064"
212 select ARCH_MSM_KRAITMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700213 select MSM_V2_TLMM
214 select ARM_GIC
215 select CPU_V7
216 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700217 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600218 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800219 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800220 select MSM_QDSP6_APR
221 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530222 select MULTI_IRQ_HANDLER
Praveen Chidambaram78499012011-11-01 17:15:17 -0600223 select MSM_RPM
224 select MSM_SPM_V2
225 select MSM_L2_SPM
Matt Wagantall88b86312012-01-31 16:53:03 -0800226 select MSM_PM8X60 if PM
Neil Leeder814d3d32012-01-19 17:21:43 -0500227 select CPU_HAS_L2_PMU
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700228
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700229config ARCH_MSMCOPPER
230 bool "MSM Copper"
231 select ARCH_MSM_KRAITMP
232 select MSM_V2_TLMM
233 select ARM_GIC
234 select CPU_V7
235 select MSM_SCM if SMP
236 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530237 select MULTI_IRQ_HANDLER
Olav Hauganb800c8c2012-01-30 08:50:45 -0800238 select MSM_MULTIMEDIA_USE_ION
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700239
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700240config ARCH_FSM9XXX
241 bool "FSM9XXX"
242 select ARCH_MSM_SCORPION
243 select MSM_VIC
244 select CPU_V7
245 select MSM_REMOTE_SPINLOCK_LDREX
246 select FSM9XXX_TLMM
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530247 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800248 select MSM_DALRPC
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800249
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700250config ARCH_MSM9615
251 bool "MSM9615"
252 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530253 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700254 select ARCH_MSM_CORTEX_A5
255 select CPU_V7
256 select MSM_V2_TLMM
257 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600258 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600259 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700260 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800261 select REGULATOR
262 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530263 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800264 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800265 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700266 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800267 select MSM_QDSP6_APR
268 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800269 select FIQ
Matt Wagantall9274df92011-12-15 11:11:05 -0800270
Taniya Das43bcdd62011-12-02 17:33:27 +0530271config ARCH_MSM8625
272 bool "MSM8625"
273 select ARCH_MSM_CORTEX_A5
274 select CPU_V7
275 select MSM_GPIOMUX
276 select ARM_GIC
277 select ARCH_MSM_CORTEXMP
278 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530279 select ARM_TICKET_LOCKS
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700280endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700281
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700282choice
283 prompt "MSM SoC Revision"
284 default MSM_SOC_REV_NONE
285config MSM_SOC_REV_NONE
286 bool "N/A"
287 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
288 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walker4ad15e62010-05-06 13:54:17 -0700289config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700290 bool "Rev. A"
291 select ARCH_MSM7X27A if ARCH_MSM7X27
292endchoice
Daniel Walker4ad15e62010-05-06 13:54:17 -0700293
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700294config MSM_KRAIT_TBB_ABORT_HANDLER
295 bool "Krait TBB/TBH data abort handler"
296 depends on ARCH_MSM_KRAIT
297 depends on ARM_THUMB
298 help
299 Certain early samples of the Krait processor may generate data
300 aborts for TBB / TBH instructions that fail their condition code
301 checks. Enabling this option will ignore these erroneous data aborts,
302 at the expense of a very small performance penalty.
303
304 If unsure, say N.
305
Daniel Walker4ad15e62010-05-06 13:54:17 -0700306config ARCH_MSM_ARM11
307 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700308
Daniel Walker4ad15e62010-05-06 13:54:17 -0700309config ARCH_MSM_SCORPION
Daniel Walkerbf83de42010-03-16 16:29:44 -0700310 bool
311
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700312config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700313 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800314 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700315
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700316config MSM_SMP
317 bool
318
319config ARCH_MSM_SCORPIONMP
320 select ARCH_MSM_SCORPION
321 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530322 select HAVE_ARCH_HAS_CURRENT_TIMER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700323 bool
324
325config ARCH_MSM_KRAITMP
326 select ARCH_MSM_KRAIT
327 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530328 select HAVE_ARCH_HAS_CURRENT_TIMER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700329 bool
330
Taniya Das43bcdd62011-12-02 17:33:27 +0530331config ARCH_MSM_CORTEXMP
332 select MSM_SMP
333 bool
334
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700335config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800336 bool
Rohit Vaswaniaf7ae272012-01-09 10:28:57 -0800337 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700338
339config ARCH_MSM7X27A
340 bool
341 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700342 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530343 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530344 select ARM_GIC
345 select ARCH_MSM_CORTEXMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700346
Gregory Beanf9f3d312010-04-30 22:06:50 -0700347config MSM_VIC
348 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700349
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700350config MSM_RPM
351 bool "Resource Power Manager"
352 select MSM_MPM
353
354config MSM_MPM
355 bool "Modem Power Manager"
356
357config MSM_XO
358 bool
359
360config MSM_REMOTE_SPINLOCK_DEKKERS
361 bool
362config MSM_REMOTE_SPINLOCK_SWP
363 bool
364config MSM_REMOTE_SPINLOCK_LDREX
365 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600366config MSM_REMOTE_SPINLOCK_SFPB
367 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700368config MSM_ADM3
369 bool
370
371menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700372
373config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700374 depends on ARCH_MSM7X01A
375 depends on MSM_STACKED_MEMORY
376 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700377 bool "Halibut Board (QCT SURF7201A)"
378 help
379 Support for the Qualcomm SURF7201A eval board.
380
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700381config MACH_MSM7201A_SURF
382 depends on ARCH_MSM7X01A
383 depends on MSM_STACKED_MEMORY
384 default y
385 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700386 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700387 Support for the Qualcomm MSM7201A SURF eval board.
388
389config MACH_MSM7201A_FFA
390 depends on ARCH_MSM7X01A
391 depends on MSM_STACKED_MEMORY
392 default y
393 bool "MSM7201A FFA"
394 help
395 Support for the Qualcomm MSM7201A FFA eval board.
396
397config MACH_TROUT
398 depends on ARCH_MSM7X01A
399 depends on MSM_STACKED_MEMORY
400 default y
401 bool "Trout"
402
403config MACH_MSM7X27_SURF
404 depends on ARCH_MSM7X27
405 depends on !MSM_STACKED_MEMORY
406 default y
407 bool "MSM7x27 SURF"
408 help
409 Support for the Qualcomm MSM7x27 SURF eval board.
410
411config MACH_MSM7X27_FFA
412 depends on ARCH_MSM7X27
413 depends on !MSM_STACKED_MEMORY
414 default y
415 bool "MSM7x27 FFA"
416 help
417 Support for the Qualcomm MSM7x27 FFA eval board.
418
419config MACH_MSM7X27A_RUMI3
420 depends on ARCH_MSM7X27A
421 depends on !MSM_STACKED_MEMORY
422 default y
423 bool "MSM7x27A RUMI3"
424 help
425 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
426
427config MACH_MSM7X27A_SURF
428 depends on ARCH_MSM7X27A
429 depends on !MSM_STACKED_MEMORY
430 default y
431 bool "MSM7x27A SURF"
432 help
433 Support for the Qualcomm MSM7x27A SURF.
434
435config MACH_MSM7X27A_FFA
436 depends on ARCH_MSM7X27A
437 depends on !MSM_STACKED_MEMORY
438 default y
439 bool "MSM7x27A FFA"
440 help
441 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700442
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530443config MACH_MSM7625A_SURF
444 depends on ARCH_MSM7X27A
445 depends on !MSM_STACKED_MEMORY
446 default y
447 bool "MSM7625A SURF"
448 help
449 Support for the Qualcomm MSM7625A SURF.
450
451config MACH_MSM7625A_FFA
452 depends on ARCH_MSM7X27A
453 depends on !MSM_STACKED_MEMORY
454 default y
455 bool "MSM7625A FFA"
456 help
457 Support for the Qualcomm MSM7625A FFA.
458
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530459config MACH_MSM7627A_QRD1
460 depends on ARCH_MSM7X27A
461 depends on !MSM_STACKED_MEMORY
462 default y
463 bool "MSM7627A QRD1"
464 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530465 Support for the Qualcomm MSM7627A Reference Design.
466
467config MACH_MSM7627A_QRD3
468 depends on ARCH_MSM7X27A
469 depends on !MSM_STACKED_MEMORY
470 default y
471 bool "MSM7627A QRD3"
472 help
473 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530474
Taniya Dasc868a2e2012-01-03 10:18:47 +0530475config MACH_MSM7627A_EVB
476 depends on ARCH_MSM7X27A
477 depends on !MSM_STACKED_MEMORY
478 default y
479 bool "MSM7627A EVB"
480 help
481 Support for the Qualcomm MSM7627A Reference Design.
482
Taniya Das43bcdd62011-12-02 17:33:27 +0530483config MACH_MSM8625_RUMI3
484 depends on ARCH_MSM8625
485 depends on !MSM_STACKED_MEMORY
486 default y
487 bool "MSM8625 RUMI3"
488 help
489 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
490
Taniya Dase3027e22012-02-27 16:32:27 +0530491config MACH_MSM8625_SURF
492 depends on ARCH_MSM8625
493 depends on !MSM_STACKED_MEMORY
494 default y
495 bool "MSM8625 SURF"
496 help
497 Support for the Qualcomm MSM8625 SURF.
498
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530499config MACH_MSM8625_EVB
500 depends on ARCH_MSM8625
501 depends on !MSM_STACKED_MEMORY
502 default y
503 bool "MSM8625 EVB"
504 help
505 Support for the Qualcomm MSM8625 Reference Design.
506
Taniya Dasbd096542012-03-15 17:43:45 +0530507config MACH_MSM8625_QRD7
508 depends on ARCH_MSM8625
509 depends on !MSM_STACKED_MEMORY
510 default y
511 bool "MSM8625 QRD7"
512 help
513 Support for the Qualcomm MSM8625 Reference Design.
514
Daniel Walker7b521612010-05-06 12:44:57 -0700515config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700516 depends on ARCH_MSM7X30
517 depends on !MSM_STACKED_MEMORY
518 default y
519 bool "MSM7x30 SURF"
520 help
521 Support for the Qualcomm MSM7x30 SURF eval board.
522
523config MACH_MSM7X30_FFA
524 depends on ARCH_MSM7X30
525 depends on !MSM_STACKED_MEMORY
526 default y
527 bool "MSM7x30 FFA"
528 help
529 Support for the Qualcomm MSM7x30 FFA eval board.
530
531config MACH_MSM7X30_FLUID
532 depends on ARCH_MSM7X30
533 depends on !MSM_STACKED_MEMORY
534 default y
535 bool "MSM7x30 FLUID"
536 help
537 Support for the Qualcomm MSM7x30 FLUID eval board.
538
539config MACH_SAPPHIRE
540 depends on ARCH_MSM7X01A
541 default n
542 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700543
Daniel Walker4ad15e62010-05-06 13:54:17 -0700544config MACH_QSD8X50_SURF
545 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700546 depends on MSM_SOC_REV_NONE
547 depends on MSM_STACKED_MEMORY
548 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700549 bool "QSD8x50 SURF"
550 help
551 Support for the Qualcomm QSD8x50 SURF eval board.
552
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700553config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700554 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700555 depends on MSM_SOC_REV_NONE
556 depends on MSM_STACKED_MEMORY
557 default y
558 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700559 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700560 Support for the Qualcomm QSD8x50 FFA eval board.
561
562config MACH_MSM7X25_SURF
563 depends on ARCH_MSM7X25
564 depends on !MSM_STACKED_MEMORY
565 default y
566 bool "MSM7x25 SURF"
567 help
568 Support for the Qualcomm MSM7x25 SURF eval board.
569
570config MACH_MSM7X25_FFA
571 depends on ARCH_MSM7X25
572 depends on !MSM_STACKED_MEMORY
573 default y
574 bool "MSM7x25 FFA"
575 help
576 Support for the Qualcomm MSM7x25 FFA eval board.
577
578config MACH_MSM8X55_SURF
579 depends on ARCH_MSM7X30
580 depends on !MSM_STACKED_MEMORY
581 default y
582 bool "MSM8X55 SURF"
583 help
584 Support for the Qualcomm MSM8x55 SURF eval board.
585
586config MACH_MSM8X55_FFA
587 depends on ARCH_MSM7X30
588 depends on !MSM_STACKED_MEMORY
589 default y
590 bool "MSM8X55 FFA"
591 help
592 Support for the Qualcomm MSM8x55 FFA eval board.
593
594config MACH_MSM8X55_SVLTE_FFA
595 depends on ARCH_MSM7X30
596 depends on !MSM_STACKED_MEMORY
597 default y
598 bool "MSM8X55 SVLTE FFA"
599 help
600 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
601
602config MACH_MSM8X55_SVLTE_SURF
603 depends on ARCH_MSM7X30
604 depends on !MSM_STACKED_MEMORY
605 default y
606 bool "MSM8X55 SVLTE SURF"
607 help
608 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700609
Steve Mucklea55df6e2010-01-07 12:43:24 -0800610config MACH_MSM8X60_RUMI3
611 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700612 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800613 bool "MSM8x60 RUMI3"
614 help
615 Support for the Qualcomm MSM8x60 RUMI3 emulator.
616
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800617config MACH_MSM8X60_SIM
618 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700619 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800620 bool "MSM8x60 Simulator"
621 help
622 Support for the Qualcomm MSM8x60 simulator.
623
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700624config MACH_MSM8X60_SURF
625 depends on ARCH_MSM8X60
626 default n
627 bool "MSM8x60 SURF"
628 help
629 Support for the Qualcomm MSM8x60 SURF eval board.
630
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700631config MACH_MSM8X60_FFA
632 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700633 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700634 bool "MSM8x60 FFA"
635 help
636 Support for the Qualcomm MSM8x60 FFA eval board.
637
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700638config MACH_MSM8X60_FLUID
639 depends on ARCH_MSM8X60
640 default n
641 bool "MSM8x60 FLUID"
642 help
643 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
644 8x60 target which has a form factor that is much closer to that
645 of a phone than other targets. It also has a new display and
646 touchscreen controller.
647
648config MACH_MSM8X60_FUSION
649 depends on ARCH_MSM8X60
650 default n
651 bool "MSM8x60 FUSION"
652 help
653 Support for the Qualcomm MSM8x60 Fusion SURF device.
654
655config MACH_MSM8X60_FUSN_FFA
656 depends on ARCH_MSM8X60
657 default n
658 bool "MSM8x60 FUSN FFA"
659 help
660 Support for the Qualcomm MSM8x60 Fusion FFA device.
661
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400662config MACH_MSM8X60_DRAGON
663 depends on ARCH_MSM8X60
664 default n
665 bool "MSM8x60 DRAGON"
666 help
667 Support for the Qualcomm MSM8x60 Dragon board.
668
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800669config MACH_MSM8960_SIM
670 depends on ARCH_MSM8960
671 bool "MSM8960 Simulator"
672 help
673 Support for the Qualcomm MSM8960 simulator.
674
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800675config MACH_MSM8960_RUMI3
676 depends on ARCH_MSM8960
677 bool "MSM8960 RUMI3"
678 help
679 Support for the Qualcomm MSM8960 RUMI3 emulator.
680
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700681config MACH_MSM8960_CDP
682 depends on ARCH_MSM8960
683 bool "MSM8960 CDP"
684 help
685 Support for the Qualcomm MSM8960 CDP device.
686
687config MACH_MSM8960_MTP
688 depends on ARCH_MSM8960
689 bool "MSM8960 MTP"
690 help
691 Support for the Qualcomm MSM8960 MTP device.
692
693config MACH_MSM8960_FLUID
694 depends on ARCH_MSM8960
695 bool "MSM8960 FLUID"
696 help
697 Support for the Qualcomm MSM8960 FLUID device.
698
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300699config MACH_MSM8960_LIQUID
700 depends on ARCH_MSM8960
701 bool "MSM8960 LIQUID"
702 help
703 Support for the Qualcomm MSM8960 LIQUID device.
704
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700705config MACH_MSM8930_CDP
706 depends on ARCH_MSM8930
707 bool "MSM8930 CDP"
708 help
709 Support for the Qualcomm MSM8930 CDP device.
710
711config MACH_MSM8930_MTP
712 depends on ARCH_MSM8930
713 bool "MSM8930 MTP"
714 help
715 Support for the Qualcomm MSM8930 MTP device.
716
717config MACH_MSM8930_FLUID
718 depends on ARCH_MSM8930
719 bool "MSM8930 FLUID"
720 help
721 Support for the Qualcomm MSM8930 FLUID device.
722
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800723config MACH_MSM8627_CDP
724 depends on ARCH_MSM8930
725 bool "MSM8627 CDP"
726 help
727 Support for the Qualcomm MSM8627 CDP device.
728
729config MACH_MSM8627_MTP
730 depends on ARCH_MSM8930
731 bool "MSM8627 MTP"
732 help
733 Support for the Qualcomm MSM8627 MTP device.
734
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700735config MACH_MSM9615_CDP
736 depends on ARCH_MSM9615
737 bool "MSM9615 CDP"
738 help
739 Support for the Qualcomm MSM9615 CDP device.
740
741config MACH_MSM9615_MTP
742 depends on ARCH_MSM9615
743 bool "MSM9615 MTP"
744 help
745 Support for the Qualcomm MSM9615 MTP device.
746
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700747config MSM_USE_TSIF1
748 depends on ARCH_MSM8X60
749 bool "MSM8x60 use TSIF1"
750 help
751 Selects TSIF1 core to be used rather than TSIF0.
752 The two TSIF cores share the same DM configuration
753 so they cannot be used simultaneously.
754
755config MACH_APQ8064_SIM
756 depends on ARCH_APQ8064
757 bool "APQ8064 Simulator"
758 help
759 Support for the Qualcomm APQ8064 simulator.
760
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700761config MACH_APQ8064_RUMI3
762 depends on ARCH_APQ8064
763 bool "APQ8064 RUMI3"
764 help
765 Support for the Qualcomm APQ8064 RUMI3 emulator.
766
Joel King82b7e3f2012-01-05 10:03:27 -0800767config MACH_APQ8064_CDP
768 depends on ARCH_APQ8064
769 bool "APQ8064 CDP"
770 help
771 Support for the Qualcomm APQ8064 CDP device.
772
773config MACH_APQ8064_MTP
774 depends on ARCH_APQ8064
775 bool "APQ8064 MTP"
776 help
777 Support for the Qualcomm APQ8064 MTP device.
778
779config MACH_APQ8064_LIQUID
780 depends on ARCH_APQ8064
781 bool "APQ8064 LIQUID"
782 help
783 Support for the Qualcomm APQ8064 LIQUID device.
784
Joel King064bbf82012-04-01 13:23:39 -0700785config MACH_MPQ8064_CDP
786 depends on ARCH_APQ8064
787 bool "MPQ8064 CDP"
788 help
789 Support for the Qualcomm MPQ8064 CDP device.
790
Joel King11ca8202012-02-13 16:19:03 -0800791config MACH_MPQ8064_HRD
792 depends on ARCH_APQ8064
793 bool "MPQ8064 HRD"
794 help
795 Support for the Qualcomm MPQ8064 HRD device.
796
797config MACH_MPQ8064_DTV
798 depends on ARCH_APQ8064
799 bool "MPQ8064 DTV"
800 help
801 Support for the Qualcomm MPQ8064 DTV device.
802
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700803config MACH_FSM9XXX_SURF
804 depends on ARCH_FSM9XXX
805 depends on !MSM_STACKED_MEMORY
806 default y
807 bool "FSM9XXX SURF"
808 help
809 Support for the Qualcomm FSM9xxx femtocell
810 chipset based SURF evaluation board and
811 FFA board.
812
Daniel Walker4ad15e62010-05-06 13:54:17 -0700813endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800814
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700815config MSM_STACKED_MEMORY
816 bool "Stacked Memory"
817 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800818 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700819 This option is used to indicate the presence of on-die stacked
820 memory. When present this memory bank is used for a high speed
821 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800822
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700823config PHYS_OFFSET
824 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700825 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700826 default "0x80200000" if ARCH_APQ8064
827 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700828 default "0x80200000" if ARCH_MSM8930
Sathish Ambley39a1dc42012-03-19 21:46:26 -0700829 default "0x20200000" if ARCH_MSMCOPPER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700830 default "0x10000000" if ARCH_FSM9XXX
831 default "0x00200000" if !MSM_STACKED_MEMORY
832 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
833 default "0x20000000" if ARCH_QSD8X50
834 default "0x40200000" if ARCH_MSM8X60
835 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800836
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700837config KERNEL_PMEM_EBI_REGION
838 bool "Enable in-kernel PMEM region for EBI"
839 default y if ARCH_MSM8X60
Olav Hauganb800c8c2012-01-30 08:50:45 -0800840 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSMCOPPER)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700841 help
842 Enable the in-kernel PMEM allocator to use EBI memory.
843
844config KERNEL_PMEM_SMI_REGION
845 bool "Enable in-kernel PMEM region for SMI"
846 default y if ARCH_MSM8X60
847 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
848 help
849 Enable the in-kernel PMEM allocator to use SMI memory.
850
851config PMEM_GPU0
852 bool "Enable PMEM GPU0 region"
853 default y
854 depends on ARCH_QSD8X50 && ANDROID_PMEM
855 help
856 Enable the PMEM GPU0 device on SMI Memory.
857
858config MSM_AMSS_VERSION
859 int
860 default 6210 if MSM_AMSS_VERSION_6210
861 default 6220 if MSM_AMSS_VERSION_6220
862 default 6225 if MSM_AMSS_VERSION_6225
863
864choice
865 prompt "AMSS modem firmware version"
866
867 default MSM_AMSS_VERSION_6225
868
869 config MSM_AMSS_VERSION_6210
870 bool "6.2.10"
871
872 config MSM_AMSS_VERSION_6220
873 bool "6.2.20"
874
875 config MSM_AMSS_VERSION_6225
876 bool "6.2.20 + New ADSP"
877endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800878
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700879config MSM_HAS_DEBUG_UART_HS
880 bool
881 help
882 Say Y here if high speed MSM UART is present.
883
884config MSM_HAS_DEBUG_UART_HS_V14
885 bool
886 select MSM_HAS_DEBUG_UART_HS
887 help
888 Say Y here if high speed MSM UART v1.4 is present.
889
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800890config DEBUG_MSM8930_UART
891 bool "Kernel low-level debugging messages via MSM 8930 UART"
892 depends on ARCH_MSM8930 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700893 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800894 help
895 Say Y here if you want the debug print routines to direct
896 their output to the serial port on MSM 8930 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100897
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530898config MSM_DEBUG_UART_PHYS
899 hex
900 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
901 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
902 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
903 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
904 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
905 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
906 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
907 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
908
Pavel Machek6339f662009-11-02 11:48:29 +0100909choice
910 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800911 depends on DEBUG_LL
Pavel Machek6339f662009-11-02 11:48:29 +0100912
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800913 config DEBUG_MSM_UART1
914 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530915 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800916 help
917 Say Y here if you want the debug print routines to direct
918 their output to the first serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100919
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800920 config DEBUG_MSM_UART2
921 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530922 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800923 help
924 Say Y here if you want the debug print routines to direct
925 their output to the second serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100926
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800927 config DEBUG_MSM_UART3
928 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530929 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800930 help
931 Say Y here if you want the debug print routines to direct
932 their output to the third serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100933
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800934 config DEBUG_MSM8660_UART
935 bool "Kernel low-level debugging messages via MSM 8660 UART"
936 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700937 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800938 help
939 Say Y here if you want the debug print routines to direct
940 their output to the serial port on MSM 8660 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100941
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800942 config DEBUG_MSM8960_UART
943 bool "Kernel low-level debugging messages via MSM 8960 UART"
944 depends on ARCH_MSM8960
945 select DEBUG_MSM8930_UART
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700946 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800947 help
948 Say Y here if you want the debug print routines to direct
949 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700950
951 config DEBUG_MSMCOPPER_UART
952 bool "Kernel low-level debugging messages via MSM Copper UART"
953 depends on ARCH_MSMCOPPER
954 select MSM_HAS_DEBUG_UART_HS_V14
955 help
956 Say Y here if you want the debug print routines to direct
957 their output to the serial port on MSM Copper devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100958endchoice
959
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700960choice
961 prompt "Default Timer"
962 default MSM7X00A_USE_GP_TIMER
963
964 config MSM7X00A_USE_GP_TIMER
965 bool "GP Timer"
966 help
967 Low resolution timer that allows power collapse from idle.
968
969 config MSM7X00A_USE_DG_TIMER
970 bool "DG Timer"
971 help
972 High resolution timer.
973endchoice
974
975choice
976 prompt "Suspend sleep mode"
977 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
978 help
979 Allows overriding the sleep mode used. Leave at power
980 collapse suspend unless the arm9 image has problems.
981
982 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
983 bool "Power collapse suspend"
984 help
985 Lowest sleep state. Returns through reset vector.
986
987 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
988 bool "Power collapse"
989 help
990 Sleep state that returns through reset vector.
991
992 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
993 bool "Apps Sleep"
994
995 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
996 bool "Ramp down cpu clock and wait for interrupt"
997
998 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
999 bool "Wait for interrupt"
1000endchoice
1001
1002config MSM7X00A_SLEEP_MODE
1003 int
1004 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1005 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1006 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1007 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1008 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1009
1010choice
1011 prompt "Idle sleep mode"
1012 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1013 help
1014 Allows overriding the sleep mode used from idle. Leave at power
1015 collapse suspend unless the arm9 image has problems.
1016
1017 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1018 bool "Power collapse suspend"
1019 help
1020 Lowest sleep state. Returns through reset vector.
1021
1022 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1023 bool "Power collapse"
1024 help
1025 Sleep state that returns through reset vector.
1026
1027 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1028 bool "Apps Sleep"
1029
1030 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1031 bool "Ramp down cpu clock and wait for interrupt"
1032
1033 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1034 bool "Wait for interrupt"
1035endchoice
1036
1037config MSM7X00A_IDLE_SLEEP_MODE
1038 int
1039 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1040 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1041 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1042 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1043 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1044
1045config MSM7X00A_IDLE_SLEEP_MIN_TIME
1046 int "Minimum idle time before sleep"
1047 default 20000000
1048 help
1049 Minimum idle time in nanoseconds before entering low power mode.
1050
1051config MSM7X00A_IDLE_SPIN_TIME
1052 int "Idle spin time before cpu ramp down"
1053 default 80000
1054 help
1055 Spin time in nanoseconds before ramping down cpu clock and entering
1056 any low power state.
1057
1058menuconfig MSM_IDLE_STATS
1059 bool "Collect idle statistics"
1060 default y
1061 help
1062 Collect idle statistics and export them in proc/msm_pm_stats.
1063
1064if MSM_IDLE_STATS
1065
1066config MSM_IDLE_STATS_FIRST_BUCKET
1067 int "First bucket time"
1068 default 62500
1069 help
1070 Upper time limit in nanoseconds of first bucket.
1071
1072config MSM_IDLE_STATS_BUCKET_SHIFT
1073 int "Bucket shift"
1074 default 2
1075
1076config MSM_IDLE_STATS_BUCKET_COUNT
1077 int "Bucket count"
1078 default 10
1079
1080config MSM_SUSPEND_STATS_FIRST_BUCKET
1081 int "First bucket time for suspend"
1082 default 1000000000
1083 help
1084 Upper time limit in nanoseconds of first bucket of the
1085 histogram. This is for collecting statistics on suspend.
1086
1087endif # MSM_IDLE_STATS
1088
1089config CPU_HAS_L2_PMU
1090 bool "L2CC PMU Support"
1091 help
1092 Select this if the L2 cache controller has a Performance Monitoring Unit.
1093
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001094config HTC_HEADSET
1095 tristate "HTC 2 Wire detection driver"
1096 default n
1097 help
1098 Provides support for detecting HTC 2 wire devices, such as wired
1099 headset, on the trout platform. Can be used with the msm serial
1100 debugger, but not with serial console.
1101
1102config TROUT_BATTCHG
1103 depends on MACH_TROUT && POWER_SUPPLY
1104 default y
1105 bool "Trout battery / charger driver"
1106
1107config HTC_PWRSINK
1108 depends on MSM_SMD
1109 default n
1110 bool "HTC Power Sink Driver"
1111
1112config QSD_SVS
1113 bool "QSD Static Voltage Scaling"
1114 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1115 default y
1116 select TPS65023
1117 help
1118 Enables static voltage scaling using the TPS65023 PMIC.
1119
1120config QSD_PMIC_DEFAULT_DCDC1
1121 int "PMIC default output voltage"
1122 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1123 default 1250
1124 help
1125 This is the PMIC voltage at Linux kernel boot.
1126
1127config MSM_FIQ_SUPPORT
1128 default y
1129 bool "Enable installation of an FIQ handler."
1130
1131config MSM_SERIAL_DEBUGGER
1132 select MSM_FIQ_SUPPORT
1133 select KERNEL_DEBUGGER_CORE
1134 default n
1135 bool "FIQ Mode Serial Debugger"
1136 help
1137 The FIQ serial debugger can accept commands even when the
1138 kernel is unresponsive due to being stuck with interrupts
1139 disabled. Depends on the kernel debugger core in drivers/misc.
1140
1141config MSM_SERIAL_DEBUGGER_CONSOLE
1142 depends on MSM_SERIAL_DEBUGGER
1143 default n
1144 bool "Console on FIQ Serial Debugger port"
1145 help
1146 Enables a console so that printk messages are displayed on
1147 the debugger serial port as the occur.
Daniel Walkerbf83de42010-03-16 16:29:44 -07001148
Steve Mucklec8aabae2010-04-21 16:20:27 -07001149config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001150 default y
1151 bool "Proc-Comm RPC Interface"
1152 help
1153 Enables a lightweight communications interface to the
1154 baseband processor.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001155
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001156config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001157 bool "MSM Shared Memory Driver (SMD)"
1158 help
1159 Support for the shared memory interface between the apps
1160 processor and the baseband processor. Provides access to
1161 the "shared heap", as well as virtual serial channels
1162 used to communicate with various services on the baseband
1163 processor.
1164
1165choice
1166 prompt "MSM Shared memory interface version"
1167 depends on MSM_SMD
1168 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1169 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1170
1171 config MSM_SMD_PKG3
1172 bool
1173 prompt "Package 3"
1174
1175 config MSM_SMD_PKG4
1176 bool
1177 prompt "Package 4"
1178endchoice
1179
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001180config MSM_RPC_SDIO_XPRT
1181 depends on MSM_SDIO_AL
1182 default y
1183 bool "MSM SDIO XPRT Layer"
1184 help
1185 SDIO Transport Layer for RPC Rouer
1186
1187config MSM_RPC_SDIO_DEBUG
1188 depends on MSM_RPC_SDIO_XPRT
1189 default y
1190 bool "MSM SDIO XPRT debug support"
1191 help
1192 Support for debugging SDIO XPRT
1193
1194config MSM_SMD_DEBUG
1195 depends on MSM_SMD
1196 default y
1197 bool "MSM SMD debug support"
1198 help
1199 Support for debugging the SMD for communication
1200 between the ARM9 and ARM11
1201
1202config MSM_SDIO_AL
1203 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1204 default y
1205 tristate "SDIO-Abstraction-Layer"
1206 help
1207 Support MSM<->MDM Communication over SDIO bus.
1208 MDM SDIO-Client should have pipes support.
1209
1210config MSM_SDIO_DMUX
1211 bool "SDIO Data Mux Driver"
1212 depends on MSM_SDIO_AL
1213 default n
1214 help
1215 Support Muxed Data Channels over SDIO interface.
1216
1217config MSM_BAM_DMUX
1218 bool "BAM Data Mux Driver"
1219 depends on SPS
1220 default n
1221 help
1222 Support Muxed Data Channels over BAM interface.
1223 BAM has a limited number of pipes. This driver
1224 provides a means to support more logical channels
1225 via muxing than BAM could without muxing.
1226
1227config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001228 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001229 default y
1230 bool "MSM N-WAY SMD support"
1231 help
1232 Supports APPS-QDSP SMD communication along with
1233 normal APPS-MODEM SMD communication.
1234
1235config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001236 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001237 default y
1238 bool "MSM N-WAY SMSM support"
1239 help
1240 Supports APPS-QDSP SMSM communication along with
1241 normal APPS-MODEM SMSM communication.
1242
1243config MSM_RESET_MODEM
1244 tristate "Reset Modem Driver"
1245 depends on MSM_SMD
1246 default m
1247 help
1248 Allows the user to reset the modem through a device node.
1249
1250config MSM_SMD_LOGGING
1251 depends on MSM_SMD
1252 default y
1253 bool "MSM Shared Memory Logger"
1254 help
1255 This option exposes the shared memory logger at /dev/smem_log
1256 and a debugfs node named smem_log.
1257
1258 If in doubt, say yes.
1259
1260config MSM_SMD_NMEA
1261 bool "NMEA GPS Driver"
1262 depends on MSM_SMD
1263 default y
1264 help
1265 Enable this to support the NMEA GPS device.
1266
1267 If in doubt, say yes.
1268
1269config MSM_SDIO_TTY
1270 bool "SDIO TTY Driver"
1271 depends on MSM_SDIO_AL
1272 default n
1273 help
1274 Provides a TTY driver SDIO TTY
1275 This driver can be used by user space
1276 applications for passing data through the
1277 SDIO interface.
1278
1279config MSM_SMD_TTY
1280 bool "SMD TTY Driver"
1281 depends on MSM_SMD
1282 default y
1283 help
1284 Provides TTY interfaces to interact with the modem.
1285
1286 If in doubt, say yes.
1287
1288config MSM_SMD_QMI
1289 bool "SMD QMI Driver"
1290 depends on MSM_SMD
1291 default y
1292 help
1293 Manages network data connections.
1294
1295 If in doubt, say yes.
1296
1297config MSM_SMD_PKT
1298 bool "SMD Packet Driver"
1299 depends on MSM_SMD
1300 default y
1301 help
1302 Provides a binary SMD non-muxed packet port interface.
1303
1304 If in doubt, say yes.
1305
1306config MSM_SDIO_CMUX
1307 bool "SDIO CMUX Driver"
1308 depends on MSM_SDIO_AL
1309 default n
1310 help
1311 Provides a Muxed port interface over SDIO QMI
1312
1313config MSM_DSPS
1314 bool "Sensors DSPS driver"
1315 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1316 default n
1317 help
1318 Provides user-space interface to the sensors manager
1319 to turn on/off the Sensors Processor system clocks.
1320 It is the DSPS responsibility to turn on/off the sensors
1321 themself.
1322 The number of clocks and their name may vary between targets.
1323 It also triggers the PIL to load the DSPS firmware.
1324
1325config MSM_SDIO_CTL
1326 bool "SDIO CTL Driver"
1327 depends on MSM_SDIO_CMUX
1328 default n
1329 help
1330 Provides a binary SDIO control port interface.
1331
1332config MSM_ONCRPCROUTER
1333 depends on MSM_SMD
1334 default n
1335 bool "MSM ONCRPC router support"
1336 help
1337 Support for the MSM ONCRPC router for communication between
1338 the ARM9 and ARM11
1339
1340config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001341 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001342 default n
1343 bool "MSM IPC Router support"
1344 help
1345 Support for the MSM IPC Router for communication between
1346 the APPs and the MODEM
1347
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001348config MSM_IPC_ROUTER_SMD_XPRT
1349 depends on MSM_SMD
1350 depends on MSM_IPC_ROUTER
1351 default n
1352 bool "MSM SMD XPRT Layer"
1353 help
1354 SMD Transport Layer for IPC Router
1355
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001356config MSM_ONCRPCROUTER_DEBUG
1357 depends on MSM_ONCRPCROUTER
1358 default y
1359 bool "MSM debug ONCRPC router support"
1360 help
1361 Support for debugging the ONCRPC router for communication
1362 between the ARM9 and ARM11
1363
1364config MSM_RPC_LOOPBACK_XPRT
1365 depends on MSM_ONCRPCROUTER
1366 default n
1367 bool "MSM RPC local routing support"
1368 help
1369 Support for routing RPC messages between APPS clients
1370 and APPS servers. Helps in testing APPS RPC framework.
1371
1372config MSM_RPCSERVER_TIME_REMOTE
1373 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1374 default y
1375 bool "Time remote RPC server"
1376 help
1377 The time remote server receives notification of time bases and
1378 reports these events to registered callback functions.
1379
1380config MSM_RPCSERVER_WATCHDOG
1381 depends on MSM_ONCRPCROUTER
1382 default y
1383 bool "Watchdog RPC server"
1384 help
1385 The dog_keepalive server handles watchdog events.
1386
1387config MSM_RPC_WATCHDOG
1388 depends on MSM_ONCRPCROUTER
1389 default n
1390 bool "Watchdog RPC client"
1391 help
1392 The dog_keepalive client module.
1393
1394config MSM_RPC_PING
1395 depends on MSM_ONCRPCROUTER && DEBUG_FS
1396 default m
1397 bool "MSM rpc ping"
1398 help
1399 Implements MSM rpc ping test module.
1400
1401config MSM_RPC_PROC_COMM_TEST
1402 depends on DEBUG_FS && MSM_PROC_COMM
1403 default m
1404 bool "MSM rpc proc comm test"
1405 help
1406 Implements MSM rpc proc comm test module.
1407
1408config MSM_RPC_OEM_RAPI
1409 depends on MSM_ONCRPCROUTER
1410 default m
1411 bool "MSM oem rapi"
1412 help
1413 Implements MSM oem rapi client module.
1414
1415config MSM_RPCSERVER_HANDSET
1416 depends on MSM_ONCRPCROUTER
1417 default y
1418 bool "Handset events RPC server"
1419 help
1420 Support for receiving handset events like headset detect,
1421 headset switch and clamshell state.
1422
1423config MSM_RMT_STORAGE_CLIENT
1424 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1425 default n
1426 bool "Remote Storage RPC client"
1427 help
1428 Provide RPC mechanism for remote processors to access storage
1429 device on apps processor.
1430
1431config MSM_RMT_STORAGE_CLIENT_STATS
1432 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1433 default n
1434 bool "Remote storage RPC client performance statistics"
1435 help
1436 Collects performance statistics and shows this information
1437 through a debugfs file rmt_storage_stats.
1438
1439config MSM_SDIO_SMEM
1440 depends on MSM_SDIO_AL
1441 default n
1442 bool "SDIO SMEM for remote storage"
1443 help
1444 Copies data from remote MDM9K memory to local MSM8x60
1445 memory. Used by remote storage client to shadow
1446 MDM9K filesystem.
1447
1448config MSM_DALRPC
1449 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001450 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001451 help
1452 Supports RPC calls to DAL devices on remote processor cores.
1453
1454config MSM_DALRPC_TEST
1455 tristate "DAL RPC test module"
1456 depends on (MSM_DALRPC && DEBUG_FS)
1457 default m
1458 help
1459 Exercises DAL RPC calls to QDSP6.
1460
1461if CPU_FREQ_MSM
1462
1463config MSM_CPU_FREQ_SET_MIN_MAX
1464 bool "Set Min/Max CPU frequencies."
1465 default n
1466 help
1467 Allow setting min and max CPU frequencies. Sysfs can be used
1468 to override these values.
1469
1470config MSM_CPU_FREQ_MAX
1471 int "Max CPU Frequency"
1472 depends on MSM_CPU_FREQ_SET_MIN_MAX
1473 default 384000
1474
1475config MSM_CPU_FREQ_MIN
1476 int "Min CPU Frequency"
1477 depends on MSM_CPU_FREQ_SET_MIN_MAX
1478 default 245760
1479
1480endif # CPU_FREQ_MSM
1481
1482config MSM_CPU_AVS
1483 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1484 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1485 depends on ARCH_QSD8X50
1486 default n
1487 select MSM_AVS_HW
1488 help
1489 This enables the s/w control of Adaptive Voltage Scaling feature
1490 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1491 based on feedback from three ring oscillators in the CPU.
1492
1493config MSM_AVS_HW
1494 bool "Enable Adaptive Voltage Scaling (AVS)"
1495 default n
1496 help
1497 Enable AVS hardware to fine tune voltage at each frequency. The
1498 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1499 fine tune the voltages based on the feedback from the ring
1500 oscillators.
1501
1502config MSM_HW3D
1503 tristate "MSM Hardware 3D Register Driver"
1504 depends on ANDROID_PMEM
1505 default y
1506 help
1507 Provides access to registers needed by the userspace OpenGL|ES
1508 library.
1509
1510config MSM_ADSP
1511 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1512 tristate "MSM ADSP driver"
1513 depends on ANDROID_PMEM
1514 default y
1515 help
1516 Provides access to registers needed by the userspace aDSP library.
1517
1518config ADSP_RPC_VER
1519 hex
1520 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1521 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1522 depends on MSM_ADSP
1523 help
1524 Select proper ADSP RPC version
1525choice
1526 prompt "ADSP RPC version"
1527
1528 default AMSS_7X25_VERSION_2009
1529
1530 config AMSS_7X25_VERSION_2009
1531 bool "2.0.09"
1532
1533 config AMSS_7X25_VERSION_2008
1534 bool "2.0.08"
1535endchoice
1536
1537config MSM7KV2_AUDIO
1538 bool "MSM7K v2 audio"
1539 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1540 default y
1541 help
1542 Enables QDSP5V2-based audio drivers for audio playbacks and
1543 voice call.
1544
1545config MSM_ADSP_REPORT_EVENTS
1546 bool "Report modem events from the DSP"
1547 default y
1548 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1549 help
1550 Normally, only messages from the aDSP are reported to userspace.
1551 With this option, we report events from the aDSP as well.
1552
1553config MSM_QDSP6
1554 tristate "QDSP6 support"
1555 depends on ARCH_QSD8X50 && ANDROID_PMEM
1556 default y
1557 help
1558 Enable support for qdsp6. This provides audio and video functionality.
1559
1560config MSM8X60_AUDIO
1561 tristate "MSM8X60 audio support"
1562 depends on ARCH_MSM8X60 && ANDROID_PMEM
1563 default y
1564 help
1565 Enable support for qdsp6v2. This provides audio functionality.
1566
1567config MSM8X60_FTM_AUDIO_DEVICES
1568 bool "MSM8X60 audio factory test mode support"
1569 depends on MSM8X60_AUDIO
1570 help
1571 Enable support audio factory test mode devices. This is used
1572 in a production line environment.
1573
Ben Romberger45b351c2011-07-20 22:37:27 -07001574config RTAC
1575 bool "MSM8K real-time audio calibration support"
1576 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001577 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001578 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001579 audio operation
1580
1581config MSM7X27A_AUDIO
1582 bool "MSM7X27A audio support"
1583 depends on ARCH_MSM7X27A && MSM_ADSP
1584 default n
1585 help
1586 Enable support for 7x27a. This provides audio functionality.
1587
Justin Pauporea6cd2092011-06-22 16:19:45 -07001588config MSM_PROC_COMM_REGULATOR
1589 bool
1590 depends on MSM_PROC_COMM && REGULATOR
1591 help
1592 Enable regulator framework support for regulators managed by PMLIB
1593 on the modem, and controlled through proccomm calls.
1594
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001595config MSM_VREG_SWITCH_INVERTED
1596 bool "Reverse vreg switch polarity"
1597 default n
1598 help
1599 Reverses the enable and disable for vreg switch.
1600
1601config MSM_DMA_TEST
1602 tristate "MSM DMA test module"
1603 default m
1604 help
1605 Intended to be compiled as a module. Provides a device node
1606 and ioctls for testing the MSM dma system.
1607
1608config WIFI_CONTROL_FUNC
1609 bool "Enable WiFi control function abstraction"
1610 help
1611 Enables Power/Reset/Carddetect function abstraction
1612
1613config WIFI_MEM_PREALLOC
1614 depends on WIFI_CONTROL_FUNC
1615 bool "Preallocate memory for WiFi buffers"
1616 help
1617 Preallocates memory buffers for WiFi driver
1618
1619config QSD_AUDIO
1620 bool "QSD audio"
1621 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1622 default y
1623 help
1624 Provides PCM, MP3, and AAC audio playback.
1625
1626config AUDIO_AAC_PLUS
1627 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1628 bool "AAC+ Audio"
1629 default y
1630 help
1631 Provides AAC+ decoding
1632
1633config AUDIO_ENHANCED_AAC_PLUS
1634 depends on AUDIO_AAC_PLUS
1635 bool "Enhanced AAC+ Audio"
1636 default y
1637 help
1638 Provides Enhanced AAC+ decoding
1639
1640config SURF_FFA_GPIO_KEYPAD
1641 bool "MSM SURF/FFA GPIO keypad"
1642 depends on INPUT_GPIO = "y"
1643 default y
1644 help
1645 Select if the GPIO keypad is attached.
1646
1647config MSM_SLEEP_TIME_OVERRIDE
1648 bool "Allow overriding suspend/sleep time with PM module parameter"
1649 default y
1650 help
1651 Enable the module parameter sleep_time_override. Specified
1652 in units of seconds, it overwrites the normal sleep time of
1653 suspend. The feature is required for automated power management
1654 testing.
1655
1656config MSM_MEMORY_LOW_POWER_MODE
1657 bool "Control the low power modes of memory"
1658 default n
1659 help
1660 The application processor controls whether memory should enter
1661 which low power mode.
1662
1663choice
1664 prompt "Default Memory Low Power Mode during Idle"
1665 depends on MSM_MEMORY_LOW_POWER_MODE
1666 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1667 help
1668 Selects the default low power mode of the memory during idle
1669 sleep.
1670
1671 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1672 bool "Memory active"
1673
1674 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1675 bool "Memory in retention"
1676
1677 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1678 bool "Memory in deep power down"
1679endchoice
1680
1681choice
1682 prompt "Default Memory Low Power Mode during Suspend"
1683 depends on MSM_MEMORY_LOW_POWER_MODE
1684 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1685 help
1686 Selects the default low power mode of the memory during suspend
1687 sleep.
1688
1689 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1690 bool "Memory active"
1691
1692 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1693 bool "Memory in retention"
1694
1695 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1696 bool "Memory in deep power down"
1697endchoice
1698
1699choice
1700 prompt "Power management timeout action"
1701 default MSM_PM_TIMEOUT_HALT
1702 help
1703 Selects the Application Processor's action when Power Management
1704 times out waiting for Modem's handshake.
1705
1706 config MSM_PM_TIMEOUT_HALT
1707 bool "Halt the Application Processor"
1708
1709 config MSM_PM_TIMEOUT_RESET_MODEM
1710 bool "Reset the Modem Processor"
1711
1712 config MSM_PM_TIMEOUT_RESET_CHIP
1713 bool "Reset the entire chip"
1714endchoice
1715
1716config MSM_IDLE_WAIT_ON_MODEM
1717 int "Wait for Modem to become ready for idle power collapse"
1718 default 0
1719 help
1720 If Modem is not ready to handle Application Processor's request
1721 for idle power collapse, wait the number of microseconds in case
1722 Modem becomes ready soon.
1723
Matt Wagantall9274df92011-12-15 11:11:05 -08001724config MSM_RPM_REGULATOR
1725 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001726 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001727 help
1728 Compile in support for the RPM regulator driver, used for setting
1729 voltages and other parameters of the various power rails supplied
1730 by some Qualcomm PMICs.
1731
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001732config MSM_PIL
1733 bool "Peripheral image loading"
1734 select FW_LOADER
1735 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1736 default n
1737 help
1738 Some peripherals need to be loaded into memory before they can be
1739 brought out of reset.
1740
1741 Say yes to support these devices.
1742
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001743config MSM_PIL_MODEM
1744 tristate "Modem (ARM11) Boot Support"
1745 depends on MSM_PIL
1746 help
1747 Support for booting and shutting down ARM11 Modem processors.
1748
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001749config MSM_PIL_QDSP6V3
1750 tristate "QDSP6v3 (Hexagon) Boot Support"
1751 depends on MSM_PIL
1752 help
1753 Support for booting and shutting down QDSP6v3 processors (hexagon).
1754 The QDSP6 is a low power DSP used in audio software applications.
1755
Stephen Boydeb819882011-08-29 14:46:30 -07001756config MSM_PIL_QDSP6V4
1757 tristate "QDSP6v4 (Hexagon) Boot Support"
1758 depends on MSM_PIL
1759 help
1760 Support for booting and shutting down QDSP6v4 processors (hexagon).
1761 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1762 software applications.
1763
Stephen Boyd322a9922011-09-20 01:05:54 -07001764config MSM_PIL_RIVA
1765 tristate "RIVA (WCNSS) Boot Support"
1766 depends on MSM_PIL
1767 help
1768 Support for booting and shutting down the RIVA processor (WCNSS).
1769 Riva is the wireless subsystem processor used in bluetooth, wireless
1770 LAN, and FM software applications.
1771
Stephen Boydd89eebe2011-09-28 23:28:11 -07001772config MSM_PIL_TZAPPS
1773 tristate "TZApps Boot Support"
1774 depends on MSM_PIL
1775 help
1776 Support for booting and shutting down TZApps.
1777
1778 TZApps is an image that runs in the secure processor state. It is
1779 used to decrypt data and perform secure operations on the behalf of
1780 the kernel.
1781
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07001782config MSM_PIL_DSPS
1783 tristate "DSPS Boot Support"
1784 depends on MSM_PIL
1785 help
1786 Support for booting and shutting down ARM7 DSPS processors.
1787
1788 DSPS is a sensors offloading processor used for applications such
1789 as rotation detection, temperature, etc.
1790
Matt Wagantall292aace2012-01-26 19:12:34 -08001791config MSM_PIL_GSS
1792 tristate "GSS (Coretx A5) Boot Support"
1793 depends on MSM_PIL
1794 help
1795 Support for booting and shutting down Cortex A5 processors which run
1796 GPS subsystem firmware.
1797
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001798config MSM_SCM
1799 bool "Secure Channel Manager (SCM) support"
1800 default n
1801
1802config MSM_SUBSYSTEM_RESTART
1803 bool "MSM Subsystem Restart Driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001804 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001805 default n
1806 help
1807 This option enables the MSM subsystem restart driver, which provides
1808 a framework to handle subsystem crashes.
1809
Matt Wagantallf8020902011-08-30 21:19:23 -07001810config MSM_SYSMON_COMM
1811 bool "MSM System Monitor communication support"
1812 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1813 default y
1814 help
1815 This option adds support for MSM System Monitor library, which
1816 provides an API that may be used for notifying subsystems within
1817 the SoC about other subsystems' power-up/down state-changes.
1818
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001819config MSM_MODEM_8960
1820 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001821 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001822 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001823 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001824 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001825 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001826
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001827config MSM_LPASS_8960
1828 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001829 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001830 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001831 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001832 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001833 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001834
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001835config MSM_WCNSS_SSR_8960
1836 tristate "MSM 8960 WCNSS restart module"
1837 depends on (ARCH_MSM8960)
1838 help
1839 This option enables the WCNSS restart module for MSM8960, which
1840 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1841 into the subsystem restart framework.
1842
Rohit Vaswanid0fb4182012-03-19 18:07:59 -07001843config MSM_GSS_SSR_8064
1844 bool "MSM 8064 GSS restart driver"
1845 depends on (ARCH_APQ8064)
1846 help
1847 This option enables the gps subsystem restart driver for APQ8064, which monitors
1848 gss hardware watchdog interrupt lines and plugs into the subsystem
1849 restart and PIL drivers.
1850
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001851config SCORPION_Uni_45nm_BUG
1852 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1853 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1854 default y
1855 help
1856 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1857 invalidating the Branch Predictor Array by Modified Virtual Address can
1858 create invalid entries in the TLB with the wrong ASID values on Scorpion
1859 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1860 workaround for Scorpion Uniprocessor 45nm cores.
1861
1862 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1863
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001864config MSM_BUSPM_DEV
1865 tristate "MSM Bus Performance Monitor Kernel Module"
1866 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1867 default m
1868 help
1869 This kernel module is used to mmap() hardware registers for the
1870 performance monitors, counters, etc. The module can also be used to
1871 allocate physical memory which is used by bus performance hardware to
1872 dump performance data.
1873
Mona Hossain11c03ac2011-10-26 12:42:10 -07001874config MSM_TZ_LOG
1875 tristate "MSM Trust Zone (TZ) Log Driver"
1876 depends on DEBUG_FS
1877 help
1878 This option enables a driver with a debugfs interface for messages
1879 produced by the Secure code (Trust zone). These messages provide
1880 diagnostic information about TZ operation.
1881
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001882config MSM_RPM_LOG
1883 tristate "MSM Resource Power Manager Log Driver"
1884 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001885 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001886 default n
1887 help
1888 This option enables a driver which can read from a circular buffer
1889 of messages produced by the RPM. These messages provide diagnostic
1890 information about RPM operation. The driver outputs the messages
1891 via a debugfs node.
1892
1893config MSM_RPM_STATS_LOG
1894 tristate "MSM Resource Power Manager Stat Driver"
1895 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001896 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001897 default n
1898 help
1899 This option enables a driver which reads RPM messages from a shared
1900 memory location. These messages provide statistical information about
1901 the low power modes that RPM enters. The drivers outputs the message
1902 via a debugfs node.
1903
1904config MSM_IOMMU
1905 bool "MSM IOMMU Support"
Joel King41d594e2011-10-14 13:18:20 -07001906 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_APQ8064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001907 select IOMMU_API
1908 default n
1909 help
1910 Support for the IOMMUs found on certain Qualcomm SOCs.
1911 These IOMMUs allow virtualization of the address space used by most
1912 cores within the multimedia subsystem.
1913
1914 If unsure, say N here.
1915
1916config IOMMU_PGTABLES_L2
1917 bool "Allow SMMU page tables in the L2 cache (Experimental)"
1918 depends on MSM_IOMMU=y
1919 depends on MMU
1920 depends on CPU_DCACHE_DISABLE=n
1921 depends on SMP
1922 default y
1923 help
1924 Improves TLB miss latency at the expense of potential L2 pollution.
1925 However, with large multimedia buffers, the TLB should mostly contain
1926 section mappings and TLB misses should be quite infrequent.
1927 Most people can probably say Y here.
1928
1929config MSM_DIRECT_SCLK_ACCESS
1930 bool "Direct access to the SCLK timer"
1931 default n
1932
1933config IOMMU_API
1934 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001935
Gregory Beanab78cde2010-09-01 16:26:12 -07001936config MSM_GPIOMUX
1937 bool
1938
Gregory Bean1963a2a2010-08-28 10:05:44 -07001939config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001940 bool
1941
1942config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07001943 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001944
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001945config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001946 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001947
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001948config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001949 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001950
Matt Wagantall88b86312012-01-31 16:53:03 -08001951config MSM_PM
1952 depends on PM
1953 bool
1954
1955config MSM_PM2
1956 depends on PM
1957 bool
1958
1959config MSM_PM8X60
1960 depends on PM
1961 bool
1962
1963config MSM_NOPM
1964 default y if !PM
1965 bool
1966
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001967config MSM_BUS_SCALING
1968 bool "Bus scaling driver"
1969 default n
1970
Gagan Mac85c70492011-06-10 16:07:47 -06001971config MSM_BUS_RPM_MULTI_TIER_ENABLED
1972 bool "RPM Multi-tiering Configuration"
1973 depends on MSM_BUS_SCALING
1974
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001975config MSM_WATCHDOG
1976 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07001977 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001978 help
1979 This enables the watchdog as is present on 8x60. Currently we use
1980 core 0's watchdog, and reset the entire SoC if it times out. It does
1981 not run during the bootup process, so it will not catch any early
1982 lockups.
1983
1984config MSM_DLOAD_MODE
1985 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07001986 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001987 default n
1988 help
1989 This makes the SoC enter download mode when it resets
1990 due to a kernel panic. Note that this doesn't by itself
1991 make the kernel reboot on a kernel panic - that must be
1992 enabled via another mechanism.
1993
Pratik Patel17f3b822011-11-21 12:41:47 -08001994config MSM_JTAG
1995 bool "JTAG debug and trace support"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001996 help
Pratik Patel17f3b822011-11-21 12:41:47 -08001997 Add additional support for JTAG kernel debugging and tracing.
Pratik Patel7831c082011-06-08 21:44:37 -07001998
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001999config MSM_ETM
2000 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002001 depends on ARCH_MSM8X60
2002 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002003 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002004 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002005
2006config MSM_QDSS
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002007 bool "Qualcomm Debug Subsystem"
Pratik Patel17f3b822011-11-21 12:41:47 -08002008 select MSM_JTAG
Pratik Patel7831c082011-06-08 21:44:37 -07002009 help
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002010 Enables support for Qualcomm Debug Subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002011
Pratik Patel29cba152012-01-03 11:40:26 -08002012config MSM_QDSS_ETM_DEFAULT_ENABLE
2013 bool "Turn on QDSS ETM Tracing by Default"
2014 depends on MSM_QDSS
2015 help
2016 Turns on QDSS ETM tracing by default. Otherwise, tracing is
2017 disabled by default but can be enabled by other means.
2018
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002019config MSM_SLEEP_STATS
2020 bool "Enable exporting of MSM sleep stats to userspace"
2021 depends on CPU_IDLE
2022 default n
2023
Lynus Vazdde09ee2012-01-05 13:28:22 +05302024config MSM_SLEEP_STATS_DEVICE
2025 bool "Enable exporting of MSM sleep device stats to userspace"
2026
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302027config MSM_RUN_QUEUE_STATS
2028 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
2029 default y
2030
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002031config MSM_STANDALONE_POWER_COLLAPSE
2032 bool "Enable standalone power collapse"
2033 default n
2034
2035config MSM_GSBI9_UART
2036 bool "Enable GSBI9 UART device"
2037 default n
2038 help
2039 This enables GSBI9 configured into UART.
2040
2041config MSM_SHARED_GPIO_FOR_UART2DM
2042 bool "Use shared GPIOs into UART mode"
2043 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2044 help
2045 This option configures GPIO muxed with SDC4/MMC3
2046 8-bit mode into UART mode. It is used for serial
2047 console on UART2DM. Say Y if you want to have
2048 serial console on UART2DM.
2049
2050config MSM_SHOW_RESUME_IRQ
2051 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002052 depends on (ARM_GIC || PMIC8058)
2053 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002054 default n
2055 help
2056 This option logs wake up interrupts that have triggered just before
2057 the resume loop unrolls. Say Y if you want to debug why the system
2058 resumed.
2059
2060config BT_MSM_PINTEST
2061 tristate "MSM Bluetooth Pin Connectivity Test"
2062 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2063 default n
2064 help
2065 Bluetooth MSM Pin Connectivity test module.
2066 This driver provides support for verifying the MSM to BT pin
2067 connectivity.
2068
2069config MSM_FAKE_BATTERY
2070 depends on POWER_SUPPLY
2071 default n
2072 bool "MSM Fake Battery"
2073 help
2074 Enables MSM fake battery driver.
2075
2076config MSM_QDSP6_APR
2077 bool "Audio QDSP6 APR support"
2078 depends on MSM_SMD
2079 default n
2080 help
2081 Enable APR IPC protocol support between
2082 application processor and QDSP6. APR is
2083 used by audio driver to configure QDSP6's
2084 ASM, ADM and AFE.
2085
2086
2087config MSM_AUDIO_QDSP6
2088 bool "QDSP6 HW Audio support"
2089 select SND_SOC_MSM_QDSP6_INTF
2090 default n
2091 help
2092 Enable HW audio support in QDSP6.
2093 QDSP6 can support HW encoder & decoder and audio processing
2094
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002095config MSM_ULTRASOUND
2096 bool "MSM ultrasound support"
2097 depends on MSM_AUDIO_QDSP6
2098 help
2099 Enable support for qdsp6/ultrasound.
2100
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002101config MSM_RPC_VIBRATOR
2102 bool "RPC based MSM Vibrator Support"
2103 depends on MSM_ONCRPCROUTER
2104 help
2105 Enable the vibrator support on MSM over RPC. The vibrator
2106 is connected on the PMIC. Say Y if you want to enable this
2107 feature.
2108
2109config PM8XXX_RPC_VIBRATOR
2110 bool "RPC based Vibrator on PM8xxx PMICs"
2111 depends on MSM_RPC_VIBRATOR
2112 help
2113 Enable the vibrator support on MSM over RPC. The vibrator
2114 is connected on the PM8XXX PMIC. Say Y if you want to enable
2115 this feature.
2116
2117config MSM_SPM_V1
2118 bool "Driver support for SPM Version 1"
2119 help
2120 Enables the support for Version 1 of the SPM driver. SPM hardware is
2121 used to manage the processor power during sleep. The driver allows
2122 configuring SPM to allow different power modes.
2123
2124config MSM_SPM_V2
2125 bool "Driver support for SPM Version 2"
2126 help
2127 Enables the support for Version 2 of the SPM driver. SPM hardware is
2128 used to manage the processor power during sleep. The driver allows
2129 configuring SPM to allow different power modes.
2130
2131config MSM_L2_SPM
2132 bool "SPM support for L2 cache"
2133 depends on MSM_SPM_V2
2134 help
2135 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2136 control of L2 cache low power mode with a Subsystem Power manager.
2137 Enabling this driver allows configuring L2 SPM for low power modes
2138 on supported chipsets.
2139
Laura Abbott2d1760b2011-09-29 21:31:24 -07002140config MSM_MULTIMEDIA_USE_ION
2141 bool "Multimedia suport using Ion"
2142 depends on ION_MSM
2143 help
2144 Enable support for multimedia drivers using Ion for buffer management
2145 instead of pmem. Selecting this may also involve userspace
2146 dependencies as well.
2147
Laura Abbottad340ff2012-01-04 14:23:48 -08002148config MSM_RTB
2149 bool "Register tracing"
2150 help
2151 Add support for logging different events to a small uncached
2152 region. This is designed to aid in debugging reset cases where the
2153 caches may not be flushed before the target resets.
2154
2155config MSM_RTB_SEPARATE_CPUS
2156 bool "Separate entries for each cpu"
2157 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002158 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002159 help
2160 Under some circumstances, it may be beneficial to give dedicated space
2161 for each cpu to log accesses. Selecting this option will log each cpu
2162 separately. This will guarantee that the last acesses for each cpu
2163 will be logged but there will be fewer entries per cpu
2164
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002165config MSM_CACHE_ERP
2166 bool "Cache / CPU error reporting"
2167 depends on ARCH_MSM_KRAIT
2168 help
2169 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2170 log. Enabling this feature can be used as a system debugging technique
2171 if cache corruption is suspected. Cache error statistics will also be
2172 reported in /proc/cpu/msm_cache_erp.
2173
2174 For production builds, you should probably say 'N' here.
2175
2176config MSM_L1_ERR_PANIC
2177 bool "Panic on L1 cache / TLB errors"
2178 depends on MSM_CACHE_ERP
2179 help
2180 To cause the kernel to panic whenever an L1 cache or TLB error is
2181 detected, say 'Y' here. This may be useful as a debugging technique if
2182 general system instability is suspected.
2183
2184 For production builds, you should probably say 'N' here.
2185
2186
2187config MSM_L2_ERP_PORT_PANIC
2188 bool "Panic on L2 master port errors"
2189 depends on MSM_CACHE_ERP
2190 help
2191 Master port errors can occur when a memory request is not properly
2192 handled by the destination slave. Enable this option to catch drivers
2193 which attempt to access bad areas of the address space, or access
2194 hardware registers in an improper state (such as certain clocks not
2195 being on). This option may help with debugging, though production
2196 builds should probably say 'N' here.
2197
2198config MSM_L2_ERP_1BIT_PANIC
2199 bool "Panic on recoverable L2 soft errors"
2200 depends on MSM_CACHE_ERP
2201 help
2202 Enable this option to cause a kernel panic whenever the L2 cache
2203 encounters a single-bit (correctable) soft error. This option should
2204 only be enabled when doing low-level debugging where cache corruption
2205 is suspected.
2206
2207 For production builds, you should definitely say 'N' here.
2208
2209config MSM_L2_ERP_2BIT_PANIC
2210 bool "Panic on unrecoverable L2 soft errors"
2211 depends on MSM_CACHE_ERP
2212 help
2213 Enable this option to cause a kernel panic whenever the L2 cache
2214 encounters a double-bit (non-correctable) soft error. Debug builds
2215 will likely benefit from having this option enabled to catch cache
2216 problems as soon as possible.
2217
2218 For production builds, it may be acceptable to say 'N' here, since
2219 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002220
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002221config MSM_DCVS
2222 bool "Use MSM DCVS for CPU/GPU Frequency control"
2223 depends on MSM_SCM
2224 help
2225 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2226 The DCVS manager allows idle driver to feed the idle information to the
2227 algorithm and the algorithm returns a frequency for the core which is
2228 passed to the frequency change driver.
2229
Taniya Dasc43e6872012-03-21 16:41:14 +05302230config HAVE_ARCH_HAS_CURRENT_TIMER
2231 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002232
2233config MSM_CACHE_DUMP
2234 bool "Cache dumping support"
2235 help
2236 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2237 This allows for analysis of the caches in case cache corruption is
2238 suspected.
2239
Laura Abbott7b637362012-03-29 16:43:49 -07002240config MSM_CACHE_DUMP_ON_PANIC
2241 bool "Dump caches on panic"
2242 depends on MSM_CACHE_DUMP
2243 help
2244 By default, the caches are flushed on panic. This means that trying to
2245 look at them in a RAM dump will give useless data. Select this if you
2246 want to dump the L1 and L2 caches on panic before any flush occurs.
2247 If unsure, say N
2248
Brian Swetland9e73c842007-11-26 04:12:13 -08002249endif