blob: e14eb5ac95d42ec1355b8bacd5f93f0b06bd5320 [file] [log] [blame]
Brian Swetland1637de02008-09-09 07:13:33 -07001if ARCH_MSM
Brian Swetland9e73c842007-11-26 04:12:13 -08002
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -07003menu "MSM SoC Type"
Daniel Walkerbf83de42010-03-16 16:29:44 -07004
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07005config ARCH_MSM7X01A
Daniel Walkerbf83de42010-03-16 16:29:44 -07006 bool "MSM7x00A / MSM7x01A"
7 select ARCH_MSM_ARM11
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07008 select MSM_VIC
Daniel Walkerbf83de42010-03-16 16:29:44 -07009 select CPU_V6
David Brown74d10d72011-05-16 13:57:39 -070010 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070011 select MSM_REMOTE_SPINLOCK_SWP
12
13config ARCH_MSM7X25
14 bool "MSM7x25"
15 select ARCH_MSM_ARM11
16 select MSM_VIC
17 select CPU_V6
Steve Mucklef132c6c2012-06-06 18:30:57 -070018 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070019 select MSM_REMOTE_SPINLOCK_SWP
Taniya Dasbe561a02011-10-12 09:53:11 +053020 select MULTI_IRQ_HANDLER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070021
22config ARCH_MSM7X27
23 bool "MSM7x27"
24 select ARCH_MSM_ARM11 if MSM_SOC_REV_NONE
25 select ARCH_HAS_BARRIERS if MSM_SOC_REV_NONE
26 select ARCH_MSM_CORTEX_A5 if MSM_SOC_REV_A
27 select MSM_VIC
28 select CPU_V6 if MSM_SOC_REV_NONE
29 select CPU_V7 if MSM_SOC_REV_A
Steve Mucklef132c6c2012-06-06 18:30:57 -070030 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070031 select MSM_REMOTE_SPINLOCK_SWP if MSM_SOC_REV_NONE
32 select MSM_GPIOMUX
33 select REGULATOR
Taniya Dasbe561a02011-10-12 09:53:11 +053034 select MULTI_IRQ_HANDLER
Pankaj Kumar75c86fd2011-10-01 18:51:09 +053035 select MSM_PROC_COMM_REGULATOR
Laura Abbott1fbd2e62011-12-18 10:26:46 -080036 select CLEANCACHE
37 select QCACHE
Matt Wagantall88b86312012-01-31 16:53:03 -080038 select MSM_PM2 if PM
Krishna Vankae2922052012-03-02 09:59:12 +053039 select MSM_RUN_QUEUE_STATS if MSM_SOC_REV_A
Taniya Dasd4c39f92012-05-14 17:41:49 +053040 select DONT_MAP_HOLE_AFTER_MEMBANK0
Trilok Sonib856ab92012-06-26 14:33:28 +053041 select MIGHT_HAVE_CACHE_L2X0
Taniya Dascd1d0232012-07-03 17:50:47 +053042 select MSM_MODEM_RESTART
Daniel Walkerbf83de42010-03-16 16:29:44 -070043
Daniel Walker7b521612010-05-06 12:44:57 -070044config ARCH_MSM7X30
45 bool "MSM7x30"
46 select ARCH_MSM_SCORPION
Daniel Walker7b521612010-05-06 12:44:57 -070047 select MSM_VIC
48 select CPU_V7
David Brown74d10d72011-05-16 13:57:39 -070049 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070050 select MSM_REMOTE_SPINLOCK_DEKKERS
51 select ARCH_SPARSEMEM_ENABLE
Laura Abbott78593b52011-09-26 18:48:14 -070052 select ARCH_HAS_HOLES_MEMORYMODEL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070053 select MEMORY_HOTPLUG
54 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -080055 select ARCH_ENABLE_MEMORY_HOTPLUG
56 select ARCH_ENABLE_MEMORY_HOTREMOVE
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070057 select MIGRATION
58 select ARCH_MEMORY_PROBE
59 select ARCH_MEMORY_REMOVE
Gregory Beanab78cde2010-09-01 16:26:12 -070060 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070061 select RESERVE_FIRST_PAGE
62 select MSM_DALRPC
63 select MSM_SPM_V1
64 select REGULATOR
Justin Paupore637a25d2011-07-14 17:11:04 -070065 select MSM_PROC_COMM_REGULATOR
Taniya Dasbae99fb2011-10-12 09:55:13 +053066 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -080067 select MSM_PM2 if PM
Chintan Pandyabb021762012-06-21 15:03:29 +053068 select HOLES_IN_ZONE if SPARSEMEM
Taniya Dascd1d0232012-07-03 17:50:47 +053069 select MSM_MODEM_RESTART
Daniel Walker7b521612010-05-06 12:44:57 -070070
Daniel Walker4ad15e62010-05-06 13:54:17 -070071config ARCH_QSD8X50
72 bool "QSD8X50"
73 select ARCH_MSM_SCORPION
Daniel Walker4ad15e62010-05-06 13:54:17 -070074 select MSM_VIC
75 select CPU_V7
David Brown74d10d72011-05-16 13:57:39 -070076 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070077 select MSM_REMOTE_SPINLOCK_LDREX
78 select CPU_USE_DOMAINS
79 select EMULATE_DOMAIN_MANAGER_V7
Gregory Beanab78cde2010-09-01 16:26:12 -070080 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070081 select MSM_DALRPC
Matt Wagantall88b86312012-01-31 16:53:03 -080082 select MSM_PM2 if PM
Taniya Dascd1d0232012-07-03 17:50:47 +053083 select MSM_MODEM_RESTART
Daniel Walker46fe5f22010-08-18 11:00:25 -070084
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070085config ARCH_MSM8X60
86 bool "MSM8X60"
Jeff Ohlsteine14411d2010-11-30 13:06:36 -080087 select ARCH_MSM_SCORPIONMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070088 select SMP_PARALLEL_START if SMP
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070089 select ARM_GIC
90 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070091 select MSM_REMOTE_SPINLOCK_LDREX
92 select ARCH_REQUIRE_GPIOLIB
93 select MSM_ADM3
94 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -080095 select MSM_RPM_REGULATOR
David Brown1a5ab4b2011-05-16 15:53:38 -070096 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070097 select MSM_PIL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070098 select ARCH_HAS_CPU_IDLE_WAIT
99 select MSM_DIRECT_SCLK_ACCESS
100 select MSM_RPM
101 select MSM_XO
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700102 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700103 select MSM_BUS_SCALING
104 select MSM_SECURE_IO
105 select MSM_DALRPC
106 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700107 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700108 select MSM_NATIVE_RESTART
109 select ARCH_INLINE_SPIN_TRYLOCK
110 select ARCH_INLINE_SPIN_TRYLOCK_BH
111 select ARCH_INLINE_SPIN_LOCK
112 select ARCH_INLINE_SPIN_LOCK_BH
113 select ARCH_INLINE_SPIN_LOCK_IRQ
114 select ARCH_INLINE_SPIN_LOCK_IRQSAVE
115 select ARCH_INLINE_SPIN_UNLOCK
116 select ARCH_INLINE_SPIN_UNLOCK_BH
117 select ARCH_INLINE_SPIN_UNLOCK_IRQ
118 select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
119 select ARCH_INLINE_READ_TRYLOCK
120 select ARCH_INLINE_READ_LOCK
121 select ARCH_INLINE_READ_LOCK_BH
122 select ARCH_INLINE_READ_LOCK_IRQ
123 select ARCH_INLINE_READ_LOCK_IRQSAVE
124 select ARCH_INLINE_READ_UNLOCK
125 select ARCH_INLINE_READ_UNLOCK_BH
126 select ARCH_INLINE_READ_UNLOCK_IRQ
127 select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
128 select ARCH_INLINE_WRITE_TRYLOCK
129 select ARCH_INLINE_WRITE_LOCK
130 select ARCH_INLINE_WRITE_LOCK_BH
131 select ARCH_INLINE_WRITE_LOCK_IRQ
132 select ARCH_INLINE_WRITE_LOCK_IRQSAVE
133 select ARCH_INLINE_WRITE_UNLOCK
134 select ARCH_INLINE_WRITE_UNLOCK_BH
135 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
136 select CPU_HAS_L2_PMU
137 select MSM_SPM_V1
Stephen Boyd2a1eb582010-08-27 10:01:23 -0700138 select MSM_SCM if SMP
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530139 select MULTI_IRQ_HANDLER
Laura Abbott46505f62011-11-02 18:06:55 -0700140 select MSM_MULTIMEDIA_USE_ION
Matt Wagantall88b86312012-01-31 16:53:03 -0800141 select MSM_PM8X60 if PM
Krishna Vankae2922052012-03-02 09:59:12 +0530142 select MSM_RUN_QUEUE_STATS
Laura Abbottb14ed962012-01-30 14:18:08 -0800143 select ARM_HAS_SG_CHAIN
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700144
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800145config ARCH_MSM8960
146 bool "MSM8960"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700147 select ARCH_MSM_KRAITMP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800148 select ARM_GIC
149 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700150 select GPIO_MSM_V2
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800151 select MSM_GPIOMUX
152 select MSM_SCM if SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700153 select MSM_DIRECT_SCLK_ACCESS
154 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -0800155 select MSM_RPM_REGULATOR
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700156 select MSM_RPM
157 select MSM_XO
158 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700159 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700160 select MSM_PIL
161 select MSM_AUDIO_QDSP6 if SND_SOC
162 select CPU_HAS_L2_PMU
163 select MSM_SPM_V2
164 select MSM_L2_SPM
165 select MSM_NATIVE_RESTART
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700166 select DONT_MAP_HOLE_AFTER_MEMBANK0
167 select MSM_REMOTE_SPINLOCK_SFPB
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700168 select ARCH_SPARSEMEM_ENABLE
169 select ARCH_HAS_HOLES_MEMORYMODEL
Larry Basseld4d82c92011-12-07 09:52:49 -0800170 select CLEANCACHE
171 select QCACHE
Laura Abbott6d61a912011-10-27 16:44:14 -0700172 select MSM_MULTIMEDIA_USE_ION
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530173 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800174 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700175 select HOLES_IN_ZONE if SPARSEMEM
Krishna Vankae2922052012-03-02 09:59:12 +0530176 select MSM_RUN_QUEUE_STATS
Laura Abbottb14ed962012-01-30 14:18:08 -0800177 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700178 select MSM_KRAIT_WFE_FIXUP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800179
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700180config ARCH_MSM8930
181 bool "MSM8930"
182 select ARCH_MSM_KRAITMP
183 select ARM_GIC
184 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700185 select GPIO_MSM_V2
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700186 select MSM_GPIOMUX
187 select MSM_SCM if SMP
188 select MSM_DIRECT_SCLK_ACCESS
189 select REGULATOR
David Collins5779cea2012-01-05 15:09:21 -0800190 select MSM_RPM_REGULATOR
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700191 select MSM_RPM
192 select MSM_XO
193 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700194 select MSM_QDSP6_CODECS
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700195 select MSM_PIL
196 select MSM_AUDIO_QDSP6 if SND_SOC
197 select CPU_HAS_L2_PMU
198 select MSM_SPM_V2
199 select MSM_L2_SPM
200 select MSM_NATIVE_RESTART
201 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600202 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700203 select ARCH_SPARSEMEM_ENABLE
204 select ARCH_HAS_HOLES_MEMORYMODEL
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +0200205 select MSM_ULTRASOUND
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530206 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800207 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700208 select HOLES_IN_ZONE if SPARSEMEM
Laura Abbottb14ed962012-01-30 14:18:08 -0800209 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700210 select MSM_KRAIT_WFE_FIXUP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700211
212config ARCH_APQ8064
213 bool "APQ8064"
214 select ARCH_MSM_KRAITMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700215 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700216 select ARM_GIC
217 select CPU_V7
218 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700219 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600220 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800221 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800222 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700223 select MSM_QDSP6_CODECS
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800224 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530225 select MULTI_IRQ_HANDLER
Praveen Chidambaram78499012011-11-01 17:15:17 -0600226 select MSM_RPM
227 select MSM_SPM_V2
228 select MSM_L2_SPM
Matt Wagantall88b86312012-01-31 16:53:03 -0800229 select MSM_PM8X60 if PM
Neil Leeder814d3d32012-01-19 17:21:43 -0500230 select CPU_HAS_L2_PMU
Laura Abbott085dd202012-03-30 14:02:34 -0700231 select HOLES_IN_ZONE if SPARSEMEM
Larry Bassel67b921d2012-04-06 10:23:27 -0700232 select CLEANCACHE
233 select QCACHE
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -0600234 select MIGHT_HAVE_PCI
235 select ARCH_SUPPORTS_MSI
Laura Abbottb14ed962012-01-30 14:18:08 -0800236 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700237 select MSM_KRAIT_WFE_FIXUP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700238
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700239config ARCH_MSM8974
240 bool "MSM8974"
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700241 select ARCH_MSM_KRAITMP
Sathish Ambley4149e842012-03-23 11:53:55 -0700242 select GPIO_MSM_V3
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700243 select ARM_GIC
244 select CPU_V7
245 select MSM_SCM if SMP
246 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530247 select MULTI_IRQ_HANDLER
Olav Hauganb800c8c2012-01-30 08:50:45 -0800248 select MSM_MULTIMEDIA_USE_ION
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700249 select MSM_PIL
Praveen Chidambaramaa9d52b2012-04-02 11:09:47 -0600250 select MSM_SPM_V2
251 select MSM_L2_SPM
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700252 select MSM_NATIVE_RESTART
253 select MSM_RESTART_V2
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600254 select MSM_PM8X60 if PM
Steve Mucklef132c6c2012-06-06 18:30:57 -0700255 select MAY_HAVE_SPARSE_IRQ
256 select SPARSE_IRQ
Mahesh Sivasubramaniancb668712012-04-04 13:03:25 -0600257 select MSM_RPM_SMD
David Collinsc7642322012-04-04 10:19:12 -0700258 select REGULATOR
Joonwoo Park91d95462012-08-02 10:55:54 -0700259 select MSM_QDSP6_APRV2
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -0700260 select MSM_QDSP6V2_CODECS
261 select MSM_AUDIO_QDSP6V2 if SND_SOC
David Collins1c91ea72012-05-03 16:17:35 -0700262 select MSM_RPM_REGULATOR_SMD
Laura Abbottb14ed962012-01-30 14:18:08 -0800263 select ARM_HAS_SG_CHAIN
Karthik Parsha404fb8f2012-07-30 19:14:05 -0700264 select MSM_RUN_QUEUE_STATS
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700265
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +0530266config ARCH_MPQ8092
267 bool "MPQ8092"
268 select ARCH_MSM_KRAITMP
269 select GPIO_MSM_V3
270 select ARM_GIC
271 select MULTI_IRQ_HANDLER
272 select CPU_V7
273 select MSM_GPIOMUX
274 select MAY_HAVE_SPARSE_IRQ
275 select SPARSE_IRQ
276 select MSM_NOPM
277
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700278config ARCH_FSM9XXX
279 bool "FSM9XXX"
280 select ARCH_MSM_SCORPION
281 select MSM_VIC
282 select CPU_V7
283 select MSM_REMOTE_SPINLOCK_LDREX
Steve Mucklef132c6c2012-06-06 18:30:57 -0700284 select GPIO_FSM9XXX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530285 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800286 select MSM_DALRPC
Daniel Walker4ad15e62010-05-06 13:54:17 -0700287
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700288config ARCH_MSM9615
289 bool "MSM9615"
290 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530291 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700292 select ARCH_MSM_CORTEX_A5
293 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700294 select GPIO_MSM_V2
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700295 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600296 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600297 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700298 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800299 select REGULATOR
300 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530301 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800302 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800303 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700304 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800305 select MSM_QDSP6_APR
306 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800307 select FIQ
Laura Abbottb14ed962012-01-30 14:18:08 -0800308 select ARM_HAS_SG_CHAIN
Matt Wagantall9274df92011-12-15 11:11:05 -0800309
Taniya Das43bcdd62011-12-02 17:33:27 +0530310config ARCH_MSM8625
311 bool "MSM8625"
312 select ARCH_MSM_CORTEX_A5
313 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700314 select GPIO_MSM_V1
Taniya Das43bcdd62011-12-02 17:33:27 +0530315 select MSM_GPIOMUX
316 select ARM_GIC
317 select ARCH_MSM_CORTEXMP
318 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530319 select ARM_TICKET_LOCKS
Krishna Vankae2922052012-03-02 09:59:12 +0530320 select MSM_RUN_QUEUE_STATS
Trilok Sonib856ab92012-06-26 14:33:28 +0530321 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530322 select ARM_HAS_SG_CHAIN
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700323
324config ARCH_MSM9625
325 bool "MSM9625"
326 select ARM_GIC
327 select GIC_SECURE
Abhimanyu Kapur490d20c2012-06-22 17:34:20 -0700328 select MIGHT_HAVE_CACHE_L2X0
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700329 select ARCH_MSM_CORTEX_A5
330 select SMP
331 select MSM_SMP
332 select CPU_V7
Jin Hong690e3352012-05-02 09:25:05 -0700333 select MSM_GPIOMUX
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700334 select MULTI_IRQ_HANDLER
Rohit Vaswani61cf6ef2012-07-27 13:51:48 -0700335 select GPIO_MSM_V3
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700336
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700337endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700338
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700339choice
340 prompt "MSM SoC Revision"
341 default MSM_SOC_REV_NONE
342config MSM_SOC_REV_NONE
343 bool "N/A"
344 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
345 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walkerbf83de42010-03-16 16:29:44 -0700346config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700347 bool "Rev. A"
348 select ARCH_MSM7X27A if ARCH_MSM7X27
Daniel Walkerbf83de42010-03-16 16:29:44 -0700349endchoice
350
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700351config MSM_KRAIT_TBB_ABORT_HANDLER
352 bool "Krait TBB/TBH data abort handler"
353 depends on ARCH_MSM_KRAIT
354 depends on ARM_THUMB
355 help
356 Certain early samples of the Krait processor may generate data
357 aborts for TBB / TBH instructions that fail their condition code
358 checks. Enabling this option will ignore these erroneous data aborts,
359 at the expense of a very small performance penalty.
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800360
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700361 If unsure, say N.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700362
363config ARCH_MSM_ARM11
364 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700365
Daniel Walkerbf83de42010-03-16 16:29:44 -0700366config ARCH_MSM_SCORPION
367 bool
368
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700369config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700370 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800371 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700372
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700373config MSM_SMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700374 select HAVE_SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700375 bool
376
377config ARCH_MSM_SCORPIONMP
378 select ARCH_MSM_SCORPION
379 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530380 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700381 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700382 bool
383
384config ARCH_MSM_KRAITMP
385 select ARCH_MSM_KRAIT
386 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530387 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700388 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700389 bool
Steve Mucklef132c6c2012-06-06 18:30:57 -0700390 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700391
Taniya Das43bcdd62011-12-02 17:33:27 +0530392config ARCH_MSM_CORTEXMP
393 select MSM_SMP
394 bool
395
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700396config MSM_KRAIT_WFE_FIXUP
397 bool
398
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700399config MSM_RESTART_V2
400 bool
401
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700402config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800403 bool
Rohit Vaswaniaf7ae272012-01-09 10:28:57 -0800404 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700405
406config ARCH_MSM7X27A
407 bool
408 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700409 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530410 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530411 select ARM_GIC
412 select ARCH_MSM_CORTEXMP
Trilok Sonib856ab92012-06-26 14:33:28 +0530413 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530414 select ARM_HAS_SG_CHAIN
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700415
Gregory Beanf9f3d312010-04-30 22:06:50 -0700416config MSM_VIC
417 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700418
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700419config MSM_RPM
420 bool "Resource Power Manager"
421 select MSM_MPM
422
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600423config MSM_RPM_SMD
424 depends on MSM_SMD
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600425 select MSM_MPM_OF
426 bool "RPM driver using SMD protocol"
427 help
428 RPM is the dedicated hardware engine for managing shared SoC
429 resources. This config adds driver support for using SMD as a
430 transport layer communication with RPM hardware. It also selects
431 the MSM_MPM config that programs the MPM module to monitor interrupts
432 during sleep modes.
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600433
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700434config MSM_MPM
435 bool "Modem Power Manager"
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600436 help
437 MPM is a dedicated hardware resource responsible for entering and
438 waking up from a system wide low power mode. The MPM driver tracks
439 the wakeup interrupts and configures the MPM to monitor the wakeup
440 interrupts when going to a system wide sleep mode.
441
442config MSM_MPM_OF
443 bool "Modem Power Manager"
444 depends on CONFIG_OF
445 help
446 MPM is a dedicated hardware resource responsible for entering and
447 waking up from a system wide low power mode. The MPM driver tracks
448 the wakeup interrupts and configures the MPM to monitor the wakeup
449 interrupts when going to a system wide sleep mode. This config option
450 enables the MPM driver that supports initialization from a device
451 tree
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700452
453config MSM_XO
454 bool
455
456config MSM_REMOTE_SPINLOCK_DEKKERS
457 bool
458config MSM_REMOTE_SPINLOCK_SWP
459 bool
460config MSM_REMOTE_SPINLOCK_LDREX
461 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600462config MSM_REMOTE_SPINLOCK_SFPB
463 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700464config MSM_ADM3
465 bool
466
467menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700468
469config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700470 depends on ARCH_MSM7X01A
471 depends on MSM_STACKED_MEMORY
472 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700473 bool "Halibut Board (QCT SURF7201A)"
474 help
475 Support for the Qualcomm SURF7201A eval board.
476
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700477config MACH_MSM7201A_SURF
478 depends on ARCH_MSM7X01A
479 depends on MSM_STACKED_MEMORY
480 default y
481 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700482 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700483 Support for the Qualcomm MSM7201A SURF eval board.
484
485config MACH_MSM7201A_FFA
486 depends on ARCH_MSM7X01A
487 depends on MSM_STACKED_MEMORY
488 default y
489 bool "MSM7201A FFA"
490 help
491 Support for the Qualcomm MSM7201A FFA eval board.
492
493config MACH_TROUT
494 depends on ARCH_MSM7X01A
495 depends on MSM_STACKED_MEMORY
496 default y
497 bool "Trout"
498
499config MACH_MSM7X27_SURF
500 depends on ARCH_MSM7X27
501 depends on !MSM_STACKED_MEMORY
502 default y
503 bool "MSM7x27 SURF"
504 help
505 Support for the Qualcomm MSM7x27 SURF eval board.
506
507config MACH_MSM7X27_FFA
508 depends on ARCH_MSM7X27
509 depends on !MSM_STACKED_MEMORY
510 default y
511 bool "MSM7x27 FFA"
512 help
513 Support for the Qualcomm MSM7x27 FFA eval board.
514
515config MACH_MSM7X27A_RUMI3
516 depends on ARCH_MSM7X27A
517 depends on !MSM_STACKED_MEMORY
518 default y
519 bool "MSM7x27A RUMI3"
520 help
521 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
522
523config MACH_MSM7X27A_SURF
524 depends on ARCH_MSM7X27A
525 depends on !MSM_STACKED_MEMORY
526 default y
527 bool "MSM7x27A SURF"
528 help
529 Support for the Qualcomm MSM7x27A SURF.
530
531config MACH_MSM7X27A_FFA
532 depends on ARCH_MSM7X27A
533 depends on !MSM_STACKED_MEMORY
534 default y
535 bool "MSM7x27A FFA"
536 help
537 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700538
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530539config MACH_MSM7625A_SURF
540 depends on ARCH_MSM7X27A
541 depends on !MSM_STACKED_MEMORY
542 default y
543 bool "MSM7625A SURF"
544 help
545 Support for the Qualcomm MSM7625A SURF.
546
547config MACH_MSM7625A_FFA
548 depends on ARCH_MSM7X27A
549 depends on !MSM_STACKED_MEMORY
550 default y
551 bool "MSM7625A FFA"
552 help
553 Support for the Qualcomm MSM7625A FFA.
554
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530555config MACH_MSM7627A_QRD1
556 depends on ARCH_MSM7X27A
557 depends on !MSM_STACKED_MEMORY
558 default y
559 bool "MSM7627A QRD1"
560 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530561 Support for the Qualcomm MSM7627A Reference Design.
562
563config MACH_MSM7627A_QRD3
564 depends on ARCH_MSM7X27A
565 depends on !MSM_STACKED_MEMORY
566 default y
567 bool "MSM7627A QRD3"
568 help
569 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530570
Taniya Dasc868a2e2012-01-03 10:18:47 +0530571config MACH_MSM7627A_EVB
572 depends on ARCH_MSM7X27A
573 depends on !MSM_STACKED_MEMORY
574 default y
575 bool "MSM7627A EVB"
576 help
577 Support for the Qualcomm MSM7627A Reference Design.
578
Taniya Das43bcdd62011-12-02 17:33:27 +0530579config MACH_MSM8625_RUMI3
580 depends on ARCH_MSM8625
581 depends on !MSM_STACKED_MEMORY
582 default y
583 bool "MSM8625 RUMI3"
584 help
585 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
586
Taniya Dase3027e22012-02-27 16:32:27 +0530587config MACH_MSM8625_SURF
588 depends on ARCH_MSM8625
589 depends on !MSM_STACKED_MEMORY
590 default y
591 bool "MSM8625 SURF"
592 help
593 Support for the Qualcomm MSM8625 SURF.
594
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530595config MACH_MSM8625_FFA
596 depends on ARCH_MSM8625
597 depends on !MSM_STACKED_MEMORY
598 default y
599 bool "MSM8625 FFA"
600 help
601 Support for the Qualcomm MSM8625 FFA.
602
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530603config MACH_MSM8625_EVB
604 depends on ARCH_MSM8625
605 depends on !MSM_STACKED_MEMORY
606 default y
607 bool "MSM8625 EVB"
608 help
609 Support for the Qualcomm MSM8625 Reference Design.
610
Taniya Dasbd096542012-03-15 17:43:45 +0530611config MACH_MSM8625_QRD7
612 depends on ARCH_MSM8625
613 depends on !MSM_STACKED_MEMORY
614 default y
615 bool "MSM8625 QRD7"
616 help
617 Support for the Qualcomm MSM8625 Reference Design.
618
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530619config MACH_MSM8625_EVT
620 depends on ARCH_MSM8625
621 depends on !MSM_STACKED_MEMORY
622 default y
623 bool "MSM8625 EVT"
624 help
625 Support for the Qualcomm MSM8625 Reference Design.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700626
Daniel Walker7b521612010-05-06 12:44:57 -0700627config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700628 depends on ARCH_MSM7X30
629 depends on !MSM_STACKED_MEMORY
630 default y
631 bool "MSM7x30 SURF"
632 help
633 Support for the Qualcomm MSM7x30 SURF eval board.
634
635config MACH_MSM7X30_FFA
636 depends on ARCH_MSM7X30
637 depends on !MSM_STACKED_MEMORY
638 default y
639 bool "MSM7x30 FFA"
640 help
641 Support for the Qualcomm MSM7x30 FFA eval board.
642
643config MACH_MSM7X30_FLUID
644 depends on ARCH_MSM7X30
645 depends on !MSM_STACKED_MEMORY
646 default y
647 bool "MSM7x30 FLUID"
648 help
649 Support for the Qualcomm MSM7x30 FLUID eval board.
650
651config MACH_SAPPHIRE
652 depends on ARCH_MSM7X01A
653 default n
654 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700655
Daniel Walker4ad15e62010-05-06 13:54:17 -0700656config MACH_QSD8X50_SURF
657 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700658 depends on MSM_SOC_REV_NONE
659 depends on MSM_STACKED_MEMORY
660 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700661 bool "QSD8x50 SURF"
662 help
663 Support for the Qualcomm QSD8x50 SURF eval board.
664
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700665config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700666 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700667 depends on MSM_SOC_REV_NONE
668 depends on MSM_STACKED_MEMORY
669 default y
670 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700671 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700672 Support for the Qualcomm QSD8x50 FFA eval board.
673
674config MACH_MSM7X25_SURF
675 depends on ARCH_MSM7X25
676 depends on !MSM_STACKED_MEMORY
677 default y
678 bool "MSM7x25 SURF"
679 help
680 Support for the Qualcomm MSM7x25 SURF eval board.
681
682config MACH_MSM7X25_FFA
683 depends on ARCH_MSM7X25
684 depends on !MSM_STACKED_MEMORY
685 default y
686 bool "MSM7x25 FFA"
687 help
688 Support for the Qualcomm MSM7x25 FFA eval board.
689
690config MACH_MSM8X55_SURF
691 depends on ARCH_MSM7X30
692 depends on !MSM_STACKED_MEMORY
693 default y
694 bool "MSM8X55 SURF"
695 help
696 Support for the Qualcomm MSM8x55 SURF eval board.
697
698config MACH_MSM8X55_FFA
699 depends on ARCH_MSM7X30
700 depends on !MSM_STACKED_MEMORY
701 default y
702 bool "MSM8X55 FFA"
703 help
704 Support for the Qualcomm MSM8x55 FFA eval board.
705
706config MACH_MSM8X55_SVLTE_FFA
707 depends on ARCH_MSM7X30
708 depends on !MSM_STACKED_MEMORY
709 default y
710 bool "MSM8X55 SVLTE FFA"
711 help
712 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
713
714config MACH_MSM8X55_SVLTE_SURF
715 depends on ARCH_MSM7X30
716 depends on !MSM_STACKED_MEMORY
717 default y
718 bool "MSM8X55 SVLTE SURF"
719 help
720 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700721
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700722config MACH_MSM8X60_SURF
723 depends on ARCH_MSM8X60
724 default n
725 bool "MSM8x60 SURF"
726 help
727 Support for the Qualcomm MSM8x60 SURF eval board.
728
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700729config MACH_MSM8X60_FFA
730 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700731 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700732 bool "MSM8x60 FFA"
733 help
734 Support for the Qualcomm MSM8x60 FFA eval board.
735
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700736config MACH_MSM8X60_FLUID
737 depends on ARCH_MSM8X60
738 default n
739 bool "MSM8x60 FLUID"
740 help
741 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
742 8x60 target which has a form factor that is much closer to that
743 of a phone than other targets. It also has a new display and
744 touchscreen controller.
745
746config MACH_MSM8X60_FUSION
747 depends on ARCH_MSM8X60
748 default n
749 bool "MSM8x60 FUSION"
750 help
751 Support for the Qualcomm MSM8x60 Fusion SURF device.
752
753config MACH_MSM8X60_FUSN_FFA
754 depends on ARCH_MSM8X60
755 default n
756 bool "MSM8x60 FUSN FFA"
757 help
758 Support for the Qualcomm MSM8x60 Fusion FFA device.
759
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400760config MACH_MSM8X60_DRAGON
761 depends on ARCH_MSM8X60
762 default n
763 bool "MSM8x60 DRAGON"
764 help
765 Support for the Qualcomm MSM8x60 Dragon board.
766
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700767config MACH_MSM8960_CDP
768 depends on ARCH_MSM8960
769 bool "MSM8960 CDP"
770 help
771 Support for the Qualcomm MSM8960 CDP device.
772
773config MACH_MSM8960_MTP
774 depends on ARCH_MSM8960
775 bool "MSM8960 MTP"
776 help
777 Support for the Qualcomm MSM8960 MTP device.
778
779config MACH_MSM8960_FLUID
780 depends on ARCH_MSM8960
781 bool "MSM8960 FLUID"
782 help
783 Support for the Qualcomm MSM8960 FLUID device.
784
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300785config MACH_MSM8960_LIQUID
786 depends on ARCH_MSM8960
787 bool "MSM8960 LIQUID"
788 help
789 Support for the Qualcomm MSM8960 LIQUID device.
790
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700791config MACH_MSM8930_CDP
792 depends on ARCH_MSM8930
793 bool "MSM8930 CDP"
794 help
795 Support for the Qualcomm MSM8930 CDP device.
796
797config MACH_MSM8930_MTP
798 depends on ARCH_MSM8930
799 bool "MSM8930 MTP"
800 help
801 Support for the Qualcomm MSM8930 MTP device.
802
803config MACH_MSM8930_FLUID
804 depends on ARCH_MSM8930
805 bool "MSM8930 FLUID"
806 help
807 Support for the Qualcomm MSM8930 FLUID device.
808
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800809config MACH_MSM8627_CDP
810 depends on ARCH_MSM8930
811 bool "MSM8627 CDP"
812 help
813 Support for the Qualcomm MSM8627 CDP device.
814
815config MACH_MSM8627_MTP
816 depends on ARCH_MSM8930
817 bool "MSM8627 MTP"
818 help
819 Support for the Qualcomm MSM8627 MTP device.
820
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700821config MACH_MSM9615_CDP
822 depends on ARCH_MSM9615
823 bool "MSM9615 CDP"
824 help
825 Support for the Qualcomm MSM9615 CDP device.
826
827config MACH_MSM9615_MTP
828 depends on ARCH_MSM9615
829 bool "MSM9615 MTP"
830 help
831 Support for the Qualcomm MSM9615 MTP device.
832
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700833config MSM_USE_TSIF1
834 depends on ARCH_MSM8X60
835 bool "MSM8x60 use TSIF1"
836 help
837 Selects TSIF1 core to be used rather than TSIF0.
838 The two TSIF cores share the same DM configuration
839 so they cannot be used simultaneously.
840
Joel King82b7e3f2012-01-05 10:03:27 -0800841config MACH_APQ8064_CDP
842 depends on ARCH_APQ8064
843 bool "APQ8064 CDP"
844 help
845 Support for the Qualcomm APQ8064 CDP device.
846
847config MACH_APQ8064_MTP
848 depends on ARCH_APQ8064
849 bool "APQ8064 MTP"
850 help
851 Support for the Qualcomm APQ8064 MTP device.
852
853config MACH_APQ8064_LIQUID
854 depends on ARCH_APQ8064
855 bool "APQ8064 LIQUID"
856 help
857 Support for the Qualcomm APQ8064 LIQUID device.
858
Joel King064bbf82012-04-01 13:23:39 -0700859config MACH_MPQ8064_CDP
860 depends on ARCH_APQ8064
861 bool "MPQ8064 CDP"
862 help
863 Support for the Qualcomm MPQ8064 CDP device.
864
Joel King11ca8202012-02-13 16:19:03 -0800865config MACH_MPQ8064_HRD
866 depends on ARCH_APQ8064
867 bool "MPQ8064 HRD"
868 help
869 Support for the Qualcomm MPQ8064 HRD device.
870
871config MACH_MPQ8064_DTV
872 depends on ARCH_APQ8064
873 bool "MPQ8064 DTV"
874 help
875 Support for the Qualcomm MPQ8064 DTV device.
876
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700877config MACH_FSM9XXX_SURF
878 depends on ARCH_FSM9XXX
879 depends on !MSM_STACKED_MEMORY
880 default y
881 bool "FSM9XXX SURF"
882 help
883 Support for the Qualcomm FSM9xxx femtocell
884 chipset based SURF evaluation board and
885 FFA board.
886
Daniel Walker4ad15e62010-05-06 13:54:17 -0700887endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800888
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700889config MSM_STACKED_MEMORY
890 bool "Stacked Memory"
891 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800892 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700893 This option is used to indicate the presence of on-die stacked
894 memory. When present this memory bank is used for a high speed
895 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800896
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700897config PHYS_OFFSET
898 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700899 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700900 default "0x80200000" if ARCH_APQ8064
901 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700902 default "0x80200000" if ARCH_MSM8930
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700903 default "0x00000000" if ARCH_MSM8974
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +0530904 default "0x00000000" if ARCH_MPQ8092
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700905 default "0x10000000" if ARCH_FSM9XXX
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700906 default "0x20200000" if ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700907 default "0x00200000" if !MSM_STACKED_MEMORY
908 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
909 default "0x20000000" if ARCH_QSD8X50
910 default "0x40200000" if ARCH_MSM8X60
911 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800912
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700913config KERNEL_MSM_CONTIG_MEM_REGION
914 bool "Enable in-kernel contiguous memory region"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700915 default y if ARCH_MSM8X60
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700916 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700917 help
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700918 Enable the in-kernel contiguous memory allocator. Sets up a
919 region of physically contiguous memory. This memory is
920 reserved during initialization, and can be used
921 generically.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700922
923config KERNEL_PMEM_SMI_REGION
924 bool "Enable in-kernel PMEM region for SMI"
925 default y if ARCH_MSM8X60
926 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
927 help
928 Enable the in-kernel PMEM allocator to use SMI memory.
929
930config PMEM_GPU0
931 bool "Enable PMEM GPU0 region"
932 default y
933 depends on ARCH_QSD8X50 && ANDROID_PMEM
934 help
935 Enable the PMEM GPU0 device on SMI Memory.
936
937config MSM_AMSS_VERSION
938 int
939 default 6210 if MSM_AMSS_VERSION_6210
940 default 6220 if MSM_AMSS_VERSION_6220
941 default 6225 if MSM_AMSS_VERSION_6225
942
943choice
944 prompt "AMSS modem firmware version"
945
946 default MSM_AMSS_VERSION_6225
947
948 config MSM_AMSS_VERSION_6210
949 bool "6.2.10"
950
951 config MSM_AMSS_VERSION_6220
952 bool "6.2.20"
953
954 config MSM_AMSS_VERSION_6225
955 bool "6.2.20 + New ADSP"
956endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800957
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700958config MSM_HAS_DEBUG_UART_HS
Daniel Walkerbf83de42010-03-16 16:29:44 -0700959 bool
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700960 help
961 Say Y here if high speed MSM UART is present.
962
963config MSM_HAS_DEBUG_UART_HS_V14
964 bool
965 select MSM_HAS_DEBUG_UART_HS
966 help
967 Say Y here if high speed MSM UART v1.4 is present.
968
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530969config MSM_DEBUG_UART_PHYS
970 hex
971 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
972 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
973 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
974 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
975 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
976 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
977 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
978 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
979
Brian Swetland9e73c842007-11-26 04:12:13 -0800980choice
981 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800982 depends on DEBUG_LL
Brian Swetland9e73c842007-11-26 04:12:13 -0800983
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800984 config DEBUG_MSM_UART1
985 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530986 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800987 help
988 Say Y here if you want the debug print routines to direct
989 their output to the first serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -0800990
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800991 config DEBUG_MSM_UART2
992 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530993 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800994 help
995 Say Y here if you want the debug print routines to direct
996 their output to the second serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -0800997
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800998 config DEBUG_MSM_UART3
999 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301000 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001001 help
1002 Say Y here if you want the debug print routines to direct
1003 their output to the third serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001004
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001005 config DEBUG_MSM8660_UART
1006 bool "Kernel low-level debugging messages via MSM 8660 UART"
1007 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001008 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001009 help
1010 Say Y here if you want the debug print routines to direct
1011 their output to the serial port on MSM 8660 devices.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001012
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001013 config DEBUG_MSM8960_UART
1014 bool "Kernel low-level debugging messages via MSM 8960 UART"
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001015 depends on ARCH_MSM8960 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001016 select MSM_HAS_DEBUG_UART_HS
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 serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001020
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001021 config DEBUG_MSM8930_UART
1022 bool "Kernel low-level debugging messages via MSM 8930 UART"
1023 depends on ARCH_MSM8930 && DEBUG_LL
1024 select MSM_HAS_DEBUG_UART_HS
1025 help
1026 Say Y here if you want the debug print routines to direct
1027 their output to the serial port on MSM 8930 devices.
1028
1029 config DEBUG_APQ8064_UART
1030 bool "Kernel low-level debugging messages via APQ 8064 UART"
1031 depends on ARCH_APQ8064 && DEBUG_LL
1032 select MSM_HAS_DEBUG_UART_HS
1033 help
1034 Say Y here if you want the debug print routines to direct
1035 their output to the serial port on APQ 8064 devices.
1036
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001037 config DEBUG_MSM8974_UART
1038 bool "Kernel low-level debugging messages via MSM 8974 UART"
1039 depends on ARCH_MSM8974
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001040 select MSM_HAS_DEBUG_UART_HS_V14
1041 help
1042 Say Y here if you want the debug print routines to direct
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001043 their output to the serial port on MSM 8974 devices.
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +05301044
1045 config DEBUG_MPQ8092_UART
1046 bool "Kernel low-level debugging messages via MPQ8092 UART"
1047 depends on ARCH_MPQ8092
1048 select MSM_HAS_DEBUG_UART_HS_V14
1049 help
1050 Say Y here if you want the debug print routines to direct
1051 their output to the serial port on MPQ8092 devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001052endchoice
Brian Swetland9e73c842007-11-26 04:12:13 -08001053
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001054choice
1055 prompt "Default Timer"
1056 default MSM7X00A_USE_GP_TIMER
1057
1058 config MSM7X00A_USE_GP_TIMER
1059 bool "GP Timer"
1060 help
1061 Low resolution timer that allows power collapse from idle.
1062
1063 config MSM7X00A_USE_DG_TIMER
1064 bool "DG Timer"
1065 help
1066 High resolution timer.
1067endchoice
1068
1069choice
1070 prompt "Suspend sleep mode"
1071 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1072 help
1073 Allows overriding the sleep mode used. Leave at power
1074 collapse suspend unless the arm9 image has problems.
1075
1076 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1077 bool "Power collapse suspend"
1078 help
1079 Lowest sleep state. Returns through reset vector.
1080
1081 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1082 bool "Power collapse"
1083 help
1084 Sleep state that returns through reset vector.
1085
1086 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1087 bool "Apps Sleep"
1088
1089 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1090 bool "Ramp down cpu clock and wait for interrupt"
1091
1092 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1093 bool "Wait for interrupt"
1094endchoice
1095
1096config MSM7X00A_SLEEP_MODE
1097 int
1098 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1099 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1100 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1101 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1102 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1103
1104choice
1105 prompt "Idle sleep mode"
1106 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1107 help
1108 Allows overriding the sleep mode used from idle. Leave at power
1109 collapse suspend unless the arm9 image has problems.
1110
1111 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1112 bool "Power collapse suspend"
1113 help
1114 Lowest sleep state. Returns through reset vector.
1115
1116 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1117 bool "Power collapse"
1118 help
1119 Sleep state that returns through reset vector.
1120
1121 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1122 bool "Apps Sleep"
1123
1124 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1125 bool "Ramp down cpu clock and wait for interrupt"
1126
1127 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1128 bool "Wait for interrupt"
1129endchoice
1130
1131config MSM7X00A_IDLE_SLEEP_MODE
1132 int
1133 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1134 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1135 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1136 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1137 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1138
1139config MSM7X00A_IDLE_SLEEP_MIN_TIME
1140 int "Minimum idle time before sleep"
1141 default 20000000
1142 help
1143 Minimum idle time in nanoseconds before entering low power mode.
1144
1145config MSM7X00A_IDLE_SPIN_TIME
1146 int "Idle spin time before cpu ramp down"
1147 default 80000
1148 help
1149 Spin time in nanoseconds before ramping down cpu clock and entering
1150 any low power state.
1151
1152menuconfig MSM_IDLE_STATS
1153 bool "Collect idle statistics"
1154 default y
1155 help
1156 Collect idle statistics and export them in proc/msm_pm_stats.
1157
1158if MSM_IDLE_STATS
1159
1160config MSM_IDLE_STATS_FIRST_BUCKET
1161 int "First bucket time"
1162 default 62500
1163 help
1164 Upper time limit in nanoseconds of first bucket.
1165
1166config MSM_IDLE_STATS_BUCKET_SHIFT
1167 int "Bucket shift"
1168 default 2
1169
1170config MSM_IDLE_STATS_BUCKET_COUNT
1171 int "Bucket count"
1172 default 10
1173
1174config MSM_SUSPEND_STATS_FIRST_BUCKET
1175 int "First bucket time for suspend"
1176 default 1000000000
1177 help
1178 Upper time limit in nanoseconds of first bucket of the
1179 histogram. This is for collecting statistics on suspend.
1180
1181endif # MSM_IDLE_STATS
1182
1183config CPU_HAS_L2_PMU
1184 bool "L2CC PMU Support"
1185 help
1186 Select this if the L2 cache controller has a Performance Monitoring Unit.
1187
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001188config HTC_HEADSET
1189 tristate "HTC 2 Wire detection driver"
1190 default n
1191 help
1192 Provides support for detecting HTC 2 wire devices, such as wired
1193 headset, on the trout platform. Can be used with the msm serial
1194 debugger, but not with serial console.
1195
1196config TROUT_BATTCHG
1197 depends on MACH_TROUT && POWER_SUPPLY
1198 default y
1199 bool "Trout battery / charger driver"
1200
1201config HTC_PWRSINK
1202 depends on MSM_SMD
1203 default n
1204 bool "HTC Power Sink Driver"
1205
1206config QSD_SVS
1207 bool "QSD Static Voltage Scaling"
1208 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1209 default y
1210 select TPS65023
1211 help
1212 Enables static voltage scaling using the TPS65023 PMIC.
1213
1214config QSD_PMIC_DEFAULT_DCDC1
1215 int "PMIC default output voltage"
1216 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1217 default 1250
1218 help
1219 This is the PMIC voltage at Linux kernel boot.
1220
1221config MSM_FIQ_SUPPORT
1222 default y
1223 bool "Enable installation of an FIQ handler."
1224
1225config MSM_SERIAL_DEBUGGER
1226 select MSM_FIQ_SUPPORT
1227 select KERNEL_DEBUGGER_CORE
1228 default n
1229 bool "FIQ Mode Serial Debugger"
1230 help
1231 The FIQ serial debugger can accept commands even when the
1232 kernel is unresponsive due to being stuck with interrupts
1233 disabled. Depends on the kernel debugger core in drivers/misc.
1234
1235config MSM_SERIAL_DEBUGGER_CONSOLE
1236 depends on MSM_SERIAL_DEBUGGER
1237 default n
1238 bool "Console on FIQ Serial Debugger port"
1239 help
1240 Enables a console so that printk messages are displayed on
1241 the debugger serial port as the occur.
Brian Swetland9e73c842007-11-26 04:12:13 -08001242
Gregory Beanab78cde2010-09-01 16:26:12 -07001243config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001244 default y
1245 bool "Proc-Comm RPC Interface"
1246 help
1247 Enables a lightweight communications interface to the
1248 baseband processor.
Gregory Beanab78cde2010-09-01 16:26:12 -07001249
Gregory Bean1963a2a2010-08-28 10:05:44 -07001250config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001251 bool "MSM Shared Memory Driver (SMD)"
1252 help
1253 Support for the shared memory interface between the apps
1254 processor and the baseband processor. Provides access to
1255 the "shared heap", as well as virtual serial channels
1256 used to communicate with various services on the baseband
1257 processor.
1258
1259choice
1260 prompt "MSM Shared memory interface version"
1261 depends on MSM_SMD
1262 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1263 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1264
1265 config MSM_SMD_PKG3
1266 bool
1267 prompt "Package 3"
1268
1269 config MSM_SMD_PKG4
1270 bool
1271 prompt "Package 4"
1272endchoice
1273
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001274config MSM_PCIE
1275 bool "MSM PCIe Controller driver"
1276 depends on PCI && PCI_MSI
1277 help
1278 Enables the PCIe functionality by configures PCIe core on
1279 MSM chipset and by enabling the ARM PCI framework extension.
1280
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001281config MSM_RPC_SDIO_XPRT
1282 depends on MSM_SDIO_AL
1283 default y
1284 bool "MSM SDIO XPRT Layer"
1285 help
1286 SDIO Transport Layer for RPC Rouer
1287
1288config MSM_RPC_SDIO_DEBUG
1289 depends on MSM_RPC_SDIO_XPRT
1290 default y
1291 bool "MSM SDIO XPRT debug support"
1292 help
1293 Support for debugging SDIO XPRT
1294
1295config MSM_SMD_DEBUG
1296 depends on MSM_SMD
1297 default y
1298 bool "MSM SMD debug support"
1299 help
1300 Support for debugging the SMD for communication
1301 between the ARM9 and ARM11
1302
1303config MSM_SDIO_AL
1304 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1305 default y
1306 tristate "SDIO-Abstraction-Layer"
1307 help
1308 Support MSM<->MDM Communication over SDIO bus.
1309 MDM SDIO-Client should have pipes support.
1310
1311config MSM_SDIO_DMUX
1312 bool "SDIO Data Mux Driver"
1313 depends on MSM_SDIO_AL
1314 default n
1315 help
1316 Support Muxed Data Channels over SDIO interface.
1317
1318config MSM_BAM_DMUX
1319 bool "BAM Data Mux Driver"
1320 depends on SPS
1321 default n
1322 help
1323 Support Muxed Data Channels over BAM interface.
1324 BAM has a limited number of pipes. This driver
1325 provides a means to support more logical channels
1326 via muxing than BAM could without muxing.
1327
1328config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001329 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001330 default y
1331 bool "MSM N-WAY SMD support"
1332 help
1333 Supports APPS-QDSP SMD communication along with
1334 normal APPS-MODEM SMD communication.
1335
1336config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001337 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001338 default y
1339 bool "MSM N-WAY SMSM support"
1340 help
1341 Supports APPS-QDSP SMSM communication along with
1342 normal APPS-MODEM SMSM communication.
1343
1344config MSM_RESET_MODEM
1345 tristate "Reset Modem Driver"
1346 depends on MSM_SMD
1347 default m
1348 help
1349 Allows the user to reset the modem through a device node.
1350
1351config MSM_SMD_LOGGING
1352 depends on MSM_SMD
1353 default y
1354 bool "MSM Shared Memory Logger"
1355 help
1356 This option exposes the shared memory logger at /dev/smem_log
1357 and a debugfs node named smem_log.
1358
1359 If in doubt, say yes.
1360
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001361config MSM_IPC_LOGGING
1362 bool "MSM Debug Logging for IPC Drivers"
1363 help
1364 This option allows the debug logging for IPC Drivers.
1365
1366 If in doubt, say no.
1367
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001368config MSM_SMD_NMEA
1369 bool "NMEA GPS Driver"
1370 depends on MSM_SMD
1371 default y
1372 help
1373 Enable this to support the NMEA GPS device.
1374
1375 If in doubt, say yes.
1376
1377config MSM_SDIO_TTY
1378 bool "SDIO TTY Driver"
1379 depends on MSM_SDIO_AL
1380 default n
1381 help
1382 Provides a TTY driver SDIO TTY
1383 This driver can be used by user space
1384 applications for passing data through the
1385 SDIO interface.
1386
1387config MSM_SMD_TTY
1388 bool "SMD TTY Driver"
1389 depends on MSM_SMD
1390 default y
1391 help
1392 Provides TTY interfaces to interact with the modem.
1393
1394 If in doubt, say yes.
1395
1396config MSM_SMD_QMI
1397 bool "SMD QMI Driver"
1398 depends on MSM_SMD
1399 default y
1400 help
1401 Manages network data connections.
1402
1403 If in doubt, say yes.
1404
1405config MSM_SMD_PKT
1406 bool "SMD Packet Driver"
1407 depends on MSM_SMD
1408 default y
1409 help
1410 Provides a binary SMD non-muxed packet port interface.
1411
1412 If in doubt, say yes.
1413
1414config MSM_SDIO_CMUX
1415 bool "SDIO CMUX Driver"
1416 depends on MSM_SDIO_AL
1417 default n
1418 help
1419 Provides a Muxed port interface over SDIO QMI
1420
1421config MSM_DSPS
1422 bool "Sensors DSPS driver"
1423 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1424 default n
1425 help
1426 Provides user-space interface to the sensors manager
1427 to turn on/off the Sensors Processor system clocks.
1428 It is the DSPS responsibility to turn on/off the sensors
1429 themself.
1430 The number of clocks and their name may vary between targets.
1431 It also triggers the PIL to load the DSPS firmware.
1432
1433config MSM_SDIO_CTL
1434 bool "SDIO CTL Driver"
1435 depends on MSM_SDIO_CMUX
1436 default n
1437 help
1438 Provides a binary SDIO control port interface.
1439
1440config MSM_ONCRPCROUTER
1441 depends on MSM_SMD
1442 default n
1443 bool "MSM ONCRPC router support"
1444 help
1445 Support for the MSM ONCRPC router for communication between
1446 the ARM9 and ARM11
1447
1448config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001449 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001450 default n
1451 bool "MSM IPC Router support"
1452 help
1453 Support for the MSM IPC Router for communication between
1454 the APPs and the MODEM
1455
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001456config MSM_IPC_ROUTER_SMD_XPRT
1457 depends on MSM_SMD
1458 depends on MSM_IPC_ROUTER
1459 default n
1460 bool "MSM SMD XPRT Layer"
1461 help
1462 SMD Transport Layer for IPC Router
1463
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001464config MSM_ONCRPCROUTER_DEBUG
1465 depends on MSM_ONCRPCROUTER
1466 default y
1467 bool "MSM debug ONCRPC router support"
1468 help
1469 Support for debugging the ONCRPC router for communication
1470 between the ARM9 and ARM11
1471
1472config MSM_RPC_LOOPBACK_XPRT
1473 depends on MSM_ONCRPCROUTER
1474 default n
1475 bool "MSM RPC local routing support"
1476 help
1477 Support for routing RPC messages between APPS clients
1478 and APPS servers. Helps in testing APPS RPC framework.
1479
1480config MSM_RPCSERVER_TIME_REMOTE
1481 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1482 default y
1483 bool "Time remote RPC server"
1484 help
1485 The time remote server receives notification of time bases and
1486 reports these events to registered callback functions.
1487
1488config MSM_RPCSERVER_WATCHDOG
1489 depends on MSM_ONCRPCROUTER
1490 default y
1491 bool "Watchdog RPC server"
1492 help
1493 The dog_keepalive server handles watchdog events.
1494
1495config MSM_RPC_WATCHDOG
1496 depends on MSM_ONCRPCROUTER
1497 default n
1498 bool "Watchdog RPC client"
1499 help
1500 The dog_keepalive client module.
1501
1502config MSM_RPC_PING
1503 depends on MSM_ONCRPCROUTER && DEBUG_FS
1504 default m
1505 bool "MSM rpc ping"
1506 help
1507 Implements MSM rpc ping test module.
1508
1509config MSM_RPC_PROC_COMM_TEST
1510 depends on DEBUG_FS && MSM_PROC_COMM
1511 default m
1512 bool "MSM rpc proc comm test"
1513 help
1514 Implements MSM rpc proc comm test module.
1515
1516config MSM_RPC_OEM_RAPI
1517 depends on MSM_ONCRPCROUTER
1518 default m
1519 bool "MSM oem rapi"
1520 help
1521 Implements MSM oem rapi client module.
1522
1523config MSM_RPCSERVER_HANDSET
1524 depends on MSM_ONCRPCROUTER
1525 default y
1526 bool "Handset events RPC server"
1527 help
1528 Support for receiving handset events like headset detect,
1529 headset switch and clamshell state.
1530
1531config MSM_RMT_STORAGE_CLIENT
1532 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1533 default n
1534 bool "Remote Storage RPC client"
1535 help
1536 Provide RPC mechanism for remote processors to access storage
1537 device on apps processor.
1538
1539config MSM_RMT_STORAGE_CLIENT_STATS
1540 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1541 default n
1542 bool "Remote storage RPC client performance statistics"
1543 help
1544 Collects performance statistics and shows this information
1545 through a debugfs file rmt_storage_stats.
1546
1547config MSM_SDIO_SMEM
1548 depends on MSM_SDIO_AL
1549 default n
1550 bool "SDIO SMEM for remote storage"
1551 help
1552 Copies data from remote MDM9K memory to local MSM8x60
1553 memory. Used by remote storage client to shadow
1554 MDM9K filesystem.
1555
1556config MSM_DALRPC
1557 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001558 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001559 help
1560 Supports RPC calls to DAL devices on remote processor cores.
1561
1562config MSM_DALRPC_TEST
1563 tristate "DAL RPC test module"
1564 depends on (MSM_DALRPC && DEBUG_FS)
1565 default m
1566 help
1567 Exercises DAL RPC calls to QDSP6.
1568
1569if CPU_FREQ_MSM
1570
1571config MSM_CPU_FREQ_SET_MIN_MAX
1572 bool "Set Min/Max CPU frequencies."
1573 default n
1574 help
1575 Allow setting min and max CPU frequencies. Sysfs can be used
1576 to override these values.
1577
1578config MSM_CPU_FREQ_MAX
1579 int "Max CPU Frequency"
1580 depends on MSM_CPU_FREQ_SET_MIN_MAX
1581 default 384000
1582
1583config MSM_CPU_FREQ_MIN
1584 int "Min CPU Frequency"
1585 depends on MSM_CPU_FREQ_SET_MIN_MAX
1586 default 245760
1587
1588endif # CPU_FREQ_MSM
1589
1590config MSM_CPU_AVS
1591 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1592 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1593 depends on ARCH_QSD8X50
1594 default n
1595 select MSM_AVS_HW
1596 help
1597 This enables the s/w control of Adaptive Voltage Scaling feature
1598 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1599 based on feedback from three ring oscillators in the CPU.
1600
1601config MSM_AVS_HW
1602 bool "Enable Adaptive Voltage Scaling (AVS)"
1603 default n
1604 help
1605 Enable AVS hardware to fine tune voltage at each frequency. The
1606 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1607 fine tune the voltages based on the feedback from the ring
1608 oscillators.
1609
1610config MSM_HW3D
1611 tristate "MSM Hardware 3D Register Driver"
1612 depends on ANDROID_PMEM
1613 default y
1614 help
1615 Provides access to registers needed by the userspace OpenGL|ES
1616 library.
1617
1618config MSM_ADSP
1619 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1620 tristate "MSM ADSP driver"
1621 depends on ANDROID_PMEM
1622 default y
1623 help
1624 Provides access to registers needed by the userspace aDSP library.
1625
1626config ADSP_RPC_VER
1627 hex
1628 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1629 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1630 depends on MSM_ADSP
1631 help
1632 Select proper ADSP RPC version
1633choice
1634 prompt "ADSP RPC version"
1635
1636 default AMSS_7X25_VERSION_2009
1637
1638 config AMSS_7X25_VERSION_2009
1639 bool "2.0.09"
1640
1641 config AMSS_7X25_VERSION_2008
1642 bool "2.0.08"
1643endchoice
1644
1645config MSM7KV2_AUDIO
1646 bool "MSM7K v2 audio"
1647 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1648 default y
1649 help
1650 Enables QDSP5V2-based audio drivers for audio playbacks and
1651 voice call.
1652
1653config MSM_ADSP_REPORT_EVENTS
1654 bool "Report modem events from the DSP"
1655 default y
1656 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1657 help
1658 Normally, only messages from the aDSP are reported to userspace.
1659 With this option, we report events from the aDSP as well.
1660
1661config MSM_QDSP6
1662 tristate "QDSP6 support"
1663 depends on ARCH_QSD8X50 && ANDROID_PMEM
1664 default y
1665 help
1666 Enable support for qdsp6. This provides audio and video functionality.
1667
1668config MSM8X60_AUDIO
1669 tristate "MSM8X60 audio support"
1670 depends on ARCH_MSM8X60 && ANDROID_PMEM
1671 default y
1672 help
1673 Enable support for qdsp6v2. This provides audio functionality.
1674
1675config MSM8X60_FTM_AUDIO_DEVICES
1676 bool "MSM8X60 audio factory test mode support"
1677 depends on MSM8X60_AUDIO
1678 help
1679 Enable support audio factory test mode devices. This is used
1680 in a production line environment.
1681
Ben Romberger45b351c2011-07-20 22:37:27 -07001682config RTAC
1683 bool "MSM8K real-time audio calibration support"
1684 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001685 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001686 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001687 audio operation
1688
1689config MSM7X27A_AUDIO
1690 bool "MSM7X27A audio support"
1691 depends on ARCH_MSM7X27A && MSM_ADSP
1692 default n
1693 help
1694 Enable support for 7x27a. This provides audio functionality.
1695
Justin Pauporea6cd2092011-06-22 16:19:45 -07001696config MSM_PROC_COMM_REGULATOR
Gregory Bean1963a2a2010-08-28 10:05:44 -07001697 bool
Justin Pauporea6cd2092011-06-22 16:19:45 -07001698 depends on MSM_PROC_COMM && REGULATOR
1699 help
1700 Enable regulator framework support for regulators managed by PMLIB
1701 on the modem, and controlled through proccomm calls.
1702
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001703config MSM_VREG_SWITCH_INVERTED
1704 bool "Reverse vreg switch polarity"
1705 default n
1706 help
1707 Reverses the enable and disable for vreg switch.
1708
1709config MSM_DMA_TEST
1710 tristate "MSM DMA test module"
1711 default m
1712 help
1713 Intended to be compiled as a module. Provides a device node
1714 and ioctls for testing the MSM dma system.
1715
1716config WIFI_CONTROL_FUNC
1717 bool "Enable WiFi control function abstraction"
1718 help
1719 Enables Power/Reset/Carddetect function abstraction
1720
1721config WIFI_MEM_PREALLOC
1722 depends on WIFI_CONTROL_FUNC
1723 bool "Preallocate memory for WiFi buffers"
1724 help
1725 Preallocates memory buffers for WiFi driver
1726
1727config QSD_AUDIO
1728 bool "QSD audio"
1729 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1730 default y
1731 help
1732 Provides PCM, MP3, and AAC audio playback.
1733
1734config AUDIO_AAC_PLUS
1735 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1736 bool "AAC+ Audio"
1737 default y
1738 help
1739 Provides AAC+ decoding
1740
1741config AUDIO_ENHANCED_AAC_PLUS
1742 depends on AUDIO_AAC_PLUS
1743 bool "Enhanced AAC+ Audio"
1744 default y
1745 help
1746 Provides Enhanced AAC+ decoding
1747
1748config SURF_FFA_GPIO_KEYPAD
1749 bool "MSM SURF/FFA GPIO keypad"
1750 depends on INPUT_GPIO = "y"
1751 default y
1752 help
1753 Select if the GPIO keypad is attached.
1754
1755config MSM_SLEEP_TIME_OVERRIDE
1756 bool "Allow overriding suspend/sleep time with PM module parameter"
1757 default y
1758 help
1759 Enable the module parameter sleep_time_override. Specified
1760 in units of seconds, it overwrites the normal sleep time of
1761 suspend. The feature is required for automated power management
1762 testing.
1763
1764config MSM_MEMORY_LOW_POWER_MODE
1765 bool "Control the low power modes of memory"
1766 default n
1767 help
1768 The application processor controls whether memory should enter
1769 which low power mode.
1770
1771choice
1772 prompt "Default Memory Low Power Mode during Idle"
1773 depends on MSM_MEMORY_LOW_POWER_MODE
1774 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1775 help
1776 Selects the default low power mode of the memory during idle
1777 sleep.
1778
1779 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1780 bool "Memory active"
1781
1782 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1783 bool "Memory in retention"
1784
1785 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1786 bool "Memory in deep power down"
1787endchoice
1788
1789choice
1790 prompt "Default Memory Low Power Mode during Suspend"
1791 depends on MSM_MEMORY_LOW_POWER_MODE
1792 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1793 help
1794 Selects the default low power mode of the memory during suspend
1795 sleep.
1796
1797 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1798 bool "Memory active"
1799
1800 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1801 bool "Memory in retention"
1802
1803 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1804 bool "Memory in deep power down"
1805endchoice
1806
1807choice
1808 prompt "Power management timeout action"
1809 default MSM_PM_TIMEOUT_HALT
1810 help
1811 Selects the Application Processor's action when Power Management
1812 times out waiting for Modem's handshake.
1813
1814 config MSM_PM_TIMEOUT_HALT
1815 bool "Halt the Application Processor"
1816
1817 config MSM_PM_TIMEOUT_RESET_MODEM
1818 bool "Reset the Modem Processor"
1819
1820 config MSM_PM_TIMEOUT_RESET_CHIP
1821 bool "Reset the entire chip"
1822endchoice
1823
1824config MSM_IDLE_WAIT_ON_MODEM
1825 int "Wait for Modem to become ready for idle power collapse"
1826 default 0
1827 help
1828 If Modem is not ready to handle Application Processor's request
1829 for idle power collapse, wait the number of microseconds in case
1830 Modem becomes ready soon.
1831
Matt Wagantall9274df92011-12-15 11:11:05 -08001832config MSM_RPM_REGULATOR
1833 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001834 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001835 help
1836 Compile in support for the RPM regulator driver, used for setting
1837 voltages and other parameters of the various power rails supplied
1838 by some Qualcomm PMICs.
1839
David Collinsc7642322012-04-04 10:19:12 -07001840config MSM_RPM_REGULATOR_SMD
1841 bool "SMD RPM regulator driver"
1842 depends on REGULATOR
1843 depends on OF
1844 depends on MSM_RPM_SMD
1845 help
1846 Compile in support for the SMD RPM regulator driver which is used for
1847 setting voltages and other parameters of the various power rails
1848 supplied by some Qualcomm PMICs. The SMD RPM regulator driver should
1849 be used on systems which contain an RPM which communicates with the
1850 application processor over SMD.
1851
Stephen Boyd01710582012-07-09 13:40:05 -07001852config MSM_SUBSYSTEM_RESTART
1853 bool "MSM Subsystem Restart"
1854 help
1855 This option enables the MSM subsystem restart framework.
1856
1857 The MSM subsystem restart framework provides support to boot,
1858 shutdown, and restart subsystems with a reference counted API.
1859 It also notifies userspace of transitions between these states via
1860 sysfs.
1861
1862config MSM_SYSMON_COMM
1863 bool "MSM System Monitor communication support"
1864 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1865 help
1866 This option adds support for MSM System Monitor library, which
1867 provides an API that may be used for notifying subsystems within
1868 the SoC about other subsystems' power-up/down state-changes.
1869
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001870config MSM_PIL
1871 bool "Peripheral image loading"
1872 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001873 default n
1874 help
1875 Some peripherals need to be loaded into memory before they can be
1876 brought out of reset.
1877
1878 Say yes to support these devices.
1879
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001880config MSM_PIL_MODEM
1881 tristate "Modem (ARM11) Boot Support"
1882 depends on MSM_PIL
1883 help
1884 Support for booting and shutting down ARM11 Modem processors.
1885
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001886config MSM_PIL_QDSP6V3
1887 tristate "QDSP6v3 (Hexagon) Boot Support"
1888 depends on MSM_PIL
1889 help
1890 Support for booting and shutting down QDSP6v3 processors (hexagon).
1891 The QDSP6 is a low power DSP used in audio software applications.
1892
Stephen Boydeb819882011-08-29 14:46:30 -07001893config MSM_PIL_QDSP6V4
1894 tristate "QDSP6v4 (Hexagon) Boot Support"
1895 depends on MSM_PIL
1896 help
1897 Support for booting and shutting down QDSP6v4 processors (hexagon).
1898 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1899 software applications.
1900
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001901config MSM_PIL_LPASS_QDSP6V5
1902 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
1903 depends on MSM_PIL
1904 help
Matt Wagantall4e2599e2012-03-21 22:31:35 -07001905 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1906 in low power audio subsystems.
1907
1908config MSM_PIL_MSS_QDSP6V5
1909 tristate "MSS QDSP6v5 (Hexagon) Boot Support"
1910 depends on MSM_PIL
1911 help
1912 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1913 in modem subsystems.
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001914
Matt Wagantalle6e00d52012-03-08 17:39:07 -08001915config MSM_PIL_MBA
1916 tristate "Support for modem self-authentication"
1917 depends on MSM_PIL_MSS_QDSP6V5
1918 help
1919 Support for booting self-authenticating modems using the Modem Boot
1920 Authenticator.
Stephen Boyd322a9922011-09-20 01:05:54 -07001921
1922config MSM_PIL_RIVA
Stephen Boydd89eebe2011-09-28 23:28:11 -07001923 tristate "RIVA (WCNSS) Boot Support"
1924 depends on MSM_PIL
1925 help
1926 Support for booting and shutting down the RIVA processor (WCNSS).
1927 Riva is the wireless subsystem processor used in bluetooth, wireless
1928 LAN, and FM software applications.
1929
1930config MSM_PIL_TZAPPS
1931 tristate "TZApps Boot Support"
1932 depends on MSM_PIL
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07001933 help
1934 Support for booting and shutting down TZApps.
1935
1936 TZApps is an image that runs in the secure processor state. It is
1937 used to decrypt data and perform secure operations on the behalf of
1938 the kernel.
1939
1940config MSM_PIL_DSPS
1941 tristate "DSPS Boot Support"
Stephen Boyd7b973de2012-03-09 12:26:16 -08001942 depends on MSM_PIL
1943 help
1944 Support for booting and shutting down ARM7 DSPS processors.
1945
1946 DSPS is a sensors offloading processor used for applications such
1947 as rotation detection, temperature, etc.
Matt Wagantall292aace2012-01-26 19:12:34 -08001948
1949config MSM_PIL_VIDC
1950 tristate "Video Core Secure Boot Support"
1951 depends on MSM_PIL
1952 help
1953 Support for authenticating the video core image.
1954
Tianyi Gou828798d2012-05-02 21:12:38 -07001955config MSM_PIL_VENUS
1956 tristate "VENUS (Video) Boot Support"
1957 depends on MSM_PIL
1958 help
1959 Support for booting and shutting down the VENUS processor (Video).
1960 Venus is the Video subsystem processor used for video codecs.
1961
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001962config MSM_PIL_GSS
1963 tristate "GSS (Coretx A5) Boot Support"
1964 depends on MSM_PIL
1965 help
1966 Support for booting and shutting down Cortex A5 processors which run
1967 GPS subsystem firmware.
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001968
Tianyi Gouc1e049f82011-11-23 14:20:16 -08001969config MSM_PIL_PRONTO
1970 tristate "PRONTO (WCNSS) Boot Support"
1971 depends on MSM_PIL
1972 help
1973 Support for booting and shutting down the PRONTO processor (WCNSS).
1974 PRONTO is the wireless subsystem processor used in bluetooth, wireless
1975 LAN, and FM software applications.
1976
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001977config MSM_SCM
1978 bool "Secure Channel Manager (SCM) support"
1979 default n
1980
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001981config MSM_MODEM_8960
1982 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001983 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001984 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001985 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001986 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001987 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001988
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001989config MSM_LPASS_8960
1990 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001991 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001992 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001993 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001994 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001995 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001996
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001997config MSM_WCNSS_SSR_8960
1998 tristate "MSM 8960 WCNSS restart module"
1999 depends on (ARCH_MSM8960)
2000 help
2001 This option enables the WCNSS restart module for MSM8960, which
2002 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
2003 into the subsystem restart framework.
2004
Rohit Vaswanid0fb4182012-03-19 18:07:59 -07002005config MSM_GSS_SSR_8064
2006 bool "MSM 8064 GSS restart driver"
2007 depends on (ARCH_APQ8064)
2008 help
2009 This option enables the gps subsystem restart driver for APQ8064, which monitors
2010 gss hardware watchdog interrupt lines and plugs into the subsystem
2011 restart and PIL drivers.
2012
Vikram Mulukutla74f95262012-06-25 10:21:41 -07002013config MSM_MODEM_SSR_8974
2014 bool "MSM 8974 Modem restart driver"
2015 depends on (ARCH_MSM8974)
2016 help
2017 This option enables the modem subsystem restart driver for the MSM8974.
2018 It monitors the modem SMSM status bits and the modem watchdog line and
2019 restarts the modem or the 8974 when the modem encounters a fatal error,
2020 depending on the restart level selected in the subsystem restart driver.
2021
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002022config SCORPION_Uni_45nm_BUG
2023 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
2024 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
2025 default y
2026 help
2027 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
2028 invalidating the Branch Predictor Array by Modified Virtual Address can
2029 create invalid entries in the TLB with the wrong ASID values on Scorpion
2030 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
2031 workaround for Scorpion Uniprocessor 45nm cores.
2032
2033 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
2034
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002035config MSM_BUSPM_DEV
2036 tristate "MSM Bus Performance Monitor Kernel Module"
2037 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
2038 default m
2039 help
2040 This kernel module is used to mmap() hardware registers for the
2041 performance monitors, counters, etc. The module can also be used to
2042 allocate physical memory which is used by bus performance hardware to
2043 dump performance data.
2044
Mona Hossain11c03ac2011-10-26 12:42:10 -07002045config MSM_TZ_LOG
2046 tristate "MSM Trust Zone (TZ) Log Driver"
2047 depends on DEBUG_FS
2048 help
2049 This option enables a driver with a debugfs interface for messages
2050 produced by the Secure code (Trust zone). These messages provide
2051 diagnostic information about TZ operation.
2052
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002053config MSM_RPM_LOG
2054 tristate "MSM Resource Power Manager Log Driver"
2055 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002056 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002057 default n
2058 help
2059 This option enables a driver which can read from a circular buffer
2060 of messages produced by the RPM. These messages provide diagnostic
2061 information about RPM operation. The driver outputs the messages
2062 via a debugfs node.
2063
2064config MSM_RPM_STATS_LOG
2065 tristate "MSM Resource Power Manager Stat Driver"
2066 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002067 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002068 default n
2069 help
2070 This option enables a driver which reads RPM messages from a shared
2071 memory location. These messages provide statistical information about
2072 the low power modes that RPM enters. The drivers outputs the message
2073 via a debugfs node.
2074
Girish Mahadevan898c56d2012-06-05 16:09:19 -06002075config MSM_RPM_RBCPR_STATS_LOG
2076 tristate "MSM Resource Power Manager RPBCPR Stat Driver"
2077 depends on DEBUG_FS
2078 depends on MSM_RPM
2079 help
2080 This option enables a driver which reads RPM messages from a shared
2081 memory location. These messages provide statistical information about
2082 RBCPR (Rapid Bridge Core Power Reduction) information . The drivers
2083 outputs the message via a debugfs node.
2084
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002085config MSM_DIRECT_SCLK_ACCESS
2086 bool "Direct access to the SCLK timer"
2087 default n
2088
2089config IOMMU_API
2090 bool
Gregory Bean1963a2a2010-08-28 10:05:44 -07002091
Brian Swetland9e73c842007-11-26 04:12:13 -08002092config MSM_GPIOMUX
2093 bool
2094
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002095config MSM_SECURE_IO
Brian Swetland9e73c842007-11-26 04:12:13 -08002096 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002097
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002098config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002099 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002100
Taniya Dascd1d0232012-07-03 17:50:47 +05302101config MSM_MODEM_RESTART
2102 bool
2103
Matt Wagantall88b86312012-01-31 16:53:03 -08002104config MSM_PM2
2105 depends on PM
2106 bool
2107
2108config MSM_PM8X60
2109 depends on PM
2110 bool
2111
2112config MSM_NOPM
2113 default y if !PM
2114 bool
2115
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002116config MSM_BUS_SCALING
2117 bool "Bus scaling driver"
2118 default n
2119
Gagan Mac85c70492011-06-10 16:07:47 -06002120config MSM_BUS_RPM_MULTI_TIER_ENABLED
2121 bool "RPM Multi-tiering Configuration"
2122 depends on MSM_BUS_SCALING
2123
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002124config MSM_WATCHDOG
2125 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002126 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002127 help
2128 This enables the watchdog as is present on 8x60. Currently we use
2129 core 0's watchdog, and reset the entire SoC if it times out. It does
2130 not run during the bootup process, so it will not catch any early
2131 lockups.
2132
Hanumant Singhd1f01022012-07-05 14:21:53 -07002133config MSM_WATCHDOG_V2
2134 bool "MSM Watchdog Support"
2135 help
2136 This enables the watchdog module. It causes kernel panic if the
2137 watchdog times out. It allows for detection of cpu hangs and
2138 deadlocks. It does not run during the bootup process, so it will
2139 not catch any early lockups.
2140
Hanumant Singh5e2541c2012-07-31 14:41:14 -07002141config MSM_MEMORY_DUMP
2142 bool "MSM Memory Dump Support"
2143 help
2144 This enables memory dump feature. It allows various client
2145 subsystems to register respective dump regions. At the time
2146 of deadlocks or cpu hangs these dump regions are captured to
2147 give a snapshot of the system at the time of the crash.
2148
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002149config MSM_DLOAD_MODE
2150 bool "Enable download mode on crashes"
Subbaraman Narayanamurthye31f2792012-08-22 21:07:22 -07002151 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_MSM8974
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002152 default n
2153 help
2154 This makes the SoC enter download mode when it resets
2155 due to a kernel panic. Note that this doesn't by itself
2156 make the kernel reboot on a kernel panic - that must be
2157 enabled via another mechanism.
2158
Pratik Patel17f3b822011-11-21 12:41:47 -08002159config MSM_JTAG
Pratik Patel2963de42012-05-17 12:43:40 -07002160 bool "JTAG and kernel debug and trace support across power collapse"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002161 help
Pratik Patel2963de42012-05-17 12:43:40 -07002162 Enables support for kernel debugging (specifically breakpoints) and
2163 processor tracing across power collapse both for JTag and OS hosted
2164 software running on the target. Enabling this will ensure debug
2165 and ETM registers are saved and restored across power collapse.
2166
2167 For production builds, you should probably say 'N' here to avoid
2168 potential power, performance and memory penalty.
Pratik Patel7831c082011-06-08 21:44:37 -07002169
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002170config MSM_ETM
2171 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002172 depends on ARCH_MSM8X60
2173 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002174 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002175 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002176
Lynus Vazdde09ee2012-01-05 13:28:22 +05302177config MSM_SLEEP_STATS_DEVICE
2178 bool "Enable exporting of MSM sleep device stats to userspace"
2179
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302180config MSM_RUN_QUEUE_STATS
2181 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Krishna Vankae2922052012-03-02 09:59:12 +05302182 depends on (MSM_SOC_REV_A || ARCH_MSM8X60 || ARCH_MSM8960)
2183 help
2184 This option enalbes statistics collection on Run Queue. A daemon
2185 in user mode, called MPDecision will be using this data to decide
2186 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302187
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002188config MSM_STANDALONE_POWER_COLLAPSE
2189 bool "Enable standalone power collapse"
2190 default n
2191
2192config MSM_GSBI9_UART
2193 bool "Enable GSBI9 UART device"
2194 default n
2195 help
2196 This enables GSBI9 configured into UART.
2197
2198config MSM_SHARED_GPIO_FOR_UART2DM
2199 bool "Use shared GPIOs into UART mode"
2200 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2201 help
2202 This option configures GPIO muxed with SDC4/MMC3
2203 8-bit mode into UART mode. It is used for serial
2204 console on UART2DM. Say Y if you want to have
2205 serial console on UART2DM.
2206
2207config MSM_SHOW_RESUME_IRQ
2208 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002209 depends on (ARM_GIC || PMIC8058)
2210 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002211 default n
2212 help
2213 This option logs wake up interrupts that have triggered just before
2214 the resume loop unrolls. Say Y if you want to debug why the system
2215 resumed.
2216
2217config BT_MSM_PINTEST
2218 tristate "MSM Bluetooth Pin Connectivity Test"
2219 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2220 default n
2221 help
2222 Bluetooth MSM Pin Connectivity test module.
2223 This driver provides support for verifying the MSM to BT pin
2224 connectivity.
2225
2226config MSM_FAKE_BATTERY
2227 depends on POWER_SUPPLY
2228 default n
2229 bool "MSM Fake Battery"
2230 help
2231 Enables MSM fake battery driver.
2232
2233config MSM_QDSP6_APR
2234 bool "Audio QDSP6 APR support"
2235 depends on MSM_SMD
2236 default n
2237 help
2238 Enable APR IPC protocol support between
2239 application processor and QDSP6. APR is
2240 used by audio driver to configure QDSP6's
2241 ASM, ADM and AFE.
2242
Joonwoo Park91d95462012-08-02 10:55:54 -07002243config MSM_QDSP6_APRV2
2244 bool "Audio QDSP6 APRv2 support"
2245 depends on MSM_SMD
2246 default n
2247 help
2248 Enable APRv2 IPC protocol support between
2249 application processor and QDSP6. APR is
2250 used by audio driver to configure QDSP6's
2251 ASM, ADM and AFE.
2252
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -07002253config MSM_QDSP6_CODECS
2254 bool "Audio Codecs on QDSP6 APR "
2255 depends on MSM_SMD
2256 default n
2257 help
2258 Enable Audio codecs with 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.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002262
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002263config MSM_QDSP6V2_CODECS
2264 bool "Audio QDSP6V2 APR support"
2265 depends on MSM_SMD
2266 help
2267 Enable Audio codecs with APR IPC protocol support between
2268 application processor and QDSP6 for B-family. APR is
2269 used by audio driver to configure QDSP6's
2270 ASM, ADM and AFE.
2271
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002272config MSM_AUDIO_QDSP6
2273 bool "QDSP6 HW Audio support"
2274 select SND_SOC_MSM_QDSP6_INTF
2275 default n
2276 help
2277 Enable HW audio support in QDSP6.
2278 QDSP6 can support HW encoder & decoder and audio processing
2279
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002280config MSM_AUDIO_QDSP6V2
2281 bool "QDSP6V2 HW Audio support"
2282 select SND_SOC_MSM_QDSP6V2_INTF
2283 help
2284 Enable HW audio support in QDSP6V2.
2285 QDSP6V2 can support HW encoder & decoder and
2286 audio processing. It will enable support for
2287 AAC, AMRNB, AMRWB, EVRC, MP3, QCELP among
2288 others.
2289
Joonwoo Park4a14a552012-08-02 11:03:21 -07002290config MSM_ADSP_LOADER
2291 tristate "ADSP loader support"
2292 select SND_SOC_MSM_APRV2_INTF
2293 depends on MSM_AUDIO_QDSP6V2 && m
2294 help
2295 Enable ADSP image loader.
2296 The ADSP loader brings ADSP out of reset
2297 for the platforms that use APRv2.
2298 Say M if you want to enable this module.
2299
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002300config MSM_ULTRASOUND
2301 bool "MSM ultrasound support"
2302 depends on MSM_AUDIO_QDSP6
2303 help
2304 Enable support for qdsp6/ultrasound.
2305
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002306config MSM_RPC_VIBRATOR
2307 bool "RPC based MSM Vibrator Support"
2308 depends on MSM_ONCRPCROUTER
2309 help
2310 Enable the vibrator support on MSM over RPC. The vibrator
2311 is connected on the PMIC. Say Y if you want to enable this
2312 feature.
2313
2314config PM8XXX_RPC_VIBRATOR
2315 bool "RPC based Vibrator on PM8xxx PMICs"
2316 depends on MSM_RPC_VIBRATOR
2317 help
2318 Enable the vibrator support on MSM over RPC. The vibrator
2319 is connected on the PM8XXX PMIC. Say Y if you want to enable
2320 this feature.
2321
2322config MSM_SPM_V1
2323 bool "Driver support for SPM Version 1"
2324 help
2325 Enables the support for Version 1 of the SPM driver. SPM hardware is
2326 used to manage the processor power during sleep. The driver allows
2327 configuring SPM to allow different power modes.
2328
2329config MSM_SPM_V2
2330 bool "Driver support for SPM Version 2"
2331 help
2332 Enables the support for Version 2 of the SPM driver. SPM hardware is
2333 used to manage the processor power during sleep. The driver allows
2334 configuring SPM to allow different power modes.
2335
2336config MSM_L2_SPM
2337 bool "SPM support for L2 cache"
2338 depends on MSM_SPM_V2
2339 help
2340 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2341 control of L2 cache low power mode with a Subsystem Power manager.
2342 Enabling this driver allows configuring L2 SPM for low power modes
2343 on supported chipsets.
2344
Laura Abbott2d1760b2011-09-29 21:31:24 -07002345config MSM_MULTIMEDIA_USE_ION
2346 bool "Multimedia suport using Ion"
2347 depends on ION_MSM
2348 help
2349 Enable support for multimedia drivers using Ion for buffer management
2350 instead of pmem. Selecting this may also involve userspace
2351 dependencies as well.
2352
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002353config MSM_OCMEM
2354 bool "MSM On-Chip memory driver (OCMEM)"
2355 help
2356 Enable support for On-Chip Memory available on certain MSM chipsets.
2357 OCMEM is a low latency, high performance pool shared by subsystems.
2358
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002359config MSM_OCMEM_LOCAL_POWER_CTRL
2360 bool "OCMEM Local Power Control"
2361 depends on MSM_OCMEM
2362 help
2363 Enable direct power management of the OCMEM core by the
2364 OCMEM driver. By default power management is delegated to
2365 the RPM. Selecting this option causes the OCMEM driver to
2366 directly handle the various macro power transitions.
2367
2368config MSM_OCMEM_DEBUG
2369 bool "OCMEM Debug Support"
2370 depends on MSM_OCMEM
2371 help
2372 Enable debug options for On-chip Memory (OCMEM) driver.
2373 Various debug options include memory, power and latency.
2374 Choosing one of these options allows debugging of each
2375 individual subsystem separately.
2376
Naveen Ramarajc71b2de2012-08-20 12:35:52 -07002377config MSM_OCMEM_NONSECURE
2378 bool "OCMEM Non Secure Mode"
2379 depends on MSM_OCMEM_DEBUG
2380 help
2381 Disable OCMEM interaction with secure processor.
2382 By default OCMEM is secured and accesses for each master
2383 is requested by the OCMEM driver. Selecting this option
2384 causes the OCMEM memory to be in non-secure state unless
2385 its locked down by the secure processor.
2386
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002387config MSM_OCMEM_POWER_DEBUG
2388 bool "OCMEM Power Debug Support"
2389 depends on MSM_OCMEM_DEBUG
2390 help
2391 Enable debug support for OCMEM power management.
2392 This adds support for verifying all power management
2393 related operations of OCMEM. Both local power management
2394 and RPM assisted power management operations are supported.
2395
Naveen Ramaraj4b1d9392012-08-06 21:05:14 -07002396config MSM_OCMEM_POWER_DISABLE
2397 bool "OCMEM Disable Power Control"
2398 depends on MSM_OCMEM_DEBUG
2399 help
2400 Disable all OCMEM power management.
2401 This keeps all OCMEM macros turned ON at all times thus
2402 never allowing them to be turned OFF. Both local power
2403 management and RPM assisted power modes are supported.
2404
Laura Abbottad340ff2012-01-04 14:23:48 -08002405config MSM_RTB
2406 bool "Register tracing"
2407 help
2408 Add support for logging different events to a small uncached
2409 region. This is designed to aid in debugging reset cases where the
2410 caches may not be flushed before the target resets.
2411
2412config MSM_RTB_SEPARATE_CPUS
2413 bool "Separate entries for each cpu"
2414 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002415 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002416 help
2417 Under some circumstances, it may be beneficial to give dedicated space
2418 for each cpu to log accesses. Selecting this option will log each cpu
2419 separately. This will guarantee that the last acesses for each cpu
2420 will be logged but there will be fewer entries per cpu
2421
Stepan Moskovchenko57884842012-06-07 17:35:49 -07002422config MSM_EBI_ERP
2423 bool "External Bus Interface (EBI) error reporting"
2424 help
2425 Say 'Y' here to enable reporting of external bus interface errors to
2426 the kernel log. Information such as the offending address and
2427 transaction type will be logged. This may be useful for debugging
2428 seemingly broken memory accesses.
2429
2430 For production builds, you should probably say 'N' here.
2431
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002432config MSM_CACHE_ERP
2433 bool "Cache / CPU error reporting"
2434 depends on ARCH_MSM_KRAIT
2435 help
2436 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2437 log. Enabling this feature can be used as a system debugging technique
2438 if cache corruption is suspected. Cache error statistics will also be
2439 reported in /proc/cpu/msm_cache_erp.
2440
2441 For production builds, you should probably say 'N' here.
2442
2443config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002444 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002445 depends on MSM_CACHE_ERP
2446 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002447 To cause the kernel to panic whenever an L1 cache error is detected, say
2448 'Y' here. This may be useful as a debugging technique if general system
2449 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002450
2451 For production builds, you should probably say 'N' here.
2452
Stepan Moskovchenko7035f652012-05-31 17:48:01 -07002453config MSM_L1_ERR_LOG
2454 bool "Log CPU ERP events to system memory"
2455 depends on MSM_CACHE_ERP
2456 help
2457 Enable logging CPU ERP events to an area of memory that will be
2458 preserved across a system reset. This may be useful for detecting and
2459 troubleshooting ERP-related system crashes in the field.
2460
2461 For production builds, you may want to say 'Y' here.
2462
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002463config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2464 bool "Report L2 master port slave/decode errors in kernel log"
2465 depends on MSM_CACHE_ERP
2466 help
2467 Master port errors can occur when a memory request is not properly
2468 handled by the destination slave. This can occur if the destination
2469 register does not exist or is inaccessible due to security
2470 restrictions or (in some cases) clock configuration. Enabling this
2471 option will cause a backtrace to be printed to the kernel log whenever
2472 such an error is encountered. Note that the error is reported as an
2473 interrupt rather than as an exception, meaning that the backtrace may
2474 have some skid. This option may help with debugging, though production
2475 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002476
2477config MSM_L2_ERP_PORT_PANIC
2478 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002479 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002480 help
2481 Master port errors can occur when a memory request is not properly
2482 handled by the destination slave. Enable this option to catch drivers
2483 which attempt to access bad areas of the address space, or access
2484 hardware registers in an improper state (such as certain clocks not
2485 being on). This option may help with debugging, though production
2486 builds should probably say 'N' here.
2487
2488config MSM_L2_ERP_1BIT_PANIC
2489 bool "Panic on recoverable L2 soft errors"
2490 depends on MSM_CACHE_ERP
2491 help
2492 Enable this option to cause a kernel panic whenever the L2 cache
2493 encounters a single-bit (correctable) soft error. This option should
2494 only be enabled when doing low-level debugging where cache corruption
2495 is suspected.
2496
2497 For production builds, you should definitely say 'N' here.
2498
2499config MSM_L2_ERP_2BIT_PANIC
2500 bool "Panic on unrecoverable L2 soft errors"
2501 depends on MSM_CACHE_ERP
2502 help
2503 Enable this option to cause a kernel panic whenever the L2 cache
2504 encounters a double-bit (non-correctable) soft error. Debug builds
2505 will likely benefit from having this option enabled to catch cache
2506 problems as soon as possible.
2507
2508 For production builds, it may be acceptable to say 'N' here, since
2509 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002510
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002511config MSM_DCVS
2512 bool "Use MSM DCVS for CPU/GPU Frequency control"
2513 depends on MSM_SCM
2514 help
2515 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2516 The DCVS manager allows idle driver to feed the idle information to the
2517 algorithm and the algorithm returns a frequency for the core which is
2518 passed to the frequency change driver.
2519
Pankaj Kumar32ce1ea2012-04-04 20:29:29 +05302520config MSM_CPR
2521 tristate "Use MSM CPR in S/W mode"
2522 help
2523 Enable CPR (core power reduction) in S/W mode, where the processor
2524 get's the notification from CPR block and programs the PMIC.
2525
2526config MSM_VP_REGULATOR
2527 tristate "Use MSM PMIC8029 C2 regulator"
2528 depends on ARCH_MSM8625
2529 help
2530 Enable MSM PMIC8029 C2 regulator support using APC_PLEVEL access
2531 for MSMs like 8625.
2532
Taniya Dasc43e6872012-03-21 16:41:14 +05302533config HAVE_ARCH_HAS_CURRENT_TIMER
2534 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002535
2536config MSM_CACHE_DUMP
2537 bool "Cache dumping support"
2538 help
2539 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2540 This allows for analysis of the caches in case cache corruption is
2541 suspected.
2542
Laura Abbott7b637362012-03-29 16:43:49 -07002543config MSM_CACHE_DUMP_ON_PANIC
2544 bool "Dump caches on panic"
2545 depends on MSM_CACHE_DUMP
2546 help
2547 By default, the caches are flushed on panic. This means that trying to
2548 look at them in a RAM dump will give useless data. Select this if you
2549 want to dump the L1 and L2 caches on panic before any flush occurs.
2550 If unsure, say N
2551
Jack Phamccbbfab2012-04-09 19:50:20 -07002552config MSM_HSIC_SYSMON
2553 tristate "MSM HSIC system monitor driver"
2554 depends on USB
2555 help
2556 Add support for bridging with the system monitor interface of MDM
2557 over HSIC. This driver allows the local system monitor to
2558 communicate with the remote system monitor interface.
2559
2560config MSM_HSIC_SYSMON_TEST
2561 tristate "MSM HSIC system monitor bridge test"
2562 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2563 help
2564 Enable the test hook for the Qualcomm system monitor HSIC driver.
2565 This will create a debugfs file entry named "hsic_sysmon_test" which
2566 can be read and written to send character data to the sysmon port of
2567 the modem over USB.
2568
Brian Swetland9e73c842007-11-26 04:12:13 -08002569endif