blob: 5198b8d61133dd50284c9a4be814c682e53106a7 [file] [log] [blame]
Brian Swetland1637de02008-09-09 07:13:33 -07001if ARCH_MSM
Brian Swetland9e73c842007-11-26 04:12:13 -08002
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -07003menu "MSM SoC Type"
Daniel Walkerbf83de42010-03-16 16:29:44 -07004
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07005config ARCH_MSM7X01A
Daniel Walkerbf83de42010-03-16 16:29:44 -07006 bool "MSM7x00A / MSM7x01A"
7 select ARCH_MSM_ARM11
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07008 select MSM_VIC
Daniel Walkerbf83de42010-03-16 16:29:44 -07009 select CPU_V6
David Brown74d10d72011-05-16 13:57:39 -070010 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070011 select MSM_REMOTE_SPINLOCK_SWP
12
13config ARCH_MSM7X25
14 bool "MSM7x25"
15 select ARCH_MSM_ARM11
16 select MSM_VIC
17 select CPU_V6
Steve Mucklef132c6c2012-06-06 18:30:57 -070018 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070019 select MSM_REMOTE_SPINLOCK_SWP
Taniya Dasbe561a02011-10-12 09:53:11 +053020 select MULTI_IRQ_HANDLER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070021
22config ARCH_MSM7X27
23 bool "MSM7x27"
24 select ARCH_MSM_ARM11 if MSM_SOC_REV_NONE
25 select ARCH_HAS_BARRIERS if MSM_SOC_REV_NONE
26 select ARCH_MSM_CORTEX_A5 if MSM_SOC_REV_A
27 select MSM_VIC
28 select CPU_V6 if MSM_SOC_REV_NONE
29 select CPU_V7 if MSM_SOC_REV_A
Steve Mucklef132c6c2012-06-06 18:30:57 -070030 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070031 select MSM_REMOTE_SPINLOCK_SWP if MSM_SOC_REV_NONE
32 select MSM_GPIOMUX
33 select REGULATOR
Taniya Dasbe561a02011-10-12 09:53:11 +053034 select MULTI_IRQ_HANDLER
Pankaj Kumar75c86fd2011-10-01 18:51:09 +053035 select MSM_PROC_COMM_REGULATOR
Laura Abbott1fbd2e62011-12-18 10:26:46 -080036 select CLEANCACHE
37 select QCACHE
Matt Wagantall88b86312012-01-31 16:53:03 -080038 select MSM_PM2 if PM
Krishna Vankae2922052012-03-02 09:59:12 +053039 select MSM_RUN_QUEUE_STATS if MSM_SOC_REV_A
Taniya Dasd4c39f92012-05-14 17:41:49 +053040 select DONT_MAP_HOLE_AFTER_MEMBANK0
Trilok Sonib856ab92012-06-26 14:33:28 +053041 select MIGHT_HAVE_CACHE_L2X0
Taniya Dascd1d0232012-07-03 17:50:47 +053042 select MSM_MODEM_RESTART
Daniel Walkerbf83de42010-03-16 16:29:44 -070043
Daniel Walker7b521612010-05-06 12:44:57 -070044config ARCH_MSM7X30
45 bool "MSM7x30"
46 select ARCH_MSM_SCORPION
Daniel Walker7b521612010-05-06 12:44:57 -070047 select MSM_VIC
48 select CPU_V7
David Brown74d10d72011-05-16 13:57:39 -070049 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070050 select MSM_REMOTE_SPINLOCK_DEKKERS
51 select ARCH_SPARSEMEM_ENABLE
Laura Abbott78593b52011-09-26 18:48:14 -070052 select ARCH_HAS_HOLES_MEMORYMODEL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070053 select MEMORY_HOTPLUG
54 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -080055 select ARCH_ENABLE_MEMORY_HOTPLUG
56 select ARCH_ENABLE_MEMORY_HOTREMOVE
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070057 select MIGRATION
58 select ARCH_MEMORY_PROBE
59 select ARCH_MEMORY_REMOVE
Gregory Beanab78cde2010-09-01 16:26:12 -070060 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070061 select RESERVE_FIRST_PAGE
62 select MSM_DALRPC
63 select MSM_SPM_V1
64 select REGULATOR
Justin Paupore637a25d2011-07-14 17:11:04 -070065 select MSM_PROC_COMM_REGULATOR
Taniya Dasbae99fb2011-10-12 09:55:13 +053066 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -080067 select MSM_PM2 if PM
Chintan Pandyabb021762012-06-21 15:03:29 +053068 select HOLES_IN_ZONE if SPARSEMEM
Taniya Dascd1d0232012-07-03 17:50:47 +053069 select MSM_MODEM_RESTART
Daniel Walker7b521612010-05-06 12:44:57 -070070
Daniel Walker4ad15e62010-05-06 13:54:17 -070071config ARCH_QSD8X50
72 bool "QSD8X50"
73 select ARCH_MSM_SCORPION
Daniel Walker4ad15e62010-05-06 13:54:17 -070074 select MSM_VIC
75 select CPU_V7
David Brown74d10d72011-05-16 13:57:39 -070076 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070077 select MSM_REMOTE_SPINLOCK_LDREX
78 select CPU_USE_DOMAINS
79 select EMULATE_DOMAIN_MANAGER_V7
Gregory Beanab78cde2010-09-01 16:26:12 -070080 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070081 select MSM_DALRPC
Matt Wagantall88b86312012-01-31 16:53:03 -080082 select MSM_PM2 if PM
Taniya Dascd1d0232012-07-03 17:50:47 +053083 select MSM_MODEM_RESTART
Daniel Walker46fe5f22010-08-18 11:00:25 -070084
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070085config ARCH_MSM8X60
86 bool "MSM8X60"
Jeff Ohlsteine14411d2010-11-30 13:06:36 -080087 select ARCH_MSM_SCORPIONMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070088 select SMP_PARALLEL_START if SMP
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070089 select ARM_GIC
90 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070091 select MSM_REMOTE_SPINLOCK_LDREX
92 select ARCH_REQUIRE_GPIOLIB
93 select MSM_ADM3
94 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -080095 select MSM_RPM_REGULATOR
David Brown1a5ab4b2011-05-16 15:53:38 -070096 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070097 select MSM_PIL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070098 select ARCH_HAS_CPU_IDLE_WAIT
99 select MSM_DIRECT_SCLK_ACCESS
100 select MSM_RPM
101 select MSM_XO
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700102 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700103 select MSM_BUS_SCALING
104 select MSM_SECURE_IO
105 select MSM_DALRPC
106 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700107 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700108 select MSM_NATIVE_RESTART
109 select ARCH_INLINE_SPIN_TRYLOCK
110 select ARCH_INLINE_SPIN_TRYLOCK_BH
111 select ARCH_INLINE_SPIN_LOCK
112 select ARCH_INLINE_SPIN_LOCK_BH
113 select ARCH_INLINE_SPIN_LOCK_IRQ
114 select ARCH_INLINE_SPIN_LOCK_IRQSAVE
115 select ARCH_INLINE_SPIN_UNLOCK
116 select ARCH_INLINE_SPIN_UNLOCK_BH
117 select ARCH_INLINE_SPIN_UNLOCK_IRQ
118 select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
119 select ARCH_INLINE_READ_TRYLOCK
120 select ARCH_INLINE_READ_LOCK
121 select ARCH_INLINE_READ_LOCK_BH
122 select ARCH_INLINE_READ_LOCK_IRQ
123 select ARCH_INLINE_READ_LOCK_IRQSAVE
124 select ARCH_INLINE_READ_UNLOCK
125 select ARCH_INLINE_READ_UNLOCK_BH
126 select ARCH_INLINE_READ_UNLOCK_IRQ
127 select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
128 select ARCH_INLINE_WRITE_TRYLOCK
129 select ARCH_INLINE_WRITE_LOCK
130 select ARCH_INLINE_WRITE_LOCK_BH
131 select ARCH_INLINE_WRITE_LOCK_IRQ
132 select ARCH_INLINE_WRITE_LOCK_IRQSAVE
133 select ARCH_INLINE_WRITE_UNLOCK
134 select ARCH_INLINE_WRITE_UNLOCK_BH
135 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
136 select CPU_HAS_L2_PMU
137 select MSM_SPM_V1
Stephen Boyd2a1eb582010-08-27 10:01:23 -0700138 select MSM_SCM if SMP
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530139 select MULTI_IRQ_HANDLER
Laura Abbott46505f62011-11-02 18:06:55 -0700140 select MSM_MULTIMEDIA_USE_ION
Matt Wagantall88b86312012-01-31 16:53:03 -0800141 select MSM_PM8X60 if PM
Krishna Vankae2922052012-03-02 09:59:12 +0530142 select MSM_RUN_QUEUE_STATS
Laura Abbottb14ed962012-01-30 14:18:08 -0800143 select ARM_HAS_SG_CHAIN
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700144
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800145config ARCH_MSM8960
146 bool "MSM8960"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700147 select ARCH_MSM_KRAITMP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800148 select ARM_GIC
149 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700150 select GPIO_MSM_V2
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800151 select MSM_GPIOMUX
152 select MSM_SCM if SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700153 select MSM_DIRECT_SCLK_ACCESS
154 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -0800155 select MSM_RPM_REGULATOR
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700156 select MSM_RPM
157 select MSM_XO
158 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700159 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700160 select MSM_PIL
161 select MSM_AUDIO_QDSP6 if SND_SOC
162 select CPU_HAS_L2_PMU
163 select MSM_SPM_V2
164 select MSM_L2_SPM
165 select MSM_NATIVE_RESTART
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700166 select DONT_MAP_HOLE_AFTER_MEMBANK0
167 select MSM_REMOTE_SPINLOCK_SFPB
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700168 select ARCH_SPARSEMEM_ENABLE
169 select ARCH_HAS_HOLES_MEMORYMODEL
Larry Basseld4d82c92011-12-07 09:52:49 -0800170 select CLEANCACHE
171 select QCACHE
Laura Abbott6d61a912011-10-27 16:44:14 -0700172 select MSM_MULTIMEDIA_USE_ION
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530173 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800174 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700175 select HOLES_IN_ZONE if SPARSEMEM
Krishna Vankae2922052012-03-02 09:59:12 +0530176 select MSM_RUN_QUEUE_STATS
Laura Abbottb14ed962012-01-30 14:18:08 -0800177 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700178 select MSM_KRAIT_WFE_FIXUP
Rajeev Kulkarni543aa132012-12-10 14:06:54 -0800179 select MSM_IOMMU_GPU_SYNC
Jay Chokshi434f1af2012-12-06 20:48:23 -0800180 select MSM_CPU_PWRCTL
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800181
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700182config ARCH_MSM8930
183 bool "MSM8930"
184 select ARCH_MSM_KRAITMP
185 select ARM_GIC
186 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700187 select GPIO_MSM_V2
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700188 select MSM_GPIOMUX
189 select MSM_SCM if SMP
190 select MSM_DIRECT_SCLK_ACCESS
191 select REGULATOR
David Collins5779cea2012-01-05 15:09:21 -0800192 select MSM_RPM_REGULATOR
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700193 select MSM_RPM
194 select MSM_XO
195 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700196 select MSM_QDSP6_CODECS
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700197 select MSM_PIL
198 select MSM_AUDIO_QDSP6 if SND_SOC
199 select CPU_HAS_L2_PMU
200 select MSM_SPM_V2
201 select MSM_L2_SPM
202 select MSM_NATIVE_RESTART
203 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600204 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700205 select ARCH_SPARSEMEM_ENABLE
206 select ARCH_HAS_HOLES_MEMORYMODEL
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +0200207 select MSM_ULTRASOUND
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530208 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800209 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700210 select HOLES_IN_ZONE if SPARSEMEM
Laura Abbottb14ed962012-01-30 14:18:08 -0800211 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700212 select MSM_KRAIT_WFE_FIXUP
Rajeev Kulkarni543aa132012-12-10 14:06:54 -0800213 select MSM_IOMMU_GPU_SYNC
Jay Chokshi434f1af2012-12-06 20:48:23 -0800214 select MSM_CPU_PWRCTL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700215
216config ARCH_APQ8064
217 bool "APQ8064"
218 select ARCH_MSM_KRAITMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700219 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700220 select ARM_GIC
221 select CPU_V7
222 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700223 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600224 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800225 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800226 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700227 select MSM_QDSP6_CODECS
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800228 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530229 select MULTI_IRQ_HANDLER
Praveen Chidambaram78499012011-11-01 17:15:17 -0600230 select MSM_RPM
231 select MSM_SPM_V2
232 select MSM_L2_SPM
Matt Wagantall88b86312012-01-31 16:53:03 -0800233 select MSM_PM8X60 if PM
Neil Leeder814d3d32012-01-19 17:21:43 -0500234 select CPU_HAS_L2_PMU
Laura Abbott085dd202012-03-30 14:02:34 -0700235 select HOLES_IN_ZONE if SPARSEMEM
Larry Bassel67b921d2012-04-06 10:23:27 -0700236 select CLEANCACHE
237 select QCACHE
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -0600238 select MIGHT_HAVE_PCI
239 select ARCH_SUPPORTS_MSI
Laura Abbottb14ed962012-01-30 14:18:08 -0800240 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700241 select MSM_KRAIT_WFE_FIXUP
Rajeev Kulkarni543aa132012-12-10 14:06:54 -0800242 select MSM_IOMMU_GPU_SYNC
Jay Chokshi434f1af2012-12-06 20:48:23 -0800243 select MSM_CPU_PWRCTL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700244
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700245config ARCH_MSM8974
246 bool "MSM8974"
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700247 select ARCH_MSM_KRAITMP
Sathish Ambley4149e842012-03-23 11:53:55 -0700248 select GPIO_MSM_V3
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700249 select ARM_GIC
250 select CPU_V7
251 select MSM_SCM if SMP
252 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530253 select MULTI_IRQ_HANDLER
Olav Hauganb800c8c2012-01-30 08:50:45 -0800254 select MSM_MULTIMEDIA_USE_ION
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700255 select MSM_PIL
Praveen Chidambaramaa9d52b2012-04-02 11:09:47 -0600256 select MSM_SPM_V2
257 select MSM_L2_SPM
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600258 select MSM_PM8X60 if PM
Steve Mucklef132c6c2012-06-06 18:30:57 -0700259 select MAY_HAVE_SPARSE_IRQ
260 select SPARSE_IRQ
Mahesh Sivasubramaniancb668712012-04-04 13:03:25 -0600261 select MSM_RPM_SMD
David Collinsc7642322012-04-04 10:19:12 -0700262 select REGULATOR
Joonwoo Park91d95462012-08-02 10:55:54 -0700263 select MSM_QDSP6_APRV2
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -0700264 select MSM_QDSP6V2_CODECS
265 select MSM_AUDIO_QDSP6V2 if SND_SOC
David Collins1c91ea72012-05-03 16:17:35 -0700266 select MSM_RPM_REGULATOR_SMD
Laura Abbottb14ed962012-01-30 14:18:08 -0800267 select ARM_HAS_SG_CHAIN
Karthik Parsha404fb8f2012-07-30 19:14:05 -0700268 select MSM_RUN_QUEUE_STATS
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700269
Syed Rameez Mustafa2af59732012-08-23 17:27:24 -0700270config ARCH_MPQ8092
271 bool "MPQ8092"
272 select ARCH_MSM_KRAITMP
273 select GPIO_MSM_V3
274 select ARM_GIC
275 select MULTI_IRQ_HANDLER
276 select CPU_V7
277 select MSM_GPIOMUX
278 select MAY_HAVE_SPARSE_IRQ
279 select SPARSE_IRQ
280 select MSM_NOPM
281
282config ARCH_MSM8226
283 bool "MSM8226"
284 select ARCH_MSM_KRAITMP
285 select GPIO_MSM_V3
286 select ARM_GIC
287 select CPU_V7
288 select MSM_SCM if SMP
289 select MSM_GPIOMUX
290 select MULTI_IRQ_HANDLER
291 select MSM_MULTIMEDIA_USE_ION
292 select MSM_PIL
293 select MSM_SPM_V2
294 select MSM_L2_SPM
295 select MSM_PM8X60 if PM
296 select MAY_HAVE_SPARSE_IRQ
297 select SPARSE_IRQ
298 select MSM_RPM_SMD
299 select REGULATOR
300 select MSM_QDSP6_APRV2
301 select MSM_QDSP6V2_CODECS
302 select MSM_AUDIO_QDSP6V2 if SND_SOC
303 select MSM_RPM_REGULATOR_SMD
304 select ARM_HAS_SG_CHAIN
305
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700306config ARCH_FSM9XXX
307 bool "FSM9XXX"
308 select ARCH_MSM_SCORPION
309 select MSM_VIC
310 select CPU_V7
311 select MSM_REMOTE_SPINLOCK_LDREX
Steve Mucklef132c6c2012-06-06 18:30:57 -0700312 select GPIO_FSM9XXX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530313 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800314 select MSM_DALRPC
Daniel Walker4ad15e62010-05-06 13:54:17 -0700315
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700316config ARCH_MSM9615
317 bool "MSM9615"
318 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530319 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700320 select ARCH_MSM_CORTEX_A5
321 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700322 select GPIO_MSM_V2
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700323 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600324 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600325 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700326 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800327 select REGULATOR
328 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530329 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800330 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800331 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700332 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800333 select MSM_QDSP6_APR
334 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800335 select FIQ
Laura Abbottb14ed962012-01-30 14:18:08 -0800336 select ARM_HAS_SG_CHAIN
Matt Wagantall9274df92011-12-15 11:11:05 -0800337
Taniya Das43bcdd62011-12-02 17:33:27 +0530338config ARCH_MSM8625
339 bool "MSM8625"
340 select ARCH_MSM_CORTEX_A5
341 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700342 select GPIO_MSM_V1
Taniya Das43bcdd62011-12-02 17:33:27 +0530343 select MSM_GPIOMUX
344 select ARM_GIC
345 select ARCH_MSM_CORTEXMP
346 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530347 select ARM_TICKET_LOCKS
Krishna Vankae2922052012-03-02 09:59:12 +0530348 select MSM_RUN_QUEUE_STATS
Trilok Sonib856ab92012-06-26 14:33:28 +0530349 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya9b2fbf02012-08-30 19:39:59 +0530350 select ARM_HAS_SG_CHAIN
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700351
352config ARCH_MSM9625
353 bool "MSM9625"
354 select ARM_GIC
355 select GIC_SECURE
Abhimanyu Kapur490d20c2012-06-22 17:34:20 -0700356 select MIGHT_HAVE_CACHE_L2X0
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700357 select ARCH_MSM_CORTEX_A5
358 select SMP
359 select MSM_SMP
360 select CPU_V7
Jin Hong690e3352012-05-02 09:25:05 -0700361 select MSM_GPIOMUX
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700362 select MULTI_IRQ_HANDLER
Rohit Vaswani61cf6ef2012-07-27 13:51:48 -0700363 select GPIO_MSM_V3
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700364endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700365
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700366choice
367 prompt "MSM SoC Revision"
368 default MSM_SOC_REV_NONE
369config MSM_SOC_REV_NONE
370 bool "N/A"
371 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
372 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walkerbf83de42010-03-16 16:29:44 -0700373config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700374 bool "Rev. A"
375 select ARCH_MSM7X27A if ARCH_MSM7X27
Daniel Walkerbf83de42010-03-16 16:29:44 -0700376endchoice
377
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700378config MSM_KRAIT_TBB_ABORT_HANDLER
379 bool "Krait TBB/TBH data abort handler"
380 depends on ARCH_MSM_KRAIT
381 depends on ARM_THUMB
382 help
383 Certain early samples of the Krait processor may generate data
384 aborts for TBB / TBH instructions that fail their condition code
385 checks. Enabling this option will ignore these erroneous data aborts,
386 at the expense of a very small performance penalty.
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800387
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700388 If unsure, say N.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700389
390config ARCH_MSM_ARM11
391 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700392
Daniel Walkerbf83de42010-03-16 16:29:44 -0700393config ARCH_MSM_SCORPION
394 bool
395
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700396config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700397 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800398 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700399
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700400config MSM_SMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700401 select HAVE_SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700402 bool
403
404config ARCH_MSM_SCORPIONMP
405 select ARCH_MSM_SCORPION
406 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530407 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700408 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700409 bool
410
411config ARCH_MSM_KRAITMP
412 select ARCH_MSM_KRAIT
413 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530414 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Pateldd6b4ed2013-01-29 13:54:43 -0800415 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700416 bool
Steve Mucklef132c6c2012-06-06 18:30:57 -0700417 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700418
Taniya Das43bcdd62011-12-02 17:33:27 +0530419config ARCH_MSM_CORTEXMP
420 select MSM_SMP
421 bool
422
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700423config MSM_KRAIT_WFE_FIXUP
424 bool
425
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700426config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800427 bool
Rohit Vaswaniaf7ae272012-01-09 10:28:57 -0800428 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700429
430config ARCH_MSM7X27A
431 bool
432 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700433 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530434 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530435 select ARM_GIC
436 select ARCH_MSM_CORTEXMP
Trilok Sonib856ab92012-06-26 14:33:28 +0530437 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya9b2fbf02012-08-30 19:39:59 +0530438 select ARM_HAS_SG_CHAIN
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700439
Gregory Beanf9f3d312010-04-30 22:06:50 -0700440config MSM_VIC
441 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700442
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700443config MSM_RPM
444 bool "Resource Power Manager"
445 select MSM_MPM
446
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600447config MSM_RPM_SMD
448 depends on MSM_SMD
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600449 select MSM_MPM_OF
450 bool "RPM driver using SMD protocol"
451 help
452 RPM is the dedicated hardware engine for managing shared SoC
453 resources. This config adds driver support for using SMD as a
454 transport layer communication with RPM hardware. It also selects
455 the MSM_MPM config that programs the MPM module to monitor interrupts
456 during sleep modes.
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600457
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700458config MSM_MPM
459 bool "Modem Power Manager"
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600460 help
461 MPM is a dedicated hardware resource responsible for entering and
462 waking up from a system wide low power mode. The MPM driver tracks
463 the wakeup interrupts and configures the MPM to monitor the wakeup
464 interrupts when going to a system wide sleep mode.
465
466config MSM_MPM_OF
467 bool "Modem Power Manager"
468 depends on CONFIG_OF
469 help
470 MPM is a dedicated hardware resource responsible for entering and
471 waking up from a system wide low power mode. The MPM driver tracks
472 the wakeup interrupts and configures the MPM to monitor the wakeup
473 interrupts when going to a system wide sleep mode. This config option
474 enables the MPM driver that supports initialization from a device
475 tree
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700476
477config MSM_XO
478 bool
479
480config MSM_REMOTE_SPINLOCK_DEKKERS
481 bool
482config MSM_REMOTE_SPINLOCK_SWP
483 bool
484config MSM_REMOTE_SPINLOCK_LDREX
485 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600486config MSM_REMOTE_SPINLOCK_SFPB
487 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700488config MSM_ADM3
489 bool
490
491menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700492
493config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700494 depends on ARCH_MSM7X01A
495 depends on MSM_STACKED_MEMORY
496 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700497 bool "Halibut Board (QCT SURF7201A)"
498 help
499 Support for the Qualcomm SURF7201A eval board.
500
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700501config MACH_MSM7201A_SURF
502 depends on ARCH_MSM7X01A
503 depends on MSM_STACKED_MEMORY
504 default y
505 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700506 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700507 Support for the Qualcomm MSM7201A SURF eval board.
508
509config MACH_MSM7201A_FFA
510 depends on ARCH_MSM7X01A
511 depends on MSM_STACKED_MEMORY
512 default y
513 bool "MSM7201A FFA"
514 help
515 Support for the Qualcomm MSM7201A FFA eval board.
516
517config MACH_TROUT
518 depends on ARCH_MSM7X01A
519 depends on MSM_STACKED_MEMORY
520 default y
521 bool "Trout"
522
523config MACH_MSM7X27_SURF
524 depends on ARCH_MSM7X27
525 depends on !MSM_STACKED_MEMORY
526 default y
527 bool "MSM7x27 SURF"
528 help
529 Support for the Qualcomm MSM7x27 SURF eval board.
530
531config MACH_MSM7X27_FFA
532 depends on ARCH_MSM7X27
533 depends on !MSM_STACKED_MEMORY
534 default y
535 bool "MSM7x27 FFA"
536 help
537 Support for the Qualcomm MSM7x27 FFA eval board.
538
539config MACH_MSM7X27A_RUMI3
540 depends on ARCH_MSM7X27A
541 depends on !MSM_STACKED_MEMORY
542 default y
543 bool "MSM7x27A RUMI3"
544 help
545 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
546
547config MACH_MSM7X27A_SURF
548 depends on ARCH_MSM7X27A
549 depends on !MSM_STACKED_MEMORY
550 default y
551 bool "MSM7x27A SURF"
552 help
553 Support for the Qualcomm MSM7x27A SURF.
554
555config MACH_MSM7X27A_FFA
556 depends on ARCH_MSM7X27A
557 depends on !MSM_STACKED_MEMORY
558 default y
559 bool "MSM7x27A FFA"
560 help
561 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700562
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530563config MACH_MSM7625A_SURF
564 depends on ARCH_MSM7X27A
565 depends on !MSM_STACKED_MEMORY
566 default y
567 bool "MSM7625A SURF"
568 help
569 Support for the Qualcomm MSM7625A SURF.
570
571config MACH_MSM7625A_FFA
572 depends on ARCH_MSM7X27A
573 depends on !MSM_STACKED_MEMORY
574 default y
575 bool "MSM7625A FFA"
576 help
577 Support for the Qualcomm MSM7625A FFA.
578
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530579config MACH_MSM7627A_QRD1
580 depends on ARCH_MSM7X27A
581 depends on !MSM_STACKED_MEMORY
582 default y
583 bool "MSM7627A QRD1"
584 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530585 Support for the Qualcomm MSM7627A Reference Design.
586
587config MACH_MSM7627A_QRD3
588 depends on ARCH_MSM7X27A
589 depends on !MSM_STACKED_MEMORY
590 default y
591 bool "MSM7627A QRD3"
592 help
593 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530594
Taniya Dasc868a2e2012-01-03 10:18:47 +0530595config MACH_MSM7627A_EVB
596 depends on ARCH_MSM7X27A
597 depends on !MSM_STACKED_MEMORY
598 default y
599 bool "MSM7627A EVB"
600 help
601 Support for the Qualcomm MSM7627A Reference Design.
602
Taniya Das43bcdd62011-12-02 17:33:27 +0530603config MACH_MSM8625_RUMI3
604 depends on ARCH_MSM8625
605 depends on !MSM_STACKED_MEMORY
606 default y
607 bool "MSM8625 RUMI3"
608 help
609 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
610
Taniya Dase3027e22012-02-27 16:32:27 +0530611config MACH_MSM8625_SURF
612 depends on ARCH_MSM8625
613 depends on !MSM_STACKED_MEMORY
614 default y
615 bool "MSM8625 SURF"
616 help
617 Support for the Qualcomm MSM8625 SURF.
618
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530619config MACH_MSM8625_FFA
620 depends on ARCH_MSM8625
621 depends on !MSM_STACKED_MEMORY
622 default y
623 bool "MSM8625 FFA"
624 help
625 Support for the Qualcomm MSM8625 FFA.
626
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530627config MACH_MSM8625_EVB
628 depends on ARCH_MSM8625
629 depends on !MSM_STACKED_MEMORY
630 default y
631 bool "MSM8625 EVB"
632 help
633 Support for the Qualcomm MSM8625 Reference Design.
634
Taniya Dasbd096542012-03-15 17:43:45 +0530635config MACH_MSM8625_QRD7
636 depends on ARCH_MSM8625
637 depends on !MSM_STACKED_MEMORY
638 default y
639 bool "MSM8625 QRD7"
640 help
641 Support for the Qualcomm MSM8625 Reference Design.
642
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530643config MACH_MSM8625_EVT
644 depends on ARCH_MSM8625
645 depends on !MSM_STACKED_MEMORY
646 default y
647 bool "MSM8625 EVT"
648 help
649 Support for the Qualcomm MSM8625 Reference Design.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700650
Daniel Walker7b521612010-05-06 12:44:57 -0700651config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700652 depends on ARCH_MSM7X30
653 depends on !MSM_STACKED_MEMORY
654 default y
655 bool "MSM7x30 SURF"
656 help
657 Support for the Qualcomm MSM7x30 SURF eval board.
658
659config MACH_MSM7X30_FFA
660 depends on ARCH_MSM7X30
661 depends on !MSM_STACKED_MEMORY
662 default y
663 bool "MSM7x30 FFA"
664 help
665 Support for the Qualcomm MSM7x30 FFA eval board.
666
667config MACH_MSM7X30_FLUID
668 depends on ARCH_MSM7X30
669 depends on !MSM_STACKED_MEMORY
670 default y
671 bool "MSM7x30 FLUID"
672 help
673 Support for the Qualcomm MSM7x30 FLUID eval board.
674
675config MACH_SAPPHIRE
676 depends on ARCH_MSM7X01A
677 default n
678 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700679
Daniel Walker4ad15e62010-05-06 13:54:17 -0700680config MACH_QSD8X50_SURF
681 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700682 depends on MSM_SOC_REV_NONE
683 depends on MSM_STACKED_MEMORY
684 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700685 bool "QSD8x50 SURF"
686 help
687 Support for the Qualcomm QSD8x50 SURF eval board.
688
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700689config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700690 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700691 depends on MSM_SOC_REV_NONE
692 depends on MSM_STACKED_MEMORY
693 default y
694 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700695 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700696 Support for the Qualcomm QSD8x50 FFA eval board.
697
698config MACH_MSM7X25_SURF
699 depends on ARCH_MSM7X25
700 depends on !MSM_STACKED_MEMORY
701 default y
702 bool "MSM7x25 SURF"
703 help
704 Support for the Qualcomm MSM7x25 SURF eval board.
705
706config MACH_MSM7X25_FFA
707 depends on ARCH_MSM7X25
708 depends on !MSM_STACKED_MEMORY
709 default y
710 bool "MSM7x25 FFA"
711 help
712 Support for the Qualcomm MSM7x25 FFA eval board.
713
714config MACH_MSM8X55_SURF
715 depends on ARCH_MSM7X30
716 depends on !MSM_STACKED_MEMORY
717 default y
718 bool "MSM8X55 SURF"
719 help
720 Support for the Qualcomm MSM8x55 SURF eval board.
721
722config MACH_MSM8X55_FFA
723 depends on ARCH_MSM7X30
724 depends on !MSM_STACKED_MEMORY
725 default y
726 bool "MSM8X55 FFA"
727 help
728 Support for the Qualcomm MSM8x55 FFA eval board.
729
730config MACH_MSM8X55_SVLTE_FFA
731 depends on ARCH_MSM7X30
732 depends on !MSM_STACKED_MEMORY
733 default y
734 bool "MSM8X55 SVLTE FFA"
735 help
736 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
737
738config MACH_MSM8X55_SVLTE_SURF
739 depends on ARCH_MSM7X30
740 depends on !MSM_STACKED_MEMORY
741 default y
742 bool "MSM8X55 SVLTE SURF"
743 help
744 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700745
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700746config MACH_MSM8X60_SURF
747 depends on ARCH_MSM8X60
748 default n
749 bool "MSM8x60 SURF"
750 help
751 Support for the Qualcomm MSM8x60 SURF eval board.
752
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700753config MACH_MSM8X60_FFA
754 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700755 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700756 bool "MSM8x60 FFA"
757 help
758 Support for the Qualcomm MSM8x60 FFA eval board.
759
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700760config MACH_MSM8X60_FLUID
761 depends on ARCH_MSM8X60
762 default n
763 bool "MSM8x60 FLUID"
764 help
765 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
766 8x60 target which has a form factor that is much closer to that
767 of a phone than other targets. It also has a new display and
768 touchscreen controller.
769
770config MACH_MSM8X60_FUSION
771 depends on ARCH_MSM8X60
772 default n
773 bool "MSM8x60 FUSION"
774 help
775 Support for the Qualcomm MSM8x60 Fusion SURF device.
776
777config MACH_MSM8X60_FUSN_FFA
778 depends on ARCH_MSM8X60
779 default n
780 bool "MSM8x60 FUSN FFA"
781 help
782 Support for the Qualcomm MSM8x60 Fusion FFA device.
783
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400784config MACH_MSM8X60_DRAGON
785 depends on ARCH_MSM8X60
786 default n
787 bool "MSM8x60 DRAGON"
788 help
789 Support for the Qualcomm MSM8x60 Dragon board.
790
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700791config MACH_MSM8960_CDP
792 depends on ARCH_MSM8960
793 bool "MSM8960 CDP"
794 help
795 Support for the Qualcomm MSM8960 CDP device.
796
797config MACH_MSM8960_MTP
798 depends on ARCH_MSM8960
799 bool "MSM8960 MTP"
800 help
801 Support for the Qualcomm MSM8960 MTP device.
802
803config MACH_MSM8960_FLUID
804 depends on ARCH_MSM8960
805 bool "MSM8960 FLUID"
806 help
807 Support for the Qualcomm MSM8960 FLUID device.
808
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300809config MACH_MSM8960_LIQUID
810 depends on ARCH_MSM8960
811 bool "MSM8960 LIQUID"
812 help
813 Support for the Qualcomm MSM8960 LIQUID device.
814
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700815config MACH_MSM8930_CDP
816 depends on ARCH_MSM8930
817 bool "MSM8930 CDP"
818 help
819 Support for the Qualcomm MSM8930 CDP device.
820
821config MACH_MSM8930_MTP
822 depends on ARCH_MSM8930
823 bool "MSM8930 MTP"
824 help
825 Support for the Qualcomm MSM8930 MTP device.
826
827config MACH_MSM8930_FLUID
828 depends on ARCH_MSM8930
829 bool "MSM8930 FLUID"
830 help
831 Support for the Qualcomm MSM8930 FLUID device.
832
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800833config MACH_MSM8627_CDP
834 depends on ARCH_MSM8930
835 bool "MSM8627 CDP"
836 help
837 Support for the Qualcomm MSM8627 CDP device.
838
839config MACH_MSM8627_MTP
840 depends on ARCH_MSM8930
841 bool "MSM8627 MTP"
842 help
843 Support for the Qualcomm MSM8627 MTP device.
844
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700845config MACH_MSM9615_CDP
846 depends on ARCH_MSM9615
847 bool "MSM9615 CDP"
848 help
849 Support for the Qualcomm MSM9615 CDP device.
850
851config MACH_MSM9615_MTP
852 depends on ARCH_MSM9615
853 bool "MSM9615 MTP"
854 help
855 Support for the Qualcomm MSM9615 MTP device.
856
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700857config MSM_USE_TSIF1
858 depends on ARCH_MSM8X60
859 bool "MSM8x60 use TSIF1"
860 help
861 Selects TSIF1 core to be used rather than TSIF0.
862 The two TSIF cores share the same DM configuration
863 so they cannot be used simultaneously.
864
Joel King82b7e3f2012-01-05 10:03:27 -0800865config MACH_APQ8064_CDP
866 depends on ARCH_APQ8064
867 bool "APQ8064 CDP"
868 help
869 Support for the Qualcomm APQ8064 CDP device.
870
871config MACH_APQ8064_MTP
872 depends on ARCH_APQ8064
873 bool "APQ8064 MTP"
874 help
875 Support for the Qualcomm APQ8064 MTP device.
876
877config MACH_APQ8064_LIQUID
878 depends on ARCH_APQ8064
879 bool "APQ8064 LIQUID"
880 help
881 Support for the Qualcomm APQ8064 LIQUID device.
882
Joel King064bbf82012-04-01 13:23:39 -0700883config MACH_MPQ8064_CDP
884 depends on ARCH_APQ8064
885 bool "MPQ8064 CDP"
886 help
887 Support for the Qualcomm MPQ8064 CDP device.
888
Joel King11ca8202012-02-13 16:19:03 -0800889config MACH_MPQ8064_HRD
890 depends on ARCH_APQ8064
891 bool "MPQ8064 HRD"
892 help
893 Support for the Qualcomm MPQ8064 HRD device.
894
895config MACH_MPQ8064_DTV
896 depends on ARCH_APQ8064
897 bool "MPQ8064 DTV"
898 help
899 Support for the Qualcomm MPQ8064 DTV device.
900
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700901config MACH_FSM9XXX_SURF
902 depends on ARCH_FSM9XXX
903 depends on !MSM_STACKED_MEMORY
904 default y
905 bool "FSM9XXX SURF"
906 help
907 Support for the Qualcomm FSM9xxx femtocell
908 chipset based SURF evaluation board and
909 FFA board.
910
Devin Kimb0a55c82012-06-26 12:44:15 -0700911config MACH_MSM_DUMMY
912 bool "NONE (No device)"
913
Daniel Walker4ad15e62010-05-06 13:54:17 -0700914endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800915
Devin Kima3085422012-06-14 18:23:41 -0700916source "arch/arm/mach-msm/lge/Kconfig"
917
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700918config MSM_STACKED_MEMORY
919 bool "Stacked Memory"
920 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800921 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700922 This option is used to indicate the presence of on-die stacked
923 memory. When present this memory bank is used for a high speed
924 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800925
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700926config PHYS_OFFSET
927 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700928 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700929 default "0x80200000" if ARCH_APQ8064
930 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700931 default "0x80200000" if ARCH_MSM8930
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700932 default "0x00000000" if ARCH_MSM8974
Syed Rameez Mustafa2af59732012-08-23 17:27:24 -0700933 default "0x00000000" if ARCH_MPQ8092
934 default "0x00000000" if ARCH_MSM8226
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700935 default "0x10000000" if ARCH_FSM9XXX
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700936 default "0x20200000" if ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700937 default "0x00200000" if !MSM_STACKED_MEMORY
938 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
939 default "0x20000000" if ARCH_QSD8X50
940 default "0x40200000" if ARCH_MSM8X60
941 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800942
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700943config KERNEL_MSM_CONTIG_MEM_REGION
944 bool "Enable in-kernel contiguous memory region"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700945 default y if ARCH_MSM8X60
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700946 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700947 help
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700948 Enable the in-kernel contiguous memory allocator. Sets up a
949 region of physically contiguous memory. This memory is
950 reserved during initialization, and can be used
951 generically.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700952
953config KERNEL_PMEM_SMI_REGION
954 bool "Enable in-kernel PMEM region for SMI"
955 default y if ARCH_MSM8X60
956 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
957 help
958 Enable the in-kernel PMEM allocator to use SMI memory.
959
960config PMEM_GPU0
961 bool "Enable PMEM GPU0 region"
962 default y
963 depends on ARCH_QSD8X50 && ANDROID_PMEM
964 help
965 Enable the PMEM GPU0 device on SMI Memory.
966
967config MSM_AMSS_VERSION
968 int
969 default 6210 if MSM_AMSS_VERSION_6210
970 default 6220 if MSM_AMSS_VERSION_6220
971 default 6225 if MSM_AMSS_VERSION_6225
972
973choice
974 prompt "AMSS modem firmware version"
975
976 default MSM_AMSS_VERSION_6225
977
978 config MSM_AMSS_VERSION_6210
979 bool "6.2.10"
980
981 config MSM_AMSS_VERSION_6220
982 bool "6.2.20"
983
984 config MSM_AMSS_VERSION_6225
985 bool "6.2.20 + New ADSP"
986endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800987
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700988config MSM_HAS_DEBUG_UART_HS
Daniel Walkerbf83de42010-03-16 16:29:44 -0700989 bool
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700990 help
991 Say Y here if high speed MSM UART is present.
992
993config MSM_HAS_DEBUG_UART_HS_V14
994 bool
995 select MSM_HAS_DEBUG_UART_HS
996 help
997 Say Y here if high speed MSM UART v1.4 is present.
998
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530999config MSM_DEBUG_UART_PHYS
1000 hex
1001 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
1002 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
1003 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
1004 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
1005 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
1006 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
1007 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
1008 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
1009
Brian Swetland9e73c842007-11-26 04:12:13 -08001010choice
1011 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001012 depends on DEBUG_LL
Brian Swetland9e73c842007-11-26 04:12:13 -08001013
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001014 config DEBUG_MSM_UART1
1015 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301016 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001017 help
1018 Say Y here if you want the debug print routines to direct
1019 their output to the first serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001020
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001021 config DEBUG_MSM_UART2
1022 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301023 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001024 help
1025 Say Y here if you want the debug print routines to direct
1026 their output to the second serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001027
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001028 config DEBUG_MSM_UART3
1029 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301030 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001031 help
1032 Say Y here if you want the debug print routines to direct
1033 their output to the third serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001034
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001035 config DEBUG_MSM8660_UART
1036 bool "Kernel low-level debugging messages via MSM 8660 UART"
1037 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001038 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001039 help
1040 Say Y here if you want the debug print routines to direct
1041 their output to the serial port on MSM 8660 devices.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001042
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001043 config DEBUG_MSM8960_UART
1044 bool "Kernel low-level debugging messages via MSM 8960 UART"
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001045 depends on ARCH_MSM8960 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001046 select MSM_HAS_DEBUG_UART_HS
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 serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001050
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001051 config DEBUG_MSM8930_UART
1052 bool "Kernel low-level debugging messages via MSM 8930 UART"
1053 depends on ARCH_MSM8930 && DEBUG_LL
1054 select MSM_HAS_DEBUG_UART_HS
1055 help
1056 Say Y here if you want the debug print routines to direct
1057 their output to the serial port on MSM 8930 devices.
1058
1059 config DEBUG_APQ8064_UART
1060 bool "Kernel low-level debugging messages via APQ 8064 UART"
1061 depends on ARCH_APQ8064 && DEBUG_LL
1062 select MSM_HAS_DEBUG_UART_HS
1063 help
1064 Say Y here if you want the debug print routines to direct
1065 their output to the serial port on APQ 8064 devices.
1066
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001067 config DEBUG_MSM8974_UART
1068 bool "Kernel low-level debugging messages via MSM 8974 UART"
1069 depends on ARCH_MSM8974
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001070 select MSM_HAS_DEBUG_UART_HS_V14
1071 help
1072 Say Y here if you want the debug print routines to direct
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001073 their output to the serial port on MSM 8974 devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001074endchoice
Brian Swetland9e73c842007-11-26 04:12:13 -08001075
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001076choice
1077 prompt "Default Timer"
1078 default MSM7X00A_USE_GP_TIMER
1079
1080 config MSM7X00A_USE_GP_TIMER
1081 bool "GP Timer"
1082 help
1083 Low resolution timer that allows power collapse from idle.
1084
1085 config MSM7X00A_USE_DG_TIMER
1086 bool "DG Timer"
1087 help
1088 High resolution timer.
1089endchoice
1090
1091choice
1092 prompt "Suspend sleep mode"
1093 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1094 help
1095 Allows overriding the sleep mode used. Leave at power
1096 collapse suspend unless the arm9 image has problems.
1097
1098 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1099 bool "Power collapse suspend"
1100 help
1101 Lowest sleep state. Returns through reset vector.
1102
1103 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1104 bool "Power collapse"
1105 help
1106 Sleep state that returns through reset vector.
1107
1108 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1109 bool "Apps Sleep"
1110
1111 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1112 bool "Ramp down cpu clock and wait for interrupt"
1113
1114 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1115 bool "Wait for interrupt"
1116endchoice
1117
1118config MSM7X00A_SLEEP_MODE
1119 int
1120 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1121 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1122 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1123 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1124 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1125
1126choice
1127 prompt "Idle sleep mode"
1128 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1129 help
1130 Allows overriding the sleep mode used from idle. Leave at power
1131 collapse suspend unless the arm9 image has problems.
1132
1133 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1134 bool "Power collapse suspend"
1135 help
1136 Lowest sleep state. Returns through reset vector.
1137
1138 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1139 bool "Power collapse"
1140 help
1141 Sleep state that returns through reset vector.
1142
1143 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1144 bool "Apps Sleep"
1145
1146 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1147 bool "Ramp down cpu clock and wait for interrupt"
1148
1149 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1150 bool "Wait for interrupt"
1151endchoice
1152
1153config MSM7X00A_IDLE_SLEEP_MODE
1154 int
1155 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1156 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1157 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1158 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1159 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1160
1161config MSM7X00A_IDLE_SLEEP_MIN_TIME
1162 int "Minimum idle time before sleep"
1163 default 20000000
1164 help
1165 Minimum idle time in nanoseconds before entering low power mode.
1166
1167config MSM7X00A_IDLE_SPIN_TIME
1168 int "Idle spin time before cpu ramp down"
1169 default 80000
1170 help
1171 Spin time in nanoseconds before ramping down cpu clock and entering
1172 any low power state.
1173
1174menuconfig MSM_IDLE_STATS
1175 bool "Collect idle statistics"
1176 default y
1177 help
1178 Collect idle statistics and export them in proc/msm_pm_stats.
1179
1180if MSM_IDLE_STATS
1181
1182config MSM_IDLE_STATS_FIRST_BUCKET
1183 int "First bucket time"
1184 default 62500
1185 help
1186 Upper time limit in nanoseconds of first bucket.
1187
1188config MSM_IDLE_STATS_BUCKET_SHIFT
1189 int "Bucket shift"
1190 default 2
1191
1192config MSM_IDLE_STATS_BUCKET_COUNT
1193 int "Bucket count"
1194 default 10
1195
1196config MSM_SUSPEND_STATS_FIRST_BUCKET
1197 int "First bucket time for suspend"
1198 default 1000000000
1199 help
1200 Upper time limit in nanoseconds of first bucket of the
1201 histogram. This is for collecting statistics on suspend.
1202
1203endif # MSM_IDLE_STATS
1204
1205config CPU_HAS_L2_PMU
1206 bool "L2CC PMU Support"
1207 help
1208 Select this if the L2 cache controller has a Performance Monitoring Unit.
1209
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001210config HTC_HEADSET
1211 tristate "HTC 2 Wire detection driver"
1212 default n
1213 help
1214 Provides support for detecting HTC 2 wire devices, such as wired
1215 headset, on the trout platform. Can be used with the msm serial
1216 debugger, but not with serial console.
1217
1218config TROUT_BATTCHG
1219 depends on MACH_TROUT && POWER_SUPPLY
1220 default y
1221 bool "Trout battery / charger driver"
1222
1223config HTC_PWRSINK
1224 depends on MSM_SMD
1225 default n
1226 bool "HTC Power Sink Driver"
1227
1228config QSD_SVS
1229 bool "QSD Static Voltage Scaling"
1230 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1231 default y
1232 select TPS65023
1233 help
1234 Enables static voltage scaling using the TPS65023 PMIC.
1235
1236config QSD_PMIC_DEFAULT_DCDC1
1237 int "PMIC default output voltage"
1238 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1239 default 1250
1240 help
1241 This is the PMIC voltage at Linux kernel boot.
1242
1243config MSM_FIQ_SUPPORT
1244 default y
1245 bool "Enable installation of an FIQ handler."
1246
1247config MSM_SERIAL_DEBUGGER
1248 select MSM_FIQ_SUPPORT
1249 select KERNEL_DEBUGGER_CORE
1250 default n
1251 bool "FIQ Mode Serial Debugger"
1252 help
1253 The FIQ serial debugger can accept commands even when the
1254 kernel is unresponsive due to being stuck with interrupts
1255 disabled. Depends on the kernel debugger core in drivers/misc.
1256
1257config MSM_SERIAL_DEBUGGER_CONSOLE
1258 depends on MSM_SERIAL_DEBUGGER
1259 default n
1260 bool "Console on FIQ Serial Debugger port"
1261 help
1262 Enables a console so that printk messages are displayed on
1263 the debugger serial port as the occur.
Brian Swetland9e73c842007-11-26 04:12:13 -08001264
Gregory Beanab78cde2010-09-01 16:26:12 -07001265config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001266 default y
1267 bool "Proc-Comm RPC Interface"
1268 help
1269 Enables a lightweight communications interface to the
1270 baseband processor.
Gregory Beanab78cde2010-09-01 16:26:12 -07001271
Gregory Bean1963a2a2010-08-28 10:05:44 -07001272config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001273 bool "MSM Shared Memory Driver (SMD)"
1274 help
1275 Support for the shared memory interface between the apps
1276 processor and the baseband processor. Provides access to
1277 the "shared heap", as well as virtual serial channels
1278 used to communicate with various services on the baseband
1279 processor.
1280
1281choice
1282 prompt "MSM Shared memory interface version"
1283 depends on MSM_SMD
1284 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1285 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1286
1287 config MSM_SMD_PKG3
1288 bool
1289 prompt "Package 3"
1290
1291 config MSM_SMD_PKG4
1292 bool
1293 prompt "Package 4"
1294endchoice
1295
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001296config MSM_PCIE
1297 bool "MSM PCIe Controller driver"
1298 depends on PCI && PCI_MSI
1299 help
1300 Enables the PCIe functionality by configures PCIe core on
1301 MSM chipset and by enabling the ARM PCI framework extension.
1302
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001303config MSM_RPC_SDIO_XPRT
1304 depends on MSM_SDIO_AL
1305 default y
1306 bool "MSM SDIO XPRT Layer"
1307 help
1308 SDIO Transport Layer for RPC Rouer
1309
1310config MSM_RPC_SDIO_DEBUG
1311 depends on MSM_RPC_SDIO_XPRT
1312 default y
1313 bool "MSM SDIO XPRT debug support"
1314 help
1315 Support for debugging SDIO XPRT
1316
1317config MSM_SMD_DEBUG
1318 depends on MSM_SMD
1319 default y
1320 bool "MSM SMD debug support"
1321 help
1322 Support for debugging the SMD for communication
1323 between the ARM9 and ARM11
1324
1325config MSM_SDIO_AL
1326 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1327 default y
1328 tristate "SDIO-Abstraction-Layer"
1329 help
1330 Support MSM<->MDM Communication over SDIO bus.
1331 MDM SDIO-Client should have pipes support.
1332
1333config MSM_SDIO_DMUX
1334 bool "SDIO Data Mux Driver"
1335 depends on MSM_SDIO_AL
1336 default n
1337 help
1338 Support Muxed Data Channels over SDIO interface.
1339
1340config MSM_BAM_DMUX
1341 bool "BAM Data Mux Driver"
1342 depends on SPS
1343 default n
1344 help
1345 Support Muxed Data Channels over BAM interface.
1346 BAM has a limited number of pipes. This driver
1347 provides a means to support more logical channels
1348 via muxing than BAM could without muxing.
1349
1350config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001351 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001352 default y
1353 bool "MSM N-WAY SMD support"
1354 help
1355 Supports APPS-QDSP SMD communication along with
1356 normal APPS-MODEM SMD communication.
1357
1358config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001359 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001360 default y
1361 bool "MSM N-WAY SMSM support"
1362 help
1363 Supports APPS-QDSP SMSM communication along with
1364 normal APPS-MODEM SMSM communication.
1365
1366config MSM_RESET_MODEM
1367 tristate "Reset Modem Driver"
1368 depends on MSM_SMD
1369 default m
1370 help
1371 Allows the user to reset the modem through a device node.
1372
1373config MSM_SMD_LOGGING
1374 depends on MSM_SMD
1375 default y
1376 bool "MSM Shared Memory Logger"
1377 help
1378 This option exposes the shared memory logger at /dev/smem_log
1379 and a debugfs node named smem_log.
1380
1381 If in doubt, say yes.
1382
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001383config MSM_IPC_LOGGING
1384 bool "MSM Debug Logging for IPC Drivers"
1385 help
1386 This option allows the debug logging for IPC Drivers.
1387
1388 If in doubt, say no.
1389
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001390config MSM_SMD_NMEA
1391 bool "NMEA GPS Driver"
1392 depends on MSM_SMD
1393 default y
1394 help
1395 Enable this to support the NMEA GPS device.
1396
1397 If in doubt, say yes.
1398
1399config MSM_SDIO_TTY
1400 bool "SDIO TTY Driver"
1401 depends on MSM_SDIO_AL
1402 default n
1403 help
1404 Provides a TTY driver SDIO TTY
1405 This driver can be used by user space
1406 applications for passing data through the
1407 SDIO interface.
1408
Devin Kim39bbf562012-07-12 08:20:49 -07001409config MSM_HSIC_TTY
1410 bool "HSIC TTY Driver"
1411 default n
1412 help
1413 Provides a TTY driver HSIC TTY
1414 This driver can be used by user space
1415 applications for passing data through the
1416 HSIC interface.
1417
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001418config MSM_SMD_TTY
1419 bool "SMD TTY Driver"
1420 depends on MSM_SMD
1421 default y
1422 help
1423 Provides TTY interfaces to interact with the modem.
1424
1425 If in doubt, say yes.
1426
1427config MSM_SMD_QMI
1428 bool "SMD QMI Driver"
1429 depends on MSM_SMD
1430 default y
1431 help
1432 Manages network data connections.
1433
1434 If in doubt, say yes.
1435
1436config MSM_SMD_PKT
1437 bool "SMD Packet Driver"
1438 depends on MSM_SMD
1439 default y
1440 help
1441 Provides a binary SMD non-muxed packet port interface.
1442
1443 If in doubt, say yes.
1444
1445config MSM_SDIO_CMUX
1446 bool "SDIO CMUX Driver"
1447 depends on MSM_SDIO_AL
1448 default n
1449 help
1450 Provides a Muxed port interface over SDIO QMI
1451
1452config MSM_DSPS
1453 bool "Sensors DSPS driver"
1454 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1455 default n
1456 help
1457 Provides user-space interface to the sensors manager
1458 to turn on/off the Sensors Processor system clocks.
1459 It is the DSPS responsibility to turn on/off the sensors
1460 themself.
1461 The number of clocks and their name may vary between targets.
1462 It also triggers the PIL to load the DSPS firmware.
1463
1464config MSM_SDIO_CTL
1465 bool "SDIO CTL Driver"
1466 depends on MSM_SDIO_CMUX
1467 default n
1468 help
1469 Provides a binary SDIO control port interface.
1470
1471config MSM_ONCRPCROUTER
1472 depends on MSM_SMD
1473 default n
1474 bool "MSM ONCRPC router support"
1475 help
1476 Support for the MSM ONCRPC router for communication between
1477 the ARM9 and ARM11
1478
1479config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001480 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001481 default n
1482 bool "MSM IPC Router support"
1483 help
1484 Support for the MSM IPC Router for communication between
1485 the APPs and the MODEM
1486
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001487config MSM_IPC_ROUTER_SMD_XPRT
1488 depends on MSM_SMD
1489 depends on MSM_IPC_ROUTER
1490 default n
1491 bool "MSM SMD XPRT Layer"
1492 help
1493 SMD Transport Layer for IPC Router
1494
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001495config MSM_ONCRPCROUTER_DEBUG
1496 depends on MSM_ONCRPCROUTER
1497 default y
1498 bool "MSM debug ONCRPC router support"
1499 help
1500 Support for debugging the ONCRPC router for communication
1501 between the ARM9 and ARM11
1502
1503config MSM_RPC_LOOPBACK_XPRT
1504 depends on MSM_ONCRPCROUTER
1505 default n
1506 bool "MSM RPC local routing support"
1507 help
1508 Support for routing RPC messages between APPS clients
1509 and APPS servers. Helps in testing APPS RPC framework.
1510
1511config MSM_RPCSERVER_TIME_REMOTE
1512 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1513 default y
1514 bool "Time remote RPC server"
1515 help
1516 The time remote server receives notification of time bases and
1517 reports these events to registered callback functions.
1518
1519config MSM_RPCSERVER_WATCHDOG
1520 depends on MSM_ONCRPCROUTER
1521 default y
1522 bool "Watchdog RPC server"
1523 help
1524 The dog_keepalive server handles watchdog events.
1525
1526config MSM_RPC_WATCHDOG
1527 depends on MSM_ONCRPCROUTER
1528 default n
1529 bool "Watchdog RPC client"
1530 help
1531 The dog_keepalive client module.
1532
1533config MSM_RPC_PING
1534 depends on MSM_ONCRPCROUTER && DEBUG_FS
1535 default m
1536 bool "MSM rpc ping"
1537 help
1538 Implements MSM rpc ping test module.
1539
1540config MSM_RPC_PROC_COMM_TEST
1541 depends on DEBUG_FS && MSM_PROC_COMM
1542 default m
1543 bool "MSM rpc proc comm test"
1544 help
1545 Implements MSM rpc proc comm test module.
1546
1547config MSM_RPC_OEM_RAPI
1548 depends on MSM_ONCRPCROUTER
1549 default m
1550 bool "MSM oem rapi"
1551 help
1552 Implements MSM oem rapi client module.
1553
1554config MSM_RPCSERVER_HANDSET
1555 depends on MSM_ONCRPCROUTER
1556 default y
1557 bool "Handset events RPC server"
1558 help
1559 Support for receiving handset events like headset detect,
1560 headset switch and clamshell state.
1561
1562config MSM_RMT_STORAGE_CLIENT
1563 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1564 default n
1565 bool "Remote Storage RPC client"
1566 help
1567 Provide RPC mechanism for remote processors to access storage
1568 device on apps processor.
1569
1570config MSM_RMT_STORAGE_CLIENT_STATS
1571 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1572 default n
1573 bool "Remote storage RPC client performance statistics"
1574 help
1575 Collects performance statistics and shows this information
1576 through a debugfs file rmt_storage_stats.
1577
1578config MSM_SDIO_SMEM
1579 depends on MSM_SDIO_AL
1580 default n
1581 bool "SDIO SMEM for remote storage"
1582 help
1583 Copies data from remote MDM9K memory to local MSM8x60
1584 memory. Used by remote storage client to shadow
1585 MDM9K filesystem.
1586
1587config MSM_DALRPC
1588 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001589 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001590 help
1591 Supports RPC calls to DAL devices on remote processor cores.
1592
1593config MSM_DALRPC_TEST
1594 tristate "DAL RPC test module"
1595 depends on (MSM_DALRPC && DEBUG_FS)
1596 default m
1597 help
1598 Exercises DAL RPC calls to QDSP6.
1599
1600if CPU_FREQ_MSM
1601
1602config MSM_CPU_FREQ_SET_MIN_MAX
1603 bool "Set Min/Max CPU frequencies."
1604 default n
1605 help
1606 Allow setting min and max CPU frequencies. Sysfs can be used
1607 to override these values.
1608
1609config MSM_CPU_FREQ_MAX
1610 int "Max CPU Frequency"
1611 depends on MSM_CPU_FREQ_SET_MIN_MAX
1612 default 384000
1613
1614config MSM_CPU_FREQ_MIN
1615 int "Min CPU Frequency"
1616 depends on MSM_CPU_FREQ_SET_MIN_MAX
1617 default 245760
1618
1619endif # CPU_FREQ_MSM
1620
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001621config MSM_AVS_HW
1622 bool "Enable Adaptive Voltage Scaling (AVS)"
1623 default n
1624 help
1625 Enable AVS hardware to fine tune voltage at each frequency. The
1626 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1627 fine tune the voltages based on the feedback from the ring
1628 oscillators.
1629
1630config MSM_HW3D
1631 tristate "MSM Hardware 3D Register Driver"
1632 depends on ANDROID_PMEM
1633 default y
1634 help
1635 Provides access to registers needed by the userspace OpenGL|ES
1636 library.
1637
1638config MSM_ADSP
1639 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1640 tristate "MSM ADSP driver"
1641 depends on ANDROID_PMEM
1642 default y
1643 help
1644 Provides access to registers needed by the userspace aDSP library.
1645
1646config ADSP_RPC_VER
1647 hex
1648 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1649 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1650 depends on MSM_ADSP
1651 help
1652 Select proper ADSP RPC version
1653choice
1654 prompt "ADSP RPC version"
1655
1656 default AMSS_7X25_VERSION_2009
1657
1658 config AMSS_7X25_VERSION_2009
1659 bool "2.0.09"
1660
1661 config AMSS_7X25_VERSION_2008
1662 bool "2.0.08"
1663endchoice
1664
1665config MSM7KV2_AUDIO
1666 bool "MSM7K v2 audio"
1667 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1668 default y
1669 help
1670 Enables QDSP5V2-based audio drivers for audio playbacks and
1671 voice call.
1672
1673config MSM_ADSP_REPORT_EVENTS
1674 bool "Report modem events from the DSP"
1675 default y
1676 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1677 help
1678 Normally, only messages from the aDSP are reported to userspace.
1679 With this option, we report events from the aDSP as well.
1680
1681config MSM_QDSP6
1682 tristate "QDSP6 support"
1683 depends on ARCH_QSD8X50 && ANDROID_PMEM
1684 default y
1685 help
1686 Enable support for qdsp6. This provides audio and video functionality.
1687
1688config MSM8X60_AUDIO
1689 tristate "MSM8X60 audio support"
1690 depends on ARCH_MSM8X60 && ANDROID_PMEM
1691 default y
1692 help
1693 Enable support for qdsp6v2. This provides audio functionality.
1694
1695config MSM8X60_FTM_AUDIO_DEVICES
1696 bool "MSM8X60 audio factory test mode support"
1697 depends on MSM8X60_AUDIO
1698 help
1699 Enable support audio factory test mode devices. This is used
1700 in a production line environment.
1701
Ben Romberger45b351c2011-07-20 22:37:27 -07001702config RTAC
1703 bool "MSM8K real-time audio calibration support"
1704 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001705 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001706 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001707 audio operation
1708
1709config MSM7X27A_AUDIO
1710 bool "MSM7X27A audio support"
1711 depends on ARCH_MSM7X27A && MSM_ADSP
1712 default n
1713 help
1714 Enable support for 7x27a. This provides audio functionality.
1715
Justin Pauporea6cd2092011-06-22 16:19:45 -07001716config MSM_PROC_COMM_REGULATOR
Gregory Bean1963a2a2010-08-28 10:05:44 -07001717 bool
Justin Pauporea6cd2092011-06-22 16:19:45 -07001718 depends on MSM_PROC_COMM && REGULATOR
1719 help
1720 Enable regulator framework support for regulators managed by PMLIB
1721 on the modem, and controlled through proccomm calls.
1722
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001723config MSM_VREG_SWITCH_INVERTED
1724 bool "Reverse vreg switch polarity"
1725 default n
1726 help
1727 Reverses the enable and disable for vreg switch.
1728
1729config MSM_DMA_TEST
1730 tristate "MSM DMA test module"
1731 default m
1732 help
1733 Intended to be compiled as a module. Provides a device node
1734 and ioctls for testing the MSM dma system.
1735
1736config WIFI_CONTROL_FUNC
1737 bool "Enable WiFi control function abstraction"
1738 help
1739 Enables Power/Reset/Carddetect function abstraction
1740
1741config WIFI_MEM_PREALLOC
1742 depends on WIFI_CONTROL_FUNC
1743 bool "Preallocate memory for WiFi buffers"
1744 help
1745 Preallocates memory buffers for WiFi driver
1746
1747config QSD_AUDIO
1748 bool "QSD audio"
1749 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1750 default y
1751 help
1752 Provides PCM, MP3, and AAC audio playback.
1753
1754config AUDIO_AAC_PLUS
1755 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1756 bool "AAC+ Audio"
1757 default y
1758 help
1759 Provides AAC+ decoding
1760
1761config AUDIO_ENHANCED_AAC_PLUS
1762 depends on AUDIO_AAC_PLUS
1763 bool "Enhanced AAC+ Audio"
1764 default y
1765 help
1766 Provides Enhanced AAC+ decoding
1767
1768config SURF_FFA_GPIO_KEYPAD
1769 bool "MSM SURF/FFA GPIO keypad"
1770 depends on INPUT_GPIO = "y"
1771 default y
1772 help
1773 Select if the GPIO keypad is attached.
1774
1775config MSM_SLEEP_TIME_OVERRIDE
1776 bool "Allow overriding suspend/sleep time with PM module parameter"
1777 default y
1778 help
1779 Enable the module parameter sleep_time_override. Specified
1780 in units of seconds, it overwrites the normal sleep time of
1781 suspend. The feature is required for automated power management
1782 testing.
1783
1784config MSM_MEMORY_LOW_POWER_MODE
1785 bool "Control the low power modes of memory"
1786 default n
1787 help
1788 The application processor controls whether memory should enter
1789 which low power mode.
1790
1791choice
1792 prompt "Default Memory Low Power Mode during Idle"
1793 depends on MSM_MEMORY_LOW_POWER_MODE
1794 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1795 help
1796 Selects the default low power mode of the memory during idle
1797 sleep.
1798
1799 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1800 bool "Memory active"
1801
1802 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1803 bool "Memory in retention"
1804
1805 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1806 bool "Memory in deep power down"
1807endchoice
1808
1809choice
1810 prompt "Default Memory Low Power Mode during Suspend"
1811 depends on MSM_MEMORY_LOW_POWER_MODE
1812 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1813 help
1814 Selects the default low power mode of the memory during suspend
1815 sleep.
1816
1817 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1818 bool "Memory active"
1819
1820 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1821 bool "Memory in retention"
1822
1823 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1824 bool "Memory in deep power down"
1825endchoice
1826
1827choice
1828 prompt "Power management timeout action"
1829 default MSM_PM_TIMEOUT_HALT
1830 help
1831 Selects the Application Processor's action when Power Management
1832 times out waiting for Modem's handshake.
1833
1834 config MSM_PM_TIMEOUT_HALT
1835 bool "Halt the Application Processor"
1836
1837 config MSM_PM_TIMEOUT_RESET_MODEM
1838 bool "Reset the Modem Processor"
1839
1840 config MSM_PM_TIMEOUT_RESET_CHIP
1841 bool "Reset the entire chip"
1842endchoice
1843
1844config MSM_IDLE_WAIT_ON_MODEM
1845 int "Wait for Modem to become ready for idle power collapse"
1846 default 0
1847 help
1848 If Modem is not ready to handle Application Processor's request
1849 for idle power collapse, wait the number of microseconds in case
1850 Modem becomes ready soon.
1851
Matt Wagantall9274df92011-12-15 11:11:05 -08001852config MSM_RPM_REGULATOR
1853 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001854 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001855 help
1856 Compile in support for the RPM regulator driver, used for setting
1857 voltages and other parameters of the various power rails supplied
1858 by some Qualcomm PMICs.
1859
David Collinsc7642322012-04-04 10:19:12 -07001860config MSM_RPM_REGULATOR_SMD
1861 bool "SMD RPM regulator driver"
1862 depends on REGULATOR
1863 depends on OF
1864 depends on MSM_RPM_SMD
1865 help
1866 Compile in support for the SMD RPM regulator driver which is used for
1867 setting voltages and other parameters of the various power rails
1868 supplied by some Qualcomm PMICs. The SMD RPM regulator driver should
1869 be used on systems which contain an RPM which communicates with the
1870 application processor over SMD.
1871
Stephen Boyd705ff472012-07-09 13:40:05 -07001872config MSM_SUBSYSTEM_RESTART
1873 bool "MSM Subsystem Restart"
1874 help
1875 This option enables the MSM subsystem restart framework.
1876
1877 The MSM subsystem restart framework provides support to boot,
1878 shutdown, and restart subsystems with a reference counted API.
1879 It also notifies userspace of transitions between these states via
1880 sysfs.
1881
1882config MSM_SYSMON_COMM
1883 bool "MSM System Monitor communication support"
1884 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1885 help
1886 This option adds support for MSM System Monitor library, which
1887 provides an API that may be used for notifying subsystems within
1888 the SoC about other subsystems' power-up/down state-changes.
1889
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001890config MSM_PIL
1891 bool "Peripheral image loading"
1892 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001893 default n
1894 help
1895 Some peripherals need to be loaded into memory before they can be
1896 brought out of reset.
1897
1898 Say yes to support these devices.
1899
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001900config MSM_PIL_MODEM
1901 tristate "Modem (ARM11) Boot Support"
1902 depends on MSM_PIL
1903 help
1904 Support for booting and shutting down ARM11 Modem processors.
1905
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001906config MSM_PIL_QDSP6V3
1907 tristate "QDSP6v3 (Hexagon) Boot Support"
1908 depends on MSM_PIL
1909 help
1910 Support for booting and shutting down QDSP6v3 processors (hexagon).
1911 The QDSP6 is a low power DSP used in audio software applications.
1912
Stephen Boydeb819882011-08-29 14:46:30 -07001913config MSM_PIL_QDSP6V4
1914 tristate "QDSP6v4 (Hexagon) Boot Support"
1915 depends on MSM_PIL
1916 help
1917 Support for booting and shutting down QDSP6v4 processors (hexagon).
1918 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1919 software applications.
1920
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001921config MSM_PIL_LPASS_QDSP6V5
1922 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
1923 depends on MSM_PIL
1924 help
Matt Wagantall4e2599e2012-03-21 22:31:35 -07001925 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1926 in low power audio subsystems.
1927
1928config MSM_PIL_MSS_QDSP6V5
1929 tristate "MSS QDSP6v5 (Hexagon) Boot Support"
1930 depends on MSM_PIL
1931 help
1932 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1933 in modem subsystems.
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001934
Matt Wagantalle6e00d52012-03-08 17:39:07 -08001935config MSM_PIL_MBA
1936 tristate "Support for modem self-authentication"
1937 depends on MSM_PIL_MSS_QDSP6V5
1938 help
1939 Support for booting self-authenticating modems using the Modem Boot
1940 Authenticator.
Stephen Boyd322a9922011-09-20 01:05:54 -07001941
1942config MSM_PIL_RIVA
Stephen Boydd89eebe2011-09-28 23:28:11 -07001943 tristate "RIVA (WCNSS) Boot Support"
1944 depends on MSM_PIL
1945 help
1946 Support for booting and shutting down the RIVA processor (WCNSS).
1947 Riva is the wireless subsystem processor used in bluetooth, wireless
1948 LAN, and FM software applications.
1949
1950config MSM_PIL_TZAPPS
1951 tristate "TZApps Boot Support"
1952 depends on MSM_PIL
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07001953 help
1954 Support for booting and shutting down TZApps.
1955
1956 TZApps is an image that runs in the secure processor state. It is
1957 used to decrypt data and perform secure operations on the behalf of
1958 the kernel.
1959
1960config MSM_PIL_DSPS
1961 tristate "DSPS Boot Support"
Stephen Boyd7b973de2012-03-09 12:26:16 -08001962 depends on MSM_PIL
1963 help
1964 Support for booting and shutting down ARM7 DSPS processors.
1965
1966 DSPS is a sensors offloading processor used for applications such
1967 as rotation detection, temperature, etc.
Matt Wagantall292aace2012-01-26 19:12:34 -08001968
1969config MSM_PIL_VIDC
1970 tristate "Video Core Secure Boot Support"
1971 depends on MSM_PIL
1972 help
1973 Support for authenticating the video core image.
1974
Tianyi Gou828798d2012-05-02 21:12:38 -07001975config MSM_PIL_VENUS
1976 tristate "VENUS (Video) Boot Support"
1977 depends on MSM_PIL
1978 help
1979 Support for booting and shutting down the VENUS processor (Video).
1980 Venus is the Video subsystem processor used for video codecs.
1981
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001982config MSM_PIL_GSS
1983 tristate "GSS (Coretx A5) Boot Support"
1984 depends on MSM_PIL
1985 help
1986 Support for booting and shutting down Cortex A5 processors which run
1987 GPS subsystem firmware.
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001988
Tianyi Gouc1e049f82011-11-23 14:20:16 -08001989config MSM_PIL_PRONTO
1990 tristate "PRONTO (WCNSS) Boot Support"
1991 depends on MSM_PIL
1992 help
1993 Support for booting and shutting down the PRONTO processor (WCNSS).
1994 PRONTO is the wireless subsystem processor used in bluetooth, wireless
1995 LAN, and FM software applications.
1996
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001997config MSM_SCM
1998 bool "Secure Channel Manager (SCM) support"
1999 default n
2000
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002001config MSM_MODEM_8960
2002 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08002003 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002004 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08002005 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002006 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08002007 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002008
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07002009config MSM_LPASS_8960
2010 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08002011 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07002012 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08002013 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07002014 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08002015 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07002016
Ankur Nandwanie258cf02011-08-19 10:16:38 -07002017config MSM_WCNSS_SSR_8960
2018 tristate "MSM 8960 WCNSS restart module"
Jeff Johnsondf929982012-11-02 17:35:26 -07002019 depends on ARCH_MSM8960
2020 depends on WCNSS_CORE
Ankur Nandwanie258cf02011-08-19 10:16:38 -07002021 help
2022 This option enables the WCNSS restart module for MSM8960, which
2023 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
2024 into the subsystem restart framework.
2025
Rohit Vaswanid0fb4182012-03-19 18:07:59 -07002026config MSM_GSS_SSR_8064
2027 bool "MSM 8064 GSS restart driver"
2028 depends on (ARCH_APQ8064)
2029 help
2030 This option enables the gps subsystem restart driver for APQ8064, which monitors
2031 gss hardware watchdog interrupt lines and plugs into the subsystem
2032 restart and PIL drivers.
2033
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002034config SCORPION_Uni_45nm_BUG
2035 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
2036 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
2037 default y
2038 help
2039 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
2040 invalidating the Branch Predictor Array by Modified Virtual Address can
2041 create invalid entries in the TLB with the wrong ASID values on Scorpion
2042 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
2043 workaround for Scorpion Uniprocessor 45nm cores.
2044
2045 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
2046
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002047config MSM_BUSPM_DEV
2048 tristate "MSM Bus Performance Monitor Kernel Module"
2049 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
2050 default m
2051 help
2052 This kernel module is used to mmap() hardware registers for the
2053 performance monitors, counters, etc. The module can also be used to
2054 allocate physical memory which is used by bus performance hardware to
2055 dump performance data.
2056
Mona Hossain11c03ac2011-10-26 12:42:10 -07002057config MSM_TZ_LOG
2058 tristate "MSM Trust Zone (TZ) Log Driver"
2059 depends on DEBUG_FS
2060 help
2061 This option enables a driver with a debugfs interface for messages
2062 produced by the Secure code (Trust zone). These messages provide
2063 diagnostic information about TZ operation.
2064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002065config MSM_RPM_LOG
2066 tristate "MSM Resource Power Manager Log Driver"
2067 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002068 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002069 default n
2070 help
2071 This option enables a driver which can read from a circular buffer
2072 of messages produced by the RPM. These messages provide diagnostic
2073 information about RPM operation. The driver outputs the messages
2074 via a debugfs node.
2075
2076config MSM_RPM_STATS_LOG
2077 tristate "MSM Resource Power Manager Stat Driver"
2078 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002079 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002080 default n
2081 help
2082 This option enables a driver which reads RPM messages from a shared
2083 memory location. These messages provide statistical information about
2084 the low power modes that RPM enters. The drivers outputs the message
2085 via a debugfs node.
2086
Girish Mahadevan898c56d2012-06-05 16:09:19 -06002087config MSM_RPM_RBCPR_STATS_LOG
2088 tristate "MSM Resource Power Manager RPBCPR Stat Driver"
2089 depends on DEBUG_FS
2090 depends on MSM_RPM
2091 help
2092 This option enables a driver which reads RPM messages from a shared
2093 memory location. These messages provide statistical information about
2094 RBCPR (Rapid Bridge Core Power Reduction) information . The drivers
2095 outputs the message via a debugfs node.
2096
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002097config MSM_DIRECT_SCLK_ACCESS
2098 bool "Direct access to the SCLK timer"
2099 default n
2100
2101config IOMMU_API
2102 bool
Gregory Bean1963a2a2010-08-28 10:05:44 -07002103
Brian Swetland9e73c842007-11-26 04:12:13 -08002104config MSM_GPIOMUX
2105 bool
2106
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002107config MSM_SECURE_IO
Brian Swetland9e73c842007-11-26 04:12:13 -08002108 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002109
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002110config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002111 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002112
Taniya Dascd1d0232012-07-03 17:50:47 +05302113config MSM_MODEM_RESTART
2114 bool
2115
Matt Wagantall88b86312012-01-31 16:53:03 -08002116config MSM_PM2
2117 depends on PM
2118 bool
2119
2120config MSM_PM8X60
2121 depends on PM
2122 bool
2123
Girish Mahadevan3cdb8602012-09-10 15:30:36 -06002124config MSM_EVENT_TIMER
2125 bool "Event timer"
2126 help
2127 This option enables a modules that manages a list of event timers that
2128 need to be monitored by the PM. The enables the PM code to monitor
2129 events that require the core to be awake and ready to handle the
2130 event.
2131
Matt Wagantall88b86312012-01-31 16:53:03 -08002132config MSM_NOPM
2133 default y if !PM
2134 bool
2135
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002136config MSM_BUS_SCALING
2137 bool "Bus scaling driver"
2138 default n
2139
Gagan Mac85c70492011-06-10 16:07:47 -06002140config MSM_BUS_RPM_MULTI_TIER_ENABLED
2141 bool "RPM Multi-tiering Configuration"
2142 depends on MSM_BUS_SCALING
2143
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002144config MSM_WATCHDOG
2145 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002146 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002147 help
2148 This enables the watchdog as is present on 8x60. Currently we use
2149 core 0's watchdog, and reset the entire SoC if it times out. It does
2150 not run during the bootup process, so it will not catch any early
2151 lockups.
2152
Hanumant Singhd1f01022012-07-05 14:21:53 -07002153config MSM_WATCHDOG_V2
2154 bool "MSM Watchdog Support"
2155 help
2156 This enables the watchdog module. It causes kernel panic if the
2157 watchdog times out. It allows for detection of cpu hangs and
2158 deadlocks. It does not run during the bootup process, so it will
2159 not catch any early lockups.
2160
Hanumant Singh5e2541c2012-07-31 14:41:14 -07002161config MSM_MEMORY_DUMP
2162 bool "MSM Memory Dump Support"
2163 help
2164 This enables memory dump feature. It allows various client
2165 subsystems to register respective dump regions. At the time
2166 of deadlocks or cpu hangs these dump regions are captured to
2167 give a snapshot of the system at the time of the crash.
2168
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002169config MSM_DLOAD_MODE
2170 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07002171 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002172 default n
2173 help
2174 This makes the SoC enter download mode when it resets
2175 due to a kernel panic. Note that this doesn't by itself
2176 make the kernel reboot on a kernel panic - that must be
2177 enabled via another mechanism.
2178
Pratik Patel17f3b822011-11-21 12:41:47 -08002179config MSM_JTAG
Pratik Patel2963de42012-05-17 12:43:40 -07002180 bool "JTAG and kernel debug and trace support across power collapse"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002181 help
Pratik Patel2963de42012-05-17 12:43:40 -07002182 Enables support for kernel debugging (specifically breakpoints) and
2183 processor tracing across power collapse both for JTag and OS hosted
2184 software running on the target. Enabling this will ensure debug
2185 and ETM registers are saved and restored across power collapse.
2186
2187 For production builds, you should probably say 'N' here to avoid
2188 potential power, performance and memory penalty.
Pratik Patel7831c082011-06-08 21:44:37 -07002189
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002190config MSM_ETM
2191 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002192 depends on ARCH_MSM8X60
Pratik Pateldd6b4ed2013-01-29 13:54:43 -08002193 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002194 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002195 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002196
Lynus Vazdde09ee2012-01-05 13:28:22 +05302197config MSM_SLEEP_STATS_DEVICE
2198 bool "Enable exporting of MSM sleep device stats to userspace"
2199
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302200config MSM_RUN_QUEUE_STATS
2201 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Krishna Vankae2922052012-03-02 09:59:12 +05302202 depends on (MSM_SOC_REV_A || ARCH_MSM8X60 || ARCH_MSM8960)
2203 help
2204 This option enalbes statistics collection on Run Queue. A daemon
2205 in user mode, called MPDecision will be using this data to decide
2206 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302207
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002208config MSM_STANDALONE_POWER_COLLAPSE
2209 bool "Enable standalone power collapse"
2210 default n
2211
2212config MSM_GSBI9_UART
2213 bool "Enable GSBI9 UART device"
2214 default n
2215 help
2216 This enables GSBI9 configured into UART.
2217
2218config MSM_SHARED_GPIO_FOR_UART2DM
2219 bool "Use shared GPIOs into UART mode"
2220 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2221 help
2222 This option configures GPIO muxed with SDC4/MMC3
2223 8-bit mode into UART mode. It is used for serial
2224 console on UART2DM. Say Y if you want to have
2225 serial console on UART2DM.
2226
2227config MSM_SHOW_RESUME_IRQ
2228 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002229 depends on (ARM_GIC || PMIC8058)
2230 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002231 default n
2232 help
2233 This option logs wake up interrupts that have triggered just before
2234 the resume loop unrolls. Say Y if you want to debug why the system
2235 resumed.
2236
2237config BT_MSM_PINTEST
2238 tristate "MSM Bluetooth Pin Connectivity Test"
2239 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2240 default n
2241 help
2242 Bluetooth MSM Pin Connectivity test module.
2243 This driver provides support for verifying the MSM to BT pin
2244 connectivity.
2245
2246config MSM_FAKE_BATTERY
2247 depends on POWER_SUPPLY
2248 default n
2249 bool "MSM Fake Battery"
2250 help
2251 Enables MSM fake battery driver.
2252
2253config MSM_QDSP6_APR
2254 bool "Audio QDSP6 APR support"
2255 depends on MSM_SMD
2256 default n
2257 help
2258 Enable APR IPC protocol support between
2259 application processor and QDSP6. APR is
2260 used by audio driver to configure QDSP6's
2261 ASM, ADM and AFE.
2262
Joonwoo Park91d95462012-08-02 10:55:54 -07002263config MSM_QDSP6_APRV2
2264 bool "Audio QDSP6 APRv2 support"
2265 depends on MSM_SMD
2266 default n
2267 help
2268 Enable APRv2 IPC protocol support between
2269 application processor and QDSP6. APR is
2270 used by audio driver to configure QDSP6's
2271 ASM, ADM and AFE.
2272
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -07002273config MSM_QDSP6_CODECS
2274 bool "Audio Codecs on QDSP6 APR "
2275 depends on MSM_SMD
2276 default n
2277 help
2278 Enable Audio codecs with APR IPC protocol support between
2279 application processor and QDSP6. APR is
2280 used by audio driver to configure QDSP6's
2281 ASM, ADM and AFE.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002282
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002283config MSM_QDSP6V2_CODECS
2284 bool "Audio QDSP6V2 APR support"
2285 depends on MSM_SMD
2286 help
2287 Enable Audio codecs with APR IPC protocol support between
2288 application processor and QDSP6 for B-family. APR is
2289 used by audio driver to configure QDSP6's
2290 ASM, ADM and AFE.
2291
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002292config MSM_AUDIO_QDSP6
2293 bool "QDSP6 HW Audio support"
2294 select SND_SOC_MSM_QDSP6_INTF
2295 default n
2296 help
2297 Enable HW audio support in QDSP6.
2298 QDSP6 can support HW encoder & decoder and audio processing
2299
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002300config MSM_AUDIO_QDSP6V2
2301 bool "QDSP6V2 HW Audio support"
2302 select SND_SOC_MSM_QDSP6V2_INTF
2303 help
2304 Enable HW audio support in QDSP6V2.
2305 QDSP6V2 can support HW encoder & decoder and
2306 audio processing. It will enable support for
2307 AAC, AMRNB, AMRWB, EVRC, MP3, QCELP among
2308 others.
2309
Joonwoo Park4a14a552012-08-02 11:03:21 -07002310config MSM_ADSP_LOADER
2311 tristate "ADSP loader support"
2312 select SND_SOC_MSM_APRV2_INTF
2313 depends on MSM_AUDIO_QDSP6V2 && m
2314 help
2315 Enable ADSP image loader.
2316 The ADSP loader brings ADSP out of reset
2317 for the platforms that use APRv2.
2318 Say M if you want to enable this module.
2319
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002320config MSM_ULTRASOUND
2321 bool "MSM ultrasound support"
2322 depends on MSM_AUDIO_QDSP6
2323 help
2324 Enable support for qdsp6/ultrasound.
2325
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002326config MSM_RPC_VIBRATOR
2327 bool "RPC based MSM Vibrator Support"
2328 depends on MSM_ONCRPCROUTER
2329 help
2330 Enable the vibrator support on MSM over RPC. The vibrator
2331 is connected on the PMIC. Say Y if you want to enable this
2332 feature.
2333
2334config PM8XXX_RPC_VIBRATOR
2335 bool "RPC based Vibrator on PM8xxx PMICs"
2336 depends on MSM_RPC_VIBRATOR
2337 help
2338 Enable the vibrator support on MSM over RPC. The vibrator
2339 is connected on the PM8XXX PMIC. Say Y if you want to enable
2340 this feature.
2341
2342config MSM_SPM_V1
2343 bool "Driver support for SPM Version 1"
2344 help
2345 Enables the support for Version 1 of the SPM driver. SPM hardware is
2346 used to manage the processor power during sleep. The driver allows
2347 configuring SPM to allow different power modes.
2348
2349config MSM_SPM_V2
2350 bool "Driver support for SPM Version 2"
2351 help
2352 Enables the support for Version 2 of the SPM driver. SPM hardware is
2353 used to manage the processor power during sleep. The driver allows
2354 configuring SPM to allow different power modes.
2355
2356config MSM_L2_SPM
2357 bool "SPM support for L2 cache"
2358 depends on MSM_SPM_V2
2359 help
2360 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2361 control of L2 cache low power mode with a Subsystem Power manager.
2362 Enabling this driver allows configuring L2 SPM for low power modes
2363 on supported chipsets.
2364
Laura Abbott2d1760b2011-09-29 21:31:24 -07002365config MSM_MULTIMEDIA_USE_ION
2366 bool "Multimedia suport using Ion"
2367 depends on ION_MSM
2368 help
2369 Enable support for multimedia drivers using Ion for buffer management
2370 instead of pmem. Selecting this may also involve userspace
2371 dependencies as well.
2372
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002373config MSM_OCMEM
2374 bool "MSM On-Chip memory driver (OCMEM)"
2375 help
2376 Enable support for On-Chip Memory available on certain MSM chipsets.
2377 OCMEM is a low latency, high performance pool shared by subsystems.
2378
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002379config MSM_OCMEM_LOCAL_POWER_CTRL
2380 bool "OCMEM Local Power Control"
2381 depends on MSM_OCMEM
2382 help
2383 Enable direct power management of the OCMEM core by the
2384 OCMEM driver. By default power management is delegated to
2385 the RPM. Selecting this option causes the OCMEM driver to
2386 directly handle the various macro power transitions.
2387
2388config MSM_OCMEM_DEBUG
2389 bool "OCMEM Debug Support"
2390 depends on MSM_OCMEM
2391 help
2392 Enable debug options for On-chip Memory (OCMEM) driver.
2393 Various debug options include memory, power and latency.
2394 Choosing one of these options allows debugging of each
2395 individual subsystem separately.
2396
Naveen Ramaraj46261f62012-08-20 12:35:52 -07002397config MSM_OCMEM_NONSECURE
2398 bool "OCMEM Non Secure Mode"
2399 depends on MSM_OCMEM_DEBUG
2400 help
2401 Disable OCMEM interaction with secure processor.
2402 By default OCMEM is secured and accesses for each master
2403 is requested by the OCMEM driver. Selecting this option
2404 causes the OCMEM memory to be in non-secure state unless
2405 its locked down by the secure processor.
2406
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002407config MSM_OCMEM_POWER_DEBUG
2408 bool "OCMEM Power Debug Support"
2409 depends on MSM_OCMEM_DEBUG
2410 help
2411 Enable debug support for OCMEM power management.
2412 This adds support for verifying all power management
2413 related operations of OCMEM. Both local power management
2414 and RPM assisted power management operations are supported.
2415
Naveen Ramaraj4b1d9392012-08-06 21:05:14 -07002416config MSM_OCMEM_POWER_DISABLE
2417 bool "OCMEM Disable Power Control"
2418 depends on MSM_OCMEM_DEBUG
2419 help
2420 Disable all OCMEM power management.
2421 This keeps all OCMEM macros turned ON at all times thus
2422 never allowing them to be turned OFF. Both local power
2423 management and RPM assisted power modes are supported.
2424
Laura Abbottad340ff2012-01-04 14:23:48 -08002425config MSM_RTB
2426 bool "Register tracing"
2427 help
2428 Add support for logging different events to a small uncached
2429 region. This is designed to aid in debugging reset cases where the
2430 caches may not be flushed before the target resets.
2431
2432config MSM_RTB_SEPARATE_CPUS
2433 bool "Separate entries for each cpu"
2434 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002435 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002436 help
2437 Under some circumstances, it may be beneficial to give dedicated space
2438 for each cpu to log accesses. Selecting this option will log each cpu
2439 separately. This will guarantee that the last acesses for each cpu
2440 will be logged but there will be fewer entries per cpu
2441
Stepan Moskovchenko57884842012-06-07 17:35:49 -07002442config MSM_EBI_ERP
2443 bool "External Bus Interface (EBI) error reporting"
2444 help
2445 Say 'Y' here to enable reporting of external bus interface errors to
2446 the kernel log. Information such as the offending address and
2447 transaction type will be logged. This may be useful for debugging
2448 seemingly broken memory accesses.
2449
2450 For production builds, you should probably say 'N' here.
2451
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002452config MSM_CACHE_ERP
2453 bool "Cache / CPU error reporting"
2454 depends on ARCH_MSM_KRAIT
2455 help
2456 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2457 log. Enabling this feature can be used as a system debugging technique
2458 if cache corruption is suspected. Cache error statistics will also be
2459 reported in /proc/cpu/msm_cache_erp.
2460
2461 For production builds, you should probably say 'N' here.
2462
2463config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002464 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002465 depends on MSM_CACHE_ERP
2466 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002467 To cause the kernel to panic whenever an L1 cache error is detected, say
2468 'Y' here. This may be useful as a debugging technique if general system
2469 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002470
2471 For production builds, you should probably say 'N' here.
2472
Stepan Moskovchenko06cc95a2012-12-06 18:40:25 -08002473config MSM_L1_RECOV_ERR_PANIC
2474 bool "Panic on recoverable L1 cache errors"
2475 depends on MSM_CACHE_ERP && MSM_L1_ERR_PANIC
2476 help
2477 Certain CPU designs may be able to automatically recover from certain
2478 kinds of L1 cache errors, even though the L1 cache itself may not
2479 support error correction. These errors should not result in any kind
2480 of corruption, but their presence is nevertheless an indication of
2481 poor system health. To cause the kernel to panic whenever a
2482 recoverable L1 cache error is detected, say 'Y' here. This may be
2483 useful as a debugging technique if general system instability is
2484 suspected.
2485
2486 For production builds, you should definitely say 'N' here.
2487
Stepan Moskovchenko7035f652012-05-31 17:48:01 -07002488config MSM_L1_ERR_LOG
2489 bool "Log CPU ERP events to system memory"
2490 depends on MSM_CACHE_ERP
2491 help
2492 Enable logging CPU ERP events to an area of memory that will be
2493 preserved across a system reset. This may be useful for detecting and
2494 troubleshooting ERP-related system crashes in the field.
2495
2496 For production builds, you may want to say 'Y' here.
2497
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002498config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2499 bool "Report L2 master port slave/decode errors in kernel log"
2500 depends on MSM_CACHE_ERP
2501 help
2502 Master port errors can occur when a memory request is not properly
2503 handled by the destination slave. This can occur if the destination
2504 register does not exist or is inaccessible due to security
2505 restrictions or (in some cases) clock configuration. Enabling this
2506 option will cause a backtrace to be printed to the kernel log whenever
2507 such an error is encountered. Note that the error is reported as an
2508 interrupt rather than as an exception, meaning that the backtrace may
2509 have some skid. This option may help with debugging, though production
2510 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002511
2512config MSM_L2_ERP_PORT_PANIC
2513 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002514 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002515 help
2516 Master port errors can occur when a memory request is not properly
2517 handled by the destination slave. Enable this option to catch drivers
2518 which attempt to access bad areas of the address space, or access
2519 hardware registers in an improper state (such as certain clocks not
2520 being on). This option may help with debugging, though production
2521 builds should probably say 'N' here.
2522
2523config MSM_L2_ERP_1BIT_PANIC
2524 bool "Panic on recoverable L2 soft errors"
2525 depends on MSM_CACHE_ERP
2526 help
2527 Enable this option to cause a kernel panic whenever the L2 cache
2528 encounters a single-bit (correctable) soft error. This option should
2529 only be enabled when doing low-level debugging where cache corruption
2530 is suspected.
2531
2532 For production builds, you should definitely say 'N' here.
2533
2534config MSM_L2_ERP_2BIT_PANIC
2535 bool "Panic on unrecoverable L2 soft errors"
2536 depends on MSM_CACHE_ERP
2537 help
2538 Enable this option to cause a kernel panic whenever the L2 cache
2539 encounters a double-bit (non-correctable) soft error. Debug builds
2540 will likely benefit from having this option enabled to catch cache
2541 problems as soon as possible.
2542
2543 For production builds, it may be acceptable to say 'N' here, since
2544 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002545
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002546config MSM_DCVS
2547 bool "Use MSM DCVS for CPU/GPU Frequency control"
2548 depends on MSM_SCM
2549 help
2550 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2551 The DCVS manager allows idle driver to feed the idle information to the
2552 algorithm and the algorithm returns a frequency for the core which is
2553 passed to the frequency change driver.
2554
Pankaj Kumar32ce1ea2012-04-04 20:29:29 +05302555config MSM_CPR
2556 tristate "Use MSM CPR in S/W mode"
2557 help
2558 Enable CPR (core power reduction) in S/W mode, where the processor
2559 get's the notification from CPR block and programs the PMIC.
2560
2561config MSM_VP_REGULATOR
2562 tristate "Use MSM PMIC8029 C2 regulator"
2563 depends on ARCH_MSM8625
2564 help
2565 Enable MSM PMIC8029 C2 regulator support using APC_PLEVEL access
2566 for MSMs like 8625.
2567
Taniya Dasc43e6872012-03-21 16:41:14 +05302568config HAVE_ARCH_HAS_CURRENT_TIMER
2569 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002570
2571config MSM_CACHE_DUMP
2572 bool "Cache dumping support"
2573 help
2574 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2575 This allows for analysis of the caches in case cache corruption is
2576 suspected.
2577
Laura Abbott7b637362012-03-29 16:43:49 -07002578config MSM_CACHE_DUMP_ON_PANIC
2579 bool "Dump caches on panic"
2580 depends on MSM_CACHE_DUMP
2581 help
2582 By default, the caches are flushed on panic. This means that trying to
2583 look at them in a RAM dump will give useless data. Select this if you
2584 want to dump the L1 and L2 caches on panic before any flush occurs.
2585 If unsure, say N
2586
Jack Phamccbbfab2012-04-09 19:50:20 -07002587config MSM_HSIC_SYSMON
2588 tristate "MSM HSIC system monitor driver"
2589 depends on USB
2590 help
2591 Add support for bridging with the system monitor interface of MDM
2592 over HSIC. This driver allows the local system monitor to
2593 communicate with the remote system monitor interface.
2594
2595config MSM_HSIC_SYSMON_TEST
2596 tristate "MSM HSIC system monitor bridge test"
2597 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2598 help
2599 Enable the test hook for the Qualcomm system monitor HSIC driver.
2600 This will create a debugfs file entry named "hsic_sysmon_test" which
2601 can be read and written to send character data to the sysmon port of
2602 the modem over USB.
2603
Jay Chokshi434f1af2012-12-06 20:48:23 -08002604config MSM_CPU_PWRCTL
2605 bool "Ensures that krait droop detectors are always off"
2606 help
2607 Droop detector mechanism can adversely affect krait plls during
2608 stand alone power collapse operation. Selecting this option
2609 ensures that they are always off.
2610
Brian Swetland9e73c842007-11-26 04:12:13 -08002611endif