blob: b21602732e41f951ee472098003fae90fce84192 [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
Daniel Walker7b521612010-05-06 12:44:57 -0700546config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700547 depends on ARCH_MSM7X30
548 depends on !MSM_STACKED_MEMORY
549 default y
550 bool "MSM7x30 SURF"
551 help
552 Support for the Qualcomm MSM7x30 SURF eval board.
553
554config MACH_MSM7X30_FFA
555 depends on ARCH_MSM7X30
556 depends on !MSM_STACKED_MEMORY
557 default y
558 bool "MSM7x30 FFA"
559 help
560 Support for the Qualcomm MSM7x30 FFA eval board.
561
562config MACH_MSM7X30_FLUID
563 depends on ARCH_MSM7X30
564 depends on !MSM_STACKED_MEMORY
565 default y
566 bool "MSM7x30 FLUID"
567 help
568 Support for the Qualcomm MSM7x30 FLUID eval board.
569
570config MACH_SAPPHIRE
571 depends on ARCH_MSM7X01A
572 default n
573 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700574
Daniel Walker4ad15e62010-05-06 13:54:17 -0700575config MACH_QSD8X50_SURF
576 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700577 depends on MSM_SOC_REV_NONE
578 depends on MSM_STACKED_MEMORY
579 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700580 bool "QSD8x50 SURF"
581 help
582 Support for the Qualcomm QSD8x50 SURF eval board.
583
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700584config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700585 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700586 depends on MSM_SOC_REV_NONE
587 depends on MSM_STACKED_MEMORY
588 default y
589 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700590 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700591 Support for the Qualcomm QSD8x50 FFA eval board.
592
593config MACH_MSM7X25_SURF
594 depends on ARCH_MSM7X25
595 depends on !MSM_STACKED_MEMORY
596 default y
597 bool "MSM7x25 SURF"
598 help
599 Support for the Qualcomm MSM7x25 SURF eval board.
600
601config MACH_MSM7X25_FFA
602 depends on ARCH_MSM7X25
603 depends on !MSM_STACKED_MEMORY
604 default y
605 bool "MSM7x25 FFA"
606 help
607 Support for the Qualcomm MSM7x25 FFA eval board.
608
609config MACH_MSM8X55_SURF
610 depends on ARCH_MSM7X30
611 depends on !MSM_STACKED_MEMORY
612 default y
613 bool "MSM8X55 SURF"
614 help
615 Support for the Qualcomm MSM8x55 SURF eval board.
616
617config MACH_MSM8X55_FFA
618 depends on ARCH_MSM7X30
619 depends on !MSM_STACKED_MEMORY
620 default y
621 bool "MSM8X55 FFA"
622 help
623 Support for the Qualcomm MSM8x55 FFA eval board.
624
625config MACH_MSM8X55_SVLTE_FFA
626 depends on ARCH_MSM7X30
627 depends on !MSM_STACKED_MEMORY
628 default y
629 bool "MSM8X55 SVLTE FFA"
630 help
631 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
632
633config MACH_MSM8X55_SVLTE_SURF
634 depends on ARCH_MSM7X30
635 depends on !MSM_STACKED_MEMORY
636 default y
637 bool "MSM8X55 SVLTE SURF"
638 help
639 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700640
Steve Mucklea55df6e2010-01-07 12:43:24 -0800641config MACH_MSM8X60_RUMI3
642 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700643 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800644 bool "MSM8x60 RUMI3"
645 help
646 Support for the Qualcomm MSM8x60 RUMI3 emulator.
647
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800648config MACH_MSM8X60_SIM
649 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700650 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800651 bool "MSM8x60 Simulator"
652 help
653 Support for the Qualcomm MSM8x60 simulator.
654
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700655config MACH_MSM8X60_SURF
656 depends on ARCH_MSM8X60
657 default n
658 bool "MSM8x60 SURF"
659 help
660 Support for the Qualcomm MSM8x60 SURF eval board.
661
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700662config MACH_MSM8X60_FFA
663 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700664 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700665 bool "MSM8x60 FFA"
666 help
667 Support for the Qualcomm MSM8x60 FFA eval board.
668
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700669config MACH_MSM8X60_FLUID
670 depends on ARCH_MSM8X60
671 default n
672 bool "MSM8x60 FLUID"
673 help
674 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
675 8x60 target which has a form factor that is much closer to that
676 of a phone than other targets. It also has a new display and
677 touchscreen controller.
678
679config MACH_MSM8X60_FUSION
680 depends on ARCH_MSM8X60
681 default n
682 bool "MSM8x60 FUSION"
683 help
684 Support for the Qualcomm MSM8x60 Fusion SURF device.
685
686config MACH_MSM8X60_FUSN_FFA
687 depends on ARCH_MSM8X60
688 default n
689 bool "MSM8x60 FUSN FFA"
690 help
691 Support for the Qualcomm MSM8x60 Fusion FFA device.
692
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400693config MACH_MSM8X60_DRAGON
694 depends on ARCH_MSM8X60
695 default n
696 bool "MSM8x60 DRAGON"
697 help
698 Support for the Qualcomm MSM8x60 Dragon board.
699
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800700config MACH_MSM8960_SIM
701 depends on ARCH_MSM8960
702 bool "MSM8960 Simulator"
703 help
704 Support for the Qualcomm MSM8960 simulator.
705
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800706config MACH_MSM8960_RUMI3
707 depends on ARCH_MSM8960
708 bool "MSM8960 RUMI3"
709 help
710 Support for the Qualcomm MSM8960 RUMI3 emulator.
711
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700712config MACH_MSM8960_CDP
713 depends on ARCH_MSM8960
714 bool "MSM8960 CDP"
715 help
716 Support for the Qualcomm MSM8960 CDP device.
717
718config MACH_MSM8960_MTP
719 depends on ARCH_MSM8960
720 bool "MSM8960 MTP"
721 help
722 Support for the Qualcomm MSM8960 MTP device.
723
724config MACH_MSM8960_FLUID
725 depends on ARCH_MSM8960
726 bool "MSM8960 FLUID"
727 help
728 Support for the Qualcomm MSM8960 FLUID device.
729
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300730config MACH_MSM8960_LIQUID
731 depends on ARCH_MSM8960
732 bool "MSM8960 LIQUID"
733 help
734 Support for the Qualcomm MSM8960 LIQUID device.
735
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700736config MACH_MSM8930_CDP
737 depends on ARCH_MSM8930
738 bool "MSM8930 CDP"
739 help
740 Support for the Qualcomm MSM8930 CDP device.
741
742config MACH_MSM8930_MTP
743 depends on ARCH_MSM8930
744 bool "MSM8930 MTP"
745 help
746 Support for the Qualcomm MSM8930 MTP device.
747
748config MACH_MSM8930_FLUID
749 depends on ARCH_MSM8930
750 bool "MSM8930 FLUID"
751 help
752 Support for the Qualcomm MSM8930 FLUID device.
753
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800754config MACH_MSM8627_CDP
755 depends on ARCH_MSM8930
756 bool "MSM8627 CDP"
757 help
758 Support for the Qualcomm MSM8627 CDP device.
759
760config MACH_MSM8627_MTP
761 depends on ARCH_MSM8930
762 bool "MSM8627 MTP"
763 help
764 Support for the Qualcomm MSM8627 MTP device.
765
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700766config MACH_MSM9615_CDP
767 depends on ARCH_MSM9615
768 bool "MSM9615 CDP"
769 help
770 Support for the Qualcomm MSM9615 CDP device.
771
772config MACH_MSM9615_MTP
773 depends on ARCH_MSM9615
774 bool "MSM9615 MTP"
775 help
776 Support for the Qualcomm MSM9615 MTP device.
777
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700778config MSM_USE_TSIF1
779 depends on ARCH_MSM8X60
780 bool "MSM8x60 use TSIF1"
781 help
782 Selects TSIF1 core to be used rather than TSIF0.
783 The two TSIF cores share the same DM configuration
784 so they cannot be used simultaneously.
785
786config MACH_APQ8064_SIM
787 depends on ARCH_APQ8064
788 bool "APQ8064 Simulator"
789 help
790 Support for the Qualcomm APQ8064 simulator.
791
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700792config MACH_APQ8064_RUMI3
793 depends on ARCH_APQ8064
794 bool "APQ8064 RUMI3"
795 help
796 Support for the Qualcomm APQ8064 RUMI3 emulator.
797
Joel King82b7e3f2012-01-05 10:03:27 -0800798config MACH_APQ8064_CDP
799 depends on ARCH_APQ8064
800 bool "APQ8064 CDP"
801 help
802 Support for the Qualcomm APQ8064 CDP device.
803
804config MACH_APQ8064_MTP
805 depends on ARCH_APQ8064
806 bool "APQ8064 MTP"
807 help
808 Support for the Qualcomm APQ8064 MTP device.
809
810config MACH_APQ8064_LIQUID
811 depends on ARCH_APQ8064
812 bool "APQ8064 LIQUID"
813 help
814 Support for the Qualcomm APQ8064 LIQUID device.
815
Joel King064bbf82012-04-01 13:23:39 -0700816config MACH_MPQ8064_CDP
817 depends on ARCH_APQ8064
818 bool "MPQ8064 CDP"
819 help
820 Support for the Qualcomm MPQ8064 CDP device.
821
Joel King11ca8202012-02-13 16:19:03 -0800822config MACH_MPQ8064_HRD
823 depends on ARCH_APQ8064
824 bool "MPQ8064 HRD"
825 help
826 Support for the Qualcomm MPQ8064 HRD device.
827
828config MACH_MPQ8064_DTV
829 depends on ARCH_APQ8064
830 bool "MPQ8064 DTV"
831 help
832 Support for the Qualcomm MPQ8064 DTV device.
833
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700834config MACH_FSM9XXX_SURF
835 depends on ARCH_FSM9XXX
836 depends on !MSM_STACKED_MEMORY
837 default y
838 bool "FSM9XXX SURF"
839 help
840 Support for the Qualcomm FSM9xxx femtocell
841 chipset based SURF evaluation board and
842 FFA board.
843
Daniel Walker4ad15e62010-05-06 13:54:17 -0700844endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800845
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700846config MSM_STACKED_MEMORY
847 bool "Stacked Memory"
848 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800849 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700850 This option is used to indicate the presence of on-die stacked
851 memory. When present this memory bank is used for a high speed
852 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800853
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700854config PHYS_OFFSET
855 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700856 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700857 default "0x80200000" if ARCH_APQ8064
858 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700859 default "0x80200000" if ARCH_MSM8930
Sathish Ambley39a1dc42012-03-19 21:46:26 -0700860 default "0x20200000" if ARCH_MSMCOPPER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700861 default "0x10000000" if ARCH_FSM9XXX
862 default "0x00200000" if !MSM_STACKED_MEMORY
863 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
864 default "0x20000000" if ARCH_QSD8X50
865 default "0x40200000" if ARCH_MSM8X60
866 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800867
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700868config KERNEL_PMEM_EBI_REGION
869 bool "Enable in-kernel PMEM region for EBI"
870 default y if ARCH_MSM8X60
Olav Hauganb800c8c2012-01-30 08:50:45 -0800871 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSMCOPPER)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700872 help
873 Enable the in-kernel PMEM allocator to use EBI memory.
874
875config KERNEL_PMEM_SMI_REGION
876 bool "Enable in-kernel PMEM region for SMI"
877 default y if ARCH_MSM8X60
878 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
879 help
880 Enable the in-kernel PMEM allocator to use SMI memory.
881
882config PMEM_GPU0
883 bool "Enable PMEM GPU0 region"
884 default y
885 depends on ARCH_QSD8X50 && ANDROID_PMEM
886 help
887 Enable the PMEM GPU0 device on SMI Memory.
888
889config MSM_AMSS_VERSION
890 int
891 default 6210 if MSM_AMSS_VERSION_6210
892 default 6220 if MSM_AMSS_VERSION_6220
893 default 6225 if MSM_AMSS_VERSION_6225
894
895choice
896 prompt "AMSS modem firmware version"
897
898 default MSM_AMSS_VERSION_6225
899
900 config MSM_AMSS_VERSION_6210
901 bool "6.2.10"
902
903 config MSM_AMSS_VERSION_6220
904 bool "6.2.20"
905
906 config MSM_AMSS_VERSION_6225
907 bool "6.2.20 + New ADSP"
908endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800909
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700910config MSM_HAS_DEBUG_UART_HS
911 bool
912 help
913 Say Y here if high speed MSM UART is present.
914
915config MSM_HAS_DEBUG_UART_HS_V14
916 bool
917 select MSM_HAS_DEBUG_UART_HS
918 help
919 Say Y here if high speed MSM UART v1.4 is present.
920
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800921config DEBUG_MSM8930_UART
922 bool "Kernel low-level debugging messages via MSM 8930 UART"
923 depends on ARCH_MSM8930 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700924 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800925 help
926 Say Y here if you want the debug print routines to direct
927 their output to the serial port on MSM 8930 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100928
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530929config MSM_DEBUG_UART_PHYS
930 hex
931 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
932 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
933 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
934 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
935 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
936 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
937 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
938 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
939
Pavel Machek6339f662009-11-02 11:48:29 +0100940choice
941 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800942 depends on DEBUG_LL
Pavel Machek6339f662009-11-02 11:48:29 +0100943
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800944 config DEBUG_MSM_UART1
945 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530946 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800947 help
948 Say Y here if you want the debug print routines to direct
949 their output to the first serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100950
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800951 config DEBUG_MSM_UART2
952 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530953 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800954 help
955 Say Y here if you want the debug print routines to direct
956 their output to the second serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100957
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800958 config DEBUG_MSM_UART3
959 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530960 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800961 help
962 Say Y here if you want the debug print routines to direct
963 their output to the third serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100964
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800965 config DEBUG_MSM8660_UART
966 bool "Kernel low-level debugging messages via MSM 8660 UART"
967 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700968 select MSM_HAS_DEBUG_UART_HS
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 serial port on MSM 8660 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100972
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800973 config DEBUG_MSM8960_UART
974 bool "Kernel low-level debugging messages via MSM 8960 UART"
975 depends on ARCH_MSM8960
976 select DEBUG_MSM8930_UART
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700977 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800978 help
979 Say Y here if you want the debug print routines to direct
980 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700981
982 config DEBUG_MSMCOPPER_UART
983 bool "Kernel low-level debugging messages via MSM Copper UART"
984 depends on ARCH_MSMCOPPER
985 select MSM_HAS_DEBUG_UART_HS_V14
986 help
987 Say Y here if you want the debug print routines to direct
988 their output to the serial port on MSM Copper devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100989endchoice
990
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700991choice
992 prompt "Default Timer"
993 default MSM7X00A_USE_GP_TIMER
994
995 config MSM7X00A_USE_GP_TIMER
996 bool "GP Timer"
997 help
998 Low resolution timer that allows power collapse from idle.
999
1000 config MSM7X00A_USE_DG_TIMER
1001 bool "DG Timer"
1002 help
1003 High resolution timer.
1004endchoice
1005
1006choice
1007 prompt "Suspend sleep mode"
1008 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1009 help
1010 Allows overriding the sleep mode used. Leave at power
1011 collapse suspend unless the arm9 image has problems.
1012
1013 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1014 bool "Power collapse suspend"
1015 help
1016 Lowest sleep state. Returns through reset vector.
1017
1018 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1019 bool "Power collapse"
1020 help
1021 Sleep state that returns through reset vector.
1022
1023 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1024 bool "Apps Sleep"
1025
1026 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1027 bool "Ramp down cpu clock and wait for interrupt"
1028
1029 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1030 bool "Wait for interrupt"
1031endchoice
1032
1033config MSM7X00A_SLEEP_MODE
1034 int
1035 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1036 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1037 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1038 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1039 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1040
1041choice
1042 prompt "Idle sleep mode"
1043 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1044 help
1045 Allows overriding the sleep mode used from idle. Leave at power
1046 collapse suspend unless the arm9 image has problems.
1047
1048 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1049 bool "Power collapse suspend"
1050 help
1051 Lowest sleep state. Returns through reset vector.
1052
1053 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1054 bool "Power collapse"
1055 help
1056 Sleep state that returns through reset vector.
1057
1058 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1059 bool "Apps Sleep"
1060
1061 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1062 bool "Ramp down cpu clock and wait for interrupt"
1063
1064 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1065 bool "Wait for interrupt"
1066endchoice
1067
1068config MSM7X00A_IDLE_SLEEP_MODE
1069 int
1070 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1071 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1072 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1073 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1074 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1075
1076config MSM7X00A_IDLE_SLEEP_MIN_TIME
1077 int "Minimum idle time before sleep"
1078 default 20000000
1079 help
1080 Minimum idle time in nanoseconds before entering low power mode.
1081
1082config MSM7X00A_IDLE_SPIN_TIME
1083 int "Idle spin time before cpu ramp down"
1084 default 80000
1085 help
1086 Spin time in nanoseconds before ramping down cpu clock and entering
1087 any low power state.
1088
1089menuconfig MSM_IDLE_STATS
1090 bool "Collect idle statistics"
1091 default y
1092 help
1093 Collect idle statistics and export them in proc/msm_pm_stats.
1094
1095if MSM_IDLE_STATS
1096
1097config MSM_IDLE_STATS_FIRST_BUCKET
1098 int "First bucket time"
1099 default 62500
1100 help
1101 Upper time limit in nanoseconds of first bucket.
1102
1103config MSM_IDLE_STATS_BUCKET_SHIFT
1104 int "Bucket shift"
1105 default 2
1106
1107config MSM_IDLE_STATS_BUCKET_COUNT
1108 int "Bucket count"
1109 default 10
1110
1111config MSM_SUSPEND_STATS_FIRST_BUCKET
1112 int "First bucket time for suspend"
1113 default 1000000000
1114 help
1115 Upper time limit in nanoseconds of first bucket of the
1116 histogram. This is for collecting statistics on suspend.
1117
1118endif # MSM_IDLE_STATS
1119
1120config CPU_HAS_L2_PMU
1121 bool "L2CC PMU Support"
1122 help
1123 Select this if the L2 cache controller has a Performance Monitoring Unit.
1124
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001125config HTC_HEADSET
1126 tristate "HTC 2 Wire detection driver"
1127 default n
1128 help
1129 Provides support for detecting HTC 2 wire devices, such as wired
1130 headset, on the trout platform. Can be used with the msm serial
1131 debugger, but not with serial console.
1132
1133config TROUT_BATTCHG
1134 depends on MACH_TROUT && POWER_SUPPLY
1135 default y
1136 bool "Trout battery / charger driver"
1137
1138config HTC_PWRSINK
1139 depends on MSM_SMD
1140 default n
1141 bool "HTC Power Sink Driver"
1142
1143config QSD_SVS
1144 bool "QSD Static Voltage Scaling"
1145 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1146 default y
1147 select TPS65023
1148 help
1149 Enables static voltage scaling using the TPS65023 PMIC.
1150
1151config QSD_PMIC_DEFAULT_DCDC1
1152 int "PMIC default output voltage"
1153 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1154 default 1250
1155 help
1156 This is the PMIC voltage at Linux kernel boot.
1157
1158config MSM_FIQ_SUPPORT
1159 default y
1160 bool "Enable installation of an FIQ handler."
1161
1162config MSM_SERIAL_DEBUGGER
1163 select MSM_FIQ_SUPPORT
1164 select KERNEL_DEBUGGER_CORE
1165 default n
1166 bool "FIQ Mode Serial Debugger"
1167 help
1168 The FIQ serial debugger can accept commands even when the
1169 kernel is unresponsive due to being stuck with interrupts
1170 disabled. Depends on the kernel debugger core in drivers/misc.
1171
1172config MSM_SERIAL_DEBUGGER_CONSOLE
1173 depends on MSM_SERIAL_DEBUGGER
1174 default n
1175 bool "Console on FIQ Serial Debugger port"
1176 help
1177 Enables a console so that printk messages are displayed on
1178 the debugger serial port as the occur.
Daniel Walkerbf83de42010-03-16 16:29:44 -07001179
Steve Mucklec8aabae2010-04-21 16:20:27 -07001180config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001181 default y
1182 bool "Proc-Comm RPC Interface"
1183 help
1184 Enables a lightweight communications interface to the
1185 baseband processor.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001186
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001187config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001188 bool "MSM Shared Memory Driver (SMD)"
1189 help
1190 Support for the shared memory interface between the apps
1191 processor and the baseband processor. Provides access to
1192 the "shared heap", as well as virtual serial channels
1193 used to communicate with various services on the baseband
1194 processor.
1195
1196choice
1197 prompt "MSM Shared memory interface version"
1198 depends on MSM_SMD
1199 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1200 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1201
1202 config MSM_SMD_PKG3
1203 bool
1204 prompt "Package 3"
1205
1206 config MSM_SMD_PKG4
1207 bool
1208 prompt "Package 4"
1209endchoice
1210
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001211config MSM_RPC_SDIO_XPRT
1212 depends on MSM_SDIO_AL
1213 default y
1214 bool "MSM SDIO XPRT Layer"
1215 help
1216 SDIO Transport Layer for RPC Rouer
1217
1218config MSM_RPC_SDIO_DEBUG
1219 depends on MSM_RPC_SDIO_XPRT
1220 default y
1221 bool "MSM SDIO XPRT debug support"
1222 help
1223 Support for debugging SDIO XPRT
1224
1225config MSM_SMD_DEBUG
1226 depends on MSM_SMD
1227 default y
1228 bool "MSM SMD debug support"
1229 help
1230 Support for debugging the SMD for communication
1231 between the ARM9 and ARM11
1232
1233config MSM_SDIO_AL
1234 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1235 default y
1236 tristate "SDIO-Abstraction-Layer"
1237 help
1238 Support MSM<->MDM Communication over SDIO bus.
1239 MDM SDIO-Client should have pipes support.
1240
1241config MSM_SDIO_DMUX
1242 bool "SDIO Data Mux Driver"
1243 depends on MSM_SDIO_AL
1244 default n
1245 help
1246 Support Muxed Data Channels over SDIO interface.
1247
1248config MSM_BAM_DMUX
1249 bool "BAM Data Mux Driver"
1250 depends on SPS
1251 default n
1252 help
1253 Support Muxed Data Channels over BAM interface.
1254 BAM has a limited number of pipes. This driver
1255 provides a means to support more logical channels
1256 via muxing than BAM could without muxing.
1257
1258config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001259 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001260 default y
1261 bool "MSM N-WAY SMD support"
1262 help
1263 Supports APPS-QDSP SMD communication along with
1264 normal APPS-MODEM SMD communication.
1265
1266config MSM_N_WAY_SMSM
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 SMSM support"
1270 help
1271 Supports APPS-QDSP SMSM communication along with
1272 normal APPS-MODEM SMSM communication.
1273
1274config MSM_RESET_MODEM
1275 tristate "Reset Modem Driver"
1276 depends on MSM_SMD
1277 default m
1278 help
1279 Allows the user to reset the modem through a device node.
1280
1281config MSM_SMD_LOGGING
1282 depends on MSM_SMD
1283 default y
1284 bool "MSM Shared Memory Logger"
1285 help
1286 This option exposes the shared memory logger at /dev/smem_log
1287 and a debugfs node named smem_log.
1288
1289 If in doubt, say yes.
1290
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001291config MSM_IPC_LOGGING
1292 bool "MSM Debug Logging for IPC Drivers"
1293 help
1294 This option allows the debug logging for IPC Drivers.
1295
1296 If in doubt, say no.
1297
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001298config MSM_SMD_NMEA
1299 bool "NMEA GPS Driver"
1300 depends on MSM_SMD
1301 default y
1302 help
1303 Enable this to support the NMEA GPS device.
1304
1305 If in doubt, say yes.
1306
1307config MSM_SDIO_TTY
1308 bool "SDIO TTY Driver"
1309 depends on MSM_SDIO_AL
1310 default n
1311 help
1312 Provides a TTY driver SDIO TTY
1313 This driver can be used by user space
1314 applications for passing data through the
1315 SDIO interface.
1316
1317config MSM_SMD_TTY
1318 bool "SMD TTY Driver"
1319 depends on MSM_SMD
1320 default y
1321 help
1322 Provides TTY interfaces to interact with the modem.
1323
1324 If in doubt, say yes.
1325
1326config MSM_SMD_QMI
1327 bool "SMD QMI Driver"
1328 depends on MSM_SMD
1329 default y
1330 help
1331 Manages network data connections.
1332
1333 If in doubt, say yes.
1334
1335config MSM_SMD_PKT
1336 bool "SMD Packet Driver"
1337 depends on MSM_SMD
1338 default y
1339 help
1340 Provides a binary SMD non-muxed packet port interface.
1341
1342 If in doubt, say yes.
1343
1344config MSM_SDIO_CMUX
1345 bool "SDIO CMUX Driver"
1346 depends on MSM_SDIO_AL
1347 default n
1348 help
1349 Provides a Muxed port interface over SDIO QMI
1350
1351config MSM_DSPS
1352 bool "Sensors DSPS driver"
1353 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1354 default n
1355 help
1356 Provides user-space interface to the sensors manager
1357 to turn on/off the Sensors Processor system clocks.
1358 It is the DSPS responsibility to turn on/off the sensors
1359 themself.
1360 The number of clocks and their name may vary between targets.
1361 It also triggers the PIL to load the DSPS firmware.
1362
1363config MSM_SDIO_CTL
1364 bool "SDIO CTL Driver"
1365 depends on MSM_SDIO_CMUX
1366 default n
1367 help
1368 Provides a binary SDIO control port interface.
1369
1370config MSM_ONCRPCROUTER
1371 depends on MSM_SMD
1372 default n
1373 bool "MSM ONCRPC router support"
1374 help
1375 Support for the MSM ONCRPC router for communication between
1376 the ARM9 and ARM11
1377
1378config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001379 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001380 default n
1381 bool "MSM IPC Router support"
1382 help
1383 Support for the MSM IPC Router for communication between
1384 the APPs and the MODEM
1385
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001386config MSM_IPC_ROUTER_SMD_XPRT
1387 depends on MSM_SMD
1388 depends on MSM_IPC_ROUTER
1389 default n
1390 bool "MSM SMD XPRT Layer"
1391 help
1392 SMD Transport Layer for IPC Router
1393
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001394config MSM_ONCRPCROUTER_DEBUG
1395 depends on MSM_ONCRPCROUTER
1396 default y
1397 bool "MSM debug ONCRPC router support"
1398 help
1399 Support for debugging the ONCRPC router for communication
1400 between the ARM9 and ARM11
1401
1402config MSM_RPC_LOOPBACK_XPRT
1403 depends on MSM_ONCRPCROUTER
1404 default n
1405 bool "MSM RPC local routing support"
1406 help
1407 Support for routing RPC messages between APPS clients
1408 and APPS servers. Helps in testing APPS RPC framework.
1409
1410config MSM_RPCSERVER_TIME_REMOTE
1411 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1412 default y
1413 bool "Time remote RPC server"
1414 help
1415 The time remote server receives notification of time bases and
1416 reports these events to registered callback functions.
1417
1418config MSM_RPCSERVER_WATCHDOG
1419 depends on MSM_ONCRPCROUTER
1420 default y
1421 bool "Watchdog RPC server"
1422 help
1423 The dog_keepalive server handles watchdog events.
1424
1425config MSM_RPC_WATCHDOG
1426 depends on MSM_ONCRPCROUTER
1427 default n
1428 bool "Watchdog RPC client"
1429 help
1430 The dog_keepalive client module.
1431
1432config MSM_RPC_PING
1433 depends on MSM_ONCRPCROUTER && DEBUG_FS
1434 default m
1435 bool "MSM rpc ping"
1436 help
1437 Implements MSM rpc ping test module.
1438
1439config MSM_RPC_PROC_COMM_TEST
1440 depends on DEBUG_FS && MSM_PROC_COMM
1441 default m
1442 bool "MSM rpc proc comm test"
1443 help
1444 Implements MSM rpc proc comm test module.
1445
1446config MSM_RPC_OEM_RAPI
1447 depends on MSM_ONCRPCROUTER
1448 default m
1449 bool "MSM oem rapi"
1450 help
1451 Implements MSM oem rapi client module.
1452
1453config MSM_RPCSERVER_HANDSET
1454 depends on MSM_ONCRPCROUTER
1455 default y
1456 bool "Handset events RPC server"
1457 help
1458 Support for receiving handset events like headset detect,
1459 headset switch and clamshell state.
1460
1461config MSM_RMT_STORAGE_CLIENT
1462 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1463 default n
1464 bool "Remote Storage RPC client"
1465 help
1466 Provide RPC mechanism for remote processors to access storage
1467 device on apps processor.
1468
1469config MSM_RMT_STORAGE_CLIENT_STATS
1470 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1471 default n
1472 bool "Remote storage RPC client performance statistics"
1473 help
1474 Collects performance statistics and shows this information
1475 through a debugfs file rmt_storage_stats.
1476
1477config MSM_SDIO_SMEM
1478 depends on MSM_SDIO_AL
1479 default n
1480 bool "SDIO SMEM for remote storage"
1481 help
1482 Copies data from remote MDM9K memory to local MSM8x60
1483 memory. Used by remote storage client to shadow
1484 MDM9K filesystem.
1485
1486config MSM_DALRPC
1487 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001488 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001489 help
1490 Supports RPC calls to DAL devices on remote processor cores.
1491
1492config MSM_DALRPC_TEST
1493 tristate "DAL RPC test module"
1494 depends on (MSM_DALRPC && DEBUG_FS)
1495 default m
1496 help
1497 Exercises DAL RPC calls to QDSP6.
1498
1499if CPU_FREQ_MSM
1500
1501config MSM_CPU_FREQ_SET_MIN_MAX
1502 bool "Set Min/Max CPU frequencies."
1503 default n
1504 help
1505 Allow setting min and max CPU frequencies. Sysfs can be used
1506 to override these values.
1507
1508config MSM_CPU_FREQ_MAX
1509 int "Max CPU Frequency"
1510 depends on MSM_CPU_FREQ_SET_MIN_MAX
1511 default 384000
1512
1513config MSM_CPU_FREQ_MIN
1514 int "Min CPU Frequency"
1515 depends on MSM_CPU_FREQ_SET_MIN_MAX
1516 default 245760
1517
1518endif # CPU_FREQ_MSM
1519
1520config MSM_CPU_AVS
1521 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1522 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1523 depends on ARCH_QSD8X50
1524 default n
1525 select MSM_AVS_HW
1526 help
1527 This enables the s/w control of Adaptive Voltage Scaling feature
1528 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1529 based on feedback from three ring oscillators in the CPU.
1530
1531config MSM_AVS_HW
1532 bool "Enable Adaptive Voltage Scaling (AVS)"
1533 default n
1534 help
1535 Enable AVS hardware to fine tune voltage at each frequency. The
1536 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1537 fine tune the voltages based on the feedback from the ring
1538 oscillators.
1539
1540config MSM_HW3D
1541 tristate "MSM Hardware 3D Register Driver"
1542 depends on ANDROID_PMEM
1543 default y
1544 help
1545 Provides access to registers needed by the userspace OpenGL|ES
1546 library.
1547
1548config MSM_ADSP
1549 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1550 tristate "MSM ADSP driver"
1551 depends on ANDROID_PMEM
1552 default y
1553 help
1554 Provides access to registers needed by the userspace aDSP library.
1555
1556config ADSP_RPC_VER
1557 hex
1558 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1559 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1560 depends on MSM_ADSP
1561 help
1562 Select proper ADSP RPC version
1563choice
1564 prompt "ADSP RPC version"
1565
1566 default AMSS_7X25_VERSION_2009
1567
1568 config AMSS_7X25_VERSION_2009
1569 bool "2.0.09"
1570
1571 config AMSS_7X25_VERSION_2008
1572 bool "2.0.08"
1573endchoice
1574
1575config MSM7KV2_AUDIO
1576 bool "MSM7K v2 audio"
1577 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1578 default y
1579 help
1580 Enables QDSP5V2-based audio drivers for audio playbacks and
1581 voice call.
1582
1583config MSM_ADSP_REPORT_EVENTS
1584 bool "Report modem events from the DSP"
1585 default y
1586 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1587 help
1588 Normally, only messages from the aDSP are reported to userspace.
1589 With this option, we report events from the aDSP as well.
1590
1591config MSM_QDSP6
1592 tristate "QDSP6 support"
1593 depends on ARCH_QSD8X50 && ANDROID_PMEM
1594 default y
1595 help
1596 Enable support for qdsp6. This provides audio and video functionality.
1597
1598config MSM8X60_AUDIO
1599 tristate "MSM8X60 audio support"
1600 depends on ARCH_MSM8X60 && ANDROID_PMEM
1601 default y
1602 help
1603 Enable support for qdsp6v2. This provides audio functionality.
1604
1605config MSM8X60_FTM_AUDIO_DEVICES
1606 bool "MSM8X60 audio factory test mode support"
1607 depends on MSM8X60_AUDIO
1608 help
1609 Enable support audio factory test mode devices. This is used
1610 in a production line environment.
1611
Ben Romberger45b351c2011-07-20 22:37:27 -07001612config RTAC
1613 bool "MSM8K real-time audio calibration support"
1614 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001615 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001616 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001617 audio operation
1618
1619config MSM7X27A_AUDIO
1620 bool "MSM7X27A audio support"
1621 depends on ARCH_MSM7X27A && MSM_ADSP
1622 default n
1623 help
1624 Enable support for 7x27a. This provides audio functionality.
1625
Justin Pauporea6cd2092011-06-22 16:19:45 -07001626config MSM_PROC_COMM_REGULATOR
1627 bool
1628 depends on MSM_PROC_COMM && REGULATOR
1629 help
1630 Enable regulator framework support for regulators managed by PMLIB
1631 on the modem, and controlled through proccomm calls.
1632
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001633config MSM_VREG_SWITCH_INVERTED
1634 bool "Reverse vreg switch polarity"
1635 default n
1636 help
1637 Reverses the enable and disable for vreg switch.
1638
1639config MSM_DMA_TEST
1640 tristate "MSM DMA test module"
1641 default m
1642 help
1643 Intended to be compiled as a module. Provides a device node
1644 and ioctls for testing the MSM dma system.
1645
1646config WIFI_CONTROL_FUNC
1647 bool "Enable WiFi control function abstraction"
1648 help
1649 Enables Power/Reset/Carddetect function abstraction
1650
1651config WIFI_MEM_PREALLOC
1652 depends on WIFI_CONTROL_FUNC
1653 bool "Preallocate memory for WiFi buffers"
1654 help
1655 Preallocates memory buffers for WiFi driver
1656
1657config QSD_AUDIO
1658 bool "QSD audio"
1659 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1660 default y
1661 help
1662 Provides PCM, MP3, and AAC audio playback.
1663
1664config AUDIO_AAC_PLUS
1665 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1666 bool "AAC+ Audio"
1667 default y
1668 help
1669 Provides AAC+ decoding
1670
1671config AUDIO_ENHANCED_AAC_PLUS
1672 depends on AUDIO_AAC_PLUS
1673 bool "Enhanced AAC+ Audio"
1674 default y
1675 help
1676 Provides Enhanced AAC+ decoding
1677
1678config SURF_FFA_GPIO_KEYPAD
1679 bool "MSM SURF/FFA GPIO keypad"
1680 depends on INPUT_GPIO = "y"
1681 default y
1682 help
1683 Select if the GPIO keypad is attached.
1684
1685config MSM_SLEEP_TIME_OVERRIDE
1686 bool "Allow overriding suspend/sleep time with PM module parameter"
1687 default y
1688 help
1689 Enable the module parameter sleep_time_override. Specified
1690 in units of seconds, it overwrites the normal sleep time of
1691 suspend. The feature is required for automated power management
1692 testing.
1693
1694config MSM_MEMORY_LOW_POWER_MODE
1695 bool "Control the low power modes of memory"
1696 default n
1697 help
1698 The application processor controls whether memory should enter
1699 which low power mode.
1700
1701choice
1702 prompt "Default Memory Low Power Mode during Idle"
1703 depends on MSM_MEMORY_LOW_POWER_MODE
1704 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1705 help
1706 Selects the default low power mode of the memory during idle
1707 sleep.
1708
1709 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1710 bool "Memory active"
1711
1712 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1713 bool "Memory in retention"
1714
1715 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1716 bool "Memory in deep power down"
1717endchoice
1718
1719choice
1720 prompt "Default Memory Low Power Mode during Suspend"
1721 depends on MSM_MEMORY_LOW_POWER_MODE
1722 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1723 help
1724 Selects the default low power mode of the memory during suspend
1725 sleep.
1726
1727 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1728 bool "Memory active"
1729
1730 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1731 bool "Memory in retention"
1732
1733 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1734 bool "Memory in deep power down"
1735endchoice
1736
1737choice
1738 prompt "Power management timeout action"
1739 default MSM_PM_TIMEOUT_HALT
1740 help
1741 Selects the Application Processor's action when Power Management
1742 times out waiting for Modem's handshake.
1743
1744 config MSM_PM_TIMEOUT_HALT
1745 bool "Halt the Application Processor"
1746
1747 config MSM_PM_TIMEOUT_RESET_MODEM
1748 bool "Reset the Modem Processor"
1749
1750 config MSM_PM_TIMEOUT_RESET_CHIP
1751 bool "Reset the entire chip"
1752endchoice
1753
1754config MSM_IDLE_WAIT_ON_MODEM
1755 int "Wait for Modem to become ready for idle power collapse"
1756 default 0
1757 help
1758 If Modem is not ready to handle Application Processor's request
1759 for idle power collapse, wait the number of microseconds in case
1760 Modem becomes ready soon.
1761
Matt Wagantall9274df92011-12-15 11:11:05 -08001762config MSM_RPM_REGULATOR
1763 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001764 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001765 help
1766 Compile in support for the RPM regulator driver, used for setting
1767 voltages and other parameters of the various power rails supplied
1768 by some Qualcomm PMICs.
1769
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001770config MSM_PIL
1771 bool "Peripheral image loading"
1772 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001773 default n
1774 help
1775 Some peripherals need to be loaded into memory before they can be
1776 brought out of reset.
1777
1778 Say yes to support these devices.
1779
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001780config MSM_PIL_MODEM
1781 tristate "Modem (ARM11) Boot Support"
1782 depends on MSM_PIL
1783 help
1784 Support for booting and shutting down ARM11 Modem processors.
1785
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001786config MSM_PIL_QDSP6V3
1787 tristate "QDSP6v3 (Hexagon) Boot Support"
1788 depends on MSM_PIL
1789 help
1790 Support for booting and shutting down QDSP6v3 processors (hexagon).
1791 The QDSP6 is a low power DSP used in audio software applications.
1792
Stephen Boydeb819882011-08-29 14:46:30 -07001793config MSM_PIL_QDSP6V4
1794 tristate "QDSP6v4 (Hexagon) Boot Support"
1795 depends on MSM_PIL
1796 help
1797 Support for booting and shutting down QDSP6v4 processors (hexagon).
1798 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1799 software applications.
1800
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001801config MSM_PIL_LPASS_QDSP6V5
1802 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
1803 depends on MSM_PIL
1804 help
1805 Support for booting and shutting down QDSP6v5 processors (Hexagon)
1806 processors in low power audio subsystems.
1807
Stephen Boyd322a9922011-09-20 01:05:54 -07001808config MSM_PIL_RIVA
1809 tristate "RIVA (WCNSS) Boot Support"
1810 depends on MSM_PIL
1811 help
1812 Support for booting and shutting down the RIVA processor (WCNSS).
1813 Riva is the wireless subsystem processor used in bluetooth, wireless
1814 LAN, and FM software applications.
1815
Stephen Boydd89eebe2011-09-28 23:28:11 -07001816config MSM_PIL_TZAPPS
1817 tristate "TZApps Boot Support"
1818 depends on MSM_PIL
1819 help
1820 Support for booting and shutting down TZApps.
1821
1822 TZApps is an image that runs in the secure processor state. It is
1823 used to decrypt data and perform secure operations on the behalf of
1824 the kernel.
1825
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07001826config MSM_PIL_DSPS
1827 tristate "DSPS Boot Support"
1828 depends on MSM_PIL
1829 help
1830 Support for booting and shutting down ARM7 DSPS processors.
1831
1832 DSPS is a sensors offloading processor used for applications such
1833 as rotation detection, temperature, etc.
1834
Stephen Boyd7b973de2012-03-09 12:26:16 -08001835config MSM_PIL_VIDC
1836 tristate "Video Core Secure Boot Support"
1837 depends on MSM_PIL
1838 help
1839 Support for authenticating the video core image.
1840
Matt Wagantall292aace2012-01-26 19:12:34 -08001841config MSM_PIL_GSS
1842 tristate "GSS (Coretx A5) Boot Support"
1843 depends on MSM_PIL
1844 help
1845 Support for booting and shutting down Cortex A5 processors which run
1846 GPS subsystem firmware.
1847
Tianyi Gouc1e049f82011-11-23 14:20:16 -08001848config MSM_PIL_PRONTO
1849 tristate "PRONTO (WCNSS) Boot Support"
1850 depends on MSM_PIL
1851 help
1852 Support for booting and shutting down the PRONTO processor (WCNSS).
1853 PRONTO is the wireless subsystem processor used in bluetooth, wireless
1854 LAN, and FM software applications.
1855
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001856config MSM_SCM
1857 bool "Secure Channel Manager (SCM) support"
1858 default n
1859
1860config MSM_SUBSYSTEM_RESTART
1861 bool "MSM Subsystem Restart Driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001862 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001863 default n
1864 help
1865 This option enables the MSM subsystem restart driver, which provides
1866 a framework to handle subsystem crashes.
1867
Matt Wagantallf8020902011-08-30 21:19:23 -07001868config MSM_SYSMON_COMM
1869 bool "MSM System Monitor communication support"
1870 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1871 default y
1872 help
1873 This option adds support for MSM System Monitor library, which
1874 provides an API that may be used for notifying subsystems within
1875 the SoC about other subsystems' power-up/down state-changes.
1876
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001877config MSM_MODEM_8960
1878 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001879 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001880 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001881 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001882 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001883 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001884
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001885config MSM_LPASS_8960
1886 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001887 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001888 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001889 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001890 lpass 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.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001892
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001893config MSM_WCNSS_SSR_8960
1894 tristate "MSM 8960 WCNSS restart module"
1895 depends on (ARCH_MSM8960)
1896 help
1897 This option enables the WCNSS restart module for MSM8960, which
1898 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1899 into the subsystem restart framework.
1900
Rohit Vaswanid0fb4182012-03-19 18:07:59 -07001901config MSM_GSS_SSR_8064
1902 bool "MSM 8064 GSS restart driver"
1903 depends on (ARCH_APQ8064)
1904 help
1905 This option enables the gps subsystem restart driver for APQ8064, which monitors
1906 gss hardware watchdog interrupt lines and plugs into the subsystem
1907 restart and PIL drivers.
1908
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001909config SCORPION_Uni_45nm_BUG
1910 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1911 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1912 default y
1913 help
1914 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1915 invalidating the Branch Predictor Array by Modified Virtual Address can
1916 create invalid entries in the TLB with the wrong ASID values on Scorpion
1917 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1918 workaround for Scorpion Uniprocessor 45nm cores.
1919
1920 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1921
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001922config MSM_BUSPM_DEV
1923 tristate "MSM Bus Performance Monitor Kernel Module"
1924 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1925 default m
1926 help
1927 This kernel module is used to mmap() hardware registers for the
1928 performance monitors, counters, etc. The module can also be used to
1929 allocate physical memory which is used by bus performance hardware to
1930 dump performance data.
1931
Mona Hossain11c03ac2011-10-26 12:42:10 -07001932config MSM_TZ_LOG
1933 tristate "MSM Trust Zone (TZ) Log Driver"
1934 depends on DEBUG_FS
1935 help
1936 This option enables a driver with a debugfs interface for messages
1937 produced by the Secure code (Trust zone). These messages provide
1938 diagnostic information about TZ operation.
1939
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001940config MSM_RPM_LOG
1941 tristate "MSM Resource Power Manager Log Driver"
1942 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001943 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001944 default n
1945 help
1946 This option enables a driver which can read from a circular buffer
1947 of messages produced by the RPM. These messages provide diagnostic
1948 information about RPM operation. The driver outputs the messages
1949 via a debugfs node.
1950
1951config MSM_RPM_STATS_LOG
1952 tristate "MSM Resource Power Manager Stat Driver"
1953 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001954 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001955 default n
1956 help
1957 This option enables a driver which reads RPM messages from a shared
1958 memory location. These messages provide statistical information about
1959 the low power modes that RPM enters. The drivers outputs the message
1960 via a debugfs node.
1961
1962config MSM_IOMMU
1963 bool "MSM IOMMU Support"
Joel King41d594e2011-10-14 13:18:20 -07001964 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_APQ8064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001965 select IOMMU_API
1966 default n
1967 help
1968 Support for the IOMMUs found on certain Qualcomm SOCs.
1969 These IOMMUs allow virtualization of the address space used by most
1970 cores within the multimedia subsystem.
1971
1972 If unsure, say N here.
1973
1974config IOMMU_PGTABLES_L2
1975 bool "Allow SMMU page tables in the L2 cache (Experimental)"
1976 depends on MSM_IOMMU=y
1977 depends on MMU
1978 depends on CPU_DCACHE_DISABLE=n
1979 depends on SMP
1980 default y
1981 help
1982 Improves TLB miss latency at the expense of potential L2 pollution.
1983 However, with large multimedia buffers, the TLB should mostly contain
1984 section mappings and TLB misses should be quite infrequent.
1985 Most people can probably say Y here.
1986
1987config MSM_DIRECT_SCLK_ACCESS
1988 bool "Direct access to the SCLK timer"
1989 default n
1990
1991config IOMMU_API
1992 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001993
Gregory Beanab78cde2010-09-01 16:26:12 -07001994config MSM_GPIOMUX
1995 bool
1996
Gregory Bean1963a2a2010-08-28 10:05:44 -07001997config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001998 bool
1999
2000config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07002001 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002002
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002003config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002004 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002005
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002006config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002007 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002008
Matt Wagantall88b86312012-01-31 16:53:03 -08002009config MSM_PM
2010 depends on PM
2011 bool
2012
2013config MSM_PM2
2014 depends on PM
2015 bool
2016
2017config MSM_PM8X60
2018 depends on PM
2019 bool
2020
2021config MSM_NOPM
2022 default y if !PM
2023 bool
2024
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002025config MSM_BUS_SCALING
2026 bool "Bus scaling driver"
2027 default n
2028
Gagan Mac85c70492011-06-10 16:07:47 -06002029config MSM_BUS_RPM_MULTI_TIER_ENABLED
2030 bool "RPM Multi-tiering Configuration"
2031 depends on MSM_BUS_SCALING
2032
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002033config MSM_WATCHDOG
2034 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002035 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002036 help
2037 This enables the watchdog as is present on 8x60. Currently we use
2038 core 0's watchdog, and reset the entire SoC if it times out. It does
2039 not run during the bootup process, so it will not catch any early
2040 lockups.
2041
2042config MSM_DLOAD_MODE
2043 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07002044 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002045 default n
2046 help
2047 This makes the SoC enter download mode when it resets
2048 due to a kernel panic. Note that this doesn't by itself
2049 make the kernel reboot on a kernel panic - that must be
2050 enabled via another mechanism.
2051
Pratik Patel17f3b822011-11-21 12:41:47 -08002052config MSM_JTAG
2053 bool "JTAG debug and trace support"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002054 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002055 Add additional support for JTAG kernel debugging and tracing.
Pratik Patel7831c082011-06-08 21:44:37 -07002056
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002057config MSM_ETM
2058 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002059 depends on ARCH_MSM8X60
2060 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002061 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002062 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002063
2064config MSM_QDSS
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002065 bool "Qualcomm Debug Subsystem"
Pratik Patel17f3b822011-11-21 12:41:47 -08002066 select MSM_JTAG
Pratik Patel7831c082011-06-08 21:44:37 -07002067 help
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002068 Enables support for Qualcomm Debug Subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002069
Pratik Patel29cba152012-01-03 11:40:26 -08002070config MSM_QDSS_ETM_DEFAULT_ENABLE
2071 bool "Turn on QDSS ETM Tracing by Default"
2072 depends on MSM_QDSS
2073 help
2074 Turns on QDSS ETM tracing by default. Otherwise, tracing is
2075 disabled by default but can be enabled by other means.
2076
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002077config MSM_SLEEP_STATS
2078 bool "Enable exporting of MSM sleep stats to userspace"
2079 depends on CPU_IDLE
2080 default n
2081
Lynus Vazdde09ee2012-01-05 13:28:22 +05302082config MSM_SLEEP_STATS_DEVICE
2083 bool "Enable exporting of MSM sleep device stats to userspace"
2084
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302085config MSM_RUN_QUEUE_STATS
2086 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Krishna Vankae2922052012-03-02 09:59:12 +05302087 depends on (MSM_SOC_REV_A || ARCH_MSM8X60 || ARCH_MSM8960)
2088 help
2089 This option enalbes statistics collection on Run Queue. A daemon
2090 in user mode, called MPDecision will be using this data to decide
2091 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302092
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002093config MSM_STANDALONE_POWER_COLLAPSE
2094 bool "Enable standalone power collapse"
2095 default n
2096
2097config MSM_GSBI9_UART
2098 bool "Enable GSBI9 UART device"
2099 default n
2100 help
2101 This enables GSBI9 configured into UART.
2102
2103config MSM_SHARED_GPIO_FOR_UART2DM
2104 bool "Use shared GPIOs into UART mode"
2105 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2106 help
2107 This option configures GPIO muxed with SDC4/MMC3
2108 8-bit mode into UART mode. It is used for serial
2109 console on UART2DM. Say Y if you want to have
2110 serial console on UART2DM.
2111
2112config MSM_SHOW_RESUME_IRQ
2113 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002114 depends on (ARM_GIC || PMIC8058)
2115 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002116 default n
2117 help
2118 This option logs wake up interrupts that have triggered just before
2119 the resume loop unrolls. Say Y if you want to debug why the system
2120 resumed.
2121
2122config BT_MSM_PINTEST
2123 tristate "MSM Bluetooth Pin Connectivity Test"
2124 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2125 default n
2126 help
2127 Bluetooth MSM Pin Connectivity test module.
2128 This driver provides support for verifying the MSM to BT pin
2129 connectivity.
2130
2131config MSM_FAKE_BATTERY
2132 depends on POWER_SUPPLY
2133 default n
2134 bool "MSM Fake Battery"
2135 help
2136 Enables MSM fake battery driver.
2137
2138config MSM_QDSP6_APR
2139 bool "Audio QDSP6 APR support"
2140 depends on MSM_SMD
2141 default n
2142 help
2143 Enable APR IPC protocol support between
2144 application processor and QDSP6. APR is
2145 used by audio driver to configure QDSP6's
2146 ASM, ADM and AFE.
2147
2148
2149config MSM_AUDIO_QDSP6
2150 bool "QDSP6 HW Audio support"
2151 select SND_SOC_MSM_QDSP6_INTF
2152 default n
2153 help
2154 Enable HW audio support in QDSP6.
2155 QDSP6 can support HW encoder & decoder and audio processing
2156
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002157config MSM_ULTRASOUND
2158 bool "MSM ultrasound support"
2159 depends on MSM_AUDIO_QDSP6
2160 help
2161 Enable support for qdsp6/ultrasound.
2162
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002163config MSM_RPC_VIBRATOR
2164 bool "RPC based MSM Vibrator Support"
2165 depends on MSM_ONCRPCROUTER
2166 help
2167 Enable the vibrator support on MSM over RPC. The vibrator
2168 is connected on the PMIC. Say Y if you want to enable this
2169 feature.
2170
2171config PM8XXX_RPC_VIBRATOR
2172 bool "RPC based Vibrator on PM8xxx PMICs"
2173 depends on MSM_RPC_VIBRATOR
2174 help
2175 Enable the vibrator support on MSM over RPC. The vibrator
2176 is connected on the PM8XXX PMIC. Say Y if you want to enable
2177 this feature.
2178
2179config MSM_SPM_V1
2180 bool "Driver support for SPM Version 1"
2181 help
2182 Enables the support for Version 1 of the SPM driver. SPM hardware is
2183 used to manage the processor power during sleep. The driver allows
2184 configuring SPM to allow different power modes.
2185
2186config MSM_SPM_V2
2187 bool "Driver support for SPM Version 2"
2188 help
2189 Enables the support for Version 2 of the SPM driver. SPM hardware is
2190 used to manage the processor power during sleep. The driver allows
2191 configuring SPM to allow different power modes.
2192
2193config MSM_L2_SPM
2194 bool "SPM support for L2 cache"
2195 depends on MSM_SPM_V2
2196 help
2197 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2198 control of L2 cache low power mode with a Subsystem Power manager.
2199 Enabling this driver allows configuring L2 SPM for low power modes
2200 on supported chipsets.
2201
Laura Abbott2d1760b2011-09-29 21:31:24 -07002202config MSM_MULTIMEDIA_USE_ION
2203 bool "Multimedia suport using Ion"
2204 depends on ION_MSM
2205 help
2206 Enable support for multimedia drivers using Ion for buffer management
2207 instead of pmem. Selecting this may also involve userspace
2208 dependencies as well.
2209
Laura Abbottad340ff2012-01-04 14:23:48 -08002210config MSM_RTB
2211 bool "Register tracing"
2212 help
2213 Add support for logging different events to a small uncached
2214 region. This is designed to aid in debugging reset cases where the
2215 caches may not be flushed before the target resets.
2216
2217config MSM_RTB_SEPARATE_CPUS
2218 bool "Separate entries for each cpu"
2219 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002220 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002221 help
2222 Under some circumstances, it may be beneficial to give dedicated space
2223 for each cpu to log accesses. Selecting this option will log each cpu
2224 separately. This will guarantee that the last acesses for each cpu
2225 will be logged but there will be fewer entries per cpu
2226
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002227config MSM_CACHE_ERP
2228 bool "Cache / CPU error reporting"
2229 depends on ARCH_MSM_KRAIT
2230 help
2231 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2232 log. Enabling this feature can be used as a system debugging technique
2233 if cache corruption is suspected. Cache error statistics will also be
2234 reported in /proc/cpu/msm_cache_erp.
2235
2236 For production builds, you should probably say 'N' here.
2237
2238config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002239 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002240 depends on MSM_CACHE_ERP
2241 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002242 To cause the kernel to panic whenever an L1 cache error is detected, say
2243 'Y' here. This may be useful as a debugging technique if general system
2244 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002245
2246 For production builds, you should probably say 'N' here.
2247
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002248config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2249 bool "Report L2 master port slave/decode errors in kernel log"
2250 depends on MSM_CACHE_ERP
2251 help
2252 Master port errors can occur when a memory request is not properly
2253 handled by the destination slave. This can occur if the destination
2254 register does not exist or is inaccessible due to security
2255 restrictions or (in some cases) clock configuration. Enabling this
2256 option will cause a backtrace to be printed to the kernel log whenever
2257 such an error is encountered. Note that the error is reported as an
2258 interrupt rather than as an exception, meaning that the backtrace may
2259 have some skid. This option may help with debugging, though production
2260 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002261
2262config MSM_L2_ERP_PORT_PANIC
2263 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002264 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002265 help
2266 Master port errors can occur when a memory request is not properly
2267 handled by the destination slave. Enable this option to catch drivers
2268 which attempt to access bad areas of the address space, or access
2269 hardware registers in an improper state (such as certain clocks not
2270 being on). This option may help with debugging, though production
2271 builds should probably say 'N' here.
2272
2273config MSM_L2_ERP_1BIT_PANIC
2274 bool "Panic on recoverable L2 soft errors"
2275 depends on MSM_CACHE_ERP
2276 help
2277 Enable this option to cause a kernel panic whenever the L2 cache
2278 encounters a single-bit (correctable) soft error. This option should
2279 only be enabled when doing low-level debugging where cache corruption
2280 is suspected.
2281
2282 For production builds, you should definitely say 'N' here.
2283
2284config MSM_L2_ERP_2BIT_PANIC
2285 bool "Panic on unrecoverable L2 soft errors"
2286 depends on MSM_CACHE_ERP
2287 help
2288 Enable this option to cause a kernel panic whenever the L2 cache
2289 encounters a double-bit (non-correctable) soft error. Debug builds
2290 will likely benefit from having this option enabled to catch cache
2291 problems as soon as possible.
2292
2293 For production builds, it may be acceptable to say 'N' here, since
2294 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002295
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002296config MSM_DCVS
2297 bool "Use MSM DCVS for CPU/GPU Frequency control"
2298 depends on MSM_SCM
2299 help
2300 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2301 The DCVS manager allows idle driver to feed the idle information to the
2302 algorithm and the algorithm returns a frequency for the core which is
2303 passed to the frequency change driver.
2304
Taniya Dasc43e6872012-03-21 16:41:14 +05302305config HAVE_ARCH_HAS_CURRENT_TIMER
2306 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002307
2308config MSM_CACHE_DUMP
2309 bool "Cache dumping support"
2310 help
2311 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2312 This allows for analysis of the caches in case cache corruption is
2313 suspected.
2314
Laura Abbott7b637362012-03-29 16:43:49 -07002315config MSM_CACHE_DUMP_ON_PANIC
2316 bool "Dump caches on panic"
2317 depends on MSM_CACHE_DUMP
2318 help
2319 By default, the caches are flushed on panic. This means that trying to
2320 look at them in a RAM dump will give useless data. Select this if you
2321 want to dump the L1 and L2 caches on panic before any flush occurs.
2322 If unsure, say N
2323
Jack Phamccbbfab2012-04-09 19:50:20 -07002324config MSM_HSIC_SYSMON
2325 tristate "MSM HSIC system monitor driver"
2326 depends on USB
2327 help
2328 Add support for bridging with the system monitor interface of MDM
2329 over HSIC. This driver allows the local system monitor to
2330 communicate with the remote system monitor interface.
2331
2332config MSM_HSIC_SYSMON_TEST
2333 tristate "MSM HSIC system monitor bridge test"
2334 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2335 help
2336 Enable the test hook for the Qualcomm system monitor HSIC driver.
2337 This will create a debugfs file entry named "hsic_sysmon_test" which
2338 can be read and written to send character data to the sysmon port of
2339 the modem over USB.
2340
Brian Swetland9e73c842007-11-26 04:12:13 -08002341endif