blob: 6f33d865ab12c1487502fb2360e5eb8b1f25813e [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
Larry Bassel67b921d2012-04-06 10:23:27 -0700234 select ENABLE_DMM
235 select MEMORY_HOTPLUG if ENABLE_DMM
236 select MEMORY_HOTREMOVE if ENABLE_DMM
237 select ARCH_ENABLE_MEMORY_HOTPLUG if ENABLE_DMM
238 select ARCH_ENABLE_MEMORY_HOTREMOVE if ENABLE_DMM
239 select MIGRATION if ENABLE_DMM
240 select ARCH_MEMORY_PROBE if ENABLE_DMM
241 select ARCH_MEMORY_REMOVE if ENABLE_DMM
242 select FIX_MOVABLE_ZONE if ENABLE_DMM
243 select CLEANCACHE
244 select QCACHE
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700245
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700246config ARCH_MSMCOPPER
247 bool "MSM Copper"
248 select ARCH_MSM_KRAITMP
249 select MSM_V2_TLMM
250 select ARM_GIC
251 select CPU_V7
252 select MSM_SCM if SMP
253 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530254 select MULTI_IRQ_HANDLER
Olav Hauganb800c8c2012-01-30 08:50:45 -0800255 select MSM_MULTIMEDIA_USE_ION
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700256 select MSM_PIL
Praveen Chidambaramaa9d52b2012-04-02 11:09:47 -0600257 select MSM_SPM_V2
258 select MSM_L2_SPM
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600259 select MSM_RPM
260 select MSM_PM8X60 if PM
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700261
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700262config ARCH_FSM9XXX
263 bool "FSM9XXX"
264 select ARCH_MSM_SCORPION
265 select MSM_VIC
266 select CPU_V7
267 select MSM_REMOTE_SPINLOCK_LDREX
268 select FSM9XXX_TLMM
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530269 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800270 select MSM_DALRPC
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800271
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700272config ARCH_MSM9615
273 bool "MSM9615"
274 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530275 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700276 select ARCH_MSM_CORTEX_A5
277 select CPU_V7
278 select MSM_V2_TLMM
279 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600280 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600281 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700282 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800283 select REGULATOR
284 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530285 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800286 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800287 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700288 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800289 select MSM_QDSP6_APR
290 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800291 select FIQ
Matt Wagantall9274df92011-12-15 11:11:05 -0800292
Taniya Das43bcdd62011-12-02 17:33:27 +0530293config ARCH_MSM8625
294 bool "MSM8625"
295 select ARCH_MSM_CORTEX_A5
296 select CPU_V7
297 select MSM_GPIOMUX
298 select ARM_GIC
299 select ARCH_MSM_CORTEXMP
300 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530301 select ARM_TICKET_LOCKS
Krishna Vankae2922052012-03-02 09:59:12 +0530302 select MSM_RUN_QUEUE_STATS
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700303endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700304
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700305choice
306 prompt "MSM SoC Revision"
307 default MSM_SOC_REV_NONE
308config MSM_SOC_REV_NONE
309 bool "N/A"
310 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
311 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walker4ad15e62010-05-06 13:54:17 -0700312config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700313 bool "Rev. A"
314 select ARCH_MSM7X27A if ARCH_MSM7X27
315endchoice
Daniel Walker4ad15e62010-05-06 13:54:17 -0700316
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700317config MSM_KRAIT_TBB_ABORT_HANDLER
318 bool "Krait TBB/TBH data abort handler"
319 depends on ARCH_MSM_KRAIT
320 depends on ARM_THUMB
321 help
322 Certain early samples of the Krait processor may generate data
323 aborts for TBB / TBH instructions that fail their condition code
324 checks. Enabling this option will ignore these erroneous data aborts,
325 at the expense of a very small performance penalty.
326
327 If unsure, say N.
328
Daniel Walker4ad15e62010-05-06 13:54:17 -0700329config ARCH_MSM_ARM11
330 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700331
Daniel Walker4ad15e62010-05-06 13:54:17 -0700332config ARCH_MSM_SCORPION
Daniel Walkerbf83de42010-03-16 16:29:44 -0700333 bool
334
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700335config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700336 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800337 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700338
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700339config MSM_SMP
340 bool
341
342config ARCH_MSM_SCORPIONMP
343 select ARCH_MSM_SCORPION
344 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530345 select HAVE_ARCH_HAS_CURRENT_TIMER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700346 bool
347
348config ARCH_MSM_KRAITMP
349 select ARCH_MSM_KRAIT
350 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530351 select HAVE_ARCH_HAS_CURRENT_TIMER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700352 bool
353
Taniya Das43bcdd62011-12-02 17:33:27 +0530354config ARCH_MSM_CORTEXMP
355 select MSM_SMP
356 bool
357
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700358config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800359 bool
Rohit Vaswaniaf7ae272012-01-09 10:28:57 -0800360 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700361
362config ARCH_MSM7X27A
363 bool
364 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700365 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530366 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530367 select ARM_GIC
368 select ARCH_MSM_CORTEXMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700369
Gregory Beanf9f3d312010-04-30 22:06:50 -0700370config MSM_VIC
371 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700372
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700373config MSM_RPM
374 bool "Resource Power Manager"
375 select MSM_MPM
376
377config MSM_MPM
378 bool "Modem Power Manager"
379
380config MSM_XO
381 bool
382
383config MSM_REMOTE_SPINLOCK_DEKKERS
384 bool
385config MSM_REMOTE_SPINLOCK_SWP
386 bool
387config MSM_REMOTE_SPINLOCK_LDREX
388 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600389config MSM_REMOTE_SPINLOCK_SFPB
390 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700391config MSM_ADM3
392 bool
393
394menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700395
396config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700397 depends on ARCH_MSM7X01A
398 depends on MSM_STACKED_MEMORY
399 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700400 bool "Halibut Board (QCT SURF7201A)"
401 help
402 Support for the Qualcomm SURF7201A eval board.
403
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700404config MACH_MSM7201A_SURF
405 depends on ARCH_MSM7X01A
406 depends on MSM_STACKED_MEMORY
407 default y
408 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700409 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700410 Support for the Qualcomm MSM7201A SURF eval board.
411
412config MACH_MSM7201A_FFA
413 depends on ARCH_MSM7X01A
414 depends on MSM_STACKED_MEMORY
415 default y
416 bool "MSM7201A FFA"
417 help
418 Support for the Qualcomm MSM7201A FFA eval board.
419
420config MACH_TROUT
421 depends on ARCH_MSM7X01A
422 depends on MSM_STACKED_MEMORY
423 default y
424 bool "Trout"
425
426config MACH_MSM7X27_SURF
427 depends on ARCH_MSM7X27
428 depends on !MSM_STACKED_MEMORY
429 default y
430 bool "MSM7x27 SURF"
431 help
432 Support for the Qualcomm MSM7x27 SURF eval board.
433
434config MACH_MSM7X27_FFA
435 depends on ARCH_MSM7X27
436 depends on !MSM_STACKED_MEMORY
437 default y
438 bool "MSM7x27 FFA"
439 help
440 Support for the Qualcomm MSM7x27 FFA eval board.
441
442config MACH_MSM7X27A_RUMI3
443 depends on ARCH_MSM7X27A
444 depends on !MSM_STACKED_MEMORY
445 default y
446 bool "MSM7x27A RUMI3"
447 help
448 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
449
450config MACH_MSM7X27A_SURF
451 depends on ARCH_MSM7X27A
452 depends on !MSM_STACKED_MEMORY
453 default y
454 bool "MSM7x27A SURF"
455 help
456 Support for the Qualcomm MSM7x27A SURF.
457
458config MACH_MSM7X27A_FFA
459 depends on ARCH_MSM7X27A
460 depends on !MSM_STACKED_MEMORY
461 default y
462 bool "MSM7x27A FFA"
463 help
464 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700465
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530466config MACH_MSM7625A_SURF
467 depends on ARCH_MSM7X27A
468 depends on !MSM_STACKED_MEMORY
469 default y
470 bool "MSM7625A SURF"
471 help
472 Support for the Qualcomm MSM7625A SURF.
473
474config MACH_MSM7625A_FFA
475 depends on ARCH_MSM7X27A
476 depends on !MSM_STACKED_MEMORY
477 default y
478 bool "MSM7625A FFA"
479 help
480 Support for the Qualcomm MSM7625A FFA.
481
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530482config MACH_MSM7627A_QRD1
483 depends on ARCH_MSM7X27A
484 depends on !MSM_STACKED_MEMORY
485 default y
486 bool "MSM7627A QRD1"
487 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530488 Support for the Qualcomm MSM7627A Reference Design.
489
490config MACH_MSM7627A_QRD3
491 depends on ARCH_MSM7X27A
492 depends on !MSM_STACKED_MEMORY
493 default y
494 bool "MSM7627A QRD3"
495 help
496 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530497
Taniya Dasc868a2e2012-01-03 10:18:47 +0530498config MACH_MSM7627A_EVB
499 depends on ARCH_MSM7X27A
500 depends on !MSM_STACKED_MEMORY
501 default y
502 bool "MSM7627A EVB"
503 help
504 Support for the Qualcomm MSM7627A Reference Design.
505
Taniya Das43bcdd62011-12-02 17:33:27 +0530506config MACH_MSM8625_RUMI3
507 depends on ARCH_MSM8625
508 depends on !MSM_STACKED_MEMORY
509 default y
510 bool "MSM8625 RUMI3"
511 help
512 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
513
Taniya Dase3027e22012-02-27 16:32:27 +0530514config MACH_MSM8625_SURF
515 depends on ARCH_MSM8625
516 depends on !MSM_STACKED_MEMORY
517 default y
518 bool "MSM8625 SURF"
519 help
520 Support for the Qualcomm MSM8625 SURF.
521
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530522config MACH_MSM8625_FFA
523 depends on ARCH_MSM8625
524 depends on !MSM_STACKED_MEMORY
525 default y
526 bool "MSM8625 FFA"
527 help
528 Support for the Qualcomm MSM8625 FFA.
529
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530530config MACH_MSM8625_EVB
531 depends on ARCH_MSM8625
532 depends on !MSM_STACKED_MEMORY
533 default y
534 bool "MSM8625 EVB"
535 help
536 Support for the Qualcomm MSM8625 Reference Design.
537
Taniya Dasbd096542012-03-15 17:43:45 +0530538config MACH_MSM8625_QRD7
539 depends on ARCH_MSM8625
540 depends on !MSM_STACKED_MEMORY
541 default y
542 bool "MSM8625 QRD7"
543 help
544 Support for the Qualcomm MSM8625 Reference Design.
545
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530546config MACH_MSM8625_EVT
547 depends on ARCH_MSM8625
548 depends on !MSM_STACKED_MEMORY
549 default y
550 bool "MSM8625 EVT"
551 help
552 Support for the Qualcomm MSM8625 Reference Design.
553
Daniel Walker7b521612010-05-06 12:44:57 -0700554config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700555 depends on ARCH_MSM7X30
556 depends on !MSM_STACKED_MEMORY
557 default y
558 bool "MSM7x30 SURF"
559 help
560 Support for the Qualcomm MSM7x30 SURF eval board.
561
562config MACH_MSM7X30_FFA
563 depends on ARCH_MSM7X30
564 depends on !MSM_STACKED_MEMORY
565 default y
566 bool "MSM7x30 FFA"
567 help
568 Support for the Qualcomm MSM7x30 FFA eval board.
569
570config MACH_MSM7X30_FLUID
571 depends on ARCH_MSM7X30
572 depends on !MSM_STACKED_MEMORY
573 default y
574 bool "MSM7x30 FLUID"
575 help
576 Support for the Qualcomm MSM7x30 FLUID eval board.
577
578config MACH_SAPPHIRE
579 depends on ARCH_MSM7X01A
580 default n
581 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700582
Daniel Walker4ad15e62010-05-06 13:54:17 -0700583config MACH_QSD8X50_SURF
584 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700585 depends on MSM_SOC_REV_NONE
586 depends on MSM_STACKED_MEMORY
587 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700588 bool "QSD8x50 SURF"
589 help
590 Support for the Qualcomm QSD8x50 SURF eval board.
591
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700592config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700593 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700594 depends on MSM_SOC_REV_NONE
595 depends on MSM_STACKED_MEMORY
596 default y
597 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700598 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700599 Support for the Qualcomm QSD8x50 FFA eval board.
600
601config MACH_MSM7X25_SURF
602 depends on ARCH_MSM7X25
603 depends on !MSM_STACKED_MEMORY
604 default y
605 bool "MSM7x25 SURF"
606 help
607 Support for the Qualcomm MSM7x25 SURF eval board.
608
609config MACH_MSM7X25_FFA
610 depends on ARCH_MSM7X25
611 depends on !MSM_STACKED_MEMORY
612 default y
613 bool "MSM7x25 FFA"
614 help
615 Support for the Qualcomm MSM7x25 FFA eval board.
616
617config MACH_MSM8X55_SURF
618 depends on ARCH_MSM7X30
619 depends on !MSM_STACKED_MEMORY
620 default y
621 bool "MSM8X55 SURF"
622 help
623 Support for the Qualcomm MSM8x55 SURF eval board.
624
625config MACH_MSM8X55_FFA
626 depends on ARCH_MSM7X30
627 depends on !MSM_STACKED_MEMORY
628 default y
629 bool "MSM8X55 FFA"
630 help
631 Support for the Qualcomm MSM8x55 FFA eval board.
632
633config MACH_MSM8X55_SVLTE_FFA
634 depends on ARCH_MSM7X30
635 depends on !MSM_STACKED_MEMORY
636 default y
637 bool "MSM8X55 SVLTE FFA"
638 help
639 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
640
641config MACH_MSM8X55_SVLTE_SURF
642 depends on ARCH_MSM7X30
643 depends on !MSM_STACKED_MEMORY
644 default y
645 bool "MSM8X55 SVLTE SURF"
646 help
647 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700648
Steve Mucklea55df6e2010-01-07 12:43:24 -0800649config MACH_MSM8X60_RUMI3
650 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700651 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800652 bool "MSM8x60 RUMI3"
653 help
654 Support for the Qualcomm MSM8x60 RUMI3 emulator.
655
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800656config MACH_MSM8X60_SIM
657 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700658 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800659 bool "MSM8x60 Simulator"
660 help
661 Support for the Qualcomm MSM8x60 simulator.
662
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700663config MACH_MSM8X60_SURF
664 depends on ARCH_MSM8X60
665 default n
666 bool "MSM8x60 SURF"
667 help
668 Support for the Qualcomm MSM8x60 SURF eval board.
669
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700670config MACH_MSM8X60_FFA
671 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700672 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700673 bool "MSM8x60 FFA"
674 help
675 Support for the Qualcomm MSM8x60 FFA eval board.
676
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700677config MACH_MSM8X60_FLUID
678 depends on ARCH_MSM8X60
679 default n
680 bool "MSM8x60 FLUID"
681 help
682 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
683 8x60 target which has a form factor that is much closer to that
684 of a phone than other targets. It also has a new display and
685 touchscreen controller.
686
687config MACH_MSM8X60_FUSION
688 depends on ARCH_MSM8X60
689 default n
690 bool "MSM8x60 FUSION"
691 help
692 Support for the Qualcomm MSM8x60 Fusion SURF device.
693
694config MACH_MSM8X60_FUSN_FFA
695 depends on ARCH_MSM8X60
696 default n
697 bool "MSM8x60 FUSN FFA"
698 help
699 Support for the Qualcomm MSM8x60 Fusion FFA device.
700
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400701config MACH_MSM8X60_DRAGON
702 depends on ARCH_MSM8X60
703 default n
704 bool "MSM8x60 DRAGON"
705 help
706 Support for the Qualcomm MSM8x60 Dragon board.
707
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800708config MACH_MSM8960_SIM
709 depends on ARCH_MSM8960
710 bool "MSM8960 Simulator"
711 help
712 Support for the Qualcomm MSM8960 simulator.
713
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800714config MACH_MSM8960_RUMI3
715 depends on ARCH_MSM8960
716 bool "MSM8960 RUMI3"
717 help
718 Support for the Qualcomm MSM8960 RUMI3 emulator.
719
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700720config MACH_MSM8960_CDP
721 depends on ARCH_MSM8960
722 bool "MSM8960 CDP"
723 help
724 Support for the Qualcomm MSM8960 CDP device.
725
726config MACH_MSM8960_MTP
727 depends on ARCH_MSM8960
728 bool "MSM8960 MTP"
729 help
730 Support for the Qualcomm MSM8960 MTP device.
731
732config MACH_MSM8960_FLUID
733 depends on ARCH_MSM8960
734 bool "MSM8960 FLUID"
735 help
736 Support for the Qualcomm MSM8960 FLUID device.
737
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300738config MACH_MSM8960_LIQUID
739 depends on ARCH_MSM8960
740 bool "MSM8960 LIQUID"
741 help
742 Support for the Qualcomm MSM8960 LIQUID device.
743
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700744config MACH_MSM8930_CDP
745 depends on ARCH_MSM8930
746 bool "MSM8930 CDP"
747 help
748 Support for the Qualcomm MSM8930 CDP device.
749
750config MACH_MSM8930_MTP
751 depends on ARCH_MSM8930
752 bool "MSM8930 MTP"
753 help
754 Support for the Qualcomm MSM8930 MTP device.
755
756config MACH_MSM8930_FLUID
757 depends on ARCH_MSM8930
758 bool "MSM8930 FLUID"
759 help
760 Support for the Qualcomm MSM8930 FLUID device.
761
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800762config MACH_MSM8627_CDP
763 depends on ARCH_MSM8930
764 bool "MSM8627 CDP"
765 help
766 Support for the Qualcomm MSM8627 CDP device.
767
768config MACH_MSM8627_MTP
769 depends on ARCH_MSM8930
770 bool "MSM8627 MTP"
771 help
772 Support for the Qualcomm MSM8627 MTP device.
773
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700774config MACH_MSM9615_CDP
775 depends on ARCH_MSM9615
776 bool "MSM9615 CDP"
777 help
778 Support for the Qualcomm MSM9615 CDP device.
779
780config MACH_MSM9615_MTP
781 depends on ARCH_MSM9615
782 bool "MSM9615 MTP"
783 help
784 Support for the Qualcomm MSM9615 MTP device.
785
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700786config MSM_USE_TSIF1
787 depends on ARCH_MSM8X60
788 bool "MSM8x60 use TSIF1"
789 help
790 Selects TSIF1 core to be used rather than TSIF0.
791 The two TSIF cores share the same DM configuration
792 so they cannot be used simultaneously.
793
794config MACH_APQ8064_SIM
795 depends on ARCH_APQ8064
796 bool "APQ8064 Simulator"
797 help
798 Support for the Qualcomm APQ8064 simulator.
799
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700800config MACH_APQ8064_RUMI3
801 depends on ARCH_APQ8064
802 bool "APQ8064 RUMI3"
803 help
804 Support for the Qualcomm APQ8064 RUMI3 emulator.
805
Joel King82b7e3f2012-01-05 10:03:27 -0800806config MACH_APQ8064_CDP
807 depends on ARCH_APQ8064
808 bool "APQ8064 CDP"
809 help
810 Support for the Qualcomm APQ8064 CDP device.
811
812config MACH_APQ8064_MTP
813 depends on ARCH_APQ8064
814 bool "APQ8064 MTP"
815 help
816 Support for the Qualcomm APQ8064 MTP device.
817
818config MACH_APQ8064_LIQUID
819 depends on ARCH_APQ8064
820 bool "APQ8064 LIQUID"
821 help
822 Support for the Qualcomm APQ8064 LIQUID device.
823
Joel King064bbf82012-04-01 13:23:39 -0700824config MACH_MPQ8064_CDP
825 depends on ARCH_APQ8064
826 bool "MPQ8064 CDP"
827 help
828 Support for the Qualcomm MPQ8064 CDP device.
829
Joel King11ca8202012-02-13 16:19:03 -0800830config MACH_MPQ8064_HRD
831 depends on ARCH_APQ8064
832 bool "MPQ8064 HRD"
833 help
834 Support for the Qualcomm MPQ8064 HRD device.
835
836config MACH_MPQ8064_DTV
837 depends on ARCH_APQ8064
838 bool "MPQ8064 DTV"
839 help
840 Support for the Qualcomm MPQ8064 DTV device.
841
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700842config MACH_FSM9XXX_SURF
843 depends on ARCH_FSM9XXX
844 depends on !MSM_STACKED_MEMORY
845 default y
846 bool "FSM9XXX SURF"
847 help
848 Support for the Qualcomm FSM9xxx femtocell
849 chipset based SURF evaluation board and
850 FFA board.
851
Daniel Walker4ad15e62010-05-06 13:54:17 -0700852endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800853
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700854config MSM_STACKED_MEMORY
855 bool "Stacked Memory"
856 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800857 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700858 This option is used to indicate the presence of on-die stacked
859 memory. When present this memory bank is used for a high speed
860 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800861
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700862config PHYS_OFFSET
863 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700864 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700865 default "0x80200000" if ARCH_APQ8064
866 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700867 default "0x80200000" if ARCH_MSM8930
Sathish Ambley39a1dc42012-03-19 21:46:26 -0700868 default "0x20200000" if ARCH_MSMCOPPER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700869 default "0x10000000" if ARCH_FSM9XXX
870 default "0x00200000" if !MSM_STACKED_MEMORY
871 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
872 default "0x20000000" if ARCH_QSD8X50
873 default "0x40200000" if ARCH_MSM8X60
874 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800875
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700876config KERNEL_PMEM_EBI_REGION
877 bool "Enable in-kernel PMEM region for EBI"
878 default y if ARCH_MSM8X60
Olav Hauganb800c8c2012-01-30 08:50:45 -0800879 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSMCOPPER)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700880 help
881 Enable the in-kernel PMEM allocator to use EBI memory.
882
883config KERNEL_PMEM_SMI_REGION
884 bool "Enable in-kernel PMEM region for SMI"
885 default y if ARCH_MSM8X60
886 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
887 help
888 Enable the in-kernel PMEM allocator to use SMI memory.
889
890config PMEM_GPU0
891 bool "Enable PMEM GPU0 region"
892 default y
893 depends on ARCH_QSD8X50 && ANDROID_PMEM
894 help
895 Enable the PMEM GPU0 device on SMI Memory.
896
897config MSM_AMSS_VERSION
898 int
899 default 6210 if MSM_AMSS_VERSION_6210
900 default 6220 if MSM_AMSS_VERSION_6220
901 default 6225 if MSM_AMSS_VERSION_6225
902
903choice
904 prompt "AMSS modem firmware version"
905
906 default MSM_AMSS_VERSION_6225
907
908 config MSM_AMSS_VERSION_6210
909 bool "6.2.10"
910
911 config MSM_AMSS_VERSION_6220
912 bool "6.2.20"
913
914 config MSM_AMSS_VERSION_6225
915 bool "6.2.20 + New ADSP"
916endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800917
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700918config MSM_HAS_DEBUG_UART_HS
919 bool
920 help
921 Say Y here if high speed MSM UART is present.
922
923config MSM_HAS_DEBUG_UART_HS_V14
924 bool
925 select MSM_HAS_DEBUG_UART_HS
926 help
927 Say Y here if high speed MSM UART v1.4 is present.
928
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800929config DEBUG_MSM8930_UART
930 bool "Kernel low-level debugging messages via MSM 8930 UART"
931 depends on ARCH_MSM8930 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700932 select MSM_HAS_DEBUG_UART_HS
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 serial port on MSM 8930 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100936
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530937config MSM_DEBUG_UART_PHYS
938 hex
939 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
940 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
941 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
942 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
943 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
944 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
945 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
946 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
947
Pavel Machek6339f662009-11-02 11:48:29 +0100948choice
949 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800950 depends on DEBUG_LL
Pavel Machek6339f662009-11-02 11:48:29 +0100951
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800952 config DEBUG_MSM_UART1
953 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530954 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800955 help
956 Say Y here if you want the debug print routines to direct
957 their output to the first serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100958
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800959 config DEBUG_MSM_UART2
960 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530961 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800962 help
963 Say Y here if you want the debug print routines to direct
964 their output to the second serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100965
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800966 config DEBUG_MSM_UART3
967 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530968 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800969 help
970 Say Y here if you want the debug print routines to direct
971 their output to the third serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100972
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800973 config DEBUG_MSM8660_UART
974 bool "Kernel low-level debugging messages via MSM 8660 UART"
975 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700976 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800977 help
978 Say Y here if you want the debug print routines to direct
979 their output to the serial port on MSM 8660 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100980
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800981 config DEBUG_MSM8960_UART
982 bool "Kernel low-level debugging messages via MSM 8960 UART"
983 depends on ARCH_MSM8960
984 select DEBUG_MSM8930_UART
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700985 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800986 help
987 Say Y here if you want the debug print routines to direct
988 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700989
990 config DEBUG_MSMCOPPER_UART
991 bool "Kernel low-level debugging messages via MSM Copper UART"
992 depends on ARCH_MSMCOPPER
993 select MSM_HAS_DEBUG_UART_HS_V14
994 help
995 Say Y here if you want the debug print routines to direct
996 their output to the serial port on MSM Copper devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100997endchoice
998
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700999choice
1000 prompt "Default Timer"
1001 default MSM7X00A_USE_GP_TIMER
1002
1003 config MSM7X00A_USE_GP_TIMER
1004 bool "GP Timer"
1005 help
1006 Low resolution timer that allows power collapse from idle.
1007
1008 config MSM7X00A_USE_DG_TIMER
1009 bool "DG Timer"
1010 help
1011 High resolution timer.
1012endchoice
1013
1014choice
1015 prompt "Suspend sleep mode"
1016 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1017 help
1018 Allows overriding the sleep mode used. Leave at power
1019 collapse suspend unless the arm9 image has problems.
1020
1021 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1022 bool "Power collapse suspend"
1023 help
1024 Lowest sleep state. Returns through reset vector.
1025
1026 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1027 bool "Power collapse"
1028 help
1029 Sleep state that returns through reset vector.
1030
1031 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1032 bool "Apps Sleep"
1033
1034 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1035 bool "Ramp down cpu clock and wait for interrupt"
1036
1037 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1038 bool "Wait for interrupt"
1039endchoice
1040
1041config MSM7X00A_SLEEP_MODE
1042 int
1043 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1044 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1045 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1046 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1047 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1048
1049choice
1050 prompt "Idle sleep mode"
1051 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1052 help
1053 Allows overriding the sleep mode used from idle. Leave at power
1054 collapse suspend unless the arm9 image has problems.
1055
1056 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1057 bool "Power collapse suspend"
1058 help
1059 Lowest sleep state. Returns through reset vector.
1060
1061 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1062 bool "Power collapse"
1063 help
1064 Sleep state that returns through reset vector.
1065
1066 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1067 bool "Apps Sleep"
1068
1069 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1070 bool "Ramp down cpu clock and wait for interrupt"
1071
1072 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1073 bool "Wait for interrupt"
1074endchoice
1075
1076config MSM7X00A_IDLE_SLEEP_MODE
1077 int
1078 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1079 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1080 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1081 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1082 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1083
1084config MSM7X00A_IDLE_SLEEP_MIN_TIME
1085 int "Minimum idle time before sleep"
1086 default 20000000
1087 help
1088 Minimum idle time in nanoseconds before entering low power mode.
1089
1090config MSM7X00A_IDLE_SPIN_TIME
1091 int "Idle spin time before cpu ramp down"
1092 default 80000
1093 help
1094 Spin time in nanoseconds before ramping down cpu clock and entering
1095 any low power state.
1096
1097menuconfig MSM_IDLE_STATS
1098 bool "Collect idle statistics"
1099 default y
1100 help
1101 Collect idle statistics and export them in proc/msm_pm_stats.
1102
1103if MSM_IDLE_STATS
1104
1105config MSM_IDLE_STATS_FIRST_BUCKET
1106 int "First bucket time"
1107 default 62500
1108 help
1109 Upper time limit in nanoseconds of first bucket.
1110
1111config MSM_IDLE_STATS_BUCKET_SHIFT
1112 int "Bucket shift"
1113 default 2
1114
1115config MSM_IDLE_STATS_BUCKET_COUNT
1116 int "Bucket count"
1117 default 10
1118
1119config MSM_SUSPEND_STATS_FIRST_BUCKET
1120 int "First bucket time for suspend"
1121 default 1000000000
1122 help
1123 Upper time limit in nanoseconds of first bucket of the
1124 histogram. This is for collecting statistics on suspend.
1125
1126endif # MSM_IDLE_STATS
1127
1128config CPU_HAS_L2_PMU
1129 bool "L2CC PMU Support"
1130 help
1131 Select this if the L2 cache controller has a Performance Monitoring Unit.
1132
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001133config HTC_HEADSET
1134 tristate "HTC 2 Wire detection driver"
1135 default n
1136 help
1137 Provides support for detecting HTC 2 wire devices, such as wired
1138 headset, on the trout platform. Can be used with the msm serial
1139 debugger, but not with serial console.
1140
1141config TROUT_BATTCHG
1142 depends on MACH_TROUT && POWER_SUPPLY
1143 default y
1144 bool "Trout battery / charger driver"
1145
1146config HTC_PWRSINK
1147 depends on MSM_SMD
1148 default n
1149 bool "HTC Power Sink Driver"
1150
1151config QSD_SVS
1152 bool "QSD Static Voltage Scaling"
1153 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1154 default y
1155 select TPS65023
1156 help
1157 Enables static voltage scaling using the TPS65023 PMIC.
1158
1159config QSD_PMIC_DEFAULT_DCDC1
1160 int "PMIC default output voltage"
1161 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1162 default 1250
1163 help
1164 This is the PMIC voltage at Linux kernel boot.
1165
1166config MSM_FIQ_SUPPORT
1167 default y
1168 bool "Enable installation of an FIQ handler."
1169
1170config MSM_SERIAL_DEBUGGER
1171 select MSM_FIQ_SUPPORT
1172 select KERNEL_DEBUGGER_CORE
1173 default n
1174 bool "FIQ Mode Serial Debugger"
1175 help
1176 The FIQ serial debugger can accept commands even when the
1177 kernel is unresponsive due to being stuck with interrupts
1178 disabled. Depends on the kernel debugger core in drivers/misc.
1179
1180config MSM_SERIAL_DEBUGGER_CONSOLE
1181 depends on MSM_SERIAL_DEBUGGER
1182 default n
1183 bool "Console on FIQ Serial Debugger port"
1184 help
1185 Enables a console so that printk messages are displayed on
1186 the debugger serial port as the occur.
Daniel Walkerbf83de42010-03-16 16:29:44 -07001187
Steve Mucklec8aabae2010-04-21 16:20:27 -07001188config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001189 default y
1190 bool "Proc-Comm RPC Interface"
1191 help
1192 Enables a lightweight communications interface to the
1193 baseband processor.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001194
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001195config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001196 bool "MSM Shared Memory Driver (SMD)"
1197 help
1198 Support for the shared memory interface between the apps
1199 processor and the baseband processor. Provides access to
1200 the "shared heap", as well as virtual serial channels
1201 used to communicate with various services on the baseband
1202 processor.
1203
1204choice
1205 prompt "MSM Shared memory interface version"
1206 depends on MSM_SMD
1207 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1208 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1209
1210 config MSM_SMD_PKG3
1211 bool
1212 prompt "Package 3"
1213
1214 config MSM_SMD_PKG4
1215 bool
1216 prompt "Package 4"
1217endchoice
1218
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001219config MSM_RPC_SDIO_XPRT
1220 depends on MSM_SDIO_AL
1221 default y
1222 bool "MSM SDIO XPRT Layer"
1223 help
1224 SDIO Transport Layer for RPC Rouer
1225
1226config MSM_RPC_SDIO_DEBUG
1227 depends on MSM_RPC_SDIO_XPRT
1228 default y
1229 bool "MSM SDIO XPRT debug support"
1230 help
1231 Support for debugging SDIO XPRT
1232
1233config MSM_SMD_DEBUG
1234 depends on MSM_SMD
1235 default y
1236 bool "MSM SMD debug support"
1237 help
1238 Support for debugging the SMD for communication
1239 between the ARM9 and ARM11
1240
1241config MSM_SDIO_AL
1242 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1243 default y
1244 tristate "SDIO-Abstraction-Layer"
1245 help
1246 Support MSM<->MDM Communication over SDIO bus.
1247 MDM SDIO-Client should have pipes support.
1248
1249config MSM_SDIO_DMUX
1250 bool "SDIO Data Mux Driver"
1251 depends on MSM_SDIO_AL
1252 default n
1253 help
1254 Support Muxed Data Channels over SDIO interface.
1255
1256config MSM_BAM_DMUX
1257 bool "BAM Data Mux Driver"
1258 depends on SPS
1259 default n
1260 help
1261 Support Muxed Data Channels over BAM interface.
1262 BAM has a limited number of pipes. This driver
1263 provides a means to support more logical channels
1264 via muxing than BAM could without muxing.
1265
1266config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001267 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001268 default y
1269 bool "MSM N-WAY SMD support"
1270 help
1271 Supports APPS-QDSP SMD communication along with
1272 normal APPS-MODEM SMD communication.
1273
1274config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001275 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001276 default y
1277 bool "MSM N-WAY SMSM support"
1278 help
1279 Supports APPS-QDSP SMSM communication along with
1280 normal APPS-MODEM SMSM communication.
1281
1282config MSM_RESET_MODEM
1283 tristate "Reset Modem Driver"
1284 depends on MSM_SMD
1285 default m
1286 help
1287 Allows the user to reset the modem through a device node.
1288
1289config MSM_SMD_LOGGING
1290 depends on MSM_SMD
1291 default y
1292 bool "MSM Shared Memory Logger"
1293 help
1294 This option exposes the shared memory logger at /dev/smem_log
1295 and a debugfs node named smem_log.
1296
1297 If in doubt, say yes.
1298
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001299config MSM_IPC_LOGGING
1300 bool "MSM Debug Logging for IPC Drivers"
1301 help
1302 This option allows the debug logging for IPC Drivers.
1303
1304 If in doubt, say no.
1305
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001306config MSM_SMD_NMEA
1307 bool "NMEA GPS Driver"
1308 depends on MSM_SMD
1309 default y
1310 help
1311 Enable this to support the NMEA GPS device.
1312
1313 If in doubt, say yes.
1314
1315config MSM_SDIO_TTY
1316 bool "SDIO TTY Driver"
1317 depends on MSM_SDIO_AL
1318 default n
1319 help
1320 Provides a TTY driver SDIO TTY
1321 This driver can be used by user space
1322 applications for passing data through the
1323 SDIO interface.
1324
1325config MSM_SMD_TTY
1326 bool "SMD TTY Driver"
1327 depends on MSM_SMD
1328 default y
1329 help
1330 Provides TTY interfaces to interact with the modem.
1331
1332 If in doubt, say yes.
1333
1334config MSM_SMD_QMI
1335 bool "SMD QMI Driver"
1336 depends on MSM_SMD
1337 default y
1338 help
1339 Manages network data connections.
1340
1341 If in doubt, say yes.
1342
1343config MSM_SMD_PKT
1344 bool "SMD Packet Driver"
1345 depends on MSM_SMD
1346 default y
1347 help
1348 Provides a binary SMD non-muxed packet port interface.
1349
1350 If in doubt, say yes.
1351
1352config MSM_SDIO_CMUX
1353 bool "SDIO CMUX Driver"
1354 depends on MSM_SDIO_AL
1355 default n
1356 help
1357 Provides a Muxed port interface over SDIO QMI
1358
1359config MSM_DSPS
1360 bool "Sensors DSPS driver"
1361 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1362 default n
1363 help
1364 Provides user-space interface to the sensors manager
1365 to turn on/off the Sensors Processor system clocks.
1366 It is the DSPS responsibility to turn on/off the sensors
1367 themself.
1368 The number of clocks and their name may vary between targets.
1369 It also triggers the PIL to load the DSPS firmware.
1370
1371config MSM_SDIO_CTL
1372 bool "SDIO CTL Driver"
1373 depends on MSM_SDIO_CMUX
1374 default n
1375 help
1376 Provides a binary SDIO control port interface.
1377
1378config MSM_ONCRPCROUTER
1379 depends on MSM_SMD
1380 default n
1381 bool "MSM ONCRPC router support"
1382 help
1383 Support for the MSM ONCRPC router for communication between
1384 the ARM9 and ARM11
1385
1386config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001387 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001388 default n
1389 bool "MSM IPC Router support"
1390 help
1391 Support for the MSM IPC Router for communication between
1392 the APPs and the MODEM
1393
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001394config MSM_IPC_ROUTER_SMD_XPRT
1395 depends on MSM_SMD
1396 depends on MSM_IPC_ROUTER
1397 default n
1398 bool "MSM SMD XPRT Layer"
1399 help
1400 SMD Transport Layer for IPC Router
1401
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001402config MSM_ONCRPCROUTER_DEBUG
1403 depends on MSM_ONCRPCROUTER
1404 default y
1405 bool "MSM debug ONCRPC router support"
1406 help
1407 Support for debugging the ONCRPC router for communication
1408 between the ARM9 and ARM11
1409
1410config MSM_RPC_LOOPBACK_XPRT
1411 depends on MSM_ONCRPCROUTER
1412 default n
1413 bool "MSM RPC local routing support"
1414 help
1415 Support for routing RPC messages between APPS clients
1416 and APPS servers. Helps in testing APPS RPC framework.
1417
1418config MSM_RPCSERVER_TIME_REMOTE
1419 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1420 default y
1421 bool "Time remote RPC server"
1422 help
1423 The time remote server receives notification of time bases and
1424 reports these events to registered callback functions.
1425
1426config MSM_RPCSERVER_WATCHDOG
1427 depends on MSM_ONCRPCROUTER
1428 default y
1429 bool "Watchdog RPC server"
1430 help
1431 The dog_keepalive server handles watchdog events.
1432
1433config MSM_RPC_WATCHDOG
1434 depends on MSM_ONCRPCROUTER
1435 default n
1436 bool "Watchdog RPC client"
1437 help
1438 The dog_keepalive client module.
1439
1440config MSM_RPC_PING
1441 depends on MSM_ONCRPCROUTER && DEBUG_FS
1442 default m
1443 bool "MSM rpc ping"
1444 help
1445 Implements MSM rpc ping test module.
1446
1447config MSM_RPC_PROC_COMM_TEST
1448 depends on DEBUG_FS && MSM_PROC_COMM
1449 default m
1450 bool "MSM rpc proc comm test"
1451 help
1452 Implements MSM rpc proc comm test module.
1453
1454config MSM_RPC_OEM_RAPI
1455 depends on MSM_ONCRPCROUTER
1456 default m
1457 bool "MSM oem rapi"
1458 help
1459 Implements MSM oem rapi client module.
1460
1461config MSM_RPCSERVER_HANDSET
1462 depends on MSM_ONCRPCROUTER
1463 default y
1464 bool "Handset events RPC server"
1465 help
1466 Support for receiving handset events like headset detect,
1467 headset switch and clamshell state.
1468
1469config MSM_RMT_STORAGE_CLIENT
1470 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1471 default n
1472 bool "Remote Storage RPC client"
1473 help
1474 Provide RPC mechanism for remote processors to access storage
1475 device on apps processor.
1476
1477config MSM_RMT_STORAGE_CLIENT_STATS
1478 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1479 default n
1480 bool "Remote storage RPC client performance statistics"
1481 help
1482 Collects performance statistics and shows this information
1483 through a debugfs file rmt_storage_stats.
1484
1485config MSM_SDIO_SMEM
1486 depends on MSM_SDIO_AL
1487 default n
1488 bool "SDIO SMEM for remote storage"
1489 help
1490 Copies data from remote MDM9K memory to local MSM8x60
1491 memory. Used by remote storage client to shadow
1492 MDM9K filesystem.
1493
1494config MSM_DALRPC
1495 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001496 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001497 help
1498 Supports RPC calls to DAL devices on remote processor cores.
1499
1500config MSM_DALRPC_TEST
1501 tristate "DAL RPC test module"
1502 depends on (MSM_DALRPC && DEBUG_FS)
1503 default m
1504 help
1505 Exercises DAL RPC calls to QDSP6.
1506
1507if CPU_FREQ_MSM
1508
1509config MSM_CPU_FREQ_SET_MIN_MAX
1510 bool "Set Min/Max CPU frequencies."
1511 default n
1512 help
1513 Allow setting min and max CPU frequencies. Sysfs can be used
1514 to override these values.
1515
1516config MSM_CPU_FREQ_MAX
1517 int "Max CPU Frequency"
1518 depends on MSM_CPU_FREQ_SET_MIN_MAX
1519 default 384000
1520
1521config MSM_CPU_FREQ_MIN
1522 int "Min CPU Frequency"
1523 depends on MSM_CPU_FREQ_SET_MIN_MAX
1524 default 245760
1525
1526endif # CPU_FREQ_MSM
1527
1528config MSM_CPU_AVS
1529 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1530 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1531 depends on ARCH_QSD8X50
1532 default n
1533 select MSM_AVS_HW
1534 help
1535 This enables the s/w control of Adaptive Voltage Scaling feature
1536 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1537 based on feedback from three ring oscillators in the CPU.
1538
1539config MSM_AVS_HW
1540 bool "Enable Adaptive Voltage Scaling (AVS)"
1541 default n
1542 help
1543 Enable AVS hardware to fine tune voltage at each frequency. The
1544 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1545 fine tune the voltages based on the feedback from the ring
1546 oscillators.
1547
1548config MSM_HW3D
1549 tristate "MSM Hardware 3D Register Driver"
1550 depends on ANDROID_PMEM
1551 default y
1552 help
1553 Provides access to registers needed by the userspace OpenGL|ES
1554 library.
1555
1556config MSM_ADSP
1557 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1558 tristate "MSM ADSP driver"
1559 depends on ANDROID_PMEM
1560 default y
1561 help
1562 Provides access to registers needed by the userspace aDSP library.
1563
1564config ADSP_RPC_VER
1565 hex
1566 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1567 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1568 depends on MSM_ADSP
1569 help
1570 Select proper ADSP RPC version
1571choice
1572 prompt "ADSP RPC version"
1573
1574 default AMSS_7X25_VERSION_2009
1575
1576 config AMSS_7X25_VERSION_2009
1577 bool "2.0.09"
1578
1579 config AMSS_7X25_VERSION_2008
1580 bool "2.0.08"
1581endchoice
1582
1583config MSM7KV2_AUDIO
1584 bool "MSM7K v2 audio"
1585 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1586 default y
1587 help
1588 Enables QDSP5V2-based audio drivers for audio playbacks and
1589 voice call.
1590
1591config MSM_ADSP_REPORT_EVENTS
1592 bool "Report modem events from the DSP"
1593 default y
1594 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1595 help
1596 Normally, only messages from the aDSP are reported to userspace.
1597 With this option, we report events from the aDSP as well.
1598
1599config MSM_QDSP6
1600 tristate "QDSP6 support"
1601 depends on ARCH_QSD8X50 && ANDROID_PMEM
1602 default y
1603 help
1604 Enable support for qdsp6. This provides audio and video functionality.
1605
1606config MSM8X60_AUDIO
1607 tristate "MSM8X60 audio support"
1608 depends on ARCH_MSM8X60 && ANDROID_PMEM
1609 default y
1610 help
1611 Enable support for qdsp6v2. This provides audio functionality.
1612
1613config MSM8X60_FTM_AUDIO_DEVICES
1614 bool "MSM8X60 audio factory test mode support"
1615 depends on MSM8X60_AUDIO
1616 help
1617 Enable support audio factory test mode devices. This is used
1618 in a production line environment.
1619
Ben Romberger45b351c2011-07-20 22:37:27 -07001620config RTAC
1621 bool "MSM8K real-time audio calibration support"
1622 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001623 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001624 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001625 audio operation
1626
1627config MSM7X27A_AUDIO
1628 bool "MSM7X27A audio support"
1629 depends on ARCH_MSM7X27A && MSM_ADSP
1630 default n
1631 help
1632 Enable support for 7x27a. This provides audio functionality.
1633
Justin Pauporea6cd2092011-06-22 16:19:45 -07001634config MSM_PROC_COMM_REGULATOR
1635 bool
1636 depends on MSM_PROC_COMM && REGULATOR
1637 help
1638 Enable regulator framework support for regulators managed by PMLIB
1639 on the modem, and controlled through proccomm calls.
1640
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001641config MSM_VREG_SWITCH_INVERTED
1642 bool "Reverse vreg switch polarity"
1643 default n
1644 help
1645 Reverses the enable and disable for vreg switch.
1646
1647config MSM_DMA_TEST
1648 tristate "MSM DMA test module"
1649 default m
1650 help
1651 Intended to be compiled as a module. Provides a device node
1652 and ioctls for testing the MSM dma system.
1653
1654config WIFI_CONTROL_FUNC
1655 bool "Enable WiFi control function abstraction"
1656 help
1657 Enables Power/Reset/Carddetect function abstraction
1658
1659config WIFI_MEM_PREALLOC
1660 depends on WIFI_CONTROL_FUNC
1661 bool "Preallocate memory for WiFi buffers"
1662 help
1663 Preallocates memory buffers for WiFi driver
1664
1665config QSD_AUDIO
1666 bool "QSD audio"
1667 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1668 default y
1669 help
1670 Provides PCM, MP3, and AAC audio playback.
1671
1672config AUDIO_AAC_PLUS
1673 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1674 bool "AAC+ Audio"
1675 default y
1676 help
1677 Provides AAC+ decoding
1678
1679config AUDIO_ENHANCED_AAC_PLUS
1680 depends on AUDIO_AAC_PLUS
1681 bool "Enhanced AAC+ Audio"
1682 default y
1683 help
1684 Provides Enhanced AAC+ decoding
1685
1686config SURF_FFA_GPIO_KEYPAD
1687 bool "MSM SURF/FFA GPIO keypad"
1688 depends on INPUT_GPIO = "y"
1689 default y
1690 help
1691 Select if the GPIO keypad is attached.
1692
1693config MSM_SLEEP_TIME_OVERRIDE
1694 bool "Allow overriding suspend/sleep time with PM module parameter"
1695 default y
1696 help
1697 Enable the module parameter sleep_time_override. Specified
1698 in units of seconds, it overwrites the normal sleep time of
1699 suspend. The feature is required for automated power management
1700 testing.
1701
1702config MSM_MEMORY_LOW_POWER_MODE
1703 bool "Control the low power modes of memory"
1704 default n
1705 help
1706 The application processor controls whether memory should enter
1707 which low power mode.
1708
1709choice
1710 prompt "Default Memory Low Power Mode during Idle"
1711 depends on MSM_MEMORY_LOW_POWER_MODE
1712 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1713 help
1714 Selects the default low power mode of the memory during idle
1715 sleep.
1716
1717 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1718 bool "Memory active"
1719
1720 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1721 bool "Memory in retention"
1722
1723 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1724 bool "Memory in deep power down"
1725endchoice
1726
1727choice
1728 prompt "Default Memory Low Power Mode during Suspend"
1729 depends on MSM_MEMORY_LOW_POWER_MODE
1730 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1731 help
1732 Selects the default low power mode of the memory during suspend
1733 sleep.
1734
1735 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1736 bool "Memory active"
1737
1738 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1739 bool "Memory in retention"
1740
1741 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1742 bool "Memory in deep power down"
1743endchoice
1744
1745choice
1746 prompt "Power management timeout action"
1747 default MSM_PM_TIMEOUT_HALT
1748 help
1749 Selects the Application Processor's action when Power Management
1750 times out waiting for Modem's handshake.
1751
1752 config MSM_PM_TIMEOUT_HALT
1753 bool "Halt the Application Processor"
1754
1755 config MSM_PM_TIMEOUT_RESET_MODEM
1756 bool "Reset the Modem Processor"
1757
1758 config MSM_PM_TIMEOUT_RESET_CHIP
1759 bool "Reset the entire chip"
1760endchoice
1761
1762config MSM_IDLE_WAIT_ON_MODEM
1763 int "Wait for Modem to become ready for idle power collapse"
1764 default 0
1765 help
1766 If Modem is not ready to handle Application Processor's request
1767 for idle power collapse, wait the number of microseconds in case
1768 Modem becomes ready soon.
1769
Matt Wagantall9274df92011-12-15 11:11:05 -08001770config MSM_RPM_REGULATOR
1771 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001772 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001773 help
1774 Compile in support for the RPM regulator driver, used for setting
1775 voltages and other parameters of the various power rails supplied
1776 by some Qualcomm PMICs.
1777
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001778config MSM_PIL
1779 bool "Peripheral image loading"
1780 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001781 default n
1782 help
1783 Some peripherals need to be loaded into memory before they can be
1784 brought out of reset.
1785
1786 Say yes to support these devices.
1787
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001788config MSM_PIL_MODEM
1789 tristate "Modem (ARM11) Boot Support"
1790 depends on MSM_PIL
1791 help
1792 Support for booting and shutting down ARM11 Modem processors.
1793
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001794config MSM_PIL_QDSP6V3
1795 tristate "QDSP6v3 (Hexagon) Boot Support"
1796 depends on MSM_PIL
1797 help
1798 Support for booting and shutting down QDSP6v3 processors (hexagon).
1799 The QDSP6 is a low power DSP used in audio software applications.
1800
Stephen Boydeb819882011-08-29 14:46:30 -07001801config MSM_PIL_QDSP6V4
1802 tristate "QDSP6v4 (Hexagon) Boot Support"
1803 depends on MSM_PIL
1804 help
1805 Support for booting and shutting down QDSP6v4 processors (hexagon).
1806 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1807 software applications.
1808
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001809config MSM_PIL_LPASS_QDSP6V5
1810 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
1811 depends on MSM_PIL
1812 help
1813 Support for booting and shutting down QDSP6v5 processors (Hexagon)
1814 processors in low power audio subsystems.
1815
Stephen Boyd322a9922011-09-20 01:05:54 -07001816config MSM_PIL_RIVA
1817 tristate "RIVA (WCNSS) Boot Support"
1818 depends on MSM_PIL
1819 help
1820 Support for booting and shutting down the RIVA processor (WCNSS).
1821 Riva is the wireless subsystem processor used in bluetooth, wireless
1822 LAN, and FM software applications.
1823
Stephen Boydd89eebe2011-09-28 23:28:11 -07001824config MSM_PIL_TZAPPS
1825 tristate "TZApps Boot Support"
1826 depends on MSM_PIL
1827 help
1828 Support for booting and shutting down TZApps.
1829
1830 TZApps is an image that runs in the secure processor state. It is
1831 used to decrypt data and perform secure operations on the behalf of
1832 the kernel.
1833
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07001834config MSM_PIL_DSPS
1835 tristate "DSPS Boot Support"
1836 depends on MSM_PIL
1837 help
1838 Support for booting and shutting down ARM7 DSPS processors.
1839
1840 DSPS is a sensors offloading processor used for applications such
1841 as rotation detection, temperature, etc.
1842
Stephen Boyd7b973de2012-03-09 12:26:16 -08001843config MSM_PIL_VIDC
1844 tristate "Video Core Secure Boot Support"
1845 depends on MSM_PIL
1846 help
1847 Support for authenticating the video core image.
1848
Matt Wagantall292aace2012-01-26 19:12:34 -08001849config MSM_PIL_GSS
1850 tristate "GSS (Coretx A5) Boot Support"
1851 depends on MSM_PIL
1852 help
1853 Support for booting and shutting down Cortex A5 processors which run
1854 GPS subsystem firmware.
1855
Tianyi Gouc1e049f82011-11-23 14:20:16 -08001856config MSM_PIL_PRONTO
1857 tristate "PRONTO (WCNSS) Boot Support"
1858 depends on MSM_PIL
1859 help
1860 Support for booting and shutting down the PRONTO processor (WCNSS).
1861 PRONTO is the wireless subsystem processor used in bluetooth, wireless
1862 LAN, and FM software applications.
1863
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001864config MSM_SCM
1865 bool "Secure Channel Manager (SCM) support"
1866 default n
1867
1868config MSM_SUBSYSTEM_RESTART
1869 bool "MSM Subsystem Restart Driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001870 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001871 default n
1872 help
1873 This option enables the MSM subsystem restart driver, which provides
1874 a framework to handle subsystem crashes.
1875
Matt Wagantallf8020902011-08-30 21:19:23 -07001876config MSM_SYSMON_COMM
1877 bool "MSM System Monitor communication support"
1878 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1879 default y
1880 help
1881 This option adds support for MSM System Monitor library, which
1882 provides an API that may be used for notifying subsystems within
1883 the SoC about other subsystems' power-up/down state-changes.
1884
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001885config MSM_MODEM_8960
1886 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001887 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001888 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001889 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001890 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001891 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001892
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001893config MSM_LPASS_8960
1894 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001895 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001896 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001897 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001898 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001899 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001900
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001901config MSM_WCNSS_SSR_8960
1902 tristate "MSM 8960 WCNSS restart module"
1903 depends on (ARCH_MSM8960)
1904 help
1905 This option enables the WCNSS restart module for MSM8960, which
1906 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1907 into the subsystem restart framework.
1908
Rohit Vaswanid0fb4182012-03-19 18:07:59 -07001909config MSM_GSS_SSR_8064
1910 bool "MSM 8064 GSS restart driver"
1911 depends on (ARCH_APQ8064)
1912 help
1913 This option enables the gps subsystem restart driver for APQ8064, which monitors
1914 gss hardware watchdog interrupt lines and plugs into the subsystem
1915 restart and PIL drivers.
1916
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001917config SCORPION_Uni_45nm_BUG
1918 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1919 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1920 default y
1921 help
1922 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1923 invalidating the Branch Predictor Array by Modified Virtual Address can
1924 create invalid entries in the TLB with the wrong ASID values on Scorpion
1925 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1926 workaround for Scorpion Uniprocessor 45nm cores.
1927
1928 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1929
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001930config MSM_BUSPM_DEV
1931 tristate "MSM Bus Performance Monitor Kernel Module"
1932 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1933 default m
1934 help
1935 This kernel module is used to mmap() hardware registers for the
1936 performance monitors, counters, etc. The module can also be used to
1937 allocate physical memory which is used by bus performance hardware to
1938 dump performance data.
1939
Mona Hossain11c03ac2011-10-26 12:42:10 -07001940config MSM_TZ_LOG
1941 tristate "MSM Trust Zone (TZ) Log Driver"
1942 depends on DEBUG_FS
1943 help
1944 This option enables a driver with a debugfs interface for messages
1945 produced by the Secure code (Trust zone). These messages provide
1946 diagnostic information about TZ operation.
1947
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001948config MSM_RPM_LOG
1949 tristate "MSM Resource Power Manager Log Driver"
1950 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001951 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001952 default n
1953 help
1954 This option enables a driver which can read from a circular buffer
1955 of messages produced by the RPM. These messages provide diagnostic
1956 information about RPM operation. The driver outputs the messages
1957 via a debugfs node.
1958
1959config MSM_RPM_STATS_LOG
1960 tristate "MSM Resource Power Manager Stat Driver"
1961 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001962 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001963 default n
1964 help
1965 This option enables a driver which reads RPM messages from a shared
1966 memory location. These messages provide statistical information about
1967 the low power modes that RPM enters. The drivers outputs the message
1968 via a debugfs node.
1969
1970config MSM_IOMMU
1971 bool "MSM IOMMU Support"
Joel King41d594e2011-10-14 13:18:20 -07001972 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_APQ8064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001973 select IOMMU_API
1974 default n
1975 help
1976 Support for the IOMMUs found on certain Qualcomm SOCs.
1977 These IOMMUs allow virtualization of the address space used by most
1978 cores within the multimedia subsystem.
1979
1980 If unsure, say N here.
1981
1982config IOMMU_PGTABLES_L2
1983 bool "Allow SMMU page tables in the L2 cache (Experimental)"
1984 depends on MSM_IOMMU=y
1985 depends on MMU
1986 depends on CPU_DCACHE_DISABLE=n
1987 depends on SMP
1988 default y
1989 help
1990 Improves TLB miss latency at the expense of potential L2 pollution.
1991 However, with large multimedia buffers, the TLB should mostly contain
1992 section mappings and TLB misses should be quite infrequent.
1993 Most people can probably say Y here.
1994
1995config MSM_DIRECT_SCLK_ACCESS
1996 bool "Direct access to the SCLK timer"
1997 default n
1998
1999config IOMMU_API
2000 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07002001
Gregory Beanab78cde2010-09-01 16:26:12 -07002002config MSM_GPIOMUX
2003 bool
2004
Gregory Bean1963a2a2010-08-28 10:05:44 -07002005config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002006 bool
2007
2008config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07002009 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002010
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002011config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002012 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002013
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002014config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002015 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002016
Matt Wagantall88b86312012-01-31 16:53:03 -08002017config MSM_PM
2018 depends on PM
2019 bool
2020
2021config MSM_PM2
2022 depends on PM
2023 bool
2024
2025config MSM_PM8X60
2026 depends on PM
2027 bool
2028
2029config MSM_NOPM
2030 default y if !PM
2031 bool
2032
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002033config MSM_BUS_SCALING
2034 bool "Bus scaling driver"
2035 default n
2036
Gagan Mac85c70492011-06-10 16:07:47 -06002037config MSM_BUS_RPM_MULTI_TIER_ENABLED
2038 bool "RPM Multi-tiering Configuration"
2039 depends on MSM_BUS_SCALING
2040
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002041config MSM_WATCHDOG
2042 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002043 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002044 help
2045 This enables the watchdog as is present on 8x60. Currently we use
2046 core 0's watchdog, and reset the entire SoC if it times out. It does
2047 not run during the bootup process, so it will not catch any early
2048 lockups.
2049
2050config MSM_DLOAD_MODE
2051 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07002052 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002053 default n
2054 help
2055 This makes the SoC enter download mode when it resets
2056 due to a kernel panic. Note that this doesn't by itself
2057 make the kernel reboot on a kernel panic - that must be
2058 enabled via another mechanism.
2059
Pratik Patel17f3b822011-11-21 12:41:47 -08002060config MSM_JTAG
2061 bool "JTAG debug and trace support"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002062 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002063 Add additional support for JTAG kernel debugging and tracing.
Pratik Patel7831c082011-06-08 21:44:37 -07002064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002065config MSM_ETM
2066 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002067 depends on ARCH_MSM8X60
2068 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002069 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002070 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002071
2072config MSM_QDSS
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002073 bool "Qualcomm Debug Subsystem"
Pratik Patel17f3b822011-11-21 12:41:47 -08002074 select MSM_JTAG
Pratik Patel7831c082011-06-08 21:44:37 -07002075 help
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002076 Enables support for Qualcomm Debug Subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002077
Pratik Patel29cba152012-01-03 11:40:26 -08002078config MSM_QDSS_ETM_DEFAULT_ENABLE
2079 bool "Turn on QDSS ETM Tracing by Default"
2080 depends on MSM_QDSS
2081 help
2082 Turns on QDSS ETM tracing by default. Otherwise, tracing is
2083 disabled by default but can be enabled by other means.
2084
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002085config MSM_SLEEP_STATS
2086 bool "Enable exporting of MSM sleep stats to userspace"
2087 depends on CPU_IDLE
2088 default n
2089
Lynus Vazdde09ee2012-01-05 13:28:22 +05302090config MSM_SLEEP_STATS_DEVICE
2091 bool "Enable exporting of MSM sleep device stats to userspace"
2092
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302093config MSM_RUN_QUEUE_STATS
2094 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Krishna Vankae2922052012-03-02 09:59:12 +05302095 depends on (MSM_SOC_REV_A || ARCH_MSM8X60 || ARCH_MSM8960)
2096 help
2097 This option enalbes statistics collection on Run Queue. A daemon
2098 in user mode, called MPDecision will be using this data to decide
2099 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302100
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002101config MSM_STANDALONE_POWER_COLLAPSE
2102 bool "Enable standalone power collapse"
2103 default n
2104
2105config MSM_GSBI9_UART
2106 bool "Enable GSBI9 UART device"
2107 default n
2108 help
2109 This enables GSBI9 configured into UART.
2110
2111config MSM_SHARED_GPIO_FOR_UART2DM
2112 bool "Use shared GPIOs into UART mode"
2113 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2114 help
2115 This option configures GPIO muxed with SDC4/MMC3
2116 8-bit mode into UART mode. It is used for serial
2117 console on UART2DM. Say Y if you want to have
2118 serial console on UART2DM.
2119
2120config MSM_SHOW_RESUME_IRQ
2121 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002122 depends on (ARM_GIC || PMIC8058)
2123 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002124 default n
2125 help
2126 This option logs wake up interrupts that have triggered just before
2127 the resume loop unrolls. Say Y if you want to debug why the system
2128 resumed.
2129
2130config BT_MSM_PINTEST
2131 tristate "MSM Bluetooth Pin Connectivity Test"
2132 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2133 default n
2134 help
2135 Bluetooth MSM Pin Connectivity test module.
2136 This driver provides support for verifying the MSM to BT pin
2137 connectivity.
2138
2139config MSM_FAKE_BATTERY
2140 depends on POWER_SUPPLY
2141 default n
2142 bool "MSM Fake Battery"
2143 help
2144 Enables MSM fake battery driver.
2145
2146config MSM_QDSP6_APR
2147 bool "Audio QDSP6 APR support"
2148 depends on MSM_SMD
2149 default n
2150 help
2151 Enable APR IPC protocol support between
2152 application processor and QDSP6. APR is
2153 used by audio driver to configure QDSP6's
2154 ASM, ADM and AFE.
2155
2156
2157config MSM_AUDIO_QDSP6
2158 bool "QDSP6 HW Audio support"
2159 select SND_SOC_MSM_QDSP6_INTF
2160 default n
2161 help
2162 Enable HW audio support in QDSP6.
2163 QDSP6 can support HW encoder & decoder and audio processing
2164
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002165config MSM_ULTRASOUND
2166 bool "MSM ultrasound support"
2167 depends on MSM_AUDIO_QDSP6
2168 help
2169 Enable support for qdsp6/ultrasound.
2170
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002171config MSM_RPC_VIBRATOR
2172 bool "RPC based MSM Vibrator Support"
2173 depends on MSM_ONCRPCROUTER
2174 help
2175 Enable the vibrator support on MSM over RPC. The vibrator
2176 is connected on the PMIC. Say Y if you want to enable this
2177 feature.
2178
2179config PM8XXX_RPC_VIBRATOR
2180 bool "RPC based Vibrator on PM8xxx PMICs"
2181 depends on MSM_RPC_VIBRATOR
2182 help
2183 Enable the vibrator support on MSM over RPC. The vibrator
2184 is connected on the PM8XXX PMIC. Say Y if you want to enable
2185 this feature.
2186
2187config MSM_SPM_V1
2188 bool "Driver support for SPM Version 1"
2189 help
2190 Enables the support for Version 1 of the SPM driver. SPM hardware is
2191 used to manage the processor power during sleep. The driver allows
2192 configuring SPM to allow different power modes.
2193
2194config MSM_SPM_V2
2195 bool "Driver support for SPM Version 2"
2196 help
2197 Enables the support for Version 2 of the SPM driver. SPM hardware is
2198 used to manage the processor power during sleep. The driver allows
2199 configuring SPM to allow different power modes.
2200
2201config MSM_L2_SPM
2202 bool "SPM support for L2 cache"
2203 depends on MSM_SPM_V2
2204 help
2205 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2206 control of L2 cache low power mode with a Subsystem Power manager.
2207 Enabling this driver allows configuring L2 SPM for low power modes
2208 on supported chipsets.
2209
Laura Abbott2d1760b2011-09-29 21:31:24 -07002210config MSM_MULTIMEDIA_USE_ION
2211 bool "Multimedia suport using Ion"
2212 depends on ION_MSM
2213 help
2214 Enable support for multimedia drivers using Ion for buffer management
2215 instead of pmem. Selecting this may also involve userspace
2216 dependencies as well.
2217
Laura Abbottad340ff2012-01-04 14:23:48 -08002218config MSM_RTB
2219 bool "Register tracing"
2220 help
2221 Add support for logging different events to a small uncached
2222 region. This is designed to aid in debugging reset cases where the
2223 caches may not be flushed before the target resets.
2224
2225config MSM_RTB_SEPARATE_CPUS
2226 bool "Separate entries for each cpu"
2227 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002228 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002229 help
2230 Under some circumstances, it may be beneficial to give dedicated space
2231 for each cpu to log accesses. Selecting this option will log each cpu
2232 separately. This will guarantee that the last acesses for each cpu
2233 will be logged but there will be fewer entries per cpu
2234
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002235config MSM_CACHE_ERP
2236 bool "Cache / CPU error reporting"
2237 depends on ARCH_MSM_KRAIT
2238 help
2239 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2240 log. Enabling this feature can be used as a system debugging technique
2241 if cache corruption is suspected. Cache error statistics will also be
2242 reported in /proc/cpu/msm_cache_erp.
2243
2244 For production builds, you should probably say 'N' here.
2245
2246config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002247 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002248 depends on MSM_CACHE_ERP
2249 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002250 To cause the kernel to panic whenever an L1 cache error is detected, say
2251 'Y' here. This may be useful as a debugging technique if general system
2252 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002253
2254 For production builds, you should probably say 'N' here.
2255
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002256config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2257 bool "Report L2 master port slave/decode errors in kernel log"
2258 depends on MSM_CACHE_ERP
2259 help
2260 Master port errors can occur when a memory request is not properly
2261 handled by the destination slave. This can occur if the destination
2262 register does not exist or is inaccessible due to security
2263 restrictions or (in some cases) clock configuration. Enabling this
2264 option will cause a backtrace to be printed to the kernel log whenever
2265 such an error is encountered. Note that the error is reported as an
2266 interrupt rather than as an exception, meaning that the backtrace may
2267 have some skid. This option may help with debugging, though production
2268 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002269
2270config MSM_L2_ERP_PORT_PANIC
2271 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002272 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002273 help
2274 Master port errors can occur when a memory request is not properly
2275 handled by the destination slave. Enable this option to catch drivers
2276 which attempt to access bad areas of the address space, or access
2277 hardware registers in an improper state (such as certain clocks not
2278 being on). This option may help with debugging, though production
2279 builds should probably say 'N' here.
2280
2281config MSM_L2_ERP_1BIT_PANIC
2282 bool "Panic on recoverable L2 soft errors"
2283 depends on MSM_CACHE_ERP
2284 help
2285 Enable this option to cause a kernel panic whenever the L2 cache
2286 encounters a single-bit (correctable) soft error. This option should
2287 only be enabled when doing low-level debugging where cache corruption
2288 is suspected.
2289
2290 For production builds, you should definitely say 'N' here.
2291
2292config MSM_L2_ERP_2BIT_PANIC
2293 bool "Panic on unrecoverable L2 soft errors"
2294 depends on MSM_CACHE_ERP
2295 help
2296 Enable this option to cause a kernel panic whenever the L2 cache
2297 encounters a double-bit (non-correctable) soft error. Debug builds
2298 will likely benefit from having this option enabled to catch cache
2299 problems as soon as possible.
2300
2301 For production builds, it may be acceptable to say 'N' here, since
2302 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002303
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002304config MSM_DCVS
2305 bool "Use MSM DCVS for CPU/GPU Frequency control"
2306 depends on MSM_SCM
2307 help
2308 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2309 The DCVS manager allows idle driver to feed the idle information to the
2310 algorithm and the algorithm returns a frequency for the core which is
2311 passed to the frequency change driver.
2312
Taniya Dasc43e6872012-03-21 16:41:14 +05302313config HAVE_ARCH_HAS_CURRENT_TIMER
2314 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002315
2316config MSM_CACHE_DUMP
2317 bool "Cache dumping support"
2318 help
2319 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2320 This allows for analysis of the caches in case cache corruption is
2321 suspected.
2322
Laura Abbott7b637362012-03-29 16:43:49 -07002323config MSM_CACHE_DUMP_ON_PANIC
2324 bool "Dump caches on panic"
2325 depends on MSM_CACHE_DUMP
2326 help
2327 By default, the caches are flushed on panic. This means that trying to
2328 look at them in a RAM dump will give useless data. Select this if you
2329 want to dump the L1 and L2 caches on panic before any flush occurs.
2330 If unsure, say N
2331
Jack Phamccbbfab2012-04-09 19:50:20 -07002332config MSM_HSIC_SYSMON
2333 tristate "MSM HSIC system monitor driver"
2334 depends on USB
2335 help
2336 Add support for bridging with the system monitor interface of MDM
2337 over HSIC. This driver allows the local system monitor to
2338 communicate with the remote system monitor interface.
2339
2340config MSM_HSIC_SYSMON_TEST
2341 tristate "MSM HSIC system monitor bridge test"
2342 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2343 help
2344 Enable the test hook for the Qualcomm system monitor HSIC driver.
2345 This will create a debugfs file entry named "hsic_sysmon_test" which
2346 can be read and written to send character data to the sysmon port of
2347 the modem over USB.
2348
Brian Swetland9e73c842007-11-26 04:12:13 -08002349endif