blob: 593b41e23add0a332e9bc8a0831b14c5913b839d [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
Girish Mahadevan6e419562012-09-19 12:50:05 -0600361 select MSM_SPM_V2
362 select MSM_PM8X60 if PM
363 select MSM_SCM if SMP
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700364 select MULTI_IRQ_HANDLER
Rohit Vaswani61cf6ef2012-07-27 13:51:48 -0700365 select GPIO_MSM_V3
David Collins1cc6e402012-09-17 16:02:24 -0700366 select MAY_HAVE_SPARSE_IRQ
367 select SPARSE_IRQ
Mitchel Humpherys92e9b8a2012-10-08 18:12:47 -0700368 select MSM_MULTIMEDIA_USE_ION
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700369
370config ARCH_MSM8910
371 bool "MSM8910"
372 select ARM_GIC
373 select GIC_SECURE
374 select SMP
375 select ARCH_MSM_CORTEXMP
376 select CPU_V7
377 select MSM_SCM if SMP
378 select MAY_HAVE_SPARSE_IRQ
379 select SPARSE_IRQ
380 select MULTI_IRQ_HANDLER
381 select GPIO_MSM_V3
382 select MSM_GPIOMUX
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700383endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700384
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700385choice
386 prompt "MSM SoC Revision"
387 default MSM_SOC_REV_NONE
388config MSM_SOC_REV_NONE
389 bool "N/A"
390 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
391 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walkerbf83de42010-03-16 16:29:44 -0700392config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700393 bool "Rev. A"
394 select ARCH_MSM7X27A if ARCH_MSM7X27
Daniel Walkerbf83de42010-03-16 16:29:44 -0700395endchoice
396
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700397config MSM_KRAIT_TBB_ABORT_HANDLER
398 bool "Krait TBB/TBH data abort handler"
399 depends on ARCH_MSM_KRAIT
400 depends on ARM_THUMB
401 help
402 Certain early samples of the Krait processor may generate data
403 aborts for TBB / TBH instructions that fail their condition code
404 checks. Enabling this option will ignore these erroneous data aborts,
405 at the expense of a very small performance penalty.
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800406
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700407 If unsure, say N.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700408
409config ARCH_MSM_ARM11
410 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700411
Daniel Walkerbf83de42010-03-16 16:29:44 -0700412config ARCH_MSM_SCORPION
413 bool
414
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700415config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700416 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800417 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700418
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700419config MSM_SMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700420 select HAVE_SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700421 bool
422
423config ARCH_MSM_SCORPIONMP
424 select ARCH_MSM_SCORPION
425 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530426 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700427 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700428 bool
429
430config ARCH_MSM_KRAITMP
431 select ARCH_MSM_KRAIT
432 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530433 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700434 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700435 bool
436
Taniya Das43bcdd62011-12-02 17:33:27 +0530437config ARCH_MSM_CORTEXMP
438 select MSM_SMP
439 bool
440
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700441config MSM_KRAIT_WFE_FIXUP
442 bool
443
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700444config MSM_RESTART_V2
445 bool
446
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700447config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800448 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700449
450config ARCH_MSM7X27A
451 bool
452 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700453 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530454 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530455 select ARM_GIC
456 select ARCH_MSM_CORTEXMP
Trilok Sonib856ab92012-06-26 14:33:28 +0530457 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530458 select ARM_HAS_SG_CHAIN
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700459
Gregory Beanf9f3d312010-04-30 22:06:50 -0700460config MSM_VIC
461 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700462
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700463config MSM_RPM
464 bool "Resource Power Manager"
465 select MSM_MPM
466
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600467config MSM_RPM_SMD
468 depends on MSM_SMD
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600469 select MSM_MPM_OF
470 bool "RPM driver using SMD protocol"
471 help
472 RPM is the dedicated hardware engine for managing shared SoC
473 resources. This config adds driver support for using SMD as a
474 transport layer communication with RPM hardware. It also selects
475 the MSM_MPM config that programs the MPM module to monitor interrupts
476 during sleep modes.
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600477
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700478config MSM_MPM
479 bool "Modem Power Manager"
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600480 help
481 MPM is a dedicated hardware resource responsible for entering and
482 waking up from a system wide low power mode. The MPM driver tracks
483 the wakeup interrupts and configures the MPM to monitor the wakeup
484 interrupts when going to a system wide sleep mode.
485
486config MSM_MPM_OF
487 bool "Modem Power Manager"
488 depends on CONFIG_OF
489 help
490 MPM is a dedicated hardware resource responsible for entering and
491 waking up from a system wide low power mode. The MPM driver tracks
492 the wakeup interrupts and configures the MPM to monitor the wakeup
493 interrupts when going to a system wide sleep mode. This config option
494 enables the MPM driver that supports initialization from a device
495 tree
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700496
497config MSM_XO
498 bool
499
500config MSM_REMOTE_SPINLOCK_DEKKERS
501 bool
502config MSM_REMOTE_SPINLOCK_SWP
503 bool
504config MSM_REMOTE_SPINLOCK_LDREX
505 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600506config MSM_REMOTE_SPINLOCK_SFPB
507 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700508config MSM_ADM3
509 bool
510
511menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700512
513config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700514 depends on ARCH_MSM7X01A
515 depends on MSM_STACKED_MEMORY
516 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700517 bool "Halibut Board (QCT SURF7201A)"
518 help
519 Support for the Qualcomm SURF7201A eval board.
520
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700521config MACH_MSM7201A_SURF
522 depends on ARCH_MSM7X01A
523 depends on MSM_STACKED_MEMORY
524 default y
525 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700526 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700527 Support for the Qualcomm MSM7201A SURF eval board.
528
529config MACH_MSM7201A_FFA
530 depends on ARCH_MSM7X01A
531 depends on MSM_STACKED_MEMORY
532 default y
533 bool "MSM7201A FFA"
534 help
535 Support for the Qualcomm MSM7201A FFA eval board.
536
537config MACH_TROUT
538 depends on ARCH_MSM7X01A
539 depends on MSM_STACKED_MEMORY
540 default y
541 bool "Trout"
542
543config MACH_MSM7X27_SURF
544 depends on ARCH_MSM7X27
545 depends on !MSM_STACKED_MEMORY
546 default y
547 bool "MSM7x27 SURF"
548 help
549 Support for the Qualcomm MSM7x27 SURF eval board.
550
551config MACH_MSM7X27_FFA
552 depends on ARCH_MSM7X27
553 depends on !MSM_STACKED_MEMORY
554 default y
555 bool "MSM7x27 FFA"
556 help
557 Support for the Qualcomm MSM7x27 FFA eval board.
558
559config MACH_MSM7X27A_RUMI3
560 depends on ARCH_MSM7X27A
561 depends on !MSM_STACKED_MEMORY
562 default y
563 bool "MSM7x27A RUMI3"
564 help
565 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
566
567config MACH_MSM7X27A_SURF
568 depends on ARCH_MSM7X27A
569 depends on !MSM_STACKED_MEMORY
570 default y
571 bool "MSM7x27A SURF"
572 help
573 Support for the Qualcomm MSM7x27A SURF.
574
575config MACH_MSM7X27A_FFA
576 depends on ARCH_MSM7X27A
577 depends on !MSM_STACKED_MEMORY
578 default y
579 bool "MSM7x27A FFA"
580 help
581 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700582
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530583config MACH_MSM7625A_SURF
584 depends on ARCH_MSM7X27A
585 depends on !MSM_STACKED_MEMORY
586 default y
587 bool "MSM7625A SURF"
588 help
589 Support for the Qualcomm MSM7625A SURF.
590
591config MACH_MSM7625A_FFA
592 depends on ARCH_MSM7X27A
593 depends on !MSM_STACKED_MEMORY
594 default y
595 bool "MSM7625A FFA"
596 help
597 Support for the Qualcomm MSM7625A FFA.
598
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530599config MACH_MSM7627A_QRD1
600 depends on ARCH_MSM7X27A
601 depends on !MSM_STACKED_MEMORY
602 default y
603 bool "MSM7627A QRD1"
604 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530605 Support for the Qualcomm MSM7627A Reference Design.
606
607config MACH_MSM7627A_QRD3
608 depends on ARCH_MSM7X27A
609 depends on !MSM_STACKED_MEMORY
610 default y
611 bool "MSM7627A QRD3"
612 help
613 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530614
Taniya Dasc868a2e2012-01-03 10:18:47 +0530615config MACH_MSM7627A_EVB
616 depends on ARCH_MSM7X27A
617 depends on !MSM_STACKED_MEMORY
618 default y
619 bool "MSM7627A EVB"
620 help
621 Support for the Qualcomm MSM7627A Reference Design.
622
Taniya Das43bcdd62011-12-02 17:33:27 +0530623config MACH_MSM8625_RUMI3
624 depends on ARCH_MSM8625
625 depends on !MSM_STACKED_MEMORY
626 default y
627 bool "MSM8625 RUMI3"
628 help
629 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
630
Taniya Dase3027e22012-02-27 16:32:27 +0530631config MACH_MSM8625_SURF
632 depends on ARCH_MSM8625
633 depends on !MSM_STACKED_MEMORY
634 default y
635 bool "MSM8625 SURF"
636 help
637 Support for the Qualcomm MSM8625 SURF.
638
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530639config MACH_MSM8625_FFA
640 depends on ARCH_MSM8625
641 depends on !MSM_STACKED_MEMORY
642 default y
643 bool "MSM8625 FFA"
644 help
645 Support for the Qualcomm MSM8625 FFA.
646
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530647config MACH_MSM8625_EVB
648 depends on ARCH_MSM8625
649 depends on !MSM_STACKED_MEMORY
650 default y
651 bool "MSM8625 EVB"
652 help
653 Support for the Qualcomm MSM8625 Reference Design.
654
Taniya Dasbd096542012-03-15 17:43:45 +0530655config MACH_MSM8625_QRD7
656 depends on ARCH_MSM8625
657 depends on !MSM_STACKED_MEMORY
658 default y
659 bool "MSM8625 QRD7"
660 help
661 Support for the Qualcomm MSM8625 Reference Design.
662
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530663config MACH_MSM8625_EVT
664 depends on ARCH_MSM8625
665 depends on !MSM_STACKED_MEMORY
666 default y
667 bool "MSM8625 EVT"
668 help
669 Support for the Qualcomm MSM8625 Reference Design.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700670
Daniel Walker7b521612010-05-06 12:44:57 -0700671config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700672 depends on ARCH_MSM7X30
673 depends on !MSM_STACKED_MEMORY
674 default y
675 bool "MSM7x30 SURF"
676 help
677 Support for the Qualcomm MSM7x30 SURF eval board.
678
679config MACH_MSM7X30_FFA
680 depends on ARCH_MSM7X30
681 depends on !MSM_STACKED_MEMORY
682 default y
683 bool "MSM7x30 FFA"
684 help
685 Support for the Qualcomm MSM7x30 FFA eval board.
686
687config MACH_MSM7X30_FLUID
688 depends on ARCH_MSM7X30
689 depends on !MSM_STACKED_MEMORY
690 default y
691 bool "MSM7x30 FLUID"
692 help
693 Support for the Qualcomm MSM7x30 FLUID eval board.
694
695config MACH_SAPPHIRE
696 depends on ARCH_MSM7X01A
697 default n
698 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700699
Daniel Walker4ad15e62010-05-06 13:54:17 -0700700config MACH_QSD8X50_SURF
701 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700702 depends on MSM_SOC_REV_NONE
703 depends on MSM_STACKED_MEMORY
704 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700705 bool "QSD8x50 SURF"
706 help
707 Support for the Qualcomm QSD8x50 SURF eval board.
708
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700709config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700710 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700711 depends on MSM_SOC_REV_NONE
712 depends on MSM_STACKED_MEMORY
713 default y
714 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700715 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700716 Support for the Qualcomm QSD8x50 FFA eval board.
717
718config MACH_MSM7X25_SURF
719 depends on ARCH_MSM7X25
720 depends on !MSM_STACKED_MEMORY
721 default y
722 bool "MSM7x25 SURF"
723 help
724 Support for the Qualcomm MSM7x25 SURF eval board.
725
726config MACH_MSM7X25_FFA
727 depends on ARCH_MSM7X25
728 depends on !MSM_STACKED_MEMORY
729 default y
730 bool "MSM7x25 FFA"
731 help
732 Support for the Qualcomm MSM7x25 FFA eval board.
733
734config MACH_MSM8X55_SURF
735 depends on ARCH_MSM7X30
736 depends on !MSM_STACKED_MEMORY
737 default y
738 bool "MSM8X55 SURF"
739 help
740 Support for the Qualcomm MSM8x55 SURF eval board.
741
742config MACH_MSM8X55_FFA
743 depends on ARCH_MSM7X30
744 depends on !MSM_STACKED_MEMORY
745 default y
746 bool "MSM8X55 FFA"
747 help
748 Support for the Qualcomm MSM8x55 FFA eval board.
749
750config MACH_MSM8X55_SVLTE_FFA
751 depends on ARCH_MSM7X30
752 depends on !MSM_STACKED_MEMORY
753 default y
754 bool "MSM8X55 SVLTE FFA"
755 help
756 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
757
758config MACH_MSM8X55_SVLTE_SURF
759 depends on ARCH_MSM7X30
760 depends on !MSM_STACKED_MEMORY
761 default y
762 bool "MSM8X55 SVLTE SURF"
763 help
764 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700765
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700766config MACH_MSM8X60_SURF
767 depends on ARCH_MSM8X60
768 default n
769 bool "MSM8x60 SURF"
770 help
771 Support for the Qualcomm MSM8x60 SURF eval board.
772
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700773config MACH_MSM8X60_FFA
774 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700775 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700776 bool "MSM8x60 FFA"
777 help
778 Support for the Qualcomm MSM8x60 FFA eval board.
779
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700780config MACH_MSM8X60_FLUID
781 depends on ARCH_MSM8X60
782 default n
783 bool "MSM8x60 FLUID"
784 help
785 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
786 8x60 target which has a form factor that is much closer to that
787 of a phone than other targets. It also has a new display and
788 touchscreen controller.
789
790config MACH_MSM8X60_FUSION
791 depends on ARCH_MSM8X60
792 default n
793 bool "MSM8x60 FUSION"
794 help
795 Support for the Qualcomm MSM8x60 Fusion SURF device.
796
797config MACH_MSM8X60_FUSN_FFA
798 depends on ARCH_MSM8X60
799 default n
800 bool "MSM8x60 FUSN FFA"
801 help
802 Support for the Qualcomm MSM8x60 Fusion FFA device.
803
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400804config MACH_MSM8X60_DRAGON
805 depends on ARCH_MSM8X60
806 default n
807 bool "MSM8x60 DRAGON"
808 help
809 Support for the Qualcomm MSM8x60 Dragon board.
810
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700811config MACH_MSM8960_CDP
812 depends on ARCH_MSM8960
813 bool "MSM8960 CDP"
814 help
815 Support for the Qualcomm MSM8960 CDP device.
816
817config MACH_MSM8960_MTP
818 depends on ARCH_MSM8960
819 bool "MSM8960 MTP"
820 help
821 Support for the Qualcomm MSM8960 MTP device.
822
823config MACH_MSM8960_FLUID
824 depends on ARCH_MSM8960
825 bool "MSM8960 FLUID"
826 help
827 Support for the Qualcomm MSM8960 FLUID device.
828
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300829config MACH_MSM8960_LIQUID
830 depends on ARCH_MSM8960
831 bool "MSM8960 LIQUID"
832 help
833 Support for the Qualcomm MSM8960 LIQUID device.
834
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700835config MACH_MSM8930_CDP
836 depends on ARCH_MSM8930
837 bool "MSM8930 CDP"
838 help
839 Support for the Qualcomm MSM8930 CDP device.
840
841config MACH_MSM8930_MTP
842 depends on ARCH_MSM8930
843 bool "MSM8930 MTP"
844 help
845 Support for the Qualcomm MSM8930 MTP device.
846
847config MACH_MSM8930_FLUID
848 depends on ARCH_MSM8930
849 bool "MSM8930 FLUID"
850 help
851 Support for the Qualcomm MSM8930 FLUID device.
852
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800853config MACH_MSM8627_CDP
854 depends on ARCH_MSM8930
855 bool "MSM8627 CDP"
856 help
857 Support for the Qualcomm MSM8627 CDP device.
858
859config MACH_MSM8627_MTP
860 depends on ARCH_MSM8930
861 bool "MSM8627 MTP"
862 help
863 Support for the Qualcomm MSM8627 MTP device.
864
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700865config MACH_MSM9615_CDP
866 depends on ARCH_MSM9615
867 bool "MSM9615 CDP"
868 help
869 Support for the Qualcomm MSM9615 CDP device.
870
871config MACH_MSM9615_MTP
872 depends on ARCH_MSM9615
873 bool "MSM9615 MTP"
874 help
875 Support for the Qualcomm MSM9615 MTP device.
876
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700877config MSM_USE_TSIF1
878 depends on ARCH_MSM8X60
879 bool "MSM8x60 use TSIF1"
880 help
881 Selects TSIF1 core to be used rather than TSIF0.
882 The two TSIF cores share the same DM configuration
883 so they cannot be used simultaneously.
884
Joel King82b7e3f2012-01-05 10:03:27 -0800885config MACH_APQ8064_CDP
886 depends on ARCH_APQ8064
887 bool "APQ8064 CDP"
888 help
889 Support for the Qualcomm APQ8064 CDP device.
890
891config MACH_APQ8064_MTP
892 depends on ARCH_APQ8064
893 bool "APQ8064 MTP"
894 help
895 Support for the Qualcomm APQ8064 MTP device.
896
897config MACH_APQ8064_LIQUID
898 depends on ARCH_APQ8064
899 bool "APQ8064 LIQUID"
900 help
901 Support for the Qualcomm APQ8064 LIQUID device.
902
Joel King064bbf82012-04-01 13:23:39 -0700903config MACH_MPQ8064_CDP
904 depends on ARCH_APQ8064
905 bool "MPQ8064 CDP"
906 help
907 Support for the Qualcomm MPQ8064 CDP device.
908
Joel King11ca8202012-02-13 16:19:03 -0800909config MACH_MPQ8064_HRD
910 depends on ARCH_APQ8064
911 bool "MPQ8064 HRD"
912 help
913 Support for the Qualcomm MPQ8064 HRD device.
914
915config MACH_MPQ8064_DTV
916 depends on ARCH_APQ8064
917 bool "MPQ8064 DTV"
918 help
919 Support for the Qualcomm MPQ8064 DTV device.
920
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700921config MACH_FSM9XXX_SURF
922 depends on ARCH_FSM9XXX
923 depends on !MSM_STACKED_MEMORY
924 default y
925 bool "FSM9XXX SURF"
926 help
927 Support for the Qualcomm FSM9xxx femtocell
928 chipset based SURF evaluation board and
929 FFA board.
930
Daniel Walker4ad15e62010-05-06 13:54:17 -0700931endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800932
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700933config MSM_STACKED_MEMORY
934 bool "Stacked Memory"
935 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800936 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700937 This option is used to indicate the presence of on-die stacked
938 memory. When present this memory bank is used for a high speed
939 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800940
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700941config PHYS_OFFSET
942 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700943 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700944 default "0x80200000" if ARCH_APQ8064
945 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700946 default "0x80200000" if ARCH_MSM8930
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700947 default "0x00000000" if ARCH_MSM8974
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +0530948 default "0x00000000" if ARCH_MPQ8092
Syed Rameez Mustafa90f80502012-08-23 17:27:24 -0700949 default "0x00000000" if ARCH_MSM8226
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700950 default "0x00000000" if ARCH_MSM8910
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700951 default "0x10000000" if ARCH_FSM9XXX
Abhimanyu Kapur20ac2ad2012-09-25 04:23:59 -0700952 default "0x00200000" if ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700953 default "0x00200000" if !MSM_STACKED_MEMORY
954 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
955 default "0x20000000" if ARCH_QSD8X50
956 default "0x40200000" if ARCH_MSM8X60
957 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800958
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700959config KERNEL_MSM_CONTIG_MEM_REGION
960 bool "Enable in-kernel contiguous memory region"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700961 default y if ARCH_MSM8X60
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700962 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700963 help
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700964 Enable the in-kernel contiguous memory allocator. Sets up a
965 region of physically contiguous memory. This memory is
966 reserved during initialization, and can be used
967 generically.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700968
969config KERNEL_PMEM_SMI_REGION
970 bool "Enable in-kernel PMEM region for SMI"
971 default y if ARCH_MSM8X60
972 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
973 help
974 Enable the in-kernel PMEM allocator to use SMI memory.
975
976config PMEM_GPU0
977 bool "Enable PMEM GPU0 region"
978 default y
979 depends on ARCH_QSD8X50 && ANDROID_PMEM
980 help
981 Enable the PMEM GPU0 device on SMI Memory.
982
983config MSM_AMSS_VERSION
984 int
985 default 6210 if MSM_AMSS_VERSION_6210
986 default 6220 if MSM_AMSS_VERSION_6220
987 default 6225 if MSM_AMSS_VERSION_6225
988
989choice
990 prompt "AMSS modem firmware version"
991
992 default MSM_AMSS_VERSION_6225
993
994 config MSM_AMSS_VERSION_6210
995 bool "6.2.10"
996
997 config MSM_AMSS_VERSION_6220
998 bool "6.2.20"
999
1000 config MSM_AMSS_VERSION_6225
1001 bool "6.2.20 + New ADSP"
1002endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -08001003
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001004config MSM_HAS_DEBUG_UART_HS
Daniel Walkerbf83de42010-03-16 16:29:44 -07001005 bool
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001006 help
1007 Say Y here if high speed MSM UART is present.
1008
1009config MSM_HAS_DEBUG_UART_HS_V14
1010 bool
1011 select MSM_HAS_DEBUG_UART_HS
1012 help
1013 Say Y here if high speed MSM UART v1.4 is present.
1014
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301015config MSM_DEBUG_UART_PHYS
1016 hex
1017 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
1018 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
1019 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
1020 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
1021 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
1022 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
1023 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
1024 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
1025
Brian Swetland9e73c842007-11-26 04:12:13 -08001026choice
1027 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001028 depends on DEBUG_LL
Brian Swetland9e73c842007-11-26 04:12:13 -08001029
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001030 config DEBUG_MSM_UART1
1031 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301032 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001033 help
1034 Say Y here if you want the debug print routines to direct
1035 their output to the first serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001036
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001037 config DEBUG_MSM_UART2
1038 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301039 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001040 help
1041 Say Y here if you want the debug print routines to direct
1042 their output to the second serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001043
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001044 config DEBUG_MSM_UART3
1045 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301046 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001047 help
1048 Say Y here if you want the debug print routines to direct
1049 their output to the third serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001050
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001051 config DEBUG_MSM8660_UART
1052 bool "Kernel low-level debugging messages via MSM 8660 UART"
1053 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001054 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001055 help
1056 Say Y here if you want the debug print routines to direct
1057 their output to the serial port on MSM 8660 devices.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001058
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001059 config DEBUG_MSM8960_UART
1060 bool "Kernel low-level debugging messages via MSM 8960 UART"
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001061 depends on ARCH_MSM8960 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001062 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001063 help
1064 Say Y here if you want the debug print routines to direct
1065 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001066
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001067 config DEBUG_MSM8930_UART
1068 bool "Kernel low-level debugging messages via MSM 8930 UART"
1069 depends on ARCH_MSM8930 && DEBUG_LL
1070 select MSM_HAS_DEBUG_UART_HS
1071 help
1072 Say Y here if you want the debug print routines to direct
1073 their output to the serial port on MSM 8930 devices.
1074
1075 config DEBUG_APQ8064_UART
1076 bool "Kernel low-level debugging messages via APQ 8064 UART"
1077 depends on ARCH_APQ8064 && DEBUG_LL
1078 select MSM_HAS_DEBUG_UART_HS
1079 help
1080 Say Y here if you want the debug print routines to direct
1081 their output to the serial port on APQ 8064 devices.
1082
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001083 config DEBUG_MSM8974_UART
1084 bool "Kernel low-level debugging messages via MSM 8974 UART"
1085 depends on ARCH_MSM8974
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001086 select MSM_HAS_DEBUG_UART_HS_V14
1087 help
1088 Say Y here if you want the debug print routines to direct
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001089 their output to the serial port on MSM 8974 devices.
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +05301090
1091 config DEBUG_MPQ8092_UART
1092 bool "Kernel low-level debugging messages via MPQ8092 UART"
1093 depends on ARCH_MPQ8092
1094 select MSM_HAS_DEBUG_UART_HS_V14
1095 help
1096 Say Y here if you want the debug print routines to direct
1097 their output to the serial port on MPQ8092 devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001098endchoice
Brian Swetland9e73c842007-11-26 04:12:13 -08001099
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001100choice
1101 prompt "Default Timer"
1102 default MSM7X00A_USE_GP_TIMER
1103
1104 config MSM7X00A_USE_GP_TIMER
1105 bool "GP Timer"
1106 help
1107 Low resolution timer that allows power collapse from idle.
1108
1109 config MSM7X00A_USE_DG_TIMER
1110 bool "DG Timer"
1111 help
1112 High resolution timer.
1113endchoice
1114
1115choice
1116 prompt "Suspend sleep mode"
1117 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1118 help
1119 Allows overriding the sleep mode used. Leave at power
1120 collapse suspend unless the arm9 image has problems.
1121
1122 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1123 bool "Power collapse suspend"
1124 help
1125 Lowest sleep state. Returns through reset vector.
1126
1127 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1128 bool "Power collapse"
1129 help
1130 Sleep state that returns through reset vector.
1131
1132 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1133 bool "Apps Sleep"
1134
1135 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1136 bool "Ramp down cpu clock and wait for interrupt"
1137
1138 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1139 bool "Wait for interrupt"
1140endchoice
1141
1142config MSM7X00A_SLEEP_MODE
1143 int
1144 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1145 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1146 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1147 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1148 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1149
1150choice
1151 prompt "Idle sleep mode"
1152 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1153 help
1154 Allows overriding the sleep mode used from idle. Leave at power
1155 collapse suspend unless the arm9 image has problems.
1156
1157 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1158 bool "Power collapse suspend"
1159 help
1160 Lowest sleep state. Returns through reset vector.
1161
1162 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1163 bool "Power collapse"
1164 help
1165 Sleep state that returns through reset vector.
1166
1167 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1168 bool "Apps Sleep"
1169
1170 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1171 bool "Ramp down cpu clock and wait for interrupt"
1172
1173 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1174 bool "Wait for interrupt"
1175endchoice
1176
1177config MSM7X00A_IDLE_SLEEP_MODE
1178 int
1179 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1180 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1181 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1182 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1183 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1184
1185config MSM7X00A_IDLE_SLEEP_MIN_TIME
1186 int "Minimum idle time before sleep"
1187 default 20000000
1188 help
1189 Minimum idle time in nanoseconds before entering low power mode.
1190
1191config MSM7X00A_IDLE_SPIN_TIME
1192 int "Idle spin time before cpu ramp down"
1193 default 80000
1194 help
1195 Spin time in nanoseconds before ramping down cpu clock and entering
1196 any low power state.
1197
1198menuconfig MSM_IDLE_STATS
1199 bool "Collect idle statistics"
1200 default y
1201 help
1202 Collect idle statistics and export them in proc/msm_pm_stats.
1203
1204if MSM_IDLE_STATS
1205
1206config MSM_IDLE_STATS_FIRST_BUCKET
1207 int "First bucket time"
1208 default 62500
1209 help
1210 Upper time limit in nanoseconds of first bucket.
1211
1212config MSM_IDLE_STATS_BUCKET_SHIFT
1213 int "Bucket shift"
1214 default 2
1215
1216config MSM_IDLE_STATS_BUCKET_COUNT
1217 int "Bucket count"
1218 default 10
1219
1220config MSM_SUSPEND_STATS_FIRST_BUCKET
1221 int "First bucket time for suspend"
1222 default 1000000000
1223 help
1224 Upper time limit in nanoseconds of first bucket of the
1225 histogram. This is for collecting statistics on suspend.
1226
1227endif # MSM_IDLE_STATS
1228
1229config CPU_HAS_L2_PMU
1230 bool "L2CC PMU Support"
1231 help
1232 Select this if the L2 cache controller has a Performance Monitoring Unit.
1233
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001234config HTC_HEADSET
1235 tristate "HTC 2 Wire detection driver"
1236 default n
1237 help
1238 Provides support for detecting HTC 2 wire devices, such as wired
1239 headset, on the trout platform. Can be used with the msm serial
1240 debugger, but not with serial console.
1241
1242config TROUT_BATTCHG
1243 depends on MACH_TROUT && POWER_SUPPLY
1244 default y
1245 bool "Trout battery / charger driver"
1246
1247config HTC_PWRSINK
1248 depends on MSM_SMD
1249 default n
1250 bool "HTC Power Sink Driver"
1251
1252config QSD_SVS
1253 bool "QSD Static Voltage Scaling"
1254 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1255 default y
1256 select TPS65023
1257 help
1258 Enables static voltage scaling using the TPS65023 PMIC.
1259
1260config QSD_PMIC_DEFAULT_DCDC1
1261 int "PMIC default output voltage"
1262 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1263 default 1250
1264 help
1265 This is the PMIC voltage at Linux kernel boot.
1266
1267config MSM_FIQ_SUPPORT
1268 default y
1269 bool "Enable installation of an FIQ handler."
1270
1271config MSM_SERIAL_DEBUGGER
1272 select MSM_FIQ_SUPPORT
1273 select KERNEL_DEBUGGER_CORE
1274 default n
1275 bool "FIQ Mode Serial Debugger"
1276 help
1277 The FIQ serial debugger can accept commands even when the
1278 kernel is unresponsive due to being stuck with interrupts
1279 disabled. Depends on the kernel debugger core in drivers/misc.
1280
1281config MSM_SERIAL_DEBUGGER_CONSOLE
1282 depends on MSM_SERIAL_DEBUGGER
1283 default n
1284 bool "Console on FIQ Serial Debugger port"
1285 help
1286 Enables a console so that printk messages are displayed on
1287 the debugger serial port as the occur.
Brian Swetland9e73c842007-11-26 04:12:13 -08001288
Gregory Beanab78cde2010-09-01 16:26:12 -07001289config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001290 default y
1291 bool "Proc-Comm RPC Interface"
1292 help
1293 Enables a lightweight communications interface to the
1294 baseband processor.
Gregory Beanab78cde2010-09-01 16:26:12 -07001295
Gregory Bean1963a2a2010-08-28 10:05:44 -07001296config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001297 bool "MSM Shared Memory Driver (SMD)"
1298 help
1299 Support for the shared memory interface between the apps
1300 processor and the baseband processor. Provides access to
1301 the "shared heap", as well as virtual serial channels
1302 used to communicate with various services on the baseband
1303 processor.
1304
1305choice
1306 prompt "MSM Shared memory interface version"
1307 depends on MSM_SMD
1308 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1309 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1310
1311 config MSM_SMD_PKG3
1312 bool
1313 prompt "Package 3"
1314
1315 config MSM_SMD_PKG4
1316 bool
1317 prompt "Package 4"
1318endchoice
1319
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001320config MSM_PCIE
1321 bool "MSM PCIe Controller driver"
1322 depends on PCI && PCI_MSI
1323 help
1324 Enables the PCIe functionality by configures PCIe core on
1325 MSM chipset and by enabling the ARM PCI framework extension.
1326
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001327config MSM_RPC_SDIO_XPRT
1328 depends on MSM_SDIO_AL
1329 default y
1330 bool "MSM SDIO XPRT Layer"
1331 help
1332 SDIO Transport Layer for RPC Rouer
1333
1334config MSM_RPC_SDIO_DEBUG
1335 depends on MSM_RPC_SDIO_XPRT
1336 default y
1337 bool "MSM SDIO XPRT debug support"
1338 help
1339 Support for debugging SDIO XPRT
1340
1341config MSM_SMD_DEBUG
1342 depends on MSM_SMD
1343 default y
1344 bool "MSM SMD debug support"
1345 help
1346 Support for debugging the SMD for communication
1347 between the ARM9 and ARM11
1348
1349config MSM_SDIO_AL
1350 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1351 default y
1352 tristate "SDIO-Abstraction-Layer"
1353 help
1354 Support MSM<->MDM Communication over SDIO bus.
1355 MDM SDIO-Client should have pipes support.
1356
1357config MSM_SDIO_DMUX
1358 bool "SDIO Data Mux Driver"
1359 depends on MSM_SDIO_AL
1360 default n
1361 help
1362 Support Muxed Data Channels over SDIO interface.
1363
1364config MSM_BAM_DMUX
1365 bool "BAM Data Mux Driver"
1366 depends on SPS
1367 default n
1368 help
1369 Support Muxed Data Channels over BAM interface.
1370 BAM has a limited number of pipes. This driver
1371 provides a means to support more logical channels
1372 via muxing than BAM could without muxing.
1373
1374config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001375 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001376 default y
1377 bool "MSM N-WAY SMD support"
1378 help
1379 Supports APPS-QDSP SMD communication along with
1380 normal APPS-MODEM SMD communication.
1381
1382config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001383 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001384 default y
1385 bool "MSM N-WAY SMSM support"
1386 help
1387 Supports APPS-QDSP SMSM communication along with
1388 normal APPS-MODEM SMSM communication.
1389
1390config MSM_RESET_MODEM
1391 tristate "Reset Modem Driver"
1392 depends on MSM_SMD
1393 default m
1394 help
1395 Allows the user to reset the modem through a device node.
1396
1397config MSM_SMD_LOGGING
1398 depends on MSM_SMD
1399 default y
1400 bool "MSM Shared Memory Logger"
1401 help
1402 This option exposes the shared memory logger at /dev/smem_log
1403 and a debugfs node named smem_log.
1404
1405 If in doubt, say yes.
1406
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001407config MSM_IPC_LOGGING
1408 bool "MSM Debug Logging for IPC Drivers"
1409 help
1410 This option allows the debug logging for IPC Drivers.
1411
1412 If in doubt, say no.
1413
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001414config MSM_SMD_NMEA
1415 bool "NMEA GPS Driver"
1416 depends on MSM_SMD
1417 default y
1418 help
1419 Enable this to support the NMEA GPS device.
1420
1421 If in doubt, say yes.
1422
1423config MSM_SDIO_TTY
1424 bool "SDIO TTY Driver"
1425 depends on MSM_SDIO_AL
1426 default n
1427 help
1428 Provides a TTY driver SDIO TTY
1429 This driver can be used by user space
1430 applications for passing data through the
1431 SDIO interface.
1432
1433config MSM_SMD_TTY
1434 bool "SMD TTY Driver"
1435 depends on MSM_SMD
1436 default y
1437 help
1438 Provides TTY interfaces to interact with the modem.
1439
1440 If in doubt, say yes.
1441
1442config MSM_SMD_QMI
1443 bool "SMD QMI Driver"
1444 depends on MSM_SMD
1445 default y
1446 help
1447 Manages network data connections.
1448
1449 If in doubt, say yes.
1450
1451config MSM_SMD_PKT
1452 bool "SMD Packet Driver"
1453 depends on MSM_SMD
1454 default y
1455 help
1456 Provides a binary SMD non-muxed packet port interface.
1457
1458 If in doubt, say yes.
1459
1460config MSM_SDIO_CMUX
1461 bool "SDIO CMUX Driver"
1462 depends on MSM_SDIO_AL
1463 default n
1464 help
1465 Provides a Muxed port interface over SDIO QMI
1466
1467config MSM_DSPS
1468 bool "Sensors DSPS driver"
1469 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1470 default n
1471 help
1472 Provides user-space interface to the sensors manager
1473 to turn on/off the Sensors Processor system clocks.
1474 It is the DSPS responsibility to turn on/off the sensors
1475 themself.
1476 The number of clocks and their name may vary between targets.
1477 It also triggers the PIL to load the DSPS firmware.
1478
1479config MSM_SDIO_CTL
1480 bool "SDIO CTL Driver"
1481 depends on MSM_SDIO_CMUX
1482 default n
1483 help
1484 Provides a binary SDIO control port interface.
1485
1486config MSM_ONCRPCROUTER
1487 depends on MSM_SMD
1488 default n
1489 bool "MSM ONCRPC router support"
1490 help
1491 Support for the MSM ONCRPC router for communication between
1492 the ARM9 and ARM11
1493
1494config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001495 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001496 default n
1497 bool "MSM IPC Router support"
1498 help
1499 Support for the MSM IPC Router for communication between
1500 the APPs and the MODEM
1501
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001502config MSM_IPC_ROUTER_SMD_XPRT
1503 depends on MSM_SMD
1504 depends on MSM_IPC_ROUTER
1505 default n
1506 bool "MSM SMD XPRT Layer"
1507 help
1508 SMD Transport Layer for IPC Router
1509
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001510config MSM_ONCRPCROUTER_DEBUG
1511 depends on MSM_ONCRPCROUTER
1512 default y
1513 bool "MSM debug ONCRPC router support"
1514 help
1515 Support for debugging the ONCRPC router for communication
1516 between the ARM9 and ARM11
1517
1518config MSM_RPC_LOOPBACK_XPRT
1519 depends on MSM_ONCRPCROUTER
1520 default n
1521 bool "MSM RPC local routing support"
1522 help
1523 Support for routing RPC messages between APPS clients
1524 and APPS servers. Helps in testing APPS RPC framework.
1525
1526config MSM_RPCSERVER_TIME_REMOTE
1527 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1528 default y
1529 bool "Time remote RPC server"
1530 help
1531 The time remote server receives notification of time bases and
1532 reports these events to registered callback functions.
1533
1534config MSM_RPCSERVER_WATCHDOG
1535 depends on MSM_ONCRPCROUTER
1536 default y
1537 bool "Watchdog RPC server"
1538 help
1539 The dog_keepalive server handles watchdog events.
1540
1541config MSM_RPC_WATCHDOG
1542 depends on MSM_ONCRPCROUTER
1543 default n
1544 bool "Watchdog RPC client"
1545 help
1546 The dog_keepalive client module.
1547
1548config MSM_RPC_PING
1549 depends on MSM_ONCRPCROUTER && DEBUG_FS
1550 default m
1551 bool "MSM rpc ping"
1552 help
1553 Implements MSM rpc ping test module.
1554
1555config MSM_RPC_PROC_COMM_TEST
1556 depends on DEBUG_FS && MSM_PROC_COMM
1557 default m
1558 bool "MSM rpc proc comm test"
1559 help
1560 Implements MSM rpc proc comm test module.
1561
1562config MSM_RPC_OEM_RAPI
1563 depends on MSM_ONCRPCROUTER
1564 default m
1565 bool "MSM oem rapi"
1566 help
1567 Implements MSM oem rapi client module.
1568
1569config MSM_RPCSERVER_HANDSET
1570 depends on MSM_ONCRPCROUTER
1571 default y
1572 bool "Handset events RPC server"
1573 help
1574 Support for receiving handset events like headset detect,
1575 headset switch and clamshell state.
1576
1577config MSM_RMT_STORAGE_CLIENT
1578 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1579 default n
1580 bool "Remote Storage RPC client"
1581 help
1582 Provide RPC mechanism for remote processors to access storage
1583 device on apps processor.
1584
1585config MSM_RMT_STORAGE_CLIENT_STATS
1586 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1587 default n
1588 bool "Remote storage RPC client performance statistics"
1589 help
1590 Collects performance statistics and shows this information
1591 through a debugfs file rmt_storage_stats.
1592
1593config MSM_SDIO_SMEM
1594 depends on MSM_SDIO_AL
1595 default n
1596 bool "SDIO SMEM for remote storage"
1597 help
1598 Copies data from remote MDM9K memory to local MSM8x60
1599 memory. Used by remote storage client to shadow
1600 MDM9K filesystem.
1601
1602config MSM_DALRPC
1603 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001604 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001605 help
1606 Supports RPC calls to DAL devices on remote processor cores.
1607
1608config MSM_DALRPC_TEST
1609 tristate "DAL RPC test module"
1610 depends on (MSM_DALRPC && DEBUG_FS)
1611 default m
1612 help
1613 Exercises DAL RPC calls to QDSP6.
1614
1615if CPU_FREQ_MSM
1616
1617config MSM_CPU_FREQ_SET_MIN_MAX
1618 bool "Set Min/Max CPU frequencies."
1619 default n
1620 help
1621 Allow setting min and max CPU frequencies. Sysfs can be used
1622 to override these values.
1623
1624config MSM_CPU_FREQ_MAX
1625 int "Max CPU Frequency"
1626 depends on MSM_CPU_FREQ_SET_MIN_MAX
1627 default 384000
1628
1629config MSM_CPU_FREQ_MIN
1630 int "Min CPU Frequency"
1631 depends on MSM_CPU_FREQ_SET_MIN_MAX
1632 default 245760
1633
1634endif # CPU_FREQ_MSM
1635
1636config MSM_CPU_AVS
1637 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1638 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1639 depends on ARCH_QSD8X50
1640 default n
1641 select MSM_AVS_HW
1642 help
1643 This enables the s/w control of Adaptive Voltage Scaling feature
1644 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1645 based on feedback from three ring oscillators in the CPU.
1646
1647config MSM_AVS_HW
1648 bool "Enable Adaptive Voltage Scaling (AVS)"
1649 default n
1650 help
1651 Enable AVS hardware to fine tune voltage at each frequency. The
1652 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1653 fine tune the voltages based on the feedback from the ring
1654 oscillators.
1655
1656config MSM_HW3D
1657 tristate "MSM Hardware 3D Register Driver"
1658 depends on ANDROID_PMEM
1659 default y
1660 help
1661 Provides access to registers needed by the userspace OpenGL|ES
1662 library.
1663
1664config MSM_ADSP
1665 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1666 tristate "MSM ADSP driver"
1667 depends on ANDROID_PMEM
1668 default y
1669 help
1670 Provides access to registers needed by the userspace aDSP library.
1671
1672config ADSP_RPC_VER
1673 hex
1674 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1675 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1676 depends on MSM_ADSP
1677 help
1678 Select proper ADSP RPC version
1679choice
1680 prompt "ADSP RPC version"
1681
1682 default AMSS_7X25_VERSION_2009
1683
1684 config AMSS_7X25_VERSION_2009
1685 bool "2.0.09"
1686
1687 config AMSS_7X25_VERSION_2008
1688 bool "2.0.08"
1689endchoice
1690
1691config MSM7KV2_AUDIO
1692 bool "MSM7K v2 audio"
1693 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1694 default y
1695 help
1696 Enables QDSP5V2-based audio drivers for audio playbacks and
1697 voice call.
1698
1699config MSM_ADSP_REPORT_EVENTS
1700 bool "Report modem events from the DSP"
1701 default y
1702 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1703 help
1704 Normally, only messages from the aDSP are reported to userspace.
1705 With this option, we report events from the aDSP as well.
1706
1707config MSM_QDSP6
1708 tristate "QDSP6 support"
1709 depends on ARCH_QSD8X50 && ANDROID_PMEM
1710 default y
1711 help
1712 Enable support for qdsp6. This provides audio and video functionality.
1713
1714config MSM8X60_AUDIO
1715 tristate "MSM8X60 audio support"
1716 depends on ARCH_MSM8X60 && ANDROID_PMEM
1717 default y
1718 help
1719 Enable support for qdsp6v2. This provides audio functionality.
1720
1721config MSM8X60_FTM_AUDIO_DEVICES
1722 bool "MSM8X60 audio factory test mode support"
1723 depends on MSM8X60_AUDIO
1724 help
1725 Enable support audio factory test mode devices. This is used
1726 in a production line environment.
1727
Ben Romberger45b351c2011-07-20 22:37:27 -07001728config RTAC
1729 bool "MSM8K real-time audio calibration support"
1730 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001731 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001732 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001733 audio operation
1734
1735config MSM7X27A_AUDIO
1736 bool "MSM7X27A audio support"
1737 depends on ARCH_MSM7X27A && MSM_ADSP
1738 default n
1739 help
1740 Enable support for 7x27a. This provides audio functionality.
1741
Justin Pauporea6cd2092011-06-22 16:19:45 -07001742config MSM_PROC_COMM_REGULATOR
Gregory Bean1963a2a2010-08-28 10:05:44 -07001743 bool
Justin Pauporea6cd2092011-06-22 16:19:45 -07001744 depends on MSM_PROC_COMM && REGULATOR
1745 help
1746 Enable regulator framework support for regulators managed by PMLIB
1747 on the modem, and controlled through proccomm calls.
1748
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001749config MSM_VREG_SWITCH_INVERTED
1750 bool "Reverse vreg switch polarity"
1751 default n
1752 help
1753 Reverses the enable and disable for vreg switch.
1754
1755config MSM_DMA_TEST
1756 tristate "MSM DMA test module"
1757 default m
1758 help
1759 Intended to be compiled as a module. Provides a device node
1760 and ioctls for testing the MSM dma system.
1761
1762config WIFI_CONTROL_FUNC
1763 bool "Enable WiFi control function abstraction"
1764 help
1765 Enables Power/Reset/Carddetect function abstraction
1766
1767config WIFI_MEM_PREALLOC
1768 depends on WIFI_CONTROL_FUNC
1769 bool "Preallocate memory for WiFi buffers"
1770 help
1771 Preallocates memory buffers for WiFi driver
1772
1773config QSD_AUDIO
1774 bool "QSD audio"
1775 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1776 default y
1777 help
1778 Provides PCM, MP3, and AAC audio playback.
1779
1780config AUDIO_AAC_PLUS
1781 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1782 bool "AAC+ Audio"
1783 default y
1784 help
1785 Provides AAC+ decoding
1786
1787config AUDIO_ENHANCED_AAC_PLUS
1788 depends on AUDIO_AAC_PLUS
1789 bool "Enhanced AAC+ Audio"
1790 default y
1791 help
1792 Provides Enhanced AAC+ decoding
1793
1794config SURF_FFA_GPIO_KEYPAD
1795 bool "MSM SURF/FFA GPIO keypad"
1796 depends on INPUT_GPIO = "y"
1797 default y
1798 help
1799 Select if the GPIO keypad is attached.
1800
1801config MSM_SLEEP_TIME_OVERRIDE
1802 bool "Allow overriding suspend/sleep time with PM module parameter"
1803 default y
1804 help
1805 Enable the module parameter sleep_time_override. Specified
1806 in units of seconds, it overwrites the normal sleep time of
1807 suspend. The feature is required for automated power management
1808 testing.
1809
1810config MSM_MEMORY_LOW_POWER_MODE
1811 bool "Control the low power modes of memory"
1812 default n
1813 help
1814 The application processor controls whether memory should enter
1815 which low power mode.
1816
1817choice
1818 prompt "Default Memory Low Power Mode during Idle"
1819 depends on MSM_MEMORY_LOW_POWER_MODE
1820 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1821 help
1822 Selects the default low power mode of the memory during idle
1823 sleep.
1824
1825 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1826 bool "Memory active"
1827
1828 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1829 bool "Memory in retention"
1830
1831 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1832 bool "Memory in deep power down"
1833endchoice
1834
1835choice
1836 prompt "Default Memory Low Power Mode during Suspend"
1837 depends on MSM_MEMORY_LOW_POWER_MODE
1838 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1839 help
1840 Selects the default low power mode of the memory during suspend
1841 sleep.
1842
1843 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1844 bool "Memory active"
1845
1846 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1847 bool "Memory in retention"
1848
1849 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1850 bool "Memory in deep power down"
1851endchoice
1852
1853choice
1854 prompt "Power management timeout action"
1855 default MSM_PM_TIMEOUT_HALT
1856 help
1857 Selects the Application Processor's action when Power Management
1858 times out waiting for Modem's handshake.
1859
1860 config MSM_PM_TIMEOUT_HALT
1861 bool "Halt the Application Processor"
1862
1863 config MSM_PM_TIMEOUT_RESET_MODEM
1864 bool "Reset the Modem Processor"
1865
1866 config MSM_PM_TIMEOUT_RESET_CHIP
1867 bool "Reset the entire chip"
1868endchoice
1869
1870config MSM_IDLE_WAIT_ON_MODEM
1871 int "Wait for Modem to become ready for idle power collapse"
1872 default 0
1873 help
1874 If Modem is not ready to handle Application Processor's request
1875 for idle power collapse, wait the number of microseconds in case
1876 Modem becomes ready soon.
1877
Matt Wagantall9274df92011-12-15 11:11:05 -08001878config MSM_RPM_REGULATOR
1879 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001880 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001881 help
1882 Compile in support for the RPM regulator driver, used for setting
1883 voltages and other parameters of the various power rails supplied
1884 by some Qualcomm PMICs.
1885
David Collinsc7642322012-04-04 10:19:12 -07001886config MSM_RPM_REGULATOR_SMD
1887 bool "SMD RPM regulator driver"
1888 depends on REGULATOR
1889 depends on OF
1890 depends on MSM_RPM_SMD
1891 help
1892 Compile in support for the SMD RPM regulator driver which is used for
1893 setting voltages and other parameters of the various power rails
1894 supplied by some Qualcomm PMICs. The SMD RPM regulator driver should
1895 be used on systems which contain an RPM which communicates with the
1896 application processor over SMD.
1897
Stephen Boyd01710582012-07-09 13:40:05 -07001898config MSM_SUBSYSTEM_RESTART
1899 bool "MSM Subsystem Restart"
1900 help
1901 This option enables the MSM subsystem restart framework.
1902
1903 The MSM subsystem restart framework provides support to boot,
1904 shutdown, and restart subsystems with a reference counted API.
1905 It also notifies userspace of transitions between these states via
1906 sysfs.
1907
1908config MSM_SYSMON_COMM
1909 bool "MSM System Monitor communication support"
1910 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1911 help
1912 This option adds support for MSM System Monitor library, which
1913 provides an API that may be used for notifying subsystems within
1914 the SoC about other subsystems' power-up/down state-changes.
1915
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001916config MSM_PIL
1917 bool "Peripheral image loading"
1918 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001919 default n
1920 help
1921 Some peripherals need to be loaded into memory before they can be
1922 brought out of reset.
1923
1924 Say yes to support these devices.
1925
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001926config MSM_PIL_MODEM
1927 tristate "Modem (ARM11) Boot Support"
Stephen Boyd3ac20732012-05-03 18:46:08 -07001928 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001929 help
1930 Support for booting and shutting down ARM11 Modem processors.
1931
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001932config MSM_PIL_QDSP6V3
1933 tristate "QDSP6v3 (Hexagon) Boot Support"
Stephen Boyd2e19d932012-05-09 17:36:04 -07001934 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001935 help
1936 Support for booting and shutting down QDSP6v3 processors (hexagon).
1937 The QDSP6 is a low power DSP used in audio software applications.
1938
Stephen Boydbdb53f32012-06-05 18:39:47 -07001939config MSM_PIL_LPASS_QDSP6V4
1940 tristate "LPASS QDSP6v4 (Hexagon) Boot Support"
Stephen Boyda1cf76b2012-06-13 12:05:35 -07001941 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydeb819882011-08-29 14:46:30 -07001942 help
Stephen Boydbdb53f32012-06-05 18:39:47 -07001943 Support for booting and shutting down QDSP6v4 processors (hexagon)
1944 in low power audio subsystems. If you would like to record or
1945 play audio then say Y here.
1946
1947 If unsure, say N.
1948
1949config MSM_PIL_MODEM_QDSP6V4
1950 tristate "Modem QDSP6v4 (Hexagon) Boot Support"
Stephen Boyd2efa9962012-06-12 14:20:12 -07001951 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydbdb53f32012-06-05 18:39:47 -07001952 help
1953 Support for booting and shutting down QDSP6v4 processors (hexagon)
1954 in modem subsystems. If you would like to make or receive phone
1955 calls then say Y here.
1956
1957 If unsure, say N.
Stephen Boydeb819882011-08-29 14:46:30 -07001958
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001959config MSM_PIL_LPASS_QDSP6V5
1960 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
1961 depends on MSM_PIL
1962 help
Matt Wagantall4e2599e2012-03-21 22:31:35 -07001963 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1964 in low power audio subsystems.
1965
1966config MSM_PIL_MSS_QDSP6V5
1967 tristate "MSS QDSP6v5 (Hexagon) Boot Support"
1968 depends on MSM_PIL
1969 help
1970 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1971 in modem subsystems.
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001972
Matt Wagantalle6e00d52012-03-08 17:39:07 -08001973config MSM_PIL_MBA
1974 tristate "Support for modem self-authentication"
1975 depends on MSM_PIL_MSS_QDSP6V5
1976 help
1977 Support for booting self-authenticating modems using the Modem Boot
1978 Authenticator.
Stephen Boyd322a9922011-09-20 01:05:54 -07001979
1980config MSM_PIL_RIVA
Stephen Boydd89eebe2011-09-28 23:28:11 -07001981 tristate "RIVA (WCNSS) Boot Support"
Stephen Boydfdec00d2012-05-10 17:04:49 -07001982 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001983 help
1984 Support for booting and shutting down the RIVA processor (WCNSS).
1985 Riva is the wireless subsystem processor used in bluetooth, wireless
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001986 LAN, and FM software applications.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001987
Stephen Boydd89eebe2011-09-28 23:28:11 -07001988config MSM_PIL_TZAPPS
1989 tristate "TZApps Boot Support"
1990 depends on MSM_PIL
1991 help
1992 Support for booting and shutting down TZApps.
1993
1994 TZApps is an image that runs in the secure processor state. It is
1995 used to decrypt data and perform secure operations on the behalf of
1996 the kernel.
1997
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07001998config MSM_PIL_DSPS
1999 tristate "DSPS Boot Support"
2000 depends on MSM_PIL
2001 help
2002 Support for booting and shutting down ARM7 DSPS processors.
2003
2004 DSPS is a sensors offloading processor used for applications such
2005 as rotation detection, temperature, etc.
2006
Stephen Boyd7b973de2012-03-09 12:26:16 -08002007config MSM_PIL_VIDC
2008 tristate "Video Core Secure Boot Support"
2009 depends on MSM_PIL
2010 help
2011 Support for authenticating the video core image.
2012
Tianyi Gou828798d2012-05-02 21:12:38 -07002013config MSM_PIL_VENUS
2014 tristate "VENUS (Video) Boot Support"
2015 depends on MSM_PIL
2016 help
2017 Support for booting and shutting down the VENUS processor (Video).
2018 Venus is the Video subsystem processor used for video codecs.
2019
Matt Wagantall292aace2012-01-26 19:12:34 -08002020config MSM_PIL_GSS
Stephen Boydd86214b2012-05-10 15:26:35 -07002021 tristate "GSS (Cortex A5) Boot Support"
2022 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantall292aace2012-01-26 19:12:34 -08002023 help
2024 Support for booting and shutting down Cortex A5 processors which run
2025 GPS subsystem firmware.
2026
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002027config MSM_PIL_PRONTO
2028 tristate "PRONTO (WCNSS) Boot Support"
2029 depends on MSM_PIL
2030 help
2031 Support for booting and shutting down the PRONTO processor (WCNSS).
2032 PRONTO is the wireless subsystem processor used in bluetooth, wireless
2033 LAN, and FM software applications.
2034
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002035config MSM_SCM
2036 bool "Secure Channel Manager (SCM) support"
2037 default n
2038
Vikram Mulukutla74f95262012-06-25 10:21:41 -07002039config MSM_MODEM_SSR_8974
2040 bool "MSM 8974 Modem restart driver"
2041 depends on (ARCH_MSM8974)
2042 help
2043 This option enables the modem subsystem restart driver for the MSM8974.
2044 It monitors the modem SMSM status bits and the modem watchdog line and
2045 restarts the modem or the 8974 when the modem encounters a fatal error,
2046 depending on the restart level selected in the subsystem restart driver.
2047
Ravishankar Sarawadi74daac22012-09-11 11:46:59 -07002048config MSM_ADSP_SSR_8974
2049 bool "MSM 8974 adsp restart driver"
2050 depends on (ARCH_MSM8974)
2051 help
2052 This option enables the adsp restart driver for the MSM8974.
2053 It monitors the adsp SMSM status bits and the adsp watchdog line and
2054 restarts the adsp or the 8974 when the adsp encounters a fatal error,
2055 depending on the restart level selected in the subsystem restart driver.
2056
Sameer Thalappilebfd3ba2012-09-13 23:19:15 -07002057config MSM_WCNSS_SSR_8974
2058 tristate "MSM 8974 WCNSS restart module"
2059 depends on (ARCH_MSM8974)
2060 help
2061 This option enables the WCNSS restart module for MSM8974. It monitors
2062 WCNSS SMSM status bits and WCNSS hardware watchdog interrupt line; and
2063 depending on the restart level, it will restart WCNSS when a fatal error
2064 occurs at WCNSS.
2065
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002066config SCORPION_Uni_45nm_BUG
2067 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
2068 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
2069 default y
2070 help
2071 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
2072 invalidating the Branch Predictor Array by Modified Virtual Address can
2073 create invalid entries in the TLB with the wrong ASID values on Scorpion
2074 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
2075 workaround for Scorpion Uniprocessor 45nm cores.
2076
2077 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
2078
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002079config MSM_BUSPM_DEV
2080 tristate "MSM Bus Performance Monitor Kernel Module"
2081 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
2082 default m
2083 help
2084 This kernel module is used to mmap() hardware registers for the
2085 performance monitors, counters, etc. The module can also be used to
2086 allocate physical memory which is used by bus performance hardware to
2087 dump performance data.
2088
Mona Hossain11c03ac2011-10-26 12:42:10 -07002089config MSM_TZ_LOG
2090 tristate "MSM Trust Zone (TZ) Log Driver"
2091 depends on DEBUG_FS
2092 help
2093 This option enables a driver with a debugfs interface for messages
2094 produced by the Secure code (Trust zone). These messages provide
2095 diagnostic information about TZ operation.
2096
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002097config MSM_RPM_LOG
2098 tristate "MSM Resource Power Manager Log Driver"
2099 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002100 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002101 default n
2102 help
2103 This option enables a driver which can read from a circular buffer
2104 of messages produced by the RPM. These messages provide diagnostic
2105 information about RPM operation. The driver outputs the messages
2106 via a debugfs node.
2107
2108config MSM_RPM_STATS_LOG
2109 tristate "MSM Resource Power Manager Stat Driver"
2110 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002111 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002112 default n
2113 help
2114 This option enables a driver which reads RPM messages from a shared
2115 memory location. These messages provide statistical information about
2116 the low power modes that RPM enters. The drivers outputs the message
2117 via a debugfs node.
2118
Girish Mahadevan898c56d2012-06-05 16:09:19 -06002119config MSM_RPM_RBCPR_STATS_LOG
2120 tristate "MSM Resource Power Manager RPBCPR Stat Driver"
2121 depends on DEBUG_FS
2122 depends on MSM_RPM
2123 help
2124 This option enables a driver which reads RPM messages from a shared
2125 memory location. These messages provide statistical information about
2126 RBCPR (Rapid Bridge Core Power Reduction) information . The drivers
2127 outputs the message via a debugfs node.
2128
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002129config MSM_DIRECT_SCLK_ACCESS
2130 bool "Direct access to the SCLK timer"
2131 default n
2132
2133config IOMMU_API
2134 bool
Gregory Bean1963a2a2010-08-28 10:05:44 -07002135
Brian Swetland9e73c842007-11-26 04:12:13 -08002136config MSM_GPIOMUX
2137 bool
2138
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002139config MSM_SECURE_IO
Brian Swetland9e73c842007-11-26 04:12:13 -08002140 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002141
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002142config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002143 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002144
Taniya Dascd1d0232012-07-03 17:50:47 +05302145config MSM_MODEM_RESTART
2146 bool
2147
Matt Wagantall88b86312012-01-31 16:53:03 -08002148config MSM_PM2
2149 depends on PM
2150 bool
2151
2152config MSM_PM8X60
2153 depends on PM
2154 bool
2155
Girish Mahadevan388c3082012-09-10 15:30:36 -06002156config MSM_EVENT_TIMER
2157 bool "Event timer"
2158 help
2159 This option enables a modules that manages a list of event timers that
2160 need to be monitored by the PM. The enables the PM code to monitor
2161 events that require the core to be awake and ready to handle the
2162 event.
2163
Matt Wagantall88b86312012-01-31 16:53:03 -08002164config MSM_NOPM
2165 default y if !PM
2166 bool
2167
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002168config MSM_BUS_SCALING
2169 bool "Bus scaling driver"
2170 default n
2171
Gagan Mac85c70492011-06-10 16:07:47 -06002172config MSM_BUS_RPM_MULTI_TIER_ENABLED
2173 bool "RPM Multi-tiering Configuration"
2174 depends on MSM_BUS_SCALING
2175
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002176config MSM_WATCHDOG
2177 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002178 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002179 help
2180 This enables the watchdog as is present on 8x60. Currently we use
2181 core 0's watchdog, and reset the entire SoC if it times out. It does
2182 not run during the bootup process, so it will not catch any early
2183 lockups.
2184
Hanumant Singhd1f01022012-07-05 14:21:53 -07002185config MSM_WATCHDOG_V2
2186 bool "MSM Watchdog Support"
2187 help
2188 This enables the watchdog module. It causes kernel panic if the
2189 watchdog times out. It allows for detection of cpu hangs and
2190 deadlocks. It does not run during the bootup process, so it will
2191 not catch any early lockups.
2192
Hanumant Singh5e2541c2012-07-31 14:41:14 -07002193config MSM_MEMORY_DUMP
2194 bool "MSM Memory Dump Support"
2195 help
2196 This enables memory dump feature. It allows various client
2197 subsystems to register respective dump regions. At the time
2198 of deadlocks or cpu hangs these dump regions are captured to
2199 give a snapshot of the system at the time of the crash.
2200
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002201config MSM_DLOAD_MODE
2202 bool "Enable download mode on crashes"
Subbaraman Narayanamurthye31f2792012-08-22 21:07:22 -07002203 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_MSM8974
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002204 default n
2205 help
2206 This makes the SoC enter download mode when it resets
2207 due to a kernel panic. Note that this doesn't by itself
2208 make the kernel reboot on a kernel panic - that must be
2209 enabled via another mechanism.
2210
Pratik Patel17f3b822011-11-21 12:41:47 -08002211config MSM_JTAG
Pratik Patel2963de42012-05-17 12:43:40 -07002212 bool "JTAG and kernel debug and trace support across power collapse"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002213 help
Pratik Patel2963de42012-05-17 12:43:40 -07002214 Enables support for kernel debugging (specifically breakpoints) and
2215 processor tracing across power collapse both for JTag and OS hosted
2216 software running on the target. Enabling this will ensure debug
2217 and ETM registers are saved and restored across power collapse.
2218
2219 For production builds, you should probably say 'N' here to avoid
2220 potential power, performance and memory penalty.
Pratik Patel7831c082011-06-08 21:44:37 -07002221
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002222config MSM_ETM
2223 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002224 depends on ARCH_MSM8X60
2225 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002226 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002227 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002228
Lynus Vazdde09ee2012-01-05 13:28:22 +05302229config MSM_SLEEP_STATS_DEVICE
2230 bool "Enable exporting of MSM sleep device stats to userspace"
2231
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302232config MSM_RUN_QUEUE_STATS
2233 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Krishna Vankae2922052012-03-02 09:59:12 +05302234 depends on (MSM_SOC_REV_A || ARCH_MSM8X60 || ARCH_MSM8960)
2235 help
2236 This option enalbes statistics collection on Run Queue. A daemon
2237 in user mode, called MPDecision will be using this data to decide
2238 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302239
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002240config MSM_STANDALONE_POWER_COLLAPSE
2241 bool "Enable standalone power collapse"
2242 default n
2243
2244config MSM_GSBI9_UART
2245 bool "Enable GSBI9 UART device"
2246 default n
2247 help
2248 This enables GSBI9 configured into UART.
2249
2250config MSM_SHARED_GPIO_FOR_UART2DM
2251 bool "Use shared GPIOs into UART mode"
2252 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2253 help
2254 This option configures GPIO muxed with SDC4/MMC3
2255 8-bit mode into UART mode. It is used for serial
2256 console on UART2DM. Say Y if you want to have
2257 serial console on UART2DM.
2258
2259config MSM_SHOW_RESUME_IRQ
2260 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002261 depends on (ARM_GIC || PMIC8058)
2262 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002263 default n
2264 help
2265 This option logs wake up interrupts that have triggered just before
2266 the resume loop unrolls. Say Y if you want to debug why the system
2267 resumed.
2268
2269config BT_MSM_PINTEST
2270 tristate "MSM Bluetooth Pin Connectivity Test"
2271 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2272 default n
2273 help
2274 Bluetooth MSM Pin Connectivity test module.
2275 This driver provides support for verifying the MSM to BT pin
2276 connectivity.
2277
2278config MSM_FAKE_BATTERY
2279 depends on POWER_SUPPLY
2280 default n
2281 bool "MSM Fake Battery"
2282 help
2283 Enables MSM fake battery driver.
2284
2285config MSM_QDSP6_APR
2286 bool "Audio QDSP6 APR support"
2287 depends on MSM_SMD
2288 default n
2289 help
2290 Enable APR IPC protocol support between
2291 application processor and QDSP6. APR is
2292 used by audio driver to configure QDSP6's
2293 ASM, ADM and AFE.
2294
Joonwoo Park91d95462012-08-02 10:55:54 -07002295config MSM_QDSP6_APRV2
2296 bool "Audio QDSP6 APRv2 support"
2297 depends on MSM_SMD
2298 default n
2299 help
2300 Enable APRv2 IPC protocol support between
2301 application processor and QDSP6. APR is
2302 used by audio driver to configure QDSP6's
2303 ASM, ADM and AFE.
2304
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -07002305config MSM_QDSP6_CODECS
2306 bool "Audio Codecs on QDSP6 APR "
2307 depends on MSM_SMD
2308 default n
2309 help
2310 Enable Audio codecs with APR IPC protocol support between
2311 application processor and QDSP6. APR is
2312 used by audio driver to configure QDSP6's
2313 ASM, ADM and AFE.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002314
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002315config MSM_QDSP6V2_CODECS
2316 bool "Audio QDSP6V2 APR support"
2317 depends on MSM_SMD
2318 help
2319 Enable Audio codecs with APR IPC protocol support between
2320 application processor and QDSP6 for B-family. APR is
2321 used by audio driver to configure QDSP6's
2322 ASM, ADM and AFE.
2323
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002324config MSM_AUDIO_QDSP6
2325 bool "QDSP6 HW Audio support"
2326 select SND_SOC_MSM_QDSP6_INTF
2327 default n
2328 help
2329 Enable HW audio support in QDSP6.
2330 QDSP6 can support HW encoder & decoder and audio processing
2331
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002332config MSM_AUDIO_QDSP6V2
2333 bool "QDSP6V2 HW Audio support"
2334 select SND_SOC_MSM_QDSP6V2_INTF
2335 help
2336 Enable HW audio support in QDSP6V2.
2337 QDSP6V2 can support HW encoder & decoder and
2338 audio processing. It will enable support for
2339 AAC, AMRNB, AMRWB, EVRC, MP3, QCELP among
2340 others.
2341
Joonwoo Park4a14a552012-08-02 11:03:21 -07002342config MSM_ADSP_LOADER
2343 tristate "ADSP loader support"
2344 select SND_SOC_MSM_APRV2_INTF
2345 depends on MSM_AUDIO_QDSP6V2 && m
2346 help
2347 Enable ADSP image loader.
2348 The ADSP loader brings ADSP out of reset
2349 for the platforms that use APRv2.
2350 Say M if you want to enable this module.
2351
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002352config MSM_ULTRASOUND
2353 bool "MSM ultrasound support"
2354 depends on MSM_AUDIO_QDSP6
2355 help
2356 Enable support for qdsp6/ultrasound.
2357
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002358config MSM_RPC_VIBRATOR
2359 bool "RPC based MSM Vibrator Support"
2360 depends on MSM_ONCRPCROUTER
2361 help
2362 Enable the vibrator support on MSM over RPC. The vibrator
2363 is connected on the PMIC. Say Y if you want to enable this
2364 feature.
2365
2366config PM8XXX_RPC_VIBRATOR
2367 bool "RPC based Vibrator on PM8xxx PMICs"
2368 depends on MSM_RPC_VIBRATOR
2369 help
2370 Enable the vibrator support on MSM over RPC. The vibrator
2371 is connected on the PM8XXX PMIC. Say Y if you want to enable
2372 this feature.
2373
2374config MSM_SPM_V1
2375 bool "Driver support for SPM Version 1"
2376 help
2377 Enables the support for Version 1 of the SPM driver. SPM hardware is
2378 used to manage the processor power during sleep. The driver allows
2379 configuring SPM to allow different power modes.
2380
2381config MSM_SPM_V2
2382 bool "Driver support for SPM Version 2"
2383 help
2384 Enables the support for Version 2 of the SPM driver. SPM hardware is
2385 used to manage the processor power during sleep. The driver allows
2386 configuring SPM to allow different power modes.
2387
2388config MSM_L2_SPM
2389 bool "SPM support for L2 cache"
2390 depends on MSM_SPM_V2
2391 help
2392 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2393 control of L2 cache low power mode with a Subsystem Power manager.
2394 Enabling this driver allows configuring L2 SPM for low power modes
2395 on supported chipsets.
2396
Laura Abbott2d1760b2011-09-29 21:31:24 -07002397config MSM_MULTIMEDIA_USE_ION
2398 bool "Multimedia suport using Ion"
2399 depends on ION_MSM
2400 help
2401 Enable support for multimedia drivers using Ion for buffer management
2402 instead of pmem. Selecting this may also involve userspace
2403 dependencies as well.
2404
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002405config MSM_OCMEM
2406 bool "MSM On-Chip memory driver (OCMEM)"
2407 help
2408 Enable support for On-Chip Memory available on certain MSM chipsets.
2409 OCMEM is a low latency, high performance pool shared by subsystems.
2410
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002411config MSM_OCMEM_LOCAL_POWER_CTRL
2412 bool "OCMEM Local Power Control"
2413 depends on MSM_OCMEM
2414 help
2415 Enable direct power management of the OCMEM core by the
2416 OCMEM driver. By default power management is delegated to
2417 the RPM. Selecting this option causes the OCMEM driver to
2418 directly handle the various macro power transitions.
2419
2420config MSM_OCMEM_DEBUG
2421 bool "OCMEM Debug Support"
2422 depends on MSM_OCMEM
2423 help
2424 Enable debug options for On-chip Memory (OCMEM) driver.
2425 Various debug options include memory, power and latency.
2426 Choosing one of these options allows debugging of each
2427 individual subsystem separately.
2428
Naveen Ramarajc71b2de2012-08-20 12:35:52 -07002429config MSM_OCMEM_NONSECURE
2430 bool "OCMEM Non Secure Mode"
2431 depends on MSM_OCMEM_DEBUG
2432 help
2433 Disable OCMEM interaction with secure processor.
2434 By default OCMEM is secured and accesses for each master
2435 is requested by the OCMEM driver. Selecting this option
2436 causes the OCMEM memory to be in non-secure state unless
2437 its locked down by the secure processor.
2438
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002439config MSM_OCMEM_POWER_DEBUG
2440 bool "OCMEM Power Debug Support"
2441 depends on MSM_OCMEM_DEBUG
2442 help
2443 Enable debug support for OCMEM power management.
2444 This adds support for verifying all power management
2445 related operations of OCMEM. Both local power management
2446 and RPM assisted power management operations are supported.
2447
Naveen Ramaraj4b1d9392012-08-06 21:05:14 -07002448config MSM_OCMEM_POWER_DISABLE
2449 bool "OCMEM Disable Power Control"
2450 depends on MSM_OCMEM_DEBUG
2451 help
2452 Disable all OCMEM power management.
2453 This keeps all OCMEM macros turned ON at all times thus
2454 never allowing them to be turned OFF. Both local power
2455 management and RPM assisted power modes are supported.
2456
Laura Abbottad340ff2012-01-04 14:23:48 -08002457config MSM_RTB
2458 bool "Register tracing"
2459 help
2460 Add support for logging different events to a small uncached
2461 region. This is designed to aid in debugging reset cases where the
2462 caches may not be flushed before the target resets.
2463
2464config MSM_RTB_SEPARATE_CPUS
2465 bool "Separate entries for each cpu"
2466 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002467 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002468 help
2469 Under some circumstances, it may be beneficial to give dedicated space
2470 for each cpu to log accesses. Selecting this option will log each cpu
2471 separately. This will guarantee that the last acesses for each cpu
2472 will be logged but there will be fewer entries per cpu
2473
Stepan Moskovchenko57884842012-06-07 17:35:49 -07002474config MSM_EBI_ERP
2475 bool "External Bus Interface (EBI) error reporting"
2476 help
2477 Say 'Y' here to enable reporting of external bus interface errors to
2478 the kernel log. Information such as the offending address and
2479 transaction type will be logged. This may be useful for debugging
2480 seemingly broken memory accesses.
2481
2482 For production builds, you should probably say 'N' here.
2483
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002484config MSM_CACHE_ERP
2485 bool "Cache / CPU error reporting"
2486 depends on ARCH_MSM_KRAIT
2487 help
2488 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2489 log. Enabling this feature can be used as a system debugging technique
2490 if cache corruption is suspected. Cache error statistics will also be
2491 reported in /proc/cpu/msm_cache_erp.
2492
2493 For production builds, you should probably say 'N' here.
2494
2495config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002496 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002497 depends on MSM_CACHE_ERP
2498 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002499 To cause the kernel to panic whenever an L1 cache error is detected, say
2500 'Y' here. This may be useful as a debugging technique if general system
2501 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002502
2503 For production builds, you should probably say 'N' here.
2504
Stepan Moskovchenko7035f652012-05-31 17:48:01 -07002505config MSM_L1_ERR_LOG
2506 bool "Log CPU ERP events to system memory"
2507 depends on MSM_CACHE_ERP
2508 help
2509 Enable logging CPU ERP events to an area of memory that will be
2510 preserved across a system reset. This may be useful for detecting and
2511 troubleshooting ERP-related system crashes in the field.
2512
2513 For production builds, you may want to say 'Y' here.
2514
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002515config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2516 bool "Report L2 master port slave/decode errors in kernel log"
2517 depends on MSM_CACHE_ERP
2518 help
2519 Master port errors can occur when a memory request is not properly
2520 handled by the destination slave. This can occur if the destination
2521 register does not exist or is inaccessible due to security
2522 restrictions or (in some cases) clock configuration. Enabling this
2523 option will cause a backtrace to be printed to the kernel log whenever
2524 such an error is encountered. Note that the error is reported as an
2525 interrupt rather than as an exception, meaning that the backtrace may
2526 have some skid. This option may help with debugging, though production
2527 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002528
2529config MSM_L2_ERP_PORT_PANIC
2530 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002531 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002532 help
2533 Master port errors can occur when a memory request is not properly
2534 handled by the destination slave. Enable this option to catch drivers
2535 which attempt to access bad areas of the address space, or access
2536 hardware registers in an improper state (such as certain clocks not
2537 being on). This option may help with debugging, though production
2538 builds should probably say 'N' here.
2539
2540config MSM_L2_ERP_1BIT_PANIC
2541 bool "Panic on recoverable L2 soft errors"
2542 depends on MSM_CACHE_ERP
2543 help
2544 Enable this option to cause a kernel panic whenever the L2 cache
2545 encounters a single-bit (correctable) soft error. This option should
2546 only be enabled when doing low-level debugging where cache corruption
2547 is suspected.
2548
2549 For production builds, you should definitely say 'N' here.
2550
2551config MSM_L2_ERP_2BIT_PANIC
2552 bool "Panic on unrecoverable L2 soft errors"
2553 depends on MSM_CACHE_ERP
2554 help
2555 Enable this option to cause a kernel panic whenever the L2 cache
2556 encounters a double-bit (non-correctable) soft error. Debug builds
2557 will likely benefit from having this option enabled to catch cache
2558 problems as soon as possible.
2559
2560 For production builds, it may be acceptable to say 'N' here, since
2561 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002562
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002563config MSM_DCVS
2564 bool "Use MSM DCVS for CPU/GPU Frequency control"
2565 depends on MSM_SCM
2566 help
2567 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2568 The DCVS manager allows idle driver to feed the idle information to the
2569 algorithm and the algorithm returns a frequency for the core which is
2570 passed to the frequency change driver.
2571
Pankaj Kumar32ce1ea2012-04-04 20:29:29 +05302572config MSM_CPR
2573 tristate "Use MSM CPR in S/W mode"
2574 help
2575 Enable CPR (core power reduction) in S/W mode, where the processor
2576 get's the notification from CPR block and programs the PMIC.
2577
2578config MSM_VP_REGULATOR
2579 tristate "Use MSM PMIC8029 C2 regulator"
2580 depends on ARCH_MSM8625
2581 help
2582 Enable MSM PMIC8029 C2 regulator support using APC_PLEVEL access
2583 for MSMs like 8625.
2584
Taniya Dasc43e6872012-03-21 16:41:14 +05302585config HAVE_ARCH_HAS_CURRENT_TIMER
2586 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002587
2588config MSM_CACHE_DUMP
2589 bool "Cache dumping support"
2590 help
2591 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2592 This allows for analysis of the caches in case cache corruption is
2593 suspected.
2594
Laura Abbott7b637362012-03-29 16:43:49 -07002595config MSM_CACHE_DUMP_ON_PANIC
2596 bool "Dump caches on panic"
2597 depends on MSM_CACHE_DUMP
2598 help
2599 By default, the caches are flushed on panic. This means that trying to
2600 look at them in a RAM dump will give useless data. Select this if you
2601 want to dump the L1 and L2 caches on panic before any flush occurs.
2602 If unsure, say N
2603
Jack Phamccbbfab2012-04-09 19:50:20 -07002604config MSM_HSIC_SYSMON
2605 tristate "MSM HSIC system monitor driver"
2606 depends on USB
2607 help
2608 Add support for bridging with the system monitor interface of MDM
2609 over HSIC. This driver allows the local system monitor to
2610 communicate with the remote system monitor interface.
2611
2612config MSM_HSIC_SYSMON_TEST
2613 tristate "MSM HSIC system monitor bridge test"
2614 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2615 help
2616 Enable the test hook for the Qualcomm system monitor HSIC driver.
2617 This will create a debugfs file entry named "hsic_sysmon_test" which
2618 can be read and written to send character data to the sysmon port of
2619 the modem over USB.
2620
Anirudh Ghayal0d2291a2012-09-20 21:31:41 +05302621config MSM_RPC_PMIC
2622 tristate "MSM RPC PMIC driver"
2623 depends on MSM_ONCRPCROUTER
2624 help
2625 This driver supports the PMIC functionality over RPC for those MSM's
2626 which do not have a direct access to PMIC. It supports ability to
2627 configure MPP, GPIO and all the other supported peripherals of the
2628 PMIC.
2629
Anirudh Ghayald3a63732012-09-20 22:13:13 +05302630config MSM_RPC_USB
2631 tristate "MSM RPC USB driver"
2632 depends on MSM_ONCRPCROUTER
2633 help
2634 This driver supports the USB configuration support over the RPC
2635 interface. It support the HS USB module connected to the MSM
2636 and FS USB which is connected over the PMIC. This support is
2637 required for MSMs on which the APPS does not have a direct access
2638 to the PMIC.
2639
2640config MSM_RPC_PMAPP
2641 tristate "MSM RPC PMIC APP driver"
2642 depends on MSM_ONCRPCROUTER
2643 help
2644 This driver supports the configuration of various PMIC APP modules
2645 such as display backlight, vreg pin-ctrl, smps clock over the RPC
2646 interface. This support is required for MSMs on which the APPS
2647 does not have a direct access to the PMIC.
Pushkar Joshi0fc73462012-09-26 17:59:31 -07002648
2649config MSM_ENABLE_WDOG_DEBUG_CONTROL
2650 bool "MSM Watchdog driver to disable debug Image"
2651 help
2652 This driver supports the configuration of the GCC_WDOG_DEBUG register
2653 used to control debug image.
2654 This support is currently required for MSM8974 to disable debug image
2655 on PS HOLD reset
Brian Swetland9e73c842007-11-26 04:12:13 -08002656endif