blob: 83e66668382d41ca2f655e71971427428902a93a [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
Taniya Dasd4c39f92012-05-14 17:41:49 +053039 select DONT_MAP_HOLE_AFTER_MEMBANK0
Daniel Walkerbf83de42010-03-16 16:29:44 -070040
Daniel Walker7b521612010-05-06 12:44:57 -070041config ARCH_MSM7X30
42 bool "MSM7x30"
43 select ARCH_MSM_SCORPION
Daniel Walker7b521612010-05-06 12:44:57 -070044 select MSM_VIC
45 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070046 select MSM_REMOTE_SPINLOCK_DEKKERS
47 select ARCH_SPARSEMEM_ENABLE
Laura Abbott78593b52011-09-26 18:48:14 -070048 select ARCH_HAS_HOLES_MEMORYMODEL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070049 select MEMORY_HOTPLUG
50 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -080051 select ARCH_ENABLE_MEMORY_HOTPLUG
52 select ARCH_ENABLE_MEMORY_HOTREMOVE
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070053 select MIGRATION
54 select ARCH_MEMORY_PROBE
55 select ARCH_MEMORY_REMOVE
Gregory Beanab78cde2010-09-01 16:26:12 -070056 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070057 select RESERVE_FIRST_PAGE
58 select MSM_DALRPC
59 select MSM_SPM_V1
60 select REGULATOR
Justin Paupore637a25d2011-07-14 17:11:04 -070061 select MSM_PROC_COMM_REGULATOR
Taniya Dasbae99fb2011-10-12 09:55:13 +053062 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -080063 select MSM_PM2 if PM
Daniel Walker7b521612010-05-06 12:44:57 -070064
Daniel Walker4ad15e62010-05-06 13:54:17 -070065config ARCH_QSD8X50
66 bool "QSD8X50"
67 select ARCH_MSM_SCORPION
Daniel Walker4ad15e62010-05-06 13:54:17 -070068 select MSM_VIC
69 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070070 select MSM_REMOTE_SPINLOCK_LDREX
71 select CPU_USE_DOMAINS
72 select EMULATE_DOMAIN_MANAGER_V7
Gregory Beanab78cde2010-09-01 16:26:12 -070073 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070074 select MSM_DALRPC
Matt Wagantall88b86312012-01-31 16:53:03 -080075 select MSM_PM2 if PM
Daniel Walker46fe5f22010-08-18 11:00:25 -070076
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070077config ARCH_MSM8X60
78 bool "MSM8X60"
Jeff Ohlsteine14411d2010-11-30 13:06:36 -080079 select ARCH_MSM_SCORPIONMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070080 select SMP_PARALLEL_START if SMP
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070081 select ARM_GIC
82 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070083 select MSM_REMOTE_SPINLOCK_LDREX
84 select ARCH_REQUIRE_GPIOLIB
85 select MSM_ADM3
86 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -080087 select MSM_RPM_REGULATOR
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070088 select MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070089 select MSM_PIL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070090 select ARCH_HAS_CPU_IDLE_WAIT
91 select MSM_DIRECT_SCLK_ACCESS
92 select MSM_RPM
93 select MSM_XO
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070094 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070095 select MSM_BUS_SCALING
96 select MSM_SECURE_IO
97 select MSM_DALRPC
98 select MSM_QDSP6_APR
99 select MSM_NATIVE_RESTART
100 select ARCH_INLINE_SPIN_TRYLOCK
101 select ARCH_INLINE_SPIN_TRYLOCK_BH
102 select ARCH_INLINE_SPIN_LOCK
103 select ARCH_INLINE_SPIN_LOCK_BH
104 select ARCH_INLINE_SPIN_LOCK_IRQ
105 select ARCH_INLINE_SPIN_LOCK_IRQSAVE
106 select ARCH_INLINE_SPIN_UNLOCK
107 select ARCH_INLINE_SPIN_UNLOCK_BH
108 select ARCH_INLINE_SPIN_UNLOCK_IRQ
109 select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
110 select ARCH_INLINE_READ_TRYLOCK
111 select ARCH_INLINE_READ_LOCK
112 select ARCH_INLINE_READ_LOCK_BH
113 select ARCH_INLINE_READ_LOCK_IRQ
114 select ARCH_INLINE_READ_LOCK_IRQSAVE
115 select ARCH_INLINE_READ_UNLOCK
116 select ARCH_INLINE_READ_UNLOCK_BH
117 select ARCH_INLINE_READ_UNLOCK_IRQ
118 select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
119 select ARCH_INLINE_WRITE_TRYLOCK
120 select ARCH_INLINE_WRITE_LOCK
121 select ARCH_INLINE_WRITE_LOCK_BH
122 select ARCH_INLINE_WRITE_LOCK_IRQ
123 select ARCH_INLINE_WRITE_LOCK_IRQSAVE
124 select ARCH_INLINE_WRITE_UNLOCK
125 select ARCH_INLINE_WRITE_UNLOCK_BH
126 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
127 select CPU_HAS_L2_PMU
128 select MSM_SPM_V1
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530129 select MSM_SCM if SMP
130 select MULTI_IRQ_HANDLER
Laura Abbott46505f62011-11-02 18:06:55 -0700131 select MSM_MULTIMEDIA_USE_ION
Matt Wagantall88b86312012-01-31 16:53:03 -0800132 select MSM_PM8X60 if PM
Krishna Vankae2922052012-03-02 09:59:12 +0530133 select MSM_RUN_QUEUE_STATS
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700134
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800135config ARCH_MSM8960
136 bool "MSM8960"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700137 select ARCH_MSM_KRAITMP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800138 select ARM_GIC
139 select CPU_V7
140 select MSM_V2_TLMM
141 select MSM_GPIOMUX
142 select MSM_SCM if SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700143 select MSM_DIRECT_SCLK_ACCESS
144 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -0800145 select MSM_RPM_REGULATOR
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700146 select MSM_RPM
147 select MSM_XO
148 select MSM_QDSP6_APR
149 select MSM_PIL
150 select MSM_AUDIO_QDSP6 if SND_SOC
151 select CPU_HAS_L2_PMU
152 select MSM_SPM_V2
153 select MSM_L2_SPM
154 select MSM_NATIVE_RESTART
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700155 select DONT_MAP_HOLE_AFTER_MEMBANK0
156 select MSM_REMOTE_SPINLOCK_SFPB
157 select ARCH_POPULATES_NODE_MAP
158 select ARCH_SPARSEMEM_ENABLE
159 select ARCH_HAS_HOLES_MEMORYMODEL
Larry Basselb8d61022012-02-24 10:49:45 -0800160 select ENABLE_DMM
161 select MEMORY_HOTPLUG if ENABLE_DMM
162 select MEMORY_HOTREMOVE if ENABLE_DMM
163 select ARCH_ENABLE_MEMORY_HOTPLUG if ENABLE_DMM
164 select ARCH_ENABLE_MEMORY_HOTREMOVE if ENABLE_DMM
165 select MIGRATION if ENABLE_DMM
166 select ARCH_MEMORY_PROBE if ENABLE_DMM
167 select ARCH_MEMORY_REMOVE if ENABLE_DMM
168 select FIX_MOVABLE_ZONE if ENABLE_DMM
Larry Basseld4d82c92011-12-07 09:52:49 -0800169 select CLEANCACHE
170 select QCACHE
Laura Abbott6d61a912011-10-27 16:44:14 -0700171 select MSM_MULTIMEDIA_USE_ION
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530172 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800173 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700174 select HOLES_IN_ZONE if SPARSEMEM
Krishna Vankae2922052012-03-02 09:59:12 +0530175 select MSM_RUN_QUEUE_STATS
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700176
177config ARCH_MSM8930
178 bool "MSM8930"
179 select ARCH_MSM_KRAITMP
180 select ARM_GIC
181 select CPU_V7
182 select MSM_V2_TLMM
183 select MSM_GPIOMUX
184 select MSM_SCM if SMP
185 select MSM_DIRECT_SCLK_ACCESS
186 select REGULATOR
David Collins5779cea2012-01-05 15:09:21 -0800187 select MSM_RPM_REGULATOR
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700188 select MSM_RPM
189 select MSM_XO
190 select MSM_QDSP6_APR
191 select MSM_PIL
192 select MSM_AUDIO_QDSP6 if SND_SOC
193 select CPU_HAS_L2_PMU
194 select MSM_SPM_V2
195 select MSM_L2_SPM
196 select MSM_NATIVE_RESTART
197 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600198 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700199 select ARCH_POPULATES_NODE_MAP
200 select ARCH_SPARSEMEM_ENABLE
201 select ARCH_HAS_HOLES_MEMORYMODEL
Larry Basselb8d61022012-02-24 10:49:45 -0800202 select ENABLE_DMM
203 select MEMORY_HOTPLUG if ENABLE_DMM
204 select MEMORY_HOTREMOVE if ENABLE_DMM
205 select ARCH_ENABLE_MEMORY_HOTPLUG if ENABLE_DMM
206 select ARCH_ENABLE_MEMORY_HOTREMOVE if ENABLE_DMM
207 select MIGRATION if ENABLE_DMM
208 select ARCH_MEMORY_PROBE if ENABLE_DMM
209 select ARCH_MEMORY_REMOVE if ENABLE_DMM
210 select FIX_MOVABLE_ZONE if ENABLE_DMM
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +0200211 select MSM_ULTRASOUND
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530212 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800213 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700214 select HOLES_IN_ZONE if SPARSEMEM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700215
216config ARCH_APQ8064
217 bool "APQ8064"
218 select ARCH_MSM_KRAITMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700219 select MSM_V2_TLMM
220 select ARM_GIC
221 select CPU_V7
222 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700223 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600224 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800225 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800226 select MSM_QDSP6_APR
227 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530228 select MULTI_IRQ_HANDLER
Praveen Chidambaram78499012011-11-01 17:15:17 -0600229 select MSM_RPM
230 select MSM_SPM_V2
231 select MSM_L2_SPM
Matt Wagantall88b86312012-01-31 16:53:03 -0800232 select MSM_PM8X60 if PM
Neil Leeder814d3d32012-01-19 17:21:43 -0500233 select CPU_HAS_L2_PMU
Laura Abbott085dd202012-03-30 14:02:34 -0700234 select HOLES_IN_ZONE if SPARSEMEM
Larry Bassel67b921d2012-04-06 10:23:27 -0700235 select ENABLE_DMM
236 select MEMORY_HOTPLUG if ENABLE_DMM
237 select MEMORY_HOTREMOVE if ENABLE_DMM
238 select ARCH_ENABLE_MEMORY_HOTPLUG if ENABLE_DMM
239 select ARCH_ENABLE_MEMORY_HOTREMOVE if ENABLE_DMM
240 select MIGRATION if ENABLE_DMM
241 select ARCH_MEMORY_PROBE if ENABLE_DMM
242 select ARCH_MEMORY_REMOVE if ENABLE_DMM
243 select FIX_MOVABLE_ZONE if ENABLE_DMM
244 select CLEANCACHE
245 select QCACHE
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -0600246 select MIGHT_HAVE_PCI
247 select ARCH_SUPPORTS_MSI
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700248
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700249config ARCH_MSMCOPPER
250 bool "MSM Copper"
251 select ARCH_MSM_KRAITMP
252 select MSM_V2_TLMM
253 select ARM_GIC
254 select CPU_V7
255 select MSM_SCM if SMP
256 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530257 select MULTI_IRQ_HANDLER
Olav Hauganb800c8c2012-01-30 08:50:45 -0800258 select MSM_MULTIMEDIA_USE_ION
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700259 select MSM_PIL
Praveen Chidambaramaa9d52b2012-04-02 11:09:47 -0600260 select MSM_SPM_V2
261 select MSM_L2_SPM
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600262 select MSM_RPM
263 select MSM_PM8X60 if PM
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700264
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700265config ARCH_FSM9XXX
266 bool "FSM9XXX"
267 select ARCH_MSM_SCORPION
268 select MSM_VIC
269 select CPU_V7
270 select MSM_REMOTE_SPINLOCK_LDREX
271 select FSM9XXX_TLMM
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530272 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800273 select MSM_DALRPC
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800274
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700275config ARCH_MSM9615
276 bool "MSM9615"
277 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530278 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700279 select ARCH_MSM_CORTEX_A5
280 select CPU_V7
281 select MSM_V2_TLMM
282 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600283 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600284 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700285 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800286 select REGULATOR
287 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530288 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800289 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800290 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700291 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800292 select MSM_QDSP6_APR
293 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800294 select FIQ
Matt Wagantall9274df92011-12-15 11:11:05 -0800295
Taniya Das43bcdd62011-12-02 17:33:27 +0530296config ARCH_MSM8625
297 bool "MSM8625"
298 select ARCH_MSM_CORTEX_A5
299 select CPU_V7
300 select MSM_GPIOMUX
301 select ARM_GIC
302 select ARCH_MSM_CORTEXMP
303 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530304 select ARM_TICKET_LOCKS
Krishna Vankae2922052012-03-02 09:59:12 +0530305 select MSM_RUN_QUEUE_STATS
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700306
307config ARCH_MSM9625
308 bool "MSM9625"
309 select ARM_GIC
310 select GIC_SECURE
311 select ARCH_MSM_CORTEX_A5
312 select SMP
313 select MSM_SMP
314 select CPU_V7
315 select MULTI_IRQ_HANDLER
316 select MSM_V2_TLMM
317
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700318endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700319
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700320choice
321 prompt "MSM SoC Revision"
322 default MSM_SOC_REV_NONE
323config MSM_SOC_REV_NONE
324 bool "N/A"
325 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
326 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walker4ad15e62010-05-06 13:54:17 -0700327config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700328 bool "Rev. A"
329 select ARCH_MSM7X27A if ARCH_MSM7X27
330endchoice
Daniel Walker4ad15e62010-05-06 13:54:17 -0700331
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700332config MSM_KRAIT_TBB_ABORT_HANDLER
333 bool "Krait TBB/TBH data abort handler"
334 depends on ARCH_MSM_KRAIT
335 depends on ARM_THUMB
336 help
337 Certain early samples of the Krait processor may generate data
338 aborts for TBB / TBH instructions that fail their condition code
339 checks. Enabling this option will ignore these erroneous data aborts,
340 at the expense of a very small performance penalty.
341
342 If unsure, say N.
343
Daniel Walker4ad15e62010-05-06 13:54:17 -0700344config ARCH_MSM_ARM11
345 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700346
Daniel Walker4ad15e62010-05-06 13:54:17 -0700347config ARCH_MSM_SCORPION
Daniel Walkerbf83de42010-03-16 16:29:44 -0700348 bool
349
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700350config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700351 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800352 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700353
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700354config MSM_SMP
355 bool
356
357config ARCH_MSM_SCORPIONMP
358 select ARCH_MSM_SCORPION
359 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530360 select HAVE_ARCH_HAS_CURRENT_TIMER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700361 bool
362
363config ARCH_MSM_KRAITMP
364 select ARCH_MSM_KRAIT
365 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530366 select HAVE_ARCH_HAS_CURRENT_TIMER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700367 bool
368
Taniya Das43bcdd62011-12-02 17:33:27 +0530369config ARCH_MSM_CORTEXMP
370 select MSM_SMP
371 bool
372
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700373config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800374 bool
Rohit Vaswaniaf7ae272012-01-09 10:28:57 -0800375 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700376
377config ARCH_MSM7X27A
378 bool
379 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700380 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530381 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530382 select ARM_GIC
383 select ARCH_MSM_CORTEXMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700384
Gregory Beanf9f3d312010-04-30 22:06:50 -0700385config MSM_VIC
386 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700387
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700388config MSM_RPM
389 bool "Resource Power Manager"
390 select MSM_MPM
391
392config MSM_MPM
393 bool "Modem Power Manager"
394
395config MSM_XO
396 bool
397
398config MSM_REMOTE_SPINLOCK_DEKKERS
399 bool
400config MSM_REMOTE_SPINLOCK_SWP
401 bool
402config MSM_REMOTE_SPINLOCK_LDREX
403 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600404config MSM_REMOTE_SPINLOCK_SFPB
405 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700406config MSM_ADM3
407 bool
408
409menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700410
411config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700412 depends on ARCH_MSM7X01A
413 depends on MSM_STACKED_MEMORY
414 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700415 bool "Halibut Board (QCT SURF7201A)"
416 help
417 Support for the Qualcomm SURF7201A eval board.
418
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700419config MACH_MSM7201A_SURF
420 depends on ARCH_MSM7X01A
421 depends on MSM_STACKED_MEMORY
422 default y
423 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700424 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700425 Support for the Qualcomm MSM7201A SURF eval board.
426
427config MACH_MSM7201A_FFA
428 depends on ARCH_MSM7X01A
429 depends on MSM_STACKED_MEMORY
430 default y
431 bool "MSM7201A FFA"
432 help
433 Support for the Qualcomm MSM7201A FFA eval board.
434
435config MACH_TROUT
436 depends on ARCH_MSM7X01A
437 depends on MSM_STACKED_MEMORY
438 default y
439 bool "Trout"
440
441config MACH_MSM7X27_SURF
442 depends on ARCH_MSM7X27
443 depends on !MSM_STACKED_MEMORY
444 default y
445 bool "MSM7x27 SURF"
446 help
447 Support for the Qualcomm MSM7x27 SURF eval board.
448
449config MACH_MSM7X27_FFA
450 depends on ARCH_MSM7X27
451 depends on !MSM_STACKED_MEMORY
452 default y
453 bool "MSM7x27 FFA"
454 help
455 Support for the Qualcomm MSM7x27 FFA eval board.
456
457config MACH_MSM7X27A_RUMI3
458 depends on ARCH_MSM7X27A
459 depends on !MSM_STACKED_MEMORY
460 default y
461 bool "MSM7x27A RUMI3"
462 help
463 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
464
465config MACH_MSM7X27A_SURF
466 depends on ARCH_MSM7X27A
467 depends on !MSM_STACKED_MEMORY
468 default y
469 bool "MSM7x27A SURF"
470 help
471 Support for the Qualcomm MSM7x27A SURF.
472
473config MACH_MSM7X27A_FFA
474 depends on ARCH_MSM7X27A
475 depends on !MSM_STACKED_MEMORY
476 default y
477 bool "MSM7x27A FFA"
478 help
479 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700480
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530481config MACH_MSM7625A_SURF
482 depends on ARCH_MSM7X27A
483 depends on !MSM_STACKED_MEMORY
484 default y
485 bool "MSM7625A SURF"
486 help
487 Support for the Qualcomm MSM7625A SURF.
488
489config MACH_MSM7625A_FFA
490 depends on ARCH_MSM7X27A
491 depends on !MSM_STACKED_MEMORY
492 default y
493 bool "MSM7625A FFA"
494 help
495 Support for the Qualcomm MSM7625A FFA.
496
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530497config MACH_MSM7627A_QRD1
498 depends on ARCH_MSM7X27A
499 depends on !MSM_STACKED_MEMORY
500 default y
501 bool "MSM7627A QRD1"
502 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530503 Support for the Qualcomm MSM7627A Reference Design.
504
505config MACH_MSM7627A_QRD3
506 depends on ARCH_MSM7X27A
507 depends on !MSM_STACKED_MEMORY
508 default y
509 bool "MSM7627A QRD3"
510 help
511 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530512
Taniya Dasc868a2e2012-01-03 10:18:47 +0530513config MACH_MSM7627A_EVB
514 depends on ARCH_MSM7X27A
515 depends on !MSM_STACKED_MEMORY
516 default y
517 bool "MSM7627A EVB"
518 help
519 Support for the Qualcomm MSM7627A Reference Design.
520
Taniya Das43bcdd62011-12-02 17:33:27 +0530521config MACH_MSM8625_RUMI3
522 depends on ARCH_MSM8625
523 depends on !MSM_STACKED_MEMORY
524 default y
525 bool "MSM8625 RUMI3"
526 help
527 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
528
Taniya Dase3027e22012-02-27 16:32:27 +0530529config MACH_MSM8625_SURF
530 depends on ARCH_MSM8625
531 depends on !MSM_STACKED_MEMORY
532 default y
533 bool "MSM8625 SURF"
534 help
535 Support for the Qualcomm MSM8625 SURF.
536
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530537config MACH_MSM8625_FFA
538 depends on ARCH_MSM8625
539 depends on !MSM_STACKED_MEMORY
540 default y
541 bool "MSM8625 FFA"
542 help
543 Support for the Qualcomm MSM8625 FFA.
544
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530545config MACH_MSM8625_EVB
546 depends on ARCH_MSM8625
547 depends on !MSM_STACKED_MEMORY
548 default y
549 bool "MSM8625 EVB"
550 help
551 Support for the Qualcomm MSM8625 Reference Design.
552
Taniya Dasbd096542012-03-15 17:43:45 +0530553config MACH_MSM8625_QRD7
554 depends on ARCH_MSM8625
555 depends on !MSM_STACKED_MEMORY
556 default y
557 bool "MSM8625 QRD7"
558 help
559 Support for the Qualcomm MSM8625 Reference Design.
560
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530561config MACH_MSM8625_EVT
562 depends on ARCH_MSM8625
563 depends on !MSM_STACKED_MEMORY
564 default y
565 bool "MSM8625 EVT"
566 help
567 Support for the Qualcomm MSM8625 Reference Design.
568
Daniel Walker7b521612010-05-06 12:44:57 -0700569config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700570 depends on ARCH_MSM7X30
571 depends on !MSM_STACKED_MEMORY
572 default y
573 bool "MSM7x30 SURF"
574 help
575 Support for the Qualcomm MSM7x30 SURF eval board.
576
577config MACH_MSM7X30_FFA
578 depends on ARCH_MSM7X30
579 depends on !MSM_STACKED_MEMORY
580 default y
581 bool "MSM7x30 FFA"
582 help
583 Support for the Qualcomm MSM7x30 FFA eval board.
584
585config MACH_MSM7X30_FLUID
586 depends on ARCH_MSM7X30
587 depends on !MSM_STACKED_MEMORY
588 default y
589 bool "MSM7x30 FLUID"
590 help
591 Support for the Qualcomm MSM7x30 FLUID eval board.
592
593config MACH_SAPPHIRE
594 depends on ARCH_MSM7X01A
595 default n
596 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700597
Daniel Walker4ad15e62010-05-06 13:54:17 -0700598config MACH_QSD8X50_SURF
599 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700600 depends on MSM_SOC_REV_NONE
601 depends on MSM_STACKED_MEMORY
602 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700603 bool "QSD8x50 SURF"
604 help
605 Support for the Qualcomm QSD8x50 SURF eval board.
606
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700607config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700608 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700609 depends on MSM_SOC_REV_NONE
610 depends on MSM_STACKED_MEMORY
611 default y
612 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700613 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700614 Support for the Qualcomm QSD8x50 FFA eval board.
615
616config MACH_MSM7X25_SURF
617 depends on ARCH_MSM7X25
618 depends on !MSM_STACKED_MEMORY
619 default y
620 bool "MSM7x25 SURF"
621 help
622 Support for the Qualcomm MSM7x25 SURF eval board.
623
624config MACH_MSM7X25_FFA
625 depends on ARCH_MSM7X25
626 depends on !MSM_STACKED_MEMORY
627 default y
628 bool "MSM7x25 FFA"
629 help
630 Support for the Qualcomm MSM7x25 FFA eval board.
631
632config MACH_MSM8X55_SURF
633 depends on ARCH_MSM7X30
634 depends on !MSM_STACKED_MEMORY
635 default y
636 bool "MSM8X55 SURF"
637 help
638 Support for the Qualcomm MSM8x55 SURF eval board.
639
640config MACH_MSM8X55_FFA
641 depends on ARCH_MSM7X30
642 depends on !MSM_STACKED_MEMORY
643 default y
644 bool "MSM8X55 FFA"
645 help
646 Support for the Qualcomm MSM8x55 FFA eval board.
647
648config MACH_MSM8X55_SVLTE_FFA
649 depends on ARCH_MSM7X30
650 depends on !MSM_STACKED_MEMORY
651 default y
652 bool "MSM8X55 SVLTE FFA"
653 help
654 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
655
656config MACH_MSM8X55_SVLTE_SURF
657 depends on ARCH_MSM7X30
658 depends on !MSM_STACKED_MEMORY
659 default y
660 bool "MSM8X55 SVLTE SURF"
661 help
662 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700663
Steve Mucklea55df6e2010-01-07 12:43:24 -0800664config MACH_MSM8X60_RUMI3
665 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700666 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800667 bool "MSM8x60 RUMI3"
668 help
669 Support for the Qualcomm MSM8x60 RUMI3 emulator.
670
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800671config MACH_MSM8X60_SIM
672 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700673 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800674 bool "MSM8x60 Simulator"
675 help
676 Support for the Qualcomm MSM8x60 simulator.
677
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700678config MACH_MSM8X60_SURF
679 depends on ARCH_MSM8X60
680 default n
681 bool "MSM8x60 SURF"
682 help
683 Support for the Qualcomm MSM8x60 SURF eval board.
684
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700685config MACH_MSM8X60_FFA
686 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700687 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700688 bool "MSM8x60 FFA"
689 help
690 Support for the Qualcomm MSM8x60 FFA eval board.
691
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700692config MACH_MSM8X60_FLUID
693 depends on ARCH_MSM8X60
694 default n
695 bool "MSM8x60 FLUID"
696 help
697 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
698 8x60 target which has a form factor that is much closer to that
699 of a phone than other targets. It also has a new display and
700 touchscreen controller.
701
702config MACH_MSM8X60_FUSION
703 depends on ARCH_MSM8X60
704 default n
705 bool "MSM8x60 FUSION"
706 help
707 Support for the Qualcomm MSM8x60 Fusion SURF device.
708
709config MACH_MSM8X60_FUSN_FFA
710 depends on ARCH_MSM8X60
711 default n
712 bool "MSM8x60 FUSN FFA"
713 help
714 Support for the Qualcomm MSM8x60 Fusion FFA device.
715
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400716config MACH_MSM8X60_DRAGON
717 depends on ARCH_MSM8X60
718 default n
719 bool "MSM8x60 DRAGON"
720 help
721 Support for the Qualcomm MSM8x60 Dragon board.
722
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800723config MACH_MSM8960_SIM
724 depends on ARCH_MSM8960
725 bool "MSM8960 Simulator"
726 help
727 Support for the Qualcomm MSM8960 simulator.
728
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800729config MACH_MSM8960_RUMI3
730 depends on ARCH_MSM8960
731 bool "MSM8960 RUMI3"
732 help
733 Support for the Qualcomm MSM8960 RUMI3 emulator.
734
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700735config MACH_MSM8960_CDP
736 depends on ARCH_MSM8960
737 bool "MSM8960 CDP"
738 help
739 Support for the Qualcomm MSM8960 CDP device.
740
741config MACH_MSM8960_MTP
742 depends on ARCH_MSM8960
743 bool "MSM8960 MTP"
744 help
745 Support for the Qualcomm MSM8960 MTP device.
746
747config MACH_MSM8960_FLUID
748 depends on ARCH_MSM8960
749 bool "MSM8960 FLUID"
750 help
751 Support for the Qualcomm MSM8960 FLUID device.
752
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300753config MACH_MSM8960_LIQUID
754 depends on ARCH_MSM8960
755 bool "MSM8960 LIQUID"
756 help
757 Support for the Qualcomm MSM8960 LIQUID device.
758
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700759config MACH_MSM8930_CDP
760 depends on ARCH_MSM8930
761 bool "MSM8930 CDP"
762 help
763 Support for the Qualcomm MSM8930 CDP device.
764
765config MACH_MSM8930_MTP
766 depends on ARCH_MSM8930
767 bool "MSM8930 MTP"
768 help
769 Support for the Qualcomm MSM8930 MTP device.
770
771config MACH_MSM8930_FLUID
772 depends on ARCH_MSM8930
773 bool "MSM8930 FLUID"
774 help
775 Support for the Qualcomm MSM8930 FLUID device.
776
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800777config MACH_MSM8627_CDP
778 depends on ARCH_MSM8930
779 bool "MSM8627 CDP"
780 help
781 Support for the Qualcomm MSM8627 CDP device.
782
783config MACH_MSM8627_MTP
784 depends on ARCH_MSM8930
785 bool "MSM8627 MTP"
786 help
787 Support for the Qualcomm MSM8627 MTP device.
788
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700789config MACH_MSM9615_CDP
790 depends on ARCH_MSM9615
791 bool "MSM9615 CDP"
792 help
793 Support for the Qualcomm MSM9615 CDP device.
794
795config MACH_MSM9615_MTP
796 depends on ARCH_MSM9615
797 bool "MSM9615 MTP"
798 help
799 Support for the Qualcomm MSM9615 MTP device.
800
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700801config MSM_USE_TSIF1
802 depends on ARCH_MSM8X60
803 bool "MSM8x60 use TSIF1"
804 help
805 Selects TSIF1 core to be used rather than TSIF0.
806 The two TSIF cores share the same DM configuration
807 so they cannot be used simultaneously.
808
809config MACH_APQ8064_SIM
810 depends on ARCH_APQ8064
811 bool "APQ8064 Simulator"
812 help
813 Support for the Qualcomm APQ8064 simulator.
814
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700815config MACH_APQ8064_RUMI3
816 depends on ARCH_APQ8064
817 bool "APQ8064 RUMI3"
818 help
819 Support for the Qualcomm APQ8064 RUMI3 emulator.
820
Joel King82b7e3f2012-01-05 10:03:27 -0800821config MACH_APQ8064_CDP
822 depends on ARCH_APQ8064
823 bool "APQ8064 CDP"
824 help
825 Support for the Qualcomm APQ8064 CDP device.
826
827config MACH_APQ8064_MTP
828 depends on ARCH_APQ8064
829 bool "APQ8064 MTP"
830 help
831 Support for the Qualcomm APQ8064 MTP device.
832
833config MACH_APQ8064_LIQUID
834 depends on ARCH_APQ8064
835 bool "APQ8064 LIQUID"
836 help
837 Support for the Qualcomm APQ8064 LIQUID device.
838
Joel King064bbf82012-04-01 13:23:39 -0700839config MACH_MPQ8064_CDP
840 depends on ARCH_APQ8064
841 bool "MPQ8064 CDP"
842 help
843 Support for the Qualcomm MPQ8064 CDP device.
844
Joel King11ca8202012-02-13 16:19:03 -0800845config MACH_MPQ8064_HRD
846 depends on ARCH_APQ8064
847 bool "MPQ8064 HRD"
848 help
849 Support for the Qualcomm MPQ8064 HRD device.
850
851config MACH_MPQ8064_DTV
852 depends on ARCH_APQ8064
853 bool "MPQ8064 DTV"
854 help
855 Support for the Qualcomm MPQ8064 DTV device.
856
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700857config MACH_FSM9XXX_SURF
858 depends on ARCH_FSM9XXX
859 depends on !MSM_STACKED_MEMORY
860 default y
861 bool "FSM9XXX SURF"
862 help
863 Support for the Qualcomm FSM9xxx femtocell
864 chipset based SURF evaluation board and
865 FFA board.
866
Daniel Walker4ad15e62010-05-06 13:54:17 -0700867endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800868
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700869config MSM_STACKED_MEMORY
870 bool "Stacked Memory"
871 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800872 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700873 This option is used to indicate the presence of on-die stacked
874 memory. When present this memory bank is used for a high speed
875 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800876
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700877config PHYS_OFFSET
878 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700879 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700880 default "0x80200000" if ARCH_APQ8064
881 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700882 default "0x80200000" if ARCH_MSM8930
Sathish Ambley39a1dc42012-03-19 21:46:26 -0700883 default "0x20200000" if ARCH_MSMCOPPER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700884 default "0x10000000" if ARCH_FSM9XXX
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700885 default "0x20200000" if ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700886 default "0x00200000" if !MSM_STACKED_MEMORY
887 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
888 default "0x20000000" if ARCH_QSD8X50
889 default "0x40200000" if ARCH_MSM8X60
890 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800891
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700892config KERNEL_PMEM_EBI_REGION
893 bool "Enable in-kernel PMEM region for EBI"
894 default y if ARCH_MSM8X60
Olav Hauganb800c8c2012-01-30 08:50:45 -0800895 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSMCOPPER)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700896 help
897 Enable the in-kernel PMEM allocator to use EBI memory.
898
899config KERNEL_PMEM_SMI_REGION
900 bool "Enable in-kernel PMEM region for SMI"
901 default y if ARCH_MSM8X60
902 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
903 help
904 Enable the in-kernel PMEM allocator to use SMI memory.
905
906config PMEM_GPU0
907 bool "Enable PMEM GPU0 region"
908 default y
909 depends on ARCH_QSD8X50 && ANDROID_PMEM
910 help
911 Enable the PMEM GPU0 device on SMI Memory.
912
913config MSM_AMSS_VERSION
914 int
915 default 6210 if MSM_AMSS_VERSION_6210
916 default 6220 if MSM_AMSS_VERSION_6220
917 default 6225 if MSM_AMSS_VERSION_6225
918
919choice
920 prompt "AMSS modem firmware version"
921
922 default MSM_AMSS_VERSION_6225
923
924 config MSM_AMSS_VERSION_6210
925 bool "6.2.10"
926
927 config MSM_AMSS_VERSION_6220
928 bool "6.2.20"
929
930 config MSM_AMSS_VERSION_6225
931 bool "6.2.20 + New ADSP"
932endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800933
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700934config MSM_HAS_DEBUG_UART_HS
935 bool
936 help
937 Say Y here if high speed MSM UART is present.
938
939config MSM_HAS_DEBUG_UART_HS_V14
940 bool
941 select MSM_HAS_DEBUG_UART_HS
942 help
943 Say Y here if high speed MSM UART v1.4 is present.
944
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800945config DEBUG_MSM8930_UART
946 bool "Kernel low-level debugging messages via MSM 8930 UART"
947 depends on ARCH_MSM8930 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700948 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800949 help
950 Say Y here if you want the debug print routines to direct
951 their output to the serial port on MSM 8930 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100952
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530953config MSM_DEBUG_UART_PHYS
954 hex
955 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
956 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
957 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
958 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
959 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
960 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
961 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
962 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
963
Pavel Machek6339f662009-11-02 11:48:29 +0100964choice
965 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800966 depends on DEBUG_LL
Pavel Machek6339f662009-11-02 11:48:29 +0100967
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800968 config DEBUG_MSM_UART1
969 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530970 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800971 help
972 Say Y here if you want the debug print routines to direct
973 their output to the first serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100974
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800975 config DEBUG_MSM_UART2
976 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530977 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
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 second serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100981
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800982 config DEBUG_MSM_UART3
983 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530984 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800985 help
986 Say Y here if you want the debug print routines to direct
987 their output to the third serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100988
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800989 config DEBUG_MSM8660_UART
990 bool "Kernel low-level debugging messages via MSM 8660 UART"
991 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700992 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800993 help
994 Say Y here if you want the debug print routines to direct
995 their output to the serial port on MSM 8660 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100996
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800997 config DEBUG_MSM8960_UART
998 bool "Kernel low-level debugging messages via MSM 8960 UART"
999 depends on ARCH_MSM8960
1000 select DEBUG_MSM8930_UART
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001001 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001002 help
1003 Say Y here if you want the debug print routines to direct
1004 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001005
1006 config DEBUG_MSMCOPPER_UART
1007 bool "Kernel low-level debugging messages via MSM Copper UART"
1008 depends on ARCH_MSMCOPPER
1009 select MSM_HAS_DEBUG_UART_HS_V14
1010 help
1011 Say Y here if you want the debug print routines to direct
1012 their output to the serial port on MSM Copper devices.
Pavel Machek6339f662009-11-02 11:48:29 +01001013endchoice
1014
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001015choice
1016 prompt "Default Timer"
1017 default MSM7X00A_USE_GP_TIMER
1018
1019 config MSM7X00A_USE_GP_TIMER
1020 bool "GP Timer"
1021 help
1022 Low resolution timer that allows power collapse from idle.
1023
1024 config MSM7X00A_USE_DG_TIMER
1025 bool "DG Timer"
1026 help
1027 High resolution timer.
1028endchoice
1029
1030choice
1031 prompt "Suspend sleep mode"
1032 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1033 help
1034 Allows overriding the sleep mode used. Leave at power
1035 collapse suspend unless the arm9 image has problems.
1036
1037 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1038 bool "Power collapse suspend"
1039 help
1040 Lowest sleep state. Returns through reset vector.
1041
1042 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1043 bool "Power collapse"
1044 help
1045 Sleep state that returns through reset vector.
1046
1047 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1048 bool "Apps Sleep"
1049
1050 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1051 bool "Ramp down cpu clock and wait for interrupt"
1052
1053 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1054 bool "Wait for interrupt"
1055endchoice
1056
1057config MSM7X00A_SLEEP_MODE
1058 int
1059 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1060 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1061 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1062 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1063 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1064
1065choice
1066 prompt "Idle sleep mode"
1067 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1068 help
1069 Allows overriding the sleep mode used from idle. Leave at power
1070 collapse suspend unless the arm9 image has problems.
1071
1072 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1073 bool "Power collapse suspend"
1074 help
1075 Lowest sleep state. Returns through reset vector.
1076
1077 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1078 bool "Power collapse"
1079 help
1080 Sleep state that returns through reset vector.
1081
1082 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1083 bool "Apps Sleep"
1084
1085 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1086 bool "Ramp down cpu clock and wait for interrupt"
1087
1088 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1089 bool "Wait for interrupt"
1090endchoice
1091
1092config MSM7X00A_IDLE_SLEEP_MODE
1093 int
1094 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1095 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1096 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1097 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1098 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1099
1100config MSM7X00A_IDLE_SLEEP_MIN_TIME
1101 int "Minimum idle time before sleep"
1102 default 20000000
1103 help
1104 Minimum idle time in nanoseconds before entering low power mode.
1105
1106config MSM7X00A_IDLE_SPIN_TIME
1107 int "Idle spin time before cpu ramp down"
1108 default 80000
1109 help
1110 Spin time in nanoseconds before ramping down cpu clock and entering
1111 any low power state.
1112
1113menuconfig MSM_IDLE_STATS
1114 bool "Collect idle statistics"
1115 default y
1116 help
1117 Collect idle statistics and export them in proc/msm_pm_stats.
1118
1119if MSM_IDLE_STATS
1120
1121config MSM_IDLE_STATS_FIRST_BUCKET
1122 int "First bucket time"
1123 default 62500
1124 help
1125 Upper time limit in nanoseconds of first bucket.
1126
1127config MSM_IDLE_STATS_BUCKET_SHIFT
1128 int "Bucket shift"
1129 default 2
1130
1131config MSM_IDLE_STATS_BUCKET_COUNT
1132 int "Bucket count"
1133 default 10
1134
1135config MSM_SUSPEND_STATS_FIRST_BUCKET
1136 int "First bucket time for suspend"
1137 default 1000000000
1138 help
1139 Upper time limit in nanoseconds of first bucket of the
1140 histogram. This is for collecting statistics on suspend.
1141
1142endif # MSM_IDLE_STATS
1143
1144config CPU_HAS_L2_PMU
1145 bool "L2CC PMU Support"
1146 help
1147 Select this if the L2 cache controller has a Performance Monitoring Unit.
1148
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001149config HTC_HEADSET
1150 tristate "HTC 2 Wire detection driver"
1151 default n
1152 help
1153 Provides support for detecting HTC 2 wire devices, such as wired
1154 headset, on the trout platform. Can be used with the msm serial
1155 debugger, but not with serial console.
1156
1157config TROUT_BATTCHG
1158 depends on MACH_TROUT && POWER_SUPPLY
1159 default y
1160 bool "Trout battery / charger driver"
1161
1162config HTC_PWRSINK
1163 depends on MSM_SMD
1164 default n
1165 bool "HTC Power Sink Driver"
1166
1167config QSD_SVS
1168 bool "QSD Static Voltage Scaling"
1169 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1170 default y
1171 select TPS65023
1172 help
1173 Enables static voltage scaling using the TPS65023 PMIC.
1174
1175config QSD_PMIC_DEFAULT_DCDC1
1176 int "PMIC default output voltage"
1177 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1178 default 1250
1179 help
1180 This is the PMIC voltage at Linux kernel boot.
1181
1182config MSM_FIQ_SUPPORT
1183 default y
1184 bool "Enable installation of an FIQ handler."
1185
1186config MSM_SERIAL_DEBUGGER
1187 select MSM_FIQ_SUPPORT
1188 select KERNEL_DEBUGGER_CORE
1189 default n
1190 bool "FIQ Mode Serial Debugger"
1191 help
1192 The FIQ serial debugger can accept commands even when the
1193 kernel is unresponsive due to being stuck with interrupts
1194 disabled. Depends on the kernel debugger core in drivers/misc.
1195
1196config MSM_SERIAL_DEBUGGER_CONSOLE
1197 depends on MSM_SERIAL_DEBUGGER
1198 default n
1199 bool "Console on FIQ Serial Debugger port"
1200 help
1201 Enables a console so that printk messages are displayed on
1202 the debugger serial port as the occur.
Daniel Walkerbf83de42010-03-16 16:29:44 -07001203
Steve Mucklec8aabae2010-04-21 16:20:27 -07001204config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001205 default y
1206 bool "Proc-Comm RPC Interface"
1207 help
1208 Enables a lightweight communications interface to the
1209 baseband processor.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001210
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001211config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001212 bool "MSM Shared Memory Driver (SMD)"
1213 help
1214 Support for the shared memory interface between the apps
1215 processor and the baseband processor. Provides access to
1216 the "shared heap", as well as virtual serial channels
1217 used to communicate with various services on the baseband
1218 processor.
1219
1220choice
1221 prompt "MSM Shared memory interface version"
1222 depends on MSM_SMD
1223 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1224 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1225
1226 config MSM_SMD_PKG3
1227 bool
1228 prompt "Package 3"
1229
1230 config MSM_SMD_PKG4
1231 bool
1232 prompt "Package 4"
1233endchoice
1234
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001235config MSM_PCIE
1236 bool "MSM PCIe Controller driver"
1237 depends on PCI && PCI_MSI
1238 help
1239 Enables the PCIe functionality by configures PCIe core on
1240 MSM chipset and by enabling the ARM PCI framework extension.
1241
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001242config MSM_RPC_SDIO_XPRT
1243 depends on MSM_SDIO_AL
1244 default y
1245 bool "MSM SDIO XPRT Layer"
1246 help
1247 SDIO Transport Layer for RPC Rouer
1248
1249config MSM_RPC_SDIO_DEBUG
1250 depends on MSM_RPC_SDIO_XPRT
1251 default y
1252 bool "MSM SDIO XPRT debug support"
1253 help
1254 Support for debugging SDIO XPRT
1255
1256config MSM_SMD_DEBUG
1257 depends on MSM_SMD
1258 default y
1259 bool "MSM SMD debug support"
1260 help
1261 Support for debugging the SMD for communication
1262 between the ARM9 and ARM11
1263
1264config MSM_SDIO_AL
1265 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1266 default y
1267 tristate "SDIO-Abstraction-Layer"
1268 help
1269 Support MSM<->MDM Communication over SDIO bus.
1270 MDM SDIO-Client should have pipes support.
1271
1272config MSM_SDIO_DMUX
1273 bool "SDIO Data Mux Driver"
1274 depends on MSM_SDIO_AL
1275 default n
1276 help
1277 Support Muxed Data Channels over SDIO interface.
1278
1279config MSM_BAM_DMUX
1280 bool "BAM Data Mux Driver"
1281 depends on SPS
1282 default n
1283 help
1284 Support Muxed Data Channels over BAM interface.
1285 BAM has a limited number of pipes. This driver
1286 provides a means to support more logical channels
1287 via muxing than BAM could without muxing.
1288
1289config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001290 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001291 default y
1292 bool "MSM N-WAY SMD support"
1293 help
1294 Supports APPS-QDSP SMD communication along with
1295 normal APPS-MODEM SMD communication.
1296
1297config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001298 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001299 default y
1300 bool "MSM N-WAY SMSM support"
1301 help
1302 Supports APPS-QDSP SMSM communication along with
1303 normal APPS-MODEM SMSM communication.
1304
1305config MSM_RESET_MODEM
1306 tristate "Reset Modem Driver"
1307 depends on MSM_SMD
1308 default m
1309 help
1310 Allows the user to reset the modem through a device node.
1311
1312config MSM_SMD_LOGGING
1313 depends on MSM_SMD
1314 default y
1315 bool "MSM Shared Memory Logger"
1316 help
1317 This option exposes the shared memory logger at /dev/smem_log
1318 and a debugfs node named smem_log.
1319
1320 If in doubt, say yes.
1321
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001322config MSM_IPC_LOGGING
1323 bool "MSM Debug Logging for IPC Drivers"
1324 help
1325 This option allows the debug logging for IPC Drivers.
1326
1327 If in doubt, say no.
1328
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001329config MSM_SMD_NMEA
1330 bool "NMEA GPS Driver"
1331 depends on MSM_SMD
1332 default y
1333 help
1334 Enable this to support the NMEA GPS device.
1335
1336 If in doubt, say yes.
1337
1338config MSM_SDIO_TTY
1339 bool "SDIO TTY Driver"
1340 depends on MSM_SDIO_AL
1341 default n
1342 help
1343 Provides a TTY driver SDIO TTY
1344 This driver can be used by user space
1345 applications for passing data through the
1346 SDIO interface.
1347
1348config MSM_SMD_TTY
1349 bool "SMD TTY Driver"
1350 depends on MSM_SMD
1351 default y
1352 help
1353 Provides TTY interfaces to interact with the modem.
1354
1355 If in doubt, say yes.
1356
1357config MSM_SMD_QMI
1358 bool "SMD QMI Driver"
1359 depends on MSM_SMD
1360 default y
1361 help
1362 Manages network data connections.
1363
1364 If in doubt, say yes.
1365
1366config MSM_SMD_PKT
1367 bool "SMD Packet Driver"
1368 depends on MSM_SMD
1369 default y
1370 help
1371 Provides a binary SMD non-muxed packet port interface.
1372
1373 If in doubt, say yes.
1374
1375config MSM_SDIO_CMUX
1376 bool "SDIO CMUX Driver"
1377 depends on MSM_SDIO_AL
1378 default n
1379 help
1380 Provides a Muxed port interface over SDIO QMI
1381
1382config MSM_DSPS
1383 bool "Sensors DSPS driver"
1384 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1385 default n
1386 help
1387 Provides user-space interface to the sensors manager
1388 to turn on/off the Sensors Processor system clocks.
1389 It is the DSPS responsibility to turn on/off the sensors
1390 themself.
1391 The number of clocks and their name may vary between targets.
1392 It also triggers the PIL to load the DSPS firmware.
1393
1394config MSM_SDIO_CTL
1395 bool "SDIO CTL Driver"
1396 depends on MSM_SDIO_CMUX
1397 default n
1398 help
1399 Provides a binary SDIO control port interface.
1400
1401config MSM_ONCRPCROUTER
1402 depends on MSM_SMD
1403 default n
1404 bool "MSM ONCRPC router support"
1405 help
1406 Support for the MSM ONCRPC router for communication between
1407 the ARM9 and ARM11
1408
1409config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001410 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001411 default n
1412 bool "MSM IPC Router support"
1413 help
1414 Support for the MSM IPC Router for communication between
1415 the APPs and the MODEM
1416
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001417config MSM_IPC_ROUTER_SMD_XPRT
1418 depends on MSM_SMD
1419 depends on MSM_IPC_ROUTER
1420 default n
1421 bool "MSM SMD XPRT Layer"
1422 help
1423 SMD Transport Layer for IPC Router
1424
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001425config MSM_ONCRPCROUTER_DEBUG
1426 depends on MSM_ONCRPCROUTER
1427 default y
1428 bool "MSM debug ONCRPC router support"
1429 help
1430 Support for debugging the ONCRPC router for communication
1431 between the ARM9 and ARM11
1432
1433config MSM_RPC_LOOPBACK_XPRT
1434 depends on MSM_ONCRPCROUTER
1435 default n
1436 bool "MSM RPC local routing support"
1437 help
1438 Support for routing RPC messages between APPS clients
1439 and APPS servers. Helps in testing APPS RPC framework.
1440
1441config MSM_RPCSERVER_TIME_REMOTE
1442 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1443 default y
1444 bool "Time remote RPC server"
1445 help
1446 The time remote server receives notification of time bases and
1447 reports these events to registered callback functions.
1448
1449config MSM_RPCSERVER_WATCHDOG
1450 depends on MSM_ONCRPCROUTER
1451 default y
1452 bool "Watchdog RPC server"
1453 help
1454 The dog_keepalive server handles watchdog events.
1455
1456config MSM_RPC_WATCHDOG
1457 depends on MSM_ONCRPCROUTER
1458 default n
1459 bool "Watchdog RPC client"
1460 help
1461 The dog_keepalive client module.
1462
1463config MSM_RPC_PING
1464 depends on MSM_ONCRPCROUTER && DEBUG_FS
1465 default m
1466 bool "MSM rpc ping"
1467 help
1468 Implements MSM rpc ping test module.
1469
1470config MSM_RPC_PROC_COMM_TEST
1471 depends on DEBUG_FS && MSM_PROC_COMM
1472 default m
1473 bool "MSM rpc proc comm test"
1474 help
1475 Implements MSM rpc proc comm test module.
1476
1477config MSM_RPC_OEM_RAPI
1478 depends on MSM_ONCRPCROUTER
1479 default m
1480 bool "MSM oem rapi"
1481 help
1482 Implements MSM oem rapi client module.
1483
1484config MSM_RPCSERVER_HANDSET
1485 depends on MSM_ONCRPCROUTER
1486 default y
1487 bool "Handset events RPC server"
1488 help
1489 Support for receiving handset events like headset detect,
1490 headset switch and clamshell state.
1491
1492config MSM_RMT_STORAGE_CLIENT
1493 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1494 default n
1495 bool "Remote Storage RPC client"
1496 help
1497 Provide RPC mechanism for remote processors to access storage
1498 device on apps processor.
1499
1500config MSM_RMT_STORAGE_CLIENT_STATS
1501 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1502 default n
1503 bool "Remote storage RPC client performance statistics"
1504 help
1505 Collects performance statistics and shows this information
1506 through a debugfs file rmt_storage_stats.
1507
1508config MSM_SDIO_SMEM
1509 depends on MSM_SDIO_AL
1510 default n
1511 bool "SDIO SMEM for remote storage"
1512 help
1513 Copies data from remote MDM9K memory to local MSM8x60
1514 memory. Used by remote storage client to shadow
1515 MDM9K filesystem.
1516
1517config MSM_DALRPC
1518 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001519 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001520 help
1521 Supports RPC calls to DAL devices on remote processor cores.
1522
1523config MSM_DALRPC_TEST
1524 tristate "DAL RPC test module"
1525 depends on (MSM_DALRPC && DEBUG_FS)
1526 default m
1527 help
1528 Exercises DAL RPC calls to QDSP6.
1529
1530if CPU_FREQ_MSM
1531
1532config MSM_CPU_FREQ_SET_MIN_MAX
1533 bool "Set Min/Max CPU frequencies."
1534 default n
1535 help
1536 Allow setting min and max CPU frequencies. Sysfs can be used
1537 to override these values.
1538
1539config MSM_CPU_FREQ_MAX
1540 int "Max CPU Frequency"
1541 depends on MSM_CPU_FREQ_SET_MIN_MAX
1542 default 384000
1543
1544config MSM_CPU_FREQ_MIN
1545 int "Min CPU Frequency"
1546 depends on MSM_CPU_FREQ_SET_MIN_MAX
1547 default 245760
1548
1549endif # CPU_FREQ_MSM
1550
1551config MSM_CPU_AVS
1552 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1553 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1554 depends on ARCH_QSD8X50
1555 default n
1556 select MSM_AVS_HW
1557 help
1558 This enables the s/w control of Adaptive Voltage Scaling feature
1559 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1560 based on feedback from three ring oscillators in the CPU.
1561
1562config MSM_AVS_HW
1563 bool "Enable Adaptive Voltage Scaling (AVS)"
1564 default n
1565 help
1566 Enable AVS hardware to fine tune voltage at each frequency. The
1567 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1568 fine tune the voltages based on the feedback from the ring
1569 oscillators.
1570
1571config MSM_HW3D
1572 tristate "MSM Hardware 3D Register Driver"
1573 depends on ANDROID_PMEM
1574 default y
1575 help
1576 Provides access to registers needed by the userspace OpenGL|ES
1577 library.
1578
1579config MSM_ADSP
1580 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1581 tristate "MSM ADSP driver"
1582 depends on ANDROID_PMEM
1583 default y
1584 help
1585 Provides access to registers needed by the userspace aDSP library.
1586
1587config ADSP_RPC_VER
1588 hex
1589 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1590 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1591 depends on MSM_ADSP
1592 help
1593 Select proper ADSP RPC version
1594choice
1595 prompt "ADSP RPC version"
1596
1597 default AMSS_7X25_VERSION_2009
1598
1599 config AMSS_7X25_VERSION_2009
1600 bool "2.0.09"
1601
1602 config AMSS_7X25_VERSION_2008
1603 bool "2.0.08"
1604endchoice
1605
1606config MSM7KV2_AUDIO
1607 bool "MSM7K v2 audio"
1608 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1609 default y
1610 help
1611 Enables QDSP5V2-based audio drivers for audio playbacks and
1612 voice call.
1613
1614config MSM_ADSP_REPORT_EVENTS
1615 bool "Report modem events from the DSP"
1616 default y
1617 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1618 help
1619 Normally, only messages from the aDSP are reported to userspace.
1620 With this option, we report events from the aDSP as well.
1621
1622config MSM_QDSP6
1623 tristate "QDSP6 support"
1624 depends on ARCH_QSD8X50 && ANDROID_PMEM
1625 default y
1626 help
1627 Enable support for qdsp6. This provides audio and video functionality.
1628
1629config MSM8X60_AUDIO
1630 tristate "MSM8X60 audio support"
1631 depends on ARCH_MSM8X60 && ANDROID_PMEM
1632 default y
1633 help
1634 Enable support for qdsp6v2. This provides audio functionality.
1635
1636config MSM8X60_FTM_AUDIO_DEVICES
1637 bool "MSM8X60 audio factory test mode support"
1638 depends on MSM8X60_AUDIO
1639 help
1640 Enable support audio factory test mode devices. This is used
1641 in a production line environment.
1642
Ben Romberger45b351c2011-07-20 22:37:27 -07001643config RTAC
1644 bool "MSM8K real-time audio calibration support"
1645 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001646 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001647 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001648 audio operation
1649
1650config MSM7X27A_AUDIO
1651 bool "MSM7X27A audio support"
1652 depends on ARCH_MSM7X27A && MSM_ADSP
1653 default n
1654 help
1655 Enable support for 7x27a. This provides audio functionality.
1656
Justin Pauporea6cd2092011-06-22 16:19:45 -07001657config MSM_PROC_COMM_REGULATOR
1658 bool
1659 depends on MSM_PROC_COMM && REGULATOR
1660 help
1661 Enable regulator framework support for regulators managed by PMLIB
1662 on the modem, and controlled through proccomm calls.
1663
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001664config MSM_VREG_SWITCH_INVERTED
1665 bool "Reverse vreg switch polarity"
1666 default n
1667 help
1668 Reverses the enable and disable for vreg switch.
1669
1670config MSM_DMA_TEST
1671 tristate "MSM DMA test module"
1672 default m
1673 help
1674 Intended to be compiled as a module. Provides a device node
1675 and ioctls for testing the MSM dma system.
1676
1677config WIFI_CONTROL_FUNC
1678 bool "Enable WiFi control function abstraction"
1679 help
1680 Enables Power/Reset/Carddetect function abstraction
1681
1682config WIFI_MEM_PREALLOC
1683 depends on WIFI_CONTROL_FUNC
1684 bool "Preallocate memory for WiFi buffers"
1685 help
1686 Preallocates memory buffers for WiFi driver
1687
1688config QSD_AUDIO
1689 bool "QSD audio"
1690 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1691 default y
1692 help
1693 Provides PCM, MP3, and AAC audio playback.
1694
1695config AUDIO_AAC_PLUS
1696 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1697 bool "AAC+ Audio"
1698 default y
1699 help
1700 Provides AAC+ decoding
1701
1702config AUDIO_ENHANCED_AAC_PLUS
1703 depends on AUDIO_AAC_PLUS
1704 bool "Enhanced AAC+ Audio"
1705 default y
1706 help
1707 Provides Enhanced AAC+ decoding
1708
1709config SURF_FFA_GPIO_KEYPAD
1710 bool "MSM SURF/FFA GPIO keypad"
1711 depends on INPUT_GPIO = "y"
1712 default y
1713 help
1714 Select if the GPIO keypad is attached.
1715
1716config MSM_SLEEP_TIME_OVERRIDE
1717 bool "Allow overriding suspend/sleep time with PM module parameter"
1718 default y
1719 help
1720 Enable the module parameter sleep_time_override. Specified
1721 in units of seconds, it overwrites the normal sleep time of
1722 suspend. The feature is required for automated power management
1723 testing.
1724
1725config MSM_MEMORY_LOW_POWER_MODE
1726 bool "Control the low power modes of memory"
1727 default n
1728 help
1729 The application processor controls whether memory should enter
1730 which low power mode.
1731
1732choice
1733 prompt "Default Memory Low Power Mode during Idle"
1734 depends on MSM_MEMORY_LOW_POWER_MODE
1735 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1736 help
1737 Selects the default low power mode of the memory during idle
1738 sleep.
1739
1740 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1741 bool "Memory active"
1742
1743 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1744 bool "Memory in retention"
1745
1746 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1747 bool "Memory in deep power down"
1748endchoice
1749
1750choice
1751 prompt "Default Memory Low Power Mode during Suspend"
1752 depends on MSM_MEMORY_LOW_POWER_MODE
1753 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1754 help
1755 Selects the default low power mode of the memory during suspend
1756 sleep.
1757
1758 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1759 bool "Memory active"
1760
1761 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1762 bool "Memory in retention"
1763
1764 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1765 bool "Memory in deep power down"
1766endchoice
1767
1768choice
1769 prompt "Power management timeout action"
1770 default MSM_PM_TIMEOUT_HALT
1771 help
1772 Selects the Application Processor's action when Power Management
1773 times out waiting for Modem's handshake.
1774
1775 config MSM_PM_TIMEOUT_HALT
1776 bool "Halt the Application Processor"
1777
1778 config MSM_PM_TIMEOUT_RESET_MODEM
1779 bool "Reset the Modem Processor"
1780
1781 config MSM_PM_TIMEOUT_RESET_CHIP
1782 bool "Reset the entire chip"
1783endchoice
1784
1785config MSM_IDLE_WAIT_ON_MODEM
1786 int "Wait for Modem to become ready for idle power collapse"
1787 default 0
1788 help
1789 If Modem is not ready to handle Application Processor's request
1790 for idle power collapse, wait the number of microseconds in case
1791 Modem becomes ready soon.
1792
Matt Wagantall9274df92011-12-15 11:11:05 -08001793config MSM_RPM_REGULATOR
1794 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001795 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001796 help
1797 Compile in support for the RPM regulator driver, used for setting
1798 voltages and other parameters of the various power rails supplied
1799 by some Qualcomm PMICs.
1800
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001801config MSM_PIL
1802 bool "Peripheral image loading"
1803 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001804 default n
1805 help
1806 Some peripherals need to be loaded into memory before they can be
1807 brought out of reset.
1808
1809 Say yes to support these devices.
1810
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001811config MSM_PIL_MODEM
1812 tristate "Modem (ARM11) Boot Support"
1813 depends on MSM_PIL
1814 help
1815 Support for booting and shutting down ARM11 Modem processors.
1816
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001817config MSM_PIL_QDSP6V3
1818 tristate "QDSP6v3 (Hexagon) Boot Support"
1819 depends on MSM_PIL
1820 help
1821 Support for booting and shutting down QDSP6v3 processors (hexagon).
1822 The QDSP6 is a low power DSP used in audio software applications.
1823
Stephen Boydeb819882011-08-29 14:46:30 -07001824config MSM_PIL_QDSP6V4
1825 tristate "QDSP6v4 (Hexagon) Boot Support"
1826 depends on MSM_PIL
1827 help
1828 Support for booting and shutting down QDSP6v4 processors (hexagon).
1829 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1830 software applications.
1831
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001832config MSM_PIL_LPASS_QDSP6V5
1833 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
1834 depends on MSM_PIL
1835 help
1836 Support for booting and shutting down QDSP6v5 processors (Hexagon)
1837 processors in low power audio subsystems.
1838
Stephen Boyd322a9922011-09-20 01:05:54 -07001839config MSM_PIL_RIVA
1840 tristate "RIVA (WCNSS) Boot Support"
1841 depends on MSM_PIL
1842 help
1843 Support for booting and shutting down the RIVA processor (WCNSS).
1844 Riva is the wireless subsystem processor used in bluetooth, wireless
1845 LAN, and FM software applications.
1846
Stephen Boydd89eebe2011-09-28 23:28:11 -07001847config MSM_PIL_TZAPPS
1848 tristate "TZApps Boot Support"
1849 depends on MSM_PIL
1850 help
1851 Support for booting and shutting down TZApps.
1852
1853 TZApps is an image that runs in the secure processor state. It is
1854 used to decrypt data and perform secure operations on the behalf of
1855 the kernel.
1856
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07001857config MSM_PIL_DSPS
1858 tristate "DSPS Boot Support"
1859 depends on MSM_PIL
1860 help
1861 Support for booting and shutting down ARM7 DSPS processors.
1862
1863 DSPS is a sensors offloading processor used for applications such
1864 as rotation detection, temperature, etc.
1865
Stephen Boyd7b973de2012-03-09 12:26:16 -08001866config MSM_PIL_VIDC
1867 tristate "Video Core Secure Boot Support"
1868 depends on MSM_PIL
1869 help
1870 Support for authenticating the video core image.
1871
Matt Wagantall292aace2012-01-26 19:12:34 -08001872config MSM_PIL_GSS
1873 tristate "GSS (Coretx A5) Boot Support"
1874 depends on MSM_PIL
1875 help
1876 Support for booting and shutting down Cortex A5 processors which run
1877 GPS subsystem firmware.
1878
Tianyi Gouc1e049f82011-11-23 14:20:16 -08001879config MSM_PIL_PRONTO
1880 tristate "PRONTO (WCNSS) Boot Support"
1881 depends on MSM_PIL
1882 help
1883 Support for booting and shutting down the PRONTO processor (WCNSS).
1884 PRONTO is the wireless subsystem processor used in bluetooth, wireless
1885 LAN, and FM software applications.
1886
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001887config MSM_SCM
1888 bool "Secure Channel Manager (SCM) support"
1889 default n
1890
1891config MSM_SUBSYSTEM_RESTART
1892 bool "MSM Subsystem Restart Driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001893 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001894 default n
1895 help
1896 This option enables the MSM subsystem restart driver, which provides
1897 a framework to handle subsystem crashes.
1898
Matt Wagantallf8020902011-08-30 21:19:23 -07001899config MSM_SYSMON_COMM
1900 bool "MSM System Monitor communication support"
1901 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1902 default y
1903 help
1904 This option adds support for MSM System Monitor library, which
1905 provides an API that may be used for notifying subsystems within
1906 the SoC about other subsystems' power-up/down state-changes.
1907
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001908config MSM_MODEM_8960
1909 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001910 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001911 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001912 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001913 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001914 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001915
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001916config MSM_LPASS_8960
1917 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001918 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001919 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001920 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001921 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001922 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001923
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001924config MSM_WCNSS_SSR_8960
1925 tristate "MSM 8960 WCNSS restart module"
1926 depends on (ARCH_MSM8960)
1927 help
1928 This option enables the WCNSS restart module for MSM8960, which
1929 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1930 into the subsystem restart framework.
1931
Rohit Vaswanid0fb4182012-03-19 18:07:59 -07001932config MSM_GSS_SSR_8064
1933 bool "MSM 8064 GSS restart driver"
1934 depends on (ARCH_APQ8064)
1935 help
1936 This option enables the gps subsystem restart driver for APQ8064, which monitors
1937 gss hardware watchdog interrupt lines and plugs into the subsystem
1938 restart and PIL drivers.
1939
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001940config SCORPION_Uni_45nm_BUG
1941 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1942 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1943 default y
1944 help
1945 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1946 invalidating the Branch Predictor Array by Modified Virtual Address can
1947 create invalid entries in the TLB with the wrong ASID values on Scorpion
1948 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1949 workaround for Scorpion Uniprocessor 45nm cores.
1950
1951 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1952
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001953config MSM_BUSPM_DEV
1954 tristate "MSM Bus Performance Monitor Kernel Module"
1955 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1956 default m
1957 help
1958 This kernel module is used to mmap() hardware registers for the
1959 performance monitors, counters, etc. The module can also be used to
1960 allocate physical memory which is used by bus performance hardware to
1961 dump performance data.
1962
Mona Hossain11c03ac2011-10-26 12:42:10 -07001963config MSM_TZ_LOG
1964 tristate "MSM Trust Zone (TZ) Log Driver"
1965 depends on DEBUG_FS
1966 help
1967 This option enables a driver with a debugfs interface for messages
1968 produced by the Secure code (Trust zone). These messages provide
1969 diagnostic information about TZ operation.
1970
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001971config MSM_RPM_LOG
1972 tristate "MSM Resource Power Manager Log Driver"
1973 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001974 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001975 default n
1976 help
1977 This option enables a driver which can read from a circular buffer
1978 of messages produced by the RPM. These messages provide diagnostic
1979 information about RPM operation. The driver outputs the messages
1980 via a debugfs node.
1981
1982config MSM_RPM_STATS_LOG
1983 tristate "MSM Resource Power Manager Stat Driver"
1984 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001985 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001986 default n
1987 help
1988 This option enables a driver which reads RPM messages from a shared
1989 memory location. These messages provide statistical information about
1990 the low power modes that RPM enters. The drivers outputs the message
1991 via a debugfs node.
1992
1993config MSM_IOMMU
1994 bool "MSM IOMMU Support"
Joel King41d594e2011-10-14 13:18:20 -07001995 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_APQ8064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001996 select IOMMU_API
1997 default n
1998 help
1999 Support for the IOMMUs found on certain Qualcomm SOCs.
2000 These IOMMUs allow virtualization of the address space used by most
2001 cores within the multimedia subsystem.
2002
2003 If unsure, say N here.
2004
2005config IOMMU_PGTABLES_L2
2006 bool "Allow SMMU page tables in the L2 cache (Experimental)"
2007 depends on MSM_IOMMU=y
2008 depends on MMU
2009 depends on CPU_DCACHE_DISABLE=n
2010 depends on SMP
2011 default y
2012 help
2013 Improves TLB miss latency at the expense of potential L2 pollution.
2014 However, with large multimedia buffers, the TLB should mostly contain
2015 section mappings and TLB misses should be quite infrequent.
2016 Most people can probably say Y here.
2017
2018config MSM_DIRECT_SCLK_ACCESS
2019 bool "Direct access to the SCLK timer"
2020 default n
2021
2022config IOMMU_API
2023 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07002024
Gregory Beanab78cde2010-09-01 16:26:12 -07002025config MSM_GPIOMUX
2026 bool
2027
Gregory Bean1963a2a2010-08-28 10:05:44 -07002028config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002029 bool
2030
2031config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07002032 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002033
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002034config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002035 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002036
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002037config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002038 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002039
Matt Wagantall88b86312012-01-31 16:53:03 -08002040config MSM_PM
2041 depends on PM
2042 bool
2043
2044config MSM_PM2
2045 depends on PM
2046 bool
2047
2048config MSM_PM8X60
2049 depends on PM
2050 bool
2051
2052config MSM_NOPM
2053 default y if !PM
2054 bool
2055
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002056config MSM_BUS_SCALING
2057 bool "Bus scaling driver"
2058 default n
2059
Gagan Mac85c70492011-06-10 16:07:47 -06002060config MSM_BUS_RPM_MULTI_TIER_ENABLED
2061 bool "RPM Multi-tiering Configuration"
2062 depends on MSM_BUS_SCALING
2063
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002064config MSM_WATCHDOG
2065 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002066 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002067 help
2068 This enables the watchdog as is present on 8x60. Currently we use
2069 core 0's watchdog, and reset the entire SoC if it times out. It does
2070 not run during the bootup process, so it will not catch any early
2071 lockups.
2072
2073config MSM_DLOAD_MODE
2074 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07002075 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002076 default n
2077 help
2078 This makes the SoC enter download mode when it resets
2079 due to a kernel panic. Note that this doesn't by itself
2080 make the kernel reboot on a kernel panic - that must be
2081 enabled via another mechanism.
2082
Pratik Patel17f3b822011-11-21 12:41:47 -08002083config MSM_JTAG
2084 bool "JTAG debug and trace support"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002085 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002086 Add additional support for JTAG kernel debugging and tracing.
Pratik Patel7831c082011-06-08 21:44:37 -07002087
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002088config MSM_ETM
2089 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002090 depends on ARCH_MSM8X60
2091 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002092 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002093 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002094
2095config MSM_QDSS
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002096 bool "Qualcomm Debug Subsystem"
Pratik Patel17f3b822011-11-21 12:41:47 -08002097 select MSM_JTAG
Pratik Patel7831c082011-06-08 21:44:37 -07002098 help
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002099 Enables support for Qualcomm Debug Subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002100
Pratik Patel29cba152012-01-03 11:40:26 -08002101config MSM_QDSS_ETM_DEFAULT_ENABLE
2102 bool "Turn on QDSS ETM Tracing by Default"
2103 depends on MSM_QDSS
2104 help
2105 Turns on QDSS ETM tracing by default. Otherwise, tracing is
2106 disabled by default but can be enabled by other means.
2107
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002108config MSM_SLEEP_STATS
2109 bool "Enable exporting of MSM sleep stats to userspace"
2110 depends on CPU_IDLE
2111 default n
2112
Lynus Vazdde09ee2012-01-05 13:28:22 +05302113config MSM_SLEEP_STATS_DEVICE
2114 bool "Enable exporting of MSM sleep device stats to userspace"
2115
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302116config MSM_RUN_QUEUE_STATS
2117 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Krishna Vankae2922052012-03-02 09:59:12 +05302118 depends on (MSM_SOC_REV_A || ARCH_MSM8X60 || ARCH_MSM8960)
2119 help
2120 This option enalbes statistics collection on Run Queue. A daemon
2121 in user mode, called MPDecision will be using this data to decide
2122 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302123
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002124config MSM_STANDALONE_POWER_COLLAPSE
2125 bool "Enable standalone power collapse"
2126 default n
2127
2128config MSM_GSBI9_UART
2129 bool "Enable GSBI9 UART device"
2130 default n
2131 help
2132 This enables GSBI9 configured into UART.
2133
2134config MSM_SHARED_GPIO_FOR_UART2DM
2135 bool "Use shared GPIOs into UART mode"
2136 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2137 help
2138 This option configures GPIO muxed with SDC4/MMC3
2139 8-bit mode into UART mode. It is used for serial
2140 console on UART2DM. Say Y if you want to have
2141 serial console on UART2DM.
2142
2143config MSM_SHOW_RESUME_IRQ
2144 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002145 depends on (ARM_GIC || PMIC8058)
2146 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002147 default n
2148 help
2149 This option logs wake up interrupts that have triggered just before
2150 the resume loop unrolls. Say Y if you want to debug why the system
2151 resumed.
2152
2153config BT_MSM_PINTEST
2154 tristate "MSM Bluetooth Pin Connectivity Test"
2155 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2156 default n
2157 help
2158 Bluetooth MSM Pin Connectivity test module.
2159 This driver provides support for verifying the MSM to BT pin
2160 connectivity.
2161
2162config MSM_FAKE_BATTERY
2163 depends on POWER_SUPPLY
2164 default n
2165 bool "MSM Fake Battery"
2166 help
2167 Enables MSM fake battery driver.
2168
2169config MSM_QDSP6_APR
2170 bool "Audio QDSP6 APR support"
2171 depends on MSM_SMD
2172 default n
2173 help
2174 Enable APR IPC protocol support between
2175 application processor and QDSP6. APR is
2176 used by audio driver to configure QDSP6's
2177 ASM, ADM and AFE.
2178
2179
2180config MSM_AUDIO_QDSP6
2181 bool "QDSP6 HW Audio support"
2182 select SND_SOC_MSM_QDSP6_INTF
2183 default n
2184 help
2185 Enable HW audio support in QDSP6.
2186 QDSP6 can support HW encoder & decoder and audio processing
2187
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002188config MSM_ULTRASOUND
2189 bool "MSM ultrasound support"
2190 depends on MSM_AUDIO_QDSP6
2191 help
2192 Enable support for qdsp6/ultrasound.
2193
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002194config MSM_RPC_VIBRATOR
2195 bool "RPC based MSM Vibrator Support"
2196 depends on MSM_ONCRPCROUTER
2197 help
2198 Enable the vibrator support on MSM over RPC. The vibrator
2199 is connected on the PMIC. Say Y if you want to enable this
2200 feature.
2201
2202config PM8XXX_RPC_VIBRATOR
2203 bool "RPC based Vibrator on PM8xxx PMICs"
2204 depends on MSM_RPC_VIBRATOR
2205 help
2206 Enable the vibrator support on MSM over RPC. The vibrator
2207 is connected on the PM8XXX PMIC. Say Y if you want to enable
2208 this feature.
2209
2210config MSM_SPM_V1
2211 bool "Driver support for SPM Version 1"
2212 help
2213 Enables the support for Version 1 of the SPM driver. SPM hardware is
2214 used to manage the processor power during sleep. The driver allows
2215 configuring SPM to allow different power modes.
2216
2217config MSM_SPM_V2
2218 bool "Driver support for SPM Version 2"
2219 help
2220 Enables the support for Version 2 of the SPM driver. SPM hardware is
2221 used to manage the processor power during sleep. The driver allows
2222 configuring SPM to allow different power modes.
2223
2224config MSM_L2_SPM
2225 bool "SPM support for L2 cache"
2226 depends on MSM_SPM_V2
2227 help
2228 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2229 control of L2 cache low power mode with a Subsystem Power manager.
2230 Enabling this driver allows configuring L2 SPM for low power modes
2231 on supported chipsets.
2232
Laura Abbott2d1760b2011-09-29 21:31:24 -07002233config MSM_MULTIMEDIA_USE_ION
2234 bool "Multimedia suport using Ion"
2235 depends on ION_MSM
2236 help
2237 Enable support for multimedia drivers using Ion for buffer management
2238 instead of pmem. Selecting this may also involve userspace
2239 dependencies as well.
2240
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002241config MSM_OCMEM
2242 bool "MSM On-Chip memory driver (OCMEM)"
2243 help
2244 Enable support for On-Chip Memory available on certain MSM chipsets.
2245 OCMEM is a low latency, high performance pool shared by subsystems.
2246
Laura Abbottad340ff2012-01-04 14:23:48 -08002247config MSM_RTB
2248 bool "Register tracing"
2249 help
2250 Add support for logging different events to a small uncached
2251 region. This is designed to aid in debugging reset cases where the
2252 caches may not be flushed before the target resets.
2253
2254config MSM_RTB_SEPARATE_CPUS
2255 bool "Separate entries for each cpu"
2256 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002257 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002258 help
2259 Under some circumstances, it may be beneficial to give dedicated space
2260 for each cpu to log accesses. Selecting this option will log each cpu
2261 separately. This will guarantee that the last acesses for each cpu
2262 will be logged but there will be fewer entries per cpu
2263
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002264config MSM_CACHE_ERP
2265 bool "Cache / CPU error reporting"
2266 depends on ARCH_MSM_KRAIT
2267 help
2268 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2269 log. Enabling this feature can be used as a system debugging technique
2270 if cache corruption is suspected. Cache error statistics will also be
2271 reported in /proc/cpu/msm_cache_erp.
2272
2273 For production builds, you should probably say 'N' here.
2274
2275config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002276 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002277 depends on MSM_CACHE_ERP
2278 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002279 To cause the kernel to panic whenever an L1 cache error is detected, say
2280 'Y' here. This may be useful as a debugging technique if general system
2281 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002282
2283 For production builds, you should probably say 'N' here.
2284
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002285config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2286 bool "Report L2 master port slave/decode errors in kernel log"
2287 depends on MSM_CACHE_ERP
2288 help
2289 Master port errors can occur when a memory request is not properly
2290 handled by the destination slave. This can occur if the destination
2291 register does not exist or is inaccessible due to security
2292 restrictions or (in some cases) clock configuration. Enabling this
2293 option will cause a backtrace to be printed to the kernel log whenever
2294 such an error is encountered. Note that the error is reported as an
2295 interrupt rather than as an exception, meaning that the backtrace may
2296 have some skid. This option may help with debugging, though production
2297 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002298
2299config MSM_L2_ERP_PORT_PANIC
2300 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002301 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002302 help
2303 Master port errors can occur when a memory request is not properly
2304 handled by the destination slave. Enable this option to catch drivers
2305 which attempt to access bad areas of the address space, or access
2306 hardware registers in an improper state (such as certain clocks not
2307 being on). This option may help with debugging, though production
2308 builds should probably say 'N' here.
2309
2310config MSM_L2_ERP_1BIT_PANIC
2311 bool "Panic on recoverable L2 soft errors"
2312 depends on MSM_CACHE_ERP
2313 help
2314 Enable this option to cause a kernel panic whenever the L2 cache
2315 encounters a single-bit (correctable) soft error. This option should
2316 only be enabled when doing low-level debugging where cache corruption
2317 is suspected.
2318
2319 For production builds, you should definitely say 'N' here.
2320
2321config MSM_L2_ERP_2BIT_PANIC
2322 bool "Panic on unrecoverable L2 soft errors"
2323 depends on MSM_CACHE_ERP
2324 help
2325 Enable this option to cause a kernel panic whenever the L2 cache
2326 encounters a double-bit (non-correctable) soft error. Debug builds
2327 will likely benefit from having this option enabled to catch cache
2328 problems as soon as possible.
2329
2330 For production builds, it may be acceptable to say 'N' here, since
2331 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002332
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002333config MSM_DCVS
2334 bool "Use MSM DCVS for CPU/GPU Frequency control"
2335 depends on MSM_SCM
2336 help
2337 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2338 The DCVS manager allows idle driver to feed the idle information to the
2339 algorithm and the algorithm returns a frequency for the core which is
2340 passed to the frequency change driver.
2341
Taniya Dasc43e6872012-03-21 16:41:14 +05302342config HAVE_ARCH_HAS_CURRENT_TIMER
2343 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002344
2345config MSM_CACHE_DUMP
2346 bool "Cache dumping support"
2347 help
2348 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2349 This allows for analysis of the caches in case cache corruption is
2350 suspected.
2351
Laura Abbott7b637362012-03-29 16:43:49 -07002352config MSM_CACHE_DUMP_ON_PANIC
2353 bool "Dump caches on panic"
2354 depends on MSM_CACHE_DUMP
2355 help
2356 By default, the caches are flushed on panic. This means that trying to
2357 look at them in a RAM dump will give useless data. Select this if you
2358 want to dump the L1 and L2 caches on panic before any flush occurs.
2359 If unsure, say N
2360
Jack Phamccbbfab2012-04-09 19:50:20 -07002361config MSM_HSIC_SYSMON
2362 tristate "MSM HSIC system monitor driver"
2363 depends on USB
2364 help
2365 Add support for bridging with the system monitor interface of MDM
2366 over HSIC. This driver allows the local system monitor to
2367 communicate with the remote system monitor interface.
2368
2369config MSM_HSIC_SYSMON_TEST
2370 tristate "MSM HSIC system monitor bridge test"
2371 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2372 help
2373 Enable the test hook for the Qualcomm system monitor HSIC driver.
2374 This will create a debugfs file entry named "hsic_sysmon_test" which
2375 can be read and written to send character data to the sysmon port of
2376 the modem over USB.
2377
Brian Swetland9e73c842007-11-26 04:12:13 -08002378endif