blob: 310c698530ecef00c046a35baad664373d1ff8f1 [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
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600390config MSM_RPM_SMD
391 depends on MSM_SMD
392 bool "Support for using SMD as the transport layer for communicatons with RPM"
393
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700394config MSM_MPM
395 bool "Modem Power Manager"
396
397config MSM_XO
398 bool
399
400config MSM_REMOTE_SPINLOCK_DEKKERS
401 bool
402config MSM_REMOTE_SPINLOCK_SWP
403 bool
404config MSM_REMOTE_SPINLOCK_LDREX
405 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600406config MSM_REMOTE_SPINLOCK_SFPB
407 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700408config MSM_ADM3
409 bool
410
411menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700412
413config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700414 depends on ARCH_MSM7X01A
415 depends on MSM_STACKED_MEMORY
416 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700417 bool "Halibut Board (QCT SURF7201A)"
418 help
419 Support for the Qualcomm SURF7201A eval board.
420
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700421config MACH_MSM7201A_SURF
422 depends on ARCH_MSM7X01A
423 depends on MSM_STACKED_MEMORY
424 default y
425 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700426 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700427 Support for the Qualcomm MSM7201A SURF eval board.
428
429config MACH_MSM7201A_FFA
430 depends on ARCH_MSM7X01A
431 depends on MSM_STACKED_MEMORY
432 default y
433 bool "MSM7201A FFA"
434 help
435 Support for the Qualcomm MSM7201A FFA eval board.
436
437config MACH_TROUT
438 depends on ARCH_MSM7X01A
439 depends on MSM_STACKED_MEMORY
440 default y
441 bool "Trout"
442
443config MACH_MSM7X27_SURF
444 depends on ARCH_MSM7X27
445 depends on !MSM_STACKED_MEMORY
446 default y
447 bool "MSM7x27 SURF"
448 help
449 Support for the Qualcomm MSM7x27 SURF eval board.
450
451config MACH_MSM7X27_FFA
452 depends on ARCH_MSM7X27
453 depends on !MSM_STACKED_MEMORY
454 default y
455 bool "MSM7x27 FFA"
456 help
457 Support for the Qualcomm MSM7x27 FFA eval board.
458
459config MACH_MSM7X27A_RUMI3
460 depends on ARCH_MSM7X27A
461 depends on !MSM_STACKED_MEMORY
462 default y
463 bool "MSM7x27A RUMI3"
464 help
465 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
466
467config MACH_MSM7X27A_SURF
468 depends on ARCH_MSM7X27A
469 depends on !MSM_STACKED_MEMORY
470 default y
471 bool "MSM7x27A SURF"
472 help
473 Support for the Qualcomm MSM7x27A SURF.
474
475config MACH_MSM7X27A_FFA
476 depends on ARCH_MSM7X27A
477 depends on !MSM_STACKED_MEMORY
478 default y
479 bool "MSM7x27A FFA"
480 help
481 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700482
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530483config MACH_MSM7625A_SURF
484 depends on ARCH_MSM7X27A
485 depends on !MSM_STACKED_MEMORY
486 default y
487 bool "MSM7625A SURF"
488 help
489 Support for the Qualcomm MSM7625A SURF.
490
491config MACH_MSM7625A_FFA
492 depends on ARCH_MSM7X27A
493 depends on !MSM_STACKED_MEMORY
494 default y
495 bool "MSM7625A FFA"
496 help
497 Support for the Qualcomm MSM7625A FFA.
498
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530499config MACH_MSM7627A_QRD1
500 depends on ARCH_MSM7X27A
501 depends on !MSM_STACKED_MEMORY
502 default y
503 bool "MSM7627A QRD1"
504 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530505 Support for the Qualcomm MSM7627A Reference Design.
506
507config MACH_MSM7627A_QRD3
508 depends on ARCH_MSM7X27A
509 depends on !MSM_STACKED_MEMORY
510 default y
511 bool "MSM7627A QRD3"
512 help
513 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530514
Taniya Dasc868a2e2012-01-03 10:18:47 +0530515config MACH_MSM7627A_EVB
516 depends on ARCH_MSM7X27A
517 depends on !MSM_STACKED_MEMORY
518 default y
519 bool "MSM7627A EVB"
520 help
521 Support for the Qualcomm MSM7627A Reference Design.
522
Taniya Das43bcdd62011-12-02 17:33:27 +0530523config MACH_MSM8625_RUMI3
524 depends on ARCH_MSM8625
525 depends on !MSM_STACKED_MEMORY
526 default y
527 bool "MSM8625 RUMI3"
528 help
529 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
530
Taniya Dase3027e22012-02-27 16:32:27 +0530531config MACH_MSM8625_SURF
532 depends on ARCH_MSM8625
533 depends on !MSM_STACKED_MEMORY
534 default y
535 bool "MSM8625 SURF"
536 help
537 Support for the Qualcomm MSM8625 SURF.
538
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530539config MACH_MSM8625_FFA
540 depends on ARCH_MSM8625
541 depends on !MSM_STACKED_MEMORY
542 default y
543 bool "MSM8625 FFA"
544 help
545 Support for the Qualcomm MSM8625 FFA.
546
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530547config MACH_MSM8625_EVB
548 depends on ARCH_MSM8625
549 depends on !MSM_STACKED_MEMORY
550 default y
551 bool "MSM8625 EVB"
552 help
553 Support for the Qualcomm MSM8625 Reference Design.
554
Taniya Dasbd096542012-03-15 17:43:45 +0530555config MACH_MSM8625_QRD7
556 depends on ARCH_MSM8625
557 depends on !MSM_STACKED_MEMORY
558 default y
559 bool "MSM8625 QRD7"
560 help
561 Support for the Qualcomm MSM8625 Reference Design.
562
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530563config MACH_MSM8625_EVT
564 depends on ARCH_MSM8625
565 depends on !MSM_STACKED_MEMORY
566 default y
567 bool "MSM8625 EVT"
568 help
569 Support for the Qualcomm MSM8625 Reference Design.
570
Daniel Walker7b521612010-05-06 12:44:57 -0700571config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700572 depends on ARCH_MSM7X30
573 depends on !MSM_STACKED_MEMORY
574 default y
575 bool "MSM7x30 SURF"
576 help
577 Support for the Qualcomm MSM7x30 SURF eval board.
578
579config MACH_MSM7X30_FFA
580 depends on ARCH_MSM7X30
581 depends on !MSM_STACKED_MEMORY
582 default y
583 bool "MSM7x30 FFA"
584 help
585 Support for the Qualcomm MSM7x30 FFA eval board.
586
587config MACH_MSM7X30_FLUID
588 depends on ARCH_MSM7X30
589 depends on !MSM_STACKED_MEMORY
590 default y
591 bool "MSM7x30 FLUID"
592 help
593 Support for the Qualcomm MSM7x30 FLUID eval board.
594
595config MACH_SAPPHIRE
596 depends on ARCH_MSM7X01A
597 default n
598 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700599
Daniel Walker4ad15e62010-05-06 13:54:17 -0700600config MACH_QSD8X50_SURF
601 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700602 depends on MSM_SOC_REV_NONE
603 depends on MSM_STACKED_MEMORY
604 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700605 bool "QSD8x50 SURF"
606 help
607 Support for the Qualcomm QSD8x50 SURF eval board.
608
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700609config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700610 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700611 depends on MSM_SOC_REV_NONE
612 depends on MSM_STACKED_MEMORY
613 default y
614 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700615 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700616 Support for the Qualcomm QSD8x50 FFA eval board.
617
618config MACH_MSM7X25_SURF
619 depends on ARCH_MSM7X25
620 depends on !MSM_STACKED_MEMORY
621 default y
622 bool "MSM7x25 SURF"
623 help
624 Support for the Qualcomm MSM7x25 SURF eval board.
625
626config MACH_MSM7X25_FFA
627 depends on ARCH_MSM7X25
628 depends on !MSM_STACKED_MEMORY
629 default y
630 bool "MSM7x25 FFA"
631 help
632 Support for the Qualcomm MSM7x25 FFA eval board.
633
634config MACH_MSM8X55_SURF
635 depends on ARCH_MSM7X30
636 depends on !MSM_STACKED_MEMORY
637 default y
638 bool "MSM8X55 SURF"
639 help
640 Support for the Qualcomm MSM8x55 SURF eval board.
641
642config MACH_MSM8X55_FFA
643 depends on ARCH_MSM7X30
644 depends on !MSM_STACKED_MEMORY
645 default y
646 bool "MSM8X55 FFA"
647 help
648 Support for the Qualcomm MSM8x55 FFA eval board.
649
650config MACH_MSM8X55_SVLTE_FFA
651 depends on ARCH_MSM7X30
652 depends on !MSM_STACKED_MEMORY
653 default y
654 bool "MSM8X55 SVLTE FFA"
655 help
656 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
657
658config MACH_MSM8X55_SVLTE_SURF
659 depends on ARCH_MSM7X30
660 depends on !MSM_STACKED_MEMORY
661 default y
662 bool "MSM8X55 SVLTE SURF"
663 help
664 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700665
Steve Mucklea55df6e2010-01-07 12:43:24 -0800666config MACH_MSM8X60_RUMI3
667 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700668 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800669 bool "MSM8x60 RUMI3"
670 help
671 Support for the Qualcomm MSM8x60 RUMI3 emulator.
672
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800673config MACH_MSM8X60_SIM
674 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700675 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800676 bool "MSM8x60 Simulator"
677 help
678 Support for the Qualcomm MSM8x60 simulator.
679
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700680config MACH_MSM8X60_SURF
681 depends on ARCH_MSM8X60
682 default n
683 bool "MSM8x60 SURF"
684 help
685 Support for the Qualcomm MSM8x60 SURF eval board.
686
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700687config MACH_MSM8X60_FFA
688 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700689 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700690 bool "MSM8x60 FFA"
691 help
692 Support for the Qualcomm MSM8x60 FFA eval board.
693
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700694config MACH_MSM8X60_FLUID
695 depends on ARCH_MSM8X60
696 default n
697 bool "MSM8x60 FLUID"
698 help
699 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
700 8x60 target which has a form factor that is much closer to that
701 of a phone than other targets. It also has a new display and
702 touchscreen controller.
703
704config MACH_MSM8X60_FUSION
705 depends on ARCH_MSM8X60
706 default n
707 bool "MSM8x60 FUSION"
708 help
709 Support for the Qualcomm MSM8x60 Fusion SURF device.
710
711config MACH_MSM8X60_FUSN_FFA
712 depends on ARCH_MSM8X60
713 default n
714 bool "MSM8x60 FUSN FFA"
715 help
716 Support for the Qualcomm MSM8x60 Fusion FFA device.
717
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400718config MACH_MSM8X60_DRAGON
719 depends on ARCH_MSM8X60
720 default n
721 bool "MSM8x60 DRAGON"
722 help
723 Support for the Qualcomm MSM8x60 Dragon board.
724
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800725config MACH_MSM8960_SIM
726 depends on ARCH_MSM8960
727 bool "MSM8960 Simulator"
728 help
729 Support for the Qualcomm MSM8960 simulator.
730
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800731config MACH_MSM8960_RUMI3
732 depends on ARCH_MSM8960
733 bool "MSM8960 RUMI3"
734 help
735 Support for the Qualcomm MSM8960 RUMI3 emulator.
736
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700737config MACH_MSM8960_CDP
738 depends on ARCH_MSM8960
739 bool "MSM8960 CDP"
740 help
741 Support for the Qualcomm MSM8960 CDP device.
742
743config MACH_MSM8960_MTP
744 depends on ARCH_MSM8960
745 bool "MSM8960 MTP"
746 help
747 Support for the Qualcomm MSM8960 MTP device.
748
749config MACH_MSM8960_FLUID
750 depends on ARCH_MSM8960
751 bool "MSM8960 FLUID"
752 help
753 Support for the Qualcomm MSM8960 FLUID device.
754
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300755config MACH_MSM8960_LIQUID
756 depends on ARCH_MSM8960
757 bool "MSM8960 LIQUID"
758 help
759 Support for the Qualcomm MSM8960 LIQUID device.
760
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700761config MACH_MSM8930_CDP
762 depends on ARCH_MSM8930
763 bool "MSM8930 CDP"
764 help
765 Support for the Qualcomm MSM8930 CDP device.
766
767config MACH_MSM8930_MTP
768 depends on ARCH_MSM8930
769 bool "MSM8930 MTP"
770 help
771 Support for the Qualcomm MSM8930 MTP device.
772
773config MACH_MSM8930_FLUID
774 depends on ARCH_MSM8930
775 bool "MSM8930 FLUID"
776 help
777 Support for the Qualcomm MSM8930 FLUID device.
778
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800779config MACH_MSM8627_CDP
780 depends on ARCH_MSM8930
781 bool "MSM8627 CDP"
782 help
783 Support for the Qualcomm MSM8627 CDP device.
784
785config MACH_MSM8627_MTP
786 depends on ARCH_MSM8930
787 bool "MSM8627 MTP"
788 help
789 Support for the Qualcomm MSM8627 MTP device.
790
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700791config MACH_MSM9615_CDP
792 depends on ARCH_MSM9615
793 bool "MSM9615 CDP"
794 help
795 Support for the Qualcomm MSM9615 CDP device.
796
797config MACH_MSM9615_MTP
798 depends on ARCH_MSM9615
799 bool "MSM9615 MTP"
800 help
801 Support for the Qualcomm MSM9615 MTP device.
802
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700803config MSM_USE_TSIF1
804 depends on ARCH_MSM8X60
805 bool "MSM8x60 use TSIF1"
806 help
807 Selects TSIF1 core to be used rather than TSIF0.
808 The two TSIF cores share the same DM configuration
809 so they cannot be used simultaneously.
810
811config MACH_APQ8064_SIM
812 depends on ARCH_APQ8064
813 bool "APQ8064 Simulator"
814 help
815 Support for the Qualcomm APQ8064 simulator.
816
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700817config MACH_APQ8064_RUMI3
818 depends on ARCH_APQ8064
819 bool "APQ8064 RUMI3"
820 help
821 Support for the Qualcomm APQ8064 RUMI3 emulator.
822
Joel King82b7e3f2012-01-05 10:03:27 -0800823config MACH_APQ8064_CDP
824 depends on ARCH_APQ8064
825 bool "APQ8064 CDP"
826 help
827 Support for the Qualcomm APQ8064 CDP device.
828
829config MACH_APQ8064_MTP
830 depends on ARCH_APQ8064
831 bool "APQ8064 MTP"
832 help
833 Support for the Qualcomm APQ8064 MTP device.
834
835config MACH_APQ8064_LIQUID
836 depends on ARCH_APQ8064
837 bool "APQ8064 LIQUID"
838 help
839 Support for the Qualcomm APQ8064 LIQUID device.
840
Joel King064bbf82012-04-01 13:23:39 -0700841config MACH_MPQ8064_CDP
842 depends on ARCH_APQ8064
843 bool "MPQ8064 CDP"
844 help
845 Support for the Qualcomm MPQ8064 CDP device.
846
Joel King11ca8202012-02-13 16:19:03 -0800847config MACH_MPQ8064_HRD
848 depends on ARCH_APQ8064
849 bool "MPQ8064 HRD"
850 help
851 Support for the Qualcomm MPQ8064 HRD device.
852
853config MACH_MPQ8064_DTV
854 depends on ARCH_APQ8064
855 bool "MPQ8064 DTV"
856 help
857 Support for the Qualcomm MPQ8064 DTV device.
858
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700859config MACH_FSM9XXX_SURF
860 depends on ARCH_FSM9XXX
861 depends on !MSM_STACKED_MEMORY
862 default y
863 bool "FSM9XXX SURF"
864 help
865 Support for the Qualcomm FSM9xxx femtocell
866 chipset based SURF evaluation board and
867 FFA board.
868
Daniel Walker4ad15e62010-05-06 13:54:17 -0700869endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800870
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700871config MSM_STACKED_MEMORY
872 bool "Stacked Memory"
873 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800874 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700875 This option is used to indicate the presence of on-die stacked
876 memory. When present this memory bank is used for a high speed
877 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800878
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700879config PHYS_OFFSET
880 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700881 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700882 default "0x80200000" if ARCH_APQ8064
883 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700884 default "0x80200000" if ARCH_MSM8930
Sathish Ambley39a1dc42012-03-19 21:46:26 -0700885 default "0x20200000" if ARCH_MSMCOPPER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700886 default "0x10000000" if ARCH_FSM9XXX
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700887 default "0x20200000" if ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700888 default "0x00200000" if !MSM_STACKED_MEMORY
889 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
890 default "0x20000000" if ARCH_QSD8X50
891 default "0x40200000" if ARCH_MSM8X60
892 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800893
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700894config KERNEL_PMEM_EBI_REGION
895 bool "Enable in-kernel PMEM region for EBI"
896 default y if ARCH_MSM8X60
Olav Hauganb800c8c2012-01-30 08:50:45 -0800897 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSMCOPPER)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700898 help
899 Enable the in-kernel PMEM allocator to use EBI memory.
900
901config KERNEL_PMEM_SMI_REGION
902 bool "Enable in-kernel PMEM region for SMI"
903 default y if ARCH_MSM8X60
904 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
905 help
906 Enable the in-kernel PMEM allocator to use SMI memory.
907
908config PMEM_GPU0
909 bool "Enable PMEM GPU0 region"
910 default y
911 depends on ARCH_QSD8X50 && ANDROID_PMEM
912 help
913 Enable the PMEM GPU0 device on SMI Memory.
914
915config MSM_AMSS_VERSION
916 int
917 default 6210 if MSM_AMSS_VERSION_6210
918 default 6220 if MSM_AMSS_VERSION_6220
919 default 6225 if MSM_AMSS_VERSION_6225
920
921choice
922 prompt "AMSS modem firmware version"
923
924 default MSM_AMSS_VERSION_6225
925
926 config MSM_AMSS_VERSION_6210
927 bool "6.2.10"
928
929 config MSM_AMSS_VERSION_6220
930 bool "6.2.20"
931
932 config MSM_AMSS_VERSION_6225
933 bool "6.2.20 + New ADSP"
934endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800935
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700936config MSM_HAS_DEBUG_UART_HS
937 bool
938 help
939 Say Y here if high speed MSM UART is present.
940
941config MSM_HAS_DEBUG_UART_HS_V14
942 bool
943 select MSM_HAS_DEBUG_UART_HS
944 help
945 Say Y here if high speed MSM UART v1.4 is present.
946
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800947config DEBUG_MSM8930_UART
948 bool "Kernel low-level debugging messages via MSM 8930 UART"
949 depends on ARCH_MSM8930 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700950 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800951 help
952 Say Y here if you want the debug print routines to direct
953 their output to the serial port on MSM 8930 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100954
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530955config MSM_DEBUG_UART_PHYS
956 hex
957 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
958 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
959 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
960 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
961 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
962 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
963 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
964 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
965
Pavel Machek6339f662009-11-02 11:48:29 +0100966choice
967 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800968 depends on DEBUG_LL
Pavel Machek6339f662009-11-02 11:48:29 +0100969
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800970 config DEBUG_MSM_UART1
971 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530972 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800973 help
974 Say Y here if you want the debug print routines to direct
975 their output to the first serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100976
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800977 config DEBUG_MSM_UART2
978 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530979 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800980 help
981 Say Y here if you want the debug print routines to direct
982 their output to the second serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100983
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800984 config DEBUG_MSM_UART3
985 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530986 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800987 help
988 Say Y here if you want the debug print routines to direct
989 their output to the third serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100990
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800991 config DEBUG_MSM8660_UART
992 bool "Kernel low-level debugging messages via MSM 8660 UART"
993 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700994 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800995 help
996 Say Y here if you want the debug print routines to direct
997 their output to the serial port on MSM 8660 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100998
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800999 config DEBUG_MSM8960_UART
1000 bool "Kernel low-level debugging messages via MSM 8960 UART"
1001 depends on ARCH_MSM8960
1002 select DEBUG_MSM8930_UART
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001003 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001004 help
1005 Say Y here if you want the debug print routines to direct
1006 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001007
1008 config DEBUG_MSMCOPPER_UART
1009 bool "Kernel low-level debugging messages via MSM Copper UART"
1010 depends on ARCH_MSMCOPPER
1011 select MSM_HAS_DEBUG_UART_HS_V14
1012 help
1013 Say Y here if you want the debug print routines to direct
1014 their output to the serial port on MSM Copper devices.
Pavel Machek6339f662009-11-02 11:48:29 +01001015endchoice
1016
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001017choice
1018 prompt "Default Timer"
1019 default MSM7X00A_USE_GP_TIMER
1020
1021 config MSM7X00A_USE_GP_TIMER
1022 bool "GP Timer"
1023 help
1024 Low resolution timer that allows power collapse from idle.
1025
1026 config MSM7X00A_USE_DG_TIMER
1027 bool "DG Timer"
1028 help
1029 High resolution timer.
1030endchoice
1031
1032choice
1033 prompt "Suspend sleep mode"
1034 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1035 help
1036 Allows overriding the sleep mode used. Leave at power
1037 collapse suspend unless the arm9 image has problems.
1038
1039 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1040 bool "Power collapse suspend"
1041 help
1042 Lowest sleep state. Returns through reset vector.
1043
1044 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1045 bool "Power collapse"
1046 help
1047 Sleep state that returns through reset vector.
1048
1049 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1050 bool "Apps Sleep"
1051
1052 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1053 bool "Ramp down cpu clock and wait for interrupt"
1054
1055 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1056 bool "Wait for interrupt"
1057endchoice
1058
1059config MSM7X00A_SLEEP_MODE
1060 int
1061 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1062 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1063 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1064 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1065 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1066
1067choice
1068 prompt "Idle sleep mode"
1069 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1070 help
1071 Allows overriding the sleep mode used from idle. Leave at power
1072 collapse suspend unless the arm9 image has problems.
1073
1074 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1075 bool "Power collapse suspend"
1076 help
1077 Lowest sleep state. Returns through reset vector.
1078
1079 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1080 bool "Power collapse"
1081 help
1082 Sleep state that returns through reset vector.
1083
1084 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1085 bool "Apps Sleep"
1086
1087 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1088 bool "Ramp down cpu clock and wait for interrupt"
1089
1090 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1091 bool "Wait for interrupt"
1092endchoice
1093
1094config MSM7X00A_IDLE_SLEEP_MODE
1095 int
1096 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1097 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1098 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1099 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1100 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1101
1102config MSM7X00A_IDLE_SLEEP_MIN_TIME
1103 int "Minimum idle time before sleep"
1104 default 20000000
1105 help
1106 Minimum idle time in nanoseconds before entering low power mode.
1107
1108config MSM7X00A_IDLE_SPIN_TIME
1109 int "Idle spin time before cpu ramp down"
1110 default 80000
1111 help
1112 Spin time in nanoseconds before ramping down cpu clock and entering
1113 any low power state.
1114
1115menuconfig MSM_IDLE_STATS
1116 bool "Collect idle statistics"
1117 default y
1118 help
1119 Collect idle statistics and export them in proc/msm_pm_stats.
1120
1121if MSM_IDLE_STATS
1122
1123config MSM_IDLE_STATS_FIRST_BUCKET
1124 int "First bucket time"
1125 default 62500
1126 help
1127 Upper time limit in nanoseconds of first bucket.
1128
1129config MSM_IDLE_STATS_BUCKET_SHIFT
1130 int "Bucket shift"
1131 default 2
1132
1133config MSM_IDLE_STATS_BUCKET_COUNT
1134 int "Bucket count"
1135 default 10
1136
1137config MSM_SUSPEND_STATS_FIRST_BUCKET
1138 int "First bucket time for suspend"
1139 default 1000000000
1140 help
1141 Upper time limit in nanoseconds of first bucket of the
1142 histogram. This is for collecting statistics on suspend.
1143
1144endif # MSM_IDLE_STATS
1145
1146config CPU_HAS_L2_PMU
1147 bool "L2CC PMU Support"
1148 help
1149 Select this if the L2 cache controller has a Performance Monitoring Unit.
1150
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001151config HTC_HEADSET
1152 tristate "HTC 2 Wire detection driver"
1153 default n
1154 help
1155 Provides support for detecting HTC 2 wire devices, such as wired
1156 headset, on the trout platform. Can be used with the msm serial
1157 debugger, but not with serial console.
1158
1159config TROUT_BATTCHG
1160 depends on MACH_TROUT && POWER_SUPPLY
1161 default y
1162 bool "Trout battery / charger driver"
1163
1164config HTC_PWRSINK
1165 depends on MSM_SMD
1166 default n
1167 bool "HTC Power Sink Driver"
1168
1169config QSD_SVS
1170 bool "QSD Static Voltage Scaling"
1171 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1172 default y
1173 select TPS65023
1174 help
1175 Enables static voltage scaling using the TPS65023 PMIC.
1176
1177config QSD_PMIC_DEFAULT_DCDC1
1178 int "PMIC default output voltage"
1179 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1180 default 1250
1181 help
1182 This is the PMIC voltage at Linux kernel boot.
1183
1184config MSM_FIQ_SUPPORT
1185 default y
1186 bool "Enable installation of an FIQ handler."
1187
1188config MSM_SERIAL_DEBUGGER
1189 select MSM_FIQ_SUPPORT
1190 select KERNEL_DEBUGGER_CORE
1191 default n
1192 bool "FIQ Mode Serial Debugger"
1193 help
1194 The FIQ serial debugger can accept commands even when the
1195 kernel is unresponsive due to being stuck with interrupts
1196 disabled. Depends on the kernel debugger core in drivers/misc.
1197
1198config MSM_SERIAL_DEBUGGER_CONSOLE
1199 depends on MSM_SERIAL_DEBUGGER
1200 default n
1201 bool "Console on FIQ Serial Debugger port"
1202 help
1203 Enables a console so that printk messages are displayed on
1204 the debugger serial port as the occur.
Daniel Walkerbf83de42010-03-16 16:29:44 -07001205
Steve Mucklec8aabae2010-04-21 16:20:27 -07001206config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001207 default y
1208 bool "Proc-Comm RPC Interface"
1209 help
1210 Enables a lightweight communications interface to the
1211 baseband processor.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001212
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001213config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001214 bool "MSM Shared Memory Driver (SMD)"
1215 help
1216 Support for the shared memory interface between the apps
1217 processor and the baseband processor. Provides access to
1218 the "shared heap", as well as virtual serial channels
1219 used to communicate with various services on the baseband
1220 processor.
1221
1222choice
1223 prompt "MSM Shared memory interface version"
1224 depends on MSM_SMD
1225 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1226 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1227
1228 config MSM_SMD_PKG3
1229 bool
1230 prompt "Package 3"
1231
1232 config MSM_SMD_PKG4
1233 bool
1234 prompt "Package 4"
1235endchoice
1236
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001237config MSM_PCIE
1238 bool "MSM PCIe Controller driver"
1239 depends on PCI && PCI_MSI
1240 help
1241 Enables the PCIe functionality by configures PCIe core on
1242 MSM chipset and by enabling the ARM PCI framework extension.
1243
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001244config MSM_RPC_SDIO_XPRT
1245 depends on MSM_SDIO_AL
1246 default y
1247 bool "MSM SDIO XPRT Layer"
1248 help
1249 SDIO Transport Layer for RPC Rouer
1250
1251config MSM_RPC_SDIO_DEBUG
1252 depends on MSM_RPC_SDIO_XPRT
1253 default y
1254 bool "MSM SDIO XPRT debug support"
1255 help
1256 Support for debugging SDIO XPRT
1257
1258config MSM_SMD_DEBUG
1259 depends on MSM_SMD
1260 default y
1261 bool "MSM SMD debug support"
1262 help
1263 Support for debugging the SMD for communication
1264 between the ARM9 and ARM11
1265
1266config MSM_SDIO_AL
1267 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1268 default y
1269 tristate "SDIO-Abstraction-Layer"
1270 help
1271 Support MSM<->MDM Communication over SDIO bus.
1272 MDM SDIO-Client should have pipes support.
1273
1274config MSM_SDIO_DMUX
1275 bool "SDIO Data Mux Driver"
1276 depends on MSM_SDIO_AL
1277 default n
1278 help
1279 Support Muxed Data Channels over SDIO interface.
1280
1281config MSM_BAM_DMUX
1282 bool "BAM Data Mux Driver"
1283 depends on SPS
1284 default n
1285 help
1286 Support Muxed Data Channels over BAM interface.
1287 BAM has a limited number of pipes. This driver
1288 provides a means to support more logical channels
1289 via muxing than BAM could without muxing.
1290
1291config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001292 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001293 default y
1294 bool "MSM N-WAY SMD support"
1295 help
1296 Supports APPS-QDSP SMD communication along with
1297 normal APPS-MODEM SMD communication.
1298
1299config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001300 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001301 default y
1302 bool "MSM N-WAY SMSM support"
1303 help
1304 Supports APPS-QDSP SMSM communication along with
1305 normal APPS-MODEM SMSM communication.
1306
1307config MSM_RESET_MODEM
1308 tristate "Reset Modem Driver"
1309 depends on MSM_SMD
1310 default m
1311 help
1312 Allows the user to reset the modem through a device node.
1313
1314config MSM_SMD_LOGGING
1315 depends on MSM_SMD
1316 default y
1317 bool "MSM Shared Memory Logger"
1318 help
1319 This option exposes the shared memory logger at /dev/smem_log
1320 and a debugfs node named smem_log.
1321
1322 If in doubt, say yes.
1323
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001324config MSM_IPC_LOGGING
1325 bool "MSM Debug Logging for IPC Drivers"
1326 help
1327 This option allows the debug logging for IPC Drivers.
1328
1329 If in doubt, say no.
1330
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001331config MSM_SMD_NMEA
1332 bool "NMEA GPS Driver"
1333 depends on MSM_SMD
1334 default y
1335 help
1336 Enable this to support the NMEA GPS device.
1337
1338 If in doubt, say yes.
1339
1340config MSM_SDIO_TTY
1341 bool "SDIO TTY Driver"
1342 depends on MSM_SDIO_AL
1343 default n
1344 help
1345 Provides a TTY driver SDIO TTY
1346 This driver can be used by user space
1347 applications for passing data through the
1348 SDIO interface.
1349
1350config MSM_SMD_TTY
1351 bool "SMD TTY Driver"
1352 depends on MSM_SMD
1353 default y
1354 help
1355 Provides TTY interfaces to interact with the modem.
1356
1357 If in doubt, say yes.
1358
1359config MSM_SMD_QMI
1360 bool "SMD QMI Driver"
1361 depends on MSM_SMD
1362 default y
1363 help
1364 Manages network data connections.
1365
1366 If in doubt, say yes.
1367
1368config MSM_SMD_PKT
1369 bool "SMD Packet Driver"
1370 depends on MSM_SMD
1371 default y
1372 help
1373 Provides a binary SMD non-muxed packet port interface.
1374
1375 If in doubt, say yes.
1376
1377config MSM_SDIO_CMUX
1378 bool "SDIO CMUX Driver"
1379 depends on MSM_SDIO_AL
1380 default n
1381 help
1382 Provides a Muxed port interface over SDIO QMI
1383
1384config MSM_DSPS
1385 bool "Sensors DSPS driver"
1386 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1387 default n
1388 help
1389 Provides user-space interface to the sensors manager
1390 to turn on/off the Sensors Processor system clocks.
1391 It is the DSPS responsibility to turn on/off the sensors
1392 themself.
1393 The number of clocks and their name may vary between targets.
1394 It also triggers the PIL to load the DSPS firmware.
1395
1396config MSM_SDIO_CTL
1397 bool "SDIO CTL Driver"
1398 depends on MSM_SDIO_CMUX
1399 default n
1400 help
1401 Provides a binary SDIO control port interface.
1402
1403config MSM_ONCRPCROUTER
1404 depends on MSM_SMD
1405 default n
1406 bool "MSM ONCRPC router support"
1407 help
1408 Support for the MSM ONCRPC router for communication between
1409 the ARM9 and ARM11
1410
1411config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001412 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001413 default n
1414 bool "MSM IPC Router support"
1415 help
1416 Support for the MSM IPC Router for communication between
1417 the APPs and the MODEM
1418
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001419config MSM_IPC_ROUTER_SMD_XPRT
1420 depends on MSM_SMD
1421 depends on MSM_IPC_ROUTER
1422 default n
1423 bool "MSM SMD XPRT Layer"
1424 help
1425 SMD Transport Layer for IPC Router
1426
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001427config MSM_ONCRPCROUTER_DEBUG
1428 depends on MSM_ONCRPCROUTER
1429 default y
1430 bool "MSM debug ONCRPC router support"
1431 help
1432 Support for debugging the ONCRPC router for communication
1433 between the ARM9 and ARM11
1434
1435config MSM_RPC_LOOPBACK_XPRT
1436 depends on MSM_ONCRPCROUTER
1437 default n
1438 bool "MSM RPC local routing support"
1439 help
1440 Support for routing RPC messages between APPS clients
1441 and APPS servers. Helps in testing APPS RPC framework.
1442
1443config MSM_RPCSERVER_TIME_REMOTE
1444 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1445 default y
1446 bool "Time remote RPC server"
1447 help
1448 The time remote server receives notification of time bases and
1449 reports these events to registered callback functions.
1450
1451config MSM_RPCSERVER_WATCHDOG
1452 depends on MSM_ONCRPCROUTER
1453 default y
1454 bool "Watchdog RPC server"
1455 help
1456 The dog_keepalive server handles watchdog events.
1457
1458config MSM_RPC_WATCHDOG
1459 depends on MSM_ONCRPCROUTER
1460 default n
1461 bool "Watchdog RPC client"
1462 help
1463 The dog_keepalive client module.
1464
1465config MSM_RPC_PING
1466 depends on MSM_ONCRPCROUTER && DEBUG_FS
1467 default m
1468 bool "MSM rpc ping"
1469 help
1470 Implements MSM rpc ping test module.
1471
1472config MSM_RPC_PROC_COMM_TEST
1473 depends on DEBUG_FS && MSM_PROC_COMM
1474 default m
1475 bool "MSM rpc proc comm test"
1476 help
1477 Implements MSM rpc proc comm test module.
1478
1479config MSM_RPC_OEM_RAPI
1480 depends on MSM_ONCRPCROUTER
1481 default m
1482 bool "MSM oem rapi"
1483 help
1484 Implements MSM oem rapi client module.
1485
1486config MSM_RPCSERVER_HANDSET
1487 depends on MSM_ONCRPCROUTER
1488 default y
1489 bool "Handset events RPC server"
1490 help
1491 Support for receiving handset events like headset detect,
1492 headset switch and clamshell state.
1493
1494config MSM_RMT_STORAGE_CLIENT
1495 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1496 default n
1497 bool "Remote Storage RPC client"
1498 help
1499 Provide RPC mechanism for remote processors to access storage
1500 device on apps processor.
1501
1502config MSM_RMT_STORAGE_CLIENT_STATS
1503 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1504 default n
1505 bool "Remote storage RPC client performance statistics"
1506 help
1507 Collects performance statistics and shows this information
1508 through a debugfs file rmt_storage_stats.
1509
1510config MSM_SDIO_SMEM
1511 depends on MSM_SDIO_AL
1512 default n
1513 bool "SDIO SMEM for remote storage"
1514 help
1515 Copies data from remote MDM9K memory to local MSM8x60
1516 memory. Used by remote storage client to shadow
1517 MDM9K filesystem.
1518
1519config MSM_DALRPC
1520 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001521 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001522 help
1523 Supports RPC calls to DAL devices on remote processor cores.
1524
1525config MSM_DALRPC_TEST
1526 tristate "DAL RPC test module"
1527 depends on (MSM_DALRPC && DEBUG_FS)
1528 default m
1529 help
1530 Exercises DAL RPC calls to QDSP6.
1531
1532if CPU_FREQ_MSM
1533
1534config MSM_CPU_FREQ_SET_MIN_MAX
1535 bool "Set Min/Max CPU frequencies."
1536 default n
1537 help
1538 Allow setting min and max CPU frequencies. Sysfs can be used
1539 to override these values.
1540
1541config MSM_CPU_FREQ_MAX
1542 int "Max CPU Frequency"
1543 depends on MSM_CPU_FREQ_SET_MIN_MAX
1544 default 384000
1545
1546config MSM_CPU_FREQ_MIN
1547 int "Min CPU Frequency"
1548 depends on MSM_CPU_FREQ_SET_MIN_MAX
1549 default 245760
1550
1551endif # CPU_FREQ_MSM
1552
1553config MSM_CPU_AVS
1554 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1555 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1556 depends on ARCH_QSD8X50
1557 default n
1558 select MSM_AVS_HW
1559 help
1560 This enables the s/w control of Adaptive Voltage Scaling feature
1561 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1562 based on feedback from three ring oscillators in the CPU.
1563
1564config MSM_AVS_HW
1565 bool "Enable Adaptive Voltage Scaling (AVS)"
1566 default n
1567 help
1568 Enable AVS hardware to fine tune voltage at each frequency. The
1569 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1570 fine tune the voltages based on the feedback from the ring
1571 oscillators.
1572
1573config MSM_HW3D
1574 tristate "MSM Hardware 3D Register Driver"
1575 depends on ANDROID_PMEM
1576 default y
1577 help
1578 Provides access to registers needed by the userspace OpenGL|ES
1579 library.
1580
1581config MSM_ADSP
1582 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1583 tristate "MSM ADSP driver"
1584 depends on ANDROID_PMEM
1585 default y
1586 help
1587 Provides access to registers needed by the userspace aDSP library.
1588
1589config ADSP_RPC_VER
1590 hex
1591 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1592 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1593 depends on MSM_ADSP
1594 help
1595 Select proper ADSP RPC version
1596choice
1597 prompt "ADSP RPC version"
1598
1599 default AMSS_7X25_VERSION_2009
1600
1601 config AMSS_7X25_VERSION_2009
1602 bool "2.0.09"
1603
1604 config AMSS_7X25_VERSION_2008
1605 bool "2.0.08"
1606endchoice
1607
1608config MSM7KV2_AUDIO
1609 bool "MSM7K v2 audio"
1610 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1611 default y
1612 help
1613 Enables QDSP5V2-based audio drivers for audio playbacks and
1614 voice call.
1615
1616config MSM_ADSP_REPORT_EVENTS
1617 bool "Report modem events from the DSP"
1618 default y
1619 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1620 help
1621 Normally, only messages from the aDSP are reported to userspace.
1622 With this option, we report events from the aDSP as well.
1623
1624config MSM_QDSP6
1625 tristate "QDSP6 support"
1626 depends on ARCH_QSD8X50 && ANDROID_PMEM
1627 default y
1628 help
1629 Enable support for qdsp6. This provides audio and video functionality.
1630
1631config MSM8X60_AUDIO
1632 tristate "MSM8X60 audio support"
1633 depends on ARCH_MSM8X60 && ANDROID_PMEM
1634 default y
1635 help
1636 Enable support for qdsp6v2. This provides audio functionality.
1637
1638config MSM8X60_FTM_AUDIO_DEVICES
1639 bool "MSM8X60 audio factory test mode support"
1640 depends on MSM8X60_AUDIO
1641 help
1642 Enable support audio factory test mode devices. This is used
1643 in a production line environment.
1644
Ben Romberger45b351c2011-07-20 22:37:27 -07001645config RTAC
1646 bool "MSM8K real-time audio calibration support"
1647 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001648 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001649 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001650 audio operation
1651
1652config MSM7X27A_AUDIO
1653 bool "MSM7X27A audio support"
1654 depends on ARCH_MSM7X27A && MSM_ADSP
1655 default n
1656 help
1657 Enable support for 7x27a. This provides audio functionality.
1658
Justin Pauporea6cd2092011-06-22 16:19:45 -07001659config MSM_PROC_COMM_REGULATOR
1660 bool
1661 depends on MSM_PROC_COMM && REGULATOR
1662 help
1663 Enable regulator framework support for regulators managed by PMLIB
1664 on the modem, and controlled through proccomm calls.
1665
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001666config MSM_VREG_SWITCH_INVERTED
1667 bool "Reverse vreg switch polarity"
1668 default n
1669 help
1670 Reverses the enable and disable for vreg switch.
1671
1672config MSM_DMA_TEST
1673 tristate "MSM DMA test module"
1674 default m
1675 help
1676 Intended to be compiled as a module. Provides a device node
1677 and ioctls for testing the MSM dma system.
1678
1679config WIFI_CONTROL_FUNC
1680 bool "Enable WiFi control function abstraction"
1681 help
1682 Enables Power/Reset/Carddetect function abstraction
1683
1684config WIFI_MEM_PREALLOC
1685 depends on WIFI_CONTROL_FUNC
1686 bool "Preallocate memory for WiFi buffers"
1687 help
1688 Preallocates memory buffers for WiFi driver
1689
1690config QSD_AUDIO
1691 bool "QSD audio"
1692 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1693 default y
1694 help
1695 Provides PCM, MP3, and AAC audio playback.
1696
1697config AUDIO_AAC_PLUS
1698 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1699 bool "AAC+ Audio"
1700 default y
1701 help
1702 Provides AAC+ decoding
1703
1704config AUDIO_ENHANCED_AAC_PLUS
1705 depends on AUDIO_AAC_PLUS
1706 bool "Enhanced AAC+ Audio"
1707 default y
1708 help
1709 Provides Enhanced AAC+ decoding
1710
1711config SURF_FFA_GPIO_KEYPAD
1712 bool "MSM SURF/FFA GPIO keypad"
1713 depends on INPUT_GPIO = "y"
1714 default y
1715 help
1716 Select if the GPIO keypad is attached.
1717
1718config MSM_SLEEP_TIME_OVERRIDE
1719 bool "Allow overriding suspend/sleep time with PM module parameter"
1720 default y
1721 help
1722 Enable the module parameter sleep_time_override. Specified
1723 in units of seconds, it overwrites the normal sleep time of
1724 suspend. The feature is required for automated power management
1725 testing.
1726
1727config MSM_MEMORY_LOW_POWER_MODE
1728 bool "Control the low power modes of memory"
1729 default n
1730 help
1731 The application processor controls whether memory should enter
1732 which low power mode.
1733
1734choice
1735 prompt "Default Memory Low Power Mode during Idle"
1736 depends on MSM_MEMORY_LOW_POWER_MODE
1737 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1738 help
1739 Selects the default low power mode of the memory during idle
1740 sleep.
1741
1742 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1743 bool "Memory active"
1744
1745 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1746 bool "Memory in retention"
1747
1748 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1749 bool "Memory in deep power down"
1750endchoice
1751
1752choice
1753 prompt "Default Memory Low Power Mode during Suspend"
1754 depends on MSM_MEMORY_LOW_POWER_MODE
1755 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1756 help
1757 Selects the default low power mode of the memory during suspend
1758 sleep.
1759
1760 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1761 bool "Memory active"
1762
1763 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1764 bool "Memory in retention"
1765
1766 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1767 bool "Memory in deep power down"
1768endchoice
1769
1770choice
1771 prompt "Power management timeout action"
1772 default MSM_PM_TIMEOUT_HALT
1773 help
1774 Selects the Application Processor's action when Power Management
1775 times out waiting for Modem's handshake.
1776
1777 config MSM_PM_TIMEOUT_HALT
1778 bool "Halt the Application Processor"
1779
1780 config MSM_PM_TIMEOUT_RESET_MODEM
1781 bool "Reset the Modem Processor"
1782
1783 config MSM_PM_TIMEOUT_RESET_CHIP
1784 bool "Reset the entire chip"
1785endchoice
1786
1787config MSM_IDLE_WAIT_ON_MODEM
1788 int "Wait for Modem to become ready for idle power collapse"
1789 default 0
1790 help
1791 If Modem is not ready to handle Application Processor's request
1792 for idle power collapse, wait the number of microseconds in case
1793 Modem becomes ready soon.
1794
Matt Wagantall9274df92011-12-15 11:11:05 -08001795config MSM_RPM_REGULATOR
1796 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001797 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001798 help
1799 Compile in support for the RPM regulator driver, used for setting
1800 voltages and other parameters of the various power rails supplied
1801 by some Qualcomm PMICs.
1802
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001803config MSM_PIL
1804 bool "Peripheral image loading"
1805 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001806 default n
1807 help
1808 Some peripherals need to be loaded into memory before they can be
1809 brought out of reset.
1810
1811 Say yes to support these devices.
1812
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001813config MSM_PIL_MODEM
1814 tristate "Modem (ARM11) Boot Support"
1815 depends on MSM_PIL
1816 help
1817 Support for booting and shutting down ARM11 Modem processors.
1818
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001819config MSM_PIL_QDSP6V3
1820 tristate "QDSP6v3 (Hexagon) Boot Support"
1821 depends on MSM_PIL
1822 help
1823 Support for booting and shutting down QDSP6v3 processors (hexagon).
1824 The QDSP6 is a low power DSP used in audio software applications.
1825
Stephen Boydeb819882011-08-29 14:46:30 -07001826config MSM_PIL_QDSP6V4
1827 tristate "QDSP6v4 (Hexagon) Boot Support"
1828 depends on MSM_PIL
1829 help
1830 Support for booting and shutting down QDSP6v4 processors (hexagon).
1831 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1832 software applications.
1833
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001834config MSM_PIL_LPASS_QDSP6V5
1835 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
1836 depends on MSM_PIL
1837 help
1838 Support for booting and shutting down QDSP6v5 processors (Hexagon)
1839 processors in low power audio subsystems.
1840
Stephen Boyd322a9922011-09-20 01:05:54 -07001841config MSM_PIL_RIVA
1842 tristate "RIVA (WCNSS) Boot Support"
1843 depends on MSM_PIL
1844 help
1845 Support for booting and shutting down the RIVA processor (WCNSS).
1846 Riva is the wireless subsystem processor used in bluetooth, wireless
1847 LAN, and FM software applications.
1848
Stephen Boydd89eebe2011-09-28 23:28:11 -07001849config MSM_PIL_TZAPPS
1850 tristate "TZApps Boot Support"
1851 depends on MSM_PIL
1852 help
1853 Support for booting and shutting down TZApps.
1854
1855 TZApps is an image that runs in the secure processor state. It is
1856 used to decrypt data and perform secure operations on the behalf of
1857 the kernel.
1858
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07001859config MSM_PIL_DSPS
1860 tristate "DSPS Boot Support"
1861 depends on MSM_PIL
1862 help
1863 Support for booting and shutting down ARM7 DSPS processors.
1864
1865 DSPS is a sensors offloading processor used for applications such
1866 as rotation detection, temperature, etc.
1867
Stephen Boyd7b973de2012-03-09 12:26:16 -08001868config MSM_PIL_VIDC
1869 tristate "Video Core Secure Boot Support"
1870 depends on MSM_PIL
1871 help
1872 Support for authenticating the video core image.
1873
Matt Wagantall292aace2012-01-26 19:12:34 -08001874config MSM_PIL_GSS
1875 tristate "GSS (Coretx A5) Boot Support"
1876 depends on MSM_PIL
1877 help
1878 Support for booting and shutting down Cortex A5 processors which run
1879 GPS subsystem firmware.
1880
Tianyi Gouc1e049f82011-11-23 14:20:16 -08001881config MSM_PIL_PRONTO
1882 tristate "PRONTO (WCNSS) Boot Support"
1883 depends on MSM_PIL
1884 help
1885 Support for booting and shutting down the PRONTO processor (WCNSS).
1886 PRONTO is the wireless subsystem processor used in bluetooth, wireless
1887 LAN, and FM software applications.
1888
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001889config MSM_SCM
1890 bool "Secure Channel Manager (SCM) support"
1891 default n
1892
1893config MSM_SUBSYSTEM_RESTART
1894 bool "MSM Subsystem Restart Driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001895 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001896 default n
1897 help
1898 This option enables the MSM subsystem restart driver, which provides
1899 a framework to handle subsystem crashes.
1900
Matt Wagantallf8020902011-08-30 21:19:23 -07001901config MSM_SYSMON_COMM
1902 bool "MSM System Monitor communication support"
1903 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1904 default y
1905 help
1906 This option adds support for MSM System Monitor library, which
1907 provides an API that may be used for notifying subsystems within
1908 the SoC about other subsystems' power-up/down state-changes.
1909
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001910config MSM_MODEM_8960
1911 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001912 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001913 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001914 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001915 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001916 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001917
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001918config MSM_LPASS_8960
1919 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001920 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001921 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001922 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001923 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001924 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001925
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001926config MSM_WCNSS_SSR_8960
1927 tristate "MSM 8960 WCNSS restart module"
1928 depends on (ARCH_MSM8960)
1929 help
1930 This option enables the WCNSS restart module for MSM8960, which
1931 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1932 into the subsystem restart framework.
1933
Rohit Vaswanid0fb4182012-03-19 18:07:59 -07001934config MSM_GSS_SSR_8064
1935 bool "MSM 8064 GSS restart driver"
1936 depends on (ARCH_APQ8064)
1937 help
1938 This option enables the gps subsystem restart driver for APQ8064, which monitors
1939 gss hardware watchdog interrupt lines and plugs into the subsystem
1940 restart and PIL drivers.
1941
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001942config SCORPION_Uni_45nm_BUG
1943 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1944 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1945 default y
1946 help
1947 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1948 invalidating the Branch Predictor Array by Modified Virtual Address can
1949 create invalid entries in the TLB with the wrong ASID values on Scorpion
1950 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1951 workaround for Scorpion Uniprocessor 45nm cores.
1952
1953 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1954
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001955config MSM_BUSPM_DEV
1956 tristate "MSM Bus Performance Monitor Kernel Module"
1957 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1958 default m
1959 help
1960 This kernel module is used to mmap() hardware registers for the
1961 performance monitors, counters, etc. The module can also be used to
1962 allocate physical memory which is used by bus performance hardware to
1963 dump performance data.
1964
Mona Hossain11c03ac2011-10-26 12:42:10 -07001965config MSM_TZ_LOG
1966 tristate "MSM Trust Zone (TZ) Log Driver"
1967 depends on DEBUG_FS
1968 help
1969 This option enables a driver with a debugfs interface for messages
1970 produced by the Secure code (Trust zone). These messages provide
1971 diagnostic information about TZ operation.
1972
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001973config MSM_RPM_LOG
1974 tristate "MSM Resource Power Manager Log Driver"
1975 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001976 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001977 default n
1978 help
1979 This option enables a driver which can read from a circular buffer
1980 of messages produced by the RPM. These messages provide diagnostic
1981 information about RPM operation. The driver outputs the messages
1982 via a debugfs node.
1983
1984config MSM_RPM_STATS_LOG
1985 tristate "MSM Resource Power Manager Stat Driver"
1986 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001987 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001988 default n
1989 help
1990 This option enables a driver which reads RPM messages from a shared
1991 memory location. These messages provide statistical information about
1992 the low power modes that RPM enters. The drivers outputs the message
1993 via a debugfs node.
1994
1995config MSM_IOMMU
1996 bool "MSM IOMMU Support"
Joel King41d594e2011-10-14 13:18:20 -07001997 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_APQ8064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001998 select IOMMU_API
1999 default n
2000 help
2001 Support for the IOMMUs found on certain Qualcomm SOCs.
2002 These IOMMUs allow virtualization of the address space used by most
2003 cores within the multimedia subsystem.
2004
2005 If unsure, say N here.
2006
2007config IOMMU_PGTABLES_L2
2008 bool "Allow SMMU page tables in the L2 cache (Experimental)"
2009 depends on MSM_IOMMU=y
2010 depends on MMU
2011 depends on CPU_DCACHE_DISABLE=n
2012 depends on SMP
2013 default y
2014 help
2015 Improves TLB miss latency at the expense of potential L2 pollution.
2016 However, with large multimedia buffers, the TLB should mostly contain
2017 section mappings and TLB misses should be quite infrequent.
2018 Most people can probably say Y here.
2019
2020config MSM_DIRECT_SCLK_ACCESS
2021 bool "Direct access to the SCLK timer"
2022 default n
2023
2024config IOMMU_API
2025 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07002026
Gregory Beanab78cde2010-09-01 16:26:12 -07002027config MSM_GPIOMUX
2028 bool
2029
Gregory Bean1963a2a2010-08-28 10:05:44 -07002030config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002031 bool
2032
2033config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07002034 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002035
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002036config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002037 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002038
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002039config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002040 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002041
Matt Wagantall88b86312012-01-31 16:53:03 -08002042config MSM_PM2
2043 depends on PM
2044 bool
2045
2046config MSM_PM8X60
2047 depends on PM
2048 bool
2049
2050config MSM_NOPM
2051 default y if !PM
2052 bool
2053
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002054config MSM_BUS_SCALING
2055 bool "Bus scaling driver"
2056 default n
2057
Gagan Mac85c70492011-06-10 16:07:47 -06002058config MSM_BUS_RPM_MULTI_TIER_ENABLED
2059 bool "RPM Multi-tiering Configuration"
2060 depends on MSM_BUS_SCALING
2061
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002062config MSM_WATCHDOG
2063 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002064 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002065 help
2066 This enables the watchdog as is present on 8x60. Currently we use
2067 core 0's watchdog, and reset the entire SoC if it times out. It does
2068 not run during the bootup process, so it will not catch any early
2069 lockups.
2070
2071config MSM_DLOAD_MODE
2072 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07002073 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002074 default n
2075 help
2076 This makes the SoC enter download mode when it resets
2077 due to a kernel panic. Note that this doesn't by itself
2078 make the kernel reboot on a kernel panic - that must be
2079 enabled via another mechanism.
2080
Pratik Patel17f3b822011-11-21 12:41:47 -08002081config MSM_JTAG
2082 bool "JTAG debug and trace support"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002083 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002084 Add additional support for JTAG kernel debugging and tracing.
Pratik Patel7831c082011-06-08 21:44:37 -07002085
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002086config MSM_ETM
2087 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002088 depends on ARCH_MSM8X60
2089 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002090 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002091 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002092
2093config MSM_QDSS
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002094 bool "Qualcomm Debug Subsystem"
Pratik Patel17f3b822011-11-21 12:41:47 -08002095 select MSM_JTAG
Pratik Patel7831c082011-06-08 21:44:37 -07002096 help
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002097 Enables support for Qualcomm Debug Subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002098
Pratik Patel29cba152012-01-03 11:40:26 -08002099config MSM_QDSS_ETM_DEFAULT_ENABLE
2100 bool "Turn on QDSS ETM Tracing by Default"
2101 depends on MSM_QDSS
2102 help
2103 Turns on QDSS ETM tracing by default. Otherwise, tracing is
2104 disabled by default but can be enabled by other means.
2105
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002106config MSM_SLEEP_STATS
2107 bool "Enable exporting of MSM sleep stats to userspace"
2108 depends on CPU_IDLE
2109 default n
2110
Lynus Vazdde09ee2012-01-05 13:28:22 +05302111config MSM_SLEEP_STATS_DEVICE
2112 bool "Enable exporting of MSM sleep device stats to userspace"
2113
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302114config MSM_RUN_QUEUE_STATS
2115 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Krishna Vankae2922052012-03-02 09:59:12 +05302116 depends on (MSM_SOC_REV_A || ARCH_MSM8X60 || ARCH_MSM8960)
2117 help
2118 This option enalbes statistics collection on Run Queue. A daemon
2119 in user mode, called MPDecision will be using this data to decide
2120 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302121
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002122config MSM_STANDALONE_POWER_COLLAPSE
2123 bool "Enable standalone power collapse"
2124 default n
2125
2126config MSM_GSBI9_UART
2127 bool "Enable GSBI9 UART device"
2128 default n
2129 help
2130 This enables GSBI9 configured into UART.
2131
2132config MSM_SHARED_GPIO_FOR_UART2DM
2133 bool "Use shared GPIOs into UART mode"
2134 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2135 help
2136 This option configures GPIO muxed with SDC4/MMC3
2137 8-bit mode into UART mode. It is used for serial
2138 console on UART2DM. Say Y if you want to have
2139 serial console on UART2DM.
2140
2141config MSM_SHOW_RESUME_IRQ
2142 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002143 depends on (ARM_GIC || PMIC8058)
2144 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002145 default n
2146 help
2147 This option logs wake up interrupts that have triggered just before
2148 the resume loop unrolls. Say Y if you want to debug why the system
2149 resumed.
2150
2151config BT_MSM_PINTEST
2152 tristate "MSM Bluetooth Pin Connectivity Test"
2153 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2154 default n
2155 help
2156 Bluetooth MSM Pin Connectivity test module.
2157 This driver provides support for verifying the MSM to BT pin
2158 connectivity.
2159
2160config MSM_FAKE_BATTERY
2161 depends on POWER_SUPPLY
2162 default n
2163 bool "MSM Fake Battery"
2164 help
2165 Enables MSM fake battery driver.
2166
2167config MSM_QDSP6_APR
2168 bool "Audio QDSP6 APR support"
2169 depends on MSM_SMD
2170 default n
2171 help
2172 Enable APR IPC protocol support between
2173 application processor and QDSP6. APR is
2174 used by audio driver to configure QDSP6's
2175 ASM, ADM and AFE.
2176
2177
2178config MSM_AUDIO_QDSP6
2179 bool "QDSP6 HW Audio support"
2180 select SND_SOC_MSM_QDSP6_INTF
2181 default n
2182 help
2183 Enable HW audio support in QDSP6.
2184 QDSP6 can support HW encoder & decoder and audio processing
2185
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002186config MSM_ULTRASOUND
2187 bool "MSM ultrasound support"
2188 depends on MSM_AUDIO_QDSP6
2189 help
2190 Enable support for qdsp6/ultrasound.
2191
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002192config MSM_RPC_VIBRATOR
2193 bool "RPC based MSM Vibrator Support"
2194 depends on MSM_ONCRPCROUTER
2195 help
2196 Enable the vibrator support on MSM over RPC. The vibrator
2197 is connected on the PMIC. Say Y if you want to enable this
2198 feature.
2199
2200config PM8XXX_RPC_VIBRATOR
2201 bool "RPC based Vibrator on PM8xxx PMICs"
2202 depends on MSM_RPC_VIBRATOR
2203 help
2204 Enable the vibrator support on MSM over RPC. The vibrator
2205 is connected on the PM8XXX PMIC. Say Y if you want to enable
2206 this feature.
2207
2208config MSM_SPM_V1
2209 bool "Driver support for SPM Version 1"
2210 help
2211 Enables the support for Version 1 of the SPM driver. SPM hardware is
2212 used to manage the processor power during sleep. The driver allows
2213 configuring SPM to allow different power modes.
2214
2215config MSM_SPM_V2
2216 bool "Driver support for SPM Version 2"
2217 help
2218 Enables the support for Version 2 of the SPM driver. SPM hardware is
2219 used to manage the processor power during sleep. The driver allows
2220 configuring SPM to allow different power modes.
2221
2222config MSM_L2_SPM
2223 bool "SPM support for L2 cache"
2224 depends on MSM_SPM_V2
2225 help
2226 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2227 control of L2 cache low power mode with a Subsystem Power manager.
2228 Enabling this driver allows configuring L2 SPM for low power modes
2229 on supported chipsets.
2230
Laura Abbott2d1760b2011-09-29 21:31:24 -07002231config MSM_MULTIMEDIA_USE_ION
2232 bool "Multimedia suport using Ion"
2233 depends on ION_MSM
2234 help
2235 Enable support for multimedia drivers using Ion for buffer management
2236 instead of pmem. Selecting this may also involve userspace
2237 dependencies as well.
2238
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002239config MSM_OCMEM
2240 bool "MSM On-Chip memory driver (OCMEM)"
2241 help
2242 Enable support for On-Chip Memory available on certain MSM chipsets.
2243 OCMEM is a low latency, high performance pool shared by subsystems.
2244
Laura Abbottad340ff2012-01-04 14:23:48 -08002245config MSM_RTB
2246 bool "Register tracing"
2247 help
2248 Add support for logging different events to a small uncached
2249 region. This is designed to aid in debugging reset cases where the
2250 caches may not be flushed before the target resets.
2251
2252config MSM_RTB_SEPARATE_CPUS
2253 bool "Separate entries for each cpu"
2254 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002255 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002256 help
2257 Under some circumstances, it may be beneficial to give dedicated space
2258 for each cpu to log accesses. Selecting this option will log each cpu
2259 separately. This will guarantee that the last acesses for each cpu
2260 will be logged but there will be fewer entries per cpu
2261
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002262config MSM_CACHE_ERP
2263 bool "Cache / CPU error reporting"
2264 depends on ARCH_MSM_KRAIT
2265 help
2266 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2267 log. Enabling this feature can be used as a system debugging technique
2268 if cache corruption is suspected. Cache error statistics will also be
2269 reported in /proc/cpu/msm_cache_erp.
2270
2271 For production builds, you should probably say 'N' here.
2272
2273config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002274 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002275 depends on MSM_CACHE_ERP
2276 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002277 To cause the kernel to panic whenever an L1 cache error is detected, say
2278 'Y' here. This may be useful as a debugging technique if general system
2279 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002280
2281 For production builds, you should probably say 'N' here.
2282
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002283config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2284 bool "Report L2 master port slave/decode errors in kernel log"
2285 depends on MSM_CACHE_ERP
2286 help
2287 Master port errors can occur when a memory request is not properly
2288 handled by the destination slave. This can occur if the destination
2289 register does not exist or is inaccessible due to security
2290 restrictions or (in some cases) clock configuration. Enabling this
2291 option will cause a backtrace to be printed to the kernel log whenever
2292 such an error is encountered. Note that the error is reported as an
2293 interrupt rather than as an exception, meaning that the backtrace may
2294 have some skid. This option may help with debugging, though production
2295 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002296
2297config MSM_L2_ERP_PORT_PANIC
2298 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002299 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002300 help
2301 Master port errors can occur when a memory request is not properly
2302 handled by the destination slave. Enable this option to catch drivers
2303 which attempt to access bad areas of the address space, or access
2304 hardware registers in an improper state (such as certain clocks not
2305 being on). This option may help with debugging, though production
2306 builds should probably say 'N' here.
2307
2308config MSM_L2_ERP_1BIT_PANIC
2309 bool "Panic on recoverable L2 soft errors"
2310 depends on MSM_CACHE_ERP
2311 help
2312 Enable this option to cause a kernel panic whenever the L2 cache
2313 encounters a single-bit (correctable) soft error. This option should
2314 only be enabled when doing low-level debugging where cache corruption
2315 is suspected.
2316
2317 For production builds, you should definitely say 'N' here.
2318
2319config MSM_L2_ERP_2BIT_PANIC
2320 bool "Panic on unrecoverable L2 soft errors"
2321 depends on MSM_CACHE_ERP
2322 help
2323 Enable this option to cause a kernel panic whenever the L2 cache
2324 encounters a double-bit (non-correctable) soft error. Debug builds
2325 will likely benefit from having this option enabled to catch cache
2326 problems as soon as possible.
2327
2328 For production builds, it may be acceptable to say 'N' here, since
2329 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002330
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002331config MSM_DCVS
2332 bool "Use MSM DCVS for CPU/GPU Frequency control"
2333 depends on MSM_SCM
2334 help
2335 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2336 The DCVS manager allows idle driver to feed the idle information to the
2337 algorithm and the algorithm returns a frequency for the core which is
2338 passed to the frequency change driver.
2339
Taniya Dasc43e6872012-03-21 16:41:14 +05302340config HAVE_ARCH_HAS_CURRENT_TIMER
2341 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002342
2343config MSM_CACHE_DUMP
2344 bool "Cache dumping support"
2345 help
2346 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2347 This allows for analysis of the caches in case cache corruption is
2348 suspected.
2349
Laura Abbott7b637362012-03-29 16:43:49 -07002350config MSM_CACHE_DUMP_ON_PANIC
2351 bool "Dump caches on panic"
2352 depends on MSM_CACHE_DUMP
2353 help
2354 By default, the caches are flushed on panic. This means that trying to
2355 look at them in a RAM dump will give useless data. Select this if you
2356 want to dump the L1 and L2 caches on panic before any flush occurs.
2357 If unsure, say N
2358
Jack Phamccbbfab2012-04-09 19:50:20 -07002359config MSM_HSIC_SYSMON
2360 tristate "MSM HSIC system monitor driver"
2361 depends on USB
2362 help
2363 Add support for bridging with the system monitor interface of MDM
2364 over HSIC. This driver allows the local system monitor to
2365 communicate with the remote system monitor interface.
2366
2367config MSM_HSIC_SYSMON_TEST
2368 tristate "MSM HSIC system monitor bridge test"
2369 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2370 help
2371 Enable the test hook for the Qualcomm system monitor HSIC driver.
2372 This will create a debugfs file entry named "hsic_sysmon_test" which
2373 can be read and written to send character data to the sysmon port of
2374 the modem over USB.
2375
Brian Swetland9e73c842007-11-26 04:12:13 -08002376endif