blob: 4ecc3a4a2897b931e508ef4e7806f5759c89e2a8 [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
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -0600245 select MIGHT_HAVE_PCI
246 select ARCH_SUPPORTS_MSI
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700247
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700248config ARCH_MSMCOPPER
249 bool "MSM Copper"
250 select ARCH_MSM_KRAITMP
251 select MSM_V2_TLMM
252 select ARM_GIC
253 select CPU_V7
254 select MSM_SCM if SMP
255 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530256 select MULTI_IRQ_HANDLER
Olav Hauganb800c8c2012-01-30 08:50:45 -0800257 select MSM_MULTIMEDIA_USE_ION
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700258 select MSM_PIL
Praveen Chidambaramaa9d52b2012-04-02 11:09:47 -0600259 select MSM_SPM_V2
260 select MSM_L2_SPM
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600261 select MSM_RPM
262 select MSM_PM8X60 if PM
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700263
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700264config ARCH_FSM9XXX
265 bool "FSM9XXX"
266 select ARCH_MSM_SCORPION
267 select MSM_VIC
268 select CPU_V7
269 select MSM_REMOTE_SPINLOCK_LDREX
270 select FSM9XXX_TLMM
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530271 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800272 select MSM_DALRPC
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800273
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700274config ARCH_MSM9615
275 bool "MSM9615"
276 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530277 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700278 select ARCH_MSM_CORTEX_A5
279 select CPU_V7
280 select MSM_V2_TLMM
281 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600282 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600283 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700284 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800285 select REGULATOR
286 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530287 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800288 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800289 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700290 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800291 select MSM_QDSP6_APR
292 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800293 select FIQ
Matt Wagantall9274df92011-12-15 11:11:05 -0800294
Taniya Das43bcdd62011-12-02 17:33:27 +0530295config ARCH_MSM8625
296 bool "MSM8625"
297 select ARCH_MSM_CORTEX_A5
298 select CPU_V7
299 select MSM_GPIOMUX
300 select ARM_GIC
301 select ARCH_MSM_CORTEXMP
302 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530303 select ARM_TICKET_LOCKS
Krishna Vankae2922052012-03-02 09:59:12 +0530304 select MSM_RUN_QUEUE_STATS
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700305
306config ARCH_MSM9625
307 bool "MSM9625"
308 select ARM_GIC
309 select GIC_SECURE
310 select ARCH_MSM_CORTEX_A5
311 select SMP
312 select MSM_SMP
313 select CPU_V7
314 select MULTI_IRQ_HANDLER
315 select MSM_V2_TLMM
316
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700317endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700318
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700319choice
320 prompt "MSM SoC Revision"
321 default MSM_SOC_REV_NONE
322config MSM_SOC_REV_NONE
323 bool "N/A"
324 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
325 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walker4ad15e62010-05-06 13:54:17 -0700326config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700327 bool "Rev. A"
328 select ARCH_MSM7X27A if ARCH_MSM7X27
329endchoice
Daniel Walker4ad15e62010-05-06 13:54:17 -0700330
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700331config MSM_KRAIT_TBB_ABORT_HANDLER
332 bool "Krait TBB/TBH data abort handler"
333 depends on ARCH_MSM_KRAIT
334 depends on ARM_THUMB
335 help
336 Certain early samples of the Krait processor may generate data
337 aborts for TBB / TBH instructions that fail their condition code
338 checks. Enabling this option will ignore these erroneous data aborts,
339 at the expense of a very small performance penalty.
340
341 If unsure, say N.
342
Daniel Walker4ad15e62010-05-06 13:54:17 -0700343config ARCH_MSM_ARM11
344 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700345
Daniel Walker4ad15e62010-05-06 13:54:17 -0700346config ARCH_MSM_SCORPION
Daniel Walkerbf83de42010-03-16 16:29:44 -0700347 bool
348
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700349config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700350 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800351 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700352
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700353config MSM_SMP
354 bool
355
356config ARCH_MSM_SCORPIONMP
357 select ARCH_MSM_SCORPION
358 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530359 select HAVE_ARCH_HAS_CURRENT_TIMER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700360 bool
361
362config ARCH_MSM_KRAITMP
363 select ARCH_MSM_KRAIT
364 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530365 select HAVE_ARCH_HAS_CURRENT_TIMER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700366 bool
367
Taniya Das43bcdd62011-12-02 17:33:27 +0530368config ARCH_MSM_CORTEXMP
369 select MSM_SMP
370 bool
371
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700372config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800373 bool
Rohit Vaswaniaf7ae272012-01-09 10:28:57 -0800374 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700375
376config ARCH_MSM7X27A
377 bool
378 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700379 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530380 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530381 select ARM_GIC
382 select ARCH_MSM_CORTEXMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700383
Gregory Beanf9f3d312010-04-30 22:06:50 -0700384config MSM_VIC
385 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700386
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700387config MSM_RPM
388 bool "Resource Power Manager"
389 select MSM_MPM
390
391config MSM_MPM
392 bool "Modem Power Manager"
393
394config MSM_XO
395 bool
396
397config MSM_REMOTE_SPINLOCK_DEKKERS
398 bool
399config MSM_REMOTE_SPINLOCK_SWP
400 bool
401config MSM_REMOTE_SPINLOCK_LDREX
402 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600403config MSM_REMOTE_SPINLOCK_SFPB
404 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700405config MSM_ADM3
406 bool
407
408menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700409
410config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700411 depends on ARCH_MSM7X01A
412 depends on MSM_STACKED_MEMORY
413 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700414 bool "Halibut Board (QCT SURF7201A)"
415 help
416 Support for the Qualcomm SURF7201A eval board.
417
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700418config MACH_MSM7201A_SURF
419 depends on ARCH_MSM7X01A
420 depends on MSM_STACKED_MEMORY
421 default y
422 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700423 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700424 Support for the Qualcomm MSM7201A SURF eval board.
425
426config MACH_MSM7201A_FFA
427 depends on ARCH_MSM7X01A
428 depends on MSM_STACKED_MEMORY
429 default y
430 bool "MSM7201A FFA"
431 help
432 Support for the Qualcomm MSM7201A FFA eval board.
433
434config MACH_TROUT
435 depends on ARCH_MSM7X01A
436 depends on MSM_STACKED_MEMORY
437 default y
438 bool "Trout"
439
440config MACH_MSM7X27_SURF
441 depends on ARCH_MSM7X27
442 depends on !MSM_STACKED_MEMORY
443 default y
444 bool "MSM7x27 SURF"
445 help
446 Support for the Qualcomm MSM7x27 SURF eval board.
447
448config MACH_MSM7X27_FFA
449 depends on ARCH_MSM7X27
450 depends on !MSM_STACKED_MEMORY
451 default y
452 bool "MSM7x27 FFA"
453 help
454 Support for the Qualcomm MSM7x27 FFA eval board.
455
456config MACH_MSM7X27A_RUMI3
457 depends on ARCH_MSM7X27A
458 depends on !MSM_STACKED_MEMORY
459 default y
460 bool "MSM7x27A RUMI3"
461 help
462 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
463
464config MACH_MSM7X27A_SURF
465 depends on ARCH_MSM7X27A
466 depends on !MSM_STACKED_MEMORY
467 default y
468 bool "MSM7x27A SURF"
469 help
470 Support for the Qualcomm MSM7x27A SURF.
471
472config MACH_MSM7X27A_FFA
473 depends on ARCH_MSM7X27A
474 depends on !MSM_STACKED_MEMORY
475 default y
476 bool "MSM7x27A FFA"
477 help
478 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700479
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530480config MACH_MSM7625A_SURF
481 depends on ARCH_MSM7X27A
482 depends on !MSM_STACKED_MEMORY
483 default y
484 bool "MSM7625A SURF"
485 help
486 Support for the Qualcomm MSM7625A SURF.
487
488config MACH_MSM7625A_FFA
489 depends on ARCH_MSM7X27A
490 depends on !MSM_STACKED_MEMORY
491 default y
492 bool "MSM7625A FFA"
493 help
494 Support for the Qualcomm MSM7625A FFA.
495
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530496config MACH_MSM7627A_QRD1
497 depends on ARCH_MSM7X27A
498 depends on !MSM_STACKED_MEMORY
499 default y
500 bool "MSM7627A QRD1"
501 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530502 Support for the Qualcomm MSM7627A Reference Design.
503
504config MACH_MSM7627A_QRD3
505 depends on ARCH_MSM7X27A
506 depends on !MSM_STACKED_MEMORY
507 default y
508 bool "MSM7627A QRD3"
509 help
510 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530511
Taniya Dasc868a2e2012-01-03 10:18:47 +0530512config MACH_MSM7627A_EVB
513 depends on ARCH_MSM7X27A
514 depends on !MSM_STACKED_MEMORY
515 default y
516 bool "MSM7627A EVB"
517 help
518 Support for the Qualcomm MSM7627A Reference Design.
519
Taniya Das43bcdd62011-12-02 17:33:27 +0530520config MACH_MSM8625_RUMI3
521 depends on ARCH_MSM8625
522 depends on !MSM_STACKED_MEMORY
523 default y
524 bool "MSM8625 RUMI3"
525 help
526 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
527
Taniya Dase3027e22012-02-27 16:32:27 +0530528config MACH_MSM8625_SURF
529 depends on ARCH_MSM8625
530 depends on !MSM_STACKED_MEMORY
531 default y
532 bool "MSM8625 SURF"
533 help
534 Support for the Qualcomm MSM8625 SURF.
535
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530536config MACH_MSM8625_FFA
537 depends on ARCH_MSM8625
538 depends on !MSM_STACKED_MEMORY
539 default y
540 bool "MSM8625 FFA"
541 help
542 Support for the Qualcomm MSM8625 FFA.
543
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530544config MACH_MSM8625_EVB
545 depends on ARCH_MSM8625
546 depends on !MSM_STACKED_MEMORY
547 default y
548 bool "MSM8625 EVB"
549 help
550 Support for the Qualcomm MSM8625 Reference Design.
551
Taniya Dasbd096542012-03-15 17:43:45 +0530552config MACH_MSM8625_QRD7
553 depends on ARCH_MSM8625
554 depends on !MSM_STACKED_MEMORY
555 default y
556 bool "MSM8625 QRD7"
557 help
558 Support for the Qualcomm MSM8625 Reference Design.
559
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530560config MACH_MSM8625_EVT
561 depends on ARCH_MSM8625
562 depends on !MSM_STACKED_MEMORY
563 default y
564 bool "MSM8625 EVT"
565 help
566 Support for the Qualcomm MSM8625 Reference Design.
567
Daniel Walker7b521612010-05-06 12:44:57 -0700568config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700569 depends on ARCH_MSM7X30
570 depends on !MSM_STACKED_MEMORY
571 default y
572 bool "MSM7x30 SURF"
573 help
574 Support for the Qualcomm MSM7x30 SURF eval board.
575
576config MACH_MSM7X30_FFA
577 depends on ARCH_MSM7X30
578 depends on !MSM_STACKED_MEMORY
579 default y
580 bool "MSM7x30 FFA"
581 help
582 Support for the Qualcomm MSM7x30 FFA eval board.
583
584config MACH_MSM7X30_FLUID
585 depends on ARCH_MSM7X30
586 depends on !MSM_STACKED_MEMORY
587 default y
588 bool "MSM7x30 FLUID"
589 help
590 Support for the Qualcomm MSM7x30 FLUID eval board.
591
592config MACH_SAPPHIRE
593 depends on ARCH_MSM7X01A
594 default n
595 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700596
Daniel Walker4ad15e62010-05-06 13:54:17 -0700597config MACH_QSD8X50_SURF
598 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700599 depends on MSM_SOC_REV_NONE
600 depends on MSM_STACKED_MEMORY
601 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700602 bool "QSD8x50 SURF"
603 help
604 Support for the Qualcomm QSD8x50 SURF eval board.
605
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700606config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700607 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700608 depends on MSM_SOC_REV_NONE
609 depends on MSM_STACKED_MEMORY
610 default y
611 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700612 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700613 Support for the Qualcomm QSD8x50 FFA eval board.
614
615config MACH_MSM7X25_SURF
616 depends on ARCH_MSM7X25
617 depends on !MSM_STACKED_MEMORY
618 default y
619 bool "MSM7x25 SURF"
620 help
621 Support for the Qualcomm MSM7x25 SURF eval board.
622
623config MACH_MSM7X25_FFA
624 depends on ARCH_MSM7X25
625 depends on !MSM_STACKED_MEMORY
626 default y
627 bool "MSM7x25 FFA"
628 help
629 Support for the Qualcomm MSM7x25 FFA eval board.
630
631config MACH_MSM8X55_SURF
632 depends on ARCH_MSM7X30
633 depends on !MSM_STACKED_MEMORY
634 default y
635 bool "MSM8X55 SURF"
636 help
637 Support for the Qualcomm MSM8x55 SURF eval board.
638
639config MACH_MSM8X55_FFA
640 depends on ARCH_MSM7X30
641 depends on !MSM_STACKED_MEMORY
642 default y
643 bool "MSM8X55 FFA"
644 help
645 Support for the Qualcomm MSM8x55 FFA eval board.
646
647config MACH_MSM8X55_SVLTE_FFA
648 depends on ARCH_MSM7X30
649 depends on !MSM_STACKED_MEMORY
650 default y
651 bool "MSM8X55 SVLTE FFA"
652 help
653 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
654
655config MACH_MSM8X55_SVLTE_SURF
656 depends on ARCH_MSM7X30
657 depends on !MSM_STACKED_MEMORY
658 default y
659 bool "MSM8X55 SVLTE SURF"
660 help
661 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700662
Steve Mucklea55df6e2010-01-07 12:43:24 -0800663config MACH_MSM8X60_RUMI3
664 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700665 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800666 bool "MSM8x60 RUMI3"
667 help
668 Support for the Qualcomm MSM8x60 RUMI3 emulator.
669
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800670config MACH_MSM8X60_SIM
671 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700672 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800673 bool "MSM8x60 Simulator"
674 help
675 Support for the Qualcomm MSM8x60 simulator.
676
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700677config MACH_MSM8X60_SURF
678 depends on ARCH_MSM8X60
679 default n
680 bool "MSM8x60 SURF"
681 help
682 Support for the Qualcomm MSM8x60 SURF eval board.
683
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700684config MACH_MSM8X60_FFA
685 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700686 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700687 bool "MSM8x60 FFA"
688 help
689 Support for the Qualcomm MSM8x60 FFA eval board.
690
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700691config MACH_MSM8X60_FLUID
692 depends on ARCH_MSM8X60
693 default n
694 bool "MSM8x60 FLUID"
695 help
696 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
697 8x60 target which has a form factor that is much closer to that
698 of a phone than other targets. It also has a new display and
699 touchscreen controller.
700
701config MACH_MSM8X60_FUSION
702 depends on ARCH_MSM8X60
703 default n
704 bool "MSM8x60 FUSION"
705 help
706 Support for the Qualcomm MSM8x60 Fusion SURF device.
707
708config MACH_MSM8X60_FUSN_FFA
709 depends on ARCH_MSM8X60
710 default n
711 bool "MSM8x60 FUSN FFA"
712 help
713 Support for the Qualcomm MSM8x60 Fusion FFA device.
714
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400715config MACH_MSM8X60_DRAGON
716 depends on ARCH_MSM8X60
717 default n
718 bool "MSM8x60 DRAGON"
719 help
720 Support for the Qualcomm MSM8x60 Dragon board.
721
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800722config MACH_MSM8960_SIM
723 depends on ARCH_MSM8960
724 bool "MSM8960 Simulator"
725 help
726 Support for the Qualcomm MSM8960 simulator.
727
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800728config MACH_MSM8960_RUMI3
729 depends on ARCH_MSM8960
730 bool "MSM8960 RUMI3"
731 help
732 Support for the Qualcomm MSM8960 RUMI3 emulator.
733
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700734config MACH_MSM8960_CDP
735 depends on ARCH_MSM8960
736 bool "MSM8960 CDP"
737 help
738 Support for the Qualcomm MSM8960 CDP device.
739
740config MACH_MSM8960_MTP
741 depends on ARCH_MSM8960
742 bool "MSM8960 MTP"
743 help
744 Support for the Qualcomm MSM8960 MTP device.
745
746config MACH_MSM8960_FLUID
747 depends on ARCH_MSM8960
748 bool "MSM8960 FLUID"
749 help
750 Support for the Qualcomm MSM8960 FLUID device.
751
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300752config MACH_MSM8960_LIQUID
753 depends on ARCH_MSM8960
754 bool "MSM8960 LIQUID"
755 help
756 Support for the Qualcomm MSM8960 LIQUID device.
757
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700758config MACH_MSM8930_CDP
759 depends on ARCH_MSM8930
760 bool "MSM8930 CDP"
761 help
762 Support for the Qualcomm MSM8930 CDP device.
763
764config MACH_MSM8930_MTP
765 depends on ARCH_MSM8930
766 bool "MSM8930 MTP"
767 help
768 Support for the Qualcomm MSM8930 MTP device.
769
770config MACH_MSM8930_FLUID
771 depends on ARCH_MSM8930
772 bool "MSM8930 FLUID"
773 help
774 Support for the Qualcomm MSM8930 FLUID device.
775
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800776config MACH_MSM8627_CDP
777 depends on ARCH_MSM8930
778 bool "MSM8627 CDP"
779 help
780 Support for the Qualcomm MSM8627 CDP device.
781
782config MACH_MSM8627_MTP
783 depends on ARCH_MSM8930
784 bool "MSM8627 MTP"
785 help
786 Support for the Qualcomm MSM8627 MTP device.
787
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700788config MACH_MSM9615_CDP
789 depends on ARCH_MSM9615
790 bool "MSM9615 CDP"
791 help
792 Support for the Qualcomm MSM9615 CDP device.
793
794config MACH_MSM9615_MTP
795 depends on ARCH_MSM9615
796 bool "MSM9615 MTP"
797 help
798 Support for the Qualcomm MSM9615 MTP device.
799
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700800config MSM_USE_TSIF1
801 depends on ARCH_MSM8X60
802 bool "MSM8x60 use TSIF1"
803 help
804 Selects TSIF1 core to be used rather than TSIF0.
805 The two TSIF cores share the same DM configuration
806 so they cannot be used simultaneously.
807
808config MACH_APQ8064_SIM
809 depends on ARCH_APQ8064
810 bool "APQ8064 Simulator"
811 help
812 Support for the Qualcomm APQ8064 simulator.
813
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700814config MACH_APQ8064_RUMI3
815 depends on ARCH_APQ8064
816 bool "APQ8064 RUMI3"
817 help
818 Support for the Qualcomm APQ8064 RUMI3 emulator.
819
Joel King82b7e3f2012-01-05 10:03:27 -0800820config MACH_APQ8064_CDP
821 depends on ARCH_APQ8064
822 bool "APQ8064 CDP"
823 help
824 Support for the Qualcomm APQ8064 CDP device.
825
826config MACH_APQ8064_MTP
827 depends on ARCH_APQ8064
828 bool "APQ8064 MTP"
829 help
830 Support for the Qualcomm APQ8064 MTP device.
831
832config MACH_APQ8064_LIQUID
833 depends on ARCH_APQ8064
834 bool "APQ8064 LIQUID"
835 help
836 Support for the Qualcomm APQ8064 LIQUID device.
837
Joel King064bbf82012-04-01 13:23:39 -0700838config MACH_MPQ8064_CDP
839 depends on ARCH_APQ8064
840 bool "MPQ8064 CDP"
841 help
842 Support for the Qualcomm MPQ8064 CDP device.
843
Joel King11ca8202012-02-13 16:19:03 -0800844config MACH_MPQ8064_HRD
845 depends on ARCH_APQ8064
846 bool "MPQ8064 HRD"
847 help
848 Support for the Qualcomm MPQ8064 HRD device.
849
850config MACH_MPQ8064_DTV
851 depends on ARCH_APQ8064
852 bool "MPQ8064 DTV"
853 help
854 Support for the Qualcomm MPQ8064 DTV device.
855
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700856config MACH_FSM9XXX_SURF
857 depends on ARCH_FSM9XXX
858 depends on !MSM_STACKED_MEMORY
859 default y
860 bool "FSM9XXX SURF"
861 help
862 Support for the Qualcomm FSM9xxx femtocell
863 chipset based SURF evaluation board and
864 FFA board.
865
Daniel Walker4ad15e62010-05-06 13:54:17 -0700866endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800867
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700868config MSM_STACKED_MEMORY
869 bool "Stacked Memory"
870 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800871 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700872 This option is used to indicate the presence of on-die stacked
873 memory. When present this memory bank is used for a high speed
874 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800875
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700876config PHYS_OFFSET
877 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700878 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700879 default "0x80200000" if ARCH_APQ8064
880 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700881 default "0x80200000" if ARCH_MSM8930
Sathish Ambley39a1dc42012-03-19 21:46:26 -0700882 default "0x20200000" if ARCH_MSMCOPPER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700883 default "0x10000000" if ARCH_FSM9XXX
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700884 default "0x20200000" if ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700885 default "0x00200000" if !MSM_STACKED_MEMORY
886 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
887 default "0x20000000" if ARCH_QSD8X50
888 default "0x40200000" if ARCH_MSM8X60
889 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800890
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700891config KERNEL_PMEM_EBI_REGION
892 bool "Enable in-kernel PMEM region for EBI"
893 default y if ARCH_MSM8X60
Olav Hauganb800c8c2012-01-30 08:50:45 -0800894 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSMCOPPER)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700895 help
896 Enable the in-kernel PMEM allocator to use EBI memory.
897
898config KERNEL_PMEM_SMI_REGION
899 bool "Enable in-kernel PMEM region for SMI"
900 default y if ARCH_MSM8X60
901 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
902 help
903 Enable the in-kernel PMEM allocator to use SMI memory.
904
905config PMEM_GPU0
906 bool "Enable PMEM GPU0 region"
907 default y
908 depends on ARCH_QSD8X50 && ANDROID_PMEM
909 help
910 Enable the PMEM GPU0 device on SMI Memory.
911
912config MSM_AMSS_VERSION
913 int
914 default 6210 if MSM_AMSS_VERSION_6210
915 default 6220 if MSM_AMSS_VERSION_6220
916 default 6225 if MSM_AMSS_VERSION_6225
917
918choice
919 prompt "AMSS modem firmware version"
920
921 default MSM_AMSS_VERSION_6225
922
923 config MSM_AMSS_VERSION_6210
924 bool "6.2.10"
925
926 config MSM_AMSS_VERSION_6220
927 bool "6.2.20"
928
929 config MSM_AMSS_VERSION_6225
930 bool "6.2.20 + New ADSP"
931endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800932
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700933config MSM_HAS_DEBUG_UART_HS
934 bool
935 help
936 Say Y here if high speed MSM UART is present.
937
938config MSM_HAS_DEBUG_UART_HS_V14
939 bool
940 select MSM_HAS_DEBUG_UART_HS
941 help
942 Say Y here if high speed MSM UART v1.4 is present.
943
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800944config DEBUG_MSM8930_UART
945 bool "Kernel low-level debugging messages via MSM 8930 UART"
946 depends on ARCH_MSM8930 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700947 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800948 help
949 Say Y here if you want the debug print routines to direct
950 their output to the serial port on MSM 8930 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100951
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530952config MSM_DEBUG_UART_PHYS
953 hex
954 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
955 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
956 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
957 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
958 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
959 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
960 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
961 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
962
Pavel Machek6339f662009-11-02 11:48:29 +0100963choice
964 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800965 depends on DEBUG_LL
Pavel Machek6339f662009-11-02 11:48:29 +0100966
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800967 config DEBUG_MSM_UART1
968 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530969 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800970 help
971 Say Y here if you want the debug print routines to direct
972 their output to the first serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100973
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800974 config DEBUG_MSM_UART2
975 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530976 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
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 second serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100980
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800981 config DEBUG_MSM_UART3
982 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530983 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800984 help
985 Say Y here if you want the debug print routines to direct
986 their output to the third serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100987
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800988 config DEBUG_MSM8660_UART
989 bool "Kernel low-level debugging messages via MSM 8660 UART"
990 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700991 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800992 help
993 Say Y here if you want the debug print routines to direct
994 their output to the serial port on MSM 8660 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100995
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800996 config DEBUG_MSM8960_UART
997 bool "Kernel low-level debugging messages via MSM 8960 UART"
998 depends on ARCH_MSM8960
999 select DEBUG_MSM8930_UART
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001000 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001001 help
1002 Say Y here if you want the debug print routines to direct
1003 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001004
1005 config DEBUG_MSMCOPPER_UART
1006 bool "Kernel low-level debugging messages via MSM Copper UART"
1007 depends on ARCH_MSMCOPPER
1008 select MSM_HAS_DEBUG_UART_HS_V14
1009 help
1010 Say Y here if you want the debug print routines to direct
1011 their output to the serial port on MSM Copper devices.
Pavel Machek6339f662009-11-02 11:48:29 +01001012endchoice
1013
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001014choice
1015 prompt "Default Timer"
1016 default MSM7X00A_USE_GP_TIMER
1017
1018 config MSM7X00A_USE_GP_TIMER
1019 bool "GP Timer"
1020 help
1021 Low resolution timer that allows power collapse from idle.
1022
1023 config MSM7X00A_USE_DG_TIMER
1024 bool "DG Timer"
1025 help
1026 High resolution timer.
1027endchoice
1028
1029choice
1030 prompt "Suspend sleep mode"
1031 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1032 help
1033 Allows overriding the sleep mode used. Leave at power
1034 collapse suspend unless the arm9 image has problems.
1035
1036 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1037 bool "Power collapse suspend"
1038 help
1039 Lowest sleep state. Returns through reset vector.
1040
1041 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1042 bool "Power collapse"
1043 help
1044 Sleep state that returns through reset vector.
1045
1046 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1047 bool "Apps Sleep"
1048
1049 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1050 bool "Ramp down cpu clock and wait for interrupt"
1051
1052 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1053 bool "Wait for interrupt"
1054endchoice
1055
1056config MSM7X00A_SLEEP_MODE
1057 int
1058 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1059 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1060 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1061 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1062 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1063
1064choice
1065 prompt "Idle sleep mode"
1066 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1067 help
1068 Allows overriding the sleep mode used from idle. Leave at power
1069 collapse suspend unless the arm9 image has problems.
1070
1071 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1072 bool "Power collapse suspend"
1073 help
1074 Lowest sleep state. Returns through reset vector.
1075
1076 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1077 bool "Power collapse"
1078 help
1079 Sleep state that returns through reset vector.
1080
1081 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1082 bool "Apps Sleep"
1083
1084 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1085 bool "Ramp down cpu clock and wait for interrupt"
1086
1087 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1088 bool "Wait for interrupt"
1089endchoice
1090
1091config MSM7X00A_IDLE_SLEEP_MODE
1092 int
1093 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1094 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1095 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1096 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1097 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1098
1099config MSM7X00A_IDLE_SLEEP_MIN_TIME
1100 int "Minimum idle time before sleep"
1101 default 20000000
1102 help
1103 Minimum idle time in nanoseconds before entering low power mode.
1104
1105config MSM7X00A_IDLE_SPIN_TIME
1106 int "Idle spin time before cpu ramp down"
1107 default 80000
1108 help
1109 Spin time in nanoseconds before ramping down cpu clock and entering
1110 any low power state.
1111
1112menuconfig MSM_IDLE_STATS
1113 bool "Collect idle statistics"
1114 default y
1115 help
1116 Collect idle statistics and export them in proc/msm_pm_stats.
1117
1118if MSM_IDLE_STATS
1119
1120config MSM_IDLE_STATS_FIRST_BUCKET
1121 int "First bucket time"
1122 default 62500
1123 help
1124 Upper time limit in nanoseconds of first bucket.
1125
1126config MSM_IDLE_STATS_BUCKET_SHIFT
1127 int "Bucket shift"
1128 default 2
1129
1130config MSM_IDLE_STATS_BUCKET_COUNT
1131 int "Bucket count"
1132 default 10
1133
1134config MSM_SUSPEND_STATS_FIRST_BUCKET
1135 int "First bucket time for suspend"
1136 default 1000000000
1137 help
1138 Upper time limit in nanoseconds of first bucket of the
1139 histogram. This is for collecting statistics on suspend.
1140
1141endif # MSM_IDLE_STATS
1142
1143config CPU_HAS_L2_PMU
1144 bool "L2CC PMU Support"
1145 help
1146 Select this if the L2 cache controller has a Performance Monitoring Unit.
1147
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001148config HTC_HEADSET
1149 tristate "HTC 2 Wire detection driver"
1150 default n
1151 help
1152 Provides support for detecting HTC 2 wire devices, such as wired
1153 headset, on the trout platform. Can be used with the msm serial
1154 debugger, but not with serial console.
1155
1156config TROUT_BATTCHG
1157 depends on MACH_TROUT && POWER_SUPPLY
1158 default y
1159 bool "Trout battery / charger driver"
1160
1161config HTC_PWRSINK
1162 depends on MSM_SMD
1163 default n
1164 bool "HTC Power Sink Driver"
1165
1166config QSD_SVS
1167 bool "QSD Static Voltage Scaling"
1168 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1169 default y
1170 select TPS65023
1171 help
1172 Enables static voltage scaling using the TPS65023 PMIC.
1173
1174config QSD_PMIC_DEFAULT_DCDC1
1175 int "PMIC default output voltage"
1176 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1177 default 1250
1178 help
1179 This is the PMIC voltage at Linux kernel boot.
1180
1181config MSM_FIQ_SUPPORT
1182 default y
1183 bool "Enable installation of an FIQ handler."
1184
1185config MSM_SERIAL_DEBUGGER
1186 select MSM_FIQ_SUPPORT
1187 select KERNEL_DEBUGGER_CORE
1188 default n
1189 bool "FIQ Mode Serial Debugger"
1190 help
1191 The FIQ serial debugger can accept commands even when the
1192 kernel is unresponsive due to being stuck with interrupts
1193 disabled. Depends on the kernel debugger core in drivers/misc.
1194
1195config MSM_SERIAL_DEBUGGER_CONSOLE
1196 depends on MSM_SERIAL_DEBUGGER
1197 default n
1198 bool "Console on FIQ Serial Debugger port"
1199 help
1200 Enables a console so that printk messages are displayed on
1201 the debugger serial port as the occur.
Daniel Walkerbf83de42010-03-16 16:29:44 -07001202
Steve Mucklec8aabae2010-04-21 16:20:27 -07001203config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001204 default y
1205 bool "Proc-Comm RPC Interface"
1206 help
1207 Enables a lightweight communications interface to the
1208 baseband processor.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001209
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001210config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001211 bool "MSM Shared Memory Driver (SMD)"
1212 help
1213 Support for the shared memory interface between the apps
1214 processor and the baseband processor. Provides access to
1215 the "shared heap", as well as virtual serial channels
1216 used to communicate with various services on the baseband
1217 processor.
1218
1219choice
1220 prompt "MSM Shared memory interface version"
1221 depends on MSM_SMD
1222 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1223 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1224
1225 config MSM_SMD_PKG3
1226 bool
1227 prompt "Package 3"
1228
1229 config MSM_SMD_PKG4
1230 bool
1231 prompt "Package 4"
1232endchoice
1233
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001234config MSM_PCIE
1235 bool "MSM PCIe Controller driver"
1236 depends on PCI && PCI_MSI
1237 help
1238 Enables the PCIe functionality by configures PCIe core on
1239 MSM chipset and by enabling the ARM PCI framework extension.
1240
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001241config MSM_RPC_SDIO_XPRT
1242 depends on MSM_SDIO_AL
1243 default y
1244 bool "MSM SDIO XPRT Layer"
1245 help
1246 SDIO Transport Layer for RPC Rouer
1247
1248config MSM_RPC_SDIO_DEBUG
1249 depends on MSM_RPC_SDIO_XPRT
1250 default y
1251 bool "MSM SDIO XPRT debug support"
1252 help
1253 Support for debugging SDIO XPRT
1254
1255config MSM_SMD_DEBUG
1256 depends on MSM_SMD
1257 default y
1258 bool "MSM SMD debug support"
1259 help
1260 Support for debugging the SMD for communication
1261 between the ARM9 and ARM11
1262
1263config MSM_SDIO_AL
1264 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1265 default y
1266 tristate "SDIO-Abstraction-Layer"
1267 help
1268 Support MSM<->MDM Communication over SDIO bus.
1269 MDM SDIO-Client should have pipes support.
1270
1271config MSM_SDIO_DMUX
1272 bool "SDIO Data Mux Driver"
1273 depends on MSM_SDIO_AL
1274 default n
1275 help
1276 Support Muxed Data Channels over SDIO interface.
1277
1278config MSM_BAM_DMUX
1279 bool "BAM Data Mux Driver"
1280 depends on SPS
1281 default n
1282 help
1283 Support Muxed Data Channels over BAM interface.
1284 BAM has a limited number of pipes. This driver
1285 provides a means to support more logical channels
1286 via muxing than BAM could without muxing.
1287
1288config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001289 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001290 default y
1291 bool "MSM N-WAY SMD support"
1292 help
1293 Supports APPS-QDSP SMD communication along with
1294 normal APPS-MODEM SMD communication.
1295
1296config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001297 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001298 default y
1299 bool "MSM N-WAY SMSM support"
1300 help
1301 Supports APPS-QDSP SMSM communication along with
1302 normal APPS-MODEM SMSM communication.
1303
1304config MSM_RESET_MODEM
1305 tristate "Reset Modem Driver"
1306 depends on MSM_SMD
1307 default m
1308 help
1309 Allows the user to reset the modem through a device node.
1310
1311config MSM_SMD_LOGGING
1312 depends on MSM_SMD
1313 default y
1314 bool "MSM Shared Memory Logger"
1315 help
1316 This option exposes the shared memory logger at /dev/smem_log
1317 and a debugfs node named smem_log.
1318
1319 If in doubt, say yes.
1320
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001321config MSM_IPC_LOGGING
1322 bool "MSM Debug Logging for IPC Drivers"
1323 help
1324 This option allows the debug logging for IPC Drivers.
1325
1326 If in doubt, say no.
1327
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001328config MSM_SMD_NMEA
1329 bool "NMEA GPS Driver"
1330 depends on MSM_SMD
1331 default y
1332 help
1333 Enable this to support the NMEA GPS device.
1334
1335 If in doubt, say yes.
1336
1337config MSM_SDIO_TTY
1338 bool "SDIO TTY Driver"
1339 depends on MSM_SDIO_AL
1340 default n
1341 help
1342 Provides a TTY driver SDIO TTY
1343 This driver can be used by user space
1344 applications for passing data through the
1345 SDIO interface.
1346
1347config MSM_SMD_TTY
1348 bool "SMD TTY Driver"
1349 depends on MSM_SMD
1350 default y
1351 help
1352 Provides TTY interfaces to interact with the modem.
1353
1354 If in doubt, say yes.
1355
1356config MSM_SMD_QMI
1357 bool "SMD QMI Driver"
1358 depends on MSM_SMD
1359 default y
1360 help
1361 Manages network data connections.
1362
1363 If in doubt, say yes.
1364
1365config MSM_SMD_PKT
1366 bool "SMD Packet Driver"
1367 depends on MSM_SMD
1368 default y
1369 help
1370 Provides a binary SMD non-muxed packet port interface.
1371
1372 If in doubt, say yes.
1373
1374config MSM_SDIO_CMUX
1375 bool "SDIO CMUX Driver"
1376 depends on MSM_SDIO_AL
1377 default n
1378 help
1379 Provides a Muxed port interface over SDIO QMI
1380
1381config MSM_DSPS
1382 bool "Sensors DSPS driver"
1383 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1384 default n
1385 help
1386 Provides user-space interface to the sensors manager
1387 to turn on/off the Sensors Processor system clocks.
1388 It is the DSPS responsibility to turn on/off the sensors
1389 themself.
1390 The number of clocks and their name may vary between targets.
1391 It also triggers the PIL to load the DSPS firmware.
1392
1393config MSM_SDIO_CTL
1394 bool "SDIO CTL Driver"
1395 depends on MSM_SDIO_CMUX
1396 default n
1397 help
1398 Provides a binary SDIO control port interface.
1399
1400config MSM_ONCRPCROUTER
1401 depends on MSM_SMD
1402 default n
1403 bool "MSM ONCRPC router support"
1404 help
1405 Support for the MSM ONCRPC router for communication between
1406 the ARM9 and ARM11
1407
1408config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001409 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001410 default n
1411 bool "MSM IPC Router support"
1412 help
1413 Support for the MSM IPC Router for communication between
1414 the APPs and the MODEM
1415
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001416config MSM_IPC_ROUTER_SMD_XPRT
1417 depends on MSM_SMD
1418 depends on MSM_IPC_ROUTER
1419 default n
1420 bool "MSM SMD XPRT Layer"
1421 help
1422 SMD Transport Layer for IPC Router
1423
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001424config MSM_ONCRPCROUTER_DEBUG
1425 depends on MSM_ONCRPCROUTER
1426 default y
1427 bool "MSM debug ONCRPC router support"
1428 help
1429 Support for debugging the ONCRPC router for communication
1430 between the ARM9 and ARM11
1431
1432config MSM_RPC_LOOPBACK_XPRT
1433 depends on MSM_ONCRPCROUTER
1434 default n
1435 bool "MSM RPC local routing support"
1436 help
1437 Support for routing RPC messages between APPS clients
1438 and APPS servers. Helps in testing APPS RPC framework.
1439
1440config MSM_RPCSERVER_TIME_REMOTE
1441 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1442 default y
1443 bool "Time remote RPC server"
1444 help
1445 The time remote server receives notification of time bases and
1446 reports these events to registered callback functions.
1447
1448config MSM_RPCSERVER_WATCHDOG
1449 depends on MSM_ONCRPCROUTER
1450 default y
1451 bool "Watchdog RPC server"
1452 help
1453 The dog_keepalive server handles watchdog events.
1454
1455config MSM_RPC_WATCHDOG
1456 depends on MSM_ONCRPCROUTER
1457 default n
1458 bool "Watchdog RPC client"
1459 help
1460 The dog_keepalive client module.
1461
1462config MSM_RPC_PING
1463 depends on MSM_ONCRPCROUTER && DEBUG_FS
1464 default m
1465 bool "MSM rpc ping"
1466 help
1467 Implements MSM rpc ping test module.
1468
1469config MSM_RPC_PROC_COMM_TEST
1470 depends on DEBUG_FS && MSM_PROC_COMM
1471 default m
1472 bool "MSM rpc proc comm test"
1473 help
1474 Implements MSM rpc proc comm test module.
1475
1476config MSM_RPC_OEM_RAPI
1477 depends on MSM_ONCRPCROUTER
1478 default m
1479 bool "MSM oem rapi"
1480 help
1481 Implements MSM oem rapi client module.
1482
1483config MSM_RPCSERVER_HANDSET
1484 depends on MSM_ONCRPCROUTER
1485 default y
1486 bool "Handset events RPC server"
1487 help
1488 Support for receiving handset events like headset detect,
1489 headset switch and clamshell state.
1490
1491config MSM_RMT_STORAGE_CLIENT
1492 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1493 default n
1494 bool "Remote Storage RPC client"
1495 help
1496 Provide RPC mechanism for remote processors to access storage
1497 device on apps processor.
1498
1499config MSM_RMT_STORAGE_CLIENT_STATS
1500 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1501 default n
1502 bool "Remote storage RPC client performance statistics"
1503 help
1504 Collects performance statistics and shows this information
1505 through a debugfs file rmt_storage_stats.
1506
1507config MSM_SDIO_SMEM
1508 depends on MSM_SDIO_AL
1509 default n
1510 bool "SDIO SMEM for remote storage"
1511 help
1512 Copies data from remote MDM9K memory to local MSM8x60
1513 memory. Used by remote storage client to shadow
1514 MDM9K filesystem.
1515
1516config MSM_DALRPC
1517 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001518 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001519 help
1520 Supports RPC calls to DAL devices on remote processor cores.
1521
1522config MSM_DALRPC_TEST
1523 tristate "DAL RPC test module"
1524 depends on (MSM_DALRPC && DEBUG_FS)
1525 default m
1526 help
1527 Exercises DAL RPC calls to QDSP6.
1528
1529if CPU_FREQ_MSM
1530
1531config MSM_CPU_FREQ_SET_MIN_MAX
1532 bool "Set Min/Max CPU frequencies."
1533 default n
1534 help
1535 Allow setting min and max CPU frequencies. Sysfs can be used
1536 to override these values.
1537
1538config MSM_CPU_FREQ_MAX
1539 int "Max CPU Frequency"
1540 depends on MSM_CPU_FREQ_SET_MIN_MAX
1541 default 384000
1542
1543config MSM_CPU_FREQ_MIN
1544 int "Min CPU Frequency"
1545 depends on MSM_CPU_FREQ_SET_MIN_MAX
1546 default 245760
1547
1548endif # CPU_FREQ_MSM
1549
1550config MSM_CPU_AVS
1551 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1552 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1553 depends on ARCH_QSD8X50
1554 default n
1555 select MSM_AVS_HW
1556 help
1557 This enables the s/w control of Adaptive Voltage Scaling feature
1558 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1559 based on feedback from three ring oscillators in the CPU.
1560
1561config MSM_AVS_HW
1562 bool "Enable Adaptive Voltage Scaling (AVS)"
1563 default n
1564 help
1565 Enable AVS hardware to fine tune voltage at each frequency. The
1566 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1567 fine tune the voltages based on the feedback from the ring
1568 oscillators.
1569
1570config MSM_HW3D
1571 tristate "MSM Hardware 3D Register Driver"
1572 depends on ANDROID_PMEM
1573 default y
1574 help
1575 Provides access to registers needed by the userspace OpenGL|ES
1576 library.
1577
1578config MSM_ADSP
1579 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1580 tristate "MSM ADSP driver"
1581 depends on ANDROID_PMEM
1582 default y
1583 help
1584 Provides access to registers needed by the userspace aDSP library.
1585
1586config ADSP_RPC_VER
1587 hex
1588 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1589 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1590 depends on MSM_ADSP
1591 help
1592 Select proper ADSP RPC version
1593choice
1594 prompt "ADSP RPC version"
1595
1596 default AMSS_7X25_VERSION_2009
1597
1598 config AMSS_7X25_VERSION_2009
1599 bool "2.0.09"
1600
1601 config AMSS_7X25_VERSION_2008
1602 bool "2.0.08"
1603endchoice
1604
1605config MSM7KV2_AUDIO
1606 bool "MSM7K v2 audio"
1607 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1608 default y
1609 help
1610 Enables QDSP5V2-based audio drivers for audio playbacks and
1611 voice call.
1612
1613config MSM_ADSP_REPORT_EVENTS
1614 bool "Report modem events from the DSP"
1615 default y
1616 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1617 help
1618 Normally, only messages from the aDSP are reported to userspace.
1619 With this option, we report events from the aDSP as well.
1620
1621config MSM_QDSP6
1622 tristate "QDSP6 support"
1623 depends on ARCH_QSD8X50 && ANDROID_PMEM
1624 default y
1625 help
1626 Enable support for qdsp6. This provides audio and video functionality.
1627
1628config MSM8X60_AUDIO
1629 tristate "MSM8X60 audio support"
1630 depends on ARCH_MSM8X60 && ANDROID_PMEM
1631 default y
1632 help
1633 Enable support for qdsp6v2. This provides audio functionality.
1634
1635config MSM8X60_FTM_AUDIO_DEVICES
1636 bool "MSM8X60 audio factory test mode support"
1637 depends on MSM8X60_AUDIO
1638 help
1639 Enable support audio factory test mode devices. This is used
1640 in a production line environment.
1641
Ben Romberger45b351c2011-07-20 22:37:27 -07001642config RTAC
1643 bool "MSM8K real-time audio calibration support"
1644 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001645 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001646 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001647 audio operation
1648
1649config MSM7X27A_AUDIO
1650 bool "MSM7X27A audio support"
1651 depends on ARCH_MSM7X27A && MSM_ADSP
1652 default n
1653 help
1654 Enable support for 7x27a. This provides audio functionality.
1655
Justin Pauporea6cd2092011-06-22 16:19:45 -07001656config MSM_PROC_COMM_REGULATOR
1657 bool
1658 depends on MSM_PROC_COMM && REGULATOR
1659 help
1660 Enable regulator framework support for regulators managed by PMLIB
1661 on the modem, and controlled through proccomm calls.
1662
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001663config MSM_VREG_SWITCH_INVERTED
1664 bool "Reverse vreg switch polarity"
1665 default n
1666 help
1667 Reverses the enable and disable for vreg switch.
1668
1669config MSM_DMA_TEST
1670 tristate "MSM DMA test module"
1671 default m
1672 help
1673 Intended to be compiled as a module. Provides a device node
1674 and ioctls for testing the MSM dma system.
1675
1676config WIFI_CONTROL_FUNC
1677 bool "Enable WiFi control function abstraction"
1678 help
1679 Enables Power/Reset/Carddetect function abstraction
1680
1681config WIFI_MEM_PREALLOC
1682 depends on WIFI_CONTROL_FUNC
1683 bool "Preallocate memory for WiFi buffers"
1684 help
1685 Preallocates memory buffers for WiFi driver
1686
1687config QSD_AUDIO
1688 bool "QSD audio"
1689 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1690 default y
1691 help
1692 Provides PCM, MP3, and AAC audio playback.
1693
1694config AUDIO_AAC_PLUS
1695 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1696 bool "AAC+ Audio"
1697 default y
1698 help
1699 Provides AAC+ decoding
1700
1701config AUDIO_ENHANCED_AAC_PLUS
1702 depends on AUDIO_AAC_PLUS
1703 bool "Enhanced AAC+ Audio"
1704 default y
1705 help
1706 Provides Enhanced AAC+ decoding
1707
1708config SURF_FFA_GPIO_KEYPAD
1709 bool "MSM SURF/FFA GPIO keypad"
1710 depends on INPUT_GPIO = "y"
1711 default y
1712 help
1713 Select if the GPIO keypad is attached.
1714
1715config MSM_SLEEP_TIME_OVERRIDE
1716 bool "Allow overriding suspend/sleep time with PM module parameter"
1717 default y
1718 help
1719 Enable the module parameter sleep_time_override. Specified
1720 in units of seconds, it overwrites the normal sleep time of
1721 suspend. The feature is required for automated power management
1722 testing.
1723
1724config MSM_MEMORY_LOW_POWER_MODE
1725 bool "Control the low power modes of memory"
1726 default n
1727 help
1728 The application processor controls whether memory should enter
1729 which low power mode.
1730
1731choice
1732 prompt "Default Memory Low Power Mode during Idle"
1733 depends on MSM_MEMORY_LOW_POWER_MODE
1734 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1735 help
1736 Selects the default low power mode of the memory during idle
1737 sleep.
1738
1739 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1740 bool "Memory active"
1741
1742 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1743 bool "Memory in retention"
1744
1745 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1746 bool "Memory in deep power down"
1747endchoice
1748
1749choice
1750 prompt "Default Memory Low Power Mode during Suspend"
1751 depends on MSM_MEMORY_LOW_POWER_MODE
1752 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1753 help
1754 Selects the default low power mode of the memory during suspend
1755 sleep.
1756
1757 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1758 bool "Memory active"
1759
1760 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1761 bool "Memory in retention"
1762
1763 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1764 bool "Memory in deep power down"
1765endchoice
1766
1767choice
1768 prompt "Power management timeout action"
1769 default MSM_PM_TIMEOUT_HALT
1770 help
1771 Selects the Application Processor's action when Power Management
1772 times out waiting for Modem's handshake.
1773
1774 config MSM_PM_TIMEOUT_HALT
1775 bool "Halt the Application Processor"
1776
1777 config MSM_PM_TIMEOUT_RESET_MODEM
1778 bool "Reset the Modem Processor"
1779
1780 config MSM_PM_TIMEOUT_RESET_CHIP
1781 bool "Reset the entire chip"
1782endchoice
1783
1784config MSM_IDLE_WAIT_ON_MODEM
1785 int "Wait for Modem to become ready for idle power collapse"
1786 default 0
1787 help
1788 If Modem is not ready to handle Application Processor's request
1789 for idle power collapse, wait the number of microseconds in case
1790 Modem becomes ready soon.
1791
Matt Wagantall9274df92011-12-15 11:11:05 -08001792config MSM_RPM_REGULATOR
1793 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001794 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001795 help
1796 Compile in support for the RPM regulator driver, used for setting
1797 voltages and other parameters of the various power rails supplied
1798 by some Qualcomm PMICs.
1799
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001800config MSM_PIL
1801 bool "Peripheral image loading"
1802 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001803 default n
1804 help
1805 Some peripherals need to be loaded into memory before they can be
1806 brought out of reset.
1807
1808 Say yes to support these devices.
1809
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001810config MSM_PIL_MODEM
1811 tristate "Modem (ARM11) Boot Support"
1812 depends on MSM_PIL
1813 help
1814 Support for booting and shutting down ARM11 Modem processors.
1815
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001816config MSM_PIL_QDSP6V3
1817 tristate "QDSP6v3 (Hexagon) Boot Support"
1818 depends on MSM_PIL
1819 help
1820 Support for booting and shutting down QDSP6v3 processors (hexagon).
1821 The QDSP6 is a low power DSP used in audio software applications.
1822
Stephen Boydeb819882011-08-29 14:46:30 -07001823config MSM_PIL_QDSP6V4
1824 tristate "QDSP6v4 (Hexagon) Boot Support"
1825 depends on MSM_PIL
1826 help
1827 Support for booting and shutting down QDSP6v4 processors (hexagon).
1828 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1829 software applications.
1830
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001831config MSM_PIL_LPASS_QDSP6V5
1832 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
1833 depends on MSM_PIL
1834 help
1835 Support for booting and shutting down QDSP6v5 processors (Hexagon)
1836 processors in low power audio subsystems.
1837
Stephen Boyd322a9922011-09-20 01:05:54 -07001838config MSM_PIL_RIVA
1839 tristate "RIVA (WCNSS) Boot Support"
1840 depends on MSM_PIL
1841 help
1842 Support for booting and shutting down the RIVA processor (WCNSS).
1843 Riva is the wireless subsystem processor used in bluetooth, wireless
1844 LAN, and FM software applications.
1845
Stephen Boydd89eebe2011-09-28 23:28:11 -07001846config MSM_PIL_TZAPPS
1847 tristate "TZApps Boot Support"
1848 depends on MSM_PIL
1849 help
1850 Support for booting and shutting down TZApps.
1851
1852 TZApps is an image that runs in the secure processor state. It is
1853 used to decrypt data and perform secure operations on the behalf of
1854 the kernel.
1855
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07001856config MSM_PIL_DSPS
1857 tristate "DSPS Boot Support"
1858 depends on MSM_PIL
1859 help
1860 Support for booting and shutting down ARM7 DSPS processors.
1861
1862 DSPS is a sensors offloading processor used for applications such
1863 as rotation detection, temperature, etc.
1864
Stephen Boyd7b973de2012-03-09 12:26:16 -08001865config MSM_PIL_VIDC
1866 tristate "Video Core Secure Boot Support"
1867 depends on MSM_PIL
1868 help
1869 Support for authenticating the video core image.
1870
Matt Wagantall292aace2012-01-26 19:12:34 -08001871config MSM_PIL_GSS
1872 tristate "GSS (Coretx A5) Boot Support"
1873 depends on MSM_PIL
1874 help
1875 Support for booting and shutting down Cortex A5 processors which run
1876 GPS subsystem firmware.
1877
Tianyi Gouc1e049f82011-11-23 14:20:16 -08001878config MSM_PIL_PRONTO
1879 tristate "PRONTO (WCNSS) Boot Support"
1880 depends on MSM_PIL
1881 help
1882 Support for booting and shutting down the PRONTO processor (WCNSS).
1883 PRONTO is the wireless subsystem processor used in bluetooth, wireless
1884 LAN, and FM software applications.
1885
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001886config MSM_SCM
1887 bool "Secure Channel Manager (SCM) support"
1888 default n
1889
1890config MSM_SUBSYSTEM_RESTART
1891 bool "MSM Subsystem Restart Driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001892 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001893 default n
1894 help
1895 This option enables the MSM subsystem restart driver, which provides
1896 a framework to handle subsystem crashes.
1897
Matt Wagantallf8020902011-08-30 21:19:23 -07001898config MSM_SYSMON_COMM
1899 bool "MSM System Monitor communication support"
1900 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1901 default y
1902 help
1903 This option adds support for MSM System Monitor library, which
1904 provides an API that may be used for notifying subsystems within
1905 the SoC about other subsystems' power-up/down state-changes.
1906
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001907config MSM_MODEM_8960
1908 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001909 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001910 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001911 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001912 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001913 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001914
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001915config MSM_LPASS_8960
1916 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001917 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001918 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001919 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001920 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001921 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001922
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001923config MSM_WCNSS_SSR_8960
1924 tristate "MSM 8960 WCNSS restart module"
1925 depends on (ARCH_MSM8960)
1926 help
1927 This option enables the WCNSS restart module for MSM8960, which
1928 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1929 into the subsystem restart framework.
1930
Rohit Vaswanid0fb4182012-03-19 18:07:59 -07001931config MSM_GSS_SSR_8064
1932 bool "MSM 8064 GSS restart driver"
1933 depends on (ARCH_APQ8064)
1934 help
1935 This option enables the gps subsystem restart driver for APQ8064, which monitors
1936 gss hardware watchdog interrupt lines and plugs into the subsystem
1937 restart and PIL drivers.
1938
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001939config SCORPION_Uni_45nm_BUG
1940 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1941 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1942 default y
1943 help
1944 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1945 invalidating the Branch Predictor Array by Modified Virtual Address can
1946 create invalid entries in the TLB with the wrong ASID values on Scorpion
1947 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1948 workaround for Scorpion Uniprocessor 45nm cores.
1949
1950 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1951
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001952config MSM_BUSPM_DEV
1953 tristate "MSM Bus Performance Monitor Kernel Module"
1954 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1955 default m
1956 help
1957 This kernel module is used to mmap() hardware registers for the
1958 performance monitors, counters, etc. The module can also be used to
1959 allocate physical memory which is used by bus performance hardware to
1960 dump performance data.
1961
Mona Hossain11c03ac2011-10-26 12:42:10 -07001962config MSM_TZ_LOG
1963 tristate "MSM Trust Zone (TZ) Log Driver"
1964 depends on DEBUG_FS
1965 help
1966 This option enables a driver with a debugfs interface for messages
1967 produced by the Secure code (Trust zone). These messages provide
1968 diagnostic information about TZ operation.
1969
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001970config MSM_RPM_LOG
1971 tristate "MSM Resource Power Manager Log Driver"
1972 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001973 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001974 default n
1975 help
1976 This option enables a driver which can read from a circular buffer
1977 of messages produced by the RPM. These messages provide diagnostic
1978 information about RPM operation. The driver outputs the messages
1979 via a debugfs node.
1980
1981config MSM_RPM_STATS_LOG
1982 tristate "MSM Resource Power Manager Stat Driver"
1983 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001984 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001985 default n
1986 help
1987 This option enables a driver which reads RPM messages from a shared
1988 memory location. These messages provide statistical information about
1989 the low power modes that RPM enters. The drivers outputs the message
1990 via a debugfs node.
1991
1992config MSM_IOMMU
1993 bool "MSM IOMMU Support"
Joel King41d594e2011-10-14 13:18:20 -07001994 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_APQ8064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001995 select IOMMU_API
1996 default n
1997 help
1998 Support for the IOMMUs found on certain Qualcomm SOCs.
1999 These IOMMUs allow virtualization of the address space used by most
2000 cores within the multimedia subsystem.
2001
2002 If unsure, say N here.
2003
2004config IOMMU_PGTABLES_L2
2005 bool "Allow SMMU page tables in the L2 cache (Experimental)"
2006 depends on MSM_IOMMU=y
2007 depends on MMU
2008 depends on CPU_DCACHE_DISABLE=n
2009 depends on SMP
2010 default y
2011 help
2012 Improves TLB miss latency at the expense of potential L2 pollution.
2013 However, with large multimedia buffers, the TLB should mostly contain
2014 section mappings and TLB misses should be quite infrequent.
2015 Most people can probably say Y here.
2016
2017config MSM_DIRECT_SCLK_ACCESS
2018 bool "Direct access to the SCLK timer"
2019 default n
2020
2021config IOMMU_API
2022 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07002023
Gregory Beanab78cde2010-09-01 16:26:12 -07002024config MSM_GPIOMUX
2025 bool
2026
Gregory Bean1963a2a2010-08-28 10:05:44 -07002027config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002028 bool
2029
2030config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07002031 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002032
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002033config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002034 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002035
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002036config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002037 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002038
Matt Wagantall88b86312012-01-31 16:53:03 -08002039config MSM_PM
2040 depends on PM
2041 bool
2042
2043config MSM_PM2
2044 depends on PM
2045 bool
2046
2047config MSM_PM8X60
2048 depends on PM
2049 bool
2050
2051config MSM_NOPM
2052 default y if !PM
2053 bool
2054
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002055config MSM_BUS_SCALING
2056 bool "Bus scaling driver"
2057 default n
2058
Gagan Mac85c70492011-06-10 16:07:47 -06002059config MSM_BUS_RPM_MULTI_TIER_ENABLED
2060 bool "RPM Multi-tiering Configuration"
2061 depends on MSM_BUS_SCALING
2062
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002063config MSM_WATCHDOG
2064 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002065 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002066 help
2067 This enables the watchdog as is present on 8x60. Currently we use
2068 core 0's watchdog, and reset the entire SoC if it times out. It does
2069 not run during the bootup process, so it will not catch any early
2070 lockups.
2071
2072config MSM_DLOAD_MODE
2073 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07002074 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002075 default n
2076 help
2077 This makes the SoC enter download mode when it resets
2078 due to a kernel panic. Note that this doesn't by itself
2079 make the kernel reboot on a kernel panic - that must be
2080 enabled via another mechanism.
2081
Pratik Patel17f3b822011-11-21 12:41:47 -08002082config MSM_JTAG
2083 bool "JTAG debug and trace support"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002084 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002085 Add additional support for JTAG kernel debugging and tracing.
Pratik Patel7831c082011-06-08 21:44:37 -07002086
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002087config MSM_ETM
2088 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002089 depends on ARCH_MSM8X60
2090 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002091 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002092 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002093
2094config MSM_QDSS
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002095 bool "Qualcomm Debug Subsystem"
Pratik Patel17f3b822011-11-21 12:41:47 -08002096 select MSM_JTAG
Pratik Patel7831c082011-06-08 21:44:37 -07002097 help
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002098 Enables support for Qualcomm Debug Subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002099
Pratik Patel29cba152012-01-03 11:40:26 -08002100config MSM_QDSS_ETM_DEFAULT_ENABLE
2101 bool "Turn on QDSS ETM Tracing by Default"
2102 depends on MSM_QDSS
2103 help
2104 Turns on QDSS ETM tracing by default. Otherwise, tracing is
2105 disabled by default but can be enabled by other means.
2106
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002107config MSM_SLEEP_STATS
2108 bool "Enable exporting of MSM sleep stats to userspace"
2109 depends on CPU_IDLE
2110 default n
2111
Lynus Vazdde09ee2012-01-05 13:28:22 +05302112config MSM_SLEEP_STATS_DEVICE
2113 bool "Enable exporting of MSM sleep device stats to userspace"
2114
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302115config MSM_RUN_QUEUE_STATS
2116 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Krishna Vankae2922052012-03-02 09:59:12 +05302117 depends on (MSM_SOC_REV_A || ARCH_MSM8X60 || ARCH_MSM8960)
2118 help
2119 This option enalbes statistics collection on Run Queue. A daemon
2120 in user mode, called MPDecision will be using this data to decide
2121 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302122
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002123config MSM_STANDALONE_POWER_COLLAPSE
2124 bool "Enable standalone power collapse"
2125 default n
2126
2127config MSM_GSBI9_UART
2128 bool "Enable GSBI9 UART device"
2129 default n
2130 help
2131 This enables GSBI9 configured into UART.
2132
2133config MSM_SHARED_GPIO_FOR_UART2DM
2134 bool "Use shared GPIOs into UART mode"
2135 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2136 help
2137 This option configures GPIO muxed with SDC4/MMC3
2138 8-bit mode into UART mode. It is used for serial
2139 console on UART2DM. Say Y if you want to have
2140 serial console on UART2DM.
2141
2142config MSM_SHOW_RESUME_IRQ
2143 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002144 depends on (ARM_GIC || PMIC8058)
2145 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002146 default n
2147 help
2148 This option logs wake up interrupts that have triggered just before
2149 the resume loop unrolls. Say Y if you want to debug why the system
2150 resumed.
2151
2152config BT_MSM_PINTEST
2153 tristate "MSM Bluetooth Pin Connectivity Test"
2154 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2155 default n
2156 help
2157 Bluetooth MSM Pin Connectivity test module.
2158 This driver provides support for verifying the MSM to BT pin
2159 connectivity.
2160
2161config MSM_FAKE_BATTERY
2162 depends on POWER_SUPPLY
2163 default n
2164 bool "MSM Fake Battery"
2165 help
2166 Enables MSM fake battery driver.
2167
2168config MSM_QDSP6_APR
2169 bool "Audio QDSP6 APR support"
2170 depends on MSM_SMD
2171 default n
2172 help
2173 Enable APR IPC protocol support between
2174 application processor and QDSP6. APR is
2175 used by audio driver to configure QDSP6's
2176 ASM, ADM and AFE.
2177
2178
2179config MSM_AUDIO_QDSP6
2180 bool "QDSP6 HW Audio support"
2181 select SND_SOC_MSM_QDSP6_INTF
2182 default n
2183 help
2184 Enable HW audio support in QDSP6.
2185 QDSP6 can support HW encoder & decoder and audio processing
2186
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002187config MSM_ULTRASOUND
2188 bool "MSM ultrasound support"
2189 depends on MSM_AUDIO_QDSP6
2190 help
2191 Enable support for qdsp6/ultrasound.
2192
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002193config MSM_RPC_VIBRATOR
2194 bool "RPC based MSM Vibrator Support"
2195 depends on MSM_ONCRPCROUTER
2196 help
2197 Enable the vibrator support on MSM over RPC. The vibrator
2198 is connected on the PMIC. Say Y if you want to enable this
2199 feature.
2200
2201config PM8XXX_RPC_VIBRATOR
2202 bool "RPC based Vibrator on PM8xxx PMICs"
2203 depends on MSM_RPC_VIBRATOR
2204 help
2205 Enable the vibrator support on MSM over RPC. The vibrator
2206 is connected on the PM8XXX PMIC. Say Y if you want to enable
2207 this feature.
2208
2209config MSM_SPM_V1
2210 bool "Driver support for SPM Version 1"
2211 help
2212 Enables the support for Version 1 of the SPM driver. SPM hardware is
2213 used to manage the processor power during sleep. The driver allows
2214 configuring SPM to allow different power modes.
2215
2216config MSM_SPM_V2
2217 bool "Driver support for SPM Version 2"
2218 help
2219 Enables the support for Version 2 of the SPM driver. SPM hardware is
2220 used to manage the processor power during sleep. The driver allows
2221 configuring SPM to allow different power modes.
2222
2223config MSM_L2_SPM
2224 bool "SPM support for L2 cache"
2225 depends on MSM_SPM_V2
2226 help
2227 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2228 control of L2 cache low power mode with a Subsystem Power manager.
2229 Enabling this driver allows configuring L2 SPM for low power modes
2230 on supported chipsets.
2231
Laura Abbott2d1760b2011-09-29 21:31:24 -07002232config MSM_MULTIMEDIA_USE_ION
2233 bool "Multimedia suport using Ion"
2234 depends on ION_MSM
2235 help
2236 Enable support for multimedia drivers using Ion for buffer management
2237 instead of pmem. Selecting this may also involve userspace
2238 dependencies as well.
2239
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002240config MSM_OCMEM
2241 bool "MSM On-Chip memory driver (OCMEM)"
2242 help
2243 Enable support for On-Chip Memory available on certain MSM chipsets.
2244 OCMEM is a low latency, high performance pool shared by subsystems.
2245
Laura Abbottad340ff2012-01-04 14:23:48 -08002246config MSM_RTB
2247 bool "Register tracing"
2248 help
2249 Add support for logging different events to a small uncached
2250 region. This is designed to aid in debugging reset cases where the
2251 caches may not be flushed before the target resets.
2252
2253config MSM_RTB_SEPARATE_CPUS
2254 bool "Separate entries for each cpu"
2255 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002256 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002257 help
2258 Under some circumstances, it may be beneficial to give dedicated space
2259 for each cpu to log accesses. Selecting this option will log each cpu
2260 separately. This will guarantee that the last acesses for each cpu
2261 will be logged but there will be fewer entries per cpu
2262
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002263config MSM_CACHE_ERP
2264 bool "Cache / CPU error reporting"
2265 depends on ARCH_MSM_KRAIT
2266 help
2267 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2268 log. Enabling this feature can be used as a system debugging technique
2269 if cache corruption is suspected. Cache error statistics will also be
2270 reported in /proc/cpu/msm_cache_erp.
2271
2272 For production builds, you should probably say 'N' here.
2273
2274config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002275 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002276 depends on MSM_CACHE_ERP
2277 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002278 To cause the kernel to panic whenever an L1 cache error is detected, say
2279 'Y' here. This may be useful as a debugging technique if general system
2280 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002281
2282 For production builds, you should probably say 'N' here.
2283
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002284config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2285 bool "Report L2 master port slave/decode errors in kernel log"
2286 depends on MSM_CACHE_ERP
2287 help
2288 Master port errors can occur when a memory request is not properly
2289 handled by the destination slave. This can occur if the destination
2290 register does not exist or is inaccessible due to security
2291 restrictions or (in some cases) clock configuration. Enabling this
2292 option will cause a backtrace to be printed to the kernel log whenever
2293 such an error is encountered. Note that the error is reported as an
2294 interrupt rather than as an exception, meaning that the backtrace may
2295 have some skid. This option may help with debugging, though production
2296 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002297
2298config MSM_L2_ERP_PORT_PANIC
2299 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002300 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002301 help
2302 Master port errors can occur when a memory request is not properly
2303 handled by the destination slave. Enable this option to catch drivers
2304 which attempt to access bad areas of the address space, or access
2305 hardware registers in an improper state (such as certain clocks not
2306 being on). This option may help with debugging, though production
2307 builds should probably say 'N' here.
2308
2309config MSM_L2_ERP_1BIT_PANIC
2310 bool "Panic on recoverable L2 soft errors"
2311 depends on MSM_CACHE_ERP
2312 help
2313 Enable this option to cause a kernel panic whenever the L2 cache
2314 encounters a single-bit (correctable) soft error. This option should
2315 only be enabled when doing low-level debugging where cache corruption
2316 is suspected.
2317
2318 For production builds, you should definitely say 'N' here.
2319
2320config MSM_L2_ERP_2BIT_PANIC
2321 bool "Panic on unrecoverable L2 soft errors"
2322 depends on MSM_CACHE_ERP
2323 help
2324 Enable this option to cause a kernel panic whenever the L2 cache
2325 encounters a double-bit (non-correctable) soft error. Debug builds
2326 will likely benefit from having this option enabled to catch cache
2327 problems as soon as possible.
2328
2329 For production builds, it may be acceptable to say 'N' here, since
2330 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002331
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002332config MSM_DCVS
2333 bool "Use MSM DCVS for CPU/GPU Frequency control"
2334 depends on MSM_SCM
2335 help
2336 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2337 The DCVS manager allows idle driver to feed the idle information to the
2338 algorithm and the algorithm returns a frequency for the core which is
2339 passed to the frequency change driver.
2340
Taniya Dasc43e6872012-03-21 16:41:14 +05302341config HAVE_ARCH_HAS_CURRENT_TIMER
2342 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002343
2344config MSM_CACHE_DUMP
2345 bool "Cache dumping support"
2346 help
2347 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2348 This allows for analysis of the caches in case cache corruption is
2349 suspected.
2350
Laura Abbott7b637362012-03-29 16:43:49 -07002351config MSM_CACHE_DUMP_ON_PANIC
2352 bool "Dump caches on panic"
2353 depends on MSM_CACHE_DUMP
2354 help
2355 By default, the caches are flushed on panic. This means that trying to
2356 look at them in a RAM dump will give useless data. Select this if you
2357 want to dump the L1 and L2 caches on panic before any flush occurs.
2358 If unsure, say N
2359
Jack Phamccbbfab2012-04-09 19:50:20 -07002360config MSM_HSIC_SYSMON
2361 tristate "MSM HSIC system monitor driver"
2362 depends on USB
2363 help
2364 Add support for bridging with the system monitor interface of MDM
2365 over HSIC. This driver allows the local system monitor to
2366 communicate with the remote system monitor interface.
2367
2368config MSM_HSIC_SYSMON_TEST
2369 tristate "MSM HSIC system monitor bridge test"
2370 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2371 help
2372 Enable the test hook for the Qualcomm system monitor HSIC driver.
2373 This will create a debugfs file entry named "hsic_sysmon_test" which
2374 can be read and written to send character data to the sysmon port of
2375 the modem over USB.
2376
Brian Swetland9e73c842007-11-26 04:12:13 -08002377endif