blob: 466d65beeb700ac16ae1989fa776869638b4b8bb [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
David Brown74d10d72011-05-16 13:57:39 -070010 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070011 select MSM_REMOTE_SPINLOCK_SWP
12
13config ARCH_MSM7X25
14 bool "MSM7x25"
15 select ARCH_MSM_ARM11
16 select MSM_VIC
17 select CPU_V6
Steve Mucklef132c6c2012-06-06 18:30:57 -070018 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070019 select MSM_REMOTE_SPINLOCK_SWP
Taniya Dasbe561a02011-10-12 09:53:11 +053020 select MULTI_IRQ_HANDLER
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
Steve Mucklef132c6c2012-06-06 18:30:57 -070030 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070031 select MSM_REMOTE_SPINLOCK_SWP if MSM_SOC_REV_NONE
32 select MSM_GPIOMUX
33 select REGULATOR
Taniya Dasbe561a02011-10-12 09:53:11 +053034 select MULTI_IRQ_HANDLER
Pankaj Kumar75c86fd2011-10-01 18:51:09 +053035 select MSM_PROC_COMM_REGULATOR
Laura Abbott1fbd2e62011-12-18 10:26:46 -080036 select CLEANCACHE
37 select QCACHE
Matt Wagantall88b86312012-01-31 16:53:03 -080038 select MSM_PM2 if PM
Krishna Vankae2922052012-03-02 09:59:12 +053039 select MSM_RUN_QUEUE_STATS if MSM_SOC_REV_A
Taniya Dasd4c39f92012-05-14 17:41:49 +053040 select DONT_MAP_HOLE_AFTER_MEMBANK0
Trilok Sonib856ab92012-06-26 14:33:28 +053041 select MIGHT_HAVE_CACHE_L2X0
Daniel Walkerbf83de42010-03-16 16:29:44 -070042
Daniel Walker7b521612010-05-06 12:44:57 -070043config ARCH_MSM7X30
44 bool "MSM7x30"
45 select ARCH_MSM_SCORPION
Daniel Walker7b521612010-05-06 12:44:57 -070046 select MSM_VIC
47 select CPU_V7
David Brown74d10d72011-05-16 13:57:39 -070048 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070049 select MSM_REMOTE_SPINLOCK_DEKKERS
50 select ARCH_SPARSEMEM_ENABLE
Laura Abbott78593b52011-09-26 18:48:14 -070051 select ARCH_HAS_HOLES_MEMORYMODEL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070052 select MEMORY_HOTPLUG
53 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -080054 select ARCH_ENABLE_MEMORY_HOTPLUG
55 select ARCH_ENABLE_MEMORY_HOTREMOVE
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070056 select MIGRATION
57 select ARCH_MEMORY_PROBE
58 select ARCH_MEMORY_REMOVE
Gregory Beanab78cde2010-09-01 16:26:12 -070059 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070060 select RESERVE_FIRST_PAGE
61 select MSM_DALRPC
62 select MSM_SPM_V1
63 select REGULATOR
Justin Paupore637a25d2011-07-14 17:11:04 -070064 select MSM_PROC_COMM_REGULATOR
Taniya Dasbae99fb2011-10-12 09:55:13 +053065 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -080066 select MSM_PM2 if PM
Daniel Walker7b521612010-05-06 12:44:57 -070067
Daniel Walker4ad15e62010-05-06 13:54:17 -070068config ARCH_QSD8X50
69 bool "QSD8X50"
70 select ARCH_MSM_SCORPION
Daniel Walker4ad15e62010-05-06 13:54:17 -070071 select MSM_VIC
72 select CPU_V7
David Brown74d10d72011-05-16 13:57:39 -070073 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070074 select MSM_REMOTE_SPINLOCK_LDREX
75 select CPU_USE_DOMAINS
76 select EMULATE_DOMAIN_MANAGER_V7
Gregory Beanab78cde2010-09-01 16:26:12 -070077 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070078 select MSM_DALRPC
Matt Wagantall88b86312012-01-31 16:53:03 -080079 select MSM_PM2 if PM
Daniel Walker46fe5f22010-08-18 11:00:25 -070080
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070081config ARCH_MSM8X60
82 bool "MSM8X60"
Jeff Ohlsteine14411d2010-11-30 13:06:36 -080083 select ARCH_MSM_SCORPIONMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070084 select SMP_PARALLEL_START if SMP
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070085 select ARM_GIC
86 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070087 select MSM_REMOTE_SPINLOCK_LDREX
88 select ARCH_REQUIRE_GPIOLIB
89 select MSM_ADM3
90 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -080091 select MSM_RPM_REGULATOR
David Brown1a5ab4b2011-05-16 15:53:38 -070092 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070093 select MSM_PIL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070094 select ARCH_HAS_CPU_IDLE_WAIT
95 select MSM_DIRECT_SCLK_ACCESS
96 select MSM_RPM
97 select MSM_XO
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070098 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070099 select MSM_BUS_SCALING
100 select MSM_SECURE_IO
101 select MSM_DALRPC
102 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700103 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700104 select MSM_NATIVE_RESTART
105 select ARCH_INLINE_SPIN_TRYLOCK
106 select ARCH_INLINE_SPIN_TRYLOCK_BH
107 select ARCH_INLINE_SPIN_LOCK
108 select ARCH_INLINE_SPIN_LOCK_BH
109 select ARCH_INLINE_SPIN_LOCK_IRQ
110 select ARCH_INLINE_SPIN_LOCK_IRQSAVE
111 select ARCH_INLINE_SPIN_UNLOCK
112 select ARCH_INLINE_SPIN_UNLOCK_BH
113 select ARCH_INLINE_SPIN_UNLOCK_IRQ
114 select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
115 select ARCH_INLINE_READ_TRYLOCK
116 select ARCH_INLINE_READ_LOCK
117 select ARCH_INLINE_READ_LOCK_BH
118 select ARCH_INLINE_READ_LOCK_IRQ
119 select ARCH_INLINE_READ_LOCK_IRQSAVE
120 select ARCH_INLINE_READ_UNLOCK
121 select ARCH_INLINE_READ_UNLOCK_BH
122 select ARCH_INLINE_READ_UNLOCK_IRQ
123 select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
124 select ARCH_INLINE_WRITE_TRYLOCK
125 select ARCH_INLINE_WRITE_LOCK
126 select ARCH_INLINE_WRITE_LOCK_BH
127 select ARCH_INLINE_WRITE_LOCK_IRQ
128 select ARCH_INLINE_WRITE_LOCK_IRQSAVE
129 select ARCH_INLINE_WRITE_UNLOCK
130 select ARCH_INLINE_WRITE_UNLOCK_BH
131 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
132 select CPU_HAS_L2_PMU
133 select MSM_SPM_V1
Stephen Boyd2a1eb582010-08-27 10:01:23 -0700134 select MSM_SCM if SMP
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530135 select MULTI_IRQ_HANDLER
Laura Abbott46505f62011-11-02 18:06:55 -0700136 select MSM_MULTIMEDIA_USE_ION
Matt Wagantall88b86312012-01-31 16:53:03 -0800137 select MSM_PM8X60 if PM
Krishna Vankae2922052012-03-02 09:59:12 +0530138 select MSM_RUN_QUEUE_STATS
Laura Abbottb14ed962012-01-30 14:18:08 -0800139 select ARM_HAS_SG_CHAIN
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700140
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800141config ARCH_MSM8960
142 bool "MSM8960"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700143 select ARCH_MSM_KRAITMP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800144 select ARM_GIC
145 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700146 select GPIO_MSM_V2
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800147 select MSM_GPIOMUX
148 select MSM_SCM if SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700149 select MSM_DIRECT_SCLK_ACCESS
150 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -0800151 select MSM_RPM_REGULATOR
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700152 select MSM_RPM
153 select MSM_XO
154 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700155 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700156 select MSM_PIL
157 select MSM_AUDIO_QDSP6 if SND_SOC
158 select CPU_HAS_L2_PMU
159 select MSM_SPM_V2
160 select MSM_L2_SPM
161 select MSM_NATIVE_RESTART
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700162 select DONT_MAP_HOLE_AFTER_MEMBANK0
163 select MSM_REMOTE_SPINLOCK_SFPB
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700164 select ARCH_SPARSEMEM_ENABLE
165 select ARCH_HAS_HOLES_MEMORYMODEL
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
Laura Abbott085dd202012-03-30 14:02:34 -0700171 select HOLES_IN_ZONE if SPARSEMEM
Krishna Vankae2922052012-03-02 09:59:12 +0530172 select MSM_RUN_QUEUE_STATS
Laura Abbottb14ed962012-01-30 14:18:08 -0800173 select ARM_HAS_SG_CHAIN
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800174
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700175config ARCH_MSM8930
176 bool "MSM8930"
177 select ARCH_MSM_KRAITMP
178 select ARM_GIC
179 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700180 select GPIO_MSM_V2
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700181 select MSM_GPIOMUX
182 select MSM_SCM if SMP
183 select MSM_DIRECT_SCLK_ACCESS
184 select REGULATOR
David Collins5779cea2012-01-05 15:09:21 -0800185 select MSM_RPM_REGULATOR
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700186 select MSM_RPM
187 select MSM_XO
188 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700189 select MSM_QDSP6_CODECS
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700190 select MSM_PIL
191 select MSM_AUDIO_QDSP6 if SND_SOC
192 select CPU_HAS_L2_PMU
193 select MSM_SPM_V2
194 select MSM_L2_SPM
195 select MSM_NATIVE_RESTART
196 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600197 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700198 select ARCH_SPARSEMEM_ENABLE
199 select ARCH_HAS_HOLES_MEMORYMODEL
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +0200200 select MSM_ULTRASOUND
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530201 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800202 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700203 select HOLES_IN_ZONE if SPARSEMEM
Laura Abbottb14ed962012-01-30 14:18:08 -0800204 select ARM_HAS_SG_CHAIN
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700205
206config ARCH_APQ8064
207 bool "APQ8064"
208 select ARCH_MSM_KRAITMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700209 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700210 select ARM_GIC
211 select CPU_V7
212 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700213 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600214 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800215 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800216 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700217 select MSM_QDSP6_CODECS
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800218 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530219 select MULTI_IRQ_HANDLER
Praveen Chidambaram78499012011-11-01 17:15:17 -0600220 select MSM_RPM
221 select MSM_SPM_V2
222 select MSM_L2_SPM
Matt Wagantall88b86312012-01-31 16:53:03 -0800223 select MSM_PM8X60 if PM
Neil Leeder814d3d32012-01-19 17:21:43 -0500224 select CPU_HAS_L2_PMU
Laura Abbott085dd202012-03-30 14:02:34 -0700225 select HOLES_IN_ZONE if SPARSEMEM
Larry Bassel67b921d2012-04-06 10:23:27 -0700226 select CLEANCACHE
227 select QCACHE
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -0600228 select MIGHT_HAVE_PCI
229 select ARCH_SUPPORTS_MSI
Laura Abbottb14ed962012-01-30 14:18:08 -0800230 select ARM_HAS_SG_CHAIN
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700231
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700232config ARCH_MSM8974
233 bool "MSM8974"
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700234 select ARCH_MSM_KRAITMP
Sathish Ambley4149e842012-03-23 11:53:55 -0700235 select GPIO_MSM_V3
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700236 select ARM_GIC
237 select CPU_V7
238 select MSM_SCM if SMP
239 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530240 select MULTI_IRQ_HANDLER
Olav Hauganb800c8c2012-01-30 08:50:45 -0800241 select MSM_MULTIMEDIA_USE_ION
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700242 select MSM_PIL
Praveen Chidambaramaa9d52b2012-04-02 11:09:47 -0600243 select MSM_SPM_V2
244 select MSM_L2_SPM
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600245 select MSM_PM8X60 if PM
Steve Mucklef132c6c2012-06-06 18:30:57 -0700246 select MAY_HAVE_SPARSE_IRQ
247 select SPARSE_IRQ
Mahesh Sivasubramaniancb668712012-04-04 13:03:25 -0600248 select MSM_RPM_SMD
David Collinsc7642322012-04-04 10:19:12 -0700249 select REGULATOR
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -0700250 select MSM_QDSP6_APR
251 select MSM_QDSP6V2_CODECS
252 select MSM_AUDIO_QDSP6V2 if SND_SOC
David Collins1c91ea72012-05-03 16:17:35 -0700253 select MSM_RPM_REGULATOR_SMD
Laura Abbottb14ed962012-01-30 14:18:08 -0800254 select ARM_HAS_SG_CHAIN
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700255
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700256config ARCH_FSM9XXX
257 bool "FSM9XXX"
258 select ARCH_MSM_SCORPION
259 select MSM_VIC
260 select CPU_V7
261 select MSM_REMOTE_SPINLOCK_LDREX
Steve Mucklef132c6c2012-06-06 18:30:57 -0700262 select GPIO_FSM9XXX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530263 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800264 select MSM_DALRPC
Daniel Walker4ad15e62010-05-06 13:54:17 -0700265
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700266config ARCH_MSM9615
267 bool "MSM9615"
268 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530269 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700270 select ARCH_MSM_CORTEX_A5
271 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700272 select GPIO_MSM_V2
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700273 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600274 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600275 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700276 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800277 select REGULATOR
278 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530279 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800280 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800281 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700282 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800283 select MSM_QDSP6_APR
284 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800285 select FIQ
Laura Abbottb14ed962012-01-30 14:18:08 -0800286 select ARM_HAS_SG_CHAIN
Matt Wagantall9274df92011-12-15 11:11:05 -0800287
Taniya Das43bcdd62011-12-02 17:33:27 +0530288config ARCH_MSM8625
289 bool "MSM8625"
290 select ARCH_MSM_CORTEX_A5
291 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700292 select GPIO_MSM_V1
Taniya Das43bcdd62011-12-02 17:33:27 +0530293 select MSM_GPIOMUX
294 select ARM_GIC
295 select ARCH_MSM_CORTEXMP
296 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530297 select ARM_TICKET_LOCKS
Krishna Vankae2922052012-03-02 09:59:12 +0530298 select MSM_RUN_QUEUE_STATS
Trilok Sonib856ab92012-06-26 14:33:28 +0530299 select MIGHT_HAVE_CACHE_L2X0
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700300
301config ARCH_MSM9625
302 bool "MSM9625"
303 select ARM_GIC
304 select GIC_SECURE
305 select ARCH_MSM_CORTEX_A5
306 select SMP
307 select MSM_SMP
308 select CPU_V7
Jin Hong690e3352012-05-02 09:25:05 -0700309 select MSM_GPIOMUX
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700310 select MULTI_IRQ_HANDLER
Steve Mucklef132c6c2012-06-06 18:30:57 -0700311 select GPIO_MSM_V2
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700312
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700313endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700314
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700315choice
316 prompt "MSM SoC Revision"
317 default MSM_SOC_REV_NONE
318config MSM_SOC_REV_NONE
319 bool "N/A"
320 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
321 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walkerbf83de42010-03-16 16:29:44 -0700322config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700323 bool "Rev. A"
324 select ARCH_MSM7X27A if ARCH_MSM7X27
Daniel Walkerbf83de42010-03-16 16:29:44 -0700325endchoice
326
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700327config MSM_KRAIT_TBB_ABORT_HANDLER
328 bool "Krait TBB/TBH data abort handler"
329 depends on ARCH_MSM_KRAIT
330 depends on ARM_THUMB
331 help
332 Certain early samples of the Krait processor may generate data
333 aborts for TBB / TBH instructions that fail their condition code
334 checks. Enabling this option will ignore these erroneous data aborts,
335 at the expense of a very small performance penalty.
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800336
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700337 If unsure, say N.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700338
339config ARCH_MSM_ARM11
340 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700341
Daniel Walkerbf83de42010-03-16 16:29:44 -0700342config ARCH_MSM_SCORPION
343 bool
344
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700345config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700346 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800347 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700348
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700349config MSM_SMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700350 select HAVE_SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700351 bool
352
353config ARCH_MSM_SCORPIONMP
354 select ARCH_MSM_SCORPION
355 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530356 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700357 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700358 bool
359
360config ARCH_MSM_KRAITMP
361 select ARCH_MSM_KRAIT
362 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530363 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700364 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700365 bool
Steve Mucklef132c6c2012-06-06 18:30:57 -0700366 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700367
Taniya Das43bcdd62011-12-02 17:33:27 +0530368config ARCH_MSM_CORTEXMP
369 select MSM_SMP
370 bool
371
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700372config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800373 bool
Rohit Vaswaniaf7ae272012-01-09 10:28:57 -0800374 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700375
376config ARCH_MSM7X27A
377 bool
378 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700379 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530380 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530381 select ARM_GIC
382 select ARCH_MSM_CORTEXMP
Trilok Sonib856ab92012-06-26 14:33:28 +0530383 select MIGHT_HAVE_CACHE_L2X0
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700384
Gregory Beanf9f3d312010-04-30 22:06:50 -0700385config MSM_VIC
386 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700387
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700388config MSM_RPM
389 bool "Resource Power Manager"
390 select MSM_MPM
391
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600392config MSM_RPM_SMD
393 depends on MSM_SMD
394 bool "Support for using SMD as the transport layer for communicatons with RPM"
395
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700396config MSM_MPM
397 bool "Modem Power Manager"
398
399config MSM_XO
400 bool
401
402config MSM_REMOTE_SPINLOCK_DEKKERS
403 bool
404config MSM_REMOTE_SPINLOCK_SWP
405 bool
406config MSM_REMOTE_SPINLOCK_LDREX
407 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600408config MSM_REMOTE_SPINLOCK_SFPB
409 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700410config MSM_ADM3
411 bool
412
413menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700414
415config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700416 depends on ARCH_MSM7X01A
417 depends on MSM_STACKED_MEMORY
418 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700419 bool "Halibut Board (QCT SURF7201A)"
420 help
421 Support for the Qualcomm SURF7201A eval board.
422
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700423config MACH_MSM7201A_SURF
424 depends on ARCH_MSM7X01A
425 depends on MSM_STACKED_MEMORY
426 default y
427 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700428 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700429 Support for the Qualcomm MSM7201A SURF eval board.
430
431config MACH_MSM7201A_FFA
432 depends on ARCH_MSM7X01A
433 depends on MSM_STACKED_MEMORY
434 default y
435 bool "MSM7201A FFA"
436 help
437 Support for the Qualcomm MSM7201A FFA eval board.
438
439config MACH_TROUT
440 depends on ARCH_MSM7X01A
441 depends on MSM_STACKED_MEMORY
442 default y
443 bool "Trout"
444
445config MACH_MSM7X27_SURF
446 depends on ARCH_MSM7X27
447 depends on !MSM_STACKED_MEMORY
448 default y
449 bool "MSM7x27 SURF"
450 help
451 Support for the Qualcomm MSM7x27 SURF eval board.
452
453config MACH_MSM7X27_FFA
454 depends on ARCH_MSM7X27
455 depends on !MSM_STACKED_MEMORY
456 default y
457 bool "MSM7x27 FFA"
458 help
459 Support for the Qualcomm MSM7x27 FFA eval board.
460
461config MACH_MSM7X27A_RUMI3
462 depends on ARCH_MSM7X27A
463 depends on !MSM_STACKED_MEMORY
464 default y
465 bool "MSM7x27A RUMI3"
466 help
467 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
468
469config MACH_MSM7X27A_SURF
470 depends on ARCH_MSM7X27A
471 depends on !MSM_STACKED_MEMORY
472 default y
473 bool "MSM7x27A SURF"
474 help
475 Support for the Qualcomm MSM7x27A SURF.
476
477config MACH_MSM7X27A_FFA
478 depends on ARCH_MSM7X27A
479 depends on !MSM_STACKED_MEMORY
480 default y
481 bool "MSM7x27A FFA"
482 help
483 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700484
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530485config MACH_MSM7625A_SURF
486 depends on ARCH_MSM7X27A
487 depends on !MSM_STACKED_MEMORY
488 default y
489 bool "MSM7625A SURF"
490 help
491 Support for the Qualcomm MSM7625A SURF.
492
493config MACH_MSM7625A_FFA
494 depends on ARCH_MSM7X27A
495 depends on !MSM_STACKED_MEMORY
496 default y
497 bool "MSM7625A FFA"
498 help
499 Support for the Qualcomm MSM7625A FFA.
500
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530501config MACH_MSM7627A_QRD1
502 depends on ARCH_MSM7X27A
503 depends on !MSM_STACKED_MEMORY
504 default y
505 bool "MSM7627A QRD1"
506 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530507 Support for the Qualcomm MSM7627A Reference Design.
508
509config MACH_MSM7627A_QRD3
510 depends on ARCH_MSM7X27A
511 depends on !MSM_STACKED_MEMORY
512 default y
513 bool "MSM7627A QRD3"
514 help
515 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530516
Taniya Dasc868a2e2012-01-03 10:18:47 +0530517config MACH_MSM7627A_EVB
518 depends on ARCH_MSM7X27A
519 depends on !MSM_STACKED_MEMORY
520 default y
521 bool "MSM7627A EVB"
522 help
523 Support for the Qualcomm MSM7627A Reference Design.
524
Taniya Das43bcdd62011-12-02 17:33:27 +0530525config MACH_MSM8625_RUMI3
526 depends on ARCH_MSM8625
527 depends on !MSM_STACKED_MEMORY
528 default y
529 bool "MSM8625 RUMI3"
530 help
531 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
532
Taniya Dase3027e22012-02-27 16:32:27 +0530533config MACH_MSM8625_SURF
534 depends on ARCH_MSM8625
535 depends on !MSM_STACKED_MEMORY
536 default y
537 bool "MSM8625 SURF"
538 help
539 Support for the Qualcomm MSM8625 SURF.
540
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530541config MACH_MSM8625_FFA
542 depends on ARCH_MSM8625
543 depends on !MSM_STACKED_MEMORY
544 default y
545 bool "MSM8625 FFA"
546 help
547 Support for the Qualcomm MSM8625 FFA.
548
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530549config MACH_MSM8625_EVB
550 depends on ARCH_MSM8625
551 depends on !MSM_STACKED_MEMORY
552 default y
553 bool "MSM8625 EVB"
554 help
555 Support for the Qualcomm MSM8625 Reference Design.
556
Taniya Dasbd096542012-03-15 17:43:45 +0530557config MACH_MSM8625_QRD7
558 depends on ARCH_MSM8625
559 depends on !MSM_STACKED_MEMORY
560 default y
561 bool "MSM8625 QRD7"
562 help
563 Support for the Qualcomm MSM8625 Reference Design.
564
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530565config MACH_MSM8625_EVT
566 depends on ARCH_MSM8625
567 depends on !MSM_STACKED_MEMORY
568 default y
569 bool "MSM8625 EVT"
570 help
571 Support for the Qualcomm MSM8625 Reference Design.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700572
Daniel Walker7b521612010-05-06 12:44:57 -0700573config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700574 depends on ARCH_MSM7X30
575 depends on !MSM_STACKED_MEMORY
576 default y
577 bool "MSM7x30 SURF"
578 help
579 Support for the Qualcomm MSM7x30 SURF eval board.
580
581config MACH_MSM7X30_FFA
582 depends on ARCH_MSM7X30
583 depends on !MSM_STACKED_MEMORY
584 default y
585 bool "MSM7x30 FFA"
586 help
587 Support for the Qualcomm MSM7x30 FFA eval board.
588
589config MACH_MSM7X30_FLUID
590 depends on ARCH_MSM7X30
591 depends on !MSM_STACKED_MEMORY
592 default y
593 bool "MSM7x30 FLUID"
594 help
595 Support for the Qualcomm MSM7x30 FLUID eval board.
596
597config MACH_SAPPHIRE
598 depends on ARCH_MSM7X01A
599 default n
600 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700601
Daniel Walker4ad15e62010-05-06 13:54:17 -0700602config MACH_QSD8X50_SURF
603 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700604 depends on MSM_SOC_REV_NONE
605 depends on MSM_STACKED_MEMORY
606 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700607 bool "QSD8x50 SURF"
608 help
609 Support for the Qualcomm QSD8x50 SURF eval board.
610
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700611config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700612 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700613 depends on MSM_SOC_REV_NONE
614 depends on MSM_STACKED_MEMORY
615 default y
616 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700617 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700618 Support for the Qualcomm QSD8x50 FFA eval board.
619
620config MACH_MSM7X25_SURF
621 depends on ARCH_MSM7X25
622 depends on !MSM_STACKED_MEMORY
623 default y
624 bool "MSM7x25 SURF"
625 help
626 Support for the Qualcomm MSM7x25 SURF eval board.
627
628config MACH_MSM7X25_FFA
629 depends on ARCH_MSM7X25
630 depends on !MSM_STACKED_MEMORY
631 default y
632 bool "MSM7x25 FFA"
633 help
634 Support for the Qualcomm MSM7x25 FFA eval board.
635
636config MACH_MSM8X55_SURF
637 depends on ARCH_MSM7X30
638 depends on !MSM_STACKED_MEMORY
639 default y
640 bool "MSM8X55 SURF"
641 help
642 Support for the Qualcomm MSM8x55 SURF eval board.
643
644config MACH_MSM8X55_FFA
645 depends on ARCH_MSM7X30
646 depends on !MSM_STACKED_MEMORY
647 default y
648 bool "MSM8X55 FFA"
649 help
650 Support for the Qualcomm MSM8x55 FFA eval board.
651
652config MACH_MSM8X55_SVLTE_FFA
653 depends on ARCH_MSM7X30
654 depends on !MSM_STACKED_MEMORY
655 default y
656 bool "MSM8X55 SVLTE FFA"
657 help
658 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
659
660config MACH_MSM8X55_SVLTE_SURF
661 depends on ARCH_MSM7X30
662 depends on !MSM_STACKED_MEMORY
663 default y
664 bool "MSM8X55 SVLTE SURF"
665 help
666 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700667
Steve Mucklea55df6e2010-01-07 12:43:24 -0800668config MACH_MSM8X60_RUMI3
669 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700670 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800671 bool "MSM8x60 RUMI3"
672 help
673 Support for the Qualcomm MSM8x60 RUMI3 emulator.
674
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800675config MACH_MSM8X60_SIM
676 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700677 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800678 bool "MSM8x60 Simulator"
679 help
680 Support for the Qualcomm MSM8x60 simulator.
681
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700682config MACH_MSM8X60_SURF
683 depends on ARCH_MSM8X60
684 default n
685 bool "MSM8x60 SURF"
686 help
687 Support for the Qualcomm MSM8x60 SURF eval board.
688
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700689config MACH_MSM8X60_FFA
690 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700691 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700692 bool "MSM8x60 FFA"
693 help
694 Support for the Qualcomm MSM8x60 FFA eval board.
695
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700696config MACH_MSM8X60_FLUID
697 depends on ARCH_MSM8X60
698 default n
699 bool "MSM8x60 FLUID"
700 help
701 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
702 8x60 target which has a form factor that is much closer to that
703 of a phone than other targets. It also has a new display and
704 touchscreen controller.
705
706config MACH_MSM8X60_FUSION
707 depends on ARCH_MSM8X60
708 default n
709 bool "MSM8x60 FUSION"
710 help
711 Support for the Qualcomm MSM8x60 Fusion SURF device.
712
713config MACH_MSM8X60_FUSN_FFA
714 depends on ARCH_MSM8X60
715 default n
716 bool "MSM8x60 FUSN FFA"
717 help
718 Support for the Qualcomm MSM8x60 Fusion FFA device.
719
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400720config MACH_MSM8X60_DRAGON
721 depends on ARCH_MSM8X60
722 default n
723 bool "MSM8x60 DRAGON"
724 help
725 Support for the Qualcomm MSM8x60 Dragon board.
726
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800727config MACH_MSM8960_SIM
728 depends on ARCH_MSM8960
729 bool "MSM8960 Simulator"
730 help
731 Support for the Qualcomm MSM8960 simulator.
732
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800733config MACH_MSM8960_RUMI3
734 depends on ARCH_MSM8960
735 bool "MSM8960 RUMI3"
736 help
737 Support for the Qualcomm MSM8960 RUMI3 emulator.
738
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700739config MACH_MSM8960_CDP
740 depends on ARCH_MSM8960
741 bool "MSM8960 CDP"
742 help
743 Support for the Qualcomm MSM8960 CDP device.
744
745config MACH_MSM8960_MTP
746 depends on ARCH_MSM8960
747 bool "MSM8960 MTP"
748 help
749 Support for the Qualcomm MSM8960 MTP device.
750
751config MACH_MSM8960_FLUID
752 depends on ARCH_MSM8960
753 bool "MSM8960 FLUID"
754 help
755 Support for the Qualcomm MSM8960 FLUID device.
756
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300757config MACH_MSM8960_LIQUID
758 depends on ARCH_MSM8960
759 bool "MSM8960 LIQUID"
760 help
761 Support for the Qualcomm MSM8960 LIQUID device.
762
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700763config MACH_MSM8930_CDP
764 depends on ARCH_MSM8930
765 bool "MSM8930 CDP"
766 help
767 Support for the Qualcomm MSM8930 CDP device.
768
769config MACH_MSM8930_MTP
770 depends on ARCH_MSM8930
771 bool "MSM8930 MTP"
772 help
773 Support for the Qualcomm MSM8930 MTP device.
774
775config MACH_MSM8930_FLUID
776 depends on ARCH_MSM8930
777 bool "MSM8930 FLUID"
778 help
779 Support for the Qualcomm MSM8930 FLUID device.
780
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800781config MACH_MSM8627_CDP
782 depends on ARCH_MSM8930
783 bool "MSM8627 CDP"
784 help
785 Support for the Qualcomm MSM8627 CDP device.
786
787config MACH_MSM8627_MTP
788 depends on ARCH_MSM8930
789 bool "MSM8627 MTP"
790 help
791 Support for the Qualcomm MSM8627 MTP device.
792
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700793config MACH_MSM9615_CDP
794 depends on ARCH_MSM9615
795 bool "MSM9615 CDP"
796 help
797 Support for the Qualcomm MSM9615 CDP device.
798
799config MACH_MSM9615_MTP
800 depends on ARCH_MSM9615
801 bool "MSM9615 MTP"
802 help
803 Support for the Qualcomm MSM9615 MTP device.
804
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700805config MSM_USE_TSIF1
806 depends on ARCH_MSM8X60
807 bool "MSM8x60 use TSIF1"
808 help
809 Selects TSIF1 core to be used rather than TSIF0.
810 The two TSIF cores share the same DM configuration
811 so they cannot be used simultaneously.
812
813config MACH_APQ8064_SIM
814 depends on ARCH_APQ8064
815 bool "APQ8064 Simulator"
816 help
817 Support for the Qualcomm APQ8064 simulator.
818
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700819config MACH_APQ8064_RUMI3
820 depends on ARCH_APQ8064
821 bool "APQ8064 RUMI3"
822 help
823 Support for the Qualcomm APQ8064 RUMI3 emulator.
824
Joel King82b7e3f2012-01-05 10:03:27 -0800825config MACH_APQ8064_CDP
826 depends on ARCH_APQ8064
827 bool "APQ8064 CDP"
828 help
829 Support for the Qualcomm APQ8064 CDP device.
830
831config MACH_APQ8064_MTP
832 depends on ARCH_APQ8064
833 bool "APQ8064 MTP"
834 help
835 Support for the Qualcomm APQ8064 MTP device.
836
837config MACH_APQ8064_LIQUID
838 depends on ARCH_APQ8064
839 bool "APQ8064 LIQUID"
840 help
841 Support for the Qualcomm APQ8064 LIQUID device.
842
Joel King064bbf82012-04-01 13:23:39 -0700843config MACH_MPQ8064_CDP
844 depends on ARCH_APQ8064
845 bool "MPQ8064 CDP"
846 help
847 Support for the Qualcomm MPQ8064 CDP device.
848
Joel King11ca8202012-02-13 16:19:03 -0800849config MACH_MPQ8064_HRD
850 depends on ARCH_APQ8064
851 bool "MPQ8064 HRD"
852 help
853 Support for the Qualcomm MPQ8064 HRD device.
854
855config MACH_MPQ8064_DTV
856 depends on ARCH_APQ8064
857 bool "MPQ8064 DTV"
858 help
859 Support for the Qualcomm MPQ8064 DTV device.
860
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700861config MACH_FSM9XXX_SURF
862 depends on ARCH_FSM9XXX
863 depends on !MSM_STACKED_MEMORY
864 default y
865 bool "FSM9XXX SURF"
866 help
867 Support for the Qualcomm FSM9xxx femtocell
868 chipset based SURF evaluation board and
869 FFA board.
870
Daniel Walker4ad15e62010-05-06 13:54:17 -0700871endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800872
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700873config MSM_STACKED_MEMORY
874 bool "Stacked Memory"
875 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800876 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700877 This option is used to indicate the presence of on-die stacked
878 memory. When present this memory bank is used for a high speed
879 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800880
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700881config PHYS_OFFSET
882 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700883 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700884 default "0x80200000" if ARCH_APQ8064
885 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700886 default "0x80200000" if ARCH_MSM8930
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700887 default "0x00000000" if ARCH_MSM8974
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700888 default "0x10000000" if ARCH_FSM9XXX
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700889 default "0x20200000" if ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700890 default "0x00200000" if !MSM_STACKED_MEMORY
891 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
892 default "0x20000000" if ARCH_QSD8X50
893 default "0x40200000" if ARCH_MSM8X60
894 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800895
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700896config KERNEL_PMEM_EBI_REGION
897 bool "Enable in-kernel PMEM region for EBI"
898 default y if ARCH_MSM8X60
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700899 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700900 help
901 Enable the in-kernel PMEM allocator to use EBI memory.
902
903config KERNEL_PMEM_SMI_REGION
904 bool "Enable in-kernel PMEM region for SMI"
905 default y if ARCH_MSM8X60
906 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
907 help
908 Enable the in-kernel PMEM allocator to use SMI memory.
909
910config PMEM_GPU0
911 bool "Enable PMEM GPU0 region"
912 default y
913 depends on ARCH_QSD8X50 && ANDROID_PMEM
914 help
915 Enable the PMEM GPU0 device on SMI Memory.
916
917config MSM_AMSS_VERSION
918 int
919 default 6210 if MSM_AMSS_VERSION_6210
920 default 6220 if MSM_AMSS_VERSION_6220
921 default 6225 if MSM_AMSS_VERSION_6225
922
923choice
924 prompt "AMSS modem firmware version"
925
926 default MSM_AMSS_VERSION_6225
927
928 config MSM_AMSS_VERSION_6210
929 bool "6.2.10"
930
931 config MSM_AMSS_VERSION_6220
932 bool "6.2.20"
933
934 config MSM_AMSS_VERSION_6225
935 bool "6.2.20 + New ADSP"
936endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800937
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700938config MSM_HAS_DEBUG_UART_HS
Daniel Walkerbf83de42010-03-16 16:29:44 -0700939 bool
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700940 help
941 Say Y here if high speed MSM UART is present.
942
943config MSM_HAS_DEBUG_UART_HS_V14
944 bool
945 select MSM_HAS_DEBUG_UART_HS
946 help
947 Say Y here if high speed MSM UART v1.4 is present.
948
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530949config MSM_DEBUG_UART_PHYS
950 hex
951 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
952 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
953 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
954 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
955 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
956 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
957 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
958 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
959
Brian Swetland9e73c842007-11-26 04:12:13 -0800960choice
961 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800962 depends on DEBUG_LL
Brian Swetland9e73c842007-11-26 04:12:13 -0800963
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800964 config DEBUG_MSM_UART1
965 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530966 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800967 help
968 Say Y here if you want the debug print routines to direct
969 their output to the first serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -0800970
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800971 config DEBUG_MSM_UART2
972 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530973 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800974 help
975 Say Y here if you want the debug print routines to direct
976 their output to the second serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -0800977
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800978 config DEBUG_MSM_UART3
979 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530980 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800981 help
982 Say Y here if you want the debug print routines to direct
983 their output to the third serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -0800984
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800985 config DEBUG_MSM8660_UART
986 bool "Kernel low-level debugging messages via MSM 8660 UART"
987 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700988 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800989 help
990 Say Y here if you want the debug print routines to direct
991 their output to the serial port on MSM 8660 devices.
Steve Mucklec8aabae2010-04-21 16:20:27 -0700992
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800993 config DEBUG_MSM8960_UART
994 bool "Kernel low-level debugging messages via MSM 8960 UART"
Stepan Moskovchenko824db172012-05-29 18:05:09 -0700995 depends on ARCH_MSM8960 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700996 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800997 help
998 Say Y here if you want the debug print routines to direct
999 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001000
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001001 config DEBUG_MSM8930_UART
1002 bool "Kernel low-level debugging messages via MSM 8930 UART"
1003 depends on ARCH_MSM8930 && DEBUG_LL
1004 select MSM_HAS_DEBUG_UART_HS
1005 help
1006 Say Y here if you want the debug print routines to direct
1007 their output to the serial port on MSM 8930 devices.
1008
1009 config DEBUG_APQ8064_UART
1010 bool "Kernel low-level debugging messages via APQ 8064 UART"
1011 depends on ARCH_APQ8064 && DEBUG_LL
1012 select MSM_HAS_DEBUG_UART_HS
1013 help
1014 Say Y here if you want the debug print routines to direct
1015 their output to the serial port on APQ 8064 devices.
1016
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001017 config DEBUG_MSM8974_UART
1018 bool "Kernel low-level debugging messages via MSM 8974 UART"
1019 depends on ARCH_MSM8974
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001020 select MSM_HAS_DEBUG_UART_HS_V14
1021 help
1022 Say Y here if you want the debug print routines to direct
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001023 their output to the serial port on MSM 8974 devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001024endchoice
Brian Swetland9e73c842007-11-26 04:12:13 -08001025
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001026choice
1027 prompt "Default Timer"
1028 default MSM7X00A_USE_GP_TIMER
1029
1030 config MSM7X00A_USE_GP_TIMER
1031 bool "GP Timer"
1032 help
1033 Low resolution timer that allows power collapse from idle.
1034
1035 config MSM7X00A_USE_DG_TIMER
1036 bool "DG Timer"
1037 help
1038 High resolution timer.
1039endchoice
1040
1041choice
1042 prompt "Suspend sleep mode"
1043 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1044 help
1045 Allows overriding the sleep mode used. Leave at power
1046 collapse suspend unless the arm9 image has problems.
1047
1048 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1049 bool "Power collapse suspend"
1050 help
1051 Lowest sleep state. Returns through reset vector.
1052
1053 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1054 bool "Power collapse"
1055 help
1056 Sleep state that returns through reset vector.
1057
1058 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1059 bool "Apps Sleep"
1060
1061 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1062 bool "Ramp down cpu clock and wait for interrupt"
1063
1064 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1065 bool "Wait for interrupt"
1066endchoice
1067
1068config MSM7X00A_SLEEP_MODE
1069 int
1070 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1071 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1072 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1073 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1074 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1075
1076choice
1077 prompt "Idle sleep mode"
1078 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1079 help
1080 Allows overriding the sleep mode used from idle. Leave at power
1081 collapse suspend unless the arm9 image has problems.
1082
1083 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1084 bool "Power collapse suspend"
1085 help
1086 Lowest sleep state. Returns through reset vector.
1087
1088 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1089 bool "Power collapse"
1090 help
1091 Sleep state that returns through reset vector.
1092
1093 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1094 bool "Apps Sleep"
1095
1096 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1097 bool "Ramp down cpu clock and wait for interrupt"
1098
1099 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1100 bool "Wait for interrupt"
1101endchoice
1102
1103config MSM7X00A_IDLE_SLEEP_MODE
1104 int
1105 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1106 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1107 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1108 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1109 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1110
1111config MSM7X00A_IDLE_SLEEP_MIN_TIME
1112 int "Minimum idle time before sleep"
1113 default 20000000
1114 help
1115 Minimum idle time in nanoseconds before entering low power mode.
1116
1117config MSM7X00A_IDLE_SPIN_TIME
1118 int "Idle spin time before cpu ramp down"
1119 default 80000
1120 help
1121 Spin time in nanoseconds before ramping down cpu clock and entering
1122 any low power state.
1123
1124menuconfig MSM_IDLE_STATS
1125 bool "Collect idle statistics"
1126 default y
1127 help
1128 Collect idle statistics and export them in proc/msm_pm_stats.
1129
1130if MSM_IDLE_STATS
1131
1132config MSM_IDLE_STATS_FIRST_BUCKET
1133 int "First bucket time"
1134 default 62500
1135 help
1136 Upper time limit in nanoseconds of first bucket.
1137
1138config MSM_IDLE_STATS_BUCKET_SHIFT
1139 int "Bucket shift"
1140 default 2
1141
1142config MSM_IDLE_STATS_BUCKET_COUNT
1143 int "Bucket count"
1144 default 10
1145
1146config MSM_SUSPEND_STATS_FIRST_BUCKET
1147 int "First bucket time for suspend"
1148 default 1000000000
1149 help
1150 Upper time limit in nanoseconds of first bucket of the
1151 histogram. This is for collecting statistics on suspend.
1152
1153endif # MSM_IDLE_STATS
1154
1155config CPU_HAS_L2_PMU
1156 bool "L2CC PMU Support"
1157 help
1158 Select this if the L2 cache controller has a Performance Monitoring Unit.
1159
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001160config HTC_HEADSET
1161 tristate "HTC 2 Wire detection driver"
1162 default n
1163 help
1164 Provides support for detecting HTC 2 wire devices, such as wired
1165 headset, on the trout platform. Can be used with the msm serial
1166 debugger, but not with serial console.
1167
1168config TROUT_BATTCHG
1169 depends on MACH_TROUT && POWER_SUPPLY
1170 default y
1171 bool "Trout battery / charger driver"
1172
1173config HTC_PWRSINK
1174 depends on MSM_SMD
1175 default n
1176 bool "HTC Power Sink Driver"
1177
1178config QSD_SVS
1179 bool "QSD Static Voltage Scaling"
1180 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1181 default y
1182 select TPS65023
1183 help
1184 Enables static voltage scaling using the TPS65023 PMIC.
1185
1186config QSD_PMIC_DEFAULT_DCDC1
1187 int "PMIC default output voltage"
1188 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1189 default 1250
1190 help
1191 This is the PMIC voltage at Linux kernel boot.
1192
1193config MSM_FIQ_SUPPORT
1194 default y
1195 bool "Enable installation of an FIQ handler."
1196
1197config MSM_SERIAL_DEBUGGER
1198 select MSM_FIQ_SUPPORT
1199 select KERNEL_DEBUGGER_CORE
1200 default n
1201 bool "FIQ Mode Serial Debugger"
1202 help
1203 The FIQ serial debugger can accept commands even when the
1204 kernel is unresponsive due to being stuck with interrupts
1205 disabled. Depends on the kernel debugger core in drivers/misc.
1206
1207config MSM_SERIAL_DEBUGGER_CONSOLE
1208 depends on MSM_SERIAL_DEBUGGER
1209 default n
1210 bool "Console on FIQ Serial Debugger port"
1211 help
1212 Enables a console so that printk messages are displayed on
1213 the debugger serial port as the occur.
Brian Swetland9e73c842007-11-26 04:12:13 -08001214
Gregory Beanab78cde2010-09-01 16:26:12 -07001215config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001216 default y
1217 bool "Proc-Comm RPC Interface"
1218 help
1219 Enables a lightweight communications interface to the
1220 baseband processor.
Gregory Beanab78cde2010-09-01 16:26:12 -07001221
Gregory Bean1963a2a2010-08-28 10:05:44 -07001222config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001223 bool "MSM Shared Memory Driver (SMD)"
1224 help
1225 Support for the shared memory interface between the apps
1226 processor and the baseband processor. Provides access to
1227 the "shared heap", as well as virtual serial channels
1228 used to communicate with various services on the baseband
1229 processor.
1230
1231choice
1232 prompt "MSM Shared memory interface version"
1233 depends on MSM_SMD
1234 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1235 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1236
1237 config MSM_SMD_PKG3
1238 bool
1239 prompt "Package 3"
1240
1241 config MSM_SMD_PKG4
1242 bool
1243 prompt "Package 4"
1244endchoice
1245
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001246config MSM_PCIE
1247 bool "MSM PCIe Controller driver"
1248 depends on PCI && PCI_MSI
1249 help
1250 Enables the PCIe functionality by configures PCIe core on
1251 MSM chipset and by enabling the ARM PCI framework extension.
1252
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001253config MSM_RPC_SDIO_XPRT
1254 depends on MSM_SDIO_AL
1255 default y
1256 bool "MSM SDIO XPRT Layer"
1257 help
1258 SDIO Transport Layer for RPC Rouer
1259
1260config MSM_RPC_SDIO_DEBUG
1261 depends on MSM_RPC_SDIO_XPRT
1262 default y
1263 bool "MSM SDIO XPRT debug support"
1264 help
1265 Support for debugging SDIO XPRT
1266
1267config MSM_SMD_DEBUG
1268 depends on MSM_SMD
1269 default y
1270 bool "MSM SMD debug support"
1271 help
1272 Support for debugging the SMD for communication
1273 between the ARM9 and ARM11
1274
1275config MSM_SDIO_AL
1276 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1277 default y
1278 tristate "SDIO-Abstraction-Layer"
1279 help
1280 Support MSM<->MDM Communication over SDIO bus.
1281 MDM SDIO-Client should have pipes support.
1282
1283config MSM_SDIO_DMUX
1284 bool "SDIO Data Mux Driver"
1285 depends on MSM_SDIO_AL
1286 default n
1287 help
1288 Support Muxed Data Channels over SDIO interface.
1289
1290config MSM_BAM_DMUX
1291 bool "BAM Data Mux Driver"
1292 depends on SPS
1293 default n
1294 help
1295 Support Muxed Data Channels over BAM interface.
1296 BAM has a limited number of pipes. This driver
1297 provides a means to support more logical channels
1298 via muxing than BAM could without muxing.
1299
1300config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001301 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001302 default y
1303 bool "MSM N-WAY SMD support"
1304 help
1305 Supports APPS-QDSP SMD communication along with
1306 normal APPS-MODEM SMD communication.
1307
1308config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001309 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001310 default y
1311 bool "MSM N-WAY SMSM support"
1312 help
1313 Supports APPS-QDSP SMSM communication along with
1314 normal APPS-MODEM SMSM communication.
1315
1316config MSM_RESET_MODEM
1317 tristate "Reset Modem Driver"
1318 depends on MSM_SMD
1319 default m
1320 help
1321 Allows the user to reset the modem through a device node.
1322
1323config MSM_SMD_LOGGING
1324 depends on MSM_SMD
1325 default y
1326 bool "MSM Shared Memory Logger"
1327 help
1328 This option exposes the shared memory logger at /dev/smem_log
1329 and a debugfs node named smem_log.
1330
1331 If in doubt, say yes.
1332
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001333config MSM_IPC_LOGGING
1334 bool "MSM Debug Logging for IPC Drivers"
1335 help
1336 This option allows the debug logging for IPC Drivers.
1337
1338 If in doubt, say no.
1339
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001340config MSM_SMD_NMEA
1341 bool "NMEA GPS Driver"
1342 depends on MSM_SMD
1343 default y
1344 help
1345 Enable this to support the NMEA GPS device.
1346
1347 If in doubt, say yes.
1348
1349config MSM_SDIO_TTY
1350 bool "SDIO TTY Driver"
1351 depends on MSM_SDIO_AL
1352 default n
1353 help
1354 Provides a TTY driver SDIO TTY
1355 This driver can be used by user space
1356 applications for passing data through the
1357 SDIO interface.
1358
1359config MSM_SMD_TTY
1360 bool "SMD TTY Driver"
1361 depends on MSM_SMD
1362 default y
1363 help
1364 Provides TTY interfaces to interact with the modem.
1365
1366 If in doubt, say yes.
1367
1368config MSM_SMD_QMI
1369 bool "SMD QMI Driver"
1370 depends on MSM_SMD
1371 default y
1372 help
1373 Manages network data connections.
1374
1375 If in doubt, say yes.
1376
1377config MSM_SMD_PKT
1378 bool "SMD Packet Driver"
1379 depends on MSM_SMD
1380 default y
1381 help
1382 Provides a binary SMD non-muxed packet port interface.
1383
1384 If in doubt, say yes.
1385
1386config MSM_SDIO_CMUX
1387 bool "SDIO CMUX Driver"
1388 depends on MSM_SDIO_AL
1389 default n
1390 help
1391 Provides a Muxed port interface over SDIO QMI
1392
1393config MSM_DSPS
1394 bool "Sensors DSPS driver"
1395 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1396 default n
1397 help
1398 Provides user-space interface to the sensors manager
1399 to turn on/off the Sensors Processor system clocks.
1400 It is the DSPS responsibility to turn on/off the sensors
1401 themself.
1402 The number of clocks and their name may vary between targets.
1403 It also triggers the PIL to load the DSPS firmware.
1404
1405config MSM_SDIO_CTL
1406 bool "SDIO CTL Driver"
1407 depends on MSM_SDIO_CMUX
1408 default n
1409 help
1410 Provides a binary SDIO control port interface.
1411
1412config MSM_ONCRPCROUTER
1413 depends on MSM_SMD
1414 default n
1415 bool "MSM ONCRPC router support"
1416 help
1417 Support for the MSM ONCRPC router for communication between
1418 the ARM9 and ARM11
1419
1420config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001421 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001422 default n
1423 bool "MSM IPC Router support"
1424 help
1425 Support for the MSM IPC Router for communication between
1426 the APPs and the MODEM
1427
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001428config MSM_IPC_ROUTER_SMD_XPRT
1429 depends on MSM_SMD
1430 depends on MSM_IPC_ROUTER
1431 default n
1432 bool "MSM SMD XPRT Layer"
1433 help
1434 SMD Transport Layer for IPC Router
1435
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001436config MSM_ONCRPCROUTER_DEBUG
1437 depends on MSM_ONCRPCROUTER
1438 default y
1439 bool "MSM debug ONCRPC router support"
1440 help
1441 Support for debugging the ONCRPC router for communication
1442 between the ARM9 and ARM11
1443
1444config MSM_RPC_LOOPBACK_XPRT
1445 depends on MSM_ONCRPCROUTER
1446 default n
1447 bool "MSM RPC local routing support"
1448 help
1449 Support for routing RPC messages between APPS clients
1450 and APPS servers. Helps in testing APPS RPC framework.
1451
1452config MSM_RPCSERVER_TIME_REMOTE
1453 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1454 default y
1455 bool "Time remote RPC server"
1456 help
1457 The time remote server receives notification of time bases and
1458 reports these events to registered callback functions.
1459
1460config MSM_RPCSERVER_WATCHDOG
1461 depends on MSM_ONCRPCROUTER
1462 default y
1463 bool "Watchdog RPC server"
1464 help
1465 The dog_keepalive server handles watchdog events.
1466
1467config MSM_RPC_WATCHDOG
1468 depends on MSM_ONCRPCROUTER
1469 default n
1470 bool "Watchdog RPC client"
1471 help
1472 The dog_keepalive client module.
1473
1474config MSM_RPC_PING
1475 depends on MSM_ONCRPCROUTER && DEBUG_FS
1476 default m
1477 bool "MSM rpc ping"
1478 help
1479 Implements MSM rpc ping test module.
1480
1481config MSM_RPC_PROC_COMM_TEST
1482 depends on DEBUG_FS && MSM_PROC_COMM
1483 default m
1484 bool "MSM rpc proc comm test"
1485 help
1486 Implements MSM rpc proc comm test module.
1487
1488config MSM_RPC_OEM_RAPI
1489 depends on MSM_ONCRPCROUTER
1490 default m
1491 bool "MSM oem rapi"
1492 help
1493 Implements MSM oem rapi client module.
1494
1495config MSM_RPCSERVER_HANDSET
1496 depends on MSM_ONCRPCROUTER
1497 default y
1498 bool "Handset events RPC server"
1499 help
1500 Support for receiving handset events like headset detect,
1501 headset switch and clamshell state.
1502
1503config MSM_RMT_STORAGE_CLIENT
1504 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1505 default n
1506 bool "Remote Storage RPC client"
1507 help
1508 Provide RPC mechanism for remote processors to access storage
1509 device on apps processor.
1510
1511config MSM_RMT_STORAGE_CLIENT_STATS
1512 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1513 default n
1514 bool "Remote storage RPC client performance statistics"
1515 help
1516 Collects performance statistics and shows this information
1517 through a debugfs file rmt_storage_stats.
1518
1519config MSM_SDIO_SMEM
1520 depends on MSM_SDIO_AL
1521 default n
1522 bool "SDIO SMEM for remote storage"
1523 help
1524 Copies data from remote MDM9K memory to local MSM8x60
1525 memory. Used by remote storage client to shadow
1526 MDM9K filesystem.
1527
1528config MSM_DALRPC
1529 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001530 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001531 help
1532 Supports RPC calls to DAL devices on remote processor cores.
1533
1534config MSM_DALRPC_TEST
1535 tristate "DAL RPC test module"
1536 depends on (MSM_DALRPC && DEBUG_FS)
1537 default m
1538 help
1539 Exercises DAL RPC calls to QDSP6.
1540
1541if CPU_FREQ_MSM
1542
1543config MSM_CPU_FREQ_SET_MIN_MAX
1544 bool "Set Min/Max CPU frequencies."
1545 default n
1546 help
1547 Allow setting min and max CPU frequencies. Sysfs can be used
1548 to override these values.
1549
1550config MSM_CPU_FREQ_MAX
1551 int "Max CPU Frequency"
1552 depends on MSM_CPU_FREQ_SET_MIN_MAX
1553 default 384000
1554
1555config MSM_CPU_FREQ_MIN
1556 int "Min CPU Frequency"
1557 depends on MSM_CPU_FREQ_SET_MIN_MAX
1558 default 245760
1559
1560endif # CPU_FREQ_MSM
1561
1562config MSM_CPU_AVS
1563 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1564 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1565 depends on ARCH_QSD8X50
1566 default n
1567 select MSM_AVS_HW
1568 help
1569 This enables the s/w control of Adaptive Voltage Scaling feature
1570 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1571 based on feedback from three ring oscillators in the CPU.
1572
1573config MSM_AVS_HW
1574 bool "Enable Adaptive Voltage Scaling (AVS)"
1575 default n
1576 help
1577 Enable AVS hardware to fine tune voltage at each frequency. The
1578 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1579 fine tune the voltages based on the feedback from the ring
1580 oscillators.
1581
1582config MSM_HW3D
1583 tristate "MSM Hardware 3D Register Driver"
1584 depends on ANDROID_PMEM
1585 default y
1586 help
1587 Provides access to registers needed by the userspace OpenGL|ES
1588 library.
1589
1590config MSM_ADSP
1591 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1592 tristate "MSM ADSP driver"
1593 depends on ANDROID_PMEM
1594 default y
1595 help
1596 Provides access to registers needed by the userspace aDSP library.
1597
1598config ADSP_RPC_VER
1599 hex
1600 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1601 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1602 depends on MSM_ADSP
1603 help
1604 Select proper ADSP RPC version
1605choice
1606 prompt "ADSP RPC version"
1607
1608 default AMSS_7X25_VERSION_2009
1609
1610 config AMSS_7X25_VERSION_2009
1611 bool "2.0.09"
1612
1613 config AMSS_7X25_VERSION_2008
1614 bool "2.0.08"
1615endchoice
1616
1617config MSM7KV2_AUDIO
1618 bool "MSM7K v2 audio"
1619 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1620 default y
1621 help
1622 Enables QDSP5V2-based audio drivers for audio playbacks and
1623 voice call.
1624
1625config MSM_ADSP_REPORT_EVENTS
1626 bool "Report modem events from the DSP"
1627 default y
1628 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1629 help
1630 Normally, only messages from the aDSP are reported to userspace.
1631 With this option, we report events from the aDSP as well.
1632
1633config MSM_QDSP6
1634 tristate "QDSP6 support"
1635 depends on ARCH_QSD8X50 && ANDROID_PMEM
1636 default y
1637 help
1638 Enable support for qdsp6. This provides audio and video functionality.
1639
1640config MSM8X60_AUDIO
1641 tristate "MSM8X60 audio support"
1642 depends on ARCH_MSM8X60 && ANDROID_PMEM
1643 default y
1644 help
1645 Enable support for qdsp6v2. This provides audio functionality.
1646
1647config MSM8X60_FTM_AUDIO_DEVICES
1648 bool "MSM8X60 audio factory test mode support"
1649 depends on MSM8X60_AUDIO
1650 help
1651 Enable support audio factory test mode devices. This is used
1652 in a production line environment.
1653
Ben Romberger45b351c2011-07-20 22:37:27 -07001654config RTAC
1655 bool "MSM8K real-time audio calibration support"
1656 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001657 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001658 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001659 audio operation
1660
1661config MSM7X27A_AUDIO
1662 bool "MSM7X27A audio support"
1663 depends on ARCH_MSM7X27A && MSM_ADSP
1664 default n
1665 help
1666 Enable support for 7x27a. This provides audio functionality.
1667
Justin Pauporea6cd2092011-06-22 16:19:45 -07001668config MSM_PROC_COMM_REGULATOR
Gregory Bean1963a2a2010-08-28 10:05:44 -07001669 bool
Justin Pauporea6cd2092011-06-22 16:19:45 -07001670 depends on MSM_PROC_COMM && REGULATOR
1671 help
1672 Enable regulator framework support for regulators managed by PMLIB
1673 on the modem, and controlled through proccomm calls.
1674
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001675config MSM_VREG_SWITCH_INVERTED
1676 bool "Reverse vreg switch polarity"
1677 default n
1678 help
1679 Reverses the enable and disable for vreg switch.
1680
1681config MSM_DMA_TEST
1682 tristate "MSM DMA test module"
1683 default m
1684 help
1685 Intended to be compiled as a module. Provides a device node
1686 and ioctls for testing the MSM dma system.
1687
1688config WIFI_CONTROL_FUNC
1689 bool "Enable WiFi control function abstraction"
1690 help
1691 Enables Power/Reset/Carddetect function abstraction
1692
1693config WIFI_MEM_PREALLOC
1694 depends on WIFI_CONTROL_FUNC
1695 bool "Preallocate memory for WiFi buffers"
1696 help
1697 Preallocates memory buffers for WiFi driver
1698
1699config QSD_AUDIO
1700 bool "QSD audio"
1701 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1702 default y
1703 help
1704 Provides PCM, MP3, and AAC audio playback.
1705
1706config AUDIO_AAC_PLUS
1707 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1708 bool "AAC+ Audio"
1709 default y
1710 help
1711 Provides AAC+ decoding
1712
1713config AUDIO_ENHANCED_AAC_PLUS
1714 depends on AUDIO_AAC_PLUS
1715 bool "Enhanced AAC+ Audio"
1716 default y
1717 help
1718 Provides Enhanced AAC+ decoding
1719
1720config SURF_FFA_GPIO_KEYPAD
1721 bool "MSM SURF/FFA GPIO keypad"
1722 depends on INPUT_GPIO = "y"
1723 default y
1724 help
1725 Select if the GPIO keypad is attached.
1726
1727config MSM_SLEEP_TIME_OVERRIDE
1728 bool "Allow overriding suspend/sleep time with PM module parameter"
1729 default y
1730 help
1731 Enable the module parameter sleep_time_override. Specified
1732 in units of seconds, it overwrites the normal sleep time of
1733 suspend. The feature is required for automated power management
1734 testing.
1735
1736config MSM_MEMORY_LOW_POWER_MODE
1737 bool "Control the low power modes of memory"
1738 default n
1739 help
1740 The application processor controls whether memory should enter
1741 which low power mode.
1742
1743choice
1744 prompt "Default Memory Low Power Mode during Idle"
1745 depends on MSM_MEMORY_LOW_POWER_MODE
1746 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1747 help
1748 Selects the default low power mode of the memory during idle
1749 sleep.
1750
1751 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1752 bool "Memory active"
1753
1754 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1755 bool "Memory in retention"
1756
1757 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1758 bool "Memory in deep power down"
1759endchoice
1760
1761choice
1762 prompt "Default Memory Low Power Mode during Suspend"
1763 depends on MSM_MEMORY_LOW_POWER_MODE
1764 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1765 help
1766 Selects the default low power mode of the memory during suspend
1767 sleep.
1768
1769 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1770 bool "Memory active"
1771
1772 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1773 bool "Memory in retention"
1774
1775 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1776 bool "Memory in deep power down"
1777endchoice
1778
1779choice
1780 prompt "Power management timeout action"
1781 default MSM_PM_TIMEOUT_HALT
1782 help
1783 Selects the Application Processor's action when Power Management
1784 times out waiting for Modem's handshake.
1785
1786 config MSM_PM_TIMEOUT_HALT
1787 bool "Halt the Application Processor"
1788
1789 config MSM_PM_TIMEOUT_RESET_MODEM
1790 bool "Reset the Modem Processor"
1791
1792 config MSM_PM_TIMEOUT_RESET_CHIP
1793 bool "Reset the entire chip"
1794endchoice
1795
1796config MSM_IDLE_WAIT_ON_MODEM
1797 int "Wait for Modem to become ready for idle power collapse"
1798 default 0
1799 help
1800 If Modem is not ready to handle Application Processor's request
1801 for idle power collapse, wait the number of microseconds in case
1802 Modem becomes ready soon.
1803
Matt Wagantall9274df92011-12-15 11:11:05 -08001804config MSM_RPM_REGULATOR
1805 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001806 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001807 help
1808 Compile in support for the RPM regulator driver, used for setting
1809 voltages and other parameters of the various power rails supplied
1810 by some Qualcomm PMICs.
1811
David Collinsc7642322012-04-04 10:19:12 -07001812config MSM_RPM_REGULATOR_SMD
1813 bool "SMD RPM regulator driver"
1814 depends on REGULATOR
1815 depends on OF
1816 depends on MSM_RPM_SMD
1817 help
1818 Compile in support for the SMD RPM regulator driver which is used for
1819 setting voltages and other parameters of the various power rails
1820 supplied by some Qualcomm PMICs. The SMD RPM regulator driver should
1821 be used on systems which contain an RPM which communicates with the
1822 application processor over SMD.
1823
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001824config MSM_PIL
1825 bool "Peripheral image loading"
1826 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001827 default n
1828 help
1829 Some peripherals need to be loaded into memory before they can be
1830 brought out of reset.
1831
1832 Say yes to support these devices.
1833
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001834config MSM_PIL_MODEM
1835 tristate "Modem (ARM11) Boot Support"
1836 depends on MSM_PIL
1837 help
1838 Support for booting and shutting down ARM11 Modem processors.
1839
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001840config MSM_PIL_QDSP6V3
1841 tristate "QDSP6v3 (Hexagon) Boot Support"
1842 depends on MSM_PIL
1843 help
1844 Support for booting and shutting down QDSP6v3 processors (hexagon).
1845 The QDSP6 is a low power DSP used in audio software applications.
1846
Stephen Boydeb819882011-08-29 14:46:30 -07001847config MSM_PIL_QDSP6V4
1848 tristate "QDSP6v4 (Hexagon) Boot Support"
1849 depends on MSM_PIL
1850 help
1851 Support for booting and shutting down QDSP6v4 processors (hexagon).
1852 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1853 software applications.
1854
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001855config MSM_PIL_LPASS_QDSP6V5
1856 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
1857 depends on MSM_PIL
1858 help
Matt Wagantall4e2599e2012-03-21 22:31:35 -07001859 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1860 in low power audio subsystems.
1861
1862config MSM_PIL_MSS_QDSP6V5
1863 tristate "MSS QDSP6v5 (Hexagon) Boot Support"
1864 depends on MSM_PIL
1865 help
1866 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1867 in modem subsystems.
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001868
Matt Wagantalle6e00d52012-03-08 17:39:07 -08001869config MSM_PIL_MBA
1870 tristate "Support for modem self-authentication"
1871 depends on MSM_PIL_MSS_QDSP6V5
1872 help
1873 Support for booting self-authenticating modems using the Modem Boot
1874 Authenticator.
Stephen Boyd322a9922011-09-20 01:05:54 -07001875
1876config MSM_PIL_RIVA
Stephen Boydd89eebe2011-09-28 23:28:11 -07001877 tristate "RIVA (WCNSS) Boot Support"
1878 depends on MSM_PIL
1879 help
1880 Support for booting and shutting down the RIVA processor (WCNSS).
1881 Riva is the wireless subsystem processor used in bluetooth, wireless
1882 LAN, and FM software applications.
1883
1884config MSM_PIL_TZAPPS
1885 tristate "TZApps Boot Support"
1886 depends on MSM_PIL
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07001887 help
1888 Support for booting and shutting down TZApps.
1889
1890 TZApps is an image that runs in the secure processor state. It is
1891 used to decrypt data and perform secure operations on the behalf of
1892 the kernel.
1893
1894config MSM_PIL_DSPS
1895 tristate "DSPS Boot Support"
Stephen Boyd7b973de2012-03-09 12:26:16 -08001896 depends on MSM_PIL
1897 help
1898 Support for booting and shutting down ARM7 DSPS processors.
1899
1900 DSPS is a sensors offloading processor used for applications such
1901 as rotation detection, temperature, etc.
Matt Wagantall292aace2012-01-26 19:12:34 -08001902
1903config MSM_PIL_VIDC
1904 tristate "Video Core Secure Boot Support"
1905 depends on MSM_PIL
1906 help
1907 Support for authenticating the video core image.
1908
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001909config MSM_PIL_GSS
1910 tristate "GSS (Coretx A5) Boot Support"
1911 depends on MSM_PIL
1912 help
1913 Support for booting and shutting down Cortex A5 processors which run
1914 GPS subsystem firmware.
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001915
Tianyi Gouc1e049f82011-11-23 14:20:16 -08001916config MSM_PIL_PRONTO
1917 tristate "PRONTO (WCNSS) Boot Support"
1918 depends on MSM_PIL
1919 help
1920 Support for booting and shutting down the PRONTO processor (WCNSS).
1921 PRONTO is the wireless subsystem processor used in bluetooth, wireless
1922 LAN, and FM software applications.
1923
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001924config MSM_SCM
1925 bool "Secure Channel Manager (SCM) support"
1926 default n
1927
1928config MSM_SUBSYSTEM_RESTART
1929 bool "MSM Subsystem Restart Driver"
1930 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
1931 default n
1932 help
1933 This option enables the MSM subsystem restart driver, which provides
1934 a framework to handle subsystem crashes.
1935
Matt Wagantallf8020902011-08-30 21:19:23 -07001936config MSM_SYSMON_COMM
1937 bool "MSM System Monitor communication support"
1938 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1939 default y
1940 help
1941 This option adds support for MSM System Monitor library, which
1942 provides an API that may be used for notifying subsystems within
1943 the SoC about other subsystems' power-up/down state-changes.
1944
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001945config MSM_MODEM_8960
1946 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001947 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001948 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001949 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001950 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001951 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001952
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001953config MSM_LPASS_8960
1954 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001955 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001956 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001957 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001958 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001959 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001960
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001961config MSM_WCNSS_SSR_8960
1962 tristate "MSM 8960 WCNSS restart module"
1963 depends on (ARCH_MSM8960)
1964 help
1965 This option enables the WCNSS restart module for MSM8960, which
1966 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1967 into the subsystem restart framework.
1968
Rohit Vaswanid0fb4182012-03-19 18:07:59 -07001969config MSM_GSS_SSR_8064
1970 bool "MSM 8064 GSS restart driver"
1971 depends on (ARCH_APQ8064)
1972 help
1973 This option enables the gps subsystem restart driver for APQ8064, which monitors
1974 gss hardware watchdog interrupt lines and plugs into the subsystem
1975 restart and PIL drivers.
1976
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001977config SCORPION_Uni_45nm_BUG
1978 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1979 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1980 default y
1981 help
1982 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1983 invalidating the Branch Predictor Array by Modified Virtual Address can
1984 create invalid entries in the TLB with the wrong ASID values on Scorpion
1985 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1986 workaround for Scorpion Uniprocessor 45nm cores.
1987
1988 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1989
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001990config MSM_BUSPM_DEV
1991 tristate "MSM Bus Performance Monitor Kernel Module"
1992 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1993 default m
1994 help
1995 This kernel module is used to mmap() hardware registers for the
1996 performance monitors, counters, etc. The module can also be used to
1997 allocate physical memory which is used by bus performance hardware to
1998 dump performance data.
1999
Mona Hossain11c03ac2011-10-26 12:42:10 -07002000config MSM_TZ_LOG
2001 tristate "MSM Trust Zone (TZ) Log Driver"
2002 depends on DEBUG_FS
2003 help
2004 This option enables a driver with a debugfs interface for messages
2005 produced by the Secure code (Trust zone). These messages provide
2006 diagnostic information about TZ operation.
2007
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002008config MSM_RPM_LOG
2009 tristate "MSM Resource Power Manager Log Driver"
2010 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002011 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002012 default n
2013 help
2014 This option enables a driver which can read from a circular buffer
2015 of messages produced by the RPM. These messages provide diagnostic
2016 information about RPM operation. The driver outputs the messages
2017 via a debugfs node.
2018
2019config MSM_RPM_STATS_LOG
2020 tristate "MSM Resource Power Manager Stat Driver"
2021 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002022 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002023 default n
2024 help
2025 This option enables a driver which reads RPM messages from a shared
2026 memory location. These messages provide statistical information about
2027 the low power modes that RPM enters. The drivers outputs the message
2028 via a debugfs node.
2029
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002030config MSM_DIRECT_SCLK_ACCESS
2031 bool "Direct access to the SCLK timer"
2032 default n
2033
2034config IOMMU_API
2035 bool
Gregory Bean1963a2a2010-08-28 10:05:44 -07002036
Brian Swetland9e73c842007-11-26 04:12:13 -08002037config MSM_GPIOMUX
2038 bool
2039
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002040config MSM_SECURE_IO
Brian Swetland9e73c842007-11-26 04:12:13 -08002041 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002042
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002043config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002044 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002045
Matt Wagantall88b86312012-01-31 16:53:03 -08002046config MSM_PM2
2047 depends on PM
2048 bool
2049
2050config MSM_PM8X60
2051 depends on PM
2052 bool
2053
2054config MSM_NOPM
2055 default y if !PM
2056 bool
2057
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002058config MSM_BUS_SCALING
2059 bool "Bus scaling driver"
2060 default n
2061
Gagan Mac85c70492011-06-10 16:07:47 -06002062config MSM_BUS_RPM_MULTI_TIER_ENABLED
2063 bool "RPM Multi-tiering Configuration"
2064 depends on MSM_BUS_SCALING
2065
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002066config MSM_WATCHDOG
2067 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002068 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002069 help
2070 This enables the watchdog as is present on 8x60. Currently we use
2071 core 0's watchdog, and reset the entire SoC if it times out. It does
2072 not run during the bootup process, so it will not catch any early
2073 lockups.
2074
2075config MSM_DLOAD_MODE
2076 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07002077 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002078 default n
2079 help
2080 This makes the SoC enter download mode when it resets
2081 due to a kernel panic. Note that this doesn't by itself
2082 make the kernel reboot on a kernel panic - that must be
2083 enabled via another mechanism.
2084
Pratik Patel17f3b822011-11-21 12:41:47 -08002085config MSM_JTAG
Pratik Patel2963de42012-05-17 12:43:40 -07002086 bool "JTAG and kernel debug and trace support across power collapse"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002087 help
Pratik Patel2963de42012-05-17 12:43:40 -07002088 Enables support for kernel debugging (specifically breakpoints) and
2089 processor tracing across power collapse both for JTag and OS hosted
2090 software running on the target. Enabling this will ensure debug
2091 and ETM registers are saved and restored across power collapse.
2092
2093 For production builds, you should probably say 'N' here to avoid
2094 potential power, performance and memory penalty.
Pratik Patel7831c082011-06-08 21:44:37 -07002095
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002096config MSM_ETM
2097 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002098 depends on ARCH_MSM8X60
2099 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002100 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002101 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002102
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002103config MSM_SLEEP_STATS
2104 bool "Enable exporting of MSM sleep stats to userspace"
2105 depends on CPU_IDLE
2106 default n
2107
Lynus Vazdde09ee2012-01-05 13:28:22 +05302108config MSM_SLEEP_STATS_DEVICE
2109 bool "Enable exporting of MSM sleep device stats to userspace"
2110
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302111config MSM_RUN_QUEUE_STATS
2112 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Krishna Vankae2922052012-03-02 09:59:12 +05302113 depends on (MSM_SOC_REV_A || ARCH_MSM8X60 || ARCH_MSM8960)
2114 help
2115 This option enalbes statistics collection on Run Queue. A daemon
2116 in user mode, called MPDecision will be using this data to decide
2117 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302118
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002119config MSM_STANDALONE_POWER_COLLAPSE
2120 bool "Enable standalone power collapse"
2121 default n
2122
2123config MSM_GSBI9_UART
2124 bool "Enable GSBI9 UART device"
2125 default n
2126 help
2127 This enables GSBI9 configured into UART.
2128
2129config MSM_SHARED_GPIO_FOR_UART2DM
2130 bool "Use shared GPIOs into UART mode"
2131 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2132 help
2133 This option configures GPIO muxed with SDC4/MMC3
2134 8-bit mode into UART mode. It is used for serial
2135 console on UART2DM. Say Y if you want to have
2136 serial console on UART2DM.
2137
2138config MSM_SHOW_RESUME_IRQ
2139 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002140 depends on (ARM_GIC || PMIC8058)
2141 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002142 default n
2143 help
2144 This option logs wake up interrupts that have triggered just before
2145 the resume loop unrolls. Say Y if you want to debug why the system
2146 resumed.
2147
2148config BT_MSM_PINTEST
2149 tristate "MSM Bluetooth Pin Connectivity Test"
2150 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2151 default n
2152 help
2153 Bluetooth MSM Pin Connectivity test module.
2154 This driver provides support for verifying the MSM to BT pin
2155 connectivity.
2156
2157config MSM_FAKE_BATTERY
2158 depends on POWER_SUPPLY
2159 default n
2160 bool "MSM Fake Battery"
2161 help
2162 Enables MSM fake battery driver.
2163
2164config MSM_QDSP6_APR
2165 bool "Audio QDSP6 APR support"
2166 depends on MSM_SMD
2167 default n
2168 help
2169 Enable APR IPC protocol support between
2170 application processor and QDSP6. APR is
2171 used by audio driver to configure QDSP6's
2172 ASM, ADM and AFE.
2173
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -07002174config MSM_QDSP6_CODECS
2175 bool "Audio Codecs on QDSP6 APR "
2176 depends on MSM_SMD
2177 default n
2178 help
2179 Enable Audio codecs with APR IPC protocol support between
2180 application processor and QDSP6. APR is
2181 used by audio driver to configure QDSP6's
2182 ASM, ADM and AFE.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002183
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002184config MSM_QDSP6V2_CODECS
2185 bool "Audio QDSP6V2 APR support"
2186 depends on MSM_SMD
2187 help
2188 Enable Audio codecs with APR IPC protocol support between
2189 application processor and QDSP6 for B-family. APR is
2190 used by audio driver to configure QDSP6's
2191 ASM, ADM and AFE.
2192
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002193config MSM_AUDIO_QDSP6
2194 bool "QDSP6 HW Audio support"
2195 select SND_SOC_MSM_QDSP6_INTF
2196 default n
2197 help
2198 Enable HW audio support in QDSP6.
2199 QDSP6 can support HW encoder & decoder and audio processing
2200
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002201config MSM_AUDIO_QDSP6V2
2202 bool "QDSP6V2 HW Audio support"
2203 select SND_SOC_MSM_QDSP6V2_INTF
2204 help
2205 Enable HW audio support in QDSP6V2.
2206 QDSP6V2 can support HW encoder & decoder and
2207 audio processing. It will enable support for
2208 AAC, AMRNB, AMRWB, EVRC, MP3, QCELP among
2209 others.
2210
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002211config MSM_ULTRASOUND
2212 bool "MSM ultrasound support"
2213 depends on MSM_AUDIO_QDSP6
2214 help
2215 Enable support for qdsp6/ultrasound.
2216
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002217config MSM_RPC_VIBRATOR
2218 bool "RPC based MSM Vibrator Support"
2219 depends on MSM_ONCRPCROUTER
2220 help
2221 Enable the vibrator support on MSM over RPC. The vibrator
2222 is connected on the PMIC. Say Y if you want to enable this
2223 feature.
2224
2225config PM8XXX_RPC_VIBRATOR
2226 bool "RPC based Vibrator on PM8xxx PMICs"
2227 depends on MSM_RPC_VIBRATOR
2228 help
2229 Enable the vibrator support on MSM over RPC. The vibrator
2230 is connected on the PM8XXX PMIC. Say Y if you want to enable
2231 this feature.
2232
2233config MSM_SPM_V1
2234 bool "Driver support for SPM Version 1"
2235 help
2236 Enables the support for Version 1 of the SPM driver. SPM hardware is
2237 used to manage the processor power during sleep. The driver allows
2238 configuring SPM to allow different power modes.
2239
2240config MSM_SPM_V2
2241 bool "Driver support for SPM Version 2"
2242 help
2243 Enables the support for Version 2 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_L2_SPM
2248 bool "SPM support for L2 cache"
2249 depends on MSM_SPM_V2
2250 help
2251 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2252 control of L2 cache low power mode with a Subsystem Power manager.
2253 Enabling this driver allows configuring L2 SPM for low power modes
2254 on supported chipsets.
2255
Laura Abbott2d1760b2011-09-29 21:31:24 -07002256config MSM_MULTIMEDIA_USE_ION
2257 bool "Multimedia suport using Ion"
2258 depends on ION_MSM
2259 help
2260 Enable support for multimedia drivers using Ion for buffer management
2261 instead of pmem. Selecting this may also involve userspace
2262 dependencies as well.
2263
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002264config MSM_OCMEM
2265 bool "MSM On-Chip memory driver (OCMEM)"
2266 help
2267 Enable support for On-Chip Memory available on certain MSM chipsets.
2268 OCMEM is a low latency, high performance pool shared by subsystems.
2269
Laura Abbottad340ff2012-01-04 14:23:48 -08002270config MSM_RTB
2271 bool "Register tracing"
2272 help
2273 Add support for logging different events to a small uncached
2274 region. This is designed to aid in debugging reset cases where the
2275 caches may not be flushed before the target resets.
2276
2277config MSM_RTB_SEPARATE_CPUS
2278 bool "Separate entries for each cpu"
2279 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002280 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002281 help
2282 Under some circumstances, it may be beneficial to give dedicated space
2283 for each cpu to log accesses. Selecting this option will log each cpu
2284 separately. This will guarantee that the last acesses for each cpu
2285 will be logged but there will be fewer entries per cpu
2286
Stepan Moskovchenko57884842012-06-07 17:35:49 -07002287config MSM_EBI_ERP
2288 bool "External Bus Interface (EBI) error reporting"
2289 help
2290 Say 'Y' here to enable reporting of external bus interface errors to
2291 the kernel log. Information such as the offending address and
2292 transaction type will be logged. This may be useful for debugging
2293 seemingly broken memory accesses.
2294
2295 For production builds, you should probably say 'N' here.
2296
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002297config MSM_CACHE_ERP
2298 bool "Cache / CPU error reporting"
2299 depends on ARCH_MSM_KRAIT
2300 help
2301 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2302 log. Enabling this feature can be used as a system debugging technique
2303 if cache corruption is suspected. Cache error statistics will also be
2304 reported in /proc/cpu/msm_cache_erp.
2305
2306 For production builds, you should probably say 'N' here.
2307
2308config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002309 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002310 depends on MSM_CACHE_ERP
2311 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002312 To cause the kernel to panic whenever an L1 cache error is detected, say
2313 'Y' here. This may be useful as a debugging technique if general system
2314 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002315
2316 For production builds, you should probably say 'N' here.
2317
Stepan Moskovchenko7035f652012-05-31 17:48:01 -07002318config MSM_L1_ERR_LOG
2319 bool "Log CPU ERP events to system memory"
2320 depends on MSM_CACHE_ERP
2321 help
2322 Enable logging CPU ERP events to an area of memory that will be
2323 preserved across a system reset. This may be useful for detecting and
2324 troubleshooting ERP-related system crashes in the field.
2325
2326 For production builds, you may want to say 'Y' here.
2327
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002328config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2329 bool "Report L2 master port slave/decode errors in kernel log"
2330 depends on MSM_CACHE_ERP
2331 help
2332 Master port errors can occur when a memory request is not properly
2333 handled by the destination slave. This can occur if the destination
2334 register does not exist or is inaccessible due to security
2335 restrictions or (in some cases) clock configuration. Enabling this
2336 option will cause a backtrace to be printed to the kernel log whenever
2337 such an error is encountered. Note that the error is reported as an
2338 interrupt rather than as an exception, meaning that the backtrace may
2339 have some skid. This option may help with debugging, though production
2340 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002341
2342config MSM_L2_ERP_PORT_PANIC
2343 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002344 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002345 help
2346 Master port errors can occur when a memory request is not properly
2347 handled by the destination slave. Enable this option to catch drivers
2348 which attempt to access bad areas of the address space, or access
2349 hardware registers in an improper state (such as certain clocks not
2350 being on). This option may help with debugging, though production
2351 builds should probably say 'N' here.
2352
2353config MSM_L2_ERP_1BIT_PANIC
2354 bool "Panic on recoverable L2 soft errors"
2355 depends on MSM_CACHE_ERP
2356 help
2357 Enable this option to cause a kernel panic whenever the L2 cache
2358 encounters a single-bit (correctable) soft error. This option should
2359 only be enabled when doing low-level debugging where cache corruption
2360 is suspected.
2361
2362 For production builds, you should definitely say 'N' here.
2363
2364config MSM_L2_ERP_2BIT_PANIC
2365 bool "Panic on unrecoverable L2 soft errors"
2366 depends on MSM_CACHE_ERP
2367 help
2368 Enable this option to cause a kernel panic whenever the L2 cache
2369 encounters a double-bit (non-correctable) soft error. Debug builds
2370 will likely benefit from having this option enabled to catch cache
2371 problems as soon as possible.
2372
2373 For production builds, it may be acceptable to say 'N' here, since
2374 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002375
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002376config MSM_DCVS
2377 bool "Use MSM DCVS for CPU/GPU Frequency control"
2378 depends on MSM_SCM
2379 help
2380 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2381 The DCVS manager allows idle driver to feed the idle information to the
2382 algorithm and the algorithm returns a frequency for the core which is
2383 passed to the frequency change driver.
2384
Taniya Dasc43e6872012-03-21 16:41:14 +05302385config HAVE_ARCH_HAS_CURRENT_TIMER
2386 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002387
2388config MSM_CACHE_DUMP
2389 bool "Cache dumping support"
2390 help
2391 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2392 This allows for analysis of the caches in case cache corruption is
2393 suspected.
2394
Laura Abbott7b637362012-03-29 16:43:49 -07002395config MSM_CACHE_DUMP_ON_PANIC
2396 bool "Dump caches on panic"
2397 depends on MSM_CACHE_DUMP
2398 help
2399 By default, the caches are flushed on panic. This means that trying to
2400 look at them in a RAM dump will give useless data. Select this if you
2401 want to dump the L1 and L2 caches on panic before any flush occurs.
2402 If unsure, say N
2403
Jack Phamccbbfab2012-04-09 19:50:20 -07002404config MSM_HSIC_SYSMON
2405 tristate "MSM HSIC system monitor driver"
2406 depends on USB
2407 help
2408 Add support for bridging with the system monitor interface of MDM
2409 over HSIC. This driver allows the local system monitor to
2410 communicate with the remote system monitor interface.
2411
2412config MSM_HSIC_SYSMON_TEST
2413 tristate "MSM HSIC system monitor bridge test"
2414 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2415 help
2416 Enable the test hook for the Qualcomm system monitor HSIC driver.
2417 This will create a debugfs file entry named "hsic_sysmon_test" which
2418 can be read and written to send character data to the sysmon port of
2419 the modem over USB.
2420
Brian Swetland9e73c842007-11-26 04:12:13 -08002421endif