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