blob: c9f5c2969fef1c412a3416f8d010e97ccc4bb09b [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
Taniya Dasbd096542012-03-15 17:43:45 +0530506config MACH_MSM8625_QRD7
507 depends on ARCH_MSM8625
508 depends on !MSM_STACKED_MEMORY
509 default y
510 bool "MSM8625 QRD7"
511 help
512 Support for the Qualcomm MSM8625 Reference Design.
513
Daniel Walker7b521612010-05-06 12:44:57 -0700514config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700515 depends on ARCH_MSM7X30
516 depends on !MSM_STACKED_MEMORY
517 default y
518 bool "MSM7x30 SURF"
519 help
520 Support for the Qualcomm MSM7x30 SURF eval board.
521
522config MACH_MSM7X30_FFA
523 depends on ARCH_MSM7X30
524 depends on !MSM_STACKED_MEMORY
525 default y
526 bool "MSM7x30 FFA"
527 help
528 Support for the Qualcomm MSM7x30 FFA eval board.
529
530config MACH_MSM7X30_FLUID
531 depends on ARCH_MSM7X30
532 depends on !MSM_STACKED_MEMORY
533 default y
534 bool "MSM7x30 FLUID"
535 help
536 Support for the Qualcomm MSM7x30 FLUID eval board.
537
538config MACH_SAPPHIRE
539 depends on ARCH_MSM7X01A
540 default n
541 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700542
Daniel Walker4ad15e62010-05-06 13:54:17 -0700543config MACH_QSD8X50_SURF
544 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700545 depends on MSM_SOC_REV_NONE
546 depends on MSM_STACKED_MEMORY
547 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700548 bool "QSD8x50 SURF"
549 help
550 Support for the Qualcomm QSD8x50 SURF eval board.
551
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700552config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700553 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700554 depends on MSM_SOC_REV_NONE
555 depends on MSM_STACKED_MEMORY
556 default y
557 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700558 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700559 Support for the Qualcomm QSD8x50 FFA eval board.
560
561config MACH_MSM7X25_SURF
562 depends on ARCH_MSM7X25
563 depends on !MSM_STACKED_MEMORY
564 default y
565 bool "MSM7x25 SURF"
566 help
567 Support for the Qualcomm MSM7x25 SURF eval board.
568
569config MACH_MSM7X25_FFA
570 depends on ARCH_MSM7X25
571 depends on !MSM_STACKED_MEMORY
572 default y
573 bool "MSM7x25 FFA"
574 help
575 Support for the Qualcomm MSM7x25 FFA eval board.
576
577config MACH_MSM8X55_SURF
578 depends on ARCH_MSM7X30
579 depends on !MSM_STACKED_MEMORY
580 default y
581 bool "MSM8X55 SURF"
582 help
583 Support for the Qualcomm MSM8x55 SURF eval board.
584
585config MACH_MSM8X55_FFA
586 depends on ARCH_MSM7X30
587 depends on !MSM_STACKED_MEMORY
588 default y
589 bool "MSM8X55 FFA"
590 help
591 Support for the Qualcomm MSM8x55 FFA eval board.
592
593config MACH_MSM8X55_SVLTE_FFA
594 depends on ARCH_MSM7X30
595 depends on !MSM_STACKED_MEMORY
596 default y
597 bool "MSM8X55 SVLTE FFA"
598 help
599 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
600
601config MACH_MSM8X55_SVLTE_SURF
602 depends on ARCH_MSM7X30
603 depends on !MSM_STACKED_MEMORY
604 default y
605 bool "MSM8X55 SVLTE SURF"
606 help
607 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700608
Steve Mucklea55df6e2010-01-07 12:43:24 -0800609config MACH_MSM8X60_RUMI3
610 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700611 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800612 bool "MSM8x60 RUMI3"
613 help
614 Support for the Qualcomm MSM8x60 RUMI3 emulator.
615
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800616config MACH_MSM8X60_SIM
617 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700618 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800619 bool "MSM8x60 Simulator"
620 help
621 Support for the Qualcomm MSM8x60 simulator.
622
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700623config MACH_MSM8X60_SURF
624 depends on ARCH_MSM8X60
625 default n
626 bool "MSM8x60 SURF"
627 help
628 Support for the Qualcomm MSM8x60 SURF eval board.
629
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700630config MACH_MSM8X60_FFA
631 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700632 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700633 bool "MSM8x60 FFA"
634 help
635 Support for the Qualcomm MSM8x60 FFA eval board.
636
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700637config MACH_MSM8X60_FLUID
638 depends on ARCH_MSM8X60
639 default n
640 bool "MSM8x60 FLUID"
641 help
642 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
643 8x60 target which has a form factor that is much closer to that
644 of a phone than other targets. It also has a new display and
645 touchscreen controller.
646
647config MACH_MSM8X60_FUSION
648 depends on ARCH_MSM8X60
649 default n
650 bool "MSM8x60 FUSION"
651 help
652 Support for the Qualcomm MSM8x60 Fusion SURF device.
653
654config MACH_MSM8X60_FUSN_FFA
655 depends on ARCH_MSM8X60
656 default n
657 bool "MSM8x60 FUSN FFA"
658 help
659 Support for the Qualcomm MSM8x60 Fusion FFA device.
660
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400661config MACH_MSM8X60_DRAGON
662 depends on ARCH_MSM8X60
663 default n
664 bool "MSM8x60 DRAGON"
665 help
666 Support for the Qualcomm MSM8x60 Dragon board.
667
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800668config MACH_MSM8960_SIM
669 depends on ARCH_MSM8960
670 bool "MSM8960 Simulator"
671 help
672 Support for the Qualcomm MSM8960 simulator.
673
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800674config MACH_MSM8960_RUMI3
675 depends on ARCH_MSM8960
676 bool "MSM8960 RUMI3"
677 help
678 Support for the Qualcomm MSM8960 RUMI3 emulator.
679
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700680config MACH_MSM8960_CDP
681 depends on ARCH_MSM8960
682 bool "MSM8960 CDP"
683 help
684 Support for the Qualcomm MSM8960 CDP device.
685
686config MACH_MSM8960_MTP
687 depends on ARCH_MSM8960
688 bool "MSM8960 MTP"
689 help
690 Support for the Qualcomm MSM8960 MTP device.
691
692config MACH_MSM8960_FLUID
693 depends on ARCH_MSM8960
694 bool "MSM8960 FLUID"
695 help
696 Support for the Qualcomm MSM8960 FLUID device.
697
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300698config MACH_MSM8960_LIQUID
699 depends on ARCH_MSM8960
700 bool "MSM8960 LIQUID"
701 help
702 Support for the Qualcomm MSM8960 LIQUID device.
703
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700704config MACH_MSM8930_CDP
705 depends on ARCH_MSM8930
706 bool "MSM8930 CDP"
707 help
708 Support for the Qualcomm MSM8930 CDP device.
709
710config MACH_MSM8930_MTP
711 depends on ARCH_MSM8930
712 bool "MSM8930 MTP"
713 help
714 Support for the Qualcomm MSM8930 MTP device.
715
716config MACH_MSM8930_FLUID
717 depends on ARCH_MSM8930
718 bool "MSM8930 FLUID"
719 help
720 Support for the Qualcomm MSM8930 FLUID device.
721
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800722config MACH_MSM8627_CDP
723 depends on ARCH_MSM8930
724 bool "MSM8627 CDP"
725 help
726 Support for the Qualcomm MSM8627 CDP device.
727
728config MACH_MSM8627_MTP
729 depends on ARCH_MSM8930
730 bool "MSM8627 MTP"
731 help
732 Support for the Qualcomm MSM8627 MTP device.
733
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700734config MACH_MSM9615_CDP
735 depends on ARCH_MSM9615
736 bool "MSM9615 CDP"
737 help
738 Support for the Qualcomm MSM9615 CDP device.
739
740config MACH_MSM9615_MTP
741 depends on ARCH_MSM9615
742 bool "MSM9615 MTP"
743 help
744 Support for the Qualcomm MSM9615 MTP device.
745
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700746config MSM_USE_TSIF1
747 depends on ARCH_MSM8X60
748 bool "MSM8x60 use TSIF1"
749 help
750 Selects TSIF1 core to be used rather than TSIF0.
751 The two TSIF cores share the same DM configuration
752 so they cannot be used simultaneously.
753
754config MACH_APQ8064_SIM
755 depends on ARCH_APQ8064
756 bool "APQ8064 Simulator"
757 help
758 Support for the Qualcomm APQ8064 simulator.
759
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700760config MACH_APQ8064_RUMI3
761 depends on ARCH_APQ8064
762 bool "APQ8064 RUMI3"
763 help
764 Support for the Qualcomm APQ8064 RUMI3 emulator.
765
Joel King82b7e3f2012-01-05 10:03:27 -0800766config MACH_APQ8064_CDP
767 depends on ARCH_APQ8064
768 bool "APQ8064 CDP"
769 help
770 Support for the Qualcomm APQ8064 CDP device.
771
772config MACH_APQ8064_MTP
773 depends on ARCH_APQ8064
774 bool "APQ8064 MTP"
775 help
776 Support for the Qualcomm APQ8064 MTP device.
777
778config MACH_APQ8064_LIQUID
779 depends on ARCH_APQ8064
780 bool "APQ8064 LIQUID"
781 help
782 Support for the Qualcomm APQ8064 LIQUID device.
783
Joel King11ca8202012-02-13 16:19:03 -0800784config MACH_MPQ8064_HRD
785 depends on ARCH_APQ8064
786 bool "MPQ8064 HRD"
787 help
788 Support for the Qualcomm MPQ8064 HRD device.
789
790config MACH_MPQ8064_DTV
791 depends on ARCH_APQ8064
792 bool "MPQ8064 DTV"
793 help
794 Support for the Qualcomm MPQ8064 DTV device.
795
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700796config MACH_FSM9XXX_SURF
797 depends on ARCH_FSM9XXX
798 depends on !MSM_STACKED_MEMORY
799 default y
800 bool "FSM9XXX SURF"
801 help
802 Support for the Qualcomm FSM9xxx femtocell
803 chipset based SURF evaluation board and
804 FFA board.
805
Daniel Walker4ad15e62010-05-06 13:54:17 -0700806endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800807
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700808config MSM_STACKED_MEMORY
809 bool "Stacked Memory"
810 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800811 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700812 This option is used to indicate the presence of on-die stacked
813 memory. When present this memory bank is used for a high speed
814 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800815
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700816config PHYS_OFFSET
817 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700818 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700819 default "0x80200000" if ARCH_APQ8064
820 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700821 default "0x80200000" if ARCH_MSM8930
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700822 default "0x80200000" if ARCH_MSMCOPPER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700823 default "0x10000000" if ARCH_FSM9XXX
824 default "0x00200000" if !MSM_STACKED_MEMORY
825 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
826 default "0x20000000" if ARCH_QSD8X50
827 default "0x40200000" if ARCH_MSM8X60
828 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800829
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700830config KERNEL_PMEM_EBI_REGION
831 bool "Enable in-kernel PMEM region for EBI"
832 default y if ARCH_MSM8X60
Olav Hauganb800c8c2012-01-30 08:50:45 -0800833 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSMCOPPER)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700834 help
835 Enable the in-kernel PMEM allocator to use EBI memory.
836
837config KERNEL_PMEM_SMI_REGION
838 bool "Enable in-kernel PMEM region for SMI"
839 default y if ARCH_MSM8X60
840 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
841 help
842 Enable the in-kernel PMEM allocator to use SMI memory.
843
844config PMEM_GPU0
845 bool "Enable PMEM GPU0 region"
846 default y
847 depends on ARCH_QSD8X50 && ANDROID_PMEM
848 help
849 Enable the PMEM GPU0 device on SMI Memory.
850
851config MSM_AMSS_VERSION
852 int
853 default 6210 if MSM_AMSS_VERSION_6210
854 default 6220 if MSM_AMSS_VERSION_6220
855 default 6225 if MSM_AMSS_VERSION_6225
856
857choice
858 prompt "AMSS modem firmware version"
859
860 default MSM_AMSS_VERSION_6225
861
862 config MSM_AMSS_VERSION_6210
863 bool "6.2.10"
864
865 config MSM_AMSS_VERSION_6220
866 bool "6.2.20"
867
868 config MSM_AMSS_VERSION_6225
869 bool "6.2.20 + New ADSP"
870endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800871
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700872config MSM_HAS_DEBUG_UART_HS
873 bool
874 help
875 Say Y here if high speed MSM UART is present.
876
877config MSM_HAS_DEBUG_UART_HS_V14
878 bool
879 select MSM_HAS_DEBUG_UART_HS
880 help
881 Say Y here if high speed MSM UART v1.4 is present.
882
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800883config DEBUG_MSM8930_UART
884 bool "Kernel low-level debugging messages via MSM 8930 UART"
885 depends on ARCH_MSM8930 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700886 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800887 help
888 Say Y here if you want the debug print routines to direct
889 their output to the serial port on MSM 8930 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100890
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530891config MSM_DEBUG_UART_PHYS
892 hex
893 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
894 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
895 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
896 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
897 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
898 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
899 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
900 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
901
Pavel Machek6339f662009-11-02 11:48:29 +0100902choice
903 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800904 depends on DEBUG_LL
Pavel Machek6339f662009-11-02 11:48:29 +0100905
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800906 config DEBUG_MSM_UART1
907 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530908 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800909 help
910 Say Y here if you want the debug print routines to direct
911 their output to the first serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100912
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800913 config DEBUG_MSM_UART2
914 bool "Kernel low-level debugging messages via MSM UART2"
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 second serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100919
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800920 config DEBUG_MSM_UART3
921 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530922 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
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 third serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100926
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800927 config DEBUG_MSM8660_UART
928 bool "Kernel low-level debugging messages via MSM 8660 UART"
929 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700930 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800931 help
932 Say Y here if you want the debug print routines to direct
933 their output to the serial port on MSM 8660 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100934
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800935 config DEBUG_MSM8960_UART
936 bool "Kernel low-level debugging messages via MSM 8960 UART"
937 depends on ARCH_MSM8960
938 select DEBUG_MSM8930_UART
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700939 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800940 help
941 Say Y here if you want the debug print routines to direct
942 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700943
944 config DEBUG_MSMCOPPER_UART
945 bool "Kernel low-level debugging messages via MSM Copper UART"
946 depends on ARCH_MSMCOPPER
947 select MSM_HAS_DEBUG_UART_HS_V14
948 help
949 Say Y here if you want the debug print routines to direct
950 their output to the serial port on MSM Copper devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100951endchoice
952
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700953choice
954 prompt "Default Timer"
955 default MSM7X00A_USE_GP_TIMER
956
957 config MSM7X00A_USE_GP_TIMER
958 bool "GP Timer"
959 help
960 Low resolution timer that allows power collapse from idle.
961
962 config MSM7X00A_USE_DG_TIMER
963 bool "DG Timer"
964 help
965 High resolution timer.
966endchoice
967
968choice
969 prompt "Suspend sleep mode"
970 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
971 help
972 Allows overriding the sleep mode used. Leave at power
973 collapse suspend unless the arm9 image has problems.
974
975 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
976 bool "Power collapse suspend"
977 help
978 Lowest sleep state. Returns through reset vector.
979
980 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
981 bool "Power collapse"
982 help
983 Sleep state that returns through reset vector.
984
985 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
986 bool "Apps Sleep"
987
988 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
989 bool "Ramp down cpu clock and wait for interrupt"
990
991 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
992 bool "Wait for interrupt"
993endchoice
994
995config MSM7X00A_SLEEP_MODE
996 int
997 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
998 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
999 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1000 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1001 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1002
1003choice
1004 prompt "Idle sleep mode"
1005 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1006 help
1007 Allows overriding the sleep mode used from idle. Leave at power
1008 collapse suspend unless the arm9 image has problems.
1009
1010 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1011 bool "Power collapse suspend"
1012 help
1013 Lowest sleep state. Returns through reset vector.
1014
1015 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1016 bool "Power collapse"
1017 help
1018 Sleep state that returns through reset vector.
1019
1020 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1021 bool "Apps Sleep"
1022
1023 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1024 bool "Ramp down cpu clock and wait for interrupt"
1025
1026 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1027 bool "Wait for interrupt"
1028endchoice
1029
1030config MSM7X00A_IDLE_SLEEP_MODE
1031 int
1032 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1033 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1034 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1035 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1036 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1037
1038config MSM7X00A_IDLE_SLEEP_MIN_TIME
1039 int "Minimum idle time before sleep"
1040 default 20000000
1041 help
1042 Minimum idle time in nanoseconds before entering low power mode.
1043
1044config MSM7X00A_IDLE_SPIN_TIME
1045 int "Idle spin time before cpu ramp down"
1046 default 80000
1047 help
1048 Spin time in nanoseconds before ramping down cpu clock and entering
1049 any low power state.
1050
1051menuconfig MSM_IDLE_STATS
1052 bool "Collect idle statistics"
1053 default y
1054 help
1055 Collect idle statistics and export them in proc/msm_pm_stats.
1056
1057if MSM_IDLE_STATS
1058
1059config MSM_IDLE_STATS_FIRST_BUCKET
1060 int "First bucket time"
1061 default 62500
1062 help
1063 Upper time limit in nanoseconds of first bucket.
1064
1065config MSM_IDLE_STATS_BUCKET_SHIFT
1066 int "Bucket shift"
1067 default 2
1068
1069config MSM_IDLE_STATS_BUCKET_COUNT
1070 int "Bucket count"
1071 default 10
1072
1073config MSM_SUSPEND_STATS_FIRST_BUCKET
1074 int "First bucket time for suspend"
1075 default 1000000000
1076 help
1077 Upper time limit in nanoseconds of first bucket of the
1078 histogram. This is for collecting statistics on suspend.
1079
1080endif # MSM_IDLE_STATS
1081
1082config CPU_HAS_L2_PMU
1083 bool "L2CC PMU Support"
1084 help
1085 Select this if the L2 cache controller has a Performance Monitoring Unit.
1086
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001087config HTC_HEADSET
1088 tristate "HTC 2 Wire detection driver"
1089 default n
1090 help
1091 Provides support for detecting HTC 2 wire devices, such as wired
1092 headset, on the trout platform. Can be used with the msm serial
1093 debugger, but not with serial console.
1094
1095config TROUT_BATTCHG
1096 depends on MACH_TROUT && POWER_SUPPLY
1097 default y
1098 bool "Trout battery / charger driver"
1099
1100config HTC_PWRSINK
1101 depends on MSM_SMD
1102 default n
1103 bool "HTC Power Sink Driver"
1104
1105config QSD_SVS
1106 bool "QSD Static Voltage Scaling"
1107 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1108 default y
1109 select TPS65023
1110 help
1111 Enables static voltage scaling using the TPS65023 PMIC.
1112
1113config QSD_PMIC_DEFAULT_DCDC1
1114 int "PMIC default output voltage"
1115 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1116 default 1250
1117 help
1118 This is the PMIC voltage at Linux kernel boot.
1119
1120config MSM_FIQ_SUPPORT
1121 default y
1122 bool "Enable installation of an FIQ handler."
1123
1124config MSM_SERIAL_DEBUGGER
1125 select MSM_FIQ_SUPPORT
1126 select KERNEL_DEBUGGER_CORE
1127 default n
1128 bool "FIQ Mode Serial Debugger"
1129 help
1130 The FIQ serial debugger can accept commands even when the
1131 kernel is unresponsive due to being stuck with interrupts
1132 disabled. Depends on the kernel debugger core in drivers/misc.
1133
1134config MSM_SERIAL_DEBUGGER_CONSOLE
1135 depends on MSM_SERIAL_DEBUGGER
1136 default n
1137 bool "Console on FIQ Serial Debugger port"
1138 help
1139 Enables a console so that printk messages are displayed on
1140 the debugger serial port as the occur.
Daniel Walkerbf83de42010-03-16 16:29:44 -07001141
Steve Mucklec8aabae2010-04-21 16:20:27 -07001142config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001143 default y
1144 bool "Proc-Comm RPC Interface"
1145 help
1146 Enables a lightweight communications interface to the
1147 baseband processor.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001148
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001149config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001150 bool "MSM Shared Memory Driver (SMD)"
1151 help
1152 Support for the shared memory interface between the apps
1153 processor and the baseband processor. Provides access to
1154 the "shared heap", as well as virtual serial channels
1155 used to communicate with various services on the baseband
1156 processor.
1157
1158choice
1159 prompt "MSM Shared memory interface version"
1160 depends on MSM_SMD
1161 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1162 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1163
1164 config MSM_SMD_PKG3
1165 bool
1166 prompt "Package 3"
1167
1168 config MSM_SMD_PKG4
1169 bool
1170 prompt "Package 4"
1171endchoice
1172
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001173config MSM_RPC_SDIO_XPRT
1174 depends on MSM_SDIO_AL
1175 default y
1176 bool "MSM SDIO XPRT Layer"
1177 help
1178 SDIO Transport Layer for RPC Rouer
1179
1180config MSM_RPC_SDIO_DEBUG
1181 depends on MSM_RPC_SDIO_XPRT
1182 default y
1183 bool "MSM SDIO XPRT debug support"
1184 help
1185 Support for debugging SDIO XPRT
1186
1187config MSM_SMD_DEBUG
1188 depends on MSM_SMD
1189 default y
1190 bool "MSM SMD debug support"
1191 help
1192 Support for debugging the SMD for communication
1193 between the ARM9 and ARM11
1194
1195config MSM_SDIO_AL
1196 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1197 default y
1198 tristate "SDIO-Abstraction-Layer"
1199 help
1200 Support MSM<->MDM Communication over SDIO bus.
1201 MDM SDIO-Client should have pipes support.
1202
1203config MSM_SDIO_DMUX
1204 bool "SDIO Data Mux Driver"
1205 depends on MSM_SDIO_AL
1206 default n
1207 help
1208 Support Muxed Data Channels over SDIO interface.
1209
1210config MSM_BAM_DMUX
1211 bool "BAM Data Mux Driver"
1212 depends on SPS
1213 default n
1214 help
1215 Support Muxed Data Channels over BAM interface.
1216 BAM has a limited number of pipes. This driver
1217 provides a means to support more logical channels
1218 via muxing than BAM could without muxing.
1219
1220config MSM_N_WAY_SMD
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 SMD support"
1224 help
1225 Supports APPS-QDSP SMD communication along with
1226 normal APPS-MODEM SMD communication.
1227
1228config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001229 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001230 default y
1231 bool "MSM N-WAY SMSM support"
1232 help
1233 Supports APPS-QDSP SMSM communication along with
1234 normal APPS-MODEM SMSM communication.
1235
1236config MSM_RESET_MODEM
1237 tristate "Reset Modem Driver"
1238 depends on MSM_SMD
1239 default m
1240 help
1241 Allows the user to reset the modem through a device node.
1242
1243config MSM_SMD_LOGGING
1244 depends on MSM_SMD
1245 default y
1246 bool "MSM Shared Memory Logger"
1247 help
1248 This option exposes the shared memory logger at /dev/smem_log
1249 and a debugfs node named smem_log.
1250
1251 If in doubt, say yes.
1252
1253config MSM_SMD_NMEA
1254 bool "NMEA GPS Driver"
1255 depends on MSM_SMD
1256 default y
1257 help
1258 Enable this to support the NMEA GPS device.
1259
1260 If in doubt, say yes.
1261
1262config MSM_SDIO_TTY
1263 bool "SDIO TTY Driver"
1264 depends on MSM_SDIO_AL
1265 default n
1266 help
1267 Provides a TTY driver SDIO TTY
1268 This driver can be used by user space
1269 applications for passing data through the
1270 SDIO interface.
1271
1272config MSM_SMD_TTY
1273 bool "SMD TTY Driver"
1274 depends on MSM_SMD
1275 default y
1276 help
1277 Provides TTY interfaces to interact with the modem.
1278
1279 If in doubt, say yes.
1280
1281config MSM_SMD_QMI
1282 bool "SMD QMI Driver"
1283 depends on MSM_SMD
1284 default y
1285 help
1286 Manages network data connections.
1287
1288 If in doubt, say yes.
1289
1290config MSM_SMD_PKT
1291 bool "SMD Packet Driver"
1292 depends on MSM_SMD
1293 default y
1294 help
1295 Provides a binary SMD non-muxed packet port interface.
1296
1297 If in doubt, say yes.
1298
1299config MSM_SDIO_CMUX
1300 bool "SDIO CMUX Driver"
1301 depends on MSM_SDIO_AL
1302 default n
1303 help
1304 Provides a Muxed port interface over SDIO QMI
1305
1306config MSM_DSPS
1307 bool "Sensors DSPS driver"
1308 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1309 default n
1310 help
1311 Provides user-space interface to the sensors manager
1312 to turn on/off the Sensors Processor system clocks.
1313 It is the DSPS responsibility to turn on/off the sensors
1314 themself.
1315 The number of clocks and their name may vary between targets.
1316 It also triggers the PIL to load the DSPS firmware.
1317
1318config MSM_SDIO_CTL
1319 bool "SDIO CTL Driver"
1320 depends on MSM_SDIO_CMUX
1321 default n
1322 help
1323 Provides a binary SDIO control port interface.
1324
1325config MSM_ONCRPCROUTER
1326 depends on MSM_SMD
1327 default n
1328 bool "MSM ONCRPC router support"
1329 help
1330 Support for the MSM ONCRPC router for communication between
1331 the ARM9 and ARM11
1332
1333config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001334 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001335 default n
1336 bool "MSM IPC Router support"
1337 help
1338 Support for the MSM IPC Router for communication between
1339 the APPs and the MODEM
1340
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001341config MSM_IPC_ROUTER_SMD_XPRT
1342 depends on MSM_SMD
1343 depends on MSM_IPC_ROUTER
1344 default n
1345 bool "MSM SMD XPRT Layer"
1346 help
1347 SMD Transport Layer for IPC Router
1348
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001349config MSM_ONCRPCROUTER_DEBUG
1350 depends on MSM_ONCRPCROUTER
1351 default y
1352 bool "MSM debug ONCRPC router support"
1353 help
1354 Support for debugging the ONCRPC router for communication
1355 between the ARM9 and ARM11
1356
1357config MSM_RPC_LOOPBACK_XPRT
1358 depends on MSM_ONCRPCROUTER
1359 default n
1360 bool "MSM RPC local routing support"
1361 help
1362 Support for routing RPC messages between APPS clients
1363 and APPS servers. Helps in testing APPS RPC framework.
1364
1365config MSM_RPCSERVER_TIME_REMOTE
1366 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1367 default y
1368 bool "Time remote RPC server"
1369 help
1370 The time remote server receives notification of time bases and
1371 reports these events to registered callback functions.
1372
1373config MSM_RPCSERVER_WATCHDOG
1374 depends on MSM_ONCRPCROUTER
1375 default y
1376 bool "Watchdog RPC server"
1377 help
1378 The dog_keepalive server handles watchdog events.
1379
1380config MSM_RPC_WATCHDOG
1381 depends on MSM_ONCRPCROUTER
1382 default n
1383 bool "Watchdog RPC client"
1384 help
1385 The dog_keepalive client module.
1386
1387config MSM_RPC_PING
1388 depends on MSM_ONCRPCROUTER && DEBUG_FS
1389 default m
1390 bool "MSM rpc ping"
1391 help
1392 Implements MSM rpc ping test module.
1393
1394config MSM_RPC_PROC_COMM_TEST
1395 depends on DEBUG_FS && MSM_PROC_COMM
1396 default m
1397 bool "MSM rpc proc comm test"
1398 help
1399 Implements MSM rpc proc comm test module.
1400
1401config MSM_RPC_OEM_RAPI
1402 depends on MSM_ONCRPCROUTER
1403 default m
1404 bool "MSM oem rapi"
1405 help
1406 Implements MSM oem rapi client module.
1407
1408config MSM_RPCSERVER_HANDSET
1409 depends on MSM_ONCRPCROUTER
1410 default y
1411 bool "Handset events RPC server"
1412 help
1413 Support for receiving handset events like headset detect,
1414 headset switch and clamshell state.
1415
1416config MSM_RMT_STORAGE_CLIENT
1417 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1418 default n
1419 bool "Remote Storage RPC client"
1420 help
1421 Provide RPC mechanism for remote processors to access storage
1422 device on apps processor.
1423
1424config MSM_RMT_STORAGE_CLIENT_STATS
1425 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1426 default n
1427 bool "Remote storage RPC client performance statistics"
1428 help
1429 Collects performance statistics and shows this information
1430 through a debugfs file rmt_storage_stats.
1431
1432config MSM_SDIO_SMEM
1433 depends on MSM_SDIO_AL
1434 default n
1435 bool "SDIO SMEM for remote storage"
1436 help
1437 Copies data from remote MDM9K memory to local MSM8x60
1438 memory. Used by remote storage client to shadow
1439 MDM9K filesystem.
1440
1441config MSM_DALRPC
1442 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001443 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001444 help
1445 Supports RPC calls to DAL devices on remote processor cores.
1446
1447config MSM_DALRPC_TEST
1448 tristate "DAL RPC test module"
1449 depends on (MSM_DALRPC && DEBUG_FS)
1450 default m
1451 help
1452 Exercises DAL RPC calls to QDSP6.
1453
1454if CPU_FREQ_MSM
1455
1456config MSM_CPU_FREQ_SET_MIN_MAX
1457 bool "Set Min/Max CPU frequencies."
1458 default n
1459 help
1460 Allow setting min and max CPU frequencies. Sysfs can be used
1461 to override these values.
1462
1463config MSM_CPU_FREQ_MAX
1464 int "Max CPU Frequency"
1465 depends on MSM_CPU_FREQ_SET_MIN_MAX
1466 default 384000
1467
1468config MSM_CPU_FREQ_MIN
1469 int "Min CPU Frequency"
1470 depends on MSM_CPU_FREQ_SET_MIN_MAX
1471 default 245760
1472
1473endif # CPU_FREQ_MSM
1474
1475config MSM_CPU_AVS
1476 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1477 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1478 depends on ARCH_QSD8X50
1479 default n
1480 select MSM_AVS_HW
1481 help
1482 This enables the s/w control of Adaptive Voltage Scaling feature
1483 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1484 based on feedback from three ring oscillators in the CPU.
1485
1486config MSM_AVS_HW
1487 bool "Enable Adaptive Voltage Scaling (AVS)"
1488 default n
1489 help
1490 Enable AVS hardware to fine tune voltage at each frequency. The
1491 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1492 fine tune the voltages based on the feedback from the ring
1493 oscillators.
1494
1495config MSM_HW3D
1496 tristate "MSM Hardware 3D Register Driver"
1497 depends on ANDROID_PMEM
1498 default y
1499 help
1500 Provides access to registers needed by the userspace OpenGL|ES
1501 library.
1502
1503config MSM_ADSP
1504 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1505 tristate "MSM ADSP driver"
1506 depends on ANDROID_PMEM
1507 default y
1508 help
1509 Provides access to registers needed by the userspace aDSP library.
1510
1511config ADSP_RPC_VER
1512 hex
1513 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1514 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1515 depends on MSM_ADSP
1516 help
1517 Select proper ADSP RPC version
1518choice
1519 prompt "ADSP RPC version"
1520
1521 default AMSS_7X25_VERSION_2009
1522
1523 config AMSS_7X25_VERSION_2009
1524 bool "2.0.09"
1525
1526 config AMSS_7X25_VERSION_2008
1527 bool "2.0.08"
1528endchoice
1529
1530config MSM7KV2_AUDIO
1531 bool "MSM7K v2 audio"
1532 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1533 default y
1534 help
1535 Enables QDSP5V2-based audio drivers for audio playbacks and
1536 voice call.
1537
1538config MSM_ADSP_REPORT_EVENTS
1539 bool "Report modem events from the DSP"
1540 default y
1541 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1542 help
1543 Normally, only messages from the aDSP are reported to userspace.
1544 With this option, we report events from the aDSP as well.
1545
1546config MSM_QDSP6
1547 tristate "QDSP6 support"
1548 depends on ARCH_QSD8X50 && ANDROID_PMEM
1549 default y
1550 help
1551 Enable support for qdsp6. This provides audio and video functionality.
1552
1553config MSM8X60_AUDIO
1554 tristate "MSM8X60 audio support"
1555 depends on ARCH_MSM8X60 && ANDROID_PMEM
1556 default y
1557 help
1558 Enable support for qdsp6v2. This provides audio functionality.
1559
1560config MSM8X60_FTM_AUDIO_DEVICES
1561 bool "MSM8X60 audio factory test mode support"
1562 depends on MSM8X60_AUDIO
1563 help
1564 Enable support audio factory test mode devices. This is used
1565 in a production line environment.
1566
Ben Romberger45b351c2011-07-20 22:37:27 -07001567config RTAC
1568 bool "MSM8K real-time audio calibration support"
1569 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001570 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001571 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001572 audio operation
1573
1574config MSM7X27A_AUDIO
1575 bool "MSM7X27A audio support"
1576 depends on ARCH_MSM7X27A && MSM_ADSP
1577 default n
1578 help
1579 Enable support for 7x27a. This provides audio functionality.
1580
Justin Pauporea6cd2092011-06-22 16:19:45 -07001581config MSM_PROC_COMM_REGULATOR
1582 bool
1583 depends on MSM_PROC_COMM && REGULATOR
1584 help
1585 Enable regulator framework support for regulators managed by PMLIB
1586 on the modem, and controlled through proccomm calls.
1587
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001588config MSM_VREG_SWITCH_INVERTED
1589 bool "Reverse vreg switch polarity"
1590 default n
1591 help
1592 Reverses the enable and disable for vreg switch.
1593
1594config MSM_DMA_TEST
1595 tristate "MSM DMA test module"
1596 default m
1597 help
1598 Intended to be compiled as a module. Provides a device node
1599 and ioctls for testing the MSM dma system.
1600
1601config WIFI_CONTROL_FUNC
1602 bool "Enable WiFi control function abstraction"
1603 help
1604 Enables Power/Reset/Carddetect function abstraction
1605
1606config WIFI_MEM_PREALLOC
1607 depends on WIFI_CONTROL_FUNC
1608 bool "Preallocate memory for WiFi buffers"
1609 help
1610 Preallocates memory buffers for WiFi driver
1611
1612config QSD_AUDIO
1613 bool "QSD audio"
1614 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1615 default y
1616 help
1617 Provides PCM, MP3, and AAC audio playback.
1618
1619config AUDIO_AAC_PLUS
1620 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1621 bool "AAC+ Audio"
1622 default y
1623 help
1624 Provides AAC+ decoding
1625
1626config AUDIO_ENHANCED_AAC_PLUS
1627 depends on AUDIO_AAC_PLUS
1628 bool "Enhanced AAC+ Audio"
1629 default y
1630 help
1631 Provides Enhanced AAC+ decoding
1632
1633config SURF_FFA_GPIO_KEYPAD
1634 bool "MSM SURF/FFA GPIO keypad"
1635 depends on INPUT_GPIO = "y"
1636 default y
1637 help
1638 Select if the GPIO keypad is attached.
1639
1640config MSM_SLEEP_TIME_OVERRIDE
1641 bool "Allow overriding suspend/sleep time with PM module parameter"
1642 default y
1643 help
1644 Enable the module parameter sleep_time_override. Specified
1645 in units of seconds, it overwrites the normal sleep time of
1646 suspend. The feature is required for automated power management
1647 testing.
1648
1649config MSM_MEMORY_LOW_POWER_MODE
1650 bool "Control the low power modes of memory"
1651 default n
1652 help
1653 The application processor controls whether memory should enter
1654 which low power mode.
1655
1656choice
1657 prompt "Default Memory Low Power Mode during Idle"
1658 depends on MSM_MEMORY_LOW_POWER_MODE
1659 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1660 help
1661 Selects the default low power mode of the memory during idle
1662 sleep.
1663
1664 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1665 bool "Memory active"
1666
1667 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1668 bool "Memory in retention"
1669
1670 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1671 bool "Memory in deep power down"
1672endchoice
1673
1674choice
1675 prompt "Default Memory Low Power Mode during Suspend"
1676 depends on MSM_MEMORY_LOW_POWER_MODE
1677 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1678 help
1679 Selects the default low power mode of the memory during suspend
1680 sleep.
1681
1682 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1683 bool "Memory active"
1684
1685 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1686 bool "Memory in retention"
1687
1688 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1689 bool "Memory in deep power down"
1690endchoice
1691
1692choice
1693 prompt "Power management timeout action"
1694 default MSM_PM_TIMEOUT_HALT
1695 help
1696 Selects the Application Processor's action when Power Management
1697 times out waiting for Modem's handshake.
1698
1699 config MSM_PM_TIMEOUT_HALT
1700 bool "Halt the Application Processor"
1701
1702 config MSM_PM_TIMEOUT_RESET_MODEM
1703 bool "Reset the Modem Processor"
1704
1705 config MSM_PM_TIMEOUT_RESET_CHIP
1706 bool "Reset the entire chip"
1707endchoice
1708
1709config MSM_IDLE_WAIT_ON_MODEM
1710 int "Wait for Modem to become ready for idle power collapse"
1711 default 0
1712 help
1713 If Modem is not ready to handle Application Processor's request
1714 for idle power collapse, wait the number of microseconds in case
1715 Modem becomes ready soon.
1716
Matt Wagantall9274df92011-12-15 11:11:05 -08001717config MSM_RPM_REGULATOR
1718 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001719 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001720 help
1721 Compile in support for the RPM regulator driver, used for setting
1722 voltages and other parameters of the various power rails supplied
1723 by some Qualcomm PMICs.
1724
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001725config MSM_PIL
1726 bool "Peripheral image loading"
1727 select FW_LOADER
1728 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1729 default n
1730 help
1731 Some peripherals need to be loaded into memory before they can be
1732 brought out of reset.
1733
1734 Say yes to support these devices.
1735
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001736config MSM_PIL_MODEM
1737 tristate "Modem (ARM11) Boot Support"
1738 depends on MSM_PIL
1739 help
1740 Support for booting and shutting down ARM11 Modem processors.
1741
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001742config MSM_PIL_QDSP6V3
1743 tristate "QDSP6v3 (Hexagon) Boot Support"
1744 depends on MSM_PIL
1745 help
1746 Support for booting and shutting down QDSP6v3 processors (hexagon).
1747 The QDSP6 is a low power DSP used in audio software applications.
1748
Stephen Boydeb819882011-08-29 14:46:30 -07001749config MSM_PIL_QDSP6V4
1750 tristate "QDSP6v4 (Hexagon) Boot Support"
1751 depends on MSM_PIL
1752 help
1753 Support for booting and shutting down QDSP6v4 processors (hexagon).
1754 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1755 software applications.
1756
Stephen Boyd322a9922011-09-20 01:05:54 -07001757config MSM_PIL_RIVA
1758 tristate "RIVA (WCNSS) Boot Support"
1759 depends on MSM_PIL
1760 help
1761 Support for booting and shutting down the RIVA processor (WCNSS).
1762 Riva is the wireless subsystem processor used in bluetooth, wireless
1763 LAN, and FM software applications.
1764
Stephen Boydd89eebe2011-09-28 23:28:11 -07001765config MSM_PIL_TZAPPS
1766 tristate "TZApps Boot Support"
1767 depends on MSM_PIL
1768 help
1769 Support for booting and shutting down TZApps.
1770
1771 TZApps is an image that runs in the secure processor state. It is
1772 used to decrypt data and perform secure operations on the behalf of
1773 the kernel.
1774
Matt Wagantall292aace2012-01-26 19:12:34 -08001775config MSM_PIL_GSS
1776 tristate "GSS (Coretx A5) Boot Support"
1777 depends on MSM_PIL
1778 help
1779 Support for booting and shutting down Cortex A5 processors which run
1780 GPS subsystem firmware.
1781
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001782config MSM_SCM
1783 bool "Secure Channel Manager (SCM) support"
1784 default n
1785
1786config MSM_SUBSYSTEM_RESTART
1787 bool "MSM Subsystem Restart Driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001788 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001789 default n
1790 help
1791 This option enables the MSM subsystem restart driver, which provides
1792 a framework to handle subsystem crashes.
1793
Matt Wagantallf8020902011-08-30 21:19:23 -07001794config MSM_SYSMON_COMM
1795 bool "MSM System Monitor communication support"
1796 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1797 default y
1798 help
1799 This option adds support for MSM System Monitor library, which
1800 provides an API that may be used for notifying subsystems within
1801 the SoC about other subsystems' power-up/down state-changes.
1802
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001803config MSM_MODEM_8960
1804 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001805 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001806 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001807 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001808 modem 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.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001810
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001811config MSM_LPASS_8960
1812 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001813 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001814 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001815 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001816 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001817 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001818
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001819config MSM_WCNSS_SSR_8960
1820 tristate "MSM 8960 WCNSS restart module"
1821 depends on (ARCH_MSM8960)
1822 help
1823 This option enables the WCNSS restart module for MSM8960, which
1824 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1825 into the subsystem restart framework.
1826
Rohit Vaswanid0fb4182012-03-19 18:07:59 -07001827config MSM_GSS_SSR_8064
1828 bool "MSM 8064 GSS restart driver"
1829 depends on (ARCH_APQ8064)
1830 help
1831 This option enables the gps subsystem restart driver for APQ8064, which monitors
1832 gss hardware watchdog interrupt lines and plugs into the subsystem
1833 restart and PIL drivers.
1834
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001835config SCORPION_Uni_45nm_BUG
1836 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1837 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1838 default y
1839 help
1840 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1841 invalidating the Branch Predictor Array by Modified Virtual Address can
1842 create invalid entries in the TLB with the wrong ASID values on Scorpion
1843 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1844 workaround for Scorpion Uniprocessor 45nm cores.
1845
1846 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1847
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001848config MSM_BUSPM_DEV
1849 tristate "MSM Bus Performance Monitor Kernel Module"
1850 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1851 default m
1852 help
1853 This kernel module is used to mmap() hardware registers for the
1854 performance monitors, counters, etc. The module can also be used to
1855 allocate physical memory which is used by bus performance hardware to
1856 dump performance data.
1857
Mona Hossain11c03ac2011-10-26 12:42:10 -07001858config MSM_TZ_LOG
1859 tristate "MSM Trust Zone (TZ) Log Driver"
1860 depends on DEBUG_FS
1861 help
1862 This option enables a driver with a debugfs interface for messages
1863 produced by the Secure code (Trust zone). These messages provide
1864 diagnostic information about TZ operation.
1865
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001866config MSM_RPM_LOG
1867 tristate "MSM Resource Power Manager Log Driver"
1868 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001869 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001870 default n
1871 help
1872 This option enables a driver which can read from a circular buffer
1873 of messages produced by the RPM. These messages provide diagnostic
1874 information about RPM operation. The driver outputs the messages
1875 via a debugfs node.
1876
1877config MSM_RPM_STATS_LOG
1878 tristate "MSM Resource Power Manager Stat Driver"
1879 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001880 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001881 default n
1882 help
1883 This option enables a driver which reads RPM messages from a shared
1884 memory location. These messages provide statistical information about
1885 the low power modes that RPM enters. The drivers outputs the message
1886 via a debugfs node.
1887
1888config MSM_IOMMU
1889 bool "MSM IOMMU Support"
Joel King41d594e2011-10-14 13:18:20 -07001890 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_APQ8064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001891 select IOMMU_API
1892 default n
1893 help
1894 Support for the IOMMUs found on certain Qualcomm SOCs.
1895 These IOMMUs allow virtualization of the address space used by most
1896 cores within the multimedia subsystem.
1897
1898 If unsure, say N here.
1899
1900config IOMMU_PGTABLES_L2
1901 bool "Allow SMMU page tables in the L2 cache (Experimental)"
1902 depends on MSM_IOMMU=y
1903 depends on MMU
1904 depends on CPU_DCACHE_DISABLE=n
1905 depends on SMP
1906 default y
1907 help
1908 Improves TLB miss latency at the expense of potential L2 pollution.
1909 However, with large multimedia buffers, the TLB should mostly contain
1910 section mappings and TLB misses should be quite infrequent.
1911 Most people can probably say Y here.
1912
1913config MSM_DIRECT_SCLK_ACCESS
1914 bool "Direct access to the SCLK timer"
1915 default n
1916
1917config IOMMU_API
1918 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001919
Gregory Beanab78cde2010-09-01 16:26:12 -07001920config MSM_GPIOMUX
1921 bool
1922
Gregory Bean1963a2a2010-08-28 10:05:44 -07001923config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001924 bool
1925
1926config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07001927 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001928
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001929config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001930 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001931
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001932config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001933 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001934
Matt Wagantall88b86312012-01-31 16:53:03 -08001935config MSM_PM
1936 depends on PM
1937 bool
1938
1939config MSM_PM2
1940 depends on PM
1941 bool
1942
1943config MSM_PM8X60
1944 depends on PM
1945 bool
1946
1947config MSM_NOPM
1948 default y if !PM
1949 bool
1950
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001951config MSM_BUS_SCALING
1952 bool "Bus scaling driver"
1953 default n
1954
Gagan Mac85c70492011-06-10 16:07:47 -06001955config MSM_BUS_RPM_MULTI_TIER_ENABLED
1956 bool "RPM Multi-tiering Configuration"
1957 depends on MSM_BUS_SCALING
1958
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001959config MSM_WATCHDOG
1960 bool "MSM Watchdog Support"
Rohit Vaswani085a9332011-09-28 18:57:24 -07001961 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001962 help
1963 This enables the watchdog as is present on 8x60. Currently we use
1964 core 0's watchdog, and reset the entire SoC if it times out. It does
1965 not run during the bootup process, so it will not catch any early
1966 lockups.
1967
1968config MSM_DLOAD_MODE
1969 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07001970 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001971 default n
1972 help
1973 This makes the SoC enter download mode when it resets
1974 due to a kernel panic. Note that this doesn't by itself
1975 make the kernel reboot on a kernel panic - that must be
1976 enabled via another mechanism.
1977
Pratik Patel17f3b822011-11-21 12:41:47 -08001978config MSM_JTAG
1979 bool "JTAG debug and trace support"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001980 help
Pratik Patel17f3b822011-11-21 12:41:47 -08001981 Add additional support for JTAG kernel debugging and tracing.
Pratik Patel7831c082011-06-08 21:44:37 -07001982
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001983config MSM_ETM
1984 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08001985 depends on ARCH_MSM8X60
1986 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001987 help
Pratik Patel17f3b822011-11-21 12:41:47 -08001988 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07001989
1990config MSM_QDSS
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001991 bool "Qualcomm Debug Subsystem"
Pratik Patel17f3b822011-11-21 12:41:47 -08001992 select MSM_JTAG
Pratik Patel7831c082011-06-08 21:44:37 -07001993 help
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001994 Enables support for Qualcomm Debug Subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001995
Pratik Patel29cba152012-01-03 11:40:26 -08001996config MSM_QDSS_ETM_DEFAULT_ENABLE
1997 bool "Turn on QDSS ETM Tracing by Default"
1998 depends on MSM_QDSS
1999 help
2000 Turns on QDSS ETM tracing by default. Otherwise, tracing is
2001 disabled by default but can be enabled by other means.
2002
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002003config MSM_SLEEP_STATS
2004 bool "Enable exporting of MSM sleep stats to userspace"
2005 depends on CPU_IDLE
2006 default n
2007
Lynus Vazdde09ee2012-01-05 13:28:22 +05302008config MSM_SLEEP_STATS_DEVICE
2009 bool "Enable exporting of MSM sleep device stats to userspace"
2010
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002011config MSM_STANDALONE_POWER_COLLAPSE
2012 bool "Enable standalone power collapse"
2013 default n
2014
2015config MSM_GSBI9_UART
2016 bool "Enable GSBI9 UART device"
2017 default n
2018 help
2019 This enables GSBI9 configured into UART.
2020
2021config MSM_SHARED_GPIO_FOR_UART2DM
2022 bool "Use shared GPIOs into UART mode"
2023 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2024 help
2025 This option configures GPIO muxed with SDC4/MMC3
2026 8-bit mode into UART mode. It is used for serial
2027 console on UART2DM. Say Y if you want to have
2028 serial console on UART2DM.
2029
2030config MSM_SHOW_RESUME_IRQ
2031 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002032 depends on (ARM_GIC || PMIC8058)
2033 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002034 default n
2035 help
2036 This option logs wake up interrupts that have triggered just before
2037 the resume loop unrolls. Say Y if you want to debug why the system
2038 resumed.
2039
2040config BT_MSM_PINTEST
2041 tristate "MSM Bluetooth Pin Connectivity Test"
2042 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2043 default n
2044 help
2045 Bluetooth MSM Pin Connectivity test module.
2046 This driver provides support for verifying the MSM to BT pin
2047 connectivity.
2048
2049config MSM_FAKE_BATTERY
2050 depends on POWER_SUPPLY
2051 default n
2052 bool "MSM Fake Battery"
2053 help
2054 Enables MSM fake battery driver.
2055
2056config MSM_QDSP6_APR
2057 bool "Audio QDSP6 APR support"
2058 depends on MSM_SMD
2059 default n
2060 help
2061 Enable APR IPC protocol support between
2062 application processor and QDSP6. APR is
2063 used by audio driver to configure QDSP6's
2064 ASM, ADM and AFE.
2065
2066
2067config MSM_AUDIO_QDSP6
2068 bool "QDSP6 HW Audio support"
2069 select SND_SOC_MSM_QDSP6_INTF
2070 default n
2071 help
2072 Enable HW audio support in QDSP6.
2073 QDSP6 can support HW encoder & decoder and audio processing
2074
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002075config MSM_ULTRASOUND
2076 bool "MSM ultrasound support"
2077 depends on MSM_AUDIO_QDSP6
2078 help
2079 Enable support for qdsp6/ultrasound.
2080
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002081config MSM_RPC_VIBRATOR
2082 bool "RPC based MSM Vibrator Support"
2083 depends on MSM_ONCRPCROUTER
2084 help
2085 Enable the vibrator support on MSM over RPC. The vibrator
2086 is connected on the PMIC. Say Y if you want to enable this
2087 feature.
2088
2089config PM8XXX_RPC_VIBRATOR
2090 bool "RPC based Vibrator on PM8xxx PMICs"
2091 depends on MSM_RPC_VIBRATOR
2092 help
2093 Enable the vibrator support on MSM over RPC. The vibrator
2094 is connected on the PM8XXX PMIC. Say Y if you want to enable
2095 this feature.
2096
2097config MSM_SPM_V1
2098 bool "Driver support for SPM Version 1"
2099 help
2100 Enables the support for Version 1 of the SPM driver. SPM hardware is
2101 used to manage the processor power during sleep. The driver allows
2102 configuring SPM to allow different power modes.
2103
2104config MSM_SPM_V2
2105 bool "Driver support for SPM Version 2"
2106 help
2107 Enables the support for Version 2 of the SPM driver. SPM hardware is
2108 used to manage the processor power during sleep. The driver allows
2109 configuring SPM to allow different power modes.
2110
2111config MSM_L2_SPM
2112 bool "SPM support for L2 cache"
2113 depends on MSM_SPM_V2
2114 help
2115 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2116 control of L2 cache low power mode with a Subsystem Power manager.
2117 Enabling this driver allows configuring L2 SPM for low power modes
2118 on supported chipsets.
2119
Laura Abbott2d1760b2011-09-29 21:31:24 -07002120config MSM_MULTIMEDIA_USE_ION
2121 bool "Multimedia suport using Ion"
2122 depends on ION_MSM
2123 help
2124 Enable support for multimedia drivers using Ion for buffer management
2125 instead of pmem. Selecting this may also involve userspace
2126 dependencies as well.
2127
Laura Abbottad340ff2012-01-04 14:23:48 -08002128config MSM_RTB
2129 bool "Register tracing"
2130 help
2131 Add support for logging different events to a small uncached
2132 region. This is designed to aid in debugging reset cases where the
2133 caches may not be flushed before the target resets.
2134
2135config MSM_RTB_SEPARATE_CPUS
2136 bool "Separate entries for each cpu"
2137 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002138 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002139 help
2140 Under some circumstances, it may be beneficial to give dedicated space
2141 for each cpu to log accesses. Selecting this option will log each cpu
2142 separately. This will guarantee that the last acesses for each cpu
2143 will be logged but there will be fewer entries per cpu
2144
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002145config MSM_CACHE_ERP
2146 bool "Cache / CPU error reporting"
2147 depends on ARCH_MSM_KRAIT
2148 help
2149 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2150 log. Enabling this feature can be used as a system debugging technique
2151 if cache corruption is suspected. Cache error statistics will also be
2152 reported in /proc/cpu/msm_cache_erp.
2153
2154 For production builds, you should probably say 'N' here.
2155
2156config MSM_L1_ERR_PANIC
2157 bool "Panic on L1 cache / TLB errors"
2158 depends on MSM_CACHE_ERP
2159 help
2160 To cause the kernel to panic whenever an L1 cache or TLB error is
2161 detected, say 'Y' here. This may be useful as a debugging technique if
2162 general system instability is suspected.
2163
2164 For production builds, you should probably say 'N' here.
2165
2166
2167config MSM_L2_ERP_PORT_PANIC
2168 bool "Panic on L2 master port errors"
2169 depends on MSM_CACHE_ERP
2170 help
2171 Master port errors can occur when a memory request is not properly
2172 handled by the destination slave. Enable this option to catch drivers
2173 which attempt to access bad areas of the address space, or access
2174 hardware registers in an improper state (such as certain clocks not
2175 being on). This option may help with debugging, though production
2176 builds should probably say 'N' here.
2177
2178config MSM_L2_ERP_1BIT_PANIC
2179 bool "Panic on recoverable L2 soft errors"
2180 depends on MSM_CACHE_ERP
2181 help
2182 Enable this option to cause a kernel panic whenever the L2 cache
2183 encounters a single-bit (correctable) soft error. This option should
2184 only be enabled when doing low-level debugging where cache corruption
2185 is suspected.
2186
2187 For production builds, you should definitely say 'N' here.
2188
2189config MSM_L2_ERP_2BIT_PANIC
2190 bool "Panic on unrecoverable L2 soft errors"
2191 depends on MSM_CACHE_ERP
2192 help
2193 Enable this option to cause a kernel panic whenever the L2 cache
2194 encounters a double-bit (non-correctable) soft error. Debug builds
2195 will likely benefit from having this option enabled to catch cache
2196 problems as soon as possible.
2197
2198 For production builds, it may be acceptable to say 'N' here, since
2199 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002200
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002201config MSM_DCVS
2202 bool "Use MSM DCVS for CPU/GPU Frequency control"
2203 depends on MSM_SCM
2204 help
2205 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2206 The DCVS manager allows idle driver to feed the idle information to the
2207 algorithm and the algorithm returns a frequency for the core which is
2208 passed to the frequency change driver.
2209
Taniya Dasc43e6872012-03-21 16:41:14 +05302210config HAVE_ARCH_HAS_CURRENT_TIMER
2211 bool
Brian Swetland9e73c842007-11-26 04:12:13 -08002212endif