blob: 076c609c1cb022bd1daee70f0a4b171f66b03840 [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
Krishna Vankae2922052012-03-02 09:59:12 +053038 select MSM_RUN_QUEUE_STATS if MSM_SOC_REV_A
Daniel Walkerbf83de42010-03-16 16:29:44 -070039
Daniel Walker7b521612010-05-06 12:44:57 -070040config ARCH_MSM7X30
41 bool "MSM7x30"
42 select ARCH_MSM_SCORPION
Daniel Walker7b521612010-05-06 12:44:57 -070043 select MSM_VIC
44 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070045 select MSM_REMOTE_SPINLOCK_DEKKERS
46 select ARCH_SPARSEMEM_ENABLE
Laura Abbott78593b52011-09-26 18:48:14 -070047 select ARCH_HAS_HOLES_MEMORYMODEL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070048 select MEMORY_HOTPLUG
49 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -080050 select ARCH_ENABLE_MEMORY_HOTPLUG
51 select ARCH_ENABLE_MEMORY_HOTREMOVE
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070052 select MIGRATION
53 select ARCH_MEMORY_PROBE
54 select ARCH_MEMORY_REMOVE
Gregory Beanab78cde2010-09-01 16:26:12 -070055 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070056 select RESERVE_FIRST_PAGE
57 select MSM_DALRPC
58 select MSM_SPM_V1
59 select REGULATOR
Justin Paupore637a25d2011-07-14 17:11:04 -070060 select MSM_PROC_COMM_REGULATOR
Taniya Dasbae99fb2011-10-12 09:55:13 +053061 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -080062 select MSM_PM2 if PM
Daniel Walker7b521612010-05-06 12:44:57 -070063
Daniel Walker4ad15e62010-05-06 13:54:17 -070064config ARCH_QSD8X50
65 bool "QSD8X50"
66 select ARCH_MSM_SCORPION
Daniel Walker4ad15e62010-05-06 13:54:17 -070067 select MSM_VIC
68 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070069 select MSM_REMOTE_SPINLOCK_LDREX
70 select CPU_USE_DOMAINS
71 select EMULATE_DOMAIN_MANAGER_V7
Gregory Beanab78cde2010-09-01 16:26:12 -070072 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070073 select MSM_DALRPC
Matt Wagantall88b86312012-01-31 16:53:03 -080074 select MSM_PM2 if PM
Daniel Walker46fe5f22010-08-18 11:00:25 -070075
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070076config ARCH_MSM8X60
77 bool "MSM8X60"
Jeff Ohlsteine14411d2010-11-30 13:06:36 -080078 select ARCH_MSM_SCORPIONMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070079 select SMP_PARALLEL_START if SMP
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070080 select ARM_GIC
81 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070082 select MSM_REMOTE_SPINLOCK_LDREX
83 select ARCH_REQUIRE_GPIOLIB
84 select MSM_ADM3
85 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -080086 select MSM_RPM_REGULATOR
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070087 select MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070088 select MSM_PIL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070089 select ARCH_HAS_CPU_IDLE_WAIT
90 select MSM_DIRECT_SCLK_ACCESS
91 select MSM_RPM
92 select MSM_XO
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070093 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070094 select MSM_BUS_SCALING
95 select MSM_SECURE_IO
96 select MSM_DALRPC
97 select MSM_QDSP6_APR
98 select MSM_NATIVE_RESTART
99 select ARCH_INLINE_SPIN_TRYLOCK
100 select ARCH_INLINE_SPIN_TRYLOCK_BH
101 select ARCH_INLINE_SPIN_LOCK
102 select ARCH_INLINE_SPIN_LOCK_BH
103 select ARCH_INLINE_SPIN_LOCK_IRQ
104 select ARCH_INLINE_SPIN_LOCK_IRQSAVE
105 select ARCH_INLINE_SPIN_UNLOCK
106 select ARCH_INLINE_SPIN_UNLOCK_BH
107 select ARCH_INLINE_SPIN_UNLOCK_IRQ
108 select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
109 select ARCH_INLINE_READ_TRYLOCK
110 select ARCH_INLINE_READ_LOCK
111 select ARCH_INLINE_READ_LOCK_BH
112 select ARCH_INLINE_READ_LOCK_IRQ
113 select ARCH_INLINE_READ_LOCK_IRQSAVE
114 select ARCH_INLINE_READ_UNLOCK
115 select ARCH_INLINE_READ_UNLOCK_BH
116 select ARCH_INLINE_READ_UNLOCK_IRQ
117 select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
118 select ARCH_INLINE_WRITE_TRYLOCK
119 select ARCH_INLINE_WRITE_LOCK
120 select ARCH_INLINE_WRITE_LOCK_BH
121 select ARCH_INLINE_WRITE_LOCK_IRQ
122 select ARCH_INLINE_WRITE_LOCK_IRQSAVE
123 select ARCH_INLINE_WRITE_UNLOCK
124 select ARCH_INLINE_WRITE_UNLOCK_BH
125 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
126 select CPU_HAS_L2_PMU
127 select MSM_SPM_V1
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530128 select MSM_SCM if SMP
129 select MULTI_IRQ_HANDLER
Laura Abbott46505f62011-11-02 18:06:55 -0700130 select MSM_MULTIMEDIA_USE_ION
Matt Wagantall88b86312012-01-31 16:53:03 -0800131 select MSM_PM8X60 if PM
Krishna Vankae2922052012-03-02 09:59:12 +0530132 select MSM_RUN_QUEUE_STATS
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700133
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800134config ARCH_MSM8960
135 bool "MSM8960"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700136 select ARCH_MSM_KRAITMP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800137 select ARM_GIC
138 select CPU_V7
139 select MSM_V2_TLMM
140 select MSM_GPIOMUX
141 select MSM_SCM if SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700142 select MSM_DIRECT_SCLK_ACCESS
143 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -0800144 select MSM_RPM_REGULATOR
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700145 select MSM_RPM
146 select MSM_XO
147 select MSM_QDSP6_APR
148 select MSM_PIL
149 select MSM_AUDIO_QDSP6 if SND_SOC
150 select CPU_HAS_L2_PMU
151 select MSM_SPM_V2
152 select MSM_L2_SPM
153 select MSM_NATIVE_RESTART
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700154 select DONT_MAP_HOLE_AFTER_MEMBANK0
155 select MSM_REMOTE_SPINLOCK_SFPB
156 select ARCH_POPULATES_NODE_MAP
157 select ARCH_SPARSEMEM_ENABLE
158 select ARCH_HAS_HOLES_MEMORYMODEL
Larry Basselb8d61022012-02-24 10:49:45 -0800159 select ENABLE_DMM
160 select MEMORY_HOTPLUG if ENABLE_DMM
161 select MEMORY_HOTREMOVE if ENABLE_DMM
162 select ARCH_ENABLE_MEMORY_HOTPLUG if ENABLE_DMM
163 select ARCH_ENABLE_MEMORY_HOTREMOVE if ENABLE_DMM
164 select MIGRATION if ENABLE_DMM
165 select ARCH_MEMORY_PROBE if ENABLE_DMM
166 select ARCH_MEMORY_REMOVE if ENABLE_DMM
167 select FIX_MOVABLE_ZONE if ENABLE_DMM
Larry Basseld4d82c92011-12-07 09:52:49 -0800168 select CLEANCACHE
169 select QCACHE
Laura Abbott6d61a912011-10-27 16:44:14 -0700170 select MSM_MULTIMEDIA_USE_ION
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530171 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800172 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700173 select HOLES_IN_ZONE if SPARSEMEM
Krishna Vankae2922052012-03-02 09:59:12 +0530174 select MSM_RUN_QUEUE_STATS
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700175
176config ARCH_MSM8930
177 bool "MSM8930"
178 select ARCH_MSM_KRAITMP
179 select ARM_GIC
180 select CPU_V7
181 select MSM_V2_TLMM
182 select MSM_GPIOMUX
183 select MSM_SCM if SMP
184 select MSM_DIRECT_SCLK_ACCESS
185 select REGULATOR
David Collins5779cea2012-01-05 15:09:21 -0800186 select MSM_RPM_REGULATOR
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700187 select MSM_RPM
188 select MSM_XO
189 select MSM_QDSP6_APR
190 select MSM_PIL
191 select MSM_AUDIO_QDSP6 if SND_SOC
192 select CPU_HAS_L2_PMU
193 select MSM_SPM_V2
194 select MSM_L2_SPM
195 select MSM_NATIVE_RESTART
196 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600197 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700198 select ARCH_POPULATES_NODE_MAP
199 select ARCH_SPARSEMEM_ENABLE
200 select ARCH_HAS_HOLES_MEMORYMODEL
Larry Basselb8d61022012-02-24 10:49:45 -0800201 select ENABLE_DMM
202 select MEMORY_HOTPLUG if ENABLE_DMM
203 select MEMORY_HOTREMOVE if ENABLE_DMM
204 select ARCH_ENABLE_MEMORY_HOTPLUG if ENABLE_DMM
205 select ARCH_ENABLE_MEMORY_HOTREMOVE if ENABLE_DMM
206 select MIGRATION if ENABLE_DMM
207 select ARCH_MEMORY_PROBE if ENABLE_DMM
208 select ARCH_MEMORY_REMOVE if ENABLE_DMM
209 select FIX_MOVABLE_ZONE if ENABLE_DMM
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +0200210 select MSM_ULTRASOUND
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530211 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800212 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700213 select HOLES_IN_ZONE if SPARSEMEM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700214
215config ARCH_APQ8064
216 bool "APQ8064"
217 select ARCH_MSM_KRAITMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700218 select MSM_V2_TLMM
219 select ARM_GIC
220 select CPU_V7
221 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700222 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600223 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800224 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800225 select MSM_QDSP6_APR
226 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530227 select MULTI_IRQ_HANDLER
Praveen Chidambaram78499012011-11-01 17:15:17 -0600228 select MSM_RPM
229 select MSM_SPM_V2
230 select MSM_L2_SPM
Matt Wagantall88b86312012-01-31 16:53:03 -0800231 select MSM_PM8X60 if PM
Neil Leeder814d3d32012-01-19 17:21:43 -0500232 select CPU_HAS_L2_PMU
Laura Abbott085dd202012-03-30 14:02:34 -0700233 select HOLES_IN_ZONE if SPARSEMEM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700234
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700235config ARCH_MSMCOPPER
236 bool "MSM Copper"
237 select ARCH_MSM_KRAITMP
238 select MSM_V2_TLMM
239 select ARM_GIC
240 select CPU_V7
241 select MSM_SCM if SMP
242 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530243 select MULTI_IRQ_HANDLER
Olav Hauganb800c8c2012-01-30 08:50:45 -0800244 select MSM_MULTIMEDIA_USE_ION
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700245 select MSM_PIL
Praveen Chidambaramaa9d52b2012-04-02 11:09:47 -0600246 select MSM_SPM_V2
247 select MSM_L2_SPM
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700248
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700249config ARCH_FSM9XXX
250 bool "FSM9XXX"
251 select ARCH_MSM_SCORPION
252 select MSM_VIC
253 select CPU_V7
254 select MSM_REMOTE_SPINLOCK_LDREX
255 select FSM9XXX_TLMM
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530256 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800257 select MSM_DALRPC
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800258
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700259config ARCH_MSM9615
260 bool "MSM9615"
261 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530262 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700263 select ARCH_MSM_CORTEX_A5
264 select CPU_V7
265 select MSM_V2_TLMM
266 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600267 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600268 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700269 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800270 select REGULATOR
271 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530272 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800273 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800274 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700275 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800276 select MSM_QDSP6_APR
277 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800278 select FIQ
Matt Wagantall9274df92011-12-15 11:11:05 -0800279
Taniya Das43bcdd62011-12-02 17:33:27 +0530280config ARCH_MSM8625
281 bool "MSM8625"
282 select ARCH_MSM_CORTEX_A5
283 select CPU_V7
284 select MSM_GPIOMUX
285 select ARM_GIC
286 select ARCH_MSM_CORTEXMP
287 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530288 select ARM_TICKET_LOCKS
Krishna Vankae2922052012-03-02 09:59:12 +0530289 select MSM_RUN_QUEUE_STATS
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700290endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700291
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700292choice
293 prompt "MSM SoC Revision"
294 default MSM_SOC_REV_NONE
295config MSM_SOC_REV_NONE
296 bool "N/A"
297 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
298 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walker4ad15e62010-05-06 13:54:17 -0700299config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700300 bool "Rev. A"
301 select ARCH_MSM7X27A if ARCH_MSM7X27
302endchoice
Daniel Walker4ad15e62010-05-06 13:54:17 -0700303
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700304config MSM_KRAIT_TBB_ABORT_HANDLER
305 bool "Krait TBB/TBH data abort handler"
306 depends on ARCH_MSM_KRAIT
307 depends on ARM_THUMB
308 help
309 Certain early samples of the Krait processor may generate data
310 aborts for TBB / TBH instructions that fail their condition code
311 checks. Enabling this option will ignore these erroneous data aborts,
312 at the expense of a very small performance penalty.
313
314 If unsure, say N.
315
Daniel Walker4ad15e62010-05-06 13:54:17 -0700316config ARCH_MSM_ARM11
317 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700318
Daniel Walker4ad15e62010-05-06 13:54:17 -0700319config ARCH_MSM_SCORPION
Daniel Walkerbf83de42010-03-16 16:29:44 -0700320 bool
321
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700322config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700323 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800324 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700325
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700326config MSM_SMP
327 bool
328
329config ARCH_MSM_SCORPIONMP
330 select ARCH_MSM_SCORPION
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
335config ARCH_MSM_KRAITMP
336 select ARCH_MSM_KRAIT
337 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530338 select HAVE_ARCH_HAS_CURRENT_TIMER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700339 bool
340
Taniya Das43bcdd62011-12-02 17:33:27 +0530341config ARCH_MSM_CORTEXMP
342 select MSM_SMP
343 bool
344
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700345config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800346 bool
Rohit Vaswaniaf7ae272012-01-09 10:28:57 -0800347 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700348
349config ARCH_MSM7X27A
350 bool
351 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700352 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530353 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530354 select ARM_GIC
355 select ARCH_MSM_CORTEXMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700356
Gregory Beanf9f3d312010-04-30 22:06:50 -0700357config MSM_VIC
358 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700359
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700360config MSM_RPM
361 bool "Resource Power Manager"
362 select MSM_MPM
363
364config MSM_MPM
365 bool "Modem Power Manager"
366
367config MSM_XO
368 bool
369
370config MSM_REMOTE_SPINLOCK_DEKKERS
371 bool
372config MSM_REMOTE_SPINLOCK_SWP
373 bool
374config MSM_REMOTE_SPINLOCK_LDREX
375 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600376config MSM_REMOTE_SPINLOCK_SFPB
377 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700378config MSM_ADM3
379 bool
380
381menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700382
383config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700384 depends on ARCH_MSM7X01A
385 depends on MSM_STACKED_MEMORY
386 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700387 bool "Halibut Board (QCT SURF7201A)"
388 help
389 Support for the Qualcomm SURF7201A eval board.
390
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700391config MACH_MSM7201A_SURF
392 depends on ARCH_MSM7X01A
393 depends on MSM_STACKED_MEMORY
394 default y
395 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700396 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700397 Support for the Qualcomm MSM7201A SURF eval board.
398
399config MACH_MSM7201A_FFA
400 depends on ARCH_MSM7X01A
401 depends on MSM_STACKED_MEMORY
402 default y
403 bool "MSM7201A FFA"
404 help
405 Support for the Qualcomm MSM7201A FFA eval board.
406
407config MACH_TROUT
408 depends on ARCH_MSM7X01A
409 depends on MSM_STACKED_MEMORY
410 default y
411 bool "Trout"
412
413config MACH_MSM7X27_SURF
414 depends on ARCH_MSM7X27
415 depends on !MSM_STACKED_MEMORY
416 default y
417 bool "MSM7x27 SURF"
418 help
419 Support for the Qualcomm MSM7x27 SURF eval board.
420
421config MACH_MSM7X27_FFA
422 depends on ARCH_MSM7X27
423 depends on !MSM_STACKED_MEMORY
424 default y
425 bool "MSM7x27 FFA"
426 help
427 Support for the Qualcomm MSM7x27 FFA eval board.
428
429config MACH_MSM7X27A_RUMI3
430 depends on ARCH_MSM7X27A
431 depends on !MSM_STACKED_MEMORY
432 default y
433 bool "MSM7x27A RUMI3"
434 help
435 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
436
437config MACH_MSM7X27A_SURF
438 depends on ARCH_MSM7X27A
439 depends on !MSM_STACKED_MEMORY
440 default y
441 bool "MSM7x27A SURF"
442 help
443 Support for the Qualcomm MSM7x27A SURF.
444
445config MACH_MSM7X27A_FFA
446 depends on ARCH_MSM7X27A
447 depends on !MSM_STACKED_MEMORY
448 default y
449 bool "MSM7x27A FFA"
450 help
451 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700452
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530453config MACH_MSM7625A_SURF
454 depends on ARCH_MSM7X27A
455 depends on !MSM_STACKED_MEMORY
456 default y
457 bool "MSM7625A SURF"
458 help
459 Support for the Qualcomm MSM7625A SURF.
460
461config MACH_MSM7625A_FFA
462 depends on ARCH_MSM7X27A
463 depends on !MSM_STACKED_MEMORY
464 default y
465 bool "MSM7625A FFA"
466 help
467 Support for the Qualcomm MSM7625A FFA.
468
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530469config MACH_MSM7627A_QRD1
470 depends on ARCH_MSM7X27A
471 depends on !MSM_STACKED_MEMORY
472 default y
473 bool "MSM7627A QRD1"
474 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530475 Support for the Qualcomm MSM7627A Reference Design.
476
477config MACH_MSM7627A_QRD3
478 depends on ARCH_MSM7X27A
479 depends on !MSM_STACKED_MEMORY
480 default y
481 bool "MSM7627A QRD3"
482 help
483 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530484
Taniya Dasc868a2e2012-01-03 10:18:47 +0530485config MACH_MSM7627A_EVB
486 depends on ARCH_MSM7X27A
487 depends on !MSM_STACKED_MEMORY
488 default y
489 bool "MSM7627A EVB"
490 help
491 Support for the Qualcomm MSM7627A Reference Design.
492
Taniya Das43bcdd62011-12-02 17:33:27 +0530493config MACH_MSM8625_RUMI3
494 depends on ARCH_MSM8625
495 depends on !MSM_STACKED_MEMORY
496 default y
497 bool "MSM8625 RUMI3"
498 help
499 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
500
Taniya Dase3027e22012-02-27 16:32:27 +0530501config MACH_MSM8625_SURF
502 depends on ARCH_MSM8625
503 depends on !MSM_STACKED_MEMORY
504 default y
505 bool "MSM8625 SURF"
506 help
507 Support for the Qualcomm MSM8625 SURF.
508
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530509config MACH_MSM8625_EVB
510 depends on ARCH_MSM8625
511 depends on !MSM_STACKED_MEMORY
512 default y
513 bool "MSM8625 EVB"
514 help
515 Support for the Qualcomm MSM8625 Reference Design.
516
Taniya Dasbd096542012-03-15 17:43:45 +0530517config MACH_MSM8625_QRD7
518 depends on ARCH_MSM8625
519 depends on !MSM_STACKED_MEMORY
520 default y
521 bool "MSM8625 QRD7"
522 help
523 Support for the Qualcomm MSM8625 Reference Design.
524
Daniel Walker7b521612010-05-06 12:44:57 -0700525config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700526 depends on ARCH_MSM7X30
527 depends on !MSM_STACKED_MEMORY
528 default y
529 bool "MSM7x30 SURF"
530 help
531 Support for the Qualcomm MSM7x30 SURF eval board.
532
533config MACH_MSM7X30_FFA
534 depends on ARCH_MSM7X30
535 depends on !MSM_STACKED_MEMORY
536 default y
537 bool "MSM7x30 FFA"
538 help
539 Support for the Qualcomm MSM7x30 FFA eval board.
540
541config MACH_MSM7X30_FLUID
542 depends on ARCH_MSM7X30
543 depends on !MSM_STACKED_MEMORY
544 default y
545 bool "MSM7x30 FLUID"
546 help
547 Support for the Qualcomm MSM7x30 FLUID eval board.
548
549config MACH_SAPPHIRE
550 depends on ARCH_MSM7X01A
551 default n
552 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700553
Daniel Walker4ad15e62010-05-06 13:54:17 -0700554config MACH_QSD8X50_SURF
555 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700556 depends on MSM_SOC_REV_NONE
557 depends on MSM_STACKED_MEMORY
558 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700559 bool "QSD8x50 SURF"
560 help
561 Support for the Qualcomm QSD8x50 SURF eval board.
562
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700563config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700564 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700565 depends on MSM_SOC_REV_NONE
566 depends on MSM_STACKED_MEMORY
567 default y
568 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700569 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700570 Support for the Qualcomm QSD8x50 FFA eval board.
571
572config MACH_MSM7X25_SURF
573 depends on ARCH_MSM7X25
574 depends on !MSM_STACKED_MEMORY
575 default y
576 bool "MSM7x25 SURF"
577 help
578 Support for the Qualcomm MSM7x25 SURF eval board.
579
580config MACH_MSM7X25_FFA
581 depends on ARCH_MSM7X25
582 depends on !MSM_STACKED_MEMORY
583 default y
584 bool "MSM7x25 FFA"
585 help
586 Support for the Qualcomm MSM7x25 FFA eval board.
587
588config MACH_MSM8X55_SURF
589 depends on ARCH_MSM7X30
590 depends on !MSM_STACKED_MEMORY
591 default y
592 bool "MSM8X55 SURF"
593 help
594 Support for the Qualcomm MSM8x55 SURF eval board.
595
596config MACH_MSM8X55_FFA
597 depends on ARCH_MSM7X30
598 depends on !MSM_STACKED_MEMORY
599 default y
600 bool "MSM8X55 FFA"
601 help
602 Support for the Qualcomm MSM8x55 FFA eval board.
603
604config MACH_MSM8X55_SVLTE_FFA
605 depends on ARCH_MSM7X30
606 depends on !MSM_STACKED_MEMORY
607 default y
608 bool "MSM8X55 SVLTE FFA"
609 help
610 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
611
612config MACH_MSM8X55_SVLTE_SURF
613 depends on ARCH_MSM7X30
614 depends on !MSM_STACKED_MEMORY
615 default y
616 bool "MSM8X55 SVLTE SURF"
617 help
618 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700619
Steve Mucklea55df6e2010-01-07 12:43:24 -0800620config MACH_MSM8X60_RUMI3
621 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700622 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800623 bool "MSM8x60 RUMI3"
624 help
625 Support for the Qualcomm MSM8x60 RUMI3 emulator.
626
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800627config MACH_MSM8X60_SIM
628 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700629 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800630 bool "MSM8x60 Simulator"
631 help
632 Support for the Qualcomm MSM8x60 simulator.
633
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700634config MACH_MSM8X60_SURF
635 depends on ARCH_MSM8X60
636 default n
637 bool "MSM8x60 SURF"
638 help
639 Support for the Qualcomm MSM8x60 SURF eval board.
640
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700641config MACH_MSM8X60_FFA
642 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700643 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700644 bool "MSM8x60 FFA"
645 help
646 Support for the Qualcomm MSM8x60 FFA eval board.
647
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700648config MACH_MSM8X60_FLUID
649 depends on ARCH_MSM8X60
650 default n
651 bool "MSM8x60 FLUID"
652 help
653 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
654 8x60 target which has a form factor that is much closer to that
655 of a phone than other targets. It also has a new display and
656 touchscreen controller.
657
658config MACH_MSM8X60_FUSION
659 depends on ARCH_MSM8X60
660 default n
661 bool "MSM8x60 FUSION"
662 help
663 Support for the Qualcomm MSM8x60 Fusion SURF device.
664
665config MACH_MSM8X60_FUSN_FFA
666 depends on ARCH_MSM8X60
667 default n
668 bool "MSM8x60 FUSN FFA"
669 help
670 Support for the Qualcomm MSM8x60 Fusion FFA device.
671
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400672config MACH_MSM8X60_DRAGON
673 depends on ARCH_MSM8X60
674 default n
675 bool "MSM8x60 DRAGON"
676 help
677 Support for the Qualcomm MSM8x60 Dragon board.
678
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800679config MACH_MSM8960_SIM
680 depends on ARCH_MSM8960
681 bool "MSM8960 Simulator"
682 help
683 Support for the Qualcomm MSM8960 simulator.
684
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800685config MACH_MSM8960_RUMI3
686 depends on ARCH_MSM8960
687 bool "MSM8960 RUMI3"
688 help
689 Support for the Qualcomm MSM8960 RUMI3 emulator.
690
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700691config MACH_MSM8960_CDP
692 depends on ARCH_MSM8960
693 bool "MSM8960 CDP"
694 help
695 Support for the Qualcomm MSM8960 CDP device.
696
697config MACH_MSM8960_MTP
698 depends on ARCH_MSM8960
699 bool "MSM8960 MTP"
700 help
701 Support for the Qualcomm MSM8960 MTP device.
702
703config MACH_MSM8960_FLUID
704 depends on ARCH_MSM8960
705 bool "MSM8960 FLUID"
706 help
707 Support for the Qualcomm MSM8960 FLUID device.
708
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300709config MACH_MSM8960_LIQUID
710 depends on ARCH_MSM8960
711 bool "MSM8960 LIQUID"
712 help
713 Support for the Qualcomm MSM8960 LIQUID device.
714
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700715config MACH_MSM8930_CDP
716 depends on ARCH_MSM8930
717 bool "MSM8930 CDP"
718 help
719 Support for the Qualcomm MSM8930 CDP device.
720
721config MACH_MSM8930_MTP
722 depends on ARCH_MSM8930
723 bool "MSM8930 MTP"
724 help
725 Support for the Qualcomm MSM8930 MTP device.
726
727config MACH_MSM8930_FLUID
728 depends on ARCH_MSM8930
729 bool "MSM8930 FLUID"
730 help
731 Support for the Qualcomm MSM8930 FLUID device.
732
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800733config MACH_MSM8627_CDP
734 depends on ARCH_MSM8930
735 bool "MSM8627 CDP"
736 help
737 Support for the Qualcomm MSM8627 CDP device.
738
739config MACH_MSM8627_MTP
740 depends on ARCH_MSM8930
741 bool "MSM8627 MTP"
742 help
743 Support for the Qualcomm MSM8627 MTP device.
744
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700745config MACH_MSM9615_CDP
746 depends on ARCH_MSM9615
747 bool "MSM9615 CDP"
748 help
749 Support for the Qualcomm MSM9615 CDP device.
750
751config MACH_MSM9615_MTP
752 depends on ARCH_MSM9615
753 bool "MSM9615 MTP"
754 help
755 Support for the Qualcomm MSM9615 MTP device.
756
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700757config MSM_USE_TSIF1
758 depends on ARCH_MSM8X60
759 bool "MSM8x60 use TSIF1"
760 help
761 Selects TSIF1 core to be used rather than TSIF0.
762 The two TSIF cores share the same DM configuration
763 so they cannot be used simultaneously.
764
765config MACH_APQ8064_SIM
766 depends on ARCH_APQ8064
767 bool "APQ8064 Simulator"
768 help
769 Support for the Qualcomm APQ8064 simulator.
770
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700771config MACH_APQ8064_RUMI3
772 depends on ARCH_APQ8064
773 bool "APQ8064 RUMI3"
774 help
775 Support for the Qualcomm APQ8064 RUMI3 emulator.
776
Joel King82b7e3f2012-01-05 10:03:27 -0800777config MACH_APQ8064_CDP
778 depends on ARCH_APQ8064
779 bool "APQ8064 CDP"
780 help
781 Support for the Qualcomm APQ8064 CDP device.
782
783config MACH_APQ8064_MTP
784 depends on ARCH_APQ8064
785 bool "APQ8064 MTP"
786 help
787 Support for the Qualcomm APQ8064 MTP device.
788
789config MACH_APQ8064_LIQUID
790 depends on ARCH_APQ8064
791 bool "APQ8064 LIQUID"
792 help
793 Support for the Qualcomm APQ8064 LIQUID device.
794
Joel King064bbf82012-04-01 13:23:39 -0700795config MACH_MPQ8064_CDP
796 depends on ARCH_APQ8064
797 bool "MPQ8064 CDP"
798 help
799 Support for the Qualcomm MPQ8064 CDP device.
800
Joel King11ca8202012-02-13 16:19:03 -0800801config MACH_MPQ8064_HRD
802 depends on ARCH_APQ8064
803 bool "MPQ8064 HRD"
804 help
805 Support for the Qualcomm MPQ8064 HRD device.
806
807config MACH_MPQ8064_DTV
808 depends on ARCH_APQ8064
809 bool "MPQ8064 DTV"
810 help
811 Support for the Qualcomm MPQ8064 DTV device.
812
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700813config MACH_FSM9XXX_SURF
814 depends on ARCH_FSM9XXX
815 depends on !MSM_STACKED_MEMORY
816 default y
817 bool "FSM9XXX SURF"
818 help
819 Support for the Qualcomm FSM9xxx femtocell
820 chipset based SURF evaluation board and
821 FFA board.
822
Daniel Walker4ad15e62010-05-06 13:54:17 -0700823endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800824
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700825config MSM_STACKED_MEMORY
826 bool "Stacked Memory"
827 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800828 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700829 This option is used to indicate the presence of on-die stacked
830 memory. When present this memory bank is used for a high speed
831 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800832
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700833config PHYS_OFFSET
834 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700835 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700836 default "0x80200000" if ARCH_APQ8064
837 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700838 default "0x80200000" if ARCH_MSM8930
Sathish Ambley39a1dc42012-03-19 21:46:26 -0700839 default "0x20200000" if ARCH_MSMCOPPER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700840 default "0x10000000" if ARCH_FSM9XXX
841 default "0x00200000" if !MSM_STACKED_MEMORY
842 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
843 default "0x20000000" if ARCH_QSD8X50
844 default "0x40200000" if ARCH_MSM8X60
845 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800846
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700847config KERNEL_PMEM_EBI_REGION
848 bool "Enable in-kernel PMEM region for EBI"
849 default y if ARCH_MSM8X60
Olav Hauganb800c8c2012-01-30 08:50:45 -0800850 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSMCOPPER)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700851 help
852 Enable the in-kernel PMEM allocator to use EBI memory.
853
854config KERNEL_PMEM_SMI_REGION
855 bool "Enable in-kernel PMEM region for SMI"
856 default y if ARCH_MSM8X60
857 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
858 help
859 Enable the in-kernel PMEM allocator to use SMI memory.
860
861config PMEM_GPU0
862 bool "Enable PMEM GPU0 region"
863 default y
864 depends on ARCH_QSD8X50 && ANDROID_PMEM
865 help
866 Enable the PMEM GPU0 device on SMI Memory.
867
868config MSM_AMSS_VERSION
869 int
870 default 6210 if MSM_AMSS_VERSION_6210
871 default 6220 if MSM_AMSS_VERSION_6220
872 default 6225 if MSM_AMSS_VERSION_6225
873
874choice
875 prompt "AMSS modem firmware version"
876
877 default MSM_AMSS_VERSION_6225
878
879 config MSM_AMSS_VERSION_6210
880 bool "6.2.10"
881
882 config MSM_AMSS_VERSION_6220
883 bool "6.2.20"
884
885 config MSM_AMSS_VERSION_6225
886 bool "6.2.20 + New ADSP"
887endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800888
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700889config MSM_HAS_DEBUG_UART_HS
890 bool
891 help
892 Say Y here if high speed MSM UART is present.
893
894config MSM_HAS_DEBUG_UART_HS_V14
895 bool
896 select MSM_HAS_DEBUG_UART_HS
897 help
898 Say Y here if high speed MSM UART v1.4 is present.
899
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800900config DEBUG_MSM8930_UART
901 bool "Kernel low-level debugging messages via MSM 8930 UART"
902 depends on ARCH_MSM8930 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700903 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800904 help
905 Say Y here if you want the debug print routines to direct
906 their output to the serial port on MSM 8930 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100907
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530908config MSM_DEBUG_UART_PHYS
909 hex
910 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
911 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
912 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
913 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
914 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
915 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
916 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
917 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
918
Pavel Machek6339f662009-11-02 11:48:29 +0100919choice
920 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800921 depends on DEBUG_LL
Pavel Machek6339f662009-11-02 11:48:29 +0100922
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800923 config DEBUG_MSM_UART1
924 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530925 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800926 help
927 Say Y here if you want the debug print routines to direct
928 their output to the first serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100929
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800930 config DEBUG_MSM_UART2
931 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530932 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800933 help
934 Say Y here if you want the debug print routines to direct
935 their output to the second serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100936
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800937 config DEBUG_MSM_UART3
938 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530939 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800940 help
941 Say Y here if you want the debug print routines to direct
942 their output to the third serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100943
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800944 config DEBUG_MSM8660_UART
945 bool "Kernel low-level debugging messages via MSM 8660 UART"
946 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700947 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800948 help
949 Say Y here if you want the debug print routines to direct
950 their output to the serial port on MSM 8660 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100951
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800952 config DEBUG_MSM8960_UART
953 bool "Kernel low-level debugging messages via MSM 8960 UART"
954 depends on ARCH_MSM8960
955 select DEBUG_MSM8930_UART
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700956 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800957 help
958 Say Y here if you want the debug print routines to direct
959 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700960
961 config DEBUG_MSMCOPPER_UART
962 bool "Kernel low-level debugging messages via MSM Copper UART"
963 depends on ARCH_MSMCOPPER
964 select MSM_HAS_DEBUG_UART_HS_V14
965 help
966 Say Y here if you want the debug print routines to direct
967 their output to the serial port on MSM Copper devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100968endchoice
969
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700970choice
971 prompt "Default Timer"
972 default MSM7X00A_USE_GP_TIMER
973
974 config MSM7X00A_USE_GP_TIMER
975 bool "GP Timer"
976 help
977 Low resolution timer that allows power collapse from idle.
978
979 config MSM7X00A_USE_DG_TIMER
980 bool "DG Timer"
981 help
982 High resolution timer.
983endchoice
984
985choice
986 prompt "Suspend sleep mode"
987 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
988 help
989 Allows overriding the sleep mode used. Leave at power
990 collapse suspend unless the arm9 image has problems.
991
992 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
993 bool "Power collapse suspend"
994 help
995 Lowest sleep state. Returns through reset vector.
996
997 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
998 bool "Power collapse"
999 help
1000 Sleep state that returns through reset vector.
1001
1002 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1003 bool "Apps Sleep"
1004
1005 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1006 bool "Ramp down cpu clock and wait for interrupt"
1007
1008 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1009 bool "Wait for interrupt"
1010endchoice
1011
1012config MSM7X00A_SLEEP_MODE
1013 int
1014 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1015 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1016 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1017 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1018 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1019
1020choice
1021 prompt "Idle sleep mode"
1022 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1023 help
1024 Allows overriding the sleep mode used from idle. Leave at power
1025 collapse suspend unless the arm9 image has problems.
1026
1027 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1028 bool "Power collapse suspend"
1029 help
1030 Lowest sleep state. Returns through reset vector.
1031
1032 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1033 bool "Power collapse"
1034 help
1035 Sleep state that returns through reset vector.
1036
1037 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1038 bool "Apps Sleep"
1039
1040 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1041 bool "Ramp down cpu clock and wait for interrupt"
1042
1043 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1044 bool "Wait for interrupt"
1045endchoice
1046
1047config MSM7X00A_IDLE_SLEEP_MODE
1048 int
1049 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1050 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1051 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1052 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1053 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1054
1055config MSM7X00A_IDLE_SLEEP_MIN_TIME
1056 int "Minimum idle time before sleep"
1057 default 20000000
1058 help
1059 Minimum idle time in nanoseconds before entering low power mode.
1060
1061config MSM7X00A_IDLE_SPIN_TIME
1062 int "Idle spin time before cpu ramp down"
1063 default 80000
1064 help
1065 Spin time in nanoseconds before ramping down cpu clock and entering
1066 any low power state.
1067
1068menuconfig MSM_IDLE_STATS
1069 bool "Collect idle statistics"
1070 default y
1071 help
1072 Collect idle statistics and export them in proc/msm_pm_stats.
1073
1074if MSM_IDLE_STATS
1075
1076config MSM_IDLE_STATS_FIRST_BUCKET
1077 int "First bucket time"
1078 default 62500
1079 help
1080 Upper time limit in nanoseconds of first bucket.
1081
1082config MSM_IDLE_STATS_BUCKET_SHIFT
1083 int "Bucket shift"
1084 default 2
1085
1086config MSM_IDLE_STATS_BUCKET_COUNT
1087 int "Bucket count"
1088 default 10
1089
1090config MSM_SUSPEND_STATS_FIRST_BUCKET
1091 int "First bucket time for suspend"
1092 default 1000000000
1093 help
1094 Upper time limit in nanoseconds of first bucket of the
1095 histogram. This is for collecting statistics on suspend.
1096
1097endif # MSM_IDLE_STATS
1098
1099config CPU_HAS_L2_PMU
1100 bool "L2CC PMU Support"
1101 help
1102 Select this if the L2 cache controller has a Performance Monitoring Unit.
1103
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001104config HTC_HEADSET
1105 tristate "HTC 2 Wire detection driver"
1106 default n
1107 help
1108 Provides support for detecting HTC 2 wire devices, such as wired
1109 headset, on the trout platform. Can be used with the msm serial
1110 debugger, but not with serial console.
1111
1112config TROUT_BATTCHG
1113 depends on MACH_TROUT && POWER_SUPPLY
1114 default y
1115 bool "Trout battery / charger driver"
1116
1117config HTC_PWRSINK
1118 depends on MSM_SMD
1119 default n
1120 bool "HTC Power Sink Driver"
1121
1122config QSD_SVS
1123 bool "QSD Static Voltage Scaling"
1124 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1125 default y
1126 select TPS65023
1127 help
1128 Enables static voltage scaling using the TPS65023 PMIC.
1129
1130config QSD_PMIC_DEFAULT_DCDC1
1131 int "PMIC default output voltage"
1132 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1133 default 1250
1134 help
1135 This is the PMIC voltage at Linux kernel boot.
1136
1137config MSM_FIQ_SUPPORT
1138 default y
1139 bool "Enable installation of an FIQ handler."
1140
1141config MSM_SERIAL_DEBUGGER
1142 select MSM_FIQ_SUPPORT
1143 select KERNEL_DEBUGGER_CORE
1144 default n
1145 bool "FIQ Mode Serial Debugger"
1146 help
1147 The FIQ serial debugger can accept commands even when the
1148 kernel is unresponsive due to being stuck with interrupts
1149 disabled. Depends on the kernel debugger core in drivers/misc.
1150
1151config MSM_SERIAL_DEBUGGER_CONSOLE
1152 depends on MSM_SERIAL_DEBUGGER
1153 default n
1154 bool "Console on FIQ Serial Debugger port"
1155 help
1156 Enables a console so that printk messages are displayed on
1157 the debugger serial port as the occur.
Daniel Walkerbf83de42010-03-16 16:29:44 -07001158
Steve Mucklec8aabae2010-04-21 16:20:27 -07001159config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001160 default y
1161 bool "Proc-Comm RPC Interface"
1162 help
1163 Enables a lightweight communications interface to the
1164 baseband processor.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001165
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001166config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001167 bool "MSM Shared Memory Driver (SMD)"
1168 help
1169 Support for the shared memory interface between the apps
1170 processor and the baseband processor. Provides access to
1171 the "shared heap", as well as virtual serial channels
1172 used to communicate with various services on the baseband
1173 processor.
1174
1175choice
1176 prompt "MSM Shared memory interface version"
1177 depends on MSM_SMD
1178 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1179 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1180
1181 config MSM_SMD_PKG3
1182 bool
1183 prompt "Package 3"
1184
1185 config MSM_SMD_PKG4
1186 bool
1187 prompt "Package 4"
1188endchoice
1189
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001190config MSM_RPC_SDIO_XPRT
1191 depends on MSM_SDIO_AL
1192 default y
1193 bool "MSM SDIO XPRT Layer"
1194 help
1195 SDIO Transport Layer for RPC Rouer
1196
1197config MSM_RPC_SDIO_DEBUG
1198 depends on MSM_RPC_SDIO_XPRT
1199 default y
1200 bool "MSM SDIO XPRT debug support"
1201 help
1202 Support for debugging SDIO XPRT
1203
1204config MSM_SMD_DEBUG
1205 depends on MSM_SMD
1206 default y
1207 bool "MSM SMD debug support"
1208 help
1209 Support for debugging the SMD for communication
1210 between the ARM9 and ARM11
1211
1212config MSM_SDIO_AL
1213 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1214 default y
1215 tristate "SDIO-Abstraction-Layer"
1216 help
1217 Support MSM<->MDM Communication over SDIO bus.
1218 MDM SDIO-Client should have pipes support.
1219
1220config MSM_SDIO_DMUX
1221 bool "SDIO Data Mux Driver"
1222 depends on MSM_SDIO_AL
1223 default n
1224 help
1225 Support Muxed Data Channels over SDIO interface.
1226
1227config MSM_BAM_DMUX
1228 bool "BAM Data Mux Driver"
1229 depends on SPS
1230 default n
1231 help
1232 Support Muxed Data Channels over BAM interface.
1233 BAM has a limited number of pipes. This driver
1234 provides a means to support more logical channels
1235 via muxing than BAM could without muxing.
1236
1237config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001238 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001239 default y
1240 bool "MSM N-WAY SMD support"
1241 help
1242 Supports APPS-QDSP SMD communication along with
1243 normal APPS-MODEM SMD communication.
1244
1245config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001246 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001247 default y
1248 bool "MSM N-WAY SMSM support"
1249 help
1250 Supports APPS-QDSP SMSM communication along with
1251 normal APPS-MODEM SMSM communication.
1252
1253config MSM_RESET_MODEM
1254 tristate "Reset Modem Driver"
1255 depends on MSM_SMD
1256 default m
1257 help
1258 Allows the user to reset the modem through a device node.
1259
1260config MSM_SMD_LOGGING
1261 depends on MSM_SMD
1262 default y
1263 bool "MSM Shared Memory Logger"
1264 help
1265 This option exposes the shared memory logger at /dev/smem_log
1266 and a debugfs node named smem_log.
1267
1268 If in doubt, say yes.
1269
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001270config MSM_IPC_LOGGING
1271 bool "MSM Debug Logging for IPC Drivers"
1272 help
1273 This option allows the debug logging for IPC Drivers.
1274
1275 If in doubt, say no.
1276
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001277config MSM_SMD_NMEA
1278 bool "NMEA GPS Driver"
1279 depends on MSM_SMD
1280 default y
1281 help
1282 Enable this to support the NMEA GPS device.
1283
1284 If in doubt, say yes.
1285
1286config MSM_SDIO_TTY
1287 bool "SDIO TTY Driver"
1288 depends on MSM_SDIO_AL
1289 default n
1290 help
1291 Provides a TTY driver SDIO TTY
1292 This driver can be used by user space
1293 applications for passing data through the
1294 SDIO interface.
1295
1296config MSM_SMD_TTY
1297 bool "SMD TTY Driver"
1298 depends on MSM_SMD
1299 default y
1300 help
1301 Provides TTY interfaces to interact with the modem.
1302
1303 If in doubt, say yes.
1304
1305config MSM_SMD_QMI
1306 bool "SMD QMI Driver"
1307 depends on MSM_SMD
1308 default y
1309 help
1310 Manages network data connections.
1311
1312 If in doubt, say yes.
1313
1314config MSM_SMD_PKT
1315 bool "SMD Packet Driver"
1316 depends on MSM_SMD
1317 default y
1318 help
1319 Provides a binary SMD non-muxed packet port interface.
1320
1321 If in doubt, say yes.
1322
1323config MSM_SDIO_CMUX
1324 bool "SDIO CMUX Driver"
1325 depends on MSM_SDIO_AL
1326 default n
1327 help
1328 Provides a Muxed port interface over SDIO QMI
1329
1330config MSM_DSPS
1331 bool "Sensors DSPS driver"
1332 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1333 default n
1334 help
1335 Provides user-space interface to the sensors manager
1336 to turn on/off the Sensors Processor system clocks.
1337 It is the DSPS responsibility to turn on/off the sensors
1338 themself.
1339 The number of clocks and their name may vary between targets.
1340 It also triggers the PIL to load the DSPS firmware.
1341
1342config MSM_SDIO_CTL
1343 bool "SDIO CTL Driver"
1344 depends on MSM_SDIO_CMUX
1345 default n
1346 help
1347 Provides a binary SDIO control port interface.
1348
1349config MSM_ONCRPCROUTER
1350 depends on MSM_SMD
1351 default n
1352 bool "MSM ONCRPC router support"
1353 help
1354 Support for the MSM ONCRPC router for communication between
1355 the ARM9 and ARM11
1356
1357config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001358 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001359 default n
1360 bool "MSM IPC Router support"
1361 help
1362 Support for the MSM IPC Router for communication between
1363 the APPs and the MODEM
1364
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001365config MSM_IPC_ROUTER_SMD_XPRT
1366 depends on MSM_SMD
1367 depends on MSM_IPC_ROUTER
1368 default n
1369 bool "MSM SMD XPRT Layer"
1370 help
1371 SMD Transport Layer for IPC Router
1372
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001373config MSM_ONCRPCROUTER_DEBUG
1374 depends on MSM_ONCRPCROUTER
1375 default y
1376 bool "MSM debug ONCRPC router support"
1377 help
1378 Support for debugging the ONCRPC router for communication
1379 between the ARM9 and ARM11
1380
1381config MSM_RPC_LOOPBACK_XPRT
1382 depends on MSM_ONCRPCROUTER
1383 default n
1384 bool "MSM RPC local routing support"
1385 help
1386 Support for routing RPC messages between APPS clients
1387 and APPS servers. Helps in testing APPS RPC framework.
1388
1389config MSM_RPCSERVER_TIME_REMOTE
1390 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1391 default y
1392 bool "Time remote RPC server"
1393 help
1394 The time remote server receives notification of time bases and
1395 reports these events to registered callback functions.
1396
1397config MSM_RPCSERVER_WATCHDOG
1398 depends on MSM_ONCRPCROUTER
1399 default y
1400 bool "Watchdog RPC server"
1401 help
1402 The dog_keepalive server handles watchdog events.
1403
1404config MSM_RPC_WATCHDOG
1405 depends on MSM_ONCRPCROUTER
1406 default n
1407 bool "Watchdog RPC client"
1408 help
1409 The dog_keepalive client module.
1410
1411config MSM_RPC_PING
1412 depends on MSM_ONCRPCROUTER && DEBUG_FS
1413 default m
1414 bool "MSM rpc ping"
1415 help
1416 Implements MSM rpc ping test module.
1417
1418config MSM_RPC_PROC_COMM_TEST
1419 depends on DEBUG_FS && MSM_PROC_COMM
1420 default m
1421 bool "MSM rpc proc comm test"
1422 help
1423 Implements MSM rpc proc comm test module.
1424
1425config MSM_RPC_OEM_RAPI
1426 depends on MSM_ONCRPCROUTER
1427 default m
1428 bool "MSM oem rapi"
1429 help
1430 Implements MSM oem rapi client module.
1431
1432config MSM_RPCSERVER_HANDSET
1433 depends on MSM_ONCRPCROUTER
1434 default y
1435 bool "Handset events RPC server"
1436 help
1437 Support for receiving handset events like headset detect,
1438 headset switch and clamshell state.
1439
1440config MSM_RMT_STORAGE_CLIENT
1441 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1442 default n
1443 bool "Remote Storage RPC client"
1444 help
1445 Provide RPC mechanism for remote processors to access storage
1446 device on apps processor.
1447
1448config MSM_RMT_STORAGE_CLIENT_STATS
1449 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1450 default n
1451 bool "Remote storage RPC client performance statistics"
1452 help
1453 Collects performance statistics and shows this information
1454 through a debugfs file rmt_storage_stats.
1455
1456config MSM_SDIO_SMEM
1457 depends on MSM_SDIO_AL
1458 default n
1459 bool "SDIO SMEM for remote storage"
1460 help
1461 Copies data from remote MDM9K memory to local MSM8x60
1462 memory. Used by remote storage client to shadow
1463 MDM9K filesystem.
1464
1465config MSM_DALRPC
1466 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001467 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001468 help
1469 Supports RPC calls to DAL devices on remote processor cores.
1470
1471config MSM_DALRPC_TEST
1472 tristate "DAL RPC test module"
1473 depends on (MSM_DALRPC && DEBUG_FS)
1474 default m
1475 help
1476 Exercises DAL RPC calls to QDSP6.
1477
1478if CPU_FREQ_MSM
1479
1480config MSM_CPU_FREQ_SET_MIN_MAX
1481 bool "Set Min/Max CPU frequencies."
1482 default n
1483 help
1484 Allow setting min and max CPU frequencies. Sysfs can be used
1485 to override these values.
1486
1487config MSM_CPU_FREQ_MAX
1488 int "Max CPU Frequency"
1489 depends on MSM_CPU_FREQ_SET_MIN_MAX
1490 default 384000
1491
1492config MSM_CPU_FREQ_MIN
1493 int "Min CPU Frequency"
1494 depends on MSM_CPU_FREQ_SET_MIN_MAX
1495 default 245760
1496
1497endif # CPU_FREQ_MSM
1498
1499config MSM_CPU_AVS
1500 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1501 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1502 depends on ARCH_QSD8X50
1503 default n
1504 select MSM_AVS_HW
1505 help
1506 This enables the s/w control of Adaptive Voltage Scaling feature
1507 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1508 based on feedback from three ring oscillators in the CPU.
1509
1510config MSM_AVS_HW
1511 bool "Enable Adaptive Voltage Scaling (AVS)"
1512 default n
1513 help
1514 Enable AVS hardware to fine tune voltage at each frequency. The
1515 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1516 fine tune the voltages based on the feedback from the ring
1517 oscillators.
1518
1519config MSM_HW3D
1520 tristate "MSM Hardware 3D Register Driver"
1521 depends on ANDROID_PMEM
1522 default y
1523 help
1524 Provides access to registers needed by the userspace OpenGL|ES
1525 library.
1526
1527config MSM_ADSP
1528 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1529 tristate "MSM ADSP driver"
1530 depends on ANDROID_PMEM
1531 default y
1532 help
1533 Provides access to registers needed by the userspace aDSP library.
1534
1535config ADSP_RPC_VER
1536 hex
1537 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1538 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1539 depends on MSM_ADSP
1540 help
1541 Select proper ADSP RPC version
1542choice
1543 prompt "ADSP RPC version"
1544
1545 default AMSS_7X25_VERSION_2009
1546
1547 config AMSS_7X25_VERSION_2009
1548 bool "2.0.09"
1549
1550 config AMSS_7X25_VERSION_2008
1551 bool "2.0.08"
1552endchoice
1553
1554config MSM7KV2_AUDIO
1555 bool "MSM7K v2 audio"
1556 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1557 default y
1558 help
1559 Enables QDSP5V2-based audio drivers for audio playbacks and
1560 voice call.
1561
1562config MSM_ADSP_REPORT_EVENTS
1563 bool "Report modem events from the DSP"
1564 default y
1565 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1566 help
1567 Normally, only messages from the aDSP are reported to userspace.
1568 With this option, we report events from the aDSP as well.
1569
1570config MSM_QDSP6
1571 tristate "QDSP6 support"
1572 depends on ARCH_QSD8X50 && ANDROID_PMEM
1573 default y
1574 help
1575 Enable support for qdsp6. This provides audio and video functionality.
1576
1577config MSM8X60_AUDIO
1578 tristate "MSM8X60 audio support"
1579 depends on ARCH_MSM8X60 && ANDROID_PMEM
1580 default y
1581 help
1582 Enable support for qdsp6v2. This provides audio functionality.
1583
1584config MSM8X60_FTM_AUDIO_DEVICES
1585 bool "MSM8X60 audio factory test mode support"
1586 depends on MSM8X60_AUDIO
1587 help
1588 Enable support audio factory test mode devices. This is used
1589 in a production line environment.
1590
Ben Romberger45b351c2011-07-20 22:37:27 -07001591config RTAC
1592 bool "MSM8K real-time audio calibration support"
1593 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001594 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001595 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001596 audio operation
1597
1598config MSM7X27A_AUDIO
1599 bool "MSM7X27A audio support"
1600 depends on ARCH_MSM7X27A && MSM_ADSP
1601 default n
1602 help
1603 Enable support for 7x27a. This provides audio functionality.
1604
Justin Pauporea6cd2092011-06-22 16:19:45 -07001605config MSM_PROC_COMM_REGULATOR
1606 bool
1607 depends on MSM_PROC_COMM && REGULATOR
1608 help
1609 Enable regulator framework support for regulators managed by PMLIB
1610 on the modem, and controlled through proccomm calls.
1611
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001612config MSM_VREG_SWITCH_INVERTED
1613 bool "Reverse vreg switch polarity"
1614 default n
1615 help
1616 Reverses the enable and disable for vreg switch.
1617
1618config MSM_DMA_TEST
1619 tristate "MSM DMA test module"
1620 default m
1621 help
1622 Intended to be compiled as a module. Provides a device node
1623 and ioctls for testing the MSM dma system.
1624
1625config WIFI_CONTROL_FUNC
1626 bool "Enable WiFi control function abstraction"
1627 help
1628 Enables Power/Reset/Carddetect function abstraction
1629
1630config WIFI_MEM_PREALLOC
1631 depends on WIFI_CONTROL_FUNC
1632 bool "Preallocate memory for WiFi buffers"
1633 help
1634 Preallocates memory buffers for WiFi driver
1635
1636config QSD_AUDIO
1637 bool "QSD audio"
1638 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1639 default y
1640 help
1641 Provides PCM, MP3, and AAC audio playback.
1642
1643config AUDIO_AAC_PLUS
1644 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1645 bool "AAC+ Audio"
1646 default y
1647 help
1648 Provides AAC+ decoding
1649
1650config AUDIO_ENHANCED_AAC_PLUS
1651 depends on AUDIO_AAC_PLUS
1652 bool "Enhanced AAC+ Audio"
1653 default y
1654 help
1655 Provides Enhanced AAC+ decoding
1656
1657config SURF_FFA_GPIO_KEYPAD
1658 bool "MSM SURF/FFA GPIO keypad"
1659 depends on INPUT_GPIO = "y"
1660 default y
1661 help
1662 Select if the GPIO keypad is attached.
1663
1664config MSM_SLEEP_TIME_OVERRIDE
1665 bool "Allow overriding suspend/sleep time with PM module parameter"
1666 default y
1667 help
1668 Enable the module parameter sleep_time_override. Specified
1669 in units of seconds, it overwrites the normal sleep time of
1670 suspend. The feature is required for automated power management
1671 testing.
1672
1673config MSM_MEMORY_LOW_POWER_MODE
1674 bool "Control the low power modes of memory"
1675 default n
1676 help
1677 The application processor controls whether memory should enter
1678 which low power mode.
1679
1680choice
1681 prompt "Default Memory Low Power Mode during Idle"
1682 depends on MSM_MEMORY_LOW_POWER_MODE
1683 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1684 help
1685 Selects the default low power mode of the memory during idle
1686 sleep.
1687
1688 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1689 bool "Memory active"
1690
1691 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1692 bool "Memory in retention"
1693
1694 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1695 bool "Memory in deep power down"
1696endchoice
1697
1698choice
1699 prompt "Default Memory Low Power Mode during Suspend"
1700 depends on MSM_MEMORY_LOW_POWER_MODE
1701 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1702 help
1703 Selects the default low power mode of the memory during suspend
1704 sleep.
1705
1706 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1707 bool "Memory active"
1708
1709 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1710 bool "Memory in retention"
1711
1712 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1713 bool "Memory in deep power down"
1714endchoice
1715
1716choice
1717 prompt "Power management timeout action"
1718 default MSM_PM_TIMEOUT_HALT
1719 help
1720 Selects the Application Processor's action when Power Management
1721 times out waiting for Modem's handshake.
1722
1723 config MSM_PM_TIMEOUT_HALT
1724 bool "Halt the Application Processor"
1725
1726 config MSM_PM_TIMEOUT_RESET_MODEM
1727 bool "Reset the Modem Processor"
1728
1729 config MSM_PM_TIMEOUT_RESET_CHIP
1730 bool "Reset the entire chip"
1731endchoice
1732
1733config MSM_IDLE_WAIT_ON_MODEM
1734 int "Wait for Modem to become ready for idle power collapse"
1735 default 0
1736 help
1737 If Modem is not ready to handle Application Processor's request
1738 for idle power collapse, wait the number of microseconds in case
1739 Modem becomes ready soon.
1740
Matt Wagantall9274df92011-12-15 11:11:05 -08001741config MSM_RPM_REGULATOR
1742 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001743 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001744 help
1745 Compile in support for the RPM regulator driver, used for setting
1746 voltages and other parameters of the various power rails supplied
1747 by some Qualcomm PMICs.
1748
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001749config MSM_PIL
1750 bool "Peripheral image loading"
1751 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001752 default n
1753 help
1754 Some peripherals need to be loaded into memory before they can be
1755 brought out of reset.
1756
1757 Say yes to support these devices.
1758
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001759config MSM_PIL_MODEM
1760 tristate "Modem (ARM11) Boot Support"
1761 depends on MSM_PIL
1762 help
1763 Support for booting and shutting down ARM11 Modem processors.
1764
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001765config MSM_PIL_QDSP6V3
1766 tristate "QDSP6v3 (Hexagon) Boot Support"
1767 depends on MSM_PIL
1768 help
1769 Support for booting and shutting down QDSP6v3 processors (hexagon).
1770 The QDSP6 is a low power DSP used in audio software applications.
1771
Stephen Boydeb819882011-08-29 14:46:30 -07001772config MSM_PIL_QDSP6V4
1773 tristate "QDSP6v4 (Hexagon) Boot Support"
1774 depends on MSM_PIL
1775 help
1776 Support for booting and shutting down QDSP6v4 processors (hexagon).
1777 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1778 software applications.
1779
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001780config MSM_PIL_LPASS_QDSP6V5
1781 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
1782 depends on MSM_PIL
1783 help
1784 Support for booting and shutting down QDSP6v5 processors (Hexagon)
1785 processors in low power audio subsystems.
1786
Stephen Boyd322a9922011-09-20 01:05:54 -07001787config MSM_PIL_RIVA
1788 tristate "RIVA (WCNSS) Boot Support"
1789 depends on MSM_PIL
1790 help
1791 Support for booting and shutting down the RIVA processor (WCNSS).
1792 Riva is the wireless subsystem processor used in bluetooth, wireless
1793 LAN, and FM software applications.
1794
Stephen Boydd89eebe2011-09-28 23:28:11 -07001795config MSM_PIL_TZAPPS
1796 tristate "TZApps Boot Support"
1797 depends on MSM_PIL
1798 help
1799 Support for booting and shutting down TZApps.
1800
1801 TZApps is an image that runs in the secure processor state. It is
1802 used to decrypt data and perform secure operations on the behalf of
1803 the kernel.
1804
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07001805config MSM_PIL_DSPS
1806 tristate "DSPS Boot Support"
1807 depends on MSM_PIL
1808 help
1809 Support for booting and shutting down ARM7 DSPS processors.
1810
1811 DSPS is a sensors offloading processor used for applications such
1812 as rotation detection, temperature, etc.
1813
Stephen Boyd7b973de2012-03-09 12:26:16 -08001814config MSM_PIL_VIDC
1815 tristate "Video Core Secure Boot Support"
1816 depends on MSM_PIL
1817 help
1818 Support for authenticating the video core image.
1819
Matt Wagantall292aace2012-01-26 19:12:34 -08001820config MSM_PIL_GSS
1821 tristate "GSS (Coretx A5) Boot Support"
1822 depends on MSM_PIL
1823 help
1824 Support for booting and shutting down Cortex A5 processors which run
1825 GPS subsystem firmware.
1826
Tianyi Gouc1e049f82011-11-23 14:20:16 -08001827config MSM_PIL_PRONTO
1828 tristate "PRONTO (WCNSS) Boot Support"
1829 depends on MSM_PIL
1830 help
1831 Support for booting and shutting down the PRONTO processor (WCNSS).
1832 PRONTO is the wireless subsystem processor used in bluetooth, wireless
1833 LAN, and FM software applications.
1834
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001835config MSM_SCM
1836 bool "Secure Channel Manager (SCM) support"
1837 default n
1838
1839config MSM_SUBSYSTEM_RESTART
1840 bool "MSM Subsystem Restart Driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001841 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001842 default n
1843 help
1844 This option enables the MSM subsystem restart driver, which provides
1845 a framework to handle subsystem crashes.
1846
Matt Wagantallf8020902011-08-30 21:19:23 -07001847config MSM_SYSMON_COMM
1848 bool "MSM System Monitor communication support"
1849 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1850 default y
1851 help
1852 This option adds support for MSM System Monitor library, which
1853 provides an API that may be used for notifying subsystems within
1854 the SoC about other subsystems' power-up/down state-changes.
1855
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001856config MSM_MODEM_8960
1857 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001858 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001859 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001860 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001861 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001862 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001863
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001864config MSM_LPASS_8960
1865 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001866 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001867 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001868 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001869 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001870 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001871
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001872config MSM_WCNSS_SSR_8960
1873 tristate "MSM 8960 WCNSS restart module"
1874 depends on (ARCH_MSM8960)
1875 help
1876 This option enables the WCNSS restart module for MSM8960, which
1877 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1878 into the subsystem restart framework.
1879
Rohit Vaswanid0fb4182012-03-19 18:07:59 -07001880config MSM_GSS_SSR_8064
1881 bool "MSM 8064 GSS restart driver"
1882 depends on (ARCH_APQ8064)
1883 help
1884 This option enables the gps subsystem restart driver for APQ8064, which monitors
1885 gss hardware watchdog interrupt lines and plugs into the subsystem
1886 restart and PIL drivers.
1887
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001888config SCORPION_Uni_45nm_BUG
1889 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1890 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1891 default y
1892 help
1893 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1894 invalidating the Branch Predictor Array by Modified Virtual Address can
1895 create invalid entries in the TLB with the wrong ASID values on Scorpion
1896 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1897 workaround for Scorpion Uniprocessor 45nm cores.
1898
1899 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1900
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001901config MSM_BUSPM_DEV
1902 tristate "MSM Bus Performance Monitor Kernel Module"
1903 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1904 default m
1905 help
1906 This kernel module is used to mmap() hardware registers for the
1907 performance monitors, counters, etc. The module can also be used to
1908 allocate physical memory which is used by bus performance hardware to
1909 dump performance data.
1910
Mona Hossain11c03ac2011-10-26 12:42:10 -07001911config MSM_TZ_LOG
1912 tristate "MSM Trust Zone (TZ) Log Driver"
1913 depends on DEBUG_FS
1914 help
1915 This option enables a driver with a debugfs interface for messages
1916 produced by the Secure code (Trust zone). These messages provide
1917 diagnostic information about TZ operation.
1918
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001919config MSM_RPM_LOG
1920 tristate "MSM Resource Power Manager Log Driver"
1921 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001922 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001923 default n
1924 help
1925 This option enables a driver which can read from a circular buffer
1926 of messages produced by the RPM. These messages provide diagnostic
1927 information about RPM operation. The driver outputs the messages
1928 via a debugfs node.
1929
1930config MSM_RPM_STATS_LOG
1931 tristate "MSM Resource Power Manager Stat Driver"
1932 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001933 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001934 default n
1935 help
1936 This option enables a driver which reads RPM messages from a shared
1937 memory location. These messages provide statistical information about
1938 the low power modes that RPM enters. The drivers outputs the message
1939 via a debugfs node.
1940
1941config MSM_IOMMU
1942 bool "MSM IOMMU Support"
Joel King41d594e2011-10-14 13:18:20 -07001943 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_APQ8064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001944 select IOMMU_API
1945 default n
1946 help
1947 Support for the IOMMUs found on certain Qualcomm SOCs.
1948 These IOMMUs allow virtualization of the address space used by most
1949 cores within the multimedia subsystem.
1950
1951 If unsure, say N here.
1952
1953config IOMMU_PGTABLES_L2
1954 bool "Allow SMMU page tables in the L2 cache (Experimental)"
1955 depends on MSM_IOMMU=y
1956 depends on MMU
1957 depends on CPU_DCACHE_DISABLE=n
1958 depends on SMP
1959 default y
1960 help
1961 Improves TLB miss latency at the expense of potential L2 pollution.
1962 However, with large multimedia buffers, the TLB should mostly contain
1963 section mappings and TLB misses should be quite infrequent.
1964 Most people can probably say Y here.
1965
1966config MSM_DIRECT_SCLK_ACCESS
1967 bool "Direct access to the SCLK timer"
1968 default n
1969
1970config IOMMU_API
1971 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001972
Gregory Beanab78cde2010-09-01 16:26:12 -07001973config MSM_GPIOMUX
1974 bool
1975
Gregory Bean1963a2a2010-08-28 10:05:44 -07001976config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001977 bool
1978
1979config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07001980 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001981
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001982config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001983 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001984
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001985config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001986 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001987
Matt Wagantall88b86312012-01-31 16:53:03 -08001988config MSM_PM
1989 depends on PM
1990 bool
1991
1992config MSM_PM2
1993 depends on PM
1994 bool
1995
1996config MSM_PM8X60
1997 depends on PM
1998 bool
1999
2000config MSM_NOPM
2001 default y if !PM
2002 bool
2003
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002004config MSM_BUS_SCALING
2005 bool "Bus scaling driver"
2006 default n
2007
Gagan Mac85c70492011-06-10 16:07:47 -06002008config MSM_BUS_RPM_MULTI_TIER_ENABLED
2009 bool "RPM Multi-tiering Configuration"
2010 depends on MSM_BUS_SCALING
2011
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002012config MSM_WATCHDOG
2013 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002014 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002015 help
2016 This enables the watchdog as is present on 8x60. Currently we use
2017 core 0's watchdog, and reset the entire SoC if it times out. It does
2018 not run during the bootup process, so it will not catch any early
2019 lockups.
2020
2021config MSM_DLOAD_MODE
2022 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07002023 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002024 default n
2025 help
2026 This makes the SoC enter download mode when it resets
2027 due to a kernel panic. Note that this doesn't by itself
2028 make the kernel reboot on a kernel panic - that must be
2029 enabled via another mechanism.
2030
Pratik Patel17f3b822011-11-21 12:41:47 -08002031config MSM_JTAG
2032 bool "JTAG debug and trace support"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002033 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002034 Add additional support for JTAG kernel debugging and tracing.
Pratik Patel7831c082011-06-08 21:44:37 -07002035
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002036config MSM_ETM
2037 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002038 depends on ARCH_MSM8X60
2039 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002040 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002041 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002042
2043config MSM_QDSS
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002044 bool "Qualcomm Debug Subsystem"
Pratik Patel17f3b822011-11-21 12:41:47 -08002045 select MSM_JTAG
Pratik Patel7831c082011-06-08 21:44:37 -07002046 help
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002047 Enables support for Qualcomm Debug Subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002048
Pratik Patel29cba152012-01-03 11:40:26 -08002049config MSM_QDSS_ETM_DEFAULT_ENABLE
2050 bool "Turn on QDSS ETM Tracing by Default"
2051 depends on MSM_QDSS
2052 help
2053 Turns on QDSS ETM tracing by default. Otherwise, tracing is
2054 disabled by default but can be enabled by other means.
2055
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002056config MSM_SLEEP_STATS
2057 bool "Enable exporting of MSM sleep stats to userspace"
2058 depends on CPU_IDLE
2059 default n
2060
Lynus Vazdde09ee2012-01-05 13:28:22 +05302061config MSM_SLEEP_STATS_DEVICE
2062 bool "Enable exporting of MSM sleep device stats to userspace"
2063
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302064config MSM_RUN_QUEUE_STATS
2065 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Krishna Vankae2922052012-03-02 09:59:12 +05302066 depends on (MSM_SOC_REV_A || ARCH_MSM8X60 || ARCH_MSM8960)
2067 help
2068 This option enalbes statistics collection on Run Queue. A daemon
2069 in user mode, called MPDecision will be using this data to decide
2070 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302071
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002072config MSM_STANDALONE_POWER_COLLAPSE
2073 bool "Enable standalone power collapse"
2074 default n
2075
2076config MSM_GSBI9_UART
2077 bool "Enable GSBI9 UART device"
2078 default n
2079 help
2080 This enables GSBI9 configured into UART.
2081
2082config MSM_SHARED_GPIO_FOR_UART2DM
2083 bool "Use shared GPIOs into UART mode"
2084 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2085 help
2086 This option configures GPIO muxed with SDC4/MMC3
2087 8-bit mode into UART mode. It is used for serial
2088 console on UART2DM. Say Y if you want to have
2089 serial console on UART2DM.
2090
2091config MSM_SHOW_RESUME_IRQ
2092 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002093 depends on (ARM_GIC || PMIC8058)
2094 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002095 default n
2096 help
2097 This option logs wake up interrupts that have triggered just before
2098 the resume loop unrolls. Say Y if you want to debug why the system
2099 resumed.
2100
2101config BT_MSM_PINTEST
2102 tristate "MSM Bluetooth Pin Connectivity Test"
2103 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2104 default n
2105 help
2106 Bluetooth MSM Pin Connectivity test module.
2107 This driver provides support for verifying the MSM to BT pin
2108 connectivity.
2109
2110config MSM_FAKE_BATTERY
2111 depends on POWER_SUPPLY
2112 default n
2113 bool "MSM Fake Battery"
2114 help
2115 Enables MSM fake battery driver.
2116
2117config MSM_QDSP6_APR
2118 bool "Audio QDSP6 APR support"
2119 depends on MSM_SMD
2120 default n
2121 help
2122 Enable APR IPC protocol support between
2123 application processor and QDSP6. APR is
2124 used by audio driver to configure QDSP6's
2125 ASM, ADM and AFE.
2126
2127
2128config MSM_AUDIO_QDSP6
2129 bool "QDSP6 HW Audio support"
2130 select SND_SOC_MSM_QDSP6_INTF
2131 default n
2132 help
2133 Enable HW audio support in QDSP6.
2134 QDSP6 can support HW encoder & decoder and audio processing
2135
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002136config MSM_ULTRASOUND
2137 bool "MSM ultrasound support"
2138 depends on MSM_AUDIO_QDSP6
2139 help
2140 Enable support for qdsp6/ultrasound.
2141
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002142config MSM_RPC_VIBRATOR
2143 bool "RPC based MSM Vibrator Support"
2144 depends on MSM_ONCRPCROUTER
2145 help
2146 Enable the vibrator support on MSM over RPC. The vibrator
2147 is connected on the PMIC. Say Y if you want to enable this
2148 feature.
2149
2150config PM8XXX_RPC_VIBRATOR
2151 bool "RPC based Vibrator on PM8xxx PMICs"
2152 depends on MSM_RPC_VIBRATOR
2153 help
2154 Enable the vibrator support on MSM over RPC. The vibrator
2155 is connected on the PM8XXX PMIC. Say Y if you want to enable
2156 this feature.
2157
2158config MSM_SPM_V1
2159 bool "Driver support for SPM Version 1"
2160 help
2161 Enables the support for Version 1 of the SPM driver. SPM hardware is
2162 used to manage the processor power during sleep. The driver allows
2163 configuring SPM to allow different power modes.
2164
2165config MSM_SPM_V2
2166 bool "Driver support for SPM Version 2"
2167 help
2168 Enables the support for Version 2 of the SPM driver. SPM hardware is
2169 used to manage the processor power during sleep. The driver allows
2170 configuring SPM to allow different power modes.
2171
2172config MSM_L2_SPM
2173 bool "SPM support for L2 cache"
2174 depends on MSM_SPM_V2
2175 help
2176 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2177 control of L2 cache low power mode with a Subsystem Power manager.
2178 Enabling this driver allows configuring L2 SPM for low power modes
2179 on supported chipsets.
2180
Laura Abbott2d1760b2011-09-29 21:31:24 -07002181config MSM_MULTIMEDIA_USE_ION
2182 bool "Multimedia suport using Ion"
2183 depends on ION_MSM
2184 help
2185 Enable support for multimedia drivers using Ion for buffer management
2186 instead of pmem. Selecting this may also involve userspace
2187 dependencies as well.
2188
Laura Abbottad340ff2012-01-04 14:23:48 -08002189config MSM_RTB
2190 bool "Register tracing"
2191 help
2192 Add support for logging different events to a small uncached
2193 region. This is designed to aid in debugging reset cases where the
2194 caches may not be flushed before the target resets.
2195
2196config MSM_RTB_SEPARATE_CPUS
2197 bool "Separate entries for each cpu"
2198 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002199 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002200 help
2201 Under some circumstances, it may be beneficial to give dedicated space
2202 for each cpu to log accesses. Selecting this option will log each cpu
2203 separately. This will guarantee that the last acesses for each cpu
2204 will be logged but there will be fewer entries per cpu
2205
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002206config MSM_CACHE_ERP
2207 bool "Cache / CPU error reporting"
2208 depends on ARCH_MSM_KRAIT
2209 help
2210 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2211 log. Enabling this feature can be used as a system debugging technique
2212 if cache corruption is suspected. Cache error statistics will also be
2213 reported in /proc/cpu/msm_cache_erp.
2214
2215 For production builds, you should probably say 'N' here.
2216
2217config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002218 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002219 depends on MSM_CACHE_ERP
2220 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002221 To cause the kernel to panic whenever an L1 cache error is detected, say
2222 'Y' here. This may be useful as a debugging technique if general system
2223 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002224
2225 For production builds, you should probably say 'N' here.
2226
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002227config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2228 bool "Report L2 master port slave/decode errors in kernel log"
2229 depends on MSM_CACHE_ERP
2230 help
2231 Master port errors can occur when a memory request is not properly
2232 handled by the destination slave. This can occur if the destination
2233 register does not exist or is inaccessible due to security
2234 restrictions or (in some cases) clock configuration. Enabling this
2235 option will cause a backtrace to be printed to the kernel log whenever
2236 such an error is encountered. Note that the error is reported as an
2237 interrupt rather than as an exception, meaning that the backtrace may
2238 have some skid. This option may help with debugging, though production
2239 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002240
2241config MSM_L2_ERP_PORT_PANIC
2242 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002243 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002244 help
2245 Master port errors can occur when a memory request is not properly
2246 handled by the destination slave. Enable this option to catch drivers
2247 which attempt to access bad areas of the address space, or access
2248 hardware registers in an improper state (such as certain clocks not
2249 being on). This option may help with debugging, though production
2250 builds should probably say 'N' here.
2251
2252config MSM_L2_ERP_1BIT_PANIC
2253 bool "Panic on recoverable L2 soft errors"
2254 depends on MSM_CACHE_ERP
2255 help
2256 Enable this option to cause a kernel panic whenever the L2 cache
2257 encounters a single-bit (correctable) soft error. This option should
2258 only be enabled when doing low-level debugging where cache corruption
2259 is suspected.
2260
2261 For production builds, you should definitely say 'N' here.
2262
2263config MSM_L2_ERP_2BIT_PANIC
2264 bool "Panic on unrecoverable L2 soft errors"
2265 depends on MSM_CACHE_ERP
2266 help
2267 Enable this option to cause a kernel panic whenever the L2 cache
2268 encounters a double-bit (non-correctable) soft error. Debug builds
2269 will likely benefit from having this option enabled to catch cache
2270 problems as soon as possible.
2271
2272 For production builds, it may be acceptable to say 'N' here, since
2273 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002274
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002275config MSM_DCVS
2276 bool "Use MSM DCVS for CPU/GPU Frequency control"
2277 depends on MSM_SCM
2278 help
2279 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2280 The DCVS manager allows idle driver to feed the idle information to the
2281 algorithm and the algorithm returns a frequency for the core which is
2282 passed to the frequency change driver.
2283
Taniya Dasc43e6872012-03-21 16:41:14 +05302284config HAVE_ARCH_HAS_CURRENT_TIMER
2285 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002286
2287config MSM_CACHE_DUMP
2288 bool "Cache dumping support"
2289 help
2290 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2291 This allows for analysis of the caches in case cache corruption is
2292 suspected.
2293
Laura Abbott7b637362012-03-29 16:43:49 -07002294config MSM_CACHE_DUMP_ON_PANIC
2295 bool "Dump caches on panic"
2296 depends on MSM_CACHE_DUMP
2297 help
2298 By default, the caches are flushed on panic. This means that trying to
2299 look at them in a RAM dump will give useless data. Select this if you
2300 want to dump the L1 and L2 caches on panic before any flush occurs.
2301 If unsure, say N
2302
Jack Phamccbbfab2012-04-09 19:50:20 -07002303config MSM_HSIC_SYSMON
2304 tristate "MSM HSIC system monitor driver"
2305 depends on USB
2306 help
2307 Add support for bridging with the system monitor interface of MDM
2308 over HSIC. This driver allows the local system monitor to
2309 communicate with the remote system monitor interface.
2310
2311config MSM_HSIC_SYSMON_TEST
2312 tristate "MSM HSIC system monitor bridge test"
2313 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2314 help
2315 Enable the test hook for the Qualcomm system monitor HSIC driver.
2316 This will create a debugfs file entry named "hsic_sysmon_test" which
2317 can be read and written to send character data to the sysmon port of
2318 the modem over USB.
2319
Brian Swetland9e73c842007-11-26 04:12:13 -08002320endif