blob: 332b6e372f8aab32c58b4a107105cfe6a1443b67 [file] [log] [blame]
Brian Swetland1637de02008-09-09 07:13:33 -07001if ARCH_MSM
Brian Swetland9e73c842007-11-26 04:12:13 -08002
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -07003menu "MSM SoC Type"
Daniel Walkerbf83de42010-03-16 16:29:44 -07004
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07005config ARCH_MSM7X01A
Daniel Walkerbf83de42010-03-16 16:29:44 -07006 bool "MSM7x00A / MSM7x01A"
7 select ARCH_MSM_ARM11
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07008 select MSM_VIC
Daniel Walkerbf83de42010-03-16 16:29:44 -07009 select CPU_V6
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070010 select MSM_REMOTE_SPINLOCK_SWP
Matt Wagantall88b86312012-01-31 16:53:03 -080011 select MSM_PM if PM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070012
13config ARCH_MSM7X25
14 bool "MSM7x25"
15 select ARCH_MSM_ARM11
16 select MSM_VIC
17 select CPU_V6
18 select MSM_REMOTE_SPINLOCK_SWP
Taniya Dasbe561a02011-10-12 09:53:11 +053019 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -080020 select MSM_PM if PM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070021
22config ARCH_MSM7X27
23 bool "MSM7x27"
24 select ARCH_MSM_ARM11 if MSM_SOC_REV_NONE
25 select ARCH_HAS_BARRIERS if MSM_SOC_REV_NONE
26 select ARCH_MSM_CORTEX_A5 if MSM_SOC_REV_A
27 select MSM_VIC
28 select CPU_V6 if MSM_SOC_REV_NONE
29 select CPU_V7 if MSM_SOC_REV_A
30 select MSM_REMOTE_SPINLOCK_SWP if MSM_SOC_REV_NONE
31 select MSM_GPIOMUX
32 select REGULATOR
Taniya Dasbe561a02011-10-12 09:53:11 +053033 select MULTI_IRQ_HANDLER
Pankaj Kumar75c86fd2011-10-01 18:51:09 +053034 select MSM_PROC_COMM_REGULATOR
Laura Abbott1fbd2e62011-12-18 10:26:46 -080035 select CLEANCACHE
36 select QCACHE
Matt Wagantall88b86312012-01-31 16:53:03 -080037 select MSM_PM2 if PM
Daniel Walkerbf83de42010-03-16 16:29:44 -070038
Daniel Walker7b521612010-05-06 12:44:57 -070039config ARCH_MSM7X30
40 bool "MSM7x30"
41 select ARCH_MSM_SCORPION
Daniel Walker7b521612010-05-06 12:44:57 -070042 select MSM_VIC
43 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070044 select MSM_REMOTE_SPINLOCK_DEKKERS
45 select ARCH_SPARSEMEM_ENABLE
Laura Abbott78593b52011-09-26 18:48:14 -070046 select ARCH_HAS_HOLES_MEMORYMODEL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070047 select MEMORY_HOTPLUG
48 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -080049 select ARCH_ENABLE_MEMORY_HOTPLUG
50 select ARCH_ENABLE_MEMORY_HOTREMOVE
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070051 select MIGRATION
52 select ARCH_MEMORY_PROBE
53 select ARCH_MEMORY_REMOVE
Gregory Beanab78cde2010-09-01 16:26:12 -070054 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070055 select RESERVE_FIRST_PAGE
56 select MSM_DALRPC
57 select MSM_SPM_V1
58 select REGULATOR
Justin Paupore637a25d2011-07-14 17:11:04 -070059 select MSM_PROC_COMM_REGULATOR
Taniya Dasbae99fb2011-10-12 09:55:13 +053060 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -080061 select MSM_PM2 if PM
Daniel Walker7b521612010-05-06 12:44:57 -070062
Daniel Walker4ad15e62010-05-06 13:54:17 -070063config ARCH_QSD8X50
64 bool "QSD8X50"
65 select ARCH_MSM_SCORPION
Daniel Walker4ad15e62010-05-06 13:54:17 -070066 select MSM_VIC
67 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070068 select MSM_REMOTE_SPINLOCK_LDREX
69 select CPU_USE_DOMAINS
70 select EMULATE_DOMAIN_MANAGER_V7
Gregory Beanab78cde2010-09-01 16:26:12 -070071 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070072 select MSM_DALRPC
Matt Wagantall88b86312012-01-31 16:53:03 -080073 select MSM_PM2 if PM
Daniel Walker46fe5f22010-08-18 11:00:25 -070074
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070075config ARCH_MSM8X60
76 bool "MSM8X60"
Jeff Ohlsteine14411d2010-11-30 13:06:36 -080077 select ARCH_MSM_SCORPIONMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070078 select SMP_PARALLEL_START if SMP
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070079 select ARM_GIC
80 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070081 select MSM_REMOTE_SPINLOCK_LDREX
82 select ARCH_REQUIRE_GPIOLIB
83 select MSM_ADM3
84 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -080085 select MSM_RPM_REGULATOR
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070086 select MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070087 select MSM_PIL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070088 select ARCH_HAS_CPU_IDLE_WAIT
89 select MSM_DIRECT_SCLK_ACCESS
90 select MSM_RPM
91 select MSM_XO
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070092 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070093 select MSM_BUS_SCALING
94 select MSM_SECURE_IO
95 select MSM_DALRPC
96 select MSM_QDSP6_APR
97 select MSM_NATIVE_RESTART
98 select ARCH_INLINE_SPIN_TRYLOCK
99 select ARCH_INLINE_SPIN_TRYLOCK_BH
100 select ARCH_INLINE_SPIN_LOCK
101 select ARCH_INLINE_SPIN_LOCK_BH
102 select ARCH_INLINE_SPIN_LOCK_IRQ
103 select ARCH_INLINE_SPIN_LOCK_IRQSAVE
104 select ARCH_INLINE_SPIN_UNLOCK
105 select ARCH_INLINE_SPIN_UNLOCK_BH
106 select ARCH_INLINE_SPIN_UNLOCK_IRQ
107 select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
108 select ARCH_INLINE_READ_TRYLOCK
109 select ARCH_INLINE_READ_LOCK
110 select ARCH_INLINE_READ_LOCK_BH
111 select ARCH_INLINE_READ_LOCK_IRQ
112 select ARCH_INLINE_READ_LOCK_IRQSAVE
113 select ARCH_INLINE_READ_UNLOCK
114 select ARCH_INLINE_READ_UNLOCK_BH
115 select ARCH_INLINE_READ_UNLOCK_IRQ
116 select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
117 select ARCH_INLINE_WRITE_TRYLOCK
118 select ARCH_INLINE_WRITE_LOCK
119 select ARCH_INLINE_WRITE_LOCK_BH
120 select ARCH_INLINE_WRITE_LOCK_IRQ
121 select ARCH_INLINE_WRITE_LOCK_IRQSAVE
122 select ARCH_INLINE_WRITE_UNLOCK
123 select ARCH_INLINE_WRITE_UNLOCK_BH
124 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
125 select CPU_HAS_L2_PMU
126 select MSM_SPM_V1
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530127 select MSM_SCM if SMP
128 select MULTI_IRQ_HANDLER
Laura Abbott46505f62011-11-02 18:06:55 -0700129 select MSM_MULTIMEDIA_USE_ION
Matt Wagantall88b86312012-01-31 16:53:03 -0800130 select MSM_PM8X60 if PM
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700131
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800132config ARCH_MSM8960
133 bool "MSM8960"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700134 select ARCH_MSM_KRAITMP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800135 select ARM_GIC
136 select CPU_V7
137 select MSM_V2_TLMM
138 select MSM_GPIOMUX
139 select MSM_SCM if SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700140 select MSM_DIRECT_SCLK_ACCESS
141 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -0800142 select MSM_RPM_REGULATOR
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700143 select MSM_RPM
144 select MSM_XO
145 select MSM_QDSP6_APR
146 select MSM_PIL
147 select MSM_AUDIO_QDSP6 if SND_SOC
148 select CPU_HAS_L2_PMU
149 select MSM_SPM_V2
150 select MSM_L2_SPM
151 select MSM_NATIVE_RESTART
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700152 select DONT_MAP_HOLE_AFTER_MEMBANK0
153 select MSM_REMOTE_SPINLOCK_SFPB
154 select ARCH_POPULATES_NODE_MAP
155 select ARCH_SPARSEMEM_ENABLE
156 select ARCH_HAS_HOLES_MEMORYMODEL
Larry Basselb8d61022012-02-24 10:49:45 -0800157 select ENABLE_DMM
158 select MEMORY_HOTPLUG if ENABLE_DMM
159 select MEMORY_HOTREMOVE if ENABLE_DMM
160 select ARCH_ENABLE_MEMORY_HOTPLUG if ENABLE_DMM
161 select ARCH_ENABLE_MEMORY_HOTREMOVE if ENABLE_DMM
162 select MIGRATION if ENABLE_DMM
163 select ARCH_MEMORY_PROBE if ENABLE_DMM
164 select ARCH_MEMORY_REMOVE if ENABLE_DMM
165 select FIX_MOVABLE_ZONE if ENABLE_DMM
Larry Basseld4d82c92011-12-07 09:52:49 -0800166 select CLEANCACHE
167 select QCACHE
Laura Abbott6d61a912011-10-27 16:44:14 -0700168 select MSM_MULTIMEDIA_USE_ION
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530169 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800170 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700171 select HOLES_IN_ZONE if SPARSEMEM
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700172
173config ARCH_MSM8930
174 bool "MSM8930"
175 select ARCH_MSM_KRAITMP
176 select ARM_GIC
177 select CPU_V7
178 select MSM_V2_TLMM
179 select MSM_GPIOMUX
180 select MSM_SCM if SMP
181 select MSM_DIRECT_SCLK_ACCESS
182 select REGULATOR
David Collins5779cea2012-01-05 15:09:21 -0800183 select MSM_RPM_REGULATOR
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700184 select MSM_RPM
185 select MSM_XO
186 select MSM_QDSP6_APR
187 select MSM_PIL
188 select MSM_AUDIO_QDSP6 if SND_SOC
189 select CPU_HAS_L2_PMU
190 select MSM_SPM_V2
191 select MSM_L2_SPM
192 select MSM_NATIVE_RESTART
193 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600194 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700195 select ARCH_POPULATES_NODE_MAP
196 select ARCH_SPARSEMEM_ENABLE
197 select ARCH_HAS_HOLES_MEMORYMODEL
Larry Basselb8d61022012-02-24 10:49:45 -0800198 select ENABLE_DMM
199 select MEMORY_HOTPLUG if ENABLE_DMM
200 select MEMORY_HOTREMOVE if ENABLE_DMM
201 select ARCH_ENABLE_MEMORY_HOTPLUG if ENABLE_DMM
202 select ARCH_ENABLE_MEMORY_HOTREMOVE if ENABLE_DMM
203 select MIGRATION if ENABLE_DMM
204 select ARCH_MEMORY_PROBE if ENABLE_DMM
205 select ARCH_MEMORY_REMOVE if ENABLE_DMM
206 select FIX_MOVABLE_ZONE if ENABLE_DMM
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +0200207 select MSM_ULTRASOUND
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530208 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800209 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700210 select HOLES_IN_ZONE if SPARSEMEM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700211
212config ARCH_APQ8064
213 bool "APQ8064"
214 select ARCH_MSM_KRAITMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700215 select MSM_V2_TLMM
216 select ARM_GIC
217 select CPU_V7
218 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700219 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600220 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800221 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800222 select MSM_QDSP6_APR
223 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530224 select MULTI_IRQ_HANDLER
Praveen Chidambaram78499012011-11-01 17:15:17 -0600225 select MSM_RPM
226 select MSM_SPM_V2
227 select MSM_L2_SPM
Matt Wagantall88b86312012-01-31 16:53:03 -0800228 select MSM_PM8X60 if PM
Neil Leeder814d3d32012-01-19 17:21:43 -0500229 select CPU_HAS_L2_PMU
Laura Abbott085dd202012-03-30 14:02:34 -0700230 select HOLES_IN_ZONE if SPARSEMEM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700231
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700232config ARCH_MSMCOPPER
233 bool "MSM Copper"
234 select ARCH_MSM_KRAITMP
235 select MSM_V2_TLMM
236 select ARM_GIC
237 select CPU_V7
238 select MSM_SCM if SMP
239 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530240 select MULTI_IRQ_HANDLER
Olav Hauganb800c8c2012-01-30 08:50:45 -0800241 select MSM_MULTIMEDIA_USE_ION
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700242 select MSM_PIL
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700243
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700244config ARCH_FSM9XXX
245 bool "FSM9XXX"
246 select ARCH_MSM_SCORPION
247 select MSM_VIC
248 select CPU_V7
249 select MSM_REMOTE_SPINLOCK_LDREX
250 select FSM9XXX_TLMM
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530251 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800252 select MSM_DALRPC
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800253
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700254config ARCH_MSM9615
255 bool "MSM9615"
256 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530257 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700258 select ARCH_MSM_CORTEX_A5
259 select CPU_V7
260 select MSM_V2_TLMM
261 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600262 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600263 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700264 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800265 select REGULATOR
266 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530267 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800268 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800269 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700270 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800271 select MSM_QDSP6_APR
272 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800273 select FIQ
Matt Wagantall9274df92011-12-15 11:11:05 -0800274
Taniya Das43bcdd62011-12-02 17:33:27 +0530275config ARCH_MSM8625
276 bool "MSM8625"
277 select ARCH_MSM_CORTEX_A5
278 select CPU_V7
279 select MSM_GPIOMUX
280 select ARM_GIC
281 select ARCH_MSM_CORTEXMP
282 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530283 select ARM_TICKET_LOCKS
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700284endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700285
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700286choice
287 prompt "MSM SoC Revision"
288 default MSM_SOC_REV_NONE
289config MSM_SOC_REV_NONE
290 bool "N/A"
291 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
292 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walker4ad15e62010-05-06 13:54:17 -0700293config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700294 bool "Rev. A"
295 select ARCH_MSM7X27A if ARCH_MSM7X27
296endchoice
Daniel Walker4ad15e62010-05-06 13:54:17 -0700297
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700298config MSM_KRAIT_TBB_ABORT_HANDLER
299 bool "Krait TBB/TBH data abort handler"
300 depends on ARCH_MSM_KRAIT
301 depends on ARM_THUMB
302 help
303 Certain early samples of the Krait processor may generate data
304 aborts for TBB / TBH instructions that fail their condition code
305 checks. Enabling this option will ignore these erroneous data aborts,
306 at the expense of a very small performance penalty.
307
308 If unsure, say N.
309
Daniel Walker4ad15e62010-05-06 13:54:17 -0700310config ARCH_MSM_ARM11
311 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700312
Daniel Walker4ad15e62010-05-06 13:54:17 -0700313config ARCH_MSM_SCORPION
Daniel Walkerbf83de42010-03-16 16:29:44 -0700314 bool
315
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700316config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700317 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800318 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700319
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700320config MSM_SMP
321 bool
322
323config ARCH_MSM_SCORPIONMP
324 select ARCH_MSM_SCORPION
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
329config ARCH_MSM_KRAITMP
330 select ARCH_MSM_KRAIT
331 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530332 select HAVE_ARCH_HAS_CURRENT_TIMER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700333 bool
334
Taniya Das43bcdd62011-12-02 17:33:27 +0530335config ARCH_MSM_CORTEXMP
336 select MSM_SMP
337 bool
338
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700339config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800340 bool
Rohit Vaswaniaf7ae272012-01-09 10:28:57 -0800341 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700342
343config ARCH_MSM7X27A
344 bool
345 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700346 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530347 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530348 select ARM_GIC
349 select ARCH_MSM_CORTEXMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700350
Gregory Beanf9f3d312010-04-30 22:06:50 -0700351config MSM_VIC
352 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700353
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700354config MSM_RPM
355 bool "Resource Power Manager"
356 select MSM_MPM
357
358config MSM_MPM
359 bool "Modem Power Manager"
360
361config MSM_XO
362 bool
363
364config MSM_REMOTE_SPINLOCK_DEKKERS
365 bool
366config MSM_REMOTE_SPINLOCK_SWP
367 bool
368config MSM_REMOTE_SPINLOCK_LDREX
369 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600370config MSM_REMOTE_SPINLOCK_SFPB
371 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700372config MSM_ADM3
373 bool
374
375menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700376
377config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700378 depends on ARCH_MSM7X01A
379 depends on MSM_STACKED_MEMORY
380 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700381 bool "Halibut Board (QCT SURF7201A)"
382 help
383 Support for the Qualcomm SURF7201A eval board.
384
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700385config MACH_MSM7201A_SURF
386 depends on ARCH_MSM7X01A
387 depends on MSM_STACKED_MEMORY
388 default y
389 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700390 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700391 Support for the Qualcomm MSM7201A SURF eval board.
392
393config MACH_MSM7201A_FFA
394 depends on ARCH_MSM7X01A
395 depends on MSM_STACKED_MEMORY
396 default y
397 bool "MSM7201A FFA"
398 help
399 Support for the Qualcomm MSM7201A FFA eval board.
400
401config MACH_TROUT
402 depends on ARCH_MSM7X01A
403 depends on MSM_STACKED_MEMORY
404 default y
405 bool "Trout"
406
407config MACH_MSM7X27_SURF
408 depends on ARCH_MSM7X27
409 depends on !MSM_STACKED_MEMORY
410 default y
411 bool "MSM7x27 SURF"
412 help
413 Support for the Qualcomm MSM7x27 SURF eval board.
414
415config MACH_MSM7X27_FFA
416 depends on ARCH_MSM7X27
417 depends on !MSM_STACKED_MEMORY
418 default y
419 bool "MSM7x27 FFA"
420 help
421 Support for the Qualcomm MSM7x27 FFA eval board.
422
423config MACH_MSM7X27A_RUMI3
424 depends on ARCH_MSM7X27A
425 depends on !MSM_STACKED_MEMORY
426 default y
427 bool "MSM7x27A RUMI3"
428 help
429 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
430
431config MACH_MSM7X27A_SURF
432 depends on ARCH_MSM7X27A
433 depends on !MSM_STACKED_MEMORY
434 default y
435 bool "MSM7x27A SURF"
436 help
437 Support for the Qualcomm MSM7x27A SURF.
438
439config MACH_MSM7X27A_FFA
440 depends on ARCH_MSM7X27A
441 depends on !MSM_STACKED_MEMORY
442 default y
443 bool "MSM7x27A FFA"
444 help
445 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700446
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530447config MACH_MSM7625A_SURF
448 depends on ARCH_MSM7X27A
449 depends on !MSM_STACKED_MEMORY
450 default y
451 bool "MSM7625A SURF"
452 help
453 Support for the Qualcomm MSM7625A SURF.
454
455config MACH_MSM7625A_FFA
456 depends on ARCH_MSM7X27A
457 depends on !MSM_STACKED_MEMORY
458 default y
459 bool "MSM7625A FFA"
460 help
461 Support for the Qualcomm MSM7625A FFA.
462
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530463config MACH_MSM7627A_QRD1
464 depends on ARCH_MSM7X27A
465 depends on !MSM_STACKED_MEMORY
466 default y
467 bool "MSM7627A QRD1"
468 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530469 Support for the Qualcomm MSM7627A Reference Design.
470
471config MACH_MSM7627A_QRD3
472 depends on ARCH_MSM7X27A
473 depends on !MSM_STACKED_MEMORY
474 default y
475 bool "MSM7627A QRD3"
476 help
477 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530478
Taniya Dasc868a2e2012-01-03 10:18:47 +0530479config MACH_MSM7627A_EVB
480 depends on ARCH_MSM7X27A
481 depends on !MSM_STACKED_MEMORY
482 default y
483 bool "MSM7627A EVB"
484 help
485 Support for the Qualcomm MSM7627A Reference Design.
486
Taniya Das43bcdd62011-12-02 17:33:27 +0530487config MACH_MSM8625_RUMI3
488 depends on ARCH_MSM8625
489 depends on !MSM_STACKED_MEMORY
490 default y
491 bool "MSM8625 RUMI3"
492 help
493 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
494
Taniya Dase3027e22012-02-27 16:32:27 +0530495config MACH_MSM8625_SURF
496 depends on ARCH_MSM8625
497 depends on !MSM_STACKED_MEMORY
498 default y
499 bool "MSM8625 SURF"
500 help
501 Support for the Qualcomm MSM8625 SURF.
502
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530503config MACH_MSM8625_EVB
504 depends on ARCH_MSM8625
505 depends on !MSM_STACKED_MEMORY
506 default y
507 bool "MSM8625 EVB"
508 help
509 Support for the Qualcomm MSM8625 Reference Design.
510
Taniya Dasbd096542012-03-15 17:43:45 +0530511config MACH_MSM8625_QRD7
512 depends on ARCH_MSM8625
513 depends on !MSM_STACKED_MEMORY
514 default y
515 bool "MSM8625 QRD7"
516 help
517 Support for the Qualcomm MSM8625 Reference Design.
518
Daniel Walker7b521612010-05-06 12:44:57 -0700519config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700520 depends on ARCH_MSM7X30
521 depends on !MSM_STACKED_MEMORY
522 default y
523 bool "MSM7x30 SURF"
524 help
525 Support for the Qualcomm MSM7x30 SURF eval board.
526
527config MACH_MSM7X30_FFA
528 depends on ARCH_MSM7X30
529 depends on !MSM_STACKED_MEMORY
530 default y
531 bool "MSM7x30 FFA"
532 help
533 Support for the Qualcomm MSM7x30 FFA eval board.
534
535config MACH_MSM7X30_FLUID
536 depends on ARCH_MSM7X30
537 depends on !MSM_STACKED_MEMORY
538 default y
539 bool "MSM7x30 FLUID"
540 help
541 Support for the Qualcomm MSM7x30 FLUID eval board.
542
543config MACH_SAPPHIRE
544 depends on ARCH_MSM7X01A
545 default n
546 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700547
Daniel Walker4ad15e62010-05-06 13:54:17 -0700548config MACH_QSD8X50_SURF
549 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700550 depends on MSM_SOC_REV_NONE
551 depends on MSM_STACKED_MEMORY
552 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700553 bool "QSD8x50 SURF"
554 help
555 Support for the Qualcomm QSD8x50 SURF eval board.
556
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700557config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700558 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700559 depends on MSM_SOC_REV_NONE
560 depends on MSM_STACKED_MEMORY
561 default y
562 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700563 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700564 Support for the Qualcomm QSD8x50 FFA eval board.
565
566config MACH_MSM7X25_SURF
567 depends on ARCH_MSM7X25
568 depends on !MSM_STACKED_MEMORY
569 default y
570 bool "MSM7x25 SURF"
571 help
572 Support for the Qualcomm MSM7x25 SURF eval board.
573
574config MACH_MSM7X25_FFA
575 depends on ARCH_MSM7X25
576 depends on !MSM_STACKED_MEMORY
577 default y
578 bool "MSM7x25 FFA"
579 help
580 Support for the Qualcomm MSM7x25 FFA eval board.
581
582config MACH_MSM8X55_SURF
583 depends on ARCH_MSM7X30
584 depends on !MSM_STACKED_MEMORY
585 default y
586 bool "MSM8X55 SURF"
587 help
588 Support for the Qualcomm MSM8x55 SURF eval board.
589
590config MACH_MSM8X55_FFA
591 depends on ARCH_MSM7X30
592 depends on !MSM_STACKED_MEMORY
593 default y
594 bool "MSM8X55 FFA"
595 help
596 Support for the Qualcomm MSM8x55 FFA eval board.
597
598config MACH_MSM8X55_SVLTE_FFA
599 depends on ARCH_MSM7X30
600 depends on !MSM_STACKED_MEMORY
601 default y
602 bool "MSM8X55 SVLTE FFA"
603 help
604 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
605
606config MACH_MSM8X55_SVLTE_SURF
607 depends on ARCH_MSM7X30
608 depends on !MSM_STACKED_MEMORY
609 default y
610 bool "MSM8X55 SVLTE SURF"
611 help
612 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700613
Steve Mucklea55df6e2010-01-07 12:43:24 -0800614config MACH_MSM8X60_RUMI3
615 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700616 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800617 bool "MSM8x60 RUMI3"
618 help
619 Support for the Qualcomm MSM8x60 RUMI3 emulator.
620
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800621config MACH_MSM8X60_SIM
622 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700623 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800624 bool "MSM8x60 Simulator"
625 help
626 Support for the Qualcomm MSM8x60 simulator.
627
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700628config MACH_MSM8X60_SURF
629 depends on ARCH_MSM8X60
630 default n
631 bool "MSM8x60 SURF"
632 help
633 Support for the Qualcomm MSM8x60 SURF eval board.
634
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700635config MACH_MSM8X60_FFA
636 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700637 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700638 bool "MSM8x60 FFA"
639 help
640 Support for the Qualcomm MSM8x60 FFA eval board.
641
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700642config MACH_MSM8X60_FLUID
643 depends on ARCH_MSM8X60
644 default n
645 bool "MSM8x60 FLUID"
646 help
647 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
648 8x60 target which has a form factor that is much closer to that
649 of a phone than other targets. It also has a new display and
650 touchscreen controller.
651
652config MACH_MSM8X60_FUSION
653 depends on ARCH_MSM8X60
654 default n
655 bool "MSM8x60 FUSION"
656 help
657 Support for the Qualcomm MSM8x60 Fusion SURF device.
658
659config MACH_MSM8X60_FUSN_FFA
660 depends on ARCH_MSM8X60
661 default n
662 bool "MSM8x60 FUSN FFA"
663 help
664 Support for the Qualcomm MSM8x60 Fusion FFA device.
665
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400666config MACH_MSM8X60_DRAGON
667 depends on ARCH_MSM8X60
668 default n
669 bool "MSM8x60 DRAGON"
670 help
671 Support for the Qualcomm MSM8x60 Dragon board.
672
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800673config MACH_MSM8960_SIM
674 depends on ARCH_MSM8960
675 bool "MSM8960 Simulator"
676 help
677 Support for the Qualcomm MSM8960 simulator.
678
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800679config MACH_MSM8960_RUMI3
680 depends on ARCH_MSM8960
681 bool "MSM8960 RUMI3"
682 help
683 Support for the Qualcomm MSM8960 RUMI3 emulator.
684
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700685config MACH_MSM8960_CDP
686 depends on ARCH_MSM8960
687 bool "MSM8960 CDP"
688 help
689 Support for the Qualcomm MSM8960 CDP device.
690
691config MACH_MSM8960_MTP
692 depends on ARCH_MSM8960
693 bool "MSM8960 MTP"
694 help
695 Support for the Qualcomm MSM8960 MTP device.
696
697config MACH_MSM8960_FLUID
698 depends on ARCH_MSM8960
699 bool "MSM8960 FLUID"
700 help
701 Support for the Qualcomm MSM8960 FLUID device.
702
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300703config MACH_MSM8960_LIQUID
704 depends on ARCH_MSM8960
705 bool "MSM8960 LIQUID"
706 help
707 Support for the Qualcomm MSM8960 LIQUID device.
708
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700709config MACH_MSM8930_CDP
710 depends on ARCH_MSM8930
711 bool "MSM8930 CDP"
712 help
713 Support for the Qualcomm MSM8930 CDP device.
714
715config MACH_MSM8930_MTP
716 depends on ARCH_MSM8930
717 bool "MSM8930 MTP"
718 help
719 Support for the Qualcomm MSM8930 MTP device.
720
721config MACH_MSM8930_FLUID
722 depends on ARCH_MSM8930
723 bool "MSM8930 FLUID"
724 help
725 Support for the Qualcomm MSM8930 FLUID device.
726
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800727config MACH_MSM8627_CDP
728 depends on ARCH_MSM8930
729 bool "MSM8627 CDP"
730 help
731 Support for the Qualcomm MSM8627 CDP device.
732
733config MACH_MSM8627_MTP
734 depends on ARCH_MSM8930
735 bool "MSM8627 MTP"
736 help
737 Support for the Qualcomm MSM8627 MTP device.
738
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700739config MACH_MSM9615_CDP
740 depends on ARCH_MSM9615
741 bool "MSM9615 CDP"
742 help
743 Support for the Qualcomm MSM9615 CDP device.
744
745config MACH_MSM9615_MTP
746 depends on ARCH_MSM9615
747 bool "MSM9615 MTP"
748 help
749 Support for the Qualcomm MSM9615 MTP device.
750
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700751config MSM_USE_TSIF1
752 depends on ARCH_MSM8X60
753 bool "MSM8x60 use TSIF1"
754 help
755 Selects TSIF1 core to be used rather than TSIF0.
756 The two TSIF cores share the same DM configuration
757 so they cannot be used simultaneously.
758
759config MACH_APQ8064_SIM
760 depends on ARCH_APQ8064
761 bool "APQ8064 Simulator"
762 help
763 Support for the Qualcomm APQ8064 simulator.
764
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700765config MACH_APQ8064_RUMI3
766 depends on ARCH_APQ8064
767 bool "APQ8064 RUMI3"
768 help
769 Support for the Qualcomm APQ8064 RUMI3 emulator.
770
Joel King82b7e3f2012-01-05 10:03:27 -0800771config MACH_APQ8064_CDP
772 depends on ARCH_APQ8064
773 bool "APQ8064 CDP"
774 help
775 Support for the Qualcomm APQ8064 CDP device.
776
777config MACH_APQ8064_MTP
778 depends on ARCH_APQ8064
779 bool "APQ8064 MTP"
780 help
781 Support for the Qualcomm APQ8064 MTP device.
782
783config MACH_APQ8064_LIQUID
784 depends on ARCH_APQ8064
785 bool "APQ8064 LIQUID"
786 help
787 Support for the Qualcomm APQ8064 LIQUID device.
788
Joel King064bbf82012-04-01 13:23:39 -0700789config MACH_MPQ8064_CDP
790 depends on ARCH_APQ8064
791 bool "MPQ8064 CDP"
792 help
793 Support for the Qualcomm MPQ8064 CDP device.
794
Joel King11ca8202012-02-13 16:19:03 -0800795config MACH_MPQ8064_HRD
796 depends on ARCH_APQ8064
797 bool "MPQ8064 HRD"
798 help
799 Support for the Qualcomm MPQ8064 HRD device.
800
801config MACH_MPQ8064_DTV
802 depends on ARCH_APQ8064
803 bool "MPQ8064 DTV"
804 help
805 Support for the Qualcomm MPQ8064 DTV device.
806
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700807config MACH_FSM9XXX_SURF
808 depends on ARCH_FSM9XXX
809 depends on !MSM_STACKED_MEMORY
810 default y
811 bool "FSM9XXX SURF"
812 help
813 Support for the Qualcomm FSM9xxx femtocell
814 chipset based SURF evaluation board and
815 FFA board.
816
Daniel Walker4ad15e62010-05-06 13:54:17 -0700817endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800818
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700819config MSM_STACKED_MEMORY
820 bool "Stacked Memory"
821 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800822 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700823 This option is used to indicate the presence of on-die stacked
824 memory. When present this memory bank is used for a high speed
825 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800826
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700827config PHYS_OFFSET
828 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700829 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700830 default "0x80200000" if ARCH_APQ8064
831 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700832 default "0x80200000" if ARCH_MSM8930
Sathish Ambley39a1dc42012-03-19 21:46:26 -0700833 default "0x20200000" if ARCH_MSMCOPPER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700834 default "0x10000000" if ARCH_FSM9XXX
835 default "0x00200000" if !MSM_STACKED_MEMORY
836 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
837 default "0x20000000" if ARCH_QSD8X50
838 default "0x40200000" if ARCH_MSM8X60
839 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800840
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700841config KERNEL_PMEM_EBI_REGION
842 bool "Enable in-kernel PMEM region for EBI"
843 default y if ARCH_MSM8X60
Olav Hauganb800c8c2012-01-30 08:50:45 -0800844 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSMCOPPER)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700845 help
846 Enable the in-kernel PMEM allocator to use EBI memory.
847
848config KERNEL_PMEM_SMI_REGION
849 bool "Enable in-kernel PMEM region for SMI"
850 default y if ARCH_MSM8X60
851 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
852 help
853 Enable the in-kernel PMEM allocator to use SMI memory.
854
855config PMEM_GPU0
856 bool "Enable PMEM GPU0 region"
857 default y
858 depends on ARCH_QSD8X50 && ANDROID_PMEM
859 help
860 Enable the PMEM GPU0 device on SMI Memory.
861
862config MSM_AMSS_VERSION
863 int
864 default 6210 if MSM_AMSS_VERSION_6210
865 default 6220 if MSM_AMSS_VERSION_6220
866 default 6225 if MSM_AMSS_VERSION_6225
867
868choice
869 prompt "AMSS modem firmware version"
870
871 default MSM_AMSS_VERSION_6225
872
873 config MSM_AMSS_VERSION_6210
874 bool "6.2.10"
875
876 config MSM_AMSS_VERSION_6220
877 bool "6.2.20"
878
879 config MSM_AMSS_VERSION_6225
880 bool "6.2.20 + New ADSP"
881endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800882
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700883config MSM_HAS_DEBUG_UART_HS
884 bool
885 help
886 Say Y here if high speed MSM UART is present.
887
888config MSM_HAS_DEBUG_UART_HS_V14
889 bool
890 select MSM_HAS_DEBUG_UART_HS
891 help
892 Say Y here if high speed MSM UART v1.4 is present.
893
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800894config DEBUG_MSM8930_UART
895 bool "Kernel low-level debugging messages via MSM 8930 UART"
896 depends on ARCH_MSM8930 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700897 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800898 help
899 Say Y here if you want the debug print routines to direct
900 their output to the serial port on MSM 8930 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100901
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530902config MSM_DEBUG_UART_PHYS
903 hex
904 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
905 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
906 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
907 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
908 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
909 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
910 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
911 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
912
Pavel Machek6339f662009-11-02 11:48:29 +0100913choice
914 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800915 depends on DEBUG_LL
Pavel Machek6339f662009-11-02 11:48:29 +0100916
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800917 config DEBUG_MSM_UART1
918 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530919 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800920 help
921 Say Y here if you want the debug print routines to direct
922 their output to the first serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100923
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800924 config DEBUG_MSM_UART2
925 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530926 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800927 help
928 Say Y here if you want the debug print routines to direct
929 their output to the second serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100930
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800931 config DEBUG_MSM_UART3
932 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530933 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800934 help
935 Say Y here if you want the debug print routines to direct
936 their output to the third serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100937
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800938 config DEBUG_MSM8660_UART
939 bool "Kernel low-level debugging messages via MSM 8660 UART"
940 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700941 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800942 help
943 Say Y here if you want the debug print routines to direct
944 their output to the serial port on MSM 8660 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100945
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800946 config DEBUG_MSM8960_UART
947 bool "Kernel low-level debugging messages via MSM 8960 UART"
948 depends on ARCH_MSM8960
949 select DEBUG_MSM8930_UART
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700950 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800951 help
952 Say Y here if you want the debug print routines to direct
953 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700954
955 config DEBUG_MSMCOPPER_UART
956 bool "Kernel low-level debugging messages via MSM Copper UART"
957 depends on ARCH_MSMCOPPER
958 select MSM_HAS_DEBUG_UART_HS_V14
959 help
960 Say Y here if you want the debug print routines to direct
961 their output to the serial port on MSM Copper devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100962endchoice
963
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700964choice
965 prompt "Default Timer"
966 default MSM7X00A_USE_GP_TIMER
967
968 config MSM7X00A_USE_GP_TIMER
969 bool "GP Timer"
970 help
971 Low resolution timer that allows power collapse from idle.
972
973 config MSM7X00A_USE_DG_TIMER
974 bool "DG Timer"
975 help
976 High resolution timer.
977endchoice
978
979choice
980 prompt "Suspend sleep mode"
981 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
982 help
983 Allows overriding the sleep mode used. Leave at power
984 collapse suspend unless the arm9 image has problems.
985
986 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
987 bool "Power collapse suspend"
988 help
989 Lowest sleep state. Returns through reset vector.
990
991 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
992 bool "Power collapse"
993 help
994 Sleep state that returns through reset vector.
995
996 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
997 bool "Apps Sleep"
998
999 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1000 bool "Ramp down cpu clock and wait for interrupt"
1001
1002 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1003 bool "Wait for interrupt"
1004endchoice
1005
1006config MSM7X00A_SLEEP_MODE
1007 int
1008 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1009 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1010 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1011 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1012 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1013
1014choice
1015 prompt "Idle sleep mode"
1016 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1017 help
1018 Allows overriding the sleep mode used from idle. Leave at power
1019 collapse suspend unless the arm9 image has problems.
1020
1021 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1022 bool "Power collapse suspend"
1023 help
1024 Lowest sleep state. Returns through reset vector.
1025
1026 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1027 bool "Power collapse"
1028 help
1029 Sleep state that returns through reset vector.
1030
1031 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1032 bool "Apps Sleep"
1033
1034 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1035 bool "Ramp down cpu clock and wait for interrupt"
1036
1037 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1038 bool "Wait for interrupt"
1039endchoice
1040
1041config MSM7X00A_IDLE_SLEEP_MODE
1042 int
1043 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1044 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1045 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1046 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1047 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1048
1049config MSM7X00A_IDLE_SLEEP_MIN_TIME
1050 int "Minimum idle time before sleep"
1051 default 20000000
1052 help
1053 Minimum idle time in nanoseconds before entering low power mode.
1054
1055config MSM7X00A_IDLE_SPIN_TIME
1056 int "Idle spin time before cpu ramp down"
1057 default 80000
1058 help
1059 Spin time in nanoseconds before ramping down cpu clock and entering
1060 any low power state.
1061
1062menuconfig MSM_IDLE_STATS
1063 bool "Collect idle statistics"
1064 default y
1065 help
1066 Collect idle statistics and export them in proc/msm_pm_stats.
1067
1068if MSM_IDLE_STATS
1069
1070config MSM_IDLE_STATS_FIRST_BUCKET
1071 int "First bucket time"
1072 default 62500
1073 help
1074 Upper time limit in nanoseconds of first bucket.
1075
1076config MSM_IDLE_STATS_BUCKET_SHIFT
1077 int "Bucket shift"
1078 default 2
1079
1080config MSM_IDLE_STATS_BUCKET_COUNT
1081 int "Bucket count"
1082 default 10
1083
1084config MSM_SUSPEND_STATS_FIRST_BUCKET
1085 int "First bucket time for suspend"
1086 default 1000000000
1087 help
1088 Upper time limit in nanoseconds of first bucket of the
1089 histogram. This is for collecting statistics on suspend.
1090
1091endif # MSM_IDLE_STATS
1092
1093config CPU_HAS_L2_PMU
1094 bool "L2CC PMU Support"
1095 help
1096 Select this if the L2 cache controller has a Performance Monitoring Unit.
1097
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001098config HTC_HEADSET
1099 tristate "HTC 2 Wire detection driver"
1100 default n
1101 help
1102 Provides support for detecting HTC 2 wire devices, such as wired
1103 headset, on the trout platform. Can be used with the msm serial
1104 debugger, but not with serial console.
1105
1106config TROUT_BATTCHG
1107 depends on MACH_TROUT && POWER_SUPPLY
1108 default y
1109 bool "Trout battery / charger driver"
1110
1111config HTC_PWRSINK
1112 depends on MSM_SMD
1113 default n
1114 bool "HTC Power Sink Driver"
1115
1116config QSD_SVS
1117 bool "QSD Static Voltage Scaling"
1118 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1119 default y
1120 select TPS65023
1121 help
1122 Enables static voltage scaling using the TPS65023 PMIC.
1123
1124config QSD_PMIC_DEFAULT_DCDC1
1125 int "PMIC default output voltage"
1126 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1127 default 1250
1128 help
1129 This is the PMIC voltage at Linux kernel boot.
1130
1131config MSM_FIQ_SUPPORT
1132 default y
1133 bool "Enable installation of an FIQ handler."
1134
1135config MSM_SERIAL_DEBUGGER
1136 select MSM_FIQ_SUPPORT
1137 select KERNEL_DEBUGGER_CORE
1138 default n
1139 bool "FIQ Mode Serial Debugger"
1140 help
1141 The FIQ serial debugger can accept commands even when the
1142 kernel is unresponsive due to being stuck with interrupts
1143 disabled. Depends on the kernel debugger core in drivers/misc.
1144
1145config MSM_SERIAL_DEBUGGER_CONSOLE
1146 depends on MSM_SERIAL_DEBUGGER
1147 default n
1148 bool "Console on FIQ Serial Debugger port"
1149 help
1150 Enables a console so that printk messages are displayed on
1151 the debugger serial port as the occur.
Daniel Walkerbf83de42010-03-16 16:29:44 -07001152
Steve Mucklec8aabae2010-04-21 16:20:27 -07001153config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001154 default y
1155 bool "Proc-Comm RPC Interface"
1156 help
1157 Enables a lightweight communications interface to the
1158 baseband processor.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001159
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001160config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001161 bool "MSM Shared Memory Driver (SMD)"
1162 help
1163 Support for the shared memory interface between the apps
1164 processor and the baseband processor. Provides access to
1165 the "shared heap", as well as virtual serial channels
1166 used to communicate with various services on the baseband
1167 processor.
1168
1169choice
1170 prompt "MSM Shared memory interface version"
1171 depends on MSM_SMD
1172 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1173 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1174
1175 config MSM_SMD_PKG3
1176 bool
1177 prompt "Package 3"
1178
1179 config MSM_SMD_PKG4
1180 bool
1181 prompt "Package 4"
1182endchoice
1183
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001184config MSM_RPC_SDIO_XPRT
1185 depends on MSM_SDIO_AL
1186 default y
1187 bool "MSM SDIO XPRT Layer"
1188 help
1189 SDIO Transport Layer for RPC Rouer
1190
1191config MSM_RPC_SDIO_DEBUG
1192 depends on MSM_RPC_SDIO_XPRT
1193 default y
1194 bool "MSM SDIO XPRT debug support"
1195 help
1196 Support for debugging SDIO XPRT
1197
1198config MSM_SMD_DEBUG
1199 depends on MSM_SMD
1200 default y
1201 bool "MSM SMD debug support"
1202 help
1203 Support for debugging the SMD for communication
1204 between the ARM9 and ARM11
1205
1206config MSM_SDIO_AL
1207 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1208 default y
1209 tristate "SDIO-Abstraction-Layer"
1210 help
1211 Support MSM<->MDM Communication over SDIO bus.
1212 MDM SDIO-Client should have pipes support.
1213
1214config MSM_SDIO_DMUX
1215 bool "SDIO Data Mux Driver"
1216 depends on MSM_SDIO_AL
1217 default n
1218 help
1219 Support Muxed Data Channels over SDIO interface.
1220
1221config MSM_BAM_DMUX
1222 bool "BAM Data Mux Driver"
1223 depends on SPS
1224 default n
1225 help
1226 Support Muxed Data Channels over BAM interface.
1227 BAM has a limited number of pipes. This driver
1228 provides a means to support more logical channels
1229 via muxing than BAM could without muxing.
1230
1231config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001232 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001233 default y
1234 bool "MSM N-WAY SMD support"
1235 help
1236 Supports APPS-QDSP SMD communication along with
1237 normal APPS-MODEM SMD communication.
1238
1239config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001240 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001241 default y
1242 bool "MSM N-WAY SMSM support"
1243 help
1244 Supports APPS-QDSP SMSM communication along with
1245 normal APPS-MODEM SMSM communication.
1246
1247config MSM_RESET_MODEM
1248 tristate "Reset Modem Driver"
1249 depends on MSM_SMD
1250 default m
1251 help
1252 Allows the user to reset the modem through a device node.
1253
1254config MSM_SMD_LOGGING
1255 depends on MSM_SMD
1256 default y
1257 bool "MSM Shared Memory Logger"
1258 help
1259 This option exposes the shared memory logger at /dev/smem_log
1260 and a debugfs node named smem_log.
1261
1262 If in doubt, say yes.
1263
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001264config MSM_IPC_LOGGING
1265 bool "MSM Debug Logging for IPC Drivers"
1266 help
1267 This option allows the debug logging for IPC Drivers.
1268
1269 If in doubt, say no.
1270
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001271config MSM_SMD_NMEA
1272 bool "NMEA GPS Driver"
1273 depends on MSM_SMD
1274 default y
1275 help
1276 Enable this to support the NMEA GPS device.
1277
1278 If in doubt, say yes.
1279
1280config MSM_SDIO_TTY
1281 bool "SDIO TTY Driver"
1282 depends on MSM_SDIO_AL
1283 default n
1284 help
1285 Provides a TTY driver SDIO TTY
1286 This driver can be used by user space
1287 applications for passing data through the
1288 SDIO interface.
1289
1290config MSM_SMD_TTY
1291 bool "SMD TTY Driver"
1292 depends on MSM_SMD
1293 default y
1294 help
1295 Provides TTY interfaces to interact with the modem.
1296
1297 If in doubt, say yes.
1298
1299config MSM_SMD_QMI
1300 bool "SMD QMI Driver"
1301 depends on MSM_SMD
1302 default y
1303 help
1304 Manages network data connections.
1305
1306 If in doubt, say yes.
1307
1308config MSM_SMD_PKT
1309 bool "SMD Packet Driver"
1310 depends on MSM_SMD
1311 default y
1312 help
1313 Provides a binary SMD non-muxed packet port interface.
1314
1315 If in doubt, say yes.
1316
1317config MSM_SDIO_CMUX
1318 bool "SDIO CMUX Driver"
1319 depends on MSM_SDIO_AL
1320 default n
1321 help
1322 Provides a Muxed port interface over SDIO QMI
1323
1324config MSM_DSPS
1325 bool "Sensors DSPS driver"
1326 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1327 default n
1328 help
1329 Provides user-space interface to the sensors manager
1330 to turn on/off the Sensors Processor system clocks.
1331 It is the DSPS responsibility to turn on/off the sensors
1332 themself.
1333 The number of clocks and their name may vary between targets.
1334 It also triggers the PIL to load the DSPS firmware.
1335
1336config MSM_SDIO_CTL
1337 bool "SDIO CTL Driver"
1338 depends on MSM_SDIO_CMUX
1339 default n
1340 help
1341 Provides a binary SDIO control port interface.
1342
1343config MSM_ONCRPCROUTER
1344 depends on MSM_SMD
1345 default n
1346 bool "MSM ONCRPC router support"
1347 help
1348 Support for the MSM ONCRPC router for communication between
1349 the ARM9 and ARM11
1350
1351config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001352 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001353 default n
1354 bool "MSM IPC Router support"
1355 help
1356 Support for the MSM IPC Router for communication between
1357 the APPs and the MODEM
1358
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001359config MSM_IPC_ROUTER_SMD_XPRT
1360 depends on MSM_SMD
1361 depends on MSM_IPC_ROUTER
1362 default n
1363 bool "MSM SMD XPRT Layer"
1364 help
1365 SMD Transport Layer for IPC Router
1366
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001367config MSM_ONCRPCROUTER_DEBUG
1368 depends on MSM_ONCRPCROUTER
1369 default y
1370 bool "MSM debug ONCRPC router support"
1371 help
1372 Support for debugging the ONCRPC router for communication
1373 between the ARM9 and ARM11
1374
1375config MSM_RPC_LOOPBACK_XPRT
1376 depends on MSM_ONCRPCROUTER
1377 default n
1378 bool "MSM RPC local routing support"
1379 help
1380 Support for routing RPC messages between APPS clients
1381 and APPS servers. Helps in testing APPS RPC framework.
1382
1383config MSM_RPCSERVER_TIME_REMOTE
1384 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1385 default y
1386 bool "Time remote RPC server"
1387 help
1388 The time remote server receives notification of time bases and
1389 reports these events to registered callback functions.
1390
1391config MSM_RPCSERVER_WATCHDOG
1392 depends on MSM_ONCRPCROUTER
1393 default y
1394 bool "Watchdog RPC server"
1395 help
1396 The dog_keepalive server handles watchdog events.
1397
1398config MSM_RPC_WATCHDOG
1399 depends on MSM_ONCRPCROUTER
1400 default n
1401 bool "Watchdog RPC client"
1402 help
1403 The dog_keepalive client module.
1404
1405config MSM_RPC_PING
1406 depends on MSM_ONCRPCROUTER && DEBUG_FS
1407 default m
1408 bool "MSM rpc ping"
1409 help
1410 Implements MSM rpc ping test module.
1411
1412config MSM_RPC_PROC_COMM_TEST
1413 depends on DEBUG_FS && MSM_PROC_COMM
1414 default m
1415 bool "MSM rpc proc comm test"
1416 help
1417 Implements MSM rpc proc comm test module.
1418
1419config MSM_RPC_OEM_RAPI
1420 depends on MSM_ONCRPCROUTER
1421 default m
1422 bool "MSM oem rapi"
1423 help
1424 Implements MSM oem rapi client module.
1425
1426config MSM_RPCSERVER_HANDSET
1427 depends on MSM_ONCRPCROUTER
1428 default y
1429 bool "Handset events RPC server"
1430 help
1431 Support for receiving handset events like headset detect,
1432 headset switch and clamshell state.
1433
1434config MSM_RMT_STORAGE_CLIENT
1435 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1436 default n
1437 bool "Remote Storage RPC client"
1438 help
1439 Provide RPC mechanism for remote processors to access storage
1440 device on apps processor.
1441
1442config MSM_RMT_STORAGE_CLIENT_STATS
1443 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1444 default n
1445 bool "Remote storage RPC client performance statistics"
1446 help
1447 Collects performance statistics and shows this information
1448 through a debugfs file rmt_storage_stats.
1449
1450config MSM_SDIO_SMEM
1451 depends on MSM_SDIO_AL
1452 default n
1453 bool "SDIO SMEM for remote storage"
1454 help
1455 Copies data from remote MDM9K memory to local MSM8x60
1456 memory. Used by remote storage client to shadow
1457 MDM9K filesystem.
1458
1459config MSM_DALRPC
1460 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001461 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001462 help
1463 Supports RPC calls to DAL devices on remote processor cores.
1464
1465config MSM_DALRPC_TEST
1466 tristate "DAL RPC test module"
1467 depends on (MSM_DALRPC && DEBUG_FS)
1468 default m
1469 help
1470 Exercises DAL RPC calls to QDSP6.
1471
1472if CPU_FREQ_MSM
1473
1474config MSM_CPU_FREQ_SET_MIN_MAX
1475 bool "Set Min/Max CPU frequencies."
1476 default n
1477 help
1478 Allow setting min and max CPU frequencies. Sysfs can be used
1479 to override these values.
1480
1481config MSM_CPU_FREQ_MAX
1482 int "Max CPU Frequency"
1483 depends on MSM_CPU_FREQ_SET_MIN_MAX
1484 default 384000
1485
1486config MSM_CPU_FREQ_MIN
1487 int "Min CPU Frequency"
1488 depends on MSM_CPU_FREQ_SET_MIN_MAX
1489 default 245760
1490
1491endif # CPU_FREQ_MSM
1492
1493config MSM_CPU_AVS
1494 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1495 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1496 depends on ARCH_QSD8X50
1497 default n
1498 select MSM_AVS_HW
1499 help
1500 This enables the s/w control of Adaptive Voltage Scaling feature
1501 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1502 based on feedback from three ring oscillators in the CPU.
1503
1504config MSM_AVS_HW
1505 bool "Enable Adaptive Voltage Scaling (AVS)"
1506 default n
1507 help
1508 Enable AVS hardware to fine tune voltage at each frequency. The
1509 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1510 fine tune the voltages based on the feedback from the ring
1511 oscillators.
1512
1513config MSM_HW3D
1514 tristate "MSM Hardware 3D Register Driver"
1515 depends on ANDROID_PMEM
1516 default y
1517 help
1518 Provides access to registers needed by the userspace OpenGL|ES
1519 library.
1520
1521config MSM_ADSP
1522 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1523 tristate "MSM ADSP driver"
1524 depends on ANDROID_PMEM
1525 default y
1526 help
1527 Provides access to registers needed by the userspace aDSP library.
1528
1529config ADSP_RPC_VER
1530 hex
1531 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1532 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1533 depends on MSM_ADSP
1534 help
1535 Select proper ADSP RPC version
1536choice
1537 prompt "ADSP RPC version"
1538
1539 default AMSS_7X25_VERSION_2009
1540
1541 config AMSS_7X25_VERSION_2009
1542 bool "2.0.09"
1543
1544 config AMSS_7X25_VERSION_2008
1545 bool "2.0.08"
1546endchoice
1547
1548config MSM7KV2_AUDIO
1549 bool "MSM7K v2 audio"
1550 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1551 default y
1552 help
1553 Enables QDSP5V2-based audio drivers for audio playbacks and
1554 voice call.
1555
1556config MSM_ADSP_REPORT_EVENTS
1557 bool "Report modem events from the DSP"
1558 default y
1559 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1560 help
1561 Normally, only messages from the aDSP are reported to userspace.
1562 With this option, we report events from the aDSP as well.
1563
1564config MSM_QDSP6
1565 tristate "QDSP6 support"
1566 depends on ARCH_QSD8X50 && ANDROID_PMEM
1567 default y
1568 help
1569 Enable support for qdsp6. This provides audio and video functionality.
1570
1571config MSM8X60_AUDIO
1572 tristate "MSM8X60 audio support"
1573 depends on ARCH_MSM8X60 && ANDROID_PMEM
1574 default y
1575 help
1576 Enable support for qdsp6v2. This provides audio functionality.
1577
1578config MSM8X60_FTM_AUDIO_DEVICES
1579 bool "MSM8X60 audio factory test mode support"
1580 depends on MSM8X60_AUDIO
1581 help
1582 Enable support audio factory test mode devices. This is used
1583 in a production line environment.
1584
Ben Romberger45b351c2011-07-20 22:37:27 -07001585config RTAC
1586 bool "MSM8K real-time audio calibration support"
1587 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001588 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001589 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001590 audio operation
1591
1592config MSM7X27A_AUDIO
1593 bool "MSM7X27A audio support"
1594 depends on ARCH_MSM7X27A && MSM_ADSP
1595 default n
1596 help
1597 Enable support for 7x27a. This provides audio functionality.
1598
Justin Pauporea6cd2092011-06-22 16:19:45 -07001599config MSM_PROC_COMM_REGULATOR
1600 bool
1601 depends on MSM_PROC_COMM && REGULATOR
1602 help
1603 Enable regulator framework support for regulators managed by PMLIB
1604 on the modem, and controlled through proccomm calls.
1605
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001606config MSM_VREG_SWITCH_INVERTED
1607 bool "Reverse vreg switch polarity"
1608 default n
1609 help
1610 Reverses the enable and disable for vreg switch.
1611
1612config MSM_DMA_TEST
1613 tristate "MSM DMA test module"
1614 default m
1615 help
1616 Intended to be compiled as a module. Provides a device node
1617 and ioctls for testing the MSM dma system.
1618
1619config WIFI_CONTROL_FUNC
1620 bool "Enable WiFi control function abstraction"
1621 help
1622 Enables Power/Reset/Carddetect function abstraction
1623
1624config WIFI_MEM_PREALLOC
1625 depends on WIFI_CONTROL_FUNC
1626 bool "Preallocate memory for WiFi buffers"
1627 help
1628 Preallocates memory buffers for WiFi driver
1629
1630config QSD_AUDIO
1631 bool "QSD audio"
1632 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1633 default y
1634 help
1635 Provides PCM, MP3, and AAC audio playback.
1636
1637config AUDIO_AAC_PLUS
1638 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1639 bool "AAC+ Audio"
1640 default y
1641 help
1642 Provides AAC+ decoding
1643
1644config AUDIO_ENHANCED_AAC_PLUS
1645 depends on AUDIO_AAC_PLUS
1646 bool "Enhanced AAC+ Audio"
1647 default y
1648 help
1649 Provides Enhanced AAC+ decoding
1650
1651config SURF_FFA_GPIO_KEYPAD
1652 bool "MSM SURF/FFA GPIO keypad"
1653 depends on INPUT_GPIO = "y"
1654 default y
1655 help
1656 Select if the GPIO keypad is attached.
1657
1658config MSM_SLEEP_TIME_OVERRIDE
1659 bool "Allow overriding suspend/sleep time with PM module parameter"
1660 default y
1661 help
1662 Enable the module parameter sleep_time_override. Specified
1663 in units of seconds, it overwrites the normal sleep time of
1664 suspend. The feature is required for automated power management
1665 testing.
1666
1667config MSM_MEMORY_LOW_POWER_MODE
1668 bool "Control the low power modes of memory"
1669 default n
1670 help
1671 The application processor controls whether memory should enter
1672 which low power mode.
1673
1674choice
1675 prompt "Default Memory Low Power Mode during Idle"
1676 depends on MSM_MEMORY_LOW_POWER_MODE
1677 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1678 help
1679 Selects the default low power mode of the memory during idle
1680 sleep.
1681
1682 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1683 bool "Memory active"
1684
1685 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1686 bool "Memory in retention"
1687
1688 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1689 bool "Memory in deep power down"
1690endchoice
1691
1692choice
1693 prompt "Default Memory Low Power Mode during Suspend"
1694 depends on MSM_MEMORY_LOW_POWER_MODE
1695 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1696 help
1697 Selects the default low power mode of the memory during suspend
1698 sleep.
1699
1700 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1701 bool "Memory active"
1702
1703 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1704 bool "Memory in retention"
1705
1706 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1707 bool "Memory in deep power down"
1708endchoice
1709
1710choice
1711 prompt "Power management timeout action"
1712 default MSM_PM_TIMEOUT_HALT
1713 help
1714 Selects the Application Processor's action when Power Management
1715 times out waiting for Modem's handshake.
1716
1717 config MSM_PM_TIMEOUT_HALT
1718 bool "Halt the Application Processor"
1719
1720 config MSM_PM_TIMEOUT_RESET_MODEM
1721 bool "Reset the Modem Processor"
1722
1723 config MSM_PM_TIMEOUT_RESET_CHIP
1724 bool "Reset the entire chip"
1725endchoice
1726
1727config MSM_IDLE_WAIT_ON_MODEM
1728 int "Wait for Modem to become ready for idle power collapse"
1729 default 0
1730 help
1731 If Modem is not ready to handle Application Processor's request
1732 for idle power collapse, wait the number of microseconds in case
1733 Modem becomes ready soon.
1734
Matt Wagantall9274df92011-12-15 11:11:05 -08001735config MSM_RPM_REGULATOR
1736 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001737 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001738 help
1739 Compile in support for the RPM regulator driver, used for setting
1740 voltages and other parameters of the various power rails supplied
1741 by some Qualcomm PMICs.
1742
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001743config MSM_PIL
1744 bool "Peripheral image loading"
1745 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001746 default n
1747 help
1748 Some peripherals need to be loaded into memory before they can be
1749 brought out of reset.
1750
1751 Say yes to support these devices.
1752
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001753config MSM_PIL_MODEM
1754 tristate "Modem (ARM11) Boot Support"
1755 depends on MSM_PIL
1756 help
1757 Support for booting and shutting down ARM11 Modem processors.
1758
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001759config MSM_PIL_QDSP6V3
1760 tristate "QDSP6v3 (Hexagon) Boot Support"
1761 depends on MSM_PIL
1762 help
1763 Support for booting and shutting down QDSP6v3 processors (hexagon).
1764 The QDSP6 is a low power DSP used in audio software applications.
1765
Stephen Boydeb819882011-08-29 14:46:30 -07001766config MSM_PIL_QDSP6V4
1767 tristate "QDSP6v4 (Hexagon) Boot Support"
1768 depends on MSM_PIL
1769 help
1770 Support for booting and shutting down QDSP6v4 processors (hexagon).
1771 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1772 software applications.
1773
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001774config MSM_PIL_LPASS_QDSP6V5
1775 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
1776 depends on MSM_PIL
1777 help
1778 Support for booting and shutting down QDSP6v5 processors (Hexagon)
1779 processors in low power audio subsystems.
1780
Stephen Boyd322a9922011-09-20 01:05:54 -07001781config MSM_PIL_RIVA
1782 tristate "RIVA (WCNSS) Boot Support"
1783 depends on MSM_PIL
1784 help
1785 Support for booting and shutting down the RIVA processor (WCNSS).
1786 Riva is the wireless subsystem processor used in bluetooth, wireless
1787 LAN, and FM software applications.
1788
Stephen Boydd89eebe2011-09-28 23:28:11 -07001789config MSM_PIL_TZAPPS
1790 tristate "TZApps Boot Support"
1791 depends on MSM_PIL
1792 help
1793 Support for booting and shutting down TZApps.
1794
1795 TZApps is an image that runs in the secure processor state. It is
1796 used to decrypt data and perform secure operations on the behalf of
1797 the kernel.
1798
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07001799config MSM_PIL_DSPS
1800 tristate "DSPS Boot Support"
1801 depends on MSM_PIL
1802 help
1803 Support for booting and shutting down ARM7 DSPS processors.
1804
1805 DSPS is a sensors offloading processor used for applications such
1806 as rotation detection, temperature, etc.
1807
Stephen Boyd7b973de2012-03-09 12:26:16 -08001808config MSM_PIL_VIDC
1809 tristate "Video Core Secure Boot Support"
1810 depends on MSM_PIL
1811 help
1812 Support for authenticating the video core image.
1813
Matt Wagantall292aace2012-01-26 19:12:34 -08001814config MSM_PIL_GSS
1815 tristate "GSS (Coretx A5) Boot Support"
1816 depends on MSM_PIL
1817 help
1818 Support for booting and shutting down Cortex A5 processors which run
1819 GPS subsystem firmware.
1820
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001821config MSM_SCM
1822 bool "Secure Channel Manager (SCM) support"
1823 default n
1824
1825config MSM_SUBSYSTEM_RESTART
1826 bool "MSM Subsystem Restart Driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001827 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001828 default n
1829 help
1830 This option enables the MSM subsystem restart driver, which provides
1831 a framework to handle subsystem crashes.
1832
Matt Wagantallf8020902011-08-30 21:19:23 -07001833config MSM_SYSMON_COMM
1834 bool "MSM System Monitor communication support"
1835 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1836 default y
1837 help
1838 This option adds support for MSM System Monitor library, which
1839 provides an API that may be used for notifying subsystems within
1840 the SoC about other subsystems' power-up/down state-changes.
1841
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001842config MSM_MODEM_8960
1843 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001844 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001845 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001846 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001847 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001848 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001849
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001850config MSM_LPASS_8960
1851 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001852 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001853 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001854 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001855 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001856 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001857
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001858config MSM_WCNSS_SSR_8960
1859 tristate "MSM 8960 WCNSS restart module"
1860 depends on (ARCH_MSM8960)
1861 help
1862 This option enables the WCNSS restart module for MSM8960, which
1863 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1864 into the subsystem restart framework.
1865
Rohit Vaswanid0fb4182012-03-19 18:07:59 -07001866config MSM_GSS_SSR_8064
1867 bool "MSM 8064 GSS restart driver"
1868 depends on (ARCH_APQ8064)
1869 help
1870 This option enables the gps subsystem restart driver for APQ8064, which monitors
1871 gss hardware watchdog interrupt lines and plugs into the subsystem
1872 restart and PIL drivers.
1873
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001874config SCORPION_Uni_45nm_BUG
1875 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1876 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1877 default y
1878 help
1879 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1880 invalidating the Branch Predictor Array by Modified Virtual Address can
1881 create invalid entries in the TLB with the wrong ASID values on Scorpion
1882 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1883 workaround for Scorpion Uniprocessor 45nm cores.
1884
1885 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1886
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001887config MSM_BUSPM_DEV
1888 tristate "MSM Bus Performance Monitor Kernel Module"
1889 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1890 default m
1891 help
1892 This kernel module is used to mmap() hardware registers for the
1893 performance monitors, counters, etc. The module can also be used to
1894 allocate physical memory which is used by bus performance hardware to
1895 dump performance data.
1896
Mona Hossain11c03ac2011-10-26 12:42:10 -07001897config MSM_TZ_LOG
1898 tristate "MSM Trust Zone (TZ) Log Driver"
1899 depends on DEBUG_FS
1900 help
1901 This option enables a driver with a debugfs interface for messages
1902 produced by the Secure code (Trust zone). These messages provide
1903 diagnostic information about TZ operation.
1904
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001905config MSM_RPM_LOG
1906 tristate "MSM Resource Power Manager Log Driver"
1907 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001908 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001909 default n
1910 help
1911 This option enables a driver which can read from a circular buffer
1912 of messages produced by the RPM. These messages provide diagnostic
1913 information about RPM operation. The driver outputs the messages
1914 via a debugfs node.
1915
1916config MSM_RPM_STATS_LOG
1917 tristate "MSM Resource Power Manager Stat Driver"
1918 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001919 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001920 default n
1921 help
1922 This option enables a driver which reads RPM messages from a shared
1923 memory location. These messages provide statistical information about
1924 the low power modes that RPM enters. The drivers outputs the message
1925 via a debugfs node.
1926
1927config MSM_IOMMU
1928 bool "MSM IOMMU Support"
Joel King41d594e2011-10-14 13:18:20 -07001929 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_APQ8064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001930 select IOMMU_API
1931 default n
1932 help
1933 Support for the IOMMUs found on certain Qualcomm SOCs.
1934 These IOMMUs allow virtualization of the address space used by most
1935 cores within the multimedia subsystem.
1936
1937 If unsure, say N here.
1938
1939config IOMMU_PGTABLES_L2
1940 bool "Allow SMMU page tables in the L2 cache (Experimental)"
1941 depends on MSM_IOMMU=y
1942 depends on MMU
1943 depends on CPU_DCACHE_DISABLE=n
1944 depends on SMP
1945 default y
1946 help
1947 Improves TLB miss latency at the expense of potential L2 pollution.
1948 However, with large multimedia buffers, the TLB should mostly contain
1949 section mappings and TLB misses should be quite infrequent.
1950 Most people can probably say Y here.
1951
1952config MSM_DIRECT_SCLK_ACCESS
1953 bool "Direct access to the SCLK timer"
1954 default n
1955
1956config IOMMU_API
1957 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001958
Gregory Beanab78cde2010-09-01 16:26:12 -07001959config MSM_GPIOMUX
1960 bool
1961
Gregory Bean1963a2a2010-08-28 10:05:44 -07001962config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001963 bool
1964
1965config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07001966 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001967
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001968config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001969 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001970
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001971config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001972 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001973
Matt Wagantall88b86312012-01-31 16:53:03 -08001974config MSM_PM
1975 depends on PM
1976 bool
1977
1978config MSM_PM2
1979 depends on PM
1980 bool
1981
1982config MSM_PM8X60
1983 depends on PM
1984 bool
1985
1986config MSM_NOPM
1987 default y if !PM
1988 bool
1989
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001990config MSM_BUS_SCALING
1991 bool "Bus scaling driver"
1992 default n
1993
Gagan Mac85c70492011-06-10 16:07:47 -06001994config MSM_BUS_RPM_MULTI_TIER_ENABLED
1995 bool "RPM Multi-tiering Configuration"
1996 depends on MSM_BUS_SCALING
1997
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001998config MSM_WATCHDOG
1999 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002000 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002001 help
2002 This enables the watchdog as is present on 8x60. Currently we use
2003 core 0's watchdog, and reset the entire SoC if it times out. It does
2004 not run during the bootup process, so it will not catch any early
2005 lockups.
2006
2007config MSM_DLOAD_MODE
2008 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07002009 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002010 default n
2011 help
2012 This makes the SoC enter download mode when it resets
2013 due to a kernel panic. Note that this doesn't by itself
2014 make the kernel reboot on a kernel panic - that must be
2015 enabled via another mechanism.
2016
Pratik Patel17f3b822011-11-21 12:41:47 -08002017config MSM_JTAG
2018 bool "JTAG debug and trace support"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002019 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002020 Add additional support for JTAG kernel debugging and tracing.
Pratik Patel7831c082011-06-08 21:44:37 -07002021
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002022config MSM_ETM
2023 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002024 depends on ARCH_MSM8X60
2025 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002026 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002027 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002028
2029config MSM_QDSS
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002030 bool "Qualcomm Debug Subsystem"
Pratik Patel17f3b822011-11-21 12:41:47 -08002031 select MSM_JTAG
Pratik Patel7831c082011-06-08 21:44:37 -07002032 help
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002033 Enables support for Qualcomm Debug Subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002034
Pratik Patel29cba152012-01-03 11:40:26 -08002035config MSM_QDSS_ETM_DEFAULT_ENABLE
2036 bool "Turn on QDSS ETM Tracing by Default"
2037 depends on MSM_QDSS
2038 help
2039 Turns on QDSS ETM tracing by default. Otherwise, tracing is
2040 disabled by default but can be enabled by other means.
2041
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002042config MSM_SLEEP_STATS
2043 bool "Enable exporting of MSM sleep stats to userspace"
2044 depends on CPU_IDLE
2045 default n
2046
Lynus Vazdde09ee2012-01-05 13:28:22 +05302047config MSM_SLEEP_STATS_DEVICE
2048 bool "Enable exporting of MSM sleep device stats to userspace"
2049
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302050config MSM_RUN_QUEUE_STATS
2051 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
2052 default y
2053
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002054config MSM_STANDALONE_POWER_COLLAPSE
2055 bool "Enable standalone power collapse"
2056 default n
2057
2058config MSM_GSBI9_UART
2059 bool "Enable GSBI9 UART device"
2060 default n
2061 help
2062 This enables GSBI9 configured into UART.
2063
2064config MSM_SHARED_GPIO_FOR_UART2DM
2065 bool "Use shared GPIOs into UART mode"
2066 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2067 help
2068 This option configures GPIO muxed with SDC4/MMC3
2069 8-bit mode into UART mode. It is used for serial
2070 console on UART2DM. Say Y if you want to have
2071 serial console on UART2DM.
2072
2073config MSM_SHOW_RESUME_IRQ
2074 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002075 depends on (ARM_GIC || PMIC8058)
2076 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002077 default n
2078 help
2079 This option logs wake up interrupts that have triggered just before
2080 the resume loop unrolls. Say Y if you want to debug why the system
2081 resumed.
2082
2083config BT_MSM_PINTEST
2084 tristate "MSM Bluetooth Pin Connectivity Test"
2085 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2086 default n
2087 help
2088 Bluetooth MSM Pin Connectivity test module.
2089 This driver provides support for verifying the MSM to BT pin
2090 connectivity.
2091
2092config MSM_FAKE_BATTERY
2093 depends on POWER_SUPPLY
2094 default n
2095 bool "MSM Fake Battery"
2096 help
2097 Enables MSM fake battery driver.
2098
2099config MSM_QDSP6_APR
2100 bool "Audio QDSP6 APR support"
2101 depends on MSM_SMD
2102 default n
2103 help
2104 Enable APR IPC protocol support between
2105 application processor and QDSP6. APR is
2106 used by audio driver to configure QDSP6's
2107 ASM, ADM and AFE.
2108
2109
2110config MSM_AUDIO_QDSP6
2111 bool "QDSP6 HW Audio support"
2112 select SND_SOC_MSM_QDSP6_INTF
2113 default n
2114 help
2115 Enable HW audio support in QDSP6.
2116 QDSP6 can support HW encoder & decoder and audio processing
2117
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002118config MSM_ULTRASOUND
2119 bool "MSM ultrasound support"
2120 depends on MSM_AUDIO_QDSP6
2121 help
2122 Enable support for qdsp6/ultrasound.
2123
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002124config MSM_RPC_VIBRATOR
2125 bool "RPC based MSM Vibrator Support"
2126 depends on MSM_ONCRPCROUTER
2127 help
2128 Enable the vibrator support on MSM over RPC. The vibrator
2129 is connected on the PMIC. Say Y if you want to enable this
2130 feature.
2131
2132config PM8XXX_RPC_VIBRATOR
2133 bool "RPC based Vibrator on PM8xxx PMICs"
2134 depends on MSM_RPC_VIBRATOR
2135 help
2136 Enable the vibrator support on MSM over RPC. The vibrator
2137 is connected on the PM8XXX PMIC. Say Y if you want to enable
2138 this feature.
2139
2140config MSM_SPM_V1
2141 bool "Driver support for SPM Version 1"
2142 help
2143 Enables the support for Version 1 of the SPM driver. SPM hardware is
2144 used to manage the processor power during sleep. The driver allows
2145 configuring SPM to allow different power modes.
2146
2147config MSM_SPM_V2
2148 bool "Driver support for SPM Version 2"
2149 help
2150 Enables the support for Version 2 of the SPM driver. SPM hardware is
2151 used to manage the processor power during sleep. The driver allows
2152 configuring SPM to allow different power modes.
2153
2154config MSM_L2_SPM
2155 bool "SPM support for L2 cache"
2156 depends on MSM_SPM_V2
2157 help
2158 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2159 control of L2 cache low power mode with a Subsystem Power manager.
2160 Enabling this driver allows configuring L2 SPM for low power modes
2161 on supported chipsets.
2162
Laura Abbott2d1760b2011-09-29 21:31:24 -07002163config MSM_MULTIMEDIA_USE_ION
2164 bool "Multimedia suport using Ion"
2165 depends on ION_MSM
2166 help
2167 Enable support for multimedia drivers using Ion for buffer management
2168 instead of pmem. Selecting this may also involve userspace
2169 dependencies as well.
2170
Laura Abbottad340ff2012-01-04 14:23:48 -08002171config MSM_RTB
2172 bool "Register tracing"
2173 help
2174 Add support for logging different events to a small uncached
2175 region. This is designed to aid in debugging reset cases where the
2176 caches may not be flushed before the target resets.
2177
2178config MSM_RTB_SEPARATE_CPUS
2179 bool "Separate entries for each cpu"
2180 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002181 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002182 help
2183 Under some circumstances, it may be beneficial to give dedicated space
2184 for each cpu to log accesses. Selecting this option will log each cpu
2185 separately. This will guarantee that the last acesses for each cpu
2186 will be logged but there will be fewer entries per cpu
2187
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002188config MSM_CACHE_ERP
2189 bool "Cache / CPU error reporting"
2190 depends on ARCH_MSM_KRAIT
2191 help
2192 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2193 log. Enabling this feature can be used as a system debugging technique
2194 if cache corruption is suspected. Cache error statistics will also be
2195 reported in /proc/cpu/msm_cache_erp.
2196
2197 For production builds, you should probably say 'N' here.
2198
2199config MSM_L1_ERR_PANIC
2200 bool "Panic on L1 cache / TLB errors"
2201 depends on MSM_CACHE_ERP
2202 help
2203 To cause the kernel to panic whenever an L1 cache or TLB error is
2204 detected, say 'Y' here. This may be useful as a debugging technique if
2205 general system instability is suspected.
2206
2207 For production builds, you should probably say 'N' here.
2208
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002209config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2210 bool "Report L2 master port slave/decode errors in kernel log"
2211 depends on MSM_CACHE_ERP
2212 help
2213 Master port errors can occur when a memory request is not properly
2214 handled by the destination slave. This can occur if the destination
2215 register does not exist or is inaccessible due to security
2216 restrictions or (in some cases) clock configuration. Enabling this
2217 option will cause a backtrace to be printed to the kernel log whenever
2218 such an error is encountered. Note that the error is reported as an
2219 interrupt rather than as an exception, meaning that the backtrace may
2220 have some skid. This option may help with debugging, though production
2221 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002222
2223config MSM_L2_ERP_PORT_PANIC
2224 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002225 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002226 help
2227 Master port errors can occur when a memory request is not properly
2228 handled by the destination slave. Enable this option to catch drivers
2229 which attempt to access bad areas of the address space, or access
2230 hardware registers in an improper state (such as certain clocks not
2231 being on). This option may help with debugging, though production
2232 builds should probably say 'N' here.
2233
2234config MSM_L2_ERP_1BIT_PANIC
2235 bool "Panic on recoverable L2 soft errors"
2236 depends on MSM_CACHE_ERP
2237 help
2238 Enable this option to cause a kernel panic whenever the L2 cache
2239 encounters a single-bit (correctable) soft error. This option should
2240 only be enabled when doing low-level debugging where cache corruption
2241 is suspected.
2242
2243 For production builds, you should definitely say 'N' here.
2244
2245config MSM_L2_ERP_2BIT_PANIC
2246 bool "Panic on unrecoverable L2 soft errors"
2247 depends on MSM_CACHE_ERP
2248 help
2249 Enable this option to cause a kernel panic whenever the L2 cache
2250 encounters a double-bit (non-correctable) soft error. Debug builds
2251 will likely benefit from having this option enabled to catch cache
2252 problems as soon as possible.
2253
2254 For production builds, it may be acceptable to say 'N' here, since
2255 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002256
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002257config MSM_DCVS
2258 bool "Use MSM DCVS for CPU/GPU Frequency control"
2259 depends on MSM_SCM
2260 help
2261 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2262 The DCVS manager allows idle driver to feed the idle information to the
2263 algorithm and the algorithm returns a frequency for the core which is
2264 passed to the frequency change driver.
2265
Taniya Dasc43e6872012-03-21 16:41:14 +05302266config HAVE_ARCH_HAS_CURRENT_TIMER
2267 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002268
2269config MSM_CACHE_DUMP
2270 bool "Cache dumping support"
2271 help
2272 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2273 This allows for analysis of the caches in case cache corruption is
2274 suspected.
2275
Laura Abbott7b637362012-03-29 16:43:49 -07002276config MSM_CACHE_DUMP_ON_PANIC
2277 bool "Dump caches on panic"
2278 depends on MSM_CACHE_DUMP
2279 help
2280 By default, the caches are flushed on panic. This means that trying to
2281 look at them in a RAM dump will give useless data. Select this if you
2282 want to dump the L1 and L2 caches on panic before any flush occurs.
2283 If unsure, say N
2284
Jack Phamccbbfab2012-04-09 19:50:20 -07002285config MSM_HSIC_SYSMON
2286 tristate "MSM HSIC system monitor driver"
2287 depends on USB
2288 help
2289 Add support for bridging with the system monitor interface of MDM
2290 over HSIC. This driver allows the local system monitor to
2291 communicate with the remote system monitor interface.
2292
2293config MSM_HSIC_SYSMON_TEST
2294 tristate "MSM HSIC system monitor bridge test"
2295 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2296 help
2297 Enable the test hook for the Qualcomm system monitor HSIC driver.
2298 This will create a debugfs file entry named "hsic_sysmon_test" which
2299 can be read and written to send character data to the sysmon port of
2300 the modem over USB.
2301
Brian Swetland9e73c842007-11-26 04:12:13 -08002302endif