blob: c9d0000f208c4d3493f4fa4d21821e39addac3d7 [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_RPM
261 select MSM_PM8X60 if PM
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700262
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700263config ARCH_FSM9XXX
264 bool "FSM9XXX"
265 select ARCH_MSM_SCORPION
266 select MSM_VIC
267 select CPU_V7
268 select MSM_REMOTE_SPINLOCK_LDREX
269 select FSM9XXX_TLMM
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530270 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800271 select MSM_DALRPC
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800272
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700273config ARCH_MSM9615
274 bool "MSM9615"
275 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530276 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700277 select ARCH_MSM_CORTEX_A5
278 select CPU_V7
279 select MSM_V2_TLMM
280 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600281 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600282 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700283 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800284 select REGULATOR
285 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530286 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800287 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800288 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700289 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800290 select MSM_QDSP6_APR
291 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800292 select FIQ
Matt Wagantall9274df92011-12-15 11:11:05 -0800293
Taniya Das43bcdd62011-12-02 17:33:27 +0530294config ARCH_MSM8625
295 bool "MSM8625"
296 select ARCH_MSM_CORTEX_A5
297 select CPU_V7
298 select MSM_GPIOMUX
299 select ARM_GIC
300 select ARCH_MSM_CORTEXMP
301 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530302 select ARM_TICKET_LOCKS
Krishna Vankae2922052012-03-02 09:59:12 +0530303 select MSM_RUN_QUEUE_STATS
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700304
305config ARCH_MSM9625
306 bool "MSM9625"
307 select ARM_GIC
308 select GIC_SECURE
309 select ARCH_MSM_CORTEX_A5
310 select SMP
311 select MSM_SMP
312 select CPU_V7
313 select MULTI_IRQ_HANDLER
314 select MSM_V2_TLMM
315
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700316endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700317
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700318choice
319 prompt "MSM SoC Revision"
320 default MSM_SOC_REV_NONE
321config MSM_SOC_REV_NONE
322 bool "N/A"
323 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
324 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walker4ad15e62010-05-06 13:54:17 -0700325config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700326 bool "Rev. A"
327 select ARCH_MSM7X27A if ARCH_MSM7X27
328endchoice
Daniel Walker4ad15e62010-05-06 13:54:17 -0700329
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700330config MSM_KRAIT_TBB_ABORT_HANDLER
331 bool "Krait TBB/TBH data abort handler"
332 depends on ARCH_MSM_KRAIT
333 depends on ARM_THUMB
334 help
335 Certain early samples of the Krait processor may generate data
336 aborts for TBB / TBH instructions that fail their condition code
337 checks. Enabling this option will ignore these erroneous data aborts,
338 at the expense of a very small performance penalty.
339
340 If unsure, say N.
341
Daniel Walker4ad15e62010-05-06 13:54:17 -0700342config ARCH_MSM_ARM11
343 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700344
Daniel Walker4ad15e62010-05-06 13:54:17 -0700345config ARCH_MSM_SCORPION
Daniel Walkerbf83de42010-03-16 16:29:44 -0700346 bool
347
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700348config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700349 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800350 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700351
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700352config MSM_SMP
353 bool
354
355config ARCH_MSM_SCORPIONMP
356 select ARCH_MSM_SCORPION
357 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530358 select HAVE_ARCH_HAS_CURRENT_TIMER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700359 bool
360
361config ARCH_MSM_KRAITMP
362 select ARCH_MSM_KRAIT
363 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530364 select HAVE_ARCH_HAS_CURRENT_TIMER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700365 bool
366
Taniya Das43bcdd62011-12-02 17:33:27 +0530367config ARCH_MSM_CORTEXMP
368 select MSM_SMP
369 bool
370
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700371config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800372 bool
Rohit Vaswaniaf7ae272012-01-09 10:28:57 -0800373 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700374
375config ARCH_MSM7X27A
376 bool
377 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700378 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530379 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530380 select ARM_GIC
381 select ARCH_MSM_CORTEXMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700382
Gregory Beanf9f3d312010-04-30 22:06:50 -0700383config MSM_VIC
384 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700385
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700386config MSM_RPM
387 bool "Resource Power Manager"
388 select MSM_MPM
389
390config MSM_MPM
391 bool "Modem Power Manager"
392
393config MSM_XO
394 bool
395
396config MSM_REMOTE_SPINLOCK_DEKKERS
397 bool
398config MSM_REMOTE_SPINLOCK_SWP
399 bool
400config MSM_REMOTE_SPINLOCK_LDREX
401 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600402config MSM_REMOTE_SPINLOCK_SFPB
403 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700404config MSM_ADM3
405 bool
406
407menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700408
409config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700410 depends on ARCH_MSM7X01A
411 depends on MSM_STACKED_MEMORY
412 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700413 bool "Halibut Board (QCT SURF7201A)"
414 help
415 Support for the Qualcomm SURF7201A eval board.
416
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700417config MACH_MSM7201A_SURF
418 depends on ARCH_MSM7X01A
419 depends on MSM_STACKED_MEMORY
420 default y
421 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700422 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700423 Support for the Qualcomm MSM7201A SURF eval board.
424
425config MACH_MSM7201A_FFA
426 depends on ARCH_MSM7X01A
427 depends on MSM_STACKED_MEMORY
428 default y
429 bool "MSM7201A FFA"
430 help
431 Support for the Qualcomm MSM7201A FFA eval board.
432
433config MACH_TROUT
434 depends on ARCH_MSM7X01A
435 depends on MSM_STACKED_MEMORY
436 default y
437 bool "Trout"
438
439config MACH_MSM7X27_SURF
440 depends on ARCH_MSM7X27
441 depends on !MSM_STACKED_MEMORY
442 default y
443 bool "MSM7x27 SURF"
444 help
445 Support for the Qualcomm MSM7x27 SURF eval board.
446
447config MACH_MSM7X27_FFA
448 depends on ARCH_MSM7X27
449 depends on !MSM_STACKED_MEMORY
450 default y
451 bool "MSM7x27 FFA"
452 help
453 Support for the Qualcomm MSM7x27 FFA eval board.
454
455config MACH_MSM7X27A_RUMI3
456 depends on ARCH_MSM7X27A
457 depends on !MSM_STACKED_MEMORY
458 default y
459 bool "MSM7x27A RUMI3"
460 help
461 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
462
463config MACH_MSM7X27A_SURF
464 depends on ARCH_MSM7X27A
465 depends on !MSM_STACKED_MEMORY
466 default y
467 bool "MSM7x27A SURF"
468 help
469 Support for the Qualcomm MSM7x27A SURF.
470
471config MACH_MSM7X27A_FFA
472 depends on ARCH_MSM7X27A
473 depends on !MSM_STACKED_MEMORY
474 default y
475 bool "MSM7x27A FFA"
476 help
477 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700478
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530479config MACH_MSM7625A_SURF
480 depends on ARCH_MSM7X27A
481 depends on !MSM_STACKED_MEMORY
482 default y
483 bool "MSM7625A SURF"
484 help
485 Support for the Qualcomm MSM7625A SURF.
486
487config MACH_MSM7625A_FFA
488 depends on ARCH_MSM7X27A
489 depends on !MSM_STACKED_MEMORY
490 default y
491 bool "MSM7625A FFA"
492 help
493 Support for the Qualcomm MSM7625A FFA.
494
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530495config MACH_MSM7627A_QRD1
496 depends on ARCH_MSM7X27A
497 depends on !MSM_STACKED_MEMORY
498 default y
499 bool "MSM7627A QRD1"
500 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530501 Support for the Qualcomm MSM7627A Reference Design.
502
503config MACH_MSM7627A_QRD3
504 depends on ARCH_MSM7X27A
505 depends on !MSM_STACKED_MEMORY
506 default y
507 bool "MSM7627A QRD3"
508 help
509 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530510
Taniya Dasc868a2e2012-01-03 10:18:47 +0530511config MACH_MSM7627A_EVB
512 depends on ARCH_MSM7X27A
513 depends on !MSM_STACKED_MEMORY
514 default y
515 bool "MSM7627A EVB"
516 help
517 Support for the Qualcomm MSM7627A Reference Design.
518
Taniya Das43bcdd62011-12-02 17:33:27 +0530519config MACH_MSM8625_RUMI3
520 depends on ARCH_MSM8625
521 depends on !MSM_STACKED_MEMORY
522 default y
523 bool "MSM8625 RUMI3"
524 help
525 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
526
Taniya Dase3027e22012-02-27 16:32:27 +0530527config MACH_MSM8625_SURF
528 depends on ARCH_MSM8625
529 depends on !MSM_STACKED_MEMORY
530 default y
531 bool "MSM8625 SURF"
532 help
533 Support for the Qualcomm MSM8625 SURF.
534
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530535config MACH_MSM8625_FFA
536 depends on ARCH_MSM8625
537 depends on !MSM_STACKED_MEMORY
538 default y
539 bool "MSM8625 FFA"
540 help
541 Support for the Qualcomm MSM8625 FFA.
542
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530543config MACH_MSM8625_EVB
544 depends on ARCH_MSM8625
545 depends on !MSM_STACKED_MEMORY
546 default y
547 bool "MSM8625 EVB"
548 help
549 Support for the Qualcomm MSM8625 Reference Design.
550
Taniya Dasbd096542012-03-15 17:43:45 +0530551config MACH_MSM8625_QRD7
552 depends on ARCH_MSM8625
553 depends on !MSM_STACKED_MEMORY
554 default y
555 bool "MSM8625 QRD7"
556 help
557 Support for the Qualcomm MSM8625 Reference Design.
558
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530559config MACH_MSM8625_EVT
560 depends on ARCH_MSM8625
561 depends on !MSM_STACKED_MEMORY
562 default y
563 bool "MSM8625 EVT"
564 help
565 Support for the Qualcomm MSM8625 Reference Design.
566
Daniel Walker7b521612010-05-06 12:44:57 -0700567config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700568 depends on ARCH_MSM7X30
569 depends on !MSM_STACKED_MEMORY
570 default y
571 bool "MSM7x30 SURF"
572 help
573 Support for the Qualcomm MSM7x30 SURF eval board.
574
575config MACH_MSM7X30_FFA
576 depends on ARCH_MSM7X30
577 depends on !MSM_STACKED_MEMORY
578 default y
579 bool "MSM7x30 FFA"
580 help
581 Support for the Qualcomm MSM7x30 FFA eval board.
582
583config MACH_MSM7X30_FLUID
584 depends on ARCH_MSM7X30
585 depends on !MSM_STACKED_MEMORY
586 default y
587 bool "MSM7x30 FLUID"
588 help
589 Support for the Qualcomm MSM7x30 FLUID eval board.
590
591config MACH_SAPPHIRE
592 depends on ARCH_MSM7X01A
593 default n
594 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700595
Daniel Walker4ad15e62010-05-06 13:54:17 -0700596config MACH_QSD8X50_SURF
597 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700598 depends on MSM_SOC_REV_NONE
599 depends on MSM_STACKED_MEMORY
600 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700601 bool "QSD8x50 SURF"
602 help
603 Support for the Qualcomm QSD8x50 SURF eval board.
604
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700605config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700606 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700607 depends on MSM_SOC_REV_NONE
608 depends on MSM_STACKED_MEMORY
609 default y
610 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700611 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700612 Support for the Qualcomm QSD8x50 FFA eval board.
613
614config MACH_MSM7X25_SURF
615 depends on ARCH_MSM7X25
616 depends on !MSM_STACKED_MEMORY
617 default y
618 bool "MSM7x25 SURF"
619 help
620 Support for the Qualcomm MSM7x25 SURF eval board.
621
622config MACH_MSM7X25_FFA
623 depends on ARCH_MSM7X25
624 depends on !MSM_STACKED_MEMORY
625 default y
626 bool "MSM7x25 FFA"
627 help
628 Support for the Qualcomm MSM7x25 FFA eval board.
629
630config MACH_MSM8X55_SURF
631 depends on ARCH_MSM7X30
632 depends on !MSM_STACKED_MEMORY
633 default y
634 bool "MSM8X55 SURF"
635 help
636 Support for the Qualcomm MSM8x55 SURF eval board.
637
638config MACH_MSM8X55_FFA
639 depends on ARCH_MSM7X30
640 depends on !MSM_STACKED_MEMORY
641 default y
642 bool "MSM8X55 FFA"
643 help
644 Support for the Qualcomm MSM8x55 FFA eval board.
645
646config MACH_MSM8X55_SVLTE_FFA
647 depends on ARCH_MSM7X30
648 depends on !MSM_STACKED_MEMORY
649 default y
650 bool "MSM8X55 SVLTE FFA"
651 help
652 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
653
654config MACH_MSM8X55_SVLTE_SURF
655 depends on ARCH_MSM7X30
656 depends on !MSM_STACKED_MEMORY
657 default y
658 bool "MSM8X55 SVLTE SURF"
659 help
660 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700661
Steve Mucklea55df6e2010-01-07 12:43:24 -0800662config MACH_MSM8X60_RUMI3
663 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700664 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800665 bool "MSM8x60 RUMI3"
666 help
667 Support for the Qualcomm MSM8x60 RUMI3 emulator.
668
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800669config MACH_MSM8X60_SIM
670 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700671 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800672 bool "MSM8x60 Simulator"
673 help
674 Support for the Qualcomm MSM8x60 simulator.
675
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700676config MACH_MSM8X60_SURF
677 depends on ARCH_MSM8X60
678 default n
679 bool "MSM8x60 SURF"
680 help
681 Support for the Qualcomm MSM8x60 SURF eval board.
682
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700683config MACH_MSM8X60_FFA
684 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700685 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700686 bool "MSM8x60 FFA"
687 help
688 Support for the Qualcomm MSM8x60 FFA eval board.
689
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700690config MACH_MSM8X60_FLUID
691 depends on ARCH_MSM8X60
692 default n
693 bool "MSM8x60 FLUID"
694 help
695 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
696 8x60 target which has a form factor that is much closer to that
697 of a phone than other targets. It also has a new display and
698 touchscreen controller.
699
700config MACH_MSM8X60_FUSION
701 depends on ARCH_MSM8X60
702 default n
703 bool "MSM8x60 FUSION"
704 help
705 Support for the Qualcomm MSM8x60 Fusion SURF device.
706
707config MACH_MSM8X60_FUSN_FFA
708 depends on ARCH_MSM8X60
709 default n
710 bool "MSM8x60 FUSN FFA"
711 help
712 Support for the Qualcomm MSM8x60 Fusion FFA device.
713
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400714config MACH_MSM8X60_DRAGON
715 depends on ARCH_MSM8X60
716 default n
717 bool "MSM8x60 DRAGON"
718 help
719 Support for the Qualcomm MSM8x60 Dragon board.
720
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800721config MACH_MSM8960_SIM
722 depends on ARCH_MSM8960
723 bool "MSM8960 Simulator"
724 help
725 Support for the Qualcomm MSM8960 simulator.
726
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800727config MACH_MSM8960_RUMI3
728 depends on ARCH_MSM8960
729 bool "MSM8960 RUMI3"
730 help
731 Support for the Qualcomm MSM8960 RUMI3 emulator.
732
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700733config MACH_MSM8960_CDP
734 depends on ARCH_MSM8960
735 bool "MSM8960 CDP"
736 help
737 Support for the Qualcomm MSM8960 CDP device.
738
739config MACH_MSM8960_MTP
740 depends on ARCH_MSM8960
741 bool "MSM8960 MTP"
742 help
743 Support for the Qualcomm MSM8960 MTP device.
744
745config MACH_MSM8960_FLUID
746 depends on ARCH_MSM8960
747 bool "MSM8960 FLUID"
748 help
749 Support for the Qualcomm MSM8960 FLUID device.
750
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300751config MACH_MSM8960_LIQUID
752 depends on ARCH_MSM8960
753 bool "MSM8960 LIQUID"
754 help
755 Support for the Qualcomm MSM8960 LIQUID device.
756
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700757config MACH_MSM8930_CDP
758 depends on ARCH_MSM8930
759 bool "MSM8930 CDP"
760 help
761 Support for the Qualcomm MSM8930 CDP device.
762
763config MACH_MSM8930_MTP
764 depends on ARCH_MSM8930
765 bool "MSM8930 MTP"
766 help
767 Support for the Qualcomm MSM8930 MTP device.
768
769config MACH_MSM8930_FLUID
770 depends on ARCH_MSM8930
771 bool "MSM8930 FLUID"
772 help
773 Support for the Qualcomm MSM8930 FLUID device.
774
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800775config MACH_MSM8627_CDP
776 depends on ARCH_MSM8930
777 bool "MSM8627 CDP"
778 help
779 Support for the Qualcomm MSM8627 CDP device.
780
781config MACH_MSM8627_MTP
782 depends on ARCH_MSM8930
783 bool "MSM8627 MTP"
784 help
785 Support for the Qualcomm MSM8627 MTP device.
786
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700787config MACH_MSM9615_CDP
788 depends on ARCH_MSM9615
789 bool "MSM9615 CDP"
790 help
791 Support for the Qualcomm MSM9615 CDP device.
792
793config MACH_MSM9615_MTP
794 depends on ARCH_MSM9615
795 bool "MSM9615 MTP"
796 help
797 Support for the Qualcomm MSM9615 MTP device.
798
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700799config MSM_USE_TSIF1
800 depends on ARCH_MSM8X60
801 bool "MSM8x60 use TSIF1"
802 help
803 Selects TSIF1 core to be used rather than TSIF0.
804 The two TSIF cores share the same DM configuration
805 so they cannot be used simultaneously.
806
807config MACH_APQ8064_SIM
808 depends on ARCH_APQ8064
809 bool "APQ8064 Simulator"
810 help
811 Support for the Qualcomm APQ8064 simulator.
812
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700813config MACH_APQ8064_RUMI3
814 depends on ARCH_APQ8064
815 bool "APQ8064 RUMI3"
816 help
817 Support for the Qualcomm APQ8064 RUMI3 emulator.
818
Joel King82b7e3f2012-01-05 10:03:27 -0800819config MACH_APQ8064_CDP
820 depends on ARCH_APQ8064
821 bool "APQ8064 CDP"
822 help
823 Support for the Qualcomm APQ8064 CDP device.
824
825config MACH_APQ8064_MTP
826 depends on ARCH_APQ8064
827 bool "APQ8064 MTP"
828 help
829 Support for the Qualcomm APQ8064 MTP device.
830
831config MACH_APQ8064_LIQUID
832 depends on ARCH_APQ8064
833 bool "APQ8064 LIQUID"
834 help
835 Support for the Qualcomm APQ8064 LIQUID device.
836
Joel King064bbf82012-04-01 13:23:39 -0700837config MACH_MPQ8064_CDP
838 depends on ARCH_APQ8064
839 bool "MPQ8064 CDP"
840 help
841 Support for the Qualcomm MPQ8064 CDP device.
842
Joel King11ca8202012-02-13 16:19:03 -0800843config MACH_MPQ8064_HRD
844 depends on ARCH_APQ8064
845 bool "MPQ8064 HRD"
846 help
847 Support for the Qualcomm MPQ8064 HRD device.
848
849config MACH_MPQ8064_DTV
850 depends on ARCH_APQ8064
851 bool "MPQ8064 DTV"
852 help
853 Support for the Qualcomm MPQ8064 DTV device.
854
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700855config MACH_FSM9XXX_SURF
856 depends on ARCH_FSM9XXX
857 depends on !MSM_STACKED_MEMORY
858 default y
859 bool "FSM9XXX SURF"
860 help
861 Support for the Qualcomm FSM9xxx femtocell
862 chipset based SURF evaluation board and
863 FFA board.
864
Daniel Walker4ad15e62010-05-06 13:54:17 -0700865endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800866
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700867config MSM_STACKED_MEMORY
868 bool "Stacked Memory"
869 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800870 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700871 This option is used to indicate the presence of on-die stacked
872 memory. When present this memory bank is used for a high speed
873 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800874
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700875config PHYS_OFFSET
876 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700877 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700878 default "0x80200000" if ARCH_APQ8064
879 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700880 default "0x80200000" if ARCH_MSM8930
Sathish Ambley39a1dc42012-03-19 21:46:26 -0700881 default "0x20200000" if ARCH_MSMCOPPER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700882 default "0x10000000" if ARCH_FSM9XXX
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700883 default "0x20200000" if ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700884 default "0x00200000" if !MSM_STACKED_MEMORY
885 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
886 default "0x20000000" if ARCH_QSD8X50
887 default "0x40200000" if ARCH_MSM8X60
888 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800889
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700890config KERNEL_PMEM_EBI_REGION
891 bool "Enable in-kernel PMEM region for EBI"
892 default y if ARCH_MSM8X60
Olav Hauganb800c8c2012-01-30 08:50:45 -0800893 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSMCOPPER)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700894 help
895 Enable the in-kernel PMEM allocator to use EBI memory.
896
897config KERNEL_PMEM_SMI_REGION
898 bool "Enable in-kernel PMEM region for SMI"
899 default y if ARCH_MSM8X60
900 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
901 help
902 Enable the in-kernel PMEM allocator to use SMI memory.
903
904config PMEM_GPU0
905 bool "Enable PMEM GPU0 region"
906 default y
907 depends on ARCH_QSD8X50 && ANDROID_PMEM
908 help
909 Enable the PMEM GPU0 device on SMI Memory.
910
911config MSM_AMSS_VERSION
912 int
913 default 6210 if MSM_AMSS_VERSION_6210
914 default 6220 if MSM_AMSS_VERSION_6220
915 default 6225 if MSM_AMSS_VERSION_6225
916
917choice
918 prompt "AMSS modem firmware version"
919
920 default MSM_AMSS_VERSION_6225
921
922 config MSM_AMSS_VERSION_6210
923 bool "6.2.10"
924
925 config MSM_AMSS_VERSION_6220
926 bool "6.2.20"
927
928 config MSM_AMSS_VERSION_6225
929 bool "6.2.20 + New ADSP"
930endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800931
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700932config MSM_HAS_DEBUG_UART_HS
933 bool
934 help
935 Say Y here if high speed MSM UART is present.
936
937config MSM_HAS_DEBUG_UART_HS_V14
938 bool
939 select MSM_HAS_DEBUG_UART_HS
940 help
941 Say Y here if high speed MSM UART v1.4 is present.
942
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800943config DEBUG_MSM8930_UART
944 bool "Kernel low-level debugging messages via MSM 8930 UART"
945 depends on ARCH_MSM8930 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700946 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800947 help
948 Say Y here if you want the debug print routines to direct
949 their output to the serial port on MSM 8930 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100950
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530951config MSM_DEBUG_UART_PHYS
952 hex
953 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
954 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
955 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
956 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
957 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
958 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
959 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
960 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
961
Pavel Machek6339f662009-11-02 11:48:29 +0100962choice
963 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800964 depends on DEBUG_LL
Pavel Machek6339f662009-11-02 11:48:29 +0100965
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800966 config DEBUG_MSM_UART1
967 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530968 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800969 help
970 Say Y here if you want the debug print routines to direct
971 their output to the first serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100972
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800973 config DEBUG_MSM_UART2
974 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530975 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800976 help
977 Say Y here if you want the debug print routines to direct
978 their output to the second serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100979
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800980 config DEBUG_MSM_UART3
981 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530982 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800983 help
984 Say Y here if you want the debug print routines to direct
985 their output to the third serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100986
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800987 config DEBUG_MSM8660_UART
988 bool "Kernel low-level debugging messages via MSM 8660 UART"
989 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700990 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800991 help
992 Say Y here if you want the debug print routines to direct
993 their output to the serial port on MSM 8660 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100994
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800995 config DEBUG_MSM8960_UART
996 bool "Kernel low-level debugging messages via MSM 8960 UART"
997 depends on ARCH_MSM8960
998 select DEBUG_MSM8930_UART
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700999 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001000 help
1001 Say Y here if you want the debug print routines to direct
1002 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001003
1004 config DEBUG_MSMCOPPER_UART
1005 bool "Kernel low-level debugging messages via MSM Copper UART"
1006 depends on ARCH_MSMCOPPER
1007 select MSM_HAS_DEBUG_UART_HS_V14
1008 help
1009 Say Y here if you want the debug print routines to direct
1010 their output to the serial port on MSM Copper devices.
Pavel Machek6339f662009-11-02 11:48:29 +01001011endchoice
1012
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001013choice
1014 prompt "Default Timer"
1015 default MSM7X00A_USE_GP_TIMER
1016
1017 config MSM7X00A_USE_GP_TIMER
1018 bool "GP Timer"
1019 help
1020 Low resolution timer that allows power collapse from idle.
1021
1022 config MSM7X00A_USE_DG_TIMER
1023 bool "DG Timer"
1024 help
1025 High resolution timer.
1026endchoice
1027
1028choice
1029 prompt "Suspend sleep mode"
1030 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1031 help
1032 Allows overriding the sleep mode used. Leave at power
1033 collapse suspend unless the arm9 image has problems.
1034
1035 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1036 bool "Power collapse suspend"
1037 help
1038 Lowest sleep state. Returns through reset vector.
1039
1040 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1041 bool "Power collapse"
1042 help
1043 Sleep state that returns through reset vector.
1044
1045 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1046 bool "Apps Sleep"
1047
1048 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1049 bool "Ramp down cpu clock and wait for interrupt"
1050
1051 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1052 bool "Wait for interrupt"
1053endchoice
1054
1055config MSM7X00A_SLEEP_MODE
1056 int
1057 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1058 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1059 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1060 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1061 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1062
1063choice
1064 prompt "Idle sleep mode"
1065 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1066 help
1067 Allows overriding the sleep mode used from idle. Leave at power
1068 collapse suspend unless the arm9 image has problems.
1069
1070 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1071 bool "Power collapse suspend"
1072 help
1073 Lowest sleep state. Returns through reset vector.
1074
1075 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1076 bool "Power collapse"
1077 help
1078 Sleep state that returns through reset vector.
1079
1080 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1081 bool "Apps Sleep"
1082
1083 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1084 bool "Ramp down cpu clock and wait for interrupt"
1085
1086 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1087 bool "Wait for interrupt"
1088endchoice
1089
1090config MSM7X00A_IDLE_SLEEP_MODE
1091 int
1092 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1093 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1094 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1095 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1096 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1097
1098config MSM7X00A_IDLE_SLEEP_MIN_TIME
1099 int "Minimum idle time before sleep"
1100 default 20000000
1101 help
1102 Minimum idle time in nanoseconds before entering low power mode.
1103
1104config MSM7X00A_IDLE_SPIN_TIME
1105 int "Idle spin time before cpu ramp down"
1106 default 80000
1107 help
1108 Spin time in nanoseconds before ramping down cpu clock and entering
1109 any low power state.
1110
1111menuconfig MSM_IDLE_STATS
1112 bool "Collect idle statistics"
1113 default y
1114 help
1115 Collect idle statistics and export them in proc/msm_pm_stats.
1116
1117if MSM_IDLE_STATS
1118
1119config MSM_IDLE_STATS_FIRST_BUCKET
1120 int "First bucket time"
1121 default 62500
1122 help
1123 Upper time limit in nanoseconds of first bucket.
1124
1125config MSM_IDLE_STATS_BUCKET_SHIFT
1126 int "Bucket shift"
1127 default 2
1128
1129config MSM_IDLE_STATS_BUCKET_COUNT
1130 int "Bucket count"
1131 default 10
1132
1133config MSM_SUSPEND_STATS_FIRST_BUCKET
1134 int "First bucket time for suspend"
1135 default 1000000000
1136 help
1137 Upper time limit in nanoseconds of first bucket of the
1138 histogram. This is for collecting statistics on suspend.
1139
1140endif # MSM_IDLE_STATS
1141
1142config CPU_HAS_L2_PMU
1143 bool "L2CC PMU Support"
1144 help
1145 Select this if the L2 cache controller has a Performance Monitoring Unit.
1146
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001147config HTC_HEADSET
1148 tristate "HTC 2 Wire detection driver"
1149 default n
1150 help
1151 Provides support for detecting HTC 2 wire devices, such as wired
1152 headset, on the trout platform. Can be used with the msm serial
1153 debugger, but not with serial console.
1154
1155config TROUT_BATTCHG
1156 depends on MACH_TROUT && POWER_SUPPLY
1157 default y
1158 bool "Trout battery / charger driver"
1159
1160config HTC_PWRSINK
1161 depends on MSM_SMD
1162 default n
1163 bool "HTC Power Sink Driver"
1164
1165config QSD_SVS
1166 bool "QSD Static Voltage Scaling"
1167 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1168 default y
1169 select TPS65023
1170 help
1171 Enables static voltage scaling using the TPS65023 PMIC.
1172
1173config QSD_PMIC_DEFAULT_DCDC1
1174 int "PMIC default output voltage"
1175 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1176 default 1250
1177 help
1178 This is the PMIC voltage at Linux kernel boot.
1179
1180config MSM_FIQ_SUPPORT
1181 default y
1182 bool "Enable installation of an FIQ handler."
1183
1184config MSM_SERIAL_DEBUGGER
1185 select MSM_FIQ_SUPPORT
1186 select KERNEL_DEBUGGER_CORE
1187 default n
1188 bool "FIQ Mode Serial Debugger"
1189 help
1190 The FIQ serial debugger can accept commands even when the
1191 kernel is unresponsive due to being stuck with interrupts
1192 disabled. Depends on the kernel debugger core in drivers/misc.
1193
1194config MSM_SERIAL_DEBUGGER_CONSOLE
1195 depends on MSM_SERIAL_DEBUGGER
1196 default n
1197 bool "Console on FIQ Serial Debugger port"
1198 help
1199 Enables a console so that printk messages are displayed on
1200 the debugger serial port as the occur.
Daniel Walkerbf83de42010-03-16 16:29:44 -07001201
Steve Mucklec8aabae2010-04-21 16:20:27 -07001202config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001203 default y
1204 bool "Proc-Comm RPC Interface"
1205 help
1206 Enables a lightweight communications interface to the
1207 baseband processor.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001208
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001209config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001210 bool "MSM Shared Memory Driver (SMD)"
1211 help
1212 Support for the shared memory interface between the apps
1213 processor and the baseband processor. Provides access to
1214 the "shared heap", as well as virtual serial channels
1215 used to communicate with various services on the baseband
1216 processor.
1217
1218choice
1219 prompt "MSM Shared memory interface version"
1220 depends on MSM_SMD
1221 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1222 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1223
1224 config MSM_SMD_PKG3
1225 bool
1226 prompt "Package 3"
1227
1228 config MSM_SMD_PKG4
1229 bool
1230 prompt "Package 4"
1231endchoice
1232
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001233config MSM_PCIE
1234 bool "MSM PCIe Controller driver"
1235 depends on PCI && PCI_MSI
1236 help
1237 Enables the PCIe functionality by configures PCIe core on
1238 MSM chipset and by enabling the ARM PCI framework extension.
1239
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001240config MSM_RPC_SDIO_XPRT
1241 depends on MSM_SDIO_AL
1242 default y
1243 bool "MSM SDIO XPRT Layer"
1244 help
1245 SDIO Transport Layer for RPC Rouer
1246
1247config MSM_RPC_SDIO_DEBUG
1248 depends on MSM_RPC_SDIO_XPRT
1249 default y
1250 bool "MSM SDIO XPRT debug support"
1251 help
1252 Support for debugging SDIO XPRT
1253
1254config MSM_SMD_DEBUG
1255 depends on MSM_SMD
1256 default y
1257 bool "MSM SMD debug support"
1258 help
1259 Support for debugging the SMD for communication
1260 between the ARM9 and ARM11
1261
1262config MSM_SDIO_AL
1263 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1264 default y
1265 tristate "SDIO-Abstraction-Layer"
1266 help
1267 Support MSM<->MDM Communication over SDIO bus.
1268 MDM SDIO-Client should have pipes support.
1269
1270config MSM_SDIO_DMUX
1271 bool "SDIO Data Mux Driver"
1272 depends on MSM_SDIO_AL
1273 default n
1274 help
1275 Support Muxed Data Channels over SDIO interface.
1276
1277config MSM_BAM_DMUX
1278 bool "BAM Data Mux Driver"
1279 depends on SPS
1280 default n
1281 help
1282 Support Muxed Data Channels over BAM interface.
1283 BAM has a limited number of pipes. This driver
1284 provides a means to support more logical channels
1285 via muxing than BAM could without muxing.
1286
1287config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001288 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001289 default y
1290 bool "MSM N-WAY SMD support"
1291 help
1292 Supports APPS-QDSP SMD communication along with
1293 normal APPS-MODEM SMD communication.
1294
1295config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001296 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001297 default y
1298 bool "MSM N-WAY SMSM support"
1299 help
1300 Supports APPS-QDSP SMSM communication along with
1301 normal APPS-MODEM SMSM communication.
1302
1303config MSM_RESET_MODEM
1304 tristate "Reset Modem Driver"
1305 depends on MSM_SMD
1306 default m
1307 help
1308 Allows the user to reset the modem through a device node.
1309
1310config MSM_SMD_LOGGING
1311 depends on MSM_SMD
1312 default y
1313 bool "MSM Shared Memory Logger"
1314 help
1315 This option exposes the shared memory logger at /dev/smem_log
1316 and a debugfs node named smem_log.
1317
1318 If in doubt, say yes.
1319
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001320config MSM_IPC_LOGGING
1321 bool "MSM Debug Logging for IPC Drivers"
1322 help
1323 This option allows the debug logging for IPC Drivers.
1324
1325 If in doubt, say no.
1326
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001327config MSM_SMD_NMEA
1328 bool "NMEA GPS Driver"
1329 depends on MSM_SMD
1330 default y
1331 help
1332 Enable this to support the NMEA GPS device.
1333
1334 If in doubt, say yes.
1335
1336config MSM_SDIO_TTY
1337 bool "SDIO TTY Driver"
1338 depends on MSM_SDIO_AL
1339 default n
1340 help
1341 Provides a TTY driver SDIO TTY
1342 This driver can be used by user space
1343 applications for passing data through the
1344 SDIO interface.
1345
1346config MSM_SMD_TTY
1347 bool "SMD TTY Driver"
1348 depends on MSM_SMD
1349 default y
1350 help
1351 Provides TTY interfaces to interact with the modem.
1352
1353 If in doubt, say yes.
1354
1355config MSM_SMD_QMI
1356 bool "SMD QMI Driver"
1357 depends on MSM_SMD
1358 default y
1359 help
1360 Manages network data connections.
1361
1362 If in doubt, say yes.
1363
1364config MSM_SMD_PKT
1365 bool "SMD Packet Driver"
1366 depends on MSM_SMD
1367 default y
1368 help
1369 Provides a binary SMD non-muxed packet port interface.
1370
1371 If in doubt, say yes.
1372
1373config MSM_SDIO_CMUX
1374 bool "SDIO CMUX Driver"
1375 depends on MSM_SDIO_AL
1376 default n
1377 help
1378 Provides a Muxed port interface over SDIO QMI
1379
1380config MSM_DSPS
1381 bool "Sensors DSPS driver"
1382 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1383 default n
1384 help
1385 Provides user-space interface to the sensors manager
1386 to turn on/off the Sensors Processor system clocks.
1387 It is the DSPS responsibility to turn on/off the sensors
1388 themself.
1389 The number of clocks and their name may vary between targets.
1390 It also triggers the PIL to load the DSPS firmware.
1391
1392config MSM_SDIO_CTL
1393 bool "SDIO CTL Driver"
1394 depends on MSM_SDIO_CMUX
1395 default n
1396 help
1397 Provides a binary SDIO control port interface.
1398
1399config MSM_ONCRPCROUTER
1400 depends on MSM_SMD
1401 default n
1402 bool "MSM ONCRPC router support"
1403 help
1404 Support for the MSM ONCRPC router for communication between
1405 the ARM9 and ARM11
1406
1407config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001408 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001409 default n
1410 bool "MSM IPC Router support"
1411 help
1412 Support for the MSM IPC Router for communication between
1413 the APPs and the MODEM
1414
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001415config MSM_IPC_ROUTER_SMD_XPRT
1416 depends on MSM_SMD
1417 depends on MSM_IPC_ROUTER
1418 default n
1419 bool "MSM SMD XPRT Layer"
1420 help
1421 SMD Transport Layer for IPC Router
1422
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001423config MSM_ONCRPCROUTER_DEBUG
1424 depends on MSM_ONCRPCROUTER
1425 default y
1426 bool "MSM debug ONCRPC router support"
1427 help
1428 Support for debugging the ONCRPC router for communication
1429 between the ARM9 and ARM11
1430
1431config MSM_RPC_LOOPBACK_XPRT
1432 depends on MSM_ONCRPCROUTER
1433 default n
1434 bool "MSM RPC local routing support"
1435 help
1436 Support for routing RPC messages between APPS clients
1437 and APPS servers. Helps in testing APPS RPC framework.
1438
1439config MSM_RPCSERVER_TIME_REMOTE
1440 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1441 default y
1442 bool "Time remote RPC server"
1443 help
1444 The time remote server receives notification of time bases and
1445 reports these events to registered callback functions.
1446
1447config MSM_RPCSERVER_WATCHDOG
1448 depends on MSM_ONCRPCROUTER
1449 default y
1450 bool "Watchdog RPC server"
1451 help
1452 The dog_keepalive server handles watchdog events.
1453
1454config MSM_RPC_WATCHDOG
1455 depends on MSM_ONCRPCROUTER
1456 default n
1457 bool "Watchdog RPC client"
1458 help
1459 The dog_keepalive client module.
1460
1461config MSM_RPC_PING
1462 depends on MSM_ONCRPCROUTER && DEBUG_FS
1463 default m
1464 bool "MSM rpc ping"
1465 help
1466 Implements MSM rpc ping test module.
1467
1468config MSM_RPC_PROC_COMM_TEST
1469 depends on DEBUG_FS && MSM_PROC_COMM
1470 default m
1471 bool "MSM rpc proc comm test"
1472 help
1473 Implements MSM rpc proc comm test module.
1474
1475config MSM_RPC_OEM_RAPI
1476 depends on MSM_ONCRPCROUTER
1477 default m
1478 bool "MSM oem rapi"
1479 help
1480 Implements MSM oem rapi client module.
1481
1482config MSM_RPCSERVER_HANDSET
1483 depends on MSM_ONCRPCROUTER
1484 default y
1485 bool "Handset events RPC server"
1486 help
1487 Support for receiving handset events like headset detect,
1488 headset switch and clamshell state.
1489
1490config MSM_RMT_STORAGE_CLIENT
1491 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1492 default n
1493 bool "Remote Storage RPC client"
1494 help
1495 Provide RPC mechanism for remote processors to access storage
1496 device on apps processor.
1497
1498config MSM_RMT_STORAGE_CLIENT_STATS
1499 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1500 default n
1501 bool "Remote storage RPC client performance statistics"
1502 help
1503 Collects performance statistics and shows this information
1504 through a debugfs file rmt_storage_stats.
1505
1506config MSM_SDIO_SMEM
1507 depends on MSM_SDIO_AL
1508 default n
1509 bool "SDIO SMEM for remote storage"
1510 help
1511 Copies data from remote MDM9K memory to local MSM8x60
1512 memory. Used by remote storage client to shadow
1513 MDM9K filesystem.
1514
1515config MSM_DALRPC
1516 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001517 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001518 help
1519 Supports RPC calls to DAL devices on remote processor cores.
1520
1521config MSM_DALRPC_TEST
1522 tristate "DAL RPC test module"
1523 depends on (MSM_DALRPC && DEBUG_FS)
1524 default m
1525 help
1526 Exercises DAL RPC calls to QDSP6.
1527
1528if CPU_FREQ_MSM
1529
1530config MSM_CPU_FREQ_SET_MIN_MAX
1531 bool "Set Min/Max CPU frequencies."
1532 default n
1533 help
1534 Allow setting min and max CPU frequencies. Sysfs can be used
1535 to override these values.
1536
1537config MSM_CPU_FREQ_MAX
1538 int "Max CPU Frequency"
1539 depends on MSM_CPU_FREQ_SET_MIN_MAX
1540 default 384000
1541
1542config MSM_CPU_FREQ_MIN
1543 int "Min CPU Frequency"
1544 depends on MSM_CPU_FREQ_SET_MIN_MAX
1545 default 245760
1546
1547endif # CPU_FREQ_MSM
1548
1549config MSM_CPU_AVS
1550 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1551 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1552 depends on ARCH_QSD8X50
1553 default n
1554 select MSM_AVS_HW
1555 help
1556 This enables the s/w control of Adaptive Voltage Scaling feature
1557 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1558 based on feedback from three ring oscillators in the CPU.
1559
1560config MSM_AVS_HW
1561 bool "Enable Adaptive Voltage Scaling (AVS)"
1562 default n
1563 help
1564 Enable AVS hardware to fine tune voltage at each frequency. The
1565 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1566 fine tune the voltages based on the feedback from the ring
1567 oscillators.
1568
1569config MSM_HW3D
1570 tristate "MSM Hardware 3D Register Driver"
1571 depends on ANDROID_PMEM
1572 default y
1573 help
1574 Provides access to registers needed by the userspace OpenGL|ES
1575 library.
1576
1577config MSM_ADSP
1578 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1579 tristate "MSM ADSP driver"
1580 depends on ANDROID_PMEM
1581 default y
1582 help
1583 Provides access to registers needed by the userspace aDSP library.
1584
1585config ADSP_RPC_VER
1586 hex
1587 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1588 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1589 depends on MSM_ADSP
1590 help
1591 Select proper ADSP RPC version
1592choice
1593 prompt "ADSP RPC version"
1594
1595 default AMSS_7X25_VERSION_2009
1596
1597 config AMSS_7X25_VERSION_2009
1598 bool "2.0.09"
1599
1600 config AMSS_7X25_VERSION_2008
1601 bool "2.0.08"
1602endchoice
1603
1604config MSM7KV2_AUDIO
1605 bool "MSM7K v2 audio"
1606 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1607 default y
1608 help
1609 Enables QDSP5V2-based audio drivers for audio playbacks and
1610 voice call.
1611
1612config MSM_ADSP_REPORT_EVENTS
1613 bool "Report modem events from the DSP"
1614 default y
1615 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1616 help
1617 Normally, only messages from the aDSP are reported to userspace.
1618 With this option, we report events from the aDSP as well.
1619
1620config MSM_QDSP6
1621 tristate "QDSP6 support"
1622 depends on ARCH_QSD8X50 && ANDROID_PMEM
1623 default y
1624 help
1625 Enable support for qdsp6. This provides audio and video functionality.
1626
1627config MSM8X60_AUDIO
1628 tristate "MSM8X60 audio support"
1629 depends on ARCH_MSM8X60 && ANDROID_PMEM
1630 default y
1631 help
1632 Enable support for qdsp6v2. This provides audio functionality.
1633
1634config MSM8X60_FTM_AUDIO_DEVICES
1635 bool "MSM8X60 audio factory test mode support"
1636 depends on MSM8X60_AUDIO
1637 help
1638 Enable support audio factory test mode devices. This is used
1639 in a production line environment.
1640
Ben Romberger45b351c2011-07-20 22:37:27 -07001641config RTAC
1642 bool "MSM8K real-time audio calibration support"
1643 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001644 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001645 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001646 audio operation
1647
1648config MSM7X27A_AUDIO
1649 bool "MSM7X27A audio support"
1650 depends on ARCH_MSM7X27A && MSM_ADSP
1651 default n
1652 help
1653 Enable support for 7x27a. This provides audio functionality.
1654
Justin Pauporea6cd2092011-06-22 16:19:45 -07001655config MSM_PROC_COMM_REGULATOR
1656 bool
1657 depends on MSM_PROC_COMM && REGULATOR
1658 help
1659 Enable regulator framework support for regulators managed by PMLIB
1660 on the modem, and controlled through proccomm calls.
1661
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001662config MSM_VREG_SWITCH_INVERTED
1663 bool "Reverse vreg switch polarity"
1664 default n
1665 help
1666 Reverses the enable and disable for vreg switch.
1667
1668config MSM_DMA_TEST
1669 tristate "MSM DMA test module"
1670 default m
1671 help
1672 Intended to be compiled as a module. Provides a device node
1673 and ioctls for testing the MSM dma system.
1674
1675config WIFI_CONTROL_FUNC
1676 bool "Enable WiFi control function abstraction"
1677 help
1678 Enables Power/Reset/Carddetect function abstraction
1679
1680config WIFI_MEM_PREALLOC
1681 depends on WIFI_CONTROL_FUNC
1682 bool "Preallocate memory for WiFi buffers"
1683 help
1684 Preallocates memory buffers for WiFi driver
1685
1686config QSD_AUDIO
1687 bool "QSD audio"
1688 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1689 default y
1690 help
1691 Provides PCM, MP3, and AAC audio playback.
1692
1693config AUDIO_AAC_PLUS
1694 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1695 bool "AAC+ Audio"
1696 default y
1697 help
1698 Provides AAC+ decoding
1699
1700config AUDIO_ENHANCED_AAC_PLUS
1701 depends on AUDIO_AAC_PLUS
1702 bool "Enhanced AAC+ Audio"
1703 default y
1704 help
1705 Provides Enhanced AAC+ decoding
1706
1707config SURF_FFA_GPIO_KEYPAD
1708 bool "MSM SURF/FFA GPIO keypad"
1709 depends on INPUT_GPIO = "y"
1710 default y
1711 help
1712 Select if the GPIO keypad is attached.
1713
1714config MSM_SLEEP_TIME_OVERRIDE
1715 bool "Allow overriding suspend/sleep time with PM module parameter"
1716 default y
1717 help
1718 Enable the module parameter sleep_time_override. Specified
1719 in units of seconds, it overwrites the normal sleep time of
1720 suspend. The feature is required for automated power management
1721 testing.
1722
1723config MSM_MEMORY_LOW_POWER_MODE
1724 bool "Control the low power modes of memory"
1725 default n
1726 help
1727 The application processor controls whether memory should enter
1728 which low power mode.
1729
1730choice
1731 prompt "Default Memory Low Power Mode during Idle"
1732 depends on MSM_MEMORY_LOW_POWER_MODE
1733 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1734 help
1735 Selects the default low power mode of the memory during idle
1736 sleep.
1737
1738 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1739 bool "Memory active"
1740
1741 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1742 bool "Memory in retention"
1743
1744 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1745 bool "Memory in deep power down"
1746endchoice
1747
1748choice
1749 prompt "Default Memory Low Power Mode during Suspend"
1750 depends on MSM_MEMORY_LOW_POWER_MODE
1751 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1752 help
1753 Selects the default low power mode of the memory during suspend
1754 sleep.
1755
1756 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1757 bool "Memory active"
1758
1759 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1760 bool "Memory in retention"
1761
1762 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1763 bool "Memory in deep power down"
1764endchoice
1765
1766choice
1767 prompt "Power management timeout action"
1768 default MSM_PM_TIMEOUT_HALT
1769 help
1770 Selects the Application Processor's action when Power Management
1771 times out waiting for Modem's handshake.
1772
1773 config MSM_PM_TIMEOUT_HALT
1774 bool "Halt the Application Processor"
1775
1776 config MSM_PM_TIMEOUT_RESET_MODEM
1777 bool "Reset the Modem Processor"
1778
1779 config MSM_PM_TIMEOUT_RESET_CHIP
1780 bool "Reset the entire chip"
1781endchoice
1782
1783config MSM_IDLE_WAIT_ON_MODEM
1784 int "Wait for Modem to become ready for idle power collapse"
1785 default 0
1786 help
1787 If Modem is not ready to handle Application Processor's request
1788 for idle power collapse, wait the number of microseconds in case
1789 Modem becomes ready soon.
1790
Matt Wagantall9274df92011-12-15 11:11:05 -08001791config MSM_RPM_REGULATOR
1792 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001793 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001794 help
1795 Compile in support for the RPM regulator driver, used for setting
1796 voltages and other parameters of the various power rails supplied
1797 by some Qualcomm PMICs.
1798
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001799config MSM_PIL
1800 bool "Peripheral image loading"
1801 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001802 default n
1803 help
1804 Some peripherals need to be loaded into memory before they can be
1805 brought out of reset.
1806
1807 Say yes to support these devices.
1808
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001809config MSM_PIL_MODEM
1810 tristate "Modem (ARM11) Boot Support"
1811 depends on MSM_PIL
1812 help
1813 Support for booting and shutting down ARM11 Modem processors.
1814
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001815config MSM_PIL_QDSP6V3
1816 tristate "QDSP6v3 (Hexagon) Boot Support"
1817 depends on MSM_PIL
1818 help
1819 Support for booting and shutting down QDSP6v3 processors (hexagon).
1820 The QDSP6 is a low power DSP used in audio software applications.
1821
Stephen Boydeb819882011-08-29 14:46:30 -07001822config MSM_PIL_QDSP6V4
1823 tristate "QDSP6v4 (Hexagon) Boot Support"
1824 depends on MSM_PIL
1825 help
1826 Support for booting and shutting down QDSP6v4 processors (hexagon).
1827 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1828 software applications.
1829
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001830config MSM_PIL_LPASS_QDSP6V5
1831 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
1832 depends on MSM_PIL
1833 help
1834 Support for booting and shutting down QDSP6v5 processors (Hexagon)
1835 processors in low power audio subsystems.
1836
Stephen Boyd322a9922011-09-20 01:05:54 -07001837config MSM_PIL_RIVA
1838 tristate "RIVA (WCNSS) Boot Support"
1839 depends on MSM_PIL
1840 help
1841 Support for booting and shutting down the RIVA processor (WCNSS).
1842 Riva is the wireless subsystem processor used in bluetooth, wireless
1843 LAN, and FM software applications.
1844
Stephen Boydd89eebe2011-09-28 23:28:11 -07001845config MSM_PIL_TZAPPS
1846 tristate "TZApps Boot Support"
1847 depends on MSM_PIL
1848 help
1849 Support for booting and shutting down TZApps.
1850
1851 TZApps is an image that runs in the secure processor state. It is
1852 used to decrypt data and perform secure operations on the behalf of
1853 the kernel.
1854
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07001855config MSM_PIL_DSPS
1856 tristate "DSPS Boot Support"
1857 depends on MSM_PIL
1858 help
1859 Support for booting and shutting down ARM7 DSPS processors.
1860
1861 DSPS is a sensors offloading processor used for applications such
1862 as rotation detection, temperature, etc.
1863
Stephen Boyd7b973de2012-03-09 12:26:16 -08001864config MSM_PIL_VIDC
1865 tristate "Video Core Secure Boot Support"
1866 depends on MSM_PIL
1867 help
1868 Support for authenticating the video core image.
1869
Matt Wagantall292aace2012-01-26 19:12:34 -08001870config MSM_PIL_GSS
1871 tristate "GSS (Coretx A5) Boot Support"
1872 depends on MSM_PIL
1873 help
1874 Support for booting and shutting down Cortex A5 processors which run
1875 GPS subsystem firmware.
1876
Tianyi Gouc1e049f82011-11-23 14:20:16 -08001877config MSM_PIL_PRONTO
1878 tristate "PRONTO (WCNSS) Boot Support"
1879 depends on MSM_PIL
1880 help
1881 Support for booting and shutting down the PRONTO processor (WCNSS).
1882 PRONTO is the wireless subsystem processor used in bluetooth, wireless
1883 LAN, and FM software applications.
1884
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001885config MSM_SCM
1886 bool "Secure Channel Manager (SCM) support"
1887 default n
1888
1889config MSM_SUBSYSTEM_RESTART
1890 bool "MSM Subsystem Restart Driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001891 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001892 default n
1893 help
1894 This option enables the MSM subsystem restart driver, which provides
1895 a framework to handle subsystem crashes.
1896
Matt Wagantallf8020902011-08-30 21:19:23 -07001897config MSM_SYSMON_COMM
1898 bool "MSM System Monitor communication support"
1899 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1900 default y
1901 help
1902 This option adds support for MSM System Monitor library, which
1903 provides an API that may be used for notifying subsystems within
1904 the SoC about other subsystems' power-up/down state-changes.
1905
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001906config MSM_MODEM_8960
1907 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001908 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001909 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001910 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001911 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001912 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001913
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001914config MSM_LPASS_8960
1915 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001916 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001917 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001918 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001919 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001920 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001921
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001922config MSM_WCNSS_SSR_8960
1923 tristate "MSM 8960 WCNSS restart module"
1924 depends on (ARCH_MSM8960)
1925 help
1926 This option enables the WCNSS restart module for MSM8960, which
1927 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1928 into the subsystem restart framework.
1929
Rohit Vaswanid0fb4182012-03-19 18:07:59 -07001930config MSM_GSS_SSR_8064
1931 bool "MSM 8064 GSS restart driver"
1932 depends on (ARCH_APQ8064)
1933 help
1934 This option enables the gps subsystem restart driver for APQ8064, which monitors
1935 gss hardware watchdog interrupt lines and plugs into the subsystem
1936 restart and PIL drivers.
1937
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001938config SCORPION_Uni_45nm_BUG
1939 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1940 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1941 default y
1942 help
1943 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1944 invalidating the Branch Predictor Array by Modified Virtual Address can
1945 create invalid entries in the TLB with the wrong ASID values on Scorpion
1946 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1947 workaround for Scorpion Uniprocessor 45nm cores.
1948
1949 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1950
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001951config MSM_BUSPM_DEV
1952 tristate "MSM Bus Performance Monitor Kernel Module"
1953 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1954 default m
1955 help
1956 This kernel module is used to mmap() hardware registers for the
1957 performance monitors, counters, etc. The module can also be used to
1958 allocate physical memory which is used by bus performance hardware to
1959 dump performance data.
1960
Mona Hossain11c03ac2011-10-26 12:42:10 -07001961config MSM_TZ_LOG
1962 tristate "MSM Trust Zone (TZ) Log Driver"
1963 depends on DEBUG_FS
1964 help
1965 This option enables a driver with a debugfs interface for messages
1966 produced by the Secure code (Trust zone). These messages provide
1967 diagnostic information about TZ operation.
1968
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001969config MSM_RPM_LOG
1970 tristate "MSM Resource Power Manager Log Driver"
1971 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001972 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001973 default n
1974 help
1975 This option enables a driver which can read from a circular buffer
1976 of messages produced by the RPM. These messages provide diagnostic
1977 information about RPM operation. The driver outputs the messages
1978 via a debugfs node.
1979
1980config MSM_RPM_STATS_LOG
1981 tristate "MSM Resource Power Manager Stat Driver"
1982 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001983 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001984 default n
1985 help
1986 This option enables a driver which reads RPM messages from a shared
1987 memory location. These messages provide statistical information about
1988 the low power modes that RPM enters. The drivers outputs the message
1989 via a debugfs node.
1990
1991config MSM_IOMMU
1992 bool "MSM IOMMU Support"
Joel King41d594e2011-10-14 13:18:20 -07001993 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_APQ8064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001994 select IOMMU_API
1995 default n
1996 help
1997 Support for the IOMMUs found on certain Qualcomm SOCs.
1998 These IOMMUs allow virtualization of the address space used by most
1999 cores within the multimedia subsystem.
2000
2001 If unsure, say N here.
2002
2003config IOMMU_PGTABLES_L2
2004 bool "Allow SMMU page tables in the L2 cache (Experimental)"
2005 depends on MSM_IOMMU=y
2006 depends on MMU
2007 depends on CPU_DCACHE_DISABLE=n
2008 depends on SMP
2009 default y
2010 help
2011 Improves TLB miss latency at the expense of potential L2 pollution.
2012 However, with large multimedia buffers, the TLB should mostly contain
2013 section mappings and TLB misses should be quite infrequent.
2014 Most people can probably say Y here.
2015
2016config MSM_DIRECT_SCLK_ACCESS
2017 bool "Direct access to the SCLK timer"
2018 default n
2019
2020config IOMMU_API
2021 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07002022
Gregory Beanab78cde2010-09-01 16:26:12 -07002023config MSM_GPIOMUX
2024 bool
2025
Gregory Bean1963a2a2010-08-28 10:05:44 -07002026config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002027 bool
2028
2029config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07002030 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002031
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002032config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002033 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002034
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002035config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002036 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002037
Matt Wagantall88b86312012-01-31 16:53:03 -08002038config MSM_PM2
2039 depends on PM
2040 bool
2041
2042config MSM_PM8X60
2043 depends on PM
2044 bool
2045
2046config MSM_NOPM
2047 default y if !PM
2048 bool
2049
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002050config MSM_BUS_SCALING
2051 bool "Bus scaling driver"
2052 default n
2053
Gagan Mac85c70492011-06-10 16:07:47 -06002054config MSM_BUS_RPM_MULTI_TIER_ENABLED
2055 bool "RPM Multi-tiering Configuration"
2056 depends on MSM_BUS_SCALING
2057
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002058config MSM_WATCHDOG
2059 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002060 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002061 help
2062 This enables the watchdog as is present on 8x60. Currently we use
2063 core 0's watchdog, and reset the entire SoC if it times out. It does
2064 not run during the bootup process, so it will not catch any early
2065 lockups.
2066
2067config MSM_DLOAD_MODE
2068 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07002069 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002070 default n
2071 help
2072 This makes the SoC enter download mode when it resets
2073 due to a kernel panic. Note that this doesn't by itself
2074 make the kernel reboot on a kernel panic - that must be
2075 enabled via another mechanism.
2076
Pratik Patel17f3b822011-11-21 12:41:47 -08002077config MSM_JTAG
2078 bool "JTAG debug and trace support"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002079 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002080 Add additional support for JTAG kernel debugging and tracing.
Pratik Patel7831c082011-06-08 21:44:37 -07002081
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002082config MSM_ETM
2083 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002084 depends on ARCH_MSM8X60
2085 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002086 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002087 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002088
2089config MSM_QDSS
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002090 bool "Qualcomm Debug Subsystem"
Pratik Patel17f3b822011-11-21 12:41:47 -08002091 select MSM_JTAG
Pratik Patel7831c082011-06-08 21:44:37 -07002092 help
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002093 Enables support for Qualcomm Debug Subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002094
Pratik Patel29cba152012-01-03 11:40:26 -08002095config MSM_QDSS_ETM_DEFAULT_ENABLE
2096 bool "Turn on QDSS ETM Tracing by Default"
2097 depends on MSM_QDSS
2098 help
2099 Turns on QDSS ETM tracing by default. Otherwise, tracing is
2100 disabled by default but can be enabled by other means.
2101
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002102config MSM_SLEEP_STATS
2103 bool "Enable exporting of MSM sleep stats to userspace"
2104 depends on CPU_IDLE
2105 default n
2106
Lynus Vazdde09ee2012-01-05 13:28:22 +05302107config MSM_SLEEP_STATS_DEVICE
2108 bool "Enable exporting of MSM sleep device stats to userspace"
2109
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302110config MSM_RUN_QUEUE_STATS
2111 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Krishna Vankae2922052012-03-02 09:59:12 +05302112 depends on (MSM_SOC_REV_A || ARCH_MSM8X60 || ARCH_MSM8960)
2113 help
2114 This option enalbes statistics collection on Run Queue. A daemon
2115 in user mode, called MPDecision will be using this data to decide
2116 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302117
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002118config MSM_STANDALONE_POWER_COLLAPSE
2119 bool "Enable standalone power collapse"
2120 default n
2121
2122config MSM_GSBI9_UART
2123 bool "Enable GSBI9 UART device"
2124 default n
2125 help
2126 This enables GSBI9 configured into UART.
2127
2128config MSM_SHARED_GPIO_FOR_UART2DM
2129 bool "Use shared GPIOs into UART mode"
2130 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2131 help
2132 This option configures GPIO muxed with SDC4/MMC3
2133 8-bit mode into UART mode. It is used for serial
2134 console on UART2DM. Say Y if you want to have
2135 serial console on UART2DM.
2136
2137config MSM_SHOW_RESUME_IRQ
2138 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002139 depends on (ARM_GIC || PMIC8058)
2140 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002141 default n
2142 help
2143 This option logs wake up interrupts that have triggered just before
2144 the resume loop unrolls. Say Y if you want to debug why the system
2145 resumed.
2146
2147config BT_MSM_PINTEST
2148 tristate "MSM Bluetooth Pin Connectivity Test"
2149 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2150 default n
2151 help
2152 Bluetooth MSM Pin Connectivity test module.
2153 This driver provides support for verifying the MSM to BT pin
2154 connectivity.
2155
2156config MSM_FAKE_BATTERY
2157 depends on POWER_SUPPLY
2158 default n
2159 bool "MSM Fake Battery"
2160 help
2161 Enables MSM fake battery driver.
2162
2163config MSM_QDSP6_APR
2164 bool "Audio QDSP6 APR support"
2165 depends on MSM_SMD
2166 default n
2167 help
2168 Enable APR IPC protocol support between
2169 application processor and QDSP6. APR is
2170 used by audio driver to configure QDSP6's
2171 ASM, ADM and AFE.
2172
2173
2174config MSM_AUDIO_QDSP6
2175 bool "QDSP6 HW Audio support"
2176 select SND_SOC_MSM_QDSP6_INTF
2177 default n
2178 help
2179 Enable HW audio support in QDSP6.
2180 QDSP6 can support HW encoder & decoder and audio processing
2181
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002182config MSM_ULTRASOUND
2183 bool "MSM ultrasound support"
2184 depends on MSM_AUDIO_QDSP6
2185 help
2186 Enable support for qdsp6/ultrasound.
2187
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002188config MSM_RPC_VIBRATOR
2189 bool "RPC based MSM Vibrator Support"
2190 depends on MSM_ONCRPCROUTER
2191 help
2192 Enable the vibrator support on MSM over RPC. The vibrator
2193 is connected on the PMIC. Say Y if you want to enable this
2194 feature.
2195
2196config PM8XXX_RPC_VIBRATOR
2197 bool "RPC based Vibrator on PM8xxx PMICs"
2198 depends on MSM_RPC_VIBRATOR
2199 help
2200 Enable the vibrator support on MSM over RPC. The vibrator
2201 is connected on the PM8XXX PMIC. Say Y if you want to enable
2202 this feature.
2203
2204config MSM_SPM_V1
2205 bool "Driver support for SPM Version 1"
2206 help
2207 Enables the support for Version 1 of the SPM driver. SPM hardware is
2208 used to manage the processor power during sleep. The driver allows
2209 configuring SPM to allow different power modes.
2210
2211config MSM_SPM_V2
2212 bool "Driver support for SPM Version 2"
2213 help
2214 Enables the support for Version 2 of the SPM driver. SPM hardware is
2215 used to manage the processor power during sleep. The driver allows
2216 configuring SPM to allow different power modes.
2217
2218config MSM_L2_SPM
2219 bool "SPM support for L2 cache"
2220 depends on MSM_SPM_V2
2221 help
2222 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2223 control of L2 cache low power mode with a Subsystem Power manager.
2224 Enabling this driver allows configuring L2 SPM for low power modes
2225 on supported chipsets.
2226
Laura Abbott2d1760b2011-09-29 21:31:24 -07002227config MSM_MULTIMEDIA_USE_ION
2228 bool "Multimedia suport using Ion"
2229 depends on ION_MSM
2230 help
2231 Enable support for multimedia drivers using Ion for buffer management
2232 instead of pmem. Selecting this may also involve userspace
2233 dependencies as well.
2234
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002235config MSM_OCMEM
2236 bool "MSM On-Chip memory driver (OCMEM)"
2237 help
2238 Enable support for On-Chip Memory available on certain MSM chipsets.
2239 OCMEM is a low latency, high performance pool shared by subsystems.
2240
Laura Abbottad340ff2012-01-04 14:23:48 -08002241config MSM_RTB
2242 bool "Register tracing"
2243 help
2244 Add support for logging different events to a small uncached
2245 region. This is designed to aid in debugging reset cases where the
2246 caches may not be flushed before the target resets.
2247
2248config MSM_RTB_SEPARATE_CPUS
2249 bool "Separate entries for each cpu"
2250 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002251 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002252 help
2253 Under some circumstances, it may be beneficial to give dedicated space
2254 for each cpu to log accesses. Selecting this option will log each cpu
2255 separately. This will guarantee that the last acesses for each cpu
2256 will be logged but there will be fewer entries per cpu
2257
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002258config MSM_CACHE_ERP
2259 bool "Cache / CPU error reporting"
2260 depends on ARCH_MSM_KRAIT
2261 help
2262 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2263 log. Enabling this feature can be used as a system debugging technique
2264 if cache corruption is suspected. Cache error statistics will also be
2265 reported in /proc/cpu/msm_cache_erp.
2266
2267 For production builds, you should probably say 'N' here.
2268
2269config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002270 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002271 depends on MSM_CACHE_ERP
2272 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002273 To cause the kernel to panic whenever an L1 cache error is detected, say
2274 'Y' here. This may be useful as a debugging technique if general system
2275 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002276
2277 For production builds, you should probably say 'N' here.
2278
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002279config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2280 bool "Report L2 master port slave/decode errors in kernel log"
2281 depends on MSM_CACHE_ERP
2282 help
2283 Master port errors can occur when a memory request is not properly
2284 handled by the destination slave. This can occur if the destination
2285 register does not exist or is inaccessible due to security
2286 restrictions or (in some cases) clock configuration. Enabling this
2287 option will cause a backtrace to be printed to the kernel log whenever
2288 such an error is encountered. Note that the error is reported as an
2289 interrupt rather than as an exception, meaning that the backtrace may
2290 have some skid. This option may help with debugging, though production
2291 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002292
2293config MSM_L2_ERP_PORT_PANIC
2294 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002295 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002296 help
2297 Master port errors can occur when a memory request is not properly
2298 handled by the destination slave. Enable this option to catch drivers
2299 which attempt to access bad areas of the address space, or access
2300 hardware registers in an improper state (such as certain clocks not
2301 being on). This option may help with debugging, though production
2302 builds should probably say 'N' here.
2303
2304config MSM_L2_ERP_1BIT_PANIC
2305 bool "Panic on recoverable L2 soft errors"
2306 depends on MSM_CACHE_ERP
2307 help
2308 Enable this option to cause a kernel panic whenever the L2 cache
2309 encounters a single-bit (correctable) soft error. This option should
2310 only be enabled when doing low-level debugging where cache corruption
2311 is suspected.
2312
2313 For production builds, you should definitely say 'N' here.
2314
2315config MSM_L2_ERP_2BIT_PANIC
2316 bool "Panic on unrecoverable L2 soft errors"
2317 depends on MSM_CACHE_ERP
2318 help
2319 Enable this option to cause a kernel panic whenever the L2 cache
2320 encounters a double-bit (non-correctable) soft error. Debug builds
2321 will likely benefit from having this option enabled to catch cache
2322 problems as soon as possible.
2323
2324 For production builds, it may be acceptable to say 'N' here, since
2325 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002326
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002327config MSM_DCVS
2328 bool "Use MSM DCVS for CPU/GPU Frequency control"
2329 depends on MSM_SCM
2330 help
2331 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2332 The DCVS manager allows idle driver to feed the idle information to the
2333 algorithm and the algorithm returns a frequency for the core which is
2334 passed to the frequency change driver.
2335
Taniya Dasc43e6872012-03-21 16:41:14 +05302336config HAVE_ARCH_HAS_CURRENT_TIMER
2337 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002338
2339config MSM_CACHE_DUMP
2340 bool "Cache dumping support"
2341 help
2342 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2343 This allows for analysis of the caches in case cache corruption is
2344 suspected.
2345
Laura Abbott7b637362012-03-29 16:43:49 -07002346config MSM_CACHE_DUMP_ON_PANIC
2347 bool "Dump caches on panic"
2348 depends on MSM_CACHE_DUMP
2349 help
2350 By default, the caches are flushed on panic. This means that trying to
2351 look at them in a RAM dump will give useless data. Select this if you
2352 want to dump the L1 and L2 caches on panic before any flush occurs.
2353 If unsure, say N
2354
Jack Phamccbbfab2012-04-09 19:50:20 -07002355config MSM_HSIC_SYSMON
2356 tristate "MSM HSIC system monitor driver"
2357 depends on USB
2358 help
2359 Add support for bridging with the system monitor interface of MDM
2360 over HSIC. This driver allows the local system monitor to
2361 communicate with the remote system monitor interface.
2362
2363config MSM_HSIC_SYSMON_TEST
2364 tristate "MSM HSIC system monitor bridge test"
2365 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2366 help
2367 Enable the test hook for the Qualcomm system monitor HSIC driver.
2368 This will create a debugfs file entry named "hsic_sysmon_test" which
2369 can be read and written to send character data to the sysmon port of
2370 the modem over USB.
2371
Brian Swetland9e73c842007-11-26 04:12:13 -08002372endif