blob: 24c57ae50b1c83789401aa0b25c6373472e2cc63 [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
Daniel Walkerbf83de42010-03-16 16:29:44 -070041
Daniel Walker7b521612010-05-06 12:44:57 -070042config ARCH_MSM7X30
43 bool "MSM7x30"
44 select ARCH_MSM_SCORPION
Daniel Walker7b521612010-05-06 12:44:57 -070045 select MSM_VIC
46 select CPU_V7
David Brown74d10d72011-05-16 13:57:39 -070047 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070048 select MSM_REMOTE_SPINLOCK_DEKKERS
49 select ARCH_SPARSEMEM_ENABLE
Laura Abbott78593b52011-09-26 18:48:14 -070050 select ARCH_HAS_HOLES_MEMORYMODEL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070051 select MEMORY_HOTPLUG
52 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -080053 select ARCH_ENABLE_MEMORY_HOTPLUG
54 select ARCH_ENABLE_MEMORY_HOTREMOVE
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070055 select MIGRATION
56 select ARCH_MEMORY_PROBE
57 select ARCH_MEMORY_REMOVE
Gregory Beanab78cde2010-09-01 16:26:12 -070058 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070059 select RESERVE_FIRST_PAGE
60 select MSM_DALRPC
61 select MSM_SPM_V1
62 select REGULATOR
Justin Paupore637a25d2011-07-14 17:11:04 -070063 select MSM_PROC_COMM_REGULATOR
Taniya Dasbae99fb2011-10-12 09:55:13 +053064 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -080065 select MSM_PM2 if PM
Daniel Walker7b521612010-05-06 12:44:57 -070066
Daniel Walker4ad15e62010-05-06 13:54:17 -070067config ARCH_QSD8X50
68 bool "QSD8X50"
69 select ARCH_MSM_SCORPION
Daniel Walker4ad15e62010-05-06 13:54:17 -070070 select MSM_VIC
71 select CPU_V7
David Brown74d10d72011-05-16 13:57:39 -070072 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070073 select MSM_REMOTE_SPINLOCK_LDREX
74 select CPU_USE_DOMAINS
75 select EMULATE_DOMAIN_MANAGER_V7
Gregory Beanab78cde2010-09-01 16:26:12 -070076 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070077 select MSM_DALRPC
Matt Wagantall88b86312012-01-31 16:53:03 -080078 select MSM_PM2 if PM
Daniel Walker46fe5f22010-08-18 11:00:25 -070079
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070080config ARCH_MSM8X60
81 bool "MSM8X60"
Jeff Ohlsteine14411d2010-11-30 13:06:36 -080082 select ARCH_MSM_SCORPIONMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070083 select SMP_PARALLEL_START if SMP
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070084 select ARM_GIC
85 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070086 select MSM_REMOTE_SPINLOCK_LDREX
87 select ARCH_REQUIRE_GPIOLIB
88 select MSM_ADM3
89 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -080090 select MSM_RPM_REGULATOR
David Brown1a5ab4b2011-05-16 15:53:38 -070091 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070092 select MSM_PIL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070093 select ARCH_HAS_CPU_IDLE_WAIT
94 select MSM_DIRECT_SCLK_ACCESS
95 select MSM_RPM
96 select MSM_XO
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070097 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070098 select MSM_BUS_SCALING
99 select MSM_SECURE_IO
100 select MSM_DALRPC
101 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700102 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700103 select MSM_NATIVE_RESTART
104 select ARCH_INLINE_SPIN_TRYLOCK
105 select ARCH_INLINE_SPIN_TRYLOCK_BH
106 select ARCH_INLINE_SPIN_LOCK
107 select ARCH_INLINE_SPIN_LOCK_BH
108 select ARCH_INLINE_SPIN_LOCK_IRQ
109 select ARCH_INLINE_SPIN_LOCK_IRQSAVE
110 select ARCH_INLINE_SPIN_UNLOCK
111 select ARCH_INLINE_SPIN_UNLOCK_BH
112 select ARCH_INLINE_SPIN_UNLOCK_IRQ
113 select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
114 select ARCH_INLINE_READ_TRYLOCK
115 select ARCH_INLINE_READ_LOCK
116 select ARCH_INLINE_READ_LOCK_BH
117 select ARCH_INLINE_READ_LOCK_IRQ
118 select ARCH_INLINE_READ_LOCK_IRQSAVE
119 select ARCH_INLINE_READ_UNLOCK
120 select ARCH_INLINE_READ_UNLOCK_BH
121 select ARCH_INLINE_READ_UNLOCK_IRQ
122 select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
123 select ARCH_INLINE_WRITE_TRYLOCK
124 select ARCH_INLINE_WRITE_LOCK
125 select ARCH_INLINE_WRITE_LOCK_BH
126 select ARCH_INLINE_WRITE_LOCK_IRQ
127 select ARCH_INLINE_WRITE_LOCK_IRQSAVE
128 select ARCH_INLINE_WRITE_UNLOCK
129 select ARCH_INLINE_WRITE_UNLOCK_BH
130 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
131 select CPU_HAS_L2_PMU
132 select MSM_SPM_V1
Stephen Boyd2a1eb582010-08-27 10:01:23 -0700133 select MSM_SCM if SMP
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530134 select MULTI_IRQ_HANDLER
Laura Abbott46505f62011-11-02 18:06:55 -0700135 select MSM_MULTIMEDIA_USE_ION
Matt Wagantall88b86312012-01-31 16:53:03 -0800136 select MSM_PM8X60 if PM
Krishna Vankae2922052012-03-02 09:59:12 +0530137 select MSM_RUN_QUEUE_STATS
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700138
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800139config ARCH_MSM8960
140 bool "MSM8960"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700141 select ARCH_MSM_KRAITMP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800142 select ARM_GIC
143 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700144 select GPIO_MSM_V2
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800145 select MSM_GPIOMUX
146 select MSM_SCM if SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700147 select MSM_DIRECT_SCLK_ACCESS
148 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -0800149 select MSM_RPM_REGULATOR
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700150 select MSM_RPM
151 select MSM_XO
152 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700153 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700154 select MSM_PIL
155 select MSM_AUDIO_QDSP6 if SND_SOC
156 select CPU_HAS_L2_PMU
157 select MSM_SPM_V2
158 select MSM_L2_SPM
159 select MSM_NATIVE_RESTART
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700160 select DONT_MAP_HOLE_AFTER_MEMBANK0
161 select MSM_REMOTE_SPINLOCK_SFPB
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700162 select ARCH_SPARSEMEM_ENABLE
163 select ARCH_HAS_HOLES_MEMORYMODEL
Larry Basseld4d82c92011-12-07 09:52:49 -0800164 select CLEANCACHE
165 select QCACHE
Laura Abbott6d61a912011-10-27 16:44:14 -0700166 select MSM_MULTIMEDIA_USE_ION
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530167 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800168 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700169 select HOLES_IN_ZONE if SPARSEMEM
Krishna Vankae2922052012-03-02 09:59:12 +0530170 select MSM_RUN_QUEUE_STATS
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800171
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700172config ARCH_MSM8930
173 bool "MSM8930"
174 select ARCH_MSM_KRAITMP
175 select ARM_GIC
176 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700177 select GPIO_MSM_V2
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700178 select MSM_GPIOMUX
179 select MSM_SCM if SMP
180 select MSM_DIRECT_SCLK_ACCESS
181 select REGULATOR
David Collins5779cea2012-01-05 15:09:21 -0800182 select MSM_RPM_REGULATOR
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700183 select MSM_RPM
184 select MSM_XO
185 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700186 select MSM_QDSP6_CODECS
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700187 select MSM_PIL
188 select MSM_AUDIO_QDSP6 if SND_SOC
189 select CPU_HAS_L2_PMU
190 select MSM_SPM_V2
191 select MSM_L2_SPM
192 select MSM_NATIVE_RESTART
193 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600194 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700195 select ARCH_SPARSEMEM_ENABLE
196 select ARCH_HAS_HOLES_MEMORYMODEL
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +0200197 select MSM_ULTRASOUND
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530198 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800199 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700200 select HOLES_IN_ZONE if SPARSEMEM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700201
202config ARCH_APQ8064
203 bool "APQ8064"
204 select ARCH_MSM_KRAITMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700205 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700206 select ARM_GIC
207 select CPU_V7
208 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700209 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600210 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800211 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800212 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700213 select MSM_QDSP6_CODECS
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800214 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530215 select MULTI_IRQ_HANDLER
Praveen Chidambaram78499012011-11-01 17:15:17 -0600216 select MSM_RPM
217 select MSM_SPM_V2
218 select MSM_L2_SPM
Matt Wagantall88b86312012-01-31 16:53:03 -0800219 select MSM_PM8X60 if PM
Neil Leeder814d3d32012-01-19 17:21:43 -0500220 select CPU_HAS_L2_PMU
Laura Abbott085dd202012-03-30 14:02:34 -0700221 select HOLES_IN_ZONE if SPARSEMEM
Larry Bassel67b921d2012-04-06 10:23:27 -0700222 select CLEANCACHE
223 select QCACHE
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -0600224 select MIGHT_HAVE_PCI
225 select ARCH_SUPPORTS_MSI
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700226
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700227config ARCH_MSMCOPPER
228 bool "MSM Copper"
229 select ARCH_MSM_KRAITMP
Sathish Ambley4149e842012-03-23 11:53:55 -0700230 select GPIO_MSM_V3
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700231 select ARM_GIC
232 select CPU_V7
233 select MSM_SCM if SMP
234 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530235 select MULTI_IRQ_HANDLER
Olav Hauganb800c8c2012-01-30 08:50:45 -0800236 select MSM_MULTIMEDIA_USE_ION
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700237 select MSM_PIL
Praveen Chidambaramaa9d52b2012-04-02 11:09:47 -0600238 select MSM_SPM_V2
239 select MSM_L2_SPM
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600240 select MSM_PM8X60 if PM
Steve Mucklef132c6c2012-06-06 18:30:57 -0700241 select MAY_HAVE_SPARSE_IRQ
242 select SPARSE_IRQ
Mahesh Sivasubramaniancb668712012-04-04 13:03:25 -0600243 select MSM_RPM_SMD
David Collinsc7642322012-04-04 10:19:12 -0700244 select REGULATOR
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -0700245 select MSM_QDSP6_APR
246 select MSM_QDSP6V2_CODECS
247 select MSM_AUDIO_QDSP6V2 if SND_SOC
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700248
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700249config ARCH_FSM9XXX
250 bool "FSM9XXX"
251 select ARCH_MSM_SCORPION
252 select MSM_VIC
253 select CPU_V7
254 select MSM_REMOTE_SPINLOCK_LDREX
Steve Mucklef132c6c2012-06-06 18:30:57 -0700255 select GPIO_FSM9XXX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530256 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800257 select MSM_DALRPC
Daniel Walker4ad15e62010-05-06 13:54:17 -0700258
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700259config ARCH_MSM9615
260 bool "MSM9615"
261 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530262 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700263 select ARCH_MSM_CORTEX_A5
264 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700265 select GPIO_MSM_V2
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700266 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600267 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600268 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700269 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800270 select REGULATOR
271 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530272 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800273 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800274 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700275 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800276 select MSM_QDSP6_APR
277 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800278 select FIQ
Matt Wagantall9274df92011-12-15 11:11:05 -0800279
Taniya Das43bcdd62011-12-02 17:33:27 +0530280config ARCH_MSM8625
281 bool "MSM8625"
282 select ARCH_MSM_CORTEX_A5
283 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700284 select GPIO_MSM_V1
Taniya Das43bcdd62011-12-02 17:33:27 +0530285 select MSM_GPIOMUX
286 select ARM_GIC
287 select ARCH_MSM_CORTEXMP
288 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530289 select ARM_TICKET_LOCKS
Krishna Vankae2922052012-03-02 09:59:12 +0530290 select MSM_RUN_QUEUE_STATS
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700291
292config ARCH_MSM9625
293 bool "MSM9625"
294 select ARM_GIC
295 select GIC_SECURE
296 select ARCH_MSM_CORTEX_A5
297 select SMP
298 select MSM_SMP
299 select CPU_V7
Jin Hong690e3352012-05-02 09:25:05 -0700300 select MSM_GPIOMUX
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700301 select MULTI_IRQ_HANDLER
Steve Mucklef132c6c2012-06-06 18:30:57 -0700302 select GPIO_MSM_V2
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700303
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700304endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700305
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700306choice
307 prompt "MSM SoC Revision"
308 default MSM_SOC_REV_NONE
309config MSM_SOC_REV_NONE
310 bool "N/A"
311 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
312 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walkerbf83de42010-03-16 16:29:44 -0700313config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700314 bool "Rev. A"
315 select ARCH_MSM7X27A if ARCH_MSM7X27
Daniel Walkerbf83de42010-03-16 16:29:44 -0700316endchoice
317
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700318config MSM_KRAIT_TBB_ABORT_HANDLER
319 bool "Krait TBB/TBH data abort handler"
320 depends on ARCH_MSM_KRAIT
321 depends on ARM_THUMB
322 help
323 Certain early samples of the Krait processor may generate data
324 aborts for TBB / TBH instructions that fail their condition code
325 checks. Enabling this option will ignore these erroneous data aborts,
326 at the expense of a very small performance penalty.
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800327
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700328 If unsure, say N.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700329
330config ARCH_MSM_ARM11
331 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700332
Daniel Walkerbf83de42010-03-16 16:29:44 -0700333config ARCH_MSM_SCORPION
334 bool
335
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700336config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700337 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800338 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700339
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700340config MSM_SMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700341 select HAVE_SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700342 bool
343
344config ARCH_MSM_SCORPIONMP
345 select ARCH_MSM_SCORPION
346 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530347 select HAVE_ARCH_HAS_CURRENT_TIMER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700348 bool
349
350config ARCH_MSM_KRAITMP
351 select ARCH_MSM_KRAIT
352 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530353 select HAVE_ARCH_HAS_CURRENT_TIMER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700354 bool
Steve Mucklef132c6c2012-06-06 18:30:57 -0700355 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700356
Taniya Das43bcdd62011-12-02 17:33:27 +0530357config ARCH_MSM_CORTEXMP
358 select MSM_SMP
359 bool
360
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700361config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800362 bool
Rohit Vaswaniaf7ae272012-01-09 10:28:57 -0800363 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700364
365config ARCH_MSM7X27A
366 bool
367 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700368 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530369 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530370 select ARM_GIC
371 select ARCH_MSM_CORTEXMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700372
Gregory Beanf9f3d312010-04-30 22:06:50 -0700373config MSM_VIC
374 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700375
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700376config MSM_RPM
377 bool "Resource Power Manager"
378 select MSM_MPM
379
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600380config MSM_RPM_SMD
381 depends on MSM_SMD
382 bool "Support for using SMD as the transport layer for communicatons with RPM"
383
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700384config MSM_MPM
385 bool "Modem Power Manager"
386
387config MSM_XO
388 bool
389
390config MSM_REMOTE_SPINLOCK_DEKKERS
391 bool
392config MSM_REMOTE_SPINLOCK_SWP
393 bool
394config MSM_REMOTE_SPINLOCK_LDREX
395 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600396config MSM_REMOTE_SPINLOCK_SFPB
397 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700398config MSM_ADM3
399 bool
400
401menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700402
403config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700404 depends on ARCH_MSM7X01A
405 depends on MSM_STACKED_MEMORY
406 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700407 bool "Halibut Board (QCT SURF7201A)"
408 help
409 Support for the Qualcomm SURF7201A eval board.
410
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700411config MACH_MSM7201A_SURF
412 depends on ARCH_MSM7X01A
413 depends on MSM_STACKED_MEMORY
414 default y
415 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700416 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700417 Support for the Qualcomm MSM7201A SURF eval board.
418
419config MACH_MSM7201A_FFA
420 depends on ARCH_MSM7X01A
421 depends on MSM_STACKED_MEMORY
422 default y
423 bool "MSM7201A FFA"
424 help
425 Support for the Qualcomm MSM7201A FFA eval board.
426
427config MACH_TROUT
428 depends on ARCH_MSM7X01A
429 depends on MSM_STACKED_MEMORY
430 default y
431 bool "Trout"
432
433config MACH_MSM7X27_SURF
434 depends on ARCH_MSM7X27
435 depends on !MSM_STACKED_MEMORY
436 default y
437 bool "MSM7x27 SURF"
438 help
439 Support for the Qualcomm MSM7x27 SURF eval board.
440
441config MACH_MSM7X27_FFA
442 depends on ARCH_MSM7X27
443 depends on !MSM_STACKED_MEMORY
444 default y
445 bool "MSM7x27 FFA"
446 help
447 Support for the Qualcomm MSM7x27 FFA eval board.
448
449config MACH_MSM7X27A_RUMI3
450 depends on ARCH_MSM7X27A
451 depends on !MSM_STACKED_MEMORY
452 default y
453 bool "MSM7x27A RUMI3"
454 help
455 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
456
457config MACH_MSM7X27A_SURF
458 depends on ARCH_MSM7X27A
459 depends on !MSM_STACKED_MEMORY
460 default y
461 bool "MSM7x27A SURF"
462 help
463 Support for the Qualcomm MSM7x27A SURF.
464
465config MACH_MSM7X27A_FFA
466 depends on ARCH_MSM7X27A
467 depends on !MSM_STACKED_MEMORY
468 default y
469 bool "MSM7x27A FFA"
470 help
471 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700472
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530473config MACH_MSM7625A_SURF
474 depends on ARCH_MSM7X27A
475 depends on !MSM_STACKED_MEMORY
476 default y
477 bool "MSM7625A SURF"
478 help
479 Support for the Qualcomm MSM7625A SURF.
480
481config MACH_MSM7625A_FFA
482 depends on ARCH_MSM7X27A
483 depends on !MSM_STACKED_MEMORY
484 default y
485 bool "MSM7625A FFA"
486 help
487 Support for the Qualcomm MSM7625A FFA.
488
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530489config MACH_MSM7627A_QRD1
490 depends on ARCH_MSM7X27A
491 depends on !MSM_STACKED_MEMORY
492 default y
493 bool "MSM7627A QRD1"
494 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530495 Support for the Qualcomm MSM7627A Reference Design.
496
497config MACH_MSM7627A_QRD3
498 depends on ARCH_MSM7X27A
499 depends on !MSM_STACKED_MEMORY
500 default y
501 bool "MSM7627A QRD3"
502 help
503 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530504
Taniya Dasc868a2e2012-01-03 10:18:47 +0530505config MACH_MSM7627A_EVB
506 depends on ARCH_MSM7X27A
507 depends on !MSM_STACKED_MEMORY
508 default y
509 bool "MSM7627A EVB"
510 help
511 Support for the Qualcomm MSM7627A Reference Design.
512
Taniya Das43bcdd62011-12-02 17:33:27 +0530513config MACH_MSM8625_RUMI3
514 depends on ARCH_MSM8625
515 depends on !MSM_STACKED_MEMORY
516 default y
517 bool "MSM8625 RUMI3"
518 help
519 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
520
Taniya Dase3027e22012-02-27 16:32:27 +0530521config MACH_MSM8625_SURF
522 depends on ARCH_MSM8625
523 depends on !MSM_STACKED_MEMORY
524 default y
525 bool "MSM8625 SURF"
526 help
527 Support for the Qualcomm MSM8625 SURF.
528
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530529config MACH_MSM8625_FFA
530 depends on ARCH_MSM8625
531 depends on !MSM_STACKED_MEMORY
532 default y
533 bool "MSM8625 FFA"
534 help
535 Support for the Qualcomm MSM8625 FFA.
536
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530537config MACH_MSM8625_EVB
538 depends on ARCH_MSM8625
539 depends on !MSM_STACKED_MEMORY
540 default y
541 bool "MSM8625 EVB"
542 help
543 Support for the Qualcomm MSM8625 Reference Design.
544
Taniya Dasbd096542012-03-15 17:43:45 +0530545config MACH_MSM8625_QRD7
546 depends on ARCH_MSM8625
547 depends on !MSM_STACKED_MEMORY
548 default y
549 bool "MSM8625 QRD7"
550 help
551 Support for the Qualcomm MSM8625 Reference Design.
552
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530553config MACH_MSM8625_EVT
554 depends on ARCH_MSM8625
555 depends on !MSM_STACKED_MEMORY
556 default y
557 bool "MSM8625 EVT"
558 help
559 Support for the Qualcomm MSM8625 Reference Design.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700560
Daniel Walker7b521612010-05-06 12:44:57 -0700561config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700562 depends on ARCH_MSM7X30
563 depends on !MSM_STACKED_MEMORY
564 default y
565 bool "MSM7x30 SURF"
566 help
567 Support for the Qualcomm MSM7x30 SURF eval board.
568
569config MACH_MSM7X30_FFA
570 depends on ARCH_MSM7X30
571 depends on !MSM_STACKED_MEMORY
572 default y
573 bool "MSM7x30 FFA"
574 help
575 Support for the Qualcomm MSM7x30 FFA eval board.
576
577config MACH_MSM7X30_FLUID
578 depends on ARCH_MSM7X30
579 depends on !MSM_STACKED_MEMORY
580 default y
581 bool "MSM7x30 FLUID"
582 help
583 Support for the Qualcomm MSM7x30 FLUID eval board.
584
585config MACH_SAPPHIRE
586 depends on ARCH_MSM7X01A
587 default n
588 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700589
Daniel Walker4ad15e62010-05-06 13:54:17 -0700590config MACH_QSD8X50_SURF
591 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700592 depends on MSM_SOC_REV_NONE
593 depends on MSM_STACKED_MEMORY
594 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700595 bool "QSD8x50 SURF"
596 help
597 Support for the Qualcomm QSD8x50 SURF eval board.
598
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700599config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700600 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700601 depends on MSM_SOC_REV_NONE
602 depends on MSM_STACKED_MEMORY
603 default y
604 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700605 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700606 Support for the Qualcomm QSD8x50 FFA eval board.
607
608config MACH_MSM7X25_SURF
609 depends on ARCH_MSM7X25
610 depends on !MSM_STACKED_MEMORY
611 default y
612 bool "MSM7x25 SURF"
613 help
614 Support for the Qualcomm MSM7x25 SURF eval board.
615
616config MACH_MSM7X25_FFA
617 depends on ARCH_MSM7X25
618 depends on !MSM_STACKED_MEMORY
619 default y
620 bool "MSM7x25 FFA"
621 help
622 Support for the Qualcomm MSM7x25 FFA eval board.
623
624config MACH_MSM8X55_SURF
625 depends on ARCH_MSM7X30
626 depends on !MSM_STACKED_MEMORY
627 default y
628 bool "MSM8X55 SURF"
629 help
630 Support for the Qualcomm MSM8x55 SURF eval board.
631
632config MACH_MSM8X55_FFA
633 depends on ARCH_MSM7X30
634 depends on !MSM_STACKED_MEMORY
635 default y
636 bool "MSM8X55 FFA"
637 help
638 Support for the Qualcomm MSM8x55 FFA eval board.
639
640config MACH_MSM8X55_SVLTE_FFA
641 depends on ARCH_MSM7X30
642 depends on !MSM_STACKED_MEMORY
643 default y
644 bool "MSM8X55 SVLTE FFA"
645 help
646 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
647
648config MACH_MSM8X55_SVLTE_SURF
649 depends on ARCH_MSM7X30
650 depends on !MSM_STACKED_MEMORY
651 default y
652 bool "MSM8X55 SVLTE SURF"
653 help
654 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700655
Steve Mucklea55df6e2010-01-07 12:43:24 -0800656config MACH_MSM8X60_RUMI3
657 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700658 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800659 bool "MSM8x60 RUMI3"
660 help
661 Support for the Qualcomm MSM8x60 RUMI3 emulator.
662
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800663config MACH_MSM8X60_SIM
664 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700665 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800666 bool "MSM8x60 Simulator"
667 help
668 Support for the Qualcomm MSM8x60 simulator.
669
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700670config MACH_MSM8X60_SURF
671 depends on ARCH_MSM8X60
672 default n
673 bool "MSM8x60 SURF"
674 help
675 Support for the Qualcomm MSM8x60 SURF eval board.
676
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700677config MACH_MSM8X60_FFA
678 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700679 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700680 bool "MSM8x60 FFA"
681 help
682 Support for the Qualcomm MSM8x60 FFA eval board.
683
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700684config MACH_MSM8X60_FLUID
685 depends on ARCH_MSM8X60
686 default n
687 bool "MSM8x60 FLUID"
688 help
689 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
690 8x60 target which has a form factor that is much closer to that
691 of a phone than other targets. It also has a new display and
692 touchscreen controller.
693
694config MACH_MSM8X60_FUSION
695 depends on ARCH_MSM8X60
696 default n
697 bool "MSM8x60 FUSION"
698 help
699 Support for the Qualcomm MSM8x60 Fusion SURF device.
700
701config MACH_MSM8X60_FUSN_FFA
702 depends on ARCH_MSM8X60
703 default n
704 bool "MSM8x60 FUSN FFA"
705 help
706 Support for the Qualcomm MSM8x60 Fusion FFA device.
707
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400708config MACH_MSM8X60_DRAGON
709 depends on ARCH_MSM8X60
710 default n
711 bool "MSM8x60 DRAGON"
712 help
713 Support for the Qualcomm MSM8x60 Dragon board.
714
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800715config MACH_MSM8960_SIM
716 depends on ARCH_MSM8960
717 bool "MSM8960 Simulator"
718 help
719 Support for the Qualcomm MSM8960 simulator.
720
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800721config MACH_MSM8960_RUMI3
722 depends on ARCH_MSM8960
723 bool "MSM8960 RUMI3"
724 help
725 Support for the Qualcomm MSM8960 RUMI3 emulator.
726
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700727config MACH_MSM8960_CDP
728 depends on ARCH_MSM8960
729 bool "MSM8960 CDP"
730 help
731 Support for the Qualcomm MSM8960 CDP device.
732
733config MACH_MSM8960_MTP
734 depends on ARCH_MSM8960
735 bool "MSM8960 MTP"
736 help
737 Support for the Qualcomm MSM8960 MTP device.
738
739config MACH_MSM8960_FLUID
740 depends on ARCH_MSM8960
741 bool "MSM8960 FLUID"
742 help
743 Support for the Qualcomm MSM8960 FLUID device.
744
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300745config MACH_MSM8960_LIQUID
746 depends on ARCH_MSM8960
747 bool "MSM8960 LIQUID"
748 help
749 Support for the Qualcomm MSM8960 LIQUID device.
750
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700751config MACH_MSM8930_CDP
752 depends on ARCH_MSM8930
753 bool "MSM8930 CDP"
754 help
755 Support for the Qualcomm MSM8930 CDP device.
756
757config MACH_MSM8930_MTP
758 depends on ARCH_MSM8930
759 bool "MSM8930 MTP"
760 help
761 Support for the Qualcomm MSM8930 MTP device.
762
763config MACH_MSM8930_FLUID
764 depends on ARCH_MSM8930
765 bool "MSM8930 FLUID"
766 help
767 Support for the Qualcomm MSM8930 FLUID device.
768
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800769config MACH_MSM8627_CDP
770 depends on ARCH_MSM8930
771 bool "MSM8627 CDP"
772 help
773 Support for the Qualcomm MSM8627 CDP device.
774
775config MACH_MSM8627_MTP
776 depends on ARCH_MSM8930
777 bool "MSM8627 MTP"
778 help
779 Support for the Qualcomm MSM8627 MTP device.
780
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700781config MACH_MSM9615_CDP
782 depends on ARCH_MSM9615
783 bool "MSM9615 CDP"
784 help
785 Support for the Qualcomm MSM9615 CDP device.
786
787config MACH_MSM9615_MTP
788 depends on ARCH_MSM9615
789 bool "MSM9615 MTP"
790 help
791 Support for the Qualcomm MSM9615 MTP device.
792
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700793config MSM_USE_TSIF1
794 depends on ARCH_MSM8X60
795 bool "MSM8x60 use TSIF1"
796 help
797 Selects TSIF1 core to be used rather than TSIF0.
798 The two TSIF cores share the same DM configuration
799 so they cannot be used simultaneously.
800
801config MACH_APQ8064_SIM
802 depends on ARCH_APQ8064
803 bool "APQ8064 Simulator"
804 help
805 Support for the Qualcomm APQ8064 simulator.
806
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700807config MACH_APQ8064_RUMI3
808 depends on ARCH_APQ8064
809 bool "APQ8064 RUMI3"
810 help
811 Support for the Qualcomm APQ8064 RUMI3 emulator.
812
Joel King82b7e3f2012-01-05 10:03:27 -0800813config MACH_APQ8064_CDP
814 depends on ARCH_APQ8064
815 bool "APQ8064 CDP"
816 help
817 Support for the Qualcomm APQ8064 CDP device.
818
819config MACH_APQ8064_MTP
820 depends on ARCH_APQ8064
821 bool "APQ8064 MTP"
822 help
823 Support for the Qualcomm APQ8064 MTP device.
824
825config MACH_APQ8064_LIQUID
826 depends on ARCH_APQ8064
827 bool "APQ8064 LIQUID"
828 help
829 Support for the Qualcomm APQ8064 LIQUID device.
830
Joel King064bbf82012-04-01 13:23:39 -0700831config MACH_MPQ8064_CDP
832 depends on ARCH_APQ8064
833 bool "MPQ8064 CDP"
834 help
835 Support for the Qualcomm MPQ8064 CDP device.
836
Joel King11ca8202012-02-13 16:19:03 -0800837config MACH_MPQ8064_HRD
838 depends on ARCH_APQ8064
839 bool "MPQ8064 HRD"
840 help
841 Support for the Qualcomm MPQ8064 HRD device.
842
843config MACH_MPQ8064_DTV
844 depends on ARCH_APQ8064
845 bool "MPQ8064 DTV"
846 help
847 Support for the Qualcomm MPQ8064 DTV device.
848
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700849config MACH_FSM9XXX_SURF
850 depends on ARCH_FSM9XXX
851 depends on !MSM_STACKED_MEMORY
852 default y
853 bool "FSM9XXX SURF"
854 help
855 Support for the Qualcomm FSM9xxx femtocell
856 chipset based SURF evaluation board and
857 FFA board.
858
Daniel Walker4ad15e62010-05-06 13:54:17 -0700859endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800860
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700861config MSM_STACKED_MEMORY
862 bool "Stacked Memory"
863 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800864 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700865 This option is used to indicate the presence of on-die stacked
866 memory. When present this memory bank is used for a high speed
867 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800868
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700869config PHYS_OFFSET
870 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700871 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700872 default "0x80200000" if ARCH_APQ8064
873 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700874 default "0x80200000" if ARCH_MSM8930
Jin Hongcd35c5d2012-05-29 08:51:22 -0700875 default "0x00000000" if ARCH_MSMCOPPER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700876 default "0x10000000" if ARCH_FSM9XXX
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700877 default "0x20200000" if ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700878 default "0x00200000" if !MSM_STACKED_MEMORY
879 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
880 default "0x20000000" if ARCH_QSD8X50
881 default "0x40200000" if ARCH_MSM8X60
882 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800883
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700884config KERNEL_PMEM_EBI_REGION
885 bool "Enable in-kernel PMEM region for EBI"
886 default y if ARCH_MSM8X60
Olav Hauganb800c8c2012-01-30 08:50:45 -0800887 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSMCOPPER)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700888 help
889 Enable the in-kernel PMEM allocator to use EBI memory.
890
891config KERNEL_PMEM_SMI_REGION
892 bool "Enable in-kernel PMEM region for SMI"
893 default y if ARCH_MSM8X60
894 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
895 help
896 Enable the in-kernel PMEM allocator to use SMI memory.
897
898config PMEM_GPU0
899 bool "Enable PMEM GPU0 region"
900 default y
901 depends on ARCH_QSD8X50 && ANDROID_PMEM
902 help
903 Enable the PMEM GPU0 device on SMI Memory.
904
905config MSM_AMSS_VERSION
906 int
907 default 6210 if MSM_AMSS_VERSION_6210
908 default 6220 if MSM_AMSS_VERSION_6220
909 default 6225 if MSM_AMSS_VERSION_6225
910
911choice
912 prompt "AMSS modem firmware version"
913
914 default MSM_AMSS_VERSION_6225
915
916 config MSM_AMSS_VERSION_6210
917 bool "6.2.10"
918
919 config MSM_AMSS_VERSION_6220
920 bool "6.2.20"
921
922 config MSM_AMSS_VERSION_6225
923 bool "6.2.20 + New ADSP"
924endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800925
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700926config MSM_HAS_DEBUG_UART_HS
Daniel Walkerbf83de42010-03-16 16:29:44 -0700927 bool
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700928 help
929 Say Y here if high speed MSM UART is present.
930
931config MSM_HAS_DEBUG_UART_HS_V14
932 bool
933 select MSM_HAS_DEBUG_UART_HS
934 help
935 Say Y here if high speed MSM UART v1.4 is present.
936
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530937config MSM_DEBUG_UART_PHYS
938 hex
939 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
940 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
941 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
942 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
943 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
944 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
945 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
946 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
947
Brian Swetland9e73c842007-11-26 04:12:13 -0800948choice
949 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800950 depends on DEBUG_LL
Brian Swetland9e73c842007-11-26 04:12:13 -0800951
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800952 config DEBUG_MSM_UART1
953 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530954 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800955 help
956 Say Y here if you want the debug print routines to direct
957 their output to the first serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -0800958
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800959 config DEBUG_MSM_UART2
960 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530961 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800962 help
963 Say Y here if you want the debug print routines to direct
964 their output to the second serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -0800965
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800966 config DEBUG_MSM_UART3
967 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530968 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800969 help
970 Say Y here if you want the debug print routines to direct
971 their output to the third serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -0800972
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800973 config DEBUG_MSM8660_UART
974 bool "Kernel low-level debugging messages via MSM 8660 UART"
975 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700976 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800977 help
978 Say Y here if you want the debug print routines to direct
979 their output to the serial port on MSM 8660 devices.
Steve Mucklec8aabae2010-04-21 16:20:27 -0700980
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800981 config DEBUG_MSM8960_UART
982 bool "Kernel low-level debugging messages via MSM 8960 UART"
Stepan Moskovchenko824db172012-05-29 18:05:09 -0700983 depends on ARCH_MSM8960 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700984 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800985 help
986 Say Y here if you want the debug print routines to direct
987 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700988
Stepan Moskovchenko824db172012-05-29 18:05:09 -0700989 config DEBUG_MSM8930_UART
990 bool "Kernel low-level debugging messages via MSM 8930 UART"
991 depends on ARCH_MSM8930 && DEBUG_LL
992 select MSM_HAS_DEBUG_UART_HS
993 help
994 Say Y here if you want the debug print routines to direct
995 their output to the serial port on MSM 8930 devices.
996
997 config DEBUG_APQ8064_UART
998 bool "Kernel low-level debugging messages via APQ 8064 UART"
999 depends on ARCH_APQ8064 && DEBUG_LL
1000 select MSM_HAS_DEBUG_UART_HS
1001 help
1002 Say Y here if you want the debug print routines to direct
1003 their output to the serial port on APQ 8064 devices.
1004
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001005 config DEBUG_MSMCOPPER_UART
1006 bool "Kernel low-level debugging messages via MSM Copper UART"
1007 depends on ARCH_MSMCOPPER
1008 select MSM_HAS_DEBUG_UART_HS_V14
1009 help
1010 Say Y here if you want the debug print routines to direct
1011 their output to the serial port on MSM Copper devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001012endchoice
Brian Swetland9e73c842007-11-26 04:12:13 -08001013
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001014choice
1015 prompt "Default Timer"
1016 default MSM7X00A_USE_GP_TIMER
1017
1018 config MSM7X00A_USE_GP_TIMER
1019 bool "GP Timer"
1020 help
1021 Low resolution timer that allows power collapse from idle.
1022
1023 config MSM7X00A_USE_DG_TIMER
1024 bool "DG Timer"
1025 help
1026 High resolution timer.
1027endchoice
1028
1029choice
1030 prompt "Suspend sleep mode"
1031 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1032 help
1033 Allows overriding the sleep mode used. Leave at power
1034 collapse suspend unless the arm9 image has problems.
1035
1036 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1037 bool "Power collapse suspend"
1038 help
1039 Lowest sleep state. Returns through reset vector.
1040
1041 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1042 bool "Power collapse"
1043 help
1044 Sleep state that returns through reset vector.
1045
1046 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1047 bool "Apps Sleep"
1048
1049 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1050 bool "Ramp down cpu clock and wait for interrupt"
1051
1052 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1053 bool "Wait for interrupt"
1054endchoice
1055
1056config MSM7X00A_SLEEP_MODE
1057 int
1058 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1059 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1060 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1061 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1062 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1063
1064choice
1065 prompt "Idle sleep mode"
1066 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1067 help
1068 Allows overriding the sleep mode used from idle. Leave at power
1069 collapse suspend unless the arm9 image has problems.
1070
1071 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1072 bool "Power collapse suspend"
1073 help
1074 Lowest sleep state. Returns through reset vector.
1075
1076 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1077 bool "Power collapse"
1078 help
1079 Sleep state that returns through reset vector.
1080
1081 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1082 bool "Apps Sleep"
1083
1084 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1085 bool "Ramp down cpu clock and wait for interrupt"
1086
1087 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1088 bool "Wait for interrupt"
1089endchoice
1090
1091config MSM7X00A_IDLE_SLEEP_MODE
1092 int
1093 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1094 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1095 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1096 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1097 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1098
1099config MSM7X00A_IDLE_SLEEP_MIN_TIME
1100 int "Minimum idle time before sleep"
1101 default 20000000
1102 help
1103 Minimum idle time in nanoseconds before entering low power mode.
1104
1105config MSM7X00A_IDLE_SPIN_TIME
1106 int "Idle spin time before cpu ramp down"
1107 default 80000
1108 help
1109 Spin time in nanoseconds before ramping down cpu clock and entering
1110 any low power state.
1111
1112menuconfig MSM_IDLE_STATS
1113 bool "Collect idle statistics"
1114 default y
1115 help
1116 Collect idle statistics and export them in proc/msm_pm_stats.
1117
1118if MSM_IDLE_STATS
1119
1120config MSM_IDLE_STATS_FIRST_BUCKET
1121 int "First bucket time"
1122 default 62500
1123 help
1124 Upper time limit in nanoseconds of first bucket.
1125
1126config MSM_IDLE_STATS_BUCKET_SHIFT
1127 int "Bucket shift"
1128 default 2
1129
1130config MSM_IDLE_STATS_BUCKET_COUNT
1131 int "Bucket count"
1132 default 10
1133
1134config MSM_SUSPEND_STATS_FIRST_BUCKET
1135 int "First bucket time for suspend"
1136 default 1000000000
1137 help
1138 Upper time limit in nanoseconds of first bucket of the
1139 histogram. This is for collecting statistics on suspend.
1140
1141endif # MSM_IDLE_STATS
1142
1143config CPU_HAS_L2_PMU
1144 bool "L2CC PMU Support"
1145 help
1146 Select this if the L2 cache controller has a Performance Monitoring Unit.
1147
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001148config HTC_HEADSET
1149 tristate "HTC 2 Wire detection driver"
1150 default n
1151 help
1152 Provides support for detecting HTC 2 wire devices, such as wired
1153 headset, on the trout platform. Can be used with the msm serial
1154 debugger, but not with serial console.
1155
1156config TROUT_BATTCHG
1157 depends on MACH_TROUT && POWER_SUPPLY
1158 default y
1159 bool "Trout battery / charger driver"
1160
1161config HTC_PWRSINK
1162 depends on MSM_SMD
1163 default n
1164 bool "HTC Power Sink Driver"
1165
1166config QSD_SVS
1167 bool "QSD Static Voltage Scaling"
1168 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1169 default y
1170 select TPS65023
1171 help
1172 Enables static voltage scaling using the TPS65023 PMIC.
1173
1174config QSD_PMIC_DEFAULT_DCDC1
1175 int "PMIC default output voltage"
1176 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1177 default 1250
1178 help
1179 This is the PMIC voltage at Linux kernel boot.
1180
1181config MSM_FIQ_SUPPORT
1182 default y
1183 bool "Enable installation of an FIQ handler."
1184
1185config MSM_SERIAL_DEBUGGER
1186 select MSM_FIQ_SUPPORT
1187 select KERNEL_DEBUGGER_CORE
1188 default n
1189 bool "FIQ Mode Serial Debugger"
1190 help
1191 The FIQ serial debugger can accept commands even when the
1192 kernel is unresponsive due to being stuck with interrupts
1193 disabled. Depends on the kernel debugger core in drivers/misc.
1194
1195config MSM_SERIAL_DEBUGGER_CONSOLE
1196 depends on MSM_SERIAL_DEBUGGER
1197 default n
1198 bool "Console on FIQ Serial Debugger port"
1199 help
1200 Enables a console so that printk messages are displayed on
1201 the debugger serial port as the occur.
Brian Swetland9e73c842007-11-26 04:12:13 -08001202
Gregory Beanab78cde2010-09-01 16:26:12 -07001203config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001204 default y
1205 bool "Proc-Comm RPC Interface"
1206 help
1207 Enables a lightweight communications interface to the
1208 baseband processor.
Gregory Beanab78cde2010-09-01 16:26:12 -07001209
Gregory Bean1963a2a2010-08-28 10:05:44 -07001210config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001211 bool "MSM Shared Memory Driver (SMD)"
1212 help
1213 Support for the shared memory interface between the apps
1214 processor and the baseband processor. Provides access to
1215 the "shared heap", as well as virtual serial channels
1216 used to communicate with various services on the baseband
1217 processor.
1218
1219choice
1220 prompt "MSM Shared memory interface version"
1221 depends on MSM_SMD
1222 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1223 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1224
1225 config MSM_SMD_PKG3
1226 bool
1227 prompt "Package 3"
1228
1229 config MSM_SMD_PKG4
1230 bool
1231 prompt "Package 4"
1232endchoice
1233
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001234config MSM_PCIE
1235 bool "MSM PCIe Controller driver"
1236 depends on PCI && PCI_MSI
1237 help
1238 Enables the PCIe functionality by configures PCIe core on
1239 MSM chipset and by enabling the ARM PCI framework extension.
1240
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001241config MSM_RPC_SDIO_XPRT
1242 depends on MSM_SDIO_AL
1243 default y
1244 bool "MSM SDIO XPRT Layer"
1245 help
1246 SDIO Transport Layer for RPC Rouer
1247
1248config MSM_RPC_SDIO_DEBUG
1249 depends on MSM_RPC_SDIO_XPRT
1250 default y
1251 bool "MSM SDIO XPRT debug support"
1252 help
1253 Support for debugging SDIO XPRT
1254
1255config MSM_SMD_DEBUG
1256 depends on MSM_SMD
1257 default y
1258 bool "MSM SMD debug support"
1259 help
1260 Support for debugging the SMD for communication
1261 between the ARM9 and ARM11
1262
1263config MSM_SDIO_AL
1264 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1265 default y
1266 tristate "SDIO-Abstraction-Layer"
1267 help
1268 Support MSM<->MDM Communication over SDIO bus.
1269 MDM SDIO-Client should have pipes support.
1270
1271config MSM_SDIO_DMUX
1272 bool "SDIO Data Mux Driver"
1273 depends on MSM_SDIO_AL
1274 default n
1275 help
1276 Support Muxed Data Channels over SDIO interface.
1277
1278config MSM_BAM_DMUX
1279 bool "BAM Data Mux Driver"
1280 depends on SPS
1281 default n
1282 help
1283 Support Muxed Data Channels over BAM interface.
1284 BAM has a limited number of pipes. This driver
1285 provides a means to support more logical channels
1286 via muxing than BAM could without muxing.
1287
1288config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001289 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001290 default y
1291 bool "MSM N-WAY SMD support"
1292 help
1293 Supports APPS-QDSP SMD communication along with
1294 normal APPS-MODEM SMD communication.
1295
1296config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001297 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001298 default y
1299 bool "MSM N-WAY SMSM support"
1300 help
1301 Supports APPS-QDSP SMSM communication along with
1302 normal APPS-MODEM SMSM communication.
1303
1304config MSM_RESET_MODEM
1305 tristate "Reset Modem Driver"
1306 depends on MSM_SMD
1307 default m
1308 help
1309 Allows the user to reset the modem through a device node.
1310
1311config MSM_SMD_LOGGING
1312 depends on MSM_SMD
1313 default y
1314 bool "MSM Shared Memory Logger"
1315 help
1316 This option exposes the shared memory logger at /dev/smem_log
1317 and a debugfs node named smem_log.
1318
1319 If in doubt, say yes.
1320
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001321config MSM_IPC_LOGGING
1322 bool "MSM Debug Logging for IPC Drivers"
1323 help
1324 This option allows the debug logging for IPC Drivers.
1325
1326 If in doubt, say no.
1327
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001328config MSM_SMD_NMEA
1329 bool "NMEA GPS Driver"
1330 depends on MSM_SMD
1331 default y
1332 help
1333 Enable this to support the NMEA GPS device.
1334
1335 If in doubt, say yes.
1336
1337config MSM_SDIO_TTY
1338 bool "SDIO TTY Driver"
1339 depends on MSM_SDIO_AL
1340 default n
1341 help
1342 Provides a TTY driver SDIO TTY
1343 This driver can be used by user space
1344 applications for passing data through the
1345 SDIO interface.
1346
1347config MSM_SMD_TTY
1348 bool "SMD TTY Driver"
1349 depends on MSM_SMD
1350 default y
1351 help
1352 Provides TTY interfaces to interact with the modem.
1353
1354 If in doubt, say yes.
1355
1356config MSM_SMD_QMI
1357 bool "SMD QMI Driver"
1358 depends on MSM_SMD
1359 default y
1360 help
1361 Manages network data connections.
1362
1363 If in doubt, say yes.
1364
1365config MSM_SMD_PKT
1366 bool "SMD Packet Driver"
1367 depends on MSM_SMD
1368 default y
1369 help
1370 Provides a binary SMD non-muxed packet port interface.
1371
1372 If in doubt, say yes.
1373
1374config MSM_SDIO_CMUX
1375 bool "SDIO CMUX Driver"
1376 depends on MSM_SDIO_AL
1377 default n
1378 help
1379 Provides a Muxed port interface over SDIO QMI
1380
1381config MSM_DSPS
1382 bool "Sensors DSPS driver"
1383 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1384 default n
1385 help
1386 Provides user-space interface to the sensors manager
1387 to turn on/off the Sensors Processor system clocks.
1388 It is the DSPS responsibility to turn on/off the sensors
1389 themself.
1390 The number of clocks and their name may vary between targets.
1391 It also triggers the PIL to load the DSPS firmware.
1392
1393config MSM_SDIO_CTL
1394 bool "SDIO CTL Driver"
1395 depends on MSM_SDIO_CMUX
1396 default n
1397 help
1398 Provides a binary SDIO control port interface.
1399
1400config MSM_ONCRPCROUTER
1401 depends on MSM_SMD
1402 default n
1403 bool "MSM ONCRPC router support"
1404 help
1405 Support for the MSM ONCRPC router for communication between
1406 the ARM9 and ARM11
1407
1408config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001409 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001410 default n
1411 bool "MSM IPC Router support"
1412 help
1413 Support for the MSM IPC Router for communication between
1414 the APPs and the MODEM
1415
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001416config MSM_IPC_ROUTER_SMD_XPRT
1417 depends on MSM_SMD
1418 depends on MSM_IPC_ROUTER
1419 default n
1420 bool "MSM SMD XPRT Layer"
1421 help
1422 SMD Transport Layer for IPC Router
1423
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001424config MSM_ONCRPCROUTER_DEBUG
1425 depends on MSM_ONCRPCROUTER
1426 default y
1427 bool "MSM debug ONCRPC router support"
1428 help
1429 Support for debugging the ONCRPC router for communication
1430 between the ARM9 and ARM11
1431
1432config MSM_RPC_LOOPBACK_XPRT
1433 depends on MSM_ONCRPCROUTER
1434 default n
1435 bool "MSM RPC local routing support"
1436 help
1437 Support for routing RPC messages between APPS clients
1438 and APPS servers. Helps in testing APPS RPC framework.
1439
1440config MSM_RPCSERVER_TIME_REMOTE
1441 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1442 default y
1443 bool "Time remote RPC server"
1444 help
1445 The time remote server receives notification of time bases and
1446 reports these events to registered callback functions.
1447
1448config MSM_RPCSERVER_WATCHDOG
1449 depends on MSM_ONCRPCROUTER
1450 default y
1451 bool "Watchdog RPC server"
1452 help
1453 The dog_keepalive server handles watchdog events.
1454
1455config MSM_RPC_WATCHDOG
1456 depends on MSM_ONCRPCROUTER
1457 default n
1458 bool "Watchdog RPC client"
1459 help
1460 The dog_keepalive client module.
1461
1462config MSM_RPC_PING
1463 depends on MSM_ONCRPCROUTER && DEBUG_FS
1464 default m
1465 bool "MSM rpc ping"
1466 help
1467 Implements MSM rpc ping test module.
1468
1469config MSM_RPC_PROC_COMM_TEST
1470 depends on DEBUG_FS && MSM_PROC_COMM
1471 default m
1472 bool "MSM rpc proc comm test"
1473 help
1474 Implements MSM rpc proc comm test module.
1475
1476config MSM_RPC_OEM_RAPI
1477 depends on MSM_ONCRPCROUTER
1478 default m
1479 bool "MSM oem rapi"
1480 help
1481 Implements MSM oem rapi client module.
1482
1483config MSM_RPCSERVER_HANDSET
1484 depends on MSM_ONCRPCROUTER
1485 default y
1486 bool "Handset events RPC server"
1487 help
1488 Support for receiving handset events like headset detect,
1489 headset switch and clamshell state.
1490
1491config MSM_RMT_STORAGE_CLIENT
1492 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1493 default n
1494 bool "Remote Storage RPC client"
1495 help
1496 Provide RPC mechanism for remote processors to access storage
1497 device on apps processor.
1498
1499config MSM_RMT_STORAGE_CLIENT_STATS
1500 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1501 default n
1502 bool "Remote storage RPC client performance statistics"
1503 help
1504 Collects performance statistics and shows this information
1505 through a debugfs file rmt_storage_stats.
1506
1507config MSM_SDIO_SMEM
1508 depends on MSM_SDIO_AL
1509 default n
1510 bool "SDIO SMEM for remote storage"
1511 help
1512 Copies data from remote MDM9K memory to local MSM8x60
1513 memory. Used by remote storage client to shadow
1514 MDM9K filesystem.
1515
1516config MSM_DALRPC
1517 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001518 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001519 help
1520 Supports RPC calls to DAL devices on remote processor cores.
1521
1522config MSM_DALRPC_TEST
1523 tristate "DAL RPC test module"
1524 depends on (MSM_DALRPC && DEBUG_FS)
1525 default m
1526 help
1527 Exercises DAL RPC calls to QDSP6.
1528
1529if CPU_FREQ_MSM
1530
1531config MSM_CPU_FREQ_SET_MIN_MAX
1532 bool "Set Min/Max CPU frequencies."
1533 default n
1534 help
1535 Allow setting min and max CPU frequencies. Sysfs can be used
1536 to override these values.
1537
1538config MSM_CPU_FREQ_MAX
1539 int "Max CPU Frequency"
1540 depends on MSM_CPU_FREQ_SET_MIN_MAX
1541 default 384000
1542
1543config MSM_CPU_FREQ_MIN
1544 int "Min CPU Frequency"
1545 depends on MSM_CPU_FREQ_SET_MIN_MAX
1546 default 245760
1547
1548endif # CPU_FREQ_MSM
1549
1550config MSM_CPU_AVS
1551 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1552 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1553 depends on ARCH_QSD8X50
1554 default n
1555 select MSM_AVS_HW
1556 help
1557 This enables the s/w control of Adaptive Voltage Scaling feature
1558 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1559 based on feedback from three ring oscillators in the CPU.
1560
1561config MSM_AVS_HW
1562 bool "Enable Adaptive Voltage Scaling (AVS)"
1563 default n
1564 help
1565 Enable AVS hardware to fine tune voltage at each frequency. The
1566 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1567 fine tune the voltages based on the feedback from the ring
1568 oscillators.
1569
1570config MSM_HW3D
1571 tristate "MSM Hardware 3D Register Driver"
1572 depends on ANDROID_PMEM
1573 default y
1574 help
1575 Provides access to registers needed by the userspace OpenGL|ES
1576 library.
1577
1578config MSM_ADSP
1579 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1580 tristate "MSM ADSP driver"
1581 depends on ANDROID_PMEM
1582 default y
1583 help
1584 Provides access to registers needed by the userspace aDSP library.
1585
1586config ADSP_RPC_VER
1587 hex
1588 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1589 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1590 depends on MSM_ADSP
1591 help
1592 Select proper ADSP RPC version
1593choice
1594 prompt "ADSP RPC version"
1595
1596 default AMSS_7X25_VERSION_2009
1597
1598 config AMSS_7X25_VERSION_2009
1599 bool "2.0.09"
1600
1601 config AMSS_7X25_VERSION_2008
1602 bool "2.0.08"
1603endchoice
1604
1605config MSM7KV2_AUDIO
1606 bool "MSM7K v2 audio"
1607 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1608 default y
1609 help
1610 Enables QDSP5V2-based audio drivers for audio playbacks and
1611 voice call.
1612
1613config MSM_ADSP_REPORT_EVENTS
1614 bool "Report modem events from the DSP"
1615 default y
1616 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1617 help
1618 Normally, only messages from the aDSP are reported to userspace.
1619 With this option, we report events from the aDSP as well.
1620
1621config MSM_QDSP6
1622 tristate "QDSP6 support"
1623 depends on ARCH_QSD8X50 && ANDROID_PMEM
1624 default y
1625 help
1626 Enable support for qdsp6. This provides audio and video functionality.
1627
1628config MSM8X60_AUDIO
1629 tristate "MSM8X60 audio support"
1630 depends on ARCH_MSM8X60 && ANDROID_PMEM
1631 default y
1632 help
1633 Enable support for qdsp6v2. This provides audio functionality.
1634
1635config MSM8X60_FTM_AUDIO_DEVICES
1636 bool "MSM8X60 audio factory test mode support"
1637 depends on MSM8X60_AUDIO
1638 help
1639 Enable support audio factory test mode devices. This is used
1640 in a production line environment.
1641
Ben Romberger45b351c2011-07-20 22:37:27 -07001642config RTAC
1643 bool "MSM8K real-time audio calibration support"
1644 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001645 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001646 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001647 audio operation
1648
1649config MSM7X27A_AUDIO
1650 bool "MSM7X27A audio support"
1651 depends on ARCH_MSM7X27A && MSM_ADSP
1652 default n
1653 help
1654 Enable support for 7x27a. This provides audio functionality.
1655
Justin Pauporea6cd2092011-06-22 16:19:45 -07001656config MSM_PROC_COMM_REGULATOR
Gregory Bean1963a2a2010-08-28 10:05:44 -07001657 bool
Justin Pauporea6cd2092011-06-22 16:19:45 -07001658 depends on MSM_PROC_COMM && REGULATOR
1659 help
1660 Enable regulator framework support for regulators managed by PMLIB
1661 on the modem, and controlled through proccomm calls.
1662
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001663config MSM_VREG_SWITCH_INVERTED
1664 bool "Reverse vreg switch polarity"
1665 default n
1666 help
1667 Reverses the enable and disable for vreg switch.
1668
1669config MSM_DMA_TEST
1670 tristate "MSM DMA test module"
1671 default m
1672 help
1673 Intended to be compiled as a module. Provides a device node
1674 and ioctls for testing the MSM dma system.
1675
1676config WIFI_CONTROL_FUNC
1677 bool "Enable WiFi control function abstraction"
1678 help
1679 Enables Power/Reset/Carddetect function abstraction
1680
1681config WIFI_MEM_PREALLOC
1682 depends on WIFI_CONTROL_FUNC
1683 bool "Preallocate memory for WiFi buffers"
1684 help
1685 Preallocates memory buffers for WiFi driver
1686
1687config QSD_AUDIO
1688 bool "QSD audio"
1689 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1690 default y
1691 help
1692 Provides PCM, MP3, and AAC audio playback.
1693
1694config AUDIO_AAC_PLUS
1695 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1696 bool "AAC+ Audio"
1697 default y
1698 help
1699 Provides AAC+ decoding
1700
1701config AUDIO_ENHANCED_AAC_PLUS
1702 depends on AUDIO_AAC_PLUS
1703 bool "Enhanced AAC+ Audio"
1704 default y
1705 help
1706 Provides Enhanced AAC+ decoding
1707
1708config SURF_FFA_GPIO_KEYPAD
1709 bool "MSM SURF/FFA GPIO keypad"
1710 depends on INPUT_GPIO = "y"
1711 default y
1712 help
1713 Select if the GPIO keypad is attached.
1714
1715config MSM_SLEEP_TIME_OVERRIDE
1716 bool "Allow overriding suspend/sleep time with PM module parameter"
1717 default y
1718 help
1719 Enable the module parameter sleep_time_override. Specified
1720 in units of seconds, it overwrites the normal sleep time of
1721 suspend. The feature is required for automated power management
1722 testing.
1723
1724config MSM_MEMORY_LOW_POWER_MODE
1725 bool "Control the low power modes of memory"
1726 default n
1727 help
1728 The application processor controls whether memory should enter
1729 which low power mode.
1730
1731choice
1732 prompt "Default Memory Low Power Mode during Idle"
1733 depends on MSM_MEMORY_LOW_POWER_MODE
1734 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1735 help
1736 Selects the default low power mode of the memory during idle
1737 sleep.
1738
1739 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1740 bool "Memory active"
1741
1742 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1743 bool "Memory in retention"
1744
1745 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1746 bool "Memory in deep power down"
1747endchoice
1748
1749choice
1750 prompt "Default Memory Low Power Mode during Suspend"
1751 depends on MSM_MEMORY_LOW_POWER_MODE
1752 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1753 help
1754 Selects the default low power mode of the memory during suspend
1755 sleep.
1756
1757 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1758 bool "Memory active"
1759
1760 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1761 bool "Memory in retention"
1762
1763 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1764 bool "Memory in deep power down"
1765endchoice
1766
1767choice
1768 prompt "Power management timeout action"
1769 default MSM_PM_TIMEOUT_HALT
1770 help
1771 Selects the Application Processor's action when Power Management
1772 times out waiting for Modem's handshake.
1773
1774 config MSM_PM_TIMEOUT_HALT
1775 bool "Halt the Application Processor"
1776
1777 config MSM_PM_TIMEOUT_RESET_MODEM
1778 bool "Reset the Modem Processor"
1779
1780 config MSM_PM_TIMEOUT_RESET_CHIP
1781 bool "Reset the entire chip"
1782endchoice
1783
1784config MSM_IDLE_WAIT_ON_MODEM
1785 int "Wait for Modem to become ready for idle power collapse"
1786 default 0
1787 help
1788 If Modem is not ready to handle Application Processor's request
1789 for idle power collapse, wait the number of microseconds in case
1790 Modem becomes ready soon.
1791
Matt Wagantall9274df92011-12-15 11:11:05 -08001792config MSM_RPM_REGULATOR
1793 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001794 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001795 help
1796 Compile in support for the RPM regulator driver, used for setting
1797 voltages and other parameters of the various power rails supplied
1798 by some Qualcomm PMICs.
1799
David Collinsc7642322012-04-04 10:19:12 -07001800config MSM_RPM_REGULATOR_SMD
1801 bool "SMD RPM regulator driver"
1802 depends on REGULATOR
1803 depends on OF
1804 depends on MSM_RPM_SMD
1805 help
1806 Compile in support for the SMD RPM regulator driver which is used for
1807 setting voltages and other parameters of the various power rails
1808 supplied by some Qualcomm PMICs. The SMD RPM regulator driver should
1809 be used on systems which contain an RPM which communicates with the
1810 application processor over SMD.
1811
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001812config MSM_PIL
1813 bool "Peripheral image loading"
1814 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001815 default n
1816 help
1817 Some peripherals need to be loaded into memory before they can be
1818 brought out of reset.
1819
1820 Say yes to support these devices.
1821
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001822config MSM_PIL_MODEM
1823 tristate "Modem (ARM11) Boot Support"
1824 depends on MSM_PIL
1825 help
1826 Support for booting and shutting down ARM11 Modem processors.
1827
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001828config MSM_PIL_QDSP6V3
1829 tristate "QDSP6v3 (Hexagon) Boot Support"
1830 depends on MSM_PIL
1831 help
1832 Support for booting and shutting down QDSP6v3 processors (hexagon).
1833 The QDSP6 is a low power DSP used in audio software applications.
1834
Stephen Boydeb819882011-08-29 14:46:30 -07001835config MSM_PIL_QDSP6V4
1836 tristate "QDSP6v4 (Hexagon) Boot Support"
1837 depends on MSM_PIL
1838 help
1839 Support for booting and shutting down QDSP6v4 processors (hexagon).
1840 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1841 software applications.
1842
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001843config MSM_PIL_LPASS_QDSP6V5
1844 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
1845 depends on MSM_PIL
1846 help
Matt Wagantall4e2599e2012-03-21 22:31:35 -07001847 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1848 in low power audio subsystems.
1849
1850config MSM_PIL_MSS_QDSP6V5
1851 tristate "MSS QDSP6v5 (Hexagon) Boot Support"
1852 depends on MSM_PIL
1853 help
1854 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1855 in modem subsystems.
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001856
Matt Wagantalle6e00d52012-03-08 17:39:07 -08001857config MSM_PIL_MBA
1858 tristate "Support for modem self-authentication"
1859 depends on MSM_PIL_MSS_QDSP6V5
1860 help
1861 Support for booting self-authenticating modems using the Modem Boot
1862 Authenticator.
Stephen Boyd322a9922011-09-20 01:05:54 -07001863
1864config MSM_PIL_RIVA
Stephen Boydd89eebe2011-09-28 23:28:11 -07001865 tristate "RIVA (WCNSS) Boot Support"
1866 depends on MSM_PIL
1867 help
1868 Support for booting and shutting down the RIVA processor (WCNSS).
1869 Riva is the wireless subsystem processor used in bluetooth, wireless
1870 LAN, and FM software applications.
1871
1872config MSM_PIL_TZAPPS
1873 tristate "TZApps Boot Support"
1874 depends on MSM_PIL
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07001875 help
1876 Support for booting and shutting down TZApps.
1877
1878 TZApps is an image that runs in the secure processor state. It is
1879 used to decrypt data and perform secure operations on the behalf of
1880 the kernel.
1881
1882config MSM_PIL_DSPS
1883 tristate "DSPS Boot Support"
Stephen Boyd7b973de2012-03-09 12:26:16 -08001884 depends on MSM_PIL
1885 help
1886 Support for booting and shutting down ARM7 DSPS processors.
1887
1888 DSPS is a sensors offloading processor used for applications such
1889 as rotation detection, temperature, etc.
Matt Wagantall292aace2012-01-26 19:12:34 -08001890
1891config MSM_PIL_VIDC
1892 tristate "Video Core Secure Boot Support"
1893 depends on MSM_PIL
1894 help
1895 Support for authenticating the video core image.
1896
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001897config MSM_PIL_GSS
1898 tristate "GSS (Coretx A5) Boot Support"
1899 depends on MSM_PIL
1900 help
1901 Support for booting and shutting down Cortex A5 processors which run
1902 GPS subsystem firmware.
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001903
Tianyi Gouc1e049f82011-11-23 14:20:16 -08001904config MSM_PIL_PRONTO
1905 tristate "PRONTO (WCNSS) Boot Support"
1906 depends on MSM_PIL
1907 help
1908 Support for booting and shutting down the PRONTO processor (WCNSS).
1909 PRONTO is the wireless subsystem processor used in bluetooth, wireless
1910 LAN, and FM software applications.
1911
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001912config MSM_SCM
1913 bool "Secure Channel Manager (SCM) support"
1914 default n
1915
1916config MSM_SUBSYSTEM_RESTART
1917 bool "MSM Subsystem Restart Driver"
1918 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
1919 default n
1920 help
1921 This option enables the MSM subsystem restart driver, which provides
1922 a framework to handle subsystem crashes.
1923
Matt Wagantallf8020902011-08-30 21:19:23 -07001924config MSM_SYSMON_COMM
1925 bool "MSM System Monitor communication support"
1926 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1927 default y
1928 help
1929 This option adds support for MSM System Monitor library, which
1930 provides an API that may be used for notifying subsystems within
1931 the SoC about other subsystems' power-up/down state-changes.
1932
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001933config MSM_MODEM_8960
1934 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001935 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001936 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001937 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001938 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001939 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001940
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001941config MSM_LPASS_8960
1942 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001943 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001944 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001945 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001946 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001947 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001948
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001949config MSM_WCNSS_SSR_8960
1950 tristate "MSM 8960 WCNSS restart module"
1951 depends on (ARCH_MSM8960)
1952 help
1953 This option enables the WCNSS restart module for MSM8960, which
1954 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1955 into the subsystem restart framework.
1956
Rohit Vaswanid0fb4182012-03-19 18:07:59 -07001957config MSM_GSS_SSR_8064
1958 bool "MSM 8064 GSS restart driver"
1959 depends on (ARCH_APQ8064)
1960 help
1961 This option enables the gps subsystem restart driver for APQ8064, which monitors
1962 gss hardware watchdog interrupt lines and plugs into the subsystem
1963 restart and PIL drivers.
1964
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001965config SCORPION_Uni_45nm_BUG
1966 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1967 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1968 default y
1969 help
1970 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1971 invalidating the Branch Predictor Array by Modified Virtual Address can
1972 create invalid entries in the TLB with the wrong ASID values on Scorpion
1973 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1974 workaround for Scorpion Uniprocessor 45nm cores.
1975
1976 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1977
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001978config MSM_BUSPM_DEV
1979 tristate "MSM Bus Performance Monitor Kernel Module"
1980 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1981 default m
1982 help
1983 This kernel module is used to mmap() hardware registers for the
1984 performance monitors, counters, etc. The module can also be used to
1985 allocate physical memory which is used by bus performance hardware to
1986 dump performance data.
1987
Mona Hossain11c03ac2011-10-26 12:42:10 -07001988config MSM_TZ_LOG
1989 tristate "MSM Trust Zone (TZ) Log Driver"
1990 depends on DEBUG_FS
1991 help
1992 This option enables a driver with a debugfs interface for messages
1993 produced by the Secure code (Trust zone). These messages provide
1994 diagnostic information about TZ operation.
1995
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001996config MSM_RPM_LOG
1997 tristate "MSM Resource Power Manager Log Driver"
1998 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06001999 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002000 default n
2001 help
2002 This option enables a driver which can read from a circular buffer
2003 of messages produced by the RPM. These messages provide diagnostic
2004 information about RPM operation. The driver outputs the messages
2005 via a debugfs node.
2006
2007config MSM_RPM_STATS_LOG
2008 tristate "MSM Resource Power Manager Stat Driver"
2009 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002010 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002011 default n
2012 help
2013 This option enables a driver which reads RPM messages from a shared
2014 memory location. These messages provide statistical information about
2015 the low power modes that RPM enters. The drivers outputs the message
2016 via a debugfs node.
2017
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002018config MSM_DIRECT_SCLK_ACCESS
2019 bool "Direct access to the SCLK timer"
2020 default n
2021
2022config IOMMU_API
2023 bool
Gregory Bean1963a2a2010-08-28 10:05:44 -07002024
Brian Swetland9e73c842007-11-26 04:12:13 -08002025config MSM_GPIOMUX
2026 bool
2027
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002028config MSM_SECURE_IO
Brian Swetland9e73c842007-11-26 04:12:13 -08002029 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002030
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002031config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002032 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002033
Matt Wagantall88b86312012-01-31 16:53:03 -08002034config MSM_PM2
2035 depends on PM
2036 bool
2037
2038config MSM_PM8X60
2039 depends on PM
2040 bool
2041
2042config MSM_NOPM
2043 default y if !PM
2044 bool
2045
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002046config MSM_BUS_SCALING
2047 bool "Bus scaling driver"
2048 default n
2049
Gagan Mac85c70492011-06-10 16:07:47 -06002050config MSM_BUS_RPM_MULTI_TIER_ENABLED
2051 bool "RPM Multi-tiering Configuration"
2052 depends on MSM_BUS_SCALING
2053
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002054config MSM_WATCHDOG
2055 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002056 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002057 help
2058 This enables the watchdog as is present on 8x60. Currently we use
2059 core 0's watchdog, and reset the entire SoC if it times out. It does
2060 not run during the bootup process, so it will not catch any early
2061 lockups.
2062
2063config MSM_DLOAD_MODE
2064 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07002065 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002066 default n
2067 help
2068 This makes the SoC enter download mode when it resets
2069 due to a kernel panic. Note that this doesn't by itself
2070 make the kernel reboot on a kernel panic - that must be
2071 enabled via another mechanism.
2072
Pratik Patel17f3b822011-11-21 12:41:47 -08002073config MSM_JTAG
2074 bool "JTAG debug and trace support"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002075 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002076 Add additional support for JTAG kernel debugging and tracing.
Pratik Patel7831c082011-06-08 21:44:37 -07002077
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002078config MSM_ETM
2079 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002080 depends on ARCH_MSM8X60
2081 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002082 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002083 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002084
2085config MSM_QDSS
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002086 bool "Qualcomm Debug Subsystem"
Pratik Patel17f3b822011-11-21 12:41:47 -08002087 select MSM_JTAG
Pratik Patel7831c082011-06-08 21:44:37 -07002088 help
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002089 Enables support for Qualcomm Debug Subsystem.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002090
Pratik Patel5ecf6a12012-04-25 18:34:59 -07002091config MSM_QDSS_STM_DEFAULT_ENABLE
2092 bool "Turn on QDSS STM Tracing by Default"
2093 depends on MSM_QDSS
2094 help
2095 Turns on QDSS STM tracing (hardware assisted software
2096 instrumentation based tracing) by default. Otherwise, tracing is
2097 disabled by default but can be enabled via sysfs.
2098
2099 For production builds, you should probably say 'N' here to avoid
2100 potential power, performance and memory penalty.
2101
Pratik Patel29cba152012-01-03 11:40:26 -08002102config MSM_QDSS_ETM_DEFAULT_ENABLE
2103 bool "Turn on QDSS ETM Tracing by Default"
2104 depends on MSM_QDSS
2105 help
2106 Turns on QDSS ETM tracing by default. Otherwise, tracing is
2107 disabled by default but can be enabled by other means.
2108
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002109config MSM_SLEEP_STATS
2110 bool "Enable exporting of MSM sleep stats to userspace"
2111 depends on CPU_IDLE
2112 default n
2113
Lynus Vazdde09ee2012-01-05 13:28:22 +05302114config MSM_SLEEP_STATS_DEVICE
2115 bool "Enable exporting of MSM sleep device stats to userspace"
2116
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302117config MSM_RUN_QUEUE_STATS
2118 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Krishna Vankae2922052012-03-02 09:59:12 +05302119 depends on (MSM_SOC_REV_A || ARCH_MSM8X60 || ARCH_MSM8960)
2120 help
2121 This option enalbes statistics collection on Run Queue. A daemon
2122 in user mode, called MPDecision will be using this data to decide
2123 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302124
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002125config MSM_STANDALONE_POWER_COLLAPSE
2126 bool "Enable standalone power collapse"
2127 default n
2128
2129config MSM_GSBI9_UART
2130 bool "Enable GSBI9 UART device"
2131 default n
2132 help
2133 This enables GSBI9 configured into UART.
2134
2135config MSM_SHARED_GPIO_FOR_UART2DM
2136 bool "Use shared GPIOs into UART mode"
2137 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2138 help
2139 This option configures GPIO muxed with SDC4/MMC3
2140 8-bit mode into UART mode. It is used for serial
2141 console on UART2DM. Say Y if you want to have
2142 serial console on UART2DM.
2143
2144config MSM_SHOW_RESUME_IRQ
2145 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002146 depends on (ARM_GIC || PMIC8058)
2147 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002148 default n
2149 help
2150 This option logs wake up interrupts that have triggered just before
2151 the resume loop unrolls. Say Y if you want to debug why the system
2152 resumed.
2153
2154config BT_MSM_PINTEST
2155 tristate "MSM Bluetooth Pin Connectivity Test"
2156 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2157 default n
2158 help
2159 Bluetooth MSM Pin Connectivity test module.
2160 This driver provides support for verifying the MSM to BT pin
2161 connectivity.
2162
2163config MSM_FAKE_BATTERY
2164 depends on POWER_SUPPLY
2165 default n
2166 bool "MSM Fake Battery"
2167 help
2168 Enables MSM fake battery driver.
2169
2170config MSM_QDSP6_APR
2171 bool "Audio QDSP6 APR support"
2172 depends on MSM_SMD
2173 default n
2174 help
2175 Enable APR IPC protocol support between
2176 application processor and QDSP6. APR is
2177 used by audio driver to configure QDSP6's
2178 ASM, ADM and AFE.
2179
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -07002180config MSM_QDSP6_CODECS
2181 bool "Audio Codecs on QDSP6 APR "
2182 depends on MSM_SMD
2183 default n
2184 help
2185 Enable Audio codecs with APR IPC protocol support between
2186 application processor and QDSP6. APR is
2187 used by audio driver to configure QDSP6's
2188 ASM, ADM and AFE.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002189
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002190config MSM_QDSP6V2_CODECS
2191 bool "Audio QDSP6V2 APR support"
2192 depends on MSM_SMD
2193 help
2194 Enable Audio codecs with APR IPC protocol support between
2195 application processor and QDSP6 for B-family. APR is
2196 used by audio driver to configure QDSP6's
2197 ASM, ADM and AFE.
2198
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002199config MSM_AUDIO_QDSP6
2200 bool "QDSP6 HW Audio support"
2201 select SND_SOC_MSM_QDSP6_INTF
2202 default n
2203 help
2204 Enable HW audio support in QDSP6.
2205 QDSP6 can support HW encoder & decoder and audio processing
2206
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002207config MSM_AUDIO_QDSP6V2
2208 bool "QDSP6V2 HW Audio support"
2209 select SND_SOC_MSM_QDSP6V2_INTF
2210 help
2211 Enable HW audio support in QDSP6V2.
2212 QDSP6V2 can support HW encoder & decoder and
2213 audio processing. It will enable support for
2214 AAC, AMRNB, AMRWB, EVRC, MP3, QCELP among
2215 others.
2216
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002217config MSM_ULTRASOUND
2218 bool "MSM ultrasound support"
2219 depends on MSM_AUDIO_QDSP6
2220 help
2221 Enable support for qdsp6/ultrasound.
2222
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002223config MSM_RPC_VIBRATOR
2224 bool "RPC based MSM Vibrator Support"
2225 depends on MSM_ONCRPCROUTER
2226 help
2227 Enable the vibrator support on MSM over RPC. The vibrator
2228 is connected on the PMIC. Say Y if you want to enable this
2229 feature.
2230
2231config PM8XXX_RPC_VIBRATOR
2232 bool "RPC based Vibrator on PM8xxx PMICs"
2233 depends on MSM_RPC_VIBRATOR
2234 help
2235 Enable the vibrator support on MSM over RPC. The vibrator
2236 is connected on the PM8XXX PMIC. Say Y if you want to enable
2237 this feature.
2238
2239config MSM_SPM_V1
2240 bool "Driver support for SPM Version 1"
2241 help
2242 Enables the support for Version 1 of the SPM driver. SPM hardware is
2243 used to manage the processor power during sleep. The driver allows
2244 configuring SPM to allow different power modes.
2245
2246config MSM_SPM_V2
2247 bool "Driver support for SPM Version 2"
2248 help
2249 Enables the support for Version 2 of the SPM driver. SPM hardware is
2250 used to manage the processor power during sleep. The driver allows
2251 configuring SPM to allow different power modes.
2252
2253config MSM_L2_SPM
2254 bool "SPM support for L2 cache"
2255 depends on MSM_SPM_V2
2256 help
2257 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2258 control of L2 cache low power mode with a Subsystem Power manager.
2259 Enabling this driver allows configuring L2 SPM for low power modes
2260 on supported chipsets.
2261
Laura Abbott2d1760b2011-09-29 21:31:24 -07002262config MSM_MULTIMEDIA_USE_ION
2263 bool "Multimedia suport using Ion"
2264 depends on ION_MSM
2265 help
2266 Enable support for multimedia drivers using Ion for buffer management
2267 instead of pmem. Selecting this may also involve userspace
2268 dependencies as well.
2269
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002270config MSM_OCMEM
2271 bool "MSM On-Chip memory driver (OCMEM)"
2272 help
2273 Enable support for On-Chip Memory available on certain MSM chipsets.
2274 OCMEM is a low latency, high performance pool shared by subsystems.
2275
Laura Abbottad340ff2012-01-04 14:23:48 -08002276config MSM_RTB
2277 bool "Register tracing"
2278 help
2279 Add support for logging different events to a small uncached
2280 region. This is designed to aid in debugging reset cases where the
2281 caches may not be flushed before the target resets.
2282
2283config MSM_RTB_SEPARATE_CPUS
2284 bool "Separate entries for each cpu"
2285 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002286 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002287 help
2288 Under some circumstances, it may be beneficial to give dedicated space
2289 for each cpu to log accesses. Selecting this option will log each cpu
2290 separately. This will guarantee that the last acesses for each cpu
2291 will be logged but there will be fewer entries per cpu
2292
Stepan Moskovchenko57884842012-06-07 17:35:49 -07002293config MSM_EBI_ERP
2294 bool "External Bus Interface (EBI) error reporting"
2295 help
2296 Say 'Y' here to enable reporting of external bus interface errors to
2297 the kernel log. Information such as the offending address and
2298 transaction type will be logged. This may be useful for debugging
2299 seemingly broken memory accesses.
2300
2301 For production builds, you should probably say 'N' here.
2302
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002303config MSM_CACHE_ERP
2304 bool "Cache / CPU error reporting"
2305 depends on ARCH_MSM_KRAIT
2306 help
2307 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2308 log. Enabling this feature can be used as a system debugging technique
2309 if cache corruption is suspected. Cache error statistics will also be
2310 reported in /proc/cpu/msm_cache_erp.
2311
2312 For production builds, you should probably say 'N' here.
2313
2314config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002315 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002316 depends on MSM_CACHE_ERP
2317 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002318 To cause the kernel to panic whenever an L1 cache error is detected, say
2319 'Y' here. This may be useful as a debugging technique if general system
2320 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002321
2322 For production builds, you should probably say 'N' here.
2323
Stepan Moskovchenko7035f652012-05-31 17:48:01 -07002324config MSM_L1_ERR_LOG
2325 bool "Log CPU ERP events to system memory"
2326 depends on MSM_CACHE_ERP
2327 help
2328 Enable logging CPU ERP events to an area of memory that will be
2329 preserved across a system reset. This may be useful for detecting and
2330 troubleshooting ERP-related system crashes in the field.
2331
2332 For production builds, you may want to say 'Y' here.
2333
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002334config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2335 bool "Report L2 master port slave/decode errors in kernel log"
2336 depends on MSM_CACHE_ERP
2337 help
2338 Master port errors can occur when a memory request is not properly
2339 handled by the destination slave. This can occur if the destination
2340 register does not exist or is inaccessible due to security
2341 restrictions or (in some cases) clock configuration. Enabling this
2342 option will cause a backtrace to be printed to the kernel log whenever
2343 such an error is encountered. Note that the error is reported as an
2344 interrupt rather than as an exception, meaning that the backtrace may
2345 have some skid. This option may help with debugging, though production
2346 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002347
2348config MSM_L2_ERP_PORT_PANIC
2349 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002350 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002351 help
2352 Master port errors can occur when a memory request is not properly
2353 handled by the destination slave. Enable this option to catch drivers
2354 which attempt to access bad areas of the address space, or access
2355 hardware registers in an improper state (such as certain clocks not
2356 being on). This option may help with debugging, though production
2357 builds should probably say 'N' here.
2358
2359config MSM_L2_ERP_1BIT_PANIC
2360 bool "Panic on recoverable L2 soft errors"
2361 depends on MSM_CACHE_ERP
2362 help
2363 Enable this option to cause a kernel panic whenever the L2 cache
2364 encounters a single-bit (correctable) soft error. This option should
2365 only be enabled when doing low-level debugging where cache corruption
2366 is suspected.
2367
2368 For production builds, you should definitely say 'N' here.
2369
2370config MSM_L2_ERP_2BIT_PANIC
2371 bool "Panic on unrecoverable L2 soft errors"
2372 depends on MSM_CACHE_ERP
2373 help
2374 Enable this option to cause a kernel panic whenever the L2 cache
2375 encounters a double-bit (non-correctable) soft error. Debug builds
2376 will likely benefit from having this option enabled to catch cache
2377 problems as soon as possible.
2378
2379 For production builds, it may be acceptable to say 'N' here, since
2380 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002381
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002382config MSM_DCVS
2383 bool "Use MSM DCVS for CPU/GPU Frequency control"
2384 depends on MSM_SCM
2385 help
2386 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2387 The DCVS manager allows idle driver to feed the idle information to the
2388 algorithm and the algorithm returns a frequency for the core which is
2389 passed to the frequency change driver.
2390
Taniya Dasc43e6872012-03-21 16:41:14 +05302391config HAVE_ARCH_HAS_CURRENT_TIMER
2392 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002393
2394config MSM_CACHE_DUMP
2395 bool "Cache dumping support"
2396 help
2397 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2398 This allows for analysis of the caches in case cache corruption is
2399 suspected.
2400
Laura Abbott7b637362012-03-29 16:43:49 -07002401config MSM_CACHE_DUMP_ON_PANIC
2402 bool "Dump caches on panic"
2403 depends on MSM_CACHE_DUMP
2404 help
2405 By default, the caches are flushed on panic. This means that trying to
2406 look at them in a RAM dump will give useless data. Select this if you
2407 want to dump the L1 and L2 caches on panic before any flush occurs.
2408 If unsure, say N
2409
Jack Phamccbbfab2012-04-09 19:50:20 -07002410config MSM_HSIC_SYSMON
2411 tristate "MSM HSIC system monitor driver"
2412 depends on USB
2413 help
2414 Add support for bridging with the system monitor interface of MDM
2415 over HSIC. This driver allows the local system monitor to
2416 communicate with the remote system monitor interface.
2417
2418config MSM_HSIC_SYSMON_TEST
2419 tristate "MSM HSIC system monitor bridge test"
2420 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2421 help
2422 Enable the test hook for the Qualcomm system monitor HSIC driver.
2423 This will create a debugfs file entry named "hsic_sysmon_test" which
2424 can be read and written to send character data to the sysmon port of
2425 the modem over USB.
2426
Brian Swetland9e73c842007-11-26 04:12:13 -08002427endif