blob: 2e374317f413bb36f33a5cbd7d642b89fd81e16a [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_QDSP6_APR
267 select MSM_AUDIO_QDSP6 if SND_SOC
Matt Wagantall9274df92011-12-15 11:11:05 -0800268
Taniya Das43bcdd62011-12-02 17:33:27 +0530269config ARCH_MSM8625
270 bool "MSM8625"
271 select ARCH_MSM_CORTEX_A5
272 select CPU_V7
273 select MSM_GPIOMUX
274 select ARM_GIC
275 select ARCH_MSM_CORTEXMP
276 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530277 select ARM_TICKET_LOCKS
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700278endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700279
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700280choice
281 prompt "MSM SoC Revision"
282 default MSM_SOC_REV_NONE
283config MSM_SOC_REV_NONE
284 bool "N/A"
285 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
286 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walker4ad15e62010-05-06 13:54:17 -0700287config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700288 bool "Rev. A"
289 select ARCH_MSM7X27A if ARCH_MSM7X27
290endchoice
Daniel Walker4ad15e62010-05-06 13:54:17 -0700291
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700292config MSM_KRAIT_TBB_ABORT_HANDLER
293 bool "Krait TBB/TBH data abort handler"
294 depends on ARCH_MSM_KRAIT
295 depends on ARM_THUMB
296 help
297 Certain early samples of the Krait processor may generate data
298 aborts for TBB / TBH instructions that fail their condition code
299 checks. Enabling this option will ignore these erroneous data aborts,
300 at the expense of a very small performance penalty.
301
302 If unsure, say N.
303
Daniel Walker4ad15e62010-05-06 13:54:17 -0700304config ARCH_MSM_ARM11
305 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700306
Daniel Walker4ad15e62010-05-06 13:54:17 -0700307config ARCH_MSM_SCORPION
Daniel Walkerbf83de42010-03-16 16:29:44 -0700308 bool
309
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700310config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700311 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800312 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700313
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700314config MSM_SMP
315 bool
316
317config ARCH_MSM_SCORPIONMP
318 select ARCH_MSM_SCORPION
319 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530320 select HAVE_ARCH_HAS_CURRENT_TIMER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700321 bool
322
323config ARCH_MSM_KRAITMP
324 select ARCH_MSM_KRAIT
325 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530326 select HAVE_ARCH_HAS_CURRENT_TIMER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700327 bool
328
Taniya Das43bcdd62011-12-02 17:33:27 +0530329config ARCH_MSM_CORTEXMP
330 select MSM_SMP
331 bool
332
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700333config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800334 bool
Rohit Vaswaniaf7ae272012-01-09 10:28:57 -0800335 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700336
337config ARCH_MSM7X27A
338 bool
339 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700340 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530341 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530342 select ARM_GIC
343 select ARCH_MSM_CORTEXMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700344
Gregory Beanf9f3d312010-04-30 22:06:50 -0700345config MSM_VIC
346 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700347
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700348config MSM_RPM
349 bool "Resource Power Manager"
350 select MSM_MPM
351
352config MSM_MPM
353 bool "Modem Power Manager"
354
355config MSM_XO
356 bool
357
358config MSM_REMOTE_SPINLOCK_DEKKERS
359 bool
360config MSM_REMOTE_SPINLOCK_SWP
361 bool
362config MSM_REMOTE_SPINLOCK_LDREX
363 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600364config MSM_REMOTE_SPINLOCK_SFPB
365 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700366config MSM_ADM3
367 bool
368
369menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700370
371config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700372 depends on ARCH_MSM7X01A
373 depends on MSM_STACKED_MEMORY
374 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700375 bool "Halibut Board (QCT SURF7201A)"
376 help
377 Support for the Qualcomm SURF7201A eval board.
378
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700379config MACH_MSM7201A_SURF
380 depends on ARCH_MSM7X01A
381 depends on MSM_STACKED_MEMORY
382 default y
383 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700384 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700385 Support for the Qualcomm MSM7201A SURF eval board.
386
387config MACH_MSM7201A_FFA
388 depends on ARCH_MSM7X01A
389 depends on MSM_STACKED_MEMORY
390 default y
391 bool "MSM7201A FFA"
392 help
393 Support for the Qualcomm MSM7201A FFA eval board.
394
395config MACH_TROUT
396 depends on ARCH_MSM7X01A
397 depends on MSM_STACKED_MEMORY
398 default y
399 bool "Trout"
400
401config MACH_MSM7X27_SURF
402 depends on ARCH_MSM7X27
403 depends on !MSM_STACKED_MEMORY
404 default y
405 bool "MSM7x27 SURF"
406 help
407 Support for the Qualcomm MSM7x27 SURF eval board.
408
409config MACH_MSM7X27_FFA
410 depends on ARCH_MSM7X27
411 depends on !MSM_STACKED_MEMORY
412 default y
413 bool "MSM7x27 FFA"
414 help
415 Support for the Qualcomm MSM7x27 FFA eval board.
416
417config MACH_MSM7X27A_RUMI3
418 depends on ARCH_MSM7X27A
419 depends on !MSM_STACKED_MEMORY
420 default y
421 bool "MSM7x27A RUMI3"
422 help
423 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
424
425config MACH_MSM7X27A_SURF
426 depends on ARCH_MSM7X27A
427 depends on !MSM_STACKED_MEMORY
428 default y
429 bool "MSM7x27A SURF"
430 help
431 Support for the Qualcomm MSM7x27A SURF.
432
433config MACH_MSM7X27A_FFA
434 depends on ARCH_MSM7X27A
435 depends on !MSM_STACKED_MEMORY
436 default y
437 bool "MSM7x27A FFA"
438 help
439 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700440
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530441config MACH_MSM7625A_SURF
442 depends on ARCH_MSM7X27A
443 depends on !MSM_STACKED_MEMORY
444 default y
445 bool "MSM7625A SURF"
446 help
447 Support for the Qualcomm MSM7625A SURF.
448
449config MACH_MSM7625A_FFA
450 depends on ARCH_MSM7X27A
451 depends on !MSM_STACKED_MEMORY
452 default y
453 bool "MSM7625A FFA"
454 help
455 Support for the Qualcomm MSM7625A FFA.
456
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530457config MACH_MSM7627A_QRD1
458 depends on ARCH_MSM7X27A
459 depends on !MSM_STACKED_MEMORY
460 default y
461 bool "MSM7627A QRD1"
462 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530463 Support for the Qualcomm MSM7627A Reference Design.
464
465config MACH_MSM7627A_QRD3
466 depends on ARCH_MSM7X27A
467 depends on !MSM_STACKED_MEMORY
468 default y
469 bool "MSM7627A QRD3"
470 help
471 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530472
Taniya Dasc868a2e2012-01-03 10:18:47 +0530473config MACH_MSM7627A_EVB
474 depends on ARCH_MSM7X27A
475 depends on !MSM_STACKED_MEMORY
476 default y
477 bool "MSM7627A EVB"
478 help
479 Support for the Qualcomm MSM7627A Reference Design.
480
Taniya Das43bcdd62011-12-02 17:33:27 +0530481config MACH_MSM8625_RUMI3
482 depends on ARCH_MSM8625
483 depends on !MSM_STACKED_MEMORY
484 default y
485 bool "MSM8625 RUMI3"
486 help
487 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
488
Taniya Dase3027e22012-02-27 16:32:27 +0530489config MACH_MSM8625_SURF
490 depends on ARCH_MSM8625
491 depends on !MSM_STACKED_MEMORY
492 default y
493 bool "MSM8625 SURF"
494 help
495 Support for the Qualcomm MSM8625 SURF.
496
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530497config MACH_MSM8625_EVB
498 depends on ARCH_MSM8625
499 depends on !MSM_STACKED_MEMORY
500 default y
501 bool "MSM8625 EVB"
502 help
503 Support for the Qualcomm MSM8625 Reference Design.
504
Taniya Dasbd096542012-03-15 17:43:45 +0530505config MACH_MSM8625_QRD7
506 depends on ARCH_MSM8625
507 depends on !MSM_STACKED_MEMORY
508 default y
509 bool "MSM8625 QRD7"
510 help
511 Support for the Qualcomm MSM8625 Reference Design.
512
Daniel Walker7b521612010-05-06 12:44:57 -0700513config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700514 depends on ARCH_MSM7X30
515 depends on !MSM_STACKED_MEMORY
516 default y
517 bool "MSM7x30 SURF"
518 help
519 Support for the Qualcomm MSM7x30 SURF eval board.
520
521config MACH_MSM7X30_FFA
522 depends on ARCH_MSM7X30
523 depends on !MSM_STACKED_MEMORY
524 default y
525 bool "MSM7x30 FFA"
526 help
527 Support for the Qualcomm MSM7x30 FFA eval board.
528
529config MACH_MSM7X30_FLUID
530 depends on ARCH_MSM7X30
531 depends on !MSM_STACKED_MEMORY
532 default y
533 bool "MSM7x30 FLUID"
534 help
535 Support for the Qualcomm MSM7x30 FLUID eval board.
536
537config MACH_SAPPHIRE
538 depends on ARCH_MSM7X01A
539 default n
540 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700541
Daniel Walker4ad15e62010-05-06 13:54:17 -0700542config MACH_QSD8X50_SURF
543 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700544 depends on MSM_SOC_REV_NONE
545 depends on MSM_STACKED_MEMORY
546 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700547 bool "QSD8x50 SURF"
548 help
549 Support for the Qualcomm QSD8x50 SURF eval board.
550
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700551config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700552 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700553 depends on MSM_SOC_REV_NONE
554 depends on MSM_STACKED_MEMORY
555 default y
556 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700557 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700558 Support for the Qualcomm QSD8x50 FFA eval board.
559
560config MACH_MSM7X25_SURF
561 depends on ARCH_MSM7X25
562 depends on !MSM_STACKED_MEMORY
563 default y
564 bool "MSM7x25 SURF"
565 help
566 Support for the Qualcomm MSM7x25 SURF eval board.
567
568config MACH_MSM7X25_FFA
569 depends on ARCH_MSM7X25
570 depends on !MSM_STACKED_MEMORY
571 default y
572 bool "MSM7x25 FFA"
573 help
574 Support for the Qualcomm MSM7x25 FFA eval board.
575
576config MACH_MSM8X55_SURF
577 depends on ARCH_MSM7X30
578 depends on !MSM_STACKED_MEMORY
579 default y
580 bool "MSM8X55 SURF"
581 help
582 Support for the Qualcomm MSM8x55 SURF eval board.
583
584config MACH_MSM8X55_FFA
585 depends on ARCH_MSM7X30
586 depends on !MSM_STACKED_MEMORY
587 default y
588 bool "MSM8X55 FFA"
589 help
590 Support for the Qualcomm MSM8x55 FFA eval board.
591
592config MACH_MSM8X55_SVLTE_FFA
593 depends on ARCH_MSM7X30
594 depends on !MSM_STACKED_MEMORY
595 default y
596 bool "MSM8X55 SVLTE FFA"
597 help
598 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
599
600config MACH_MSM8X55_SVLTE_SURF
601 depends on ARCH_MSM7X30
602 depends on !MSM_STACKED_MEMORY
603 default y
604 bool "MSM8X55 SVLTE SURF"
605 help
606 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700607
Steve Mucklea55df6e2010-01-07 12:43:24 -0800608config MACH_MSM8X60_RUMI3
609 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700610 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800611 bool "MSM8x60 RUMI3"
612 help
613 Support for the Qualcomm MSM8x60 RUMI3 emulator.
614
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800615config MACH_MSM8X60_SIM
616 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700617 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800618 bool "MSM8x60 Simulator"
619 help
620 Support for the Qualcomm MSM8x60 simulator.
621
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700622config MACH_MSM8X60_SURF
623 depends on ARCH_MSM8X60
624 default n
625 bool "MSM8x60 SURF"
626 help
627 Support for the Qualcomm MSM8x60 SURF eval board.
628
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700629config MACH_MSM8X60_FFA
630 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700631 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700632 bool "MSM8x60 FFA"
633 help
634 Support for the Qualcomm MSM8x60 FFA eval board.
635
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700636config MACH_MSM8X60_FLUID
637 depends on ARCH_MSM8X60
638 default n
639 bool "MSM8x60 FLUID"
640 help
641 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
642 8x60 target which has a form factor that is much closer to that
643 of a phone than other targets. It also has a new display and
644 touchscreen controller.
645
646config MACH_MSM8X60_FUSION
647 depends on ARCH_MSM8X60
648 default n
649 bool "MSM8x60 FUSION"
650 help
651 Support for the Qualcomm MSM8x60 Fusion SURF device.
652
653config MACH_MSM8X60_FUSN_FFA
654 depends on ARCH_MSM8X60
655 default n
656 bool "MSM8x60 FUSN FFA"
657 help
658 Support for the Qualcomm MSM8x60 Fusion FFA device.
659
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400660config MACH_MSM8X60_DRAGON
661 depends on ARCH_MSM8X60
662 default n
663 bool "MSM8x60 DRAGON"
664 help
665 Support for the Qualcomm MSM8x60 Dragon board.
666
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800667config MACH_MSM8960_SIM
668 depends on ARCH_MSM8960
669 bool "MSM8960 Simulator"
670 help
671 Support for the Qualcomm MSM8960 simulator.
672
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800673config MACH_MSM8960_RUMI3
674 depends on ARCH_MSM8960
675 bool "MSM8960 RUMI3"
676 help
677 Support for the Qualcomm MSM8960 RUMI3 emulator.
678
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700679config MACH_MSM8960_CDP
680 depends on ARCH_MSM8960
681 bool "MSM8960 CDP"
682 help
683 Support for the Qualcomm MSM8960 CDP device.
684
685config MACH_MSM8960_MTP
686 depends on ARCH_MSM8960
687 bool "MSM8960 MTP"
688 help
689 Support for the Qualcomm MSM8960 MTP device.
690
691config MACH_MSM8960_FLUID
692 depends on ARCH_MSM8960
693 bool "MSM8960 FLUID"
694 help
695 Support for the Qualcomm MSM8960 FLUID device.
696
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300697config MACH_MSM8960_LIQUID
698 depends on ARCH_MSM8960
699 bool "MSM8960 LIQUID"
700 help
701 Support for the Qualcomm MSM8960 LIQUID device.
702
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700703config MACH_MSM8930_CDP
704 depends on ARCH_MSM8930
705 bool "MSM8930 CDP"
706 help
707 Support for the Qualcomm MSM8930 CDP device.
708
709config MACH_MSM8930_MTP
710 depends on ARCH_MSM8930
711 bool "MSM8930 MTP"
712 help
713 Support for the Qualcomm MSM8930 MTP device.
714
715config MACH_MSM8930_FLUID
716 depends on ARCH_MSM8930
717 bool "MSM8930 FLUID"
718 help
719 Support for the Qualcomm MSM8930 FLUID device.
720
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800721config MACH_MSM8627_CDP
722 depends on ARCH_MSM8930
723 bool "MSM8627 CDP"
724 help
725 Support for the Qualcomm MSM8627 CDP device.
726
727config MACH_MSM8627_MTP
728 depends on ARCH_MSM8930
729 bool "MSM8627 MTP"
730 help
731 Support for the Qualcomm MSM8627 MTP device.
732
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700733config MACH_MSM9615_CDP
734 depends on ARCH_MSM9615
735 bool "MSM9615 CDP"
736 help
737 Support for the Qualcomm MSM9615 CDP device.
738
739config MACH_MSM9615_MTP
740 depends on ARCH_MSM9615
741 bool "MSM9615 MTP"
742 help
743 Support for the Qualcomm MSM9615 MTP device.
744
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700745config MSM_USE_TSIF1
746 depends on ARCH_MSM8X60
747 bool "MSM8x60 use TSIF1"
748 help
749 Selects TSIF1 core to be used rather than TSIF0.
750 The two TSIF cores share the same DM configuration
751 so they cannot be used simultaneously.
752
753config MACH_APQ8064_SIM
754 depends on ARCH_APQ8064
755 bool "APQ8064 Simulator"
756 help
757 Support for the Qualcomm APQ8064 simulator.
758
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700759config MACH_APQ8064_RUMI3
760 depends on ARCH_APQ8064
761 bool "APQ8064 RUMI3"
762 help
763 Support for the Qualcomm APQ8064 RUMI3 emulator.
764
Joel King82b7e3f2012-01-05 10:03:27 -0800765config MACH_APQ8064_CDP
766 depends on ARCH_APQ8064
767 bool "APQ8064 CDP"
768 help
769 Support for the Qualcomm APQ8064 CDP device.
770
771config MACH_APQ8064_MTP
772 depends on ARCH_APQ8064
773 bool "APQ8064 MTP"
774 help
775 Support for the Qualcomm APQ8064 MTP device.
776
777config MACH_APQ8064_LIQUID
778 depends on ARCH_APQ8064
779 bool "APQ8064 LIQUID"
780 help
781 Support for the Qualcomm APQ8064 LIQUID device.
782
Joel King11ca8202012-02-13 16:19:03 -0800783config MACH_MPQ8064_HRD
784 depends on ARCH_APQ8064
785 bool "MPQ8064 HRD"
786 help
787 Support for the Qualcomm MPQ8064 HRD device.
788
789config MACH_MPQ8064_DTV
790 depends on ARCH_APQ8064
791 bool "MPQ8064 DTV"
792 help
793 Support for the Qualcomm MPQ8064 DTV device.
794
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700795config MACH_FSM9XXX_SURF
796 depends on ARCH_FSM9XXX
797 depends on !MSM_STACKED_MEMORY
798 default y
799 bool "FSM9XXX SURF"
800 help
801 Support for the Qualcomm FSM9xxx femtocell
802 chipset based SURF evaluation board and
803 FFA board.
804
Daniel Walker4ad15e62010-05-06 13:54:17 -0700805endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800806
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700807config MSM_STACKED_MEMORY
808 bool "Stacked Memory"
809 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800810 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700811 This option is used to indicate the presence of on-die stacked
812 memory. When present this memory bank is used for a high speed
813 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800814
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700815config PHYS_OFFSET
816 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700817 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700818 default "0x80200000" if ARCH_APQ8064
819 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700820 default "0x80200000" if ARCH_MSM8930
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700821 default "0x80200000" if ARCH_MSMCOPPER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700822 default "0x10000000" if ARCH_FSM9XXX
823 default "0x00200000" if !MSM_STACKED_MEMORY
824 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
825 default "0x20000000" if ARCH_QSD8X50
826 default "0x40200000" if ARCH_MSM8X60
827 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800828
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700829config KERNEL_PMEM_EBI_REGION
830 bool "Enable in-kernel PMEM region for EBI"
831 default y if ARCH_MSM8X60
Olav Hauganb800c8c2012-01-30 08:50:45 -0800832 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSMCOPPER)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700833 help
834 Enable the in-kernel PMEM allocator to use EBI memory.
835
836config KERNEL_PMEM_SMI_REGION
837 bool "Enable in-kernel PMEM region for SMI"
838 default y if ARCH_MSM8X60
839 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
840 help
841 Enable the in-kernel PMEM allocator to use SMI memory.
842
843config PMEM_GPU0
844 bool "Enable PMEM GPU0 region"
845 default y
846 depends on ARCH_QSD8X50 && ANDROID_PMEM
847 help
848 Enable the PMEM GPU0 device on SMI Memory.
849
850config MSM_AMSS_VERSION
851 int
852 default 6210 if MSM_AMSS_VERSION_6210
853 default 6220 if MSM_AMSS_VERSION_6220
854 default 6225 if MSM_AMSS_VERSION_6225
855
856choice
857 prompt "AMSS modem firmware version"
858
859 default MSM_AMSS_VERSION_6225
860
861 config MSM_AMSS_VERSION_6210
862 bool "6.2.10"
863
864 config MSM_AMSS_VERSION_6220
865 bool "6.2.20"
866
867 config MSM_AMSS_VERSION_6225
868 bool "6.2.20 + New ADSP"
869endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800870
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700871config MSM_HAS_DEBUG_UART_HS
872 bool
873 help
874 Say Y here if high speed MSM UART is present.
875
876config MSM_HAS_DEBUG_UART_HS_V14
877 bool
878 select MSM_HAS_DEBUG_UART_HS
879 help
880 Say Y here if high speed MSM UART v1.4 is present.
881
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800882config DEBUG_MSM8930_UART
883 bool "Kernel low-level debugging messages via MSM 8930 UART"
884 depends on ARCH_MSM8930 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700885 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800886 help
887 Say Y here if you want the debug print routines to direct
888 their output to the serial port on MSM 8930 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100889
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530890config MSM_DEBUG_UART_PHYS
891 hex
892 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
893 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
894 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
895 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
896 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
897 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
898 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
899 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
900
Pavel Machek6339f662009-11-02 11:48:29 +0100901choice
902 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800903 depends on DEBUG_LL
Pavel Machek6339f662009-11-02 11:48:29 +0100904
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800905 config DEBUG_MSM_UART1
906 bool "Kernel low-level debugging messages via MSM UART1"
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 first serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100911
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800912 config DEBUG_MSM_UART2
913 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530914 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
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 second serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100918
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800919 config DEBUG_MSM_UART3
920 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530921 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800922 help
923 Say Y here if you want the debug print routines to direct
924 their output to the third serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100925
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800926 config DEBUG_MSM8660_UART
927 bool "Kernel low-level debugging messages via MSM 8660 UART"
928 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700929 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800930 help
931 Say Y here if you want the debug print routines to direct
932 their output to the serial port on MSM 8660 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100933
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800934 config DEBUG_MSM8960_UART
935 bool "Kernel low-level debugging messages via MSM 8960 UART"
936 depends on ARCH_MSM8960
937 select DEBUG_MSM8930_UART
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700938 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800939 help
940 Say Y here if you want the debug print routines to direct
941 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700942
943 config DEBUG_MSMCOPPER_UART
944 bool "Kernel low-level debugging messages via MSM Copper UART"
945 depends on ARCH_MSMCOPPER
946 select MSM_HAS_DEBUG_UART_HS_V14
947 help
948 Say Y here if you want the debug print routines to direct
949 their output to the serial port on MSM Copper devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100950endchoice
951
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700952choice
953 prompt "Default Timer"
954 default MSM7X00A_USE_GP_TIMER
955
956 config MSM7X00A_USE_GP_TIMER
957 bool "GP Timer"
958 help
959 Low resolution timer that allows power collapse from idle.
960
961 config MSM7X00A_USE_DG_TIMER
962 bool "DG Timer"
963 help
964 High resolution timer.
965endchoice
966
967choice
968 prompt "Suspend sleep mode"
969 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
970 help
971 Allows overriding the sleep mode used. Leave at power
972 collapse suspend unless the arm9 image has problems.
973
974 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
975 bool "Power collapse suspend"
976 help
977 Lowest sleep state. Returns through reset vector.
978
979 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
980 bool "Power collapse"
981 help
982 Sleep state that returns through reset vector.
983
984 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
985 bool "Apps Sleep"
986
987 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
988 bool "Ramp down cpu clock and wait for interrupt"
989
990 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
991 bool "Wait for interrupt"
992endchoice
993
994config MSM7X00A_SLEEP_MODE
995 int
996 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
997 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
998 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
999 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1000 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1001
1002choice
1003 prompt "Idle sleep mode"
1004 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1005 help
1006 Allows overriding the sleep mode used from idle. Leave at power
1007 collapse suspend unless the arm9 image has problems.
1008
1009 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1010 bool "Power collapse suspend"
1011 help
1012 Lowest sleep state. Returns through reset vector.
1013
1014 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1015 bool "Power collapse"
1016 help
1017 Sleep state that returns through reset vector.
1018
1019 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1020 bool "Apps Sleep"
1021
1022 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1023 bool "Ramp down cpu clock and wait for interrupt"
1024
1025 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1026 bool "Wait for interrupt"
1027endchoice
1028
1029config MSM7X00A_IDLE_SLEEP_MODE
1030 int
1031 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1032 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1033 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1034 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1035 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1036
1037config MSM7X00A_IDLE_SLEEP_MIN_TIME
1038 int "Minimum idle time before sleep"
1039 default 20000000
1040 help
1041 Minimum idle time in nanoseconds before entering low power mode.
1042
1043config MSM7X00A_IDLE_SPIN_TIME
1044 int "Idle spin time before cpu ramp down"
1045 default 80000
1046 help
1047 Spin time in nanoseconds before ramping down cpu clock and entering
1048 any low power state.
1049
1050menuconfig MSM_IDLE_STATS
1051 bool "Collect idle statistics"
1052 default y
1053 help
1054 Collect idle statistics and export them in proc/msm_pm_stats.
1055
1056if MSM_IDLE_STATS
1057
1058config MSM_IDLE_STATS_FIRST_BUCKET
1059 int "First bucket time"
1060 default 62500
1061 help
1062 Upper time limit in nanoseconds of first bucket.
1063
1064config MSM_IDLE_STATS_BUCKET_SHIFT
1065 int "Bucket shift"
1066 default 2
1067
1068config MSM_IDLE_STATS_BUCKET_COUNT
1069 int "Bucket count"
1070 default 10
1071
1072config MSM_SUSPEND_STATS_FIRST_BUCKET
1073 int "First bucket time for suspend"
1074 default 1000000000
1075 help
1076 Upper time limit in nanoseconds of first bucket of the
1077 histogram. This is for collecting statistics on suspend.
1078
1079endif # MSM_IDLE_STATS
1080
1081config CPU_HAS_L2_PMU
1082 bool "L2CC PMU Support"
1083 help
1084 Select this if the L2 cache controller has a Performance Monitoring Unit.
1085
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001086config HTC_HEADSET
1087 tristate "HTC 2 Wire detection driver"
1088 default n
1089 help
1090 Provides support for detecting HTC 2 wire devices, such as wired
1091 headset, on the trout platform. Can be used with the msm serial
1092 debugger, but not with serial console.
1093
1094config TROUT_BATTCHG
1095 depends on MACH_TROUT && POWER_SUPPLY
1096 default y
1097 bool "Trout battery / charger driver"
1098
1099config HTC_PWRSINK
1100 depends on MSM_SMD
1101 default n
1102 bool "HTC Power Sink Driver"
1103
1104config QSD_SVS
1105 bool "QSD Static Voltage Scaling"
1106 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1107 default y
1108 select TPS65023
1109 help
1110 Enables static voltage scaling using the TPS65023 PMIC.
1111
1112config QSD_PMIC_DEFAULT_DCDC1
1113 int "PMIC default output voltage"
1114 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1115 default 1250
1116 help
1117 This is the PMIC voltage at Linux kernel boot.
1118
1119config MSM_FIQ_SUPPORT
1120 default y
1121 bool "Enable installation of an FIQ handler."
1122
1123config MSM_SERIAL_DEBUGGER
1124 select MSM_FIQ_SUPPORT
1125 select KERNEL_DEBUGGER_CORE
1126 default n
1127 bool "FIQ Mode Serial Debugger"
1128 help
1129 The FIQ serial debugger can accept commands even when the
1130 kernel is unresponsive due to being stuck with interrupts
1131 disabled. Depends on the kernel debugger core in drivers/misc.
1132
1133config MSM_SERIAL_DEBUGGER_CONSOLE
1134 depends on MSM_SERIAL_DEBUGGER
1135 default n
1136 bool "Console on FIQ Serial Debugger port"
1137 help
1138 Enables a console so that printk messages are displayed on
1139 the debugger serial port as the occur.
Daniel Walkerbf83de42010-03-16 16:29:44 -07001140
Steve Mucklec8aabae2010-04-21 16:20:27 -07001141config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001142 default y
1143 bool "Proc-Comm RPC Interface"
1144 help
1145 Enables a lightweight communications interface to the
1146 baseband processor.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001147
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001148config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001149 bool "MSM Shared Memory Driver (SMD)"
1150 help
1151 Support for the shared memory interface between the apps
1152 processor and the baseband processor. Provides access to
1153 the "shared heap", as well as virtual serial channels
1154 used to communicate with various services on the baseband
1155 processor.
1156
1157choice
1158 prompt "MSM Shared memory interface version"
1159 depends on MSM_SMD
1160 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1161 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1162
1163 config MSM_SMD_PKG3
1164 bool
1165 prompt "Package 3"
1166
1167 config MSM_SMD_PKG4
1168 bool
1169 prompt "Package 4"
1170endchoice
1171
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001172config MSM_RPC_SDIO_XPRT
1173 depends on MSM_SDIO_AL
1174 default y
1175 bool "MSM SDIO XPRT Layer"
1176 help
1177 SDIO Transport Layer for RPC Rouer
1178
1179config MSM_RPC_SDIO_DEBUG
1180 depends on MSM_RPC_SDIO_XPRT
1181 default y
1182 bool "MSM SDIO XPRT debug support"
1183 help
1184 Support for debugging SDIO XPRT
1185
1186config MSM_SMD_DEBUG
1187 depends on MSM_SMD
1188 default y
1189 bool "MSM SMD debug support"
1190 help
1191 Support for debugging the SMD for communication
1192 between the ARM9 and ARM11
1193
1194config MSM_SDIO_AL
1195 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1196 default y
1197 tristate "SDIO-Abstraction-Layer"
1198 help
1199 Support MSM<->MDM Communication over SDIO bus.
1200 MDM SDIO-Client should have pipes support.
1201
1202config MSM_SDIO_DMUX
1203 bool "SDIO Data Mux Driver"
1204 depends on MSM_SDIO_AL
1205 default n
1206 help
1207 Support Muxed Data Channels over SDIO interface.
1208
1209config MSM_BAM_DMUX
1210 bool "BAM Data Mux Driver"
1211 depends on SPS
1212 default n
1213 help
1214 Support Muxed Data Channels over BAM interface.
1215 BAM has a limited number of pipes. This driver
1216 provides a means to support more logical channels
1217 via muxing than BAM could without muxing.
1218
1219config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001220 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001221 default y
1222 bool "MSM N-WAY SMD support"
1223 help
1224 Supports APPS-QDSP SMD communication along with
1225 normal APPS-MODEM SMD communication.
1226
1227config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001228 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001229 default y
1230 bool "MSM N-WAY SMSM support"
1231 help
1232 Supports APPS-QDSP SMSM communication along with
1233 normal APPS-MODEM SMSM communication.
1234
1235config MSM_RESET_MODEM
1236 tristate "Reset Modem Driver"
1237 depends on MSM_SMD
1238 default m
1239 help
1240 Allows the user to reset the modem through a device node.
1241
1242config MSM_SMD_LOGGING
1243 depends on MSM_SMD
1244 default y
1245 bool "MSM Shared Memory Logger"
1246 help
1247 This option exposes the shared memory logger at /dev/smem_log
1248 and a debugfs node named smem_log.
1249
1250 If in doubt, say yes.
1251
1252config MSM_SMD_NMEA
1253 bool "NMEA GPS Driver"
1254 depends on MSM_SMD
1255 default y
1256 help
1257 Enable this to support the NMEA GPS device.
1258
1259 If in doubt, say yes.
1260
1261config MSM_SDIO_TTY
1262 bool "SDIO TTY Driver"
1263 depends on MSM_SDIO_AL
1264 default n
1265 help
1266 Provides a TTY driver SDIO TTY
1267 This driver can be used by user space
1268 applications for passing data through the
1269 SDIO interface.
1270
1271config MSM_SMD_TTY
1272 bool "SMD TTY Driver"
1273 depends on MSM_SMD
1274 default y
1275 help
1276 Provides TTY interfaces to interact with the modem.
1277
1278 If in doubt, say yes.
1279
1280config MSM_SMD_QMI
1281 bool "SMD QMI Driver"
1282 depends on MSM_SMD
1283 default y
1284 help
1285 Manages network data connections.
1286
1287 If in doubt, say yes.
1288
1289config MSM_SMD_PKT
1290 bool "SMD Packet Driver"
1291 depends on MSM_SMD
1292 default y
1293 help
1294 Provides a binary SMD non-muxed packet port interface.
1295
1296 If in doubt, say yes.
1297
1298config MSM_SDIO_CMUX
1299 bool "SDIO CMUX Driver"
1300 depends on MSM_SDIO_AL
1301 default n
1302 help
1303 Provides a Muxed port interface over SDIO QMI
1304
1305config MSM_DSPS
1306 bool "Sensors DSPS driver"
1307 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1308 default n
1309 help
1310 Provides user-space interface to the sensors manager
1311 to turn on/off the Sensors Processor system clocks.
1312 It is the DSPS responsibility to turn on/off the sensors
1313 themself.
1314 The number of clocks and their name may vary between targets.
1315 It also triggers the PIL to load the DSPS firmware.
1316
1317config MSM_SDIO_CTL
1318 bool "SDIO CTL Driver"
1319 depends on MSM_SDIO_CMUX
1320 default n
1321 help
1322 Provides a binary SDIO control port interface.
1323
1324config MSM_ONCRPCROUTER
1325 depends on MSM_SMD
1326 default n
1327 bool "MSM ONCRPC router support"
1328 help
1329 Support for the MSM ONCRPC router for communication between
1330 the ARM9 and ARM11
1331
1332config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001333 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001334 default n
1335 bool "MSM IPC Router support"
1336 help
1337 Support for the MSM IPC Router for communication between
1338 the APPs and the MODEM
1339
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001340config MSM_IPC_ROUTER_SMD_XPRT
1341 depends on MSM_SMD
1342 depends on MSM_IPC_ROUTER
1343 default n
1344 bool "MSM SMD XPRT Layer"
1345 help
1346 SMD Transport Layer for IPC Router
1347
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001348config MSM_ONCRPCROUTER_DEBUG
1349 depends on MSM_ONCRPCROUTER
1350 default y
1351 bool "MSM debug ONCRPC router support"
1352 help
1353 Support for debugging the ONCRPC router for communication
1354 between the ARM9 and ARM11
1355
1356config MSM_RPC_LOOPBACK_XPRT
1357 depends on MSM_ONCRPCROUTER
1358 default n
1359 bool "MSM RPC local routing support"
1360 help
1361 Support for routing RPC messages between APPS clients
1362 and APPS servers. Helps in testing APPS RPC framework.
1363
1364config MSM_RPCSERVER_TIME_REMOTE
1365 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1366 default y
1367 bool "Time remote RPC server"
1368 help
1369 The time remote server receives notification of time bases and
1370 reports these events to registered callback functions.
1371
1372config MSM_RPCSERVER_WATCHDOG
1373 depends on MSM_ONCRPCROUTER
1374 default y
1375 bool "Watchdog RPC server"
1376 help
1377 The dog_keepalive server handles watchdog events.
1378
1379config MSM_RPC_WATCHDOG
1380 depends on MSM_ONCRPCROUTER
1381 default n
1382 bool "Watchdog RPC client"
1383 help
1384 The dog_keepalive client module.
1385
1386config MSM_RPC_PING
1387 depends on MSM_ONCRPCROUTER && DEBUG_FS
1388 default m
1389 bool "MSM rpc ping"
1390 help
1391 Implements MSM rpc ping test module.
1392
1393config MSM_RPC_PROC_COMM_TEST
1394 depends on DEBUG_FS && MSM_PROC_COMM
1395 default m
1396 bool "MSM rpc proc comm test"
1397 help
1398 Implements MSM rpc proc comm test module.
1399
1400config MSM_RPC_OEM_RAPI
1401 depends on MSM_ONCRPCROUTER
1402 default m
1403 bool "MSM oem rapi"
1404 help
1405 Implements MSM oem rapi client module.
1406
1407config MSM_RPCSERVER_HANDSET
1408 depends on MSM_ONCRPCROUTER
1409 default y
1410 bool "Handset events RPC server"
1411 help
1412 Support for receiving handset events like headset detect,
1413 headset switch and clamshell state.
1414
1415config MSM_RMT_STORAGE_CLIENT
1416 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1417 default n
1418 bool "Remote Storage RPC client"
1419 help
1420 Provide RPC mechanism for remote processors to access storage
1421 device on apps processor.
1422
1423config MSM_RMT_STORAGE_CLIENT_STATS
1424 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1425 default n
1426 bool "Remote storage RPC client performance statistics"
1427 help
1428 Collects performance statistics and shows this information
1429 through a debugfs file rmt_storage_stats.
1430
1431config MSM_SDIO_SMEM
1432 depends on MSM_SDIO_AL
1433 default n
1434 bool "SDIO SMEM for remote storage"
1435 help
1436 Copies data from remote MDM9K memory to local MSM8x60
1437 memory. Used by remote storage client to shadow
1438 MDM9K filesystem.
1439
1440config MSM_DALRPC
1441 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001442 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001443 help
1444 Supports RPC calls to DAL devices on remote processor cores.
1445
1446config MSM_DALRPC_TEST
1447 tristate "DAL RPC test module"
1448 depends on (MSM_DALRPC && DEBUG_FS)
1449 default m
1450 help
1451 Exercises DAL RPC calls to QDSP6.
1452
1453if CPU_FREQ_MSM
1454
1455config MSM_CPU_FREQ_SET_MIN_MAX
1456 bool "Set Min/Max CPU frequencies."
1457 default n
1458 help
1459 Allow setting min and max CPU frequencies. Sysfs can be used
1460 to override these values.
1461
1462config MSM_CPU_FREQ_MAX
1463 int "Max CPU Frequency"
1464 depends on MSM_CPU_FREQ_SET_MIN_MAX
1465 default 384000
1466
1467config MSM_CPU_FREQ_MIN
1468 int "Min CPU Frequency"
1469 depends on MSM_CPU_FREQ_SET_MIN_MAX
1470 default 245760
1471
1472endif # CPU_FREQ_MSM
1473
1474config MSM_CPU_AVS
1475 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1476 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1477 depends on ARCH_QSD8X50
1478 default n
1479 select MSM_AVS_HW
1480 help
1481 This enables the s/w control of Adaptive Voltage Scaling feature
1482 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1483 based on feedback from three ring oscillators in the CPU.
1484
1485config MSM_AVS_HW
1486 bool "Enable Adaptive Voltage Scaling (AVS)"
1487 default n
1488 help
1489 Enable AVS hardware to fine tune voltage at each frequency. The
1490 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1491 fine tune the voltages based on the feedback from the ring
1492 oscillators.
1493
1494config MSM_HW3D
1495 tristate "MSM Hardware 3D Register Driver"
1496 depends on ANDROID_PMEM
1497 default y
1498 help
1499 Provides access to registers needed by the userspace OpenGL|ES
1500 library.
1501
1502config MSM_ADSP
1503 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1504 tristate "MSM ADSP driver"
1505 depends on ANDROID_PMEM
1506 default y
1507 help
1508 Provides access to registers needed by the userspace aDSP library.
1509
1510config ADSP_RPC_VER
1511 hex
1512 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1513 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1514 depends on MSM_ADSP
1515 help
1516 Select proper ADSP RPC version
1517choice
1518 prompt "ADSP RPC version"
1519
1520 default AMSS_7X25_VERSION_2009
1521
1522 config AMSS_7X25_VERSION_2009
1523 bool "2.0.09"
1524
1525 config AMSS_7X25_VERSION_2008
1526 bool "2.0.08"
1527endchoice
1528
1529config MSM7KV2_AUDIO
1530 bool "MSM7K v2 audio"
1531 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1532 default y
1533 help
1534 Enables QDSP5V2-based audio drivers for audio playbacks and
1535 voice call.
1536
1537config MSM_ADSP_REPORT_EVENTS
1538 bool "Report modem events from the DSP"
1539 default y
1540 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1541 help
1542 Normally, only messages from the aDSP are reported to userspace.
1543 With this option, we report events from the aDSP as well.
1544
1545config MSM_QDSP6
1546 tristate "QDSP6 support"
1547 depends on ARCH_QSD8X50 && ANDROID_PMEM
1548 default y
1549 help
1550 Enable support for qdsp6. This provides audio and video functionality.
1551
1552config MSM8X60_AUDIO
1553 tristate "MSM8X60 audio support"
1554 depends on ARCH_MSM8X60 && ANDROID_PMEM
1555 default y
1556 help
1557 Enable support for qdsp6v2. This provides audio functionality.
1558
1559config MSM8X60_FTM_AUDIO_DEVICES
1560 bool "MSM8X60 audio factory test mode support"
1561 depends on MSM8X60_AUDIO
1562 help
1563 Enable support audio factory test mode devices. This is used
1564 in a production line environment.
1565
Ben Romberger45b351c2011-07-20 22:37:27 -07001566config RTAC
1567 bool "MSM8K real-time audio calibration support"
1568 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001569 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001570 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001571 audio operation
1572
1573config MSM7X27A_AUDIO
1574 bool "MSM7X27A audio support"
1575 depends on ARCH_MSM7X27A && MSM_ADSP
1576 default n
1577 help
1578 Enable support for 7x27a. This provides audio functionality.
1579
Justin Pauporea6cd2092011-06-22 16:19:45 -07001580config MSM_PROC_COMM_REGULATOR
1581 bool
1582 depends on MSM_PROC_COMM && REGULATOR
1583 help
1584 Enable regulator framework support for regulators managed by PMLIB
1585 on the modem, and controlled through proccomm calls.
1586
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001587config MSM_VREG_SWITCH_INVERTED
1588 bool "Reverse vreg switch polarity"
1589 default n
1590 help
1591 Reverses the enable and disable for vreg switch.
1592
1593config MSM_DMA_TEST
1594 tristate "MSM DMA test module"
1595 default m
1596 help
1597 Intended to be compiled as a module. Provides a device node
1598 and ioctls for testing the MSM dma system.
1599
1600config WIFI_CONTROL_FUNC
1601 bool "Enable WiFi control function abstraction"
1602 help
1603 Enables Power/Reset/Carddetect function abstraction
1604
1605config WIFI_MEM_PREALLOC
1606 depends on WIFI_CONTROL_FUNC
1607 bool "Preallocate memory for WiFi buffers"
1608 help
1609 Preallocates memory buffers for WiFi driver
1610
1611config QSD_AUDIO
1612 bool "QSD audio"
1613 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1614 default y
1615 help
1616 Provides PCM, MP3, and AAC audio playback.
1617
1618config AUDIO_AAC_PLUS
1619 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1620 bool "AAC+ Audio"
1621 default y
1622 help
1623 Provides AAC+ decoding
1624
1625config AUDIO_ENHANCED_AAC_PLUS
1626 depends on AUDIO_AAC_PLUS
1627 bool "Enhanced AAC+ Audio"
1628 default y
1629 help
1630 Provides Enhanced AAC+ decoding
1631
1632config SURF_FFA_GPIO_KEYPAD
1633 bool "MSM SURF/FFA GPIO keypad"
1634 depends on INPUT_GPIO = "y"
1635 default y
1636 help
1637 Select if the GPIO keypad is attached.
1638
1639config MSM_SLEEP_TIME_OVERRIDE
1640 bool "Allow overriding suspend/sleep time with PM module parameter"
1641 default y
1642 help
1643 Enable the module parameter sleep_time_override. Specified
1644 in units of seconds, it overwrites the normal sleep time of
1645 suspend. The feature is required for automated power management
1646 testing.
1647
1648config MSM_MEMORY_LOW_POWER_MODE
1649 bool "Control the low power modes of memory"
1650 default n
1651 help
1652 The application processor controls whether memory should enter
1653 which low power mode.
1654
1655choice
1656 prompt "Default Memory Low Power Mode during Idle"
1657 depends on MSM_MEMORY_LOW_POWER_MODE
1658 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1659 help
1660 Selects the default low power mode of the memory during idle
1661 sleep.
1662
1663 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1664 bool "Memory active"
1665
1666 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1667 bool "Memory in retention"
1668
1669 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1670 bool "Memory in deep power down"
1671endchoice
1672
1673choice
1674 prompt "Default Memory Low Power Mode during Suspend"
1675 depends on MSM_MEMORY_LOW_POWER_MODE
1676 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1677 help
1678 Selects the default low power mode of the memory during suspend
1679 sleep.
1680
1681 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1682 bool "Memory active"
1683
1684 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1685 bool "Memory in retention"
1686
1687 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1688 bool "Memory in deep power down"
1689endchoice
1690
1691choice
1692 prompt "Power management timeout action"
1693 default MSM_PM_TIMEOUT_HALT
1694 help
1695 Selects the Application Processor's action when Power Management
1696 times out waiting for Modem's handshake.
1697
1698 config MSM_PM_TIMEOUT_HALT
1699 bool "Halt the Application Processor"
1700
1701 config MSM_PM_TIMEOUT_RESET_MODEM
1702 bool "Reset the Modem Processor"
1703
1704 config MSM_PM_TIMEOUT_RESET_CHIP
1705 bool "Reset the entire chip"
1706endchoice
1707
1708config MSM_IDLE_WAIT_ON_MODEM
1709 int "Wait for Modem to become ready for idle power collapse"
1710 default 0
1711 help
1712 If Modem is not ready to handle Application Processor's request
1713 for idle power collapse, wait the number of microseconds in case
1714 Modem becomes ready soon.
1715
Matt Wagantall9274df92011-12-15 11:11:05 -08001716config MSM_RPM_REGULATOR
1717 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001718 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001719 help
1720 Compile in support for the RPM regulator driver, used for setting
1721 voltages and other parameters of the various power rails supplied
1722 by some Qualcomm PMICs.
1723
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001724config MSM_PIL
1725 bool "Peripheral image loading"
1726 select FW_LOADER
1727 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1728 default n
1729 help
1730 Some peripherals need to be loaded into memory before they can be
1731 brought out of reset.
1732
1733 Say yes to support these devices.
1734
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001735config MSM_PIL_MODEM
1736 tristate "Modem (ARM11) Boot Support"
1737 depends on MSM_PIL
1738 help
1739 Support for booting and shutting down ARM11 Modem processors.
1740
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001741config MSM_PIL_QDSP6V3
1742 tristate "QDSP6v3 (Hexagon) Boot Support"
1743 depends on MSM_PIL
1744 help
1745 Support for booting and shutting down QDSP6v3 processors (hexagon).
1746 The QDSP6 is a low power DSP used in audio software applications.
1747
Stephen Boydeb819882011-08-29 14:46:30 -07001748config MSM_PIL_QDSP6V4
1749 tristate "QDSP6v4 (Hexagon) Boot Support"
1750 depends on MSM_PIL
1751 help
1752 Support for booting and shutting down QDSP6v4 processors (hexagon).
1753 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1754 software applications.
1755
Stephen Boyd322a9922011-09-20 01:05:54 -07001756config MSM_PIL_RIVA
1757 tristate "RIVA (WCNSS) Boot Support"
1758 depends on MSM_PIL
1759 help
1760 Support for booting and shutting down the RIVA processor (WCNSS).
1761 Riva is the wireless subsystem processor used in bluetooth, wireless
1762 LAN, and FM software applications.
1763
Stephen Boydd89eebe2011-09-28 23:28:11 -07001764config MSM_PIL_TZAPPS
1765 tristate "TZApps Boot Support"
1766 depends on MSM_PIL
1767 help
1768 Support for booting and shutting down TZApps.
1769
1770 TZApps is an image that runs in the secure processor state. It is
1771 used to decrypt data and perform secure operations on the behalf of
1772 the kernel.
1773
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07001774config MSM_PIL_DSPS
1775 tristate "DSPS Boot Support"
1776 depends on MSM_PIL
1777 help
1778 Support for booting and shutting down ARM7 DSPS processors.
1779
1780 DSPS is a sensors offloading processor used for applications such
1781 as rotation detection, temperature, etc.
1782
Matt Wagantall292aace2012-01-26 19:12:34 -08001783config MSM_PIL_GSS
1784 tristate "GSS (Coretx A5) Boot Support"
1785 depends on MSM_PIL
1786 help
1787 Support for booting and shutting down Cortex A5 processors which run
1788 GPS subsystem firmware.
1789
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001790config MSM_SCM
1791 bool "Secure Channel Manager (SCM) support"
1792 default n
1793
1794config MSM_SUBSYSTEM_RESTART
1795 bool "MSM Subsystem Restart Driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001796 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001797 default n
1798 help
1799 This option enables the MSM subsystem restart driver, which provides
1800 a framework to handle subsystem crashes.
1801
Matt Wagantallf8020902011-08-30 21:19:23 -07001802config MSM_SYSMON_COMM
1803 bool "MSM System Monitor communication support"
1804 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1805 default y
1806 help
1807 This option adds support for MSM System Monitor library, which
1808 provides an API that may be used for notifying subsystems within
1809 the SoC about other subsystems' power-up/down state-changes.
1810
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001811config MSM_MODEM_8960
1812 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001813 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001814 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001815 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001816 modem 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.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001818
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001819config MSM_LPASS_8960
1820 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001821 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001822 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001823 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001824 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001825 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001826
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001827config MSM_WCNSS_SSR_8960
1828 tristate "MSM 8960 WCNSS restart module"
1829 depends on (ARCH_MSM8960)
1830 help
1831 This option enables the WCNSS restart module for MSM8960, which
1832 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1833 into the subsystem restart framework.
1834
Rohit Vaswanid0fb4182012-03-19 18:07:59 -07001835config MSM_GSS_SSR_8064
1836 bool "MSM 8064 GSS restart driver"
1837 depends on (ARCH_APQ8064)
1838 help
1839 This option enables the gps subsystem restart driver for APQ8064, which monitors
1840 gss hardware watchdog interrupt lines and plugs into the subsystem
1841 restart and PIL drivers.
1842
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001843config SCORPION_Uni_45nm_BUG
1844 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1845 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1846 default y
1847 help
1848 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1849 invalidating the Branch Predictor Array by Modified Virtual Address can
1850 create invalid entries in the TLB with the wrong ASID values on Scorpion
1851 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1852 workaround for Scorpion Uniprocessor 45nm cores.
1853
1854 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1855
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001856config MSM_BUSPM_DEV
1857 tristate "MSM Bus Performance Monitor Kernel Module"
1858 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1859 default m
1860 help
1861 This kernel module is used to mmap() hardware registers for the
1862 performance monitors, counters, etc. The module can also be used to
1863 allocate physical memory which is used by bus performance hardware to
1864 dump performance data.
1865
Mona Hossain11c03ac2011-10-26 12:42:10 -07001866config MSM_TZ_LOG
1867 tristate "MSM Trust Zone (TZ) Log Driver"
1868 depends on DEBUG_FS
1869 help
1870 This option enables a driver with a debugfs interface for messages
1871 produced by the Secure code (Trust zone). These messages provide
1872 diagnostic information about TZ operation.
1873
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001874config MSM_RPM_LOG
1875 tristate "MSM Resource Power Manager Log Driver"
1876 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001877 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001878 default n
1879 help
1880 This option enables a driver which can read from a circular buffer
1881 of messages produced by the RPM. These messages provide diagnostic
1882 information about RPM operation. The driver outputs the messages
1883 via a debugfs node.
1884
1885config MSM_RPM_STATS_LOG
1886 tristate "MSM Resource Power Manager Stat Driver"
1887 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001888 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001889 default n
1890 help
1891 This option enables a driver which reads RPM messages from a shared
1892 memory location. These messages provide statistical information about
1893 the low power modes that RPM enters. The drivers outputs the message
1894 via a debugfs node.
1895
1896config MSM_IOMMU
1897 bool "MSM IOMMU Support"
Joel King41d594e2011-10-14 13:18:20 -07001898 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_APQ8064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001899 select IOMMU_API
1900 default n
1901 help
1902 Support for the IOMMUs found on certain Qualcomm SOCs.
1903 These IOMMUs allow virtualization of the address space used by most
1904 cores within the multimedia subsystem.
1905
1906 If unsure, say N here.
1907
1908config IOMMU_PGTABLES_L2
1909 bool "Allow SMMU page tables in the L2 cache (Experimental)"
1910 depends on MSM_IOMMU=y
1911 depends on MMU
1912 depends on CPU_DCACHE_DISABLE=n
1913 depends on SMP
1914 default y
1915 help
1916 Improves TLB miss latency at the expense of potential L2 pollution.
1917 However, with large multimedia buffers, the TLB should mostly contain
1918 section mappings and TLB misses should be quite infrequent.
1919 Most people can probably say Y here.
1920
1921config MSM_DIRECT_SCLK_ACCESS
1922 bool "Direct access to the SCLK timer"
1923 default n
1924
1925config IOMMU_API
1926 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001927
Gregory Beanab78cde2010-09-01 16:26:12 -07001928config MSM_GPIOMUX
1929 bool
1930
Gregory Bean1963a2a2010-08-28 10:05:44 -07001931config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001932 bool
1933
1934config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07001935 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001936
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001937config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001938 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001939
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001940config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001941 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001942
Matt Wagantall88b86312012-01-31 16:53:03 -08001943config MSM_PM
1944 depends on PM
1945 bool
1946
1947config MSM_PM2
1948 depends on PM
1949 bool
1950
1951config MSM_PM8X60
1952 depends on PM
1953 bool
1954
1955config MSM_NOPM
1956 default y if !PM
1957 bool
1958
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001959config MSM_BUS_SCALING
1960 bool "Bus scaling driver"
1961 default n
1962
Gagan Mac85c70492011-06-10 16:07:47 -06001963config MSM_BUS_RPM_MULTI_TIER_ENABLED
1964 bool "RPM Multi-tiering Configuration"
1965 depends on MSM_BUS_SCALING
1966
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001967config MSM_WATCHDOG
1968 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07001969 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001970 help
1971 This enables the watchdog as is present on 8x60. Currently we use
1972 core 0's watchdog, and reset the entire SoC if it times out. It does
1973 not run during the bootup process, so it will not catch any early
1974 lockups.
1975
1976config MSM_DLOAD_MODE
1977 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07001978 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001979 default n
1980 help
1981 This makes the SoC enter download mode when it resets
1982 due to a kernel panic. Note that this doesn't by itself
1983 make the kernel reboot on a kernel panic - that must be
1984 enabled via another mechanism.
1985
Pratik Patel17f3b822011-11-21 12:41:47 -08001986config MSM_JTAG
1987 bool "JTAG debug and trace support"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001988 help
Pratik Patel17f3b822011-11-21 12:41:47 -08001989 Add additional support for JTAG kernel debugging and tracing.
Pratik Patel7831c082011-06-08 21:44:37 -07001990
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001991config MSM_ETM
1992 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08001993 depends on ARCH_MSM8X60
1994 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001995 help
Pratik Patel17f3b822011-11-21 12:41:47 -08001996 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07001997
1998config MSM_QDSS
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001999 bool "Qualcomm Debug Subsystem"
Pratik Patel17f3b822011-11-21 12:41:47 -08002000 select MSM_JTAG
Pratik Patel7831c082011-06-08 21:44:37 -07002001 help
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002002 Enables support for Qualcomm Debug Subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002003
Pratik Patel29cba152012-01-03 11:40:26 -08002004config MSM_QDSS_ETM_DEFAULT_ENABLE
2005 bool "Turn on QDSS ETM Tracing by Default"
2006 depends on MSM_QDSS
2007 help
2008 Turns on QDSS ETM tracing by default. Otherwise, tracing is
2009 disabled by default but can be enabled by other means.
2010
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002011config MSM_SLEEP_STATS
2012 bool "Enable exporting of MSM sleep stats to userspace"
2013 depends on CPU_IDLE
2014 default n
2015
Lynus Vazdde09ee2012-01-05 13:28:22 +05302016config MSM_SLEEP_STATS_DEVICE
2017 bool "Enable exporting of MSM sleep device stats to userspace"
2018
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302019config MSM_RUN_QUEUE_STATS
2020 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
2021 default y
2022
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002023config MSM_STANDALONE_POWER_COLLAPSE
2024 bool "Enable standalone power collapse"
2025 default n
2026
2027config MSM_GSBI9_UART
2028 bool "Enable GSBI9 UART device"
2029 default n
2030 help
2031 This enables GSBI9 configured into UART.
2032
2033config MSM_SHARED_GPIO_FOR_UART2DM
2034 bool "Use shared GPIOs into UART mode"
2035 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2036 help
2037 This option configures GPIO muxed with SDC4/MMC3
2038 8-bit mode into UART mode. It is used for serial
2039 console on UART2DM. Say Y if you want to have
2040 serial console on UART2DM.
2041
2042config MSM_SHOW_RESUME_IRQ
2043 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002044 depends on (ARM_GIC || PMIC8058)
2045 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002046 default n
2047 help
2048 This option logs wake up interrupts that have triggered just before
2049 the resume loop unrolls. Say Y if you want to debug why the system
2050 resumed.
2051
2052config BT_MSM_PINTEST
2053 tristate "MSM Bluetooth Pin Connectivity Test"
2054 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2055 default n
2056 help
2057 Bluetooth MSM Pin Connectivity test module.
2058 This driver provides support for verifying the MSM to BT pin
2059 connectivity.
2060
2061config MSM_FAKE_BATTERY
2062 depends on POWER_SUPPLY
2063 default n
2064 bool "MSM Fake Battery"
2065 help
2066 Enables MSM fake battery driver.
2067
2068config MSM_QDSP6_APR
2069 bool "Audio QDSP6 APR support"
2070 depends on MSM_SMD
2071 default n
2072 help
2073 Enable APR IPC protocol support between
2074 application processor and QDSP6. APR is
2075 used by audio driver to configure QDSP6's
2076 ASM, ADM and AFE.
2077
2078
2079config MSM_AUDIO_QDSP6
2080 bool "QDSP6 HW Audio support"
2081 select SND_SOC_MSM_QDSP6_INTF
2082 default n
2083 help
2084 Enable HW audio support in QDSP6.
2085 QDSP6 can support HW encoder & decoder and audio processing
2086
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002087config MSM_ULTRASOUND
2088 bool "MSM ultrasound support"
2089 depends on MSM_AUDIO_QDSP6
2090 help
2091 Enable support for qdsp6/ultrasound.
2092
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002093config MSM_RPC_VIBRATOR
2094 bool "RPC based MSM Vibrator Support"
2095 depends on MSM_ONCRPCROUTER
2096 help
2097 Enable the vibrator support on MSM over RPC. The vibrator
2098 is connected on the PMIC. Say Y if you want to enable this
2099 feature.
2100
2101config PM8XXX_RPC_VIBRATOR
2102 bool "RPC based Vibrator on PM8xxx PMICs"
2103 depends on MSM_RPC_VIBRATOR
2104 help
2105 Enable the vibrator support on MSM over RPC. The vibrator
2106 is connected on the PM8XXX PMIC. Say Y if you want to enable
2107 this feature.
2108
2109config MSM_SPM_V1
2110 bool "Driver support for SPM Version 1"
2111 help
2112 Enables the support for Version 1 of the SPM driver. SPM hardware is
2113 used to manage the processor power during sleep. The driver allows
2114 configuring SPM to allow different power modes.
2115
2116config MSM_SPM_V2
2117 bool "Driver support for SPM Version 2"
2118 help
2119 Enables the support for Version 2 of the SPM driver. SPM hardware is
2120 used to manage the processor power during sleep. The driver allows
2121 configuring SPM to allow different power modes.
2122
2123config MSM_L2_SPM
2124 bool "SPM support for L2 cache"
2125 depends on MSM_SPM_V2
2126 help
2127 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2128 control of L2 cache low power mode with a Subsystem Power manager.
2129 Enabling this driver allows configuring L2 SPM for low power modes
2130 on supported chipsets.
2131
Laura Abbott2d1760b2011-09-29 21:31:24 -07002132config MSM_MULTIMEDIA_USE_ION
2133 bool "Multimedia suport using Ion"
2134 depends on ION_MSM
2135 help
2136 Enable support for multimedia drivers using Ion for buffer management
2137 instead of pmem. Selecting this may also involve userspace
2138 dependencies as well.
2139
Laura Abbottad340ff2012-01-04 14:23:48 -08002140config MSM_RTB
2141 bool "Register tracing"
2142 help
2143 Add support for logging different events to a small uncached
2144 region. This is designed to aid in debugging reset cases where the
2145 caches may not be flushed before the target resets.
2146
2147config MSM_RTB_SEPARATE_CPUS
2148 bool "Separate entries for each cpu"
2149 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002150 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002151 help
2152 Under some circumstances, it may be beneficial to give dedicated space
2153 for each cpu to log accesses. Selecting this option will log each cpu
2154 separately. This will guarantee that the last acesses for each cpu
2155 will be logged but there will be fewer entries per cpu
2156
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002157config MSM_CACHE_ERP
2158 bool "Cache / CPU error reporting"
2159 depends on ARCH_MSM_KRAIT
2160 help
2161 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2162 log. Enabling this feature can be used as a system debugging technique
2163 if cache corruption is suspected. Cache error statistics will also be
2164 reported in /proc/cpu/msm_cache_erp.
2165
2166 For production builds, you should probably say 'N' here.
2167
2168config MSM_L1_ERR_PANIC
2169 bool "Panic on L1 cache / TLB errors"
2170 depends on MSM_CACHE_ERP
2171 help
2172 To cause the kernel to panic whenever an L1 cache or TLB error is
2173 detected, say 'Y' here. This may be useful as a debugging technique if
2174 general system instability is suspected.
2175
2176 For production builds, you should probably say 'N' here.
2177
2178
2179config MSM_L2_ERP_PORT_PANIC
2180 bool "Panic on L2 master port errors"
2181 depends on MSM_CACHE_ERP
2182 help
2183 Master port errors can occur when a memory request is not properly
2184 handled by the destination slave. Enable this option to catch drivers
2185 which attempt to access bad areas of the address space, or access
2186 hardware registers in an improper state (such as certain clocks not
2187 being on). This option may help with debugging, though production
2188 builds should probably say 'N' here.
2189
2190config MSM_L2_ERP_1BIT_PANIC
2191 bool "Panic on recoverable L2 soft errors"
2192 depends on MSM_CACHE_ERP
2193 help
2194 Enable this option to cause a kernel panic whenever the L2 cache
2195 encounters a single-bit (correctable) soft error. This option should
2196 only be enabled when doing low-level debugging where cache corruption
2197 is suspected.
2198
2199 For production builds, you should definitely say 'N' here.
2200
2201config MSM_L2_ERP_2BIT_PANIC
2202 bool "Panic on unrecoverable L2 soft errors"
2203 depends on MSM_CACHE_ERP
2204 help
2205 Enable this option to cause a kernel panic whenever the L2 cache
2206 encounters a double-bit (non-correctable) soft error. Debug builds
2207 will likely benefit from having this option enabled to catch cache
2208 problems as soon as possible.
2209
2210 For production builds, it may be acceptable to say 'N' here, since
2211 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002212
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002213config MSM_DCVS
2214 bool "Use MSM DCVS for CPU/GPU Frequency control"
2215 depends on MSM_SCM
2216 help
2217 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2218 The DCVS manager allows idle driver to feed the idle information to the
2219 algorithm and the algorithm returns a frequency for the core which is
2220 passed to the frequency change driver.
2221
Taniya Dasc43e6872012-03-21 16:41:14 +05302222config HAVE_ARCH_HAS_CURRENT_TIMER
2223 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002224
2225config MSM_CACHE_DUMP
2226 bool "Cache dumping support"
2227 help
2228 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2229 This allows for analysis of the caches in case cache corruption is
2230 suspected.
2231
Brian Swetland9e73c842007-11-26 04:12:13 -08002232endif