blob: 39b6c7d9b418d1586847f9fe58619be9487e0132 [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
11
12config ARCH_MSM7X25
13 bool "MSM7x25"
14 select ARCH_MSM_ARM11
15 select MSM_VIC
16 select CPU_V6
17 select MSM_REMOTE_SPINLOCK_SWP
Taniya Dasbe561a02011-10-12 09:53:11 +053018 select MULTI_IRQ_HANDLER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070019
20config ARCH_MSM7X27
21 bool "MSM7x27"
22 select ARCH_MSM_ARM11 if MSM_SOC_REV_NONE
23 select ARCH_HAS_BARRIERS if MSM_SOC_REV_NONE
24 select ARCH_MSM_CORTEX_A5 if MSM_SOC_REV_A
25 select MSM_VIC
26 select CPU_V6 if MSM_SOC_REV_NONE
27 select CPU_V7 if MSM_SOC_REV_A
28 select MSM_REMOTE_SPINLOCK_SWP if MSM_SOC_REV_NONE
29 select MSM_GPIOMUX
30 select REGULATOR
Taniya Dasbe561a02011-10-12 09:53:11 +053031 select MULTI_IRQ_HANDLER
Pankaj Kumar75c86fd2011-10-01 18:51:09 +053032 select MSM_PROC_COMM_REGULATOR
Laura Abbott1fbd2e62011-12-18 10:26:46 -080033 select CLEANCACHE
34 select QCACHE
Matt Wagantall88b86312012-01-31 16:53:03 -080035 select MSM_PM2 if PM
Krishna Vankae2922052012-03-02 09:59:12 +053036 select MSM_RUN_QUEUE_STATS if MSM_SOC_REV_A
Taniya Dasd4c39f92012-05-14 17:41:49 +053037 select DONT_MAP_HOLE_AFTER_MEMBANK0
Daniel Walkerbf83de42010-03-16 16:29:44 -070038
Daniel Walker7b521612010-05-06 12:44:57 -070039config ARCH_MSM7X30
40 bool "MSM7x30"
41 select ARCH_MSM_SCORPION
Daniel Walker7b521612010-05-06 12:44:57 -070042 select MSM_VIC
43 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070044 select MSM_REMOTE_SPINLOCK_DEKKERS
45 select ARCH_SPARSEMEM_ENABLE
Laura Abbott78593b52011-09-26 18:48:14 -070046 select ARCH_HAS_HOLES_MEMORYMODEL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070047 select MEMORY_HOTPLUG
48 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -080049 select ARCH_ENABLE_MEMORY_HOTPLUG
50 select ARCH_ENABLE_MEMORY_HOTREMOVE
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070051 select MIGRATION
52 select ARCH_MEMORY_PROBE
53 select ARCH_MEMORY_REMOVE
Gregory Beanab78cde2010-09-01 16:26:12 -070054 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070055 select RESERVE_FIRST_PAGE
56 select MSM_DALRPC
57 select MSM_SPM_V1
58 select REGULATOR
Justin Paupore637a25d2011-07-14 17:11:04 -070059 select MSM_PROC_COMM_REGULATOR
Taniya Dasbae99fb2011-10-12 09:55:13 +053060 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -080061 select MSM_PM2 if PM
Daniel Walker7b521612010-05-06 12:44:57 -070062
Daniel Walker4ad15e62010-05-06 13:54:17 -070063config ARCH_QSD8X50
64 bool "QSD8X50"
65 select ARCH_MSM_SCORPION
Daniel Walker4ad15e62010-05-06 13:54:17 -070066 select MSM_VIC
67 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070068 select MSM_REMOTE_SPINLOCK_LDREX
69 select CPU_USE_DOMAINS
70 select EMULATE_DOMAIN_MANAGER_V7
Gregory Beanab78cde2010-09-01 16:26:12 -070071 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070072 select MSM_DALRPC
Matt Wagantall88b86312012-01-31 16:53:03 -080073 select MSM_PM2 if PM
Daniel Walker46fe5f22010-08-18 11:00:25 -070074
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070075config ARCH_MSM8X60
76 bool "MSM8X60"
Jeff Ohlsteine14411d2010-11-30 13:06:36 -080077 select ARCH_MSM_SCORPIONMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070078 select SMP_PARALLEL_START if SMP
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070079 select ARM_GIC
80 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070081 select MSM_REMOTE_SPINLOCK_LDREX
82 select ARCH_REQUIRE_GPIOLIB
83 select MSM_ADM3
84 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -080085 select MSM_RPM_REGULATOR
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070086 select MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070087 select MSM_PIL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070088 select ARCH_HAS_CPU_IDLE_WAIT
89 select MSM_DIRECT_SCLK_ACCESS
90 select MSM_RPM
91 select MSM_XO
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070092 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070093 select MSM_BUS_SCALING
94 select MSM_SECURE_IO
95 select MSM_DALRPC
96 select MSM_QDSP6_APR
97 select MSM_NATIVE_RESTART
98 select ARCH_INLINE_SPIN_TRYLOCK
99 select ARCH_INLINE_SPIN_TRYLOCK_BH
100 select ARCH_INLINE_SPIN_LOCK
101 select ARCH_INLINE_SPIN_LOCK_BH
102 select ARCH_INLINE_SPIN_LOCK_IRQ
103 select ARCH_INLINE_SPIN_LOCK_IRQSAVE
104 select ARCH_INLINE_SPIN_UNLOCK
105 select ARCH_INLINE_SPIN_UNLOCK_BH
106 select ARCH_INLINE_SPIN_UNLOCK_IRQ
107 select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
108 select ARCH_INLINE_READ_TRYLOCK
109 select ARCH_INLINE_READ_LOCK
110 select ARCH_INLINE_READ_LOCK_BH
111 select ARCH_INLINE_READ_LOCK_IRQ
112 select ARCH_INLINE_READ_LOCK_IRQSAVE
113 select ARCH_INLINE_READ_UNLOCK
114 select ARCH_INLINE_READ_UNLOCK_BH
115 select ARCH_INLINE_READ_UNLOCK_IRQ
116 select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
117 select ARCH_INLINE_WRITE_TRYLOCK
118 select ARCH_INLINE_WRITE_LOCK
119 select ARCH_INLINE_WRITE_LOCK_BH
120 select ARCH_INLINE_WRITE_LOCK_IRQ
121 select ARCH_INLINE_WRITE_LOCK_IRQSAVE
122 select ARCH_INLINE_WRITE_UNLOCK
123 select ARCH_INLINE_WRITE_UNLOCK_BH
124 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
125 select CPU_HAS_L2_PMU
126 select MSM_SPM_V1
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530127 select MSM_SCM if SMP
128 select MULTI_IRQ_HANDLER
Laura Abbott46505f62011-11-02 18:06:55 -0700129 select MSM_MULTIMEDIA_USE_ION
Matt Wagantall88b86312012-01-31 16:53:03 -0800130 select MSM_PM8X60 if PM
Krishna Vankae2922052012-03-02 09:59:12 +0530131 select MSM_RUN_QUEUE_STATS
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700132
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800133config ARCH_MSM8960
134 bool "MSM8960"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700135 select ARCH_MSM_KRAITMP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800136 select ARM_GIC
137 select CPU_V7
138 select MSM_V2_TLMM
139 select MSM_GPIOMUX
140 select MSM_SCM if SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700141 select MSM_DIRECT_SCLK_ACCESS
142 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -0800143 select MSM_RPM_REGULATOR
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700144 select MSM_RPM
145 select MSM_XO
146 select MSM_QDSP6_APR
147 select MSM_PIL
148 select MSM_AUDIO_QDSP6 if SND_SOC
149 select CPU_HAS_L2_PMU
150 select MSM_SPM_V2
151 select MSM_L2_SPM
152 select MSM_NATIVE_RESTART
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700153 select DONT_MAP_HOLE_AFTER_MEMBANK0
154 select MSM_REMOTE_SPINLOCK_SFPB
155 select ARCH_POPULATES_NODE_MAP
156 select ARCH_SPARSEMEM_ENABLE
157 select ARCH_HAS_HOLES_MEMORYMODEL
Larry Basselb8d61022012-02-24 10:49:45 -0800158 select ENABLE_DMM
159 select MEMORY_HOTPLUG if ENABLE_DMM
160 select MEMORY_HOTREMOVE if ENABLE_DMM
161 select ARCH_ENABLE_MEMORY_HOTPLUG if ENABLE_DMM
162 select ARCH_ENABLE_MEMORY_HOTREMOVE if ENABLE_DMM
163 select MIGRATION if ENABLE_DMM
164 select ARCH_MEMORY_PROBE if ENABLE_DMM
165 select ARCH_MEMORY_REMOVE if ENABLE_DMM
166 select FIX_MOVABLE_ZONE if ENABLE_DMM
Larry Basseld4d82c92011-12-07 09:52:49 -0800167 select CLEANCACHE
168 select QCACHE
Laura Abbott6d61a912011-10-27 16:44:14 -0700169 select MSM_MULTIMEDIA_USE_ION
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530170 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800171 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700172 select HOLES_IN_ZONE if SPARSEMEM
Krishna Vankae2922052012-03-02 09:59:12 +0530173 select MSM_RUN_QUEUE_STATS
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700174
175config ARCH_MSM8930
176 bool "MSM8930"
177 select ARCH_MSM_KRAITMP
178 select ARM_GIC
179 select CPU_V7
180 select MSM_V2_TLMM
181 select MSM_GPIOMUX
182 select MSM_SCM if SMP
183 select MSM_DIRECT_SCLK_ACCESS
184 select REGULATOR
David Collins5779cea2012-01-05 15:09:21 -0800185 select MSM_RPM_REGULATOR
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700186 select MSM_RPM
187 select MSM_XO
188 select MSM_QDSP6_APR
189 select MSM_PIL
190 select MSM_AUDIO_QDSP6 if SND_SOC
191 select CPU_HAS_L2_PMU
192 select MSM_SPM_V2
193 select MSM_L2_SPM
194 select MSM_NATIVE_RESTART
195 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600196 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700197 select ARCH_POPULATES_NODE_MAP
198 select ARCH_SPARSEMEM_ENABLE
199 select ARCH_HAS_HOLES_MEMORYMODEL
Larry Basselb8d61022012-02-24 10:49:45 -0800200 select ENABLE_DMM
201 select MEMORY_HOTPLUG if ENABLE_DMM
202 select MEMORY_HOTREMOVE if ENABLE_DMM
203 select ARCH_ENABLE_MEMORY_HOTPLUG if ENABLE_DMM
204 select ARCH_ENABLE_MEMORY_HOTREMOVE if ENABLE_DMM
205 select MIGRATION if ENABLE_DMM
206 select ARCH_MEMORY_PROBE if ENABLE_DMM
207 select ARCH_MEMORY_REMOVE if ENABLE_DMM
208 select FIX_MOVABLE_ZONE if ENABLE_DMM
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +0200209 select MSM_ULTRASOUND
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530210 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800211 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700212 select HOLES_IN_ZONE if SPARSEMEM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700213
214config ARCH_APQ8064
215 bool "APQ8064"
216 select ARCH_MSM_KRAITMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700217 select MSM_V2_TLMM
218 select ARM_GIC
219 select CPU_V7
220 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700221 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600222 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800223 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800224 select MSM_QDSP6_APR
225 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530226 select MULTI_IRQ_HANDLER
Praveen Chidambaram78499012011-11-01 17:15:17 -0600227 select MSM_RPM
228 select MSM_SPM_V2
229 select MSM_L2_SPM
Matt Wagantall88b86312012-01-31 16:53:03 -0800230 select MSM_PM8X60 if PM
Neil Leeder814d3d32012-01-19 17:21:43 -0500231 select CPU_HAS_L2_PMU
Laura Abbott085dd202012-03-30 14:02:34 -0700232 select HOLES_IN_ZONE if SPARSEMEM
Larry Bassel67b921d2012-04-06 10:23:27 -0700233 select ENABLE_DMM
234 select MEMORY_HOTPLUG if ENABLE_DMM
235 select MEMORY_HOTREMOVE if ENABLE_DMM
236 select ARCH_ENABLE_MEMORY_HOTPLUG if ENABLE_DMM
237 select ARCH_ENABLE_MEMORY_HOTREMOVE if ENABLE_DMM
238 select MIGRATION if ENABLE_DMM
239 select ARCH_MEMORY_PROBE if ENABLE_DMM
240 select ARCH_MEMORY_REMOVE if ENABLE_DMM
241 select FIX_MOVABLE_ZONE if ENABLE_DMM
242 select CLEANCACHE
243 select QCACHE
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -0600244 select MIGHT_HAVE_PCI
245 select ARCH_SUPPORTS_MSI
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700246
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700247config ARCH_MSMCOPPER
248 bool "MSM Copper"
249 select ARCH_MSM_KRAITMP
250 select MSM_V2_TLMM
251 select ARM_GIC
252 select CPU_V7
253 select MSM_SCM if SMP
254 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530255 select MULTI_IRQ_HANDLER
Olav Hauganb800c8c2012-01-30 08:50:45 -0800256 select MSM_MULTIMEDIA_USE_ION
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700257 select MSM_PIL
Praveen Chidambaramaa9d52b2012-04-02 11:09:47 -0600258 select MSM_SPM_V2
259 select MSM_L2_SPM
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600260 select MSM_PM8X60 if PM
Mahesh Sivasubramaniancb668712012-04-04 13:03:25 -0600261 select MSM_RPM_SMD
David Collinsc7642322012-04-04 10:19:12 -0700262 select REGULATOR
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
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600391config MSM_RPM_SMD
392 depends on MSM_SMD
393 bool "Support for using SMD as the transport layer for communicatons with RPM"
394
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700395config MSM_MPM
396 bool "Modem Power Manager"
397
398config MSM_XO
399 bool
400
401config MSM_REMOTE_SPINLOCK_DEKKERS
402 bool
403config MSM_REMOTE_SPINLOCK_SWP
404 bool
405config MSM_REMOTE_SPINLOCK_LDREX
406 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600407config MSM_REMOTE_SPINLOCK_SFPB
408 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700409config MSM_ADM3
410 bool
411
412menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700413
414config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700415 depends on ARCH_MSM7X01A
416 depends on MSM_STACKED_MEMORY
417 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700418 bool "Halibut Board (QCT SURF7201A)"
419 help
420 Support for the Qualcomm SURF7201A eval board.
421
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700422config MACH_MSM7201A_SURF
423 depends on ARCH_MSM7X01A
424 depends on MSM_STACKED_MEMORY
425 default y
426 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700427 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700428 Support for the Qualcomm MSM7201A SURF eval board.
429
430config MACH_MSM7201A_FFA
431 depends on ARCH_MSM7X01A
432 depends on MSM_STACKED_MEMORY
433 default y
434 bool "MSM7201A FFA"
435 help
436 Support for the Qualcomm MSM7201A FFA eval board.
437
438config MACH_TROUT
439 depends on ARCH_MSM7X01A
440 depends on MSM_STACKED_MEMORY
441 default y
442 bool "Trout"
443
444config MACH_MSM7X27_SURF
445 depends on ARCH_MSM7X27
446 depends on !MSM_STACKED_MEMORY
447 default y
448 bool "MSM7x27 SURF"
449 help
450 Support for the Qualcomm MSM7x27 SURF eval board.
451
452config MACH_MSM7X27_FFA
453 depends on ARCH_MSM7X27
454 depends on !MSM_STACKED_MEMORY
455 default y
456 bool "MSM7x27 FFA"
457 help
458 Support for the Qualcomm MSM7x27 FFA eval board.
459
460config MACH_MSM7X27A_RUMI3
461 depends on ARCH_MSM7X27A
462 depends on !MSM_STACKED_MEMORY
463 default y
464 bool "MSM7x27A RUMI3"
465 help
466 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
467
468config MACH_MSM7X27A_SURF
469 depends on ARCH_MSM7X27A
470 depends on !MSM_STACKED_MEMORY
471 default y
472 bool "MSM7x27A SURF"
473 help
474 Support for the Qualcomm MSM7x27A SURF.
475
476config MACH_MSM7X27A_FFA
477 depends on ARCH_MSM7X27A
478 depends on !MSM_STACKED_MEMORY
479 default y
480 bool "MSM7x27A FFA"
481 help
482 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700483
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530484config MACH_MSM7625A_SURF
485 depends on ARCH_MSM7X27A
486 depends on !MSM_STACKED_MEMORY
487 default y
488 bool "MSM7625A SURF"
489 help
490 Support for the Qualcomm MSM7625A SURF.
491
492config MACH_MSM7625A_FFA
493 depends on ARCH_MSM7X27A
494 depends on !MSM_STACKED_MEMORY
495 default y
496 bool "MSM7625A FFA"
497 help
498 Support for the Qualcomm MSM7625A FFA.
499
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530500config MACH_MSM7627A_QRD1
501 depends on ARCH_MSM7X27A
502 depends on !MSM_STACKED_MEMORY
503 default y
504 bool "MSM7627A QRD1"
505 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530506 Support for the Qualcomm MSM7627A Reference Design.
507
508config MACH_MSM7627A_QRD3
509 depends on ARCH_MSM7X27A
510 depends on !MSM_STACKED_MEMORY
511 default y
512 bool "MSM7627A QRD3"
513 help
514 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530515
Taniya Dasc868a2e2012-01-03 10:18:47 +0530516config MACH_MSM7627A_EVB
517 depends on ARCH_MSM7X27A
518 depends on !MSM_STACKED_MEMORY
519 default y
520 bool "MSM7627A EVB"
521 help
522 Support for the Qualcomm MSM7627A Reference Design.
523
Taniya Das43bcdd62011-12-02 17:33:27 +0530524config MACH_MSM8625_RUMI3
525 depends on ARCH_MSM8625
526 depends on !MSM_STACKED_MEMORY
527 default y
528 bool "MSM8625 RUMI3"
529 help
530 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
531
Taniya Dase3027e22012-02-27 16:32:27 +0530532config MACH_MSM8625_SURF
533 depends on ARCH_MSM8625
534 depends on !MSM_STACKED_MEMORY
535 default y
536 bool "MSM8625 SURF"
537 help
538 Support for the Qualcomm MSM8625 SURF.
539
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530540config MACH_MSM8625_FFA
541 depends on ARCH_MSM8625
542 depends on !MSM_STACKED_MEMORY
543 default y
544 bool "MSM8625 FFA"
545 help
546 Support for the Qualcomm MSM8625 FFA.
547
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530548config MACH_MSM8625_EVB
549 depends on ARCH_MSM8625
550 depends on !MSM_STACKED_MEMORY
551 default y
552 bool "MSM8625 EVB"
553 help
554 Support for the Qualcomm MSM8625 Reference Design.
555
Taniya Dasbd096542012-03-15 17:43:45 +0530556config MACH_MSM8625_QRD7
557 depends on ARCH_MSM8625
558 depends on !MSM_STACKED_MEMORY
559 default y
560 bool "MSM8625 QRD7"
561 help
562 Support for the Qualcomm MSM8625 Reference Design.
563
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530564config MACH_MSM8625_EVT
565 depends on ARCH_MSM8625
566 depends on !MSM_STACKED_MEMORY
567 default y
568 bool "MSM8625 EVT"
569 help
570 Support for the Qualcomm MSM8625 Reference Design.
571
Daniel Walker7b521612010-05-06 12:44:57 -0700572config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700573 depends on ARCH_MSM7X30
574 depends on !MSM_STACKED_MEMORY
575 default y
576 bool "MSM7x30 SURF"
577 help
578 Support for the Qualcomm MSM7x30 SURF eval board.
579
580config MACH_MSM7X30_FFA
581 depends on ARCH_MSM7X30
582 depends on !MSM_STACKED_MEMORY
583 default y
584 bool "MSM7x30 FFA"
585 help
586 Support for the Qualcomm MSM7x30 FFA eval board.
587
588config MACH_MSM7X30_FLUID
589 depends on ARCH_MSM7X30
590 depends on !MSM_STACKED_MEMORY
591 default y
592 bool "MSM7x30 FLUID"
593 help
594 Support for the Qualcomm MSM7x30 FLUID eval board.
595
596config MACH_SAPPHIRE
597 depends on ARCH_MSM7X01A
598 default n
599 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700600
Daniel Walker4ad15e62010-05-06 13:54:17 -0700601config MACH_QSD8X50_SURF
602 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700603 depends on MSM_SOC_REV_NONE
604 depends on MSM_STACKED_MEMORY
605 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700606 bool "QSD8x50 SURF"
607 help
608 Support for the Qualcomm QSD8x50 SURF eval board.
609
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700610config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700611 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700612 depends on MSM_SOC_REV_NONE
613 depends on MSM_STACKED_MEMORY
614 default y
615 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700616 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700617 Support for the Qualcomm QSD8x50 FFA eval board.
618
619config MACH_MSM7X25_SURF
620 depends on ARCH_MSM7X25
621 depends on !MSM_STACKED_MEMORY
622 default y
623 bool "MSM7x25 SURF"
624 help
625 Support for the Qualcomm MSM7x25 SURF eval board.
626
627config MACH_MSM7X25_FFA
628 depends on ARCH_MSM7X25
629 depends on !MSM_STACKED_MEMORY
630 default y
631 bool "MSM7x25 FFA"
632 help
633 Support for the Qualcomm MSM7x25 FFA eval board.
634
635config MACH_MSM8X55_SURF
636 depends on ARCH_MSM7X30
637 depends on !MSM_STACKED_MEMORY
638 default y
639 bool "MSM8X55 SURF"
640 help
641 Support for the Qualcomm MSM8x55 SURF eval board.
642
643config MACH_MSM8X55_FFA
644 depends on ARCH_MSM7X30
645 depends on !MSM_STACKED_MEMORY
646 default y
647 bool "MSM8X55 FFA"
648 help
649 Support for the Qualcomm MSM8x55 FFA eval board.
650
651config MACH_MSM8X55_SVLTE_FFA
652 depends on ARCH_MSM7X30
653 depends on !MSM_STACKED_MEMORY
654 default y
655 bool "MSM8X55 SVLTE FFA"
656 help
657 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
658
659config MACH_MSM8X55_SVLTE_SURF
660 depends on ARCH_MSM7X30
661 depends on !MSM_STACKED_MEMORY
662 default y
663 bool "MSM8X55 SVLTE SURF"
664 help
665 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700666
Steve Mucklea55df6e2010-01-07 12:43:24 -0800667config MACH_MSM8X60_RUMI3
668 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700669 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800670 bool "MSM8x60 RUMI3"
671 help
672 Support for the Qualcomm MSM8x60 RUMI3 emulator.
673
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800674config MACH_MSM8X60_SIM
675 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700676 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800677 bool "MSM8x60 Simulator"
678 help
679 Support for the Qualcomm MSM8x60 simulator.
680
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700681config MACH_MSM8X60_SURF
682 depends on ARCH_MSM8X60
683 default n
684 bool "MSM8x60 SURF"
685 help
686 Support for the Qualcomm MSM8x60 SURF eval board.
687
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700688config MACH_MSM8X60_FFA
689 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700690 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700691 bool "MSM8x60 FFA"
692 help
693 Support for the Qualcomm MSM8x60 FFA eval board.
694
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700695config MACH_MSM8X60_FLUID
696 depends on ARCH_MSM8X60
697 default n
698 bool "MSM8x60 FLUID"
699 help
700 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
701 8x60 target which has a form factor that is much closer to that
702 of a phone than other targets. It also has a new display and
703 touchscreen controller.
704
705config MACH_MSM8X60_FUSION
706 depends on ARCH_MSM8X60
707 default n
708 bool "MSM8x60 FUSION"
709 help
710 Support for the Qualcomm MSM8x60 Fusion SURF device.
711
712config MACH_MSM8X60_FUSN_FFA
713 depends on ARCH_MSM8X60
714 default n
715 bool "MSM8x60 FUSN FFA"
716 help
717 Support for the Qualcomm MSM8x60 Fusion FFA device.
718
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400719config MACH_MSM8X60_DRAGON
720 depends on ARCH_MSM8X60
721 default n
722 bool "MSM8x60 DRAGON"
723 help
724 Support for the Qualcomm MSM8x60 Dragon board.
725
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800726config MACH_MSM8960_SIM
727 depends on ARCH_MSM8960
728 bool "MSM8960 Simulator"
729 help
730 Support for the Qualcomm MSM8960 simulator.
731
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800732config MACH_MSM8960_RUMI3
733 depends on ARCH_MSM8960
734 bool "MSM8960 RUMI3"
735 help
736 Support for the Qualcomm MSM8960 RUMI3 emulator.
737
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700738config MACH_MSM8960_CDP
739 depends on ARCH_MSM8960
740 bool "MSM8960 CDP"
741 help
742 Support for the Qualcomm MSM8960 CDP device.
743
744config MACH_MSM8960_MTP
745 depends on ARCH_MSM8960
746 bool "MSM8960 MTP"
747 help
748 Support for the Qualcomm MSM8960 MTP device.
749
750config MACH_MSM8960_FLUID
751 depends on ARCH_MSM8960
752 bool "MSM8960 FLUID"
753 help
754 Support for the Qualcomm MSM8960 FLUID device.
755
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300756config MACH_MSM8960_LIQUID
757 depends on ARCH_MSM8960
758 bool "MSM8960 LIQUID"
759 help
760 Support for the Qualcomm MSM8960 LIQUID device.
761
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700762config MACH_MSM8930_CDP
763 depends on ARCH_MSM8930
764 bool "MSM8930 CDP"
765 help
766 Support for the Qualcomm MSM8930 CDP device.
767
768config MACH_MSM8930_MTP
769 depends on ARCH_MSM8930
770 bool "MSM8930 MTP"
771 help
772 Support for the Qualcomm MSM8930 MTP device.
773
774config MACH_MSM8930_FLUID
775 depends on ARCH_MSM8930
776 bool "MSM8930 FLUID"
777 help
778 Support for the Qualcomm MSM8930 FLUID device.
779
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800780config MACH_MSM8627_CDP
781 depends on ARCH_MSM8930
782 bool "MSM8627 CDP"
783 help
784 Support for the Qualcomm MSM8627 CDP device.
785
786config MACH_MSM8627_MTP
787 depends on ARCH_MSM8930
788 bool "MSM8627 MTP"
789 help
790 Support for the Qualcomm MSM8627 MTP device.
791
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700792config MACH_MSM9615_CDP
793 depends on ARCH_MSM9615
794 bool "MSM9615 CDP"
795 help
796 Support for the Qualcomm MSM9615 CDP device.
797
798config MACH_MSM9615_MTP
799 depends on ARCH_MSM9615
800 bool "MSM9615 MTP"
801 help
802 Support for the Qualcomm MSM9615 MTP device.
803
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700804config MSM_USE_TSIF1
805 depends on ARCH_MSM8X60
806 bool "MSM8x60 use TSIF1"
807 help
808 Selects TSIF1 core to be used rather than TSIF0.
809 The two TSIF cores share the same DM configuration
810 so they cannot be used simultaneously.
811
812config MACH_APQ8064_SIM
813 depends on ARCH_APQ8064
814 bool "APQ8064 Simulator"
815 help
816 Support for the Qualcomm APQ8064 simulator.
817
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700818config MACH_APQ8064_RUMI3
819 depends on ARCH_APQ8064
820 bool "APQ8064 RUMI3"
821 help
822 Support for the Qualcomm APQ8064 RUMI3 emulator.
823
Joel King82b7e3f2012-01-05 10:03:27 -0800824config MACH_APQ8064_CDP
825 depends on ARCH_APQ8064
826 bool "APQ8064 CDP"
827 help
828 Support for the Qualcomm APQ8064 CDP device.
829
830config MACH_APQ8064_MTP
831 depends on ARCH_APQ8064
832 bool "APQ8064 MTP"
833 help
834 Support for the Qualcomm APQ8064 MTP device.
835
836config MACH_APQ8064_LIQUID
837 depends on ARCH_APQ8064
838 bool "APQ8064 LIQUID"
839 help
840 Support for the Qualcomm APQ8064 LIQUID device.
841
Joel King064bbf82012-04-01 13:23:39 -0700842config MACH_MPQ8064_CDP
843 depends on ARCH_APQ8064
844 bool "MPQ8064 CDP"
845 help
846 Support for the Qualcomm MPQ8064 CDP device.
847
Joel King11ca8202012-02-13 16:19:03 -0800848config MACH_MPQ8064_HRD
849 depends on ARCH_APQ8064
850 bool "MPQ8064 HRD"
851 help
852 Support for the Qualcomm MPQ8064 HRD device.
853
854config MACH_MPQ8064_DTV
855 depends on ARCH_APQ8064
856 bool "MPQ8064 DTV"
857 help
858 Support for the Qualcomm MPQ8064 DTV device.
859
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700860config MACH_FSM9XXX_SURF
861 depends on ARCH_FSM9XXX
862 depends on !MSM_STACKED_MEMORY
863 default y
864 bool "FSM9XXX SURF"
865 help
866 Support for the Qualcomm FSM9xxx femtocell
867 chipset based SURF evaluation board and
868 FFA board.
869
Daniel Walker4ad15e62010-05-06 13:54:17 -0700870endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800871
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700872config MSM_STACKED_MEMORY
873 bool "Stacked Memory"
874 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800875 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700876 This option is used to indicate the presence of on-die stacked
877 memory. When present this memory bank is used for a high speed
878 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800879
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700880config PHYS_OFFSET
881 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700882 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700883 default "0x80200000" if ARCH_APQ8064
884 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700885 default "0x80200000" if ARCH_MSM8930
Sathish Ambley39a1dc42012-03-19 21:46:26 -0700886 default "0x20200000" if ARCH_MSMCOPPER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700887 default "0x10000000" if ARCH_FSM9XXX
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700888 default "0x20200000" if ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700889 default "0x00200000" if !MSM_STACKED_MEMORY
890 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
891 default "0x20000000" if ARCH_QSD8X50
892 default "0x40200000" if ARCH_MSM8X60
893 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800894
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700895config KERNEL_PMEM_EBI_REGION
896 bool "Enable in-kernel PMEM region for EBI"
897 default y if ARCH_MSM8X60
Olav Hauganb800c8c2012-01-30 08:50:45 -0800898 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSMCOPPER)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700899 help
900 Enable the in-kernel PMEM allocator to use EBI memory.
901
902config KERNEL_PMEM_SMI_REGION
903 bool "Enable in-kernel PMEM region for SMI"
904 default y if ARCH_MSM8X60
905 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
906 help
907 Enable the in-kernel PMEM allocator to use SMI memory.
908
909config PMEM_GPU0
910 bool "Enable PMEM GPU0 region"
911 default y
912 depends on ARCH_QSD8X50 && ANDROID_PMEM
913 help
914 Enable the PMEM GPU0 device on SMI Memory.
915
916config MSM_AMSS_VERSION
917 int
918 default 6210 if MSM_AMSS_VERSION_6210
919 default 6220 if MSM_AMSS_VERSION_6220
920 default 6225 if MSM_AMSS_VERSION_6225
921
922choice
923 prompt "AMSS modem firmware version"
924
925 default MSM_AMSS_VERSION_6225
926
927 config MSM_AMSS_VERSION_6210
928 bool "6.2.10"
929
930 config MSM_AMSS_VERSION_6220
931 bool "6.2.20"
932
933 config MSM_AMSS_VERSION_6225
934 bool "6.2.20 + New ADSP"
935endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800936
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700937config MSM_HAS_DEBUG_UART_HS
938 bool
939 help
940 Say Y here if high speed MSM UART is present.
941
942config MSM_HAS_DEBUG_UART_HS_V14
943 bool
944 select MSM_HAS_DEBUG_UART_HS
945 help
946 Say Y here if high speed MSM UART v1.4 is present.
947
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800948config DEBUG_MSM8930_UART
949 bool "Kernel low-level debugging messages via MSM 8930 UART"
950 depends on ARCH_MSM8930 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700951 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800952 help
953 Say Y here if you want the debug print routines to direct
954 their output to the serial port on MSM 8930 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100955
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530956config MSM_DEBUG_UART_PHYS
957 hex
958 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
959 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
960 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
961 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
962 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
963 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
964 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
965 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
966
Pavel Machek6339f662009-11-02 11:48:29 +0100967choice
968 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800969 depends on DEBUG_LL
Pavel Machek6339f662009-11-02 11:48:29 +0100970
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800971 config DEBUG_MSM_UART1
972 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530973 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800974 help
975 Say Y here if you want the debug print routines to direct
976 their output to the first serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100977
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800978 config DEBUG_MSM_UART2
979 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530980 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800981 help
982 Say Y here if you want the debug print routines to direct
983 their output to the second serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100984
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800985 config DEBUG_MSM_UART3
986 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530987 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800988 help
989 Say Y here if you want the debug print routines to direct
990 their output to the third serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100991
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800992 config DEBUG_MSM8660_UART
993 bool "Kernel low-level debugging messages via MSM 8660 UART"
994 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700995 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800996 help
997 Say Y here if you want the debug print routines to direct
998 their output to the serial port on MSM 8660 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100999
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001000 config DEBUG_MSM8960_UART
1001 bool "Kernel low-level debugging messages via MSM 8960 UART"
1002 depends on ARCH_MSM8960
1003 select DEBUG_MSM8930_UART
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001004 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001005 help
1006 Say Y here if you want the debug print routines to direct
1007 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001008
1009 config DEBUG_MSMCOPPER_UART
1010 bool "Kernel low-level debugging messages via MSM Copper UART"
1011 depends on ARCH_MSMCOPPER
1012 select MSM_HAS_DEBUG_UART_HS_V14
1013 help
1014 Say Y here if you want the debug print routines to direct
1015 their output to the serial port on MSM Copper devices.
Pavel Machek6339f662009-11-02 11:48:29 +01001016endchoice
1017
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001018choice
1019 prompt "Default Timer"
1020 default MSM7X00A_USE_GP_TIMER
1021
1022 config MSM7X00A_USE_GP_TIMER
1023 bool "GP Timer"
1024 help
1025 Low resolution timer that allows power collapse from idle.
1026
1027 config MSM7X00A_USE_DG_TIMER
1028 bool "DG Timer"
1029 help
1030 High resolution timer.
1031endchoice
1032
1033choice
1034 prompt "Suspend sleep mode"
1035 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1036 help
1037 Allows overriding the sleep mode used. Leave at power
1038 collapse suspend unless the arm9 image has problems.
1039
1040 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1041 bool "Power collapse suspend"
1042 help
1043 Lowest sleep state. Returns through reset vector.
1044
1045 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1046 bool "Power collapse"
1047 help
1048 Sleep state that returns through reset vector.
1049
1050 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1051 bool "Apps Sleep"
1052
1053 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1054 bool "Ramp down cpu clock and wait for interrupt"
1055
1056 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1057 bool "Wait for interrupt"
1058endchoice
1059
1060config MSM7X00A_SLEEP_MODE
1061 int
1062 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1063 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1064 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1065 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1066 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1067
1068choice
1069 prompt "Idle sleep mode"
1070 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1071 help
1072 Allows overriding the sleep mode used from idle. Leave at power
1073 collapse suspend unless the arm9 image has problems.
1074
1075 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1076 bool "Power collapse suspend"
1077 help
1078 Lowest sleep state. Returns through reset vector.
1079
1080 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1081 bool "Power collapse"
1082 help
1083 Sleep state that returns through reset vector.
1084
1085 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1086 bool "Apps Sleep"
1087
1088 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1089 bool "Ramp down cpu clock and wait for interrupt"
1090
1091 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1092 bool "Wait for interrupt"
1093endchoice
1094
1095config MSM7X00A_IDLE_SLEEP_MODE
1096 int
1097 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1098 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1099 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1100 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1101 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1102
1103config MSM7X00A_IDLE_SLEEP_MIN_TIME
1104 int "Minimum idle time before sleep"
1105 default 20000000
1106 help
1107 Minimum idle time in nanoseconds before entering low power mode.
1108
1109config MSM7X00A_IDLE_SPIN_TIME
1110 int "Idle spin time before cpu ramp down"
1111 default 80000
1112 help
1113 Spin time in nanoseconds before ramping down cpu clock and entering
1114 any low power state.
1115
1116menuconfig MSM_IDLE_STATS
1117 bool "Collect idle statistics"
1118 default y
1119 help
1120 Collect idle statistics and export them in proc/msm_pm_stats.
1121
1122if MSM_IDLE_STATS
1123
1124config MSM_IDLE_STATS_FIRST_BUCKET
1125 int "First bucket time"
1126 default 62500
1127 help
1128 Upper time limit in nanoseconds of first bucket.
1129
1130config MSM_IDLE_STATS_BUCKET_SHIFT
1131 int "Bucket shift"
1132 default 2
1133
1134config MSM_IDLE_STATS_BUCKET_COUNT
1135 int "Bucket count"
1136 default 10
1137
1138config MSM_SUSPEND_STATS_FIRST_BUCKET
1139 int "First bucket time for suspend"
1140 default 1000000000
1141 help
1142 Upper time limit in nanoseconds of first bucket of the
1143 histogram. This is for collecting statistics on suspend.
1144
1145endif # MSM_IDLE_STATS
1146
1147config CPU_HAS_L2_PMU
1148 bool "L2CC PMU Support"
1149 help
1150 Select this if the L2 cache controller has a Performance Monitoring Unit.
1151
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001152config HTC_HEADSET
1153 tristate "HTC 2 Wire detection driver"
1154 default n
1155 help
1156 Provides support for detecting HTC 2 wire devices, such as wired
1157 headset, on the trout platform. Can be used with the msm serial
1158 debugger, but not with serial console.
1159
1160config TROUT_BATTCHG
1161 depends on MACH_TROUT && POWER_SUPPLY
1162 default y
1163 bool "Trout battery / charger driver"
1164
1165config HTC_PWRSINK
1166 depends on MSM_SMD
1167 default n
1168 bool "HTC Power Sink Driver"
1169
1170config QSD_SVS
1171 bool "QSD Static Voltage Scaling"
1172 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1173 default y
1174 select TPS65023
1175 help
1176 Enables static voltage scaling using the TPS65023 PMIC.
1177
1178config QSD_PMIC_DEFAULT_DCDC1
1179 int "PMIC default output voltage"
1180 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1181 default 1250
1182 help
1183 This is the PMIC voltage at Linux kernel boot.
1184
1185config MSM_FIQ_SUPPORT
1186 default y
1187 bool "Enable installation of an FIQ handler."
1188
1189config MSM_SERIAL_DEBUGGER
1190 select MSM_FIQ_SUPPORT
1191 select KERNEL_DEBUGGER_CORE
1192 default n
1193 bool "FIQ Mode Serial Debugger"
1194 help
1195 The FIQ serial debugger can accept commands even when the
1196 kernel is unresponsive due to being stuck with interrupts
1197 disabled. Depends on the kernel debugger core in drivers/misc.
1198
1199config MSM_SERIAL_DEBUGGER_CONSOLE
1200 depends on MSM_SERIAL_DEBUGGER
1201 default n
1202 bool "Console on FIQ Serial Debugger port"
1203 help
1204 Enables a console so that printk messages are displayed on
1205 the debugger serial port as the occur.
Daniel Walkerbf83de42010-03-16 16:29:44 -07001206
Steve Mucklec8aabae2010-04-21 16:20:27 -07001207config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001208 default y
1209 bool "Proc-Comm RPC Interface"
1210 help
1211 Enables a lightweight communications interface to the
1212 baseband processor.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001213
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001214config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001215 bool "MSM Shared Memory Driver (SMD)"
1216 help
1217 Support for the shared memory interface between the apps
1218 processor and the baseband processor. Provides access to
1219 the "shared heap", as well as virtual serial channels
1220 used to communicate with various services on the baseband
1221 processor.
1222
1223choice
1224 prompt "MSM Shared memory interface version"
1225 depends on MSM_SMD
1226 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1227 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1228
1229 config MSM_SMD_PKG3
1230 bool
1231 prompt "Package 3"
1232
1233 config MSM_SMD_PKG4
1234 bool
1235 prompt "Package 4"
1236endchoice
1237
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001238config MSM_PCIE
1239 bool "MSM PCIe Controller driver"
1240 depends on PCI && PCI_MSI
1241 help
1242 Enables the PCIe functionality by configures PCIe core on
1243 MSM chipset and by enabling the ARM PCI framework extension.
1244
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001245config MSM_RPC_SDIO_XPRT
1246 depends on MSM_SDIO_AL
1247 default y
1248 bool "MSM SDIO XPRT Layer"
1249 help
1250 SDIO Transport Layer for RPC Rouer
1251
1252config MSM_RPC_SDIO_DEBUG
1253 depends on MSM_RPC_SDIO_XPRT
1254 default y
1255 bool "MSM SDIO XPRT debug support"
1256 help
1257 Support for debugging SDIO XPRT
1258
1259config MSM_SMD_DEBUG
1260 depends on MSM_SMD
1261 default y
1262 bool "MSM SMD debug support"
1263 help
1264 Support for debugging the SMD for communication
1265 between the ARM9 and ARM11
1266
1267config MSM_SDIO_AL
1268 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1269 default y
1270 tristate "SDIO-Abstraction-Layer"
1271 help
1272 Support MSM<->MDM Communication over SDIO bus.
1273 MDM SDIO-Client should have pipes support.
1274
1275config MSM_SDIO_DMUX
1276 bool "SDIO Data Mux Driver"
1277 depends on MSM_SDIO_AL
1278 default n
1279 help
1280 Support Muxed Data Channels over SDIO interface.
1281
1282config MSM_BAM_DMUX
1283 bool "BAM Data Mux Driver"
1284 depends on SPS
1285 default n
1286 help
1287 Support Muxed Data Channels over BAM interface.
1288 BAM has a limited number of pipes. This driver
1289 provides a means to support more logical channels
1290 via muxing than BAM could without muxing.
1291
1292config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001293 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001294 default y
1295 bool "MSM N-WAY SMD support"
1296 help
1297 Supports APPS-QDSP SMD communication along with
1298 normal APPS-MODEM SMD communication.
1299
1300config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001301 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001302 default y
1303 bool "MSM N-WAY SMSM support"
1304 help
1305 Supports APPS-QDSP SMSM communication along with
1306 normal APPS-MODEM SMSM communication.
1307
1308config MSM_RESET_MODEM
1309 tristate "Reset Modem Driver"
1310 depends on MSM_SMD
1311 default m
1312 help
1313 Allows the user to reset the modem through a device node.
1314
1315config MSM_SMD_LOGGING
1316 depends on MSM_SMD
1317 default y
1318 bool "MSM Shared Memory Logger"
1319 help
1320 This option exposes the shared memory logger at /dev/smem_log
1321 and a debugfs node named smem_log.
1322
1323 If in doubt, say yes.
1324
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001325config MSM_IPC_LOGGING
1326 bool "MSM Debug Logging for IPC Drivers"
1327 help
1328 This option allows the debug logging for IPC Drivers.
1329
1330 If in doubt, say no.
1331
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001332config MSM_SMD_NMEA
1333 bool "NMEA GPS Driver"
1334 depends on MSM_SMD
1335 default y
1336 help
1337 Enable this to support the NMEA GPS device.
1338
1339 If in doubt, say yes.
1340
1341config MSM_SDIO_TTY
1342 bool "SDIO TTY Driver"
1343 depends on MSM_SDIO_AL
1344 default n
1345 help
1346 Provides a TTY driver SDIO TTY
1347 This driver can be used by user space
1348 applications for passing data through the
1349 SDIO interface.
1350
1351config MSM_SMD_TTY
1352 bool "SMD TTY Driver"
1353 depends on MSM_SMD
1354 default y
1355 help
1356 Provides TTY interfaces to interact with the modem.
1357
1358 If in doubt, say yes.
1359
1360config MSM_SMD_QMI
1361 bool "SMD QMI Driver"
1362 depends on MSM_SMD
1363 default y
1364 help
1365 Manages network data connections.
1366
1367 If in doubt, say yes.
1368
1369config MSM_SMD_PKT
1370 bool "SMD Packet Driver"
1371 depends on MSM_SMD
1372 default y
1373 help
1374 Provides a binary SMD non-muxed packet port interface.
1375
1376 If in doubt, say yes.
1377
1378config MSM_SDIO_CMUX
1379 bool "SDIO CMUX Driver"
1380 depends on MSM_SDIO_AL
1381 default n
1382 help
1383 Provides a Muxed port interface over SDIO QMI
1384
1385config MSM_DSPS
1386 bool "Sensors DSPS driver"
1387 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1388 default n
1389 help
1390 Provides user-space interface to the sensors manager
1391 to turn on/off the Sensors Processor system clocks.
1392 It is the DSPS responsibility to turn on/off the sensors
1393 themself.
1394 The number of clocks and their name may vary between targets.
1395 It also triggers the PIL to load the DSPS firmware.
1396
1397config MSM_SDIO_CTL
1398 bool "SDIO CTL Driver"
1399 depends on MSM_SDIO_CMUX
1400 default n
1401 help
1402 Provides a binary SDIO control port interface.
1403
1404config MSM_ONCRPCROUTER
1405 depends on MSM_SMD
1406 default n
1407 bool "MSM ONCRPC router support"
1408 help
1409 Support for the MSM ONCRPC router for communication between
1410 the ARM9 and ARM11
1411
1412config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001413 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001414 default n
1415 bool "MSM IPC Router support"
1416 help
1417 Support for the MSM IPC Router for communication between
1418 the APPs and the MODEM
1419
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001420config MSM_IPC_ROUTER_SMD_XPRT
1421 depends on MSM_SMD
1422 depends on MSM_IPC_ROUTER
1423 default n
1424 bool "MSM SMD XPRT Layer"
1425 help
1426 SMD Transport Layer for IPC Router
1427
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001428config MSM_ONCRPCROUTER_DEBUG
1429 depends on MSM_ONCRPCROUTER
1430 default y
1431 bool "MSM debug ONCRPC router support"
1432 help
1433 Support for debugging the ONCRPC router for communication
1434 between the ARM9 and ARM11
1435
1436config MSM_RPC_LOOPBACK_XPRT
1437 depends on MSM_ONCRPCROUTER
1438 default n
1439 bool "MSM RPC local routing support"
1440 help
1441 Support for routing RPC messages between APPS clients
1442 and APPS servers. Helps in testing APPS RPC framework.
1443
1444config MSM_RPCSERVER_TIME_REMOTE
1445 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1446 default y
1447 bool "Time remote RPC server"
1448 help
1449 The time remote server receives notification of time bases and
1450 reports these events to registered callback functions.
1451
1452config MSM_RPCSERVER_WATCHDOG
1453 depends on MSM_ONCRPCROUTER
1454 default y
1455 bool "Watchdog RPC server"
1456 help
1457 The dog_keepalive server handles watchdog events.
1458
1459config MSM_RPC_WATCHDOG
1460 depends on MSM_ONCRPCROUTER
1461 default n
1462 bool "Watchdog RPC client"
1463 help
1464 The dog_keepalive client module.
1465
1466config MSM_RPC_PING
1467 depends on MSM_ONCRPCROUTER && DEBUG_FS
1468 default m
1469 bool "MSM rpc ping"
1470 help
1471 Implements MSM rpc ping test module.
1472
1473config MSM_RPC_PROC_COMM_TEST
1474 depends on DEBUG_FS && MSM_PROC_COMM
1475 default m
1476 bool "MSM rpc proc comm test"
1477 help
1478 Implements MSM rpc proc comm test module.
1479
1480config MSM_RPC_OEM_RAPI
1481 depends on MSM_ONCRPCROUTER
1482 default m
1483 bool "MSM oem rapi"
1484 help
1485 Implements MSM oem rapi client module.
1486
1487config MSM_RPCSERVER_HANDSET
1488 depends on MSM_ONCRPCROUTER
1489 default y
1490 bool "Handset events RPC server"
1491 help
1492 Support for receiving handset events like headset detect,
1493 headset switch and clamshell state.
1494
1495config MSM_RMT_STORAGE_CLIENT
1496 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1497 default n
1498 bool "Remote Storage RPC client"
1499 help
1500 Provide RPC mechanism for remote processors to access storage
1501 device on apps processor.
1502
1503config MSM_RMT_STORAGE_CLIENT_STATS
1504 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1505 default n
1506 bool "Remote storage RPC client performance statistics"
1507 help
1508 Collects performance statistics and shows this information
1509 through a debugfs file rmt_storage_stats.
1510
1511config MSM_SDIO_SMEM
1512 depends on MSM_SDIO_AL
1513 default n
1514 bool "SDIO SMEM for remote storage"
1515 help
1516 Copies data from remote MDM9K memory to local MSM8x60
1517 memory. Used by remote storage client to shadow
1518 MDM9K filesystem.
1519
1520config MSM_DALRPC
1521 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001522 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001523 help
1524 Supports RPC calls to DAL devices on remote processor cores.
1525
1526config MSM_DALRPC_TEST
1527 tristate "DAL RPC test module"
1528 depends on (MSM_DALRPC && DEBUG_FS)
1529 default m
1530 help
1531 Exercises DAL RPC calls to QDSP6.
1532
1533if CPU_FREQ_MSM
1534
1535config MSM_CPU_FREQ_SET_MIN_MAX
1536 bool "Set Min/Max CPU frequencies."
1537 default n
1538 help
1539 Allow setting min and max CPU frequencies. Sysfs can be used
1540 to override these values.
1541
1542config MSM_CPU_FREQ_MAX
1543 int "Max CPU Frequency"
1544 depends on MSM_CPU_FREQ_SET_MIN_MAX
1545 default 384000
1546
1547config MSM_CPU_FREQ_MIN
1548 int "Min CPU Frequency"
1549 depends on MSM_CPU_FREQ_SET_MIN_MAX
1550 default 245760
1551
1552endif # CPU_FREQ_MSM
1553
1554config MSM_CPU_AVS
1555 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1556 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1557 depends on ARCH_QSD8X50
1558 default n
1559 select MSM_AVS_HW
1560 help
1561 This enables the s/w control of Adaptive Voltage Scaling feature
1562 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1563 based on feedback from three ring oscillators in the CPU.
1564
1565config MSM_AVS_HW
1566 bool "Enable Adaptive Voltage Scaling (AVS)"
1567 default n
1568 help
1569 Enable AVS hardware to fine tune voltage at each frequency. The
1570 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1571 fine tune the voltages based on the feedback from the ring
1572 oscillators.
1573
1574config MSM_HW3D
1575 tristate "MSM Hardware 3D Register Driver"
1576 depends on ANDROID_PMEM
1577 default y
1578 help
1579 Provides access to registers needed by the userspace OpenGL|ES
1580 library.
1581
1582config MSM_ADSP
1583 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1584 tristate "MSM ADSP driver"
1585 depends on ANDROID_PMEM
1586 default y
1587 help
1588 Provides access to registers needed by the userspace aDSP library.
1589
1590config ADSP_RPC_VER
1591 hex
1592 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1593 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1594 depends on MSM_ADSP
1595 help
1596 Select proper ADSP RPC version
1597choice
1598 prompt "ADSP RPC version"
1599
1600 default AMSS_7X25_VERSION_2009
1601
1602 config AMSS_7X25_VERSION_2009
1603 bool "2.0.09"
1604
1605 config AMSS_7X25_VERSION_2008
1606 bool "2.0.08"
1607endchoice
1608
1609config MSM7KV2_AUDIO
1610 bool "MSM7K v2 audio"
1611 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1612 default y
1613 help
1614 Enables QDSP5V2-based audio drivers for audio playbacks and
1615 voice call.
1616
1617config MSM_ADSP_REPORT_EVENTS
1618 bool "Report modem events from the DSP"
1619 default y
1620 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1621 help
1622 Normally, only messages from the aDSP are reported to userspace.
1623 With this option, we report events from the aDSP as well.
1624
1625config MSM_QDSP6
1626 tristate "QDSP6 support"
1627 depends on ARCH_QSD8X50 && ANDROID_PMEM
1628 default y
1629 help
1630 Enable support for qdsp6. This provides audio and video functionality.
1631
1632config MSM8X60_AUDIO
1633 tristate "MSM8X60 audio support"
1634 depends on ARCH_MSM8X60 && ANDROID_PMEM
1635 default y
1636 help
1637 Enable support for qdsp6v2. This provides audio functionality.
1638
1639config MSM8X60_FTM_AUDIO_DEVICES
1640 bool "MSM8X60 audio factory test mode support"
1641 depends on MSM8X60_AUDIO
1642 help
1643 Enable support audio factory test mode devices. This is used
1644 in a production line environment.
1645
Ben Romberger45b351c2011-07-20 22:37:27 -07001646config RTAC
1647 bool "MSM8K real-time audio calibration support"
1648 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001649 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001650 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001651 audio operation
1652
1653config MSM7X27A_AUDIO
1654 bool "MSM7X27A audio support"
1655 depends on ARCH_MSM7X27A && MSM_ADSP
1656 default n
1657 help
1658 Enable support for 7x27a. This provides audio functionality.
1659
Justin Pauporea6cd2092011-06-22 16:19:45 -07001660config MSM_PROC_COMM_REGULATOR
1661 bool
1662 depends on MSM_PROC_COMM && REGULATOR
1663 help
1664 Enable regulator framework support for regulators managed by PMLIB
1665 on the modem, and controlled through proccomm calls.
1666
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001667config MSM_VREG_SWITCH_INVERTED
1668 bool "Reverse vreg switch polarity"
1669 default n
1670 help
1671 Reverses the enable and disable for vreg switch.
1672
1673config MSM_DMA_TEST
1674 tristate "MSM DMA test module"
1675 default m
1676 help
1677 Intended to be compiled as a module. Provides a device node
1678 and ioctls for testing the MSM dma system.
1679
1680config WIFI_CONTROL_FUNC
1681 bool "Enable WiFi control function abstraction"
1682 help
1683 Enables Power/Reset/Carddetect function abstraction
1684
1685config WIFI_MEM_PREALLOC
1686 depends on WIFI_CONTROL_FUNC
1687 bool "Preallocate memory for WiFi buffers"
1688 help
1689 Preallocates memory buffers for WiFi driver
1690
1691config QSD_AUDIO
1692 bool "QSD audio"
1693 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1694 default y
1695 help
1696 Provides PCM, MP3, and AAC audio playback.
1697
1698config AUDIO_AAC_PLUS
1699 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1700 bool "AAC+ Audio"
1701 default y
1702 help
1703 Provides AAC+ decoding
1704
1705config AUDIO_ENHANCED_AAC_PLUS
1706 depends on AUDIO_AAC_PLUS
1707 bool "Enhanced AAC+ Audio"
1708 default y
1709 help
1710 Provides Enhanced AAC+ decoding
1711
1712config SURF_FFA_GPIO_KEYPAD
1713 bool "MSM SURF/FFA GPIO keypad"
1714 depends on INPUT_GPIO = "y"
1715 default y
1716 help
1717 Select if the GPIO keypad is attached.
1718
1719config MSM_SLEEP_TIME_OVERRIDE
1720 bool "Allow overriding suspend/sleep time with PM module parameter"
1721 default y
1722 help
1723 Enable the module parameter sleep_time_override. Specified
1724 in units of seconds, it overwrites the normal sleep time of
1725 suspend. The feature is required for automated power management
1726 testing.
1727
1728config MSM_MEMORY_LOW_POWER_MODE
1729 bool "Control the low power modes of memory"
1730 default n
1731 help
1732 The application processor controls whether memory should enter
1733 which low power mode.
1734
1735choice
1736 prompt "Default Memory Low Power Mode during Idle"
1737 depends on MSM_MEMORY_LOW_POWER_MODE
1738 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1739 help
1740 Selects the default low power mode of the memory during idle
1741 sleep.
1742
1743 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1744 bool "Memory active"
1745
1746 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1747 bool "Memory in retention"
1748
1749 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1750 bool "Memory in deep power down"
1751endchoice
1752
1753choice
1754 prompt "Default Memory Low Power Mode during Suspend"
1755 depends on MSM_MEMORY_LOW_POWER_MODE
1756 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1757 help
1758 Selects the default low power mode of the memory during suspend
1759 sleep.
1760
1761 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1762 bool "Memory active"
1763
1764 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1765 bool "Memory in retention"
1766
1767 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1768 bool "Memory in deep power down"
1769endchoice
1770
1771choice
1772 prompt "Power management timeout action"
1773 default MSM_PM_TIMEOUT_HALT
1774 help
1775 Selects the Application Processor's action when Power Management
1776 times out waiting for Modem's handshake.
1777
1778 config MSM_PM_TIMEOUT_HALT
1779 bool "Halt the Application Processor"
1780
1781 config MSM_PM_TIMEOUT_RESET_MODEM
1782 bool "Reset the Modem Processor"
1783
1784 config MSM_PM_TIMEOUT_RESET_CHIP
1785 bool "Reset the entire chip"
1786endchoice
1787
1788config MSM_IDLE_WAIT_ON_MODEM
1789 int "Wait for Modem to become ready for idle power collapse"
1790 default 0
1791 help
1792 If Modem is not ready to handle Application Processor's request
1793 for idle power collapse, wait the number of microseconds in case
1794 Modem becomes ready soon.
1795
Matt Wagantall9274df92011-12-15 11:11:05 -08001796config MSM_RPM_REGULATOR
1797 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001798 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001799 help
1800 Compile in support for the RPM regulator driver, used for setting
1801 voltages and other parameters of the various power rails supplied
1802 by some Qualcomm PMICs.
1803
David Collinsc7642322012-04-04 10:19:12 -07001804config MSM_RPM_REGULATOR_SMD
1805 bool "SMD RPM regulator driver"
1806 depends on REGULATOR
1807 depends on OF
1808 depends on MSM_RPM_SMD
1809 help
1810 Compile in support for the SMD RPM regulator driver which is used for
1811 setting voltages and other parameters of the various power rails
1812 supplied by some Qualcomm PMICs. The SMD RPM regulator driver should
1813 be used on systems which contain an RPM which communicates with the
1814 application processor over SMD.
1815
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001816config MSM_PIL
1817 bool "Peripheral image loading"
1818 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001819 default n
1820 help
1821 Some peripherals need to be loaded into memory before they can be
1822 brought out of reset.
1823
1824 Say yes to support these devices.
1825
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001826config MSM_PIL_MODEM
1827 tristate "Modem (ARM11) Boot Support"
1828 depends on MSM_PIL
1829 help
1830 Support for booting and shutting down ARM11 Modem processors.
1831
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001832config MSM_PIL_QDSP6V3
1833 tristate "QDSP6v3 (Hexagon) Boot Support"
1834 depends on MSM_PIL
1835 help
1836 Support for booting and shutting down QDSP6v3 processors (hexagon).
1837 The QDSP6 is a low power DSP used in audio software applications.
1838
Stephen Boydeb819882011-08-29 14:46:30 -07001839config MSM_PIL_QDSP6V4
1840 tristate "QDSP6v4 (Hexagon) Boot Support"
1841 depends on MSM_PIL
1842 help
1843 Support for booting and shutting down QDSP6v4 processors (hexagon).
1844 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1845 software applications.
1846
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001847config MSM_PIL_LPASS_QDSP6V5
1848 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
1849 depends on MSM_PIL
1850 help
1851 Support for booting and shutting down QDSP6v5 processors (Hexagon)
1852 processors in low power audio subsystems.
1853
Stephen Boyd322a9922011-09-20 01:05:54 -07001854config MSM_PIL_RIVA
1855 tristate "RIVA (WCNSS) Boot Support"
1856 depends on MSM_PIL
1857 help
1858 Support for booting and shutting down the RIVA processor (WCNSS).
1859 Riva is the wireless subsystem processor used in bluetooth, wireless
1860 LAN, and FM software applications.
1861
Stephen Boydd89eebe2011-09-28 23:28:11 -07001862config MSM_PIL_TZAPPS
1863 tristate "TZApps Boot Support"
1864 depends on MSM_PIL
1865 help
1866 Support for booting and shutting down TZApps.
1867
1868 TZApps is an image that runs in the secure processor state. It is
1869 used to decrypt data and perform secure operations on the behalf of
1870 the kernel.
1871
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07001872config MSM_PIL_DSPS
1873 tristate "DSPS Boot Support"
1874 depends on MSM_PIL
1875 help
1876 Support for booting and shutting down ARM7 DSPS processors.
1877
1878 DSPS is a sensors offloading processor used for applications such
1879 as rotation detection, temperature, etc.
1880
Stephen Boyd7b973de2012-03-09 12:26:16 -08001881config MSM_PIL_VIDC
1882 tristate "Video Core Secure Boot Support"
1883 depends on MSM_PIL
1884 help
1885 Support for authenticating the video core image.
1886
Matt Wagantall292aace2012-01-26 19:12:34 -08001887config MSM_PIL_GSS
1888 tristate "GSS (Coretx A5) Boot Support"
1889 depends on MSM_PIL
1890 help
1891 Support for booting and shutting down Cortex A5 processors which run
1892 GPS subsystem firmware.
1893
Tianyi Gouc1e049f82011-11-23 14:20:16 -08001894config MSM_PIL_PRONTO
1895 tristate "PRONTO (WCNSS) Boot Support"
1896 depends on MSM_PIL
1897 help
1898 Support for booting and shutting down the PRONTO processor (WCNSS).
1899 PRONTO is the wireless subsystem processor used in bluetooth, wireless
1900 LAN, and FM software applications.
1901
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001902config MSM_SCM
1903 bool "Secure Channel Manager (SCM) support"
1904 default n
1905
1906config MSM_SUBSYSTEM_RESTART
1907 bool "MSM Subsystem Restart Driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001908 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001909 default n
1910 help
1911 This option enables the MSM subsystem restart driver, which provides
1912 a framework to handle subsystem crashes.
1913
Matt Wagantallf8020902011-08-30 21:19:23 -07001914config MSM_SYSMON_COMM
1915 bool "MSM System Monitor communication support"
1916 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1917 default y
1918 help
1919 This option adds support for MSM System Monitor library, which
1920 provides an API that may be used for notifying subsystems within
1921 the SoC about other subsystems' power-up/down state-changes.
1922
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001923config MSM_MODEM_8960
1924 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001925 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001926 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001927 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001928 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001929 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001930
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001931config MSM_LPASS_8960
1932 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001933 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001934 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001935 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001936 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001937 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001938
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001939config MSM_WCNSS_SSR_8960
1940 tristate "MSM 8960 WCNSS restart module"
1941 depends on (ARCH_MSM8960)
1942 help
1943 This option enables the WCNSS restart module for MSM8960, which
1944 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1945 into the subsystem restart framework.
1946
Rohit Vaswanid0fb4182012-03-19 18:07:59 -07001947config MSM_GSS_SSR_8064
1948 bool "MSM 8064 GSS restart driver"
1949 depends on (ARCH_APQ8064)
1950 help
1951 This option enables the gps subsystem restart driver for APQ8064, which monitors
1952 gss hardware watchdog interrupt lines and plugs into the subsystem
1953 restart and PIL drivers.
1954
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001955config SCORPION_Uni_45nm_BUG
1956 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1957 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1958 default y
1959 help
1960 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1961 invalidating the Branch Predictor Array by Modified Virtual Address can
1962 create invalid entries in the TLB with the wrong ASID values on Scorpion
1963 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1964 workaround for Scorpion Uniprocessor 45nm cores.
1965
1966 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1967
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001968config MSM_BUSPM_DEV
1969 tristate "MSM Bus Performance Monitor Kernel Module"
1970 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1971 default m
1972 help
1973 This kernel module is used to mmap() hardware registers for the
1974 performance monitors, counters, etc. The module can also be used to
1975 allocate physical memory which is used by bus performance hardware to
1976 dump performance data.
1977
Mona Hossain11c03ac2011-10-26 12:42:10 -07001978config MSM_TZ_LOG
1979 tristate "MSM Trust Zone (TZ) Log Driver"
1980 depends on DEBUG_FS
1981 help
1982 This option enables a driver with a debugfs interface for messages
1983 produced by the Secure code (Trust zone). These messages provide
1984 diagnostic information about TZ operation.
1985
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001986config MSM_RPM_LOG
1987 tristate "MSM Resource Power Manager Log Driver"
1988 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001989 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001990 default n
1991 help
1992 This option enables a driver which can read from a circular buffer
1993 of messages produced by the RPM. These messages provide diagnostic
1994 information about RPM operation. The driver outputs the messages
1995 via a debugfs node.
1996
1997config MSM_RPM_STATS_LOG
1998 tristate "MSM Resource Power Manager Stat Driver"
1999 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002000 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002001 default n
2002 help
2003 This option enables a driver which reads RPM messages from a shared
2004 memory location. These messages provide statistical information about
2005 the low power modes that RPM enters. The drivers outputs the message
2006 via a debugfs node.
2007
2008config MSM_IOMMU
2009 bool "MSM IOMMU Support"
Joel King41d594e2011-10-14 13:18:20 -07002010 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_APQ8064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002011 select IOMMU_API
2012 default n
2013 help
2014 Support for the IOMMUs found on certain Qualcomm SOCs.
2015 These IOMMUs allow virtualization of the address space used by most
2016 cores within the multimedia subsystem.
2017
2018 If unsure, say N here.
2019
2020config IOMMU_PGTABLES_L2
2021 bool "Allow SMMU page tables in the L2 cache (Experimental)"
2022 depends on MSM_IOMMU=y
2023 depends on MMU
2024 depends on CPU_DCACHE_DISABLE=n
2025 depends on SMP
2026 default y
2027 help
2028 Improves TLB miss latency at the expense of potential L2 pollution.
2029 However, with large multimedia buffers, the TLB should mostly contain
2030 section mappings and TLB misses should be quite infrequent.
2031 Most people can probably say Y here.
2032
2033config MSM_DIRECT_SCLK_ACCESS
2034 bool "Direct access to the SCLK timer"
2035 default n
2036
2037config IOMMU_API
2038 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07002039
Gregory Beanab78cde2010-09-01 16:26:12 -07002040config MSM_GPIOMUX
2041 bool
2042
Gregory Bean1963a2a2010-08-28 10:05:44 -07002043config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002044 bool
2045
2046config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07002047 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002048
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002049config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002050 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002051
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002052config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002053 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002054
Matt Wagantall88b86312012-01-31 16:53:03 -08002055config MSM_PM2
2056 depends on PM
2057 bool
2058
2059config MSM_PM8X60
2060 depends on PM
2061 bool
2062
2063config MSM_NOPM
2064 default y if !PM
2065 bool
2066
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002067config MSM_BUS_SCALING
2068 bool "Bus scaling driver"
2069 default n
2070
Gagan Mac85c70492011-06-10 16:07:47 -06002071config MSM_BUS_RPM_MULTI_TIER_ENABLED
2072 bool "RPM Multi-tiering Configuration"
2073 depends on MSM_BUS_SCALING
2074
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002075config MSM_WATCHDOG
2076 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002077 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002078 help
2079 This enables the watchdog as is present on 8x60. Currently we use
2080 core 0's watchdog, and reset the entire SoC if it times out. It does
2081 not run during the bootup process, so it will not catch any early
2082 lockups.
2083
2084config MSM_DLOAD_MODE
2085 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07002086 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002087 default n
2088 help
2089 This makes the SoC enter download mode when it resets
2090 due to a kernel panic. Note that this doesn't by itself
2091 make the kernel reboot on a kernel panic - that must be
2092 enabled via another mechanism.
2093
Pratik Patel17f3b822011-11-21 12:41:47 -08002094config MSM_JTAG
2095 bool "JTAG debug and trace support"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002096 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002097 Add additional support for JTAG kernel debugging and tracing.
Pratik Patel7831c082011-06-08 21:44:37 -07002098
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002099config MSM_ETM
2100 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002101 depends on ARCH_MSM8X60
2102 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002103 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002104 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002105
2106config MSM_QDSS
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002107 bool "Qualcomm Debug Subsystem"
Pratik Patel17f3b822011-11-21 12:41:47 -08002108 select MSM_JTAG
Pratik Patel7831c082011-06-08 21:44:37 -07002109 help
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002110 Enables support for Qualcomm Debug Subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002111
Pratik Patel29cba152012-01-03 11:40:26 -08002112config MSM_QDSS_ETM_DEFAULT_ENABLE
2113 bool "Turn on QDSS ETM Tracing by Default"
2114 depends on MSM_QDSS
2115 help
2116 Turns on QDSS ETM tracing by default. Otherwise, tracing is
2117 disabled by default but can be enabled by other means.
2118
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002119config MSM_SLEEP_STATS
2120 bool "Enable exporting of MSM sleep stats to userspace"
2121 depends on CPU_IDLE
2122 default n
2123
Lynus Vazdde09ee2012-01-05 13:28:22 +05302124config MSM_SLEEP_STATS_DEVICE
2125 bool "Enable exporting of MSM sleep device stats to userspace"
2126
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302127config MSM_RUN_QUEUE_STATS
2128 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Krishna Vankae2922052012-03-02 09:59:12 +05302129 depends on (MSM_SOC_REV_A || ARCH_MSM8X60 || ARCH_MSM8960)
2130 help
2131 This option enalbes statistics collection on Run Queue. A daemon
2132 in user mode, called MPDecision will be using this data to decide
2133 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302134
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002135config MSM_STANDALONE_POWER_COLLAPSE
2136 bool "Enable standalone power collapse"
2137 default n
2138
2139config MSM_GSBI9_UART
2140 bool "Enable GSBI9 UART device"
2141 default n
2142 help
2143 This enables GSBI9 configured into UART.
2144
2145config MSM_SHARED_GPIO_FOR_UART2DM
2146 bool "Use shared GPIOs into UART mode"
2147 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2148 help
2149 This option configures GPIO muxed with SDC4/MMC3
2150 8-bit mode into UART mode. It is used for serial
2151 console on UART2DM. Say Y if you want to have
2152 serial console on UART2DM.
2153
2154config MSM_SHOW_RESUME_IRQ
2155 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002156 depends on (ARM_GIC || PMIC8058)
2157 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002158 default n
2159 help
2160 This option logs wake up interrupts that have triggered just before
2161 the resume loop unrolls. Say Y if you want to debug why the system
2162 resumed.
2163
2164config BT_MSM_PINTEST
2165 tristate "MSM Bluetooth Pin Connectivity Test"
2166 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2167 default n
2168 help
2169 Bluetooth MSM Pin Connectivity test module.
2170 This driver provides support for verifying the MSM to BT pin
2171 connectivity.
2172
2173config MSM_FAKE_BATTERY
2174 depends on POWER_SUPPLY
2175 default n
2176 bool "MSM Fake Battery"
2177 help
2178 Enables MSM fake battery driver.
2179
2180config MSM_QDSP6_APR
2181 bool "Audio QDSP6 APR support"
2182 depends on MSM_SMD
2183 default n
2184 help
2185 Enable APR IPC protocol support between
2186 application processor and QDSP6. APR is
2187 used by audio driver to configure QDSP6's
2188 ASM, ADM and AFE.
2189
2190
2191config MSM_AUDIO_QDSP6
2192 bool "QDSP6 HW Audio support"
2193 select SND_SOC_MSM_QDSP6_INTF
2194 default n
2195 help
2196 Enable HW audio support in QDSP6.
2197 QDSP6 can support HW encoder & decoder and audio processing
2198
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002199config MSM_ULTRASOUND
2200 bool "MSM ultrasound support"
2201 depends on MSM_AUDIO_QDSP6
2202 help
2203 Enable support for qdsp6/ultrasound.
2204
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002205config MSM_RPC_VIBRATOR
2206 bool "RPC based MSM Vibrator Support"
2207 depends on MSM_ONCRPCROUTER
2208 help
2209 Enable the vibrator support on MSM over RPC. The vibrator
2210 is connected on the PMIC. Say Y if you want to enable this
2211 feature.
2212
2213config PM8XXX_RPC_VIBRATOR
2214 bool "RPC based Vibrator on PM8xxx PMICs"
2215 depends on MSM_RPC_VIBRATOR
2216 help
2217 Enable the vibrator support on MSM over RPC. The vibrator
2218 is connected on the PM8XXX PMIC. Say Y if you want to enable
2219 this feature.
2220
2221config MSM_SPM_V1
2222 bool "Driver support for SPM Version 1"
2223 help
2224 Enables the support for Version 1 of the SPM driver. SPM hardware is
2225 used to manage the processor power during sleep. The driver allows
2226 configuring SPM to allow different power modes.
2227
2228config MSM_SPM_V2
2229 bool "Driver support for SPM Version 2"
2230 help
2231 Enables the support for Version 2 of the SPM driver. SPM hardware is
2232 used to manage the processor power during sleep. The driver allows
2233 configuring SPM to allow different power modes.
2234
2235config MSM_L2_SPM
2236 bool "SPM support for L2 cache"
2237 depends on MSM_SPM_V2
2238 help
2239 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2240 control of L2 cache low power mode with a Subsystem Power manager.
2241 Enabling this driver allows configuring L2 SPM for low power modes
2242 on supported chipsets.
2243
Laura Abbott2d1760b2011-09-29 21:31:24 -07002244config MSM_MULTIMEDIA_USE_ION
2245 bool "Multimedia suport using Ion"
2246 depends on ION_MSM
2247 help
2248 Enable support for multimedia drivers using Ion for buffer management
2249 instead of pmem. Selecting this may also involve userspace
2250 dependencies as well.
2251
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002252config MSM_OCMEM
2253 bool "MSM On-Chip memory driver (OCMEM)"
2254 help
2255 Enable support for On-Chip Memory available on certain MSM chipsets.
2256 OCMEM is a low latency, high performance pool shared by subsystems.
2257
Laura Abbottad340ff2012-01-04 14:23:48 -08002258config MSM_RTB
2259 bool "Register tracing"
2260 help
2261 Add support for logging different events to a small uncached
2262 region. This is designed to aid in debugging reset cases where the
2263 caches may not be flushed before the target resets.
2264
2265config MSM_RTB_SEPARATE_CPUS
2266 bool "Separate entries for each cpu"
2267 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002268 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002269 help
2270 Under some circumstances, it may be beneficial to give dedicated space
2271 for each cpu to log accesses. Selecting this option will log each cpu
2272 separately. This will guarantee that the last acesses for each cpu
2273 will be logged but there will be fewer entries per cpu
2274
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002275config MSM_CACHE_ERP
2276 bool "Cache / CPU error reporting"
2277 depends on ARCH_MSM_KRAIT
2278 help
2279 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2280 log. Enabling this feature can be used as a system debugging technique
2281 if cache corruption is suspected. Cache error statistics will also be
2282 reported in /proc/cpu/msm_cache_erp.
2283
2284 For production builds, you should probably say 'N' here.
2285
2286config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002287 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002288 depends on MSM_CACHE_ERP
2289 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002290 To cause the kernel to panic whenever an L1 cache error is detected, say
2291 'Y' here. This may be useful as a debugging technique if general system
2292 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002293
2294 For production builds, you should probably say 'N' here.
2295
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002296config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2297 bool "Report L2 master port slave/decode errors in kernel log"
2298 depends on MSM_CACHE_ERP
2299 help
2300 Master port errors can occur when a memory request is not properly
2301 handled by the destination slave. This can occur if the destination
2302 register does not exist or is inaccessible due to security
2303 restrictions or (in some cases) clock configuration. Enabling this
2304 option will cause a backtrace to be printed to the kernel log whenever
2305 such an error is encountered. Note that the error is reported as an
2306 interrupt rather than as an exception, meaning that the backtrace may
2307 have some skid. This option may help with debugging, though production
2308 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002309
2310config MSM_L2_ERP_PORT_PANIC
2311 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002312 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002313 help
2314 Master port errors can occur when a memory request is not properly
2315 handled by the destination slave. Enable this option to catch drivers
2316 which attempt to access bad areas of the address space, or access
2317 hardware registers in an improper state (such as certain clocks not
2318 being on). This option may help with debugging, though production
2319 builds should probably say 'N' here.
2320
2321config MSM_L2_ERP_1BIT_PANIC
2322 bool "Panic on recoverable 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 single-bit (correctable) soft error. This option should
2327 only be enabled when doing low-level debugging where cache corruption
2328 is suspected.
2329
2330 For production builds, you should definitely say 'N' here.
2331
2332config MSM_L2_ERP_2BIT_PANIC
2333 bool "Panic on unrecoverable L2 soft errors"
2334 depends on MSM_CACHE_ERP
2335 help
2336 Enable this option to cause a kernel panic whenever the L2 cache
2337 encounters a double-bit (non-correctable) soft error. Debug builds
2338 will likely benefit from having this option enabled to catch cache
2339 problems as soon as possible.
2340
2341 For production builds, it may be acceptable to say 'N' here, since
2342 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002343
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002344config MSM_DCVS
2345 bool "Use MSM DCVS for CPU/GPU Frequency control"
2346 depends on MSM_SCM
2347 help
2348 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2349 The DCVS manager allows idle driver to feed the idle information to the
2350 algorithm and the algorithm returns a frequency for the core which is
2351 passed to the frequency change driver.
2352
Taniya Dasc43e6872012-03-21 16:41:14 +05302353config HAVE_ARCH_HAS_CURRENT_TIMER
2354 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002355
2356config MSM_CACHE_DUMP
2357 bool "Cache dumping support"
2358 help
2359 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2360 This allows for analysis of the caches in case cache corruption is
2361 suspected.
2362
Laura Abbott7b637362012-03-29 16:43:49 -07002363config MSM_CACHE_DUMP_ON_PANIC
2364 bool "Dump caches on panic"
2365 depends on MSM_CACHE_DUMP
2366 help
2367 By default, the caches are flushed on panic. This means that trying to
2368 look at them in a RAM dump will give useless data. Select this if you
2369 want to dump the L1 and L2 caches on panic before any flush occurs.
2370 If unsure, say N
2371
Jack Phamccbbfab2012-04-09 19:50:20 -07002372config MSM_HSIC_SYSMON
2373 tristate "MSM HSIC system monitor driver"
2374 depends on USB
2375 help
2376 Add support for bridging with the system monitor interface of MDM
2377 over HSIC. This driver allows the local system monitor to
2378 communicate with the remote system monitor interface.
2379
2380config MSM_HSIC_SYSMON_TEST
2381 tristate "MSM HSIC system monitor bridge test"
2382 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2383 help
2384 Enable the test hook for the Qualcomm system monitor HSIC driver.
2385 This will create a debugfs file entry named "hsic_sysmon_test" which
2386 can be read and written to send character data to the sysmon port of
2387 the modem over USB.
2388
Brian Swetland9e73c842007-11-26 04:12:13 -08002389endif