blob: 86aeab6143c76a3c46b4098ebb2a26854f7917f6 [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
Trilok Soni7ff06e02012-10-15 01:05:24 +053025 select ARCH_HAS_BARRIERS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070026 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
Chintan Pandya62a2f7c2012-10-30 12:00:40 +053070 select ARM_HAS_SG_CHAIN
Daniel Walker7b521612010-05-06 12:44:57 -070071
Daniel Walker4ad15e62010-05-06 13:54:17 -070072config ARCH_QSD8X50
73 bool "QSD8X50"
74 select ARCH_MSM_SCORPION
Daniel Walker4ad15e62010-05-06 13:54:17 -070075 select MSM_VIC
76 select CPU_V7
David Brown74d10d72011-05-16 13:57:39 -070077 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070078 select MSM_REMOTE_SPINLOCK_LDREX
79 select CPU_USE_DOMAINS
80 select EMULATE_DOMAIN_MANAGER_V7
Gregory Beanab78cde2010-09-01 16:26:12 -070081 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070082 select MSM_DALRPC
Matt Wagantall88b86312012-01-31 16:53:03 -080083 select MSM_PM2 if PM
Taniya Dascd1d0232012-07-03 17:50:47 +053084 select MSM_MODEM_RESTART
Daniel Walker46fe5f22010-08-18 11:00:25 -070085
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070086config ARCH_MSM8X60
87 bool "MSM8X60"
Jeff Ohlsteine14411d2010-11-30 13:06:36 -080088 select ARCH_MSM_SCORPIONMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070089 select SMP_PARALLEL_START if SMP
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070090 select ARM_GIC
91 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070092 select MSM_REMOTE_SPINLOCK_LDREX
93 select ARCH_REQUIRE_GPIOLIB
94 select MSM_ADM3
95 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -080096 select MSM_RPM_REGULATOR
David Brown1a5ab4b2011-05-16 15:53:38 -070097 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070098 select MSM_PIL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070099 select ARCH_HAS_CPU_IDLE_WAIT
100 select MSM_DIRECT_SCLK_ACCESS
101 select MSM_RPM
102 select MSM_XO
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700103 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700104 select MSM_BUS_SCALING
105 select MSM_SECURE_IO
106 select MSM_DALRPC
107 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700108 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700109 select MSM_NATIVE_RESTART
110 select ARCH_INLINE_SPIN_TRYLOCK
111 select ARCH_INLINE_SPIN_TRYLOCK_BH
112 select ARCH_INLINE_SPIN_LOCK
113 select ARCH_INLINE_SPIN_LOCK_BH
114 select ARCH_INLINE_SPIN_LOCK_IRQ
115 select ARCH_INLINE_SPIN_LOCK_IRQSAVE
116 select ARCH_INLINE_SPIN_UNLOCK
117 select ARCH_INLINE_SPIN_UNLOCK_BH
118 select ARCH_INLINE_SPIN_UNLOCK_IRQ
119 select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
120 select ARCH_INLINE_READ_TRYLOCK
121 select ARCH_INLINE_READ_LOCK
122 select ARCH_INLINE_READ_LOCK_BH
123 select ARCH_INLINE_READ_LOCK_IRQ
124 select ARCH_INLINE_READ_LOCK_IRQSAVE
125 select ARCH_INLINE_READ_UNLOCK
126 select ARCH_INLINE_READ_UNLOCK_BH
127 select ARCH_INLINE_READ_UNLOCK_IRQ
128 select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
129 select ARCH_INLINE_WRITE_TRYLOCK
130 select ARCH_INLINE_WRITE_LOCK
131 select ARCH_INLINE_WRITE_LOCK_BH
132 select ARCH_INLINE_WRITE_LOCK_IRQ
133 select ARCH_INLINE_WRITE_LOCK_IRQSAVE
134 select ARCH_INLINE_WRITE_UNLOCK
135 select ARCH_INLINE_WRITE_UNLOCK_BH
136 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
137 select CPU_HAS_L2_PMU
138 select MSM_SPM_V1
Stephen Boyd2a1eb582010-08-27 10:01:23 -0700139 select MSM_SCM if SMP
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530140 select MULTI_IRQ_HANDLER
Laura Abbott46505f62011-11-02 18:06:55 -0700141 select MSM_MULTIMEDIA_USE_ION
Matt Wagantall88b86312012-01-31 16:53:03 -0800142 select MSM_PM8X60 if PM
Krishna Vankae2922052012-03-02 09:59:12 +0530143 select MSM_RUN_QUEUE_STATS
Laura Abbottb14ed962012-01-30 14:18:08 -0800144 select ARM_HAS_SG_CHAIN
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700145
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800146config ARCH_MSM8960
147 bool "MSM8960"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700148 select ARCH_MSM_KRAITMP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800149 select ARM_GIC
150 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700151 select GPIO_MSM_V2
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800152 select MSM_GPIOMUX
153 select MSM_SCM if SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700154 select MSM_DIRECT_SCLK_ACCESS
155 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -0800156 select MSM_RPM_REGULATOR
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700157 select MSM_RPM
158 select MSM_XO
159 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700160 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700161 select MSM_PIL
162 select MSM_AUDIO_QDSP6 if SND_SOC
163 select CPU_HAS_L2_PMU
164 select MSM_SPM_V2
165 select MSM_L2_SPM
166 select MSM_NATIVE_RESTART
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700167 select DONT_MAP_HOLE_AFTER_MEMBANK0
168 select MSM_REMOTE_SPINLOCK_SFPB
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700169 select ARCH_SPARSEMEM_ENABLE
170 select ARCH_HAS_HOLES_MEMORYMODEL
Larry Basseld4d82c92011-12-07 09:52:49 -0800171 select CLEANCACHE
172 select QCACHE
Laura Abbott6d61a912011-10-27 16:44:14 -0700173 select MSM_MULTIMEDIA_USE_ION
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530174 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800175 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700176 select HOLES_IN_ZONE if SPARSEMEM
Krishna Vankae2922052012-03-02 09:59:12 +0530177 select MSM_RUN_QUEUE_STATS
Laura Abbottb14ed962012-01-30 14:18:08 -0800178 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700179 select MSM_KRAIT_WFE_FIXUP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800180
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700181config ARCH_MSM8930
182 bool "MSM8930"
183 select ARCH_MSM_KRAITMP
184 select ARM_GIC
185 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700186 select GPIO_MSM_V2
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700187 select MSM_GPIOMUX
188 select MSM_SCM if SMP
189 select MSM_DIRECT_SCLK_ACCESS
190 select REGULATOR
David Collins5779cea2012-01-05 15:09:21 -0800191 select MSM_RPM_REGULATOR
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700192 select MSM_RPM
193 select MSM_XO
194 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700195 select MSM_QDSP6_CODECS
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700196 select MSM_PIL
197 select MSM_AUDIO_QDSP6 if SND_SOC
198 select CPU_HAS_L2_PMU
199 select MSM_SPM_V2
200 select MSM_L2_SPM
201 select MSM_NATIVE_RESTART
202 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600203 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700204 select ARCH_SPARSEMEM_ENABLE
205 select ARCH_HAS_HOLES_MEMORYMODEL
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +0200206 select MSM_ULTRASOUND
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530207 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800208 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700209 select HOLES_IN_ZONE if SPARSEMEM
Laura Abbottb14ed962012-01-30 14:18:08 -0800210 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700211 select MSM_KRAIT_WFE_FIXUP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700212
213config ARCH_APQ8064
214 bool "APQ8064"
215 select ARCH_MSM_KRAITMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700216 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700217 select ARM_GIC
218 select CPU_V7
219 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700220 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600221 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800222 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800223 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700224 select MSM_QDSP6_CODECS
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800225 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530226 select MULTI_IRQ_HANDLER
Praveen Chidambaram78499012011-11-01 17:15:17 -0600227 select MSM_RPM
228 select MSM_SPM_V2
229 select MSM_L2_SPM
Matt Wagantall88b86312012-01-31 16:53:03 -0800230 select MSM_PM8X60 if PM
Neil Leeder814d3d32012-01-19 17:21:43 -0500231 select CPU_HAS_L2_PMU
Laura Abbott085dd202012-03-30 14:02:34 -0700232 select HOLES_IN_ZONE if SPARSEMEM
Larry Bassel67b921d2012-04-06 10:23:27 -0700233 select CLEANCACHE
234 select QCACHE
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -0600235 select MIGHT_HAVE_PCI
236 select ARCH_SUPPORTS_MSI
Laura Abbottb14ed962012-01-30 14:18:08 -0800237 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700238 select MSM_KRAIT_WFE_FIXUP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700239
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700240config ARCH_MSM8974
241 bool "MSM8974"
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700242 select ARCH_MSM_KRAITMP
Sathish Ambley4149e842012-03-23 11:53:55 -0700243 select GPIO_MSM_V3
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700244 select ARM_GIC
245 select CPU_V7
246 select MSM_SCM if SMP
247 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530248 select MULTI_IRQ_HANDLER
Olav Hauganb800c8c2012-01-30 08:50:45 -0800249 select MSM_MULTIMEDIA_USE_ION
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700250 select MSM_PIL
Praveen Chidambaramaa9d52b2012-04-02 11:09:47 -0600251 select MSM_SPM_V2
252 select MSM_L2_SPM
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700253 select MSM_NATIVE_RESTART
254 select MSM_RESTART_V2
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600255 select MSM_PM8X60 if PM
Steve Mucklef132c6c2012-06-06 18:30:57 -0700256 select MAY_HAVE_SPARSE_IRQ
257 select SPARSE_IRQ
Mahesh Sivasubramaniancb668712012-04-04 13:03:25 -0600258 select MSM_RPM_SMD
David Collinsc7642322012-04-04 10:19:12 -0700259 select REGULATOR
Joonwoo Park91d95462012-08-02 10:55:54 -0700260 select MSM_QDSP6_APRV2
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -0700261 select MSM_QDSP6V2_CODECS
262 select MSM_AUDIO_QDSP6V2 if SND_SOC
David Collins1c91ea72012-05-03 16:17:35 -0700263 select MSM_RPM_REGULATOR_SMD
Laura Abbottb14ed962012-01-30 14:18:08 -0800264 select ARM_HAS_SG_CHAIN
Karthik Parsha404fb8f2012-07-30 19:14:05 -0700265 select MSM_RUN_QUEUE_STATS
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700266
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +0530267config ARCH_MPQ8092
268 bool "MPQ8092"
269 select ARCH_MSM_KRAITMP
270 select GPIO_MSM_V3
271 select ARM_GIC
272 select MULTI_IRQ_HANDLER
273 select CPU_V7
274 select MSM_GPIOMUX
275 select MAY_HAVE_SPARSE_IRQ
276 select SPARSE_IRQ
277 select MSM_NOPM
278
Syed Rameez Mustafa90f80502012-08-23 17:27:24 -0700279config ARCH_MSM8226
280 bool "MSM8226"
281 select ARCH_MSM_KRAITMP
282 select GPIO_MSM_V3
283 select ARM_GIC
284 select CPU_V7
285 select MSM_SCM if SMP
286 select MSM_GPIOMUX
287 select MULTI_IRQ_HANDLER
288 select MSM_MULTIMEDIA_USE_ION
289 select MSM_PIL
290 select MSM_SPM_V2
291 select MSM_L2_SPM
292 select MSM_PM8X60 if PM
293 select MAY_HAVE_SPARSE_IRQ
294 select SPARSE_IRQ
295 select MSM_RPM_SMD
296 select REGULATOR
297 select MSM_QDSP6_APRV2
298 select MSM_QDSP6V2_CODECS
299 select MSM_AUDIO_QDSP6V2 if SND_SOC
300 select MSM_RPM_REGULATOR_SMD
301 select ARM_HAS_SG_CHAIN
302
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700303config ARCH_FSM9XXX
304 bool "FSM9XXX"
305 select ARCH_MSM_SCORPION
306 select MSM_VIC
307 select CPU_V7
308 select MSM_REMOTE_SPINLOCK_LDREX
Steve Mucklef132c6c2012-06-06 18:30:57 -0700309 select GPIO_FSM9XXX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530310 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800311 select MSM_DALRPC
Daniel Walker4ad15e62010-05-06 13:54:17 -0700312
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700313config ARCH_MSM9615
314 bool "MSM9615"
315 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530316 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700317 select ARCH_MSM_CORTEX_A5
318 select CPU_V7
Rohit Vaswani4307c842012-10-11 15:50:05 -0700319 select MIGHT_HAVE_CACHE_L2X0
Steve Mucklef132c6c2012-06-06 18:30:57 -0700320 select GPIO_MSM_V2
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700321 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600322 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600323 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700324 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800325 select REGULATOR
326 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530327 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800328 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800329 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700330 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800331 select MSM_QDSP6_APR
332 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800333 select FIQ
Laura Abbottb14ed962012-01-30 14:18:08 -0800334 select ARM_HAS_SG_CHAIN
Matt Wagantall9274df92011-12-15 11:11:05 -0800335
Taniya Das43bcdd62011-12-02 17:33:27 +0530336config ARCH_MSM8625
337 bool "MSM8625"
338 select ARCH_MSM_CORTEX_A5
339 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700340 select GPIO_MSM_V1
Taniya Das43bcdd62011-12-02 17:33:27 +0530341 select MSM_GPIOMUX
342 select ARM_GIC
343 select ARCH_MSM_CORTEXMP
344 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530345 select ARM_TICKET_LOCKS
Krishna Vankae2922052012-03-02 09:59:12 +0530346 select MSM_RUN_QUEUE_STATS
Trilok Sonib856ab92012-06-26 14:33:28 +0530347 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530348 select ARM_HAS_SG_CHAIN
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700349
350config ARCH_MSM9625
351 bool "MSM9625"
352 select ARM_GIC
353 select GIC_SECURE
Abhimanyu Kapur490d20c2012-06-22 17:34:20 -0700354 select MIGHT_HAVE_CACHE_L2X0
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700355 select ARCH_MSM_CORTEX_A5
356 select SMP
357 select MSM_SMP
358 select CPU_V7
Jin Hong690e3352012-05-02 09:25:05 -0700359 select MSM_GPIOMUX
Girish Mahadevanf1c20a42012-09-19 11:44:36 -0600360 select MSM_RPM_SMD
Abhimanyu Kapur46e5e2b2012-10-02 20:45:37 -0700361 select MSM_NATIVE_RESTART
362 select MSM_RESTART_V2
Girish Mahadevan6e419562012-09-19 12:50:05 -0600363 select MSM_SPM_V2
364 select MSM_PM8X60 if PM
365 select MSM_SCM if SMP
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700366 select MULTI_IRQ_HANDLER
Rohit Vaswani61cf6ef2012-07-27 13:51:48 -0700367 select GPIO_MSM_V3
David Collins1cc6e402012-09-17 16:02:24 -0700368 select MAY_HAVE_SPARSE_IRQ
369 select SPARSE_IRQ
Mitchel Humpherys92e9b8a2012-10-08 18:12:47 -0700370 select MSM_MULTIMEDIA_USE_ION
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700371
372config ARCH_MSM8910
373 bool "MSM8910"
374 select ARM_GIC
375 select GIC_SECURE
376 select SMP
377 select ARCH_MSM_CORTEXMP
378 select CPU_V7
379 select MSM_SCM if SMP
380 select MAY_HAVE_SPARSE_IRQ
381 select SPARSE_IRQ
382 select MULTI_IRQ_HANDLER
383 select GPIO_MSM_V3
384 select MSM_GPIOMUX
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700385endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700386
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700387choice
388 prompt "MSM SoC Revision"
389 default MSM_SOC_REV_NONE
390config MSM_SOC_REV_NONE
391 bool "N/A"
392 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
393 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walkerbf83de42010-03-16 16:29:44 -0700394config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700395 bool "Rev. A"
396 select ARCH_MSM7X27A if ARCH_MSM7X27
Daniel Walkerbf83de42010-03-16 16:29:44 -0700397endchoice
398
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700399config MSM_KRAIT_TBB_ABORT_HANDLER
400 bool "Krait TBB/TBH data abort handler"
401 depends on ARCH_MSM_KRAIT
402 depends on ARM_THUMB
403 help
404 Certain early samples of the Krait processor may generate data
405 aborts for TBB / TBH instructions that fail their condition code
406 checks. Enabling this option will ignore these erroneous data aborts,
407 at the expense of a very small performance penalty.
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800408
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700409 If unsure, say N.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700410
411config ARCH_MSM_ARM11
412 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700413
Daniel Walkerbf83de42010-03-16 16:29:44 -0700414config ARCH_MSM_SCORPION
415 bool
416
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700417config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700418 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800419 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700420
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700421config MSM_SMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700422 select HAVE_SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700423 bool
424
425config ARCH_MSM_SCORPIONMP
426 select ARCH_MSM_SCORPION
427 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530428 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700429 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700430 bool
431
432config ARCH_MSM_KRAITMP
433 select ARCH_MSM_KRAIT
434 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530435 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700436 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700437 bool
438
Taniya Das43bcdd62011-12-02 17:33:27 +0530439config ARCH_MSM_CORTEXMP
440 select MSM_SMP
441 bool
442
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700443config MSM_KRAIT_WFE_FIXUP
444 bool
445
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700446config MSM_RESTART_V2
447 bool
448
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700449config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800450 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700451
452config ARCH_MSM7X27A
453 bool
454 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700455 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530456 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530457 select ARM_GIC
458 select ARCH_MSM_CORTEXMP
Trilok Sonib856ab92012-06-26 14:33:28 +0530459 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530460 select ARM_HAS_SG_CHAIN
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700461
Gregory Beanf9f3d312010-04-30 22:06:50 -0700462config MSM_VIC
463 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700464
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700465config MSM_RPM
466 bool "Resource Power Manager"
467 select MSM_MPM
468
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600469config MSM_RPM_SMD
470 depends on MSM_SMD
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600471 select MSM_MPM_OF
472 bool "RPM driver using SMD protocol"
473 help
474 RPM is the dedicated hardware engine for managing shared SoC
475 resources. This config adds driver support for using SMD as a
476 transport layer communication with RPM hardware. It also selects
477 the MSM_MPM config that programs the MPM module to monitor interrupts
478 during sleep modes.
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600479
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700480config MSM_MPM
481 bool "Modem Power Manager"
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600482 help
483 MPM is a dedicated hardware resource responsible for entering and
484 waking up from a system wide low power mode. The MPM driver tracks
485 the wakeup interrupts and configures the MPM to monitor the wakeup
486 interrupts when going to a system wide sleep mode.
487
488config MSM_MPM_OF
489 bool "Modem Power Manager"
490 depends on CONFIG_OF
491 help
492 MPM is a dedicated hardware resource responsible for entering and
493 waking up from a system wide low power mode. The MPM driver tracks
494 the wakeup interrupts and configures the MPM to monitor the wakeup
495 interrupts when going to a system wide sleep mode. This config option
496 enables the MPM driver that supports initialization from a device
497 tree
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700498
499config MSM_XO
500 bool
501
502config MSM_REMOTE_SPINLOCK_DEKKERS
503 bool
504config MSM_REMOTE_SPINLOCK_SWP
505 bool
506config MSM_REMOTE_SPINLOCK_LDREX
507 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600508config MSM_REMOTE_SPINLOCK_SFPB
509 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700510config MSM_ADM3
511 bool
512
513menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700514
515config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700516 depends on ARCH_MSM7X01A
517 depends on MSM_STACKED_MEMORY
518 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700519 bool "Halibut Board (QCT SURF7201A)"
520 help
521 Support for the Qualcomm SURF7201A eval board.
522
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700523config MACH_MSM7201A_SURF
524 depends on ARCH_MSM7X01A
525 depends on MSM_STACKED_MEMORY
526 default y
527 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700528 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700529 Support for the Qualcomm MSM7201A SURF eval board.
530
531config MACH_MSM7201A_FFA
532 depends on ARCH_MSM7X01A
533 depends on MSM_STACKED_MEMORY
534 default y
535 bool "MSM7201A FFA"
536 help
537 Support for the Qualcomm MSM7201A FFA eval board.
538
539config MACH_TROUT
540 depends on ARCH_MSM7X01A
541 depends on MSM_STACKED_MEMORY
542 default y
543 bool "Trout"
544
545config MACH_MSM7X27_SURF
546 depends on ARCH_MSM7X27
547 depends on !MSM_STACKED_MEMORY
548 default y
549 bool "MSM7x27 SURF"
550 help
551 Support for the Qualcomm MSM7x27 SURF eval board.
552
553config MACH_MSM7X27_FFA
554 depends on ARCH_MSM7X27
555 depends on !MSM_STACKED_MEMORY
556 default y
557 bool "MSM7x27 FFA"
558 help
559 Support for the Qualcomm MSM7x27 FFA eval board.
560
561config MACH_MSM7X27A_RUMI3
562 depends on ARCH_MSM7X27A
563 depends on !MSM_STACKED_MEMORY
564 default y
565 bool "MSM7x27A RUMI3"
566 help
567 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
568
569config MACH_MSM7X27A_SURF
570 depends on ARCH_MSM7X27A
571 depends on !MSM_STACKED_MEMORY
572 default y
573 bool "MSM7x27A SURF"
574 help
575 Support for the Qualcomm MSM7x27A SURF.
576
577config MACH_MSM7X27A_FFA
578 depends on ARCH_MSM7X27A
579 depends on !MSM_STACKED_MEMORY
580 default y
581 bool "MSM7x27A FFA"
582 help
583 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700584
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530585config MACH_MSM7625A_SURF
586 depends on ARCH_MSM7X27A
587 depends on !MSM_STACKED_MEMORY
588 default y
589 bool "MSM7625A SURF"
590 help
591 Support for the Qualcomm MSM7625A SURF.
592
593config MACH_MSM7625A_FFA
594 depends on ARCH_MSM7X27A
595 depends on !MSM_STACKED_MEMORY
596 default y
597 bool "MSM7625A FFA"
598 help
599 Support for the Qualcomm MSM7625A FFA.
600
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530601config MACH_MSM7627A_QRD1
602 depends on ARCH_MSM7X27A
603 depends on !MSM_STACKED_MEMORY
604 default y
605 bool "MSM7627A QRD1"
606 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530607 Support for the Qualcomm MSM7627A Reference Design.
608
609config MACH_MSM7627A_QRD3
610 depends on ARCH_MSM7X27A
611 depends on !MSM_STACKED_MEMORY
612 default y
613 bool "MSM7627A QRD3"
614 help
615 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530616
Taniya Dasc868a2e2012-01-03 10:18:47 +0530617config MACH_MSM7627A_EVB
618 depends on ARCH_MSM7X27A
619 depends on !MSM_STACKED_MEMORY
620 default y
621 bool "MSM7627A EVB"
622 help
623 Support for the Qualcomm MSM7627A Reference Design.
624
Taniya Das43bcdd62011-12-02 17:33:27 +0530625config MACH_MSM8625_RUMI3
626 depends on ARCH_MSM8625
627 depends on !MSM_STACKED_MEMORY
628 default y
629 bool "MSM8625 RUMI3"
630 help
631 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
632
Taniya Dase3027e22012-02-27 16:32:27 +0530633config MACH_MSM8625_SURF
634 depends on ARCH_MSM8625
635 depends on !MSM_STACKED_MEMORY
636 default y
637 bool "MSM8625 SURF"
638 help
639 Support for the Qualcomm MSM8625 SURF.
640
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530641config MACH_MSM8625_FFA
642 depends on ARCH_MSM8625
643 depends on !MSM_STACKED_MEMORY
644 default y
645 bool "MSM8625 FFA"
646 help
647 Support for the Qualcomm MSM8625 FFA.
648
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530649config MACH_MSM8625_EVB
650 depends on ARCH_MSM8625
651 depends on !MSM_STACKED_MEMORY
652 default y
653 bool "MSM8625 EVB"
654 help
655 Support for the Qualcomm MSM8625 Reference Design.
656
Taniya Dasbd096542012-03-15 17:43:45 +0530657config MACH_MSM8625_QRD7
658 depends on ARCH_MSM8625
659 depends on !MSM_STACKED_MEMORY
660 default y
661 bool "MSM8625 QRD7"
662 help
663 Support for the Qualcomm MSM8625 Reference Design.
664
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530665config MACH_MSM8625_EVT
666 depends on ARCH_MSM8625
667 depends on !MSM_STACKED_MEMORY
668 default y
669 bool "MSM8625 EVT"
670 help
671 Support for the Qualcomm MSM8625 Reference Design.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700672
Channagoud Kadabi2bd65c82012-10-12 15:14:23 +0530673config MACH_QRD_SKUD_PRIME
674 depends on ARCH_MSM8625
675 depends on !MSM_STACKED_MEMORY
676 default y
677 bool "MSM8625 SKUD PRIME"
678 help
679 Support for the Qualcomm MSM8625 SKUD prime Reference Design.
680 Add support for a SKUD prime reference design based on MSM8x25
681 chipset. This device is much closer to a phone than regular form
682 factor devices, with new touch, display panel and other hardware
683 configurations.
684
Daniel Walker7b521612010-05-06 12:44:57 -0700685config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700686 depends on ARCH_MSM7X30
687 depends on !MSM_STACKED_MEMORY
688 default y
689 bool "MSM7x30 SURF"
690 help
691 Support for the Qualcomm MSM7x30 SURF eval board.
692
693config MACH_MSM7X30_FFA
694 depends on ARCH_MSM7X30
695 depends on !MSM_STACKED_MEMORY
696 default y
697 bool "MSM7x30 FFA"
698 help
699 Support for the Qualcomm MSM7x30 FFA eval board.
700
701config MACH_MSM7X30_FLUID
702 depends on ARCH_MSM7X30
703 depends on !MSM_STACKED_MEMORY
704 default y
705 bool "MSM7x30 FLUID"
706 help
707 Support for the Qualcomm MSM7x30 FLUID eval board.
708
709config MACH_SAPPHIRE
710 depends on ARCH_MSM7X01A
711 default n
712 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700713
Daniel Walker4ad15e62010-05-06 13:54:17 -0700714config MACH_QSD8X50_SURF
715 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700716 depends on MSM_SOC_REV_NONE
717 depends on MSM_STACKED_MEMORY
718 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700719 bool "QSD8x50 SURF"
720 help
721 Support for the Qualcomm QSD8x50 SURF eval board.
722
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700723config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700724 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700725 depends on MSM_SOC_REV_NONE
726 depends on MSM_STACKED_MEMORY
727 default y
728 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700729 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700730 Support for the Qualcomm QSD8x50 FFA eval board.
731
732config MACH_MSM7X25_SURF
733 depends on ARCH_MSM7X25
734 depends on !MSM_STACKED_MEMORY
735 default y
736 bool "MSM7x25 SURF"
737 help
738 Support for the Qualcomm MSM7x25 SURF eval board.
739
740config MACH_MSM7X25_FFA
741 depends on ARCH_MSM7X25
742 depends on !MSM_STACKED_MEMORY
743 default y
744 bool "MSM7x25 FFA"
745 help
746 Support for the Qualcomm MSM7x25 FFA eval board.
747
748config MACH_MSM8X55_SURF
749 depends on ARCH_MSM7X30
750 depends on !MSM_STACKED_MEMORY
751 default y
752 bool "MSM8X55 SURF"
753 help
754 Support for the Qualcomm MSM8x55 SURF eval board.
755
756config MACH_MSM8X55_FFA
757 depends on ARCH_MSM7X30
758 depends on !MSM_STACKED_MEMORY
759 default y
760 bool "MSM8X55 FFA"
761 help
762 Support for the Qualcomm MSM8x55 FFA eval board.
763
764config MACH_MSM8X55_SVLTE_FFA
765 depends on ARCH_MSM7X30
766 depends on !MSM_STACKED_MEMORY
767 default y
768 bool "MSM8X55 SVLTE FFA"
769 help
770 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
771
772config MACH_MSM8X55_SVLTE_SURF
773 depends on ARCH_MSM7X30
774 depends on !MSM_STACKED_MEMORY
775 default y
776 bool "MSM8X55 SVLTE SURF"
777 help
778 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700779
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700780config MACH_MSM8X60_SURF
781 depends on ARCH_MSM8X60
782 default n
783 bool "MSM8x60 SURF"
784 help
785 Support for the Qualcomm MSM8x60 SURF eval board.
786
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700787config MACH_MSM8X60_FFA
788 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700789 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700790 bool "MSM8x60 FFA"
791 help
792 Support for the Qualcomm MSM8x60 FFA eval board.
793
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700794config MACH_MSM8X60_FLUID
795 depends on ARCH_MSM8X60
796 default n
797 bool "MSM8x60 FLUID"
798 help
799 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
800 8x60 target which has a form factor that is much closer to that
801 of a phone than other targets. It also has a new display and
802 touchscreen controller.
803
804config MACH_MSM8X60_FUSION
805 depends on ARCH_MSM8X60
806 default n
807 bool "MSM8x60 FUSION"
808 help
809 Support for the Qualcomm MSM8x60 Fusion SURF device.
810
811config MACH_MSM8X60_FUSN_FFA
812 depends on ARCH_MSM8X60
813 default n
814 bool "MSM8x60 FUSN FFA"
815 help
816 Support for the Qualcomm MSM8x60 Fusion FFA device.
817
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400818config MACH_MSM8X60_DRAGON
819 depends on ARCH_MSM8X60
820 default n
821 bool "MSM8x60 DRAGON"
822 help
823 Support for the Qualcomm MSM8x60 Dragon board.
824
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700825config MACH_MSM8960_CDP
826 depends on ARCH_MSM8960
827 bool "MSM8960 CDP"
828 help
829 Support for the Qualcomm MSM8960 CDP device.
830
831config MACH_MSM8960_MTP
832 depends on ARCH_MSM8960
833 bool "MSM8960 MTP"
834 help
835 Support for the Qualcomm MSM8960 MTP device.
836
837config MACH_MSM8960_FLUID
838 depends on ARCH_MSM8960
839 bool "MSM8960 FLUID"
840 help
841 Support for the Qualcomm MSM8960 FLUID device.
842
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300843config MACH_MSM8960_LIQUID
844 depends on ARCH_MSM8960
845 bool "MSM8960 LIQUID"
846 help
847 Support for the Qualcomm MSM8960 LIQUID device.
848
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700849config MACH_MSM8930_CDP
850 depends on ARCH_MSM8930
851 bool "MSM8930 CDP"
852 help
853 Support for the Qualcomm MSM8930 CDP device.
854
855config MACH_MSM8930_MTP
856 depends on ARCH_MSM8930
857 bool "MSM8930 MTP"
858 help
859 Support for the Qualcomm MSM8930 MTP device.
860
861config MACH_MSM8930_FLUID
862 depends on ARCH_MSM8930
863 bool "MSM8930 FLUID"
864 help
865 Support for the Qualcomm MSM8930 FLUID device.
866
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800867config MACH_MSM8627_CDP
868 depends on ARCH_MSM8930
869 bool "MSM8627 CDP"
870 help
871 Support for the Qualcomm MSM8627 CDP device.
872
873config MACH_MSM8627_MTP
874 depends on ARCH_MSM8930
875 bool "MSM8627 MTP"
876 help
877 Support for the Qualcomm MSM8627 MTP device.
878
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700879config MACH_MSM9615_CDP
880 depends on ARCH_MSM9615
881 bool "MSM9615 CDP"
882 help
883 Support for the Qualcomm MSM9615 CDP device.
884
885config MACH_MSM9615_MTP
886 depends on ARCH_MSM9615
887 bool "MSM9615 MTP"
888 help
889 Support for the Qualcomm MSM9615 MTP device.
890
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700891config MSM_USE_TSIF1
892 depends on ARCH_MSM8X60
893 bool "MSM8x60 use TSIF1"
894 help
895 Selects TSIF1 core to be used rather than TSIF0.
896 The two TSIF cores share the same DM configuration
897 so they cannot be used simultaneously.
898
Joel King82b7e3f2012-01-05 10:03:27 -0800899config MACH_APQ8064_CDP
900 depends on ARCH_APQ8064
901 bool "APQ8064 CDP"
902 help
903 Support for the Qualcomm APQ8064 CDP device.
904
905config MACH_APQ8064_MTP
906 depends on ARCH_APQ8064
907 bool "APQ8064 MTP"
908 help
909 Support for the Qualcomm APQ8064 MTP device.
910
911config MACH_APQ8064_LIQUID
912 depends on ARCH_APQ8064
913 bool "APQ8064 LIQUID"
914 help
915 Support for the Qualcomm APQ8064 LIQUID device.
916
Joel King064bbf82012-04-01 13:23:39 -0700917config MACH_MPQ8064_CDP
918 depends on ARCH_APQ8064
919 bool "MPQ8064 CDP"
920 help
921 Support for the Qualcomm MPQ8064 CDP device.
922
Joel King11ca8202012-02-13 16:19:03 -0800923config MACH_MPQ8064_HRD
924 depends on ARCH_APQ8064
925 bool "MPQ8064 HRD"
926 help
927 Support for the Qualcomm MPQ8064 HRD device.
928
929config MACH_MPQ8064_DTV
930 depends on ARCH_APQ8064
931 bool "MPQ8064 DTV"
932 help
933 Support for the Qualcomm MPQ8064 DTV device.
934
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700935config MACH_FSM9XXX_SURF
936 depends on ARCH_FSM9XXX
937 depends on !MSM_STACKED_MEMORY
938 default y
939 bool "FSM9XXX SURF"
940 help
941 Support for the Qualcomm FSM9xxx femtocell
942 chipset based SURF evaluation board and
943 FFA board.
944
Daniel Walker4ad15e62010-05-06 13:54:17 -0700945endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800946
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700947config MSM_STACKED_MEMORY
948 bool "Stacked Memory"
949 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800950 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700951 This option is used to indicate the presence of on-die stacked
952 memory. When present this memory bank is used for a high speed
953 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800954
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700955config PHYS_OFFSET
956 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700957 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700958 default "0x80200000" if ARCH_APQ8064
959 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700960 default "0x80200000" if ARCH_MSM8930
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700961 default "0x00000000" if ARCH_MSM8974
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +0530962 default "0x00000000" if ARCH_MPQ8092
Syed Rameez Mustafa90f80502012-08-23 17:27:24 -0700963 default "0x00000000" if ARCH_MSM8226
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700964 default "0x00000000" if ARCH_MSM8910
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700965 default "0x10000000" if ARCH_FSM9XXX
Abhimanyu Kapur20ac2ad2012-09-25 04:23:59 -0700966 default "0x00200000" if ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700967 default "0x00200000" if !MSM_STACKED_MEMORY
968 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
969 default "0x20000000" if ARCH_QSD8X50
970 default "0x40200000" if ARCH_MSM8X60
971 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800972
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700973config KERNEL_MSM_CONTIG_MEM_REGION
974 bool "Enable in-kernel contiguous memory region"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700975 default y if ARCH_MSM8X60
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700976 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700977 help
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700978 Enable the in-kernel contiguous memory allocator. Sets up a
979 region of physically contiguous memory. This memory is
980 reserved during initialization, and can be used
981 generically.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700982
983config KERNEL_PMEM_SMI_REGION
984 bool "Enable in-kernel PMEM region for SMI"
985 default y if ARCH_MSM8X60
986 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
987 help
988 Enable the in-kernel PMEM allocator to use SMI memory.
989
990config PMEM_GPU0
991 bool "Enable PMEM GPU0 region"
992 default y
993 depends on ARCH_QSD8X50 && ANDROID_PMEM
994 help
995 Enable the PMEM GPU0 device on SMI Memory.
996
997config MSM_AMSS_VERSION
998 int
999 default 6210 if MSM_AMSS_VERSION_6210
1000 default 6220 if MSM_AMSS_VERSION_6220
1001 default 6225 if MSM_AMSS_VERSION_6225
1002
1003choice
1004 prompt "AMSS modem firmware version"
1005
1006 default MSM_AMSS_VERSION_6225
1007
1008 config MSM_AMSS_VERSION_6210
1009 bool "6.2.10"
1010
1011 config MSM_AMSS_VERSION_6220
1012 bool "6.2.20"
1013
1014 config MSM_AMSS_VERSION_6225
1015 bool "6.2.20 + New ADSP"
1016endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -08001017
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001018config MSM_HAS_DEBUG_UART_HS
Daniel Walkerbf83de42010-03-16 16:29:44 -07001019 bool
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001020 help
1021 Say Y here if high speed MSM UART is present.
1022
1023config MSM_HAS_DEBUG_UART_HS_V14
1024 bool
1025 select MSM_HAS_DEBUG_UART_HS
1026 help
1027 Say Y here if high speed MSM UART v1.4 is present.
1028
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301029config MSM_DEBUG_UART_PHYS
1030 hex
1031 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
1032 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
1033 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
1034 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
1035 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
1036 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
1037 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
1038 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
1039
Brian Swetland9e73c842007-11-26 04:12:13 -08001040choice
1041 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001042 depends on DEBUG_LL
Brian Swetland9e73c842007-11-26 04:12:13 -08001043
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001044 config DEBUG_MSM_UART1
1045 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301046 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
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 first serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001050
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001051 config DEBUG_MSM_UART2
1052 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301053 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001054 help
1055 Say Y here if you want the debug print routines to direct
1056 their output to the second serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001057
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001058 config DEBUG_MSM_UART3
1059 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301060 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001061 help
1062 Say Y here if you want the debug print routines to direct
1063 their output to the third serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001064
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001065 config DEBUG_MSM8660_UART
1066 bool "Kernel low-level debugging messages via MSM 8660 UART"
1067 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001068 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001069 help
1070 Say Y here if you want the debug print routines to direct
1071 their output to the serial port on MSM 8660 devices.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001072
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001073 config DEBUG_MSM8960_UART
1074 bool "Kernel low-level debugging messages via MSM 8960 UART"
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001075 depends on ARCH_MSM8960 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001076 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001077 help
1078 Say Y here if you want the debug print routines to direct
1079 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001080
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001081 config DEBUG_MSM8930_UART
1082 bool "Kernel low-level debugging messages via MSM 8930 UART"
1083 depends on ARCH_MSM8930 && DEBUG_LL
1084 select MSM_HAS_DEBUG_UART_HS
1085 help
1086 Say Y here if you want the debug print routines to direct
1087 their output to the serial port on MSM 8930 devices.
1088
1089 config DEBUG_APQ8064_UART
1090 bool "Kernel low-level debugging messages via APQ 8064 UART"
1091 depends on ARCH_APQ8064 && DEBUG_LL
1092 select MSM_HAS_DEBUG_UART_HS
1093 help
1094 Say Y here if you want the debug print routines to direct
1095 their output to the serial port on APQ 8064 devices.
1096
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001097 config DEBUG_MSM8974_UART
1098 bool "Kernel low-level debugging messages via MSM 8974 UART"
1099 depends on ARCH_MSM8974
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001100 select MSM_HAS_DEBUG_UART_HS_V14
1101 help
1102 Say Y here if you want the debug print routines to direct
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001103 their output to the serial port on MSM 8974 devices.
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +05301104
1105 config DEBUG_MPQ8092_UART
1106 bool "Kernel low-level debugging messages via MPQ8092 UART"
1107 depends on ARCH_MPQ8092
1108 select MSM_HAS_DEBUG_UART_HS_V14
1109 help
1110 Say Y here if you want the debug print routines to direct
1111 their output to the serial port on MPQ8092 devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001112endchoice
Brian Swetland9e73c842007-11-26 04:12:13 -08001113
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001114choice
1115 prompt "Default Timer"
1116 default MSM7X00A_USE_GP_TIMER
1117
1118 config MSM7X00A_USE_GP_TIMER
1119 bool "GP Timer"
1120 help
1121 Low resolution timer that allows power collapse from idle.
1122
1123 config MSM7X00A_USE_DG_TIMER
1124 bool "DG Timer"
1125 help
1126 High resolution timer.
1127endchoice
1128
1129choice
1130 prompt "Suspend sleep mode"
1131 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1132 help
1133 Allows overriding the sleep mode used. Leave at power
1134 collapse suspend unless the arm9 image has problems.
1135
1136 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1137 bool "Power collapse suspend"
1138 help
1139 Lowest sleep state. Returns through reset vector.
1140
1141 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1142 bool "Power collapse"
1143 help
1144 Sleep state that returns through reset vector.
1145
1146 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1147 bool "Apps Sleep"
1148
1149 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1150 bool "Ramp down cpu clock and wait for interrupt"
1151
1152 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1153 bool "Wait for interrupt"
1154endchoice
1155
1156config MSM7X00A_SLEEP_MODE
1157 int
1158 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1159 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1160 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1161 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1162 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1163
1164choice
1165 prompt "Idle sleep mode"
1166 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1167 help
1168 Allows overriding the sleep mode used from idle. Leave at power
1169 collapse suspend unless the arm9 image has problems.
1170
1171 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1172 bool "Power collapse suspend"
1173 help
1174 Lowest sleep state. Returns through reset vector.
1175
1176 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1177 bool "Power collapse"
1178 help
1179 Sleep state that returns through reset vector.
1180
1181 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1182 bool "Apps Sleep"
1183
1184 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1185 bool "Ramp down cpu clock and wait for interrupt"
1186
1187 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1188 bool "Wait for interrupt"
1189endchoice
1190
1191config MSM7X00A_IDLE_SLEEP_MODE
1192 int
1193 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1194 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1195 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1196 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1197 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1198
1199config MSM7X00A_IDLE_SLEEP_MIN_TIME
1200 int "Minimum idle time before sleep"
1201 default 20000000
1202 help
1203 Minimum idle time in nanoseconds before entering low power mode.
1204
1205config MSM7X00A_IDLE_SPIN_TIME
1206 int "Idle spin time before cpu ramp down"
1207 default 80000
1208 help
1209 Spin time in nanoseconds before ramping down cpu clock and entering
1210 any low power state.
1211
1212menuconfig MSM_IDLE_STATS
1213 bool "Collect idle statistics"
1214 default y
1215 help
1216 Collect idle statistics and export them in proc/msm_pm_stats.
1217
1218if MSM_IDLE_STATS
1219
1220config MSM_IDLE_STATS_FIRST_BUCKET
1221 int "First bucket time"
1222 default 62500
1223 help
1224 Upper time limit in nanoseconds of first bucket.
1225
1226config MSM_IDLE_STATS_BUCKET_SHIFT
1227 int "Bucket shift"
1228 default 2
1229
1230config MSM_IDLE_STATS_BUCKET_COUNT
1231 int "Bucket count"
1232 default 10
1233
1234config MSM_SUSPEND_STATS_FIRST_BUCKET
1235 int "First bucket time for suspend"
1236 default 1000000000
1237 help
1238 Upper time limit in nanoseconds of first bucket of the
1239 histogram. This is for collecting statistics on suspend.
1240
1241endif # MSM_IDLE_STATS
1242
1243config CPU_HAS_L2_PMU
1244 bool "L2CC PMU Support"
1245 help
1246 Select this if the L2 cache controller has a Performance Monitoring Unit.
1247
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001248config HTC_HEADSET
1249 tristate "HTC 2 Wire detection driver"
1250 default n
1251 help
1252 Provides support for detecting HTC 2 wire devices, such as wired
1253 headset, on the trout platform. Can be used with the msm serial
1254 debugger, but not with serial console.
1255
1256config TROUT_BATTCHG
1257 depends on MACH_TROUT && POWER_SUPPLY
1258 default y
1259 bool "Trout battery / charger driver"
1260
1261config HTC_PWRSINK
1262 depends on MSM_SMD
1263 default n
1264 bool "HTC Power Sink Driver"
1265
1266config QSD_SVS
1267 bool "QSD Static Voltage Scaling"
1268 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1269 default y
1270 select TPS65023
1271 help
1272 Enables static voltage scaling using the TPS65023 PMIC.
1273
1274config QSD_PMIC_DEFAULT_DCDC1
1275 int "PMIC default output voltage"
1276 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1277 default 1250
1278 help
1279 This is the PMIC voltage at Linux kernel boot.
1280
1281config MSM_FIQ_SUPPORT
1282 default y
1283 bool "Enable installation of an FIQ handler."
1284
1285config MSM_SERIAL_DEBUGGER
1286 select MSM_FIQ_SUPPORT
1287 select KERNEL_DEBUGGER_CORE
1288 default n
1289 bool "FIQ Mode Serial Debugger"
1290 help
1291 The FIQ serial debugger can accept commands even when the
1292 kernel is unresponsive due to being stuck with interrupts
1293 disabled. Depends on the kernel debugger core in drivers/misc.
1294
1295config MSM_SERIAL_DEBUGGER_CONSOLE
1296 depends on MSM_SERIAL_DEBUGGER
1297 default n
1298 bool "Console on FIQ Serial Debugger port"
1299 help
1300 Enables a console so that printk messages are displayed on
1301 the debugger serial port as the occur.
Brian Swetland9e73c842007-11-26 04:12:13 -08001302
Gregory Beanab78cde2010-09-01 16:26:12 -07001303config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001304 default y
1305 bool "Proc-Comm RPC Interface"
1306 help
1307 Enables a lightweight communications interface to the
1308 baseband processor.
Gregory Beanab78cde2010-09-01 16:26:12 -07001309
Gregory Bean1963a2a2010-08-28 10:05:44 -07001310config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001311 bool "MSM Shared Memory Driver (SMD)"
1312 help
1313 Support for the shared memory interface between the apps
1314 processor and the baseband processor. Provides access to
1315 the "shared heap", as well as virtual serial channels
1316 used to communicate with various services on the baseband
1317 processor.
1318
1319choice
1320 prompt "MSM Shared memory interface version"
1321 depends on MSM_SMD
1322 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1323 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1324
1325 config MSM_SMD_PKG3
1326 bool
1327 prompt "Package 3"
1328
1329 config MSM_SMD_PKG4
1330 bool
1331 prompt "Package 4"
1332endchoice
1333
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001334config MSM_PCIE
1335 bool "MSM PCIe Controller driver"
1336 depends on PCI && PCI_MSI
1337 help
1338 Enables the PCIe functionality by configures PCIe core on
1339 MSM chipset and by enabling the ARM PCI framework extension.
1340
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001341config MSM_RPC_SDIO_XPRT
1342 depends on MSM_SDIO_AL
1343 default y
1344 bool "MSM SDIO XPRT Layer"
1345 help
1346 SDIO Transport Layer for RPC Rouer
1347
1348config MSM_RPC_SDIO_DEBUG
1349 depends on MSM_RPC_SDIO_XPRT
1350 default y
1351 bool "MSM SDIO XPRT debug support"
1352 help
1353 Support for debugging SDIO XPRT
1354
1355config MSM_SMD_DEBUG
1356 depends on MSM_SMD
1357 default y
1358 bool "MSM SMD debug support"
1359 help
1360 Support for debugging the SMD for communication
1361 between the ARM9 and ARM11
1362
1363config MSM_SDIO_AL
1364 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1365 default y
1366 tristate "SDIO-Abstraction-Layer"
1367 help
1368 Support MSM<->MDM Communication over SDIO bus.
1369 MDM SDIO-Client should have pipes support.
1370
1371config MSM_SDIO_DMUX
1372 bool "SDIO Data Mux Driver"
1373 depends on MSM_SDIO_AL
1374 default n
1375 help
1376 Support Muxed Data Channels over SDIO interface.
1377
1378config MSM_BAM_DMUX
1379 bool "BAM Data Mux Driver"
1380 depends on SPS
1381 default n
1382 help
1383 Support Muxed Data Channels over BAM interface.
1384 BAM has a limited number of pipes. This driver
1385 provides a means to support more logical channels
1386 via muxing than BAM could without muxing.
1387
1388config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001389 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001390 default y
1391 bool "MSM N-WAY SMD support"
1392 help
1393 Supports APPS-QDSP SMD communication along with
1394 normal APPS-MODEM SMD communication.
1395
1396config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001397 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001398 default y
1399 bool "MSM N-WAY SMSM support"
1400 help
1401 Supports APPS-QDSP SMSM communication along with
1402 normal APPS-MODEM SMSM communication.
1403
1404config MSM_RESET_MODEM
1405 tristate "Reset Modem Driver"
1406 depends on MSM_SMD
1407 default m
1408 help
1409 Allows the user to reset the modem through a device node.
1410
1411config MSM_SMD_LOGGING
1412 depends on MSM_SMD
1413 default y
1414 bool "MSM Shared Memory Logger"
1415 help
1416 This option exposes the shared memory logger at /dev/smem_log
1417 and a debugfs node named smem_log.
1418
1419 If in doubt, say yes.
1420
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001421config MSM_IPC_LOGGING
1422 bool "MSM Debug Logging for IPC Drivers"
1423 help
1424 This option allows the debug logging for IPC Drivers.
1425
1426 If in doubt, say no.
1427
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001428config MSM_SMD_NMEA
1429 bool "NMEA GPS Driver"
1430 depends on MSM_SMD
1431 default y
1432 help
1433 Enable this to support the NMEA GPS device.
1434
1435 If in doubt, say yes.
1436
1437config MSM_SDIO_TTY
1438 bool "SDIO TTY Driver"
1439 depends on MSM_SDIO_AL
1440 default n
1441 help
1442 Provides a TTY driver SDIO TTY
1443 This driver can be used by user space
1444 applications for passing data through the
1445 SDIO interface.
1446
1447config MSM_SMD_TTY
1448 bool "SMD TTY Driver"
1449 depends on MSM_SMD
1450 default y
1451 help
1452 Provides TTY interfaces to interact with the modem.
1453
1454 If in doubt, say yes.
1455
1456config MSM_SMD_QMI
1457 bool "SMD QMI Driver"
1458 depends on MSM_SMD
1459 default y
1460 help
1461 Manages network data connections.
1462
1463 If in doubt, say yes.
1464
1465config MSM_SMD_PKT
1466 bool "SMD Packet Driver"
1467 depends on MSM_SMD
1468 default y
1469 help
1470 Provides a binary SMD non-muxed packet port interface.
1471
1472 If in doubt, say yes.
1473
1474config MSM_SDIO_CMUX
1475 bool "SDIO CMUX Driver"
1476 depends on MSM_SDIO_AL
1477 default n
1478 help
1479 Provides a Muxed port interface over SDIO QMI
1480
1481config MSM_DSPS
1482 bool "Sensors DSPS driver"
1483 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1484 default n
1485 help
1486 Provides user-space interface to the sensors manager
1487 to turn on/off the Sensors Processor system clocks.
1488 It is the DSPS responsibility to turn on/off the sensors
1489 themself.
1490 The number of clocks and their name may vary between targets.
1491 It also triggers the PIL to load the DSPS firmware.
1492
1493config MSM_SDIO_CTL
1494 bool "SDIO CTL Driver"
1495 depends on MSM_SDIO_CMUX
1496 default n
1497 help
1498 Provides a binary SDIO control port interface.
1499
1500config MSM_ONCRPCROUTER
1501 depends on MSM_SMD
1502 default n
1503 bool "MSM ONCRPC router support"
1504 help
1505 Support for the MSM ONCRPC router for communication between
1506 the ARM9 and ARM11
1507
1508config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001509 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001510 default n
1511 bool "MSM IPC Router support"
1512 help
1513 Support for the MSM IPC Router for communication between
1514 the APPs and the MODEM
1515
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001516config MSM_IPC_ROUTER_SMD_XPRT
1517 depends on MSM_SMD
1518 depends on MSM_IPC_ROUTER
1519 default n
1520 bool "MSM SMD XPRT Layer"
1521 help
1522 SMD Transport Layer for IPC Router
1523
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001524config MSM_ONCRPCROUTER_DEBUG
1525 depends on MSM_ONCRPCROUTER
1526 default y
1527 bool "MSM debug ONCRPC router support"
1528 help
1529 Support for debugging the ONCRPC router for communication
1530 between the ARM9 and ARM11
1531
1532config MSM_RPC_LOOPBACK_XPRT
1533 depends on MSM_ONCRPCROUTER
1534 default n
1535 bool "MSM RPC local routing support"
1536 help
1537 Support for routing RPC messages between APPS clients
1538 and APPS servers. Helps in testing APPS RPC framework.
1539
1540config MSM_RPCSERVER_TIME_REMOTE
1541 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1542 default y
1543 bool "Time remote RPC server"
1544 help
1545 The time remote server receives notification of time bases and
1546 reports these events to registered callback functions.
1547
1548config MSM_RPCSERVER_WATCHDOG
1549 depends on MSM_ONCRPCROUTER
1550 default y
1551 bool "Watchdog RPC server"
1552 help
1553 The dog_keepalive server handles watchdog events.
1554
1555config MSM_RPC_WATCHDOG
1556 depends on MSM_ONCRPCROUTER
1557 default n
1558 bool "Watchdog RPC client"
1559 help
1560 The dog_keepalive client module.
1561
1562config MSM_RPC_PING
1563 depends on MSM_ONCRPCROUTER && DEBUG_FS
1564 default m
1565 bool "MSM rpc ping"
1566 help
1567 Implements MSM rpc ping test module.
1568
1569config MSM_RPC_PROC_COMM_TEST
1570 depends on DEBUG_FS && MSM_PROC_COMM
1571 default m
1572 bool "MSM rpc proc comm test"
1573 help
1574 Implements MSM rpc proc comm test module.
1575
1576config MSM_RPC_OEM_RAPI
1577 depends on MSM_ONCRPCROUTER
1578 default m
1579 bool "MSM oem rapi"
1580 help
1581 Implements MSM oem rapi client module.
1582
1583config MSM_RPCSERVER_HANDSET
1584 depends on MSM_ONCRPCROUTER
1585 default y
1586 bool "Handset events RPC server"
1587 help
1588 Support for receiving handset events like headset detect,
1589 headset switch and clamshell state.
1590
1591config MSM_RMT_STORAGE_CLIENT
1592 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1593 default n
1594 bool "Remote Storage RPC client"
1595 help
1596 Provide RPC mechanism for remote processors to access storage
1597 device on apps processor.
1598
1599config MSM_RMT_STORAGE_CLIENT_STATS
1600 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1601 default n
1602 bool "Remote storage RPC client performance statistics"
1603 help
1604 Collects performance statistics and shows this information
1605 through a debugfs file rmt_storage_stats.
1606
1607config MSM_SDIO_SMEM
1608 depends on MSM_SDIO_AL
1609 default n
1610 bool "SDIO SMEM for remote storage"
1611 help
1612 Copies data from remote MDM9K memory to local MSM8x60
1613 memory. Used by remote storage client to shadow
1614 MDM9K filesystem.
1615
1616config MSM_DALRPC
1617 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001618 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001619 help
1620 Supports RPC calls to DAL devices on remote processor cores.
1621
1622config MSM_DALRPC_TEST
1623 tristate "DAL RPC test module"
1624 depends on (MSM_DALRPC && DEBUG_FS)
1625 default m
1626 help
1627 Exercises DAL RPC calls to QDSP6.
1628
1629if CPU_FREQ_MSM
1630
1631config MSM_CPU_FREQ_SET_MIN_MAX
1632 bool "Set Min/Max CPU frequencies."
1633 default n
1634 help
1635 Allow setting min and max CPU frequencies. Sysfs can be used
1636 to override these values.
1637
1638config MSM_CPU_FREQ_MAX
1639 int "Max CPU Frequency"
1640 depends on MSM_CPU_FREQ_SET_MIN_MAX
1641 default 384000
1642
1643config MSM_CPU_FREQ_MIN
1644 int "Min CPU Frequency"
1645 depends on MSM_CPU_FREQ_SET_MIN_MAX
1646 default 245760
1647
1648endif # CPU_FREQ_MSM
1649
1650config MSM_CPU_AVS
1651 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1652 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1653 depends on ARCH_QSD8X50
1654 default n
1655 select MSM_AVS_HW
1656 help
1657 This enables the s/w control of Adaptive Voltage Scaling feature
1658 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1659 based on feedback from three ring oscillators in the CPU.
1660
1661config MSM_AVS_HW
1662 bool "Enable Adaptive Voltage Scaling (AVS)"
1663 default n
1664 help
1665 Enable AVS hardware to fine tune voltage at each frequency. The
1666 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1667 fine tune the voltages based on the feedback from the ring
1668 oscillators.
1669
1670config MSM_HW3D
1671 tristate "MSM Hardware 3D Register Driver"
1672 depends on ANDROID_PMEM
1673 default y
1674 help
1675 Provides access to registers needed by the userspace OpenGL|ES
1676 library.
1677
1678config MSM_ADSP
1679 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1680 tristate "MSM ADSP driver"
1681 depends on ANDROID_PMEM
1682 default y
1683 help
1684 Provides access to registers needed by the userspace aDSP library.
1685
1686config ADSP_RPC_VER
1687 hex
1688 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1689 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1690 depends on MSM_ADSP
1691 help
1692 Select proper ADSP RPC version
1693choice
1694 prompt "ADSP RPC version"
1695
1696 default AMSS_7X25_VERSION_2009
1697
1698 config AMSS_7X25_VERSION_2009
1699 bool "2.0.09"
1700
1701 config AMSS_7X25_VERSION_2008
1702 bool "2.0.08"
1703endchoice
1704
1705config MSM7KV2_AUDIO
1706 bool "MSM7K v2 audio"
1707 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1708 default y
1709 help
1710 Enables QDSP5V2-based audio drivers for audio playbacks and
1711 voice call.
1712
1713config MSM_ADSP_REPORT_EVENTS
1714 bool "Report modem events from the DSP"
1715 default y
1716 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1717 help
1718 Normally, only messages from the aDSP are reported to userspace.
1719 With this option, we report events from the aDSP as well.
1720
1721config MSM_QDSP6
1722 tristate "QDSP6 support"
1723 depends on ARCH_QSD8X50 && ANDROID_PMEM
1724 default y
1725 help
1726 Enable support for qdsp6. This provides audio and video functionality.
1727
1728config MSM8X60_AUDIO
1729 tristate "MSM8X60 audio support"
1730 depends on ARCH_MSM8X60 && ANDROID_PMEM
1731 default y
1732 help
1733 Enable support for qdsp6v2. This provides audio functionality.
1734
1735config MSM8X60_FTM_AUDIO_DEVICES
1736 bool "MSM8X60 audio factory test mode support"
1737 depends on MSM8X60_AUDIO
1738 help
1739 Enable support audio factory test mode devices. This is used
1740 in a production line environment.
1741
Ben Romberger45b351c2011-07-20 22:37:27 -07001742config RTAC
1743 bool "MSM8K real-time audio calibration support"
1744 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001745 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001746 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001747 audio operation
1748
1749config MSM7X27A_AUDIO
1750 bool "MSM7X27A audio support"
1751 depends on ARCH_MSM7X27A && MSM_ADSP
1752 default n
1753 help
1754 Enable support for 7x27a. This provides audio functionality.
1755
Justin Pauporea6cd2092011-06-22 16:19:45 -07001756config MSM_PROC_COMM_REGULATOR
Gregory Bean1963a2a2010-08-28 10:05:44 -07001757 bool
Justin Pauporea6cd2092011-06-22 16:19:45 -07001758 depends on MSM_PROC_COMM && REGULATOR
1759 help
1760 Enable regulator framework support for regulators managed by PMLIB
1761 on the modem, and controlled through proccomm calls.
1762
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001763config MSM_VREG_SWITCH_INVERTED
1764 bool "Reverse vreg switch polarity"
1765 default n
1766 help
1767 Reverses the enable and disable for vreg switch.
1768
1769config MSM_DMA_TEST
1770 tristate "MSM DMA test module"
1771 default m
1772 help
1773 Intended to be compiled as a module. Provides a device node
1774 and ioctls for testing the MSM dma system.
1775
1776config WIFI_CONTROL_FUNC
1777 bool "Enable WiFi control function abstraction"
1778 help
1779 Enables Power/Reset/Carddetect function abstraction
1780
1781config WIFI_MEM_PREALLOC
1782 depends on WIFI_CONTROL_FUNC
1783 bool "Preallocate memory for WiFi buffers"
1784 help
1785 Preallocates memory buffers for WiFi driver
1786
1787config QSD_AUDIO
1788 bool "QSD audio"
1789 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1790 default y
1791 help
1792 Provides PCM, MP3, and AAC audio playback.
1793
1794config AUDIO_AAC_PLUS
1795 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1796 bool "AAC+ Audio"
1797 default y
1798 help
1799 Provides AAC+ decoding
1800
1801config AUDIO_ENHANCED_AAC_PLUS
1802 depends on AUDIO_AAC_PLUS
1803 bool "Enhanced AAC+ Audio"
1804 default y
1805 help
1806 Provides Enhanced AAC+ decoding
1807
1808config SURF_FFA_GPIO_KEYPAD
1809 bool "MSM SURF/FFA GPIO keypad"
1810 depends on INPUT_GPIO = "y"
1811 default y
1812 help
1813 Select if the GPIO keypad is attached.
1814
1815config MSM_SLEEP_TIME_OVERRIDE
1816 bool "Allow overriding suspend/sleep time with PM module parameter"
1817 default y
1818 help
1819 Enable the module parameter sleep_time_override. Specified
1820 in units of seconds, it overwrites the normal sleep time of
1821 suspend. The feature is required for automated power management
1822 testing.
1823
1824config MSM_MEMORY_LOW_POWER_MODE
1825 bool "Control the low power modes of memory"
1826 default n
1827 help
1828 The application processor controls whether memory should enter
1829 which low power mode.
1830
1831choice
1832 prompt "Default Memory Low Power Mode during Idle"
1833 depends on MSM_MEMORY_LOW_POWER_MODE
1834 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1835 help
1836 Selects the default low power mode of the memory during idle
1837 sleep.
1838
1839 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1840 bool "Memory active"
1841
1842 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1843 bool "Memory in retention"
1844
1845 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1846 bool "Memory in deep power down"
1847endchoice
1848
1849choice
1850 prompt "Default Memory Low Power Mode during Suspend"
1851 depends on MSM_MEMORY_LOW_POWER_MODE
1852 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1853 help
1854 Selects the default low power mode of the memory during suspend
1855 sleep.
1856
1857 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1858 bool "Memory active"
1859
1860 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1861 bool "Memory in retention"
1862
1863 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1864 bool "Memory in deep power down"
1865endchoice
1866
1867choice
1868 prompt "Power management timeout action"
1869 default MSM_PM_TIMEOUT_HALT
1870 help
1871 Selects the Application Processor's action when Power Management
1872 times out waiting for Modem's handshake.
1873
1874 config MSM_PM_TIMEOUT_HALT
1875 bool "Halt the Application Processor"
1876
1877 config MSM_PM_TIMEOUT_RESET_MODEM
1878 bool "Reset the Modem Processor"
1879
1880 config MSM_PM_TIMEOUT_RESET_CHIP
1881 bool "Reset the entire chip"
1882endchoice
1883
1884config MSM_IDLE_WAIT_ON_MODEM
1885 int "Wait for Modem to become ready for idle power collapse"
1886 default 0
1887 help
1888 If Modem is not ready to handle Application Processor's request
1889 for idle power collapse, wait the number of microseconds in case
1890 Modem becomes ready soon.
1891
Matt Wagantall9274df92011-12-15 11:11:05 -08001892config MSM_RPM_REGULATOR
1893 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001894 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001895 help
1896 Compile in support for the RPM regulator driver, used for setting
1897 voltages and other parameters of the various power rails supplied
1898 by some Qualcomm PMICs.
1899
David Collinsc7642322012-04-04 10:19:12 -07001900config MSM_RPM_REGULATOR_SMD
1901 bool "SMD RPM regulator driver"
1902 depends on REGULATOR
1903 depends on OF
1904 depends on MSM_RPM_SMD
1905 help
1906 Compile in support for the SMD RPM regulator driver which is used for
1907 setting voltages and other parameters of the various power rails
1908 supplied by some Qualcomm PMICs. The SMD RPM regulator driver should
1909 be used on systems which contain an RPM which communicates with the
1910 application processor over SMD.
1911
Stephen Boyd01710582012-07-09 13:40:05 -07001912config MSM_SUBSYSTEM_RESTART
1913 bool "MSM Subsystem Restart"
1914 help
1915 This option enables the MSM subsystem restart framework.
1916
1917 The MSM subsystem restart framework provides support to boot,
1918 shutdown, and restart subsystems with a reference counted API.
1919 It also notifies userspace of transitions between these states via
1920 sysfs.
1921
1922config MSM_SYSMON_COMM
1923 bool "MSM System Monitor communication support"
1924 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1925 help
1926 This option adds support for MSM System Monitor library, which
1927 provides an API that may be used for notifying subsystems within
1928 the SoC about other subsystems' power-up/down state-changes.
1929
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001930config MSM_PIL
1931 bool "Peripheral image loading"
1932 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001933 default n
1934 help
1935 Some peripherals need to be loaded into memory before they can be
1936 brought out of reset.
1937
1938 Say yes to support these devices.
1939
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001940config MSM_PIL_MODEM
1941 tristate "Modem (ARM11) Boot Support"
Stephen Boyd3ac20732012-05-03 18:46:08 -07001942 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001943 help
1944 Support for booting and shutting down ARM11 Modem processors.
1945
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001946config MSM_PIL_QDSP6V3
1947 tristate "QDSP6v3 (Hexagon) Boot Support"
Stephen Boyd2e19d932012-05-09 17:36:04 -07001948 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001949 help
1950 Support for booting and shutting down QDSP6v3 processors (hexagon).
1951 The QDSP6 is a low power DSP used in audio software applications.
1952
Stephen Boydbdb53f32012-06-05 18:39:47 -07001953config MSM_PIL_LPASS_QDSP6V4
1954 tristate "LPASS QDSP6v4 (Hexagon) Boot Support"
Stephen Boyda1cf76b2012-06-13 12:05:35 -07001955 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydeb819882011-08-29 14:46:30 -07001956 help
Stephen Boydbdb53f32012-06-05 18:39:47 -07001957 Support for booting and shutting down QDSP6v4 processors (hexagon)
1958 in low power audio subsystems. If you would like to record or
1959 play audio then say Y here.
1960
1961 If unsure, say N.
1962
1963config MSM_PIL_MODEM_QDSP6V4
1964 tristate "Modem QDSP6v4 (Hexagon) Boot Support"
Stephen Boyd2efa9962012-06-12 14:20:12 -07001965 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydbdb53f32012-06-05 18:39:47 -07001966 help
1967 Support for booting and shutting down QDSP6v4 processors (hexagon)
1968 in modem subsystems. If you would like to make or receive phone
1969 calls then say Y here.
1970
1971 If unsure, say N.
Stephen Boydeb819882011-08-29 14:46:30 -07001972
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001973config MSM_PIL_LPASS_QDSP6V5
Stephen Boyd633eb622012-06-13 12:05:35 -07001974 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
1975 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
1976 help
1977 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1978 in low power audio subsystems. This driver also monitors the ADSP
1979 SMSM status bits and the ADSP's watchdog interrupt and restarts the
1980 ADSP if the processor encounters a fatal error.
Matt Wagantall4e2599e2012-03-21 22:31:35 -07001981
1982config MSM_PIL_MSS_QDSP6V5
1983 tristate "MSS QDSP6v5 (Hexagon) Boot Support"
1984 depends on MSM_PIL
1985 help
1986 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1987 in modem subsystems.
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001988
Matt Wagantalle6e00d52012-03-08 17:39:07 -08001989config MSM_PIL_MBA
1990 tristate "Support for modem self-authentication"
Stephen Boydf91f8862012-06-12 14:20:12 -07001991 depends on MSM_PIL_MSS_QDSP6V5 && MSM_SUBSYSTEM_RESTART
Matt Wagantalle6e00d52012-03-08 17:39:07 -08001992 help
1993 Support for booting self-authenticating modems using the Modem Boot
1994 Authenticator.
Stephen Boyd322a9922011-09-20 01:05:54 -07001995
1996config MSM_PIL_RIVA
Stephen Boydd89eebe2011-09-28 23:28:11 -07001997 tristate "RIVA (WCNSS) Boot Support"
Stephen Boydfdec00d2012-05-10 17:04:49 -07001998 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001999 help
2000 Support for booting and shutting down the RIVA processor (WCNSS).
2001 Riva is the wireless subsystem processor used in bluetooth, wireless
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08002002 LAN, and FM software applications.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002003
Stephen Boydd89eebe2011-09-28 23:28:11 -07002004config MSM_PIL_TZAPPS
2005 tristate "TZApps Boot Support"
2006 depends on MSM_PIL
2007 help
2008 Support for booting and shutting down TZApps.
2009
2010 TZApps is an image that runs in the secure processor state. It is
2011 used to decrypt data and perform secure operations on the behalf of
2012 the kernel.
2013
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07002014config MSM_PIL_DSPS
2015 tristate "DSPS Boot Support"
Stephen Boydf169b4b2012-05-10 17:55:55 -07002016 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07002017 help
2018 Support for booting and shutting down ARM7 DSPS processors.
2019
2020 DSPS is a sensors offloading processor used for applications such
2021 as rotation detection, temperature, etc.
2022
Stephen Boyd7b973de2012-03-09 12:26:16 -08002023config MSM_PIL_VIDC
2024 tristate "Video Core Secure Boot Support"
2025 depends on MSM_PIL
2026 help
2027 Support for authenticating the video core image.
2028
Tianyi Gou828798d2012-05-02 21:12:38 -07002029config MSM_PIL_VENUS
2030 tristate "VENUS (Video) Boot Support"
2031 depends on MSM_PIL
2032 help
2033 Support for booting and shutting down the VENUS processor (Video).
2034 Venus is the Video subsystem processor used for video codecs.
2035
Matt Wagantall292aace2012-01-26 19:12:34 -08002036config MSM_PIL_GSS
Stephen Boydd86214b2012-05-10 15:26:35 -07002037 tristate "GSS (Cortex A5) Boot Support"
2038 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantall292aace2012-01-26 19:12:34 -08002039 help
2040 Support for booting and shutting down Cortex A5 processors which run
2041 GPS subsystem firmware.
2042
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002043config MSM_PIL_PRONTO
2044 tristate "PRONTO (WCNSS) Boot Support"
Stephen Boyd581fe852012-06-13 12:05:35 -07002045 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002046 help
2047 Support for booting and shutting down the PRONTO processor (WCNSS).
2048 PRONTO is the wireless subsystem processor used in bluetooth, wireless
2049 LAN, and FM software applications.
2050
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002051config MSM_SCM
2052 bool "Secure Channel Manager (SCM) support"
2053 default n
2054
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002055config SCORPION_Uni_45nm_BUG
2056 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
2057 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
2058 default y
2059 help
2060 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
2061 invalidating the Branch Predictor Array by Modified Virtual Address can
2062 create invalid entries in the TLB with the wrong ASID values on Scorpion
2063 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
2064 workaround for Scorpion Uniprocessor 45nm cores.
2065
2066 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
2067
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002068config MSM_BUSPM_DEV
2069 tristate "MSM Bus Performance Monitor Kernel Module"
2070 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
2071 default m
2072 help
2073 This kernel module is used to mmap() hardware registers for the
2074 performance monitors, counters, etc. The module can also be used to
2075 allocate physical memory which is used by bus performance hardware to
2076 dump performance data.
2077
Mona Hossain11c03ac2011-10-26 12:42:10 -07002078config MSM_TZ_LOG
2079 tristate "MSM Trust Zone (TZ) Log Driver"
2080 depends on DEBUG_FS
2081 help
2082 This option enables a driver with a debugfs interface for messages
2083 produced by the Secure code (Trust zone). These messages provide
2084 diagnostic information about TZ operation.
2085
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002086config MSM_RPM_LOG
2087 tristate "MSM Resource Power Manager Log Driver"
2088 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002089 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002090 default n
2091 help
2092 This option enables a driver which can read from a circular buffer
2093 of messages produced by the RPM. These messages provide diagnostic
2094 information about RPM operation. The driver outputs the messages
2095 via a debugfs node.
2096
2097config MSM_RPM_STATS_LOG
2098 tristate "MSM Resource Power Manager Stat 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 reads RPM messages from a shared
2104 memory location. These messages provide statistical information about
2105 the low power modes that RPM enters. The drivers outputs the message
2106 via a debugfs node.
2107
Girish Mahadevan898c56d2012-06-05 16:09:19 -06002108config MSM_RPM_RBCPR_STATS_LOG
2109 tristate "MSM Resource Power Manager RPBCPR Stat Driver"
2110 depends on DEBUG_FS
2111 depends on MSM_RPM
2112 help
2113 This option enables a driver which reads RPM messages from a shared
2114 memory location. These messages provide statistical information about
2115 RBCPR (Rapid Bridge Core Power Reduction) information . The drivers
2116 outputs the message via a debugfs node.
2117
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002118config MSM_DIRECT_SCLK_ACCESS
2119 bool "Direct access to the SCLK timer"
2120 default n
2121
2122config IOMMU_API
2123 bool
Gregory Bean1963a2a2010-08-28 10:05:44 -07002124
Brian Swetland9e73c842007-11-26 04:12:13 -08002125config MSM_GPIOMUX
2126 bool
2127
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002128config MSM_SECURE_IO
Brian Swetland9e73c842007-11-26 04:12:13 -08002129 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002130
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002131config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002132 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002133
Taniya Dascd1d0232012-07-03 17:50:47 +05302134config MSM_MODEM_RESTART
2135 bool
2136
Matt Wagantall88b86312012-01-31 16:53:03 -08002137config MSM_PM2
2138 depends on PM
2139 bool
2140
2141config MSM_PM8X60
2142 depends on PM
2143 bool
2144
Girish Mahadevan388c3082012-09-10 15:30:36 -06002145config MSM_EVENT_TIMER
2146 bool "Event timer"
2147 help
2148 This option enables a modules that manages a list of event timers that
2149 need to be monitored by the PM. The enables the PM code to monitor
2150 events that require the core to be awake and ready to handle the
2151 event.
2152
Matt Wagantall88b86312012-01-31 16:53:03 -08002153config MSM_NOPM
2154 default y if !PM
2155 bool
2156
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002157config MSM_BUS_SCALING
2158 bool "Bus scaling driver"
2159 default n
2160
Gagan Mac85c70492011-06-10 16:07:47 -06002161config MSM_BUS_RPM_MULTI_TIER_ENABLED
2162 bool "RPM Multi-tiering Configuration"
2163 depends on MSM_BUS_SCALING
2164
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002165config MSM_WATCHDOG
2166 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002167 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002168 help
2169 This enables the watchdog as is present on 8x60. Currently we use
2170 core 0's watchdog, and reset the entire SoC if it times out. It does
2171 not run during the bootup process, so it will not catch any early
2172 lockups.
2173
Hanumant Singhd1f01022012-07-05 14:21:53 -07002174config MSM_WATCHDOG_V2
2175 bool "MSM Watchdog Support"
2176 help
2177 This enables the watchdog module. It causes kernel panic if the
2178 watchdog times out. It allows for detection of cpu hangs and
2179 deadlocks. It does not run during the bootup process, so it will
2180 not catch any early lockups.
2181
Hanumant Singh5e2541c2012-07-31 14:41:14 -07002182config MSM_MEMORY_DUMP
2183 bool "MSM Memory Dump Support"
2184 help
2185 This enables memory dump feature. It allows various client
2186 subsystems to register respective dump regions. At the time
2187 of deadlocks or cpu hangs these dump regions are captured to
2188 give a snapshot of the system at the time of the crash.
2189
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002190config MSM_DLOAD_MODE
2191 bool "Enable download mode on crashes"
Subbaraman Narayanamurthye31f2792012-08-22 21:07:22 -07002192 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_MSM8974
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002193 default n
2194 help
2195 This makes the SoC enter download mode when it resets
2196 due to a kernel panic. Note that this doesn't by itself
2197 make the kernel reboot on a kernel panic - that must be
2198 enabled via another mechanism.
2199
Pratik Patel17f3b822011-11-21 12:41:47 -08002200config MSM_JTAG
Pratik Patel2963de42012-05-17 12:43:40 -07002201 bool "JTAG and kernel debug and trace support across power collapse"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002202 help
Pratik Patel2963de42012-05-17 12:43:40 -07002203 Enables support for kernel debugging (specifically breakpoints) and
2204 processor tracing across power collapse both for JTag and OS hosted
2205 software running on the target. Enabling this will ensure debug
2206 and ETM registers are saved and restored across power collapse.
2207
2208 For production builds, you should probably say 'N' here to avoid
2209 potential power, performance and memory penalty.
Pratik Patel7831c082011-06-08 21:44:37 -07002210
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002211config MSM_ETM
2212 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002213 depends on ARCH_MSM8X60
2214 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002215 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002216 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002217
Lynus Vazdde09ee2012-01-05 13:28:22 +05302218config MSM_SLEEP_STATS_DEVICE
2219 bool "Enable exporting of MSM sleep device stats to userspace"
2220
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302221config MSM_RUN_QUEUE_STATS
2222 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Krishna Vankae2922052012-03-02 09:59:12 +05302223 depends on (MSM_SOC_REV_A || ARCH_MSM8X60 || ARCH_MSM8960)
2224 help
2225 This option enalbes statistics collection on Run Queue. A daemon
2226 in user mode, called MPDecision will be using this data to decide
2227 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302228
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002229config MSM_STANDALONE_POWER_COLLAPSE
2230 bool "Enable standalone power collapse"
2231 default n
2232
2233config MSM_GSBI9_UART
2234 bool "Enable GSBI9 UART device"
2235 default n
2236 help
2237 This enables GSBI9 configured into UART.
2238
2239config MSM_SHARED_GPIO_FOR_UART2DM
2240 bool "Use shared GPIOs into UART mode"
2241 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2242 help
2243 This option configures GPIO muxed with SDC4/MMC3
2244 8-bit mode into UART mode. It is used for serial
2245 console on UART2DM. Say Y if you want to have
2246 serial console on UART2DM.
2247
2248config MSM_SHOW_RESUME_IRQ
2249 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002250 depends on (ARM_GIC || PMIC8058)
2251 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002252 default n
2253 help
2254 This option logs wake up interrupts that have triggered just before
2255 the resume loop unrolls. Say Y if you want to debug why the system
2256 resumed.
2257
2258config BT_MSM_PINTEST
2259 tristate "MSM Bluetooth Pin Connectivity Test"
2260 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2261 default n
2262 help
2263 Bluetooth MSM Pin Connectivity test module.
2264 This driver provides support for verifying the MSM to BT pin
2265 connectivity.
2266
2267config MSM_FAKE_BATTERY
2268 depends on POWER_SUPPLY
2269 default n
2270 bool "MSM Fake Battery"
2271 help
2272 Enables MSM fake battery driver.
2273
2274config MSM_QDSP6_APR
2275 bool "Audio QDSP6 APR support"
2276 depends on MSM_SMD
2277 default n
2278 help
2279 Enable APR IPC protocol support between
2280 application processor and QDSP6. APR is
2281 used by audio driver to configure QDSP6's
2282 ASM, ADM and AFE.
2283
Joonwoo Park91d95462012-08-02 10:55:54 -07002284config MSM_QDSP6_APRV2
2285 bool "Audio QDSP6 APRv2 support"
2286 depends on MSM_SMD
2287 default n
2288 help
2289 Enable APRv2 IPC protocol support between
2290 application processor and QDSP6. APR is
2291 used by audio driver to configure QDSP6's
2292 ASM, ADM and AFE.
2293
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -07002294config MSM_QDSP6_CODECS
2295 bool "Audio Codecs on QDSP6 APR "
2296 depends on MSM_SMD
2297 default n
2298 help
2299 Enable Audio codecs with APR IPC protocol support between
2300 application processor and QDSP6. APR is
2301 used by audio driver to configure QDSP6's
2302 ASM, ADM and AFE.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002303
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002304config MSM_QDSP6V2_CODECS
2305 bool "Audio QDSP6V2 APR support"
2306 depends on MSM_SMD
2307 help
2308 Enable Audio codecs with APR IPC protocol support between
2309 application processor and QDSP6 for B-family. APR is
2310 used by audio driver to configure QDSP6's
2311 ASM, ADM and AFE.
2312
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002313config MSM_AUDIO_QDSP6
2314 bool "QDSP6 HW Audio support"
2315 select SND_SOC_MSM_QDSP6_INTF
2316 default n
2317 help
2318 Enable HW audio support in QDSP6.
2319 QDSP6 can support HW encoder & decoder and audio processing
2320
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002321config MSM_AUDIO_QDSP6V2
2322 bool "QDSP6V2 HW Audio support"
2323 select SND_SOC_MSM_QDSP6V2_INTF
2324 help
2325 Enable HW audio support in QDSP6V2.
2326 QDSP6V2 can support HW encoder & decoder and
2327 audio processing. It will enable support for
2328 AAC, AMRNB, AMRWB, EVRC, MP3, QCELP among
2329 others.
2330
Joonwoo Park4a14a552012-08-02 11:03:21 -07002331config MSM_ADSP_LOADER
2332 tristate "ADSP loader support"
2333 select SND_SOC_MSM_APRV2_INTF
2334 depends on MSM_AUDIO_QDSP6V2 && m
2335 help
2336 Enable ADSP image loader.
2337 The ADSP loader brings ADSP out of reset
2338 for the platforms that use APRv2.
2339 Say M if you want to enable this module.
2340
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002341config MSM_ULTRASOUND
2342 bool "MSM ultrasound support"
2343 depends on MSM_AUDIO_QDSP6
2344 help
2345 Enable support for qdsp6/ultrasound.
2346
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002347config MSM_RPC_VIBRATOR
2348 bool "RPC based MSM Vibrator Support"
2349 depends on MSM_ONCRPCROUTER
2350 help
2351 Enable the vibrator support on MSM over RPC. The vibrator
2352 is connected on the PMIC. Say Y if you want to enable this
2353 feature.
2354
2355config PM8XXX_RPC_VIBRATOR
2356 bool "RPC based Vibrator on PM8xxx PMICs"
2357 depends on MSM_RPC_VIBRATOR
2358 help
2359 Enable the vibrator support on MSM over RPC. The vibrator
2360 is connected on the PM8XXX PMIC. Say Y if you want to enable
2361 this feature.
2362
2363config MSM_SPM_V1
2364 bool "Driver support for SPM Version 1"
2365 help
2366 Enables the support for Version 1 of the SPM driver. SPM hardware is
2367 used to manage the processor power during sleep. The driver allows
2368 configuring SPM to allow different power modes.
2369
2370config MSM_SPM_V2
2371 bool "Driver support for SPM Version 2"
2372 help
2373 Enables the support for Version 2 of the SPM driver. SPM hardware is
2374 used to manage the processor power during sleep. The driver allows
2375 configuring SPM to allow different power modes.
2376
2377config MSM_L2_SPM
2378 bool "SPM support for L2 cache"
2379 depends on MSM_SPM_V2
2380 help
2381 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2382 control of L2 cache low power mode with a Subsystem Power manager.
2383 Enabling this driver allows configuring L2 SPM for low power modes
2384 on supported chipsets.
2385
Laura Abbott2d1760b2011-09-29 21:31:24 -07002386config MSM_MULTIMEDIA_USE_ION
2387 bool "Multimedia suport using Ion"
2388 depends on ION_MSM
2389 help
2390 Enable support for multimedia drivers using Ion for buffer management
2391 instead of pmem. Selecting this may also involve userspace
2392 dependencies as well.
2393
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002394config MSM_OCMEM
2395 bool "MSM On-Chip memory driver (OCMEM)"
2396 help
2397 Enable support for On-Chip Memory available on certain MSM chipsets.
2398 OCMEM is a low latency, high performance pool shared by subsystems.
2399
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002400config MSM_OCMEM_LOCAL_POWER_CTRL
2401 bool "OCMEM Local Power Control"
2402 depends on MSM_OCMEM
2403 help
2404 Enable direct power management of the OCMEM core by the
2405 OCMEM driver. By default power management is delegated to
2406 the RPM. Selecting this option causes the OCMEM driver to
2407 directly handle the various macro power transitions.
2408
2409config MSM_OCMEM_DEBUG
2410 bool "OCMEM Debug Support"
2411 depends on MSM_OCMEM
2412 help
2413 Enable debug options for On-chip Memory (OCMEM) driver.
2414 Various debug options include memory, power and latency.
2415 Choosing one of these options allows debugging of each
2416 individual subsystem separately.
2417
Naveen Ramarajc71b2de2012-08-20 12:35:52 -07002418config MSM_OCMEM_NONSECURE
2419 bool "OCMEM Non Secure Mode"
2420 depends on MSM_OCMEM_DEBUG
2421 help
2422 Disable OCMEM interaction with secure processor.
2423 By default OCMEM is secured and accesses for each master
2424 is requested by the OCMEM driver. Selecting this option
2425 causes the OCMEM memory to be in non-secure state unless
2426 its locked down by the secure processor.
2427
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002428config MSM_OCMEM_POWER_DEBUG
2429 bool "OCMEM Power Debug Support"
2430 depends on MSM_OCMEM_DEBUG
2431 help
2432 Enable debug support for OCMEM power management.
2433 This adds support for verifying all power management
2434 related operations of OCMEM. Both local power management
2435 and RPM assisted power management operations are supported.
2436
Naveen Ramaraj4b1d9392012-08-06 21:05:14 -07002437config MSM_OCMEM_POWER_DISABLE
2438 bool "OCMEM Disable Power Control"
2439 depends on MSM_OCMEM_DEBUG
2440 help
2441 Disable all OCMEM power management.
2442 This keeps all OCMEM macros turned ON at all times thus
2443 never allowing them to be turned OFF. Both local power
2444 management and RPM assisted power modes are supported.
2445
Laura Abbottad340ff2012-01-04 14:23:48 -08002446config MSM_RTB
2447 bool "Register tracing"
2448 help
2449 Add support for logging different events to a small uncached
2450 region. This is designed to aid in debugging reset cases where the
2451 caches may not be flushed before the target resets.
2452
2453config MSM_RTB_SEPARATE_CPUS
2454 bool "Separate entries for each cpu"
2455 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002456 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002457 help
2458 Under some circumstances, it may be beneficial to give dedicated space
2459 for each cpu to log accesses. Selecting this option will log each cpu
2460 separately. This will guarantee that the last acesses for each cpu
2461 will be logged but there will be fewer entries per cpu
2462
Stepan Moskovchenko57884842012-06-07 17:35:49 -07002463config MSM_EBI_ERP
2464 bool "External Bus Interface (EBI) error reporting"
2465 help
2466 Say 'Y' here to enable reporting of external bus interface errors to
2467 the kernel log. Information such as the offending address and
2468 transaction type will be logged. This may be useful for debugging
2469 seemingly broken memory accesses.
2470
2471 For production builds, you should probably say 'N' here.
2472
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002473config MSM_CACHE_ERP
2474 bool "Cache / CPU error reporting"
2475 depends on ARCH_MSM_KRAIT
2476 help
2477 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2478 log. Enabling this feature can be used as a system debugging technique
2479 if cache corruption is suspected. Cache error statistics will also be
2480 reported in /proc/cpu/msm_cache_erp.
2481
2482 For production builds, you should probably say 'N' here.
2483
2484config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002485 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002486 depends on MSM_CACHE_ERP
2487 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002488 To cause the kernel to panic whenever an L1 cache error is detected, say
2489 'Y' here. This may be useful as a debugging technique if general system
2490 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002491
2492 For production builds, you should probably say 'N' here.
2493
Stepan Moskovchenko7035f652012-05-31 17:48:01 -07002494config MSM_L1_ERR_LOG
2495 bool "Log CPU ERP events to system memory"
2496 depends on MSM_CACHE_ERP
2497 help
2498 Enable logging CPU ERP events to an area of memory that will be
2499 preserved across a system reset. This may be useful for detecting and
2500 troubleshooting ERP-related system crashes in the field.
2501
2502 For production builds, you may want to say 'Y' here.
2503
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002504config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2505 bool "Report L2 master port slave/decode errors in kernel log"
2506 depends on MSM_CACHE_ERP
2507 help
2508 Master port errors can occur when a memory request is not properly
2509 handled by the destination slave. This can occur if the destination
2510 register does not exist or is inaccessible due to security
2511 restrictions or (in some cases) clock configuration. Enabling this
2512 option will cause a backtrace to be printed to the kernel log whenever
2513 such an error is encountered. Note that the error is reported as an
2514 interrupt rather than as an exception, meaning that the backtrace may
2515 have some skid. This option may help with debugging, though production
2516 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002517
2518config MSM_L2_ERP_PORT_PANIC
2519 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002520 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002521 help
2522 Master port errors can occur when a memory request is not properly
2523 handled by the destination slave. Enable this option to catch drivers
2524 which attempt to access bad areas of the address space, or access
2525 hardware registers in an improper state (such as certain clocks not
2526 being on). This option may help with debugging, though production
2527 builds should probably say 'N' here.
2528
2529config MSM_L2_ERP_1BIT_PANIC
2530 bool "Panic on recoverable L2 soft errors"
2531 depends on MSM_CACHE_ERP
2532 help
2533 Enable this option to cause a kernel panic whenever the L2 cache
2534 encounters a single-bit (correctable) soft error. This option should
2535 only be enabled when doing low-level debugging where cache corruption
2536 is suspected.
2537
2538 For production builds, you should definitely say 'N' here.
2539
2540config MSM_L2_ERP_2BIT_PANIC
2541 bool "Panic on unrecoverable 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 double-bit (non-correctable) soft error. Debug builds
2546 will likely benefit from having this option enabled to catch cache
2547 problems as soon as possible.
2548
2549 For production builds, it may be acceptable to say 'N' here, since
2550 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002551
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002552config MSM_DCVS
2553 bool "Use MSM DCVS for CPU/GPU Frequency control"
2554 depends on MSM_SCM
2555 help
2556 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2557 The DCVS manager allows idle driver to feed the idle information to the
2558 algorithm and the algorithm returns a frequency for the core which is
2559 passed to the frequency change driver.
2560
Pankaj Kumar32ce1ea2012-04-04 20:29:29 +05302561config MSM_CPR
2562 tristate "Use MSM CPR in S/W mode"
2563 help
2564 Enable CPR (core power reduction) in S/W mode, where the processor
2565 get's the notification from CPR block and programs the PMIC.
2566
2567config MSM_VP_REGULATOR
2568 tristate "Use MSM PMIC8029 C2 regulator"
2569 depends on ARCH_MSM8625
2570 help
2571 Enable MSM PMIC8029 C2 regulator support using APC_PLEVEL access
2572 for MSMs like 8625.
2573
Taniya Dasc43e6872012-03-21 16:41:14 +05302574config HAVE_ARCH_HAS_CURRENT_TIMER
2575 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002576
2577config MSM_CACHE_DUMP
2578 bool "Cache dumping support"
2579 help
2580 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2581 This allows for analysis of the caches in case cache corruption is
2582 suspected.
2583
Laura Abbott7b637362012-03-29 16:43:49 -07002584config MSM_CACHE_DUMP_ON_PANIC
2585 bool "Dump caches on panic"
2586 depends on MSM_CACHE_DUMP
2587 help
2588 By default, the caches are flushed on panic. This means that trying to
2589 look at them in a RAM dump will give useless data. Select this if you
2590 want to dump the L1 and L2 caches on panic before any flush occurs.
2591 If unsure, say N
2592
Jack Phamccbbfab2012-04-09 19:50:20 -07002593config MSM_HSIC_SYSMON
2594 tristate "MSM HSIC system monitor driver"
2595 depends on USB
2596 help
2597 Add support for bridging with the system monitor interface of MDM
2598 over HSIC. This driver allows the local system monitor to
2599 communicate with the remote system monitor interface.
2600
2601config MSM_HSIC_SYSMON_TEST
2602 tristate "MSM HSIC system monitor bridge test"
2603 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2604 help
2605 Enable the test hook for the Qualcomm system monitor HSIC driver.
2606 This will create a debugfs file entry named "hsic_sysmon_test" which
2607 can be read and written to send character data to the sysmon port of
2608 the modem over USB.
2609
Anirudh Ghayal0d2291a2012-09-20 21:31:41 +05302610config MSM_RPC_PMIC
2611 tristate "MSM RPC PMIC driver"
2612 depends on MSM_ONCRPCROUTER
2613 help
2614 This driver supports the PMIC functionality over RPC for those MSM's
2615 which do not have a direct access to PMIC. It supports ability to
2616 configure MPP, GPIO and all the other supported peripherals of the
2617 PMIC.
2618
Anirudh Ghayald3a63732012-09-20 22:13:13 +05302619config MSM_RPC_USB
2620 tristate "MSM RPC USB driver"
2621 depends on MSM_ONCRPCROUTER
2622 help
2623 This driver supports the USB configuration support over the RPC
2624 interface. It support the HS USB module connected to the MSM
2625 and FS USB which is connected over the PMIC. This support is
2626 required for MSMs on which the APPS does not have a direct access
2627 to the PMIC.
2628
2629config MSM_RPC_PMAPP
2630 tristate "MSM RPC PMIC APP driver"
2631 depends on MSM_ONCRPCROUTER
2632 help
2633 This driver supports the configuration of various PMIC APP modules
2634 such as display backlight, vreg pin-ctrl, smps clock over the RPC
2635 interface. This support is required for MSMs on which the APPS
2636 does not have a direct access to the PMIC.
Pushkar Joshi0fc73462012-09-26 17:59:31 -07002637
2638config MSM_ENABLE_WDOG_DEBUG_CONTROL
2639 bool "MSM Watchdog driver to disable debug Image"
2640 help
2641 This driver supports the configuration of the GCC_WDOG_DEBUG register
2642 used to control debug image.
2643 This support is currently required for MSM8974 to disable debug image
2644 on PS HOLD reset
Taniya Dasea4263f92012-08-22 18:52:51 +05302645
2646config MSM_FIQ
2647 bool "Enable FIQ for debugging"
2648 depends on ARCH_MSM8625
2649 select FIQ
Taniya Das36e4aa12012-07-04 18:27:16 +05302650 select GIC_SECURE
Taniya Dasea4263f92012-08-22 18:52:51 +05302651 help
2652 Enable any line to be used as an FIQ. This will help debugging
2653 if apps is not responding and holding lock with irqs disabled.
2654 Modem will then generate an raise a FIQ on this line before sending
2655 SMSM reset.
Brian Swetland9e73c842007-11-26 04:12:13 -08002656endif