blob: 7d5e4e6c65fa9b462ca53f127078817271787083 [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
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -070097 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070098 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
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700148 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700149 select MSM_PIL
150 select MSM_AUDIO_QDSP6 if SND_SOC
151 select CPU_HAS_L2_PMU
152 select MSM_SPM_V2
153 select MSM_L2_SPM
154 select MSM_NATIVE_RESTART
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700155 select DONT_MAP_HOLE_AFTER_MEMBANK0
156 select MSM_REMOTE_SPINLOCK_SFPB
157 select ARCH_POPULATES_NODE_MAP
158 select ARCH_SPARSEMEM_ENABLE
159 select ARCH_HAS_HOLES_MEMORYMODEL
Larry Basselb8d61022012-02-24 10:49:45 -0800160 select 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
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700190 select MSM_QDSP6_CODECS
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700191 select MSM_PIL
192 select MSM_AUDIO_QDSP6 if SND_SOC
193 select CPU_HAS_L2_PMU
194 select MSM_SPM_V2
195 select MSM_L2_SPM
196 select MSM_NATIVE_RESTART
197 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600198 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700199 select ARCH_POPULATES_NODE_MAP
200 select ARCH_SPARSEMEM_ENABLE
201 select ARCH_HAS_HOLES_MEMORYMODEL
Larry Basselb8d61022012-02-24 10:49:45 -0800202 select 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
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700226 select MSM_QDSP6_CODECS
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800227 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530228 select MULTI_IRQ_HANDLER
Praveen Chidambaram78499012011-11-01 17:15:17 -0600229 select MSM_RPM
230 select MSM_SPM_V2
231 select MSM_L2_SPM
Matt Wagantall88b86312012-01-31 16:53:03 -0800232 select MSM_PM8X60 if PM
Neil Leeder814d3d32012-01-19 17:21:43 -0500233 select CPU_HAS_L2_PMU
Laura Abbott085dd202012-03-30 14:02:34 -0700234 select HOLES_IN_ZONE if SPARSEMEM
Larry Bassel67b921d2012-04-06 10:23:27 -0700235 select MEMORY_HOTPLUG if ENABLE_DMM
236 select MEMORY_HOTREMOVE if ENABLE_DMM
237 select ARCH_ENABLE_MEMORY_HOTPLUG if ENABLE_DMM
238 select ARCH_ENABLE_MEMORY_HOTREMOVE if ENABLE_DMM
239 select MIGRATION if ENABLE_DMM
240 select ARCH_MEMORY_PROBE if ENABLE_DMM
241 select ARCH_MEMORY_REMOVE if ENABLE_DMM
242 select FIX_MOVABLE_ZONE if ENABLE_DMM
243 select CLEANCACHE
244 select QCACHE
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -0600245 select MIGHT_HAVE_PCI
246 select ARCH_SUPPORTS_MSI
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700247
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700248config ARCH_MSMCOPPER
249 bool "MSM Copper"
250 select ARCH_MSM_KRAITMP
251 select MSM_V2_TLMM
252 select ARM_GIC
253 select CPU_V7
254 select MSM_SCM if SMP
255 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530256 select MULTI_IRQ_HANDLER
Olav Hauganb800c8c2012-01-30 08:50:45 -0800257 select MSM_MULTIMEDIA_USE_ION
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700258 select MSM_PIL
Praveen Chidambaramaa9d52b2012-04-02 11:09:47 -0600259 select MSM_SPM_V2
260 select MSM_L2_SPM
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600261 select MSM_PM8X60 if PM
Mahesh Sivasubramaniancb668712012-04-04 13:03:25 -0600262 select MSM_RPM_SMD
David Collinsc7642322012-04-04 10:19:12 -0700263 select REGULATOR
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700264
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700265config ARCH_FSM9XXX
266 bool "FSM9XXX"
267 select ARCH_MSM_SCORPION
268 select MSM_VIC
269 select CPU_V7
270 select MSM_REMOTE_SPINLOCK_LDREX
271 select FSM9XXX_TLMM
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530272 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800273 select MSM_DALRPC
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800274
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700275config ARCH_MSM9615
276 bool "MSM9615"
277 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530278 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700279 select ARCH_MSM_CORTEX_A5
280 select CPU_V7
281 select MSM_V2_TLMM
282 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600283 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600284 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700285 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800286 select REGULATOR
287 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530288 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800289 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800290 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700291 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800292 select MSM_QDSP6_APR
293 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800294 select FIQ
Matt Wagantall9274df92011-12-15 11:11:05 -0800295
Taniya Das43bcdd62011-12-02 17:33:27 +0530296config ARCH_MSM8625
297 bool "MSM8625"
298 select ARCH_MSM_CORTEX_A5
299 select CPU_V7
300 select MSM_GPIOMUX
301 select ARM_GIC
302 select ARCH_MSM_CORTEXMP
303 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530304 select ARM_TICKET_LOCKS
Krishna Vankae2922052012-03-02 09:59:12 +0530305 select MSM_RUN_QUEUE_STATS
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700306
307config ARCH_MSM9625
308 bool "MSM9625"
309 select ARM_GIC
310 select GIC_SECURE
311 select ARCH_MSM_CORTEX_A5
312 select SMP
313 select MSM_SMP
314 select CPU_V7
Jin Hong690e3352012-05-02 09:25:05 -0700315 select MSM_GPIOMUX
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700316 select MULTI_IRQ_HANDLER
317 select MSM_V2_TLMM
318
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700319endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700320
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700321choice
322 prompt "MSM SoC Revision"
323 default MSM_SOC_REV_NONE
324config MSM_SOC_REV_NONE
325 bool "N/A"
326 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
327 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walker4ad15e62010-05-06 13:54:17 -0700328config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700329 bool "Rev. A"
330 select ARCH_MSM7X27A if ARCH_MSM7X27
331endchoice
Daniel Walker4ad15e62010-05-06 13:54:17 -0700332
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700333config MSM_KRAIT_TBB_ABORT_HANDLER
334 bool "Krait TBB/TBH data abort handler"
335 depends on ARCH_MSM_KRAIT
336 depends on ARM_THUMB
337 help
338 Certain early samples of the Krait processor may generate data
339 aborts for TBB / TBH instructions that fail their condition code
340 checks. Enabling this option will ignore these erroneous data aborts,
341 at the expense of a very small performance penalty.
342
343 If unsure, say N.
344
Daniel Walker4ad15e62010-05-06 13:54:17 -0700345config ARCH_MSM_ARM11
346 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700347
Daniel Walker4ad15e62010-05-06 13:54:17 -0700348config ARCH_MSM_SCORPION
Daniel Walkerbf83de42010-03-16 16:29:44 -0700349 bool
350
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700351config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700352 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800353 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700354
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700355config MSM_SMP
356 bool
357
358config ARCH_MSM_SCORPIONMP
359 select ARCH_MSM_SCORPION
360 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530361 select HAVE_ARCH_HAS_CURRENT_TIMER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700362 bool
363
364config ARCH_MSM_KRAITMP
365 select ARCH_MSM_KRAIT
366 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530367 select HAVE_ARCH_HAS_CURRENT_TIMER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700368 bool
369
Taniya Das43bcdd62011-12-02 17:33:27 +0530370config ARCH_MSM_CORTEXMP
371 select MSM_SMP
372 bool
373
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700374config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800375 bool
Rohit Vaswaniaf7ae272012-01-09 10:28:57 -0800376 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700377
378config ARCH_MSM7X27A
379 bool
380 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700381 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530382 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530383 select ARM_GIC
384 select ARCH_MSM_CORTEXMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700385
Gregory Beanf9f3d312010-04-30 22:06:50 -0700386config MSM_VIC
387 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700388
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700389config MSM_RPM
390 bool "Resource Power Manager"
391 select MSM_MPM
392
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600393config MSM_RPM_SMD
394 depends on MSM_SMD
395 bool "Support for using SMD as the transport layer for communicatons with RPM"
396
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700397config MSM_MPM
398 bool "Modem Power Manager"
399
400config MSM_XO
401 bool
402
403config MSM_REMOTE_SPINLOCK_DEKKERS
404 bool
405config MSM_REMOTE_SPINLOCK_SWP
406 bool
407config MSM_REMOTE_SPINLOCK_LDREX
408 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600409config MSM_REMOTE_SPINLOCK_SFPB
410 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700411config MSM_ADM3
412 bool
413
414menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700415
416config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700417 depends on ARCH_MSM7X01A
418 depends on MSM_STACKED_MEMORY
419 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700420 bool "Halibut Board (QCT SURF7201A)"
421 help
422 Support for the Qualcomm SURF7201A eval board.
423
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700424config MACH_MSM7201A_SURF
425 depends on ARCH_MSM7X01A
426 depends on MSM_STACKED_MEMORY
427 default y
428 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700429 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700430 Support for the Qualcomm MSM7201A SURF eval board.
431
432config MACH_MSM7201A_FFA
433 depends on ARCH_MSM7X01A
434 depends on MSM_STACKED_MEMORY
435 default y
436 bool "MSM7201A FFA"
437 help
438 Support for the Qualcomm MSM7201A FFA eval board.
439
440config MACH_TROUT
441 depends on ARCH_MSM7X01A
442 depends on MSM_STACKED_MEMORY
443 default y
444 bool "Trout"
445
446config MACH_MSM7X27_SURF
447 depends on ARCH_MSM7X27
448 depends on !MSM_STACKED_MEMORY
449 default y
450 bool "MSM7x27 SURF"
451 help
452 Support for the Qualcomm MSM7x27 SURF eval board.
453
454config MACH_MSM7X27_FFA
455 depends on ARCH_MSM7X27
456 depends on !MSM_STACKED_MEMORY
457 default y
458 bool "MSM7x27 FFA"
459 help
460 Support for the Qualcomm MSM7x27 FFA eval board.
461
462config MACH_MSM7X27A_RUMI3
463 depends on ARCH_MSM7X27A
464 depends on !MSM_STACKED_MEMORY
465 default y
466 bool "MSM7x27A RUMI3"
467 help
468 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
469
470config MACH_MSM7X27A_SURF
471 depends on ARCH_MSM7X27A
472 depends on !MSM_STACKED_MEMORY
473 default y
474 bool "MSM7x27A SURF"
475 help
476 Support for the Qualcomm MSM7x27A SURF.
477
478config MACH_MSM7X27A_FFA
479 depends on ARCH_MSM7X27A
480 depends on !MSM_STACKED_MEMORY
481 default y
482 bool "MSM7x27A FFA"
483 help
484 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700485
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530486config MACH_MSM7625A_SURF
487 depends on ARCH_MSM7X27A
488 depends on !MSM_STACKED_MEMORY
489 default y
490 bool "MSM7625A SURF"
491 help
492 Support for the Qualcomm MSM7625A SURF.
493
494config MACH_MSM7625A_FFA
495 depends on ARCH_MSM7X27A
496 depends on !MSM_STACKED_MEMORY
497 default y
498 bool "MSM7625A FFA"
499 help
500 Support for the Qualcomm MSM7625A FFA.
501
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530502config MACH_MSM7627A_QRD1
503 depends on ARCH_MSM7X27A
504 depends on !MSM_STACKED_MEMORY
505 default y
506 bool "MSM7627A QRD1"
507 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530508 Support for the Qualcomm MSM7627A Reference Design.
509
510config MACH_MSM7627A_QRD3
511 depends on ARCH_MSM7X27A
512 depends on !MSM_STACKED_MEMORY
513 default y
514 bool "MSM7627A QRD3"
515 help
516 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530517
Taniya Dasc868a2e2012-01-03 10:18:47 +0530518config MACH_MSM7627A_EVB
519 depends on ARCH_MSM7X27A
520 depends on !MSM_STACKED_MEMORY
521 default y
522 bool "MSM7627A EVB"
523 help
524 Support for the Qualcomm MSM7627A Reference Design.
525
Taniya Das43bcdd62011-12-02 17:33:27 +0530526config MACH_MSM8625_RUMI3
527 depends on ARCH_MSM8625
528 depends on !MSM_STACKED_MEMORY
529 default y
530 bool "MSM8625 RUMI3"
531 help
532 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
533
Taniya Dase3027e22012-02-27 16:32:27 +0530534config MACH_MSM8625_SURF
535 depends on ARCH_MSM8625
536 depends on !MSM_STACKED_MEMORY
537 default y
538 bool "MSM8625 SURF"
539 help
540 Support for the Qualcomm MSM8625 SURF.
541
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530542config MACH_MSM8625_FFA
543 depends on ARCH_MSM8625
544 depends on !MSM_STACKED_MEMORY
545 default y
546 bool "MSM8625 FFA"
547 help
548 Support for the Qualcomm MSM8625 FFA.
549
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530550config MACH_MSM8625_EVB
551 depends on ARCH_MSM8625
552 depends on !MSM_STACKED_MEMORY
553 default y
554 bool "MSM8625 EVB"
555 help
556 Support for the Qualcomm MSM8625 Reference Design.
557
Taniya Dasbd096542012-03-15 17:43:45 +0530558config MACH_MSM8625_QRD7
559 depends on ARCH_MSM8625
560 depends on !MSM_STACKED_MEMORY
561 default y
562 bool "MSM8625 QRD7"
563 help
564 Support for the Qualcomm MSM8625 Reference Design.
565
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530566config MACH_MSM8625_EVT
567 depends on ARCH_MSM8625
568 depends on !MSM_STACKED_MEMORY
569 default y
570 bool "MSM8625 EVT"
571 help
572 Support for the Qualcomm MSM8625 Reference Design.
573
Daniel Walker7b521612010-05-06 12:44:57 -0700574config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700575 depends on ARCH_MSM7X30
576 depends on !MSM_STACKED_MEMORY
577 default y
578 bool "MSM7x30 SURF"
579 help
580 Support for the Qualcomm MSM7x30 SURF eval board.
581
582config MACH_MSM7X30_FFA
583 depends on ARCH_MSM7X30
584 depends on !MSM_STACKED_MEMORY
585 default y
586 bool "MSM7x30 FFA"
587 help
588 Support for the Qualcomm MSM7x30 FFA eval board.
589
590config MACH_MSM7X30_FLUID
591 depends on ARCH_MSM7X30
592 depends on !MSM_STACKED_MEMORY
593 default y
594 bool "MSM7x30 FLUID"
595 help
596 Support for the Qualcomm MSM7x30 FLUID eval board.
597
598config MACH_SAPPHIRE
599 depends on ARCH_MSM7X01A
600 default n
601 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700602
Daniel Walker4ad15e62010-05-06 13:54:17 -0700603config MACH_QSD8X50_SURF
604 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700605 depends on MSM_SOC_REV_NONE
606 depends on MSM_STACKED_MEMORY
607 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700608 bool "QSD8x50 SURF"
609 help
610 Support for the Qualcomm QSD8x50 SURF eval board.
611
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700612config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700613 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700614 depends on MSM_SOC_REV_NONE
615 depends on MSM_STACKED_MEMORY
616 default y
617 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700618 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700619 Support for the Qualcomm QSD8x50 FFA eval board.
620
621config MACH_MSM7X25_SURF
622 depends on ARCH_MSM7X25
623 depends on !MSM_STACKED_MEMORY
624 default y
625 bool "MSM7x25 SURF"
626 help
627 Support for the Qualcomm MSM7x25 SURF eval board.
628
629config MACH_MSM7X25_FFA
630 depends on ARCH_MSM7X25
631 depends on !MSM_STACKED_MEMORY
632 default y
633 bool "MSM7x25 FFA"
634 help
635 Support for the Qualcomm MSM7x25 FFA eval board.
636
637config MACH_MSM8X55_SURF
638 depends on ARCH_MSM7X30
639 depends on !MSM_STACKED_MEMORY
640 default y
641 bool "MSM8X55 SURF"
642 help
643 Support for the Qualcomm MSM8x55 SURF eval board.
644
645config MACH_MSM8X55_FFA
646 depends on ARCH_MSM7X30
647 depends on !MSM_STACKED_MEMORY
648 default y
649 bool "MSM8X55 FFA"
650 help
651 Support for the Qualcomm MSM8x55 FFA eval board.
652
653config MACH_MSM8X55_SVLTE_FFA
654 depends on ARCH_MSM7X30
655 depends on !MSM_STACKED_MEMORY
656 default y
657 bool "MSM8X55 SVLTE FFA"
658 help
659 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
660
661config MACH_MSM8X55_SVLTE_SURF
662 depends on ARCH_MSM7X30
663 depends on !MSM_STACKED_MEMORY
664 default y
665 bool "MSM8X55 SVLTE SURF"
666 help
667 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700668
Steve Mucklea55df6e2010-01-07 12:43:24 -0800669config MACH_MSM8X60_RUMI3
670 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700671 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800672 bool "MSM8x60 RUMI3"
673 help
674 Support for the Qualcomm MSM8x60 RUMI3 emulator.
675
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800676config MACH_MSM8X60_SIM
677 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700678 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800679 bool "MSM8x60 Simulator"
680 help
681 Support for the Qualcomm MSM8x60 simulator.
682
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700683config MACH_MSM8X60_SURF
684 depends on ARCH_MSM8X60
685 default n
686 bool "MSM8x60 SURF"
687 help
688 Support for the Qualcomm MSM8x60 SURF eval board.
689
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700690config MACH_MSM8X60_FFA
691 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700692 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700693 bool "MSM8x60 FFA"
694 help
695 Support for the Qualcomm MSM8x60 FFA eval board.
696
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700697config MACH_MSM8X60_FLUID
698 depends on ARCH_MSM8X60
699 default n
700 bool "MSM8x60 FLUID"
701 help
702 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
703 8x60 target which has a form factor that is much closer to that
704 of a phone than other targets. It also has a new display and
705 touchscreen controller.
706
707config MACH_MSM8X60_FUSION
708 depends on ARCH_MSM8X60
709 default n
710 bool "MSM8x60 FUSION"
711 help
712 Support for the Qualcomm MSM8x60 Fusion SURF device.
713
714config MACH_MSM8X60_FUSN_FFA
715 depends on ARCH_MSM8X60
716 default n
717 bool "MSM8x60 FUSN FFA"
718 help
719 Support for the Qualcomm MSM8x60 Fusion FFA device.
720
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400721config MACH_MSM8X60_DRAGON
722 depends on ARCH_MSM8X60
723 default n
724 bool "MSM8x60 DRAGON"
725 help
726 Support for the Qualcomm MSM8x60 Dragon board.
727
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800728config MACH_MSM8960_SIM
729 depends on ARCH_MSM8960
730 bool "MSM8960 Simulator"
731 help
732 Support for the Qualcomm MSM8960 simulator.
733
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800734config MACH_MSM8960_RUMI3
735 depends on ARCH_MSM8960
736 bool "MSM8960 RUMI3"
737 help
738 Support for the Qualcomm MSM8960 RUMI3 emulator.
739
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700740config MACH_MSM8960_CDP
741 depends on ARCH_MSM8960
742 bool "MSM8960 CDP"
743 help
744 Support for the Qualcomm MSM8960 CDP device.
745
746config MACH_MSM8960_MTP
747 depends on ARCH_MSM8960
748 bool "MSM8960 MTP"
749 help
750 Support for the Qualcomm MSM8960 MTP device.
751
752config MACH_MSM8960_FLUID
753 depends on ARCH_MSM8960
754 bool "MSM8960 FLUID"
755 help
756 Support for the Qualcomm MSM8960 FLUID device.
757
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300758config MACH_MSM8960_LIQUID
759 depends on ARCH_MSM8960
760 bool "MSM8960 LIQUID"
761 help
762 Support for the Qualcomm MSM8960 LIQUID device.
763
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700764config MACH_MSM8930_CDP
765 depends on ARCH_MSM8930
766 bool "MSM8930 CDP"
767 help
768 Support for the Qualcomm MSM8930 CDP device.
769
770config MACH_MSM8930_MTP
771 depends on ARCH_MSM8930
772 bool "MSM8930 MTP"
773 help
774 Support for the Qualcomm MSM8930 MTP device.
775
776config MACH_MSM8930_FLUID
777 depends on ARCH_MSM8930
778 bool "MSM8930 FLUID"
779 help
780 Support for the Qualcomm MSM8930 FLUID device.
781
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800782config MACH_MSM8627_CDP
783 depends on ARCH_MSM8930
784 bool "MSM8627 CDP"
785 help
786 Support for the Qualcomm MSM8627 CDP device.
787
788config MACH_MSM8627_MTP
789 depends on ARCH_MSM8930
790 bool "MSM8627 MTP"
791 help
792 Support for the Qualcomm MSM8627 MTP device.
793
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700794config MACH_MSM9615_CDP
795 depends on ARCH_MSM9615
796 bool "MSM9615 CDP"
797 help
798 Support for the Qualcomm MSM9615 CDP device.
799
800config MACH_MSM9615_MTP
801 depends on ARCH_MSM9615
802 bool "MSM9615 MTP"
803 help
804 Support for the Qualcomm MSM9615 MTP device.
805
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700806config MSM_USE_TSIF1
807 depends on ARCH_MSM8X60
808 bool "MSM8x60 use TSIF1"
809 help
810 Selects TSIF1 core to be used rather than TSIF0.
811 The two TSIF cores share the same DM configuration
812 so they cannot be used simultaneously.
813
814config MACH_APQ8064_SIM
815 depends on ARCH_APQ8064
816 bool "APQ8064 Simulator"
817 help
818 Support for the Qualcomm APQ8064 simulator.
819
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700820config MACH_APQ8064_RUMI3
821 depends on ARCH_APQ8064
822 bool "APQ8064 RUMI3"
823 help
824 Support for the Qualcomm APQ8064 RUMI3 emulator.
825
Joel King82b7e3f2012-01-05 10:03:27 -0800826config MACH_APQ8064_CDP
827 depends on ARCH_APQ8064
828 bool "APQ8064 CDP"
829 help
830 Support for the Qualcomm APQ8064 CDP device.
831
832config MACH_APQ8064_MTP
833 depends on ARCH_APQ8064
834 bool "APQ8064 MTP"
835 help
836 Support for the Qualcomm APQ8064 MTP device.
837
838config MACH_APQ8064_LIQUID
839 depends on ARCH_APQ8064
840 bool "APQ8064 LIQUID"
841 help
842 Support for the Qualcomm APQ8064 LIQUID device.
843
Joel King064bbf82012-04-01 13:23:39 -0700844config MACH_MPQ8064_CDP
845 depends on ARCH_APQ8064
846 bool "MPQ8064 CDP"
847 help
848 Support for the Qualcomm MPQ8064 CDP device.
849
Joel King11ca8202012-02-13 16:19:03 -0800850config MACH_MPQ8064_HRD
851 depends on ARCH_APQ8064
852 bool "MPQ8064 HRD"
853 help
854 Support for the Qualcomm MPQ8064 HRD device.
855
856config MACH_MPQ8064_DTV
857 depends on ARCH_APQ8064
858 bool "MPQ8064 DTV"
859 help
860 Support for the Qualcomm MPQ8064 DTV device.
861
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700862config MACH_FSM9XXX_SURF
863 depends on ARCH_FSM9XXX
864 depends on !MSM_STACKED_MEMORY
865 default y
866 bool "FSM9XXX SURF"
867 help
868 Support for the Qualcomm FSM9xxx femtocell
869 chipset based SURF evaluation board and
870 FFA board.
871
Daniel Walker4ad15e62010-05-06 13:54:17 -0700872endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800873
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700874config MSM_STACKED_MEMORY
875 bool "Stacked Memory"
876 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800877 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700878 This option is used to indicate the presence of on-die stacked
879 memory. When present this memory bank is used for a high speed
880 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800881
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700882config PHYS_OFFSET
883 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700884 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700885 default "0x80200000" if ARCH_APQ8064
886 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700887 default "0x80200000" if ARCH_MSM8930
Jin Hongcd35c5d2012-05-29 08:51:22 -0700888 default "0x00000000" if ARCH_MSMCOPPER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700889 default "0x10000000" if ARCH_FSM9XXX
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700890 default "0x20200000" if ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700891 default "0x00200000" if !MSM_STACKED_MEMORY
892 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
893 default "0x20000000" if ARCH_QSD8X50
894 default "0x40200000" if ARCH_MSM8X60
895 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800896
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700897config KERNEL_PMEM_EBI_REGION
898 bool "Enable in-kernel PMEM region for EBI"
899 default y if ARCH_MSM8X60
Olav Hauganb800c8c2012-01-30 08:50:45 -0800900 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSMCOPPER)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700901 help
902 Enable the in-kernel PMEM allocator to use EBI memory.
903
904config KERNEL_PMEM_SMI_REGION
905 bool "Enable in-kernel PMEM region for SMI"
906 default y if ARCH_MSM8X60
907 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
908 help
909 Enable the in-kernel PMEM allocator to use SMI memory.
910
911config PMEM_GPU0
912 bool "Enable PMEM GPU0 region"
913 default y
914 depends on ARCH_QSD8X50 && ANDROID_PMEM
915 help
916 Enable the PMEM GPU0 device on SMI Memory.
917
918config MSM_AMSS_VERSION
919 int
920 default 6210 if MSM_AMSS_VERSION_6210
921 default 6220 if MSM_AMSS_VERSION_6220
922 default 6225 if MSM_AMSS_VERSION_6225
923
924choice
925 prompt "AMSS modem firmware version"
926
927 default MSM_AMSS_VERSION_6225
928
929 config MSM_AMSS_VERSION_6210
930 bool "6.2.10"
931
932 config MSM_AMSS_VERSION_6220
933 bool "6.2.20"
934
935 config MSM_AMSS_VERSION_6225
936 bool "6.2.20 + New ADSP"
937endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800938
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700939config MSM_HAS_DEBUG_UART_HS
940 bool
941 help
942 Say Y here if high speed MSM UART is present.
943
944config MSM_HAS_DEBUG_UART_HS_V14
945 bool
946 select MSM_HAS_DEBUG_UART_HS
947 help
948 Say Y here if high speed MSM UART v1.4 is present.
949
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530950config MSM_DEBUG_UART_PHYS
951 hex
952 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
953 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
954 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
955 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
956 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
957 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
958 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
959 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
960
Pavel Machek6339f662009-11-02 11:48:29 +0100961choice
962 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800963 depends on DEBUG_LL
Pavel Machek6339f662009-11-02 11:48:29 +0100964
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800965 config DEBUG_MSM_UART1
966 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530967 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800968 help
969 Say Y here if you want the debug print routines to direct
970 their output to the first serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100971
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800972 config DEBUG_MSM_UART2
973 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530974 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800975 help
976 Say Y here if you want the debug print routines to direct
977 their output to the second serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100978
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800979 config DEBUG_MSM_UART3
980 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530981 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800982 help
983 Say Y here if you want the debug print routines to direct
984 their output to the third serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100985
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800986 config DEBUG_MSM8660_UART
987 bool "Kernel low-level debugging messages via MSM 8660 UART"
988 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700989 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800990 help
991 Say Y here if you want the debug print routines to direct
992 their output to the serial port on MSM 8660 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100993
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800994 config DEBUG_MSM8960_UART
995 bool "Kernel low-level debugging messages via MSM 8960 UART"
Stepan Moskovchenko824db172012-05-29 18:05:09 -0700996 depends on ARCH_MSM8960 && DEBUG_LL
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800997 select DEBUG_MSM8930_UART
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700998 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800999 help
1000 Say Y here if you want the debug print routines to direct
1001 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001002
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001003 config DEBUG_MSM8930_UART
1004 bool "Kernel low-level debugging messages via MSM 8930 UART"
1005 depends on ARCH_MSM8930 && DEBUG_LL
1006 select MSM_HAS_DEBUG_UART_HS
1007 help
1008 Say Y here if you want the debug print routines to direct
1009 their output to the serial port on MSM 8930 devices.
1010
1011 config DEBUG_APQ8064_UART
1012 bool "Kernel low-level debugging messages via APQ 8064 UART"
1013 depends on ARCH_APQ8064 && DEBUG_LL
1014 select MSM_HAS_DEBUG_UART_HS
1015 help
1016 Say Y here if you want the debug print routines to direct
1017 their output to the serial port on APQ 8064 devices.
1018
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001019 config DEBUG_MSMCOPPER_UART
1020 bool "Kernel low-level debugging messages via MSM Copper UART"
1021 depends on ARCH_MSMCOPPER
1022 select MSM_HAS_DEBUG_UART_HS_V14
1023 help
1024 Say Y here if you want the debug print routines to direct
1025 their output to the serial port on MSM Copper devices.
Pavel Machek6339f662009-11-02 11:48:29 +01001026endchoice
1027
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001028choice
1029 prompt "Default Timer"
1030 default MSM7X00A_USE_GP_TIMER
1031
1032 config MSM7X00A_USE_GP_TIMER
1033 bool "GP Timer"
1034 help
1035 Low resolution timer that allows power collapse from idle.
1036
1037 config MSM7X00A_USE_DG_TIMER
1038 bool "DG Timer"
1039 help
1040 High resolution timer.
1041endchoice
1042
1043choice
1044 prompt "Suspend sleep mode"
1045 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1046 help
1047 Allows overriding the sleep mode used. Leave at power
1048 collapse suspend unless the arm9 image has problems.
1049
1050 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1051 bool "Power collapse suspend"
1052 help
1053 Lowest sleep state. Returns through reset vector.
1054
1055 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1056 bool "Power collapse"
1057 help
1058 Sleep state that returns through reset vector.
1059
1060 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1061 bool "Apps Sleep"
1062
1063 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1064 bool "Ramp down cpu clock and wait for interrupt"
1065
1066 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1067 bool "Wait for interrupt"
1068endchoice
1069
1070config MSM7X00A_SLEEP_MODE
1071 int
1072 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1073 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1074 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1075 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1076 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1077
1078choice
1079 prompt "Idle sleep mode"
1080 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1081 help
1082 Allows overriding the sleep mode used from idle. Leave at power
1083 collapse suspend unless the arm9 image has problems.
1084
1085 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1086 bool "Power collapse suspend"
1087 help
1088 Lowest sleep state. Returns through reset vector.
1089
1090 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1091 bool "Power collapse"
1092 help
1093 Sleep state that returns through reset vector.
1094
1095 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1096 bool "Apps Sleep"
1097
1098 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1099 bool "Ramp down cpu clock and wait for interrupt"
1100
1101 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1102 bool "Wait for interrupt"
1103endchoice
1104
1105config MSM7X00A_IDLE_SLEEP_MODE
1106 int
1107 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1108 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1109 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1110 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1111 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1112
1113config MSM7X00A_IDLE_SLEEP_MIN_TIME
1114 int "Minimum idle time before sleep"
1115 default 20000000
1116 help
1117 Minimum idle time in nanoseconds before entering low power mode.
1118
1119config MSM7X00A_IDLE_SPIN_TIME
1120 int "Idle spin time before cpu ramp down"
1121 default 80000
1122 help
1123 Spin time in nanoseconds before ramping down cpu clock and entering
1124 any low power state.
1125
1126menuconfig MSM_IDLE_STATS
1127 bool "Collect idle statistics"
1128 default y
1129 help
1130 Collect idle statistics and export them in proc/msm_pm_stats.
1131
1132if MSM_IDLE_STATS
1133
1134config MSM_IDLE_STATS_FIRST_BUCKET
1135 int "First bucket time"
1136 default 62500
1137 help
1138 Upper time limit in nanoseconds of first bucket.
1139
1140config MSM_IDLE_STATS_BUCKET_SHIFT
1141 int "Bucket shift"
1142 default 2
1143
1144config MSM_IDLE_STATS_BUCKET_COUNT
1145 int "Bucket count"
1146 default 10
1147
1148config MSM_SUSPEND_STATS_FIRST_BUCKET
1149 int "First bucket time for suspend"
1150 default 1000000000
1151 help
1152 Upper time limit in nanoseconds of first bucket of the
1153 histogram. This is for collecting statistics on suspend.
1154
1155endif # MSM_IDLE_STATS
1156
1157config CPU_HAS_L2_PMU
1158 bool "L2CC PMU Support"
1159 help
1160 Select this if the L2 cache controller has a Performance Monitoring Unit.
1161
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001162config HTC_HEADSET
1163 tristate "HTC 2 Wire detection driver"
1164 default n
1165 help
1166 Provides support for detecting HTC 2 wire devices, such as wired
1167 headset, on the trout platform. Can be used with the msm serial
1168 debugger, but not with serial console.
1169
1170config TROUT_BATTCHG
1171 depends on MACH_TROUT && POWER_SUPPLY
1172 default y
1173 bool "Trout battery / charger driver"
1174
1175config HTC_PWRSINK
1176 depends on MSM_SMD
1177 default n
1178 bool "HTC Power Sink Driver"
1179
1180config QSD_SVS
1181 bool "QSD Static Voltage Scaling"
1182 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1183 default y
1184 select TPS65023
1185 help
1186 Enables static voltage scaling using the TPS65023 PMIC.
1187
1188config QSD_PMIC_DEFAULT_DCDC1
1189 int "PMIC default output voltage"
1190 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1191 default 1250
1192 help
1193 This is the PMIC voltage at Linux kernel boot.
1194
1195config MSM_FIQ_SUPPORT
1196 default y
1197 bool "Enable installation of an FIQ handler."
1198
1199config MSM_SERIAL_DEBUGGER
1200 select MSM_FIQ_SUPPORT
1201 select KERNEL_DEBUGGER_CORE
1202 default n
1203 bool "FIQ Mode Serial Debugger"
1204 help
1205 The FIQ serial debugger can accept commands even when the
1206 kernel is unresponsive due to being stuck with interrupts
1207 disabled. Depends on the kernel debugger core in drivers/misc.
1208
1209config MSM_SERIAL_DEBUGGER_CONSOLE
1210 depends on MSM_SERIAL_DEBUGGER
1211 default n
1212 bool "Console on FIQ Serial Debugger port"
1213 help
1214 Enables a console so that printk messages are displayed on
1215 the debugger serial port as the occur.
Daniel Walkerbf83de42010-03-16 16:29:44 -07001216
Steve Mucklec8aabae2010-04-21 16:20:27 -07001217config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001218 default y
1219 bool "Proc-Comm RPC Interface"
1220 help
1221 Enables a lightweight communications interface to the
1222 baseband processor.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001223
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001224config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001225 bool "MSM Shared Memory Driver (SMD)"
1226 help
1227 Support for the shared memory interface between the apps
1228 processor and the baseband processor. Provides access to
1229 the "shared heap", as well as virtual serial channels
1230 used to communicate with various services on the baseband
1231 processor.
1232
1233choice
1234 prompt "MSM Shared memory interface version"
1235 depends on MSM_SMD
1236 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1237 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1238
1239 config MSM_SMD_PKG3
1240 bool
1241 prompt "Package 3"
1242
1243 config MSM_SMD_PKG4
1244 bool
1245 prompt "Package 4"
1246endchoice
1247
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001248config MSM_PCIE
1249 bool "MSM PCIe Controller driver"
1250 depends on PCI && PCI_MSI
1251 help
1252 Enables the PCIe functionality by configures PCIe core on
1253 MSM chipset and by enabling the ARM PCI framework extension.
1254
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001255config MSM_RPC_SDIO_XPRT
1256 depends on MSM_SDIO_AL
1257 default y
1258 bool "MSM SDIO XPRT Layer"
1259 help
1260 SDIO Transport Layer for RPC Rouer
1261
1262config MSM_RPC_SDIO_DEBUG
1263 depends on MSM_RPC_SDIO_XPRT
1264 default y
1265 bool "MSM SDIO XPRT debug support"
1266 help
1267 Support for debugging SDIO XPRT
1268
1269config MSM_SMD_DEBUG
1270 depends on MSM_SMD
1271 default y
1272 bool "MSM SMD debug support"
1273 help
1274 Support for debugging the SMD for communication
1275 between the ARM9 and ARM11
1276
1277config MSM_SDIO_AL
1278 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1279 default y
1280 tristate "SDIO-Abstraction-Layer"
1281 help
1282 Support MSM<->MDM Communication over SDIO bus.
1283 MDM SDIO-Client should have pipes support.
1284
1285config MSM_SDIO_DMUX
1286 bool "SDIO Data Mux Driver"
1287 depends on MSM_SDIO_AL
1288 default n
1289 help
1290 Support Muxed Data Channels over SDIO interface.
1291
1292config MSM_BAM_DMUX
1293 bool "BAM Data Mux Driver"
1294 depends on SPS
1295 default n
1296 help
1297 Support Muxed Data Channels over BAM interface.
1298 BAM has a limited number of pipes. This driver
1299 provides a means to support more logical channels
1300 via muxing than BAM could without muxing.
1301
1302config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001303 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001304 default y
1305 bool "MSM N-WAY SMD support"
1306 help
1307 Supports APPS-QDSP SMD communication along with
1308 normal APPS-MODEM SMD communication.
1309
1310config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001311 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001312 default y
1313 bool "MSM N-WAY SMSM support"
1314 help
1315 Supports APPS-QDSP SMSM communication along with
1316 normal APPS-MODEM SMSM communication.
1317
1318config MSM_RESET_MODEM
1319 tristate "Reset Modem Driver"
1320 depends on MSM_SMD
1321 default m
1322 help
1323 Allows the user to reset the modem through a device node.
1324
1325config MSM_SMD_LOGGING
1326 depends on MSM_SMD
1327 default y
1328 bool "MSM Shared Memory Logger"
1329 help
1330 This option exposes the shared memory logger at /dev/smem_log
1331 and a debugfs node named smem_log.
1332
1333 If in doubt, say yes.
1334
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001335config MSM_IPC_LOGGING
1336 bool "MSM Debug Logging for IPC Drivers"
1337 help
1338 This option allows the debug logging for IPC Drivers.
1339
1340 If in doubt, say no.
1341
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001342config MSM_SMD_NMEA
1343 bool "NMEA GPS Driver"
1344 depends on MSM_SMD
1345 default y
1346 help
1347 Enable this to support the NMEA GPS device.
1348
1349 If in doubt, say yes.
1350
1351config MSM_SDIO_TTY
1352 bool "SDIO TTY Driver"
1353 depends on MSM_SDIO_AL
1354 default n
1355 help
1356 Provides a TTY driver SDIO TTY
1357 This driver can be used by user space
1358 applications for passing data through the
1359 SDIO interface.
1360
1361config MSM_SMD_TTY
1362 bool "SMD TTY Driver"
1363 depends on MSM_SMD
1364 default y
1365 help
1366 Provides TTY interfaces to interact with the modem.
1367
1368 If in doubt, say yes.
1369
1370config MSM_SMD_QMI
1371 bool "SMD QMI Driver"
1372 depends on MSM_SMD
1373 default y
1374 help
1375 Manages network data connections.
1376
1377 If in doubt, say yes.
1378
1379config MSM_SMD_PKT
1380 bool "SMD Packet Driver"
1381 depends on MSM_SMD
1382 default y
1383 help
1384 Provides a binary SMD non-muxed packet port interface.
1385
1386 If in doubt, say yes.
1387
1388config MSM_SDIO_CMUX
1389 bool "SDIO CMUX Driver"
1390 depends on MSM_SDIO_AL
1391 default n
1392 help
1393 Provides a Muxed port interface over SDIO QMI
1394
1395config MSM_DSPS
1396 bool "Sensors DSPS driver"
1397 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1398 default n
1399 help
1400 Provides user-space interface to the sensors manager
1401 to turn on/off the Sensors Processor system clocks.
1402 It is the DSPS responsibility to turn on/off the sensors
1403 themself.
1404 The number of clocks and their name may vary between targets.
1405 It also triggers the PIL to load the DSPS firmware.
1406
1407config MSM_SDIO_CTL
1408 bool "SDIO CTL Driver"
1409 depends on MSM_SDIO_CMUX
1410 default n
1411 help
1412 Provides a binary SDIO control port interface.
1413
1414config MSM_ONCRPCROUTER
1415 depends on MSM_SMD
1416 default n
1417 bool "MSM ONCRPC router support"
1418 help
1419 Support for the MSM ONCRPC router for communication between
1420 the ARM9 and ARM11
1421
1422config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001423 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001424 default n
1425 bool "MSM IPC Router support"
1426 help
1427 Support for the MSM IPC Router for communication between
1428 the APPs and the MODEM
1429
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001430config MSM_IPC_ROUTER_SMD_XPRT
1431 depends on MSM_SMD
1432 depends on MSM_IPC_ROUTER
1433 default n
1434 bool "MSM SMD XPRT Layer"
1435 help
1436 SMD Transport Layer for IPC Router
1437
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001438config MSM_ONCRPCROUTER_DEBUG
1439 depends on MSM_ONCRPCROUTER
1440 default y
1441 bool "MSM debug ONCRPC router support"
1442 help
1443 Support for debugging the ONCRPC router for communication
1444 between the ARM9 and ARM11
1445
1446config MSM_RPC_LOOPBACK_XPRT
1447 depends on MSM_ONCRPCROUTER
1448 default n
1449 bool "MSM RPC local routing support"
1450 help
1451 Support for routing RPC messages between APPS clients
1452 and APPS servers. Helps in testing APPS RPC framework.
1453
1454config MSM_RPCSERVER_TIME_REMOTE
1455 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1456 default y
1457 bool "Time remote RPC server"
1458 help
1459 The time remote server receives notification of time bases and
1460 reports these events to registered callback functions.
1461
1462config MSM_RPCSERVER_WATCHDOG
1463 depends on MSM_ONCRPCROUTER
1464 default y
1465 bool "Watchdog RPC server"
1466 help
1467 The dog_keepalive server handles watchdog events.
1468
1469config MSM_RPC_WATCHDOG
1470 depends on MSM_ONCRPCROUTER
1471 default n
1472 bool "Watchdog RPC client"
1473 help
1474 The dog_keepalive client module.
1475
1476config MSM_RPC_PING
1477 depends on MSM_ONCRPCROUTER && DEBUG_FS
1478 default m
1479 bool "MSM rpc ping"
1480 help
1481 Implements MSM rpc ping test module.
1482
1483config MSM_RPC_PROC_COMM_TEST
1484 depends on DEBUG_FS && MSM_PROC_COMM
1485 default m
1486 bool "MSM rpc proc comm test"
1487 help
1488 Implements MSM rpc proc comm test module.
1489
1490config MSM_RPC_OEM_RAPI
1491 depends on MSM_ONCRPCROUTER
1492 default m
1493 bool "MSM oem rapi"
1494 help
1495 Implements MSM oem rapi client module.
1496
1497config MSM_RPCSERVER_HANDSET
1498 depends on MSM_ONCRPCROUTER
1499 default y
1500 bool "Handset events RPC server"
1501 help
1502 Support for receiving handset events like headset detect,
1503 headset switch and clamshell state.
1504
1505config MSM_RMT_STORAGE_CLIENT
1506 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1507 default n
1508 bool "Remote Storage RPC client"
1509 help
1510 Provide RPC mechanism for remote processors to access storage
1511 device on apps processor.
1512
1513config MSM_RMT_STORAGE_CLIENT_STATS
1514 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1515 default n
1516 bool "Remote storage RPC client performance statistics"
1517 help
1518 Collects performance statistics and shows this information
1519 through a debugfs file rmt_storage_stats.
1520
1521config MSM_SDIO_SMEM
1522 depends on MSM_SDIO_AL
1523 default n
1524 bool "SDIO SMEM for remote storage"
1525 help
1526 Copies data from remote MDM9K memory to local MSM8x60
1527 memory. Used by remote storage client to shadow
1528 MDM9K filesystem.
1529
1530config MSM_DALRPC
1531 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001532 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001533 help
1534 Supports RPC calls to DAL devices on remote processor cores.
1535
1536config MSM_DALRPC_TEST
1537 tristate "DAL RPC test module"
1538 depends on (MSM_DALRPC && DEBUG_FS)
1539 default m
1540 help
1541 Exercises DAL RPC calls to QDSP6.
1542
1543if CPU_FREQ_MSM
1544
1545config MSM_CPU_FREQ_SET_MIN_MAX
1546 bool "Set Min/Max CPU frequencies."
1547 default n
1548 help
1549 Allow setting min and max CPU frequencies. Sysfs can be used
1550 to override these values.
1551
1552config MSM_CPU_FREQ_MAX
1553 int "Max CPU Frequency"
1554 depends on MSM_CPU_FREQ_SET_MIN_MAX
1555 default 384000
1556
1557config MSM_CPU_FREQ_MIN
1558 int "Min CPU Frequency"
1559 depends on MSM_CPU_FREQ_SET_MIN_MAX
1560 default 245760
1561
1562endif # CPU_FREQ_MSM
1563
1564config MSM_CPU_AVS
1565 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1566 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1567 depends on ARCH_QSD8X50
1568 default n
1569 select MSM_AVS_HW
1570 help
1571 This enables the s/w control of Adaptive Voltage Scaling feature
1572 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1573 based on feedback from three ring oscillators in the CPU.
1574
1575config MSM_AVS_HW
1576 bool "Enable Adaptive Voltage Scaling (AVS)"
1577 default n
1578 help
1579 Enable AVS hardware to fine tune voltage at each frequency. The
1580 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1581 fine tune the voltages based on the feedback from the ring
1582 oscillators.
1583
1584config MSM_HW3D
1585 tristate "MSM Hardware 3D Register Driver"
1586 depends on ANDROID_PMEM
1587 default y
1588 help
1589 Provides access to registers needed by the userspace OpenGL|ES
1590 library.
1591
1592config MSM_ADSP
1593 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1594 tristate "MSM ADSP driver"
1595 depends on ANDROID_PMEM
1596 default y
1597 help
1598 Provides access to registers needed by the userspace aDSP library.
1599
1600config ADSP_RPC_VER
1601 hex
1602 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1603 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1604 depends on MSM_ADSP
1605 help
1606 Select proper ADSP RPC version
1607choice
1608 prompt "ADSP RPC version"
1609
1610 default AMSS_7X25_VERSION_2009
1611
1612 config AMSS_7X25_VERSION_2009
1613 bool "2.0.09"
1614
1615 config AMSS_7X25_VERSION_2008
1616 bool "2.0.08"
1617endchoice
1618
1619config MSM7KV2_AUDIO
1620 bool "MSM7K v2 audio"
1621 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1622 default y
1623 help
1624 Enables QDSP5V2-based audio drivers for audio playbacks and
1625 voice call.
1626
1627config MSM_ADSP_REPORT_EVENTS
1628 bool "Report modem events from the DSP"
1629 default y
1630 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1631 help
1632 Normally, only messages from the aDSP are reported to userspace.
1633 With this option, we report events from the aDSP as well.
1634
1635config MSM_QDSP6
1636 tristate "QDSP6 support"
1637 depends on ARCH_QSD8X50 && ANDROID_PMEM
1638 default y
1639 help
1640 Enable support for qdsp6. This provides audio and video functionality.
1641
1642config MSM8X60_AUDIO
1643 tristate "MSM8X60 audio support"
1644 depends on ARCH_MSM8X60 && ANDROID_PMEM
1645 default y
1646 help
1647 Enable support for qdsp6v2. This provides audio functionality.
1648
1649config MSM8X60_FTM_AUDIO_DEVICES
1650 bool "MSM8X60 audio factory test mode support"
1651 depends on MSM8X60_AUDIO
1652 help
1653 Enable support audio factory test mode devices. This is used
1654 in a production line environment.
1655
Ben Romberger45b351c2011-07-20 22:37:27 -07001656config RTAC
1657 bool "MSM8K real-time audio calibration support"
1658 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001659 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001660 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001661 audio operation
1662
1663config MSM7X27A_AUDIO
1664 bool "MSM7X27A audio support"
1665 depends on ARCH_MSM7X27A && MSM_ADSP
1666 default n
1667 help
1668 Enable support for 7x27a. This provides audio functionality.
1669
Justin Pauporea6cd2092011-06-22 16:19:45 -07001670config MSM_PROC_COMM_REGULATOR
1671 bool
1672 depends on MSM_PROC_COMM && REGULATOR
1673 help
1674 Enable regulator framework support for regulators managed by PMLIB
1675 on the modem, and controlled through proccomm calls.
1676
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001677config MSM_VREG_SWITCH_INVERTED
1678 bool "Reverse vreg switch polarity"
1679 default n
1680 help
1681 Reverses the enable and disable for vreg switch.
1682
1683config MSM_DMA_TEST
1684 tristate "MSM DMA test module"
1685 default m
1686 help
1687 Intended to be compiled as a module. Provides a device node
1688 and ioctls for testing the MSM dma system.
1689
1690config WIFI_CONTROL_FUNC
1691 bool "Enable WiFi control function abstraction"
1692 help
1693 Enables Power/Reset/Carddetect function abstraction
1694
1695config WIFI_MEM_PREALLOC
1696 depends on WIFI_CONTROL_FUNC
1697 bool "Preallocate memory for WiFi buffers"
1698 help
1699 Preallocates memory buffers for WiFi driver
1700
1701config QSD_AUDIO
1702 bool "QSD audio"
1703 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1704 default y
1705 help
1706 Provides PCM, MP3, and AAC audio playback.
1707
1708config AUDIO_AAC_PLUS
1709 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1710 bool "AAC+ Audio"
1711 default y
1712 help
1713 Provides AAC+ decoding
1714
1715config AUDIO_ENHANCED_AAC_PLUS
1716 depends on AUDIO_AAC_PLUS
1717 bool "Enhanced AAC+ Audio"
1718 default y
1719 help
1720 Provides Enhanced AAC+ decoding
1721
1722config SURF_FFA_GPIO_KEYPAD
1723 bool "MSM SURF/FFA GPIO keypad"
1724 depends on INPUT_GPIO = "y"
1725 default y
1726 help
1727 Select if the GPIO keypad is attached.
1728
1729config MSM_SLEEP_TIME_OVERRIDE
1730 bool "Allow overriding suspend/sleep time with PM module parameter"
1731 default y
1732 help
1733 Enable the module parameter sleep_time_override. Specified
1734 in units of seconds, it overwrites the normal sleep time of
1735 suspend. The feature is required for automated power management
1736 testing.
1737
1738config MSM_MEMORY_LOW_POWER_MODE
1739 bool "Control the low power modes of memory"
1740 default n
1741 help
1742 The application processor controls whether memory should enter
1743 which low power mode.
1744
1745choice
1746 prompt "Default Memory Low Power Mode during Idle"
1747 depends on MSM_MEMORY_LOW_POWER_MODE
1748 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1749 help
1750 Selects the default low power mode of the memory during idle
1751 sleep.
1752
1753 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1754 bool "Memory active"
1755
1756 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1757 bool "Memory in retention"
1758
1759 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1760 bool "Memory in deep power down"
1761endchoice
1762
1763choice
1764 prompt "Default Memory Low Power Mode during Suspend"
1765 depends on MSM_MEMORY_LOW_POWER_MODE
1766 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1767 help
1768 Selects the default low power mode of the memory during suspend
1769 sleep.
1770
1771 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1772 bool "Memory active"
1773
1774 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1775 bool "Memory in retention"
1776
1777 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1778 bool "Memory in deep power down"
1779endchoice
1780
1781choice
1782 prompt "Power management timeout action"
1783 default MSM_PM_TIMEOUT_HALT
1784 help
1785 Selects the Application Processor's action when Power Management
1786 times out waiting for Modem's handshake.
1787
1788 config MSM_PM_TIMEOUT_HALT
1789 bool "Halt the Application Processor"
1790
1791 config MSM_PM_TIMEOUT_RESET_MODEM
1792 bool "Reset the Modem Processor"
1793
1794 config MSM_PM_TIMEOUT_RESET_CHIP
1795 bool "Reset the entire chip"
1796endchoice
1797
1798config MSM_IDLE_WAIT_ON_MODEM
1799 int "Wait for Modem to become ready for idle power collapse"
1800 default 0
1801 help
1802 If Modem is not ready to handle Application Processor's request
1803 for idle power collapse, wait the number of microseconds in case
1804 Modem becomes ready soon.
1805
Matt Wagantall9274df92011-12-15 11:11:05 -08001806config MSM_RPM_REGULATOR
1807 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001808 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001809 help
1810 Compile in support for the RPM regulator driver, used for setting
1811 voltages and other parameters of the various power rails supplied
1812 by some Qualcomm PMICs.
1813
David Collinsc7642322012-04-04 10:19:12 -07001814config MSM_RPM_REGULATOR_SMD
1815 bool "SMD RPM regulator driver"
1816 depends on REGULATOR
1817 depends on OF
1818 depends on MSM_RPM_SMD
1819 help
1820 Compile in support for the SMD RPM regulator driver which is used for
1821 setting voltages and other parameters of the various power rails
1822 supplied by some Qualcomm PMICs. The SMD RPM regulator driver should
1823 be used on systems which contain an RPM which communicates with the
1824 application processor over SMD.
1825
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001826config MSM_PIL
1827 bool "Peripheral image loading"
1828 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001829 default n
1830 help
1831 Some peripherals need to be loaded into memory before they can be
1832 brought out of reset.
1833
1834 Say yes to support these devices.
1835
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001836config MSM_PIL_MODEM
1837 tristate "Modem (ARM11) Boot Support"
1838 depends on MSM_PIL
1839 help
1840 Support for booting and shutting down ARM11 Modem processors.
1841
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001842config MSM_PIL_QDSP6V3
1843 tristate "QDSP6v3 (Hexagon) Boot Support"
1844 depends on MSM_PIL
1845 help
1846 Support for booting and shutting down QDSP6v3 processors (hexagon).
1847 The QDSP6 is a low power DSP used in audio software applications.
1848
Stephen Boydeb819882011-08-29 14:46:30 -07001849config MSM_PIL_QDSP6V4
1850 tristate "QDSP6v4 (Hexagon) Boot Support"
1851 depends on MSM_PIL
1852 help
1853 Support for booting and shutting down QDSP6v4 processors (hexagon).
1854 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1855 software applications.
1856
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001857config MSM_PIL_LPASS_QDSP6V5
1858 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
1859 depends on MSM_PIL
1860 help
1861 Support for booting and shutting down QDSP6v5 processors (Hexagon)
1862 processors in low power audio subsystems.
1863
Stephen Boyd322a9922011-09-20 01:05:54 -07001864config MSM_PIL_RIVA
1865 tristate "RIVA (WCNSS) Boot Support"
1866 depends on MSM_PIL
1867 help
1868 Support for booting and shutting down the RIVA processor (WCNSS).
1869 Riva is the wireless subsystem processor used in bluetooth, wireless
1870 LAN, and FM software applications.
1871
Stephen Boydd89eebe2011-09-28 23:28:11 -07001872config MSM_PIL_TZAPPS
1873 tristate "TZApps Boot Support"
1874 depends on MSM_PIL
1875 help
1876 Support for booting and shutting down TZApps.
1877
1878 TZApps is an image that runs in the secure processor state. It is
1879 used to decrypt data and perform secure operations on the behalf of
1880 the kernel.
1881
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07001882config MSM_PIL_DSPS
1883 tristate "DSPS Boot Support"
1884 depends on MSM_PIL
1885 help
1886 Support for booting and shutting down ARM7 DSPS processors.
1887
1888 DSPS is a sensors offloading processor used for applications such
1889 as rotation detection, temperature, etc.
1890
Stephen Boyd7b973de2012-03-09 12:26:16 -08001891config MSM_PIL_VIDC
1892 tristate "Video Core Secure Boot Support"
1893 depends on MSM_PIL
1894 help
1895 Support for authenticating the video core image.
1896
Matt Wagantall292aace2012-01-26 19:12:34 -08001897config MSM_PIL_GSS
1898 tristate "GSS (Coretx A5) Boot Support"
1899 depends on MSM_PIL
1900 help
1901 Support for booting and shutting down Cortex A5 processors which run
1902 GPS subsystem firmware.
1903
Tianyi Gouc1e049f82011-11-23 14:20:16 -08001904config MSM_PIL_PRONTO
1905 tristate "PRONTO (WCNSS) Boot Support"
1906 depends on MSM_PIL
1907 help
1908 Support for booting and shutting down the PRONTO processor (WCNSS).
1909 PRONTO is the wireless subsystem processor used in bluetooth, wireless
1910 LAN, and FM software applications.
1911
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001912config MSM_SCM
1913 bool "Secure Channel Manager (SCM) support"
1914 default n
1915
1916config MSM_SUBSYSTEM_RESTART
1917 bool "MSM Subsystem Restart Driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001918 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001919 default n
1920 help
1921 This option enables the MSM subsystem restart driver, which provides
1922 a framework to handle subsystem crashes.
1923
Matt Wagantallf8020902011-08-30 21:19:23 -07001924config MSM_SYSMON_COMM
1925 bool "MSM System Monitor communication support"
1926 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1927 default y
1928 help
1929 This option adds support for MSM System Monitor library, which
1930 provides an API that may be used for notifying subsystems within
1931 the SoC about other subsystems' power-up/down state-changes.
1932
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001933config MSM_MODEM_8960
1934 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001935 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001936 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001937 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001938 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001939 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001940
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001941config MSM_LPASS_8960
1942 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001943 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001944 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001945 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001946 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001947 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001948
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001949config MSM_WCNSS_SSR_8960
1950 tristate "MSM 8960 WCNSS restart module"
1951 depends on (ARCH_MSM8960)
1952 help
1953 This option enables the WCNSS restart module for MSM8960, which
1954 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1955 into the subsystem restart framework.
1956
Rohit Vaswanid0fb4182012-03-19 18:07:59 -07001957config MSM_GSS_SSR_8064
1958 bool "MSM 8064 GSS restart driver"
1959 depends on (ARCH_APQ8064)
1960 help
1961 This option enables the gps subsystem restart driver for APQ8064, which monitors
1962 gss hardware watchdog interrupt lines and plugs into the subsystem
1963 restart and PIL drivers.
1964
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001965config SCORPION_Uni_45nm_BUG
1966 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1967 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1968 default y
1969 help
1970 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1971 invalidating the Branch Predictor Array by Modified Virtual Address can
1972 create invalid entries in the TLB with the wrong ASID values on Scorpion
1973 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1974 workaround for Scorpion Uniprocessor 45nm cores.
1975
1976 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1977
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001978config MSM_BUSPM_DEV
1979 tristate "MSM Bus Performance Monitor Kernel Module"
1980 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1981 default m
1982 help
1983 This kernel module is used to mmap() hardware registers for the
1984 performance monitors, counters, etc. The module can also be used to
1985 allocate physical memory which is used by bus performance hardware to
1986 dump performance data.
1987
Mona Hossain11c03ac2011-10-26 12:42:10 -07001988config MSM_TZ_LOG
1989 tristate "MSM Trust Zone (TZ) Log Driver"
1990 depends on DEBUG_FS
1991 help
1992 This option enables a driver with a debugfs interface for messages
1993 produced by the Secure code (Trust zone). These messages provide
1994 diagnostic information about TZ operation.
1995
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001996config MSM_RPM_LOG
1997 tristate "MSM Resource Power Manager Log Driver"
1998 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001999 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002000 default n
2001 help
2002 This option enables a driver which can read from a circular buffer
2003 of messages produced by the RPM. These messages provide diagnostic
2004 information about RPM operation. The driver outputs the messages
2005 via a debugfs node.
2006
2007config MSM_RPM_STATS_LOG
2008 tristate "MSM Resource Power Manager Stat Driver"
2009 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002010 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002011 default n
2012 help
2013 This option enables a driver which reads RPM messages from a shared
2014 memory location. These messages provide statistical information about
2015 the low power modes that RPM enters. The drivers outputs the message
2016 via a debugfs node.
2017
2018config MSM_IOMMU
2019 bool "MSM IOMMU Support"
Joel King41d594e2011-10-14 13:18:20 -07002020 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_APQ8064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002021 select IOMMU_API
2022 default n
2023 help
2024 Support for the IOMMUs found on certain Qualcomm SOCs.
2025 These IOMMUs allow virtualization of the address space used by most
2026 cores within the multimedia subsystem.
2027
2028 If unsure, say N here.
2029
2030config IOMMU_PGTABLES_L2
2031 bool "Allow SMMU page tables in the L2 cache (Experimental)"
2032 depends on MSM_IOMMU=y
2033 depends on MMU
2034 depends on CPU_DCACHE_DISABLE=n
2035 depends on SMP
2036 default y
2037 help
2038 Improves TLB miss latency at the expense of potential L2 pollution.
2039 However, with large multimedia buffers, the TLB should mostly contain
2040 section mappings and TLB misses should be quite infrequent.
2041 Most people can probably say Y here.
2042
2043config MSM_DIRECT_SCLK_ACCESS
2044 bool "Direct access to the SCLK timer"
2045 default n
2046
2047config IOMMU_API
2048 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07002049
Gregory Beanab78cde2010-09-01 16:26:12 -07002050config MSM_GPIOMUX
2051 bool
2052
Gregory Bean1963a2a2010-08-28 10:05:44 -07002053config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002054 bool
2055
2056config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07002057 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002059config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002060 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002061
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002062config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002063 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002064
Matt Wagantall88b86312012-01-31 16:53:03 -08002065config MSM_PM2
2066 depends on PM
2067 bool
2068
2069config MSM_PM8X60
2070 depends on PM
2071 bool
2072
2073config MSM_NOPM
2074 default y if !PM
2075 bool
2076
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002077config MSM_BUS_SCALING
2078 bool "Bus scaling driver"
2079 default n
2080
Gagan Mac85c70492011-06-10 16:07:47 -06002081config MSM_BUS_RPM_MULTI_TIER_ENABLED
2082 bool "RPM Multi-tiering Configuration"
2083 depends on MSM_BUS_SCALING
2084
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002085config MSM_WATCHDOG
2086 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002087 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002088 help
2089 This enables the watchdog as is present on 8x60. Currently we use
2090 core 0's watchdog, and reset the entire SoC if it times out. It does
2091 not run during the bootup process, so it will not catch any early
2092 lockups.
2093
2094config MSM_DLOAD_MODE
2095 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07002096 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002097 default n
2098 help
2099 This makes the SoC enter download mode when it resets
2100 due to a kernel panic. Note that this doesn't by itself
2101 make the kernel reboot on a kernel panic - that must be
2102 enabled via another mechanism.
2103
Pratik Patel17f3b822011-11-21 12:41:47 -08002104config MSM_JTAG
2105 bool "JTAG debug and trace support"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002106 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002107 Add additional support for JTAG kernel debugging and tracing.
Pratik Patel7831c082011-06-08 21:44:37 -07002108
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002109config MSM_ETM
2110 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002111 depends on ARCH_MSM8X60
2112 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002113 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002114 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002115
2116config MSM_QDSS
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002117 bool "Qualcomm Debug Subsystem"
Pratik Patel17f3b822011-11-21 12:41:47 -08002118 select MSM_JTAG
Pratik Patel7831c082011-06-08 21:44:37 -07002119 help
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002120 Enables support for Qualcomm Debug Subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002121
Pratik Patel29cba152012-01-03 11:40:26 -08002122config MSM_QDSS_ETM_DEFAULT_ENABLE
2123 bool "Turn on QDSS ETM Tracing by Default"
2124 depends on MSM_QDSS
2125 help
2126 Turns on QDSS ETM tracing by default. Otherwise, tracing is
2127 disabled by default but can be enabled by other means.
2128
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002129config MSM_SLEEP_STATS
2130 bool "Enable exporting of MSM sleep stats to userspace"
2131 depends on CPU_IDLE
2132 default n
2133
Lynus Vazdde09ee2012-01-05 13:28:22 +05302134config MSM_SLEEP_STATS_DEVICE
2135 bool "Enable exporting of MSM sleep device stats to userspace"
2136
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302137config MSM_RUN_QUEUE_STATS
2138 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Krishna Vankae2922052012-03-02 09:59:12 +05302139 depends on (MSM_SOC_REV_A || ARCH_MSM8X60 || ARCH_MSM8960)
2140 help
2141 This option enalbes statistics collection on Run Queue. A daemon
2142 in user mode, called MPDecision will be using this data to decide
2143 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302144
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002145config MSM_STANDALONE_POWER_COLLAPSE
2146 bool "Enable standalone power collapse"
2147 default n
2148
2149config MSM_GSBI9_UART
2150 bool "Enable GSBI9 UART device"
2151 default n
2152 help
2153 This enables GSBI9 configured into UART.
2154
2155config MSM_SHARED_GPIO_FOR_UART2DM
2156 bool "Use shared GPIOs into UART mode"
2157 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2158 help
2159 This option configures GPIO muxed with SDC4/MMC3
2160 8-bit mode into UART mode. It is used for serial
2161 console on UART2DM. Say Y if you want to have
2162 serial console on UART2DM.
2163
2164config MSM_SHOW_RESUME_IRQ
2165 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002166 depends on (ARM_GIC || PMIC8058)
2167 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002168 default n
2169 help
2170 This option logs wake up interrupts that have triggered just before
2171 the resume loop unrolls. Say Y if you want to debug why the system
2172 resumed.
2173
2174config BT_MSM_PINTEST
2175 tristate "MSM Bluetooth Pin Connectivity Test"
2176 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2177 default n
2178 help
2179 Bluetooth MSM Pin Connectivity test module.
2180 This driver provides support for verifying the MSM to BT pin
2181 connectivity.
2182
2183config MSM_FAKE_BATTERY
2184 depends on POWER_SUPPLY
2185 default n
2186 bool "MSM Fake Battery"
2187 help
2188 Enables MSM fake battery driver.
2189
2190config MSM_QDSP6_APR
2191 bool "Audio QDSP6 APR support"
2192 depends on MSM_SMD
2193 default n
2194 help
2195 Enable APR IPC protocol support between
2196 application processor and QDSP6. APR is
2197 used by audio driver to configure QDSP6's
2198 ASM, ADM and AFE.
2199
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -07002200config MSM_QDSP6_CODECS
2201 bool "Audio Codecs on QDSP6 APR "
2202 depends on MSM_SMD
2203 default n
2204 help
2205 Enable Audio codecs with APR IPC protocol support between
2206 application processor and QDSP6. APR is
2207 used by audio driver to configure QDSP6's
2208 ASM, ADM and AFE.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002209
2210config MSM_AUDIO_QDSP6
2211 bool "QDSP6 HW Audio support"
2212 select SND_SOC_MSM_QDSP6_INTF
2213 default n
2214 help
2215 Enable HW audio support in QDSP6.
2216 QDSP6 can support HW encoder & decoder and audio processing
2217
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002218config MSM_ULTRASOUND
2219 bool "MSM ultrasound support"
2220 depends on MSM_AUDIO_QDSP6
2221 help
2222 Enable support for qdsp6/ultrasound.
2223
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002224config MSM_RPC_VIBRATOR
2225 bool "RPC based MSM Vibrator Support"
2226 depends on MSM_ONCRPCROUTER
2227 help
2228 Enable the vibrator support on MSM over RPC. The vibrator
2229 is connected on the PMIC. Say Y if you want to enable this
2230 feature.
2231
2232config PM8XXX_RPC_VIBRATOR
2233 bool "RPC based Vibrator on PM8xxx PMICs"
2234 depends on MSM_RPC_VIBRATOR
2235 help
2236 Enable the vibrator support on MSM over RPC. The vibrator
2237 is connected on the PM8XXX PMIC. Say Y if you want to enable
2238 this feature.
2239
2240config MSM_SPM_V1
2241 bool "Driver support for SPM Version 1"
2242 help
2243 Enables the support for Version 1 of the SPM driver. SPM hardware is
2244 used to manage the processor power during sleep. The driver allows
2245 configuring SPM to allow different power modes.
2246
2247config MSM_SPM_V2
2248 bool "Driver support for SPM Version 2"
2249 help
2250 Enables the support for Version 2 of the SPM driver. SPM hardware is
2251 used to manage the processor power during sleep. The driver allows
2252 configuring SPM to allow different power modes.
2253
2254config MSM_L2_SPM
2255 bool "SPM support for L2 cache"
2256 depends on MSM_SPM_V2
2257 help
2258 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2259 control of L2 cache low power mode with a Subsystem Power manager.
2260 Enabling this driver allows configuring L2 SPM for low power modes
2261 on supported chipsets.
2262
Laura Abbott2d1760b2011-09-29 21:31:24 -07002263config MSM_MULTIMEDIA_USE_ION
2264 bool "Multimedia suport using Ion"
2265 depends on ION_MSM
2266 help
2267 Enable support for multimedia drivers using Ion for buffer management
2268 instead of pmem. Selecting this may also involve userspace
2269 dependencies as well.
2270
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002271config MSM_OCMEM
2272 bool "MSM On-Chip memory driver (OCMEM)"
2273 help
2274 Enable support for On-Chip Memory available on certain MSM chipsets.
2275 OCMEM is a low latency, high performance pool shared by subsystems.
2276
Laura Abbottad340ff2012-01-04 14:23:48 -08002277config MSM_RTB
2278 bool "Register tracing"
2279 help
2280 Add support for logging different events to a small uncached
2281 region. This is designed to aid in debugging reset cases where the
2282 caches may not be flushed before the target resets.
2283
2284config MSM_RTB_SEPARATE_CPUS
2285 bool "Separate entries for each cpu"
2286 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002287 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002288 help
2289 Under some circumstances, it may be beneficial to give dedicated space
2290 for each cpu to log accesses. Selecting this option will log each cpu
2291 separately. This will guarantee that the last acesses for each cpu
2292 will be logged but there will be fewer entries per cpu
2293
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002294config MSM_CACHE_ERP
2295 bool "Cache / CPU error reporting"
2296 depends on ARCH_MSM_KRAIT
2297 help
2298 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2299 log. Enabling this feature can be used as a system debugging technique
2300 if cache corruption is suspected. Cache error statistics will also be
2301 reported in /proc/cpu/msm_cache_erp.
2302
2303 For production builds, you should probably say 'N' here.
2304
2305config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002306 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002307 depends on MSM_CACHE_ERP
2308 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002309 To cause the kernel to panic whenever an L1 cache error is detected, say
2310 'Y' here. This may be useful as a debugging technique if general system
2311 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002312
2313 For production builds, you should probably say 'N' here.
2314
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002315config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2316 bool "Report L2 master port slave/decode errors in kernel log"
2317 depends on MSM_CACHE_ERP
2318 help
2319 Master port errors can occur when a memory request is not properly
2320 handled by the destination slave. This can occur if the destination
2321 register does not exist or is inaccessible due to security
2322 restrictions or (in some cases) clock configuration. Enabling this
2323 option will cause a backtrace to be printed to the kernel log whenever
2324 such an error is encountered. Note that the error is reported as an
2325 interrupt rather than as an exception, meaning that the backtrace may
2326 have some skid. This option may help with debugging, though production
2327 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002328
2329config MSM_L2_ERP_PORT_PANIC
2330 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002331 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002332 help
2333 Master port errors can occur when a memory request is not properly
2334 handled by the destination slave. Enable this option to catch drivers
2335 which attempt to access bad areas of the address space, or access
2336 hardware registers in an improper state (such as certain clocks not
2337 being on). This option may help with debugging, though production
2338 builds should probably say 'N' here.
2339
2340config MSM_L2_ERP_1BIT_PANIC
2341 bool "Panic on recoverable L2 soft errors"
2342 depends on MSM_CACHE_ERP
2343 help
2344 Enable this option to cause a kernel panic whenever the L2 cache
2345 encounters a single-bit (correctable) soft error. This option should
2346 only be enabled when doing low-level debugging where cache corruption
2347 is suspected.
2348
2349 For production builds, you should definitely say 'N' here.
2350
2351config MSM_L2_ERP_2BIT_PANIC
2352 bool "Panic on unrecoverable L2 soft errors"
2353 depends on MSM_CACHE_ERP
2354 help
2355 Enable this option to cause a kernel panic whenever the L2 cache
2356 encounters a double-bit (non-correctable) soft error. Debug builds
2357 will likely benefit from having this option enabled to catch cache
2358 problems as soon as possible.
2359
2360 For production builds, it may be acceptable to say 'N' here, since
2361 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002362
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002363config MSM_DCVS
2364 bool "Use MSM DCVS for CPU/GPU Frequency control"
2365 depends on MSM_SCM
2366 help
2367 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2368 The DCVS manager allows idle driver to feed the idle information to the
2369 algorithm and the algorithm returns a frequency for the core which is
2370 passed to the frequency change driver.
2371
Taniya Dasc43e6872012-03-21 16:41:14 +05302372config HAVE_ARCH_HAS_CURRENT_TIMER
2373 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002374
2375config MSM_CACHE_DUMP
2376 bool "Cache dumping support"
2377 help
2378 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2379 This allows for analysis of the caches in case cache corruption is
2380 suspected.
2381
Laura Abbott7b637362012-03-29 16:43:49 -07002382config MSM_CACHE_DUMP_ON_PANIC
2383 bool "Dump caches on panic"
2384 depends on MSM_CACHE_DUMP
2385 help
2386 By default, the caches are flushed on panic. This means that trying to
2387 look at them in a RAM dump will give useless data. Select this if you
2388 want to dump the L1 and L2 caches on panic before any flush occurs.
2389 If unsure, say N
2390
Jack Phamccbbfab2012-04-09 19:50:20 -07002391config MSM_HSIC_SYSMON
2392 tristate "MSM HSIC system monitor driver"
2393 depends on USB
2394 help
2395 Add support for bridging with the system monitor interface of MDM
2396 over HSIC. This driver allows the local system monitor to
2397 communicate with the remote system monitor interface.
2398
2399config MSM_HSIC_SYSMON_TEST
2400 tristate "MSM HSIC system monitor bridge test"
2401 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2402 help
2403 Enable the test hook for the Qualcomm system monitor HSIC driver.
2404 This will create a debugfs file entry named "hsic_sysmon_test" which
2405 can be read and written to send character data to the sysmon port of
2406 the modem over USB.
2407
Brian Swetland9e73c842007-11-26 04:12:13 -08002408endif