blob: cdc435c0b6dfaa0aac85b11a487dfe1204244652 [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
Taniya Dascd1d0232012-07-03 17:50:47 +053042 select MSM_MODEM_RESTART
Daniel Walkerbf83de42010-03-16 16:29:44 -070043
Daniel Walker7b521612010-05-06 12:44:57 -070044config ARCH_MSM7X30
45 bool "MSM7x30"
46 select ARCH_MSM_SCORPION
Daniel Walker7b521612010-05-06 12:44:57 -070047 select MSM_VIC
48 select CPU_V7
David Brown74d10d72011-05-16 13:57:39 -070049 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070050 select MSM_REMOTE_SPINLOCK_DEKKERS
51 select ARCH_SPARSEMEM_ENABLE
Laura Abbott78593b52011-09-26 18:48:14 -070052 select ARCH_HAS_HOLES_MEMORYMODEL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070053 select MEMORY_HOTPLUG
54 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -080055 select ARCH_ENABLE_MEMORY_HOTPLUG
56 select ARCH_ENABLE_MEMORY_HOTREMOVE
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070057 select MIGRATION
58 select ARCH_MEMORY_PROBE
59 select ARCH_MEMORY_REMOVE
Gregory Beanab78cde2010-09-01 16:26:12 -070060 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070061 select RESERVE_FIRST_PAGE
62 select MSM_DALRPC
63 select MSM_SPM_V1
64 select REGULATOR
Justin Paupore637a25d2011-07-14 17:11:04 -070065 select MSM_PROC_COMM_REGULATOR
Taniya Dasbae99fb2011-10-12 09:55:13 +053066 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -080067 select MSM_PM2 if PM
Chintan Pandyabb021762012-06-21 15:03:29 +053068 select HOLES_IN_ZONE if SPARSEMEM
Taniya Dascd1d0232012-07-03 17:50:47 +053069 select MSM_MODEM_RESTART
Daniel Walker7b521612010-05-06 12:44:57 -070070
Daniel Walker4ad15e62010-05-06 13:54:17 -070071config ARCH_QSD8X50
72 bool "QSD8X50"
73 select ARCH_MSM_SCORPION
Daniel Walker4ad15e62010-05-06 13:54:17 -070074 select MSM_VIC
75 select CPU_V7
David Brown74d10d72011-05-16 13:57:39 -070076 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070077 select MSM_REMOTE_SPINLOCK_LDREX
78 select CPU_USE_DOMAINS
79 select EMULATE_DOMAIN_MANAGER_V7
Gregory Beanab78cde2010-09-01 16:26:12 -070080 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070081 select MSM_DALRPC
Matt Wagantall88b86312012-01-31 16:53:03 -080082 select MSM_PM2 if PM
Taniya Dascd1d0232012-07-03 17:50:47 +053083 select MSM_MODEM_RESTART
Daniel Walker46fe5f22010-08-18 11:00:25 -070084
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070085config ARCH_MSM8X60
86 bool "MSM8X60"
Jeff Ohlsteine14411d2010-11-30 13:06:36 -080087 select ARCH_MSM_SCORPIONMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070088 select SMP_PARALLEL_START if SMP
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070089 select ARM_GIC
90 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070091 select MSM_REMOTE_SPINLOCK_LDREX
92 select ARCH_REQUIRE_GPIOLIB
93 select MSM_ADM3
94 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -080095 select MSM_RPM_REGULATOR
David Brown1a5ab4b2011-05-16 15:53:38 -070096 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070097 select MSM_PIL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070098 select ARCH_HAS_CPU_IDLE_WAIT
99 select MSM_DIRECT_SCLK_ACCESS
100 select MSM_RPM
101 select MSM_XO
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700102 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700103 select MSM_BUS_SCALING
104 select MSM_SECURE_IO
105 select MSM_DALRPC
106 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700107 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700108 select MSM_NATIVE_RESTART
109 select ARCH_INLINE_SPIN_TRYLOCK
110 select ARCH_INLINE_SPIN_TRYLOCK_BH
111 select ARCH_INLINE_SPIN_LOCK
112 select ARCH_INLINE_SPIN_LOCK_BH
113 select ARCH_INLINE_SPIN_LOCK_IRQ
114 select ARCH_INLINE_SPIN_LOCK_IRQSAVE
115 select ARCH_INLINE_SPIN_UNLOCK
116 select ARCH_INLINE_SPIN_UNLOCK_BH
117 select ARCH_INLINE_SPIN_UNLOCK_IRQ
118 select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
119 select ARCH_INLINE_READ_TRYLOCK
120 select ARCH_INLINE_READ_LOCK
121 select ARCH_INLINE_READ_LOCK_BH
122 select ARCH_INLINE_READ_LOCK_IRQ
123 select ARCH_INLINE_READ_LOCK_IRQSAVE
124 select ARCH_INLINE_READ_UNLOCK
125 select ARCH_INLINE_READ_UNLOCK_BH
126 select ARCH_INLINE_READ_UNLOCK_IRQ
127 select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
128 select ARCH_INLINE_WRITE_TRYLOCK
129 select ARCH_INLINE_WRITE_LOCK
130 select ARCH_INLINE_WRITE_LOCK_BH
131 select ARCH_INLINE_WRITE_LOCK_IRQ
132 select ARCH_INLINE_WRITE_LOCK_IRQSAVE
133 select ARCH_INLINE_WRITE_UNLOCK
134 select ARCH_INLINE_WRITE_UNLOCK_BH
135 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
136 select CPU_HAS_L2_PMU
137 select MSM_SPM_V1
Stephen Boyd2a1eb582010-08-27 10:01:23 -0700138 select MSM_SCM if SMP
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530139 select MULTI_IRQ_HANDLER
Laura Abbott46505f62011-11-02 18:06:55 -0700140 select MSM_MULTIMEDIA_USE_ION
Matt Wagantall88b86312012-01-31 16:53:03 -0800141 select MSM_PM8X60 if PM
Krishna Vankae2922052012-03-02 09:59:12 +0530142 select MSM_RUN_QUEUE_STATS
Laura Abbottb14ed962012-01-30 14:18:08 -0800143 select ARM_HAS_SG_CHAIN
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700144
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800145config ARCH_MSM8960
146 bool "MSM8960"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700147 select ARCH_MSM_KRAITMP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800148 select ARM_GIC
149 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700150 select GPIO_MSM_V2
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800151 select MSM_GPIOMUX
152 select MSM_SCM if SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700153 select MSM_DIRECT_SCLK_ACCESS
154 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -0800155 select MSM_RPM_REGULATOR
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700156 select MSM_RPM
157 select MSM_XO
158 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700159 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700160 select MSM_PIL
161 select MSM_AUDIO_QDSP6 if SND_SOC
162 select CPU_HAS_L2_PMU
163 select MSM_SPM_V2
164 select MSM_L2_SPM
165 select MSM_NATIVE_RESTART
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700166 select DONT_MAP_HOLE_AFTER_MEMBANK0
167 select MSM_REMOTE_SPINLOCK_SFPB
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700168 select ARCH_SPARSEMEM_ENABLE
169 select ARCH_HAS_HOLES_MEMORYMODEL
Larry Basseld4d82c92011-12-07 09:52:49 -0800170 select CLEANCACHE
171 select QCACHE
Laura Abbott6d61a912011-10-27 16:44:14 -0700172 select MSM_MULTIMEDIA_USE_ION
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530173 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800174 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700175 select HOLES_IN_ZONE if SPARSEMEM
Krishna Vankae2922052012-03-02 09:59:12 +0530176 select MSM_RUN_QUEUE_STATS
Laura Abbottb14ed962012-01-30 14:18:08 -0800177 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700178 select MSM_KRAIT_WFE_FIXUP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800179
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700180config ARCH_MSM8930
181 bool "MSM8930"
182 select ARCH_MSM_KRAITMP
183 select ARM_GIC
184 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700185 select GPIO_MSM_V2
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700186 select MSM_GPIOMUX
187 select MSM_SCM if SMP
188 select MSM_DIRECT_SCLK_ACCESS
189 select REGULATOR
David Collins5779cea2012-01-05 15:09:21 -0800190 select MSM_RPM_REGULATOR
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700191 select MSM_RPM
192 select MSM_XO
193 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700194 select MSM_QDSP6_CODECS
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700195 select MSM_PIL
196 select MSM_AUDIO_QDSP6 if SND_SOC
197 select CPU_HAS_L2_PMU
198 select MSM_SPM_V2
199 select MSM_L2_SPM
200 select MSM_NATIVE_RESTART
201 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600202 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700203 select ARCH_SPARSEMEM_ENABLE
204 select ARCH_HAS_HOLES_MEMORYMODEL
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +0200205 select MSM_ULTRASOUND
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530206 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800207 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700208 select HOLES_IN_ZONE if SPARSEMEM
Laura Abbottb14ed962012-01-30 14:18:08 -0800209 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700210 select MSM_KRAIT_WFE_FIXUP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700211
212config ARCH_APQ8064
213 bool "APQ8064"
214 select ARCH_MSM_KRAITMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700215 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700216 select ARM_GIC
217 select CPU_V7
218 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700219 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600220 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800221 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800222 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700223 select MSM_QDSP6_CODECS
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800224 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530225 select MULTI_IRQ_HANDLER
Praveen Chidambaram78499012011-11-01 17:15:17 -0600226 select MSM_RPM
227 select MSM_SPM_V2
228 select MSM_L2_SPM
Matt Wagantall88b86312012-01-31 16:53:03 -0800229 select MSM_PM8X60 if PM
Neil Leeder814d3d32012-01-19 17:21:43 -0500230 select CPU_HAS_L2_PMU
Laura Abbott085dd202012-03-30 14:02:34 -0700231 select HOLES_IN_ZONE if SPARSEMEM
Larry Bassel67b921d2012-04-06 10:23:27 -0700232 select CLEANCACHE
233 select QCACHE
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -0600234 select MIGHT_HAVE_PCI
235 select ARCH_SUPPORTS_MSI
Laura Abbottb14ed962012-01-30 14:18:08 -0800236 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700237 select MSM_KRAIT_WFE_FIXUP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700238
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700239config ARCH_MSM8974
240 bool "MSM8974"
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700241 select ARCH_MSM_KRAITMP
Sathish Ambley4149e842012-03-23 11:53:55 -0700242 select GPIO_MSM_V3
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700243 select ARM_GIC
244 select CPU_V7
245 select MSM_SCM if SMP
246 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530247 select MULTI_IRQ_HANDLER
Olav Hauganb800c8c2012-01-30 08:50:45 -0800248 select MSM_MULTIMEDIA_USE_ION
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700249 select MSM_PIL
Praveen Chidambaramaa9d52b2012-04-02 11:09:47 -0600250 select MSM_SPM_V2
251 select MSM_L2_SPM
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700252 select MSM_NATIVE_RESTART
253 select MSM_RESTART_V2
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600254 select MSM_PM8X60 if PM
Steve Mucklef132c6c2012-06-06 18:30:57 -0700255 select MAY_HAVE_SPARSE_IRQ
256 select SPARSE_IRQ
Mahesh Sivasubramaniancb668712012-04-04 13:03:25 -0600257 select MSM_RPM_SMD
David Collinsc7642322012-04-04 10:19:12 -0700258 select REGULATOR
Joonwoo Park91d95462012-08-02 10:55:54 -0700259 select MSM_QDSP6_APRV2
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -0700260 select MSM_QDSP6V2_CODECS
261 select MSM_AUDIO_QDSP6V2 if SND_SOC
David Collins1c91ea72012-05-03 16:17:35 -0700262 select MSM_RPM_REGULATOR_SMD
Laura Abbottb14ed962012-01-30 14:18:08 -0800263 select ARM_HAS_SG_CHAIN
Karthik Parsha404fb8f2012-07-30 19:14:05 -0700264 select MSM_RUN_QUEUE_STATS
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700265
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +0530266config ARCH_MPQ8092
267 bool "MPQ8092"
268 select ARCH_MSM_KRAITMP
269 select GPIO_MSM_V3
270 select ARM_GIC
271 select MULTI_IRQ_HANDLER
272 select CPU_V7
273 select MSM_GPIOMUX
274 select MAY_HAVE_SPARSE_IRQ
275 select SPARSE_IRQ
276 select MSM_NOPM
277
Syed Rameez Mustafa90f80502012-08-23 17:27:24 -0700278config ARCH_MSM8226
279 bool "MSM8226"
280 select ARCH_MSM_KRAITMP
281 select GPIO_MSM_V3
282 select ARM_GIC
283 select CPU_V7
284 select MSM_SCM if SMP
285 select MSM_GPIOMUX
286 select MULTI_IRQ_HANDLER
287 select MSM_MULTIMEDIA_USE_ION
288 select MSM_PIL
289 select MSM_SPM_V2
290 select MSM_L2_SPM
291 select MSM_PM8X60 if PM
292 select MAY_HAVE_SPARSE_IRQ
293 select SPARSE_IRQ
294 select MSM_RPM_SMD
295 select REGULATOR
296 select MSM_QDSP6_APRV2
297 select MSM_QDSP6V2_CODECS
298 select MSM_AUDIO_QDSP6V2 if SND_SOC
299 select MSM_RPM_REGULATOR_SMD
300 select ARM_HAS_SG_CHAIN
301
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700302config ARCH_FSM9XXX
303 bool "FSM9XXX"
304 select ARCH_MSM_SCORPION
305 select MSM_VIC
306 select CPU_V7
307 select MSM_REMOTE_SPINLOCK_LDREX
Steve Mucklef132c6c2012-06-06 18:30:57 -0700308 select GPIO_FSM9XXX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530309 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800310 select MSM_DALRPC
Daniel Walker4ad15e62010-05-06 13:54:17 -0700311
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700312config ARCH_MSM9615
313 bool "MSM9615"
314 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530315 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700316 select ARCH_MSM_CORTEX_A5
317 select CPU_V7
Rohit Vaswani4307c842012-10-11 15:50:05 -0700318 select MIGHT_HAVE_CACHE_L2X0
Steve Mucklef132c6c2012-06-06 18:30:57 -0700319 select GPIO_MSM_V2
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700320 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600321 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600322 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700323 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800324 select REGULATOR
325 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530326 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800327 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800328 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700329 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800330 select MSM_QDSP6_APR
331 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800332 select FIQ
Laura Abbottb14ed962012-01-30 14:18:08 -0800333 select ARM_HAS_SG_CHAIN
Matt Wagantall9274df92011-12-15 11:11:05 -0800334
Taniya Das43bcdd62011-12-02 17:33:27 +0530335config ARCH_MSM8625
336 bool "MSM8625"
337 select ARCH_MSM_CORTEX_A5
338 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700339 select GPIO_MSM_V1
Taniya Das43bcdd62011-12-02 17:33:27 +0530340 select MSM_GPIOMUX
341 select ARM_GIC
342 select ARCH_MSM_CORTEXMP
343 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530344 select ARM_TICKET_LOCKS
Krishna Vankae2922052012-03-02 09:59:12 +0530345 select MSM_RUN_QUEUE_STATS
Trilok Sonib856ab92012-06-26 14:33:28 +0530346 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530347 select ARM_HAS_SG_CHAIN
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700348
349config ARCH_MSM9625
350 bool "MSM9625"
351 select ARM_GIC
352 select GIC_SECURE
Abhimanyu Kapur490d20c2012-06-22 17:34:20 -0700353 select MIGHT_HAVE_CACHE_L2X0
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700354 select ARCH_MSM_CORTEX_A5
355 select SMP
356 select MSM_SMP
357 select CPU_V7
Jin Hong690e3352012-05-02 09:25:05 -0700358 select MSM_GPIOMUX
Girish Mahadevanf1c20a42012-09-19 11:44:36 -0600359 select MSM_RPM_SMD
Abhimanyu Kapur46e5e2b2012-10-02 20:45:37 -0700360 select MSM_NATIVE_RESTART
361 select MSM_RESTART_V2
Girish Mahadevan6e419562012-09-19 12:50:05 -0600362 select MSM_SPM_V2
363 select MSM_PM8X60 if PM
364 select MSM_SCM if SMP
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700365 select MULTI_IRQ_HANDLER
Rohit Vaswani61cf6ef2012-07-27 13:51:48 -0700366 select GPIO_MSM_V3
David Collins1cc6e402012-09-17 16:02:24 -0700367 select MAY_HAVE_SPARSE_IRQ
368 select SPARSE_IRQ
Mitchel Humpherys92e9b8a2012-10-08 18:12:47 -0700369 select MSM_MULTIMEDIA_USE_ION
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700370
371config ARCH_MSM8910
372 bool "MSM8910"
373 select ARM_GIC
374 select GIC_SECURE
375 select SMP
376 select ARCH_MSM_CORTEXMP
377 select CPU_V7
378 select MSM_SCM if SMP
379 select MAY_HAVE_SPARSE_IRQ
380 select SPARSE_IRQ
381 select MULTI_IRQ_HANDLER
382 select GPIO_MSM_V3
383 select MSM_GPIOMUX
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700384endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700385
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700386choice
387 prompt "MSM SoC Revision"
388 default MSM_SOC_REV_NONE
389config MSM_SOC_REV_NONE
390 bool "N/A"
391 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
392 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walkerbf83de42010-03-16 16:29:44 -0700393config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700394 bool "Rev. A"
395 select ARCH_MSM7X27A if ARCH_MSM7X27
Daniel Walkerbf83de42010-03-16 16:29:44 -0700396endchoice
397
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700398config MSM_KRAIT_TBB_ABORT_HANDLER
399 bool "Krait TBB/TBH data abort handler"
400 depends on ARCH_MSM_KRAIT
401 depends on ARM_THUMB
402 help
403 Certain early samples of the Krait processor may generate data
404 aborts for TBB / TBH instructions that fail their condition code
405 checks. Enabling this option will ignore these erroneous data aborts,
406 at the expense of a very small performance penalty.
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800407
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700408 If unsure, say N.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700409
410config ARCH_MSM_ARM11
411 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700412
Daniel Walkerbf83de42010-03-16 16:29:44 -0700413config ARCH_MSM_SCORPION
414 bool
415
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700416config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700417 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800418 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700419
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700420config MSM_SMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700421 select HAVE_SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700422 bool
423
424config ARCH_MSM_SCORPIONMP
425 select ARCH_MSM_SCORPION
426 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530427 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700428 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700429 bool
430
431config ARCH_MSM_KRAITMP
432 select ARCH_MSM_KRAIT
433 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530434 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700435 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700436 bool
437
Taniya Das43bcdd62011-12-02 17:33:27 +0530438config ARCH_MSM_CORTEXMP
439 select MSM_SMP
440 bool
441
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700442config MSM_KRAIT_WFE_FIXUP
443 bool
444
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700445config MSM_RESTART_V2
446 bool
447
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700448config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800449 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700450
451config ARCH_MSM7X27A
452 bool
453 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700454 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530455 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530456 select ARM_GIC
457 select ARCH_MSM_CORTEXMP
Trilok Sonib856ab92012-06-26 14:33:28 +0530458 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530459 select ARM_HAS_SG_CHAIN
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700460
Gregory Beanf9f3d312010-04-30 22:06:50 -0700461config MSM_VIC
462 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700463
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700464config MSM_RPM
465 bool "Resource Power Manager"
466 select MSM_MPM
467
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600468config MSM_RPM_SMD
469 depends on MSM_SMD
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600470 select MSM_MPM_OF
471 bool "RPM driver using SMD protocol"
472 help
473 RPM is the dedicated hardware engine for managing shared SoC
474 resources. This config adds driver support for using SMD as a
475 transport layer communication with RPM hardware. It also selects
476 the MSM_MPM config that programs the MPM module to monitor interrupts
477 during sleep modes.
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600478
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700479config MSM_MPM
480 bool "Modem Power Manager"
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600481 help
482 MPM is a dedicated hardware resource responsible for entering and
483 waking up from a system wide low power mode. The MPM driver tracks
484 the wakeup interrupts and configures the MPM to monitor the wakeup
485 interrupts when going to a system wide sleep mode.
486
487config MSM_MPM_OF
488 bool "Modem Power Manager"
489 depends on CONFIG_OF
490 help
491 MPM is a dedicated hardware resource responsible for entering and
492 waking up from a system wide low power mode. The MPM driver tracks
493 the wakeup interrupts and configures the MPM to monitor the wakeup
494 interrupts when going to a system wide sleep mode. This config option
495 enables the MPM driver that supports initialization from a device
496 tree
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700497
498config MSM_XO
499 bool
500
501config MSM_REMOTE_SPINLOCK_DEKKERS
502 bool
503config MSM_REMOTE_SPINLOCK_SWP
504 bool
505config MSM_REMOTE_SPINLOCK_LDREX
506 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600507config MSM_REMOTE_SPINLOCK_SFPB
508 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700509config MSM_ADM3
510 bool
511
512menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700513
514config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700515 depends on ARCH_MSM7X01A
516 depends on MSM_STACKED_MEMORY
517 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700518 bool "Halibut Board (QCT SURF7201A)"
519 help
520 Support for the Qualcomm SURF7201A eval board.
521
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700522config MACH_MSM7201A_SURF
523 depends on ARCH_MSM7X01A
524 depends on MSM_STACKED_MEMORY
525 default y
526 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700527 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700528 Support for the Qualcomm MSM7201A SURF eval board.
529
530config MACH_MSM7201A_FFA
531 depends on ARCH_MSM7X01A
532 depends on MSM_STACKED_MEMORY
533 default y
534 bool "MSM7201A FFA"
535 help
536 Support for the Qualcomm MSM7201A FFA eval board.
537
538config MACH_TROUT
539 depends on ARCH_MSM7X01A
540 depends on MSM_STACKED_MEMORY
541 default y
542 bool "Trout"
543
544config MACH_MSM7X27_SURF
545 depends on ARCH_MSM7X27
546 depends on !MSM_STACKED_MEMORY
547 default y
548 bool "MSM7x27 SURF"
549 help
550 Support for the Qualcomm MSM7x27 SURF eval board.
551
552config MACH_MSM7X27_FFA
553 depends on ARCH_MSM7X27
554 depends on !MSM_STACKED_MEMORY
555 default y
556 bool "MSM7x27 FFA"
557 help
558 Support for the Qualcomm MSM7x27 FFA eval board.
559
560config MACH_MSM7X27A_RUMI3
561 depends on ARCH_MSM7X27A
562 depends on !MSM_STACKED_MEMORY
563 default y
564 bool "MSM7x27A RUMI3"
565 help
566 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
567
568config MACH_MSM7X27A_SURF
569 depends on ARCH_MSM7X27A
570 depends on !MSM_STACKED_MEMORY
571 default y
572 bool "MSM7x27A SURF"
573 help
574 Support for the Qualcomm MSM7x27A SURF.
575
576config MACH_MSM7X27A_FFA
577 depends on ARCH_MSM7X27A
578 depends on !MSM_STACKED_MEMORY
579 default y
580 bool "MSM7x27A FFA"
581 help
582 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700583
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530584config MACH_MSM7625A_SURF
585 depends on ARCH_MSM7X27A
586 depends on !MSM_STACKED_MEMORY
587 default y
588 bool "MSM7625A SURF"
589 help
590 Support for the Qualcomm MSM7625A SURF.
591
592config MACH_MSM7625A_FFA
593 depends on ARCH_MSM7X27A
594 depends on !MSM_STACKED_MEMORY
595 default y
596 bool "MSM7625A FFA"
597 help
598 Support for the Qualcomm MSM7625A FFA.
599
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530600config MACH_MSM7627A_QRD1
601 depends on ARCH_MSM7X27A
602 depends on !MSM_STACKED_MEMORY
603 default y
604 bool "MSM7627A QRD1"
605 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530606 Support for the Qualcomm MSM7627A Reference Design.
607
608config MACH_MSM7627A_QRD3
609 depends on ARCH_MSM7X27A
610 depends on !MSM_STACKED_MEMORY
611 default y
612 bool "MSM7627A QRD3"
613 help
614 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530615
Taniya Dasc868a2e2012-01-03 10:18:47 +0530616config MACH_MSM7627A_EVB
617 depends on ARCH_MSM7X27A
618 depends on !MSM_STACKED_MEMORY
619 default y
620 bool "MSM7627A EVB"
621 help
622 Support for the Qualcomm MSM7627A Reference Design.
623
Taniya Das43bcdd62011-12-02 17:33:27 +0530624config MACH_MSM8625_RUMI3
625 depends on ARCH_MSM8625
626 depends on !MSM_STACKED_MEMORY
627 default y
628 bool "MSM8625 RUMI3"
629 help
630 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
631
Taniya Dase3027e22012-02-27 16:32:27 +0530632config MACH_MSM8625_SURF
633 depends on ARCH_MSM8625
634 depends on !MSM_STACKED_MEMORY
635 default y
636 bool "MSM8625 SURF"
637 help
638 Support for the Qualcomm MSM8625 SURF.
639
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530640config MACH_MSM8625_FFA
641 depends on ARCH_MSM8625
642 depends on !MSM_STACKED_MEMORY
643 default y
644 bool "MSM8625 FFA"
645 help
646 Support for the Qualcomm MSM8625 FFA.
647
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530648config MACH_MSM8625_EVB
649 depends on ARCH_MSM8625
650 depends on !MSM_STACKED_MEMORY
651 default y
652 bool "MSM8625 EVB"
653 help
654 Support for the Qualcomm MSM8625 Reference Design.
655
Taniya Dasbd096542012-03-15 17:43:45 +0530656config MACH_MSM8625_QRD7
657 depends on ARCH_MSM8625
658 depends on !MSM_STACKED_MEMORY
659 default y
660 bool "MSM8625 QRD7"
661 help
662 Support for the Qualcomm MSM8625 Reference Design.
663
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530664config MACH_MSM8625_EVT
665 depends on ARCH_MSM8625
666 depends on !MSM_STACKED_MEMORY
667 default y
668 bool "MSM8625 EVT"
669 help
670 Support for the Qualcomm MSM8625 Reference Design.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700671
Daniel Walker7b521612010-05-06 12:44:57 -0700672config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700673 depends on ARCH_MSM7X30
674 depends on !MSM_STACKED_MEMORY
675 default y
676 bool "MSM7x30 SURF"
677 help
678 Support for the Qualcomm MSM7x30 SURF eval board.
679
680config MACH_MSM7X30_FFA
681 depends on ARCH_MSM7X30
682 depends on !MSM_STACKED_MEMORY
683 default y
684 bool "MSM7x30 FFA"
685 help
686 Support for the Qualcomm MSM7x30 FFA eval board.
687
688config MACH_MSM7X30_FLUID
689 depends on ARCH_MSM7X30
690 depends on !MSM_STACKED_MEMORY
691 default y
692 bool "MSM7x30 FLUID"
693 help
694 Support for the Qualcomm MSM7x30 FLUID eval board.
695
696config MACH_SAPPHIRE
697 depends on ARCH_MSM7X01A
698 default n
699 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700700
Daniel Walker4ad15e62010-05-06 13:54:17 -0700701config MACH_QSD8X50_SURF
702 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700703 depends on MSM_SOC_REV_NONE
704 depends on MSM_STACKED_MEMORY
705 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700706 bool "QSD8x50 SURF"
707 help
708 Support for the Qualcomm QSD8x50 SURF eval board.
709
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700710config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700711 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700712 depends on MSM_SOC_REV_NONE
713 depends on MSM_STACKED_MEMORY
714 default y
715 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700716 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700717 Support for the Qualcomm QSD8x50 FFA eval board.
718
719config MACH_MSM7X25_SURF
720 depends on ARCH_MSM7X25
721 depends on !MSM_STACKED_MEMORY
722 default y
723 bool "MSM7x25 SURF"
724 help
725 Support for the Qualcomm MSM7x25 SURF eval board.
726
727config MACH_MSM7X25_FFA
728 depends on ARCH_MSM7X25
729 depends on !MSM_STACKED_MEMORY
730 default y
731 bool "MSM7x25 FFA"
732 help
733 Support for the Qualcomm MSM7x25 FFA eval board.
734
735config MACH_MSM8X55_SURF
736 depends on ARCH_MSM7X30
737 depends on !MSM_STACKED_MEMORY
738 default y
739 bool "MSM8X55 SURF"
740 help
741 Support for the Qualcomm MSM8x55 SURF eval board.
742
743config MACH_MSM8X55_FFA
744 depends on ARCH_MSM7X30
745 depends on !MSM_STACKED_MEMORY
746 default y
747 bool "MSM8X55 FFA"
748 help
749 Support for the Qualcomm MSM8x55 FFA eval board.
750
751config MACH_MSM8X55_SVLTE_FFA
752 depends on ARCH_MSM7X30
753 depends on !MSM_STACKED_MEMORY
754 default y
755 bool "MSM8X55 SVLTE FFA"
756 help
757 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
758
759config MACH_MSM8X55_SVLTE_SURF
760 depends on ARCH_MSM7X30
761 depends on !MSM_STACKED_MEMORY
762 default y
763 bool "MSM8X55 SVLTE SURF"
764 help
765 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700766
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700767config MACH_MSM8X60_SURF
768 depends on ARCH_MSM8X60
769 default n
770 bool "MSM8x60 SURF"
771 help
772 Support for the Qualcomm MSM8x60 SURF eval board.
773
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700774config MACH_MSM8X60_FFA
775 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700776 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700777 bool "MSM8x60 FFA"
778 help
779 Support for the Qualcomm MSM8x60 FFA eval board.
780
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700781config MACH_MSM8X60_FLUID
782 depends on ARCH_MSM8X60
783 default n
784 bool "MSM8x60 FLUID"
785 help
786 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
787 8x60 target which has a form factor that is much closer to that
788 of a phone than other targets. It also has a new display and
789 touchscreen controller.
790
791config MACH_MSM8X60_FUSION
792 depends on ARCH_MSM8X60
793 default n
794 bool "MSM8x60 FUSION"
795 help
796 Support for the Qualcomm MSM8x60 Fusion SURF device.
797
798config MACH_MSM8X60_FUSN_FFA
799 depends on ARCH_MSM8X60
800 default n
801 bool "MSM8x60 FUSN FFA"
802 help
803 Support for the Qualcomm MSM8x60 Fusion FFA device.
804
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400805config MACH_MSM8X60_DRAGON
806 depends on ARCH_MSM8X60
807 default n
808 bool "MSM8x60 DRAGON"
809 help
810 Support for the Qualcomm MSM8x60 Dragon board.
811
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700812config MACH_MSM8960_CDP
813 depends on ARCH_MSM8960
814 bool "MSM8960 CDP"
815 help
816 Support for the Qualcomm MSM8960 CDP device.
817
818config MACH_MSM8960_MTP
819 depends on ARCH_MSM8960
820 bool "MSM8960 MTP"
821 help
822 Support for the Qualcomm MSM8960 MTP device.
823
824config MACH_MSM8960_FLUID
825 depends on ARCH_MSM8960
826 bool "MSM8960 FLUID"
827 help
828 Support for the Qualcomm MSM8960 FLUID device.
829
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300830config MACH_MSM8960_LIQUID
831 depends on ARCH_MSM8960
832 bool "MSM8960 LIQUID"
833 help
834 Support for the Qualcomm MSM8960 LIQUID device.
835
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700836config MACH_MSM8930_CDP
837 depends on ARCH_MSM8930
838 bool "MSM8930 CDP"
839 help
840 Support for the Qualcomm MSM8930 CDP device.
841
842config MACH_MSM8930_MTP
843 depends on ARCH_MSM8930
844 bool "MSM8930 MTP"
845 help
846 Support for the Qualcomm MSM8930 MTP device.
847
848config MACH_MSM8930_FLUID
849 depends on ARCH_MSM8930
850 bool "MSM8930 FLUID"
851 help
852 Support for the Qualcomm MSM8930 FLUID device.
853
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800854config MACH_MSM8627_CDP
855 depends on ARCH_MSM8930
856 bool "MSM8627 CDP"
857 help
858 Support for the Qualcomm MSM8627 CDP device.
859
860config MACH_MSM8627_MTP
861 depends on ARCH_MSM8930
862 bool "MSM8627 MTP"
863 help
864 Support for the Qualcomm MSM8627 MTP device.
865
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700866config MACH_MSM9615_CDP
867 depends on ARCH_MSM9615
868 bool "MSM9615 CDP"
869 help
870 Support for the Qualcomm MSM9615 CDP device.
871
872config MACH_MSM9615_MTP
873 depends on ARCH_MSM9615
874 bool "MSM9615 MTP"
875 help
876 Support for the Qualcomm MSM9615 MTP device.
877
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700878config MSM_USE_TSIF1
879 depends on ARCH_MSM8X60
880 bool "MSM8x60 use TSIF1"
881 help
882 Selects TSIF1 core to be used rather than TSIF0.
883 The two TSIF cores share the same DM configuration
884 so they cannot be used simultaneously.
885
Joel King82b7e3f2012-01-05 10:03:27 -0800886config MACH_APQ8064_CDP
887 depends on ARCH_APQ8064
888 bool "APQ8064 CDP"
889 help
890 Support for the Qualcomm APQ8064 CDP device.
891
892config MACH_APQ8064_MTP
893 depends on ARCH_APQ8064
894 bool "APQ8064 MTP"
895 help
896 Support for the Qualcomm APQ8064 MTP device.
897
898config MACH_APQ8064_LIQUID
899 depends on ARCH_APQ8064
900 bool "APQ8064 LIQUID"
901 help
902 Support for the Qualcomm APQ8064 LIQUID device.
903
Joel King064bbf82012-04-01 13:23:39 -0700904config MACH_MPQ8064_CDP
905 depends on ARCH_APQ8064
906 bool "MPQ8064 CDP"
907 help
908 Support for the Qualcomm MPQ8064 CDP device.
909
Joel King11ca8202012-02-13 16:19:03 -0800910config MACH_MPQ8064_HRD
911 depends on ARCH_APQ8064
912 bool "MPQ8064 HRD"
913 help
914 Support for the Qualcomm MPQ8064 HRD device.
915
916config MACH_MPQ8064_DTV
917 depends on ARCH_APQ8064
918 bool "MPQ8064 DTV"
919 help
920 Support for the Qualcomm MPQ8064 DTV device.
921
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700922config MACH_FSM9XXX_SURF
923 depends on ARCH_FSM9XXX
924 depends on !MSM_STACKED_MEMORY
925 default y
926 bool "FSM9XXX SURF"
927 help
928 Support for the Qualcomm FSM9xxx femtocell
929 chipset based SURF evaluation board and
930 FFA board.
931
Daniel Walker4ad15e62010-05-06 13:54:17 -0700932endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800933
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700934config MSM_STACKED_MEMORY
935 bool "Stacked Memory"
936 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800937 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700938 This option is used to indicate the presence of on-die stacked
939 memory. When present this memory bank is used for a high speed
940 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800941
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700942config PHYS_OFFSET
943 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700944 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700945 default "0x80200000" if ARCH_APQ8064
946 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700947 default "0x80200000" if ARCH_MSM8930
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700948 default "0x00000000" if ARCH_MSM8974
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +0530949 default "0x00000000" if ARCH_MPQ8092
Syed Rameez Mustafa90f80502012-08-23 17:27:24 -0700950 default "0x00000000" if ARCH_MSM8226
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700951 default "0x00000000" if ARCH_MSM8910
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700952 default "0x10000000" if ARCH_FSM9XXX
Abhimanyu Kapur20ac2ad2012-09-25 04:23:59 -0700953 default "0x00200000" if ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700954 default "0x00200000" if !MSM_STACKED_MEMORY
955 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
956 default "0x20000000" if ARCH_QSD8X50
957 default "0x40200000" if ARCH_MSM8X60
958 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800959
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700960config KERNEL_MSM_CONTIG_MEM_REGION
961 bool "Enable in-kernel contiguous memory region"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700962 default y if ARCH_MSM8X60
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700963 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700964 help
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700965 Enable the in-kernel contiguous memory allocator. Sets up a
966 region of physically contiguous memory. This memory is
967 reserved during initialization, and can be used
968 generically.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700969
970config KERNEL_PMEM_SMI_REGION
971 bool "Enable in-kernel PMEM region for SMI"
972 default y if ARCH_MSM8X60
973 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
974 help
975 Enable the in-kernel PMEM allocator to use SMI memory.
976
977config PMEM_GPU0
978 bool "Enable PMEM GPU0 region"
979 default y
980 depends on ARCH_QSD8X50 && ANDROID_PMEM
981 help
982 Enable the PMEM GPU0 device on SMI Memory.
983
984config MSM_AMSS_VERSION
985 int
986 default 6210 if MSM_AMSS_VERSION_6210
987 default 6220 if MSM_AMSS_VERSION_6220
988 default 6225 if MSM_AMSS_VERSION_6225
989
990choice
991 prompt "AMSS modem firmware version"
992
993 default MSM_AMSS_VERSION_6225
994
995 config MSM_AMSS_VERSION_6210
996 bool "6.2.10"
997
998 config MSM_AMSS_VERSION_6220
999 bool "6.2.20"
1000
1001 config MSM_AMSS_VERSION_6225
1002 bool "6.2.20 + New ADSP"
1003endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -08001004
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001005config MSM_HAS_DEBUG_UART_HS
Daniel Walkerbf83de42010-03-16 16:29:44 -07001006 bool
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001007 help
1008 Say Y here if high speed MSM UART is present.
1009
1010config MSM_HAS_DEBUG_UART_HS_V14
1011 bool
1012 select MSM_HAS_DEBUG_UART_HS
1013 help
1014 Say Y here if high speed MSM UART v1.4 is present.
1015
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301016config MSM_DEBUG_UART_PHYS
1017 hex
1018 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
1019 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
1020 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
1021 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
1022 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
1023 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
1024 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
1025 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
1026
Brian Swetland9e73c842007-11-26 04:12:13 -08001027choice
1028 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001029 depends on DEBUG_LL
Brian Swetland9e73c842007-11-26 04:12:13 -08001030
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001031 config DEBUG_MSM_UART1
1032 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301033 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001034 help
1035 Say Y here if you want the debug print routines to direct
1036 their output to the first serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001037
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001038 config DEBUG_MSM_UART2
1039 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301040 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001041 help
1042 Say Y here if you want the debug print routines to direct
1043 their output to the second serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001044
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001045 config DEBUG_MSM_UART3
1046 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301047 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001048 help
1049 Say Y here if you want the debug print routines to direct
1050 their output to the third serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001051
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001052 config DEBUG_MSM8660_UART
1053 bool "Kernel low-level debugging messages via MSM 8660 UART"
1054 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001055 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001056 help
1057 Say Y here if you want the debug print routines to direct
1058 their output to the serial port on MSM 8660 devices.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001059
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001060 config DEBUG_MSM8960_UART
1061 bool "Kernel low-level debugging messages via MSM 8960 UART"
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001062 depends on ARCH_MSM8960 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001063 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001064 help
1065 Say Y here if you want the debug print routines to direct
1066 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001067
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001068 config DEBUG_MSM8930_UART
1069 bool "Kernel low-level debugging messages via MSM 8930 UART"
1070 depends on ARCH_MSM8930 && DEBUG_LL
1071 select MSM_HAS_DEBUG_UART_HS
1072 help
1073 Say Y here if you want the debug print routines to direct
1074 their output to the serial port on MSM 8930 devices.
1075
1076 config DEBUG_APQ8064_UART
1077 bool "Kernel low-level debugging messages via APQ 8064 UART"
1078 depends on ARCH_APQ8064 && DEBUG_LL
1079 select MSM_HAS_DEBUG_UART_HS
1080 help
1081 Say Y here if you want the debug print routines to direct
1082 their output to the serial port on APQ 8064 devices.
1083
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001084 config DEBUG_MSM8974_UART
1085 bool "Kernel low-level debugging messages via MSM 8974 UART"
1086 depends on ARCH_MSM8974
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001087 select MSM_HAS_DEBUG_UART_HS_V14
1088 help
1089 Say Y here if you want the debug print routines to direct
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001090 their output to the serial port on MSM 8974 devices.
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +05301091
1092 config DEBUG_MPQ8092_UART
1093 bool "Kernel low-level debugging messages via MPQ8092 UART"
1094 depends on ARCH_MPQ8092
1095 select MSM_HAS_DEBUG_UART_HS_V14
1096 help
1097 Say Y here if you want the debug print routines to direct
1098 their output to the serial port on MPQ8092 devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001099endchoice
Brian Swetland9e73c842007-11-26 04:12:13 -08001100
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001101choice
1102 prompt "Default Timer"
1103 default MSM7X00A_USE_GP_TIMER
1104
1105 config MSM7X00A_USE_GP_TIMER
1106 bool "GP Timer"
1107 help
1108 Low resolution timer that allows power collapse from idle.
1109
1110 config MSM7X00A_USE_DG_TIMER
1111 bool "DG Timer"
1112 help
1113 High resolution timer.
1114endchoice
1115
1116choice
1117 prompt "Suspend sleep mode"
1118 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1119 help
1120 Allows overriding the sleep mode used. Leave at power
1121 collapse suspend unless the arm9 image has problems.
1122
1123 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1124 bool "Power collapse suspend"
1125 help
1126 Lowest sleep state. Returns through reset vector.
1127
1128 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1129 bool "Power collapse"
1130 help
1131 Sleep state that returns through reset vector.
1132
1133 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1134 bool "Apps Sleep"
1135
1136 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1137 bool "Ramp down cpu clock and wait for interrupt"
1138
1139 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1140 bool "Wait for interrupt"
1141endchoice
1142
1143config MSM7X00A_SLEEP_MODE
1144 int
1145 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1146 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1147 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1148 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1149 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1150
1151choice
1152 prompt "Idle sleep mode"
1153 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1154 help
1155 Allows overriding the sleep mode used from idle. Leave at power
1156 collapse suspend unless the arm9 image has problems.
1157
1158 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1159 bool "Power collapse suspend"
1160 help
1161 Lowest sleep state. Returns through reset vector.
1162
1163 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1164 bool "Power collapse"
1165 help
1166 Sleep state that returns through reset vector.
1167
1168 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1169 bool "Apps Sleep"
1170
1171 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1172 bool "Ramp down cpu clock and wait for interrupt"
1173
1174 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1175 bool "Wait for interrupt"
1176endchoice
1177
1178config MSM7X00A_IDLE_SLEEP_MODE
1179 int
1180 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1181 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1182 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1183 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1184 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1185
1186config MSM7X00A_IDLE_SLEEP_MIN_TIME
1187 int "Minimum idle time before sleep"
1188 default 20000000
1189 help
1190 Minimum idle time in nanoseconds before entering low power mode.
1191
1192config MSM7X00A_IDLE_SPIN_TIME
1193 int "Idle spin time before cpu ramp down"
1194 default 80000
1195 help
1196 Spin time in nanoseconds before ramping down cpu clock and entering
1197 any low power state.
1198
1199menuconfig MSM_IDLE_STATS
1200 bool "Collect idle statistics"
1201 default y
1202 help
1203 Collect idle statistics and export them in proc/msm_pm_stats.
1204
1205if MSM_IDLE_STATS
1206
1207config MSM_IDLE_STATS_FIRST_BUCKET
1208 int "First bucket time"
1209 default 62500
1210 help
1211 Upper time limit in nanoseconds of first bucket.
1212
1213config MSM_IDLE_STATS_BUCKET_SHIFT
1214 int "Bucket shift"
1215 default 2
1216
1217config MSM_IDLE_STATS_BUCKET_COUNT
1218 int "Bucket count"
1219 default 10
1220
1221config MSM_SUSPEND_STATS_FIRST_BUCKET
1222 int "First bucket time for suspend"
1223 default 1000000000
1224 help
1225 Upper time limit in nanoseconds of first bucket of the
1226 histogram. This is for collecting statistics on suspend.
1227
1228endif # MSM_IDLE_STATS
1229
1230config CPU_HAS_L2_PMU
1231 bool "L2CC PMU Support"
1232 help
1233 Select this if the L2 cache controller has a Performance Monitoring Unit.
1234
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001235config HTC_HEADSET
1236 tristate "HTC 2 Wire detection driver"
1237 default n
1238 help
1239 Provides support for detecting HTC 2 wire devices, such as wired
1240 headset, on the trout platform. Can be used with the msm serial
1241 debugger, but not with serial console.
1242
1243config TROUT_BATTCHG
1244 depends on MACH_TROUT && POWER_SUPPLY
1245 default y
1246 bool "Trout battery / charger driver"
1247
1248config HTC_PWRSINK
1249 depends on MSM_SMD
1250 default n
1251 bool "HTC Power Sink Driver"
1252
1253config QSD_SVS
1254 bool "QSD Static Voltage Scaling"
1255 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1256 default y
1257 select TPS65023
1258 help
1259 Enables static voltage scaling using the TPS65023 PMIC.
1260
1261config QSD_PMIC_DEFAULT_DCDC1
1262 int "PMIC default output voltage"
1263 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1264 default 1250
1265 help
1266 This is the PMIC voltage at Linux kernel boot.
1267
1268config MSM_FIQ_SUPPORT
1269 default y
1270 bool "Enable installation of an FIQ handler."
1271
1272config MSM_SERIAL_DEBUGGER
1273 select MSM_FIQ_SUPPORT
1274 select KERNEL_DEBUGGER_CORE
1275 default n
1276 bool "FIQ Mode Serial Debugger"
1277 help
1278 The FIQ serial debugger can accept commands even when the
1279 kernel is unresponsive due to being stuck with interrupts
1280 disabled. Depends on the kernel debugger core in drivers/misc.
1281
1282config MSM_SERIAL_DEBUGGER_CONSOLE
1283 depends on MSM_SERIAL_DEBUGGER
1284 default n
1285 bool "Console on FIQ Serial Debugger port"
1286 help
1287 Enables a console so that printk messages are displayed on
1288 the debugger serial port as the occur.
Brian Swetland9e73c842007-11-26 04:12:13 -08001289
Gregory Beanab78cde2010-09-01 16:26:12 -07001290config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001291 default y
1292 bool "Proc-Comm RPC Interface"
1293 help
1294 Enables a lightweight communications interface to the
1295 baseband processor.
Gregory Beanab78cde2010-09-01 16:26:12 -07001296
Gregory Bean1963a2a2010-08-28 10:05:44 -07001297config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001298 bool "MSM Shared Memory Driver (SMD)"
1299 help
1300 Support for the shared memory interface between the apps
1301 processor and the baseband processor. Provides access to
1302 the "shared heap", as well as virtual serial channels
1303 used to communicate with various services on the baseband
1304 processor.
1305
1306choice
1307 prompt "MSM Shared memory interface version"
1308 depends on MSM_SMD
1309 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1310 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1311
1312 config MSM_SMD_PKG3
1313 bool
1314 prompt "Package 3"
1315
1316 config MSM_SMD_PKG4
1317 bool
1318 prompt "Package 4"
1319endchoice
1320
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001321config MSM_PCIE
1322 bool "MSM PCIe Controller driver"
1323 depends on PCI && PCI_MSI
1324 help
1325 Enables the PCIe functionality by configures PCIe core on
1326 MSM chipset and by enabling the ARM PCI framework extension.
1327
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001328config MSM_RPC_SDIO_XPRT
1329 depends on MSM_SDIO_AL
1330 default y
1331 bool "MSM SDIO XPRT Layer"
1332 help
1333 SDIO Transport Layer for RPC Rouer
1334
1335config MSM_RPC_SDIO_DEBUG
1336 depends on MSM_RPC_SDIO_XPRT
1337 default y
1338 bool "MSM SDIO XPRT debug support"
1339 help
1340 Support for debugging SDIO XPRT
1341
1342config MSM_SMD_DEBUG
1343 depends on MSM_SMD
1344 default y
1345 bool "MSM SMD debug support"
1346 help
1347 Support for debugging the SMD for communication
1348 between the ARM9 and ARM11
1349
1350config MSM_SDIO_AL
1351 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1352 default y
1353 tristate "SDIO-Abstraction-Layer"
1354 help
1355 Support MSM<->MDM Communication over SDIO bus.
1356 MDM SDIO-Client should have pipes support.
1357
1358config MSM_SDIO_DMUX
1359 bool "SDIO Data Mux Driver"
1360 depends on MSM_SDIO_AL
1361 default n
1362 help
1363 Support Muxed Data Channels over SDIO interface.
1364
1365config MSM_BAM_DMUX
1366 bool "BAM Data Mux Driver"
1367 depends on SPS
1368 default n
1369 help
1370 Support Muxed Data Channels over BAM interface.
1371 BAM has a limited number of pipes. This driver
1372 provides a means to support more logical channels
1373 via muxing than BAM could without muxing.
1374
1375config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001376 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001377 default y
1378 bool "MSM N-WAY SMD support"
1379 help
1380 Supports APPS-QDSP SMD communication along with
1381 normal APPS-MODEM SMD communication.
1382
1383config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001384 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001385 default y
1386 bool "MSM N-WAY SMSM support"
1387 help
1388 Supports APPS-QDSP SMSM communication along with
1389 normal APPS-MODEM SMSM communication.
1390
1391config MSM_RESET_MODEM
1392 tristate "Reset Modem Driver"
1393 depends on MSM_SMD
1394 default m
1395 help
1396 Allows the user to reset the modem through a device node.
1397
1398config MSM_SMD_LOGGING
1399 depends on MSM_SMD
1400 default y
1401 bool "MSM Shared Memory Logger"
1402 help
1403 This option exposes the shared memory logger at /dev/smem_log
1404 and a debugfs node named smem_log.
1405
1406 If in doubt, say yes.
1407
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001408config MSM_IPC_LOGGING
1409 bool "MSM Debug Logging for IPC Drivers"
1410 help
1411 This option allows the debug logging for IPC Drivers.
1412
1413 If in doubt, say no.
1414
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001415config MSM_SMD_NMEA
1416 bool "NMEA GPS Driver"
1417 depends on MSM_SMD
1418 default y
1419 help
1420 Enable this to support the NMEA GPS device.
1421
1422 If in doubt, say yes.
1423
1424config MSM_SDIO_TTY
1425 bool "SDIO TTY Driver"
1426 depends on MSM_SDIO_AL
1427 default n
1428 help
1429 Provides a TTY driver SDIO TTY
1430 This driver can be used by user space
1431 applications for passing data through the
1432 SDIO interface.
1433
1434config MSM_SMD_TTY
1435 bool "SMD TTY Driver"
1436 depends on MSM_SMD
1437 default y
1438 help
1439 Provides TTY interfaces to interact with the modem.
1440
1441 If in doubt, say yes.
1442
1443config MSM_SMD_QMI
1444 bool "SMD QMI Driver"
1445 depends on MSM_SMD
1446 default y
1447 help
1448 Manages network data connections.
1449
1450 If in doubt, say yes.
1451
1452config MSM_SMD_PKT
1453 bool "SMD Packet Driver"
1454 depends on MSM_SMD
1455 default y
1456 help
1457 Provides a binary SMD non-muxed packet port interface.
1458
1459 If in doubt, say yes.
1460
1461config MSM_SDIO_CMUX
1462 bool "SDIO CMUX Driver"
1463 depends on MSM_SDIO_AL
1464 default n
1465 help
1466 Provides a Muxed port interface over SDIO QMI
1467
1468config MSM_DSPS
1469 bool "Sensors DSPS driver"
1470 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1471 default n
1472 help
1473 Provides user-space interface to the sensors manager
1474 to turn on/off the Sensors Processor system clocks.
1475 It is the DSPS responsibility to turn on/off the sensors
1476 themself.
1477 The number of clocks and their name may vary between targets.
1478 It also triggers the PIL to load the DSPS firmware.
1479
1480config MSM_SDIO_CTL
1481 bool "SDIO CTL Driver"
1482 depends on MSM_SDIO_CMUX
1483 default n
1484 help
1485 Provides a binary SDIO control port interface.
1486
1487config MSM_ONCRPCROUTER
1488 depends on MSM_SMD
1489 default n
1490 bool "MSM ONCRPC router support"
1491 help
1492 Support for the MSM ONCRPC router for communication between
1493 the ARM9 and ARM11
1494
1495config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001496 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001497 default n
1498 bool "MSM IPC Router support"
1499 help
1500 Support for the MSM IPC Router for communication between
1501 the APPs and the MODEM
1502
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001503config MSM_IPC_ROUTER_SMD_XPRT
1504 depends on MSM_SMD
1505 depends on MSM_IPC_ROUTER
1506 default n
1507 bool "MSM SMD XPRT Layer"
1508 help
1509 SMD Transport Layer for IPC Router
1510
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001511config MSM_ONCRPCROUTER_DEBUG
1512 depends on MSM_ONCRPCROUTER
1513 default y
1514 bool "MSM debug ONCRPC router support"
1515 help
1516 Support for debugging the ONCRPC router for communication
1517 between the ARM9 and ARM11
1518
1519config MSM_RPC_LOOPBACK_XPRT
1520 depends on MSM_ONCRPCROUTER
1521 default n
1522 bool "MSM RPC local routing support"
1523 help
1524 Support for routing RPC messages between APPS clients
1525 and APPS servers. Helps in testing APPS RPC framework.
1526
1527config MSM_RPCSERVER_TIME_REMOTE
1528 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1529 default y
1530 bool "Time remote RPC server"
1531 help
1532 The time remote server receives notification of time bases and
1533 reports these events to registered callback functions.
1534
1535config MSM_RPCSERVER_WATCHDOG
1536 depends on MSM_ONCRPCROUTER
1537 default y
1538 bool "Watchdog RPC server"
1539 help
1540 The dog_keepalive server handles watchdog events.
1541
1542config MSM_RPC_WATCHDOG
1543 depends on MSM_ONCRPCROUTER
1544 default n
1545 bool "Watchdog RPC client"
1546 help
1547 The dog_keepalive client module.
1548
1549config MSM_RPC_PING
1550 depends on MSM_ONCRPCROUTER && DEBUG_FS
1551 default m
1552 bool "MSM rpc ping"
1553 help
1554 Implements MSM rpc ping test module.
1555
1556config MSM_RPC_PROC_COMM_TEST
1557 depends on DEBUG_FS && MSM_PROC_COMM
1558 default m
1559 bool "MSM rpc proc comm test"
1560 help
1561 Implements MSM rpc proc comm test module.
1562
1563config MSM_RPC_OEM_RAPI
1564 depends on MSM_ONCRPCROUTER
1565 default m
1566 bool "MSM oem rapi"
1567 help
1568 Implements MSM oem rapi client module.
1569
1570config MSM_RPCSERVER_HANDSET
1571 depends on MSM_ONCRPCROUTER
1572 default y
1573 bool "Handset events RPC server"
1574 help
1575 Support for receiving handset events like headset detect,
1576 headset switch and clamshell state.
1577
1578config MSM_RMT_STORAGE_CLIENT
1579 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1580 default n
1581 bool "Remote Storage RPC client"
1582 help
1583 Provide RPC mechanism for remote processors to access storage
1584 device on apps processor.
1585
1586config MSM_RMT_STORAGE_CLIENT_STATS
1587 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1588 default n
1589 bool "Remote storage RPC client performance statistics"
1590 help
1591 Collects performance statistics and shows this information
1592 through a debugfs file rmt_storage_stats.
1593
1594config MSM_SDIO_SMEM
1595 depends on MSM_SDIO_AL
1596 default n
1597 bool "SDIO SMEM for remote storage"
1598 help
1599 Copies data from remote MDM9K memory to local MSM8x60
1600 memory. Used by remote storage client to shadow
1601 MDM9K filesystem.
1602
1603config MSM_DALRPC
1604 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001605 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001606 help
1607 Supports RPC calls to DAL devices on remote processor cores.
1608
1609config MSM_DALRPC_TEST
1610 tristate "DAL RPC test module"
1611 depends on (MSM_DALRPC && DEBUG_FS)
1612 default m
1613 help
1614 Exercises DAL RPC calls to QDSP6.
1615
1616if CPU_FREQ_MSM
1617
1618config MSM_CPU_FREQ_SET_MIN_MAX
1619 bool "Set Min/Max CPU frequencies."
1620 default n
1621 help
1622 Allow setting min and max CPU frequencies. Sysfs can be used
1623 to override these values.
1624
1625config MSM_CPU_FREQ_MAX
1626 int "Max CPU Frequency"
1627 depends on MSM_CPU_FREQ_SET_MIN_MAX
1628 default 384000
1629
1630config MSM_CPU_FREQ_MIN
1631 int "Min CPU Frequency"
1632 depends on MSM_CPU_FREQ_SET_MIN_MAX
1633 default 245760
1634
1635endif # CPU_FREQ_MSM
1636
1637config MSM_CPU_AVS
1638 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1639 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1640 depends on ARCH_QSD8X50
1641 default n
1642 select MSM_AVS_HW
1643 help
1644 This enables the s/w control of Adaptive Voltage Scaling feature
1645 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1646 based on feedback from three ring oscillators in the CPU.
1647
1648config MSM_AVS_HW
1649 bool "Enable Adaptive Voltage Scaling (AVS)"
1650 default n
1651 help
1652 Enable AVS hardware to fine tune voltage at each frequency. The
1653 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1654 fine tune the voltages based on the feedback from the ring
1655 oscillators.
1656
1657config MSM_HW3D
1658 tristate "MSM Hardware 3D Register Driver"
1659 depends on ANDROID_PMEM
1660 default y
1661 help
1662 Provides access to registers needed by the userspace OpenGL|ES
1663 library.
1664
1665config MSM_ADSP
1666 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1667 tristate "MSM ADSP driver"
1668 depends on ANDROID_PMEM
1669 default y
1670 help
1671 Provides access to registers needed by the userspace aDSP library.
1672
1673config ADSP_RPC_VER
1674 hex
1675 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1676 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1677 depends on MSM_ADSP
1678 help
1679 Select proper ADSP RPC version
1680choice
1681 prompt "ADSP RPC version"
1682
1683 default AMSS_7X25_VERSION_2009
1684
1685 config AMSS_7X25_VERSION_2009
1686 bool "2.0.09"
1687
1688 config AMSS_7X25_VERSION_2008
1689 bool "2.0.08"
1690endchoice
1691
1692config MSM7KV2_AUDIO
1693 bool "MSM7K v2 audio"
1694 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1695 default y
1696 help
1697 Enables QDSP5V2-based audio drivers for audio playbacks and
1698 voice call.
1699
1700config MSM_ADSP_REPORT_EVENTS
1701 bool "Report modem events from the DSP"
1702 default y
1703 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1704 help
1705 Normally, only messages from the aDSP are reported to userspace.
1706 With this option, we report events from the aDSP as well.
1707
1708config MSM_QDSP6
1709 tristate "QDSP6 support"
1710 depends on ARCH_QSD8X50 && ANDROID_PMEM
1711 default y
1712 help
1713 Enable support for qdsp6. This provides audio and video functionality.
1714
1715config MSM8X60_AUDIO
1716 tristate "MSM8X60 audio support"
1717 depends on ARCH_MSM8X60 && ANDROID_PMEM
1718 default y
1719 help
1720 Enable support for qdsp6v2. This provides audio functionality.
1721
1722config MSM8X60_FTM_AUDIO_DEVICES
1723 bool "MSM8X60 audio factory test mode support"
1724 depends on MSM8X60_AUDIO
1725 help
1726 Enable support audio factory test mode devices. This is used
1727 in a production line environment.
1728
Ben Romberger45b351c2011-07-20 22:37:27 -07001729config RTAC
1730 bool "MSM8K real-time audio calibration support"
1731 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001732 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001733 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001734 audio operation
1735
1736config MSM7X27A_AUDIO
1737 bool "MSM7X27A audio support"
1738 depends on ARCH_MSM7X27A && MSM_ADSP
1739 default n
1740 help
1741 Enable support for 7x27a. This provides audio functionality.
1742
Justin Pauporea6cd2092011-06-22 16:19:45 -07001743config MSM_PROC_COMM_REGULATOR
Gregory Bean1963a2a2010-08-28 10:05:44 -07001744 bool
Justin Pauporea6cd2092011-06-22 16:19:45 -07001745 depends on MSM_PROC_COMM && REGULATOR
1746 help
1747 Enable regulator framework support for regulators managed by PMLIB
1748 on the modem, and controlled through proccomm calls.
1749
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001750config MSM_VREG_SWITCH_INVERTED
1751 bool "Reverse vreg switch polarity"
1752 default n
1753 help
1754 Reverses the enable and disable for vreg switch.
1755
1756config MSM_DMA_TEST
1757 tristate "MSM DMA test module"
1758 default m
1759 help
1760 Intended to be compiled as a module. Provides a device node
1761 and ioctls for testing the MSM dma system.
1762
1763config WIFI_CONTROL_FUNC
1764 bool "Enable WiFi control function abstraction"
1765 help
1766 Enables Power/Reset/Carddetect function abstraction
1767
1768config WIFI_MEM_PREALLOC
1769 depends on WIFI_CONTROL_FUNC
1770 bool "Preallocate memory for WiFi buffers"
1771 help
1772 Preallocates memory buffers for WiFi driver
1773
1774config QSD_AUDIO
1775 bool "QSD audio"
1776 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1777 default y
1778 help
1779 Provides PCM, MP3, and AAC audio playback.
1780
1781config AUDIO_AAC_PLUS
1782 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1783 bool "AAC+ Audio"
1784 default y
1785 help
1786 Provides AAC+ decoding
1787
1788config AUDIO_ENHANCED_AAC_PLUS
1789 depends on AUDIO_AAC_PLUS
1790 bool "Enhanced AAC+ Audio"
1791 default y
1792 help
1793 Provides Enhanced AAC+ decoding
1794
1795config SURF_FFA_GPIO_KEYPAD
1796 bool "MSM SURF/FFA GPIO keypad"
1797 depends on INPUT_GPIO = "y"
1798 default y
1799 help
1800 Select if the GPIO keypad is attached.
1801
1802config MSM_SLEEP_TIME_OVERRIDE
1803 bool "Allow overriding suspend/sleep time with PM module parameter"
1804 default y
1805 help
1806 Enable the module parameter sleep_time_override. Specified
1807 in units of seconds, it overwrites the normal sleep time of
1808 suspend. The feature is required for automated power management
1809 testing.
1810
1811config MSM_MEMORY_LOW_POWER_MODE
1812 bool "Control the low power modes of memory"
1813 default n
1814 help
1815 The application processor controls whether memory should enter
1816 which low power mode.
1817
1818choice
1819 prompt "Default Memory Low Power Mode during Idle"
1820 depends on MSM_MEMORY_LOW_POWER_MODE
1821 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1822 help
1823 Selects the default low power mode of the memory during idle
1824 sleep.
1825
1826 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1827 bool "Memory active"
1828
1829 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1830 bool "Memory in retention"
1831
1832 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1833 bool "Memory in deep power down"
1834endchoice
1835
1836choice
1837 prompt "Default Memory Low Power Mode during Suspend"
1838 depends on MSM_MEMORY_LOW_POWER_MODE
1839 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1840 help
1841 Selects the default low power mode of the memory during suspend
1842 sleep.
1843
1844 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1845 bool "Memory active"
1846
1847 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1848 bool "Memory in retention"
1849
1850 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1851 bool "Memory in deep power down"
1852endchoice
1853
1854choice
1855 prompt "Power management timeout action"
1856 default MSM_PM_TIMEOUT_HALT
1857 help
1858 Selects the Application Processor's action when Power Management
1859 times out waiting for Modem's handshake.
1860
1861 config MSM_PM_TIMEOUT_HALT
1862 bool "Halt the Application Processor"
1863
1864 config MSM_PM_TIMEOUT_RESET_MODEM
1865 bool "Reset the Modem Processor"
1866
1867 config MSM_PM_TIMEOUT_RESET_CHIP
1868 bool "Reset the entire chip"
1869endchoice
1870
1871config MSM_IDLE_WAIT_ON_MODEM
1872 int "Wait for Modem to become ready for idle power collapse"
1873 default 0
1874 help
1875 If Modem is not ready to handle Application Processor's request
1876 for idle power collapse, wait the number of microseconds in case
1877 Modem becomes ready soon.
1878
Matt Wagantall9274df92011-12-15 11:11:05 -08001879config MSM_RPM_REGULATOR
1880 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001881 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001882 help
1883 Compile in support for the RPM regulator driver, used for setting
1884 voltages and other parameters of the various power rails supplied
1885 by some Qualcomm PMICs.
1886
David Collinsc7642322012-04-04 10:19:12 -07001887config MSM_RPM_REGULATOR_SMD
1888 bool "SMD RPM regulator driver"
1889 depends on REGULATOR
1890 depends on OF
1891 depends on MSM_RPM_SMD
1892 help
1893 Compile in support for the SMD RPM regulator driver which is used for
1894 setting voltages and other parameters of the various power rails
1895 supplied by some Qualcomm PMICs. The SMD RPM regulator driver should
1896 be used on systems which contain an RPM which communicates with the
1897 application processor over SMD.
1898
Stephen Boyd01710582012-07-09 13:40:05 -07001899config MSM_SUBSYSTEM_RESTART
1900 bool "MSM Subsystem Restart"
1901 help
1902 This option enables the MSM subsystem restart framework.
1903
1904 The MSM subsystem restart framework provides support to boot,
1905 shutdown, and restart subsystems with a reference counted API.
1906 It also notifies userspace of transitions between these states via
1907 sysfs.
1908
1909config MSM_SYSMON_COMM
1910 bool "MSM System Monitor communication support"
1911 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1912 help
1913 This option adds support for MSM System Monitor library, which
1914 provides an API that may be used for notifying subsystems within
1915 the SoC about other subsystems' power-up/down state-changes.
1916
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001917config MSM_PIL
1918 bool "Peripheral image loading"
1919 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001920 default n
1921 help
1922 Some peripherals need to be loaded into memory before they can be
1923 brought out of reset.
1924
1925 Say yes to support these devices.
1926
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001927config MSM_PIL_MODEM
1928 tristate "Modem (ARM11) Boot Support"
Stephen Boyd3ac20732012-05-03 18:46:08 -07001929 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001930 help
1931 Support for booting and shutting down ARM11 Modem processors.
1932
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001933config MSM_PIL_QDSP6V3
1934 tristate "QDSP6v3 (Hexagon) Boot Support"
Stephen Boyd2e19d932012-05-09 17:36:04 -07001935 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001936 help
1937 Support for booting and shutting down QDSP6v3 processors (hexagon).
1938 The QDSP6 is a low power DSP used in audio software applications.
1939
Stephen Boydbdb53f32012-06-05 18:39:47 -07001940config MSM_PIL_LPASS_QDSP6V4
1941 tristate "LPASS QDSP6v4 (Hexagon) Boot Support"
Stephen Boyda1cf76b2012-06-13 12:05:35 -07001942 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydeb819882011-08-29 14:46:30 -07001943 help
Stephen Boydbdb53f32012-06-05 18:39:47 -07001944 Support for booting and shutting down QDSP6v4 processors (hexagon)
1945 in low power audio subsystems. If you would like to record or
1946 play audio then say Y here.
1947
1948 If unsure, say N.
1949
1950config MSM_PIL_MODEM_QDSP6V4
1951 tristate "Modem QDSP6v4 (Hexagon) Boot Support"
Stephen Boyd2efa9962012-06-12 14:20:12 -07001952 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydbdb53f32012-06-05 18:39:47 -07001953 help
1954 Support for booting and shutting down QDSP6v4 processors (hexagon)
1955 in modem subsystems. If you would like to make or receive phone
1956 calls then say Y here.
1957
1958 If unsure, say N.
Stephen Boydeb819882011-08-29 14:46:30 -07001959
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001960config MSM_PIL_LPASS_QDSP6V5
1961 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
1962 depends on MSM_PIL
1963 help
Matt Wagantall4e2599e2012-03-21 22:31:35 -07001964 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1965 in low power audio subsystems.
1966
1967config MSM_PIL_MSS_QDSP6V5
1968 tristate "MSS QDSP6v5 (Hexagon) Boot Support"
1969 depends on MSM_PIL
1970 help
1971 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1972 in modem subsystems.
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001973
Matt Wagantalle6e00d52012-03-08 17:39:07 -08001974config MSM_PIL_MBA
1975 tristate "Support for modem self-authentication"
1976 depends on MSM_PIL_MSS_QDSP6V5
1977 help
1978 Support for booting self-authenticating modems using the Modem Boot
1979 Authenticator.
Stephen Boyd322a9922011-09-20 01:05:54 -07001980
1981config MSM_PIL_RIVA
Stephen Boydd89eebe2011-09-28 23:28:11 -07001982 tristate "RIVA (WCNSS) Boot Support"
Stephen Boydfdec00d2012-05-10 17:04:49 -07001983 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001984 help
1985 Support for booting and shutting down the RIVA processor (WCNSS).
1986 Riva is the wireless subsystem processor used in bluetooth, wireless
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001987 LAN, and FM software applications.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001988
Stephen Boydd89eebe2011-09-28 23:28:11 -07001989config MSM_PIL_TZAPPS
1990 tristate "TZApps Boot Support"
1991 depends on MSM_PIL
1992 help
1993 Support for booting and shutting down TZApps.
1994
1995 TZApps is an image that runs in the secure processor state. It is
1996 used to decrypt data and perform secure operations on the behalf of
1997 the kernel.
1998
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07001999config MSM_PIL_DSPS
2000 tristate "DSPS Boot Support"
2001 depends on MSM_PIL
2002 help
2003 Support for booting and shutting down ARM7 DSPS processors.
2004
2005 DSPS is a sensors offloading processor used for applications such
2006 as rotation detection, temperature, etc.
2007
Stephen Boyd7b973de2012-03-09 12:26:16 -08002008config MSM_PIL_VIDC
2009 tristate "Video Core Secure Boot Support"
2010 depends on MSM_PIL
2011 help
2012 Support for authenticating the video core image.
2013
Tianyi Gou828798d2012-05-02 21:12:38 -07002014config MSM_PIL_VENUS
2015 tristate "VENUS (Video) Boot Support"
2016 depends on MSM_PIL
2017 help
2018 Support for booting and shutting down the VENUS processor (Video).
2019 Venus is the Video subsystem processor used for video codecs.
2020
Matt Wagantall292aace2012-01-26 19:12:34 -08002021config MSM_PIL_GSS
Stephen Boydd86214b2012-05-10 15:26:35 -07002022 tristate "GSS (Cortex A5) Boot Support"
2023 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantall292aace2012-01-26 19:12:34 -08002024 help
2025 Support for booting and shutting down Cortex A5 processors which run
2026 GPS subsystem firmware.
2027
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002028config MSM_PIL_PRONTO
2029 tristate "PRONTO (WCNSS) Boot Support"
2030 depends on MSM_PIL
2031 help
2032 Support for booting and shutting down the PRONTO processor (WCNSS).
2033 PRONTO is the wireless subsystem processor used in bluetooth, wireless
2034 LAN, and FM software applications.
2035
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002036config MSM_SCM
2037 bool "Secure Channel Manager (SCM) support"
2038 default n
2039
Vikram Mulukutla74f95262012-06-25 10:21:41 -07002040config MSM_MODEM_SSR_8974
2041 bool "MSM 8974 Modem restart driver"
2042 depends on (ARCH_MSM8974)
2043 help
2044 This option enables the modem subsystem restart driver for the MSM8974.
2045 It monitors the modem SMSM status bits and the modem watchdog line and
2046 restarts the modem or the 8974 when the modem encounters a fatal error,
2047 depending on the restart level selected in the subsystem restart driver.
2048
Ravishankar Sarawadi74daac22012-09-11 11:46:59 -07002049config MSM_ADSP_SSR_8974
2050 bool "MSM 8974 adsp restart driver"
2051 depends on (ARCH_MSM8974)
2052 help
2053 This option enables the adsp restart driver for the MSM8974.
2054 It monitors the adsp SMSM status bits and the adsp watchdog line and
2055 restarts the adsp or the 8974 when the adsp encounters a fatal error,
2056 depending on the restart level selected in the subsystem restart driver.
2057
Sameer Thalappilebfd3ba2012-09-13 23:19:15 -07002058config MSM_WCNSS_SSR_8974
2059 tristate "MSM 8974 WCNSS restart module"
2060 depends on (ARCH_MSM8974)
2061 help
2062 This option enables the WCNSS restart module for MSM8974. It monitors
2063 WCNSS SMSM status bits and WCNSS hardware watchdog interrupt line; and
2064 depending on the restart level, it will restart WCNSS when a fatal error
2065 occurs at WCNSS.
2066
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002067config SCORPION_Uni_45nm_BUG
2068 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
2069 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
2070 default y
2071 help
2072 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
2073 invalidating the Branch Predictor Array by Modified Virtual Address can
2074 create invalid entries in the TLB with the wrong ASID values on Scorpion
2075 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
2076 workaround for Scorpion Uniprocessor 45nm cores.
2077
2078 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
2079
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002080config MSM_BUSPM_DEV
2081 tristate "MSM Bus Performance Monitor Kernel Module"
2082 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
2083 default m
2084 help
2085 This kernel module is used to mmap() hardware registers for the
2086 performance monitors, counters, etc. The module can also be used to
2087 allocate physical memory which is used by bus performance hardware to
2088 dump performance data.
2089
Mona Hossain11c03ac2011-10-26 12:42:10 -07002090config MSM_TZ_LOG
2091 tristate "MSM Trust Zone (TZ) Log Driver"
2092 depends on DEBUG_FS
2093 help
2094 This option enables a driver with a debugfs interface for messages
2095 produced by the Secure code (Trust zone). These messages provide
2096 diagnostic information about TZ operation.
2097
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002098config MSM_RPM_LOG
2099 tristate "MSM Resource Power Manager Log Driver"
2100 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002101 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002102 default n
2103 help
2104 This option enables a driver which can read from a circular buffer
2105 of messages produced by the RPM. These messages provide diagnostic
2106 information about RPM operation. The driver outputs the messages
2107 via a debugfs node.
2108
2109config MSM_RPM_STATS_LOG
2110 tristate "MSM Resource Power Manager Stat Driver"
2111 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002112 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002113 default n
2114 help
2115 This option enables a driver which reads RPM messages from a shared
2116 memory location. These messages provide statistical information about
2117 the low power modes that RPM enters. The drivers outputs the message
2118 via a debugfs node.
2119
Girish Mahadevan898c56d2012-06-05 16:09:19 -06002120config MSM_RPM_RBCPR_STATS_LOG
2121 tristate "MSM Resource Power Manager RPBCPR Stat Driver"
2122 depends on DEBUG_FS
2123 depends on MSM_RPM
2124 help
2125 This option enables a driver which reads RPM messages from a shared
2126 memory location. These messages provide statistical information about
2127 RBCPR (Rapid Bridge Core Power Reduction) information . The drivers
2128 outputs the message via a debugfs node.
2129
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002130config MSM_DIRECT_SCLK_ACCESS
2131 bool "Direct access to the SCLK timer"
2132 default n
2133
2134config IOMMU_API
2135 bool
Gregory Bean1963a2a2010-08-28 10:05:44 -07002136
Brian Swetland9e73c842007-11-26 04:12:13 -08002137config MSM_GPIOMUX
2138 bool
2139
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002140config MSM_SECURE_IO
Brian Swetland9e73c842007-11-26 04:12:13 -08002141 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002142
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002143config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002144 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002145
Taniya Dascd1d0232012-07-03 17:50:47 +05302146config MSM_MODEM_RESTART
2147 bool
2148
Matt Wagantall88b86312012-01-31 16:53:03 -08002149config MSM_PM2
2150 depends on PM
2151 bool
2152
2153config MSM_PM8X60
2154 depends on PM
2155 bool
2156
Girish Mahadevan388c3082012-09-10 15:30:36 -06002157config MSM_EVENT_TIMER
2158 bool "Event timer"
2159 help
2160 This option enables a modules that manages a list of event timers that
2161 need to be monitored by the PM. The enables the PM code to monitor
2162 events that require the core to be awake and ready to handle the
2163 event.
2164
Matt Wagantall88b86312012-01-31 16:53:03 -08002165config MSM_NOPM
2166 default y if !PM
2167 bool
2168
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002169config MSM_BUS_SCALING
2170 bool "Bus scaling driver"
2171 default n
2172
Gagan Mac85c70492011-06-10 16:07:47 -06002173config MSM_BUS_RPM_MULTI_TIER_ENABLED
2174 bool "RPM Multi-tiering Configuration"
2175 depends on MSM_BUS_SCALING
2176
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002177config MSM_WATCHDOG
2178 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002179 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002180 help
2181 This enables the watchdog as is present on 8x60. Currently we use
2182 core 0's watchdog, and reset the entire SoC if it times out. It does
2183 not run during the bootup process, so it will not catch any early
2184 lockups.
2185
Hanumant Singhd1f01022012-07-05 14:21:53 -07002186config MSM_WATCHDOG_V2
2187 bool "MSM Watchdog Support"
2188 help
2189 This enables the watchdog module. It causes kernel panic if the
2190 watchdog times out. It allows for detection of cpu hangs and
2191 deadlocks. It does not run during the bootup process, so it will
2192 not catch any early lockups.
2193
Hanumant Singh5e2541c2012-07-31 14:41:14 -07002194config MSM_MEMORY_DUMP
2195 bool "MSM Memory Dump Support"
2196 help
2197 This enables memory dump feature. It allows various client
2198 subsystems to register respective dump regions. At the time
2199 of deadlocks or cpu hangs these dump regions are captured to
2200 give a snapshot of the system at the time of the crash.
2201
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002202config MSM_DLOAD_MODE
2203 bool "Enable download mode on crashes"
Subbaraman Narayanamurthye31f2792012-08-22 21:07:22 -07002204 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_MSM8974
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002205 default n
2206 help
2207 This makes the SoC enter download mode when it resets
2208 due to a kernel panic. Note that this doesn't by itself
2209 make the kernel reboot on a kernel panic - that must be
2210 enabled via another mechanism.
2211
Pratik Patel17f3b822011-11-21 12:41:47 -08002212config MSM_JTAG
Pratik Patel2963de42012-05-17 12:43:40 -07002213 bool "JTAG and kernel debug and trace support across power collapse"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002214 help
Pratik Patel2963de42012-05-17 12:43:40 -07002215 Enables support for kernel debugging (specifically breakpoints) and
2216 processor tracing across power collapse both for JTag and OS hosted
2217 software running on the target. Enabling this will ensure debug
2218 and ETM registers are saved and restored across power collapse.
2219
2220 For production builds, you should probably say 'N' here to avoid
2221 potential power, performance and memory penalty.
Pratik Patel7831c082011-06-08 21:44:37 -07002222
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002223config MSM_ETM
2224 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002225 depends on ARCH_MSM8X60
2226 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002227 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002228 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002229
Lynus Vazdde09ee2012-01-05 13:28:22 +05302230config MSM_SLEEP_STATS_DEVICE
2231 bool "Enable exporting of MSM sleep device stats to userspace"
2232
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302233config MSM_RUN_QUEUE_STATS
2234 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Krishna Vankae2922052012-03-02 09:59:12 +05302235 depends on (MSM_SOC_REV_A || ARCH_MSM8X60 || ARCH_MSM8960)
2236 help
2237 This option enalbes statistics collection on Run Queue. A daemon
2238 in user mode, called MPDecision will be using this data to decide
2239 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302240
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002241config MSM_STANDALONE_POWER_COLLAPSE
2242 bool "Enable standalone power collapse"
2243 default n
2244
2245config MSM_GSBI9_UART
2246 bool "Enable GSBI9 UART device"
2247 default n
2248 help
2249 This enables GSBI9 configured into UART.
2250
2251config MSM_SHARED_GPIO_FOR_UART2DM
2252 bool "Use shared GPIOs into UART mode"
2253 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2254 help
2255 This option configures GPIO muxed with SDC4/MMC3
2256 8-bit mode into UART mode. It is used for serial
2257 console on UART2DM. Say Y if you want to have
2258 serial console on UART2DM.
2259
2260config MSM_SHOW_RESUME_IRQ
2261 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002262 depends on (ARM_GIC || PMIC8058)
2263 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002264 default n
2265 help
2266 This option logs wake up interrupts that have triggered just before
2267 the resume loop unrolls. Say Y if you want to debug why the system
2268 resumed.
2269
2270config BT_MSM_PINTEST
2271 tristate "MSM Bluetooth Pin Connectivity Test"
2272 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2273 default n
2274 help
2275 Bluetooth MSM Pin Connectivity test module.
2276 This driver provides support for verifying the MSM to BT pin
2277 connectivity.
2278
2279config MSM_FAKE_BATTERY
2280 depends on POWER_SUPPLY
2281 default n
2282 bool "MSM Fake Battery"
2283 help
2284 Enables MSM fake battery driver.
2285
2286config MSM_QDSP6_APR
2287 bool "Audio QDSP6 APR support"
2288 depends on MSM_SMD
2289 default n
2290 help
2291 Enable APR IPC protocol support between
2292 application processor and QDSP6. APR is
2293 used by audio driver to configure QDSP6's
2294 ASM, ADM and AFE.
2295
Joonwoo Park91d95462012-08-02 10:55:54 -07002296config MSM_QDSP6_APRV2
2297 bool "Audio QDSP6 APRv2 support"
2298 depends on MSM_SMD
2299 default n
2300 help
2301 Enable APRv2 IPC protocol support between
2302 application processor and QDSP6. APR is
2303 used by audio driver to configure QDSP6's
2304 ASM, ADM and AFE.
2305
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -07002306config MSM_QDSP6_CODECS
2307 bool "Audio Codecs on QDSP6 APR "
2308 depends on MSM_SMD
2309 default n
2310 help
2311 Enable Audio codecs with APR IPC protocol support between
2312 application processor and QDSP6. APR is
2313 used by audio driver to configure QDSP6's
2314 ASM, ADM and AFE.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002315
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002316config MSM_QDSP6V2_CODECS
2317 bool "Audio QDSP6V2 APR support"
2318 depends on MSM_SMD
2319 help
2320 Enable Audio codecs with APR IPC protocol support between
2321 application processor and QDSP6 for B-family. APR is
2322 used by audio driver to configure QDSP6's
2323 ASM, ADM and AFE.
2324
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002325config MSM_AUDIO_QDSP6
2326 bool "QDSP6 HW Audio support"
2327 select SND_SOC_MSM_QDSP6_INTF
2328 default n
2329 help
2330 Enable HW audio support in QDSP6.
2331 QDSP6 can support HW encoder & decoder and audio processing
2332
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002333config MSM_AUDIO_QDSP6V2
2334 bool "QDSP6V2 HW Audio support"
2335 select SND_SOC_MSM_QDSP6V2_INTF
2336 help
2337 Enable HW audio support in QDSP6V2.
2338 QDSP6V2 can support HW encoder & decoder and
2339 audio processing. It will enable support for
2340 AAC, AMRNB, AMRWB, EVRC, MP3, QCELP among
2341 others.
2342
Joonwoo Park4a14a552012-08-02 11:03:21 -07002343config MSM_ADSP_LOADER
2344 tristate "ADSP loader support"
2345 select SND_SOC_MSM_APRV2_INTF
2346 depends on MSM_AUDIO_QDSP6V2 && m
2347 help
2348 Enable ADSP image loader.
2349 The ADSP loader brings ADSP out of reset
2350 for the platforms that use APRv2.
2351 Say M if you want to enable this module.
2352
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002353config MSM_ULTRASOUND
2354 bool "MSM ultrasound support"
2355 depends on MSM_AUDIO_QDSP6
2356 help
2357 Enable support for qdsp6/ultrasound.
2358
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002359config MSM_RPC_VIBRATOR
2360 bool "RPC based MSM Vibrator Support"
2361 depends on MSM_ONCRPCROUTER
2362 help
2363 Enable the vibrator support on MSM over RPC. The vibrator
2364 is connected on the PMIC. Say Y if you want to enable this
2365 feature.
2366
2367config PM8XXX_RPC_VIBRATOR
2368 bool "RPC based Vibrator on PM8xxx PMICs"
2369 depends on MSM_RPC_VIBRATOR
2370 help
2371 Enable the vibrator support on MSM over RPC. The vibrator
2372 is connected on the PM8XXX PMIC. Say Y if you want to enable
2373 this feature.
2374
2375config MSM_SPM_V1
2376 bool "Driver support for SPM Version 1"
2377 help
2378 Enables the support for Version 1 of the SPM driver. SPM hardware is
2379 used to manage the processor power during sleep. The driver allows
2380 configuring SPM to allow different power modes.
2381
2382config MSM_SPM_V2
2383 bool "Driver support for SPM Version 2"
2384 help
2385 Enables the support for Version 2 of the SPM driver. SPM hardware is
2386 used to manage the processor power during sleep. The driver allows
2387 configuring SPM to allow different power modes.
2388
2389config MSM_L2_SPM
2390 bool "SPM support for L2 cache"
2391 depends on MSM_SPM_V2
2392 help
2393 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2394 control of L2 cache low power mode with a Subsystem Power manager.
2395 Enabling this driver allows configuring L2 SPM for low power modes
2396 on supported chipsets.
2397
Laura Abbott2d1760b2011-09-29 21:31:24 -07002398config MSM_MULTIMEDIA_USE_ION
2399 bool "Multimedia suport using Ion"
2400 depends on ION_MSM
2401 help
2402 Enable support for multimedia drivers using Ion for buffer management
2403 instead of pmem. Selecting this may also involve userspace
2404 dependencies as well.
2405
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002406config MSM_OCMEM
2407 bool "MSM On-Chip memory driver (OCMEM)"
2408 help
2409 Enable support for On-Chip Memory available on certain MSM chipsets.
2410 OCMEM is a low latency, high performance pool shared by subsystems.
2411
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002412config MSM_OCMEM_LOCAL_POWER_CTRL
2413 bool "OCMEM Local Power Control"
2414 depends on MSM_OCMEM
2415 help
2416 Enable direct power management of the OCMEM core by the
2417 OCMEM driver. By default power management is delegated to
2418 the RPM. Selecting this option causes the OCMEM driver to
2419 directly handle the various macro power transitions.
2420
2421config MSM_OCMEM_DEBUG
2422 bool "OCMEM Debug Support"
2423 depends on MSM_OCMEM
2424 help
2425 Enable debug options for On-chip Memory (OCMEM) driver.
2426 Various debug options include memory, power and latency.
2427 Choosing one of these options allows debugging of each
2428 individual subsystem separately.
2429
Naveen Ramarajc71b2de2012-08-20 12:35:52 -07002430config MSM_OCMEM_NONSECURE
2431 bool "OCMEM Non Secure Mode"
2432 depends on MSM_OCMEM_DEBUG
2433 help
2434 Disable OCMEM interaction with secure processor.
2435 By default OCMEM is secured and accesses for each master
2436 is requested by the OCMEM driver. Selecting this option
2437 causes the OCMEM memory to be in non-secure state unless
2438 its locked down by the secure processor.
2439
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002440config MSM_OCMEM_POWER_DEBUG
2441 bool "OCMEM Power Debug Support"
2442 depends on MSM_OCMEM_DEBUG
2443 help
2444 Enable debug support for OCMEM power management.
2445 This adds support for verifying all power management
2446 related operations of OCMEM. Both local power management
2447 and RPM assisted power management operations are supported.
2448
Naveen Ramaraj4b1d9392012-08-06 21:05:14 -07002449config MSM_OCMEM_POWER_DISABLE
2450 bool "OCMEM Disable Power Control"
2451 depends on MSM_OCMEM_DEBUG
2452 help
2453 Disable all OCMEM power management.
2454 This keeps all OCMEM macros turned ON at all times thus
2455 never allowing them to be turned OFF. Both local power
2456 management and RPM assisted power modes are supported.
2457
Laura Abbottad340ff2012-01-04 14:23:48 -08002458config MSM_RTB
2459 bool "Register tracing"
2460 help
2461 Add support for logging different events to a small uncached
2462 region. This is designed to aid in debugging reset cases where the
2463 caches may not be flushed before the target resets.
2464
2465config MSM_RTB_SEPARATE_CPUS
2466 bool "Separate entries for each cpu"
2467 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002468 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002469 help
2470 Under some circumstances, it may be beneficial to give dedicated space
2471 for each cpu to log accesses. Selecting this option will log each cpu
2472 separately. This will guarantee that the last acesses for each cpu
2473 will be logged but there will be fewer entries per cpu
2474
Stepan Moskovchenko57884842012-06-07 17:35:49 -07002475config MSM_EBI_ERP
2476 bool "External Bus Interface (EBI) error reporting"
2477 help
2478 Say 'Y' here to enable reporting of external bus interface errors to
2479 the kernel log. Information such as the offending address and
2480 transaction type will be logged. This may be useful for debugging
2481 seemingly broken memory accesses.
2482
2483 For production builds, you should probably say 'N' here.
2484
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002485config MSM_CACHE_ERP
2486 bool "Cache / CPU error reporting"
2487 depends on ARCH_MSM_KRAIT
2488 help
2489 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2490 log. Enabling this feature can be used as a system debugging technique
2491 if cache corruption is suspected. Cache error statistics will also be
2492 reported in /proc/cpu/msm_cache_erp.
2493
2494 For production builds, you should probably say 'N' here.
2495
2496config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002497 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002498 depends on MSM_CACHE_ERP
2499 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002500 To cause the kernel to panic whenever an L1 cache error is detected, say
2501 'Y' here. This may be useful as a debugging technique if general system
2502 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002503
2504 For production builds, you should probably say 'N' here.
2505
Stepan Moskovchenko7035f652012-05-31 17:48:01 -07002506config MSM_L1_ERR_LOG
2507 bool "Log CPU ERP events to system memory"
2508 depends on MSM_CACHE_ERP
2509 help
2510 Enable logging CPU ERP events to an area of memory that will be
2511 preserved across a system reset. This may be useful for detecting and
2512 troubleshooting ERP-related system crashes in the field.
2513
2514 For production builds, you may want to say 'Y' here.
2515
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002516config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2517 bool "Report L2 master port slave/decode errors in kernel log"
2518 depends on MSM_CACHE_ERP
2519 help
2520 Master port errors can occur when a memory request is not properly
2521 handled by the destination slave. This can occur if the destination
2522 register does not exist or is inaccessible due to security
2523 restrictions or (in some cases) clock configuration. Enabling this
2524 option will cause a backtrace to be printed to the kernel log whenever
2525 such an error is encountered. Note that the error is reported as an
2526 interrupt rather than as an exception, meaning that the backtrace may
2527 have some skid. This option may help with debugging, though production
2528 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002529
2530config MSM_L2_ERP_PORT_PANIC
2531 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002532 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002533 help
2534 Master port errors can occur when a memory request is not properly
2535 handled by the destination slave. Enable this option to catch drivers
2536 which attempt to access bad areas of the address space, or access
2537 hardware registers in an improper state (such as certain clocks not
2538 being on). This option may help with debugging, though production
2539 builds should probably say 'N' here.
2540
2541config MSM_L2_ERP_1BIT_PANIC
2542 bool "Panic on recoverable L2 soft errors"
2543 depends on MSM_CACHE_ERP
2544 help
2545 Enable this option to cause a kernel panic whenever the L2 cache
2546 encounters a single-bit (correctable) soft error. This option should
2547 only be enabled when doing low-level debugging where cache corruption
2548 is suspected.
2549
2550 For production builds, you should definitely say 'N' here.
2551
2552config MSM_L2_ERP_2BIT_PANIC
2553 bool "Panic on unrecoverable L2 soft errors"
2554 depends on MSM_CACHE_ERP
2555 help
2556 Enable this option to cause a kernel panic whenever the L2 cache
2557 encounters a double-bit (non-correctable) soft error. Debug builds
2558 will likely benefit from having this option enabled to catch cache
2559 problems as soon as possible.
2560
2561 For production builds, it may be acceptable to say 'N' here, since
2562 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002563
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002564config MSM_DCVS
2565 bool "Use MSM DCVS for CPU/GPU Frequency control"
2566 depends on MSM_SCM
2567 help
2568 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2569 The DCVS manager allows idle driver to feed the idle information to the
2570 algorithm and the algorithm returns a frequency for the core which is
2571 passed to the frequency change driver.
2572
Pankaj Kumar32ce1ea2012-04-04 20:29:29 +05302573config MSM_CPR
2574 tristate "Use MSM CPR in S/W mode"
2575 help
2576 Enable CPR (core power reduction) in S/W mode, where the processor
2577 get's the notification from CPR block and programs the PMIC.
2578
2579config MSM_VP_REGULATOR
2580 tristate "Use MSM PMIC8029 C2 regulator"
2581 depends on ARCH_MSM8625
2582 help
2583 Enable MSM PMIC8029 C2 regulator support using APC_PLEVEL access
2584 for MSMs like 8625.
2585
Taniya Dasc43e6872012-03-21 16:41:14 +05302586config HAVE_ARCH_HAS_CURRENT_TIMER
2587 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002588
2589config MSM_CACHE_DUMP
2590 bool "Cache dumping support"
2591 help
2592 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2593 This allows for analysis of the caches in case cache corruption is
2594 suspected.
2595
Laura Abbott7b637362012-03-29 16:43:49 -07002596config MSM_CACHE_DUMP_ON_PANIC
2597 bool "Dump caches on panic"
2598 depends on MSM_CACHE_DUMP
2599 help
2600 By default, the caches are flushed on panic. This means that trying to
2601 look at them in a RAM dump will give useless data. Select this if you
2602 want to dump the L1 and L2 caches on panic before any flush occurs.
2603 If unsure, say N
2604
Jack Phamccbbfab2012-04-09 19:50:20 -07002605config MSM_HSIC_SYSMON
2606 tristate "MSM HSIC system monitor driver"
2607 depends on USB
2608 help
2609 Add support for bridging with the system monitor interface of MDM
2610 over HSIC. This driver allows the local system monitor to
2611 communicate with the remote system monitor interface.
2612
2613config MSM_HSIC_SYSMON_TEST
2614 tristate "MSM HSIC system monitor bridge test"
2615 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2616 help
2617 Enable the test hook for the Qualcomm system monitor HSIC driver.
2618 This will create a debugfs file entry named "hsic_sysmon_test" which
2619 can be read and written to send character data to the sysmon port of
2620 the modem over USB.
2621
Anirudh Ghayal0d2291a2012-09-20 21:31:41 +05302622config MSM_RPC_PMIC
2623 tristate "MSM RPC PMIC driver"
2624 depends on MSM_ONCRPCROUTER
2625 help
2626 This driver supports the PMIC functionality over RPC for those MSM's
2627 which do not have a direct access to PMIC. It supports ability to
2628 configure MPP, GPIO and all the other supported peripherals of the
2629 PMIC.
2630
Anirudh Ghayald3a63732012-09-20 22:13:13 +05302631config MSM_RPC_USB
2632 tristate "MSM RPC USB driver"
2633 depends on MSM_ONCRPCROUTER
2634 help
2635 This driver supports the USB configuration support over the RPC
2636 interface. It support the HS USB module connected to the MSM
2637 and FS USB which is connected over the PMIC. This support is
2638 required for MSMs on which the APPS does not have a direct access
2639 to the PMIC.
2640
2641config MSM_RPC_PMAPP
2642 tristate "MSM RPC PMIC APP driver"
2643 depends on MSM_ONCRPCROUTER
2644 help
2645 This driver supports the configuration of various PMIC APP modules
2646 such as display backlight, vreg pin-ctrl, smps clock over the RPC
2647 interface. This support is required for MSMs on which the APPS
2648 does not have a direct access to the PMIC.
Pushkar Joshi0fc73462012-09-26 17:59:31 -07002649
2650config MSM_ENABLE_WDOG_DEBUG_CONTROL
2651 bool "MSM Watchdog driver to disable debug Image"
2652 help
2653 This driver supports the configuration of the GCC_WDOG_DEBUG register
2654 used to control debug image.
2655 This support is currently required for MSM8974 to disable debug image
2656 on PS HOLD reset
Brian Swetland9e73c842007-11-26 04:12:13 -08002657endif