blob: 52031eaa36a05e0e5ad30d59914b8fc381805cc8 [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
Steve Mucklef132c6c2012-06-06 18:30:57 -0700318 select GPIO_MSM_V2
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700319 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600320 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600321 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700322 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800323 select REGULATOR
324 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530325 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800326 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800327 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700328 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800329 select MSM_QDSP6_APR
330 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800331 select FIQ
Laura Abbottb14ed962012-01-30 14:18:08 -0800332 select ARM_HAS_SG_CHAIN
Matt Wagantall9274df92011-12-15 11:11:05 -0800333
Taniya Das43bcdd62011-12-02 17:33:27 +0530334config ARCH_MSM8625
335 bool "MSM8625"
336 select ARCH_MSM_CORTEX_A5
337 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700338 select GPIO_MSM_V1
Taniya Das43bcdd62011-12-02 17:33:27 +0530339 select MSM_GPIOMUX
340 select ARM_GIC
341 select ARCH_MSM_CORTEXMP
342 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530343 select ARM_TICKET_LOCKS
Krishna Vankae2922052012-03-02 09:59:12 +0530344 select MSM_RUN_QUEUE_STATS
Trilok Sonib856ab92012-06-26 14:33:28 +0530345 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530346 select ARM_HAS_SG_CHAIN
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700347
348config ARCH_MSM9625
349 bool "MSM9625"
350 select ARM_GIC
351 select GIC_SECURE
Abhimanyu Kapur490d20c2012-06-22 17:34:20 -0700352 select MIGHT_HAVE_CACHE_L2X0
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700353 select ARCH_MSM_CORTEX_A5
354 select SMP
355 select MSM_SMP
356 select CPU_V7
Jin Hong690e3352012-05-02 09:25:05 -0700357 select MSM_GPIOMUX
Girish Mahadevanf1c20a42012-09-19 11:44:36 -0600358 select MSM_RPM_SMD
Abhimanyu Kapur46e5e2b2012-10-02 20:45:37 -0700359 select MSM_NATIVE_RESTART
360 select MSM_RESTART_V2
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700361 select MULTI_IRQ_HANDLER
Rohit Vaswani61cf6ef2012-07-27 13:51:48 -0700362 select GPIO_MSM_V3
David Collins1cc6e402012-09-17 16:02:24 -0700363 select MAY_HAVE_SPARSE_IRQ
364 select SPARSE_IRQ
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700365
366config ARCH_MSM8910
367 bool "MSM8910"
368 select ARM_GIC
369 select GIC_SECURE
370 select SMP
371 select ARCH_MSM_CORTEXMP
372 select CPU_V7
373 select MSM_SCM if SMP
374 select MAY_HAVE_SPARSE_IRQ
375 select SPARSE_IRQ
376 select MULTI_IRQ_HANDLER
377 select GPIO_MSM_V3
378 select MSM_GPIOMUX
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700379endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700380
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700381choice
382 prompt "MSM SoC Revision"
383 default MSM_SOC_REV_NONE
384config MSM_SOC_REV_NONE
385 bool "N/A"
386 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
387 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walkerbf83de42010-03-16 16:29:44 -0700388config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700389 bool "Rev. A"
390 select ARCH_MSM7X27A if ARCH_MSM7X27
Daniel Walkerbf83de42010-03-16 16:29:44 -0700391endchoice
392
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700393config MSM_KRAIT_TBB_ABORT_HANDLER
394 bool "Krait TBB/TBH data abort handler"
395 depends on ARCH_MSM_KRAIT
396 depends on ARM_THUMB
397 help
398 Certain early samples of the Krait processor may generate data
399 aborts for TBB / TBH instructions that fail their condition code
400 checks. Enabling this option will ignore these erroneous data aborts,
401 at the expense of a very small performance penalty.
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800402
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700403 If unsure, say N.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700404
405config ARCH_MSM_ARM11
406 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700407
Daniel Walkerbf83de42010-03-16 16:29:44 -0700408config ARCH_MSM_SCORPION
409 bool
410
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700411config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700412 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800413 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700414
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700415config MSM_SMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700416 select HAVE_SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700417 bool
418
419config ARCH_MSM_SCORPIONMP
420 select ARCH_MSM_SCORPION
421 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530422 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700423 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700424 bool
425
426config ARCH_MSM_KRAITMP
427 select ARCH_MSM_KRAIT
428 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530429 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700430 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700431 bool
432
Taniya Das43bcdd62011-12-02 17:33:27 +0530433config ARCH_MSM_CORTEXMP
434 select MSM_SMP
435 bool
436
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700437config MSM_KRAIT_WFE_FIXUP
438 bool
439
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700440config MSM_RESTART_V2
441 bool
442
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700443config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800444 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700445
446config ARCH_MSM7X27A
447 bool
448 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700449 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530450 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530451 select ARM_GIC
452 select ARCH_MSM_CORTEXMP
Trilok Sonib856ab92012-06-26 14:33:28 +0530453 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530454 select ARM_HAS_SG_CHAIN
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700455
Gregory Beanf9f3d312010-04-30 22:06:50 -0700456config MSM_VIC
457 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700458
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700459config MSM_RPM
460 bool "Resource Power Manager"
461 select MSM_MPM
462
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600463config MSM_RPM_SMD
464 depends on MSM_SMD
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600465 select MSM_MPM_OF
466 bool "RPM driver using SMD protocol"
467 help
468 RPM is the dedicated hardware engine for managing shared SoC
469 resources. This config adds driver support for using SMD as a
470 transport layer communication with RPM hardware. It also selects
471 the MSM_MPM config that programs the MPM module to monitor interrupts
472 during sleep modes.
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600473
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700474config MSM_MPM
475 bool "Modem Power Manager"
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600476 help
477 MPM is a dedicated hardware resource responsible for entering and
478 waking up from a system wide low power mode. The MPM driver tracks
479 the wakeup interrupts and configures the MPM to monitor the wakeup
480 interrupts when going to a system wide sleep mode.
481
482config MSM_MPM_OF
483 bool "Modem Power Manager"
484 depends on CONFIG_OF
485 help
486 MPM is a dedicated hardware resource responsible for entering and
487 waking up from a system wide low power mode. The MPM driver tracks
488 the wakeup interrupts and configures the MPM to monitor the wakeup
489 interrupts when going to a system wide sleep mode. This config option
490 enables the MPM driver that supports initialization from a device
491 tree
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700492
493config MSM_XO
494 bool
495
496config MSM_REMOTE_SPINLOCK_DEKKERS
497 bool
498config MSM_REMOTE_SPINLOCK_SWP
499 bool
500config MSM_REMOTE_SPINLOCK_LDREX
501 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600502config MSM_REMOTE_SPINLOCK_SFPB
503 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700504config MSM_ADM3
505 bool
506
507menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700508
509config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700510 depends on ARCH_MSM7X01A
511 depends on MSM_STACKED_MEMORY
512 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700513 bool "Halibut Board (QCT SURF7201A)"
514 help
515 Support for the Qualcomm SURF7201A eval board.
516
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700517config MACH_MSM7201A_SURF
518 depends on ARCH_MSM7X01A
519 depends on MSM_STACKED_MEMORY
520 default y
521 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700522 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700523 Support for the Qualcomm MSM7201A SURF eval board.
524
525config MACH_MSM7201A_FFA
526 depends on ARCH_MSM7X01A
527 depends on MSM_STACKED_MEMORY
528 default y
529 bool "MSM7201A FFA"
530 help
531 Support for the Qualcomm MSM7201A FFA eval board.
532
533config MACH_TROUT
534 depends on ARCH_MSM7X01A
535 depends on MSM_STACKED_MEMORY
536 default y
537 bool "Trout"
538
539config MACH_MSM7X27_SURF
540 depends on ARCH_MSM7X27
541 depends on !MSM_STACKED_MEMORY
542 default y
543 bool "MSM7x27 SURF"
544 help
545 Support for the Qualcomm MSM7x27 SURF eval board.
546
547config MACH_MSM7X27_FFA
548 depends on ARCH_MSM7X27
549 depends on !MSM_STACKED_MEMORY
550 default y
551 bool "MSM7x27 FFA"
552 help
553 Support for the Qualcomm MSM7x27 FFA eval board.
554
555config MACH_MSM7X27A_RUMI3
556 depends on ARCH_MSM7X27A
557 depends on !MSM_STACKED_MEMORY
558 default y
559 bool "MSM7x27A RUMI3"
560 help
561 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
562
563config MACH_MSM7X27A_SURF
564 depends on ARCH_MSM7X27A
565 depends on !MSM_STACKED_MEMORY
566 default y
567 bool "MSM7x27A SURF"
568 help
569 Support for the Qualcomm MSM7x27A SURF.
570
571config MACH_MSM7X27A_FFA
572 depends on ARCH_MSM7X27A
573 depends on !MSM_STACKED_MEMORY
574 default y
575 bool "MSM7x27A FFA"
576 help
577 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700578
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530579config MACH_MSM7625A_SURF
580 depends on ARCH_MSM7X27A
581 depends on !MSM_STACKED_MEMORY
582 default y
583 bool "MSM7625A SURF"
584 help
585 Support for the Qualcomm MSM7625A SURF.
586
587config MACH_MSM7625A_FFA
588 depends on ARCH_MSM7X27A
589 depends on !MSM_STACKED_MEMORY
590 default y
591 bool "MSM7625A FFA"
592 help
593 Support for the Qualcomm MSM7625A FFA.
594
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530595config MACH_MSM7627A_QRD1
596 depends on ARCH_MSM7X27A
597 depends on !MSM_STACKED_MEMORY
598 default y
599 bool "MSM7627A QRD1"
600 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530601 Support for the Qualcomm MSM7627A Reference Design.
602
603config MACH_MSM7627A_QRD3
604 depends on ARCH_MSM7X27A
605 depends on !MSM_STACKED_MEMORY
606 default y
607 bool "MSM7627A QRD3"
608 help
609 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530610
Taniya Dasc868a2e2012-01-03 10:18:47 +0530611config MACH_MSM7627A_EVB
612 depends on ARCH_MSM7X27A
613 depends on !MSM_STACKED_MEMORY
614 default y
615 bool "MSM7627A EVB"
616 help
617 Support for the Qualcomm MSM7627A Reference Design.
618
Taniya Das43bcdd62011-12-02 17:33:27 +0530619config MACH_MSM8625_RUMI3
620 depends on ARCH_MSM8625
621 depends on !MSM_STACKED_MEMORY
622 default y
623 bool "MSM8625 RUMI3"
624 help
625 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
626
Taniya Dase3027e22012-02-27 16:32:27 +0530627config MACH_MSM8625_SURF
628 depends on ARCH_MSM8625
629 depends on !MSM_STACKED_MEMORY
630 default y
631 bool "MSM8625 SURF"
632 help
633 Support for the Qualcomm MSM8625 SURF.
634
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530635config MACH_MSM8625_FFA
636 depends on ARCH_MSM8625
637 depends on !MSM_STACKED_MEMORY
638 default y
639 bool "MSM8625 FFA"
640 help
641 Support for the Qualcomm MSM8625 FFA.
642
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530643config MACH_MSM8625_EVB
644 depends on ARCH_MSM8625
645 depends on !MSM_STACKED_MEMORY
646 default y
647 bool "MSM8625 EVB"
648 help
649 Support for the Qualcomm MSM8625 Reference Design.
650
Taniya Dasbd096542012-03-15 17:43:45 +0530651config MACH_MSM8625_QRD7
652 depends on ARCH_MSM8625
653 depends on !MSM_STACKED_MEMORY
654 default y
655 bool "MSM8625 QRD7"
656 help
657 Support for the Qualcomm MSM8625 Reference Design.
658
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530659config MACH_MSM8625_EVT
660 depends on ARCH_MSM8625
661 depends on !MSM_STACKED_MEMORY
662 default y
663 bool "MSM8625 EVT"
664 help
665 Support for the Qualcomm MSM8625 Reference Design.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700666
Daniel Walker7b521612010-05-06 12:44:57 -0700667config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700668 depends on ARCH_MSM7X30
669 depends on !MSM_STACKED_MEMORY
670 default y
671 bool "MSM7x30 SURF"
672 help
673 Support for the Qualcomm MSM7x30 SURF eval board.
674
675config MACH_MSM7X30_FFA
676 depends on ARCH_MSM7X30
677 depends on !MSM_STACKED_MEMORY
678 default y
679 bool "MSM7x30 FFA"
680 help
681 Support for the Qualcomm MSM7x30 FFA eval board.
682
683config MACH_MSM7X30_FLUID
684 depends on ARCH_MSM7X30
685 depends on !MSM_STACKED_MEMORY
686 default y
687 bool "MSM7x30 FLUID"
688 help
689 Support for the Qualcomm MSM7x30 FLUID eval board.
690
691config MACH_SAPPHIRE
692 depends on ARCH_MSM7X01A
693 default n
694 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700695
Daniel Walker4ad15e62010-05-06 13:54:17 -0700696config MACH_QSD8X50_SURF
697 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700698 depends on MSM_SOC_REV_NONE
699 depends on MSM_STACKED_MEMORY
700 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700701 bool "QSD8x50 SURF"
702 help
703 Support for the Qualcomm QSD8x50 SURF eval board.
704
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700705config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700706 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700707 depends on MSM_SOC_REV_NONE
708 depends on MSM_STACKED_MEMORY
709 default y
710 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700711 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700712 Support for the Qualcomm QSD8x50 FFA eval board.
713
714config MACH_MSM7X25_SURF
715 depends on ARCH_MSM7X25
716 depends on !MSM_STACKED_MEMORY
717 default y
718 bool "MSM7x25 SURF"
719 help
720 Support for the Qualcomm MSM7x25 SURF eval board.
721
722config MACH_MSM7X25_FFA
723 depends on ARCH_MSM7X25
724 depends on !MSM_STACKED_MEMORY
725 default y
726 bool "MSM7x25 FFA"
727 help
728 Support for the Qualcomm MSM7x25 FFA eval board.
729
730config MACH_MSM8X55_SURF
731 depends on ARCH_MSM7X30
732 depends on !MSM_STACKED_MEMORY
733 default y
734 bool "MSM8X55 SURF"
735 help
736 Support for the Qualcomm MSM8x55 SURF eval board.
737
738config MACH_MSM8X55_FFA
739 depends on ARCH_MSM7X30
740 depends on !MSM_STACKED_MEMORY
741 default y
742 bool "MSM8X55 FFA"
743 help
744 Support for the Qualcomm MSM8x55 FFA eval board.
745
746config MACH_MSM8X55_SVLTE_FFA
747 depends on ARCH_MSM7X30
748 depends on !MSM_STACKED_MEMORY
749 default y
750 bool "MSM8X55 SVLTE FFA"
751 help
752 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
753
754config MACH_MSM8X55_SVLTE_SURF
755 depends on ARCH_MSM7X30
756 depends on !MSM_STACKED_MEMORY
757 default y
758 bool "MSM8X55 SVLTE SURF"
759 help
760 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700761
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700762config MACH_MSM8X60_SURF
763 depends on ARCH_MSM8X60
764 default n
765 bool "MSM8x60 SURF"
766 help
767 Support for the Qualcomm MSM8x60 SURF eval board.
768
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700769config MACH_MSM8X60_FFA
770 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700771 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700772 bool "MSM8x60 FFA"
773 help
774 Support for the Qualcomm MSM8x60 FFA eval board.
775
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700776config MACH_MSM8X60_FLUID
777 depends on ARCH_MSM8X60
778 default n
779 bool "MSM8x60 FLUID"
780 help
781 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
782 8x60 target which has a form factor that is much closer to that
783 of a phone than other targets. It also has a new display and
784 touchscreen controller.
785
786config MACH_MSM8X60_FUSION
787 depends on ARCH_MSM8X60
788 default n
789 bool "MSM8x60 FUSION"
790 help
791 Support for the Qualcomm MSM8x60 Fusion SURF device.
792
793config MACH_MSM8X60_FUSN_FFA
794 depends on ARCH_MSM8X60
795 default n
796 bool "MSM8x60 FUSN FFA"
797 help
798 Support for the Qualcomm MSM8x60 Fusion FFA device.
799
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400800config MACH_MSM8X60_DRAGON
801 depends on ARCH_MSM8X60
802 default n
803 bool "MSM8x60 DRAGON"
804 help
805 Support for the Qualcomm MSM8x60 Dragon board.
806
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700807config MACH_MSM8960_CDP
808 depends on ARCH_MSM8960
809 bool "MSM8960 CDP"
810 help
811 Support for the Qualcomm MSM8960 CDP device.
812
813config MACH_MSM8960_MTP
814 depends on ARCH_MSM8960
815 bool "MSM8960 MTP"
816 help
817 Support for the Qualcomm MSM8960 MTP device.
818
819config MACH_MSM8960_FLUID
820 depends on ARCH_MSM8960
821 bool "MSM8960 FLUID"
822 help
823 Support for the Qualcomm MSM8960 FLUID device.
824
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300825config MACH_MSM8960_LIQUID
826 depends on ARCH_MSM8960
827 bool "MSM8960 LIQUID"
828 help
829 Support for the Qualcomm MSM8960 LIQUID device.
830
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700831config MACH_MSM8930_CDP
832 depends on ARCH_MSM8930
833 bool "MSM8930 CDP"
834 help
835 Support for the Qualcomm MSM8930 CDP device.
836
837config MACH_MSM8930_MTP
838 depends on ARCH_MSM8930
839 bool "MSM8930 MTP"
840 help
841 Support for the Qualcomm MSM8930 MTP device.
842
843config MACH_MSM8930_FLUID
844 depends on ARCH_MSM8930
845 bool "MSM8930 FLUID"
846 help
847 Support for the Qualcomm MSM8930 FLUID device.
848
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800849config MACH_MSM8627_CDP
850 depends on ARCH_MSM8930
851 bool "MSM8627 CDP"
852 help
853 Support for the Qualcomm MSM8627 CDP device.
854
855config MACH_MSM8627_MTP
856 depends on ARCH_MSM8930
857 bool "MSM8627 MTP"
858 help
859 Support for the Qualcomm MSM8627 MTP device.
860
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700861config MACH_MSM9615_CDP
862 depends on ARCH_MSM9615
863 bool "MSM9615 CDP"
864 help
865 Support for the Qualcomm MSM9615 CDP device.
866
867config MACH_MSM9615_MTP
868 depends on ARCH_MSM9615
869 bool "MSM9615 MTP"
870 help
871 Support for the Qualcomm MSM9615 MTP device.
872
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700873config MSM_USE_TSIF1
874 depends on ARCH_MSM8X60
875 bool "MSM8x60 use TSIF1"
876 help
877 Selects TSIF1 core to be used rather than TSIF0.
878 The two TSIF cores share the same DM configuration
879 so they cannot be used simultaneously.
880
Joel King82b7e3f2012-01-05 10:03:27 -0800881config MACH_APQ8064_CDP
882 depends on ARCH_APQ8064
883 bool "APQ8064 CDP"
884 help
885 Support for the Qualcomm APQ8064 CDP device.
886
887config MACH_APQ8064_MTP
888 depends on ARCH_APQ8064
889 bool "APQ8064 MTP"
890 help
891 Support for the Qualcomm APQ8064 MTP device.
892
893config MACH_APQ8064_LIQUID
894 depends on ARCH_APQ8064
895 bool "APQ8064 LIQUID"
896 help
897 Support for the Qualcomm APQ8064 LIQUID device.
898
Joel King064bbf82012-04-01 13:23:39 -0700899config MACH_MPQ8064_CDP
900 depends on ARCH_APQ8064
901 bool "MPQ8064 CDP"
902 help
903 Support for the Qualcomm MPQ8064 CDP device.
904
Joel King11ca8202012-02-13 16:19:03 -0800905config MACH_MPQ8064_HRD
906 depends on ARCH_APQ8064
907 bool "MPQ8064 HRD"
908 help
909 Support for the Qualcomm MPQ8064 HRD device.
910
911config MACH_MPQ8064_DTV
912 depends on ARCH_APQ8064
913 bool "MPQ8064 DTV"
914 help
915 Support for the Qualcomm MPQ8064 DTV device.
916
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700917config MACH_FSM9XXX_SURF
918 depends on ARCH_FSM9XXX
919 depends on !MSM_STACKED_MEMORY
920 default y
921 bool "FSM9XXX SURF"
922 help
923 Support for the Qualcomm FSM9xxx femtocell
924 chipset based SURF evaluation board and
925 FFA board.
926
Daniel Walker4ad15e62010-05-06 13:54:17 -0700927endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800928
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700929config MSM_STACKED_MEMORY
930 bool "Stacked Memory"
931 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800932 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700933 This option is used to indicate the presence of on-die stacked
934 memory. When present this memory bank is used for a high speed
935 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800936
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700937config PHYS_OFFSET
938 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700939 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700940 default "0x80200000" if ARCH_APQ8064
941 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700942 default "0x80200000" if ARCH_MSM8930
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700943 default "0x00000000" if ARCH_MSM8974
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +0530944 default "0x00000000" if ARCH_MPQ8092
Syed Rameez Mustafa90f80502012-08-23 17:27:24 -0700945 default "0x00000000" if ARCH_MSM8226
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700946 default "0x00000000" if ARCH_MSM8910
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700947 default "0x10000000" if ARCH_FSM9XXX
Abhimanyu Kapur20ac2ad2012-09-25 04:23:59 -0700948 default "0x00200000" if ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700949 default "0x00200000" if !MSM_STACKED_MEMORY
950 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
951 default "0x20000000" if ARCH_QSD8X50
952 default "0x40200000" if ARCH_MSM8X60
953 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800954
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700955config KERNEL_MSM_CONTIG_MEM_REGION
956 bool "Enable in-kernel contiguous memory region"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700957 default y if ARCH_MSM8X60
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700958 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700959 help
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700960 Enable the in-kernel contiguous memory allocator. Sets up a
961 region of physically contiguous memory. This memory is
962 reserved during initialization, and can be used
963 generically.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700964
965config KERNEL_PMEM_SMI_REGION
966 bool "Enable in-kernel PMEM region for SMI"
967 default y if ARCH_MSM8X60
968 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
969 help
970 Enable the in-kernel PMEM allocator to use SMI memory.
971
972config PMEM_GPU0
973 bool "Enable PMEM GPU0 region"
974 default y
975 depends on ARCH_QSD8X50 && ANDROID_PMEM
976 help
977 Enable the PMEM GPU0 device on SMI Memory.
978
979config MSM_AMSS_VERSION
980 int
981 default 6210 if MSM_AMSS_VERSION_6210
982 default 6220 if MSM_AMSS_VERSION_6220
983 default 6225 if MSM_AMSS_VERSION_6225
984
985choice
986 prompt "AMSS modem firmware version"
987
988 default MSM_AMSS_VERSION_6225
989
990 config MSM_AMSS_VERSION_6210
991 bool "6.2.10"
992
993 config MSM_AMSS_VERSION_6220
994 bool "6.2.20"
995
996 config MSM_AMSS_VERSION_6225
997 bool "6.2.20 + New ADSP"
998endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800999
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001000config MSM_HAS_DEBUG_UART_HS
Daniel Walkerbf83de42010-03-16 16:29:44 -07001001 bool
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001002 help
1003 Say Y here if high speed MSM UART is present.
1004
1005config MSM_HAS_DEBUG_UART_HS_V14
1006 bool
1007 select MSM_HAS_DEBUG_UART_HS
1008 help
1009 Say Y here if high speed MSM UART v1.4 is present.
1010
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301011config MSM_DEBUG_UART_PHYS
1012 hex
1013 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
1014 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
1015 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
1016 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
1017 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
1018 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
1019 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
1020 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
1021
Brian Swetland9e73c842007-11-26 04:12:13 -08001022choice
1023 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001024 depends on DEBUG_LL
Brian Swetland9e73c842007-11-26 04:12:13 -08001025
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001026 config DEBUG_MSM_UART1
1027 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301028 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001029 help
1030 Say Y here if you want the debug print routines to direct
1031 their output to the first serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001032
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001033 config DEBUG_MSM_UART2
1034 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301035 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001036 help
1037 Say Y here if you want the debug print routines to direct
1038 their output to the second serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001039
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001040 config DEBUG_MSM_UART3
1041 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301042 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001043 help
1044 Say Y here if you want the debug print routines to direct
1045 their output to the third serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001046
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001047 config DEBUG_MSM8660_UART
1048 bool "Kernel low-level debugging messages via MSM 8660 UART"
1049 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001050 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001051 help
1052 Say Y here if you want the debug print routines to direct
1053 their output to the serial port on MSM 8660 devices.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001054
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001055 config DEBUG_MSM8960_UART
1056 bool "Kernel low-level debugging messages via MSM 8960 UART"
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001057 depends on ARCH_MSM8960 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001058 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001059 help
1060 Say Y here if you want the debug print routines to direct
1061 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001062
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001063 config DEBUG_MSM8930_UART
1064 bool "Kernel low-level debugging messages via MSM 8930 UART"
1065 depends on ARCH_MSM8930 && DEBUG_LL
1066 select MSM_HAS_DEBUG_UART_HS
1067 help
1068 Say Y here if you want the debug print routines to direct
1069 their output to the serial port on MSM 8930 devices.
1070
1071 config DEBUG_APQ8064_UART
1072 bool "Kernel low-level debugging messages via APQ 8064 UART"
1073 depends on ARCH_APQ8064 && DEBUG_LL
1074 select MSM_HAS_DEBUG_UART_HS
1075 help
1076 Say Y here if you want the debug print routines to direct
1077 their output to the serial port on APQ 8064 devices.
1078
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001079 config DEBUG_MSM8974_UART
1080 bool "Kernel low-level debugging messages via MSM 8974 UART"
1081 depends on ARCH_MSM8974
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001082 select MSM_HAS_DEBUG_UART_HS_V14
1083 help
1084 Say Y here if you want the debug print routines to direct
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001085 their output to the serial port on MSM 8974 devices.
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +05301086
1087 config DEBUG_MPQ8092_UART
1088 bool "Kernel low-level debugging messages via MPQ8092 UART"
1089 depends on ARCH_MPQ8092
1090 select MSM_HAS_DEBUG_UART_HS_V14
1091 help
1092 Say Y here if you want the debug print routines to direct
1093 their output to the serial port on MPQ8092 devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001094endchoice
Brian Swetland9e73c842007-11-26 04:12:13 -08001095
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001096choice
1097 prompt "Default Timer"
1098 default MSM7X00A_USE_GP_TIMER
1099
1100 config MSM7X00A_USE_GP_TIMER
1101 bool "GP Timer"
1102 help
1103 Low resolution timer that allows power collapse from idle.
1104
1105 config MSM7X00A_USE_DG_TIMER
1106 bool "DG Timer"
1107 help
1108 High resolution timer.
1109endchoice
1110
1111choice
1112 prompt "Suspend sleep mode"
1113 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1114 help
1115 Allows overriding the sleep mode used. Leave at power
1116 collapse suspend unless the arm9 image has problems.
1117
1118 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1119 bool "Power collapse suspend"
1120 help
1121 Lowest sleep state. Returns through reset vector.
1122
1123 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1124 bool "Power collapse"
1125 help
1126 Sleep state that returns through reset vector.
1127
1128 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1129 bool "Apps Sleep"
1130
1131 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1132 bool "Ramp down cpu clock and wait for interrupt"
1133
1134 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1135 bool "Wait for interrupt"
1136endchoice
1137
1138config MSM7X00A_SLEEP_MODE
1139 int
1140 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1141 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1142 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1143 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1144 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1145
1146choice
1147 prompt "Idle sleep mode"
1148 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1149 help
1150 Allows overriding the sleep mode used from idle. Leave at power
1151 collapse suspend unless the arm9 image has problems.
1152
1153 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1154 bool "Power collapse suspend"
1155 help
1156 Lowest sleep state. Returns through reset vector.
1157
1158 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1159 bool "Power collapse"
1160 help
1161 Sleep state that returns through reset vector.
1162
1163 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1164 bool "Apps Sleep"
1165
1166 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1167 bool "Ramp down cpu clock and wait for interrupt"
1168
1169 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1170 bool "Wait for interrupt"
1171endchoice
1172
1173config MSM7X00A_IDLE_SLEEP_MODE
1174 int
1175 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1176 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1177 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1178 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1179 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1180
1181config MSM7X00A_IDLE_SLEEP_MIN_TIME
1182 int "Minimum idle time before sleep"
1183 default 20000000
1184 help
1185 Minimum idle time in nanoseconds before entering low power mode.
1186
1187config MSM7X00A_IDLE_SPIN_TIME
1188 int "Idle spin time before cpu ramp down"
1189 default 80000
1190 help
1191 Spin time in nanoseconds before ramping down cpu clock and entering
1192 any low power state.
1193
1194menuconfig MSM_IDLE_STATS
1195 bool "Collect idle statistics"
1196 default y
1197 help
1198 Collect idle statistics and export them in proc/msm_pm_stats.
1199
1200if MSM_IDLE_STATS
1201
1202config MSM_IDLE_STATS_FIRST_BUCKET
1203 int "First bucket time"
1204 default 62500
1205 help
1206 Upper time limit in nanoseconds of first bucket.
1207
1208config MSM_IDLE_STATS_BUCKET_SHIFT
1209 int "Bucket shift"
1210 default 2
1211
1212config MSM_IDLE_STATS_BUCKET_COUNT
1213 int "Bucket count"
1214 default 10
1215
1216config MSM_SUSPEND_STATS_FIRST_BUCKET
1217 int "First bucket time for suspend"
1218 default 1000000000
1219 help
1220 Upper time limit in nanoseconds of first bucket of the
1221 histogram. This is for collecting statistics on suspend.
1222
1223endif # MSM_IDLE_STATS
1224
1225config CPU_HAS_L2_PMU
1226 bool "L2CC PMU Support"
1227 help
1228 Select this if the L2 cache controller has a Performance Monitoring Unit.
1229
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001230config HTC_HEADSET
1231 tristate "HTC 2 Wire detection driver"
1232 default n
1233 help
1234 Provides support for detecting HTC 2 wire devices, such as wired
1235 headset, on the trout platform. Can be used with the msm serial
1236 debugger, but not with serial console.
1237
1238config TROUT_BATTCHG
1239 depends on MACH_TROUT && POWER_SUPPLY
1240 default y
1241 bool "Trout battery / charger driver"
1242
1243config HTC_PWRSINK
1244 depends on MSM_SMD
1245 default n
1246 bool "HTC Power Sink Driver"
1247
1248config QSD_SVS
1249 bool "QSD Static Voltage Scaling"
1250 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1251 default y
1252 select TPS65023
1253 help
1254 Enables static voltage scaling using the TPS65023 PMIC.
1255
1256config QSD_PMIC_DEFAULT_DCDC1
1257 int "PMIC default output voltage"
1258 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1259 default 1250
1260 help
1261 This is the PMIC voltage at Linux kernel boot.
1262
1263config MSM_FIQ_SUPPORT
1264 default y
1265 bool "Enable installation of an FIQ handler."
1266
1267config MSM_SERIAL_DEBUGGER
1268 select MSM_FIQ_SUPPORT
1269 select KERNEL_DEBUGGER_CORE
1270 default n
1271 bool "FIQ Mode Serial Debugger"
1272 help
1273 The FIQ serial debugger can accept commands even when the
1274 kernel is unresponsive due to being stuck with interrupts
1275 disabled. Depends on the kernel debugger core in drivers/misc.
1276
1277config MSM_SERIAL_DEBUGGER_CONSOLE
1278 depends on MSM_SERIAL_DEBUGGER
1279 default n
1280 bool "Console on FIQ Serial Debugger port"
1281 help
1282 Enables a console so that printk messages are displayed on
1283 the debugger serial port as the occur.
Brian Swetland9e73c842007-11-26 04:12:13 -08001284
Gregory Beanab78cde2010-09-01 16:26:12 -07001285config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001286 default y
1287 bool "Proc-Comm RPC Interface"
1288 help
1289 Enables a lightweight communications interface to the
1290 baseband processor.
Gregory Beanab78cde2010-09-01 16:26:12 -07001291
Gregory Bean1963a2a2010-08-28 10:05:44 -07001292config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001293 bool "MSM Shared Memory Driver (SMD)"
1294 help
1295 Support for the shared memory interface between the apps
1296 processor and the baseband processor. Provides access to
1297 the "shared heap", as well as virtual serial channels
1298 used to communicate with various services on the baseband
1299 processor.
1300
1301choice
1302 prompt "MSM Shared memory interface version"
1303 depends on MSM_SMD
1304 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1305 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1306
1307 config MSM_SMD_PKG3
1308 bool
1309 prompt "Package 3"
1310
1311 config MSM_SMD_PKG4
1312 bool
1313 prompt "Package 4"
1314endchoice
1315
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001316config MSM_PCIE
1317 bool "MSM PCIe Controller driver"
1318 depends on PCI && PCI_MSI
1319 help
1320 Enables the PCIe functionality by configures PCIe core on
1321 MSM chipset and by enabling the ARM PCI framework extension.
1322
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001323config MSM_RPC_SDIO_XPRT
1324 depends on MSM_SDIO_AL
1325 default y
1326 bool "MSM SDIO XPRT Layer"
1327 help
1328 SDIO Transport Layer for RPC Rouer
1329
1330config MSM_RPC_SDIO_DEBUG
1331 depends on MSM_RPC_SDIO_XPRT
1332 default y
1333 bool "MSM SDIO XPRT debug support"
1334 help
1335 Support for debugging SDIO XPRT
1336
1337config MSM_SMD_DEBUG
1338 depends on MSM_SMD
1339 default y
1340 bool "MSM SMD debug support"
1341 help
1342 Support for debugging the SMD for communication
1343 between the ARM9 and ARM11
1344
1345config MSM_SDIO_AL
1346 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1347 default y
1348 tristate "SDIO-Abstraction-Layer"
1349 help
1350 Support MSM<->MDM Communication over SDIO bus.
1351 MDM SDIO-Client should have pipes support.
1352
1353config MSM_SDIO_DMUX
1354 bool "SDIO Data Mux Driver"
1355 depends on MSM_SDIO_AL
1356 default n
1357 help
1358 Support Muxed Data Channels over SDIO interface.
1359
1360config MSM_BAM_DMUX
1361 bool "BAM Data Mux Driver"
1362 depends on SPS
1363 default n
1364 help
1365 Support Muxed Data Channels over BAM interface.
1366 BAM has a limited number of pipes. This driver
1367 provides a means to support more logical channels
1368 via muxing than BAM could without muxing.
1369
1370config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001371 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001372 default y
1373 bool "MSM N-WAY SMD support"
1374 help
1375 Supports APPS-QDSP SMD communication along with
1376 normal APPS-MODEM SMD communication.
1377
1378config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001379 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001380 default y
1381 bool "MSM N-WAY SMSM support"
1382 help
1383 Supports APPS-QDSP SMSM communication along with
1384 normal APPS-MODEM SMSM communication.
1385
1386config MSM_RESET_MODEM
1387 tristate "Reset Modem Driver"
1388 depends on MSM_SMD
1389 default m
1390 help
1391 Allows the user to reset the modem through a device node.
1392
1393config MSM_SMD_LOGGING
1394 depends on MSM_SMD
1395 default y
1396 bool "MSM Shared Memory Logger"
1397 help
1398 This option exposes the shared memory logger at /dev/smem_log
1399 and a debugfs node named smem_log.
1400
1401 If in doubt, say yes.
1402
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001403config MSM_IPC_LOGGING
1404 bool "MSM Debug Logging for IPC Drivers"
1405 help
1406 This option allows the debug logging for IPC Drivers.
1407
1408 If in doubt, say no.
1409
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001410config MSM_SMD_NMEA
1411 bool "NMEA GPS Driver"
1412 depends on MSM_SMD
1413 default y
1414 help
1415 Enable this to support the NMEA GPS device.
1416
1417 If in doubt, say yes.
1418
1419config MSM_SDIO_TTY
1420 bool "SDIO TTY Driver"
1421 depends on MSM_SDIO_AL
1422 default n
1423 help
1424 Provides a TTY driver SDIO TTY
1425 This driver can be used by user space
1426 applications for passing data through the
1427 SDIO interface.
1428
1429config MSM_SMD_TTY
1430 bool "SMD TTY Driver"
1431 depends on MSM_SMD
1432 default y
1433 help
1434 Provides TTY interfaces to interact with the modem.
1435
1436 If in doubt, say yes.
1437
1438config MSM_SMD_QMI
1439 bool "SMD QMI Driver"
1440 depends on MSM_SMD
1441 default y
1442 help
1443 Manages network data connections.
1444
1445 If in doubt, say yes.
1446
1447config MSM_SMD_PKT
1448 bool "SMD Packet Driver"
1449 depends on MSM_SMD
1450 default y
1451 help
1452 Provides a binary SMD non-muxed packet port interface.
1453
1454 If in doubt, say yes.
1455
1456config MSM_SDIO_CMUX
1457 bool "SDIO CMUX Driver"
1458 depends on MSM_SDIO_AL
1459 default n
1460 help
1461 Provides a Muxed port interface over SDIO QMI
1462
1463config MSM_DSPS
1464 bool "Sensors DSPS driver"
1465 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1466 default n
1467 help
1468 Provides user-space interface to the sensors manager
1469 to turn on/off the Sensors Processor system clocks.
1470 It is the DSPS responsibility to turn on/off the sensors
1471 themself.
1472 The number of clocks and their name may vary between targets.
1473 It also triggers the PIL to load the DSPS firmware.
1474
1475config MSM_SDIO_CTL
1476 bool "SDIO CTL Driver"
1477 depends on MSM_SDIO_CMUX
1478 default n
1479 help
1480 Provides a binary SDIO control port interface.
1481
1482config MSM_ONCRPCROUTER
1483 depends on MSM_SMD
1484 default n
1485 bool "MSM ONCRPC router support"
1486 help
1487 Support for the MSM ONCRPC router for communication between
1488 the ARM9 and ARM11
1489
1490config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001491 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001492 default n
1493 bool "MSM IPC Router support"
1494 help
1495 Support for the MSM IPC Router for communication between
1496 the APPs and the MODEM
1497
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001498config MSM_IPC_ROUTER_SMD_XPRT
1499 depends on MSM_SMD
1500 depends on MSM_IPC_ROUTER
1501 default n
1502 bool "MSM SMD XPRT Layer"
1503 help
1504 SMD Transport Layer for IPC Router
1505
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001506config MSM_ONCRPCROUTER_DEBUG
1507 depends on MSM_ONCRPCROUTER
1508 default y
1509 bool "MSM debug ONCRPC router support"
1510 help
1511 Support for debugging the ONCRPC router for communication
1512 between the ARM9 and ARM11
1513
1514config MSM_RPC_LOOPBACK_XPRT
1515 depends on MSM_ONCRPCROUTER
1516 default n
1517 bool "MSM RPC local routing support"
1518 help
1519 Support for routing RPC messages between APPS clients
1520 and APPS servers. Helps in testing APPS RPC framework.
1521
1522config MSM_RPCSERVER_TIME_REMOTE
1523 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1524 default y
1525 bool "Time remote RPC server"
1526 help
1527 The time remote server receives notification of time bases and
1528 reports these events to registered callback functions.
1529
1530config MSM_RPCSERVER_WATCHDOG
1531 depends on MSM_ONCRPCROUTER
1532 default y
1533 bool "Watchdog RPC server"
1534 help
1535 The dog_keepalive server handles watchdog events.
1536
1537config MSM_RPC_WATCHDOG
1538 depends on MSM_ONCRPCROUTER
1539 default n
1540 bool "Watchdog RPC client"
1541 help
1542 The dog_keepalive client module.
1543
1544config MSM_RPC_PING
1545 depends on MSM_ONCRPCROUTER && DEBUG_FS
1546 default m
1547 bool "MSM rpc ping"
1548 help
1549 Implements MSM rpc ping test module.
1550
1551config MSM_RPC_PROC_COMM_TEST
1552 depends on DEBUG_FS && MSM_PROC_COMM
1553 default m
1554 bool "MSM rpc proc comm test"
1555 help
1556 Implements MSM rpc proc comm test module.
1557
1558config MSM_RPC_OEM_RAPI
1559 depends on MSM_ONCRPCROUTER
1560 default m
1561 bool "MSM oem rapi"
1562 help
1563 Implements MSM oem rapi client module.
1564
1565config MSM_RPCSERVER_HANDSET
1566 depends on MSM_ONCRPCROUTER
1567 default y
1568 bool "Handset events RPC server"
1569 help
1570 Support for receiving handset events like headset detect,
1571 headset switch and clamshell state.
1572
1573config MSM_RMT_STORAGE_CLIENT
1574 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1575 default n
1576 bool "Remote Storage RPC client"
1577 help
1578 Provide RPC mechanism for remote processors to access storage
1579 device on apps processor.
1580
1581config MSM_RMT_STORAGE_CLIENT_STATS
1582 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1583 default n
1584 bool "Remote storage RPC client performance statistics"
1585 help
1586 Collects performance statistics and shows this information
1587 through a debugfs file rmt_storage_stats.
1588
1589config MSM_SDIO_SMEM
1590 depends on MSM_SDIO_AL
1591 default n
1592 bool "SDIO SMEM for remote storage"
1593 help
1594 Copies data from remote MDM9K memory to local MSM8x60
1595 memory. Used by remote storage client to shadow
1596 MDM9K filesystem.
1597
1598config MSM_DALRPC
1599 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001600 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001601 help
1602 Supports RPC calls to DAL devices on remote processor cores.
1603
1604config MSM_DALRPC_TEST
1605 tristate "DAL RPC test module"
1606 depends on (MSM_DALRPC && DEBUG_FS)
1607 default m
1608 help
1609 Exercises DAL RPC calls to QDSP6.
1610
1611if CPU_FREQ_MSM
1612
1613config MSM_CPU_FREQ_SET_MIN_MAX
1614 bool "Set Min/Max CPU frequencies."
1615 default n
1616 help
1617 Allow setting min and max CPU frequencies. Sysfs can be used
1618 to override these values.
1619
1620config MSM_CPU_FREQ_MAX
1621 int "Max CPU Frequency"
1622 depends on MSM_CPU_FREQ_SET_MIN_MAX
1623 default 384000
1624
1625config MSM_CPU_FREQ_MIN
1626 int "Min CPU Frequency"
1627 depends on MSM_CPU_FREQ_SET_MIN_MAX
1628 default 245760
1629
1630endif # CPU_FREQ_MSM
1631
1632config MSM_CPU_AVS
1633 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1634 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1635 depends on ARCH_QSD8X50
1636 default n
1637 select MSM_AVS_HW
1638 help
1639 This enables the s/w control of Adaptive Voltage Scaling feature
1640 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1641 based on feedback from three ring oscillators in the CPU.
1642
1643config MSM_AVS_HW
1644 bool "Enable Adaptive Voltage Scaling (AVS)"
1645 default n
1646 help
1647 Enable AVS hardware to fine tune voltage at each frequency. The
1648 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1649 fine tune the voltages based on the feedback from the ring
1650 oscillators.
1651
1652config MSM_HW3D
1653 tristate "MSM Hardware 3D Register Driver"
1654 depends on ANDROID_PMEM
1655 default y
1656 help
1657 Provides access to registers needed by the userspace OpenGL|ES
1658 library.
1659
1660config MSM_ADSP
1661 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1662 tristate "MSM ADSP driver"
1663 depends on ANDROID_PMEM
1664 default y
1665 help
1666 Provides access to registers needed by the userspace aDSP library.
1667
1668config ADSP_RPC_VER
1669 hex
1670 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1671 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1672 depends on MSM_ADSP
1673 help
1674 Select proper ADSP RPC version
1675choice
1676 prompt "ADSP RPC version"
1677
1678 default AMSS_7X25_VERSION_2009
1679
1680 config AMSS_7X25_VERSION_2009
1681 bool "2.0.09"
1682
1683 config AMSS_7X25_VERSION_2008
1684 bool "2.0.08"
1685endchoice
1686
1687config MSM7KV2_AUDIO
1688 bool "MSM7K v2 audio"
1689 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1690 default y
1691 help
1692 Enables QDSP5V2-based audio drivers for audio playbacks and
1693 voice call.
1694
1695config MSM_ADSP_REPORT_EVENTS
1696 bool "Report modem events from the DSP"
1697 default y
1698 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1699 help
1700 Normally, only messages from the aDSP are reported to userspace.
1701 With this option, we report events from the aDSP as well.
1702
1703config MSM_QDSP6
1704 tristate "QDSP6 support"
1705 depends on ARCH_QSD8X50 && ANDROID_PMEM
1706 default y
1707 help
1708 Enable support for qdsp6. This provides audio and video functionality.
1709
1710config MSM8X60_AUDIO
1711 tristate "MSM8X60 audio support"
1712 depends on ARCH_MSM8X60 && ANDROID_PMEM
1713 default y
1714 help
1715 Enable support for qdsp6v2. This provides audio functionality.
1716
1717config MSM8X60_FTM_AUDIO_DEVICES
1718 bool "MSM8X60 audio factory test mode support"
1719 depends on MSM8X60_AUDIO
1720 help
1721 Enable support audio factory test mode devices. This is used
1722 in a production line environment.
1723
Ben Romberger45b351c2011-07-20 22:37:27 -07001724config RTAC
1725 bool "MSM8K real-time audio calibration support"
1726 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001727 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001728 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001729 audio operation
1730
1731config MSM7X27A_AUDIO
1732 bool "MSM7X27A audio support"
1733 depends on ARCH_MSM7X27A && MSM_ADSP
1734 default n
1735 help
1736 Enable support for 7x27a. This provides audio functionality.
1737
Justin Pauporea6cd2092011-06-22 16:19:45 -07001738config MSM_PROC_COMM_REGULATOR
Gregory Bean1963a2a2010-08-28 10:05:44 -07001739 bool
Justin Pauporea6cd2092011-06-22 16:19:45 -07001740 depends on MSM_PROC_COMM && REGULATOR
1741 help
1742 Enable regulator framework support for regulators managed by PMLIB
1743 on the modem, and controlled through proccomm calls.
1744
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001745config MSM_VREG_SWITCH_INVERTED
1746 bool "Reverse vreg switch polarity"
1747 default n
1748 help
1749 Reverses the enable and disable for vreg switch.
1750
1751config MSM_DMA_TEST
1752 tristate "MSM DMA test module"
1753 default m
1754 help
1755 Intended to be compiled as a module. Provides a device node
1756 and ioctls for testing the MSM dma system.
1757
1758config WIFI_CONTROL_FUNC
1759 bool "Enable WiFi control function abstraction"
1760 help
1761 Enables Power/Reset/Carddetect function abstraction
1762
1763config WIFI_MEM_PREALLOC
1764 depends on WIFI_CONTROL_FUNC
1765 bool "Preallocate memory for WiFi buffers"
1766 help
1767 Preallocates memory buffers for WiFi driver
1768
1769config QSD_AUDIO
1770 bool "QSD audio"
1771 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1772 default y
1773 help
1774 Provides PCM, MP3, and AAC audio playback.
1775
1776config AUDIO_AAC_PLUS
1777 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1778 bool "AAC+ Audio"
1779 default y
1780 help
1781 Provides AAC+ decoding
1782
1783config AUDIO_ENHANCED_AAC_PLUS
1784 depends on AUDIO_AAC_PLUS
1785 bool "Enhanced AAC+ Audio"
1786 default y
1787 help
1788 Provides Enhanced AAC+ decoding
1789
1790config SURF_FFA_GPIO_KEYPAD
1791 bool "MSM SURF/FFA GPIO keypad"
1792 depends on INPUT_GPIO = "y"
1793 default y
1794 help
1795 Select if the GPIO keypad is attached.
1796
1797config MSM_SLEEP_TIME_OVERRIDE
1798 bool "Allow overriding suspend/sleep time with PM module parameter"
1799 default y
1800 help
1801 Enable the module parameter sleep_time_override. Specified
1802 in units of seconds, it overwrites the normal sleep time of
1803 suspend. The feature is required for automated power management
1804 testing.
1805
1806config MSM_MEMORY_LOW_POWER_MODE
1807 bool "Control the low power modes of memory"
1808 default n
1809 help
1810 The application processor controls whether memory should enter
1811 which low power mode.
1812
1813choice
1814 prompt "Default Memory Low Power Mode during Idle"
1815 depends on MSM_MEMORY_LOW_POWER_MODE
1816 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1817 help
1818 Selects the default low power mode of the memory during idle
1819 sleep.
1820
1821 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1822 bool "Memory active"
1823
1824 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1825 bool "Memory in retention"
1826
1827 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1828 bool "Memory in deep power down"
1829endchoice
1830
1831choice
1832 prompt "Default Memory Low Power Mode during Suspend"
1833 depends on MSM_MEMORY_LOW_POWER_MODE
1834 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1835 help
1836 Selects the default low power mode of the memory during suspend
1837 sleep.
1838
1839 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1840 bool "Memory active"
1841
1842 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1843 bool "Memory in retention"
1844
1845 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1846 bool "Memory in deep power down"
1847endchoice
1848
1849choice
1850 prompt "Power management timeout action"
1851 default MSM_PM_TIMEOUT_HALT
1852 help
1853 Selects the Application Processor's action when Power Management
1854 times out waiting for Modem's handshake.
1855
1856 config MSM_PM_TIMEOUT_HALT
1857 bool "Halt the Application Processor"
1858
1859 config MSM_PM_TIMEOUT_RESET_MODEM
1860 bool "Reset the Modem Processor"
1861
1862 config MSM_PM_TIMEOUT_RESET_CHIP
1863 bool "Reset the entire chip"
1864endchoice
1865
1866config MSM_IDLE_WAIT_ON_MODEM
1867 int "Wait for Modem to become ready for idle power collapse"
1868 default 0
1869 help
1870 If Modem is not ready to handle Application Processor's request
1871 for idle power collapse, wait the number of microseconds in case
1872 Modem becomes ready soon.
1873
Matt Wagantall9274df92011-12-15 11:11:05 -08001874config MSM_RPM_REGULATOR
1875 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001876 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001877 help
1878 Compile in support for the RPM regulator driver, used for setting
1879 voltages and other parameters of the various power rails supplied
1880 by some Qualcomm PMICs.
1881
David Collinsc7642322012-04-04 10:19:12 -07001882config MSM_RPM_REGULATOR_SMD
1883 bool "SMD RPM regulator driver"
1884 depends on REGULATOR
1885 depends on OF
1886 depends on MSM_RPM_SMD
1887 help
1888 Compile in support for the SMD RPM regulator driver which is used for
1889 setting voltages and other parameters of the various power rails
1890 supplied by some Qualcomm PMICs. The SMD RPM regulator driver should
1891 be used on systems which contain an RPM which communicates with the
1892 application processor over SMD.
1893
Stephen Boyd01710582012-07-09 13:40:05 -07001894config MSM_SUBSYSTEM_RESTART
1895 bool "MSM Subsystem Restart"
1896 help
1897 This option enables the MSM subsystem restart framework.
1898
1899 The MSM subsystem restart framework provides support to boot,
1900 shutdown, and restart subsystems with a reference counted API.
1901 It also notifies userspace of transitions between these states via
1902 sysfs.
1903
1904config MSM_SYSMON_COMM
1905 bool "MSM System Monitor communication support"
1906 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1907 help
1908 This option adds support for MSM System Monitor library, which
1909 provides an API that may be used for notifying subsystems within
1910 the SoC about other subsystems' power-up/down state-changes.
1911
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001912config MSM_PIL
1913 bool "Peripheral image loading"
1914 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001915 default n
1916 help
1917 Some peripherals need to be loaded into memory before they can be
1918 brought out of reset.
1919
1920 Say yes to support these devices.
1921
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001922config MSM_PIL_MODEM
1923 tristate "Modem (ARM11) Boot Support"
Stephen Boyd3ac20732012-05-03 18:46:08 -07001924 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001925 help
1926 Support for booting and shutting down ARM11 Modem processors.
1927
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001928config MSM_PIL_QDSP6V3
1929 tristate "QDSP6v3 (Hexagon) Boot Support"
Stephen Boyd2e19d932012-05-09 17:36:04 -07001930 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001931 help
1932 Support for booting and shutting down QDSP6v3 processors (hexagon).
1933 The QDSP6 is a low power DSP used in audio software applications.
1934
Stephen Boydbdb53f32012-06-05 18:39:47 -07001935config MSM_PIL_LPASS_QDSP6V4
1936 tristate "LPASS QDSP6v4 (Hexagon) Boot Support"
Stephen Boydeb819882011-08-29 14:46:30 -07001937 depends on MSM_PIL
1938 help
Stephen Boydbdb53f32012-06-05 18:39:47 -07001939 Support for booting and shutting down QDSP6v4 processors (hexagon)
1940 in low power audio subsystems. If you would like to record or
1941 play audio then say Y here.
1942
1943 If unsure, say N.
1944
1945config MSM_PIL_MODEM_QDSP6V4
1946 tristate "Modem QDSP6v4 (Hexagon) Boot Support"
1947 depends on MSM_PIL
1948 help
1949 Support for booting and shutting down QDSP6v4 processors (hexagon)
1950 in modem subsystems. If you would like to make or receive phone
1951 calls then say Y here.
1952
1953 If unsure, say N.
Stephen Boydeb819882011-08-29 14:46:30 -07001954
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001955config MSM_PIL_LPASS_QDSP6V5
1956 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
1957 depends on MSM_PIL
1958 help
Matt Wagantall4e2599e2012-03-21 22:31:35 -07001959 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1960 in low power audio subsystems.
1961
1962config MSM_PIL_MSS_QDSP6V5
1963 tristate "MSS QDSP6v5 (Hexagon) Boot Support"
1964 depends on MSM_PIL
1965 help
1966 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1967 in modem subsystems.
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001968
Matt Wagantalle6e00d52012-03-08 17:39:07 -08001969config MSM_PIL_MBA
1970 tristate "Support for modem self-authentication"
1971 depends on MSM_PIL_MSS_QDSP6V5
1972 help
1973 Support for booting self-authenticating modems using the Modem Boot
1974 Authenticator.
Stephen Boyd322a9922011-09-20 01:05:54 -07001975
1976config MSM_PIL_RIVA
Stephen Boydd89eebe2011-09-28 23:28:11 -07001977 tristate "RIVA (WCNSS) Boot Support"
Stephen Boydfdec00d2012-05-10 17:04:49 -07001978 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001979 help
1980 Support for booting and shutting down the RIVA processor (WCNSS).
1981 Riva is the wireless subsystem processor used in bluetooth, wireless
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001982 LAN, and FM software applications.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001983
Stephen Boydd89eebe2011-09-28 23:28:11 -07001984config MSM_PIL_TZAPPS
1985 tristate "TZApps Boot Support"
1986 depends on MSM_PIL
1987 help
1988 Support for booting and shutting down TZApps.
1989
1990 TZApps is an image that runs in the secure processor state. It is
1991 used to decrypt data and perform secure operations on the behalf of
1992 the kernel.
1993
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07001994config MSM_PIL_DSPS
1995 tristate "DSPS Boot Support"
1996 depends on MSM_PIL
1997 help
1998 Support for booting and shutting down ARM7 DSPS processors.
1999
2000 DSPS is a sensors offloading processor used for applications such
2001 as rotation detection, temperature, etc.
2002
Stephen Boyd7b973de2012-03-09 12:26:16 -08002003config MSM_PIL_VIDC
2004 tristate "Video Core Secure Boot Support"
2005 depends on MSM_PIL
2006 help
2007 Support for authenticating the video core image.
2008
Tianyi Gou828798d2012-05-02 21:12:38 -07002009config MSM_PIL_VENUS
2010 tristate "VENUS (Video) Boot Support"
2011 depends on MSM_PIL
2012 help
2013 Support for booting and shutting down the VENUS processor (Video).
2014 Venus is the Video subsystem processor used for video codecs.
2015
Matt Wagantall292aace2012-01-26 19:12:34 -08002016config MSM_PIL_GSS
Stephen Boydd86214b2012-05-10 15:26:35 -07002017 tristate "GSS (Cortex A5) Boot Support"
2018 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantall292aace2012-01-26 19:12:34 -08002019 help
2020 Support for booting and shutting down Cortex A5 processors which run
2021 GPS subsystem firmware.
2022
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002023config MSM_PIL_PRONTO
2024 tristate "PRONTO (WCNSS) Boot Support"
2025 depends on MSM_PIL
2026 help
2027 Support for booting and shutting down the PRONTO processor (WCNSS).
2028 PRONTO is the wireless subsystem processor used in bluetooth, wireless
2029 LAN, and FM software applications.
2030
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002031config MSM_SCM
2032 bool "Secure Channel Manager (SCM) support"
2033 default n
2034
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002035config MSM_MODEM_8960
2036 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08002037 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002038 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08002039 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002040 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08002041 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002042
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07002043config MSM_LPASS_8960
2044 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08002045 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07002046 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08002047 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07002048 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08002049 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07002050
Vikram Mulukutla74f95262012-06-25 10:21:41 -07002051config MSM_MODEM_SSR_8974
2052 bool "MSM 8974 Modem restart driver"
2053 depends on (ARCH_MSM8974)
2054 help
2055 This option enables the modem subsystem restart driver for the MSM8974.
2056 It monitors the modem SMSM status bits and the modem watchdog line and
2057 restarts the modem or the 8974 when the modem encounters a fatal error,
2058 depending on the restart level selected in the subsystem restart driver.
2059
Ravishankar Sarawadi74daac22012-09-11 11:46:59 -07002060config MSM_ADSP_SSR_8974
2061 bool "MSM 8974 adsp restart driver"
2062 depends on (ARCH_MSM8974)
2063 help
2064 This option enables the adsp restart driver for the MSM8974.
2065 It monitors the adsp SMSM status bits and the adsp watchdog line and
2066 restarts the adsp or the 8974 when the adsp encounters a fatal error,
2067 depending on the restart level selected in the subsystem restart driver.
2068
Sameer Thalappilebfd3ba2012-09-13 23:19:15 -07002069config MSM_WCNSS_SSR_8974
2070 tristate "MSM 8974 WCNSS restart module"
2071 depends on (ARCH_MSM8974)
2072 help
2073 This option enables the WCNSS restart module for MSM8974. It monitors
2074 WCNSS SMSM status bits and WCNSS hardware watchdog interrupt line; and
2075 depending on the restart level, it will restart WCNSS when a fatal error
2076 occurs at WCNSS.
2077
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002078config SCORPION_Uni_45nm_BUG
2079 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
2080 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
2081 default y
2082 help
2083 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
2084 invalidating the Branch Predictor Array by Modified Virtual Address can
2085 create invalid entries in the TLB with the wrong ASID values on Scorpion
2086 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
2087 workaround for Scorpion Uniprocessor 45nm cores.
2088
2089 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
2090
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002091config MSM_BUSPM_DEV
2092 tristate "MSM Bus Performance Monitor Kernel Module"
2093 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
2094 default m
2095 help
2096 This kernel module is used to mmap() hardware registers for the
2097 performance monitors, counters, etc. The module can also be used to
2098 allocate physical memory which is used by bus performance hardware to
2099 dump performance data.
2100
Mona Hossain11c03ac2011-10-26 12:42:10 -07002101config MSM_TZ_LOG
2102 tristate "MSM Trust Zone (TZ) Log Driver"
2103 depends on DEBUG_FS
2104 help
2105 This option enables a driver with a debugfs interface for messages
2106 produced by the Secure code (Trust zone). These messages provide
2107 diagnostic information about TZ operation.
2108
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002109config MSM_RPM_LOG
2110 tristate "MSM Resource Power Manager Log 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 can read from a circular buffer
2116 of messages produced by the RPM. These messages provide diagnostic
2117 information about RPM operation. The driver outputs the messages
2118 via a debugfs node.
2119
2120config MSM_RPM_STATS_LOG
2121 tristate "MSM Resource Power Manager Stat Driver"
2122 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002123 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002124 default n
2125 help
2126 This option enables a driver which reads RPM messages from a shared
2127 memory location. These messages provide statistical information about
2128 the low power modes that RPM enters. The drivers outputs the message
2129 via a debugfs node.
2130
Girish Mahadevan898c56d2012-06-05 16:09:19 -06002131config MSM_RPM_RBCPR_STATS_LOG
2132 tristate "MSM Resource Power Manager RPBCPR Stat Driver"
2133 depends on DEBUG_FS
2134 depends on MSM_RPM
2135 help
2136 This option enables a driver which reads RPM messages from a shared
2137 memory location. These messages provide statistical information about
2138 RBCPR (Rapid Bridge Core Power Reduction) information . The drivers
2139 outputs the message via a debugfs node.
2140
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002141config MSM_DIRECT_SCLK_ACCESS
2142 bool "Direct access to the SCLK timer"
2143 default n
2144
2145config IOMMU_API
2146 bool
Gregory Bean1963a2a2010-08-28 10:05:44 -07002147
Brian Swetland9e73c842007-11-26 04:12:13 -08002148config MSM_GPIOMUX
2149 bool
2150
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002151config MSM_SECURE_IO
Brian Swetland9e73c842007-11-26 04:12:13 -08002152 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002153
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002154config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002155 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002156
Taniya Dascd1d0232012-07-03 17:50:47 +05302157config MSM_MODEM_RESTART
2158 bool
2159
Matt Wagantall88b86312012-01-31 16:53:03 -08002160config MSM_PM2
2161 depends on PM
2162 bool
2163
2164config MSM_PM8X60
2165 depends on PM
2166 bool
2167
Girish Mahadevan388c3082012-09-10 15:30:36 -06002168config MSM_EVENT_TIMER
2169 bool "Event timer"
2170 help
2171 This option enables a modules that manages a list of event timers that
2172 need to be monitored by the PM. The enables the PM code to monitor
2173 events that require the core to be awake and ready to handle the
2174 event.
2175
Matt Wagantall88b86312012-01-31 16:53:03 -08002176config MSM_NOPM
2177 default y if !PM
2178 bool
2179
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002180config MSM_BUS_SCALING
2181 bool "Bus scaling driver"
2182 default n
2183
Gagan Mac85c70492011-06-10 16:07:47 -06002184config MSM_BUS_RPM_MULTI_TIER_ENABLED
2185 bool "RPM Multi-tiering Configuration"
2186 depends on MSM_BUS_SCALING
2187
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002188config MSM_WATCHDOG
2189 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002190 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002191 help
2192 This enables the watchdog as is present on 8x60. Currently we use
2193 core 0's watchdog, and reset the entire SoC if it times out. It does
2194 not run during the bootup process, so it will not catch any early
2195 lockups.
2196
Hanumant Singhd1f01022012-07-05 14:21:53 -07002197config MSM_WATCHDOG_V2
2198 bool "MSM Watchdog Support"
2199 help
2200 This enables the watchdog module. It causes kernel panic if the
2201 watchdog times out. It allows for detection of cpu hangs and
2202 deadlocks. It does not run during the bootup process, so it will
2203 not catch any early lockups.
2204
Hanumant Singh5e2541c2012-07-31 14:41:14 -07002205config MSM_MEMORY_DUMP
2206 bool "MSM Memory Dump Support"
2207 help
2208 This enables memory dump feature. It allows various client
2209 subsystems to register respective dump regions. At the time
2210 of deadlocks or cpu hangs these dump regions are captured to
2211 give a snapshot of the system at the time of the crash.
2212
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002213config MSM_DLOAD_MODE
2214 bool "Enable download mode on crashes"
Subbaraman Narayanamurthye31f2792012-08-22 21:07:22 -07002215 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_MSM8974
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002216 default n
2217 help
2218 This makes the SoC enter download mode when it resets
2219 due to a kernel panic. Note that this doesn't by itself
2220 make the kernel reboot on a kernel panic - that must be
2221 enabled via another mechanism.
2222
Pratik Patel17f3b822011-11-21 12:41:47 -08002223config MSM_JTAG
Pratik Patel2963de42012-05-17 12:43:40 -07002224 bool "JTAG and kernel debug and trace support across power collapse"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002225 help
Pratik Patel2963de42012-05-17 12:43:40 -07002226 Enables support for kernel debugging (specifically breakpoints) and
2227 processor tracing across power collapse both for JTag and OS hosted
2228 software running on the target. Enabling this will ensure debug
2229 and ETM registers are saved and restored across power collapse.
2230
2231 For production builds, you should probably say 'N' here to avoid
2232 potential power, performance and memory penalty.
Pratik Patel7831c082011-06-08 21:44:37 -07002233
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002234config MSM_ETM
2235 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002236 depends on ARCH_MSM8X60
2237 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002238 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002239 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002240
Lynus Vazdde09ee2012-01-05 13:28:22 +05302241config MSM_SLEEP_STATS_DEVICE
2242 bool "Enable exporting of MSM sleep device stats to userspace"
2243
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302244config MSM_RUN_QUEUE_STATS
2245 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Krishna Vankae2922052012-03-02 09:59:12 +05302246 depends on (MSM_SOC_REV_A || ARCH_MSM8X60 || ARCH_MSM8960)
2247 help
2248 This option enalbes statistics collection on Run Queue. A daemon
2249 in user mode, called MPDecision will be using this data to decide
2250 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302251
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002252config MSM_STANDALONE_POWER_COLLAPSE
2253 bool "Enable standalone power collapse"
2254 default n
2255
2256config MSM_GSBI9_UART
2257 bool "Enable GSBI9 UART device"
2258 default n
2259 help
2260 This enables GSBI9 configured into UART.
2261
2262config MSM_SHARED_GPIO_FOR_UART2DM
2263 bool "Use shared GPIOs into UART mode"
2264 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2265 help
2266 This option configures GPIO muxed with SDC4/MMC3
2267 8-bit mode into UART mode. It is used for serial
2268 console on UART2DM. Say Y if you want to have
2269 serial console on UART2DM.
2270
2271config MSM_SHOW_RESUME_IRQ
2272 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002273 depends on (ARM_GIC || PMIC8058)
2274 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002275 default n
2276 help
2277 This option logs wake up interrupts that have triggered just before
2278 the resume loop unrolls. Say Y if you want to debug why the system
2279 resumed.
2280
2281config BT_MSM_PINTEST
2282 tristate "MSM Bluetooth Pin Connectivity Test"
2283 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2284 default n
2285 help
2286 Bluetooth MSM Pin Connectivity test module.
2287 This driver provides support for verifying the MSM to BT pin
2288 connectivity.
2289
2290config MSM_FAKE_BATTERY
2291 depends on POWER_SUPPLY
2292 default n
2293 bool "MSM Fake Battery"
2294 help
2295 Enables MSM fake battery driver.
2296
2297config MSM_QDSP6_APR
2298 bool "Audio QDSP6 APR support"
2299 depends on MSM_SMD
2300 default n
2301 help
2302 Enable APR IPC protocol support between
2303 application processor and QDSP6. APR is
2304 used by audio driver to configure QDSP6's
2305 ASM, ADM and AFE.
2306
Joonwoo Park91d95462012-08-02 10:55:54 -07002307config MSM_QDSP6_APRV2
2308 bool "Audio QDSP6 APRv2 support"
2309 depends on MSM_SMD
2310 default n
2311 help
2312 Enable APRv2 IPC protocol support between
2313 application processor and QDSP6. APR is
2314 used by audio driver to configure QDSP6's
2315 ASM, ADM and AFE.
2316
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -07002317config MSM_QDSP6_CODECS
2318 bool "Audio Codecs on QDSP6 APR "
2319 depends on MSM_SMD
2320 default n
2321 help
2322 Enable Audio codecs with APR IPC protocol support between
2323 application processor and QDSP6. APR is
2324 used by audio driver to configure QDSP6's
2325 ASM, ADM and AFE.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002326
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002327config MSM_QDSP6V2_CODECS
2328 bool "Audio QDSP6V2 APR support"
2329 depends on MSM_SMD
2330 help
2331 Enable Audio codecs with APR IPC protocol support between
2332 application processor and QDSP6 for B-family. APR is
2333 used by audio driver to configure QDSP6's
2334 ASM, ADM and AFE.
2335
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002336config MSM_AUDIO_QDSP6
2337 bool "QDSP6 HW Audio support"
2338 select SND_SOC_MSM_QDSP6_INTF
2339 default n
2340 help
2341 Enable HW audio support in QDSP6.
2342 QDSP6 can support HW encoder & decoder and audio processing
2343
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002344config MSM_AUDIO_QDSP6V2
2345 bool "QDSP6V2 HW Audio support"
2346 select SND_SOC_MSM_QDSP6V2_INTF
2347 help
2348 Enable HW audio support in QDSP6V2.
2349 QDSP6V2 can support HW encoder & decoder and
2350 audio processing. It will enable support for
2351 AAC, AMRNB, AMRWB, EVRC, MP3, QCELP among
2352 others.
2353
Joonwoo Park4a14a552012-08-02 11:03:21 -07002354config MSM_ADSP_LOADER
2355 tristate "ADSP loader support"
2356 select SND_SOC_MSM_APRV2_INTF
2357 depends on MSM_AUDIO_QDSP6V2 && m
2358 help
2359 Enable ADSP image loader.
2360 The ADSP loader brings ADSP out of reset
2361 for the platforms that use APRv2.
2362 Say M if you want to enable this module.
2363
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002364config MSM_ULTRASOUND
2365 bool "MSM ultrasound support"
2366 depends on MSM_AUDIO_QDSP6
2367 help
2368 Enable support for qdsp6/ultrasound.
2369
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002370config MSM_RPC_VIBRATOR
2371 bool "RPC based MSM Vibrator Support"
2372 depends on MSM_ONCRPCROUTER
2373 help
2374 Enable the vibrator support on MSM over RPC. The vibrator
2375 is connected on the PMIC. Say Y if you want to enable this
2376 feature.
2377
2378config PM8XXX_RPC_VIBRATOR
2379 bool "RPC based Vibrator on PM8xxx PMICs"
2380 depends on MSM_RPC_VIBRATOR
2381 help
2382 Enable the vibrator support on MSM over RPC. The vibrator
2383 is connected on the PM8XXX PMIC. Say Y if you want to enable
2384 this feature.
2385
2386config MSM_SPM_V1
2387 bool "Driver support for SPM Version 1"
2388 help
2389 Enables the support for Version 1 of the SPM driver. SPM hardware is
2390 used to manage the processor power during sleep. The driver allows
2391 configuring SPM to allow different power modes.
2392
2393config MSM_SPM_V2
2394 bool "Driver support for SPM Version 2"
2395 help
2396 Enables the support for Version 2 of the SPM driver. SPM hardware is
2397 used to manage the processor power during sleep. The driver allows
2398 configuring SPM to allow different power modes.
2399
2400config MSM_L2_SPM
2401 bool "SPM support for L2 cache"
2402 depends on MSM_SPM_V2
2403 help
2404 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2405 control of L2 cache low power mode with a Subsystem Power manager.
2406 Enabling this driver allows configuring L2 SPM for low power modes
2407 on supported chipsets.
2408
Laura Abbott2d1760b2011-09-29 21:31:24 -07002409config MSM_MULTIMEDIA_USE_ION
2410 bool "Multimedia suport using Ion"
2411 depends on ION_MSM
2412 help
2413 Enable support for multimedia drivers using Ion for buffer management
2414 instead of pmem. Selecting this may also involve userspace
2415 dependencies as well.
2416
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002417config MSM_OCMEM
2418 bool "MSM On-Chip memory driver (OCMEM)"
2419 help
2420 Enable support for On-Chip Memory available on certain MSM chipsets.
2421 OCMEM is a low latency, high performance pool shared by subsystems.
2422
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002423config MSM_OCMEM_LOCAL_POWER_CTRL
2424 bool "OCMEM Local Power Control"
2425 depends on MSM_OCMEM
2426 help
2427 Enable direct power management of the OCMEM core by the
2428 OCMEM driver. By default power management is delegated to
2429 the RPM. Selecting this option causes the OCMEM driver to
2430 directly handle the various macro power transitions.
2431
2432config MSM_OCMEM_DEBUG
2433 bool "OCMEM Debug Support"
2434 depends on MSM_OCMEM
2435 help
2436 Enable debug options for On-chip Memory (OCMEM) driver.
2437 Various debug options include memory, power and latency.
2438 Choosing one of these options allows debugging of each
2439 individual subsystem separately.
2440
Naveen Ramarajc71b2de2012-08-20 12:35:52 -07002441config MSM_OCMEM_NONSECURE
2442 bool "OCMEM Non Secure Mode"
2443 depends on MSM_OCMEM_DEBUG
2444 help
2445 Disable OCMEM interaction with secure processor.
2446 By default OCMEM is secured and accesses for each master
2447 is requested by the OCMEM driver. Selecting this option
2448 causes the OCMEM memory to be in non-secure state unless
2449 its locked down by the secure processor.
2450
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002451config MSM_OCMEM_POWER_DEBUG
2452 bool "OCMEM Power Debug Support"
2453 depends on MSM_OCMEM_DEBUG
2454 help
2455 Enable debug support for OCMEM power management.
2456 This adds support for verifying all power management
2457 related operations of OCMEM. Both local power management
2458 and RPM assisted power management operations are supported.
2459
Naveen Ramaraj4b1d9392012-08-06 21:05:14 -07002460config MSM_OCMEM_POWER_DISABLE
2461 bool "OCMEM Disable Power Control"
2462 depends on MSM_OCMEM_DEBUG
2463 help
2464 Disable all OCMEM power management.
2465 This keeps all OCMEM macros turned ON at all times thus
2466 never allowing them to be turned OFF. Both local power
2467 management and RPM assisted power modes are supported.
2468
Laura Abbottad340ff2012-01-04 14:23:48 -08002469config MSM_RTB
2470 bool "Register tracing"
2471 help
2472 Add support for logging different events to a small uncached
2473 region. This is designed to aid in debugging reset cases where the
2474 caches may not be flushed before the target resets.
2475
2476config MSM_RTB_SEPARATE_CPUS
2477 bool "Separate entries for each cpu"
2478 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002479 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002480 help
2481 Under some circumstances, it may be beneficial to give dedicated space
2482 for each cpu to log accesses. Selecting this option will log each cpu
2483 separately. This will guarantee that the last acesses for each cpu
2484 will be logged but there will be fewer entries per cpu
2485
Stepan Moskovchenko57884842012-06-07 17:35:49 -07002486config MSM_EBI_ERP
2487 bool "External Bus Interface (EBI) error reporting"
2488 help
2489 Say 'Y' here to enable reporting of external bus interface errors to
2490 the kernel log. Information such as the offending address and
2491 transaction type will be logged. This may be useful for debugging
2492 seemingly broken memory accesses.
2493
2494 For production builds, you should probably say 'N' here.
2495
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002496config MSM_CACHE_ERP
2497 bool "Cache / CPU error reporting"
2498 depends on ARCH_MSM_KRAIT
2499 help
2500 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2501 log. Enabling this feature can be used as a system debugging technique
2502 if cache corruption is suspected. Cache error statistics will also be
2503 reported in /proc/cpu/msm_cache_erp.
2504
2505 For production builds, you should probably say 'N' here.
2506
2507config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002508 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002509 depends on MSM_CACHE_ERP
2510 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002511 To cause the kernel to panic whenever an L1 cache error is detected, say
2512 'Y' here. This may be useful as a debugging technique if general system
2513 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002514
2515 For production builds, you should probably say 'N' here.
2516
Stepan Moskovchenko7035f652012-05-31 17:48:01 -07002517config MSM_L1_ERR_LOG
2518 bool "Log CPU ERP events to system memory"
2519 depends on MSM_CACHE_ERP
2520 help
2521 Enable logging CPU ERP events to an area of memory that will be
2522 preserved across a system reset. This may be useful for detecting and
2523 troubleshooting ERP-related system crashes in the field.
2524
2525 For production builds, you may want to say 'Y' here.
2526
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002527config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2528 bool "Report L2 master port slave/decode errors in kernel log"
2529 depends on MSM_CACHE_ERP
2530 help
2531 Master port errors can occur when a memory request is not properly
2532 handled by the destination slave. This can occur if the destination
2533 register does not exist or is inaccessible due to security
2534 restrictions or (in some cases) clock configuration. Enabling this
2535 option will cause a backtrace to be printed to the kernel log whenever
2536 such an error is encountered. Note that the error is reported as an
2537 interrupt rather than as an exception, meaning that the backtrace may
2538 have some skid. This option may help with debugging, though production
2539 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002540
2541config MSM_L2_ERP_PORT_PANIC
2542 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002543 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002544 help
2545 Master port errors can occur when a memory request is not properly
2546 handled by the destination slave. Enable this option to catch drivers
2547 which attempt to access bad areas of the address space, or access
2548 hardware registers in an improper state (such as certain clocks not
2549 being on). This option may help with debugging, though production
2550 builds should probably say 'N' here.
2551
2552config MSM_L2_ERP_1BIT_PANIC
2553 bool "Panic on recoverable 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 single-bit (correctable) soft error. This option should
2558 only be enabled when doing low-level debugging where cache corruption
2559 is suspected.
2560
2561 For production builds, you should definitely say 'N' here.
2562
2563config MSM_L2_ERP_2BIT_PANIC
2564 bool "Panic on unrecoverable L2 soft errors"
2565 depends on MSM_CACHE_ERP
2566 help
2567 Enable this option to cause a kernel panic whenever the L2 cache
2568 encounters a double-bit (non-correctable) soft error. Debug builds
2569 will likely benefit from having this option enabled to catch cache
2570 problems as soon as possible.
2571
2572 For production builds, it may be acceptable to say 'N' here, since
2573 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002574
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002575config MSM_DCVS
2576 bool "Use MSM DCVS for CPU/GPU Frequency control"
2577 depends on MSM_SCM
2578 help
2579 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2580 The DCVS manager allows idle driver to feed the idle information to the
2581 algorithm and the algorithm returns a frequency for the core which is
2582 passed to the frequency change driver.
2583
Pankaj Kumar32ce1ea2012-04-04 20:29:29 +05302584config MSM_CPR
2585 tristate "Use MSM CPR in S/W mode"
2586 help
2587 Enable CPR (core power reduction) in S/W mode, where the processor
2588 get's the notification from CPR block and programs the PMIC.
2589
2590config MSM_VP_REGULATOR
2591 tristate "Use MSM PMIC8029 C2 regulator"
2592 depends on ARCH_MSM8625
2593 help
2594 Enable MSM PMIC8029 C2 regulator support using APC_PLEVEL access
2595 for MSMs like 8625.
2596
Taniya Dasc43e6872012-03-21 16:41:14 +05302597config HAVE_ARCH_HAS_CURRENT_TIMER
2598 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002599
2600config MSM_CACHE_DUMP
2601 bool "Cache dumping support"
2602 help
2603 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2604 This allows for analysis of the caches in case cache corruption is
2605 suspected.
2606
Laura Abbott7b637362012-03-29 16:43:49 -07002607config MSM_CACHE_DUMP_ON_PANIC
2608 bool "Dump caches on panic"
2609 depends on MSM_CACHE_DUMP
2610 help
2611 By default, the caches are flushed on panic. This means that trying to
2612 look at them in a RAM dump will give useless data. Select this if you
2613 want to dump the L1 and L2 caches on panic before any flush occurs.
2614 If unsure, say N
2615
Jack Phamccbbfab2012-04-09 19:50:20 -07002616config MSM_HSIC_SYSMON
2617 tristate "MSM HSIC system monitor driver"
2618 depends on USB
2619 help
2620 Add support for bridging with the system monitor interface of MDM
2621 over HSIC. This driver allows the local system monitor to
2622 communicate with the remote system monitor interface.
2623
2624config MSM_HSIC_SYSMON_TEST
2625 tristate "MSM HSIC system monitor bridge test"
2626 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2627 help
2628 Enable the test hook for the Qualcomm system monitor HSIC driver.
2629 This will create a debugfs file entry named "hsic_sysmon_test" which
2630 can be read and written to send character data to the sysmon port of
2631 the modem over USB.
2632
Anirudh Ghayal0d2291a2012-09-20 21:31:41 +05302633config MSM_RPC_PMIC
2634 tristate "MSM RPC PMIC driver"
2635 depends on MSM_ONCRPCROUTER
2636 help
2637 This driver supports the PMIC functionality over RPC for those MSM's
2638 which do not have a direct access to PMIC. It supports ability to
2639 configure MPP, GPIO and all the other supported peripherals of the
2640 PMIC.
2641
Anirudh Ghayald3a63732012-09-20 22:13:13 +05302642config MSM_RPC_USB
2643 tristate "MSM RPC USB driver"
2644 depends on MSM_ONCRPCROUTER
2645 help
2646 This driver supports the USB configuration support over the RPC
2647 interface. It support the HS USB module connected to the MSM
2648 and FS USB which is connected over the PMIC. This support is
2649 required for MSMs on which the APPS does not have a direct access
2650 to the PMIC.
2651
2652config MSM_RPC_PMAPP
2653 tristate "MSM RPC PMIC APP driver"
2654 depends on MSM_ONCRPCROUTER
2655 help
2656 This driver supports the configuration of various PMIC APP modules
2657 such as display backlight, vreg pin-ctrl, smps clock over the RPC
2658 interface. This support is required for MSMs on which the APPS
2659 does not have a direct access to the PMIC.
Pushkar Joshi0fc73462012-09-26 17:59:31 -07002660
2661config MSM_ENABLE_WDOG_DEBUG_CONTROL
2662 bool "MSM Watchdog driver to disable debug Image"
2663 help
2664 This driver supports the configuration of the GCC_WDOG_DEBUG register
2665 used to control debug image.
2666 This support is currently required for MSM8974 to disable debug image
2667 on PS HOLD reset
Brian Swetland9e73c842007-11-26 04:12:13 -08002668endif