blob: 27f72e0a9b33e6827f54fc1942482a368cde8f81 [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
Daniel Walkerbf83de42010-03-16 16:29:44 -070042
Daniel Walker7b521612010-05-06 12:44:57 -070043config ARCH_MSM7X30
44 bool "MSM7x30"
45 select ARCH_MSM_SCORPION
Daniel Walker7b521612010-05-06 12:44:57 -070046 select MSM_VIC
47 select CPU_V7
David Brown74d10d72011-05-16 13:57:39 -070048 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070049 select MSM_REMOTE_SPINLOCK_DEKKERS
50 select ARCH_SPARSEMEM_ENABLE
Laura Abbott78593b52011-09-26 18:48:14 -070051 select ARCH_HAS_HOLES_MEMORYMODEL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070052 select MEMORY_HOTPLUG
53 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -080054 select ARCH_ENABLE_MEMORY_HOTPLUG
55 select ARCH_ENABLE_MEMORY_HOTREMOVE
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070056 select MIGRATION
57 select ARCH_MEMORY_PROBE
58 select ARCH_MEMORY_REMOVE
Gregory Beanab78cde2010-09-01 16:26:12 -070059 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070060 select RESERVE_FIRST_PAGE
61 select MSM_DALRPC
62 select MSM_SPM_V1
63 select REGULATOR
Justin Paupore637a25d2011-07-14 17:11:04 -070064 select MSM_PROC_COMM_REGULATOR
Taniya Dasbae99fb2011-10-12 09:55:13 +053065 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -080066 select MSM_PM2 if PM
Daniel Walker7b521612010-05-06 12:44:57 -070067
Daniel Walker4ad15e62010-05-06 13:54:17 -070068config ARCH_QSD8X50
69 bool "QSD8X50"
70 select ARCH_MSM_SCORPION
Daniel Walker4ad15e62010-05-06 13:54:17 -070071 select MSM_VIC
72 select CPU_V7
David Brown74d10d72011-05-16 13:57:39 -070073 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070074 select MSM_REMOTE_SPINLOCK_LDREX
75 select CPU_USE_DOMAINS
76 select EMULATE_DOMAIN_MANAGER_V7
Gregory Beanab78cde2010-09-01 16:26:12 -070077 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070078 select MSM_DALRPC
Matt Wagantall88b86312012-01-31 16:53:03 -080079 select MSM_PM2 if PM
Daniel Walker46fe5f22010-08-18 11:00:25 -070080
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070081config ARCH_MSM8X60
82 bool "MSM8X60"
Jeff Ohlsteine14411d2010-11-30 13:06:36 -080083 select ARCH_MSM_SCORPIONMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070084 select SMP_PARALLEL_START if SMP
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070085 select ARM_GIC
86 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070087 select MSM_REMOTE_SPINLOCK_LDREX
88 select ARCH_REQUIRE_GPIOLIB
89 select MSM_ADM3
90 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -080091 select MSM_RPM_REGULATOR
David Brown1a5ab4b2011-05-16 15:53:38 -070092 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070093 select MSM_PIL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070094 select ARCH_HAS_CPU_IDLE_WAIT
95 select MSM_DIRECT_SCLK_ACCESS
96 select MSM_RPM
97 select MSM_XO
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070098 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070099 select MSM_BUS_SCALING
100 select MSM_SECURE_IO
101 select MSM_DALRPC
102 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700103 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700104 select MSM_NATIVE_RESTART
105 select ARCH_INLINE_SPIN_TRYLOCK
106 select ARCH_INLINE_SPIN_TRYLOCK_BH
107 select ARCH_INLINE_SPIN_LOCK
108 select ARCH_INLINE_SPIN_LOCK_BH
109 select ARCH_INLINE_SPIN_LOCK_IRQ
110 select ARCH_INLINE_SPIN_LOCK_IRQSAVE
111 select ARCH_INLINE_SPIN_UNLOCK
112 select ARCH_INLINE_SPIN_UNLOCK_BH
113 select ARCH_INLINE_SPIN_UNLOCK_IRQ
114 select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
115 select ARCH_INLINE_READ_TRYLOCK
116 select ARCH_INLINE_READ_LOCK
117 select ARCH_INLINE_READ_LOCK_BH
118 select ARCH_INLINE_READ_LOCK_IRQ
119 select ARCH_INLINE_READ_LOCK_IRQSAVE
120 select ARCH_INLINE_READ_UNLOCK
121 select ARCH_INLINE_READ_UNLOCK_BH
122 select ARCH_INLINE_READ_UNLOCK_IRQ
123 select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
124 select ARCH_INLINE_WRITE_TRYLOCK
125 select ARCH_INLINE_WRITE_LOCK
126 select ARCH_INLINE_WRITE_LOCK_BH
127 select ARCH_INLINE_WRITE_LOCK_IRQ
128 select ARCH_INLINE_WRITE_LOCK_IRQSAVE
129 select ARCH_INLINE_WRITE_UNLOCK
130 select ARCH_INLINE_WRITE_UNLOCK_BH
131 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
132 select CPU_HAS_L2_PMU
133 select MSM_SPM_V1
Stephen Boyd2a1eb582010-08-27 10:01:23 -0700134 select MSM_SCM if SMP
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530135 select MULTI_IRQ_HANDLER
Laura Abbott46505f62011-11-02 18:06:55 -0700136 select MSM_MULTIMEDIA_USE_ION
Matt Wagantall88b86312012-01-31 16:53:03 -0800137 select MSM_PM8X60 if PM
Krishna Vankae2922052012-03-02 09:59:12 +0530138 select MSM_RUN_QUEUE_STATS
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700139
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800140config ARCH_MSM8960
141 bool "MSM8960"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700142 select ARCH_MSM_KRAITMP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800143 select ARM_GIC
144 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700145 select GPIO_MSM_V2
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800146 select MSM_GPIOMUX
147 select MSM_SCM if SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700148 select MSM_DIRECT_SCLK_ACCESS
149 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -0800150 select MSM_RPM_REGULATOR
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700151 select MSM_RPM
152 select MSM_XO
153 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700154 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700155 select MSM_PIL
156 select MSM_AUDIO_QDSP6 if SND_SOC
157 select CPU_HAS_L2_PMU
158 select MSM_SPM_V2
159 select MSM_L2_SPM
160 select MSM_NATIVE_RESTART
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700161 select DONT_MAP_HOLE_AFTER_MEMBANK0
162 select MSM_REMOTE_SPINLOCK_SFPB
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700163 select ARCH_SPARSEMEM_ENABLE
164 select ARCH_HAS_HOLES_MEMORYMODEL
Larry Basseld4d82c92011-12-07 09:52:49 -0800165 select CLEANCACHE
166 select QCACHE
Laura Abbott6d61a912011-10-27 16:44:14 -0700167 select MSM_MULTIMEDIA_USE_ION
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530168 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800169 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700170 select HOLES_IN_ZONE if SPARSEMEM
Krishna Vankae2922052012-03-02 09:59:12 +0530171 select MSM_RUN_QUEUE_STATS
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800172
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700173config ARCH_MSM8930
174 bool "MSM8930"
175 select ARCH_MSM_KRAITMP
176 select ARM_GIC
177 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700178 select GPIO_MSM_V2
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700179 select MSM_GPIOMUX
180 select MSM_SCM if SMP
181 select MSM_DIRECT_SCLK_ACCESS
182 select REGULATOR
David Collins5779cea2012-01-05 15:09:21 -0800183 select MSM_RPM_REGULATOR
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700184 select MSM_RPM
185 select MSM_XO
186 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700187 select MSM_QDSP6_CODECS
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700188 select MSM_PIL
189 select MSM_AUDIO_QDSP6 if SND_SOC
190 select CPU_HAS_L2_PMU
191 select MSM_SPM_V2
192 select MSM_L2_SPM
193 select MSM_NATIVE_RESTART
194 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600195 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700196 select ARCH_SPARSEMEM_ENABLE
197 select ARCH_HAS_HOLES_MEMORYMODEL
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +0200198 select MSM_ULTRASOUND
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530199 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800200 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700201 select HOLES_IN_ZONE if SPARSEMEM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700202
203config ARCH_APQ8064
204 bool "APQ8064"
205 select ARCH_MSM_KRAITMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700206 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700207 select ARM_GIC
208 select CPU_V7
209 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700210 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600211 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800212 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800213 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700214 select MSM_QDSP6_CODECS
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800215 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530216 select MULTI_IRQ_HANDLER
Praveen Chidambaram78499012011-11-01 17:15:17 -0600217 select MSM_RPM
218 select MSM_SPM_V2
219 select MSM_L2_SPM
Matt Wagantall88b86312012-01-31 16:53:03 -0800220 select MSM_PM8X60 if PM
Neil Leeder814d3d32012-01-19 17:21:43 -0500221 select CPU_HAS_L2_PMU
Laura Abbott085dd202012-03-30 14:02:34 -0700222 select HOLES_IN_ZONE if SPARSEMEM
Larry Bassel67b921d2012-04-06 10:23:27 -0700223 select CLEANCACHE
224 select QCACHE
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -0600225 select MIGHT_HAVE_PCI
226 select ARCH_SUPPORTS_MSI
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700227
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700228config ARCH_MSM8974
229 bool "MSM8974"
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700230 select ARCH_MSM_KRAITMP
Sathish Ambley4149e842012-03-23 11:53:55 -0700231 select GPIO_MSM_V3
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700232 select ARM_GIC
233 select CPU_V7
234 select MSM_SCM if SMP
235 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530236 select MULTI_IRQ_HANDLER
Olav Hauganb800c8c2012-01-30 08:50:45 -0800237 select MSM_MULTIMEDIA_USE_ION
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700238 select MSM_PIL
Praveen Chidambaramaa9d52b2012-04-02 11:09:47 -0600239 select MSM_SPM_V2
240 select MSM_L2_SPM
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600241 select MSM_PM8X60 if PM
Steve Mucklef132c6c2012-06-06 18:30:57 -0700242 select MAY_HAVE_SPARSE_IRQ
243 select SPARSE_IRQ
Mahesh Sivasubramaniancb668712012-04-04 13:03:25 -0600244 select MSM_RPM_SMD
David Collinsc7642322012-04-04 10:19:12 -0700245 select REGULATOR
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -0700246 select MSM_QDSP6_APR
247 select MSM_QDSP6V2_CODECS
248 select MSM_AUDIO_QDSP6V2 if SND_SOC
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700249
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700250config ARCH_FSM9XXX
251 bool "FSM9XXX"
252 select ARCH_MSM_SCORPION
253 select MSM_VIC
254 select CPU_V7
255 select MSM_REMOTE_SPINLOCK_LDREX
Steve Mucklef132c6c2012-06-06 18:30:57 -0700256 select GPIO_FSM9XXX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530257 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800258 select MSM_DALRPC
Daniel Walker4ad15e62010-05-06 13:54:17 -0700259
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700260config ARCH_MSM9615
261 bool "MSM9615"
262 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530263 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700264 select ARCH_MSM_CORTEX_A5
265 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700266 select GPIO_MSM_V2
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700267 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600268 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600269 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700270 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800271 select REGULATOR
272 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530273 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800274 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800275 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700276 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800277 select MSM_QDSP6_APR
278 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800279 select FIQ
Matt Wagantall9274df92011-12-15 11:11:05 -0800280
Taniya Das43bcdd62011-12-02 17:33:27 +0530281config ARCH_MSM8625
282 bool "MSM8625"
283 select ARCH_MSM_CORTEX_A5
284 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700285 select GPIO_MSM_V1
Taniya Das43bcdd62011-12-02 17:33:27 +0530286 select MSM_GPIOMUX
287 select ARM_GIC
288 select ARCH_MSM_CORTEXMP
289 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530290 select ARM_TICKET_LOCKS
Krishna Vankae2922052012-03-02 09:59:12 +0530291 select MSM_RUN_QUEUE_STATS
Trilok Sonib856ab92012-06-26 14:33:28 +0530292 select MIGHT_HAVE_CACHE_L2X0
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700293
294config ARCH_MSM9625
295 bool "MSM9625"
296 select ARM_GIC
297 select GIC_SECURE
298 select ARCH_MSM_CORTEX_A5
299 select SMP
300 select MSM_SMP
301 select CPU_V7
Jin Hong690e3352012-05-02 09:25:05 -0700302 select MSM_GPIOMUX
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700303 select MULTI_IRQ_HANDLER
Steve Mucklef132c6c2012-06-06 18:30:57 -0700304 select GPIO_MSM_V2
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700305
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700306endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700307
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700308choice
309 prompt "MSM SoC Revision"
310 default MSM_SOC_REV_NONE
311config MSM_SOC_REV_NONE
312 bool "N/A"
313 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
314 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walkerbf83de42010-03-16 16:29:44 -0700315config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700316 bool "Rev. A"
317 select ARCH_MSM7X27A if ARCH_MSM7X27
Daniel Walkerbf83de42010-03-16 16:29:44 -0700318endchoice
319
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700320config MSM_KRAIT_TBB_ABORT_HANDLER
321 bool "Krait TBB/TBH data abort handler"
322 depends on ARCH_MSM_KRAIT
323 depends on ARM_THUMB
324 help
325 Certain early samples of the Krait processor may generate data
326 aborts for TBB / TBH instructions that fail their condition code
327 checks. Enabling this option will ignore these erroneous data aborts,
328 at the expense of a very small performance penalty.
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800329
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700330 If unsure, say N.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700331
332config ARCH_MSM_ARM11
333 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700334
Daniel Walkerbf83de42010-03-16 16:29:44 -0700335config ARCH_MSM_SCORPION
336 bool
337
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700338config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700339 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800340 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700341
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700342config MSM_SMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700343 select HAVE_SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700344 bool
345
346config ARCH_MSM_SCORPIONMP
347 select ARCH_MSM_SCORPION
348 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530349 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700350 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700351 bool
352
353config ARCH_MSM_KRAITMP
354 select ARCH_MSM_KRAIT
355 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530356 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700357 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700358 bool
Steve Mucklef132c6c2012-06-06 18:30:57 -0700359 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700360
Taniya Das43bcdd62011-12-02 17:33:27 +0530361config ARCH_MSM_CORTEXMP
362 select MSM_SMP
363 bool
364
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700365config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800366 bool
Rohit Vaswaniaf7ae272012-01-09 10:28:57 -0800367 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700368
369config ARCH_MSM7X27A
370 bool
371 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700372 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530373 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530374 select ARM_GIC
375 select ARCH_MSM_CORTEXMP
Trilok Sonib856ab92012-06-26 14:33:28 +0530376 select MIGHT_HAVE_CACHE_L2X0
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700377
Gregory Beanf9f3d312010-04-30 22:06:50 -0700378config MSM_VIC
379 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700380
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700381config MSM_RPM
382 bool "Resource Power Manager"
383 select MSM_MPM
384
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600385config MSM_RPM_SMD
386 depends on MSM_SMD
387 bool "Support for using SMD as the transport layer for communicatons with RPM"
388
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700389config MSM_MPM
390 bool "Modem Power Manager"
391
392config MSM_XO
393 bool
394
395config MSM_REMOTE_SPINLOCK_DEKKERS
396 bool
397config MSM_REMOTE_SPINLOCK_SWP
398 bool
399config MSM_REMOTE_SPINLOCK_LDREX
400 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600401config MSM_REMOTE_SPINLOCK_SFPB
402 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700403config MSM_ADM3
404 bool
405
406menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700407
408config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700409 depends on ARCH_MSM7X01A
410 depends on MSM_STACKED_MEMORY
411 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700412 bool "Halibut Board (QCT SURF7201A)"
413 help
414 Support for the Qualcomm SURF7201A eval board.
415
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700416config MACH_MSM7201A_SURF
417 depends on ARCH_MSM7X01A
418 depends on MSM_STACKED_MEMORY
419 default y
420 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700421 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700422 Support for the Qualcomm MSM7201A SURF eval board.
423
424config MACH_MSM7201A_FFA
425 depends on ARCH_MSM7X01A
426 depends on MSM_STACKED_MEMORY
427 default y
428 bool "MSM7201A FFA"
429 help
430 Support for the Qualcomm MSM7201A FFA eval board.
431
432config MACH_TROUT
433 depends on ARCH_MSM7X01A
434 depends on MSM_STACKED_MEMORY
435 default y
436 bool "Trout"
437
438config MACH_MSM7X27_SURF
439 depends on ARCH_MSM7X27
440 depends on !MSM_STACKED_MEMORY
441 default y
442 bool "MSM7x27 SURF"
443 help
444 Support for the Qualcomm MSM7x27 SURF eval board.
445
446config MACH_MSM7X27_FFA
447 depends on ARCH_MSM7X27
448 depends on !MSM_STACKED_MEMORY
449 default y
450 bool "MSM7x27 FFA"
451 help
452 Support for the Qualcomm MSM7x27 FFA eval board.
453
454config MACH_MSM7X27A_RUMI3
455 depends on ARCH_MSM7X27A
456 depends on !MSM_STACKED_MEMORY
457 default y
458 bool "MSM7x27A RUMI3"
459 help
460 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
461
462config MACH_MSM7X27A_SURF
463 depends on ARCH_MSM7X27A
464 depends on !MSM_STACKED_MEMORY
465 default y
466 bool "MSM7x27A SURF"
467 help
468 Support for the Qualcomm MSM7x27A SURF.
469
470config MACH_MSM7X27A_FFA
471 depends on ARCH_MSM7X27A
472 depends on !MSM_STACKED_MEMORY
473 default y
474 bool "MSM7x27A FFA"
475 help
476 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700477
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530478config MACH_MSM7625A_SURF
479 depends on ARCH_MSM7X27A
480 depends on !MSM_STACKED_MEMORY
481 default y
482 bool "MSM7625A SURF"
483 help
484 Support for the Qualcomm MSM7625A SURF.
485
486config MACH_MSM7625A_FFA
487 depends on ARCH_MSM7X27A
488 depends on !MSM_STACKED_MEMORY
489 default y
490 bool "MSM7625A FFA"
491 help
492 Support for the Qualcomm MSM7625A FFA.
493
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530494config MACH_MSM7627A_QRD1
495 depends on ARCH_MSM7X27A
496 depends on !MSM_STACKED_MEMORY
497 default y
498 bool "MSM7627A QRD1"
499 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530500 Support for the Qualcomm MSM7627A Reference Design.
501
502config MACH_MSM7627A_QRD3
503 depends on ARCH_MSM7X27A
504 depends on !MSM_STACKED_MEMORY
505 default y
506 bool "MSM7627A QRD3"
507 help
508 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530509
Taniya Dasc868a2e2012-01-03 10:18:47 +0530510config MACH_MSM7627A_EVB
511 depends on ARCH_MSM7X27A
512 depends on !MSM_STACKED_MEMORY
513 default y
514 bool "MSM7627A EVB"
515 help
516 Support for the Qualcomm MSM7627A Reference Design.
517
Taniya Das43bcdd62011-12-02 17:33:27 +0530518config MACH_MSM8625_RUMI3
519 depends on ARCH_MSM8625
520 depends on !MSM_STACKED_MEMORY
521 default y
522 bool "MSM8625 RUMI3"
523 help
524 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
525
Taniya Dase3027e22012-02-27 16:32:27 +0530526config MACH_MSM8625_SURF
527 depends on ARCH_MSM8625
528 depends on !MSM_STACKED_MEMORY
529 default y
530 bool "MSM8625 SURF"
531 help
532 Support for the Qualcomm MSM8625 SURF.
533
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530534config MACH_MSM8625_FFA
535 depends on ARCH_MSM8625
536 depends on !MSM_STACKED_MEMORY
537 default y
538 bool "MSM8625 FFA"
539 help
540 Support for the Qualcomm MSM8625 FFA.
541
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530542config MACH_MSM8625_EVB
543 depends on ARCH_MSM8625
544 depends on !MSM_STACKED_MEMORY
545 default y
546 bool "MSM8625 EVB"
547 help
548 Support for the Qualcomm MSM8625 Reference Design.
549
Taniya Dasbd096542012-03-15 17:43:45 +0530550config MACH_MSM8625_QRD7
551 depends on ARCH_MSM8625
552 depends on !MSM_STACKED_MEMORY
553 default y
554 bool "MSM8625 QRD7"
555 help
556 Support for the Qualcomm MSM8625 Reference Design.
557
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530558config MACH_MSM8625_EVT
559 depends on ARCH_MSM8625
560 depends on !MSM_STACKED_MEMORY
561 default y
562 bool "MSM8625 EVT"
563 help
564 Support for the Qualcomm MSM8625 Reference Design.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700565
Daniel Walker7b521612010-05-06 12:44:57 -0700566config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700567 depends on ARCH_MSM7X30
568 depends on !MSM_STACKED_MEMORY
569 default y
570 bool "MSM7x30 SURF"
571 help
572 Support for the Qualcomm MSM7x30 SURF eval board.
573
574config MACH_MSM7X30_FFA
575 depends on ARCH_MSM7X30
576 depends on !MSM_STACKED_MEMORY
577 default y
578 bool "MSM7x30 FFA"
579 help
580 Support for the Qualcomm MSM7x30 FFA eval board.
581
582config MACH_MSM7X30_FLUID
583 depends on ARCH_MSM7X30
584 depends on !MSM_STACKED_MEMORY
585 default y
586 bool "MSM7x30 FLUID"
587 help
588 Support for the Qualcomm MSM7x30 FLUID eval board.
589
590config MACH_SAPPHIRE
591 depends on ARCH_MSM7X01A
592 default n
593 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700594
Daniel Walker4ad15e62010-05-06 13:54:17 -0700595config MACH_QSD8X50_SURF
596 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700597 depends on MSM_SOC_REV_NONE
598 depends on MSM_STACKED_MEMORY
599 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700600 bool "QSD8x50 SURF"
601 help
602 Support for the Qualcomm QSD8x50 SURF eval board.
603
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700604config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700605 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700606 depends on MSM_SOC_REV_NONE
607 depends on MSM_STACKED_MEMORY
608 default y
609 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700610 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700611 Support for the Qualcomm QSD8x50 FFA eval board.
612
613config MACH_MSM7X25_SURF
614 depends on ARCH_MSM7X25
615 depends on !MSM_STACKED_MEMORY
616 default y
617 bool "MSM7x25 SURF"
618 help
619 Support for the Qualcomm MSM7x25 SURF eval board.
620
621config MACH_MSM7X25_FFA
622 depends on ARCH_MSM7X25
623 depends on !MSM_STACKED_MEMORY
624 default y
625 bool "MSM7x25 FFA"
626 help
627 Support for the Qualcomm MSM7x25 FFA eval board.
628
629config MACH_MSM8X55_SURF
630 depends on ARCH_MSM7X30
631 depends on !MSM_STACKED_MEMORY
632 default y
633 bool "MSM8X55 SURF"
634 help
635 Support for the Qualcomm MSM8x55 SURF eval board.
636
637config MACH_MSM8X55_FFA
638 depends on ARCH_MSM7X30
639 depends on !MSM_STACKED_MEMORY
640 default y
641 bool "MSM8X55 FFA"
642 help
643 Support for the Qualcomm MSM8x55 FFA eval board.
644
645config MACH_MSM8X55_SVLTE_FFA
646 depends on ARCH_MSM7X30
647 depends on !MSM_STACKED_MEMORY
648 default y
649 bool "MSM8X55 SVLTE FFA"
650 help
651 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
652
653config MACH_MSM8X55_SVLTE_SURF
654 depends on ARCH_MSM7X30
655 depends on !MSM_STACKED_MEMORY
656 default y
657 bool "MSM8X55 SVLTE SURF"
658 help
659 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700660
Steve Mucklea55df6e2010-01-07 12:43:24 -0800661config MACH_MSM8X60_RUMI3
662 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700663 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800664 bool "MSM8x60 RUMI3"
665 help
666 Support for the Qualcomm MSM8x60 RUMI3 emulator.
667
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800668config MACH_MSM8X60_SIM
669 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700670 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800671 bool "MSM8x60 Simulator"
672 help
673 Support for the Qualcomm MSM8x60 simulator.
674
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700675config MACH_MSM8X60_SURF
676 depends on ARCH_MSM8X60
677 default n
678 bool "MSM8x60 SURF"
679 help
680 Support for the Qualcomm MSM8x60 SURF eval board.
681
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700682config MACH_MSM8X60_FFA
683 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700684 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700685 bool "MSM8x60 FFA"
686 help
687 Support for the Qualcomm MSM8x60 FFA eval board.
688
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700689config MACH_MSM8X60_FLUID
690 depends on ARCH_MSM8X60
691 default n
692 bool "MSM8x60 FLUID"
693 help
694 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
695 8x60 target which has a form factor that is much closer to that
696 of a phone than other targets. It also has a new display and
697 touchscreen controller.
698
699config MACH_MSM8X60_FUSION
700 depends on ARCH_MSM8X60
701 default n
702 bool "MSM8x60 FUSION"
703 help
704 Support for the Qualcomm MSM8x60 Fusion SURF device.
705
706config MACH_MSM8X60_FUSN_FFA
707 depends on ARCH_MSM8X60
708 default n
709 bool "MSM8x60 FUSN FFA"
710 help
711 Support for the Qualcomm MSM8x60 Fusion FFA device.
712
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400713config MACH_MSM8X60_DRAGON
714 depends on ARCH_MSM8X60
715 default n
716 bool "MSM8x60 DRAGON"
717 help
718 Support for the Qualcomm MSM8x60 Dragon board.
719
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800720config MACH_MSM8960_SIM
721 depends on ARCH_MSM8960
722 bool "MSM8960 Simulator"
723 help
724 Support for the Qualcomm MSM8960 simulator.
725
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800726config MACH_MSM8960_RUMI3
727 depends on ARCH_MSM8960
728 bool "MSM8960 RUMI3"
729 help
730 Support for the Qualcomm MSM8960 RUMI3 emulator.
731
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700732config MACH_MSM8960_CDP
733 depends on ARCH_MSM8960
734 bool "MSM8960 CDP"
735 help
736 Support for the Qualcomm MSM8960 CDP device.
737
738config MACH_MSM8960_MTP
739 depends on ARCH_MSM8960
740 bool "MSM8960 MTP"
741 help
742 Support for the Qualcomm MSM8960 MTP device.
743
744config MACH_MSM8960_FLUID
745 depends on ARCH_MSM8960
746 bool "MSM8960 FLUID"
747 help
748 Support for the Qualcomm MSM8960 FLUID device.
749
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300750config MACH_MSM8960_LIQUID
751 depends on ARCH_MSM8960
752 bool "MSM8960 LIQUID"
753 help
754 Support for the Qualcomm MSM8960 LIQUID device.
755
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700756config MACH_MSM8930_CDP
757 depends on ARCH_MSM8930
758 bool "MSM8930 CDP"
759 help
760 Support for the Qualcomm MSM8930 CDP device.
761
762config MACH_MSM8930_MTP
763 depends on ARCH_MSM8930
764 bool "MSM8930 MTP"
765 help
766 Support for the Qualcomm MSM8930 MTP device.
767
768config MACH_MSM8930_FLUID
769 depends on ARCH_MSM8930
770 bool "MSM8930 FLUID"
771 help
772 Support for the Qualcomm MSM8930 FLUID device.
773
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800774config MACH_MSM8627_CDP
775 depends on ARCH_MSM8930
776 bool "MSM8627 CDP"
777 help
778 Support for the Qualcomm MSM8627 CDP device.
779
780config MACH_MSM8627_MTP
781 depends on ARCH_MSM8930
782 bool "MSM8627 MTP"
783 help
784 Support for the Qualcomm MSM8627 MTP device.
785
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700786config MACH_MSM9615_CDP
787 depends on ARCH_MSM9615
788 bool "MSM9615 CDP"
789 help
790 Support for the Qualcomm MSM9615 CDP device.
791
792config MACH_MSM9615_MTP
793 depends on ARCH_MSM9615
794 bool "MSM9615 MTP"
795 help
796 Support for the Qualcomm MSM9615 MTP device.
797
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700798config MSM_USE_TSIF1
799 depends on ARCH_MSM8X60
800 bool "MSM8x60 use TSIF1"
801 help
802 Selects TSIF1 core to be used rather than TSIF0.
803 The two TSIF cores share the same DM configuration
804 so they cannot be used simultaneously.
805
806config MACH_APQ8064_SIM
807 depends on ARCH_APQ8064
808 bool "APQ8064 Simulator"
809 help
810 Support for the Qualcomm APQ8064 simulator.
811
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700812config MACH_APQ8064_RUMI3
813 depends on ARCH_APQ8064
814 bool "APQ8064 RUMI3"
815 help
816 Support for the Qualcomm APQ8064 RUMI3 emulator.
817
Joel King82b7e3f2012-01-05 10:03:27 -0800818config MACH_APQ8064_CDP
819 depends on ARCH_APQ8064
820 bool "APQ8064 CDP"
821 help
822 Support for the Qualcomm APQ8064 CDP device.
823
824config MACH_APQ8064_MTP
825 depends on ARCH_APQ8064
826 bool "APQ8064 MTP"
827 help
828 Support for the Qualcomm APQ8064 MTP device.
829
830config MACH_APQ8064_LIQUID
831 depends on ARCH_APQ8064
832 bool "APQ8064 LIQUID"
833 help
834 Support for the Qualcomm APQ8064 LIQUID device.
835
Joel King064bbf82012-04-01 13:23:39 -0700836config MACH_MPQ8064_CDP
837 depends on ARCH_APQ8064
838 bool "MPQ8064 CDP"
839 help
840 Support for the Qualcomm MPQ8064 CDP device.
841
Joel King11ca8202012-02-13 16:19:03 -0800842config MACH_MPQ8064_HRD
843 depends on ARCH_APQ8064
844 bool "MPQ8064 HRD"
845 help
846 Support for the Qualcomm MPQ8064 HRD device.
847
848config MACH_MPQ8064_DTV
849 depends on ARCH_APQ8064
850 bool "MPQ8064 DTV"
851 help
852 Support for the Qualcomm MPQ8064 DTV device.
853
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700854config MACH_FSM9XXX_SURF
855 depends on ARCH_FSM9XXX
856 depends on !MSM_STACKED_MEMORY
857 default y
858 bool "FSM9XXX SURF"
859 help
860 Support for the Qualcomm FSM9xxx femtocell
861 chipset based SURF evaluation board and
862 FFA board.
863
Daniel Walker4ad15e62010-05-06 13:54:17 -0700864endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800865
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700866config MSM_STACKED_MEMORY
867 bool "Stacked Memory"
868 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800869 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700870 This option is used to indicate the presence of on-die stacked
871 memory. When present this memory bank is used for a high speed
872 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800873
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700874config PHYS_OFFSET
875 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700876 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700877 default "0x80200000" if ARCH_APQ8064
878 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700879 default "0x80200000" if ARCH_MSM8930
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700880 default "0x00000000" if ARCH_MSM8974
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700881 default "0x10000000" if ARCH_FSM9XXX
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700882 default "0x20200000" if ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700883 default "0x00200000" if !MSM_STACKED_MEMORY
884 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
885 default "0x20000000" if ARCH_QSD8X50
886 default "0x40200000" if ARCH_MSM8X60
887 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800888
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700889config KERNEL_PMEM_EBI_REGION
890 bool "Enable in-kernel PMEM region for EBI"
891 default y if ARCH_MSM8X60
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700892 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700893 help
894 Enable the in-kernel PMEM allocator to use EBI memory.
895
896config KERNEL_PMEM_SMI_REGION
897 bool "Enable in-kernel PMEM region for SMI"
898 default y if ARCH_MSM8X60
899 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
900 help
901 Enable the in-kernel PMEM allocator to use SMI memory.
902
903config PMEM_GPU0
904 bool "Enable PMEM GPU0 region"
905 default y
906 depends on ARCH_QSD8X50 && ANDROID_PMEM
907 help
908 Enable the PMEM GPU0 device on SMI Memory.
909
910config MSM_AMSS_VERSION
911 int
912 default 6210 if MSM_AMSS_VERSION_6210
913 default 6220 if MSM_AMSS_VERSION_6220
914 default 6225 if MSM_AMSS_VERSION_6225
915
916choice
917 prompt "AMSS modem firmware version"
918
919 default MSM_AMSS_VERSION_6225
920
921 config MSM_AMSS_VERSION_6210
922 bool "6.2.10"
923
924 config MSM_AMSS_VERSION_6220
925 bool "6.2.20"
926
927 config MSM_AMSS_VERSION_6225
928 bool "6.2.20 + New ADSP"
929endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800930
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700931config MSM_HAS_DEBUG_UART_HS
Daniel Walkerbf83de42010-03-16 16:29:44 -0700932 bool
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700933 help
934 Say Y here if high speed MSM UART is present.
935
936config MSM_HAS_DEBUG_UART_HS_V14
937 bool
938 select MSM_HAS_DEBUG_UART_HS
939 help
940 Say Y here if high speed MSM UART v1.4 is present.
941
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530942config MSM_DEBUG_UART_PHYS
943 hex
944 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
945 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
946 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
947 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
948 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
949 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
950 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
951 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
952
Brian Swetland9e73c842007-11-26 04:12:13 -0800953choice
954 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800955 depends on DEBUG_LL
Brian Swetland9e73c842007-11-26 04:12:13 -0800956
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800957 config DEBUG_MSM_UART1
958 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530959 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800960 help
961 Say Y here if you want the debug print routines to direct
962 their output to the first serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -0800963
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800964 config DEBUG_MSM_UART2
965 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530966 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800967 help
968 Say Y here if you want the debug print routines to direct
969 their output to the second serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -0800970
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800971 config DEBUG_MSM_UART3
972 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530973 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800974 help
975 Say Y here if you want the debug print routines to direct
976 their output to the third serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -0800977
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800978 config DEBUG_MSM8660_UART
979 bool "Kernel low-level debugging messages via MSM 8660 UART"
980 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700981 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800982 help
983 Say Y here if you want the debug print routines to direct
984 their output to the serial port on MSM 8660 devices.
Steve Mucklec8aabae2010-04-21 16:20:27 -0700985
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800986 config DEBUG_MSM8960_UART
987 bool "Kernel low-level debugging messages via MSM 8960 UART"
Stepan Moskovchenko824db172012-05-29 18:05:09 -0700988 depends on ARCH_MSM8960 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700989 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800990 help
991 Say Y here if you want the debug print routines to direct
992 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700993
Stepan Moskovchenko824db172012-05-29 18:05:09 -0700994 config DEBUG_MSM8930_UART
995 bool "Kernel low-level debugging messages via MSM 8930 UART"
996 depends on ARCH_MSM8930 && DEBUG_LL
997 select MSM_HAS_DEBUG_UART_HS
998 help
999 Say Y here if you want the debug print routines to direct
1000 their output to the serial port on MSM 8930 devices.
1001
1002 config DEBUG_APQ8064_UART
1003 bool "Kernel low-level debugging messages via APQ 8064 UART"
1004 depends on ARCH_APQ8064 && DEBUG_LL
1005 select MSM_HAS_DEBUG_UART_HS
1006 help
1007 Say Y here if you want the debug print routines to direct
1008 their output to the serial port on APQ 8064 devices.
1009
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001010 config DEBUG_MSM8974_UART
1011 bool "Kernel low-level debugging messages via MSM 8974 UART"
1012 depends on ARCH_MSM8974
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001013 select MSM_HAS_DEBUG_UART_HS_V14
1014 help
1015 Say Y here if you want the debug print routines to direct
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001016 their output to the serial port on MSM 8974 devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001017endchoice
Brian Swetland9e73c842007-11-26 04:12:13 -08001018
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001019choice
1020 prompt "Default Timer"
1021 default MSM7X00A_USE_GP_TIMER
1022
1023 config MSM7X00A_USE_GP_TIMER
1024 bool "GP Timer"
1025 help
1026 Low resolution timer that allows power collapse from idle.
1027
1028 config MSM7X00A_USE_DG_TIMER
1029 bool "DG Timer"
1030 help
1031 High resolution timer.
1032endchoice
1033
1034choice
1035 prompt "Suspend sleep mode"
1036 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1037 help
1038 Allows overriding the sleep mode used. Leave at power
1039 collapse suspend unless the arm9 image has problems.
1040
1041 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1042 bool "Power collapse suspend"
1043 help
1044 Lowest sleep state. Returns through reset vector.
1045
1046 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1047 bool "Power collapse"
1048 help
1049 Sleep state that returns through reset vector.
1050
1051 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1052 bool "Apps Sleep"
1053
1054 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1055 bool "Ramp down cpu clock and wait for interrupt"
1056
1057 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1058 bool "Wait for interrupt"
1059endchoice
1060
1061config MSM7X00A_SLEEP_MODE
1062 int
1063 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1064 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1065 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1066 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1067 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1068
1069choice
1070 prompt "Idle sleep mode"
1071 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1072 help
1073 Allows overriding the sleep mode used from idle. Leave at power
1074 collapse suspend unless the arm9 image has problems.
1075
1076 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1077 bool "Power collapse suspend"
1078 help
1079 Lowest sleep state. Returns through reset vector.
1080
1081 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1082 bool "Power collapse"
1083 help
1084 Sleep state that returns through reset vector.
1085
1086 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1087 bool "Apps Sleep"
1088
1089 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1090 bool "Ramp down cpu clock and wait for interrupt"
1091
1092 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1093 bool "Wait for interrupt"
1094endchoice
1095
1096config MSM7X00A_IDLE_SLEEP_MODE
1097 int
1098 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1099 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1100 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1101 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1102 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1103
1104config MSM7X00A_IDLE_SLEEP_MIN_TIME
1105 int "Minimum idle time before sleep"
1106 default 20000000
1107 help
1108 Minimum idle time in nanoseconds before entering low power mode.
1109
1110config MSM7X00A_IDLE_SPIN_TIME
1111 int "Idle spin time before cpu ramp down"
1112 default 80000
1113 help
1114 Spin time in nanoseconds before ramping down cpu clock and entering
1115 any low power state.
1116
1117menuconfig MSM_IDLE_STATS
1118 bool "Collect idle statistics"
1119 default y
1120 help
1121 Collect idle statistics and export them in proc/msm_pm_stats.
1122
1123if MSM_IDLE_STATS
1124
1125config MSM_IDLE_STATS_FIRST_BUCKET
1126 int "First bucket time"
1127 default 62500
1128 help
1129 Upper time limit in nanoseconds of first bucket.
1130
1131config MSM_IDLE_STATS_BUCKET_SHIFT
1132 int "Bucket shift"
1133 default 2
1134
1135config MSM_IDLE_STATS_BUCKET_COUNT
1136 int "Bucket count"
1137 default 10
1138
1139config MSM_SUSPEND_STATS_FIRST_BUCKET
1140 int "First bucket time for suspend"
1141 default 1000000000
1142 help
1143 Upper time limit in nanoseconds of first bucket of the
1144 histogram. This is for collecting statistics on suspend.
1145
1146endif # MSM_IDLE_STATS
1147
1148config CPU_HAS_L2_PMU
1149 bool "L2CC PMU Support"
1150 help
1151 Select this if the L2 cache controller has a Performance Monitoring Unit.
1152
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001153config HTC_HEADSET
1154 tristate "HTC 2 Wire detection driver"
1155 default n
1156 help
1157 Provides support for detecting HTC 2 wire devices, such as wired
1158 headset, on the trout platform. Can be used with the msm serial
1159 debugger, but not with serial console.
1160
1161config TROUT_BATTCHG
1162 depends on MACH_TROUT && POWER_SUPPLY
1163 default y
1164 bool "Trout battery / charger driver"
1165
1166config HTC_PWRSINK
1167 depends on MSM_SMD
1168 default n
1169 bool "HTC Power Sink Driver"
1170
1171config QSD_SVS
1172 bool "QSD Static Voltage Scaling"
1173 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1174 default y
1175 select TPS65023
1176 help
1177 Enables static voltage scaling using the TPS65023 PMIC.
1178
1179config QSD_PMIC_DEFAULT_DCDC1
1180 int "PMIC default output voltage"
1181 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1182 default 1250
1183 help
1184 This is the PMIC voltage at Linux kernel boot.
1185
1186config MSM_FIQ_SUPPORT
1187 default y
1188 bool "Enable installation of an FIQ handler."
1189
1190config MSM_SERIAL_DEBUGGER
1191 select MSM_FIQ_SUPPORT
1192 select KERNEL_DEBUGGER_CORE
1193 default n
1194 bool "FIQ Mode Serial Debugger"
1195 help
1196 The FIQ serial debugger can accept commands even when the
1197 kernel is unresponsive due to being stuck with interrupts
1198 disabled. Depends on the kernel debugger core in drivers/misc.
1199
1200config MSM_SERIAL_DEBUGGER_CONSOLE
1201 depends on MSM_SERIAL_DEBUGGER
1202 default n
1203 bool "Console on FIQ Serial Debugger port"
1204 help
1205 Enables a console so that printk messages are displayed on
1206 the debugger serial port as the occur.
Brian Swetland9e73c842007-11-26 04:12:13 -08001207
Gregory Beanab78cde2010-09-01 16:26:12 -07001208config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001209 default y
1210 bool "Proc-Comm RPC Interface"
1211 help
1212 Enables a lightweight communications interface to the
1213 baseband processor.
Gregory Beanab78cde2010-09-01 16:26:12 -07001214
Gregory Bean1963a2a2010-08-28 10:05:44 -07001215config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001216 bool "MSM Shared Memory Driver (SMD)"
1217 help
1218 Support for the shared memory interface between the apps
1219 processor and the baseband processor. Provides access to
1220 the "shared heap", as well as virtual serial channels
1221 used to communicate with various services on the baseband
1222 processor.
1223
1224choice
1225 prompt "MSM Shared memory interface version"
1226 depends on MSM_SMD
1227 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1228 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1229
1230 config MSM_SMD_PKG3
1231 bool
1232 prompt "Package 3"
1233
1234 config MSM_SMD_PKG4
1235 bool
1236 prompt "Package 4"
1237endchoice
1238
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001239config MSM_PCIE
1240 bool "MSM PCIe Controller driver"
1241 depends on PCI && PCI_MSI
1242 help
1243 Enables the PCIe functionality by configures PCIe core on
1244 MSM chipset and by enabling the ARM PCI framework extension.
1245
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001246config MSM_RPC_SDIO_XPRT
1247 depends on MSM_SDIO_AL
1248 default y
1249 bool "MSM SDIO XPRT Layer"
1250 help
1251 SDIO Transport Layer for RPC Rouer
1252
1253config MSM_RPC_SDIO_DEBUG
1254 depends on MSM_RPC_SDIO_XPRT
1255 default y
1256 bool "MSM SDIO XPRT debug support"
1257 help
1258 Support for debugging SDIO XPRT
1259
1260config MSM_SMD_DEBUG
1261 depends on MSM_SMD
1262 default y
1263 bool "MSM SMD debug support"
1264 help
1265 Support for debugging the SMD for communication
1266 between the ARM9 and ARM11
1267
1268config MSM_SDIO_AL
1269 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1270 default y
1271 tristate "SDIO-Abstraction-Layer"
1272 help
1273 Support MSM<->MDM Communication over SDIO bus.
1274 MDM SDIO-Client should have pipes support.
1275
1276config MSM_SDIO_DMUX
1277 bool "SDIO Data Mux Driver"
1278 depends on MSM_SDIO_AL
1279 default n
1280 help
1281 Support Muxed Data Channels over SDIO interface.
1282
1283config MSM_BAM_DMUX
1284 bool "BAM Data Mux Driver"
1285 depends on SPS
1286 default n
1287 help
1288 Support Muxed Data Channels over BAM interface.
1289 BAM has a limited number of pipes. This driver
1290 provides a means to support more logical channels
1291 via muxing than BAM could without muxing.
1292
1293config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001294 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001295 default y
1296 bool "MSM N-WAY SMD support"
1297 help
1298 Supports APPS-QDSP SMD communication along with
1299 normal APPS-MODEM SMD communication.
1300
1301config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001302 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001303 default y
1304 bool "MSM N-WAY SMSM support"
1305 help
1306 Supports APPS-QDSP SMSM communication along with
1307 normal APPS-MODEM SMSM communication.
1308
1309config MSM_RESET_MODEM
1310 tristate "Reset Modem Driver"
1311 depends on MSM_SMD
1312 default m
1313 help
1314 Allows the user to reset the modem through a device node.
1315
1316config MSM_SMD_LOGGING
1317 depends on MSM_SMD
1318 default y
1319 bool "MSM Shared Memory Logger"
1320 help
1321 This option exposes the shared memory logger at /dev/smem_log
1322 and a debugfs node named smem_log.
1323
1324 If in doubt, say yes.
1325
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001326config MSM_IPC_LOGGING
1327 bool "MSM Debug Logging for IPC Drivers"
1328 help
1329 This option allows the debug logging for IPC Drivers.
1330
1331 If in doubt, say no.
1332
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001333config MSM_SMD_NMEA
1334 bool "NMEA GPS Driver"
1335 depends on MSM_SMD
1336 default y
1337 help
1338 Enable this to support the NMEA GPS device.
1339
1340 If in doubt, say yes.
1341
1342config MSM_SDIO_TTY
1343 bool "SDIO TTY Driver"
1344 depends on MSM_SDIO_AL
1345 default n
1346 help
1347 Provides a TTY driver SDIO TTY
1348 This driver can be used by user space
1349 applications for passing data through the
1350 SDIO interface.
1351
1352config MSM_SMD_TTY
1353 bool "SMD TTY Driver"
1354 depends on MSM_SMD
1355 default y
1356 help
1357 Provides TTY interfaces to interact with the modem.
1358
1359 If in doubt, say yes.
1360
1361config MSM_SMD_QMI
1362 bool "SMD QMI Driver"
1363 depends on MSM_SMD
1364 default y
1365 help
1366 Manages network data connections.
1367
1368 If in doubt, say yes.
1369
1370config MSM_SMD_PKT
1371 bool "SMD Packet Driver"
1372 depends on MSM_SMD
1373 default y
1374 help
1375 Provides a binary SMD non-muxed packet port interface.
1376
1377 If in doubt, say yes.
1378
1379config MSM_SDIO_CMUX
1380 bool "SDIO CMUX Driver"
1381 depends on MSM_SDIO_AL
1382 default n
1383 help
1384 Provides a Muxed port interface over SDIO QMI
1385
1386config MSM_DSPS
1387 bool "Sensors DSPS driver"
1388 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1389 default n
1390 help
1391 Provides user-space interface to the sensors manager
1392 to turn on/off the Sensors Processor system clocks.
1393 It is the DSPS responsibility to turn on/off the sensors
1394 themself.
1395 The number of clocks and their name may vary between targets.
1396 It also triggers the PIL to load the DSPS firmware.
1397
1398config MSM_SDIO_CTL
1399 bool "SDIO CTL Driver"
1400 depends on MSM_SDIO_CMUX
1401 default n
1402 help
1403 Provides a binary SDIO control port interface.
1404
1405config MSM_ONCRPCROUTER
1406 depends on MSM_SMD
1407 default n
1408 bool "MSM ONCRPC router support"
1409 help
1410 Support for the MSM ONCRPC router for communication between
1411 the ARM9 and ARM11
1412
1413config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001414 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001415 default n
1416 bool "MSM IPC Router support"
1417 help
1418 Support for the MSM IPC Router for communication between
1419 the APPs and the MODEM
1420
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001421config MSM_IPC_ROUTER_SMD_XPRT
1422 depends on MSM_SMD
1423 depends on MSM_IPC_ROUTER
1424 default n
1425 bool "MSM SMD XPRT Layer"
1426 help
1427 SMD Transport Layer for IPC Router
1428
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001429config MSM_ONCRPCROUTER_DEBUG
1430 depends on MSM_ONCRPCROUTER
1431 default y
1432 bool "MSM debug ONCRPC router support"
1433 help
1434 Support for debugging the ONCRPC router for communication
1435 between the ARM9 and ARM11
1436
1437config MSM_RPC_LOOPBACK_XPRT
1438 depends on MSM_ONCRPCROUTER
1439 default n
1440 bool "MSM RPC local routing support"
1441 help
1442 Support for routing RPC messages between APPS clients
1443 and APPS servers. Helps in testing APPS RPC framework.
1444
1445config MSM_RPCSERVER_TIME_REMOTE
1446 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1447 default y
1448 bool "Time remote RPC server"
1449 help
1450 The time remote server receives notification of time bases and
1451 reports these events to registered callback functions.
1452
1453config MSM_RPCSERVER_WATCHDOG
1454 depends on MSM_ONCRPCROUTER
1455 default y
1456 bool "Watchdog RPC server"
1457 help
1458 The dog_keepalive server handles watchdog events.
1459
1460config MSM_RPC_WATCHDOG
1461 depends on MSM_ONCRPCROUTER
1462 default n
1463 bool "Watchdog RPC client"
1464 help
1465 The dog_keepalive client module.
1466
1467config MSM_RPC_PING
1468 depends on MSM_ONCRPCROUTER && DEBUG_FS
1469 default m
1470 bool "MSM rpc ping"
1471 help
1472 Implements MSM rpc ping test module.
1473
1474config MSM_RPC_PROC_COMM_TEST
1475 depends on DEBUG_FS && MSM_PROC_COMM
1476 default m
1477 bool "MSM rpc proc comm test"
1478 help
1479 Implements MSM rpc proc comm test module.
1480
1481config MSM_RPC_OEM_RAPI
1482 depends on MSM_ONCRPCROUTER
1483 default m
1484 bool "MSM oem rapi"
1485 help
1486 Implements MSM oem rapi client module.
1487
1488config MSM_RPCSERVER_HANDSET
1489 depends on MSM_ONCRPCROUTER
1490 default y
1491 bool "Handset events RPC server"
1492 help
1493 Support for receiving handset events like headset detect,
1494 headset switch and clamshell state.
1495
1496config MSM_RMT_STORAGE_CLIENT
1497 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1498 default n
1499 bool "Remote Storage RPC client"
1500 help
1501 Provide RPC mechanism for remote processors to access storage
1502 device on apps processor.
1503
1504config MSM_RMT_STORAGE_CLIENT_STATS
1505 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1506 default n
1507 bool "Remote storage RPC client performance statistics"
1508 help
1509 Collects performance statistics and shows this information
1510 through a debugfs file rmt_storage_stats.
1511
1512config MSM_SDIO_SMEM
1513 depends on MSM_SDIO_AL
1514 default n
1515 bool "SDIO SMEM for remote storage"
1516 help
1517 Copies data from remote MDM9K memory to local MSM8x60
1518 memory. Used by remote storage client to shadow
1519 MDM9K filesystem.
1520
1521config MSM_DALRPC
1522 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001523 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001524 help
1525 Supports RPC calls to DAL devices on remote processor cores.
1526
1527config MSM_DALRPC_TEST
1528 tristate "DAL RPC test module"
1529 depends on (MSM_DALRPC && DEBUG_FS)
1530 default m
1531 help
1532 Exercises DAL RPC calls to QDSP6.
1533
1534if CPU_FREQ_MSM
1535
1536config MSM_CPU_FREQ_SET_MIN_MAX
1537 bool "Set Min/Max CPU frequencies."
1538 default n
1539 help
1540 Allow setting min and max CPU frequencies. Sysfs can be used
1541 to override these values.
1542
1543config MSM_CPU_FREQ_MAX
1544 int "Max CPU Frequency"
1545 depends on MSM_CPU_FREQ_SET_MIN_MAX
1546 default 384000
1547
1548config MSM_CPU_FREQ_MIN
1549 int "Min CPU Frequency"
1550 depends on MSM_CPU_FREQ_SET_MIN_MAX
1551 default 245760
1552
1553endif # CPU_FREQ_MSM
1554
1555config MSM_CPU_AVS
1556 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1557 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1558 depends on ARCH_QSD8X50
1559 default n
1560 select MSM_AVS_HW
1561 help
1562 This enables the s/w control of Adaptive Voltage Scaling feature
1563 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1564 based on feedback from three ring oscillators in the CPU.
1565
1566config MSM_AVS_HW
1567 bool "Enable Adaptive Voltage Scaling (AVS)"
1568 default n
1569 help
1570 Enable AVS hardware to fine tune voltage at each frequency. The
1571 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1572 fine tune the voltages based on the feedback from the ring
1573 oscillators.
1574
1575config MSM_HW3D
1576 tristate "MSM Hardware 3D Register Driver"
1577 depends on ANDROID_PMEM
1578 default y
1579 help
1580 Provides access to registers needed by the userspace OpenGL|ES
1581 library.
1582
1583config MSM_ADSP
1584 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1585 tristate "MSM ADSP driver"
1586 depends on ANDROID_PMEM
1587 default y
1588 help
1589 Provides access to registers needed by the userspace aDSP library.
1590
1591config ADSP_RPC_VER
1592 hex
1593 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1594 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1595 depends on MSM_ADSP
1596 help
1597 Select proper ADSP RPC version
1598choice
1599 prompt "ADSP RPC version"
1600
1601 default AMSS_7X25_VERSION_2009
1602
1603 config AMSS_7X25_VERSION_2009
1604 bool "2.0.09"
1605
1606 config AMSS_7X25_VERSION_2008
1607 bool "2.0.08"
1608endchoice
1609
1610config MSM7KV2_AUDIO
1611 bool "MSM7K v2 audio"
1612 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1613 default y
1614 help
1615 Enables QDSP5V2-based audio drivers for audio playbacks and
1616 voice call.
1617
1618config MSM_ADSP_REPORT_EVENTS
1619 bool "Report modem events from the DSP"
1620 default y
1621 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1622 help
1623 Normally, only messages from the aDSP are reported to userspace.
1624 With this option, we report events from the aDSP as well.
1625
1626config MSM_QDSP6
1627 tristate "QDSP6 support"
1628 depends on ARCH_QSD8X50 && ANDROID_PMEM
1629 default y
1630 help
1631 Enable support for qdsp6. This provides audio and video functionality.
1632
1633config MSM8X60_AUDIO
1634 tristate "MSM8X60 audio support"
1635 depends on ARCH_MSM8X60 && ANDROID_PMEM
1636 default y
1637 help
1638 Enable support for qdsp6v2. This provides audio functionality.
1639
1640config MSM8X60_FTM_AUDIO_DEVICES
1641 bool "MSM8X60 audio factory test mode support"
1642 depends on MSM8X60_AUDIO
1643 help
1644 Enable support audio factory test mode devices. This is used
1645 in a production line environment.
1646
Ben Romberger45b351c2011-07-20 22:37:27 -07001647config RTAC
1648 bool "MSM8K real-time audio calibration support"
1649 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001650 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001651 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001652 audio operation
1653
1654config MSM7X27A_AUDIO
1655 bool "MSM7X27A audio support"
1656 depends on ARCH_MSM7X27A && MSM_ADSP
1657 default n
1658 help
1659 Enable support for 7x27a. This provides audio functionality.
1660
Justin Pauporea6cd2092011-06-22 16:19:45 -07001661config MSM_PROC_COMM_REGULATOR
Gregory Bean1963a2a2010-08-28 10:05:44 -07001662 bool
Justin Pauporea6cd2092011-06-22 16:19:45 -07001663 depends on MSM_PROC_COMM && REGULATOR
1664 help
1665 Enable regulator framework support for regulators managed by PMLIB
1666 on the modem, and controlled through proccomm calls.
1667
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001668config MSM_VREG_SWITCH_INVERTED
1669 bool "Reverse vreg switch polarity"
1670 default n
1671 help
1672 Reverses the enable and disable for vreg switch.
1673
1674config MSM_DMA_TEST
1675 tristate "MSM DMA test module"
1676 default m
1677 help
1678 Intended to be compiled as a module. Provides a device node
1679 and ioctls for testing the MSM dma system.
1680
1681config WIFI_CONTROL_FUNC
1682 bool "Enable WiFi control function abstraction"
1683 help
1684 Enables Power/Reset/Carddetect function abstraction
1685
1686config WIFI_MEM_PREALLOC
1687 depends on WIFI_CONTROL_FUNC
1688 bool "Preallocate memory for WiFi buffers"
1689 help
1690 Preallocates memory buffers for WiFi driver
1691
1692config QSD_AUDIO
1693 bool "QSD audio"
1694 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1695 default y
1696 help
1697 Provides PCM, MP3, and AAC audio playback.
1698
1699config AUDIO_AAC_PLUS
1700 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1701 bool "AAC+ Audio"
1702 default y
1703 help
1704 Provides AAC+ decoding
1705
1706config AUDIO_ENHANCED_AAC_PLUS
1707 depends on AUDIO_AAC_PLUS
1708 bool "Enhanced AAC+ Audio"
1709 default y
1710 help
1711 Provides Enhanced AAC+ decoding
1712
1713config SURF_FFA_GPIO_KEYPAD
1714 bool "MSM SURF/FFA GPIO keypad"
1715 depends on INPUT_GPIO = "y"
1716 default y
1717 help
1718 Select if the GPIO keypad is attached.
1719
1720config MSM_SLEEP_TIME_OVERRIDE
1721 bool "Allow overriding suspend/sleep time with PM module parameter"
1722 default y
1723 help
1724 Enable the module parameter sleep_time_override. Specified
1725 in units of seconds, it overwrites the normal sleep time of
1726 suspend. The feature is required for automated power management
1727 testing.
1728
1729config MSM_MEMORY_LOW_POWER_MODE
1730 bool "Control the low power modes of memory"
1731 default n
1732 help
1733 The application processor controls whether memory should enter
1734 which low power mode.
1735
1736choice
1737 prompt "Default Memory Low Power Mode during Idle"
1738 depends on MSM_MEMORY_LOW_POWER_MODE
1739 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1740 help
1741 Selects the default low power mode of the memory during idle
1742 sleep.
1743
1744 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1745 bool "Memory active"
1746
1747 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1748 bool "Memory in retention"
1749
1750 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1751 bool "Memory in deep power down"
1752endchoice
1753
1754choice
1755 prompt "Default Memory Low Power Mode during Suspend"
1756 depends on MSM_MEMORY_LOW_POWER_MODE
1757 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1758 help
1759 Selects the default low power mode of the memory during suspend
1760 sleep.
1761
1762 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1763 bool "Memory active"
1764
1765 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1766 bool "Memory in retention"
1767
1768 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1769 bool "Memory in deep power down"
1770endchoice
1771
1772choice
1773 prompt "Power management timeout action"
1774 default MSM_PM_TIMEOUT_HALT
1775 help
1776 Selects the Application Processor's action when Power Management
1777 times out waiting for Modem's handshake.
1778
1779 config MSM_PM_TIMEOUT_HALT
1780 bool "Halt the Application Processor"
1781
1782 config MSM_PM_TIMEOUT_RESET_MODEM
1783 bool "Reset the Modem Processor"
1784
1785 config MSM_PM_TIMEOUT_RESET_CHIP
1786 bool "Reset the entire chip"
1787endchoice
1788
1789config MSM_IDLE_WAIT_ON_MODEM
1790 int "Wait for Modem to become ready for idle power collapse"
1791 default 0
1792 help
1793 If Modem is not ready to handle Application Processor's request
1794 for idle power collapse, wait the number of microseconds in case
1795 Modem becomes ready soon.
1796
Matt Wagantall9274df92011-12-15 11:11:05 -08001797config MSM_RPM_REGULATOR
1798 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001799 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001800 help
1801 Compile in support for the RPM regulator driver, used for setting
1802 voltages and other parameters of the various power rails supplied
1803 by some Qualcomm PMICs.
1804
David Collinsc7642322012-04-04 10:19:12 -07001805config MSM_RPM_REGULATOR_SMD
1806 bool "SMD RPM regulator driver"
1807 depends on REGULATOR
1808 depends on OF
1809 depends on MSM_RPM_SMD
1810 help
1811 Compile in support for the SMD RPM regulator driver which is used for
1812 setting voltages and other parameters of the various power rails
1813 supplied by some Qualcomm PMICs. The SMD RPM regulator driver should
1814 be used on systems which contain an RPM which communicates with the
1815 application processor over SMD.
1816
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001817config MSM_PIL
1818 bool "Peripheral image loading"
1819 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001820 default n
1821 help
1822 Some peripherals need to be loaded into memory before they can be
1823 brought out of reset.
1824
1825 Say yes to support these devices.
1826
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001827config MSM_PIL_MODEM
1828 tristate "Modem (ARM11) Boot Support"
1829 depends on MSM_PIL
1830 help
1831 Support for booting and shutting down ARM11 Modem processors.
1832
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001833config MSM_PIL_QDSP6V3
1834 tristate "QDSP6v3 (Hexagon) Boot Support"
1835 depends on MSM_PIL
1836 help
1837 Support for booting and shutting down QDSP6v3 processors (hexagon).
1838 The QDSP6 is a low power DSP used in audio software applications.
1839
Stephen Boydeb819882011-08-29 14:46:30 -07001840config MSM_PIL_QDSP6V4
1841 tristate "QDSP6v4 (Hexagon) Boot Support"
1842 depends on MSM_PIL
1843 help
1844 Support for booting and shutting down QDSP6v4 processors (hexagon).
1845 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1846 software applications.
1847
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001848config MSM_PIL_LPASS_QDSP6V5
1849 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
1850 depends on MSM_PIL
1851 help
Matt Wagantall4e2599e2012-03-21 22:31:35 -07001852 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1853 in low power audio subsystems.
1854
1855config MSM_PIL_MSS_QDSP6V5
1856 tristate "MSS QDSP6v5 (Hexagon) Boot Support"
1857 depends on MSM_PIL
1858 help
1859 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1860 in modem subsystems.
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001861
Matt Wagantalle6e00d52012-03-08 17:39:07 -08001862config MSM_PIL_MBA
1863 tristate "Support for modem self-authentication"
1864 depends on MSM_PIL_MSS_QDSP6V5
1865 help
1866 Support for booting self-authenticating modems using the Modem Boot
1867 Authenticator.
Stephen Boyd322a9922011-09-20 01:05:54 -07001868
1869config MSM_PIL_RIVA
Stephen Boydd89eebe2011-09-28 23:28:11 -07001870 tristate "RIVA (WCNSS) Boot Support"
1871 depends on MSM_PIL
1872 help
1873 Support for booting and shutting down the RIVA processor (WCNSS).
1874 Riva is the wireless subsystem processor used in bluetooth, wireless
1875 LAN, and FM software applications.
1876
1877config MSM_PIL_TZAPPS
1878 tristate "TZApps Boot Support"
1879 depends on MSM_PIL
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07001880 help
1881 Support for booting and shutting down TZApps.
1882
1883 TZApps is an image that runs in the secure processor state. It is
1884 used to decrypt data and perform secure operations on the behalf of
1885 the kernel.
1886
1887config MSM_PIL_DSPS
1888 tristate "DSPS Boot Support"
Stephen Boyd7b973de2012-03-09 12:26:16 -08001889 depends on MSM_PIL
1890 help
1891 Support for booting and shutting down ARM7 DSPS processors.
1892
1893 DSPS is a sensors offloading processor used for applications such
1894 as rotation detection, temperature, etc.
Matt Wagantall292aace2012-01-26 19:12:34 -08001895
1896config MSM_PIL_VIDC
1897 tristate "Video Core Secure Boot Support"
1898 depends on MSM_PIL
1899 help
1900 Support for authenticating the video core image.
1901
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001902config MSM_PIL_GSS
1903 tristate "GSS (Coretx A5) Boot Support"
1904 depends on MSM_PIL
1905 help
1906 Support for booting and shutting down Cortex A5 processors which run
1907 GPS subsystem firmware.
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001908
Tianyi Gouc1e049f82011-11-23 14:20:16 -08001909config MSM_PIL_PRONTO
1910 tristate "PRONTO (WCNSS) Boot Support"
1911 depends on MSM_PIL
1912 help
1913 Support for booting and shutting down the PRONTO processor (WCNSS).
1914 PRONTO is the wireless subsystem processor used in bluetooth, wireless
1915 LAN, and FM software applications.
1916
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001917config MSM_SCM
1918 bool "Secure Channel Manager (SCM) support"
1919 default n
1920
1921config MSM_SUBSYSTEM_RESTART
1922 bool "MSM Subsystem Restart Driver"
1923 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
1924 default n
1925 help
1926 This option enables the MSM subsystem restart driver, which provides
1927 a framework to handle subsystem crashes.
1928
Matt Wagantallf8020902011-08-30 21:19:23 -07001929config MSM_SYSMON_COMM
1930 bool "MSM System Monitor communication support"
1931 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1932 default y
1933 help
1934 This option adds support for MSM System Monitor library, which
1935 provides an API that may be used for notifying subsystems within
1936 the SoC about other subsystems' power-up/down state-changes.
1937
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001938config MSM_MODEM_8960
1939 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001940 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001941 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001942 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001943 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001944 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001945
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001946config MSM_LPASS_8960
1947 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001948 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001949 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001950 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001951 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001952 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001953
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001954config MSM_WCNSS_SSR_8960
1955 tristate "MSM 8960 WCNSS restart module"
1956 depends on (ARCH_MSM8960)
1957 help
1958 This option enables the WCNSS restart module for MSM8960, which
1959 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1960 into the subsystem restart framework.
1961
Rohit Vaswanid0fb4182012-03-19 18:07:59 -07001962config MSM_GSS_SSR_8064
1963 bool "MSM 8064 GSS restart driver"
1964 depends on (ARCH_APQ8064)
1965 help
1966 This option enables the gps subsystem restart driver for APQ8064, which monitors
1967 gss hardware watchdog interrupt lines and plugs into the subsystem
1968 restart and PIL drivers.
1969
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001970config SCORPION_Uni_45nm_BUG
1971 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1972 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1973 default y
1974 help
1975 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1976 invalidating the Branch Predictor Array by Modified Virtual Address can
1977 create invalid entries in the TLB with the wrong ASID values on Scorpion
1978 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1979 workaround for Scorpion Uniprocessor 45nm cores.
1980
1981 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1982
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001983config MSM_BUSPM_DEV
1984 tristate "MSM Bus Performance Monitor Kernel Module"
1985 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1986 default m
1987 help
1988 This kernel module is used to mmap() hardware registers for the
1989 performance monitors, counters, etc. The module can also be used to
1990 allocate physical memory which is used by bus performance hardware to
1991 dump performance data.
1992
Mona Hossain11c03ac2011-10-26 12:42:10 -07001993config MSM_TZ_LOG
1994 tristate "MSM Trust Zone (TZ) Log Driver"
1995 depends on DEBUG_FS
1996 help
1997 This option enables a driver with a debugfs interface for messages
1998 produced by the Secure code (Trust zone). These messages provide
1999 diagnostic information about TZ operation.
2000
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002001config MSM_RPM_LOG
2002 tristate "MSM Resource Power Manager Log Driver"
2003 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002004 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002005 default n
2006 help
2007 This option enables a driver which can read from a circular buffer
2008 of messages produced by the RPM. These messages provide diagnostic
2009 information about RPM operation. The driver outputs the messages
2010 via a debugfs node.
2011
2012config MSM_RPM_STATS_LOG
2013 tristate "MSM Resource Power Manager Stat Driver"
2014 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002015 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002016 default n
2017 help
2018 This option enables a driver which reads RPM messages from a shared
2019 memory location. These messages provide statistical information about
2020 the low power modes that RPM enters. The drivers outputs the message
2021 via a debugfs node.
2022
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002023config MSM_DIRECT_SCLK_ACCESS
2024 bool "Direct access to the SCLK timer"
2025 default n
2026
2027config IOMMU_API
2028 bool
Gregory Bean1963a2a2010-08-28 10:05:44 -07002029
Brian Swetland9e73c842007-11-26 04:12:13 -08002030config MSM_GPIOMUX
2031 bool
2032
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002033config MSM_SECURE_IO
Brian Swetland9e73c842007-11-26 04:12:13 -08002034 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002035
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002036config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002037 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002038
Matt Wagantall88b86312012-01-31 16:53:03 -08002039config MSM_PM2
2040 depends on PM
2041 bool
2042
2043config MSM_PM8X60
2044 depends on PM
2045 bool
2046
2047config MSM_NOPM
2048 default y if !PM
2049 bool
2050
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002051config MSM_BUS_SCALING
2052 bool "Bus scaling driver"
2053 default n
2054
Gagan Mac85c70492011-06-10 16:07:47 -06002055config MSM_BUS_RPM_MULTI_TIER_ENABLED
2056 bool "RPM Multi-tiering Configuration"
2057 depends on MSM_BUS_SCALING
2058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002059config MSM_WATCHDOG
2060 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002061 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002062 help
2063 This enables the watchdog as is present on 8x60. Currently we use
2064 core 0's watchdog, and reset the entire SoC if it times out. It does
2065 not run during the bootup process, so it will not catch any early
2066 lockups.
2067
2068config MSM_DLOAD_MODE
2069 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07002070 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002071 default n
2072 help
2073 This makes the SoC enter download mode when it resets
2074 due to a kernel panic. Note that this doesn't by itself
2075 make the kernel reboot on a kernel panic - that must be
2076 enabled via another mechanism.
2077
Pratik Patel17f3b822011-11-21 12:41:47 -08002078config MSM_JTAG
Pratik Patel2963de42012-05-17 12:43:40 -07002079 bool "JTAG and kernel debug and trace support across power collapse"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002080 help
Pratik Patel2963de42012-05-17 12:43:40 -07002081 Enables support for kernel debugging (specifically breakpoints) and
2082 processor tracing across power collapse both for JTag and OS hosted
2083 software running on the target. Enabling this will ensure debug
2084 and ETM registers are saved and restored across power collapse.
2085
2086 For production builds, you should probably say 'N' here to avoid
2087 potential power, performance and memory penalty.
Pratik Patel7831c082011-06-08 21:44:37 -07002088
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002089config MSM_ETM
2090 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002091 depends on ARCH_MSM8X60
2092 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002093 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002094 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002095
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002096config MSM_SLEEP_STATS
2097 bool "Enable exporting of MSM sleep stats to userspace"
2098 depends on CPU_IDLE
2099 default n
2100
Lynus Vazdde09ee2012-01-05 13:28:22 +05302101config MSM_SLEEP_STATS_DEVICE
2102 bool "Enable exporting of MSM sleep device stats to userspace"
2103
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302104config MSM_RUN_QUEUE_STATS
2105 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Krishna Vankae2922052012-03-02 09:59:12 +05302106 depends on (MSM_SOC_REV_A || ARCH_MSM8X60 || ARCH_MSM8960)
2107 help
2108 This option enalbes statistics collection on Run Queue. A daemon
2109 in user mode, called MPDecision will be using this data to decide
2110 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302111
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002112config MSM_STANDALONE_POWER_COLLAPSE
2113 bool "Enable standalone power collapse"
2114 default n
2115
2116config MSM_GSBI9_UART
2117 bool "Enable GSBI9 UART device"
2118 default n
2119 help
2120 This enables GSBI9 configured into UART.
2121
2122config MSM_SHARED_GPIO_FOR_UART2DM
2123 bool "Use shared GPIOs into UART mode"
2124 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2125 help
2126 This option configures GPIO muxed with SDC4/MMC3
2127 8-bit mode into UART mode. It is used for serial
2128 console on UART2DM. Say Y if you want to have
2129 serial console on UART2DM.
2130
2131config MSM_SHOW_RESUME_IRQ
2132 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002133 depends on (ARM_GIC || PMIC8058)
2134 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002135 default n
2136 help
2137 This option logs wake up interrupts that have triggered just before
2138 the resume loop unrolls. Say Y if you want to debug why the system
2139 resumed.
2140
2141config BT_MSM_PINTEST
2142 tristate "MSM Bluetooth Pin Connectivity Test"
2143 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2144 default n
2145 help
2146 Bluetooth MSM Pin Connectivity test module.
2147 This driver provides support for verifying the MSM to BT pin
2148 connectivity.
2149
2150config MSM_FAKE_BATTERY
2151 depends on POWER_SUPPLY
2152 default n
2153 bool "MSM Fake Battery"
2154 help
2155 Enables MSM fake battery driver.
2156
2157config MSM_QDSP6_APR
2158 bool "Audio QDSP6 APR support"
2159 depends on MSM_SMD
2160 default n
2161 help
2162 Enable APR IPC protocol support between
2163 application processor and QDSP6. APR is
2164 used by audio driver to configure QDSP6's
2165 ASM, ADM and AFE.
2166
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -07002167config MSM_QDSP6_CODECS
2168 bool "Audio Codecs on QDSP6 APR "
2169 depends on MSM_SMD
2170 default n
2171 help
2172 Enable Audio codecs with APR IPC protocol support between
2173 application processor and QDSP6. APR is
2174 used by audio driver to configure QDSP6's
2175 ASM, ADM and AFE.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002176
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002177config MSM_QDSP6V2_CODECS
2178 bool "Audio QDSP6V2 APR support"
2179 depends on MSM_SMD
2180 help
2181 Enable Audio codecs with APR IPC protocol support between
2182 application processor and QDSP6 for B-family. APR is
2183 used by audio driver to configure QDSP6's
2184 ASM, ADM and AFE.
2185
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002186config MSM_AUDIO_QDSP6
2187 bool "QDSP6 HW Audio support"
2188 select SND_SOC_MSM_QDSP6_INTF
2189 default n
2190 help
2191 Enable HW audio support in QDSP6.
2192 QDSP6 can support HW encoder & decoder and audio processing
2193
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002194config MSM_AUDIO_QDSP6V2
2195 bool "QDSP6V2 HW Audio support"
2196 select SND_SOC_MSM_QDSP6V2_INTF
2197 help
2198 Enable HW audio support in QDSP6V2.
2199 QDSP6V2 can support HW encoder & decoder and
2200 audio processing. It will enable support for
2201 AAC, AMRNB, AMRWB, EVRC, MP3, QCELP among
2202 others.
2203
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002204config MSM_ULTRASOUND
2205 bool "MSM ultrasound support"
2206 depends on MSM_AUDIO_QDSP6
2207 help
2208 Enable support for qdsp6/ultrasound.
2209
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002210config MSM_RPC_VIBRATOR
2211 bool "RPC based MSM Vibrator Support"
2212 depends on MSM_ONCRPCROUTER
2213 help
2214 Enable the vibrator support on MSM over RPC. The vibrator
2215 is connected on the PMIC. Say Y if you want to enable this
2216 feature.
2217
2218config PM8XXX_RPC_VIBRATOR
2219 bool "RPC based Vibrator on PM8xxx PMICs"
2220 depends on MSM_RPC_VIBRATOR
2221 help
2222 Enable the vibrator support on MSM over RPC. The vibrator
2223 is connected on the PM8XXX PMIC. Say Y if you want to enable
2224 this feature.
2225
2226config MSM_SPM_V1
2227 bool "Driver support for SPM Version 1"
2228 help
2229 Enables the support for Version 1 of the SPM driver. SPM hardware is
2230 used to manage the processor power during sleep. The driver allows
2231 configuring SPM to allow different power modes.
2232
2233config MSM_SPM_V2
2234 bool "Driver support for SPM Version 2"
2235 help
2236 Enables the support for Version 2 of the SPM driver. SPM hardware is
2237 used to manage the processor power during sleep. The driver allows
2238 configuring SPM to allow different power modes.
2239
2240config MSM_L2_SPM
2241 bool "SPM support for L2 cache"
2242 depends on MSM_SPM_V2
2243 help
2244 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2245 control of L2 cache low power mode with a Subsystem Power manager.
2246 Enabling this driver allows configuring L2 SPM for low power modes
2247 on supported chipsets.
2248
Laura Abbott2d1760b2011-09-29 21:31:24 -07002249config MSM_MULTIMEDIA_USE_ION
2250 bool "Multimedia suport using Ion"
2251 depends on ION_MSM
2252 help
2253 Enable support for multimedia drivers using Ion for buffer management
2254 instead of pmem. Selecting this may also involve userspace
2255 dependencies as well.
2256
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002257config MSM_OCMEM
2258 bool "MSM On-Chip memory driver (OCMEM)"
2259 help
2260 Enable support for On-Chip Memory available on certain MSM chipsets.
2261 OCMEM is a low latency, high performance pool shared by subsystems.
2262
Laura Abbottad340ff2012-01-04 14:23:48 -08002263config MSM_RTB
2264 bool "Register tracing"
2265 help
2266 Add support for logging different events to a small uncached
2267 region. This is designed to aid in debugging reset cases where the
2268 caches may not be flushed before the target resets.
2269
2270config MSM_RTB_SEPARATE_CPUS
2271 bool "Separate entries for each cpu"
2272 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002273 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002274 help
2275 Under some circumstances, it may be beneficial to give dedicated space
2276 for each cpu to log accesses. Selecting this option will log each cpu
2277 separately. This will guarantee that the last acesses for each cpu
2278 will be logged but there will be fewer entries per cpu
2279
Stepan Moskovchenko57884842012-06-07 17:35:49 -07002280config MSM_EBI_ERP
2281 bool "External Bus Interface (EBI) error reporting"
2282 help
2283 Say 'Y' here to enable reporting of external bus interface errors to
2284 the kernel log. Information such as the offending address and
2285 transaction type will be logged. This may be useful for debugging
2286 seemingly broken memory accesses.
2287
2288 For production builds, you should probably say 'N' here.
2289
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002290config MSM_CACHE_ERP
2291 bool "Cache / CPU error reporting"
2292 depends on ARCH_MSM_KRAIT
2293 help
2294 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2295 log. Enabling this feature can be used as a system debugging technique
2296 if cache corruption is suspected. Cache error statistics will also be
2297 reported in /proc/cpu/msm_cache_erp.
2298
2299 For production builds, you should probably say 'N' here.
2300
2301config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002302 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002303 depends on MSM_CACHE_ERP
2304 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002305 To cause the kernel to panic whenever an L1 cache error is detected, say
2306 'Y' here. This may be useful as a debugging technique if general system
2307 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002308
2309 For production builds, you should probably say 'N' here.
2310
Stepan Moskovchenko7035f652012-05-31 17:48:01 -07002311config MSM_L1_ERR_LOG
2312 bool "Log CPU ERP events to system memory"
2313 depends on MSM_CACHE_ERP
2314 help
2315 Enable logging CPU ERP events to an area of memory that will be
2316 preserved across a system reset. This may be useful for detecting and
2317 troubleshooting ERP-related system crashes in the field.
2318
2319 For production builds, you may want to say 'Y' here.
2320
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002321config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2322 bool "Report L2 master port slave/decode errors in kernel log"
2323 depends on MSM_CACHE_ERP
2324 help
2325 Master port errors can occur when a memory request is not properly
2326 handled by the destination slave. This can occur if the destination
2327 register does not exist or is inaccessible due to security
2328 restrictions or (in some cases) clock configuration. Enabling this
2329 option will cause a backtrace to be printed to the kernel log whenever
2330 such an error is encountered. Note that the error is reported as an
2331 interrupt rather than as an exception, meaning that the backtrace may
2332 have some skid. This option may help with debugging, though production
2333 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002334
2335config MSM_L2_ERP_PORT_PANIC
2336 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002337 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002338 help
2339 Master port errors can occur when a memory request is not properly
2340 handled by the destination slave. Enable this option to catch drivers
2341 which attempt to access bad areas of the address space, or access
2342 hardware registers in an improper state (such as certain clocks not
2343 being on). This option may help with debugging, though production
2344 builds should probably say 'N' here.
2345
2346config MSM_L2_ERP_1BIT_PANIC
2347 bool "Panic on recoverable L2 soft errors"
2348 depends on MSM_CACHE_ERP
2349 help
2350 Enable this option to cause a kernel panic whenever the L2 cache
2351 encounters a single-bit (correctable) soft error. This option should
2352 only be enabled when doing low-level debugging where cache corruption
2353 is suspected.
2354
2355 For production builds, you should definitely say 'N' here.
2356
2357config MSM_L2_ERP_2BIT_PANIC
2358 bool "Panic on unrecoverable L2 soft errors"
2359 depends on MSM_CACHE_ERP
2360 help
2361 Enable this option to cause a kernel panic whenever the L2 cache
2362 encounters a double-bit (non-correctable) soft error. Debug builds
2363 will likely benefit from having this option enabled to catch cache
2364 problems as soon as possible.
2365
2366 For production builds, it may be acceptable to say 'N' here, since
2367 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002368
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002369config MSM_DCVS
2370 bool "Use MSM DCVS for CPU/GPU Frequency control"
2371 depends on MSM_SCM
2372 help
2373 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2374 The DCVS manager allows idle driver to feed the idle information to the
2375 algorithm and the algorithm returns a frequency for the core which is
2376 passed to the frequency change driver.
2377
Taniya Dasc43e6872012-03-21 16:41:14 +05302378config HAVE_ARCH_HAS_CURRENT_TIMER
2379 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002380
2381config MSM_CACHE_DUMP
2382 bool "Cache dumping support"
2383 help
2384 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2385 This allows for analysis of the caches in case cache corruption is
2386 suspected.
2387
Laura Abbott7b637362012-03-29 16:43:49 -07002388config MSM_CACHE_DUMP_ON_PANIC
2389 bool "Dump caches on panic"
2390 depends on MSM_CACHE_DUMP
2391 help
2392 By default, the caches are flushed on panic. This means that trying to
2393 look at them in a RAM dump will give useless data. Select this if you
2394 want to dump the L1 and L2 caches on panic before any flush occurs.
2395 If unsure, say N
2396
Jack Phamccbbfab2012-04-09 19:50:20 -07002397config MSM_HSIC_SYSMON
2398 tristate "MSM HSIC system monitor driver"
2399 depends on USB
2400 help
2401 Add support for bridging with the system monitor interface of MDM
2402 over HSIC. This driver allows the local system monitor to
2403 communicate with the remote system monitor interface.
2404
2405config MSM_HSIC_SYSMON_TEST
2406 tristate "MSM HSIC system monitor bridge test"
2407 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2408 help
2409 Enable the test hook for the Qualcomm system monitor HSIC driver.
2410 This will create a debugfs file entry named "hsic_sysmon_test" which
2411 can be read and written to send character data to the sysmon port of
2412 the modem over USB.
2413
Brian Swetland9e73c842007-11-26 04:12:13 -08002414endif