blob: 398b28f936a39e454d601dd99c7fcc05c730ddcb [file] [log] [blame]
Brian Swetland1637de02008-09-09 07:13:33 -07001if ARCH_MSM
Brian Swetland9e73c842007-11-26 04:12:13 -08002
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -07003menu "MSM SoC Type"
Daniel Walkerbf83de42010-03-16 16:29:44 -07004
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07005config ARCH_MSM7X01A
Daniel Walkerbf83de42010-03-16 16:29:44 -07006 bool "MSM7x00A / MSM7x01A"
7 select ARCH_MSM_ARM11
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07008 select MSM_VIC
Daniel Walkerbf83de42010-03-16 16:29:44 -07009 select CPU_V6
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070010 select MSM_REMOTE_SPINLOCK_SWP
Matt Wagantall88b86312012-01-31 16:53:03 -080011 select MSM_PM if PM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070012
13config ARCH_MSM7X25
14 bool "MSM7x25"
15 select ARCH_MSM_ARM11
16 select MSM_VIC
17 select CPU_V6
18 select MSM_REMOTE_SPINLOCK_SWP
Taniya Dasbe561a02011-10-12 09:53:11 +053019 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -080020 select MSM_PM if PM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070021
22config ARCH_MSM7X27
23 bool "MSM7x27"
24 select ARCH_MSM_ARM11 if MSM_SOC_REV_NONE
25 select ARCH_HAS_BARRIERS if MSM_SOC_REV_NONE
26 select ARCH_MSM_CORTEX_A5 if MSM_SOC_REV_A
27 select MSM_VIC
28 select CPU_V6 if MSM_SOC_REV_NONE
29 select CPU_V7 if MSM_SOC_REV_A
30 select MSM_REMOTE_SPINLOCK_SWP if MSM_SOC_REV_NONE
31 select MSM_GPIOMUX
32 select REGULATOR
Taniya Dasbe561a02011-10-12 09:53:11 +053033 select MULTI_IRQ_HANDLER
Pankaj Kumar75c86fd2011-10-01 18:51:09 +053034 select MSM_PROC_COMM_REGULATOR
Laura Abbott1fbd2e62011-12-18 10:26:46 -080035 select CLEANCACHE
36 select QCACHE
Matt Wagantall88b86312012-01-31 16:53:03 -080037 select MSM_PM2 if PM
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
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700131
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800132config ARCH_MSM8960
133 bool "MSM8960"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700134 select ARCH_MSM_KRAITMP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800135 select ARM_GIC
136 select CPU_V7
137 select MSM_V2_TLMM
138 select MSM_GPIOMUX
139 select MSM_SCM if SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700140 select MSM_DIRECT_SCLK_ACCESS
141 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -0800142 select MSM_RPM_REGULATOR
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700143 select MSM_RPM
144 select MSM_XO
145 select MSM_QDSP6_APR
146 select MSM_PIL
147 select MSM_AUDIO_QDSP6 if SND_SOC
148 select CPU_HAS_L2_PMU
149 select MSM_SPM_V2
150 select MSM_L2_SPM
151 select MSM_NATIVE_RESTART
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700152 select DONT_MAP_HOLE_AFTER_MEMBANK0
153 select MSM_REMOTE_SPINLOCK_SFPB
154 select ARCH_POPULATES_NODE_MAP
155 select ARCH_SPARSEMEM_ENABLE
156 select ARCH_HAS_HOLES_MEMORYMODEL
Larry Basselb8d61022012-02-24 10:49:45 -0800157 select ENABLE_DMM
158 select MEMORY_HOTPLUG if ENABLE_DMM
159 select MEMORY_HOTREMOVE if ENABLE_DMM
160 select ARCH_ENABLE_MEMORY_HOTPLUG if ENABLE_DMM
161 select ARCH_ENABLE_MEMORY_HOTREMOVE if ENABLE_DMM
162 select MIGRATION if ENABLE_DMM
163 select ARCH_MEMORY_PROBE if ENABLE_DMM
164 select ARCH_MEMORY_REMOVE if ENABLE_DMM
165 select FIX_MOVABLE_ZONE if ENABLE_DMM
Larry Basseld4d82c92011-12-07 09:52:49 -0800166 select CLEANCACHE
167 select QCACHE
Laura Abbott6d61a912011-10-27 16:44:14 -0700168 select MSM_MULTIMEDIA_USE_ION
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530169 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800170 select MSM_PM8X60 if PM
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700171
172config ARCH_MSM8930
173 bool "MSM8930"
174 select ARCH_MSM_KRAITMP
175 select ARM_GIC
176 select CPU_V7
177 select MSM_V2_TLMM
178 select MSM_GPIOMUX
179 select MSM_SCM if SMP
180 select MSM_DIRECT_SCLK_ACCESS
181 select REGULATOR
David Collins5779cea2012-01-05 15:09:21 -0800182 select MSM_RPM_REGULATOR
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700183 select MSM_RPM
184 select MSM_XO
185 select MSM_QDSP6_APR
186 select MSM_PIL
187 select MSM_AUDIO_QDSP6 if SND_SOC
188 select CPU_HAS_L2_PMU
189 select MSM_SPM_V2
190 select MSM_L2_SPM
191 select MSM_NATIVE_RESTART
192 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600193 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700194 select ARCH_POPULATES_NODE_MAP
195 select ARCH_SPARSEMEM_ENABLE
196 select ARCH_HAS_HOLES_MEMORYMODEL
Larry Basselb8d61022012-02-24 10:49:45 -0800197 select ENABLE_DMM
198 select MEMORY_HOTPLUG if ENABLE_DMM
199 select MEMORY_HOTREMOVE if ENABLE_DMM
200 select ARCH_ENABLE_MEMORY_HOTPLUG if ENABLE_DMM
201 select ARCH_ENABLE_MEMORY_HOTREMOVE if ENABLE_DMM
202 select MIGRATION if ENABLE_DMM
203 select ARCH_MEMORY_PROBE if ENABLE_DMM
204 select ARCH_MEMORY_REMOVE if ENABLE_DMM
205 select FIX_MOVABLE_ZONE if ENABLE_DMM
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +0200206 select MSM_ULTRASOUND
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530207 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800208 select MSM_PM8X60 if PM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700209
210config ARCH_APQ8064
211 bool "APQ8064"
212 select ARCH_MSM_KRAITMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700213 select MSM_V2_TLMM
214 select ARM_GIC
215 select CPU_V7
216 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700217 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600218 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800219 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800220 select MSM_QDSP6_APR
221 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530222 select MULTI_IRQ_HANDLER
Praveen Chidambaram78499012011-11-01 17:15:17 -0600223 select MSM_RPM
224 select MSM_SPM_V2
225 select MSM_L2_SPM
Matt Wagantall88b86312012-01-31 16:53:03 -0800226 select MSM_PM8X60 if PM
Neil Leeder814d3d32012-01-19 17:21:43 -0500227 select CPU_HAS_L2_PMU
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700228
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700229config ARCH_MSMCOPPER
230 bool "MSM Copper"
231 select ARCH_MSM_KRAITMP
232 select MSM_V2_TLMM
233 select ARM_GIC
234 select CPU_V7
235 select MSM_SCM if SMP
236 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530237 select MULTI_IRQ_HANDLER
Olav Hauganb800c8c2012-01-30 08:50:45 -0800238 select MSM_MULTIMEDIA_USE_ION
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700239
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700240config ARCH_FSM9XXX
241 bool "FSM9XXX"
242 select ARCH_MSM_SCORPION
243 select MSM_VIC
244 select CPU_V7
245 select MSM_REMOTE_SPINLOCK_LDREX
246 select FSM9XXX_TLMM
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530247 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800248 select MSM_DALRPC
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800249
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700250config ARCH_MSM9615
251 bool "MSM9615"
252 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530253 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700254 select ARCH_MSM_CORTEX_A5
255 select CPU_V7
256 select MSM_V2_TLMM
257 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600258 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600259 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700260 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800261 select REGULATOR
262 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530263 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800264 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800265 select MSM_XO
Matt Wagantall9274df92011-12-15 11:11:05 -0800266
Taniya Das43bcdd62011-12-02 17:33:27 +0530267config ARCH_MSM8625
268 bool "MSM8625"
269 select ARCH_MSM_CORTEX_A5
270 select CPU_V7
271 select MSM_GPIOMUX
272 select ARM_GIC
273 select ARCH_MSM_CORTEXMP
274 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530275 select ARM_TICKET_LOCKS
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700276endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700277
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700278choice
279 prompt "MSM SoC Revision"
280 default MSM_SOC_REV_NONE
281config MSM_SOC_REV_NONE
282 bool "N/A"
283 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
284 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walker4ad15e62010-05-06 13:54:17 -0700285config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700286 bool "Rev. A"
287 select ARCH_MSM7X27A if ARCH_MSM7X27
288endchoice
Daniel Walker4ad15e62010-05-06 13:54:17 -0700289
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700290config MSM_KRAIT_TBB_ABORT_HANDLER
291 bool "Krait TBB/TBH data abort handler"
292 depends on ARCH_MSM_KRAIT
293 depends on ARM_THUMB
294 help
295 Certain early samples of the Krait processor may generate data
296 aborts for TBB / TBH instructions that fail their condition code
297 checks. Enabling this option will ignore these erroneous data aborts,
298 at the expense of a very small performance penalty.
299
300 If unsure, say N.
301
Daniel Walker4ad15e62010-05-06 13:54:17 -0700302config ARCH_MSM_ARM11
303 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700304
Daniel Walker4ad15e62010-05-06 13:54:17 -0700305config ARCH_MSM_SCORPION
Daniel Walkerbf83de42010-03-16 16:29:44 -0700306 bool
307
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700308config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700309 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800310 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700311
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700312config MSM_SMP
313 bool
314
315config ARCH_MSM_SCORPIONMP
316 select ARCH_MSM_SCORPION
317 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530318 select HAVE_ARCH_HAS_CURRENT_TIMER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700319 bool
320
321config ARCH_MSM_KRAITMP
322 select ARCH_MSM_KRAIT
323 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530324 select HAVE_ARCH_HAS_CURRENT_TIMER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700325 bool
326
Taniya Das43bcdd62011-12-02 17:33:27 +0530327config ARCH_MSM_CORTEXMP
328 select MSM_SMP
329 bool
330
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700331config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800332 bool
Rohit Vaswaniaf7ae272012-01-09 10:28:57 -0800333 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700334
335config ARCH_MSM7X27A
336 bool
337 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700338 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530339 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530340 select ARM_GIC
341 select ARCH_MSM_CORTEXMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700342
Gregory Beanf9f3d312010-04-30 22:06:50 -0700343config MSM_VIC
344 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700345
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700346config MSM_RPM
347 bool "Resource Power Manager"
348 select MSM_MPM
349
350config MSM_MPM
351 bool "Modem Power Manager"
352
353config MSM_XO
354 bool
355
356config MSM_REMOTE_SPINLOCK_DEKKERS
357 bool
358config MSM_REMOTE_SPINLOCK_SWP
359 bool
360config MSM_REMOTE_SPINLOCK_LDREX
361 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600362config MSM_REMOTE_SPINLOCK_SFPB
363 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700364config MSM_ADM3
365 bool
366
367menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700368
369config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700370 depends on ARCH_MSM7X01A
371 depends on MSM_STACKED_MEMORY
372 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700373 bool "Halibut Board (QCT SURF7201A)"
374 help
375 Support for the Qualcomm SURF7201A eval board.
376
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700377config MACH_MSM7201A_SURF
378 depends on ARCH_MSM7X01A
379 depends on MSM_STACKED_MEMORY
380 default y
381 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700382 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700383 Support for the Qualcomm MSM7201A SURF eval board.
384
385config MACH_MSM7201A_FFA
386 depends on ARCH_MSM7X01A
387 depends on MSM_STACKED_MEMORY
388 default y
389 bool "MSM7201A FFA"
390 help
391 Support for the Qualcomm MSM7201A FFA eval board.
392
393config MACH_TROUT
394 depends on ARCH_MSM7X01A
395 depends on MSM_STACKED_MEMORY
396 default y
397 bool "Trout"
398
399config MACH_MSM7X27_SURF
400 depends on ARCH_MSM7X27
401 depends on !MSM_STACKED_MEMORY
402 default y
403 bool "MSM7x27 SURF"
404 help
405 Support for the Qualcomm MSM7x27 SURF eval board.
406
407config MACH_MSM7X27_FFA
408 depends on ARCH_MSM7X27
409 depends on !MSM_STACKED_MEMORY
410 default y
411 bool "MSM7x27 FFA"
412 help
413 Support for the Qualcomm MSM7x27 FFA eval board.
414
415config MACH_MSM7X27A_RUMI3
416 depends on ARCH_MSM7X27A
417 depends on !MSM_STACKED_MEMORY
418 default y
419 bool "MSM7x27A RUMI3"
420 help
421 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
422
423config MACH_MSM7X27A_SURF
424 depends on ARCH_MSM7X27A
425 depends on !MSM_STACKED_MEMORY
426 default y
427 bool "MSM7x27A SURF"
428 help
429 Support for the Qualcomm MSM7x27A SURF.
430
431config MACH_MSM7X27A_FFA
432 depends on ARCH_MSM7X27A
433 depends on !MSM_STACKED_MEMORY
434 default y
435 bool "MSM7x27A FFA"
436 help
437 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700438
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530439config MACH_MSM7625A_SURF
440 depends on ARCH_MSM7X27A
441 depends on !MSM_STACKED_MEMORY
442 default y
443 bool "MSM7625A SURF"
444 help
445 Support for the Qualcomm MSM7625A SURF.
446
447config MACH_MSM7625A_FFA
448 depends on ARCH_MSM7X27A
449 depends on !MSM_STACKED_MEMORY
450 default y
451 bool "MSM7625A FFA"
452 help
453 Support for the Qualcomm MSM7625A FFA.
454
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530455config MACH_MSM7627A_QRD1
456 depends on ARCH_MSM7X27A
457 depends on !MSM_STACKED_MEMORY
458 default y
459 bool "MSM7627A QRD1"
460 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530461 Support for the Qualcomm MSM7627A Reference Design.
462
463config MACH_MSM7627A_QRD3
464 depends on ARCH_MSM7X27A
465 depends on !MSM_STACKED_MEMORY
466 default y
467 bool "MSM7627A QRD3"
468 help
469 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530470
Taniya Dasc868a2e2012-01-03 10:18:47 +0530471config MACH_MSM7627A_EVB
472 depends on ARCH_MSM7X27A
473 depends on !MSM_STACKED_MEMORY
474 default y
475 bool "MSM7627A EVB"
476 help
477 Support for the Qualcomm MSM7627A Reference Design.
478
Taniya Das43bcdd62011-12-02 17:33:27 +0530479config MACH_MSM8625_RUMI3
480 depends on ARCH_MSM8625
481 depends on !MSM_STACKED_MEMORY
482 default y
483 bool "MSM8625 RUMI3"
484 help
485 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
486
Taniya Dase3027e22012-02-27 16:32:27 +0530487config MACH_MSM8625_SURF
488 depends on ARCH_MSM8625
489 depends on !MSM_STACKED_MEMORY
490 default y
491 bool "MSM8625 SURF"
492 help
493 Support for the Qualcomm MSM8625 SURF.
494
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530495config MACH_MSM8625_EVB
496 depends on ARCH_MSM8625
497 depends on !MSM_STACKED_MEMORY
498 default y
499 bool "MSM8625 EVB"
500 help
501 Support for the Qualcomm MSM8625 Reference Design.
502
Daniel Walker7b521612010-05-06 12:44:57 -0700503config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700504 depends on ARCH_MSM7X30
505 depends on !MSM_STACKED_MEMORY
506 default y
507 bool "MSM7x30 SURF"
508 help
509 Support for the Qualcomm MSM7x30 SURF eval board.
510
511config MACH_MSM7X30_FFA
512 depends on ARCH_MSM7X30
513 depends on !MSM_STACKED_MEMORY
514 default y
515 bool "MSM7x30 FFA"
516 help
517 Support for the Qualcomm MSM7x30 FFA eval board.
518
519config MACH_MSM7X30_FLUID
520 depends on ARCH_MSM7X30
521 depends on !MSM_STACKED_MEMORY
522 default y
523 bool "MSM7x30 FLUID"
524 help
525 Support for the Qualcomm MSM7x30 FLUID eval board.
526
527config MACH_SAPPHIRE
528 depends on ARCH_MSM7X01A
529 default n
530 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700531
Daniel Walker4ad15e62010-05-06 13:54:17 -0700532config MACH_QSD8X50_SURF
533 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700534 depends on MSM_SOC_REV_NONE
535 depends on MSM_STACKED_MEMORY
536 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700537 bool "QSD8x50 SURF"
538 help
539 Support for the Qualcomm QSD8x50 SURF eval board.
540
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700541config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700542 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700543 depends on MSM_SOC_REV_NONE
544 depends on MSM_STACKED_MEMORY
545 default y
546 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700547 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700548 Support for the Qualcomm QSD8x50 FFA eval board.
549
550config MACH_MSM7X25_SURF
551 depends on ARCH_MSM7X25
552 depends on !MSM_STACKED_MEMORY
553 default y
554 bool "MSM7x25 SURF"
555 help
556 Support for the Qualcomm MSM7x25 SURF eval board.
557
558config MACH_MSM7X25_FFA
559 depends on ARCH_MSM7X25
560 depends on !MSM_STACKED_MEMORY
561 default y
562 bool "MSM7x25 FFA"
563 help
564 Support for the Qualcomm MSM7x25 FFA eval board.
565
566config MACH_MSM8X55_SURF
567 depends on ARCH_MSM7X30
568 depends on !MSM_STACKED_MEMORY
569 default y
570 bool "MSM8X55 SURF"
571 help
572 Support for the Qualcomm MSM8x55 SURF eval board.
573
574config MACH_MSM8X55_FFA
575 depends on ARCH_MSM7X30
576 depends on !MSM_STACKED_MEMORY
577 default y
578 bool "MSM8X55 FFA"
579 help
580 Support for the Qualcomm MSM8x55 FFA eval board.
581
582config MACH_MSM8X55_SVLTE_FFA
583 depends on ARCH_MSM7X30
584 depends on !MSM_STACKED_MEMORY
585 default y
586 bool "MSM8X55 SVLTE FFA"
587 help
588 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
589
590config MACH_MSM8X55_SVLTE_SURF
591 depends on ARCH_MSM7X30
592 depends on !MSM_STACKED_MEMORY
593 default y
594 bool "MSM8X55 SVLTE SURF"
595 help
596 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700597
Steve Mucklea55df6e2010-01-07 12:43:24 -0800598config MACH_MSM8X60_RUMI3
599 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700600 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800601 bool "MSM8x60 RUMI3"
602 help
603 Support for the Qualcomm MSM8x60 RUMI3 emulator.
604
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800605config MACH_MSM8X60_SIM
606 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700607 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800608 bool "MSM8x60 Simulator"
609 help
610 Support for the Qualcomm MSM8x60 simulator.
611
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700612config MACH_MSM8X60_SURF
613 depends on ARCH_MSM8X60
614 default n
615 bool "MSM8x60 SURF"
616 help
617 Support for the Qualcomm MSM8x60 SURF eval board.
618
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700619config MACH_MSM8X60_FFA
620 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700621 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700622 bool "MSM8x60 FFA"
623 help
624 Support for the Qualcomm MSM8x60 FFA eval board.
625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700626config MACH_MSM8X60_FLUID
627 depends on ARCH_MSM8X60
628 default n
629 bool "MSM8x60 FLUID"
630 help
631 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
632 8x60 target which has a form factor that is much closer to that
633 of a phone than other targets. It also has a new display and
634 touchscreen controller.
635
636config MACH_MSM8X60_FUSION
637 depends on ARCH_MSM8X60
638 default n
639 bool "MSM8x60 FUSION"
640 help
641 Support for the Qualcomm MSM8x60 Fusion SURF device.
642
643config MACH_MSM8X60_FUSN_FFA
644 depends on ARCH_MSM8X60
645 default n
646 bool "MSM8x60 FUSN FFA"
647 help
648 Support for the Qualcomm MSM8x60 Fusion FFA device.
649
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400650config MACH_MSM8X60_DRAGON
651 depends on ARCH_MSM8X60
652 default n
653 bool "MSM8x60 DRAGON"
654 help
655 Support for the Qualcomm MSM8x60 Dragon board.
656
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800657config MACH_MSM8960_SIM
658 depends on ARCH_MSM8960
659 bool "MSM8960 Simulator"
660 help
661 Support for the Qualcomm MSM8960 simulator.
662
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800663config MACH_MSM8960_RUMI3
664 depends on ARCH_MSM8960
665 bool "MSM8960 RUMI3"
666 help
667 Support for the Qualcomm MSM8960 RUMI3 emulator.
668
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700669config MACH_MSM8960_CDP
670 depends on ARCH_MSM8960
671 bool "MSM8960 CDP"
672 help
673 Support for the Qualcomm MSM8960 CDP device.
674
675config MACH_MSM8960_MTP
676 depends on ARCH_MSM8960
677 bool "MSM8960 MTP"
678 help
679 Support for the Qualcomm MSM8960 MTP device.
680
681config MACH_MSM8960_FLUID
682 depends on ARCH_MSM8960
683 bool "MSM8960 FLUID"
684 help
685 Support for the Qualcomm MSM8960 FLUID device.
686
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300687config MACH_MSM8960_LIQUID
688 depends on ARCH_MSM8960
689 bool "MSM8960 LIQUID"
690 help
691 Support for the Qualcomm MSM8960 LIQUID device.
692
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700693config MACH_MSM8930_CDP
694 depends on ARCH_MSM8930
695 bool "MSM8930 CDP"
696 help
697 Support for the Qualcomm MSM8930 CDP device.
698
699config MACH_MSM8930_MTP
700 depends on ARCH_MSM8930
701 bool "MSM8930 MTP"
702 help
703 Support for the Qualcomm MSM8930 MTP device.
704
705config MACH_MSM8930_FLUID
706 depends on ARCH_MSM8930
707 bool "MSM8930 FLUID"
708 help
709 Support for the Qualcomm MSM8930 FLUID device.
710
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800711config MACH_MSM8627_CDP
712 depends on ARCH_MSM8930
713 bool "MSM8627 CDP"
714 help
715 Support for the Qualcomm MSM8627 CDP device.
716
717config MACH_MSM8627_MTP
718 depends on ARCH_MSM8930
719 bool "MSM8627 MTP"
720 help
721 Support for the Qualcomm MSM8627 MTP device.
722
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700723config MACH_MSM9615_CDP
724 depends on ARCH_MSM9615
725 bool "MSM9615 CDP"
726 help
727 Support for the Qualcomm MSM9615 CDP device.
728
729config MACH_MSM9615_MTP
730 depends on ARCH_MSM9615
731 bool "MSM9615 MTP"
732 help
733 Support for the Qualcomm MSM9615 MTP device.
734
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700735config MSM_USE_TSIF1
736 depends on ARCH_MSM8X60
737 bool "MSM8x60 use TSIF1"
738 help
739 Selects TSIF1 core to be used rather than TSIF0.
740 The two TSIF cores share the same DM configuration
741 so they cannot be used simultaneously.
742
743config MACH_APQ8064_SIM
744 depends on ARCH_APQ8064
745 bool "APQ8064 Simulator"
746 help
747 Support for the Qualcomm APQ8064 simulator.
748
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700749config MACH_APQ8064_RUMI3
750 depends on ARCH_APQ8064
751 bool "APQ8064 RUMI3"
752 help
753 Support for the Qualcomm APQ8064 RUMI3 emulator.
754
Joel King82b7e3f2012-01-05 10:03:27 -0800755config MACH_APQ8064_CDP
756 depends on ARCH_APQ8064
757 bool "APQ8064 CDP"
758 help
759 Support for the Qualcomm APQ8064 CDP device.
760
761config MACH_APQ8064_MTP
762 depends on ARCH_APQ8064
763 bool "APQ8064 MTP"
764 help
765 Support for the Qualcomm APQ8064 MTP device.
766
767config MACH_APQ8064_LIQUID
768 depends on ARCH_APQ8064
769 bool "APQ8064 LIQUID"
770 help
771 Support for the Qualcomm APQ8064 LIQUID device.
772
Joel King11ca8202012-02-13 16:19:03 -0800773config MACH_MPQ8064_HRD
774 depends on ARCH_APQ8064
775 bool "MPQ8064 HRD"
776 help
777 Support for the Qualcomm MPQ8064 HRD device.
778
779config MACH_MPQ8064_DTV
780 depends on ARCH_APQ8064
781 bool "MPQ8064 DTV"
782 help
783 Support for the Qualcomm MPQ8064 DTV device.
784
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700785config MACH_FSM9XXX_SURF
786 depends on ARCH_FSM9XXX
787 depends on !MSM_STACKED_MEMORY
788 default y
789 bool "FSM9XXX SURF"
790 help
791 Support for the Qualcomm FSM9xxx femtocell
792 chipset based SURF evaluation board and
793 FFA board.
794
Daniel Walker4ad15e62010-05-06 13:54:17 -0700795endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800796
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700797config MSM_STACKED_MEMORY
798 bool "Stacked Memory"
799 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800800 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700801 This option is used to indicate the presence of on-die stacked
802 memory. When present this memory bank is used for a high speed
803 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800804
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700805config PHYS_OFFSET
806 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700807 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700808 default "0x80200000" if ARCH_APQ8064
809 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700810 default "0x80200000" if ARCH_MSM8930
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700811 default "0x80200000" if ARCH_MSMCOPPER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700812 default "0x10000000" if ARCH_FSM9XXX
813 default "0x00200000" if !MSM_STACKED_MEMORY
814 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
815 default "0x20000000" if ARCH_QSD8X50
816 default "0x40200000" if ARCH_MSM8X60
817 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800818
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700819config KERNEL_PMEM_EBI_REGION
820 bool "Enable in-kernel PMEM region for EBI"
821 default y if ARCH_MSM8X60
Olav Hauganb800c8c2012-01-30 08:50:45 -0800822 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSMCOPPER)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700823 help
824 Enable the in-kernel PMEM allocator to use EBI memory.
825
826config KERNEL_PMEM_SMI_REGION
827 bool "Enable in-kernel PMEM region for SMI"
828 default y if ARCH_MSM8X60
829 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
830 help
831 Enable the in-kernel PMEM allocator to use SMI memory.
832
833config PMEM_GPU0
834 bool "Enable PMEM GPU0 region"
835 default y
836 depends on ARCH_QSD8X50 && ANDROID_PMEM
837 help
838 Enable the PMEM GPU0 device on SMI Memory.
839
840config MSM_AMSS_VERSION
841 int
842 default 6210 if MSM_AMSS_VERSION_6210
843 default 6220 if MSM_AMSS_VERSION_6220
844 default 6225 if MSM_AMSS_VERSION_6225
845
846choice
847 prompt "AMSS modem firmware version"
848
849 default MSM_AMSS_VERSION_6225
850
851 config MSM_AMSS_VERSION_6210
852 bool "6.2.10"
853
854 config MSM_AMSS_VERSION_6220
855 bool "6.2.20"
856
857 config MSM_AMSS_VERSION_6225
858 bool "6.2.20 + New ADSP"
859endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800860
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700861config MSM_HAS_DEBUG_UART_HS
862 bool
863 help
864 Say Y here if high speed MSM UART is present.
865
866config MSM_HAS_DEBUG_UART_HS_V14
867 bool
868 select MSM_HAS_DEBUG_UART_HS
869 help
870 Say Y here if high speed MSM UART v1.4 is present.
871
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800872config DEBUG_MSM8930_UART
873 bool "Kernel low-level debugging messages via MSM 8930 UART"
874 depends on ARCH_MSM8930 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700875 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800876 help
877 Say Y here if you want the debug print routines to direct
878 their output to the serial port on MSM 8930 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100879
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530880config MSM_DEBUG_UART_PHYS
881 hex
882 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
883 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
884 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
885 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
886 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
887 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
888 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
889 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
890
Pavel Machek6339f662009-11-02 11:48:29 +0100891choice
892 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800893 depends on DEBUG_LL
Pavel Machek6339f662009-11-02 11:48:29 +0100894
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800895 config DEBUG_MSM_UART1
896 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530897 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800898 help
899 Say Y here if you want the debug print routines to direct
900 their output to the first serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100901
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800902 config DEBUG_MSM_UART2
903 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530904 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800905 help
906 Say Y here if you want the debug print routines to direct
907 their output to the second serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100908
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800909 config DEBUG_MSM_UART3
910 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530911 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800912 help
913 Say Y here if you want the debug print routines to direct
914 their output to the third serial port on MSM devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100915
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800916 config DEBUG_MSM8660_UART
917 bool "Kernel low-level debugging messages via MSM 8660 UART"
918 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700919 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800920 help
921 Say Y here if you want the debug print routines to direct
922 their output to the serial port on MSM 8660 devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100923
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800924 config DEBUG_MSM8960_UART
925 bool "Kernel low-level debugging messages via MSM 8960 UART"
926 depends on ARCH_MSM8960
927 select DEBUG_MSM8930_UART
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700928 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800929 help
930 Say Y here if you want the debug print routines to direct
931 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700932
933 config DEBUG_MSMCOPPER_UART
934 bool "Kernel low-level debugging messages via MSM Copper UART"
935 depends on ARCH_MSMCOPPER
936 select MSM_HAS_DEBUG_UART_HS_V14
937 help
938 Say Y here if you want the debug print routines to direct
939 their output to the serial port on MSM Copper devices.
Pavel Machek6339f662009-11-02 11:48:29 +0100940endchoice
941
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700942choice
943 prompt "Default Timer"
944 default MSM7X00A_USE_GP_TIMER
945
946 config MSM7X00A_USE_GP_TIMER
947 bool "GP Timer"
948 help
949 Low resolution timer that allows power collapse from idle.
950
951 config MSM7X00A_USE_DG_TIMER
952 bool "DG Timer"
953 help
954 High resolution timer.
955endchoice
956
957choice
958 prompt "Suspend sleep mode"
959 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
960 help
961 Allows overriding the sleep mode used. Leave at power
962 collapse suspend unless the arm9 image has problems.
963
964 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
965 bool "Power collapse suspend"
966 help
967 Lowest sleep state. Returns through reset vector.
968
969 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
970 bool "Power collapse"
971 help
972 Sleep state that returns through reset vector.
973
974 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
975 bool "Apps Sleep"
976
977 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
978 bool "Ramp down cpu clock and wait for interrupt"
979
980 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
981 bool "Wait for interrupt"
982endchoice
983
984config MSM7X00A_SLEEP_MODE
985 int
986 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
987 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
988 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
989 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
990 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
991
992choice
993 prompt "Idle sleep mode"
994 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
995 help
996 Allows overriding the sleep mode used from idle. Leave at power
997 collapse suspend unless the arm9 image has problems.
998
999 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1000 bool "Power collapse suspend"
1001 help
1002 Lowest sleep state. Returns through reset vector.
1003
1004 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1005 bool "Power collapse"
1006 help
1007 Sleep state that returns through reset vector.
1008
1009 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1010 bool "Apps Sleep"
1011
1012 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1013 bool "Ramp down cpu clock and wait for interrupt"
1014
1015 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1016 bool "Wait for interrupt"
1017endchoice
1018
1019config MSM7X00A_IDLE_SLEEP_MODE
1020 int
1021 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1022 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1023 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1024 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1025 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1026
1027config MSM7X00A_IDLE_SLEEP_MIN_TIME
1028 int "Minimum idle time before sleep"
1029 default 20000000
1030 help
1031 Minimum idle time in nanoseconds before entering low power mode.
1032
1033config MSM7X00A_IDLE_SPIN_TIME
1034 int "Idle spin time before cpu ramp down"
1035 default 80000
1036 help
1037 Spin time in nanoseconds before ramping down cpu clock and entering
1038 any low power state.
1039
1040menuconfig MSM_IDLE_STATS
1041 bool "Collect idle statistics"
1042 default y
1043 help
1044 Collect idle statistics and export them in proc/msm_pm_stats.
1045
1046if MSM_IDLE_STATS
1047
1048config MSM_IDLE_STATS_FIRST_BUCKET
1049 int "First bucket time"
1050 default 62500
1051 help
1052 Upper time limit in nanoseconds of first bucket.
1053
1054config MSM_IDLE_STATS_BUCKET_SHIFT
1055 int "Bucket shift"
1056 default 2
1057
1058config MSM_IDLE_STATS_BUCKET_COUNT
1059 int "Bucket count"
1060 default 10
1061
1062config MSM_SUSPEND_STATS_FIRST_BUCKET
1063 int "First bucket time for suspend"
1064 default 1000000000
1065 help
1066 Upper time limit in nanoseconds of first bucket of the
1067 histogram. This is for collecting statistics on suspend.
1068
1069endif # MSM_IDLE_STATS
1070
1071config CPU_HAS_L2_PMU
1072 bool "L2CC PMU Support"
1073 help
1074 Select this if the L2 cache controller has a Performance Monitoring Unit.
1075
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001076config HTC_HEADSET
1077 tristate "HTC 2 Wire detection driver"
1078 default n
1079 help
1080 Provides support for detecting HTC 2 wire devices, such as wired
1081 headset, on the trout platform. Can be used with the msm serial
1082 debugger, but not with serial console.
1083
1084config TROUT_BATTCHG
1085 depends on MACH_TROUT && POWER_SUPPLY
1086 default y
1087 bool "Trout battery / charger driver"
1088
1089config HTC_PWRSINK
1090 depends on MSM_SMD
1091 default n
1092 bool "HTC Power Sink Driver"
1093
1094config QSD_SVS
1095 bool "QSD Static Voltage Scaling"
1096 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1097 default y
1098 select TPS65023
1099 help
1100 Enables static voltage scaling using the TPS65023 PMIC.
1101
1102config QSD_PMIC_DEFAULT_DCDC1
1103 int "PMIC default output voltage"
1104 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1105 default 1250
1106 help
1107 This is the PMIC voltage at Linux kernel boot.
1108
1109config MSM_FIQ_SUPPORT
1110 default y
1111 bool "Enable installation of an FIQ handler."
1112
1113config MSM_SERIAL_DEBUGGER
1114 select MSM_FIQ_SUPPORT
1115 select KERNEL_DEBUGGER_CORE
1116 default n
1117 bool "FIQ Mode Serial Debugger"
1118 help
1119 The FIQ serial debugger can accept commands even when the
1120 kernel is unresponsive due to being stuck with interrupts
1121 disabled. Depends on the kernel debugger core in drivers/misc.
1122
1123config MSM_SERIAL_DEBUGGER_CONSOLE
1124 depends on MSM_SERIAL_DEBUGGER
1125 default n
1126 bool "Console on FIQ Serial Debugger port"
1127 help
1128 Enables a console so that printk messages are displayed on
1129 the debugger serial port as the occur.
Daniel Walkerbf83de42010-03-16 16:29:44 -07001130
Steve Mucklec8aabae2010-04-21 16:20:27 -07001131config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001132 default y
1133 bool "Proc-Comm RPC Interface"
1134 help
1135 Enables a lightweight communications interface to the
1136 baseband processor.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001137
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001138config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001139 bool "MSM Shared Memory Driver (SMD)"
1140 help
1141 Support for the shared memory interface between the apps
1142 processor and the baseband processor. Provides access to
1143 the "shared heap", as well as virtual serial channels
1144 used to communicate with various services on the baseband
1145 processor.
1146
1147choice
1148 prompt "MSM Shared memory interface version"
1149 depends on MSM_SMD
1150 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1151 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1152
1153 config MSM_SMD_PKG3
1154 bool
1155 prompt "Package 3"
1156
1157 config MSM_SMD_PKG4
1158 bool
1159 prompt "Package 4"
1160endchoice
1161
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001162config MSM_RPC_SDIO_XPRT
1163 depends on MSM_SDIO_AL
1164 default y
1165 bool "MSM SDIO XPRT Layer"
1166 help
1167 SDIO Transport Layer for RPC Rouer
1168
1169config MSM_RPC_SDIO_DEBUG
1170 depends on MSM_RPC_SDIO_XPRT
1171 default y
1172 bool "MSM SDIO XPRT debug support"
1173 help
1174 Support for debugging SDIO XPRT
1175
1176config MSM_SMD_DEBUG
1177 depends on MSM_SMD
1178 default y
1179 bool "MSM SMD debug support"
1180 help
1181 Support for debugging the SMD for communication
1182 between the ARM9 and ARM11
1183
1184config MSM_SDIO_AL
1185 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1186 default y
1187 tristate "SDIO-Abstraction-Layer"
1188 help
1189 Support MSM<->MDM Communication over SDIO bus.
1190 MDM SDIO-Client should have pipes support.
1191
1192config MSM_SDIO_DMUX
1193 bool "SDIO Data Mux Driver"
1194 depends on MSM_SDIO_AL
1195 default n
1196 help
1197 Support Muxed Data Channels over SDIO interface.
1198
1199config MSM_BAM_DMUX
1200 bool "BAM Data Mux Driver"
1201 depends on SPS
1202 default n
1203 help
1204 Support Muxed Data Channels over BAM interface.
1205 BAM has a limited number of pipes. This driver
1206 provides a means to support more logical channels
1207 via muxing than BAM could without muxing.
1208
1209config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001210 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001211 default y
1212 bool "MSM N-WAY SMD support"
1213 help
1214 Supports APPS-QDSP SMD communication along with
1215 normal APPS-MODEM SMD communication.
1216
1217config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001218 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001219 default y
1220 bool "MSM N-WAY SMSM support"
1221 help
1222 Supports APPS-QDSP SMSM communication along with
1223 normal APPS-MODEM SMSM communication.
1224
1225config MSM_RESET_MODEM
1226 tristate "Reset Modem Driver"
1227 depends on MSM_SMD
1228 default m
1229 help
1230 Allows the user to reset the modem through a device node.
1231
1232config MSM_SMD_LOGGING
1233 depends on MSM_SMD
1234 default y
1235 bool "MSM Shared Memory Logger"
1236 help
1237 This option exposes the shared memory logger at /dev/smem_log
1238 and a debugfs node named smem_log.
1239
1240 If in doubt, say yes.
1241
1242config MSM_SMD_NMEA
1243 bool "NMEA GPS Driver"
1244 depends on MSM_SMD
1245 default y
1246 help
1247 Enable this to support the NMEA GPS device.
1248
1249 If in doubt, say yes.
1250
1251config MSM_SDIO_TTY
1252 bool "SDIO TTY Driver"
1253 depends on MSM_SDIO_AL
1254 default n
1255 help
1256 Provides a TTY driver SDIO TTY
1257 This driver can be used by user space
1258 applications for passing data through the
1259 SDIO interface.
1260
1261config MSM_SMD_TTY
1262 bool "SMD TTY Driver"
1263 depends on MSM_SMD
1264 default y
1265 help
1266 Provides TTY interfaces to interact with the modem.
1267
1268 If in doubt, say yes.
1269
1270config MSM_SMD_QMI
1271 bool "SMD QMI Driver"
1272 depends on MSM_SMD
1273 default y
1274 help
1275 Manages network data connections.
1276
1277 If in doubt, say yes.
1278
1279config MSM_SMD_PKT
1280 bool "SMD Packet Driver"
1281 depends on MSM_SMD
1282 default y
1283 help
1284 Provides a binary SMD non-muxed packet port interface.
1285
1286 If in doubt, say yes.
1287
1288config MSM_SDIO_CMUX
1289 bool "SDIO CMUX Driver"
1290 depends on MSM_SDIO_AL
1291 default n
1292 help
1293 Provides a Muxed port interface over SDIO QMI
1294
1295config MSM_DSPS
1296 bool "Sensors DSPS driver"
1297 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1298 default n
1299 help
1300 Provides user-space interface to the sensors manager
1301 to turn on/off the Sensors Processor system clocks.
1302 It is the DSPS responsibility to turn on/off the sensors
1303 themself.
1304 The number of clocks and their name may vary between targets.
1305 It also triggers the PIL to load the DSPS firmware.
1306
1307config MSM_SDIO_CTL
1308 bool "SDIO CTL Driver"
1309 depends on MSM_SDIO_CMUX
1310 default n
1311 help
1312 Provides a binary SDIO control port interface.
1313
1314config MSM_ONCRPCROUTER
1315 depends on MSM_SMD
1316 default n
1317 bool "MSM ONCRPC router support"
1318 help
1319 Support for the MSM ONCRPC router for communication between
1320 the ARM9 and ARM11
1321
1322config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001323 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001324 default n
1325 bool "MSM IPC Router support"
1326 help
1327 Support for the MSM IPC Router for communication between
1328 the APPs and the MODEM
1329
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001330config MSM_IPC_ROUTER_SMD_XPRT
1331 depends on MSM_SMD
1332 depends on MSM_IPC_ROUTER
1333 default n
1334 bool "MSM SMD XPRT Layer"
1335 help
1336 SMD Transport Layer for IPC Router
1337
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001338config MSM_ONCRPCROUTER_DEBUG
1339 depends on MSM_ONCRPCROUTER
1340 default y
1341 bool "MSM debug ONCRPC router support"
1342 help
1343 Support for debugging the ONCRPC router for communication
1344 between the ARM9 and ARM11
1345
1346config MSM_RPC_LOOPBACK_XPRT
1347 depends on MSM_ONCRPCROUTER
1348 default n
1349 bool "MSM RPC local routing support"
1350 help
1351 Support for routing RPC messages between APPS clients
1352 and APPS servers. Helps in testing APPS RPC framework.
1353
1354config MSM_RPCSERVER_TIME_REMOTE
1355 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1356 default y
1357 bool "Time remote RPC server"
1358 help
1359 The time remote server receives notification of time bases and
1360 reports these events to registered callback functions.
1361
1362config MSM_RPCSERVER_WATCHDOG
1363 depends on MSM_ONCRPCROUTER
1364 default y
1365 bool "Watchdog RPC server"
1366 help
1367 The dog_keepalive server handles watchdog events.
1368
1369config MSM_RPC_WATCHDOG
1370 depends on MSM_ONCRPCROUTER
1371 default n
1372 bool "Watchdog RPC client"
1373 help
1374 The dog_keepalive client module.
1375
1376config MSM_RPC_PING
1377 depends on MSM_ONCRPCROUTER && DEBUG_FS
1378 default m
1379 bool "MSM rpc ping"
1380 help
1381 Implements MSM rpc ping test module.
1382
1383config MSM_RPC_PROC_COMM_TEST
1384 depends on DEBUG_FS && MSM_PROC_COMM
1385 default m
1386 bool "MSM rpc proc comm test"
1387 help
1388 Implements MSM rpc proc comm test module.
1389
1390config MSM_RPC_OEM_RAPI
1391 depends on MSM_ONCRPCROUTER
1392 default m
1393 bool "MSM oem rapi"
1394 help
1395 Implements MSM oem rapi client module.
1396
1397config MSM_RPCSERVER_HANDSET
1398 depends on MSM_ONCRPCROUTER
1399 default y
1400 bool "Handset events RPC server"
1401 help
1402 Support for receiving handset events like headset detect,
1403 headset switch and clamshell state.
1404
1405config MSM_RMT_STORAGE_CLIENT
1406 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1407 default n
1408 bool "Remote Storage RPC client"
1409 help
1410 Provide RPC mechanism for remote processors to access storage
1411 device on apps processor.
1412
1413config MSM_RMT_STORAGE_CLIENT_STATS
1414 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1415 default n
1416 bool "Remote storage RPC client performance statistics"
1417 help
1418 Collects performance statistics and shows this information
1419 through a debugfs file rmt_storage_stats.
1420
1421config MSM_SDIO_SMEM
1422 depends on MSM_SDIO_AL
1423 default n
1424 bool "SDIO SMEM for remote storage"
1425 help
1426 Copies data from remote MDM9K memory to local MSM8x60
1427 memory. Used by remote storage client to shadow
1428 MDM9K filesystem.
1429
1430config MSM_DALRPC
1431 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001432 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001433 help
1434 Supports RPC calls to DAL devices on remote processor cores.
1435
1436config MSM_DALRPC_TEST
1437 tristate "DAL RPC test module"
1438 depends on (MSM_DALRPC && DEBUG_FS)
1439 default m
1440 help
1441 Exercises DAL RPC calls to QDSP6.
1442
1443if CPU_FREQ_MSM
1444
1445config MSM_CPU_FREQ_SET_MIN_MAX
1446 bool "Set Min/Max CPU frequencies."
1447 default n
1448 help
1449 Allow setting min and max CPU frequencies. Sysfs can be used
1450 to override these values.
1451
1452config MSM_CPU_FREQ_MAX
1453 int "Max CPU Frequency"
1454 depends on MSM_CPU_FREQ_SET_MIN_MAX
1455 default 384000
1456
1457config MSM_CPU_FREQ_MIN
1458 int "Min CPU Frequency"
1459 depends on MSM_CPU_FREQ_SET_MIN_MAX
1460 default 245760
1461
1462endif # CPU_FREQ_MSM
1463
1464config MSM_CPU_AVS
1465 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1466 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1467 depends on ARCH_QSD8X50
1468 default n
1469 select MSM_AVS_HW
1470 help
1471 This enables the s/w control of Adaptive Voltage Scaling feature
1472 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1473 based on feedback from three ring oscillators in the CPU.
1474
1475config MSM_AVS_HW
1476 bool "Enable Adaptive Voltage Scaling (AVS)"
1477 default n
1478 help
1479 Enable AVS hardware to fine tune voltage at each frequency. The
1480 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1481 fine tune the voltages based on the feedback from the ring
1482 oscillators.
1483
1484config MSM_HW3D
1485 tristate "MSM Hardware 3D Register Driver"
1486 depends on ANDROID_PMEM
1487 default y
1488 help
1489 Provides access to registers needed by the userspace OpenGL|ES
1490 library.
1491
1492config MSM_ADSP
1493 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1494 tristate "MSM ADSP driver"
1495 depends on ANDROID_PMEM
1496 default y
1497 help
1498 Provides access to registers needed by the userspace aDSP library.
1499
1500config ADSP_RPC_VER
1501 hex
1502 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1503 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1504 depends on MSM_ADSP
1505 help
1506 Select proper ADSP RPC version
1507choice
1508 prompt "ADSP RPC version"
1509
1510 default AMSS_7X25_VERSION_2009
1511
1512 config AMSS_7X25_VERSION_2009
1513 bool "2.0.09"
1514
1515 config AMSS_7X25_VERSION_2008
1516 bool "2.0.08"
1517endchoice
1518
1519config MSM7KV2_AUDIO
1520 bool "MSM7K v2 audio"
1521 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1522 default y
1523 help
1524 Enables QDSP5V2-based audio drivers for audio playbacks and
1525 voice call.
1526
1527config MSM_ADSP_REPORT_EVENTS
1528 bool "Report modem events from the DSP"
1529 default y
1530 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1531 help
1532 Normally, only messages from the aDSP are reported to userspace.
1533 With this option, we report events from the aDSP as well.
1534
1535config MSM_QDSP6
1536 tristate "QDSP6 support"
1537 depends on ARCH_QSD8X50 && ANDROID_PMEM
1538 default y
1539 help
1540 Enable support for qdsp6. This provides audio and video functionality.
1541
1542config MSM8X60_AUDIO
1543 tristate "MSM8X60 audio support"
1544 depends on ARCH_MSM8X60 && ANDROID_PMEM
1545 default y
1546 help
1547 Enable support for qdsp6v2. This provides audio functionality.
1548
1549config MSM8X60_FTM_AUDIO_DEVICES
1550 bool "MSM8X60 audio factory test mode support"
1551 depends on MSM8X60_AUDIO
1552 help
1553 Enable support audio factory test mode devices. This is used
1554 in a production line environment.
1555
Ben Romberger45b351c2011-07-20 22:37:27 -07001556config RTAC
1557 bool "MSM8K real-time audio calibration support"
1558 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001559 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001560 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001561 audio operation
1562
1563config MSM7X27A_AUDIO
1564 bool "MSM7X27A audio support"
1565 depends on ARCH_MSM7X27A && MSM_ADSP
1566 default n
1567 help
1568 Enable support for 7x27a. This provides audio functionality.
1569
Justin Pauporea6cd2092011-06-22 16:19:45 -07001570config MSM_PROC_COMM_REGULATOR
1571 bool
1572 depends on MSM_PROC_COMM && REGULATOR
1573 help
1574 Enable regulator framework support for regulators managed by PMLIB
1575 on the modem, and controlled through proccomm calls.
1576
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001577config MSM_VREG_SWITCH_INVERTED
1578 bool "Reverse vreg switch polarity"
1579 default n
1580 help
1581 Reverses the enable and disable for vreg switch.
1582
1583config MSM_DMA_TEST
1584 tristate "MSM DMA test module"
1585 default m
1586 help
1587 Intended to be compiled as a module. Provides a device node
1588 and ioctls for testing the MSM dma system.
1589
1590config WIFI_CONTROL_FUNC
1591 bool "Enable WiFi control function abstraction"
1592 help
1593 Enables Power/Reset/Carddetect function abstraction
1594
1595config WIFI_MEM_PREALLOC
1596 depends on WIFI_CONTROL_FUNC
1597 bool "Preallocate memory for WiFi buffers"
1598 help
1599 Preallocates memory buffers for WiFi driver
1600
1601config QSD_AUDIO
1602 bool "QSD audio"
1603 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1604 default y
1605 help
1606 Provides PCM, MP3, and AAC audio playback.
1607
1608config AUDIO_AAC_PLUS
1609 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1610 bool "AAC+ Audio"
1611 default y
1612 help
1613 Provides AAC+ decoding
1614
1615config AUDIO_ENHANCED_AAC_PLUS
1616 depends on AUDIO_AAC_PLUS
1617 bool "Enhanced AAC+ Audio"
1618 default y
1619 help
1620 Provides Enhanced AAC+ decoding
1621
1622config SURF_FFA_GPIO_KEYPAD
1623 bool "MSM SURF/FFA GPIO keypad"
1624 depends on INPUT_GPIO = "y"
1625 default y
1626 help
1627 Select if the GPIO keypad is attached.
1628
1629config MSM_SLEEP_TIME_OVERRIDE
1630 bool "Allow overriding suspend/sleep time with PM module parameter"
1631 default y
1632 help
1633 Enable the module parameter sleep_time_override. Specified
1634 in units of seconds, it overwrites the normal sleep time of
1635 suspend. The feature is required for automated power management
1636 testing.
1637
1638config MSM_MEMORY_LOW_POWER_MODE
1639 bool "Control the low power modes of memory"
1640 default n
1641 help
1642 The application processor controls whether memory should enter
1643 which low power mode.
1644
1645choice
1646 prompt "Default Memory Low Power Mode during Idle"
1647 depends on MSM_MEMORY_LOW_POWER_MODE
1648 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1649 help
1650 Selects the default low power mode of the memory during idle
1651 sleep.
1652
1653 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1654 bool "Memory active"
1655
1656 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1657 bool "Memory in retention"
1658
1659 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1660 bool "Memory in deep power down"
1661endchoice
1662
1663choice
1664 prompt "Default Memory Low Power Mode during Suspend"
1665 depends on MSM_MEMORY_LOW_POWER_MODE
1666 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1667 help
1668 Selects the default low power mode of the memory during suspend
1669 sleep.
1670
1671 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1672 bool "Memory active"
1673
1674 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1675 bool "Memory in retention"
1676
1677 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1678 bool "Memory in deep power down"
1679endchoice
1680
1681choice
1682 prompt "Power management timeout action"
1683 default MSM_PM_TIMEOUT_HALT
1684 help
1685 Selects the Application Processor's action when Power Management
1686 times out waiting for Modem's handshake.
1687
1688 config MSM_PM_TIMEOUT_HALT
1689 bool "Halt the Application Processor"
1690
1691 config MSM_PM_TIMEOUT_RESET_MODEM
1692 bool "Reset the Modem Processor"
1693
1694 config MSM_PM_TIMEOUT_RESET_CHIP
1695 bool "Reset the entire chip"
1696endchoice
1697
1698config MSM_IDLE_WAIT_ON_MODEM
1699 int "Wait for Modem to become ready for idle power collapse"
1700 default 0
1701 help
1702 If Modem is not ready to handle Application Processor's request
1703 for idle power collapse, wait the number of microseconds in case
1704 Modem becomes ready soon.
1705
Matt Wagantall9274df92011-12-15 11:11:05 -08001706config MSM_RPM_REGULATOR
1707 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001708 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001709 help
1710 Compile in support for the RPM regulator driver, used for setting
1711 voltages and other parameters of the various power rails supplied
1712 by some Qualcomm PMICs.
1713
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001714config MSM_PIL
1715 bool "Peripheral image loading"
1716 select FW_LOADER
1717 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1718 default n
1719 help
1720 Some peripherals need to be loaded into memory before they can be
1721 brought out of reset.
1722
1723 Say yes to support these devices.
1724
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001725config MSM_PIL_MODEM
1726 tristate "Modem (ARM11) Boot Support"
1727 depends on MSM_PIL
1728 help
1729 Support for booting and shutting down ARM11 Modem processors.
1730
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001731config MSM_PIL_QDSP6V3
1732 tristate "QDSP6v3 (Hexagon) Boot Support"
1733 depends on MSM_PIL
1734 help
1735 Support for booting and shutting down QDSP6v3 processors (hexagon).
1736 The QDSP6 is a low power DSP used in audio software applications.
1737
Stephen Boydeb819882011-08-29 14:46:30 -07001738config MSM_PIL_QDSP6V4
1739 tristate "QDSP6v4 (Hexagon) Boot Support"
1740 depends on MSM_PIL
1741 help
1742 Support for booting and shutting down QDSP6v4 processors (hexagon).
1743 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1744 software applications.
1745
Stephen Boyd322a9922011-09-20 01:05:54 -07001746config MSM_PIL_RIVA
1747 tristate "RIVA (WCNSS) Boot Support"
1748 depends on MSM_PIL
1749 help
1750 Support for booting and shutting down the RIVA processor (WCNSS).
1751 Riva is the wireless subsystem processor used in bluetooth, wireless
1752 LAN, and FM software applications.
1753
Stephen Boydd89eebe2011-09-28 23:28:11 -07001754config MSM_PIL_TZAPPS
1755 tristate "TZApps Boot Support"
1756 depends on MSM_PIL
1757 help
1758 Support for booting and shutting down TZApps.
1759
1760 TZApps is an image that runs in the secure processor state. It is
1761 used to decrypt data and perform secure operations on the behalf of
1762 the kernel.
1763
Matt Wagantall292aace2012-01-26 19:12:34 -08001764config MSM_PIL_GSS
1765 tristate "GSS (Coretx A5) Boot Support"
1766 depends on MSM_PIL
1767 help
1768 Support for booting and shutting down Cortex A5 processors which run
1769 GPS subsystem firmware.
1770
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001771config MSM_SCM
1772 bool "Secure Channel Manager (SCM) support"
1773 default n
1774
1775config MSM_SUBSYSTEM_RESTART
1776 bool "MSM Subsystem Restart Driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001777 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001778 default n
1779 help
1780 This option enables the MSM subsystem restart driver, which provides
1781 a framework to handle subsystem crashes.
1782
Matt Wagantallf8020902011-08-30 21:19:23 -07001783config MSM_SYSMON_COMM
1784 bool "MSM System Monitor communication support"
1785 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1786 default y
1787 help
1788 This option adds support for MSM System Monitor library, which
1789 provides an API that may be used for notifying subsystems within
1790 the SoC about other subsystems' power-up/down state-changes.
1791
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001792config MSM_MODEM_8960
1793 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001794 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001795 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001796 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001797 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001798 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001799
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001800config MSM_LPASS_8960
1801 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001802 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001803 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001804 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001805 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001806 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001807
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001808config MSM_WCNSS_SSR_8960
1809 tristate "MSM 8960 WCNSS restart module"
1810 depends on (ARCH_MSM8960)
1811 help
1812 This option enables the WCNSS restart module for MSM8960, which
1813 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1814 into the subsystem restart framework.
1815
Rohit Vaswanid0fb4182012-03-19 18:07:59 -07001816config MSM_GSS_SSR_8064
1817 bool "MSM 8064 GSS restart driver"
1818 depends on (ARCH_APQ8064)
1819 help
1820 This option enables the gps subsystem restart driver for APQ8064, which monitors
1821 gss hardware watchdog interrupt lines and plugs into the subsystem
1822 restart and PIL drivers.
1823
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001824config SCORPION_Uni_45nm_BUG
1825 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1826 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1827 default y
1828 help
1829 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1830 invalidating the Branch Predictor Array by Modified Virtual Address can
1831 create invalid entries in the TLB with the wrong ASID values on Scorpion
1832 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1833 workaround for Scorpion Uniprocessor 45nm cores.
1834
1835 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1836
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001837config MSM_BUSPM_DEV
1838 tristate "MSM Bus Performance Monitor Kernel Module"
1839 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1840 default m
1841 help
1842 This kernel module is used to mmap() hardware registers for the
1843 performance monitors, counters, etc. The module can also be used to
1844 allocate physical memory which is used by bus performance hardware to
1845 dump performance data.
1846
Mona Hossain11c03ac2011-10-26 12:42:10 -07001847config MSM_TZ_LOG
1848 tristate "MSM Trust Zone (TZ) Log Driver"
1849 depends on DEBUG_FS
1850 help
1851 This option enables a driver with a debugfs interface for messages
1852 produced by the Secure code (Trust zone). These messages provide
1853 diagnostic information about TZ operation.
1854
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001855config MSM_RPM_LOG
1856 tristate "MSM Resource Power Manager Log Driver"
1857 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001858 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001859 default n
1860 help
1861 This option enables a driver which can read from a circular buffer
1862 of messages produced by the RPM. These messages provide diagnostic
1863 information about RPM operation. The driver outputs the messages
1864 via a debugfs node.
1865
1866config MSM_RPM_STATS_LOG
1867 tristate "MSM Resource Power Manager Stat Driver"
1868 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001869 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001870 default n
1871 help
1872 This option enables a driver which reads RPM messages from a shared
1873 memory location. These messages provide statistical information about
1874 the low power modes that RPM enters. The drivers outputs the message
1875 via a debugfs node.
1876
1877config MSM_IOMMU
1878 bool "MSM IOMMU Support"
Joel King41d594e2011-10-14 13:18:20 -07001879 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_APQ8064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001880 select IOMMU_API
1881 default n
1882 help
1883 Support for the IOMMUs found on certain Qualcomm SOCs.
1884 These IOMMUs allow virtualization of the address space used by most
1885 cores within the multimedia subsystem.
1886
1887 If unsure, say N here.
1888
1889config IOMMU_PGTABLES_L2
1890 bool "Allow SMMU page tables in the L2 cache (Experimental)"
1891 depends on MSM_IOMMU=y
1892 depends on MMU
1893 depends on CPU_DCACHE_DISABLE=n
1894 depends on SMP
1895 default y
1896 help
1897 Improves TLB miss latency at the expense of potential L2 pollution.
1898 However, with large multimedia buffers, the TLB should mostly contain
1899 section mappings and TLB misses should be quite infrequent.
1900 Most people can probably say Y here.
1901
1902config MSM_DIRECT_SCLK_ACCESS
1903 bool "Direct access to the SCLK timer"
1904 default n
1905
1906config IOMMU_API
1907 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -07001908
Gregory Beanab78cde2010-09-01 16:26:12 -07001909config MSM_GPIOMUX
1910 bool
1911
Gregory Bean1963a2a2010-08-28 10:05:44 -07001912config MSM_V2_TLMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001913 bool
1914
1915config FSM9XXX_TLMM
Gregory Bean1963a2a2010-08-28 10:05:44 -07001916 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001917
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001918config MSM_SECURE_IO
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08001919 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001920
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001921config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07001922 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001923
Matt Wagantall88b86312012-01-31 16:53:03 -08001924config MSM_PM
1925 depends on PM
1926 bool
1927
1928config MSM_PM2
1929 depends on PM
1930 bool
1931
1932config MSM_PM8X60
1933 depends on PM
1934 bool
1935
1936config MSM_NOPM
1937 default y if !PM
1938 bool
1939
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001940config MSM_BUS_SCALING
1941 bool "Bus scaling driver"
1942 default n
1943
Gagan Mac85c70492011-06-10 16:07:47 -06001944config MSM_BUS_RPM_MULTI_TIER_ENABLED
1945 bool "RPM Multi-tiering Configuration"
1946 depends on MSM_BUS_SCALING
1947
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001948config MSM_WATCHDOG
1949 bool "MSM Watchdog Support"
Rohit Vaswani085a9332011-09-28 18:57:24 -07001950 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001951 help
1952 This enables the watchdog as is present on 8x60. Currently we use
1953 core 0's watchdog, and reset the entire SoC if it times out. It does
1954 not run during the bootup process, so it will not catch any early
1955 lockups.
1956
1957config MSM_DLOAD_MODE
1958 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07001959 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001960 default n
1961 help
1962 This makes the SoC enter download mode when it resets
1963 due to a kernel panic. Note that this doesn't by itself
1964 make the kernel reboot on a kernel panic - that must be
1965 enabled via another mechanism.
1966
Pratik Patel17f3b822011-11-21 12:41:47 -08001967config MSM_JTAG
1968 bool "JTAG debug and trace support"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001969 help
Pratik Patel17f3b822011-11-21 12:41:47 -08001970 Add additional support for JTAG kernel debugging and tracing.
Pratik Patel7831c082011-06-08 21:44:37 -07001971
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001972config MSM_ETM
1973 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08001974 depends on ARCH_MSM8X60
1975 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001976 help
Pratik Patel17f3b822011-11-21 12:41:47 -08001977 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07001978
1979config MSM_QDSS
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001980 bool "Qualcomm Debug Subsystem"
Pratik Patel17f3b822011-11-21 12:41:47 -08001981 select MSM_JTAG
Pratik Patel7831c082011-06-08 21:44:37 -07001982 help
Pratik Patelfd6f56a2011-10-10 17:47:55 -07001983 Enables support for Qualcomm Debug Subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001984
Pratik Patel29cba152012-01-03 11:40:26 -08001985config MSM_QDSS_ETM_DEFAULT_ENABLE
1986 bool "Turn on QDSS ETM Tracing by Default"
1987 depends on MSM_QDSS
1988 help
1989 Turns on QDSS ETM tracing by default. Otherwise, tracing is
1990 disabled by default but can be enabled by other means.
1991
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001992config MSM_SLEEP_STATS
1993 bool "Enable exporting of MSM sleep stats to userspace"
1994 depends on CPU_IDLE
1995 default n
1996
Lynus Vazdde09ee2012-01-05 13:28:22 +05301997config MSM_SLEEP_STATS_DEVICE
1998 bool "Enable exporting of MSM sleep device stats to userspace"
1999
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002000config MSM_STANDALONE_POWER_COLLAPSE
2001 bool "Enable standalone power collapse"
2002 default n
2003
2004config MSM_GSBI9_UART
2005 bool "Enable GSBI9 UART device"
2006 default n
2007 help
2008 This enables GSBI9 configured into UART.
2009
2010config MSM_SHARED_GPIO_FOR_UART2DM
2011 bool "Use shared GPIOs into UART mode"
2012 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2013 help
2014 This option configures GPIO muxed with SDC4/MMC3
2015 8-bit mode into UART mode. It is used for serial
2016 console on UART2DM. Say Y if you want to have
2017 serial console on UART2DM.
2018
2019config MSM_SHOW_RESUME_IRQ
2020 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002021 depends on (ARM_GIC || PMIC8058)
2022 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002023 default n
2024 help
2025 This option logs wake up interrupts that have triggered just before
2026 the resume loop unrolls. Say Y if you want to debug why the system
2027 resumed.
2028
2029config BT_MSM_PINTEST
2030 tristate "MSM Bluetooth Pin Connectivity Test"
2031 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2032 default n
2033 help
2034 Bluetooth MSM Pin Connectivity test module.
2035 This driver provides support for verifying the MSM to BT pin
2036 connectivity.
2037
2038config MSM_FAKE_BATTERY
2039 depends on POWER_SUPPLY
2040 default n
2041 bool "MSM Fake Battery"
2042 help
2043 Enables MSM fake battery driver.
2044
2045config MSM_QDSP6_APR
2046 bool "Audio QDSP6 APR support"
2047 depends on MSM_SMD
2048 default n
2049 help
2050 Enable APR IPC protocol support between
2051 application processor and QDSP6. APR is
2052 used by audio driver to configure QDSP6's
2053 ASM, ADM and AFE.
2054
2055
2056config MSM_AUDIO_QDSP6
2057 bool "QDSP6 HW Audio support"
2058 select SND_SOC_MSM_QDSP6_INTF
2059 default n
2060 help
2061 Enable HW audio support in QDSP6.
2062 QDSP6 can support HW encoder & decoder and audio processing
2063
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002064config MSM_ULTRASOUND
2065 bool "MSM ultrasound support"
2066 depends on MSM_AUDIO_QDSP6
2067 help
2068 Enable support for qdsp6/ultrasound.
2069
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002070config MSM_RPC_VIBRATOR
2071 bool "RPC based MSM Vibrator Support"
2072 depends on MSM_ONCRPCROUTER
2073 help
2074 Enable the vibrator support on MSM over RPC. The vibrator
2075 is connected on the PMIC. Say Y if you want to enable this
2076 feature.
2077
2078config PM8XXX_RPC_VIBRATOR
2079 bool "RPC based Vibrator on PM8xxx PMICs"
2080 depends on MSM_RPC_VIBRATOR
2081 help
2082 Enable the vibrator support on MSM over RPC. The vibrator
2083 is connected on the PM8XXX PMIC. Say Y if you want to enable
2084 this feature.
2085
2086config MSM_SPM_V1
2087 bool "Driver support for SPM Version 1"
2088 help
2089 Enables the support for Version 1 of the SPM driver. SPM hardware is
2090 used to manage the processor power during sleep. The driver allows
2091 configuring SPM to allow different power modes.
2092
2093config MSM_SPM_V2
2094 bool "Driver support for SPM Version 2"
2095 help
2096 Enables the support for Version 2 of the SPM driver. SPM hardware is
2097 used to manage the processor power during sleep. The driver allows
2098 configuring SPM to allow different power modes.
2099
2100config MSM_L2_SPM
2101 bool "SPM support for L2 cache"
2102 depends on MSM_SPM_V2
2103 help
2104 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2105 control of L2 cache low power mode with a Subsystem Power manager.
2106 Enabling this driver allows configuring L2 SPM for low power modes
2107 on supported chipsets.
2108
Laura Abbott2d1760b2011-09-29 21:31:24 -07002109config MSM_MULTIMEDIA_USE_ION
2110 bool "Multimedia suport using Ion"
2111 depends on ION_MSM
2112 help
2113 Enable support for multimedia drivers using Ion for buffer management
2114 instead of pmem. Selecting this may also involve userspace
2115 dependencies as well.
2116
Laura Abbottad340ff2012-01-04 14:23:48 -08002117config MSM_RTB
2118 bool "Register tracing"
2119 help
2120 Add support for logging different events to a small uncached
2121 region. This is designed to aid in debugging reset cases where the
2122 caches may not be flushed before the target resets.
2123
2124config MSM_RTB_SEPARATE_CPUS
2125 bool "Separate entries for each cpu"
2126 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002127 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002128 help
2129 Under some circumstances, it may be beneficial to give dedicated space
2130 for each cpu to log accesses. Selecting this option will log each cpu
2131 separately. This will guarantee that the last acesses for each cpu
2132 will be logged but there will be fewer entries per cpu
2133
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002134config MSM_CACHE_ERP
2135 bool "Cache / CPU error reporting"
2136 depends on ARCH_MSM_KRAIT
2137 help
2138 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2139 log. Enabling this feature can be used as a system debugging technique
2140 if cache corruption is suspected. Cache error statistics will also be
2141 reported in /proc/cpu/msm_cache_erp.
2142
2143 For production builds, you should probably say 'N' here.
2144
2145config MSM_L1_ERR_PANIC
2146 bool "Panic on L1 cache / TLB errors"
2147 depends on MSM_CACHE_ERP
2148 help
2149 To cause the kernel to panic whenever an L1 cache or TLB error is
2150 detected, say 'Y' here. This may be useful as a debugging technique if
2151 general system instability is suspected.
2152
2153 For production builds, you should probably say 'N' here.
2154
2155
2156config MSM_L2_ERP_PORT_PANIC
2157 bool "Panic on L2 master port errors"
2158 depends on MSM_CACHE_ERP
2159 help
2160 Master port errors can occur when a memory request is not properly
2161 handled by the destination slave. Enable this option to catch drivers
2162 which attempt to access bad areas of the address space, or access
2163 hardware registers in an improper state (such as certain clocks not
2164 being on). This option may help with debugging, though production
2165 builds should probably say 'N' here.
2166
2167config MSM_L2_ERP_1BIT_PANIC
2168 bool "Panic on recoverable L2 soft errors"
2169 depends on MSM_CACHE_ERP
2170 help
2171 Enable this option to cause a kernel panic whenever the L2 cache
2172 encounters a single-bit (correctable) soft error. This option should
2173 only be enabled when doing low-level debugging where cache corruption
2174 is suspected.
2175
2176 For production builds, you should definitely say 'N' here.
2177
2178config MSM_L2_ERP_2BIT_PANIC
2179 bool "Panic on unrecoverable L2 soft errors"
2180 depends on MSM_CACHE_ERP
2181 help
2182 Enable this option to cause a kernel panic whenever the L2 cache
2183 encounters a double-bit (non-correctable) soft error. Debug builds
2184 will likely benefit from having this option enabled to catch cache
2185 problems as soon as possible.
2186
2187 For production builds, it may be acceptable to say 'N' here, since
2188 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002189
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002190config MSM_DCVS
2191 bool "Use MSM DCVS for CPU/GPU Frequency control"
2192 depends on MSM_SCM
2193 help
2194 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2195 The DCVS manager allows idle driver to feed the idle information to the
2196 algorithm and the algorithm returns a frequency for the core which is
2197 passed to the frequency change driver.
2198
Taniya Dasc43e6872012-03-21 16:41:14 +05302199config HAVE_ARCH_HAS_CURRENT_TIMER
2200 bool
Brian Swetland9e73c842007-11-26 04:12:13 -08002201endif