blob: d1ab4dd77c16ef99f38750f23daf33f91d8a4f32 [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
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700228config ARCH_MSMCOPPER
229 bool "MSM Copper"
230 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
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700350 bool
351
352config ARCH_MSM_KRAITMP
353 select ARCH_MSM_KRAIT
354 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530355 select HAVE_ARCH_HAS_CURRENT_TIMER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700356 bool
Steve Mucklef132c6c2012-06-06 18:30:57 -0700357 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700358
Taniya Das43bcdd62011-12-02 17:33:27 +0530359config ARCH_MSM_CORTEXMP
360 select MSM_SMP
361 bool
362
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700363config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800364 bool
Rohit Vaswaniaf7ae272012-01-09 10:28:57 -0800365 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700366
367config ARCH_MSM7X27A
368 bool
369 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700370 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530371 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530372 select ARM_GIC
373 select ARCH_MSM_CORTEXMP
Trilok Sonib856ab92012-06-26 14:33:28 +0530374 select MIGHT_HAVE_CACHE_L2X0
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700375
Gregory Beanf9f3d312010-04-30 22:06:50 -0700376config MSM_VIC
377 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700378
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700379config MSM_RPM
380 bool "Resource Power Manager"
381 select MSM_MPM
382
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600383config MSM_RPM_SMD
384 depends on MSM_SMD
385 bool "Support for using SMD as the transport layer for communicatons with RPM"
386
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700387config MSM_MPM
388 bool "Modem Power Manager"
389
390config MSM_XO
391 bool
392
393config MSM_REMOTE_SPINLOCK_DEKKERS
394 bool
395config MSM_REMOTE_SPINLOCK_SWP
396 bool
397config MSM_REMOTE_SPINLOCK_LDREX
398 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600399config MSM_REMOTE_SPINLOCK_SFPB
400 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700401config MSM_ADM3
402 bool
403
404menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700405
406config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700407 depends on ARCH_MSM7X01A
408 depends on MSM_STACKED_MEMORY
409 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700410 bool "Halibut Board (QCT SURF7201A)"
411 help
412 Support for the Qualcomm SURF7201A eval board.
413
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700414config MACH_MSM7201A_SURF
415 depends on ARCH_MSM7X01A
416 depends on MSM_STACKED_MEMORY
417 default y
418 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700419 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700420 Support for the Qualcomm MSM7201A SURF eval board.
421
422config MACH_MSM7201A_FFA
423 depends on ARCH_MSM7X01A
424 depends on MSM_STACKED_MEMORY
425 default y
426 bool "MSM7201A FFA"
427 help
428 Support for the Qualcomm MSM7201A FFA eval board.
429
430config MACH_TROUT
431 depends on ARCH_MSM7X01A
432 depends on MSM_STACKED_MEMORY
433 default y
434 bool "Trout"
435
436config MACH_MSM7X27_SURF
437 depends on ARCH_MSM7X27
438 depends on !MSM_STACKED_MEMORY
439 default y
440 bool "MSM7x27 SURF"
441 help
442 Support for the Qualcomm MSM7x27 SURF eval board.
443
444config MACH_MSM7X27_FFA
445 depends on ARCH_MSM7X27
446 depends on !MSM_STACKED_MEMORY
447 default y
448 bool "MSM7x27 FFA"
449 help
450 Support for the Qualcomm MSM7x27 FFA eval board.
451
452config MACH_MSM7X27A_RUMI3
453 depends on ARCH_MSM7X27A
454 depends on !MSM_STACKED_MEMORY
455 default y
456 bool "MSM7x27A RUMI3"
457 help
458 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
459
460config MACH_MSM7X27A_SURF
461 depends on ARCH_MSM7X27A
462 depends on !MSM_STACKED_MEMORY
463 default y
464 bool "MSM7x27A SURF"
465 help
466 Support for the Qualcomm MSM7x27A SURF.
467
468config MACH_MSM7X27A_FFA
469 depends on ARCH_MSM7X27A
470 depends on !MSM_STACKED_MEMORY
471 default y
472 bool "MSM7x27A FFA"
473 help
474 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700475
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530476config MACH_MSM7625A_SURF
477 depends on ARCH_MSM7X27A
478 depends on !MSM_STACKED_MEMORY
479 default y
480 bool "MSM7625A SURF"
481 help
482 Support for the Qualcomm MSM7625A SURF.
483
484config MACH_MSM7625A_FFA
485 depends on ARCH_MSM7X27A
486 depends on !MSM_STACKED_MEMORY
487 default y
488 bool "MSM7625A FFA"
489 help
490 Support for the Qualcomm MSM7625A FFA.
491
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530492config MACH_MSM7627A_QRD1
493 depends on ARCH_MSM7X27A
494 depends on !MSM_STACKED_MEMORY
495 default y
496 bool "MSM7627A QRD1"
497 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530498 Support for the Qualcomm MSM7627A Reference Design.
499
500config MACH_MSM7627A_QRD3
501 depends on ARCH_MSM7X27A
502 depends on !MSM_STACKED_MEMORY
503 default y
504 bool "MSM7627A QRD3"
505 help
506 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530507
Taniya Dasc868a2e2012-01-03 10:18:47 +0530508config MACH_MSM7627A_EVB
509 depends on ARCH_MSM7X27A
510 depends on !MSM_STACKED_MEMORY
511 default y
512 bool "MSM7627A EVB"
513 help
514 Support for the Qualcomm MSM7627A Reference Design.
515
Taniya Das43bcdd62011-12-02 17:33:27 +0530516config MACH_MSM8625_RUMI3
517 depends on ARCH_MSM8625
518 depends on !MSM_STACKED_MEMORY
519 default y
520 bool "MSM8625 RUMI3"
521 help
522 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
523
Taniya Dase3027e22012-02-27 16:32:27 +0530524config MACH_MSM8625_SURF
525 depends on ARCH_MSM8625
526 depends on !MSM_STACKED_MEMORY
527 default y
528 bool "MSM8625 SURF"
529 help
530 Support for the Qualcomm MSM8625 SURF.
531
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530532config MACH_MSM8625_FFA
533 depends on ARCH_MSM8625
534 depends on !MSM_STACKED_MEMORY
535 default y
536 bool "MSM8625 FFA"
537 help
538 Support for the Qualcomm MSM8625 FFA.
539
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530540config MACH_MSM8625_EVB
541 depends on ARCH_MSM8625
542 depends on !MSM_STACKED_MEMORY
543 default y
544 bool "MSM8625 EVB"
545 help
546 Support for the Qualcomm MSM8625 Reference Design.
547
Taniya Dasbd096542012-03-15 17:43:45 +0530548config MACH_MSM8625_QRD7
549 depends on ARCH_MSM8625
550 depends on !MSM_STACKED_MEMORY
551 default y
552 bool "MSM8625 QRD7"
553 help
554 Support for the Qualcomm MSM8625 Reference Design.
555
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530556config MACH_MSM8625_EVT
557 depends on ARCH_MSM8625
558 depends on !MSM_STACKED_MEMORY
559 default y
560 bool "MSM8625 EVT"
561 help
562 Support for the Qualcomm MSM8625 Reference Design.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700563
Daniel Walker7b521612010-05-06 12:44:57 -0700564config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700565 depends on ARCH_MSM7X30
566 depends on !MSM_STACKED_MEMORY
567 default y
568 bool "MSM7x30 SURF"
569 help
570 Support for the Qualcomm MSM7x30 SURF eval board.
571
572config MACH_MSM7X30_FFA
573 depends on ARCH_MSM7X30
574 depends on !MSM_STACKED_MEMORY
575 default y
576 bool "MSM7x30 FFA"
577 help
578 Support for the Qualcomm MSM7x30 FFA eval board.
579
580config MACH_MSM7X30_FLUID
581 depends on ARCH_MSM7X30
582 depends on !MSM_STACKED_MEMORY
583 default y
584 bool "MSM7x30 FLUID"
585 help
586 Support for the Qualcomm MSM7x30 FLUID eval board.
587
588config MACH_SAPPHIRE
589 depends on ARCH_MSM7X01A
590 default n
591 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700592
Daniel Walker4ad15e62010-05-06 13:54:17 -0700593config MACH_QSD8X50_SURF
594 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700595 depends on MSM_SOC_REV_NONE
596 depends on MSM_STACKED_MEMORY
597 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700598 bool "QSD8x50 SURF"
599 help
600 Support for the Qualcomm QSD8x50 SURF eval board.
601
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700602config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700603 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700604 depends on MSM_SOC_REV_NONE
605 depends on MSM_STACKED_MEMORY
606 default y
607 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700608 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700609 Support for the Qualcomm QSD8x50 FFA eval board.
610
611config MACH_MSM7X25_SURF
612 depends on ARCH_MSM7X25
613 depends on !MSM_STACKED_MEMORY
614 default y
615 bool "MSM7x25 SURF"
616 help
617 Support for the Qualcomm MSM7x25 SURF eval board.
618
619config MACH_MSM7X25_FFA
620 depends on ARCH_MSM7X25
621 depends on !MSM_STACKED_MEMORY
622 default y
623 bool "MSM7x25 FFA"
624 help
625 Support for the Qualcomm MSM7x25 FFA eval board.
626
627config MACH_MSM8X55_SURF
628 depends on ARCH_MSM7X30
629 depends on !MSM_STACKED_MEMORY
630 default y
631 bool "MSM8X55 SURF"
632 help
633 Support for the Qualcomm MSM8x55 SURF eval board.
634
635config MACH_MSM8X55_FFA
636 depends on ARCH_MSM7X30
637 depends on !MSM_STACKED_MEMORY
638 default y
639 bool "MSM8X55 FFA"
640 help
641 Support for the Qualcomm MSM8x55 FFA eval board.
642
643config MACH_MSM8X55_SVLTE_FFA
644 depends on ARCH_MSM7X30
645 depends on !MSM_STACKED_MEMORY
646 default y
647 bool "MSM8X55 SVLTE FFA"
648 help
649 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
650
651config MACH_MSM8X55_SVLTE_SURF
652 depends on ARCH_MSM7X30
653 depends on !MSM_STACKED_MEMORY
654 default y
655 bool "MSM8X55 SVLTE SURF"
656 help
657 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700658
Steve Mucklea55df6e2010-01-07 12:43:24 -0800659config MACH_MSM8X60_RUMI3
660 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700661 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800662 bool "MSM8x60 RUMI3"
663 help
664 Support for the Qualcomm MSM8x60 RUMI3 emulator.
665
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800666config MACH_MSM8X60_SIM
667 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700668 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800669 bool "MSM8x60 Simulator"
670 help
671 Support for the Qualcomm MSM8x60 simulator.
672
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700673config MACH_MSM8X60_SURF
674 depends on ARCH_MSM8X60
675 default n
676 bool "MSM8x60 SURF"
677 help
678 Support for the Qualcomm MSM8x60 SURF eval board.
679
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700680config MACH_MSM8X60_FFA
681 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700682 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700683 bool "MSM8x60 FFA"
684 help
685 Support for the Qualcomm MSM8x60 FFA eval board.
686
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700687config MACH_MSM8X60_FLUID
688 depends on ARCH_MSM8X60
689 default n
690 bool "MSM8x60 FLUID"
691 help
692 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
693 8x60 target which has a form factor that is much closer to that
694 of a phone than other targets. It also has a new display and
695 touchscreen controller.
696
697config MACH_MSM8X60_FUSION
698 depends on ARCH_MSM8X60
699 default n
700 bool "MSM8x60 FUSION"
701 help
702 Support for the Qualcomm MSM8x60 Fusion SURF device.
703
704config MACH_MSM8X60_FUSN_FFA
705 depends on ARCH_MSM8X60
706 default n
707 bool "MSM8x60 FUSN FFA"
708 help
709 Support for the Qualcomm MSM8x60 Fusion FFA device.
710
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400711config MACH_MSM8X60_DRAGON
712 depends on ARCH_MSM8X60
713 default n
714 bool "MSM8x60 DRAGON"
715 help
716 Support for the Qualcomm MSM8x60 Dragon board.
717
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800718config MACH_MSM8960_SIM
719 depends on ARCH_MSM8960
720 bool "MSM8960 Simulator"
721 help
722 Support for the Qualcomm MSM8960 simulator.
723
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800724config MACH_MSM8960_RUMI3
725 depends on ARCH_MSM8960
726 bool "MSM8960 RUMI3"
727 help
728 Support for the Qualcomm MSM8960 RUMI3 emulator.
729
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700730config MACH_MSM8960_CDP
731 depends on ARCH_MSM8960
732 bool "MSM8960 CDP"
733 help
734 Support for the Qualcomm MSM8960 CDP device.
735
736config MACH_MSM8960_MTP
737 depends on ARCH_MSM8960
738 bool "MSM8960 MTP"
739 help
740 Support for the Qualcomm MSM8960 MTP device.
741
742config MACH_MSM8960_FLUID
743 depends on ARCH_MSM8960
744 bool "MSM8960 FLUID"
745 help
746 Support for the Qualcomm MSM8960 FLUID device.
747
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300748config MACH_MSM8960_LIQUID
749 depends on ARCH_MSM8960
750 bool "MSM8960 LIQUID"
751 help
752 Support for the Qualcomm MSM8960 LIQUID device.
753
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700754config MACH_MSM8930_CDP
755 depends on ARCH_MSM8930
756 bool "MSM8930 CDP"
757 help
758 Support for the Qualcomm MSM8930 CDP device.
759
760config MACH_MSM8930_MTP
761 depends on ARCH_MSM8930
762 bool "MSM8930 MTP"
763 help
764 Support for the Qualcomm MSM8930 MTP device.
765
766config MACH_MSM8930_FLUID
767 depends on ARCH_MSM8930
768 bool "MSM8930 FLUID"
769 help
770 Support for the Qualcomm MSM8930 FLUID device.
771
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800772config MACH_MSM8627_CDP
773 depends on ARCH_MSM8930
774 bool "MSM8627 CDP"
775 help
776 Support for the Qualcomm MSM8627 CDP device.
777
778config MACH_MSM8627_MTP
779 depends on ARCH_MSM8930
780 bool "MSM8627 MTP"
781 help
782 Support for the Qualcomm MSM8627 MTP device.
783
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700784config MACH_MSM9615_CDP
785 depends on ARCH_MSM9615
786 bool "MSM9615 CDP"
787 help
788 Support for the Qualcomm MSM9615 CDP device.
789
790config MACH_MSM9615_MTP
791 depends on ARCH_MSM9615
792 bool "MSM9615 MTP"
793 help
794 Support for the Qualcomm MSM9615 MTP device.
795
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700796config MSM_USE_TSIF1
797 depends on ARCH_MSM8X60
798 bool "MSM8x60 use TSIF1"
799 help
800 Selects TSIF1 core to be used rather than TSIF0.
801 The two TSIF cores share the same DM configuration
802 so they cannot be used simultaneously.
803
804config MACH_APQ8064_SIM
805 depends on ARCH_APQ8064
806 bool "APQ8064 Simulator"
807 help
808 Support for the Qualcomm APQ8064 simulator.
809
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700810config MACH_APQ8064_RUMI3
811 depends on ARCH_APQ8064
812 bool "APQ8064 RUMI3"
813 help
814 Support for the Qualcomm APQ8064 RUMI3 emulator.
815
Joel King82b7e3f2012-01-05 10:03:27 -0800816config MACH_APQ8064_CDP
817 depends on ARCH_APQ8064
818 bool "APQ8064 CDP"
819 help
820 Support for the Qualcomm APQ8064 CDP device.
821
822config MACH_APQ8064_MTP
823 depends on ARCH_APQ8064
824 bool "APQ8064 MTP"
825 help
826 Support for the Qualcomm APQ8064 MTP device.
827
828config MACH_APQ8064_LIQUID
829 depends on ARCH_APQ8064
830 bool "APQ8064 LIQUID"
831 help
832 Support for the Qualcomm APQ8064 LIQUID device.
833
Joel King064bbf82012-04-01 13:23:39 -0700834config MACH_MPQ8064_CDP
835 depends on ARCH_APQ8064
836 bool "MPQ8064 CDP"
837 help
838 Support for the Qualcomm MPQ8064 CDP device.
839
Joel King11ca8202012-02-13 16:19:03 -0800840config MACH_MPQ8064_HRD
841 depends on ARCH_APQ8064
842 bool "MPQ8064 HRD"
843 help
844 Support for the Qualcomm MPQ8064 HRD device.
845
846config MACH_MPQ8064_DTV
847 depends on ARCH_APQ8064
848 bool "MPQ8064 DTV"
849 help
850 Support for the Qualcomm MPQ8064 DTV device.
851
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700852config MACH_FSM9XXX_SURF
853 depends on ARCH_FSM9XXX
854 depends on !MSM_STACKED_MEMORY
855 default y
856 bool "FSM9XXX SURF"
857 help
858 Support for the Qualcomm FSM9xxx femtocell
859 chipset based SURF evaluation board and
860 FFA board.
861
Daniel Walker4ad15e62010-05-06 13:54:17 -0700862endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800863
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700864config MSM_STACKED_MEMORY
865 bool "Stacked Memory"
866 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800867 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700868 This option is used to indicate the presence of on-die stacked
869 memory. When present this memory bank is used for a high speed
870 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800871
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700872config PHYS_OFFSET
873 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700874 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700875 default "0x80200000" if ARCH_APQ8064
876 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700877 default "0x80200000" if ARCH_MSM8930
Jin Hongcd35c5d2012-05-29 08:51:22 -0700878 default "0x00000000" if ARCH_MSMCOPPER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700879 default "0x10000000" if ARCH_FSM9XXX
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700880 default "0x20200000" if ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700881 default "0x00200000" if !MSM_STACKED_MEMORY
882 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
883 default "0x20000000" if ARCH_QSD8X50
884 default "0x40200000" if ARCH_MSM8X60
885 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800886
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700887config KERNEL_PMEM_EBI_REGION
888 bool "Enable in-kernel PMEM region for EBI"
889 default y if ARCH_MSM8X60
Olav Hauganb800c8c2012-01-30 08:50:45 -0800890 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSMCOPPER)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700891 help
892 Enable the in-kernel PMEM allocator to use EBI memory.
893
894config KERNEL_PMEM_SMI_REGION
895 bool "Enable in-kernel PMEM region for SMI"
896 default y if ARCH_MSM8X60
897 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
898 help
899 Enable the in-kernel PMEM allocator to use SMI memory.
900
901config PMEM_GPU0
902 bool "Enable PMEM GPU0 region"
903 default y
904 depends on ARCH_QSD8X50 && ANDROID_PMEM
905 help
906 Enable the PMEM GPU0 device on SMI Memory.
907
908config MSM_AMSS_VERSION
909 int
910 default 6210 if MSM_AMSS_VERSION_6210
911 default 6220 if MSM_AMSS_VERSION_6220
912 default 6225 if MSM_AMSS_VERSION_6225
913
914choice
915 prompt "AMSS modem firmware version"
916
917 default MSM_AMSS_VERSION_6225
918
919 config MSM_AMSS_VERSION_6210
920 bool "6.2.10"
921
922 config MSM_AMSS_VERSION_6220
923 bool "6.2.20"
924
925 config MSM_AMSS_VERSION_6225
926 bool "6.2.20 + New ADSP"
927endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800928
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700929config MSM_HAS_DEBUG_UART_HS
Daniel Walkerbf83de42010-03-16 16:29:44 -0700930 bool
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700931 help
932 Say Y here if high speed MSM UART is present.
933
934config MSM_HAS_DEBUG_UART_HS_V14
935 bool
936 select MSM_HAS_DEBUG_UART_HS
937 help
938 Say Y here if high speed MSM UART v1.4 is present.
939
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530940config MSM_DEBUG_UART_PHYS
941 hex
942 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
943 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
944 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
945 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
946 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
947 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
948 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
949 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
950
Brian Swetland9e73c842007-11-26 04:12:13 -0800951choice
952 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800953 depends on DEBUG_LL
Brian Swetland9e73c842007-11-26 04:12:13 -0800954
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800955 config DEBUG_MSM_UART1
956 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530957 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800958 help
959 Say Y here if you want the debug print routines to direct
960 their output to the first serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -0800961
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800962 config DEBUG_MSM_UART2
963 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530964 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800965 help
966 Say Y here if you want the debug print routines to direct
967 their output to the second serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -0800968
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800969 config DEBUG_MSM_UART3
970 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530971 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800972 help
973 Say Y here if you want the debug print routines to direct
974 their output to the third serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -0800975
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800976 config DEBUG_MSM8660_UART
977 bool "Kernel low-level debugging messages via MSM 8660 UART"
978 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700979 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800980 help
981 Say Y here if you want the debug print routines to direct
982 their output to the serial port on MSM 8660 devices.
Steve Mucklec8aabae2010-04-21 16:20:27 -0700983
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800984 config DEBUG_MSM8960_UART
985 bool "Kernel low-level debugging messages via MSM 8960 UART"
Stepan Moskovchenko824db172012-05-29 18:05:09 -0700986 depends on ARCH_MSM8960 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700987 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800988 help
989 Say Y here if you want the debug print routines to direct
990 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700991
Stepan Moskovchenko824db172012-05-29 18:05:09 -0700992 config DEBUG_MSM8930_UART
993 bool "Kernel low-level debugging messages via MSM 8930 UART"
994 depends on ARCH_MSM8930 && DEBUG_LL
995 select MSM_HAS_DEBUG_UART_HS
996 help
997 Say Y here if you want the debug print routines to direct
998 their output to the serial port on MSM 8930 devices.
999
1000 config DEBUG_APQ8064_UART
1001 bool "Kernel low-level debugging messages via APQ 8064 UART"
1002 depends on ARCH_APQ8064 && DEBUG_LL
1003 select MSM_HAS_DEBUG_UART_HS
1004 help
1005 Say Y here if you want the debug print routines to direct
1006 their output to the serial port on APQ 8064 devices.
1007
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001008 config DEBUG_MSMCOPPER_UART
1009 bool "Kernel low-level debugging messages via MSM Copper UART"
1010 depends on ARCH_MSMCOPPER
1011 select MSM_HAS_DEBUG_UART_HS_V14
1012 help
1013 Say Y here if you want the debug print routines to direct
1014 their output to the serial port on MSM Copper devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001015endchoice
Brian Swetland9e73c842007-11-26 04:12:13 -08001016
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001017choice
1018 prompt "Default Timer"
1019 default MSM7X00A_USE_GP_TIMER
1020
1021 config MSM7X00A_USE_GP_TIMER
1022 bool "GP Timer"
1023 help
1024 Low resolution timer that allows power collapse from idle.
1025
1026 config MSM7X00A_USE_DG_TIMER
1027 bool "DG Timer"
1028 help
1029 High resolution timer.
1030endchoice
1031
1032choice
1033 prompt "Suspend sleep mode"
1034 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1035 help
1036 Allows overriding the sleep mode used. Leave at power
1037 collapse suspend unless the arm9 image has problems.
1038
1039 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1040 bool "Power collapse suspend"
1041 help
1042 Lowest sleep state. Returns through reset vector.
1043
1044 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1045 bool "Power collapse"
1046 help
1047 Sleep state that returns through reset vector.
1048
1049 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1050 bool "Apps Sleep"
1051
1052 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1053 bool "Ramp down cpu clock and wait for interrupt"
1054
1055 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1056 bool "Wait for interrupt"
1057endchoice
1058
1059config MSM7X00A_SLEEP_MODE
1060 int
1061 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1062 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1063 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1064 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1065 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1066
1067choice
1068 prompt "Idle sleep mode"
1069 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1070 help
1071 Allows overriding the sleep mode used from idle. Leave at power
1072 collapse suspend unless the arm9 image has problems.
1073
1074 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1075 bool "Power collapse suspend"
1076 help
1077 Lowest sleep state. Returns through reset vector.
1078
1079 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1080 bool "Power collapse"
1081 help
1082 Sleep state that returns through reset vector.
1083
1084 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1085 bool "Apps Sleep"
1086
1087 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1088 bool "Ramp down cpu clock and wait for interrupt"
1089
1090 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1091 bool "Wait for interrupt"
1092endchoice
1093
1094config MSM7X00A_IDLE_SLEEP_MODE
1095 int
1096 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1097 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1098 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1099 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1100 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1101
1102config MSM7X00A_IDLE_SLEEP_MIN_TIME
1103 int "Minimum idle time before sleep"
1104 default 20000000
1105 help
1106 Minimum idle time in nanoseconds before entering low power mode.
1107
1108config MSM7X00A_IDLE_SPIN_TIME
1109 int "Idle spin time before cpu ramp down"
1110 default 80000
1111 help
1112 Spin time in nanoseconds before ramping down cpu clock and entering
1113 any low power state.
1114
1115menuconfig MSM_IDLE_STATS
1116 bool "Collect idle statistics"
1117 default y
1118 help
1119 Collect idle statistics and export them in proc/msm_pm_stats.
1120
1121if MSM_IDLE_STATS
1122
1123config MSM_IDLE_STATS_FIRST_BUCKET
1124 int "First bucket time"
1125 default 62500
1126 help
1127 Upper time limit in nanoseconds of first bucket.
1128
1129config MSM_IDLE_STATS_BUCKET_SHIFT
1130 int "Bucket shift"
1131 default 2
1132
1133config MSM_IDLE_STATS_BUCKET_COUNT
1134 int "Bucket count"
1135 default 10
1136
1137config MSM_SUSPEND_STATS_FIRST_BUCKET
1138 int "First bucket time for suspend"
1139 default 1000000000
1140 help
1141 Upper time limit in nanoseconds of first bucket of the
1142 histogram. This is for collecting statistics on suspend.
1143
1144endif # MSM_IDLE_STATS
1145
1146config CPU_HAS_L2_PMU
1147 bool "L2CC PMU Support"
1148 help
1149 Select this if the L2 cache controller has a Performance Monitoring Unit.
1150
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001151config HTC_HEADSET
1152 tristate "HTC 2 Wire detection driver"
1153 default n
1154 help
1155 Provides support for detecting HTC 2 wire devices, such as wired
1156 headset, on the trout platform. Can be used with the msm serial
1157 debugger, but not with serial console.
1158
1159config TROUT_BATTCHG
1160 depends on MACH_TROUT && POWER_SUPPLY
1161 default y
1162 bool "Trout battery / charger driver"
1163
1164config HTC_PWRSINK
1165 depends on MSM_SMD
1166 default n
1167 bool "HTC Power Sink Driver"
1168
1169config QSD_SVS
1170 bool "QSD Static Voltage Scaling"
1171 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1172 default y
1173 select TPS65023
1174 help
1175 Enables static voltage scaling using the TPS65023 PMIC.
1176
1177config QSD_PMIC_DEFAULT_DCDC1
1178 int "PMIC default output voltage"
1179 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1180 default 1250
1181 help
1182 This is the PMIC voltage at Linux kernel boot.
1183
1184config MSM_FIQ_SUPPORT
1185 default y
1186 bool "Enable installation of an FIQ handler."
1187
1188config MSM_SERIAL_DEBUGGER
1189 select MSM_FIQ_SUPPORT
1190 select KERNEL_DEBUGGER_CORE
1191 default n
1192 bool "FIQ Mode Serial Debugger"
1193 help
1194 The FIQ serial debugger can accept commands even when the
1195 kernel is unresponsive due to being stuck with interrupts
1196 disabled. Depends on the kernel debugger core in drivers/misc.
1197
1198config MSM_SERIAL_DEBUGGER_CONSOLE
1199 depends on MSM_SERIAL_DEBUGGER
1200 default n
1201 bool "Console on FIQ Serial Debugger port"
1202 help
1203 Enables a console so that printk messages are displayed on
1204 the debugger serial port as the occur.
Brian Swetland9e73c842007-11-26 04:12:13 -08001205
Gregory Beanab78cde2010-09-01 16:26:12 -07001206config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001207 default y
1208 bool "Proc-Comm RPC Interface"
1209 help
1210 Enables a lightweight communications interface to the
1211 baseband processor.
Gregory Beanab78cde2010-09-01 16:26:12 -07001212
Gregory Bean1963a2a2010-08-28 10:05:44 -07001213config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001214 bool "MSM Shared Memory Driver (SMD)"
1215 help
1216 Support for the shared memory interface between the apps
1217 processor and the baseband processor. Provides access to
1218 the "shared heap", as well as virtual serial channels
1219 used to communicate with various services on the baseband
1220 processor.
1221
1222choice
1223 prompt "MSM Shared memory interface version"
1224 depends on MSM_SMD
1225 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1226 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1227
1228 config MSM_SMD_PKG3
1229 bool
1230 prompt "Package 3"
1231
1232 config MSM_SMD_PKG4
1233 bool
1234 prompt "Package 4"
1235endchoice
1236
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001237config MSM_PCIE
1238 bool "MSM PCIe Controller driver"
1239 depends on PCI && PCI_MSI
1240 help
1241 Enables the PCIe functionality by configures PCIe core on
1242 MSM chipset and by enabling the ARM PCI framework extension.
1243
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001244config MSM_RPC_SDIO_XPRT
1245 depends on MSM_SDIO_AL
1246 default y
1247 bool "MSM SDIO XPRT Layer"
1248 help
1249 SDIO Transport Layer for RPC Rouer
1250
1251config MSM_RPC_SDIO_DEBUG
1252 depends on MSM_RPC_SDIO_XPRT
1253 default y
1254 bool "MSM SDIO XPRT debug support"
1255 help
1256 Support for debugging SDIO XPRT
1257
1258config MSM_SMD_DEBUG
1259 depends on MSM_SMD
1260 default y
1261 bool "MSM SMD debug support"
1262 help
1263 Support for debugging the SMD for communication
1264 between the ARM9 and ARM11
1265
1266config MSM_SDIO_AL
1267 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1268 default y
1269 tristate "SDIO-Abstraction-Layer"
1270 help
1271 Support MSM<->MDM Communication over SDIO bus.
1272 MDM SDIO-Client should have pipes support.
1273
1274config MSM_SDIO_DMUX
1275 bool "SDIO Data Mux Driver"
1276 depends on MSM_SDIO_AL
1277 default n
1278 help
1279 Support Muxed Data Channels over SDIO interface.
1280
1281config MSM_BAM_DMUX
1282 bool "BAM Data Mux Driver"
1283 depends on SPS
1284 default n
1285 help
1286 Support Muxed Data Channels over BAM interface.
1287 BAM has a limited number of pipes. This driver
1288 provides a means to support more logical channels
1289 via muxing than BAM could without muxing.
1290
1291config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001292 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001293 default y
1294 bool "MSM N-WAY SMD support"
1295 help
1296 Supports APPS-QDSP SMD communication along with
1297 normal APPS-MODEM SMD communication.
1298
1299config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001300 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001301 default y
1302 bool "MSM N-WAY SMSM support"
1303 help
1304 Supports APPS-QDSP SMSM communication along with
1305 normal APPS-MODEM SMSM communication.
1306
1307config MSM_RESET_MODEM
1308 tristate "Reset Modem Driver"
1309 depends on MSM_SMD
1310 default m
1311 help
1312 Allows the user to reset the modem through a device node.
1313
1314config MSM_SMD_LOGGING
1315 depends on MSM_SMD
1316 default y
1317 bool "MSM Shared Memory Logger"
1318 help
1319 This option exposes the shared memory logger at /dev/smem_log
1320 and a debugfs node named smem_log.
1321
1322 If in doubt, say yes.
1323
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001324config MSM_IPC_LOGGING
1325 bool "MSM Debug Logging for IPC Drivers"
1326 help
1327 This option allows the debug logging for IPC Drivers.
1328
1329 If in doubt, say no.
1330
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001331config MSM_SMD_NMEA
1332 bool "NMEA GPS Driver"
1333 depends on MSM_SMD
1334 default y
1335 help
1336 Enable this to support the NMEA GPS device.
1337
1338 If in doubt, say yes.
1339
1340config MSM_SDIO_TTY
1341 bool "SDIO TTY Driver"
1342 depends on MSM_SDIO_AL
1343 default n
1344 help
1345 Provides a TTY driver SDIO TTY
1346 This driver can be used by user space
1347 applications for passing data through the
1348 SDIO interface.
1349
1350config MSM_SMD_TTY
1351 bool "SMD TTY Driver"
1352 depends on MSM_SMD
1353 default y
1354 help
1355 Provides TTY interfaces to interact with the modem.
1356
1357 If in doubt, say yes.
1358
1359config MSM_SMD_QMI
1360 bool "SMD QMI Driver"
1361 depends on MSM_SMD
1362 default y
1363 help
1364 Manages network data connections.
1365
1366 If in doubt, say yes.
1367
1368config MSM_SMD_PKT
1369 bool "SMD Packet Driver"
1370 depends on MSM_SMD
1371 default y
1372 help
1373 Provides a binary SMD non-muxed packet port interface.
1374
1375 If in doubt, say yes.
1376
1377config MSM_SDIO_CMUX
1378 bool "SDIO CMUX Driver"
1379 depends on MSM_SDIO_AL
1380 default n
1381 help
1382 Provides a Muxed port interface over SDIO QMI
1383
1384config MSM_DSPS
1385 bool "Sensors DSPS driver"
1386 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1387 default n
1388 help
1389 Provides user-space interface to the sensors manager
1390 to turn on/off the Sensors Processor system clocks.
1391 It is the DSPS responsibility to turn on/off the sensors
1392 themself.
1393 The number of clocks and their name may vary between targets.
1394 It also triggers the PIL to load the DSPS firmware.
1395
1396config MSM_SDIO_CTL
1397 bool "SDIO CTL Driver"
1398 depends on MSM_SDIO_CMUX
1399 default n
1400 help
1401 Provides a binary SDIO control port interface.
1402
1403config MSM_ONCRPCROUTER
1404 depends on MSM_SMD
1405 default n
1406 bool "MSM ONCRPC router support"
1407 help
1408 Support for the MSM ONCRPC router for communication between
1409 the ARM9 and ARM11
1410
1411config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001412 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001413 default n
1414 bool "MSM IPC Router support"
1415 help
1416 Support for the MSM IPC Router for communication between
1417 the APPs and the MODEM
1418
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001419config MSM_IPC_ROUTER_SMD_XPRT
1420 depends on MSM_SMD
1421 depends on MSM_IPC_ROUTER
1422 default n
1423 bool "MSM SMD XPRT Layer"
1424 help
1425 SMD Transport Layer for IPC Router
1426
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001427config MSM_ONCRPCROUTER_DEBUG
1428 depends on MSM_ONCRPCROUTER
1429 default y
1430 bool "MSM debug ONCRPC router support"
1431 help
1432 Support for debugging the ONCRPC router for communication
1433 between the ARM9 and ARM11
1434
1435config MSM_RPC_LOOPBACK_XPRT
1436 depends on MSM_ONCRPCROUTER
1437 default n
1438 bool "MSM RPC local routing support"
1439 help
1440 Support for routing RPC messages between APPS clients
1441 and APPS servers. Helps in testing APPS RPC framework.
1442
1443config MSM_RPCSERVER_TIME_REMOTE
1444 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1445 default y
1446 bool "Time remote RPC server"
1447 help
1448 The time remote server receives notification of time bases and
1449 reports these events to registered callback functions.
1450
1451config MSM_RPCSERVER_WATCHDOG
1452 depends on MSM_ONCRPCROUTER
1453 default y
1454 bool "Watchdog RPC server"
1455 help
1456 The dog_keepalive server handles watchdog events.
1457
1458config MSM_RPC_WATCHDOG
1459 depends on MSM_ONCRPCROUTER
1460 default n
1461 bool "Watchdog RPC client"
1462 help
1463 The dog_keepalive client module.
1464
1465config MSM_RPC_PING
1466 depends on MSM_ONCRPCROUTER && DEBUG_FS
1467 default m
1468 bool "MSM rpc ping"
1469 help
1470 Implements MSM rpc ping test module.
1471
1472config MSM_RPC_PROC_COMM_TEST
1473 depends on DEBUG_FS && MSM_PROC_COMM
1474 default m
1475 bool "MSM rpc proc comm test"
1476 help
1477 Implements MSM rpc proc comm test module.
1478
1479config MSM_RPC_OEM_RAPI
1480 depends on MSM_ONCRPCROUTER
1481 default m
1482 bool "MSM oem rapi"
1483 help
1484 Implements MSM oem rapi client module.
1485
1486config MSM_RPCSERVER_HANDSET
1487 depends on MSM_ONCRPCROUTER
1488 default y
1489 bool "Handset events RPC server"
1490 help
1491 Support for receiving handset events like headset detect,
1492 headset switch and clamshell state.
1493
1494config MSM_RMT_STORAGE_CLIENT
1495 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1496 default n
1497 bool "Remote Storage RPC client"
1498 help
1499 Provide RPC mechanism for remote processors to access storage
1500 device on apps processor.
1501
1502config MSM_RMT_STORAGE_CLIENT_STATS
1503 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1504 default n
1505 bool "Remote storage RPC client performance statistics"
1506 help
1507 Collects performance statistics and shows this information
1508 through a debugfs file rmt_storage_stats.
1509
1510config MSM_SDIO_SMEM
1511 depends on MSM_SDIO_AL
1512 default n
1513 bool "SDIO SMEM for remote storage"
1514 help
1515 Copies data from remote MDM9K memory to local MSM8x60
1516 memory. Used by remote storage client to shadow
1517 MDM9K filesystem.
1518
1519config MSM_DALRPC
1520 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001521 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001522 help
1523 Supports RPC calls to DAL devices on remote processor cores.
1524
1525config MSM_DALRPC_TEST
1526 tristate "DAL RPC test module"
1527 depends on (MSM_DALRPC && DEBUG_FS)
1528 default m
1529 help
1530 Exercises DAL RPC calls to QDSP6.
1531
1532if CPU_FREQ_MSM
1533
1534config MSM_CPU_FREQ_SET_MIN_MAX
1535 bool "Set Min/Max CPU frequencies."
1536 default n
1537 help
1538 Allow setting min and max CPU frequencies. Sysfs can be used
1539 to override these values.
1540
1541config MSM_CPU_FREQ_MAX
1542 int "Max CPU Frequency"
1543 depends on MSM_CPU_FREQ_SET_MIN_MAX
1544 default 384000
1545
1546config MSM_CPU_FREQ_MIN
1547 int "Min CPU Frequency"
1548 depends on MSM_CPU_FREQ_SET_MIN_MAX
1549 default 245760
1550
1551endif # CPU_FREQ_MSM
1552
1553config MSM_CPU_AVS
1554 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1555 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1556 depends on ARCH_QSD8X50
1557 default n
1558 select MSM_AVS_HW
1559 help
1560 This enables the s/w control of Adaptive Voltage Scaling feature
1561 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1562 based on feedback from three ring oscillators in the CPU.
1563
1564config MSM_AVS_HW
1565 bool "Enable Adaptive Voltage Scaling (AVS)"
1566 default n
1567 help
1568 Enable AVS hardware to fine tune voltage at each frequency. The
1569 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1570 fine tune the voltages based on the feedback from the ring
1571 oscillators.
1572
1573config MSM_HW3D
1574 tristate "MSM Hardware 3D Register Driver"
1575 depends on ANDROID_PMEM
1576 default y
1577 help
1578 Provides access to registers needed by the userspace OpenGL|ES
1579 library.
1580
1581config MSM_ADSP
1582 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1583 tristate "MSM ADSP driver"
1584 depends on ANDROID_PMEM
1585 default y
1586 help
1587 Provides access to registers needed by the userspace aDSP library.
1588
1589config ADSP_RPC_VER
1590 hex
1591 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1592 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1593 depends on MSM_ADSP
1594 help
1595 Select proper ADSP RPC version
1596choice
1597 prompt "ADSP RPC version"
1598
1599 default AMSS_7X25_VERSION_2009
1600
1601 config AMSS_7X25_VERSION_2009
1602 bool "2.0.09"
1603
1604 config AMSS_7X25_VERSION_2008
1605 bool "2.0.08"
1606endchoice
1607
1608config MSM7KV2_AUDIO
1609 bool "MSM7K v2 audio"
1610 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1611 default y
1612 help
1613 Enables QDSP5V2-based audio drivers for audio playbacks and
1614 voice call.
1615
1616config MSM_ADSP_REPORT_EVENTS
1617 bool "Report modem events from the DSP"
1618 default y
1619 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1620 help
1621 Normally, only messages from the aDSP are reported to userspace.
1622 With this option, we report events from the aDSP as well.
1623
1624config MSM_QDSP6
1625 tristate "QDSP6 support"
1626 depends on ARCH_QSD8X50 && ANDROID_PMEM
1627 default y
1628 help
1629 Enable support for qdsp6. This provides audio and video functionality.
1630
1631config MSM8X60_AUDIO
1632 tristate "MSM8X60 audio support"
1633 depends on ARCH_MSM8X60 && ANDROID_PMEM
1634 default y
1635 help
1636 Enable support for qdsp6v2. This provides audio functionality.
1637
1638config MSM8X60_FTM_AUDIO_DEVICES
1639 bool "MSM8X60 audio factory test mode support"
1640 depends on MSM8X60_AUDIO
1641 help
1642 Enable support audio factory test mode devices. This is used
1643 in a production line environment.
1644
Ben Romberger45b351c2011-07-20 22:37:27 -07001645config RTAC
1646 bool "MSM8K real-time audio calibration support"
1647 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001648 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001649 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001650 audio operation
1651
1652config MSM7X27A_AUDIO
1653 bool "MSM7X27A audio support"
1654 depends on ARCH_MSM7X27A && MSM_ADSP
1655 default n
1656 help
1657 Enable support for 7x27a. This provides audio functionality.
1658
Justin Pauporea6cd2092011-06-22 16:19:45 -07001659config MSM_PROC_COMM_REGULATOR
Gregory Bean1963a2a2010-08-28 10:05:44 -07001660 bool
Justin Pauporea6cd2092011-06-22 16:19:45 -07001661 depends on MSM_PROC_COMM && REGULATOR
1662 help
1663 Enable regulator framework support for regulators managed by PMLIB
1664 on the modem, and controlled through proccomm calls.
1665
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001666config MSM_VREG_SWITCH_INVERTED
1667 bool "Reverse vreg switch polarity"
1668 default n
1669 help
1670 Reverses the enable and disable for vreg switch.
1671
1672config MSM_DMA_TEST
1673 tristate "MSM DMA test module"
1674 default m
1675 help
1676 Intended to be compiled as a module. Provides a device node
1677 and ioctls for testing the MSM dma system.
1678
1679config WIFI_CONTROL_FUNC
1680 bool "Enable WiFi control function abstraction"
1681 help
1682 Enables Power/Reset/Carddetect function abstraction
1683
1684config WIFI_MEM_PREALLOC
1685 depends on WIFI_CONTROL_FUNC
1686 bool "Preallocate memory for WiFi buffers"
1687 help
1688 Preallocates memory buffers for WiFi driver
1689
1690config QSD_AUDIO
1691 bool "QSD audio"
1692 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1693 default y
1694 help
1695 Provides PCM, MP3, and AAC audio playback.
1696
1697config AUDIO_AAC_PLUS
1698 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1699 bool "AAC+ Audio"
1700 default y
1701 help
1702 Provides AAC+ decoding
1703
1704config AUDIO_ENHANCED_AAC_PLUS
1705 depends on AUDIO_AAC_PLUS
1706 bool "Enhanced AAC+ Audio"
1707 default y
1708 help
1709 Provides Enhanced AAC+ decoding
1710
1711config SURF_FFA_GPIO_KEYPAD
1712 bool "MSM SURF/FFA GPIO keypad"
1713 depends on INPUT_GPIO = "y"
1714 default y
1715 help
1716 Select if the GPIO keypad is attached.
1717
1718config MSM_SLEEP_TIME_OVERRIDE
1719 bool "Allow overriding suspend/sleep time with PM module parameter"
1720 default y
1721 help
1722 Enable the module parameter sleep_time_override. Specified
1723 in units of seconds, it overwrites the normal sleep time of
1724 suspend. The feature is required for automated power management
1725 testing.
1726
1727config MSM_MEMORY_LOW_POWER_MODE
1728 bool "Control the low power modes of memory"
1729 default n
1730 help
1731 The application processor controls whether memory should enter
1732 which low power mode.
1733
1734choice
1735 prompt "Default Memory Low Power Mode during Idle"
1736 depends on MSM_MEMORY_LOW_POWER_MODE
1737 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1738 help
1739 Selects the default low power mode of the memory during idle
1740 sleep.
1741
1742 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1743 bool "Memory active"
1744
1745 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1746 bool "Memory in retention"
1747
1748 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1749 bool "Memory in deep power down"
1750endchoice
1751
1752choice
1753 prompt "Default Memory Low Power Mode during Suspend"
1754 depends on MSM_MEMORY_LOW_POWER_MODE
1755 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1756 help
1757 Selects the default low power mode of the memory during suspend
1758 sleep.
1759
1760 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1761 bool "Memory active"
1762
1763 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1764 bool "Memory in retention"
1765
1766 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1767 bool "Memory in deep power down"
1768endchoice
1769
1770choice
1771 prompt "Power management timeout action"
1772 default MSM_PM_TIMEOUT_HALT
1773 help
1774 Selects the Application Processor's action when Power Management
1775 times out waiting for Modem's handshake.
1776
1777 config MSM_PM_TIMEOUT_HALT
1778 bool "Halt the Application Processor"
1779
1780 config MSM_PM_TIMEOUT_RESET_MODEM
1781 bool "Reset the Modem Processor"
1782
1783 config MSM_PM_TIMEOUT_RESET_CHIP
1784 bool "Reset the entire chip"
1785endchoice
1786
1787config MSM_IDLE_WAIT_ON_MODEM
1788 int "Wait for Modem to become ready for idle power collapse"
1789 default 0
1790 help
1791 If Modem is not ready to handle Application Processor's request
1792 for idle power collapse, wait the number of microseconds in case
1793 Modem becomes ready soon.
1794
Matt Wagantall9274df92011-12-15 11:11:05 -08001795config MSM_RPM_REGULATOR
1796 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001797 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001798 help
1799 Compile in support for the RPM regulator driver, used for setting
1800 voltages and other parameters of the various power rails supplied
1801 by some Qualcomm PMICs.
1802
David Collinsc7642322012-04-04 10:19:12 -07001803config MSM_RPM_REGULATOR_SMD
1804 bool "SMD RPM regulator driver"
1805 depends on REGULATOR
1806 depends on OF
1807 depends on MSM_RPM_SMD
1808 help
1809 Compile in support for the SMD RPM regulator driver which is used for
1810 setting voltages and other parameters of the various power rails
1811 supplied by some Qualcomm PMICs. The SMD RPM regulator driver should
1812 be used on systems which contain an RPM which communicates with the
1813 application processor over SMD.
1814
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001815config MSM_PIL
1816 bool "Peripheral image loading"
1817 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001818 default n
1819 help
1820 Some peripherals need to be loaded into memory before they can be
1821 brought out of reset.
1822
1823 Say yes to support these devices.
1824
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001825config MSM_PIL_MODEM
1826 tristate "Modem (ARM11) Boot Support"
1827 depends on MSM_PIL
1828 help
1829 Support for booting and shutting down ARM11 Modem processors.
1830
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001831config MSM_PIL_QDSP6V3
1832 tristate "QDSP6v3 (Hexagon) Boot Support"
1833 depends on MSM_PIL
1834 help
1835 Support for booting and shutting down QDSP6v3 processors (hexagon).
1836 The QDSP6 is a low power DSP used in audio software applications.
1837
Stephen Boydeb819882011-08-29 14:46:30 -07001838config MSM_PIL_QDSP6V4
1839 tristate "QDSP6v4 (Hexagon) Boot Support"
1840 depends on MSM_PIL
1841 help
1842 Support for booting and shutting down QDSP6v4 processors (hexagon).
1843 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1844 software applications.
1845
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001846config MSM_PIL_LPASS_QDSP6V5
1847 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
1848 depends on MSM_PIL
1849 help
Matt Wagantall4e2599e2012-03-21 22:31:35 -07001850 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1851 in low power audio subsystems.
1852
1853config MSM_PIL_MSS_QDSP6V5
1854 tristate "MSS QDSP6v5 (Hexagon) Boot Support"
1855 depends on MSM_PIL
1856 help
1857 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1858 in modem subsystems.
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001859
Matt Wagantalle6e00d52012-03-08 17:39:07 -08001860config MSM_PIL_MBA
1861 tristate "Support for modem self-authentication"
1862 depends on MSM_PIL_MSS_QDSP6V5
1863 help
1864 Support for booting self-authenticating modems using the Modem Boot
1865 Authenticator.
Stephen Boyd322a9922011-09-20 01:05:54 -07001866
1867config MSM_PIL_RIVA
Stephen Boydd89eebe2011-09-28 23:28:11 -07001868 tristate "RIVA (WCNSS) Boot Support"
1869 depends on MSM_PIL
1870 help
1871 Support for booting and shutting down the RIVA processor (WCNSS).
1872 Riva is the wireless subsystem processor used in bluetooth, wireless
1873 LAN, and FM software applications.
1874
1875config MSM_PIL_TZAPPS
1876 tristate "TZApps Boot Support"
1877 depends on MSM_PIL
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07001878 help
1879 Support for booting and shutting down TZApps.
1880
1881 TZApps is an image that runs in the secure processor state. It is
1882 used to decrypt data and perform secure operations on the behalf of
1883 the kernel.
1884
1885config MSM_PIL_DSPS
1886 tristate "DSPS Boot Support"
Stephen Boyd7b973de2012-03-09 12:26:16 -08001887 depends on MSM_PIL
1888 help
1889 Support for booting and shutting down ARM7 DSPS processors.
1890
1891 DSPS is a sensors offloading processor used for applications such
1892 as rotation detection, temperature, etc.
Matt Wagantall292aace2012-01-26 19:12:34 -08001893
1894config MSM_PIL_VIDC
1895 tristate "Video Core Secure Boot Support"
1896 depends on MSM_PIL
1897 help
1898 Support for authenticating the video core image.
1899
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001900config MSM_PIL_GSS
1901 tristate "GSS (Coretx A5) Boot Support"
1902 depends on MSM_PIL
1903 help
1904 Support for booting and shutting down Cortex A5 processors which run
1905 GPS subsystem firmware.
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001906
Tianyi Gouc1e049f82011-11-23 14:20:16 -08001907config MSM_PIL_PRONTO
1908 tristate "PRONTO (WCNSS) Boot Support"
1909 depends on MSM_PIL
1910 help
1911 Support for booting and shutting down the PRONTO processor (WCNSS).
1912 PRONTO is the wireless subsystem processor used in bluetooth, wireless
1913 LAN, and FM software applications.
1914
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001915config MSM_SCM
1916 bool "Secure Channel Manager (SCM) support"
1917 default n
1918
1919config MSM_SUBSYSTEM_RESTART
1920 bool "MSM Subsystem Restart Driver"
1921 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
1922 default n
1923 help
1924 This option enables the MSM subsystem restart driver, which provides
1925 a framework to handle subsystem crashes.
1926
Matt Wagantallf8020902011-08-30 21:19:23 -07001927config MSM_SYSMON_COMM
1928 bool "MSM System Monitor communication support"
1929 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1930 default y
1931 help
1932 This option adds support for MSM System Monitor library, which
1933 provides an API that may be used for notifying subsystems within
1934 the SoC about other subsystems' power-up/down state-changes.
1935
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001936config MSM_MODEM_8960
1937 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001938 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001939 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001940 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001941 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001942 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001943
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001944config MSM_LPASS_8960
1945 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001946 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001947 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001948 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001949 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001950 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001951
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001952config MSM_WCNSS_SSR_8960
1953 tristate "MSM 8960 WCNSS restart module"
1954 depends on (ARCH_MSM8960)
1955 help
1956 This option enables the WCNSS restart module for MSM8960, which
1957 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1958 into the subsystem restart framework.
1959
Rohit Vaswanid0fb4182012-03-19 18:07:59 -07001960config MSM_GSS_SSR_8064
1961 bool "MSM 8064 GSS restart driver"
1962 depends on (ARCH_APQ8064)
1963 help
1964 This option enables the gps subsystem restart driver for APQ8064, which monitors
1965 gss hardware watchdog interrupt lines and plugs into the subsystem
1966 restart and PIL drivers.
1967
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001968config SCORPION_Uni_45nm_BUG
1969 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1970 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1971 default y
1972 help
1973 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1974 invalidating the Branch Predictor Array by Modified Virtual Address can
1975 create invalid entries in the TLB with the wrong ASID values on Scorpion
1976 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1977 workaround for Scorpion Uniprocessor 45nm cores.
1978
1979 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1980
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001981config MSM_BUSPM_DEV
1982 tristate "MSM Bus Performance Monitor Kernel Module"
1983 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1984 default m
1985 help
1986 This kernel module is used to mmap() hardware registers for the
1987 performance monitors, counters, etc. The module can also be used to
1988 allocate physical memory which is used by bus performance hardware to
1989 dump performance data.
1990
Mona Hossain11c03ac2011-10-26 12:42:10 -07001991config MSM_TZ_LOG
1992 tristate "MSM Trust Zone (TZ) Log Driver"
1993 depends on DEBUG_FS
1994 help
1995 This option enables a driver with a debugfs interface for messages
1996 produced by the Secure code (Trust zone). These messages provide
1997 diagnostic information about TZ operation.
1998
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001999config MSM_RPM_LOG
2000 tristate "MSM Resource Power Manager Log Driver"
2001 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002002 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002003 default n
2004 help
2005 This option enables a driver which can read from a circular buffer
2006 of messages produced by the RPM. These messages provide diagnostic
2007 information about RPM operation. The driver outputs the messages
2008 via a debugfs node.
2009
2010config MSM_RPM_STATS_LOG
2011 tristate "MSM Resource Power Manager Stat Driver"
2012 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002013 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002014 default n
2015 help
2016 This option enables a driver which reads RPM messages from a shared
2017 memory location. These messages provide statistical information about
2018 the low power modes that RPM enters. The drivers outputs the message
2019 via a debugfs node.
2020
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002021config MSM_DIRECT_SCLK_ACCESS
2022 bool "Direct access to the SCLK timer"
2023 default n
2024
2025config IOMMU_API
2026 bool
Gregory Bean1963a2a2010-08-28 10:05:44 -07002027
Brian Swetland9e73c842007-11-26 04:12:13 -08002028config MSM_GPIOMUX
2029 bool
2030
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002031config MSM_SECURE_IO
Brian Swetland9e73c842007-11-26 04:12:13 -08002032 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002033
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002034config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002035 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002036
Matt Wagantall88b86312012-01-31 16:53:03 -08002037config MSM_PM2
2038 depends on PM
2039 bool
2040
2041config MSM_PM8X60
2042 depends on PM
2043 bool
2044
2045config MSM_NOPM
2046 default y if !PM
2047 bool
2048
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002049config MSM_BUS_SCALING
2050 bool "Bus scaling driver"
2051 default n
2052
Gagan Mac85c70492011-06-10 16:07:47 -06002053config MSM_BUS_RPM_MULTI_TIER_ENABLED
2054 bool "RPM Multi-tiering Configuration"
2055 depends on MSM_BUS_SCALING
2056
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002057config MSM_WATCHDOG
2058 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002059 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002060 help
2061 This enables the watchdog as is present on 8x60. Currently we use
2062 core 0's watchdog, and reset the entire SoC if it times out. It does
2063 not run during the bootup process, so it will not catch any early
2064 lockups.
2065
2066config MSM_DLOAD_MODE
2067 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07002068 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002069 default n
2070 help
2071 This makes the SoC enter download mode when it resets
2072 due to a kernel panic. Note that this doesn't by itself
2073 make the kernel reboot on a kernel panic - that must be
2074 enabled via another mechanism.
2075
Pratik Patel17f3b822011-11-21 12:41:47 -08002076config MSM_JTAG
2077 bool "JTAG debug and trace support"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002078 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002079 Add additional support for JTAG kernel debugging and tracing.
Pratik Patel7831c082011-06-08 21:44:37 -07002080
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002081config MSM_ETM
2082 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002083 depends on ARCH_MSM8X60
2084 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002085 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002086 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002087
2088config MSM_QDSS
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002089 bool "Qualcomm Debug Subsystem"
Pratik Patel17f3b822011-11-21 12:41:47 -08002090 select MSM_JTAG
Pratik Patel7831c082011-06-08 21:44:37 -07002091 help
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002092 Enables support for Qualcomm Debug Subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002093
Pratik Patel5ecf6a12012-04-25 18:34:59 -07002094config MSM_QDSS_STM_DEFAULT_ENABLE
2095 bool "Turn on QDSS STM Tracing by Default"
2096 depends on MSM_QDSS
2097 help
2098 Turns on QDSS STM tracing (hardware assisted software
2099 instrumentation based tracing) by default. Otherwise, tracing is
2100 disabled by default but can be enabled via sysfs.
2101
2102 For production builds, you should probably say 'N' here to avoid
2103 potential power, performance and memory penalty.
2104
Pratik Patel29cba152012-01-03 11:40:26 -08002105config MSM_QDSS_ETM_DEFAULT_ENABLE
2106 bool "Turn on QDSS ETM Tracing by Default"
2107 depends on MSM_QDSS
2108 help
2109 Turns on QDSS ETM tracing by default. Otherwise, tracing is
2110 disabled by default but can be enabled by other means.
2111
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002112config MSM_SLEEP_STATS
2113 bool "Enable exporting of MSM sleep stats to userspace"
2114 depends on CPU_IDLE
2115 default n
2116
Lynus Vazdde09ee2012-01-05 13:28:22 +05302117config MSM_SLEEP_STATS_DEVICE
2118 bool "Enable exporting of MSM sleep device stats to userspace"
2119
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302120config MSM_RUN_QUEUE_STATS
2121 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Krishna Vankae2922052012-03-02 09:59:12 +05302122 depends on (MSM_SOC_REV_A || ARCH_MSM8X60 || ARCH_MSM8960)
2123 help
2124 This option enalbes statistics collection on Run Queue. A daemon
2125 in user mode, called MPDecision will be using this data to decide
2126 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302127
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002128config MSM_STANDALONE_POWER_COLLAPSE
2129 bool "Enable standalone power collapse"
2130 default n
2131
2132config MSM_GSBI9_UART
2133 bool "Enable GSBI9 UART device"
2134 default n
2135 help
2136 This enables GSBI9 configured into UART.
2137
2138config MSM_SHARED_GPIO_FOR_UART2DM
2139 bool "Use shared GPIOs into UART mode"
2140 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2141 help
2142 This option configures GPIO muxed with SDC4/MMC3
2143 8-bit mode into UART mode. It is used for serial
2144 console on UART2DM. Say Y if you want to have
2145 serial console on UART2DM.
2146
2147config MSM_SHOW_RESUME_IRQ
2148 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002149 depends on (ARM_GIC || PMIC8058)
2150 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002151 default n
2152 help
2153 This option logs wake up interrupts that have triggered just before
2154 the resume loop unrolls. Say Y if you want to debug why the system
2155 resumed.
2156
2157config BT_MSM_PINTEST
2158 tristate "MSM Bluetooth Pin Connectivity Test"
2159 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2160 default n
2161 help
2162 Bluetooth MSM Pin Connectivity test module.
2163 This driver provides support for verifying the MSM to BT pin
2164 connectivity.
2165
2166config MSM_FAKE_BATTERY
2167 depends on POWER_SUPPLY
2168 default n
2169 bool "MSM Fake Battery"
2170 help
2171 Enables MSM fake battery driver.
2172
2173config MSM_QDSP6_APR
2174 bool "Audio QDSP6 APR support"
2175 depends on MSM_SMD
2176 default n
2177 help
2178 Enable APR IPC protocol support between
2179 application processor and QDSP6. APR is
2180 used by audio driver to configure QDSP6's
2181 ASM, ADM and AFE.
2182
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -07002183config MSM_QDSP6_CODECS
2184 bool "Audio Codecs on QDSP6 APR "
2185 depends on MSM_SMD
2186 default n
2187 help
2188 Enable Audio codecs with APR IPC protocol support between
2189 application processor and QDSP6. APR is
2190 used by audio driver to configure QDSP6's
2191 ASM, ADM and AFE.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002192
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002193config MSM_QDSP6V2_CODECS
2194 bool "Audio QDSP6V2 APR support"
2195 depends on MSM_SMD
2196 help
2197 Enable Audio codecs with APR IPC protocol support between
2198 application processor and QDSP6 for B-family. APR is
2199 used by audio driver to configure QDSP6's
2200 ASM, ADM and AFE.
2201
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002202config MSM_AUDIO_QDSP6
2203 bool "QDSP6 HW Audio support"
2204 select SND_SOC_MSM_QDSP6_INTF
2205 default n
2206 help
2207 Enable HW audio support in QDSP6.
2208 QDSP6 can support HW encoder & decoder and audio processing
2209
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002210config MSM_AUDIO_QDSP6V2
2211 bool "QDSP6V2 HW Audio support"
2212 select SND_SOC_MSM_QDSP6V2_INTF
2213 help
2214 Enable HW audio support in QDSP6V2.
2215 QDSP6V2 can support HW encoder & decoder and
2216 audio processing. It will enable support for
2217 AAC, AMRNB, AMRWB, EVRC, MP3, QCELP among
2218 others.
2219
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002220config MSM_ULTRASOUND
2221 bool "MSM ultrasound support"
2222 depends on MSM_AUDIO_QDSP6
2223 help
2224 Enable support for qdsp6/ultrasound.
2225
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002226config MSM_RPC_VIBRATOR
2227 bool "RPC based MSM Vibrator Support"
2228 depends on MSM_ONCRPCROUTER
2229 help
2230 Enable the vibrator support on MSM over RPC. The vibrator
2231 is connected on the PMIC. Say Y if you want to enable this
2232 feature.
2233
2234config PM8XXX_RPC_VIBRATOR
2235 bool "RPC based Vibrator on PM8xxx PMICs"
2236 depends on MSM_RPC_VIBRATOR
2237 help
2238 Enable the vibrator support on MSM over RPC. The vibrator
2239 is connected on the PM8XXX PMIC. Say Y if you want to enable
2240 this feature.
2241
2242config MSM_SPM_V1
2243 bool "Driver support for SPM Version 1"
2244 help
2245 Enables the support for Version 1 of the SPM driver. SPM hardware is
2246 used to manage the processor power during sleep. The driver allows
2247 configuring SPM to allow different power modes.
2248
2249config MSM_SPM_V2
2250 bool "Driver support for SPM Version 2"
2251 help
2252 Enables the support for Version 2 of the SPM driver. SPM hardware is
2253 used to manage the processor power during sleep. The driver allows
2254 configuring SPM to allow different power modes.
2255
2256config MSM_L2_SPM
2257 bool "SPM support for L2 cache"
2258 depends on MSM_SPM_V2
2259 help
2260 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2261 control of L2 cache low power mode with a Subsystem Power manager.
2262 Enabling this driver allows configuring L2 SPM for low power modes
2263 on supported chipsets.
2264
Laura Abbott2d1760b2011-09-29 21:31:24 -07002265config MSM_MULTIMEDIA_USE_ION
2266 bool "Multimedia suport using Ion"
2267 depends on ION_MSM
2268 help
2269 Enable support for multimedia drivers using Ion for buffer management
2270 instead of pmem. Selecting this may also involve userspace
2271 dependencies as well.
2272
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002273config MSM_OCMEM
2274 bool "MSM On-Chip memory driver (OCMEM)"
2275 help
2276 Enable support for On-Chip Memory available on certain MSM chipsets.
2277 OCMEM is a low latency, high performance pool shared by subsystems.
2278
Laura Abbottad340ff2012-01-04 14:23:48 -08002279config MSM_RTB
2280 bool "Register tracing"
2281 help
2282 Add support for logging different events to a small uncached
2283 region. This is designed to aid in debugging reset cases where the
2284 caches may not be flushed before the target resets.
2285
2286config MSM_RTB_SEPARATE_CPUS
2287 bool "Separate entries for each cpu"
2288 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002289 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002290 help
2291 Under some circumstances, it may be beneficial to give dedicated space
2292 for each cpu to log accesses. Selecting this option will log each cpu
2293 separately. This will guarantee that the last acesses for each cpu
2294 will be logged but there will be fewer entries per cpu
2295
Stepan Moskovchenko57884842012-06-07 17:35:49 -07002296config MSM_EBI_ERP
2297 bool "External Bus Interface (EBI) error reporting"
2298 help
2299 Say 'Y' here to enable reporting of external bus interface errors to
2300 the kernel log. Information such as the offending address and
2301 transaction type will be logged. This may be useful for debugging
2302 seemingly broken memory accesses.
2303
2304 For production builds, you should probably say 'N' here.
2305
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002306config MSM_CACHE_ERP
2307 bool "Cache / CPU error reporting"
2308 depends on ARCH_MSM_KRAIT
2309 help
2310 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2311 log. Enabling this feature can be used as a system debugging technique
2312 if cache corruption is suspected. Cache error statistics will also be
2313 reported in /proc/cpu/msm_cache_erp.
2314
2315 For production builds, you should probably say 'N' here.
2316
2317config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002318 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002319 depends on MSM_CACHE_ERP
2320 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002321 To cause the kernel to panic whenever an L1 cache error is detected, say
2322 'Y' here. This may be useful as a debugging technique if general system
2323 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002324
2325 For production builds, you should probably say 'N' here.
2326
Stepan Moskovchenko7035f652012-05-31 17:48:01 -07002327config MSM_L1_ERR_LOG
2328 bool "Log CPU ERP events to system memory"
2329 depends on MSM_CACHE_ERP
2330 help
2331 Enable logging CPU ERP events to an area of memory that will be
2332 preserved across a system reset. This may be useful for detecting and
2333 troubleshooting ERP-related system crashes in the field.
2334
2335 For production builds, you may want to say 'Y' here.
2336
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002337config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2338 bool "Report L2 master port slave/decode errors in kernel log"
2339 depends on MSM_CACHE_ERP
2340 help
2341 Master port errors can occur when a memory request is not properly
2342 handled by the destination slave. This can occur if the destination
2343 register does not exist or is inaccessible due to security
2344 restrictions or (in some cases) clock configuration. Enabling this
2345 option will cause a backtrace to be printed to the kernel log whenever
2346 such an error is encountered. Note that the error is reported as an
2347 interrupt rather than as an exception, meaning that the backtrace may
2348 have some skid. This option may help with debugging, though production
2349 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002350
2351config MSM_L2_ERP_PORT_PANIC
2352 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002353 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002354 help
2355 Master port errors can occur when a memory request is not properly
2356 handled by the destination slave. Enable this option to catch drivers
2357 which attempt to access bad areas of the address space, or access
2358 hardware registers in an improper state (such as certain clocks not
2359 being on). This option may help with debugging, though production
2360 builds should probably say 'N' here.
2361
2362config MSM_L2_ERP_1BIT_PANIC
2363 bool "Panic on recoverable L2 soft errors"
2364 depends on MSM_CACHE_ERP
2365 help
2366 Enable this option to cause a kernel panic whenever the L2 cache
2367 encounters a single-bit (correctable) soft error. This option should
2368 only be enabled when doing low-level debugging where cache corruption
2369 is suspected.
2370
2371 For production builds, you should definitely say 'N' here.
2372
2373config MSM_L2_ERP_2BIT_PANIC
2374 bool "Panic on unrecoverable L2 soft errors"
2375 depends on MSM_CACHE_ERP
2376 help
2377 Enable this option to cause a kernel panic whenever the L2 cache
2378 encounters a double-bit (non-correctable) soft error. Debug builds
2379 will likely benefit from having this option enabled to catch cache
2380 problems as soon as possible.
2381
2382 For production builds, it may be acceptable to say 'N' here, since
2383 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002384
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002385config MSM_DCVS
2386 bool "Use MSM DCVS for CPU/GPU Frequency control"
2387 depends on MSM_SCM
2388 help
2389 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2390 The DCVS manager allows idle driver to feed the idle information to the
2391 algorithm and the algorithm returns a frequency for the core which is
2392 passed to the frequency change driver.
2393
Taniya Dasc43e6872012-03-21 16:41:14 +05302394config HAVE_ARCH_HAS_CURRENT_TIMER
2395 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002396
2397config MSM_CACHE_DUMP
2398 bool "Cache dumping support"
2399 help
2400 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2401 This allows for analysis of the caches in case cache corruption is
2402 suspected.
2403
Laura Abbott7b637362012-03-29 16:43:49 -07002404config MSM_CACHE_DUMP_ON_PANIC
2405 bool "Dump caches on panic"
2406 depends on MSM_CACHE_DUMP
2407 help
2408 By default, the caches are flushed on panic. This means that trying to
2409 look at them in a RAM dump will give useless data. Select this if you
2410 want to dump the L1 and L2 caches on panic before any flush occurs.
2411 If unsure, say N
2412
Jack Phamccbbfab2012-04-09 19:50:20 -07002413config MSM_HSIC_SYSMON
2414 tristate "MSM HSIC system monitor driver"
2415 depends on USB
2416 help
2417 Add support for bridging with the system monitor interface of MDM
2418 over HSIC. This driver allows the local system monitor to
2419 communicate with the remote system monitor interface.
2420
2421config MSM_HSIC_SYSMON_TEST
2422 tristate "MSM HSIC system monitor bridge test"
2423 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2424 help
2425 Enable the test hook for the Qualcomm system monitor HSIC driver.
2426 This will create a debugfs file entry named "hsic_sysmon_test" which
2427 can be read and written to send character data to the sysmon port of
2428 the modem over USB.
2429
Brian Swetland9e73c842007-11-26 04:12:13 -08002430endif