blob: 370bc3fa23e61d42572435917debdde4115c14a7 [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
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800266 select MSM_PIL
267 select MSM_QDSP6_APR
268 select MSM_AUDIO_QDSP6 if SND_SOC
Matt Wagantall9274df92011-12-15 11:11:05 -0800269
Taniya Das43bcdd62011-12-02 17:33:27 +0530270config ARCH_MSM8625
271 bool "MSM8625"
272 select ARCH_MSM_CORTEX_A5
273 select CPU_V7
274 select MSM_GPIOMUX
275 select ARM_GIC
276 select ARCH_MSM_CORTEXMP
277 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530278 select ARM_TICKET_LOCKS
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700279endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700280
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700281choice
282 prompt "MSM SoC Revision"
283 default MSM_SOC_REV_NONE
284config MSM_SOC_REV_NONE
285 bool "N/A"
286 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
287 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walker4ad15e62010-05-06 13:54:17 -0700288config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700289 bool "Rev. A"
290 select ARCH_MSM7X27A if ARCH_MSM7X27
291endchoice
Daniel Walker4ad15e62010-05-06 13:54:17 -0700292
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700293config MSM_KRAIT_TBB_ABORT_HANDLER
294 bool "Krait TBB/TBH data abort handler"
295 depends on ARCH_MSM_KRAIT
296 depends on ARM_THUMB
297 help
298 Certain early samples of the Krait processor may generate data
299 aborts for TBB / TBH instructions that fail their condition code
300 checks. Enabling this option will ignore these erroneous data aborts,
301 at the expense of a very small performance penalty.
302
303 If unsure, say N.
304
Daniel Walker4ad15e62010-05-06 13:54:17 -0700305config ARCH_MSM_ARM11
306 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700307
Daniel Walker4ad15e62010-05-06 13:54:17 -0700308config ARCH_MSM_SCORPION
Daniel Walkerbf83de42010-03-16 16:29:44 -0700309 bool
310
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700311config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700312 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800313 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700314
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700315config MSM_SMP
316 bool
317
318config ARCH_MSM_SCORPIONMP
319 select ARCH_MSM_SCORPION
320 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530321 select HAVE_ARCH_HAS_CURRENT_TIMER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700322 bool
323
324config ARCH_MSM_KRAITMP
325 select ARCH_MSM_KRAIT
326 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530327 select HAVE_ARCH_HAS_CURRENT_TIMER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700328 bool
329
Taniya Das43bcdd62011-12-02 17:33:27 +0530330config ARCH_MSM_CORTEXMP
331 select MSM_SMP
332 bool
333
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700334config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800335 bool
Rohit Vaswaniaf7ae272012-01-09 10:28:57 -0800336 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700337
338config ARCH_MSM7X27A
339 bool
340 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700341 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530342 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530343 select ARM_GIC
344 select ARCH_MSM_CORTEXMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700345
Gregory Beanf9f3d312010-04-30 22:06:50 -0700346config MSM_VIC
347 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700348
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700349config MSM_RPM
350 bool "Resource Power Manager"
351 select MSM_MPM
352
353config MSM_MPM
354 bool "Modem Power Manager"
355
356config MSM_XO
357 bool
358
359config MSM_REMOTE_SPINLOCK_DEKKERS
360 bool
361config MSM_REMOTE_SPINLOCK_SWP
362 bool
363config MSM_REMOTE_SPINLOCK_LDREX
364 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600365config MSM_REMOTE_SPINLOCK_SFPB
366 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700367config MSM_ADM3
368 bool
369
370menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700371
372config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700373 depends on ARCH_MSM7X01A
374 depends on MSM_STACKED_MEMORY
375 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700376 bool "Halibut Board (QCT SURF7201A)"
377 help
378 Support for the Qualcomm SURF7201A eval board.
379
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700380config MACH_MSM7201A_SURF
381 depends on ARCH_MSM7X01A
382 depends on MSM_STACKED_MEMORY
383 default y
384 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700385 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700386 Support for the Qualcomm MSM7201A SURF eval board.
387
388config MACH_MSM7201A_FFA
389 depends on ARCH_MSM7X01A
390 depends on MSM_STACKED_MEMORY
391 default y
392 bool "MSM7201A FFA"
393 help
394 Support for the Qualcomm MSM7201A FFA eval board.
395
396config MACH_TROUT
397 depends on ARCH_MSM7X01A
398 depends on MSM_STACKED_MEMORY
399 default y
400 bool "Trout"
401
402config MACH_MSM7X27_SURF
403 depends on ARCH_MSM7X27
404 depends on !MSM_STACKED_MEMORY
405 default y
406 bool "MSM7x27 SURF"
407 help
408 Support for the Qualcomm MSM7x27 SURF eval board.
409
410config MACH_MSM7X27_FFA
411 depends on ARCH_MSM7X27
412 depends on !MSM_STACKED_MEMORY
413 default y
414 bool "MSM7x27 FFA"
415 help
416 Support for the Qualcomm MSM7x27 FFA eval board.
417
418config MACH_MSM7X27A_RUMI3
419 depends on ARCH_MSM7X27A
420 depends on !MSM_STACKED_MEMORY
421 default y
422 bool "MSM7x27A RUMI3"
423 help
424 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
425
426config MACH_MSM7X27A_SURF
427 depends on ARCH_MSM7X27A
428 depends on !MSM_STACKED_MEMORY
429 default y
430 bool "MSM7x27A SURF"
431 help
432 Support for the Qualcomm MSM7x27A SURF.
433
434config MACH_MSM7X27A_FFA
435 depends on ARCH_MSM7X27A
436 depends on !MSM_STACKED_MEMORY
437 default y
438 bool "MSM7x27A FFA"
439 help
440 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700441
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530442config MACH_MSM7625A_SURF
443 depends on ARCH_MSM7X27A
444 depends on !MSM_STACKED_MEMORY
445 default y
446 bool "MSM7625A SURF"
447 help
448 Support for the Qualcomm MSM7625A SURF.
449
450config MACH_MSM7625A_FFA
451 depends on ARCH_MSM7X27A
452 depends on !MSM_STACKED_MEMORY
453 default y
454 bool "MSM7625A FFA"
455 help
456 Support for the Qualcomm MSM7625A FFA.
457
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530458config MACH_MSM7627A_QRD1
459 depends on ARCH_MSM7X27A
460 depends on !MSM_STACKED_MEMORY
461 default y
462 bool "MSM7627A QRD1"
463 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530464 Support for the Qualcomm MSM7627A Reference Design.
465
466config MACH_MSM7627A_QRD3
467 depends on ARCH_MSM7X27A
468 depends on !MSM_STACKED_MEMORY
469 default y
470 bool "MSM7627A QRD3"
471 help
472 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530473
Taniya Dasc868a2e2012-01-03 10:18:47 +0530474config MACH_MSM7627A_EVB
475 depends on ARCH_MSM7X27A
476 depends on !MSM_STACKED_MEMORY
477 default y
478 bool "MSM7627A EVB"
479 help
480 Support for the Qualcomm MSM7627A Reference Design.
481
Taniya Das43bcdd62011-12-02 17:33:27 +0530482config MACH_MSM8625_RUMI3
483 depends on ARCH_MSM8625
484 depends on !MSM_STACKED_MEMORY
485 default y
486 bool "MSM8625 RUMI3"
487 help
488 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
489
Taniya Dase3027e22012-02-27 16:32:27 +0530490config MACH_MSM8625_SURF
491 depends on ARCH_MSM8625
492 depends on !MSM_STACKED_MEMORY
493 default y
494 bool "MSM8625 SURF"
495 help
496 Support for the Qualcomm MSM8625 SURF.
497
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530498config MACH_MSM8625_EVB
499 depends on ARCH_MSM8625
500 depends on !MSM_STACKED_MEMORY
501 default y
502 bool "MSM8625 EVB"
503 help
504 Support for the Qualcomm MSM8625 Reference Design.
505
Daniel Walker7b521612010-05-06 12:44:57 -0700506config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700507 depends on ARCH_MSM7X30
508 depends on !MSM_STACKED_MEMORY
509 default y
510 bool "MSM7x30 SURF"
511 help
512 Support for the Qualcomm MSM7x30 SURF eval board.
513
514config MACH_MSM7X30_FFA
515 depends on ARCH_MSM7X30
516 depends on !MSM_STACKED_MEMORY
517 default y
518 bool "MSM7x30 FFA"
519 help
520 Support for the Qualcomm MSM7x30 FFA eval board.
521
522config MACH_MSM7X30_FLUID
523 depends on ARCH_MSM7X30
524 depends on !MSM_STACKED_MEMORY
525 default y
526 bool "MSM7x30 FLUID"
527 help
528 Support for the Qualcomm MSM7x30 FLUID eval board.
529
530config MACH_SAPPHIRE
531 depends on ARCH_MSM7X01A
532 default n
533 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700534
Daniel Walker4ad15e62010-05-06 13:54:17 -0700535config MACH_QSD8X50_SURF
536 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700537 depends on MSM_SOC_REV_NONE
538 depends on MSM_STACKED_MEMORY
539 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700540 bool "QSD8x50 SURF"
541 help
542 Support for the Qualcomm QSD8x50 SURF eval board.
543
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700544config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700545 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
549 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700550 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700551 Support for the Qualcomm QSD8x50 FFA eval board.
552
553config MACH_MSM7X25_SURF
554 depends on ARCH_MSM7X25
555 depends on !MSM_STACKED_MEMORY
556 default y
557 bool "MSM7x25 SURF"
558 help
559 Support for the Qualcomm MSM7x25 SURF eval board.
560
561config MACH_MSM7X25_FFA
562 depends on ARCH_MSM7X25
563 depends on !MSM_STACKED_MEMORY
564 default y
565 bool "MSM7x25 FFA"
566 help
567 Support for the Qualcomm MSM7x25 FFA eval board.
568
569config MACH_MSM8X55_SURF
570 depends on ARCH_MSM7X30
571 depends on !MSM_STACKED_MEMORY
572 default y
573 bool "MSM8X55 SURF"
574 help
575 Support for the Qualcomm MSM8x55 SURF eval board.
576
577config MACH_MSM8X55_FFA
578 depends on ARCH_MSM7X30
579 depends on !MSM_STACKED_MEMORY
580 default y
581 bool "MSM8X55 FFA"
582 help
583 Support for the Qualcomm MSM8x55 FFA eval board.
584
585config MACH_MSM8X55_SVLTE_FFA
586 depends on ARCH_MSM7X30
587 depends on !MSM_STACKED_MEMORY
588 default y
589 bool "MSM8X55 SVLTE FFA"
590 help
591 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
592
593config MACH_MSM8X55_SVLTE_SURF
594 depends on ARCH_MSM7X30
595 depends on !MSM_STACKED_MEMORY
596 default y
597 bool "MSM8X55 SVLTE SURF"
598 help
599 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700600
Steve Mucklea55df6e2010-01-07 12:43:24 -0800601config MACH_MSM8X60_RUMI3
602 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700603 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800604 bool "MSM8x60 RUMI3"
605 help
606 Support for the Qualcomm MSM8x60 RUMI3 emulator.
607
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800608config MACH_MSM8X60_SIM
609 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700610 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800611 bool "MSM8x60 Simulator"
612 help
613 Support for the Qualcomm MSM8x60 simulator.
614
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700615config MACH_MSM8X60_SURF
616 depends on ARCH_MSM8X60
617 default n
618 bool "MSM8x60 SURF"
619 help
620 Support for the Qualcomm MSM8x60 SURF eval board.
621
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700622config MACH_MSM8X60_FFA
623 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700624 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700625 bool "MSM8x60 FFA"
626 help
627 Support for the Qualcomm MSM8x60 FFA eval board.
628
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700629config MACH_MSM8X60_FLUID
630 depends on ARCH_MSM8X60
631 default n
632 bool "MSM8x60 FLUID"
633 help
634 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
635 8x60 target which has a form factor that is much closer to that
636 of a phone than other targets. It also has a new display and
637 touchscreen controller.
638
639config MACH_MSM8X60_FUSION
640 depends on ARCH_MSM8X60
641 default n
642 bool "MSM8x60 FUSION"
643 help
644 Support for the Qualcomm MSM8x60 Fusion SURF device.
645
646config MACH_MSM8X60_FUSN_FFA
647 depends on ARCH_MSM8X60
648 default n
649 bool "MSM8x60 FUSN FFA"
650 help
651 Support for the Qualcomm MSM8x60 Fusion FFA device.
652
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400653config MACH_MSM8X60_DRAGON
654 depends on ARCH_MSM8X60
655 default n
656 bool "MSM8x60 DRAGON"
657 help
658 Support for the Qualcomm MSM8x60 Dragon board.
659
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800660config MACH_MSM8960_SIM
661 depends on ARCH_MSM8960
662 bool "MSM8960 Simulator"
663 help
664 Support for the Qualcomm MSM8960 simulator.
665
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800666config MACH_MSM8960_RUMI3
667 depends on ARCH_MSM8960
668 bool "MSM8960 RUMI3"
669 help
670 Support for the Qualcomm MSM8960 RUMI3 emulator.
671
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700672config MACH_MSM8960_CDP
673 depends on ARCH_MSM8960
674 bool "MSM8960 CDP"
675 help
676 Support for the Qualcomm MSM8960 CDP device.
677
678config MACH_MSM8960_MTP
679 depends on ARCH_MSM8960
680 bool "MSM8960 MTP"
681 help
682 Support for the Qualcomm MSM8960 MTP device.
683
684config MACH_MSM8960_FLUID
685 depends on ARCH_MSM8960
686 bool "MSM8960 FLUID"
687 help
688 Support for the Qualcomm MSM8960 FLUID device.
689
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300690config MACH_MSM8960_LIQUID
691 depends on ARCH_MSM8960
692 bool "MSM8960 LIQUID"
693 help
694 Support for the Qualcomm MSM8960 LIQUID device.
695
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700696config MACH_MSM8930_CDP
697 depends on ARCH_MSM8930
698 bool "MSM8930 CDP"
699 help
700 Support for the Qualcomm MSM8930 CDP device.
701
702config MACH_MSM8930_MTP
703 depends on ARCH_MSM8930
704 bool "MSM8930 MTP"
705 help
706 Support for the Qualcomm MSM8930 MTP device.
707
708config MACH_MSM8930_FLUID
709 depends on ARCH_MSM8930
710 bool "MSM8930 FLUID"
711 help
712 Support for the Qualcomm MSM8930 FLUID device.
713
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800714config MACH_MSM8627_CDP
715 depends on ARCH_MSM8930
716 bool "MSM8627 CDP"
717 help
718 Support for the Qualcomm MSM8627 CDP device.
719
720config MACH_MSM8627_MTP
721 depends on ARCH_MSM8930
722 bool "MSM8627 MTP"
723 help
724 Support for the Qualcomm MSM8627 MTP device.
725
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700726config MACH_MSM9615_CDP
727 depends on ARCH_MSM9615
728 bool "MSM9615 CDP"
729 help
730 Support for the Qualcomm MSM9615 CDP device.
731
732config MACH_MSM9615_MTP
733 depends on ARCH_MSM9615
734 bool "MSM9615 MTP"
735 help
736 Support for the Qualcomm MSM9615 MTP device.
737
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700738config MSM_USE_TSIF1
739 depends on ARCH_MSM8X60
740 bool "MSM8x60 use TSIF1"
741 help
742 Selects TSIF1 core to be used rather than TSIF0.
743 The two TSIF cores share the same DM configuration
744 so they cannot be used simultaneously.
745
746config MACH_APQ8064_SIM
747 depends on ARCH_APQ8064
748 bool "APQ8064 Simulator"
749 help
750 Support for the Qualcomm APQ8064 simulator.
751
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700752config MACH_APQ8064_RUMI3
753 depends on ARCH_APQ8064
754 bool "APQ8064 RUMI3"
755 help
756 Support for the Qualcomm APQ8064 RUMI3 emulator.
757
Joel King82b7e3f2012-01-05 10:03:27 -0800758config MACH_APQ8064_CDP
759 depends on ARCH_APQ8064
760 bool "APQ8064 CDP"
761 help
762 Support for the Qualcomm APQ8064 CDP device.
763
764config MACH_APQ8064_MTP
765 depends on ARCH_APQ8064
766 bool "APQ8064 MTP"
767 help
768 Support for the Qualcomm APQ8064 MTP device.
769
770config MACH_APQ8064_LIQUID
771 depends on ARCH_APQ8064
772 bool "APQ8064 LIQUID"
773 help
774 Support for the Qualcomm APQ8064 LIQUID device.
775
Joel King11ca8202012-02-13 16:19:03 -0800776config MACH_MPQ8064_HRD
777 depends on ARCH_APQ8064
778 bool "MPQ8064 HRD"
779 help
780 Support for the Qualcomm MPQ8064 HRD device.
781
782config MACH_MPQ8064_DTV
783 depends on ARCH_APQ8064
784 bool "MPQ8064 DTV"
785 help
786 Support for the Qualcomm MPQ8064 DTV device.
787
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700788config MACH_FSM9XXX_SURF
789 depends on ARCH_FSM9XXX
790 depends on !MSM_STACKED_MEMORY
791 default y
792 bool "FSM9XXX SURF"
793 help
794 Support for the Qualcomm FSM9xxx femtocell
795 chipset based SURF evaluation board and
796 FFA board.
797
Daniel Walker4ad15e62010-05-06 13:54:17 -0700798endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800799
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700800config MSM_STACKED_MEMORY
801 bool "Stacked Memory"
802 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800803 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700804 This option is used to indicate the presence of on-die stacked
805 memory. When present this memory bank is used for a high speed
806 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800807
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700808config PHYS_OFFSET
809 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700810 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700811 default "0x80200000" if ARCH_APQ8064
812 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700813 default "0x80200000" if ARCH_MSM8930
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700814 default "0x80200000" if ARCH_MSMCOPPER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700815 default "0x10000000" if ARCH_FSM9XXX
816 default "0x00200000" if !MSM_STACKED_MEMORY
817 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
818 default "0x20000000" if ARCH_QSD8X50
819 default "0x40200000" if ARCH_MSM8X60
820 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800821
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700822config KERNEL_PMEM_EBI_REGION
823 bool "Enable in-kernel PMEM region for EBI"
824 default y if ARCH_MSM8X60
Olav Hauganb800c8c2012-01-30 08:50:45 -0800825 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSMCOPPER)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700826 help
827 Enable the in-kernel PMEM allocator to use EBI memory.
828
829config KERNEL_PMEM_SMI_REGION
830 bool "Enable in-kernel PMEM region for SMI"
831 default y if ARCH_MSM8X60
832 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
833 help
834 Enable the in-kernel PMEM allocator to use SMI memory.
835
836config PMEM_GPU0
837 bool "Enable PMEM GPU0 region"
838 default y
839 depends on ARCH_QSD8X50 && ANDROID_PMEM
840 help
841 Enable the PMEM GPU0 device on SMI Memory.
842
843config MSM_AMSS_VERSION
844 int
845 default 6210 if MSM_AMSS_VERSION_6210
846 default 6220 if MSM_AMSS_VERSION_6220
847 default 6225 if MSM_AMSS_VERSION_6225
848
849choice
850 prompt "AMSS modem firmware version"
851
852 default MSM_AMSS_VERSION_6225
853
854 config MSM_AMSS_VERSION_6210
855 bool "6.2.10"
856
857 config MSM_AMSS_VERSION_6220
858 bool "6.2.20"
859
860 config MSM_AMSS_VERSION_6225
861 bool "6.2.20 + New ADSP"
862endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800863
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700864config MSM_HAS_DEBUG_UART_HS
865 bool
866 help
867 Say Y here if high speed MSM UART is present.
868
869config MSM_HAS_DEBUG_UART_HS_V14
870 bool
871 select MSM_HAS_DEBUG_UART_HS
872 help
873 Say Y here if high speed MSM UART v1.4 is present.
874
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800875config DEBUG_MSM8930_UART
876 bool "Kernel low-level debugging messages via MSM 8930 UART"
877 depends on ARCH_MSM8930 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700878 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800879 help
880 Say Y here if you want the debug print routines to direct
881 their output to the serial port on MSM 8930 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100882
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530883config MSM_DEBUG_UART_PHYS
884 hex
885 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
886 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
887 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
888 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
889 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
890 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
891 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
892 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
893
Pavel Machek6339f662009-11-02 11:48:29 +0100894choice
895 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800896 depends on DEBUG_LL
Pavel Machek6339f662009-11-02 11:48:29 +0100897
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800898 config DEBUG_MSM_UART1
899 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530900 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800901 help
902 Say Y here if you want the debug print routines to direct
903 their output to the first serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100904
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800905 config DEBUG_MSM_UART2
906 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530907 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800908 help
909 Say Y here if you want the debug print routines to direct
910 their output to the second serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100911
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800912 config DEBUG_MSM_UART3
913 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530914 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800915 help
916 Say Y here if you want the debug print routines to direct
917 their output to the third serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100918
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800919 config DEBUG_MSM8660_UART
920 bool "Kernel low-level debugging messages via MSM 8660 UART"
921 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700922 select MSM_HAS_DEBUG_UART_HS
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 serial port on MSM 8660 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100926
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800927 config DEBUG_MSM8960_UART
928 bool "Kernel low-level debugging messages via MSM 8960 UART"
929 depends on ARCH_MSM8960
930 select DEBUG_MSM8930_UART
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700931 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800932 help
933 Say Y here if you want the debug print routines to direct
934 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700935
936 config DEBUG_MSMCOPPER_UART
937 bool "Kernel low-level debugging messages via MSM Copper UART"
938 depends on ARCH_MSMCOPPER
939 select MSM_HAS_DEBUG_UART_HS_V14
940 help
941 Say Y here if you want the debug print routines to direct
942 their output to the serial port on MSM Copper devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100943endchoice
944
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700945choice
946 prompt "Default Timer"
947 default MSM7X00A_USE_GP_TIMER
948
949 config MSM7X00A_USE_GP_TIMER
950 bool "GP Timer"
951 help
952 Low resolution timer that allows power collapse from idle.
953
954 config MSM7X00A_USE_DG_TIMER
955 bool "DG Timer"
956 help
957 High resolution timer.
958endchoice
959
960choice
961 prompt "Suspend sleep mode"
962 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
963 help
964 Allows overriding the sleep mode used. Leave at power
965 collapse suspend unless the arm9 image has problems.
966
967 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
968 bool "Power collapse suspend"
969 help
970 Lowest sleep state. Returns through reset vector.
971
972 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
973 bool "Power collapse"
974 help
975 Sleep state that returns through reset vector.
976
977 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
978 bool "Apps Sleep"
979
980 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
981 bool "Ramp down cpu clock and wait for interrupt"
982
983 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
984 bool "Wait for interrupt"
985endchoice
986
987config MSM7X00A_SLEEP_MODE
988 int
989 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
990 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
991 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
992 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
993 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
994
995choice
996 prompt "Idle sleep mode"
997 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
998 help
999 Allows overriding the sleep mode used from idle. Leave at power
1000 collapse suspend unless the arm9 image has problems.
1001
1002 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1003 bool "Power collapse suspend"
1004 help
1005 Lowest sleep state. Returns through reset vector.
1006
1007 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1008 bool "Power collapse"
1009 help
1010 Sleep state that returns through reset vector.
1011
1012 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1013 bool "Apps Sleep"
1014
1015 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1016 bool "Ramp down cpu clock and wait for interrupt"
1017
1018 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1019 bool "Wait for interrupt"
1020endchoice
1021
1022config MSM7X00A_IDLE_SLEEP_MODE
1023 int
1024 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1025 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1026 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1027 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1028 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1029
1030config MSM7X00A_IDLE_SLEEP_MIN_TIME
1031 int "Minimum idle time before sleep"
1032 default 20000000
1033 help
1034 Minimum idle time in nanoseconds before entering low power mode.
1035
1036config MSM7X00A_IDLE_SPIN_TIME
1037 int "Idle spin time before cpu ramp down"
1038 default 80000
1039 help
1040 Spin time in nanoseconds before ramping down cpu clock and entering
1041 any low power state.
1042
1043menuconfig MSM_IDLE_STATS
1044 bool "Collect idle statistics"
1045 default y
1046 help
1047 Collect idle statistics and export them in proc/msm_pm_stats.
1048
1049if MSM_IDLE_STATS
1050
1051config MSM_IDLE_STATS_FIRST_BUCKET
1052 int "First bucket time"
1053 default 62500
1054 help
1055 Upper time limit in nanoseconds of first bucket.
1056
1057config MSM_IDLE_STATS_BUCKET_SHIFT
1058 int "Bucket shift"
1059 default 2
1060
1061config MSM_IDLE_STATS_BUCKET_COUNT
1062 int "Bucket count"
1063 default 10
1064
1065config MSM_SUSPEND_STATS_FIRST_BUCKET
1066 int "First bucket time for suspend"
1067 default 1000000000
1068 help
1069 Upper time limit in nanoseconds of first bucket of the
1070 histogram. This is for collecting statistics on suspend.
1071
1072endif # MSM_IDLE_STATS
1073
1074config CPU_HAS_L2_PMU
1075 bool "L2CC PMU Support"
1076 help
1077 Select this if the L2 cache controller has a Performance Monitoring Unit.
1078
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001079config HTC_HEADSET
1080 tristate "HTC 2 Wire detection driver"
1081 default n
1082 help
1083 Provides support for detecting HTC 2 wire devices, such as wired
1084 headset, on the trout platform. Can be used with the msm serial
1085 debugger, but not with serial console.
1086
1087config TROUT_BATTCHG
1088 depends on MACH_TROUT && POWER_SUPPLY
1089 default y
1090 bool "Trout battery / charger driver"
1091
1092config HTC_PWRSINK
1093 depends on MSM_SMD
1094 default n
1095 bool "HTC Power Sink Driver"
1096
1097config QSD_SVS
1098 bool "QSD Static Voltage Scaling"
1099 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1100 default y
1101 select TPS65023
1102 help
1103 Enables static voltage scaling using the TPS65023 PMIC.
1104
1105config QSD_PMIC_DEFAULT_DCDC1
1106 int "PMIC default output voltage"
1107 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1108 default 1250
1109 help
1110 This is the PMIC voltage at Linux kernel boot.
1111
1112config MSM_FIQ_SUPPORT
1113 default y
1114 bool "Enable installation of an FIQ handler."
1115
1116config MSM_SERIAL_DEBUGGER
1117 select MSM_FIQ_SUPPORT
1118 select KERNEL_DEBUGGER_CORE
1119 default n
1120 bool "FIQ Mode Serial Debugger"
1121 help
1122 The FIQ serial debugger can accept commands even when the
1123 kernel is unresponsive due to being stuck with interrupts
1124 disabled. Depends on the kernel debugger core in drivers/misc.
1125
1126config MSM_SERIAL_DEBUGGER_CONSOLE
1127 depends on MSM_SERIAL_DEBUGGER
1128 default n
1129 bool "Console on FIQ Serial Debugger port"
1130 help
1131 Enables a console so that printk messages are displayed on
1132 the debugger serial port as the occur.
Daniel Walkerbf83de42010-03-16 16:29:44 -07001133
Steve Mucklec8aabae2010-04-21 16:20:27 -07001134config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001135 default y
1136 bool "Proc-Comm RPC Interface"
1137 help
1138 Enables a lightweight communications interface to the
1139 baseband processor.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001140
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001141config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001142 bool "MSM Shared Memory Driver (SMD)"
1143 help
1144 Support for the shared memory interface between the apps
1145 processor and the baseband processor. Provides access to
1146 the "shared heap", as well as virtual serial channels
1147 used to communicate with various services on the baseband
1148 processor.
1149
1150choice
1151 prompt "MSM Shared memory interface version"
1152 depends on MSM_SMD
1153 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1154 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1155
1156 config MSM_SMD_PKG3
1157 bool
1158 prompt "Package 3"
1159
1160 config MSM_SMD_PKG4
1161 bool
1162 prompt "Package 4"
1163endchoice
1164
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001165config MSM_RPC_SDIO_XPRT
1166 depends on MSM_SDIO_AL
1167 default y
1168 bool "MSM SDIO XPRT Layer"
1169 help
1170 SDIO Transport Layer for RPC Rouer
1171
1172config MSM_RPC_SDIO_DEBUG
1173 depends on MSM_RPC_SDIO_XPRT
1174 default y
1175 bool "MSM SDIO XPRT debug support"
1176 help
1177 Support for debugging SDIO XPRT
1178
1179config MSM_SMD_DEBUG
1180 depends on MSM_SMD
1181 default y
1182 bool "MSM SMD debug support"
1183 help
1184 Support for debugging the SMD for communication
1185 between the ARM9 and ARM11
1186
1187config MSM_SDIO_AL
1188 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1189 default y
1190 tristate "SDIO-Abstraction-Layer"
1191 help
1192 Support MSM<->MDM Communication over SDIO bus.
1193 MDM SDIO-Client should have pipes support.
1194
1195config MSM_SDIO_DMUX
1196 bool "SDIO Data Mux Driver"
1197 depends on MSM_SDIO_AL
1198 default n
1199 help
1200 Support Muxed Data Channels over SDIO interface.
1201
1202config MSM_BAM_DMUX
1203 bool "BAM Data Mux Driver"
1204 depends on SPS
1205 default n
1206 help
1207 Support Muxed Data Channels over BAM interface.
1208 BAM has a limited number of pipes. This driver
1209 provides a means to support more logical channels
1210 via muxing than BAM could without muxing.
1211
1212config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001213 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001214 default y
1215 bool "MSM N-WAY SMD support"
1216 help
1217 Supports APPS-QDSP SMD communication along with
1218 normal APPS-MODEM SMD communication.
1219
1220config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001221 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001222 default y
1223 bool "MSM N-WAY SMSM support"
1224 help
1225 Supports APPS-QDSP SMSM communication along with
1226 normal APPS-MODEM SMSM communication.
1227
1228config MSM_RESET_MODEM
1229 tristate "Reset Modem Driver"
1230 depends on MSM_SMD
1231 default m
1232 help
1233 Allows the user to reset the modem through a device node.
1234
1235config MSM_SMD_LOGGING
1236 depends on MSM_SMD
1237 default y
1238 bool "MSM Shared Memory Logger"
1239 help
1240 This option exposes the shared memory logger at /dev/smem_log
1241 and a debugfs node named smem_log.
1242
1243 If in doubt, say yes.
1244
1245config MSM_SMD_NMEA
1246 bool "NMEA GPS Driver"
1247 depends on MSM_SMD
1248 default y
1249 help
1250 Enable this to support the NMEA GPS device.
1251
1252 If in doubt, say yes.
1253
1254config MSM_SDIO_TTY
1255 bool "SDIO TTY Driver"
1256 depends on MSM_SDIO_AL
1257 default n
1258 help
1259 Provides a TTY driver SDIO TTY
1260 This driver can be used by user space
1261 applications for passing data through the
1262 SDIO interface.
1263
1264config MSM_SMD_TTY
1265 bool "SMD TTY Driver"
1266 depends on MSM_SMD
1267 default y
1268 help
1269 Provides TTY interfaces to interact with the modem.
1270
1271 If in doubt, say yes.
1272
1273config MSM_SMD_QMI
1274 bool "SMD QMI Driver"
1275 depends on MSM_SMD
1276 default y
1277 help
1278 Manages network data connections.
1279
1280 If in doubt, say yes.
1281
1282config MSM_SMD_PKT
1283 bool "SMD Packet Driver"
1284 depends on MSM_SMD
1285 default y
1286 help
1287 Provides a binary SMD non-muxed packet port interface.
1288
1289 If in doubt, say yes.
1290
1291config MSM_SDIO_CMUX
1292 bool "SDIO CMUX Driver"
1293 depends on MSM_SDIO_AL
1294 default n
1295 help
1296 Provides a Muxed port interface over SDIO QMI
1297
1298config MSM_DSPS
1299 bool "Sensors DSPS driver"
1300 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1301 default n
1302 help
1303 Provides user-space interface to the sensors manager
1304 to turn on/off the Sensors Processor system clocks.
1305 It is the DSPS responsibility to turn on/off the sensors
1306 themself.
1307 The number of clocks and their name may vary between targets.
1308 It also triggers the PIL to load the DSPS firmware.
1309
1310config MSM_SDIO_CTL
1311 bool "SDIO CTL Driver"
1312 depends on MSM_SDIO_CMUX
1313 default n
1314 help
1315 Provides a binary SDIO control port interface.
1316
1317config MSM_ONCRPCROUTER
1318 depends on MSM_SMD
1319 default n
1320 bool "MSM ONCRPC router support"
1321 help
1322 Support for the MSM ONCRPC router for communication between
1323 the ARM9 and ARM11
1324
1325config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001326 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001327 default n
1328 bool "MSM IPC Router support"
1329 help
1330 Support for the MSM IPC Router for communication between
1331 the APPs and the MODEM
1332
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001333config MSM_IPC_ROUTER_SMD_XPRT
1334 depends on MSM_SMD
1335 depends on MSM_IPC_ROUTER
1336 default n
1337 bool "MSM SMD XPRT Layer"
1338 help
1339 SMD Transport Layer for IPC Router
1340
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001341config MSM_ONCRPCROUTER_DEBUG
1342 depends on MSM_ONCRPCROUTER
1343 default y
1344 bool "MSM debug ONCRPC router support"
1345 help
1346 Support for debugging the ONCRPC router for communication
1347 between the ARM9 and ARM11
1348
1349config MSM_RPC_LOOPBACK_XPRT
1350 depends on MSM_ONCRPCROUTER
1351 default n
1352 bool "MSM RPC local routing support"
1353 help
1354 Support for routing RPC messages between APPS clients
1355 and APPS servers. Helps in testing APPS RPC framework.
1356
1357config MSM_RPCSERVER_TIME_REMOTE
1358 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1359 default y
1360 bool "Time remote RPC server"
1361 help
1362 The time remote server receives notification of time bases and
1363 reports these events to registered callback functions.
1364
1365config MSM_RPCSERVER_WATCHDOG
1366 depends on MSM_ONCRPCROUTER
1367 default y
1368 bool "Watchdog RPC server"
1369 help
1370 The dog_keepalive server handles watchdog events.
1371
1372config MSM_RPC_WATCHDOG
1373 depends on MSM_ONCRPCROUTER
1374 default n
1375 bool "Watchdog RPC client"
1376 help
1377 The dog_keepalive client module.
1378
1379config MSM_RPC_PING
1380 depends on MSM_ONCRPCROUTER && DEBUG_FS
1381 default m
1382 bool "MSM rpc ping"
1383 help
1384 Implements MSM rpc ping test module.
1385
1386config MSM_RPC_PROC_COMM_TEST
1387 depends on DEBUG_FS && MSM_PROC_COMM
1388 default m
1389 bool "MSM rpc proc comm test"
1390 help
1391 Implements MSM rpc proc comm test module.
1392
1393config MSM_RPC_OEM_RAPI
1394 depends on MSM_ONCRPCROUTER
1395 default m
1396 bool "MSM oem rapi"
1397 help
1398 Implements MSM oem rapi client module.
1399
1400config MSM_RPCSERVER_HANDSET
1401 depends on MSM_ONCRPCROUTER
1402 default y
1403 bool "Handset events RPC server"
1404 help
1405 Support for receiving handset events like headset detect,
1406 headset switch and clamshell state.
1407
1408config MSM_RMT_STORAGE_CLIENT
1409 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1410 default n
1411 bool "Remote Storage RPC client"
1412 help
1413 Provide RPC mechanism for remote processors to access storage
1414 device on apps processor.
1415
1416config MSM_RMT_STORAGE_CLIENT_STATS
1417 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1418 default n
1419 bool "Remote storage RPC client performance statistics"
1420 help
1421 Collects performance statistics and shows this information
1422 through a debugfs file rmt_storage_stats.
1423
1424config MSM_SDIO_SMEM
1425 depends on MSM_SDIO_AL
1426 default n
1427 bool "SDIO SMEM for remote storage"
1428 help
1429 Copies data from remote MDM9K memory to local MSM8x60
1430 memory. Used by remote storage client to shadow
1431 MDM9K filesystem.
1432
1433config MSM_DALRPC
1434 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001435 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001436 help
1437 Supports RPC calls to DAL devices on remote processor cores.
1438
1439config MSM_DALRPC_TEST
1440 tristate "DAL RPC test module"
1441 depends on (MSM_DALRPC && DEBUG_FS)
1442 default m
1443 help
1444 Exercises DAL RPC calls to QDSP6.
1445
1446if CPU_FREQ_MSM
1447
1448config MSM_CPU_FREQ_SET_MIN_MAX
1449 bool "Set Min/Max CPU frequencies."
1450 default n
1451 help
1452 Allow setting min and max CPU frequencies. Sysfs can be used
1453 to override these values.
1454
1455config MSM_CPU_FREQ_MAX
1456 int "Max CPU Frequency"
1457 depends on MSM_CPU_FREQ_SET_MIN_MAX
1458 default 384000
1459
1460config MSM_CPU_FREQ_MIN
1461 int "Min CPU Frequency"
1462 depends on MSM_CPU_FREQ_SET_MIN_MAX
1463 default 245760
1464
1465endif # CPU_FREQ_MSM
1466
1467config MSM_CPU_AVS
1468 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1469 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1470 depends on ARCH_QSD8X50
1471 default n
1472 select MSM_AVS_HW
1473 help
1474 This enables the s/w control of Adaptive Voltage Scaling feature
1475 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1476 based on feedback from three ring oscillators in the CPU.
1477
1478config MSM_AVS_HW
1479 bool "Enable Adaptive Voltage Scaling (AVS)"
1480 default n
1481 help
1482 Enable AVS hardware to fine tune voltage at each frequency. The
1483 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1484 fine tune the voltages based on the feedback from the ring
1485 oscillators.
1486
1487config MSM_HW3D
1488 tristate "MSM Hardware 3D Register Driver"
1489 depends on ANDROID_PMEM
1490 default y
1491 help
1492 Provides access to registers needed by the userspace OpenGL|ES
1493 library.
1494
1495config MSM_ADSP
1496 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1497 tristate "MSM ADSP driver"
1498 depends on ANDROID_PMEM
1499 default y
1500 help
1501 Provides access to registers needed by the userspace aDSP library.
1502
1503config ADSP_RPC_VER
1504 hex
1505 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1506 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1507 depends on MSM_ADSP
1508 help
1509 Select proper ADSP RPC version
1510choice
1511 prompt "ADSP RPC version"
1512
1513 default AMSS_7X25_VERSION_2009
1514
1515 config AMSS_7X25_VERSION_2009
1516 bool "2.0.09"
1517
1518 config AMSS_7X25_VERSION_2008
1519 bool "2.0.08"
1520endchoice
1521
1522config MSM7KV2_AUDIO
1523 bool "MSM7K v2 audio"
1524 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1525 default y
1526 help
1527 Enables QDSP5V2-based audio drivers for audio playbacks and
1528 voice call.
1529
1530config MSM_ADSP_REPORT_EVENTS
1531 bool "Report modem events from the DSP"
1532 default y
1533 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1534 help
1535 Normally, only messages from the aDSP are reported to userspace.
1536 With this option, we report events from the aDSP as well.
1537
1538config MSM_QDSP6
1539 tristate "QDSP6 support"
1540 depends on ARCH_QSD8X50 && ANDROID_PMEM
1541 default y
1542 help
1543 Enable support for qdsp6. This provides audio and video functionality.
1544
1545config MSM8X60_AUDIO
1546 tristate "MSM8X60 audio support"
1547 depends on ARCH_MSM8X60 && ANDROID_PMEM
1548 default y
1549 help
1550 Enable support for qdsp6v2. This provides audio functionality.
1551
1552config MSM8X60_FTM_AUDIO_DEVICES
1553 bool "MSM8X60 audio factory test mode support"
1554 depends on MSM8X60_AUDIO
1555 help
1556 Enable support audio factory test mode devices. This is used
1557 in a production line environment.
1558
Ben Romberger45b351c2011-07-20 22:37:27 -07001559config RTAC
1560 bool "MSM8K real-time audio calibration support"
1561 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001562 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001563 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001564 audio operation
1565
1566config MSM7X27A_AUDIO
1567 bool "MSM7X27A audio support"
1568 depends on ARCH_MSM7X27A && MSM_ADSP
1569 default n
1570 help
1571 Enable support for 7x27a. This provides audio functionality.
1572
Justin Pauporea6cd2092011-06-22 16:19:45 -07001573config MSM_PROC_COMM_REGULATOR
1574 bool
1575 depends on MSM_PROC_COMM && REGULATOR
1576 help
1577 Enable regulator framework support for regulators managed by PMLIB
1578 on the modem, and controlled through proccomm calls.
1579
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001580config MSM_VREG_SWITCH_INVERTED
1581 bool "Reverse vreg switch polarity"
1582 default n
1583 help
1584 Reverses the enable and disable for vreg switch.
1585
1586config MSM_DMA_TEST
1587 tristate "MSM DMA test module"
1588 default m
1589 help
1590 Intended to be compiled as a module. Provides a device node
1591 and ioctls for testing the MSM dma system.
1592
1593config WIFI_CONTROL_FUNC
1594 bool "Enable WiFi control function abstraction"
1595 help
1596 Enables Power/Reset/Carddetect function abstraction
1597
1598config WIFI_MEM_PREALLOC
1599 depends on WIFI_CONTROL_FUNC
1600 bool "Preallocate memory for WiFi buffers"
1601 help
1602 Preallocates memory buffers for WiFi driver
1603
1604config QSD_AUDIO
1605 bool "QSD audio"
1606 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1607 default y
1608 help
1609 Provides PCM, MP3, and AAC audio playback.
1610
1611config AUDIO_AAC_PLUS
1612 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1613 bool "AAC+ Audio"
1614 default y
1615 help
1616 Provides AAC+ decoding
1617
1618config AUDIO_ENHANCED_AAC_PLUS
1619 depends on AUDIO_AAC_PLUS
1620 bool "Enhanced AAC+ Audio"
1621 default y
1622 help
1623 Provides Enhanced AAC+ decoding
1624
1625config SURF_FFA_GPIO_KEYPAD
1626 bool "MSM SURF/FFA GPIO keypad"
1627 depends on INPUT_GPIO = "y"
1628 default y
1629 help
1630 Select if the GPIO keypad is attached.
1631
1632config MSM_SLEEP_TIME_OVERRIDE
1633 bool "Allow overriding suspend/sleep time with PM module parameter"
1634 default y
1635 help
1636 Enable the module parameter sleep_time_override. Specified
1637 in units of seconds, it overwrites the normal sleep time of
1638 suspend. The feature is required for automated power management
1639 testing.
1640
1641config MSM_MEMORY_LOW_POWER_MODE
1642 bool "Control the low power modes of memory"
1643 default n
1644 help
1645 The application processor controls whether memory should enter
1646 which low power mode.
1647
1648choice
1649 prompt "Default Memory Low Power Mode during Idle"
1650 depends on MSM_MEMORY_LOW_POWER_MODE
1651 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1652 help
1653 Selects the default low power mode of the memory during idle
1654 sleep.
1655
1656 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1657 bool "Memory active"
1658
1659 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1660 bool "Memory in retention"
1661
1662 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1663 bool "Memory in deep power down"
1664endchoice
1665
1666choice
1667 prompt "Default Memory Low Power Mode during Suspend"
1668 depends on MSM_MEMORY_LOW_POWER_MODE
1669 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1670 help
1671 Selects the default low power mode of the memory during suspend
1672 sleep.
1673
1674 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1675 bool "Memory active"
1676
1677 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1678 bool "Memory in retention"
1679
1680 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1681 bool "Memory in deep power down"
1682endchoice
1683
1684choice
1685 prompt "Power management timeout action"
1686 default MSM_PM_TIMEOUT_HALT
1687 help
1688 Selects the Application Processor's action when Power Management
1689 times out waiting for Modem's handshake.
1690
1691 config MSM_PM_TIMEOUT_HALT
1692 bool "Halt the Application Processor"
1693
1694 config MSM_PM_TIMEOUT_RESET_MODEM
1695 bool "Reset the Modem Processor"
1696
1697 config MSM_PM_TIMEOUT_RESET_CHIP
1698 bool "Reset the entire chip"
1699endchoice
1700
1701config MSM_IDLE_WAIT_ON_MODEM
1702 int "Wait for Modem to become ready for idle power collapse"
1703 default 0
1704 help
1705 If Modem is not ready to handle Application Processor's request
1706 for idle power collapse, wait the number of microseconds in case
1707 Modem becomes ready soon.
1708
Matt Wagantall9274df92011-12-15 11:11:05 -08001709config MSM_RPM_REGULATOR
1710 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001711 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001712 help
1713 Compile in support for the RPM regulator driver, used for setting
1714 voltages and other parameters of the various power rails supplied
1715 by some Qualcomm PMICs.
1716
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001717config MSM_PIL
1718 bool "Peripheral image loading"
1719 select FW_LOADER
1720 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1721 default n
1722 help
1723 Some peripherals need to be loaded into memory before they can be
1724 brought out of reset.
1725
1726 Say yes to support these devices.
1727
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001728config MSM_PIL_MODEM
1729 tristate "Modem (ARM11) Boot Support"
1730 depends on MSM_PIL
1731 help
1732 Support for booting and shutting down ARM11 Modem processors.
1733
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001734config MSM_PIL_QDSP6V3
1735 tristate "QDSP6v3 (Hexagon) Boot Support"
1736 depends on MSM_PIL
1737 help
1738 Support for booting and shutting down QDSP6v3 processors (hexagon).
1739 The QDSP6 is a low power DSP used in audio software applications.
1740
Stephen Boydeb819882011-08-29 14:46:30 -07001741config MSM_PIL_QDSP6V4
1742 tristate "QDSP6v4 (Hexagon) Boot Support"
1743 depends on MSM_PIL
1744 help
1745 Support for booting and shutting down QDSP6v4 processors (hexagon).
1746 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1747 software applications.
1748
Stephen Boyd322a9922011-09-20 01:05:54 -07001749config MSM_PIL_RIVA
1750 tristate "RIVA (WCNSS) Boot Support"
1751 depends on MSM_PIL
1752 help
1753 Support for booting and shutting down the RIVA processor (WCNSS).
1754 Riva is the wireless subsystem processor used in bluetooth, wireless
1755 LAN, and FM software applications.
1756
Stephen Boydd89eebe2011-09-28 23:28:11 -07001757config MSM_PIL_TZAPPS
1758 tristate "TZApps Boot Support"
1759 depends on MSM_PIL
1760 help
1761 Support for booting and shutting down TZApps.
1762
1763 TZApps is an image that runs in the secure processor state. It is
1764 used to decrypt data and perform secure operations on the behalf of
1765 the kernel.
1766
Matt Wagantall292aace2012-01-26 19:12:34 -08001767config MSM_PIL_GSS
1768 tristate "GSS (Coretx A5) Boot Support"
1769 depends on MSM_PIL
1770 help
1771 Support for booting and shutting down Cortex A5 processors which run
1772 GPS subsystem firmware.
1773
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001774config MSM_SCM
1775 bool "Secure Channel Manager (SCM) support"
1776 default n
1777
1778config MSM_SUBSYSTEM_RESTART
1779 bool "MSM Subsystem Restart Driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001780 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001781 default n
1782 help
1783 This option enables the MSM subsystem restart driver, which provides
1784 a framework to handle subsystem crashes.
1785
Matt Wagantallf8020902011-08-30 21:19:23 -07001786config MSM_SYSMON_COMM
1787 bool "MSM System Monitor communication support"
1788 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1789 default y
1790 help
1791 This option adds support for MSM System Monitor library, which
1792 provides an API that may be used for notifying subsystems within
1793 the SoC about other subsystems' power-up/down state-changes.
1794
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001795config MSM_MODEM_8960
1796 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001797 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001798 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001799 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001800 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001801 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001802
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001803config MSM_LPASS_8960
1804 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001805 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001806 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001807 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001808 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001809 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001810
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001811config MSM_WCNSS_SSR_8960
1812 tristate "MSM 8960 WCNSS restart module"
1813 depends on (ARCH_MSM8960)
1814 help
1815 This option enables the WCNSS restart module for MSM8960, which
1816 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1817 into the subsystem restart framework.
1818
Rohit Vaswanid0fb4182012-03-19 18:07:59 -07001819config MSM_GSS_SSR_8064
1820 bool "MSM 8064 GSS restart driver"
1821 depends on (ARCH_APQ8064)
1822 help
1823 This option enables the gps subsystem restart driver for APQ8064, which monitors
1824 gss hardware watchdog interrupt lines and plugs into the subsystem
1825 restart and PIL drivers.
1826
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001827config SCORPION_Uni_45nm_BUG
1828 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1829 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1830 default y
1831 help
1832 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1833 invalidating the Branch Predictor Array by Modified Virtual Address can
1834 create invalid entries in the TLB with the wrong ASID values on Scorpion
1835 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1836 workaround for Scorpion Uniprocessor 45nm cores.
1837
1838 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1839
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001840config MSM_BUSPM_DEV
1841 tristate "MSM Bus Performance Monitor Kernel Module"
1842 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1843 default m
1844 help
1845 This kernel module is used to mmap() hardware registers for the
1846 performance monitors, counters, etc. The module can also be used to
1847 allocate physical memory which is used by bus performance hardware to
1848 dump performance data.
1849
Mona Hossain11c03ac2011-10-26 12:42:10 -07001850config MSM_TZ_LOG
1851 tristate "MSM Trust Zone (TZ) Log Driver"
1852 depends on DEBUG_FS
1853 help
1854 This option enables a driver with a debugfs interface for messages
1855 produced by the Secure code (Trust zone). These messages provide
1856 diagnostic information about TZ operation.
1857
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001858config MSM_RPM_LOG
1859 tristate "MSM Resource Power Manager Log Driver"
1860 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001861 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001862 default n
1863 help
1864 This option enables a driver which can read from a circular buffer
1865 of messages produced by the RPM. These messages provide diagnostic
1866 information about RPM operation. The driver outputs the messages
1867 via a debugfs node.
1868
1869config MSM_RPM_STATS_LOG
1870 tristate "MSM Resource Power Manager Stat Driver"
1871 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001872 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001873 default n
1874 help
1875 This option enables a driver which reads RPM messages from a shared
1876 memory location. These messages provide statistical information about
1877 the low power modes that RPM enters. The drivers outputs the message
1878 via a debugfs node.
1879
1880config MSM_IOMMU
1881 bool "MSM IOMMU Support"
Joel King41d594e2011-10-14 13:18:20 -07001882 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_APQ8064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001883 select IOMMU_API
1884 default n
1885 help
1886 Support for the IOMMUs found on certain Qualcomm SOCs.
1887 These IOMMUs allow virtualization of the address space used by most
1888 cores within the multimedia subsystem.
1889
1890 If unsure, say N here.
1891
1892config IOMMU_PGTABLES_L2
1893 bool "Allow SMMU page tables in the L2 cache (Experimental)"
1894 depends on MSM_IOMMU=y
1895 depends on MMU
1896 depends on CPU_DCACHE_DISABLE=n
1897 depends on SMP
1898 default y
1899 help
1900 Improves TLB miss latency at the expense of potential L2 pollution.
1901 However, with large multimedia buffers, the TLB should mostly contain
1902 section mappings and TLB misses should be quite infrequent.
1903 Most people can probably say Y here.
1904
1905config MSM_DIRECT_SCLK_ACCESS
1906 bool "Direct access to the SCLK timer"
1907 default n
1908
1909config IOMMU_API
1910 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001911
Gregory Beanab78cde2010-09-01 16:26:12 -07001912config MSM_GPIOMUX
1913 bool
1914
Gregory Bean1963a2a2010-08-28 10:05:44 -07001915config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001916 bool
1917
1918config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07001919 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001920
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001921config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001922 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001923
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001924config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001925 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001926
Matt Wagantall88b86312012-01-31 16:53:03 -08001927config MSM_PM
1928 depends on PM
1929 bool
1930
1931config MSM_PM2
1932 depends on PM
1933 bool
1934
1935config MSM_PM8X60
1936 depends on PM
1937 bool
1938
1939config MSM_NOPM
1940 default y if !PM
1941 bool
1942
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001943config MSM_BUS_SCALING
1944 bool "Bus scaling driver"
1945 default n
1946
Gagan Mac85c70492011-06-10 16:07:47 -06001947config MSM_BUS_RPM_MULTI_TIER_ENABLED
1948 bool "RPM Multi-tiering Configuration"
1949 depends on MSM_BUS_SCALING
1950
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001951config MSM_WATCHDOG
1952 bool "MSM Watchdog Support"
Rohit Vaswani085a9332011-09-28 18:57:24 -07001953 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001954 help
1955 This enables the watchdog as is present on 8x60. Currently we use
1956 core 0's watchdog, and reset the entire SoC if it times out. It does
1957 not run during the bootup process, so it will not catch any early
1958 lockups.
1959
1960config MSM_DLOAD_MODE
1961 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07001962 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001963 default n
1964 help
1965 This makes the SoC enter download mode when it resets
1966 due to a kernel panic. Note that this doesn't by itself
1967 make the kernel reboot on a kernel panic - that must be
1968 enabled via another mechanism.
1969
Pratik Patel17f3b822011-11-21 12:41:47 -08001970config MSM_JTAG
1971 bool "JTAG debug and trace support"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001972 help
Pratik Patel17f3b822011-11-21 12:41:47 -08001973 Add additional support for JTAG kernel debugging and tracing.
Pratik Patel7831c082011-06-08 21:44:37 -07001974
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001975config MSM_ETM
1976 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08001977 depends on ARCH_MSM8X60
1978 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001979 help
Pratik Patel17f3b822011-11-21 12:41:47 -08001980 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07001981
1982config MSM_QDSS
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001983 bool "Qualcomm Debug Subsystem"
Pratik Patel17f3b822011-11-21 12:41:47 -08001984 select MSM_JTAG
Pratik Patel7831c082011-06-08 21:44:37 -07001985 help
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001986 Enables support for Qualcomm Debug Subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001987
Pratik Patel29cba152012-01-03 11:40:26 -08001988config MSM_QDSS_ETM_DEFAULT_ENABLE
1989 bool "Turn on QDSS ETM Tracing by Default"
1990 depends on MSM_QDSS
1991 help
1992 Turns on QDSS ETM tracing by default. Otherwise, tracing is
1993 disabled by default but can be enabled by other means.
1994
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001995config MSM_SLEEP_STATS
1996 bool "Enable exporting of MSM sleep stats to userspace"
1997 depends on CPU_IDLE
1998 default n
1999
Lynus Vazdde09ee2012-01-05 13:28:22 +05302000config MSM_SLEEP_STATS_DEVICE
2001 bool "Enable exporting of MSM sleep device stats to userspace"
2002
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002003config MSM_STANDALONE_POWER_COLLAPSE
2004 bool "Enable standalone power collapse"
2005 default n
2006
2007config MSM_GSBI9_UART
2008 bool "Enable GSBI9 UART device"
2009 default n
2010 help
2011 This enables GSBI9 configured into UART.
2012
2013config MSM_SHARED_GPIO_FOR_UART2DM
2014 bool "Use shared GPIOs into UART mode"
2015 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2016 help
2017 This option configures GPIO muxed with SDC4/MMC3
2018 8-bit mode into UART mode. It is used for serial
2019 console on UART2DM. Say Y if you want to have
2020 serial console on UART2DM.
2021
2022config MSM_SHOW_RESUME_IRQ
2023 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002024 depends on (ARM_GIC || PMIC8058)
2025 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002026 default n
2027 help
2028 This option logs wake up interrupts that have triggered just before
2029 the resume loop unrolls. Say Y if you want to debug why the system
2030 resumed.
2031
2032config BT_MSM_PINTEST
2033 tristate "MSM Bluetooth Pin Connectivity Test"
2034 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2035 default n
2036 help
2037 Bluetooth MSM Pin Connectivity test module.
2038 This driver provides support for verifying the MSM to BT pin
2039 connectivity.
2040
2041config MSM_FAKE_BATTERY
2042 depends on POWER_SUPPLY
2043 default n
2044 bool "MSM Fake Battery"
2045 help
2046 Enables MSM fake battery driver.
2047
2048config MSM_QDSP6_APR
2049 bool "Audio QDSP6 APR support"
2050 depends on MSM_SMD
2051 default n
2052 help
2053 Enable APR IPC protocol support between
2054 application processor and QDSP6. APR is
2055 used by audio driver to configure QDSP6's
2056 ASM, ADM and AFE.
2057
2058
2059config MSM_AUDIO_QDSP6
2060 bool "QDSP6 HW Audio support"
2061 select SND_SOC_MSM_QDSP6_INTF
2062 default n
2063 help
2064 Enable HW audio support in QDSP6.
2065 QDSP6 can support HW encoder & decoder and audio processing
2066
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002067config MSM_ULTRASOUND
2068 bool "MSM ultrasound support"
2069 depends on MSM_AUDIO_QDSP6
2070 help
2071 Enable support for qdsp6/ultrasound.
2072
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002073config MSM_RPC_VIBRATOR
2074 bool "RPC based MSM Vibrator Support"
2075 depends on MSM_ONCRPCROUTER
2076 help
2077 Enable the vibrator support on MSM over RPC. The vibrator
2078 is connected on the PMIC. Say Y if you want to enable this
2079 feature.
2080
2081config PM8XXX_RPC_VIBRATOR
2082 bool "RPC based Vibrator on PM8xxx PMICs"
2083 depends on MSM_RPC_VIBRATOR
2084 help
2085 Enable the vibrator support on MSM over RPC. The vibrator
2086 is connected on the PM8XXX PMIC. Say Y if you want to enable
2087 this feature.
2088
2089config MSM_SPM_V1
2090 bool "Driver support for SPM Version 1"
2091 help
2092 Enables the support for Version 1 of the SPM driver. SPM hardware is
2093 used to manage the processor power during sleep. The driver allows
2094 configuring SPM to allow different power modes.
2095
2096config MSM_SPM_V2
2097 bool "Driver support for SPM Version 2"
2098 help
2099 Enables the support for Version 2 of the SPM driver. SPM hardware is
2100 used to manage the processor power during sleep. The driver allows
2101 configuring SPM to allow different power modes.
2102
2103config MSM_L2_SPM
2104 bool "SPM support for L2 cache"
2105 depends on MSM_SPM_V2
2106 help
2107 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2108 control of L2 cache low power mode with a Subsystem Power manager.
2109 Enabling this driver allows configuring L2 SPM for low power modes
2110 on supported chipsets.
2111
Laura Abbott2d1760b2011-09-29 21:31:24 -07002112config MSM_MULTIMEDIA_USE_ION
2113 bool "Multimedia suport using Ion"
2114 depends on ION_MSM
2115 help
2116 Enable support for multimedia drivers using Ion for buffer management
2117 instead of pmem. Selecting this may also involve userspace
2118 dependencies as well.
2119
Laura Abbottad340ff2012-01-04 14:23:48 -08002120config MSM_RTB
2121 bool "Register tracing"
2122 help
2123 Add support for logging different events to a small uncached
2124 region. This is designed to aid in debugging reset cases where the
2125 caches may not be flushed before the target resets.
2126
2127config MSM_RTB_SEPARATE_CPUS
2128 bool "Separate entries for each cpu"
2129 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002130 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002131 help
2132 Under some circumstances, it may be beneficial to give dedicated space
2133 for each cpu to log accesses. Selecting this option will log each cpu
2134 separately. This will guarantee that the last acesses for each cpu
2135 will be logged but there will be fewer entries per cpu
2136
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002137config MSM_CACHE_ERP
2138 bool "Cache / CPU error reporting"
2139 depends on ARCH_MSM_KRAIT
2140 help
2141 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2142 log. Enabling this feature can be used as a system debugging technique
2143 if cache corruption is suspected. Cache error statistics will also be
2144 reported in /proc/cpu/msm_cache_erp.
2145
2146 For production builds, you should probably say 'N' here.
2147
2148config MSM_L1_ERR_PANIC
2149 bool "Panic on L1 cache / TLB errors"
2150 depends on MSM_CACHE_ERP
2151 help
2152 To cause the kernel to panic whenever an L1 cache or TLB error is
2153 detected, say 'Y' here. This may be useful as a debugging technique if
2154 general system instability is suspected.
2155
2156 For production builds, you should probably say 'N' here.
2157
2158
2159config MSM_L2_ERP_PORT_PANIC
2160 bool "Panic on L2 master port errors"
2161 depends on MSM_CACHE_ERP
2162 help
2163 Master port errors can occur when a memory request is not properly
2164 handled by the destination slave. Enable this option to catch drivers
2165 which attempt to access bad areas of the address space, or access
2166 hardware registers in an improper state (such as certain clocks not
2167 being on). This option may help with debugging, though production
2168 builds should probably say 'N' here.
2169
2170config MSM_L2_ERP_1BIT_PANIC
2171 bool "Panic on recoverable L2 soft errors"
2172 depends on MSM_CACHE_ERP
2173 help
2174 Enable this option to cause a kernel panic whenever the L2 cache
2175 encounters a single-bit (correctable) soft error. This option should
2176 only be enabled when doing low-level debugging where cache corruption
2177 is suspected.
2178
2179 For production builds, you should definitely say 'N' here.
2180
2181config MSM_L2_ERP_2BIT_PANIC
2182 bool "Panic on unrecoverable L2 soft errors"
2183 depends on MSM_CACHE_ERP
2184 help
2185 Enable this option to cause a kernel panic whenever the L2 cache
2186 encounters a double-bit (non-correctable) soft error. Debug builds
2187 will likely benefit from having this option enabled to catch cache
2188 problems as soon as possible.
2189
2190 For production builds, it may be acceptable to say 'N' here, since
2191 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002192
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002193config MSM_DCVS
2194 bool "Use MSM DCVS for CPU/GPU Frequency control"
2195 depends on MSM_SCM
2196 help
2197 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2198 The DCVS manager allows idle driver to feed the idle information to the
2199 algorithm and the algorithm returns a frequency for the core which is
2200 passed to the frequency change driver.
2201
Taniya Dasc43e6872012-03-21 16:41:14 +05302202config HAVE_ARCH_HAS_CURRENT_TIMER
2203 bool
Brian Swetland9e73c842007-11-26 04:12:13 -08002204endif