blob: 66b89f5391b9e255c06a625031bc62c0ddbf1029 [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
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +0200179 select MSM_ULTRASOUND_A
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800180
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700181config ARCH_MSM8930
182 bool "MSM8930"
183 select ARCH_MSM_KRAITMP
184 select ARM_GIC
185 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700186 select GPIO_MSM_V2
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700187 select MSM_GPIOMUX
188 select MSM_SCM if SMP
189 select MSM_DIRECT_SCLK_ACCESS
190 select REGULATOR
David Collins5779cea2012-01-05 15:09:21 -0800191 select MSM_RPM_REGULATOR
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700192 select MSM_RPM
193 select MSM_XO
194 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700195 select MSM_QDSP6_CODECS
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700196 select MSM_PIL
197 select MSM_AUDIO_QDSP6 if SND_SOC
198 select CPU_HAS_L2_PMU
199 select MSM_SPM_V2
200 select MSM_L2_SPM
201 select MSM_NATIVE_RESTART
202 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600203 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700204 select ARCH_SPARSEMEM_ENABLE
205 select ARCH_HAS_HOLES_MEMORYMODEL
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +0200206 select MSM_ULTRASOUND_A
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530207 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800208 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700209 select HOLES_IN_ZONE if SPARSEMEM
Laura Abbottb14ed962012-01-30 14:18:08 -0800210 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700211 select MSM_KRAIT_WFE_FIXUP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700212
213config ARCH_APQ8064
214 bool "APQ8064"
215 select ARCH_MSM_KRAITMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700216 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700217 select ARM_GIC
218 select CPU_V7
219 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700220 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600221 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800222 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800223 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700224 select MSM_QDSP6_CODECS
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800225 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530226 select MULTI_IRQ_HANDLER
Praveen Chidambaram78499012011-11-01 17:15:17 -0600227 select MSM_RPM
228 select MSM_SPM_V2
229 select MSM_L2_SPM
Matt Wagantall88b86312012-01-31 16:53:03 -0800230 select MSM_PM8X60 if PM
Neil Leeder814d3d32012-01-19 17:21:43 -0500231 select CPU_HAS_L2_PMU
Laura Abbott085dd202012-03-30 14:02:34 -0700232 select HOLES_IN_ZONE if SPARSEMEM
Larry Bassel67b921d2012-04-06 10:23:27 -0700233 select CLEANCACHE
234 select QCACHE
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -0600235 select MIGHT_HAVE_PCI
236 select ARCH_SUPPORTS_MSI
Laura Abbottb14ed962012-01-30 14:18:08 -0800237 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700238 select MSM_KRAIT_WFE_FIXUP
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +0200239 select MSM_ULTRASOUND_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700240
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700241config ARCH_MSM8974
242 bool "MSM8974"
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700243 select ARCH_MSM_KRAITMP
Sathish Ambley4149e842012-03-23 11:53:55 -0700244 select GPIO_MSM_V3
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700245 select ARM_GIC
246 select CPU_V7
247 select MSM_SCM if SMP
248 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530249 select MULTI_IRQ_HANDLER
Olav Hauganb800c8c2012-01-30 08:50:45 -0800250 select MSM_MULTIMEDIA_USE_ION
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700251 select MSM_PIL
Praveen Chidambaramaa9d52b2012-04-02 11:09:47 -0600252 select MSM_SPM_V2
253 select MSM_L2_SPM
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700254 select MSM_NATIVE_RESTART
255 select MSM_RESTART_V2
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600256 select MSM_PM8X60 if PM
Steve Mucklef132c6c2012-06-06 18:30:57 -0700257 select MAY_HAVE_SPARSE_IRQ
258 select SPARSE_IRQ
Mahesh Sivasubramaniancb668712012-04-04 13:03:25 -0600259 select MSM_RPM_SMD
David Collinsc7642322012-04-04 10:19:12 -0700260 select REGULATOR
Joonwoo Park91d95462012-08-02 10:55:54 -0700261 select MSM_QDSP6_APRV2
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -0700262 select MSM_QDSP6V2_CODECS
263 select MSM_AUDIO_QDSP6V2 if SND_SOC
David Collins1c91ea72012-05-03 16:17:35 -0700264 select MSM_RPM_REGULATOR_SMD
Laura Abbottb14ed962012-01-30 14:18:08 -0800265 select ARM_HAS_SG_CHAIN
Karthik Parsha404fb8f2012-07-30 19:14:05 -0700266 select MSM_RUN_QUEUE_STATS
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700267
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +0530268config ARCH_MPQ8092
269 bool "MPQ8092"
270 select ARCH_MSM_KRAITMP
271 select GPIO_MSM_V3
272 select ARM_GIC
273 select MULTI_IRQ_HANDLER
274 select CPU_V7
275 select MSM_GPIOMUX
276 select MAY_HAVE_SPARSE_IRQ
277 select SPARSE_IRQ
278 select MSM_NOPM
279
Syed Rameez Mustafa90f80502012-08-23 17:27:24 -0700280config ARCH_MSM8226
281 bool "MSM8226"
282 select ARCH_MSM_KRAITMP
283 select GPIO_MSM_V3
284 select ARM_GIC
285 select CPU_V7
286 select MSM_SCM if SMP
287 select MSM_GPIOMUX
288 select MULTI_IRQ_HANDLER
289 select MSM_MULTIMEDIA_USE_ION
290 select MSM_PIL
291 select MSM_SPM_V2
292 select MSM_L2_SPM
293 select MSM_PM8X60 if PM
294 select MAY_HAVE_SPARSE_IRQ
295 select SPARSE_IRQ
296 select MSM_RPM_SMD
297 select REGULATOR
298 select MSM_QDSP6_APRV2
299 select MSM_QDSP6V2_CODECS
300 select MSM_AUDIO_QDSP6V2 if SND_SOC
301 select MSM_RPM_REGULATOR_SMD
302 select ARM_HAS_SG_CHAIN
303
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700304config ARCH_FSM9XXX
305 bool "FSM9XXX"
306 select ARCH_MSM_SCORPION
307 select MSM_VIC
308 select CPU_V7
309 select MSM_REMOTE_SPINLOCK_LDREX
Steve Mucklef132c6c2012-06-06 18:30:57 -0700310 select GPIO_FSM9XXX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530311 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800312 select MSM_DALRPC
Daniel Walker4ad15e62010-05-06 13:54:17 -0700313
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700314config ARCH_MSM9615
315 bool "MSM9615"
316 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530317 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700318 select ARCH_MSM_CORTEX_A5
319 select CPU_V7
Rohit Vaswani4307c842012-10-11 15:50:05 -0700320 select MIGHT_HAVE_CACHE_L2X0
Steve Mucklef132c6c2012-06-06 18:30:57 -0700321 select GPIO_MSM_V2
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700322 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600323 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600324 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700325 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800326 select REGULATOR
327 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530328 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800329 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800330 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700331 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800332 select MSM_QDSP6_APR
333 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800334 select FIQ
Laura Abbottb14ed962012-01-30 14:18:08 -0800335 select ARM_HAS_SG_CHAIN
Matt Wagantall9274df92011-12-15 11:11:05 -0800336
Taniya Das43bcdd62011-12-02 17:33:27 +0530337config ARCH_MSM8625
338 bool "MSM8625"
339 select ARCH_MSM_CORTEX_A5
340 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700341 select GPIO_MSM_V1
Taniya Das43bcdd62011-12-02 17:33:27 +0530342 select MSM_GPIOMUX
343 select ARM_GIC
344 select ARCH_MSM_CORTEXMP
345 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530346 select ARM_TICKET_LOCKS
Krishna Vankae2922052012-03-02 09:59:12 +0530347 select MSM_RUN_QUEUE_STATS
Trilok Sonib856ab92012-06-26 14:33:28 +0530348 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530349 select ARM_HAS_SG_CHAIN
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700350
351config ARCH_MSM9625
352 bool "MSM9625"
353 select ARM_GIC
354 select GIC_SECURE
Abhimanyu Kapur490d20c2012-06-22 17:34:20 -0700355 select MIGHT_HAVE_CACHE_L2X0
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700356 select ARCH_MSM_CORTEX_A5
357 select SMP
358 select MSM_SMP
359 select CPU_V7
Jin Hong690e3352012-05-02 09:25:05 -0700360 select MSM_GPIOMUX
Girish Mahadevanf1c20a42012-09-19 11:44:36 -0600361 select MSM_RPM_SMD
Abhimanyu Kapur46e5e2b2012-10-02 20:45:37 -0700362 select MSM_NATIVE_RESTART
363 select MSM_RESTART_V2
Girish Mahadevan6e419562012-09-19 12:50:05 -0600364 select MSM_SPM_V2
365 select MSM_PM8X60 if PM
366 select MSM_SCM if SMP
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700367 select MULTI_IRQ_HANDLER
Rohit Vaswani61cf6ef2012-07-27 13:51:48 -0700368 select GPIO_MSM_V3
David Collins1cc6e402012-09-17 16:02:24 -0700369 select MAY_HAVE_SPARSE_IRQ
370 select SPARSE_IRQ
Mitchel Humpherys92e9b8a2012-10-08 18:12:47 -0700371 select MSM_MULTIMEDIA_USE_ION
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700372
373config ARCH_MSM8910
374 bool "MSM8910"
375 select ARM_GIC
376 select GIC_SECURE
377 select SMP
378 select ARCH_MSM_CORTEXMP
379 select CPU_V7
380 select MSM_SCM if SMP
381 select MAY_HAVE_SPARSE_IRQ
382 select SPARSE_IRQ
383 select MULTI_IRQ_HANDLER
384 select GPIO_MSM_V3
385 select MSM_GPIOMUX
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700386endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700387
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700388choice
389 prompt "MSM SoC Revision"
390 default MSM_SOC_REV_NONE
391config MSM_SOC_REV_NONE
392 bool "N/A"
393 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
394 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walkerbf83de42010-03-16 16:29:44 -0700395config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700396 bool "Rev. A"
397 select ARCH_MSM7X27A if ARCH_MSM7X27
Daniel Walkerbf83de42010-03-16 16:29:44 -0700398endchoice
399
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700400config MSM_KRAIT_TBB_ABORT_HANDLER
401 bool "Krait TBB/TBH data abort handler"
402 depends on ARCH_MSM_KRAIT
403 depends on ARM_THUMB
404 help
405 Certain early samples of the Krait processor may generate data
406 aborts for TBB / TBH instructions that fail their condition code
407 checks. Enabling this option will ignore these erroneous data aborts,
408 at the expense of a very small performance penalty.
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800409
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700410 If unsure, say N.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700411
412config ARCH_MSM_ARM11
413 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700414
Daniel Walkerbf83de42010-03-16 16:29:44 -0700415config ARCH_MSM_SCORPION
416 bool
417
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700418config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700419 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800420 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700421
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700422config MSM_SMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700423 select HAVE_SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700424 bool
425
426config ARCH_MSM_SCORPIONMP
427 select ARCH_MSM_SCORPION
428 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530429 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700430 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700431 bool
432
433config ARCH_MSM_KRAITMP
434 select ARCH_MSM_KRAIT
435 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530436 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700437 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700438 bool
439
Taniya Das43bcdd62011-12-02 17:33:27 +0530440config ARCH_MSM_CORTEXMP
441 select MSM_SMP
442 bool
443
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700444config MSM_KRAIT_WFE_FIXUP
445 bool
446
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700447config MSM_RESTART_V2
448 bool
449
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700450config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800451 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700452
453config ARCH_MSM7X27A
454 bool
455 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700456 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530457 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530458 select ARM_GIC
459 select ARCH_MSM_CORTEXMP
Trilok Sonib856ab92012-06-26 14:33:28 +0530460 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530461 select ARM_HAS_SG_CHAIN
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700462
Gregory Beanf9f3d312010-04-30 22:06:50 -0700463config MSM_VIC
464 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700465
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700466config MSM_RPM
467 bool "Resource Power Manager"
468 select MSM_MPM
469
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600470config MSM_RPM_SMD
471 depends on MSM_SMD
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600472 select MSM_MPM_OF
473 bool "RPM driver using SMD protocol"
474 help
475 RPM is the dedicated hardware engine for managing shared SoC
476 resources. This config adds driver support for using SMD as a
477 transport layer communication with RPM hardware. It also selects
478 the MSM_MPM config that programs the MPM module to monitor interrupts
479 during sleep modes.
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600480
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700481config MSM_MPM
482 bool "Modem Power Manager"
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600483 help
484 MPM is a dedicated hardware resource responsible for entering and
485 waking up from a system wide low power mode. The MPM driver tracks
486 the wakeup interrupts and configures the MPM to monitor the wakeup
487 interrupts when going to a system wide sleep mode.
488
489config MSM_MPM_OF
490 bool "Modem Power Manager"
491 depends on CONFIG_OF
492 help
493 MPM is a dedicated hardware resource responsible for entering and
494 waking up from a system wide low power mode. The MPM driver tracks
495 the wakeup interrupts and configures the MPM to monitor the wakeup
496 interrupts when going to a system wide sleep mode. This config option
497 enables the MPM driver that supports initialization from a device
498 tree
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700499
500config MSM_XO
501 bool
502
503config MSM_REMOTE_SPINLOCK_DEKKERS
504 bool
505config MSM_REMOTE_SPINLOCK_SWP
506 bool
507config MSM_REMOTE_SPINLOCK_LDREX
508 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600509config MSM_REMOTE_SPINLOCK_SFPB
510 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700511config MSM_ADM3
512 bool
513
514menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700515
516config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700517 depends on ARCH_MSM7X01A
518 depends on MSM_STACKED_MEMORY
519 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700520 bool "Halibut Board (QCT SURF7201A)"
521 help
522 Support for the Qualcomm SURF7201A eval board.
523
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700524config MACH_MSM7201A_SURF
525 depends on ARCH_MSM7X01A
526 depends on MSM_STACKED_MEMORY
527 default y
528 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700529 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700530 Support for the Qualcomm MSM7201A SURF eval board.
531
532config MACH_MSM7201A_FFA
533 depends on ARCH_MSM7X01A
534 depends on MSM_STACKED_MEMORY
535 default y
536 bool "MSM7201A FFA"
537 help
538 Support for the Qualcomm MSM7201A FFA eval board.
539
540config MACH_TROUT
541 depends on ARCH_MSM7X01A
542 depends on MSM_STACKED_MEMORY
543 default y
544 bool "Trout"
545
546config MACH_MSM7X27_SURF
547 depends on ARCH_MSM7X27
548 depends on !MSM_STACKED_MEMORY
549 default y
550 bool "MSM7x27 SURF"
551 help
552 Support for the Qualcomm MSM7x27 SURF eval board.
553
554config MACH_MSM7X27_FFA
555 depends on ARCH_MSM7X27
556 depends on !MSM_STACKED_MEMORY
557 default y
558 bool "MSM7x27 FFA"
559 help
560 Support for the Qualcomm MSM7x27 FFA eval board.
561
562config MACH_MSM7X27A_RUMI3
563 depends on ARCH_MSM7X27A
564 depends on !MSM_STACKED_MEMORY
565 default y
566 bool "MSM7x27A RUMI3"
567 help
568 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
569
570config MACH_MSM7X27A_SURF
571 depends on ARCH_MSM7X27A
572 depends on !MSM_STACKED_MEMORY
573 default y
574 bool "MSM7x27A SURF"
575 help
576 Support for the Qualcomm MSM7x27A SURF.
577
578config MACH_MSM7X27A_FFA
579 depends on ARCH_MSM7X27A
580 depends on !MSM_STACKED_MEMORY
581 default y
582 bool "MSM7x27A FFA"
583 help
584 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700585
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530586config MACH_MSM7625A_SURF
587 depends on ARCH_MSM7X27A
588 depends on !MSM_STACKED_MEMORY
589 default y
590 bool "MSM7625A SURF"
591 help
592 Support for the Qualcomm MSM7625A SURF.
593
594config MACH_MSM7625A_FFA
595 depends on ARCH_MSM7X27A
596 depends on !MSM_STACKED_MEMORY
597 default y
598 bool "MSM7625A FFA"
599 help
600 Support for the Qualcomm MSM7625A FFA.
601
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530602config MACH_MSM7627A_QRD1
603 depends on ARCH_MSM7X27A
604 depends on !MSM_STACKED_MEMORY
605 default y
606 bool "MSM7627A QRD1"
607 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530608 Support for the Qualcomm MSM7627A Reference Design.
609
610config MACH_MSM7627A_QRD3
611 depends on ARCH_MSM7X27A
612 depends on !MSM_STACKED_MEMORY
613 default y
614 bool "MSM7627A QRD3"
615 help
616 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530617
Taniya Dasc868a2e2012-01-03 10:18:47 +0530618config MACH_MSM7627A_EVB
619 depends on ARCH_MSM7X27A
620 depends on !MSM_STACKED_MEMORY
621 default y
622 bool "MSM7627A EVB"
623 help
624 Support for the Qualcomm MSM7627A Reference Design.
625
Taniya Das43bcdd62011-12-02 17:33:27 +0530626config MACH_MSM8625_RUMI3
627 depends on ARCH_MSM8625
628 depends on !MSM_STACKED_MEMORY
629 default y
630 bool "MSM8625 RUMI3"
631 help
632 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
633
Taniya Dase3027e22012-02-27 16:32:27 +0530634config MACH_MSM8625_SURF
635 depends on ARCH_MSM8625
636 depends on !MSM_STACKED_MEMORY
637 default y
638 bool "MSM8625 SURF"
639 help
640 Support for the Qualcomm MSM8625 SURF.
641
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530642config MACH_MSM8625_FFA
643 depends on ARCH_MSM8625
644 depends on !MSM_STACKED_MEMORY
645 default y
646 bool "MSM8625 FFA"
647 help
648 Support for the Qualcomm MSM8625 FFA.
649
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530650config MACH_MSM8625_EVB
651 depends on ARCH_MSM8625
652 depends on !MSM_STACKED_MEMORY
653 default y
654 bool "MSM8625 EVB"
655 help
656 Support for the Qualcomm MSM8625 Reference Design.
657
Taniya Dasbd096542012-03-15 17:43:45 +0530658config MACH_MSM8625_QRD7
659 depends on ARCH_MSM8625
660 depends on !MSM_STACKED_MEMORY
661 default y
662 bool "MSM8625 QRD7"
663 help
664 Support for the Qualcomm MSM8625 Reference Design.
665
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530666config MACH_MSM8625_EVT
667 depends on ARCH_MSM8625
668 depends on !MSM_STACKED_MEMORY
669 default y
670 bool "MSM8625 EVT"
671 help
672 Support for the Qualcomm MSM8625 Reference Design.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700673
Daniel Walker7b521612010-05-06 12:44:57 -0700674config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700675 depends on ARCH_MSM7X30
676 depends on !MSM_STACKED_MEMORY
677 default y
678 bool "MSM7x30 SURF"
679 help
680 Support for the Qualcomm MSM7x30 SURF eval board.
681
682config MACH_MSM7X30_FFA
683 depends on ARCH_MSM7X30
684 depends on !MSM_STACKED_MEMORY
685 default y
686 bool "MSM7x30 FFA"
687 help
688 Support for the Qualcomm MSM7x30 FFA eval board.
689
690config MACH_MSM7X30_FLUID
691 depends on ARCH_MSM7X30
692 depends on !MSM_STACKED_MEMORY
693 default y
694 bool "MSM7x30 FLUID"
695 help
696 Support for the Qualcomm MSM7x30 FLUID eval board.
697
698config MACH_SAPPHIRE
699 depends on ARCH_MSM7X01A
700 default n
701 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700702
Daniel Walker4ad15e62010-05-06 13:54:17 -0700703config MACH_QSD8X50_SURF
704 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700705 depends on MSM_SOC_REV_NONE
706 depends on MSM_STACKED_MEMORY
707 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700708 bool "QSD8x50 SURF"
709 help
710 Support for the Qualcomm QSD8x50 SURF eval board.
711
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700712config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700713 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700714 depends on MSM_SOC_REV_NONE
715 depends on MSM_STACKED_MEMORY
716 default y
717 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700718 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700719 Support for the Qualcomm QSD8x50 FFA eval board.
720
721config MACH_MSM7X25_SURF
722 depends on ARCH_MSM7X25
723 depends on !MSM_STACKED_MEMORY
724 default y
725 bool "MSM7x25 SURF"
726 help
727 Support for the Qualcomm MSM7x25 SURF eval board.
728
729config MACH_MSM7X25_FFA
730 depends on ARCH_MSM7X25
731 depends on !MSM_STACKED_MEMORY
732 default y
733 bool "MSM7x25 FFA"
734 help
735 Support for the Qualcomm MSM7x25 FFA eval board.
736
737config MACH_MSM8X55_SURF
738 depends on ARCH_MSM7X30
739 depends on !MSM_STACKED_MEMORY
740 default y
741 bool "MSM8X55 SURF"
742 help
743 Support for the Qualcomm MSM8x55 SURF eval board.
744
745config MACH_MSM8X55_FFA
746 depends on ARCH_MSM7X30
747 depends on !MSM_STACKED_MEMORY
748 default y
749 bool "MSM8X55 FFA"
750 help
751 Support for the Qualcomm MSM8x55 FFA eval board.
752
753config MACH_MSM8X55_SVLTE_FFA
754 depends on ARCH_MSM7X30
755 depends on !MSM_STACKED_MEMORY
756 default y
757 bool "MSM8X55 SVLTE FFA"
758 help
759 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
760
761config MACH_MSM8X55_SVLTE_SURF
762 depends on ARCH_MSM7X30
763 depends on !MSM_STACKED_MEMORY
764 default y
765 bool "MSM8X55 SVLTE SURF"
766 help
767 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700768
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700769config MACH_MSM8X60_SURF
770 depends on ARCH_MSM8X60
771 default n
772 bool "MSM8x60 SURF"
773 help
774 Support for the Qualcomm MSM8x60 SURF eval board.
775
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700776config MACH_MSM8X60_FFA
777 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700778 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700779 bool "MSM8x60 FFA"
780 help
781 Support for the Qualcomm MSM8x60 FFA eval board.
782
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700783config MACH_MSM8X60_FLUID
784 depends on ARCH_MSM8X60
785 default n
786 bool "MSM8x60 FLUID"
787 help
788 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
789 8x60 target which has a form factor that is much closer to that
790 of a phone than other targets. It also has a new display and
791 touchscreen controller.
792
793config MACH_MSM8X60_FUSION
794 depends on ARCH_MSM8X60
795 default n
796 bool "MSM8x60 FUSION"
797 help
798 Support for the Qualcomm MSM8x60 Fusion SURF device.
799
800config MACH_MSM8X60_FUSN_FFA
801 depends on ARCH_MSM8X60
802 default n
803 bool "MSM8x60 FUSN FFA"
804 help
805 Support for the Qualcomm MSM8x60 Fusion FFA device.
806
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400807config MACH_MSM8X60_DRAGON
808 depends on ARCH_MSM8X60
809 default n
810 bool "MSM8x60 DRAGON"
811 help
812 Support for the Qualcomm MSM8x60 Dragon board.
813
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700814config MACH_MSM8960_CDP
815 depends on ARCH_MSM8960
816 bool "MSM8960 CDP"
817 help
818 Support for the Qualcomm MSM8960 CDP device.
819
820config MACH_MSM8960_MTP
821 depends on ARCH_MSM8960
822 bool "MSM8960 MTP"
823 help
824 Support for the Qualcomm MSM8960 MTP device.
825
826config MACH_MSM8960_FLUID
827 depends on ARCH_MSM8960
828 bool "MSM8960 FLUID"
829 help
830 Support for the Qualcomm MSM8960 FLUID device.
831
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300832config MACH_MSM8960_LIQUID
833 depends on ARCH_MSM8960
834 bool "MSM8960 LIQUID"
835 help
836 Support for the Qualcomm MSM8960 LIQUID device.
837
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700838config MACH_MSM8930_CDP
839 depends on ARCH_MSM8930
840 bool "MSM8930 CDP"
841 help
842 Support for the Qualcomm MSM8930 CDP device.
843
844config MACH_MSM8930_MTP
845 depends on ARCH_MSM8930
846 bool "MSM8930 MTP"
847 help
848 Support for the Qualcomm MSM8930 MTP device.
849
850config MACH_MSM8930_FLUID
851 depends on ARCH_MSM8930
852 bool "MSM8930 FLUID"
853 help
854 Support for the Qualcomm MSM8930 FLUID device.
855
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800856config MACH_MSM8627_CDP
857 depends on ARCH_MSM8930
858 bool "MSM8627 CDP"
859 help
860 Support for the Qualcomm MSM8627 CDP device.
861
862config MACH_MSM8627_MTP
863 depends on ARCH_MSM8930
864 bool "MSM8627 MTP"
865 help
866 Support for the Qualcomm MSM8627 MTP device.
867
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700868config MACH_MSM9615_CDP
869 depends on ARCH_MSM9615
870 bool "MSM9615 CDP"
871 help
872 Support for the Qualcomm MSM9615 CDP device.
873
874config MACH_MSM9615_MTP
875 depends on ARCH_MSM9615
876 bool "MSM9615 MTP"
877 help
878 Support for the Qualcomm MSM9615 MTP device.
879
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700880config MSM_USE_TSIF1
881 depends on ARCH_MSM8X60
882 bool "MSM8x60 use TSIF1"
883 help
884 Selects TSIF1 core to be used rather than TSIF0.
885 The two TSIF cores share the same DM configuration
886 so they cannot be used simultaneously.
887
Joel King82b7e3f2012-01-05 10:03:27 -0800888config MACH_APQ8064_CDP
889 depends on ARCH_APQ8064
890 bool "APQ8064 CDP"
891 help
892 Support for the Qualcomm APQ8064 CDP device.
893
894config MACH_APQ8064_MTP
895 depends on ARCH_APQ8064
896 bool "APQ8064 MTP"
897 help
898 Support for the Qualcomm APQ8064 MTP device.
899
900config MACH_APQ8064_LIQUID
901 depends on ARCH_APQ8064
902 bool "APQ8064 LIQUID"
903 help
904 Support for the Qualcomm APQ8064 LIQUID device.
905
Joel King064bbf82012-04-01 13:23:39 -0700906config MACH_MPQ8064_CDP
907 depends on ARCH_APQ8064
908 bool "MPQ8064 CDP"
909 help
910 Support for the Qualcomm MPQ8064 CDP device.
911
Joel King11ca8202012-02-13 16:19:03 -0800912config MACH_MPQ8064_HRD
913 depends on ARCH_APQ8064
914 bool "MPQ8064 HRD"
915 help
916 Support for the Qualcomm MPQ8064 HRD device.
917
918config MACH_MPQ8064_DTV
919 depends on ARCH_APQ8064
920 bool "MPQ8064 DTV"
921 help
922 Support for the Qualcomm MPQ8064 DTV device.
923
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700924config MACH_FSM9XXX_SURF
925 depends on ARCH_FSM9XXX
926 depends on !MSM_STACKED_MEMORY
927 default y
928 bool "FSM9XXX SURF"
929 help
930 Support for the Qualcomm FSM9xxx femtocell
931 chipset based SURF evaluation board and
932 FFA board.
933
Daniel Walker4ad15e62010-05-06 13:54:17 -0700934endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800935
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700936config MSM_STACKED_MEMORY
937 bool "Stacked Memory"
938 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800939 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700940 This option is used to indicate the presence of on-die stacked
941 memory. When present this memory bank is used for a high speed
942 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800943
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700944config PHYS_OFFSET
945 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700946 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700947 default "0x80200000" if ARCH_APQ8064
948 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700949 default "0x80200000" if ARCH_MSM8930
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700950 default "0x00000000" if ARCH_MSM8974
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +0530951 default "0x00000000" if ARCH_MPQ8092
Syed Rameez Mustafa90f80502012-08-23 17:27:24 -0700952 default "0x00000000" if ARCH_MSM8226
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700953 default "0x00000000" if ARCH_MSM8910
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700954 default "0x10000000" if ARCH_FSM9XXX
Abhimanyu Kapur20ac2ad2012-09-25 04:23:59 -0700955 default "0x00200000" if ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700956 default "0x00200000" if !MSM_STACKED_MEMORY
957 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
958 default "0x20000000" if ARCH_QSD8X50
959 default "0x40200000" if ARCH_MSM8X60
960 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800961
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700962config KERNEL_MSM_CONTIG_MEM_REGION
963 bool "Enable in-kernel contiguous memory region"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700964 default y if ARCH_MSM8X60
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700965 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700966 help
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700967 Enable the in-kernel contiguous memory allocator. Sets up a
968 region of physically contiguous memory. This memory is
969 reserved during initialization, and can be used
970 generically.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700971
972config KERNEL_PMEM_SMI_REGION
973 bool "Enable in-kernel PMEM region for SMI"
974 default y if ARCH_MSM8X60
975 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
976 help
977 Enable the in-kernel PMEM allocator to use SMI memory.
978
979config PMEM_GPU0
980 bool "Enable PMEM GPU0 region"
981 default y
982 depends on ARCH_QSD8X50 && ANDROID_PMEM
983 help
984 Enable the PMEM GPU0 device on SMI Memory.
985
986config MSM_AMSS_VERSION
987 int
988 default 6210 if MSM_AMSS_VERSION_6210
989 default 6220 if MSM_AMSS_VERSION_6220
990 default 6225 if MSM_AMSS_VERSION_6225
991
992choice
993 prompt "AMSS modem firmware version"
994
995 default MSM_AMSS_VERSION_6225
996
997 config MSM_AMSS_VERSION_6210
998 bool "6.2.10"
999
1000 config MSM_AMSS_VERSION_6220
1001 bool "6.2.20"
1002
1003 config MSM_AMSS_VERSION_6225
1004 bool "6.2.20 + New ADSP"
1005endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -08001006
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001007config MSM_HAS_DEBUG_UART_HS
Daniel Walkerbf83de42010-03-16 16:29:44 -07001008 bool
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001009 help
1010 Say Y here if high speed MSM UART is present.
1011
1012config MSM_HAS_DEBUG_UART_HS_V14
1013 bool
1014 select MSM_HAS_DEBUG_UART_HS
1015 help
1016 Say Y here if high speed MSM UART v1.4 is present.
1017
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301018config MSM_DEBUG_UART_PHYS
1019 hex
1020 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
1021 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
1022 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
1023 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
1024 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
1025 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
1026 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
1027 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
1028
Brian Swetland9e73c842007-11-26 04:12:13 -08001029choice
1030 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001031 depends on DEBUG_LL
Brian Swetland9e73c842007-11-26 04:12:13 -08001032
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001033 config DEBUG_MSM_UART1
1034 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301035 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001036 help
1037 Say Y here if you want the debug print routines to direct
1038 their output to the first serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001039
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001040 config DEBUG_MSM_UART2
1041 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301042 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001043 help
1044 Say Y here if you want the debug print routines to direct
1045 their output to the second serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001046
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001047 config DEBUG_MSM_UART3
1048 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301049 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001050 help
1051 Say Y here if you want the debug print routines to direct
1052 their output to the third serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001053
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001054 config DEBUG_MSM8660_UART
1055 bool "Kernel low-level debugging messages via MSM 8660 UART"
1056 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001057 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001058 help
1059 Say Y here if you want the debug print routines to direct
1060 their output to the serial port on MSM 8660 devices.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001061
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001062 config DEBUG_MSM8960_UART
1063 bool "Kernel low-level debugging messages via MSM 8960 UART"
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001064 depends on ARCH_MSM8960 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001065 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001066 help
1067 Say Y here if you want the debug print routines to direct
1068 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001069
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001070 config DEBUG_MSM8930_UART
1071 bool "Kernel low-level debugging messages via MSM 8930 UART"
1072 depends on ARCH_MSM8930 && DEBUG_LL
1073 select MSM_HAS_DEBUG_UART_HS
1074 help
1075 Say Y here if you want the debug print routines to direct
1076 their output to the serial port on MSM 8930 devices.
1077
1078 config DEBUG_APQ8064_UART
1079 bool "Kernel low-level debugging messages via APQ 8064 UART"
1080 depends on ARCH_APQ8064 && DEBUG_LL
1081 select MSM_HAS_DEBUG_UART_HS
1082 help
1083 Say Y here if you want the debug print routines to direct
1084 their output to the serial port on APQ 8064 devices.
1085
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001086 config DEBUG_MSM8974_UART
1087 bool "Kernel low-level debugging messages via MSM 8974 UART"
1088 depends on ARCH_MSM8974
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001089 select MSM_HAS_DEBUG_UART_HS_V14
1090 help
1091 Say Y here if you want the debug print routines to direct
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001092 their output to the serial port on MSM 8974 devices.
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +05301093
1094 config DEBUG_MPQ8092_UART
1095 bool "Kernel low-level debugging messages via MPQ8092 UART"
1096 depends on ARCH_MPQ8092
1097 select MSM_HAS_DEBUG_UART_HS_V14
1098 help
1099 Say Y here if you want the debug print routines to direct
1100 their output to the serial port on MPQ8092 devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001101endchoice
Brian Swetland9e73c842007-11-26 04:12:13 -08001102
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001103choice
1104 prompt "Default Timer"
1105 default MSM7X00A_USE_GP_TIMER
1106
1107 config MSM7X00A_USE_GP_TIMER
1108 bool "GP Timer"
1109 help
1110 Low resolution timer that allows power collapse from idle.
1111
1112 config MSM7X00A_USE_DG_TIMER
1113 bool "DG Timer"
1114 help
1115 High resolution timer.
1116endchoice
1117
1118choice
1119 prompt "Suspend sleep mode"
1120 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1121 help
1122 Allows overriding the sleep mode used. Leave at power
1123 collapse suspend unless the arm9 image has problems.
1124
1125 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1126 bool "Power collapse suspend"
1127 help
1128 Lowest sleep state. Returns through reset vector.
1129
1130 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1131 bool "Power collapse"
1132 help
1133 Sleep state that returns through reset vector.
1134
1135 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1136 bool "Apps Sleep"
1137
1138 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1139 bool "Ramp down cpu clock and wait for interrupt"
1140
1141 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1142 bool "Wait for interrupt"
1143endchoice
1144
1145config MSM7X00A_SLEEP_MODE
1146 int
1147 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1148 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1149 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1150 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1151 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1152
1153choice
1154 prompt "Idle sleep mode"
1155 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1156 help
1157 Allows overriding the sleep mode used from idle. Leave at power
1158 collapse suspend unless the arm9 image has problems.
1159
1160 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1161 bool "Power collapse suspend"
1162 help
1163 Lowest sleep state. Returns through reset vector.
1164
1165 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1166 bool "Power collapse"
1167 help
1168 Sleep state that returns through reset vector.
1169
1170 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1171 bool "Apps Sleep"
1172
1173 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1174 bool "Ramp down cpu clock and wait for interrupt"
1175
1176 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1177 bool "Wait for interrupt"
1178endchoice
1179
1180config MSM7X00A_IDLE_SLEEP_MODE
1181 int
1182 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1183 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1184 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1185 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1186 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1187
1188config MSM7X00A_IDLE_SLEEP_MIN_TIME
1189 int "Minimum idle time before sleep"
1190 default 20000000
1191 help
1192 Minimum idle time in nanoseconds before entering low power mode.
1193
1194config MSM7X00A_IDLE_SPIN_TIME
1195 int "Idle spin time before cpu ramp down"
1196 default 80000
1197 help
1198 Spin time in nanoseconds before ramping down cpu clock and entering
1199 any low power state.
1200
1201menuconfig MSM_IDLE_STATS
1202 bool "Collect idle statistics"
1203 default y
1204 help
1205 Collect idle statistics and export them in proc/msm_pm_stats.
1206
1207if MSM_IDLE_STATS
1208
1209config MSM_IDLE_STATS_FIRST_BUCKET
1210 int "First bucket time"
1211 default 62500
1212 help
1213 Upper time limit in nanoseconds of first bucket.
1214
1215config MSM_IDLE_STATS_BUCKET_SHIFT
1216 int "Bucket shift"
1217 default 2
1218
1219config MSM_IDLE_STATS_BUCKET_COUNT
1220 int "Bucket count"
1221 default 10
1222
1223config MSM_SUSPEND_STATS_FIRST_BUCKET
1224 int "First bucket time for suspend"
1225 default 1000000000
1226 help
1227 Upper time limit in nanoseconds of first bucket of the
1228 histogram. This is for collecting statistics on suspend.
1229
1230endif # MSM_IDLE_STATS
1231
1232config CPU_HAS_L2_PMU
1233 bool "L2CC PMU Support"
1234 help
1235 Select this if the L2 cache controller has a Performance Monitoring Unit.
1236
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001237config HTC_HEADSET
1238 tristate "HTC 2 Wire detection driver"
1239 default n
1240 help
1241 Provides support for detecting HTC 2 wire devices, such as wired
1242 headset, on the trout platform. Can be used with the msm serial
1243 debugger, but not with serial console.
1244
1245config TROUT_BATTCHG
1246 depends on MACH_TROUT && POWER_SUPPLY
1247 default y
1248 bool "Trout battery / charger driver"
1249
1250config HTC_PWRSINK
1251 depends on MSM_SMD
1252 default n
1253 bool "HTC Power Sink Driver"
1254
1255config QSD_SVS
1256 bool "QSD Static Voltage Scaling"
1257 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1258 default y
1259 select TPS65023
1260 help
1261 Enables static voltage scaling using the TPS65023 PMIC.
1262
1263config QSD_PMIC_DEFAULT_DCDC1
1264 int "PMIC default output voltage"
1265 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1266 default 1250
1267 help
1268 This is the PMIC voltage at Linux kernel boot.
1269
1270config MSM_FIQ_SUPPORT
1271 default y
1272 bool "Enable installation of an FIQ handler."
1273
1274config MSM_SERIAL_DEBUGGER
1275 select MSM_FIQ_SUPPORT
1276 select KERNEL_DEBUGGER_CORE
1277 default n
1278 bool "FIQ Mode Serial Debugger"
1279 help
1280 The FIQ serial debugger can accept commands even when the
1281 kernel is unresponsive due to being stuck with interrupts
1282 disabled. Depends on the kernel debugger core in drivers/misc.
1283
1284config MSM_SERIAL_DEBUGGER_CONSOLE
1285 depends on MSM_SERIAL_DEBUGGER
1286 default n
1287 bool "Console on FIQ Serial Debugger port"
1288 help
1289 Enables a console so that printk messages are displayed on
1290 the debugger serial port as the occur.
Brian Swetland9e73c842007-11-26 04:12:13 -08001291
Gregory Beanab78cde2010-09-01 16:26:12 -07001292config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001293 default y
1294 bool "Proc-Comm RPC Interface"
1295 help
1296 Enables a lightweight communications interface to the
1297 baseband processor.
Gregory Beanab78cde2010-09-01 16:26:12 -07001298
Gregory Bean1963a2a2010-08-28 10:05:44 -07001299config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001300 bool "MSM Shared Memory Driver (SMD)"
1301 help
1302 Support for the shared memory interface between the apps
1303 processor and the baseband processor. Provides access to
1304 the "shared heap", as well as virtual serial channels
1305 used to communicate with various services on the baseband
1306 processor.
1307
1308choice
1309 prompt "MSM Shared memory interface version"
1310 depends on MSM_SMD
1311 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1312 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1313
1314 config MSM_SMD_PKG3
1315 bool
1316 prompt "Package 3"
1317
1318 config MSM_SMD_PKG4
1319 bool
1320 prompt "Package 4"
1321endchoice
1322
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001323config MSM_PCIE
1324 bool "MSM PCIe Controller driver"
1325 depends on PCI && PCI_MSI
1326 help
1327 Enables the PCIe functionality by configures PCIe core on
1328 MSM chipset and by enabling the ARM PCI framework extension.
1329
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001330config MSM_RPC_SDIO_XPRT
1331 depends on MSM_SDIO_AL
1332 default y
1333 bool "MSM SDIO XPRT Layer"
1334 help
1335 SDIO Transport Layer for RPC Rouer
1336
1337config MSM_RPC_SDIO_DEBUG
1338 depends on MSM_RPC_SDIO_XPRT
1339 default y
1340 bool "MSM SDIO XPRT debug support"
1341 help
1342 Support for debugging SDIO XPRT
1343
1344config MSM_SMD_DEBUG
1345 depends on MSM_SMD
1346 default y
1347 bool "MSM SMD debug support"
1348 help
1349 Support for debugging the SMD for communication
1350 between the ARM9 and ARM11
1351
1352config MSM_SDIO_AL
1353 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1354 default y
1355 tristate "SDIO-Abstraction-Layer"
1356 help
1357 Support MSM<->MDM Communication over SDIO bus.
1358 MDM SDIO-Client should have pipes support.
1359
1360config MSM_SDIO_DMUX
1361 bool "SDIO Data Mux Driver"
1362 depends on MSM_SDIO_AL
1363 default n
1364 help
1365 Support Muxed Data Channels over SDIO interface.
1366
1367config MSM_BAM_DMUX
1368 bool "BAM Data Mux Driver"
1369 depends on SPS
1370 default n
1371 help
1372 Support Muxed Data Channels over BAM interface.
1373 BAM has a limited number of pipes. This driver
1374 provides a means to support more logical channels
1375 via muxing than BAM could without muxing.
1376
1377config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001378 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001379 default y
1380 bool "MSM N-WAY SMD support"
1381 help
1382 Supports APPS-QDSP SMD communication along with
1383 normal APPS-MODEM SMD communication.
1384
1385config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001386 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001387 default y
1388 bool "MSM N-WAY SMSM support"
1389 help
1390 Supports APPS-QDSP SMSM communication along with
1391 normal APPS-MODEM SMSM communication.
1392
1393config MSM_RESET_MODEM
1394 tristate "Reset Modem Driver"
1395 depends on MSM_SMD
1396 default m
1397 help
1398 Allows the user to reset the modem through a device node.
1399
1400config MSM_SMD_LOGGING
1401 depends on MSM_SMD
1402 default y
1403 bool "MSM Shared Memory Logger"
1404 help
1405 This option exposes the shared memory logger at /dev/smem_log
1406 and a debugfs node named smem_log.
1407
1408 If in doubt, say yes.
1409
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001410config MSM_IPC_LOGGING
1411 bool "MSM Debug Logging for IPC Drivers"
1412 help
1413 This option allows the debug logging for IPC Drivers.
1414
1415 If in doubt, say no.
1416
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001417config MSM_SMD_NMEA
1418 bool "NMEA GPS Driver"
1419 depends on MSM_SMD
1420 default y
1421 help
1422 Enable this to support the NMEA GPS device.
1423
1424 If in doubt, say yes.
1425
1426config MSM_SDIO_TTY
1427 bool "SDIO TTY Driver"
1428 depends on MSM_SDIO_AL
1429 default n
1430 help
1431 Provides a TTY driver SDIO TTY
1432 This driver can be used by user space
1433 applications for passing data through the
1434 SDIO interface.
1435
1436config MSM_SMD_TTY
1437 bool "SMD TTY Driver"
1438 depends on MSM_SMD
1439 default y
1440 help
1441 Provides TTY interfaces to interact with the modem.
1442
1443 If in doubt, say yes.
1444
1445config MSM_SMD_QMI
1446 bool "SMD QMI Driver"
1447 depends on MSM_SMD
1448 default y
1449 help
1450 Manages network data connections.
1451
1452 If in doubt, say yes.
1453
1454config MSM_SMD_PKT
1455 bool "SMD Packet Driver"
1456 depends on MSM_SMD
1457 default y
1458 help
1459 Provides a binary SMD non-muxed packet port interface.
1460
1461 If in doubt, say yes.
1462
1463config MSM_SDIO_CMUX
1464 bool "SDIO CMUX Driver"
1465 depends on MSM_SDIO_AL
1466 default n
1467 help
1468 Provides a Muxed port interface over SDIO QMI
1469
1470config MSM_DSPS
1471 bool "Sensors DSPS driver"
1472 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1473 default n
1474 help
1475 Provides user-space interface to the sensors manager
1476 to turn on/off the Sensors Processor system clocks.
1477 It is the DSPS responsibility to turn on/off the sensors
1478 themself.
1479 The number of clocks and their name may vary between targets.
1480 It also triggers the PIL to load the DSPS firmware.
1481
1482config MSM_SDIO_CTL
1483 bool "SDIO CTL Driver"
1484 depends on MSM_SDIO_CMUX
1485 default n
1486 help
1487 Provides a binary SDIO control port interface.
1488
1489config MSM_ONCRPCROUTER
1490 depends on MSM_SMD
1491 default n
1492 bool "MSM ONCRPC router support"
1493 help
1494 Support for the MSM ONCRPC router for communication between
1495 the ARM9 and ARM11
1496
1497config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001498 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001499 default n
1500 bool "MSM IPC Router support"
1501 help
1502 Support for the MSM IPC Router for communication between
1503 the APPs and the MODEM
1504
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001505config MSM_IPC_ROUTER_SMD_XPRT
1506 depends on MSM_SMD
1507 depends on MSM_IPC_ROUTER
1508 default n
1509 bool "MSM SMD XPRT Layer"
1510 help
1511 SMD Transport Layer for IPC Router
1512
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001513config MSM_ONCRPCROUTER_DEBUG
1514 depends on MSM_ONCRPCROUTER
1515 default y
1516 bool "MSM debug ONCRPC router support"
1517 help
1518 Support for debugging the ONCRPC router for communication
1519 between the ARM9 and ARM11
1520
1521config MSM_RPC_LOOPBACK_XPRT
1522 depends on MSM_ONCRPCROUTER
1523 default n
1524 bool "MSM RPC local routing support"
1525 help
1526 Support for routing RPC messages between APPS clients
1527 and APPS servers. Helps in testing APPS RPC framework.
1528
1529config MSM_RPCSERVER_TIME_REMOTE
1530 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1531 default y
1532 bool "Time remote RPC server"
1533 help
1534 The time remote server receives notification of time bases and
1535 reports these events to registered callback functions.
1536
1537config MSM_RPCSERVER_WATCHDOG
1538 depends on MSM_ONCRPCROUTER
1539 default y
1540 bool "Watchdog RPC server"
1541 help
1542 The dog_keepalive server handles watchdog events.
1543
1544config MSM_RPC_WATCHDOG
1545 depends on MSM_ONCRPCROUTER
1546 default n
1547 bool "Watchdog RPC client"
1548 help
1549 The dog_keepalive client module.
1550
1551config MSM_RPC_PING
1552 depends on MSM_ONCRPCROUTER && DEBUG_FS
1553 default m
1554 bool "MSM rpc ping"
1555 help
1556 Implements MSM rpc ping test module.
1557
1558config MSM_RPC_PROC_COMM_TEST
1559 depends on DEBUG_FS && MSM_PROC_COMM
1560 default m
1561 bool "MSM rpc proc comm test"
1562 help
1563 Implements MSM rpc proc comm test module.
1564
1565config MSM_RPC_OEM_RAPI
1566 depends on MSM_ONCRPCROUTER
1567 default m
1568 bool "MSM oem rapi"
1569 help
1570 Implements MSM oem rapi client module.
1571
1572config MSM_RPCSERVER_HANDSET
1573 depends on MSM_ONCRPCROUTER
1574 default y
1575 bool "Handset events RPC server"
1576 help
1577 Support for receiving handset events like headset detect,
1578 headset switch and clamshell state.
1579
1580config MSM_RMT_STORAGE_CLIENT
1581 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1582 default n
1583 bool "Remote Storage RPC client"
1584 help
1585 Provide RPC mechanism for remote processors to access storage
1586 device on apps processor.
1587
1588config MSM_RMT_STORAGE_CLIENT_STATS
1589 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1590 default n
1591 bool "Remote storage RPC client performance statistics"
1592 help
1593 Collects performance statistics and shows this information
1594 through a debugfs file rmt_storage_stats.
1595
1596config MSM_SDIO_SMEM
1597 depends on MSM_SDIO_AL
1598 default n
1599 bool "SDIO SMEM for remote storage"
1600 help
1601 Copies data from remote MDM9K memory to local MSM8x60
1602 memory. Used by remote storage client to shadow
1603 MDM9K filesystem.
1604
1605config MSM_DALRPC
1606 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001607 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001608 help
1609 Supports RPC calls to DAL devices on remote processor cores.
1610
1611config MSM_DALRPC_TEST
1612 tristate "DAL RPC test module"
1613 depends on (MSM_DALRPC && DEBUG_FS)
1614 default m
1615 help
1616 Exercises DAL RPC calls to QDSP6.
1617
1618if CPU_FREQ_MSM
1619
1620config MSM_CPU_FREQ_SET_MIN_MAX
1621 bool "Set Min/Max CPU frequencies."
1622 default n
1623 help
1624 Allow setting min and max CPU frequencies. Sysfs can be used
1625 to override these values.
1626
1627config MSM_CPU_FREQ_MAX
1628 int "Max CPU Frequency"
1629 depends on MSM_CPU_FREQ_SET_MIN_MAX
1630 default 384000
1631
1632config MSM_CPU_FREQ_MIN
1633 int "Min CPU Frequency"
1634 depends on MSM_CPU_FREQ_SET_MIN_MAX
1635 default 245760
1636
1637endif # CPU_FREQ_MSM
1638
1639config MSM_CPU_AVS
1640 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1641 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1642 depends on ARCH_QSD8X50
1643 default n
1644 select MSM_AVS_HW
1645 help
1646 This enables the s/w control of Adaptive Voltage Scaling feature
1647 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1648 based on feedback from three ring oscillators in the CPU.
1649
1650config MSM_AVS_HW
1651 bool "Enable Adaptive Voltage Scaling (AVS)"
1652 default n
1653 help
1654 Enable AVS hardware to fine tune voltage at each frequency. The
1655 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1656 fine tune the voltages based on the feedback from the ring
1657 oscillators.
1658
1659config MSM_HW3D
1660 tristate "MSM Hardware 3D Register Driver"
1661 depends on ANDROID_PMEM
1662 default y
1663 help
1664 Provides access to registers needed by the userspace OpenGL|ES
1665 library.
1666
1667config MSM_ADSP
1668 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1669 tristate "MSM ADSP driver"
1670 depends on ANDROID_PMEM
1671 default y
1672 help
1673 Provides access to registers needed by the userspace aDSP library.
1674
1675config ADSP_RPC_VER
1676 hex
1677 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1678 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1679 depends on MSM_ADSP
1680 help
1681 Select proper ADSP RPC version
1682choice
1683 prompt "ADSP RPC version"
1684
1685 default AMSS_7X25_VERSION_2009
1686
1687 config AMSS_7X25_VERSION_2009
1688 bool "2.0.09"
1689
1690 config AMSS_7X25_VERSION_2008
1691 bool "2.0.08"
1692endchoice
1693
1694config MSM7KV2_AUDIO
1695 bool "MSM7K v2 audio"
1696 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1697 default y
1698 help
1699 Enables QDSP5V2-based audio drivers for audio playbacks and
1700 voice call.
1701
1702config MSM_ADSP_REPORT_EVENTS
1703 bool "Report modem events from the DSP"
1704 default y
1705 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1706 help
1707 Normally, only messages from the aDSP are reported to userspace.
1708 With this option, we report events from the aDSP as well.
1709
1710config MSM_QDSP6
1711 tristate "QDSP6 support"
1712 depends on ARCH_QSD8X50 && ANDROID_PMEM
1713 default y
1714 help
1715 Enable support for qdsp6. This provides audio and video functionality.
1716
1717config MSM8X60_AUDIO
1718 tristate "MSM8X60 audio support"
1719 depends on ARCH_MSM8X60 && ANDROID_PMEM
1720 default y
1721 help
1722 Enable support for qdsp6v2. This provides audio functionality.
1723
1724config MSM8X60_FTM_AUDIO_DEVICES
1725 bool "MSM8X60 audio factory test mode support"
1726 depends on MSM8X60_AUDIO
1727 help
1728 Enable support audio factory test mode devices. This is used
1729 in a production line environment.
1730
Ben Romberger45b351c2011-07-20 22:37:27 -07001731config RTAC
1732 bool "MSM8K real-time audio calibration support"
1733 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001734 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001735 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001736 audio operation
1737
1738config MSM7X27A_AUDIO
1739 bool "MSM7X27A audio support"
1740 depends on ARCH_MSM7X27A && MSM_ADSP
1741 default n
1742 help
1743 Enable support for 7x27a. This provides audio functionality.
1744
Justin Pauporea6cd2092011-06-22 16:19:45 -07001745config MSM_PROC_COMM_REGULATOR
Gregory Bean1963a2a2010-08-28 10:05:44 -07001746 bool
Justin Pauporea6cd2092011-06-22 16:19:45 -07001747 depends on MSM_PROC_COMM && REGULATOR
1748 help
1749 Enable regulator framework support for regulators managed by PMLIB
1750 on the modem, and controlled through proccomm calls.
1751
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001752config MSM_VREG_SWITCH_INVERTED
1753 bool "Reverse vreg switch polarity"
1754 default n
1755 help
1756 Reverses the enable and disable for vreg switch.
1757
1758config MSM_DMA_TEST
1759 tristate "MSM DMA test module"
1760 default m
1761 help
1762 Intended to be compiled as a module. Provides a device node
1763 and ioctls for testing the MSM dma system.
1764
1765config WIFI_CONTROL_FUNC
1766 bool "Enable WiFi control function abstraction"
1767 help
1768 Enables Power/Reset/Carddetect function abstraction
1769
1770config WIFI_MEM_PREALLOC
1771 depends on WIFI_CONTROL_FUNC
1772 bool "Preallocate memory for WiFi buffers"
1773 help
1774 Preallocates memory buffers for WiFi driver
1775
1776config QSD_AUDIO
1777 bool "QSD audio"
1778 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1779 default y
1780 help
1781 Provides PCM, MP3, and AAC audio playback.
1782
1783config AUDIO_AAC_PLUS
1784 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1785 bool "AAC+ Audio"
1786 default y
1787 help
1788 Provides AAC+ decoding
1789
1790config AUDIO_ENHANCED_AAC_PLUS
1791 depends on AUDIO_AAC_PLUS
1792 bool "Enhanced AAC+ Audio"
1793 default y
1794 help
1795 Provides Enhanced AAC+ decoding
1796
1797config SURF_FFA_GPIO_KEYPAD
1798 bool "MSM SURF/FFA GPIO keypad"
1799 depends on INPUT_GPIO = "y"
1800 default y
1801 help
1802 Select if the GPIO keypad is attached.
1803
1804config MSM_SLEEP_TIME_OVERRIDE
1805 bool "Allow overriding suspend/sleep time with PM module parameter"
1806 default y
1807 help
1808 Enable the module parameter sleep_time_override. Specified
1809 in units of seconds, it overwrites the normal sleep time of
1810 suspend. The feature is required for automated power management
1811 testing.
1812
1813config MSM_MEMORY_LOW_POWER_MODE
1814 bool "Control the low power modes of memory"
1815 default n
1816 help
1817 The application processor controls whether memory should enter
1818 which low power mode.
1819
1820choice
1821 prompt "Default Memory Low Power Mode during Idle"
1822 depends on MSM_MEMORY_LOW_POWER_MODE
1823 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1824 help
1825 Selects the default low power mode of the memory during idle
1826 sleep.
1827
1828 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1829 bool "Memory active"
1830
1831 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1832 bool "Memory in retention"
1833
1834 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1835 bool "Memory in deep power down"
1836endchoice
1837
1838choice
1839 prompt "Default Memory Low Power Mode during Suspend"
1840 depends on MSM_MEMORY_LOW_POWER_MODE
1841 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1842 help
1843 Selects the default low power mode of the memory during suspend
1844 sleep.
1845
1846 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1847 bool "Memory active"
1848
1849 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1850 bool "Memory in retention"
1851
1852 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1853 bool "Memory in deep power down"
1854endchoice
1855
1856choice
1857 prompt "Power management timeout action"
1858 default MSM_PM_TIMEOUT_HALT
1859 help
1860 Selects the Application Processor's action when Power Management
1861 times out waiting for Modem's handshake.
1862
1863 config MSM_PM_TIMEOUT_HALT
1864 bool "Halt the Application Processor"
1865
1866 config MSM_PM_TIMEOUT_RESET_MODEM
1867 bool "Reset the Modem Processor"
1868
1869 config MSM_PM_TIMEOUT_RESET_CHIP
1870 bool "Reset the entire chip"
1871endchoice
1872
1873config MSM_IDLE_WAIT_ON_MODEM
1874 int "Wait for Modem to become ready for idle power collapse"
1875 default 0
1876 help
1877 If Modem is not ready to handle Application Processor's request
1878 for idle power collapse, wait the number of microseconds in case
1879 Modem becomes ready soon.
1880
Matt Wagantall9274df92011-12-15 11:11:05 -08001881config MSM_RPM_REGULATOR
1882 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001883 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001884 help
1885 Compile in support for the RPM regulator driver, used for setting
1886 voltages and other parameters of the various power rails supplied
1887 by some Qualcomm PMICs.
1888
David Collinsc7642322012-04-04 10:19:12 -07001889config MSM_RPM_REGULATOR_SMD
1890 bool "SMD RPM regulator driver"
1891 depends on REGULATOR
1892 depends on OF
1893 depends on MSM_RPM_SMD
1894 help
1895 Compile in support for the SMD RPM regulator driver which is used for
1896 setting voltages and other parameters of the various power rails
1897 supplied by some Qualcomm PMICs. The SMD RPM regulator driver should
1898 be used on systems which contain an RPM which communicates with the
1899 application processor over SMD.
1900
Stephen Boyd01710582012-07-09 13:40:05 -07001901config MSM_SUBSYSTEM_RESTART
1902 bool "MSM Subsystem Restart"
1903 help
1904 This option enables the MSM subsystem restart framework.
1905
1906 The MSM subsystem restart framework provides support to boot,
1907 shutdown, and restart subsystems with a reference counted API.
1908 It also notifies userspace of transitions between these states via
1909 sysfs.
1910
1911config MSM_SYSMON_COMM
1912 bool "MSM System Monitor communication support"
1913 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1914 help
1915 This option adds support for MSM System Monitor library, which
1916 provides an API that may be used for notifying subsystems within
1917 the SoC about other subsystems' power-up/down state-changes.
1918
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001919config MSM_PIL
1920 bool "Peripheral image loading"
1921 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001922 default n
1923 help
1924 Some peripherals need to be loaded into memory before they can be
1925 brought out of reset.
1926
1927 Say yes to support these devices.
1928
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001929config MSM_PIL_MODEM
1930 tristate "Modem (ARM11) Boot Support"
Stephen Boyd3ac20732012-05-03 18:46:08 -07001931 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001932 help
1933 Support for booting and shutting down ARM11 Modem processors.
1934
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001935config MSM_PIL_QDSP6V3
1936 tristate "QDSP6v3 (Hexagon) Boot Support"
Stephen Boyd2e19d932012-05-09 17:36:04 -07001937 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001938 help
1939 Support for booting and shutting down QDSP6v3 processors (hexagon).
1940 The QDSP6 is a low power DSP used in audio software applications.
1941
Stephen Boydbdb53f32012-06-05 18:39:47 -07001942config MSM_PIL_LPASS_QDSP6V4
1943 tristate "LPASS QDSP6v4 (Hexagon) Boot Support"
Stephen Boyda1cf76b2012-06-13 12:05:35 -07001944 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydeb819882011-08-29 14:46:30 -07001945 help
Stephen Boydbdb53f32012-06-05 18:39:47 -07001946 Support for booting and shutting down QDSP6v4 processors (hexagon)
1947 in low power audio subsystems. If you would like to record or
1948 play audio then say Y here.
1949
1950 If unsure, say N.
1951
1952config MSM_PIL_MODEM_QDSP6V4
1953 tristate "Modem QDSP6v4 (Hexagon) Boot Support"
Stephen Boyd2efa9962012-06-12 14:20:12 -07001954 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydbdb53f32012-06-05 18:39:47 -07001955 help
1956 Support for booting and shutting down QDSP6v4 processors (hexagon)
1957 in modem subsystems. If you would like to make or receive phone
1958 calls then say Y here.
1959
1960 If unsure, say N.
Stephen Boydeb819882011-08-29 14:46:30 -07001961
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001962config MSM_PIL_LPASS_QDSP6V5
Stephen Boyd633eb622012-06-13 12:05:35 -07001963 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
1964 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
1965 help
1966 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1967 in low power audio subsystems. This driver also monitors the ADSP
1968 SMSM status bits and the ADSP's watchdog interrupt and restarts the
1969 ADSP if the processor encounters a fatal error.
Matt Wagantall4e2599e2012-03-21 22:31:35 -07001970
1971config MSM_PIL_MSS_QDSP6V5
1972 tristate "MSS QDSP6v5 (Hexagon) Boot Support"
1973 depends on MSM_PIL
1974 help
1975 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1976 in modem subsystems.
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001977
Matt Wagantalle6e00d52012-03-08 17:39:07 -08001978config MSM_PIL_MBA
1979 tristate "Support for modem self-authentication"
Stephen Boydf91f8862012-06-12 14:20:12 -07001980 depends on MSM_PIL_MSS_QDSP6V5 && MSM_SUBSYSTEM_RESTART
Matt Wagantalle6e00d52012-03-08 17:39:07 -08001981 help
1982 Support for booting self-authenticating modems using the Modem Boot
1983 Authenticator.
Stephen Boyd322a9922011-09-20 01:05:54 -07001984
1985config MSM_PIL_RIVA
Stephen Boydd89eebe2011-09-28 23:28:11 -07001986 tristate "RIVA (WCNSS) Boot Support"
Stephen Boydfdec00d2012-05-10 17:04:49 -07001987 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001988 help
1989 Support for booting and shutting down the RIVA processor (WCNSS).
1990 Riva is the wireless subsystem processor used in bluetooth, wireless
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001991 LAN, and FM software applications.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001992
Stephen Boydd89eebe2011-09-28 23:28:11 -07001993config MSM_PIL_TZAPPS
1994 tristate "TZApps Boot Support"
1995 depends on MSM_PIL
1996 help
1997 Support for booting and shutting down TZApps.
1998
1999 TZApps is an image that runs in the secure processor state. It is
2000 used to decrypt data and perform secure operations on the behalf of
2001 the kernel.
2002
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07002003config MSM_PIL_DSPS
2004 tristate "DSPS Boot Support"
Stephen Boydf169b4b2012-05-10 17:55:55 -07002005 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07002006 help
2007 Support for booting and shutting down ARM7 DSPS processors.
2008
2009 DSPS is a sensors offloading processor used for applications such
2010 as rotation detection, temperature, etc.
2011
Stephen Boyd7b973de2012-03-09 12:26:16 -08002012config MSM_PIL_VIDC
2013 tristate "Video Core Secure Boot Support"
2014 depends on MSM_PIL
2015 help
2016 Support for authenticating the video core image.
2017
Tianyi Gou828798d2012-05-02 21:12:38 -07002018config MSM_PIL_VENUS
2019 tristate "VENUS (Video) Boot Support"
2020 depends on MSM_PIL
2021 help
2022 Support for booting and shutting down the VENUS processor (Video).
2023 Venus is the Video subsystem processor used for video codecs.
2024
Matt Wagantall292aace2012-01-26 19:12:34 -08002025config MSM_PIL_GSS
Stephen Boydd86214b2012-05-10 15:26:35 -07002026 tristate "GSS (Cortex A5) Boot Support"
2027 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantall292aace2012-01-26 19:12:34 -08002028 help
2029 Support for booting and shutting down Cortex A5 processors which run
2030 GPS subsystem firmware.
2031
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002032config MSM_PIL_PRONTO
2033 tristate "PRONTO (WCNSS) Boot Support"
Stephen Boyd581fe852012-06-13 12:05:35 -07002034 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002035 help
2036 Support for booting and shutting down the PRONTO processor (WCNSS).
2037 PRONTO is the wireless subsystem processor used in bluetooth, wireless
2038 LAN, and FM software applications.
2039
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002040config MSM_SCM
2041 bool "Secure Channel Manager (SCM) support"
2042 default n
2043
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002044config SCORPION_Uni_45nm_BUG
2045 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
2046 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
2047 default y
2048 help
2049 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
2050 invalidating the Branch Predictor Array by Modified Virtual Address can
2051 create invalid entries in the TLB with the wrong ASID values on Scorpion
2052 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
2053 workaround for Scorpion Uniprocessor 45nm cores.
2054
2055 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
2056
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002057config MSM_BUSPM_DEV
2058 tristate "MSM Bus Performance Monitor Kernel Module"
2059 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
2060 default m
2061 help
2062 This kernel module is used to mmap() hardware registers for the
2063 performance monitors, counters, etc. The module can also be used to
2064 allocate physical memory which is used by bus performance hardware to
2065 dump performance data.
2066
Mona Hossain11c03ac2011-10-26 12:42:10 -07002067config MSM_TZ_LOG
2068 tristate "MSM Trust Zone (TZ) Log Driver"
2069 depends on DEBUG_FS
2070 help
2071 This option enables a driver with a debugfs interface for messages
2072 produced by the Secure code (Trust zone). These messages provide
2073 diagnostic information about TZ operation.
2074
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002075config MSM_RPM_LOG
2076 tristate "MSM Resource Power Manager Log Driver"
2077 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002078 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002079 default n
2080 help
2081 This option enables a driver which can read from a circular buffer
2082 of messages produced by the RPM. These messages provide diagnostic
2083 information about RPM operation. The driver outputs the messages
2084 via a debugfs node.
2085
2086config MSM_RPM_STATS_LOG
2087 tristate "MSM Resource Power Manager Stat Driver"
2088 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002089 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002090 default n
2091 help
2092 This option enables a driver which reads RPM messages from a shared
2093 memory location. These messages provide statistical information about
2094 the low power modes that RPM enters. The drivers outputs the message
2095 via a debugfs node.
2096
Girish Mahadevan898c56d2012-06-05 16:09:19 -06002097config MSM_RPM_RBCPR_STATS_LOG
2098 tristate "MSM Resource Power Manager RPBCPR Stat Driver"
2099 depends on DEBUG_FS
2100 depends on MSM_RPM
2101 help
2102 This option enables a driver which reads RPM messages from a shared
2103 memory location. These messages provide statistical information about
2104 RBCPR (Rapid Bridge Core Power Reduction) information . The drivers
2105 outputs the message via a debugfs node.
2106
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002107config MSM_DIRECT_SCLK_ACCESS
2108 bool "Direct access to the SCLK timer"
2109 default n
2110
2111config IOMMU_API
2112 bool
Gregory Bean1963a2a2010-08-28 10:05:44 -07002113
Brian Swetland9e73c842007-11-26 04:12:13 -08002114config MSM_GPIOMUX
2115 bool
2116
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002117config MSM_SECURE_IO
Brian Swetland9e73c842007-11-26 04:12:13 -08002118 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002119
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002120config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002121 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002122
Taniya Dascd1d0232012-07-03 17:50:47 +05302123config MSM_MODEM_RESTART
2124 bool
2125
Matt Wagantall88b86312012-01-31 16:53:03 -08002126config MSM_PM2
2127 depends on PM
2128 bool
2129
2130config MSM_PM8X60
2131 depends on PM
2132 bool
2133
Girish Mahadevan388c3082012-09-10 15:30:36 -06002134config MSM_EVENT_TIMER
2135 bool "Event timer"
2136 help
2137 This option enables a modules that manages a list of event timers that
2138 need to be monitored by the PM. The enables the PM code to monitor
2139 events that require the core to be awake and ready to handle the
2140 event.
2141
Matt Wagantall88b86312012-01-31 16:53:03 -08002142config MSM_NOPM
2143 default y if !PM
2144 bool
2145
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002146config MSM_BUS_SCALING
2147 bool "Bus scaling driver"
2148 default n
2149
Gagan Mac85c70492011-06-10 16:07:47 -06002150config MSM_BUS_RPM_MULTI_TIER_ENABLED
2151 bool "RPM Multi-tiering Configuration"
2152 depends on MSM_BUS_SCALING
2153
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002154config MSM_WATCHDOG
2155 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002156 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002157 help
2158 This enables the watchdog as is present on 8x60. Currently we use
2159 core 0's watchdog, and reset the entire SoC if it times out. It does
2160 not run during the bootup process, so it will not catch any early
2161 lockups.
2162
Hanumant Singhd1f01022012-07-05 14:21:53 -07002163config MSM_WATCHDOG_V2
2164 bool "MSM Watchdog Support"
2165 help
2166 This enables the watchdog module. It causes kernel panic if the
2167 watchdog times out. It allows for detection of cpu hangs and
2168 deadlocks. It does not run during the bootup process, so it will
2169 not catch any early lockups.
2170
Hanumant Singh5e2541c2012-07-31 14:41:14 -07002171config MSM_MEMORY_DUMP
2172 bool "MSM Memory Dump Support"
2173 help
2174 This enables memory dump feature. It allows various client
2175 subsystems to register respective dump regions. At the time
2176 of deadlocks or cpu hangs these dump regions are captured to
2177 give a snapshot of the system at the time of the crash.
2178
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002179config MSM_DLOAD_MODE
2180 bool "Enable download mode on crashes"
Subbaraman Narayanamurthye31f2792012-08-22 21:07:22 -07002181 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_MSM8974
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002182 default n
2183 help
2184 This makes the SoC enter download mode when it resets
2185 due to a kernel panic. Note that this doesn't by itself
2186 make the kernel reboot on a kernel panic - that must be
2187 enabled via another mechanism.
2188
Pratik Patel17f3b822011-11-21 12:41:47 -08002189config MSM_JTAG
Pratik Patel2963de42012-05-17 12:43:40 -07002190 bool "JTAG and kernel debug and trace support across power collapse"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002191 help
Pratik Patel2963de42012-05-17 12:43:40 -07002192 Enables support for kernel debugging (specifically breakpoints) and
2193 processor tracing across power collapse both for JTag and OS hosted
2194 software running on the target. Enabling this will ensure debug
2195 and ETM registers are saved and restored across power collapse.
2196
2197 For production builds, you should probably say 'N' here to avoid
2198 potential power, performance and memory penalty.
Pratik Patel7831c082011-06-08 21:44:37 -07002199
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002200config MSM_ETM
2201 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002202 depends on ARCH_MSM8X60
2203 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002204 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002205 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002206
Lynus Vazdde09ee2012-01-05 13:28:22 +05302207config MSM_SLEEP_STATS_DEVICE
2208 bool "Enable exporting of MSM sleep device stats to userspace"
2209
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302210config MSM_RUN_QUEUE_STATS
2211 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Krishna Vankae2922052012-03-02 09:59:12 +05302212 depends on (MSM_SOC_REV_A || ARCH_MSM8X60 || ARCH_MSM8960)
2213 help
2214 This option enalbes statistics collection on Run Queue. A daemon
2215 in user mode, called MPDecision will be using this data to decide
2216 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302217
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002218config MSM_STANDALONE_POWER_COLLAPSE
2219 bool "Enable standalone power collapse"
2220 default n
2221
2222config MSM_GSBI9_UART
2223 bool "Enable GSBI9 UART device"
2224 default n
2225 help
2226 This enables GSBI9 configured into UART.
2227
2228config MSM_SHARED_GPIO_FOR_UART2DM
2229 bool "Use shared GPIOs into UART mode"
2230 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2231 help
2232 This option configures GPIO muxed with SDC4/MMC3
2233 8-bit mode into UART mode. It is used for serial
2234 console on UART2DM. Say Y if you want to have
2235 serial console on UART2DM.
2236
2237config MSM_SHOW_RESUME_IRQ
2238 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002239 depends on (ARM_GIC || PMIC8058)
2240 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002241 default n
2242 help
2243 This option logs wake up interrupts that have triggered just before
2244 the resume loop unrolls. Say Y if you want to debug why the system
2245 resumed.
2246
2247config BT_MSM_PINTEST
2248 tristate "MSM Bluetooth Pin Connectivity Test"
2249 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2250 default n
2251 help
2252 Bluetooth MSM Pin Connectivity test module.
2253 This driver provides support for verifying the MSM to BT pin
2254 connectivity.
2255
2256config MSM_FAKE_BATTERY
2257 depends on POWER_SUPPLY
2258 default n
2259 bool "MSM Fake Battery"
2260 help
2261 Enables MSM fake battery driver.
2262
2263config MSM_QDSP6_APR
2264 bool "Audio QDSP6 APR support"
2265 depends on MSM_SMD
2266 default n
2267 help
2268 Enable APR IPC protocol support between
2269 application processor and QDSP6. APR is
2270 used by audio driver to configure QDSP6's
2271 ASM, ADM and AFE.
2272
Joonwoo Park91d95462012-08-02 10:55:54 -07002273config MSM_QDSP6_APRV2
2274 bool "Audio QDSP6 APRv2 support"
2275 depends on MSM_SMD
2276 default n
2277 help
2278 Enable APRv2 IPC protocol support between
2279 application processor and QDSP6. APR is
2280 used by audio driver to configure QDSP6's
2281 ASM, ADM and AFE.
2282
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -07002283config MSM_QDSP6_CODECS
2284 bool "Audio Codecs on QDSP6 APR "
2285 depends on MSM_SMD
2286 default n
2287 help
2288 Enable Audio codecs with APR IPC protocol support between
2289 application processor and QDSP6. APR is
2290 used by audio driver to configure QDSP6's
2291 ASM, ADM and AFE.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002292
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002293config MSM_QDSP6V2_CODECS
2294 bool "Audio QDSP6V2 APR support"
2295 depends on MSM_SMD
2296 help
2297 Enable Audio codecs with APR IPC protocol support between
2298 application processor and QDSP6 for B-family. APR is
2299 used by audio driver to configure QDSP6's
2300 ASM, ADM and AFE.
2301
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002302config MSM_AUDIO_QDSP6
2303 bool "QDSP6 HW Audio support"
2304 select SND_SOC_MSM_QDSP6_INTF
2305 default n
2306 help
2307 Enable HW audio support in QDSP6.
2308 QDSP6 can support HW encoder & decoder and audio processing
2309
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002310config MSM_AUDIO_QDSP6V2
2311 bool "QDSP6V2 HW Audio support"
2312 select SND_SOC_MSM_QDSP6V2_INTF
2313 help
2314 Enable HW audio support in QDSP6V2.
2315 QDSP6V2 can support HW encoder & decoder and
2316 audio processing. It will enable support for
2317 AAC, AMRNB, AMRWB, EVRC, MP3, QCELP among
2318 others.
2319
Joonwoo Park4a14a552012-08-02 11:03:21 -07002320config MSM_ADSP_LOADER
2321 tristate "ADSP loader support"
2322 select SND_SOC_MSM_APRV2_INTF
2323 depends on MSM_AUDIO_QDSP6V2 && m
2324 help
2325 Enable ADSP image loader.
2326 The ADSP loader brings ADSP out of reset
2327 for the platforms that use APRv2.
2328 Say M if you want to enable this module.
2329
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +02002330config MSM_ULTRASOUND_A
2331 bool "QDSP6 HW Ultrasound support"
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002332 help
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +02002333 Enable HW ultrasound support in QDSP6.
2334 QDSP6 can support HW encoder & decoder and
2335 ultrasound processing. It will enable
2336 ultrasound data paths between
2337 HW and services, calculating input events
2338 upon the ultrasound data.
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002339
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002340config MSM_RPC_VIBRATOR
2341 bool "RPC based MSM Vibrator Support"
2342 depends on MSM_ONCRPCROUTER
2343 help
2344 Enable the vibrator support on MSM over RPC. The vibrator
2345 is connected on the PMIC. Say Y if you want to enable this
2346 feature.
2347
2348config PM8XXX_RPC_VIBRATOR
2349 bool "RPC based Vibrator on PM8xxx PMICs"
2350 depends on MSM_RPC_VIBRATOR
2351 help
2352 Enable the vibrator support on MSM over RPC. The vibrator
2353 is connected on the PM8XXX PMIC. Say Y if you want to enable
2354 this feature.
2355
2356config MSM_SPM_V1
2357 bool "Driver support for SPM Version 1"
2358 help
2359 Enables the support for Version 1 of the SPM driver. SPM hardware is
2360 used to manage the processor power during sleep. The driver allows
2361 configuring SPM to allow different power modes.
2362
2363config MSM_SPM_V2
2364 bool "Driver support for SPM Version 2"
2365 help
2366 Enables the support for Version 2 of the SPM driver. SPM hardware is
2367 used to manage the processor power during sleep. The driver allows
2368 configuring SPM to allow different power modes.
2369
2370config MSM_L2_SPM
2371 bool "SPM support for L2 cache"
2372 depends on MSM_SPM_V2
2373 help
2374 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2375 control of L2 cache low power mode with a Subsystem Power manager.
2376 Enabling this driver allows configuring L2 SPM for low power modes
2377 on supported chipsets.
2378
Laura Abbott2d1760b2011-09-29 21:31:24 -07002379config MSM_MULTIMEDIA_USE_ION
2380 bool "Multimedia suport using Ion"
2381 depends on ION_MSM
2382 help
2383 Enable support for multimedia drivers using Ion for buffer management
2384 instead of pmem. Selecting this may also involve userspace
2385 dependencies as well.
2386
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002387config MSM_OCMEM
2388 bool "MSM On-Chip memory driver (OCMEM)"
2389 help
2390 Enable support for On-Chip Memory available on certain MSM chipsets.
2391 OCMEM is a low latency, high performance pool shared by subsystems.
2392
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002393config MSM_OCMEM_LOCAL_POWER_CTRL
2394 bool "OCMEM Local Power Control"
2395 depends on MSM_OCMEM
2396 help
2397 Enable direct power management of the OCMEM core by the
2398 OCMEM driver. By default power management is delegated to
2399 the RPM. Selecting this option causes the OCMEM driver to
2400 directly handle the various macro power transitions.
2401
2402config MSM_OCMEM_DEBUG
2403 bool "OCMEM Debug Support"
2404 depends on MSM_OCMEM
2405 help
2406 Enable debug options for On-chip Memory (OCMEM) driver.
2407 Various debug options include memory, power and latency.
2408 Choosing one of these options allows debugging of each
2409 individual subsystem separately.
2410
Naveen Ramarajc71b2de2012-08-20 12:35:52 -07002411config MSM_OCMEM_NONSECURE
2412 bool "OCMEM Non Secure Mode"
2413 depends on MSM_OCMEM_DEBUG
2414 help
2415 Disable OCMEM interaction with secure processor.
2416 By default OCMEM is secured and accesses for each master
2417 is requested by the OCMEM driver. Selecting this option
2418 causes the OCMEM memory to be in non-secure state unless
2419 its locked down by the secure processor.
2420
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002421config MSM_OCMEM_POWER_DEBUG
2422 bool "OCMEM Power Debug Support"
2423 depends on MSM_OCMEM_DEBUG
2424 help
2425 Enable debug support for OCMEM power management.
2426 This adds support for verifying all power management
2427 related operations of OCMEM. Both local power management
2428 and RPM assisted power management operations are supported.
2429
Naveen Ramaraj4b1d9392012-08-06 21:05:14 -07002430config MSM_OCMEM_POWER_DISABLE
2431 bool "OCMEM Disable Power Control"
2432 depends on MSM_OCMEM_DEBUG
2433 help
2434 Disable all OCMEM power management.
2435 This keeps all OCMEM macros turned ON at all times thus
2436 never allowing them to be turned OFF. Both local power
2437 management and RPM assisted power modes are supported.
2438
Laura Abbottad340ff2012-01-04 14:23:48 -08002439config MSM_RTB
2440 bool "Register tracing"
2441 help
2442 Add support for logging different events to a small uncached
2443 region. This is designed to aid in debugging reset cases where the
2444 caches may not be flushed before the target resets.
2445
2446config MSM_RTB_SEPARATE_CPUS
2447 bool "Separate entries for each cpu"
2448 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002449 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002450 help
2451 Under some circumstances, it may be beneficial to give dedicated space
2452 for each cpu to log accesses. Selecting this option will log each cpu
2453 separately. This will guarantee that the last acesses for each cpu
2454 will be logged but there will be fewer entries per cpu
2455
Stepan Moskovchenko57884842012-06-07 17:35:49 -07002456config MSM_EBI_ERP
2457 bool "External Bus Interface (EBI) error reporting"
2458 help
2459 Say 'Y' here to enable reporting of external bus interface errors to
2460 the kernel log. Information such as the offending address and
2461 transaction type will be logged. This may be useful for debugging
2462 seemingly broken memory accesses.
2463
2464 For production builds, you should probably say 'N' here.
2465
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002466config MSM_CACHE_ERP
2467 bool "Cache / CPU error reporting"
2468 depends on ARCH_MSM_KRAIT
2469 help
2470 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2471 log. Enabling this feature can be used as a system debugging technique
2472 if cache corruption is suspected. Cache error statistics will also be
2473 reported in /proc/cpu/msm_cache_erp.
2474
2475 For production builds, you should probably say 'N' here.
2476
2477config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002478 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002479 depends on MSM_CACHE_ERP
2480 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002481 To cause the kernel to panic whenever an L1 cache error is detected, say
2482 'Y' here. This may be useful as a debugging technique if general system
2483 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002484
2485 For production builds, you should probably say 'N' here.
2486
Stepan Moskovchenko7035f652012-05-31 17:48:01 -07002487config MSM_L1_ERR_LOG
2488 bool "Log CPU ERP events to system memory"
2489 depends on MSM_CACHE_ERP
2490 help
2491 Enable logging CPU ERP events to an area of memory that will be
2492 preserved across a system reset. This may be useful for detecting and
2493 troubleshooting ERP-related system crashes in the field.
2494
2495 For production builds, you may want to say 'Y' here.
2496
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002497config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2498 bool "Report L2 master port slave/decode errors in kernel log"
2499 depends on MSM_CACHE_ERP
2500 help
2501 Master port errors can occur when a memory request is not properly
2502 handled by the destination slave. This can occur if the destination
2503 register does not exist or is inaccessible due to security
2504 restrictions or (in some cases) clock configuration. Enabling this
2505 option will cause a backtrace to be printed to the kernel log whenever
2506 such an error is encountered. Note that the error is reported as an
2507 interrupt rather than as an exception, meaning that the backtrace may
2508 have some skid. This option may help with debugging, though production
2509 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002510
2511config MSM_L2_ERP_PORT_PANIC
2512 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002513 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002514 help
2515 Master port errors can occur when a memory request is not properly
2516 handled by the destination slave. Enable this option to catch drivers
2517 which attempt to access bad areas of the address space, or access
2518 hardware registers in an improper state (such as certain clocks not
2519 being on). This option may help with debugging, though production
2520 builds should probably say 'N' here.
2521
2522config MSM_L2_ERP_1BIT_PANIC
2523 bool "Panic on recoverable L2 soft errors"
2524 depends on MSM_CACHE_ERP
2525 help
2526 Enable this option to cause a kernel panic whenever the L2 cache
2527 encounters a single-bit (correctable) soft error. This option should
2528 only be enabled when doing low-level debugging where cache corruption
2529 is suspected.
2530
2531 For production builds, you should definitely say 'N' here.
2532
2533config MSM_L2_ERP_2BIT_PANIC
2534 bool "Panic on unrecoverable L2 soft errors"
2535 depends on MSM_CACHE_ERP
2536 help
2537 Enable this option to cause a kernel panic whenever the L2 cache
2538 encounters a double-bit (non-correctable) soft error. Debug builds
2539 will likely benefit from having this option enabled to catch cache
2540 problems as soon as possible.
2541
2542 For production builds, it may be acceptable to say 'N' here, since
2543 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002544
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002545config MSM_DCVS
2546 bool "Use MSM DCVS for CPU/GPU Frequency control"
2547 depends on MSM_SCM
2548 help
2549 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2550 The DCVS manager allows idle driver to feed the idle information to the
2551 algorithm and the algorithm returns a frequency for the core which is
2552 passed to the frequency change driver.
2553
Pankaj Kumar32ce1ea2012-04-04 20:29:29 +05302554config MSM_CPR
2555 tristate "Use MSM CPR in S/W mode"
2556 help
2557 Enable CPR (core power reduction) in S/W mode, where the processor
2558 get's the notification from CPR block and programs the PMIC.
2559
2560config MSM_VP_REGULATOR
2561 tristate "Use MSM PMIC8029 C2 regulator"
2562 depends on ARCH_MSM8625
2563 help
2564 Enable MSM PMIC8029 C2 regulator support using APC_PLEVEL access
2565 for MSMs like 8625.
2566
Taniya Dasc43e6872012-03-21 16:41:14 +05302567config HAVE_ARCH_HAS_CURRENT_TIMER
2568 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002569
2570config MSM_CACHE_DUMP
2571 bool "Cache dumping support"
2572 help
2573 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2574 This allows for analysis of the caches in case cache corruption is
2575 suspected.
2576
Laura Abbott7b637362012-03-29 16:43:49 -07002577config MSM_CACHE_DUMP_ON_PANIC
2578 bool "Dump caches on panic"
2579 depends on MSM_CACHE_DUMP
2580 help
2581 By default, the caches are flushed on panic. This means that trying to
2582 look at them in a RAM dump will give useless data. Select this if you
2583 want to dump the L1 and L2 caches on panic before any flush occurs.
2584 If unsure, say N
2585
Jack Phamccbbfab2012-04-09 19:50:20 -07002586config MSM_HSIC_SYSMON
2587 tristate "MSM HSIC system monitor driver"
2588 depends on USB
2589 help
2590 Add support for bridging with the system monitor interface of MDM
2591 over HSIC. This driver allows the local system monitor to
2592 communicate with the remote system monitor interface.
2593
2594config MSM_HSIC_SYSMON_TEST
2595 tristate "MSM HSIC system monitor bridge test"
2596 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2597 help
2598 Enable the test hook for the Qualcomm system monitor HSIC driver.
2599 This will create a debugfs file entry named "hsic_sysmon_test" which
2600 can be read and written to send character data to the sysmon port of
2601 the modem over USB.
2602
Anirudh Ghayal0d2291a2012-09-20 21:31:41 +05302603config MSM_RPC_PMIC
2604 tristate "MSM RPC PMIC driver"
2605 depends on MSM_ONCRPCROUTER
2606 help
2607 This driver supports the PMIC functionality over RPC for those MSM's
2608 which do not have a direct access to PMIC. It supports ability to
2609 configure MPP, GPIO and all the other supported peripherals of the
2610 PMIC.
2611
Anirudh Ghayald3a63732012-09-20 22:13:13 +05302612config MSM_RPC_USB
2613 tristate "MSM RPC USB driver"
2614 depends on MSM_ONCRPCROUTER
2615 help
2616 This driver supports the USB configuration support over the RPC
2617 interface. It support the HS USB module connected to the MSM
2618 and FS USB which is connected over the PMIC. This support is
2619 required for MSMs on which the APPS does not have a direct access
2620 to the PMIC.
2621
2622config MSM_RPC_PMAPP
2623 tristate "MSM RPC PMIC APP driver"
2624 depends on MSM_ONCRPCROUTER
2625 help
2626 This driver supports the configuration of various PMIC APP modules
2627 such as display backlight, vreg pin-ctrl, smps clock over the RPC
2628 interface. This support is required for MSMs on which the APPS
2629 does not have a direct access to the PMIC.
Pushkar Joshi0fc73462012-09-26 17:59:31 -07002630
2631config MSM_ENABLE_WDOG_DEBUG_CONTROL
2632 bool "MSM Watchdog driver to disable debug Image"
2633 help
2634 This driver supports the configuration of the GCC_WDOG_DEBUG register
2635 used to control debug image.
2636 This support is currently required for MSM8974 to disable debug image
2637 on PS HOLD reset
Brian Swetland9e73c842007-11-26 04:12:13 -08002638endif