blob: 4996e904f14ed959c38caeac9dc34db4d7e1cc7a [file] [log] [blame]
Brian Swetland1637de02008-09-09 07:13:33 -07001if ARCH_MSM
Brian Swetland9e73c842007-11-26 04:12:13 -08002
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -07003menu "MSM SoC Type"
Daniel Walkerbf83de42010-03-16 16:29:44 -07004
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07005config ARCH_MSM7X01A
Daniel Walkerbf83de42010-03-16 16:29:44 -07006 bool "MSM7x00A / MSM7x01A"
7 select ARCH_MSM_ARM11
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07008 select MSM_VIC
Daniel Walkerbf83de42010-03-16 16:29:44 -07009 select CPU_V6
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070010 select MSM_REMOTE_SPINLOCK_SWP
Matt Wagantall88b86312012-01-31 16:53:03 -080011 select MSM_PM if PM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070012
13config ARCH_MSM7X25
14 bool "MSM7x25"
15 select ARCH_MSM_ARM11
16 select MSM_VIC
17 select CPU_V6
18 select MSM_REMOTE_SPINLOCK_SWP
Taniya Dasbe561a02011-10-12 09:53:11 +053019 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -080020 select MSM_PM if PM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070021
22config ARCH_MSM7X27
23 bool "MSM7x27"
24 select ARCH_MSM_ARM11 if MSM_SOC_REV_NONE
25 select ARCH_HAS_BARRIERS if MSM_SOC_REV_NONE
26 select ARCH_MSM_CORTEX_A5 if MSM_SOC_REV_A
27 select MSM_VIC
28 select CPU_V6 if MSM_SOC_REV_NONE
29 select CPU_V7 if MSM_SOC_REV_A
30 select MSM_REMOTE_SPINLOCK_SWP if MSM_SOC_REV_NONE
31 select MSM_GPIOMUX
32 select REGULATOR
Taniya Dasbe561a02011-10-12 09:53:11 +053033 select MULTI_IRQ_HANDLER
Pankaj Kumar75c86fd2011-10-01 18:51:09 +053034 select MSM_PROC_COMM_REGULATOR
Laura Abbott1fbd2e62011-12-18 10:26:46 -080035 select CLEANCACHE
36 select QCACHE
Matt Wagantall88b86312012-01-31 16:53:03 -080037 select MSM_PM2 if PM
Krishna Vankae2922052012-03-02 09:59:12 +053038 select MSM_RUN_QUEUE_STATS if MSM_SOC_REV_A
Daniel Walkerbf83de42010-03-16 16:29:44 -070039
Daniel Walker7b521612010-05-06 12:44:57 -070040config ARCH_MSM7X30
41 bool "MSM7x30"
42 select ARCH_MSM_SCORPION
Daniel Walker7b521612010-05-06 12:44:57 -070043 select MSM_VIC
44 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070045 select MSM_REMOTE_SPINLOCK_DEKKERS
46 select ARCH_SPARSEMEM_ENABLE
Laura Abbott78593b52011-09-26 18:48:14 -070047 select ARCH_HAS_HOLES_MEMORYMODEL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070048 select MEMORY_HOTPLUG
49 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -080050 select ARCH_ENABLE_MEMORY_HOTPLUG
51 select ARCH_ENABLE_MEMORY_HOTREMOVE
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070052 select MIGRATION
53 select ARCH_MEMORY_PROBE
54 select ARCH_MEMORY_REMOVE
Gregory Beanab78cde2010-09-01 16:26:12 -070055 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070056 select RESERVE_FIRST_PAGE
57 select MSM_DALRPC
58 select MSM_SPM_V1
59 select REGULATOR
Justin Paupore637a25d2011-07-14 17:11:04 -070060 select MSM_PROC_COMM_REGULATOR
Taniya Dasbae99fb2011-10-12 09:55:13 +053061 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -080062 select MSM_PM2 if PM
Daniel Walker7b521612010-05-06 12:44:57 -070063
Daniel Walker4ad15e62010-05-06 13:54:17 -070064config ARCH_QSD8X50
65 bool "QSD8X50"
66 select ARCH_MSM_SCORPION
Daniel Walker4ad15e62010-05-06 13:54:17 -070067 select MSM_VIC
68 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070069 select MSM_REMOTE_SPINLOCK_LDREX
70 select CPU_USE_DOMAINS
71 select EMULATE_DOMAIN_MANAGER_V7
Gregory Beanab78cde2010-09-01 16:26:12 -070072 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070073 select MSM_DALRPC
Matt Wagantall88b86312012-01-31 16:53:03 -080074 select MSM_PM2 if PM
Daniel Walker46fe5f22010-08-18 11:00:25 -070075
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070076config ARCH_MSM8X60
77 bool "MSM8X60"
Jeff Ohlsteine14411d2010-11-30 13:06:36 -080078 select ARCH_MSM_SCORPIONMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070079 select SMP_PARALLEL_START if SMP
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070080 select ARM_GIC
81 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070082 select MSM_REMOTE_SPINLOCK_LDREX
83 select ARCH_REQUIRE_GPIOLIB
84 select MSM_ADM3
85 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -080086 select MSM_RPM_REGULATOR
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070087 select MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070088 select MSM_PIL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070089 select ARCH_HAS_CPU_IDLE_WAIT
90 select MSM_DIRECT_SCLK_ACCESS
91 select MSM_RPM
92 select MSM_XO
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070093 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070094 select MSM_BUS_SCALING
95 select MSM_SECURE_IO
96 select MSM_DALRPC
97 select MSM_QDSP6_APR
98 select MSM_NATIVE_RESTART
99 select ARCH_INLINE_SPIN_TRYLOCK
100 select ARCH_INLINE_SPIN_TRYLOCK_BH
101 select ARCH_INLINE_SPIN_LOCK
102 select ARCH_INLINE_SPIN_LOCK_BH
103 select ARCH_INLINE_SPIN_LOCK_IRQ
104 select ARCH_INLINE_SPIN_LOCK_IRQSAVE
105 select ARCH_INLINE_SPIN_UNLOCK
106 select ARCH_INLINE_SPIN_UNLOCK_BH
107 select ARCH_INLINE_SPIN_UNLOCK_IRQ
108 select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
109 select ARCH_INLINE_READ_TRYLOCK
110 select ARCH_INLINE_READ_LOCK
111 select ARCH_INLINE_READ_LOCK_BH
112 select ARCH_INLINE_READ_LOCK_IRQ
113 select ARCH_INLINE_READ_LOCK_IRQSAVE
114 select ARCH_INLINE_READ_UNLOCK
115 select ARCH_INLINE_READ_UNLOCK_BH
116 select ARCH_INLINE_READ_UNLOCK_IRQ
117 select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
118 select ARCH_INLINE_WRITE_TRYLOCK
119 select ARCH_INLINE_WRITE_LOCK
120 select ARCH_INLINE_WRITE_LOCK_BH
121 select ARCH_INLINE_WRITE_LOCK_IRQ
122 select ARCH_INLINE_WRITE_LOCK_IRQSAVE
123 select ARCH_INLINE_WRITE_UNLOCK
124 select ARCH_INLINE_WRITE_UNLOCK_BH
125 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
126 select CPU_HAS_L2_PMU
127 select MSM_SPM_V1
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530128 select MSM_SCM if SMP
129 select MULTI_IRQ_HANDLER
Laura Abbott46505f62011-11-02 18:06:55 -0700130 select MSM_MULTIMEDIA_USE_ION
Matt Wagantall88b86312012-01-31 16:53:03 -0800131 select MSM_PM8X60 if PM
Krishna Vankae2922052012-03-02 09:59:12 +0530132 select MSM_RUN_QUEUE_STATS
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700133
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800134config ARCH_MSM8960
135 bool "MSM8960"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700136 select ARCH_MSM_KRAITMP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800137 select ARM_GIC
138 select CPU_V7
139 select MSM_V2_TLMM
140 select MSM_GPIOMUX
141 select MSM_SCM if SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700142 select MSM_DIRECT_SCLK_ACCESS
143 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -0800144 select MSM_RPM_REGULATOR
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700145 select MSM_RPM
146 select MSM_XO
147 select MSM_QDSP6_APR
148 select MSM_PIL
149 select MSM_AUDIO_QDSP6 if SND_SOC
150 select CPU_HAS_L2_PMU
151 select MSM_SPM_V2
152 select MSM_L2_SPM
153 select MSM_NATIVE_RESTART
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700154 select DONT_MAP_HOLE_AFTER_MEMBANK0
155 select MSM_REMOTE_SPINLOCK_SFPB
156 select ARCH_POPULATES_NODE_MAP
157 select ARCH_SPARSEMEM_ENABLE
158 select ARCH_HAS_HOLES_MEMORYMODEL
Larry Basselb8d61022012-02-24 10:49:45 -0800159 select ENABLE_DMM
160 select MEMORY_HOTPLUG if ENABLE_DMM
161 select MEMORY_HOTREMOVE if ENABLE_DMM
162 select ARCH_ENABLE_MEMORY_HOTPLUG if ENABLE_DMM
163 select ARCH_ENABLE_MEMORY_HOTREMOVE if ENABLE_DMM
164 select MIGRATION if ENABLE_DMM
165 select ARCH_MEMORY_PROBE if ENABLE_DMM
166 select ARCH_MEMORY_REMOVE if ENABLE_DMM
167 select FIX_MOVABLE_ZONE if ENABLE_DMM
Larry Basseld4d82c92011-12-07 09:52:49 -0800168 select CLEANCACHE
169 select QCACHE
Laura Abbott6d61a912011-10-27 16:44:14 -0700170 select MSM_MULTIMEDIA_USE_ION
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530171 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800172 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700173 select HOLES_IN_ZONE if SPARSEMEM
Krishna Vankae2922052012-03-02 09:59:12 +0530174 select MSM_RUN_QUEUE_STATS
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700175
176config ARCH_MSM8930
177 bool "MSM8930"
178 select ARCH_MSM_KRAITMP
179 select ARM_GIC
180 select CPU_V7
181 select MSM_V2_TLMM
182 select MSM_GPIOMUX
183 select MSM_SCM if SMP
184 select MSM_DIRECT_SCLK_ACCESS
185 select REGULATOR
David Collins5779cea2012-01-05 15:09:21 -0800186 select MSM_RPM_REGULATOR
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700187 select MSM_RPM
188 select MSM_XO
189 select MSM_QDSP6_APR
190 select MSM_PIL
191 select MSM_AUDIO_QDSP6 if SND_SOC
192 select CPU_HAS_L2_PMU
193 select MSM_SPM_V2
194 select MSM_L2_SPM
195 select MSM_NATIVE_RESTART
196 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600197 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700198 select ARCH_POPULATES_NODE_MAP
199 select ARCH_SPARSEMEM_ENABLE
200 select ARCH_HAS_HOLES_MEMORYMODEL
Larry Basselb8d61022012-02-24 10:49:45 -0800201 select ENABLE_DMM
202 select MEMORY_HOTPLUG if ENABLE_DMM
203 select MEMORY_HOTREMOVE if ENABLE_DMM
204 select ARCH_ENABLE_MEMORY_HOTPLUG if ENABLE_DMM
205 select ARCH_ENABLE_MEMORY_HOTREMOVE if ENABLE_DMM
206 select MIGRATION if ENABLE_DMM
207 select ARCH_MEMORY_PROBE if ENABLE_DMM
208 select ARCH_MEMORY_REMOVE if ENABLE_DMM
209 select FIX_MOVABLE_ZONE if ENABLE_DMM
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +0200210 select MSM_ULTRASOUND
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530211 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800212 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700213 select HOLES_IN_ZONE if SPARSEMEM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700214
215config ARCH_APQ8064
216 bool "APQ8064"
217 select ARCH_MSM_KRAITMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700218 select MSM_V2_TLMM
219 select ARM_GIC
220 select CPU_V7
221 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700222 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600223 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800224 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800225 select MSM_QDSP6_APR
226 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530227 select MULTI_IRQ_HANDLER
Praveen Chidambaram78499012011-11-01 17:15:17 -0600228 select MSM_RPM
229 select MSM_SPM_V2
230 select MSM_L2_SPM
Matt Wagantall88b86312012-01-31 16:53:03 -0800231 select MSM_PM8X60 if PM
Neil Leeder814d3d32012-01-19 17:21:43 -0500232 select CPU_HAS_L2_PMU
Laura Abbott085dd202012-03-30 14:02:34 -0700233 select HOLES_IN_ZONE if SPARSEMEM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700234
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700235config ARCH_MSMCOPPER
236 bool "MSM Copper"
237 select ARCH_MSM_KRAITMP
238 select MSM_V2_TLMM
239 select ARM_GIC
240 select CPU_V7
241 select MSM_SCM if SMP
242 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530243 select MULTI_IRQ_HANDLER
Olav Hauganb800c8c2012-01-30 08:50:45 -0800244 select MSM_MULTIMEDIA_USE_ION
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700245 select MSM_PIL
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700246
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700247config ARCH_FSM9XXX
248 bool "FSM9XXX"
249 select ARCH_MSM_SCORPION
250 select MSM_VIC
251 select CPU_V7
252 select MSM_REMOTE_SPINLOCK_LDREX
253 select FSM9XXX_TLMM
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530254 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800255 select MSM_DALRPC
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800256
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700257config ARCH_MSM9615
258 bool "MSM9615"
259 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530260 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700261 select ARCH_MSM_CORTEX_A5
262 select CPU_V7
263 select MSM_V2_TLMM
264 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600265 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600266 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700267 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800268 select REGULATOR
269 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530270 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800271 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800272 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700273 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800274 select MSM_QDSP6_APR
275 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800276 select FIQ
Matt Wagantall9274df92011-12-15 11:11:05 -0800277
Taniya Das43bcdd62011-12-02 17:33:27 +0530278config ARCH_MSM8625
279 bool "MSM8625"
280 select ARCH_MSM_CORTEX_A5
281 select CPU_V7
282 select MSM_GPIOMUX
283 select ARM_GIC
284 select ARCH_MSM_CORTEXMP
285 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530286 select ARM_TICKET_LOCKS
Krishna Vankae2922052012-03-02 09:59:12 +0530287 select MSM_RUN_QUEUE_STATS
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700288endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700289
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700290choice
291 prompt "MSM SoC Revision"
292 default MSM_SOC_REV_NONE
293config MSM_SOC_REV_NONE
294 bool "N/A"
295 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
296 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walker4ad15e62010-05-06 13:54:17 -0700297config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700298 bool "Rev. A"
299 select ARCH_MSM7X27A if ARCH_MSM7X27
300endchoice
Daniel Walker4ad15e62010-05-06 13:54:17 -0700301
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700302config MSM_KRAIT_TBB_ABORT_HANDLER
303 bool "Krait TBB/TBH data abort handler"
304 depends on ARCH_MSM_KRAIT
305 depends on ARM_THUMB
306 help
307 Certain early samples of the Krait processor may generate data
308 aborts for TBB / TBH instructions that fail their condition code
309 checks. Enabling this option will ignore these erroneous data aborts,
310 at the expense of a very small performance penalty.
311
312 If unsure, say N.
313
Daniel Walker4ad15e62010-05-06 13:54:17 -0700314config ARCH_MSM_ARM11
315 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700316
Daniel Walker4ad15e62010-05-06 13:54:17 -0700317config ARCH_MSM_SCORPION
Daniel Walkerbf83de42010-03-16 16:29:44 -0700318 bool
319
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700320config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700321 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800322 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700323
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700324config MSM_SMP
325 bool
326
327config ARCH_MSM_SCORPIONMP
328 select ARCH_MSM_SCORPION
329 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530330 select HAVE_ARCH_HAS_CURRENT_TIMER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700331 bool
332
333config ARCH_MSM_KRAITMP
334 select ARCH_MSM_KRAIT
335 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530336 select HAVE_ARCH_HAS_CURRENT_TIMER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700337 bool
338
Taniya Das43bcdd62011-12-02 17:33:27 +0530339config ARCH_MSM_CORTEXMP
340 select MSM_SMP
341 bool
342
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700343config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800344 bool
Rohit Vaswaniaf7ae272012-01-09 10:28:57 -0800345 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700346
347config ARCH_MSM7X27A
348 bool
349 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700350 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530351 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530352 select ARM_GIC
353 select ARCH_MSM_CORTEXMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700354
Gregory Beanf9f3d312010-04-30 22:06:50 -0700355config MSM_VIC
356 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700357
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700358config MSM_RPM
359 bool "Resource Power Manager"
360 select MSM_MPM
361
362config MSM_MPM
363 bool "Modem Power Manager"
364
365config MSM_XO
366 bool
367
368config MSM_REMOTE_SPINLOCK_DEKKERS
369 bool
370config MSM_REMOTE_SPINLOCK_SWP
371 bool
372config MSM_REMOTE_SPINLOCK_LDREX
373 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600374config MSM_REMOTE_SPINLOCK_SFPB
375 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700376config MSM_ADM3
377 bool
378
379menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700380
381config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700382 depends on ARCH_MSM7X01A
383 depends on MSM_STACKED_MEMORY
384 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700385 bool "Halibut Board (QCT SURF7201A)"
386 help
387 Support for the Qualcomm SURF7201A eval board.
388
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700389config MACH_MSM7201A_SURF
390 depends on ARCH_MSM7X01A
391 depends on MSM_STACKED_MEMORY
392 default y
393 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700394 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700395 Support for the Qualcomm MSM7201A SURF eval board.
396
397config MACH_MSM7201A_FFA
398 depends on ARCH_MSM7X01A
399 depends on MSM_STACKED_MEMORY
400 default y
401 bool "MSM7201A FFA"
402 help
403 Support for the Qualcomm MSM7201A FFA eval board.
404
405config MACH_TROUT
406 depends on ARCH_MSM7X01A
407 depends on MSM_STACKED_MEMORY
408 default y
409 bool "Trout"
410
411config MACH_MSM7X27_SURF
412 depends on ARCH_MSM7X27
413 depends on !MSM_STACKED_MEMORY
414 default y
415 bool "MSM7x27 SURF"
416 help
417 Support for the Qualcomm MSM7x27 SURF eval board.
418
419config MACH_MSM7X27_FFA
420 depends on ARCH_MSM7X27
421 depends on !MSM_STACKED_MEMORY
422 default y
423 bool "MSM7x27 FFA"
424 help
425 Support for the Qualcomm MSM7x27 FFA eval board.
426
427config MACH_MSM7X27A_RUMI3
428 depends on ARCH_MSM7X27A
429 depends on !MSM_STACKED_MEMORY
430 default y
431 bool "MSM7x27A RUMI3"
432 help
433 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
434
435config MACH_MSM7X27A_SURF
436 depends on ARCH_MSM7X27A
437 depends on !MSM_STACKED_MEMORY
438 default y
439 bool "MSM7x27A SURF"
440 help
441 Support for the Qualcomm MSM7x27A SURF.
442
443config MACH_MSM7X27A_FFA
444 depends on ARCH_MSM7X27A
445 depends on !MSM_STACKED_MEMORY
446 default y
447 bool "MSM7x27A FFA"
448 help
449 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700450
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530451config MACH_MSM7625A_SURF
452 depends on ARCH_MSM7X27A
453 depends on !MSM_STACKED_MEMORY
454 default y
455 bool "MSM7625A SURF"
456 help
457 Support for the Qualcomm MSM7625A SURF.
458
459config MACH_MSM7625A_FFA
460 depends on ARCH_MSM7X27A
461 depends on !MSM_STACKED_MEMORY
462 default y
463 bool "MSM7625A FFA"
464 help
465 Support for the Qualcomm MSM7625A FFA.
466
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530467config MACH_MSM7627A_QRD1
468 depends on ARCH_MSM7X27A
469 depends on !MSM_STACKED_MEMORY
470 default y
471 bool "MSM7627A QRD1"
472 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530473 Support for the Qualcomm MSM7627A Reference Design.
474
475config MACH_MSM7627A_QRD3
476 depends on ARCH_MSM7X27A
477 depends on !MSM_STACKED_MEMORY
478 default y
479 bool "MSM7627A QRD3"
480 help
481 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530482
Taniya Dasc868a2e2012-01-03 10:18:47 +0530483config MACH_MSM7627A_EVB
484 depends on ARCH_MSM7X27A
485 depends on !MSM_STACKED_MEMORY
486 default y
487 bool "MSM7627A EVB"
488 help
489 Support for the Qualcomm MSM7627A Reference Design.
490
Taniya Das43bcdd62011-12-02 17:33:27 +0530491config MACH_MSM8625_RUMI3
492 depends on ARCH_MSM8625
493 depends on !MSM_STACKED_MEMORY
494 default y
495 bool "MSM8625 RUMI3"
496 help
497 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
498
Taniya Dase3027e22012-02-27 16:32:27 +0530499config MACH_MSM8625_SURF
500 depends on ARCH_MSM8625
501 depends on !MSM_STACKED_MEMORY
502 default y
503 bool "MSM8625 SURF"
504 help
505 Support for the Qualcomm MSM8625 SURF.
506
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530507config MACH_MSM8625_EVB
508 depends on ARCH_MSM8625
509 depends on !MSM_STACKED_MEMORY
510 default y
511 bool "MSM8625 EVB"
512 help
513 Support for the Qualcomm MSM8625 Reference Design.
514
Taniya Dasbd096542012-03-15 17:43:45 +0530515config MACH_MSM8625_QRD7
516 depends on ARCH_MSM8625
517 depends on !MSM_STACKED_MEMORY
518 default y
519 bool "MSM8625 QRD7"
520 help
521 Support for the Qualcomm MSM8625 Reference Design.
522
Daniel Walker7b521612010-05-06 12:44:57 -0700523config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700524 depends on ARCH_MSM7X30
525 depends on !MSM_STACKED_MEMORY
526 default y
527 bool "MSM7x30 SURF"
528 help
529 Support for the Qualcomm MSM7x30 SURF eval board.
530
531config MACH_MSM7X30_FFA
532 depends on ARCH_MSM7X30
533 depends on !MSM_STACKED_MEMORY
534 default y
535 bool "MSM7x30 FFA"
536 help
537 Support for the Qualcomm MSM7x30 FFA eval board.
538
539config MACH_MSM7X30_FLUID
540 depends on ARCH_MSM7X30
541 depends on !MSM_STACKED_MEMORY
542 default y
543 bool "MSM7x30 FLUID"
544 help
545 Support for the Qualcomm MSM7x30 FLUID eval board.
546
547config MACH_SAPPHIRE
548 depends on ARCH_MSM7X01A
549 default n
550 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700551
Daniel Walker4ad15e62010-05-06 13:54:17 -0700552config MACH_QSD8X50_SURF
553 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700554 depends on MSM_SOC_REV_NONE
555 depends on MSM_STACKED_MEMORY
556 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700557 bool "QSD8x50 SURF"
558 help
559 Support for the Qualcomm QSD8x50 SURF eval board.
560
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700561config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700562 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700563 depends on MSM_SOC_REV_NONE
564 depends on MSM_STACKED_MEMORY
565 default y
566 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700567 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700568 Support for the Qualcomm QSD8x50 FFA eval board.
569
570config MACH_MSM7X25_SURF
571 depends on ARCH_MSM7X25
572 depends on !MSM_STACKED_MEMORY
573 default y
574 bool "MSM7x25 SURF"
575 help
576 Support for the Qualcomm MSM7x25 SURF eval board.
577
578config MACH_MSM7X25_FFA
579 depends on ARCH_MSM7X25
580 depends on !MSM_STACKED_MEMORY
581 default y
582 bool "MSM7x25 FFA"
583 help
584 Support for the Qualcomm MSM7x25 FFA eval board.
585
586config MACH_MSM8X55_SURF
587 depends on ARCH_MSM7X30
588 depends on !MSM_STACKED_MEMORY
589 default y
590 bool "MSM8X55 SURF"
591 help
592 Support for the Qualcomm MSM8x55 SURF eval board.
593
594config MACH_MSM8X55_FFA
595 depends on ARCH_MSM7X30
596 depends on !MSM_STACKED_MEMORY
597 default y
598 bool "MSM8X55 FFA"
599 help
600 Support for the Qualcomm MSM8x55 FFA eval board.
601
602config MACH_MSM8X55_SVLTE_FFA
603 depends on ARCH_MSM7X30
604 depends on !MSM_STACKED_MEMORY
605 default y
606 bool "MSM8X55 SVLTE FFA"
607 help
608 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
609
610config MACH_MSM8X55_SVLTE_SURF
611 depends on ARCH_MSM7X30
612 depends on !MSM_STACKED_MEMORY
613 default y
614 bool "MSM8X55 SVLTE SURF"
615 help
616 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700617
Steve Mucklea55df6e2010-01-07 12:43:24 -0800618config MACH_MSM8X60_RUMI3
619 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700620 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800621 bool "MSM8x60 RUMI3"
622 help
623 Support for the Qualcomm MSM8x60 RUMI3 emulator.
624
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800625config MACH_MSM8X60_SIM
626 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700627 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800628 bool "MSM8x60 Simulator"
629 help
630 Support for the Qualcomm MSM8x60 simulator.
631
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700632config MACH_MSM8X60_SURF
633 depends on ARCH_MSM8X60
634 default n
635 bool "MSM8x60 SURF"
636 help
637 Support for the Qualcomm MSM8x60 SURF eval board.
638
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700639config MACH_MSM8X60_FFA
640 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700641 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700642 bool "MSM8x60 FFA"
643 help
644 Support for the Qualcomm MSM8x60 FFA eval board.
645
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700646config MACH_MSM8X60_FLUID
647 depends on ARCH_MSM8X60
648 default n
649 bool "MSM8x60 FLUID"
650 help
651 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
652 8x60 target which has a form factor that is much closer to that
653 of a phone than other targets. It also has a new display and
654 touchscreen controller.
655
656config MACH_MSM8X60_FUSION
657 depends on ARCH_MSM8X60
658 default n
659 bool "MSM8x60 FUSION"
660 help
661 Support for the Qualcomm MSM8x60 Fusion SURF device.
662
663config MACH_MSM8X60_FUSN_FFA
664 depends on ARCH_MSM8X60
665 default n
666 bool "MSM8x60 FUSN FFA"
667 help
668 Support for the Qualcomm MSM8x60 Fusion FFA device.
669
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400670config MACH_MSM8X60_DRAGON
671 depends on ARCH_MSM8X60
672 default n
673 bool "MSM8x60 DRAGON"
674 help
675 Support for the Qualcomm MSM8x60 Dragon board.
676
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800677config MACH_MSM8960_SIM
678 depends on ARCH_MSM8960
679 bool "MSM8960 Simulator"
680 help
681 Support for the Qualcomm MSM8960 simulator.
682
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800683config MACH_MSM8960_RUMI3
684 depends on ARCH_MSM8960
685 bool "MSM8960 RUMI3"
686 help
687 Support for the Qualcomm MSM8960 RUMI3 emulator.
688
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700689config MACH_MSM8960_CDP
690 depends on ARCH_MSM8960
691 bool "MSM8960 CDP"
692 help
693 Support for the Qualcomm MSM8960 CDP device.
694
695config MACH_MSM8960_MTP
696 depends on ARCH_MSM8960
697 bool "MSM8960 MTP"
698 help
699 Support for the Qualcomm MSM8960 MTP device.
700
701config MACH_MSM8960_FLUID
702 depends on ARCH_MSM8960
703 bool "MSM8960 FLUID"
704 help
705 Support for the Qualcomm MSM8960 FLUID device.
706
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300707config MACH_MSM8960_LIQUID
708 depends on ARCH_MSM8960
709 bool "MSM8960 LIQUID"
710 help
711 Support for the Qualcomm MSM8960 LIQUID device.
712
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700713config MACH_MSM8930_CDP
714 depends on ARCH_MSM8930
715 bool "MSM8930 CDP"
716 help
717 Support for the Qualcomm MSM8930 CDP device.
718
719config MACH_MSM8930_MTP
720 depends on ARCH_MSM8930
721 bool "MSM8930 MTP"
722 help
723 Support for the Qualcomm MSM8930 MTP device.
724
725config MACH_MSM8930_FLUID
726 depends on ARCH_MSM8930
727 bool "MSM8930 FLUID"
728 help
729 Support for the Qualcomm MSM8930 FLUID device.
730
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800731config MACH_MSM8627_CDP
732 depends on ARCH_MSM8930
733 bool "MSM8627 CDP"
734 help
735 Support for the Qualcomm MSM8627 CDP device.
736
737config MACH_MSM8627_MTP
738 depends on ARCH_MSM8930
739 bool "MSM8627 MTP"
740 help
741 Support for the Qualcomm MSM8627 MTP device.
742
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700743config MACH_MSM9615_CDP
744 depends on ARCH_MSM9615
745 bool "MSM9615 CDP"
746 help
747 Support for the Qualcomm MSM9615 CDP device.
748
749config MACH_MSM9615_MTP
750 depends on ARCH_MSM9615
751 bool "MSM9615 MTP"
752 help
753 Support for the Qualcomm MSM9615 MTP device.
754
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700755config MSM_USE_TSIF1
756 depends on ARCH_MSM8X60
757 bool "MSM8x60 use TSIF1"
758 help
759 Selects TSIF1 core to be used rather than TSIF0.
760 The two TSIF cores share the same DM configuration
761 so they cannot be used simultaneously.
762
763config MACH_APQ8064_SIM
764 depends on ARCH_APQ8064
765 bool "APQ8064 Simulator"
766 help
767 Support for the Qualcomm APQ8064 simulator.
768
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700769config MACH_APQ8064_RUMI3
770 depends on ARCH_APQ8064
771 bool "APQ8064 RUMI3"
772 help
773 Support for the Qualcomm APQ8064 RUMI3 emulator.
774
Joel King82b7e3f2012-01-05 10:03:27 -0800775config MACH_APQ8064_CDP
776 depends on ARCH_APQ8064
777 bool "APQ8064 CDP"
778 help
779 Support for the Qualcomm APQ8064 CDP device.
780
781config MACH_APQ8064_MTP
782 depends on ARCH_APQ8064
783 bool "APQ8064 MTP"
784 help
785 Support for the Qualcomm APQ8064 MTP device.
786
787config MACH_APQ8064_LIQUID
788 depends on ARCH_APQ8064
789 bool "APQ8064 LIQUID"
790 help
791 Support for the Qualcomm APQ8064 LIQUID device.
792
Joel King064bbf82012-04-01 13:23:39 -0700793config MACH_MPQ8064_CDP
794 depends on ARCH_APQ8064
795 bool "MPQ8064 CDP"
796 help
797 Support for the Qualcomm MPQ8064 CDP device.
798
Joel King11ca8202012-02-13 16:19:03 -0800799config MACH_MPQ8064_HRD
800 depends on ARCH_APQ8064
801 bool "MPQ8064 HRD"
802 help
803 Support for the Qualcomm MPQ8064 HRD device.
804
805config MACH_MPQ8064_DTV
806 depends on ARCH_APQ8064
807 bool "MPQ8064 DTV"
808 help
809 Support for the Qualcomm MPQ8064 DTV device.
810
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700811config MACH_FSM9XXX_SURF
812 depends on ARCH_FSM9XXX
813 depends on !MSM_STACKED_MEMORY
814 default y
815 bool "FSM9XXX SURF"
816 help
817 Support for the Qualcomm FSM9xxx femtocell
818 chipset based SURF evaluation board and
819 FFA board.
820
Daniel Walker4ad15e62010-05-06 13:54:17 -0700821endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800822
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700823config MSM_STACKED_MEMORY
824 bool "Stacked Memory"
825 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800826 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700827 This option is used to indicate the presence of on-die stacked
828 memory. When present this memory bank is used for a high speed
829 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800830
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700831config PHYS_OFFSET
832 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700833 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700834 default "0x80200000" if ARCH_APQ8064
835 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700836 default "0x80200000" if ARCH_MSM8930
Sathish Ambley39a1dc42012-03-19 21:46:26 -0700837 default "0x20200000" if ARCH_MSMCOPPER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700838 default "0x10000000" if ARCH_FSM9XXX
839 default "0x00200000" if !MSM_STACKED_MEMORY
840 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
841 default "0x20000000" if ARCH_QSD8X50
842 default "0x40200000" if ARCH_MSM8X60
843 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800844
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700845config KERNEL_PMEM_EBI_REGION
846 bool "Enable in-kernel PMEM region for EBI"
847 default y if ARCH_MSM8X60
Olav Hauganb800c8c2012-01-30 08:50:45 -0800848 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSMCOPPER)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700849 help
850 Enable the in-kernel PMEM allocator to use EBI memory.
851
852config KERNEL_PMEM_SMI_REGION
853 bool "Enable in-kernel PMEM region for SMI"
854 default y if ARCH_MSM8X60
855 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
856 help
857 Enable the in-kernel PMEM allocator to use SMI memory.
858
859config PMEM_GPU0
860 bool "Enable PMEM GPU0 region"
861 default y
862 depends on ARCH_QSD8X50 && ANDROID_PMEM
863 help
864 Enable the PMEM GPU0 device on SMI Memory.
865
866config MSM_AMSS_VERSION
867 int
868 default 6210 if MSM_AMSS_VERSION_6210
869 default 6220 if MSM_AMSS_VERSION_6220
870 default 6225 if MSM_AMSS_VERSION_6225
871
872choice
873 prompt "AMSS modem firmware version"
874
875 default MSM_AMSS_VERSION_6225
876
877 config MSM_AMSS_VERSION_6210
878 bool "6.2.10"
879
880 config MSM_AMSS_VERSION_6220
881 bool "6.2.20"
882
883 config MSM_AMSS_VERSION_6225
884 bool "6.2.20 + New ADSP"
885endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800886
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700887config MSM_HAS_DEBUG_UART_HS
888 bool
889 help
890 Say Y here if high speed MSM UART is present.
891
892config MSM_HAS_DEBUG_UART_HS_V14
893 bool
894 select MSM_HAS_DEBUG_UART_HS
895 help
896 Say Y here if high speed MSM UART v1.4 is present.
897
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800898config DEBUG_MSM8930_UART
899 bool "Kernel low-level debugging messages via MSM 8930 UART"
900 depends on ARCH_MSM8930 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700901 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800902 help
903 Say Y here if you want the debug print routines to direct
904 their output to the serial port on MSM 8930 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100905
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530906config MSM_DEBUG_UART_PHYS
907 hex
908 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
909 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
910 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
911 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
912 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
913 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
914 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
915 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
916
Pavel Machek6339f662009-11-02 11:48:29 +0100917choice
918 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800919 depends on DEBUG_LL
Pavel Machek6339f662009-11-02 11:48:29 +0100920
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800921 config DEBUG_MSM_UART1
922 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530923 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800924 help
925 Say Y here if you want the debug print routines to direct
926 their output to the first serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100927
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800928 config DEBUG_MSM_UART2
929 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530930 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800931 help
932 Say Y here if you want the debug print routines to direct
933 their output to the second serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100934
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800935 config DEBUG_MSM_UART3
936 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530937 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800938 help
939 Say Y here if you want the debug print routines to direct
940 their output to the third serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100941
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800942 config DEBUG_MSM8660_UART
943 bool "Kernel low-level debugging messages via MSM 8660 UART"
944 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700945 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800946 help
947 Say Y here if you want the debug print routines to direct
948 their output to the serial port on MSM 8660 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100949
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800950 config DEBUG_MSM8960_UART
951 bool "Kernel low-level debugging messages via MSM 8960 UART"
952 depends on ARCH_MSM8960
953 select DEBUG_MSM8930_UART
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700954 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800955 help
956 Say Y here if you want the debug print routines to direct
957 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700958
959 config DEBUG_MSMCOPPER_UART
960 bool "Kernel low-level debugging messages via MSM Copper UART"
961 depends on ARCH_MSMCOPPER
962 select MSM_HAS_DEBUG_UART_HS_V14
963 help
964 Say Y here if you want the debug print routines to direct
965 their output to the serial port on MSM Copper devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100966endchoice
967
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700968choice
969 prompt "Default Timer"
970 default MSM7X00A_USE_GP_TIMER
971
972 config MSM7X00A_USE_GP_TIMER
973 bool "GP Timer"
974 help
975 Low resolution timer that allows power collapse from idle.
976
977 config MSM7X00A_USE_DG_TIMER
978 bool "DG Timer"
979 help
980 High resolution timer.
981endchoice
982
983choice
984 prompt "Suspend sleep mode"
985 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
986 help
987 Allows overriding the sleep mode used. Leave at power
988 collapse suspend unless the arm9 image has problems.
989
990 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
991 bool "Power collapse suspend"
992 help
993 Lowest sleep state. Returns through reset vector.
994
995 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
996 bool "Power collapse"
997 help
998 Sleep state that returns through reset vector.
999
1000 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1001 bool "Apps Sleep"
1002
1003 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1004 bool "Ramp down cpu clock and wait for interrupt"
1005
1006 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1007 bool "Wait for interrupt"
1008endchoice
1009
1010config MSM7X00A_SLEEP_MODE
1011 int
1012 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1013 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1014 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1015 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1016 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1017
1018choice
1019 prompt "Idle sleep mode"
1020 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1021 help
1022 Allows overriding the sleep mode used from idle. Leave at power
1023 collapse suspend unless the arm9 image has problems.
1024
1025 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1026 bool "Power collapse suspend"
1027 help
1028 Lowest sleep state. Returns through reset vector.
1029
1030 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1031 bool "Power collapse"
1032 help
1033 Sleep state that returns through reset vector.
1034
1035 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1036 bool "Apps Sleep"
1037
1038 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1039 bool "Ramp down cpu clock and wait for interrupt"
1040
1041 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1042 bool "Wait for interrupt"
1043endchoice
1044
1045config MSM7X00A_IDLE_SLEEP_MODE
1046 int
1047 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1048 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1049 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1050 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1051 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1052
1053config MSM7X00A_IDLE_SLEEP_MIN_TIME
1054 int "Minimum idle time before sleep"
1055 default 20000000
1056 help
1057 Minimum idle time in nanoseconds before entering low power mode.
1058
1059config MSM7X00A_IDLE_SPIN_TIME
1060 int "Idle spin time before cpu ramp down"
1061 default 80000
1062 help
1063 Spin time in nanoseconds before ramping down cpu clock and entering
1064 any low power state.
1065
1066menuconfig MSM_IDLE_STATS
1067 bool "Collect idle statistics"
1068 default y
1069 help
1070 Collect idle statistics and export them in proc/msm_pm_stats.
1071
1072if MSM_IDLE_STATS
1073
1074config MSM_IDLE_STATS_FIRST_BUCKET
1075 int "First bucket time"
1076 default 62500
1077 help
1078 Upper time limit in nanoseconds of first bucket.
1079
1080config MSM_IDLE_STATS_BUCKET_SHIFT
1081 int "Bucket shift"
1082 default 2
1083
1084config MSM_IDLE_STATS_BUCKET_COUNT
1085 int "Bucket count"
1086 default 10
1087
1088config MSM_SUSPEND_STATS_FIRST_BUCKET
1089 int "First bucket time for suspend"
1090 default 1000000000
1091 help
1092 Upper time limit in nanoseconds of first bucket of the
1093 histogram. This is for collecting statistics on suspend.
1094
1095endif # MSM_IDLE_STATS
1096
1097config CPU_HAS_L2_PMU
1098 bool "L2CC PMU Support"
1099 help
1100 Select this if the L2 cache controller has a Performance Monitoring Unit.
1101
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001102config HTC_HEADSET
1103 tristate "HTC 2 Wire detection driver"
1104 default n
1105 help
1106 Provides support for detecting HTC 2 wire devices, such as wired
1107 headset, on the trout platform. Can be used with the msm serial
1108 debugger, but not with serial console.
1109
1110config TROUT_BATTCHG
1111 depends on MACH_TROUT && POWER_SUPPLY
1112 default y
1113 bool "Trout battery / charger driver"
1114
1115config HTC_PWRSINK
1116 depends on MSM_SMD
1117 default n
1118 bool "HTC Power Sink Driver"
1119
1120config QSD_SVS
1121 bool "QSD Static Voltage Scaling"
1122 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1123 default y
1124 select TPS65023
1125 help
1126 Enables static voltage scaling using the TPS65023 PMIC.
1127
1128config QSD_PMIC_DEFAULT_DCDC1
1129 int "PMIC default output voltage"
1130 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1131 default 1250
1132 help
1133 This is the PMIC voltage at Linux kernel boot.
1134
1135config MSM_FIQ_SUPPORT
1136 default y
1137 bool "Enable installation of an FIQ handler."
1138
1139config MSM_SERIAL_DEBUGGER
1140 select MSM_FIQ_SUPPORT
1141 select KERNEL_DEBUGGER_CORE
1142 default n
1143 bool "FIQ Mode Serial Debugger"
1144 help
1145 The FIQ serial debugger can accept commands even when the
1146 kernel is unresponsive due to being stuck with interrupts
1147 disabled. Depends on the kernel debugger core in drivers/misc.
1148
1149config MSM_SERIAL_DEBUGGER_CONSOLE
1150 depends on MSM_SERIAL_DEBUGGER
1151 default n
1152 bool "Console on FIQ Serial Debugger port"
1153 help
1154 Enables a console so that printk messages are displayed on
1155 the debugger serial port as the occur.
Daniel Walkerbf83de42010-03-16 16:29:44 -07001156
Steve Mucklec8aabae2010-04-21 16:20:27 -07001157config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001158 default y
1159 bool "Proc-Comm RPC Interface"
1160 help
1161 Enables a lightweight communications interface to the
1162 baseband processor.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001163
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001164config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001165 bool "MSM Shared Memory Driver (SMD)"
1166 help
1167 Support for the shared memory interface between the apps
1168 processor and the baseband processor. Provides access to
1169 the "shared heap", as well as virtual serial channels
1170 used to communicate with various services on the baseband
1171 processor.
1172
1173choice
1174 prompt "MSM Shared memory interface version"
1175 depends on MSM_SMD
1176 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1177 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1178
1179 config MSM_SMD_PKG3
1180 bool
1181 prompt "Package 3"
1182
1183 config MSM_SMD_PKG4
1184 bool
1185 prompt "Package 4"
1186endchoice
1187
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001188config MSM_RPC_SDIO_XPRT
1189 depends on MSM_SDIO_AL
1190 default y
1191 bool "MSM SDIO XPRT Layer"
1192 help
1193 SDIO Transport Layer for RPC Rouer
1194
1195config MSM_RPC_SDIO_DEBUG
1196 depends on MSM_RPC_SDIO_XPRT
1197 default y
1198 bool "MSM SDIO XPRT debug support"
1199 help
1200 Support for debugging SDIO XPRT
1201
1202config MSM_SMD_DEBUG
1203 depends on MSM_SMD
1204 default y
1205 bool "MSM SMD debug support"
1206 help
1207 Support for debugging the SMD for communication
1208 between the ARM9 and ARM11
1209
1210config MSM_SDIO_AL
1211 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1212 default y
1213 tristate "SDIO-Abstraction-Layer"
1214 help
1215 Support MSM<->MDM Communication over SDIO bus.
1216 MDM SDIO-Client should have pipes support.
1217
1218config MSM_SDIO_DMUX
1219 bool "SDIO Data Mux Driver"
1220 depends on MSM_SDIO_AL
1221 default n
1222 help
1223 Support Muxed Data Channels over SDIO interface.
1224
1225config MSM_BAM_DMUX
1226 bool "BAM Data Mux Driver"
1227 depends on SPS
1228 default n
1229 help
1230 Support Muxed Data Channels over BAM interface.
1231 BAM has a limited number of pipes. This driver
1232 provides a means to support more logical channels
1233 via muxing than BAM could without muxing.
1234
1235config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001236 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001237 default y
1238 bool "MSM N-WAY SMD support"
1239 help
1240 Supports APPS-QDSP SMD communication along with
1241 normal APPS-MODEM SMD communication.
1242
1243config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001244 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001245 default y
1246 bool "MSM N-WAY SMSM support"
1247 help
1248 Supports APPS-QDSP SMSM communication along with
1249 normal APPS-MODEM SMSM communication.
1250
1251config MSM_RESET_MODEM
1252 tristate "Reset Modem Driver"
1253 depends on MSM_SMD
1254 default m
1255 help
1256 Allows the user to reset the modem through a device node.
1257
1258config MSM_SMD_LOGGING
1259 depends on MSM_SMD
1260 default y
1261 bool "MSM Shared Memory Logger"
1262 help
1263 This option exposes the shared memory logger at /dev/smem_log
1264 and a debugfs node named smem_log.
1265
1266 If in doubt, say yes.
1267
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001268config MSM_IPC_LOGGING
1269 bool "MSM Debug Logging for IPC Drivers"
1270 help
1271 This option allows the debug logging for IPC Drivers.
1272
1273 If in doubt, say no.
1274
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001275config MSM_SMD_NMEA
1276 bool "NMEA GPS Driver"
1277 depends on MSM_SMD
1278 default y
1279 help
1280 Enable this to support the NMEA GPS device.
1281
1282 If in doubt, say yes.
1283
1284config MSM_SDIO_TTY
1285 bool "SDIO TTY Driver"
1286 depends on MSM_SDIO_AL
1287 default n
1288 help
1289 Provides a TTY driver SDIO TTY
1290 This driver can be used by user space
1291 applications for passing data through the
1292 SDIO interface.
1293
1294config MSM_SMD_TTY
1295 bool "SMD TTY Driver"
1296 depends on MSM_SMD
1297 default y
1298 help
1299 Provides TTY interfaces to interact with the modem.
1300
1301 If in doubt, say yes.
1302
1303config MSM_SMD_QMI
1304 bool "SMD QMI Driver"
1305 depends on MSM_SMD
1306 default y
1307 help
1308 Manages network data connections.
1309
1310 If in doubt, say yes.
1311
1312config MSM_SMD_PKT
1313 bool "SMD Packet Driver"
1314 depends on MSM_SMD
1315 default y
1316 help
1317 Provides a binary SMD non-muxed packet port interface.
1318
1319 If in doubt, say yes.
1320
1321config MSM_SDIO_CMUX
1322 bool "SDIO CMUX Driver"
1323 depends on MSM_SDIO_AL
1324 default n
1325 help
1326 Provides a Muxed port interface over SDIO QMI
1327
1328config MSM_DSPS
1329 bool "Sensors DSPS driver"
1330 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1331 default n
1332 help
1333 Provides user-space interface to the sensors manager
1334 to turn on/off the Sensors Processor system clocks.
1335 It is the DSPS responsibility to turn on/off the sensors
1336 themself.
1337 The number of clocks and their name may vary between targets.
1338 It also triggers the PIL to load the DSPS firmware.
1339
1340config MSM_SDIO_CTL
1341 bool "SDIO CTL Driver"
1342 depends on MSM_SDIO_CMUX
1343 default n
1344 help
1345 Provides a binary SDIO control port interface.
1346
1347config MSM_ONCRPCROUTER
1348 depends on MSM_SMD
1349 default n
1350 bool "MSM ONCRPC router support"
1351 help
1352 Support for the MSM ONCRPC router for communication between
1353 the ARM9 and ARM11
1354
1355config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001356 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001357 default n
1358 bool "MSM IPC Router support"
1359 help
1360 Support for the MSM IPC Router for communication between
1361 the APPs and the MODEM
1362
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001363config MSM_IPC_ROUTER_SMD_XPRT
1364 depends on MSM_SMD
1365 depends on MSM_IPC_ROUTER
1366 default n
1367 bool "MSM SMD XPRT Layer"
1368 help
1369 SMD Transport Layer for IPC Router
1370
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001371config MSM_ONCRPCROUTER_DEBUG
1372 depends on MSM_ONCRPCROUTER
1373 default y
1374 bool "MSM debug ONCRPC router support"
1375 help
1376 Support for debugging the ONCRPC router for communication
1377 between the ARM9 and ARM11
1378
1379config MSM_RPC_LOOPBACK_XPRT
1380 depends on MSM_ONCRPCROUTER
1381 default n
1382 bool "MSM RPC local routing support"
1383 help
1384 Support for routing RPC messages between APPS clients
1385 and APPS servers. Helps in testing APPS RPC framework.
1386
1387config MSM_RPCSERVER_TIME_REMOTE
1388 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1389 default y
1390 bool "Time remote RPC server"
1391 help
1392 The time remote server receives notification of time bases and
1393 reports these events to registered callback functions.
1394
1395config MSM_RPCSERVER_WATCHDOG
1396 depends on MSM_ONCRPCROUTER
1397 default y
1398 bool "Watchdog RPC server"
1399 help
1400 The dog_keepalive server handles watchdog events.
1401
1402config MSM_RPC_WATCHDOG
1403 depends on MSM_ONCRPCROUTER
1404 default n
1405 bool "Watchdog RPC client"
1406 help
1407 The dog_keepalive client module.
1408
1409config MSM_RPC_PING
1410 depends on MSM_ONCRPCROUTER && DEBUG_FS
1411 default m
1412 bool "MSM rpc ping"
1413 help
1414 Implements MSM rpc ping test module.
1415
1416config MSM_RPC_PROC_COMM_TEST
1417 depends on DEBUG_FS && MSM_PROC_COMM
1418 default m
1419 bool "MSM rpc proc comm test"
1420 help
1421 Implements MSM rpc proc comm test module.
1422
1423config MSM_RPC_OEM_RAPI
1424 depends on MSM_ONCRPCROUTER
1425 default m
1426 bool "MSM oem rapi"
1427 help
1428 Implements MSM oem rapi client module.
1429
1430config MSM_RPCSERVER_HANDSET
1431 depends on MSM_ONCRPCROUTER
1432 default y
1433 bool "Handset events RPC server"
1434 help
1435 Support for receiving handset events like headset detect,
1436 headset switch and clamshell state.
1437
1438config MSM_RMT_STORAGE_CLIENT
1439 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1440 default n
1441 bool "Remote Storage RPC client"
1442 help
1443 Provide RPC mechanism for remote processors to access storage
1444 device on apps processor.
1445
1446config MSM_RMT_STORAGE_CLIENT_STATS
1447 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1448 default n
1449 bool "Remote storage RPC client performance statistics"
1450 help
1451 Collects performance statistics and shows this information
1452 through a debugfs file rmt_storage_stats.
1453
1454config MSM_SDIO_SMEM
1455 depends on MSM_SDIO_AL
1456 default n
1457 bool "SDIO SMEM for remote storage"
1458 help
1459 Copies data from remote MDM9K memory to local MSM8x60
1460 memory. Used by remote storage client to shadow
1461 MDM9K filesystem.
1462
1463config MSM_DALRPC
1464 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001465 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001466 help
1467 Supports RPC calls to DAL devices on remote processor cores.
1468
1469config MSM_DALRPC_TEST
1470 tristate "DAL RPC test module"
1471 depends on (MSM_DALRPC && DEBUG_FS)
1472 default m
1473 help
1474 Exercises DAL RPC calls to QDSP6.
1475
1476if CPU_FREQ_MSM
1477
1478config MSM_CPU_FREQ_SET_MIN_MAX
1479 bool "Set Min/Max CPU frequencies."
1480 default n
1481 help
1482 Allow setting min and max CPU frequencies. Sysfs can be used
1483 to override these values.
1484
1485config MSM_CPU_FREQ_MAX
1486 int "Max CPU Frequency"
1487 depends on MSM_CPU_FREQ_SET_MIN_MAX
1488 default 384000
1489
1490config MSM_CPU_FREQ_MIN
1491 int "Min CPU Frequency"
1492 depends on MSM_CPU_FREQ_SET_MIN_MAX
1493 default 245760
1494
1495endif # CPU_FREQ_MSM
1496
1497config MSM_CPU_AVS
1498 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1499 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1500 depends on ARCH_QSD8X50
1501 default n
1502 select MSM_AVS_HW
1503 help
1504 This enables the s/w control of Adaptive Voltage Scaling feature
1505 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1506 based on feedback from three ring oscillators in the CPU.
1507
1508config MSM_AVS_HW
1509 bool "Enable Adaptive Voltage Scaling (AVS)"
1510 default n
1511 help
1512 Enable AVS hardware to fine tune voltage at each frequency. The
1513 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1514 fine tune the voltages based on the feedback from the ring
1515 oscillators.
1516
1517config MSM_HW3D
1518 tristate "MSM Hardware 3D Register Driver"
1519 depends on ANDROID_PMEM
1520 default y
1521 help
1522 Provides access to registers needed by the userspace OpenGL|ES
1523 library.
1524
1525config MSM_ADSP
1526 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1527 tristate "MSM ADSP driver"
1528 depends on ANDROID_PMEM
1529 default y
1530 help
1531 Provides access to registers needed by the userspace aDSP library.
1532
1533config ADSP_RPC_VER
1534 hex
1535 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1536 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1537 depends on MSM_ADSP
1538 help
1539 Select proper ADSP RPC version
1540choice
1541 prompt "ADSP RPC version"
1542
1543 default AMSS_7X25_VERSION_2009
1544
1545 config AMSS_7X25_VERSION_2009
1546 bool "2.0.09"
1547
1548 config AMSS_7X25_VERSION_2008
1549 bool "2.0.08"
1550endchoice
1551
1552config MSM7KV2_AUDIO
1553 bool "MSM7K v2 audio"
1554 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1555 default y
1556 help
1557 Enables QDSP5V2-based audio drivers for audio playbacks and
1558 voice call.
1559
1560config MSM_ADSP_REPORT_EVENTS
1561 bool "Report modem events from the DSP"
1562 default y
1563 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1564 help
1565 Normally, only messages from the aDSP are reported to userspace.
1566 With this option, we report events from the aDSP as well.
1567
1568config MSM_QDSP6
1569 tristate "QDSP6 support"
1570 depends on ARCH_QSD8X50 && ANDROID_PMEM
1571 default y
1572 help
1573 Enable support for qdsp6. This provides audio and video functionality.
1574
1575config MSM8X60_AUDIO
1576 tristate "MSM8X60 audio support"
1577 depends on ARCH_MSM8X60 && ANDROID_PMEM
1578 default y
1579 help
1580 Enable support for qdsp6v2. This provides audio functionality.
1581
1582config MSM8X60_FTM_AUDIO_DEVICES
1583 bool "MSM8X60 audio factory test mode support"
1584 depends on MSM8X60_AUDIO
1585 help
1586 Enable support audio factory test mode devices. This is used
1587 in a production line environment.
1588
Ben Romberger45b351c2011-07-20 22:37:27 -07001589config RTAC
1590 bool "MSM8K real-time audio calibration support"
1591 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001592 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001593 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001594 audio operation
1595
1596config MSM7X27A_AUDIO
1597 bool "MSM7X27A audio support"
1598 depends on ARCH_MSM7X27A && MSM_ADSP
1599 default n
1600 help
1601 Enable support for 7x27a. This provides audio functionality.
1602
Justin Pauporea6cd2092011-06-22 16:19:45 -07001603config MSM_PROC_COMM_REGULATOR
1604 bool
1605 depends on MSM_PROC_COMM && REGULATOR
1606 help
1607 Enable regulator framework support for regulators managed by PMLIB
1608 on the modem, and controlled through proccomm calls.
1609
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001610config MSM_VREG_SWITCH_INVERTED
1611 bool "Reverse vreg switch polarity"
1612 default n
1613 help
1614 Reverses the enable and disable for vreg switch.
1615
1616config MSM_DMA_TEST
1617 tristate "MSM DMA test module"
1618 default m
1619 help
1620 Intended to be compiled as a module. Provides a device node
1621 and ioctls for testing the MSM dma system.
1622
1623config WIFI_CONTROL_FUNC
1624 bool "Enable WiFi control function abstraction"
1625 help
1626 Enables Power/Reset/Carddetect function abstraction
1627
1628config WIFI_MEM_PREALLOC
1629 depends on WIFI_CONTROL_FUNC
1630 bool "Preallocate memory for WiFi buffers"
1631 help
1632 Preallocates memory buffers for WiFi driver
1633
1634config QSD_AUDIO
1635 bool "QSD audio"
1636 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1637 default y
1638 help
1639 Provides PCM, MP3, and AAC audio playback.
1640
1641config AUDIO_AAC_PLUS
1642 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1643 bool "AAC+ Audio"
1644 default y
1645 help
1646 Provides AAC+ decoding
1647
1648config AUDIO_ENHANCED_AAC_PLUS
1649 depends on AUDIO_AAC_PLUS
1650 bool "Enhanced AAC+ Audio"
1651 default y
1652 help
1653 Provides Enhanced AAC+ decoding
1654
1655config SURF_FFA_GPIO_KEYPAD
1656 bool "MSM SURF/FFA GPIO keypad"
1657 depends on INPUT_GPIO = "y"
1658 default y
1659 help
1660 Select if the GPIO keypad is attached.
1661
1662config MSM_SLEEP_TIME_OVERRIDE
1663 bool "Allow overriding suspend/sleep time with PM module parameter"
1664 default y
1665 help
1666 Enable the module parameter sleep_time_override. Specified
1667 in units of seconds, it overwrites the normal sleep time of
1668 suspend. The feature is required for automated power management
1669 testing.
1670
1671config MSM_MEMORY_LOW_POWER_MODE
1672 bool "Control the low power modes of memory"
1673 default n
1674 help
1675 The application processor controls whether memory should enter
1676 which low power mode.
1677
1678choice
1679 prompt "Default Memory Low Power Mode during Idle"
1680 depends on MSM_MEMORY_LOW_POWER_MODE
1681 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1682 help
1683 Selects the default low power mode of the memory during idle
1684 sleep.
1685
1686 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1687 bool "Memory active"
1688
1689 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1690 bool "Memory in retention"
1691
1692 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1693 bool "Memory in deep power down"
1694endchoice
1695
1696choice
1697 prompt "Default Memory Low Power Mode during Suspend"
1698 depends on MSM_MEMORY_LOW_POWER_MODE
1699 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1700 help
1701 Selects the default low power mode of the memory during suspend
1702 sleep.
1703
1704 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1705 bool "Memory active"
1706
1707 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1708 bool "Memory in retention"
1709
1710 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1711 bool "Memory in deep power down"
1712endchoice
1713
1714choice
1715 prompt "Power management timeout action"
1716 default MSM_PM_TIMEOUT_HALT
1717 help
1718 Selects the Application Processor's action when Power Management
1719 times out waiting for Modem's handshake.
1720
1721 config MSM_PM_TIMEOUT_HALT
1722 bool "Halt the Application Processor"
1723
1724 config MSM_PM_TIMEOUT_RESET_MODEM
1725 bool "Reset the Modem Processor"
1726
1727 config MSM_PM_TIMEOUT_RESET_CHIP
1728 bool "Reset the entire chip"
1729endchoice
1730
1731config MSM_IDLE_WAIT_ON_MODEM
1732 int "Wait for Modem to become ready for idle power collapse"
1733 default 0
1734 help
1735 If Modem is not ready to handle Application Processor's request
1736 for idle power collapse, wait the number of microseconds in case
1737 Modem becomes ready soon.
1738
Matt Wagantall9274df92011-12-15 11:11:05 -08001739config MSM_RPM_REGULATOR
1740 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001741 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001742 help
1743 Compile in support for the RPM regulator driver, used for setting
1744 voltages and other parameters of the various power rails supplied
1745 by some Qualcomm PMICs.
1746
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001747config MSM_PIL
1748 bool "Peripheral image loading"
1749 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001750 default n
1751 help
1752 Some peripherals need to be loaded into memory before they can be
1753 brought out of reset.
1754
1755 Say yes to support these devices.
1756
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001757config MSM_PIL_MODEM
1758 tristate "Modem (ARM11) Boot Support"
1759 depends on MSM_PIL
1760 help
1761 Support for booting and shutting down ARM11 Modem processors.
1762
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001763config MSM_PIL_QDSP6V3
1764 tristate "QDSP6v3 (Hexagon) Boot Support"
1765 depends on MSM_PIL
1766 help
1767 Support for booting and shutting down QDSP6v3 processors (hexagon).
1768 The QDSP6 is a low power DSP used in audio software applications.
1769
Stephen Boydeb819882011-08-29 14:46:30 -07001770config MSM_PIL_QDSP6V4
1771 tristate "QDSP6v4 (Hexagon) Boot Support"
1772 depends on MSM_PIL
1773 help
1774 Support for booting and shutting down QDSP6v4 processors (hexagon).
1775 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1776 software applications.
1777
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001778config MSM_PIL_LPASS_QDSP6V5
1779 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
1780 depends on MSM_PIL
1781 help
1782 Support for booting and shutting down QDSP6v5 processors (Hexagon)
1783 processors in low power audio subsystems.
1784
Stephen Boyd322a9922011-09-20 01:05:54 -07001785config MSM_PIL_RIVA
1786 tristate "RIVA (WCNSS) Boot Support"
1787 depends on MSM_PIL
1788 help
1789 Support for booting and shutting down the RIVA processor (WCNSS).
1790 Riva is the wireless subsystem processor used in bluetooth, wireless
1791 LAN, and FM software applications.
1792
Stephen Boydd89eebe2011-09-28 23:28:11 -07001793config MSM_PIL_TZAPPS
1794 tristate "TZApps Boot Support"
1795 depends on MSM_PIL
1796 help
1797 Support for booting and shutting down TZApps.
1798
1799 TZApps is an image that runs in the secure processor state. It is
1800 used to decrypt data and perform secure operations on the behalf of
1801 the kernel.
1802
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07001803config MSM_PIL_DSPS
1804 tristate "DSPS Boot Support"
1805 depends on MSM_PIL
1806 help
1807 Support for booting and shutting down ARM7 DSPS processors.
1808
1809 DSPS is a sensors offloading processor used for applications such
1810 as rotation detection, temperature, etc.
1811
Stephen Boyd7b973de2012-03-09 12:26:16 -08001812config MSM_PIL_VIDC
1813 tristate "Video Core Secure Boot Support"
1814 depends on MSM_PIL
1815 help
1816 Support for authenticating the video core image.
1817
Matt Wagantall292aace2012-01-26 19:12:34 -08001818config MSM_PIL_GSS
1819 tristate "GSS (Coretx A5) Boot Support"
1820 depends on MSM_PIL
1821 help
1822 Support for booting and shutting down Cortex A5 processors which run
1823 GPS subsystem firmware.
1824
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001825config MSM_SCM
1826 bool "Secure Channel Manager (SCM) support"
1827 default n
1828
1829config MSM_SUBSYSTEM_RESTART
1830 bool "MSM Subsystem Restart Driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001831 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001832 default n
1833 help
1834 This option enables the MSM subsystem restart driver, which provides
1835 a framework to handle subsystem crashes.
1836
Matt Wagantallf8020902011-08-30 21:19:23 -07001837config MSM_SYSMON_COMM
1838 bool "MSM System Monitor communication support"
1839 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1840 default y
1841 help
1842 This option adds support for MSM System Monitor library, which
1843 provides an API that may be used for notifying subsystems within
1844 the SoC about other subsystems' power-up/down state-changes.
1845
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001846config MSM_MODEM_8960
1847 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001848 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001849 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001850 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001851 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001852 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001853
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001854config MSM_LPASS_8960
1855 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001856 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001857 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001858 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001859 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001860 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001861
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001862config MSM_WCNSS_SSR_8960
1863 tristate "MSM 8960 WCNSS restart module"
1864 depends on (ARCH_MSM8960)
1865 help
1866 This option enables the WCNSS restart module for MSM8960, which
1867 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1868 into the subsystem restart framework.
1869
Rohit Vaswanid0fb4182012-03-19 18:07:59 -07001870config MSM_GSS_SSR_8064
1871 bool "MSM 8064 GSS restart driver"
1872 depends on (ARCH_APQ8064)
1873 help
1874 This option enables the gps subsystem restart driver for APQ8064, which monitors
1875 gss hardware watchdog interrupt lines and plugs into the subsystem
1876 restart and PIL drivers.
1877
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001878config SCORPION_Uni_45nm_BUG
1879 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1880 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1881 default y
1882 help
1883 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1884 invalidating the Branch Predictor Array by Modified Virtual Address can
1885 create invalid entries in the TLB with the wrong ASID values on Scorpion
1886 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1887 workaround for Scorpion Uniprocessor 45nm cores.
1888
1889 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1890
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001891config MSM_BUSPM_DEV
1892 tristate "MSM Bus Performance Monitor Kernel Module"
1893 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1894 default m
1895 help
1896 This kernel module is used to mmap() hardware registers for the
1897 performance monitors, counters, etc. The module can also be used to
1898 allocate physical memory which is used by bus performance hardware to
1899 dump performance data.
1900
Mona Hossain11c03ac2011-10-26 12:42:10 -07001901config MSM_TZ_LOG
1902 tristate "MSM Trust Zone (TZ) Log Driver"
1903 depends on DEBUG_FS
1904 help
1905 This option enables a driver with a debugfs interface for messages
1906 produced by the Secure code (Trust zone). These messages provide
1907 diagnostic information about TZ operation.
1908
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001909config MSM_RPM_LOG
1910 tristate "MSM Resource Power Manager Log Driver"
1911 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001912 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001913 default n
1914 help
1915 This option enables a driver which can read from a circular buffer
1916 of messages produced by the RPM. These messages provide diagnostic
1917 information about RPM operation. The driver outputs the messages
1918 via a debugfs node.
1919
1920config MSM_RPM_STATS_LOG
1921 tristate "MSM Resource Power Manager Stat Driver"
1922 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001923 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001924 default n
1925 help
1926 This option enables a driver which reads RPM messages from a shared
1927 memory location. These messages provide statistical information about
1928 the low power modes that RPM enters. The drivers outputs the message
1929 via a debugfs node.
1930
1931config MSM_IOMMU
1932 bool "MSM IOMMU Support"
Joel King41d594e2011-10-14 13:18:20 -07001933 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_APQ8064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001934 select IOMMU_API
1935 default n
1936 help
1937 Support for the IOMMUs found on certain Qualcomm SOCs.
1938 These IOMMUs allow virtualization of the address space used by most
1939 cores within the multimedia subsystem.
1940
1941 If unsure, say N here.
1942
1943config IOMMU_PGTABLES_L2
1944 bool "Allow SMMU page tables in the L2 cache (Experimental)"
1945 depends on MSM_IOMMU=y
1946 depends on MMU
1947 depends on CPU_DCACHE_DISABLE=n
1948 depends on SMP
1949 default y
1950 help
1951 Improves TLB miss latency at the expense of potential L2 pollution.
1952 However, with large multimedia buffers, the TLB should mostly contain
1953 section mappings and TLB misses should be quite infrequent.
1954 Most people can probably say Y here.
1955
1956config MSM_DIRECT_SCLK_ACCESS
1957 bool "Direct access to the SCLK timer"
1958 default n
1959
1960config IOMMU_API
1961 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001962
Gregory Beanab78cde2010-09-01 16:26:12 -07001963config MSM_GPIOMUX
1964 bool
1965
Gregory Bean1963a2a2010-08-28 10:05:44 -07001966config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001967 bool
1968
1969config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07001970 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001971
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001972config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001973 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001974
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001975config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001976 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001977
Matt Wagantall88b86312012-01-31 16:53:03 -08001978config MSM_PM
1979 depends on PM
1980 bool
1981
1982config MSM_PM2
1983 depends on PM
1984 bool
1985
1986config MSM_PM8X60
1987 depends on PM
1988 bool
1989
1990config MSM_NOPM
1991 default y if !PM
1992 bool
1993
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001994config MSM_BUS_SCALING
1995 bool "Bus scaling driver"
1996 default n
1997
Gagan Mac85c70492011-06-10 16:07:47 -06001998config MSM_BUS_RPM_MULTI_TIER_ENABLED
1999 bool "RPM Multi-tiering Configuration"
2000 depends on MSM_BUS_SCALING
2001
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002002config MSM_WATCHDOG
2003 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002004 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002005 help
2006 This enables the watchdog as is present on 8x60. Currently we use
2007 core 0's watchdog, and reset the entire SoC if it times out. It does
2008 not run during the bootup process, so it will not catch any early
2009 lockups.
2010
2011config MSM_DLOAD_MODE
2012 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07002013 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002014 default n
2015 help
2016 This makes the SoC enter download mode when it resets
2017 due to a kernel panic. Note that this doesn't by itself
2018 make the kernel reboot on a kernel panic - that must be
2019 enabled via another mechanism.
2020
Pratik Patel17f3b822011-11-21 12:41:47 -08002021config MSM_JTAG
2022 bool "JTAG debug and trace support"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002023 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002024 Add additional support for JTAG kernel debugging and tracing.
Pratik Patel7831c082011-06-08 21:44:37 -07002025
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002026config MSM_ETM
2027 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002028 depends on ARCH_MSM8X60
2029 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002030 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002031 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002032
2033config MSM_QDSS
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002034 bool "Qualcomm Debug Subsystem"
Pratik Patel17f3b822011-11-21 12:41:47 -08002035 select MSM_JTAG
Pratik Patel7831c082011-06-08 21:44:37 -07002036 help
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002037 Enables support for Qualcomm Debug Subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002038
Pratik Patel29cba152012-01-03 11:40:26 -08002039config MSM_QDSS_ETM_DEFAULT_ENABLE
2040 bool "Turn on QDSS ETM Tracing by Default"
2041 depends on MSM_QDSS
2042 help
2043 Turns on QDSS ETM tracing by default. Otherwise, tracing is
2044 disabled by default but can be enabled by other means.
2045
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002046config MSM_SLEEP_STATS
2047 bool "Enable exporting of MSM sleep stats to userspace"
2048 depends on CPU_IDLE
2049 default n
2050
Lynus Vazdde09ee2012-01-05 13:28:22 +05302051config MSM_SLEEP_STATS_DEVICE
2052 bool "Enable exporting of MSM sleep device stats to userspace"
2053
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302054config MSM_RUN_QUEUE_STATS
2055 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Krishna Vankae2922052012-03-02 09:59:12 +05302056 depends on (MSM_SOC_REV_A || ARCH_MSM8X60 || ARCH_MSM8960)
2057 help
2058 This option enalbes statistics collection on Run Queue. A daemon
2059 in user mode, called MPDecision will be using this data to decide
2060 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302061
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002062config MSM_STANDALONE_POWER_COLLAPSE
2063 bool "Enable standalone power collapse"
2064 default n
2065
2066config MSM_GSBI9_UART
2067 bool "Enable GSBI9 UART device"
2068 default n
2069 help
2070 This enables GSBI9 configured into UART.
2071
2072config MSM_SHARED_GPIO_FOR_UART2DM
2073 bool "Use shared GPIOs into UART mode"
2074 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2075 help
2076 This option configures GPIO muxed with SDC4/MMC3
2077 8-bit mode into UART mode. It is used for serial
2078 console on UART2DM. Say Y if you want to have
2079 serial console on UART2DM.
2080
2081config MSM_SHOW_RESUME_IRQ
2082 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002083 depends on (ARM_GIC || PMIC8058)
2084 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002085 default n
2086 help
2087 This option logs wake up interrupts that have triggered just before
2088 the resume loop unrolls. Say Y if you want to debug why the system
2089 resumed.
2090
2091config BT_MSM_PINTEST
2092 tristate "MSM Bluetooth Pin Connectivity Test"
2093 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2094 default n
2095 help
2096 Bluetooth MSM Pin Connectivity test module.
2097 This driver provides support for verifying the MSM to BT pin
2098 connectivity.
2099
2100config MSM_FAKE_BATTERY
2101 depends on POWER_SUPPLY
2102 default n
2103 bool "MSM Fake Battery"
2104 help
2105 Enables MSM fake battery driver.
2106
2107config MSM_QDSP6_APR
2108 bool "Audio QDSP6 APR support"
2109 depends on MSM_SMD
2110 default n
2111 help
2112 Enable APR IPC protocol support between
2113 application processor and QDSP6. APR is
2114 used by audio driver to configure QDSP6's
2115 ASM, ADM and AFE.
2116
2117
2118config MSM_AUDIO_QDSP6
2119 bool "QDSP6 HW Audio support"
2120 select SND_SOC_MSM_QDSP6_INTF
2121 default n
2122 help
2123 Enable HW audio support in QDSP6.
2124 QDSP6 can support HW encoder & decoder and audio processing
2125
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002126config MSM_ULTRASOUND
2127 bool "MSM ultrasound support"
2128 depends on MSM_AUDIO_QDSP6
2129 help
2130 Enable support for qdsp6/ultrasound.
2131
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002132config MSM_RPC_VIBRATOR
2133 bool "RPC based MSM Vibrator Support"
2134 depends on MSM_ONCRPCROUTER
2135 help
2136 Enable the vibrator support on MSM over RPC. The vibrator
2137 is connected on the PMIC. Say Y if you want to enable this
2138 feature.
2139
2140config PM8XXX_RPC_VIBRATOR
2141 bool "RPC based Vibrator on PM8xxx PMICs"
2142 depends on MSM_RPC_VIBRATOR
2143 help
2144 Enable the vibrator support on MSM over RPC. The vibrator
2145 is connected on the PM8XXX PMIC. Say Y if you want to enable
2146 this feature.
2147
2148config MSM_SPM_V1
2149 bool "Driver support for SPM Version 1"
2150 help
2151 Enables the support for Version 1 of the SPM driver. SPM hardware is
2152 used to manage the processor power during sleep. The driver allows
2153 configuring SPM to allow different power modes.
2154
2155config MSM_SPM_V2
2156 bool "Driver support for SPM Version 2"
2157 help
2158 Enables the support for Version 2 of the SPM driver. SPM hardware is
2159 used to manage the processor power during sleep. The driver allows
2160 configuring SPM to allow different power modes.
2161
2162config MSM_L2_SPM
2163 bool "SPM support for L2 cache"
2164 depends on MSM_SPM_V2
2165 help
2166 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2167 control of L2 cache low power mode with a Subsystem Power manager.
2168 Enabling this driver allows configuring L2 SPM for low power modes
2169 on supported chipsets.
2170
Laura Abbott2d1760b2011-09-29 21:31:24 -07002171config MSM_MULTIMEDIA_USE_ION
2172 bool "Multimedia suport using Ion"
2173 depends on ION_MSM
2174 help
2175 Enable support for multimedia drivers using Ion for buffer management
2176 instead of pmem. Selecting this may also involve userspace
2177 dependencies as well.
2178
Laura Abbottad340ff2012-01-04 14:23:48 -08002179config MSM_RTB
2180 bool "Register tracing"
2181 help
2182 Add support for logging different events to a small uncached
2183 region. This is designed to aid in debugging reset cases where the
2184 caches may not be flushed before the target resets.
2185
2186config MSM_RTB_SEPARATE_CPUS
2187 bool "Separate entries for each cpu"
2188 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002189 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002190 help
2191 Under some circumstances, it may be beneficial to give dedicated space
2192 for each cpu to log accesses. Selecting this option will log each cpu
2193 separately. This will guarantee that the last acesses for each cpu
2194 will be logged but there will be fewer entries per cpu
2195
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002196config MSM_CACHE_ERP
2197 bool "Cache / CPU error reporting"
2198 depends on ARCH_MSM_KRAIT
2199 help
2200 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2201 log. Enabling this feature can be used as a system debugging technique
2202 if cache corruption is suspected. Cache error statistics will also be
2203 reported in /proc/cpu/msm_cache_erp.
2204
2205 For production builds, you should probably say 'N' here.
2206
2207config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002208 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002209 depends on MSM_CACHE_ERP
2210 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002211 To cause the kernel to panic whenever an L1 cache error is detected, say
2212 'Y' here. This may be useful as a debugging technique if general system
2213 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002214
2215 For production builds, you should probably say 'N' here.
2216
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002217config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2218 bool "Report L2 master port slave/decode errors in kernel log"
2219 depends on MSM_CACHE_ERP
2220 help
2221 Master port errors can occur when a memory request is not properly
2222 handled by the destination slave. This can occur if the destination
2223 register does not exist or is inaccessible due to security
2224 restrictions or (in some cases) clock configuration. Enabling this
2225 option will cause a backtrace to be printed to the kernel log whenever
2226 such an error is encountered. Note that the error is reported as an
2227 interrupt rather than as an exception, meaning that the backtrace may
2228 have some skid. This option may help with debugging, though production
2229 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002230
2231config MSM_L2_ERP_PORT_PANIC
2232 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002233 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002234 help
2235 Master port errors can occur when a memory request is not properly
2236 handled by the destination slave. Enable this option to catch drivers
2237 which attempt to access bad areas of the address space, or access
2238 hardware registers in an improper state (such as certain clocks not
2239 being on). This option may help with debugging, though production
2240 builds should probably say 'N' here.
2241
2242config MSM_L2_ERP_1BIT_PANIC
2243 bool "Panic on recoverable L2 soft errors"
2244 depends on MSM_CACHE_ERP
2245 help
2246 Enable this option to cause a kernel panic whenever the L2 cache
2247 encounters a single-bit (correctable) soft error. This option should
2248 only be enabled when doing low-level debugging where cache corruption
2249 is suspected.
2250
2251 For production builds, you should definitely say 'N' here.
2252
2253config MSM_L2_ERP_2BIT_PANIC
2254 bool "Panic on unrecoverable L2 soft errors"
2255 depends on MSM_CACHE_ERP
2256 help
2257 Enable this option to cause a kernel panic whenever the L2 cache
2258 encounters a double-bit (non-correctable) soft error. Debug builds
2259 will likely benefit from having this option enabled to catch cache
2260 problems as soon as possible.
2261
2262 For production builds, it may be acceptable to say 'N' here, since
2263 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002264
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002265config MSM_DCVS
2266 bool "Use MSM DCVS for CPU/GPU Frequency control"
2267 depends on MSM_SCM
2268 help
2269 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2270 The DCVS manager allows idle driver to feed the idle information to the
2271 algorithm and the algorithm returns a frequency for the core which is
2272 passed to the frequency change driver.
2273
Taniya Dasc43e6872012-03-21 16:41:14 +05302274config HAVE_ARCH_HAS_CURRENT_TIMER
2275 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002276
2277config MSM_CACHE_DUMP
2278 bool "Cache dumping support"
2279 help
2280 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2281 This allows for analysis of the caches in case cache corruption is
2282 suspected.
2283
Laura Abbott7b637362012-03-29 16:43:49 -07002284config MSM_CACHE_DUMP_ON_PANIC
2285 bool "Dump caches on panic"
2286 depends on MSM_CACHE_DUMP
2287 help
2288 By default, the caches are flushed on panic. This means that trying to
2289 look at them in a RAM dump will give useless data. Select this if you
2290 want to dump the L1 and L2 caches on panic before any flush occurs.
2291 If unsure, say N
2292
Jack Phamccbbfab2012-04-09 19:50:20 -07002293config MSM_HSIC_SYSMON
2294 tristate "MSM HSIC system monitor driver"
2295 depends on USB
2296 help
2297 Add support for bridging with the system monitor interface of MDM
2298 over HSIC. This driver allows the local system monitor to
2299 communicate with the remote system monitor interface.
2300
2301config MSM_HSIC_SYSMON_TEST
2302 tristate "MSM HSIC system monitor bridge test"
2303 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2304 help
2305 Enable the test hook for the Qualcomm system monitor HSIC driver.
2306 This will create a debugfs file entry named "hsic_sysmon_test" which
2307 can be read and written to send character data to the sysmon port of
2308 the modem over USB.
2309
Brian Swetland9e73c842007-11-26 04:12:13 -08002310endif