blob: 0a239d883d35c53063ba25354ca944ed2f9a5e29 [file] [log] [blame]
Brian Swetland1637de02008-09-09 07:13:33 -07001if ARCH_MSM
Brian Swetland9e73c842007-11-26 04:12:13 -08002
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -07003menu "MSM SoC Type"
Daniel Walkerbf83de42010-03-16 16:29:44 -07004
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07005config ARCH_MSM7X01A
Daniel Walkerbf83de42010-03-16 16:29:44 -07006 bool "MSM7x00A / MSM7x01A"
7 select ARCH_MSM_ARM11
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07008 select MSM_VIC
Daniel Walkerbf83de42010-03-16 16:29:44 -07009 select CPU_V6
David Brown74d10d72011-05-16 13:57:39 -070010 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070011 select MSM_REMOTE_SPINLOCK_SWP
12
13config ARCH_MSM7X25
14 bool "MSM7x25"
15 select ARCH_MSM_ARM11
16 select MSM_VIC
17 select CPU_V6
Steve Mucklef132c6c2012-06-06 18:30:57 -070018 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070019 select MSM_REMOTE_SPINLOCK_SWP
Taniya Dasbe561a02011-10-12 09:53:11 +053020 select MULTI_IRQ_HANDLER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070021
22config ARCH_MSM7X27
23 bool "MSM7x27"
24 select ARCH_MSM_ARM11 if MSM_SOC_REV_NONE
25 select ARCH_HAS_BARRIERS if MSM_SOC_REV_NONE
26 select ARCH_MSM_CORTEX_A5 if MSM_SOC_REV_A
27 select MSM_VIC
28 select CPU_V6 if MSM_SOC_REV_NONE
29 select CPU_V7 if MSM_SOC_REV_A
Steve Mucklef132c6c2012-06-06 18:30:57 -070030 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070031 select MSM_REMOTE_SPINLOCK_SWP if MSM_SOC_REV_NONE
32 select MSM_GPIOMUX
33 select REGULATOR
Taniya Dasbe561a02011-10-12 09:53:11 +053034 select MULTI_IRQ_HANDLER
Pankaj Kumar75c86fd2011-10-01 18:51:09 +053035 select MSM_PROC_COMM_REGULATOR
Laura Abbott1fbd2e62011-12-18 10:26:46 -080036 select CLEANCACHE
37 select QCACHE
Matt Wagantall88b86312012-01-31 16:53:03 -080038 select MSM_PM2 if PM
Krishna Vankae2922052012-03-02 09:59:12 +053039 select MSM_RUN_QUEUE_STATS if MSM_SOC_REV_A
Taniya Dasd4c39f92012-05-14 17:41:49 +053040 select DONT_MAP_HOLE_AFTER_MEMBANK0
Trilok Sonib856ab92012-06-26 14:33:28 +053041 select MIGHT_HAVE_CACHE_L2X0
Taniya Dascd1d0232012-07-03 17:50:47 +053042 select MSM_MODEM_RESTART
Daniel Walkerbf83de42010-03-16 16:29:44 -070043
Daniel Walker7b521612010-05-06 12:44:57 -070044config ARCH_MSM7X30
45 bool "MSM7x30"
46 select ARCH_MSM_SCORPION
Daniel Walker7b521612010-05-06 12:44:57 -070047 select MSM_VIC
48 select CPU_V7
David Brown74d10d72011-05-16 13:57:39 -070049 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070050 select MSM_REMOTE_SPINLOCK_DEKKERS
51 select ARCH_SPARSEMEM_ENABLE
Laura Abbott78593b52011-09-26 18:48:14 -070052 select ARCH_HAS_HOLES_MEMORYMODEL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070053 select MIGRATION
Gregory Beanab78cde2010-09-01 16:26:12 -070054 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070055 select RESERVE_FIRST_PAGE
56 select MSM_DALRPC
57 select MSM_SPM_V1
58 select REGULATOR
Justin Paupore637a25d2011-07-14 17:11:04 -070059 select MSM_PROC_COMM_REGULATOR
Taniya Dasbae99fb2011-10-12 09:55:13 +053060 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -080061 select MSM_PM2 if PM
Chintan Pandyabb021762012-06-21 15:03:29 +053062 select HOLES_IN_ZONE if SPARSEMEM
Taniya Dascd1d0232012-07-03 17:50:47 +053063 select MSM_MODEM_RESTART
Daniel Walker7b521612010-05-06 12:44:57 -070064
Daniel Walker4ad15e62010-05-06 13:54:17 -070065config ARCH_QSD8X50
66 bool "QSD8X50"
67 select ARCH_MSM_SCORPION
Daniel Walker4ad15e62010-05-06 13:54:17 -070068 select MSM_VIC
69 select CPU_V7
David Brown74d10d72011-05-16 13:57:39 -070070 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070071 select MSM_REMOTE_SPINLOCK_LDREX
72 select CPU_USE_DOMAINS
73 select EMULATE_DOMAIN_MANAGER_V7
Gregory Beanab78cde2010-09-01 16:26:12 -070074 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070075 select MSM_DALRPC
Matt Wagantall88b86312012-01-31 16:53:03 -080076 select MSM_PM2 if PM
Taniya Dascd1d0232012-07-03 17:50:47 +053077 select MSM_MODEM_RESTART
Daniel Walker46fe5f22010-08-18 11:00:25 -070078
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070079config ARCH_MSM8X60
80 bool "MSM8X60"
Jeff Ohlsteine14411d2010-11-30 13:06:36 -080081 select ARCH_MSM_SCORPIONMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070082 select SMP_PARALLEL_START if SMP
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070083 select ARM_GIC
84 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070085 select MSM_REMOTE_SPINLOCK_LDREX
86 select ARCH_REQUIRE_GPIOLIB
87 select MSM_ADM3
88 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -080089 select MSM_RPM_REGULATOR
David Brown1a5ab4b2011-05-16 15:53:38 -070090 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070091 select MSM_PIL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070092 select ARCH_HAS_CPU_IDLE_WAIT
93 select MSM_DIRECT_SCLK_ACCESS
94 select MSM_RPM
95 select MSM_XO
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070096 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070097 select MSM_BUS_SCALING
98 select MSM_SECURE_IO
99 select MSM_DALRPC
100 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700101 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700102 select MSM_NATIVE_RESTART
103 select ARCH_INLINE_SPIN_TRYLOCK
104 select ARCH_INLINE_SPIN_TRYLOCK_BH
105 select ARCH_INLINE_SPIN_LOCK
106 select ARCH_INLINE_SPIN_LOCK_BH
107 select ARCH_INLINE_SPIN_LOCK_IRQ
108 select ARCH_INLINE_SPIN_LOCK_IRQSAVE
109 select ARCH_INLINE_SPIN_UNLOCK
110 select ARCH_INLINE_SPIN_UNLOCK_BH
111 select ARCH_INLINE_SPIN_UNLOCK_IRQ
112 select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
113 select ARCH_INLINE_READ_TRYLOCK
114 select ARCH_INLINE_READ_LOCK
115 select ARCH_INLINE_READ_LOCK_BH
116 select ARCH_INLINE_READ_LOCK_IRQ
117 select ARCH_INLINE_READ_LOCK_IRQSAVE
118 select ARCH_INLINE_READ_UNLOCK
119 select ARCH_INLINE_READ_UNLOCK_BH
120 select ARCH_INLINE_READ_UNLOCK_IRQ
121 select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
122 select ARCH_INLINE_WRITE_TRYLOCK
123 select ARCH_INLINE_WRITE_LOCK
124 select ARCH_INLINE_WRITE_LOCK_BH
125 select ARCH_INLINE_WRITE_LOCK_IRQ
126 select ARCH_INLINE_WRITE_LOCK_IRQSAVE
127 select ARCH_INLINE_WRITE_UNLOCK
128 select ARCH_INLINE_WRITE_UNLOCK_BH
129 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
130 select CPU_HAS_L2_PMU
131 select MSM_SPM_V1
Stephen Boyd2a1eb582010-08-27 10:01:23 -0700132 select MSM_SCM if SMP
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530133 select MULTI_IRQ_HANDLER
Laura Abbott46505f62011-11-02 18:06:55 -0700134 select MSM_MULTIMEDIA_USE_ION
Matt Wagantall88b86312012-01-31 16:53:03 -0800135 select MSM_PM8X60 if PM
Krishna Vankae2922052012-03-02 09:59:12 +0530136 select MSM_RUN_QUEUE_STATS
Laura Abbottb14ed962012-01-30 14:18:08 -0800137 select ARM_HAS_SG_CHAIN
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
Laura Abbottb14ed962012-01-30 14:18:08 -0800171 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700172 select MSM_KRAIT_WFE_FIXUP
Ethan Chen9b045922013-05-23 12:07:49 -0700173 select MSM_IOMMU_GPU_SYNC if MSM_IOMMU
Jay Chokshi434f1af2012-12-06 20:48:23 -0800174 select MSM_CPU_PWRCTL
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800175
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700176config ARCH_MSM8930
177 bool "MSM8930"
178 select ARCH_MSM_KRAITMP
179 select ARM_GIC
180 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700181 select GPIO_MSM_V2
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700182 select MSM_GPIOMUX
183 select MSM_SCM if SMP
184 select MSM_DIRECT_SCLK_ACCESS
185 select REGULATOR
David Collins5779cea2012-01-05 15:09:21 -0800186 select MSM_RPM_REGULATOR
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700187 select MSM_RPM
188 select MSM_XO
189 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700190 select MSM_QDSP6_CODECS
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700191 select MSM_PIL
192 select MSM_AUDIO_QDSP6 if SND_SOC
193 select CPU_HAS_L2_PMU
194 select MSM_SPM_V2
195 select MSM_L2_SPM
196 select MSM_NATIVE_RESTART
197 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600198 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700199 select ARCH_SPARSEMEM_ENABLE
200 select ARCH_HAS_HOLES_MEMORYMODEL
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +0200201 select MSM_ULTRASOUND
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530202 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800203 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700204 select HOLES_IN_ZONE if SPARSEMEM
Laura Abbottb14ed962012-01-30 14:18:08 -0800205 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700206 select MSM_KRAIT_WFE_FIXUP
Ethan Chen9b045922013-05-23 12:07:49 -0700207 select MSM_IOMMU_GPU_SYNC if MSM_IOMMU
Jay Chokshi434f1af2012-12-06 20:48:23 -0800208 select MSM_CPU_PWRCTL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700209
210config ARCH_APQ8064
211 bool "APQ8064"
212 select ARCH_MSM_KRAITMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700213 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700214 select ARM_GIC
215 select CPU_V7
216 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700217 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600218 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800219 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800220 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700221 select MSM_QDSP6_CODECS
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800222 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530223 select MULTI_IRQ_HANDLER
Praveen Chidambaram78499012011-11-01 17:15:17 -0600224 select MSM_RPM
225 select MSM_SPM_V2
226 select MSM_L2_SPM
Matt Wagantall88b86312012-01-31 16:53:03 -0800227 select MSM_PM8X60 if PM
Neil Leeder814d3d32012-01-19 17:21:43 -0500228 select CPU_HAS_L2_PMU
Laura Abbott085dd202012-03-30 14:02:34 -0700229 select HOLES_IN_ZONE if SPARSEMEM
Larry Bassel67b921d2012-04-06 10:23:27 -0700230 select CLEANCACHE
231 select QCACHE
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -0600232 select MIGHT_HAVE_PCI
233 select ARCH_SUPPORTS_MSI
Laura Abbottb14ed962012-01-30 14:18:08 -0800234 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700235 select MSM_KRAIT_WFE_FIXUP
Ethan Chen9b045922013-05-23 12:07:49 -0700236 select MSM_IOMMU_GPU_SYNC if MSM_IOMMU
Jay Chokshi434f1af2012-12-06 20:48:23 -0800237 select MSM_CPU_PWRCTL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700238
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700239config ARCH_MSM8974
240 bool "MSM8974"
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700241 select ARCH_MSM_KRAITMP
Sathish Ambley4149e842012-03-23 11:53:55 -0700242 select GPIO_MSM_V3
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700243 select ARM_GIC
244 select CPU_V7
245 select MSM_SCM if SMP
246 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530247 select MULTI_IRQ_HANDLER
Olav Hauganb800c8c2012-01-30 08:50:45 -0800248 select MSM_MULTIMEDIA_USE_ION
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700249 select MSM_PIL
Praveen Chidambaramaa9d52b2012-04-02 11:09:47 -0600250 select MSM_SPM_V2
251 select MSM_L2_SPM
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600252 select MSM_PM8X60 if PM
Steve Mucklef132c6c2012-06-06 18:30:57 -0700253 select MAY_HAVE_SPARSE_IRQ
254 select SPARSE_IRQ
Mahesh Sivasubramaniancb668712012-04-04 13:03:25 -0600255 select MSM_RPM_SMD
David Collinsc7642322012-04-04 10:19:12 -0700256 select REGULATOR
Joonwoo Park91d95462012-08-02 10:55:54 -0700257 select MSM_QDSP6_APRV2
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -0700258 select MSM_QDSP6V2_CODECS
259 select MSM_AUDIO_QDSP6V2 if SND_SOC
David Collins1c91ea72012-05-03 16:17:35 -0700260 select MSM_RPM_REGULATOR_SMD
Laura Abbottb14ed962012-01-30 14:18:08 -0800261 select ARM_HAS_SG_CHAIN
Karthik Parsha404fb8f2012-07-30 19:14:05 -0700262 select MSM_RUN_QUEUE_STATS
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700263
Syed Rameez Mustafa2af59732012-08-23 17:27:24 -0700264config ARCH_MPQ8092
265 bool "MPQ8092"
266 select ARCH_MSM_KRAITMP
267 select GPIO_MSM_V3
268 select ARM_GIC
269 select MULTI_IRQ_HANDLER
270 select CPU_V7
271 select MSM_GPIOMUX
272 select MAY_HAVE_SPARSE_IRQ
273 select SPARSE_IRQ
274 select MSM_NOPM
275
276config ARCH_MSM8226
277 bool "MSM8226"
278 select ARCH_MSM_KRAITMP
279 select GPIO_MSM_V3
280 select ARM_GIC
281 select CPU_V7
282 select MSM_SCM if SMP
283 select MSM_GPIOMUX
284 select MULTI_IRQ_HANDLER
285 select MSM_MULTIMEDIA_USE_ION
286 select MSM_PIL
287 select MSM_SPM_V2
288 select MSM_L2_SPM
289 select MSM_PM8X60 if PM
290 select MAY_HAVE_SPARSE_IRQ
291 select SPARSE_IRQ
292 select MSM_RPM_SMD
293 select REGULATOR
294 select MSM_QDSP6_APRV2
295 select MSM_QDSP6V2_CODECS
296 select MSM_AUDIO_QDSP6V2 if SND_SOC
297 select MSM_RPM_REGULATOR_SMD
298 select ARM_HAS_SG_CHAIN
299
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700300config ARCH_FSM9XXX
301 bool "FSM9XXX"
302 select ARCH_MSM_SCORPION
303 select MSM_VIC
304 select CPU_V7
305 select MSM_REMOTE_SPINLOCK_LDREX
Steve Mucklef132c6c2012-06-06 18:30:57 -0700306 select GPIO_FSM9XXX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530307 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800308 select MSM_DALRPC
Daniel Walker4ad15e62010-05-06 13:54:17 -0700309
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700310config ARCH_MSM9615
311 bool "MSM9615"
312 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530313 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700314 select ARCH_MSM_CORTEX_A5
315 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700316 select GPIO_MSM_V2
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700317 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600318 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600319 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700320 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800321 select REGULATOR
322 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530323 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800324 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800325 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700326 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800327 select MSM_QDSP6_APR
328 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800329 select FIQ
Laura Abbottb14ed962012-01-30 14:18:08 -0800330 select ARM_HAS_SG_CHAIN
Matt Wagantall9274df92011-12-15 11:11:05 -0800331
Taniya Das43bcdd62011-12-02 17:33:27 +0530332config ARCH_MSM8625
333 bool "MSM8625"
334 select ARCH_MSM_CORTEX_A5
335 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700336 select GPIO_MSM_V1
Taniya Das43bcdd62011-12-02 17:33:27 +0530337 select MSM_GPIOMUX
338 select ARM_GIC
339 select ARCH_MSM_CORTEXMP
340 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530341 select ARM_TICKET_LOCKS
Krishna Vankae2922052012-03-02 09:59:12 +0530342 select MSM_RUN_QUEUE_STATS
Trilok Sonib856ab92012-06-26 14:33:28 +0530343 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya9b2fbf02012-08-30 19:39:59 +0530344 select ARM_HAS_SG_CHAIN
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700345
346config ARCH_MSM9625
347 bool "MSM9625"
348 select ARM_GIC
349 select GIC_SECURE
Abhimanyu Kapur490d20c2012-06-22 17:34:20 -0700350 select MIGHT_HAVE_CACHE_L2X0
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700351 select ARCH_MSM_CORTEX_A5
352 select SMP
353 select MSM_SMP
354 select CPU_V7
Jin Hong690e3352012-05-02 09:25:05 -0700355 select MSM_GPIOMUX
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700356 select MULTI_IRQ_HANDLER
Rohit Vaswani61cf6ef2012-07-27 13:51:48 -0700357 select GPIO_MSM_V3
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700358endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700359
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700360choice
361 prompt "MSM SoC Revision"
362 default MSM_SOC_REV_NONE
363config MSM_SOC_REV_NONE
364 bool "N/A"
365 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
366 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walkerbf83de42010-03-16 16:29:44 -0700367config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700368 bool "Rev. A"
369 select ARCH_MSM7X27A if ARCH_MSM7X27
Daniel Walkerbf83de42010-03-16 16:29:44 -0700370endchoice
371
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700372config MSM_KRAIT_TBB_ABORT_HANDLER
373 bool "Krait TBB/TBH data abort handler"
374 depends on ARCH_MSM_KRAIT
375 depends on ARM_THUMB
376 help
377 Certain early samples of the Krait processor may generate data
378 aborts for TBB / TBH instructions that fail their condition code
379 checks. Enabling this option will ignore these erroneous data aborts,
380 at the expense of a very small performance penalty.
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800381
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700382 If unsure, say N.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700383
384config ARCH_MSM_ARM11
385 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700386
Daniel Walkerbf83de42010-03-16 16:29:44 -0700387config ARCH_MSM_SCORPION
388 bool
389
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700390config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700391 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800392 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700393
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700394config MSM_SMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700395 select HAVE_SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700396 bool
397
398config ARCH_MSM_SCORPIONMP
399 select ARCH_MSM_SCORPION
400 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530401 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patele1c55072013-01-27 20:30:42 -0800402 select MSM_JTAG if CORESIGHT_ETM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700403 bool
404
405config ARCH_MSM_KRAITMP
406 select ARCH_MSM_KRAIT
407 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530408 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patele1c55072013-01-27 20:30:42 -0800409 select MSM_JTAG if CORESIGHT_ETM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700410 bool
411
Taniya Das43bcdd62011-12-02 17:33:27 +0530412config ARCH_MSM_CORTEXMP
413 select MSM_SMP
414 bool
415
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700416config MSM_KRAIT_WFE_FIXUP
417 bool
418
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700419config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800420 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700421
422config ARCH_MSM7X27A
423 bool
424 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700425 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530426 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530427 select ARM_GIC
428 select ARCH_MSM_CORTEXMP
Trilok Sonib856ab92012-06-26 14:33:28 +0530429 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya9b2fbf02012-08-30 19:39:59 +0530430 select ARM_HAS_SG_CHAIN
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700431
Gregory Beanf9f3d312010-04-30 22:06:50 -0700432config MSM_VIC
433 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700434
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700435config MSM_RPM
436 bool "Resource Power Manager"
437 select MSM_MPM
438
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600439config MSM_RPM_SMD
440 depends on MSM_SMD
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600441 select MSM_MPM_OF
442 bool "RPM driver using SMD protocol"
443 help
444 RPM is the dedicated hardware engine for managing shared SoC
445 resources. This config adds driver support for using SMD as a
446 transport layer communication with RPM hardware. It also selects
447 the MSM_MPM config that programs the MPM module to monitor interrupts
448 during sleep modes.
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600449
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700450config MSM_MPM
451 bool "Modem Power Manager"
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600452 help
453 MPM is a dedicated hardware resource responsible for entering and
454 waking up from a system wide low power mode. The MPM driver tracks
455 the wakeup interrupts and configures the MPM to monitor the wakeup
456 interrupts when going to a system wide sleep mode.
457
458config MSM_MPM_OF
459 bool "Modem Power Manager"
460 depends on CONFIG_OF
461 help
462 MPM is a dedicated hardware resource responsible for entering and
463 waking up from a system wide low power mode. The MPM driver tracks
464 the wakeup interrupts and configures the MPM to monitor the wakeup
465 interrupts when going to a system wide sleep mode. This config option
466 enables the MPM driver that supports initialization from a device
467 tree
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700468
469config MSM_XO
470 bool
471
472config MSM_REMOTE_SPINLOCK_DEKKERS
473 bool
474config MSM_REMOTE_SPINLOCK_SWP
475 bool
476config MSM_REMOTE_SPINLOCK_LDREX
477 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600478config MSM_REMOTE_SPINLOCK_SFPB
479 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700480config MSM_ADM3
481 bool
482
483menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700484
485config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700486 depends on ARCH_MSM7X01A
487 depends on MSM_STACKED_MEMORY
488 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700489 bool "Halibut Board (QCT SURF7201A)"
490 help
491 Support for the Qualcomm SURF7201A eval board.
492
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700493config MACH_MSM7201A_SURF
494 depends on ARCH_MSM7X01A
495 depends on MSM_STACKED_MEMORY
496 default y
497 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700498 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700499 Support for the Qualcomm MSM7201A SURF eval board.
500
501config MACH_MSM7201A_FFA
502 depends on ARCH_MSM7X01A
503 depends on MSM_STACKED_MEMORY
504 default y
505 bool "MSM7201A FFA"
506 help
507 Support for the Qualcomm MSM7201A FFA eval board.
508
509config MACH_TROUT
510 depends on ARCH_MSM7X01A
511 depends on MSM_STACKED_MEMORY
512 default y
513 bool "Trout"
514
515config MACH_MSM7X27_SURF
516 depends on ARCH_MSM7X27
517 depends on !MSM_STACKED_MEMORY
518 default y
519 bool "MSM7x27 SURF"
520 help
521 Support for the Qualcomm MSM7x27 SURF eval board.
522
523config MACH_MSM7X27_FFA
524 depends on ARCH_MSM7X27
525 depends on !MSM_STACKED_MEMORY
526 default y
527 bool "MSM7x27 FFA"
528 help
529 Support for the Qualcomm MSM7x27 FFA eval board.
530
531config MACH_MSM7X27A_RUMI3
532 depends on ARCH_MSM7X27A
533 depends on !MSM_STACKED_MEMORY
534 default y
535 bool "MSM7x27A RUMI3"
536 help
537 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
538
539config MACH_MSM7X27A_SURF
540 depends on ARCH_MSM7X27A
541 depends on !MSM_STACKED_MEMORY
542 default y
543 bool "MSM7x27A SURF"
544 help
545 Support for the Qualcomm MSM7x27A SURF.
546
547config MACH_MSM7X27A_FFA
548 depends on ARCH_MSM7X27A
549 depends on !MSM_STACKED_MEMORY
550 default y
551 bool "MSM7x27A FFA"
552 help
553 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700554
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530555config MACH_MSM7625A_SURF
556 depends on ARCH_MSM7X27A
557 depends on !MSM_STACKED_MEMORY
558 default y
559 bool "MSM7625A SURF"
560 help
561 Support for the Qualcomm MSM7625A SURF.
562
563config MACH_MSM7625A_FFA
564 depends on ARCH_MSM7X27A
565 depends on !MSM_STACKED_MEMORY
566 default y
567 bool "MSM7625A FFA"
568 help
569 Support for the Qualcomm MSM7625A FFA.
570
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530571config MACH_MSM7627A_QRD1
572 depends on ARCH_MSM7X27A
573 depends on !MSM_STACKED_MEMORY
574 default y
575 bool "MSM7627A QRD1"
576 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530577 Support for the Qualcomm MSM7627A Reference Design.
578
579config MACH_MSM7627A_QRD3
580 depends on ARCH_MSM7X27A
581 depends on !MSM_STACKED_MEMORY
582 default y
583 bool "MSM7627A QRD3"
584 help
585 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530586
Taniya Dasc868a2e2012-01-03 10:18:47 +0530587config MACH_MSM7627A_EVB
588 depends on ARCH_MSM7X27A
589 depends on !MSM_STACKED_MEMORY
590 default y
591 bool "MSM7627A EVB"
592 help
593 Support for the Qualcomm MSM7627A Reference Design.
594
Taniya Das43bcdd62011-12-02 17:33:27 +0530595config MACH_MSM8625_RUMI3
596 depends on ARCH_MSM8625
597 depends on !MSM_STACKED_MEMORY
598 default y
599 bool "MSM8625 RUMI3"
600 help
601 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
602
Taniya Dase3027e22012-02-27 16:32:27 +0530603config MACH_MSM8625_SURF
604 depends on ARCH_MSM8625
605 depends on !MSM_STACKED_MEMORY
606 default y
607 bool "MSM8625 SURF"
608 help
609 Support for the Qualcomm MSM8625 SURF.
610
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530611config MACH_MSM8625_FFA
612 depends on ARCH_MSM8625
613 depends on !MSM_STACKED_MEMORY
614 default y
615 bool "MSM8625 FFA"
616 help
617 Support for the Qualcomm MSM8625 FFA.
618
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530619config MACH_MSM8625_EVB
620 depends on ARCH_MSM8625
621 depends on !MSM_STACKED_MEMORY
622 default y
623 bool "MSM8625 EVB"
624 help
625 Support for the Qualcomm MSM8625 Reference Design.
626
Taniya Dasbd096542012-03-15 17:43:45 +0530627config MACH_MSM8625_QRD7
628 depends on ARCH_MSM8625
629 depends on !MSM_STACKED_MEMORY
630 default y
631 bool "MSM8625 QRD7"
632 help
633 Support for the Qualcomm MSM8625 Reference Design.
634
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530635config MACH_MSM8625_EVT
636 depends on ARCH_MSM8625
637 depends on !MSM_STACKED_MEMORY
638 default y
639 bool "MSM8625 EVT"
640 help
641 Support for the Qualcomm MSM8625 Reference Design.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700642
Daniel Walker7b521612010-05-06 12:44:57 -0700643config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700644 depends on ARCH_MSM7X30
645 depends on !MSM_STACKED_MEMORY
646 default y
647 bool "MSM7x30 SURF"
648 help
649 Support for the Qualcomm MSM7x30 SURF eval board.
650
651config MACH_MSM7X30_FFA
652 depends on ARCH_MSM7X30
653 depends on !MSM_STACKED_MEMORY
654 default y
655 bool "MSM7x30 FFA"
656 help
657 Support for the Qualcomm MSM7x30 FFA eval board.
658
659config MACH_MSM7X30_FLUID
660 depends on ARCH_MSM7X30
661 depends on !MSM_STACKED_MEMORY
662 default y
663 bool "MSM7x30 FLUID"
664 help
665 Support for the Qualcomm MSM7x30 FLUID eval board.
666
667config MACH_SAPPHIRE
668 depends on ARCH_MSM7X01A
669 default n
670 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700671
Daniel Walker4ad15e62010-05-06 13:54:17 -0700672config MACH_QSD8X50_SURF
673 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700674 depends on MSM_SOC_REV_NONE
675 depends on MSM_STACKED_MEMORY
676 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700677 bool "QSD8x50 SURF"
678 help
679 Support for the Qualcomm QSD8x50 SURF eval board.
680
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700681config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700682 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700683 depends on MSM_SOC_REV_NONE
684 depends on MSM_STACKED_MEMORY
685 default y
686 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700687 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700688 Support for the Qualcomm QSD8x50 FFA eval board.
689
690config MACH_MSM7X25_SURF
691 depends on ARCH_MSM7X25
692 depends on !MSM_STACKED_MEMORY
693 default y
694 bool "MSM7x25 SURF"
695 help
696 Support for the Qualcomm MSM7x25 SURF eval board.
697
698config MACH_MSM7X25_FFA
699 depends on ARCH_MSM7X25
700 depends on !MSM_STACKED_MEMORY
701 default y
702 bool "MSM7x25 FFA"
703 help
704 Support for the Qualcomm MSM7x25 FFA eval board.
705
706config MACH_MSM8X55_SURF
707 depends on ARCH_MSM7X30
708 depends on !MSM_STACKED_MEMORY
709 default y
710 bool "MSM8X55 SURF"
711 help
712 Support for the Qualcomm MSM8x55 SURF eval board.
713
714config MACH_MSM8X55_FFA
715 depends on ARCH_MSM7X30
716 depends on !MSM_STACKED_MEMORY
717 default y
718 bool "MSM8X55 FFA"
719 help
720 Support for the Qualcomm MSM8x55 FFA eval board.
721
722config MACH_MSM8X55_SVLTE_FFA
723 depends on ARCH_MSM7X30
724 depends on !MSM_STACKED_MEMORY
725 default y
726 bool "MSM8X55 SVLTE FFA"
727 help
728 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
729
730config MACH_MSM8X55_SVLTE_SURF
731 depends on ARCH_MSM7X30
732 depends on !MSM_STACKED_MEMORY
733 default y
734 bool "MSM8X55 SVLTE SURF"
735 help
736 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700737
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700738config MACH_MSM8X60_SURF
739 depends on ARCH_MSM8X60
740 default n
741 bool "MSM8x60 SURF"
742 help
743 Support for the Qualcomm MSM8x60 SURF eval board.
744
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700745config MACH_MSM8X60_FFA
746 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700747 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700748 bool "MSM8x60 FFA"
749 help
750 Support for the Qualcomm MSM8x60 FFA eval board.
751
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700752config MACH_MSM8X60_FLUID
753 depends on ARCH_MSM8X60
754 default n
755 bool "MSM8x60 FLUID"
756 help
757 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
758 8x60 target which has a form factor that is much closer to that
759 of a phone than other targets. It also has a new display and
760 touchscreen controller.
761
762config MACH_MSM8X60_FUSION
763 depends on ARCH_MSM8X60
764 default n
765 bool "MSM8x60 FUSION"
766 help
767 Support for the Qualcomm MSM8x60 Fusion SURF device.
768
769config MACH_MSM8X60_FUSN_FFA
770 depends on ARCH_MSM8X60
771 default n
772 bool "MSM8x60 FUSN FFA"
773 help
774 Support for the Qualcomm MSM8x60 Fusion FFA device.
775
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400776config MACH_MSM8X60_DRAGON
777 depends on ARCH_MSM8X60
778 default n
779 bool "MSM8x60 DRAGON"
780 help
781 Support for the Qualcomm MSM8x60 Dragon board.
782
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700783config MACH_MSM8960_CDP
784 depends on ARCH_MSM8960
785 bool "MSM8960 CDP"
786 help
787 Support for the Qualcomm MSM8960 CDP device.
788
789config MACH_MSM8960_MTP
790 depends on ARCH_MSM8960
791 bool "MSM8960 MTP"
792 help
793 Support for the Qualcomm MSM8960 MTP device.
794
795config MACH_MSM8960_FLUID
796 depends on ARCH_MSM8960
797 bool "MSM8960 FLUID"
798 help
799 Support for the Qualcomm MSM8960 FLUID device.
800
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300801config MACH_MSM8960_LIQUID
802 depends on ARCH_MSM8960
803 bool "MSM8960 LIQUID"
804 help
805 Support for the Qualcomm MSM8960 LIQUID device.
806
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700807config MACH_MSM8930_CDP
808 depends on ARCH_MSM8930
809 bool "MSM8930 CDP"
810 help
811 Support for the Qualcomm MSM8930 CDP device.
812
813config MACH_MSM8930_MTP
814 depends on ARCH_MSM8930
815 bool "MSM8930 MTP"
816 help
817 Support for the Qualcomm MSM8930 MTP device.
818
819config MACH_MSM8930_FLUID
820 depends on ARCH_MSM8930
821 bool "MSM8930 FLUID"
822 help
823 Support for the Qualcomm MSM8930 FLUID device.
824
Taniya Das799085a2013-03-06 11:39:04 +0530825config MACH_MSM8930_EVT
826 depends on ARCH_MSM8930
827 bool "MSM8930 QRD EVT"
828 help
829 Support for the Qualcomm Reference Design 8930 EVT device.
830
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800831config MACH_MSM8627_CDP
832 depends on ARCH_MSM8930
833 bool "MSM8627 CDP"
834 help
835 Support for the Qualcomm MSM8627 CDP device.
836
837config MACH_MSM8627_MTP
838 depends on ARCH_MSM8930
839 bool "MSM8627 MTP"
840 help
841 Support for the Qualcomm MSM8627 MTP device.
842
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700843config MACH_MSM9615_CDP
844 depends on ARCH_MSM9615
845 bool "MSM9615 CDP"
846 help
847 Support for the Qualcomm MSM9615 CDP device.
848
849config MACH_MSM9615_MTP
850 depends on ARCH_MSM9615
851 bool "MSM9615 MTP"
852 help
853 Support for the Qualcomm MSM9615 MTP device.
854
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700855config MSM_USE_TSIF1
856 depends on ARCH_MSM8X60
857 bool "MSM8x60 use TSIF1"
858 help
859 Selects TSIF1 core to be used rather than TSIF0.
860 The two TSIF cores share the same DM configuration
861 so they cannot be used simultaneously.
862
Joel King82b7e3f2012-01-05 10:03:27 -0800863config MACH_APQ8064_CDP
864 depends on ARCH_APQ8064
865 bool "APQ8064 CDP"
866 help
867 Support for the Qualcomm APQ8064 CDP device.
868
869config MACH_APQ8064_MTP
870 depends on ARCH_APQ8064
871 bool "APQ8064 MTP"
872 help
873 Support for the Qualcomm APQ8064 MTP device.
874
875config MACH_APQ8064_LIQUID
876 depends on ARCH_APQ8064
877 bool "APQ8064 LIQUID"
878 help
879 Support for the Qualcomm APQ8064 LIQUID device.
880
Joel King064bbf82012-04-01 13:23:39 -0700881config MACH_MPQ8064_CDP
882 depends on ARCH_APQ8064
883 bool "MPQ8064 CDP"
884 help
885 Support for the Qualcomm MPQ8064 CDP device.
886
Joel King11ca8202012-02-13 16:19:03 -0800887config MACH_MPQ8064_HRD
888 depends on ARCH_APQ8064
889 bool "MPQ8064 HRD"
890 help
891 Support for the Qualcomm MPQ8064 HRD device.
892
893config MACH_MPQ8064_DTV
894 depends on ARCH_APQ8064
895 bool "MPQ8064 DTV"
896 help
897 Support for the Qualcomm MPQ8064 DTV device.
898
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700899config MACH_FSM9XXX_SURF
900 depends on ARCH_FSM9XXX
901 depends on !MSM_STACKED_MEMORY
902 default y
903 bool "FSM9XXX SURF"
904 help
905 Support for the Qualcomm FSM9xxx femtocell
906 chipset based SURF evaluation board and
907 FFA board.
908
Devin Kimb0a55c82012-06-26 12:44:15 -0700909config MACH_MSM_DUMMY
910 bool "NONE (No device)"
911
Daniel Walker4ad15e62010-05-06 13:54:17 -0700912endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800913
Devin Kima3085422012-06-14 18:23:41 -0700914source "arch/arm/mach-msm/lge/Kconfig"
915
Flemmard5bdaf592013-02-12 18:18:55 +0100916source "arch/arm/mach-msm/htc/Kconfig"
917
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700918config MSM_STACKED_MEMORY
919 bool "Stacked Memory"
920 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800921 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700922 This option is used to indicate the presence of on-die stacked
923 memory. When present this memory bank is used for a high speed
924 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800925
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700926config PHYS_OFFSET
927 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700928 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700929 default "0x80200000" if ARCH_APQ8064
Flemmard3bdee712013-04-14 22:30:35 -0700930 default "0x80400000" if ARCH_MSM8960 && MACH_HTC
931 default "0x80200000" if ARCH_MSM8960 && !MACH_HTC
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700932 default "0x80200000" if ARCH_MSM8930
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700933 default "0x00000000" if ARCH_MSM8974
Syed Rameez Mustafa2af59732012-08-23 17:27:24 -0700934 default "0x00000000" if ARCH_MPQ8092
935 default "0x00000000" if ARCH_MSM8226
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700936 default "0x10000000" if ARCH_FSM9XXX
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700937 default "0x20200000" if ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700938 default "0x00200000" if !MSM_STACKED_MEMORY
939 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
940 default "0x20000000" if ARCH_QSD8X50
941 default "0x40200000" if ARCH_MSM8X60
942 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800943
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700944config KERNEL_MSM_CONTIG_MEM_REGION
945 bool "Enable in-kernel contiguous memory region"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700946 default y if ARCH_MSM8X60
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700947 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700948 help
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700949 Enable the in-kernel contiguous memory allocator. Sets up a
950 region of physically contiguous memory. This memory is
951 reserved during initialization, and can be used
952 generically.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700953
954config KERNEL_PMEM_SMI_REGION
955 bool "Enable in-kernel PMEM region for SMI"
956 default y if ARCH_MSM8X60
957 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
958 help
959 Enable the in-kernel PMEM allocator to use SMI memory.
960
961config PMEM_GPU0
962 bool "Enable PMEM GPU0 region"
963 default y
964 depends on ARCH_QSD8X50 && ANDROID_PMEM
965 help
966 Enable the PMEM GPU0 device on SMI Memory.
967
968config MSM_AMSS_VERSION
969 int
970 default 6210 if MSM_AMSS_VERSION_6210
971 default 6220 if MSM_AMSS_VERSION_6220
972 default 6225 if MSM_AMSS_VERSION_6225
973
974choice
975 prompt "AMSS modem firmware version"
976
977 default MSM_AMSS_VERSION_6225
978
979 config MSM_AMSS_VERSION_6210
980 bool "6.2.10"
981
982 config MSM_AMSS_VERSION_6220
983 bool "6.2.20"
984
985 config MSM_AMSS_VERSION_6225
986 bool "6.2.20 + New ADSP"
987endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800988
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700989config MSM_HAS_DEBUG_UART_HS
Daniel Walkerbf83de42010-03-16 16:29:44 -0700990 bool
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700991 help
992 Say Y here if high speed MSM UART is present.
993
994config MSM_HAS_DEBUG_UART_HS_V14
995 bool
996 select MSM_HAS_DEBUG_UART_HS
997 help
998 Say Y here if high speed MSM UART v1.4 is present.
999
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301000config MSM_DEBUG_UART_PHYS
1001 hex
1002 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
1003 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
1004 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
1005 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
1006 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
1007 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
1008 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
1009 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
1010
Brian Swetland9e73c842007-11-26 04:12:13 -08001011choice
1012 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001013 depends on DEBUG_LL
Brian Swetland9e73c842007-11-26 04:12:13 -08001014
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001015 config DEBUG_MSM_UART1
1016 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301017 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001018 help
1019 Say Y here if you want the debug print routines to direct
1020 their output to the first serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001021
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001022 config DEBUG_MSM_UART2
1023 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301024 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001025 help
1026 Say Y here if you want the debug print routines to direct
1027 their output to the second serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001028
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001029 config DEBUG_MSM_UART3
1030 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301031 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001032 help
1033 Say Y here if you want the debug print routines to direct
1034 their output to the third serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001035
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001036 config DEBUG_MSM8660_UART
1037 bool "Kernel low-level debugging messages via MSM 8660 UART"
1038 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001039 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001040 help
1041 Say Y here if you want the debug print routines to direct
1042 their output to the serial port on MSM 8660 devices.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001043
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001044 config DEBUG_MSM8960_UART
1045 bool "Kernel low-level debugging messages via MSM 8960 UART"
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001046 depends on ARCH_MSM8960 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001047 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001048 help
1049 Say Y here if you want the debug print routines to direct
1050 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001051
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001052 config DEBUG_MSM8930_UART
1053 bool "Kernel low-level debugging messages via MSM 8930 UART"
1054 depends on ARCH_MSM8930 && DEBUG_LL
1055 select MSM_HAS_DEBUG_UART_HS
1056 help
1057 Say Y here if you want the debug print routines to direct
1058 their output to the serial port on MSM 8930 devices.
1059
1060 config DEBUG_APQ8064_UART
1061 bool "Kernel low-level debugging messages via APQ 8064 UART"
1062 depends on ARCH_APQ8064 && DEBUG_LL
1063 select MSM_HAS_DEBUG_UART_HS
1064 help
1065 Say Y here if you want the debug print routines to direct
1066 their output to the serial port on APQ 8064 devices.
1067
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001068 config DEBUG_MSM8974_UART
1069 bool "Kernel low-level debugging messages via MSM 8974 UART"
1070 depends on ARCH_MSM8974
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001071 select MSM_HAS_DEBUG_UART_HS_V14
1072 help
1073 Say Y here if you want the debug print routines to direct
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001074 their output to the serial port on MSM 8974 devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001075endchoice
Brian Swetland9e73c842007-11-26 04:12:13 -08001076
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001077choice
1078 prompt "Default Timer"
1079 default MSM7X00A_USE_GP_TIMER
1080
1081 config MSM7X00A_USE_GP_TIMER
1082 bool "GP Timer"
1083 help
1084 Low resolution timer that allows power collapse from idle.
1085
1086 config MSM7X00A_USE_DG_TIMER
1087 bool "DG Timer"
1088 help
1089 High resolution timer.
1090endchoice
1091
1092choice
1093 prompt "Suspend sleep mode"
1094 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1095 help
1096 Allows overriding the sleep mode used. Leave at power
1097 collapse suspend unless the arm9 image has problems.
1098
1099 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1100 bool "Power collapse suspend"
1101 help
1102 Lowest sleep state. Returns through reset vector.
1103
1104 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1105 bool "Power collapse"
1106 help
1107 Sleep state that returns through reset vector.
1108
1109 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1110 bool "Apps Sleep"
1111
1112 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1113 bool "Ramp down cpu clock and wait for interrupt"
1114
1115 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1116 bool "Wait for interrupt"
1117endchoice
1118
1119config MSM7X00A_SLEEP_MODE
1120 int
1121 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1122 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1123 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1124 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1125 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1126
1127choice
1128 prompt "Idle sleep mode"
1129 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1130 help
1131 Allows overriding the sleep mode used from idle. Leave at power
1132 collapse suspend unless the arm9 image has problems.
1133
1134 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1135 bool "Power collapse suspend"
1136 help
1137 Lowest sleep state. Returns through reset vector.
1138
1139 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1140 bool "Power collapse"
1141 help
1142 Sleep state that returns through reset vector.
1143
1144 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1145 bool "Apps Sleep"
1146
1147 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1148 bool "Ramp down cpu clock and wait for interrupt"
1149
1150 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1151 bool "Wait for interrupt"
1152endchoice
1153
1154config MSM7X00A_IDLE_SLEEP_MODE
1155 int
1156 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1157 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1158 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1159 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1160 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1161
1162config MSM7X00A_IDLE_SLEEP_MIN_TIME
1163 int "Minimum idle time before sleep"
1164 default 20000000
1165 help
1166 Minimum idle time in nanoseconds before entering low power mode.
1167
1168config MSM7X00A_IDLE_SPIN_TIME
1169 int "Idle spin time before cpu ramp down"
1170 default 80000
1171 help
1172 Spin time in nanoseconds before ramping down cpu clock and entering
1173 any low power state.
1174
1175menuconfig MSM_IDLE_STATS
1176 bool "Collect idle statistics"
1177 default y
1178 help
1179 Collect idle statistics and export them in proc/msm_pm_stats.
1180
1181if MSM_IDLE_STATS
1182
1183config MSM_IDLE_STATS_FIRST_BUCKET
1184 int "First bucket time"
1185 default 62500
1186 help
1187 Upper time limit in nanoseconds of first bucket.
1188
1189config MSM_IDLE_STATS_BUCKET_SHIFT
1190 int "Bucket shift"
1191 default 2
1192
1193config MSM_IDLE_STATS_BUCKET_COUNT
1194 int "Bucket count"
1195 default 10
1196
1197config MSM_SUSPEND_STATS_FIRST_BUCKET
1198 int "First bucket time for suspend"
1199 default 1000000000
1200 help
1201 Upper time limit in nanoseconds of first bucket of the
1202 histogram. This is for collecting statistics on suspend.
1203
1204endif # MSM_IDLE_STATS
1205
1206config CPU_HAS_L2_PMU
1207 bool "L2CC PMU Support"
1208 help
1209 Select this if the L2 cache controller has a Performance Monitoring Unit.
1210
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001211config HTC_HEADSET
1212 tristate "HTC 2 Wire detection driver"
1213 default n
1214 help
1215 Provides support for detecting HTC 2 wire devices, such as wired
1216 headset, on the trout platform. Can be used with the msm serial
1217 debugger, but not with serial console.
1218
1219config TROUT_BATTCHG
1220 depends on MACH_TROUT && POWER_SUPPLY
1221 default y
1222 bool "Trout battery / charger driver"
1223
1224config HTC_PWRSINK
1225 depends on MSM_SMD
1226 default n
1227 bool "HTC Power Sink Driver"
1228
1229config QSD_SVS
1230 bool "QSD Static Voltage Scaling"
1231 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1232 default y
1233 select TPS65023
1234 help
1235 Enables static voltage scaling using the TPS65023 PMIC.
1236
1237config QSD_PMIC_DEFAULT_DCDC1
1238 int "PMIC default output voltage"
1239 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1240 default 1250
1241 help
1242 This is the PMIC voltage at Linux kernel boot.
1243
1244config MSM_FIQ_SUPPORT
1245 default y
1246 bool "Enable installation of an FIQ handler."
1247
1248config MSM_SERIAL_DEBUGGER
1249 select MSM_FIQ_SUPPORT
1250 select KERNEL_DEBUGGER_CORE
1251 default n
1252 bool "FIQ Mode Serial Debugger"
1253 help
1254 The FIQ serial debugger can accept commands even when the
1255 kernel is unresponsive due to being stuck with interrupts
1256 disabled. Depends on the kernel debugger core in drivers/misc.
1257
1258config MSM_SERIAL_DEBUGGER_CONSOLE
1259 depends on MSM_SERIAL_DEBUGGER
1260 default n
1261 bool "Console on FIQ Serial Debugger port"
1262 help
1263 Enables a console so that printk messages are displayed on
1264 the debugger serial port as the occur.
Brian Swetland9e73c842007-11-26 04:12:13 -08001265
Gregory Beanab78cde2010-09-01 16:26:12 -07001266config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001267 default y
1268 bool "Proc-Comm RPC Interface"
1269 help
1270 Enables a lightweight communications interface to the
1271 baseband processor.
Gregory Beanab78cde2010-09-01 16:26:12 -07001272
Gregory Bean1963a2a2010-08-28 10:05:44 -07001273config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001274 bool "MSM Shared Memory Driver (SMD)"
1275 help
1276 Support for the shared memory interface between the apps
1277 processor and the baseband processor. Provides access to
1278 the "shared heap", as well as virtual serial channels
1279 used to communicate with various services on the baseband
1280 processor.
1281
1282choice
1283 prompt "MSM Shared memory interface version"
1284 depends on MSM_SMD
1285 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1286 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1287
1288 config MSM_SMD_PKG3
1289 bool
1290 prompt "Package 3"
1291
1292 config MSM_SMD_PKG4
1293 bool
1294 prompt "Package 4"
1295endchoice
1296
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001297config MSM_PCIE
1298 bool "MSM PCIe Controller driver"
1299 depends on PCI && PCI_MSI
1300 help
1301 Enables the PCIe functionality by configures PCIe core on
1302 MSM chipset and by enabling the ARM PCI framework extension.
1303
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001304config MSM_RPC_SDIO_XPRT
1305 depends on MSM_SDIO_AL
1306 default y
1307 bool "MSM SDIO XPRT Layer"
1308 help
1309 SDIO Transport Layer for RPC Rouer
1310
1311config MSM_RPC_SDIO_DEBUG
1312 depends on MSM_RPC_SDIO_XPRT
1313 default y
1314 bool "MSM SDIO XPRT debug support"
1315 help
1316 Support for debugging SDIO XPRT
1317
1318config MSM_SMD_DEBUG
1319 depends on MSM_SMD
1320 default y
1321 bool "MSM SMD debug support"
1322 help
1323 Support for debugging the SMD for communication
1324 between the ARM9 and ARM11
1325
1326config MSM_SDIO_AL
1327 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1328 default y
1329 tristate "SDIO-Abstraction-Layer"
1330 help
1331 Support MSM<->MDM Communication over SDIO bus.
1332 MDM SDIO-Client should have pipes support.
1333
1334config MSM_SDIO_DMUX
1335 bool "SDIO Data Mux Driver"
1336 depends on MSM_SDIO_AL
1337 default n
1338 help
1339 Support Muxed Data Channels over SDIO interface.
1340
1341config MSM_BAM_DMUX
1342 bool "BAM Data Mux Driver"
1343 depends on SPS
1344 default n
1345 help
1346 Support Muxed Data Channels over BAM interface.
1347 BAM has a limited number of pipes. This driver
1348 provides a means to support more logical channels
1349 via muxing than BAM could without muxing.
1350
1351config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001352 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001353 default y
1354 bool "MSM N-WAY SMD support"
1355 help
1356 Supports APPS-QDSP SMD communication along with
1357 normal APPS-MODEM SMD communication.
1358
1359config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001360 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001361 default y
1362 bool "MSM N-WAY SMSM support"
1363 help
1364 Supports APPS-QDSP SMSM communication along with
1365 normal APPS-MODEM SMSM communication.
1366
1367config MSM_RESET_MODEM
1368 tristate "Reset Modem Driver"
1369 depends on MSM_SMD
1370 default m
1371 help
1372 Allows the user to reset the modem through a device node.
1373
1374config MSM_SMD_LOGGING
1375 depends on MSM_SMD
1376 default y
1377 bool "MSM Shared Memory Logger"
1378 help
1379 This option exposes the shared memory logger at /dev/smem_log
1380 and a debugfs node named smem_log.
1381
1382 If in doubt, say yes.
1383
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001384config MSM_IPC_LOGGING
1385 bool "MSM Debug Logging for IPC Drivers"
1386 help
1387 This option allows the debug logging for IPC Drivers.
1388
1389 If in doubt, say no.
1390
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001391config MSM_SMD_NMEA
1392 bool "NMEA GPS Driver"
1393 depends on MSM_SMD
1394 default y
1395 help
1396 Enable this to support the NMEA GPS device.
1397
1398 If in doubt, say yes.
1399
1400config MSM_SDIO_TTY
1401 bool "SDIO TTY Driver"
1402 depends on MSM_SDIO_AL
1403 default n
1404 help
1405 Provides a TTY driver SDIO TTY
1406 This driver can be used by user space
1407 applications for passing data through the
1408 SDIO interface.
1409
Devin Kim39bbf562012-07-12 08:20:49 -07001410config MSM_HSIC_TTY
1411 bool "HSIC TTY Driver"
1412 default n
1413 help
1414 Provides a TTY driver HSIC TTY
1415 This driver can be used by user space
1416 applications for passing data through the
1417 HSIC interface.
1418
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001419config MSM_SMD_TTY
1420 bool "SMD TTY Driver"
1421 depends on MSM_SMD
1422 default y
1423 help
1424 Provides TTY interfaces to interact with the modem.
1425
1426 If in doubt, say yes.
1427
1428config MSM_SMD_QMI
1429 bool "SMD QMI Driver"
1430 depends on MSM_SMD
1431 default y
1432 help
1433 Manages network data connections.
1434
1435 If in doubt, say yes.
1436
1437config MSM_SMD_PKT
1438 bool "SMD Packet Driver"
1439 depends on MSM_SMD
1440 default y
1441 help
1442 Provides a binary SMD non-muxed packet port interface.
1443
1444 If in doubt, say yes.
1445
1446config MSM_SDIO_CMUX
1447 bool "SDIO CMUX Driver"
1448 depends on MSM_SDIO_AL
1449 default n
1450 help
1451 Provides a Muxed port interface over SDIO QMI
1452
1453config MSM_DSPS
1454 bool "Sensors DSPS driver"
1455 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1456 default n
1457 help
1458 Provides user-space interface to the sensors manager
1459 to turn on/off the Sensors Processor system clocks.
1460 It is the DSPS responsibility to turn on/off the sensors
1461 themself.
1462 The number of clocks and their name may vary between targets.
1463 It also triggers the PIL to load the DSPS firmware.
1464
1465config MSM_SDIO_CTL
1466 bool "SDIO CTL Driver"
1467 depends on MSM_SDIO_CMUX
1468 default n
1469 help
1470 Provides a binary SDIO control port interface.
1471
1472config MSM_ONCRPCROUTER
1473 depends on MSM_SMD
1474 default n
1475 bool "MSM ONCRPC router support"
1476 help
1477 Support for the MSM ONCRPC router for communication between
1478 the ARM9 and ARM11
1479
1480config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001481 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001482 default n
1483 bool "MSM IPC Router support"
1484 help
1485 Support for the MSM IPC Router for communication between
1486 the APPs and the MODEM
1487
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001488config MSM_IPC_ROUTER_SMD_XPRT
1489 depends on MSM_SMD
1490 depends on MSM_IPC_ROUTER
1491 default n
1492 bool "MSM SMD XPRT Layer"
1493 help
1494 SMD Transport Layer for IPC Router
1495
Karthikeyan Ramasubramanian1668cc62012-09-23 22:23:36 -06001496config MSM_IPC_ROUTER_SECURITY
1497 depends on MSM_IPC_ROUTER
1498 bool "MSM IPC Router Security support"
1499 help
1500 This feature of IPC Router will enforce security rules
1501 configured by a security script from the user-space. IPC Router
1502 once configured with the security rules will ensure that the
1503 sender of the message to a service belongs to the relevant
1504 Linux group as configured by the security script.
1505
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001506config MSM_ONCRPCROUTER_DEBUG
1507 depends on MSM_ONCRPCROUTER
1508 default y
1509 bool "MSM debug ONCRPC router support"
1510 help
1511 Support for debugging the ONCRPC router for communication
1512 between the ARM9 and ARM11
1513
1514config MSM_RPC_LOOPBACK_XPRT
1515 depends on MSM_ONCRPCROUTER
1516 default n
1517 bool "MSM RPC local routing support"
1518 help
1519 Support for routing RPC messages between APPS clients
1520 and APPS servers. Helps in testing APPS RPC framework.
1521
1522config MSM_RPCSERVER_TIME_REMOTE
1523 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1524 default y
1525 bool "Time remote RPC server"
1526 help
1527 The time remote server receives notification of time bases and
1528 reports these events to registered callback functions.
1529
1530config MSM_RPCSERVER_WATCHDOG
1531 depends on MSM_ONCRPCROUTER
1532 default y
1533 bool "Watchdog RPC server"
1534 help
1535 The dog_keepalive server handles watchdog events.
1536
1537config MSM_RPC_WATCHDOG
1538 depends on MSM_ONCRPCROUTER
1539 default n
1540 bool "Watchdog RPC client"
1541 help
1542 The dog_keepalive client module.
1543
1544config MSM_RPC_PING
1545 depends on MSM_ONCRPCROUTER && DEBUG_FS
1546 default m
1547 bool "MSM rpc ping"
1548 help
1549 Implements MSM rpc ping test module.
1550
1551config MSM_RPC_PROC_COMM_TEST
1552 depends on DEBUG_FS && MSM_PROC_COMM
1553 default m
1554 bool "MSM rpc proc comm test"
1555 help
1556 Implements MSM rpc proc comm test module.
1557
1558config MSM_RPC_OEM_RAPI
1559 depends on MSM_ONCRPCROUTER
1560 default m
1561 bool "MSM oem rapi"
1562 help
1563 Implements MSM oem rapi client module.
1564
1565config MSM_RPCSERVER_HANDSET
1566 depends on MSM_ONCRPCROUTER
1567 default y
1568 bool "Handset events RPC server"
1569 help
1570 Support for receiving handset events like headset detect,
1571 headset switch and clamshell state.
1572
1573config MSM_RMT_STORAGE_CLIENT
1574 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1575 default n
1576 bool "Remote Storage RPC client"
1577 help
1578 Provide RPC mechanism for remote processors to access storage
1579 device on apps processor.
1580
1581config MSM_RMT_STORAGE_CLIENT_STATS
1582 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1583 default n
1584 bool "Remote storage RPC client performance statistics"
1585 help
1586 Collects performance statistics and shows this information
1587 through a debugfs file rmt_storage_stats.
1588
1589config MSM_SDIO_SMEM
1590 depends on MSM_SDIO_AL
1591 default n
1592 bool "SDIO SMEM for remote storage"
1593 help
1594 Copies data from remote MDM9K memory to local MSM8x60
1595 memory. Used by remote storage client to shadow
1596 MDM9K filesystem.
1597
1598config MSM_DALRPC
1599 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001600 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001601 help
1602 Supports RPC calls to DAL devices on remote processor cores.
1603
1604config MSM_DALRPC_TEST
1605 tristate "DAL RPC test module"
1606 depends on (MSM_DALRPC && DEBUG_FS)
1607 default m
1608 help
1609 Exercises DAL RPC calls to QDSP6.
1610
1611if CPU_FREQ_MSM
1612
1613config MSM_CPU_FREQ_SET_MIN_MAX
1614 bool "Set Min/Max CPU frequencies."
1615 default n
1616 help
1617 Allow setting min and max CPU frequencies. Sysfs can be used
1618 to override these values.
1619
1620config MSM_CPU_FREQ_MAX
1621 int "Max CPU Frequency"
1622 depends on MSM_CPU_FREQ_SET_MIN_MAX
1623 default 384000
1624
1625config MSM_CPU_FREQ_MIN
1626 int "Min CPU Frequency"
1627 depends on MSM_CPU_FREQ_SET_MIN_MAX
1628 default 245760
1629
1630endif # CPU_FREQ_MSM
1631
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001632config MSM_AVS_HW
1633 bool "Enable Adaptive Voltage Scaling (AVS)"
1634 default n
1635 help
1636 Enable AVS hardware to fine tune voltage at each frequency. The
1637 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1638 fine tune the voltages based on the feedback from the ring
1639 oscillators.
1640
1641config MSM_HW3D
1642 tristate "MSM Hardware 3D Register Driver"
1643 depends on ANDROID_PMEM
1644 default y
1645 help
1646 Provides access to registers needed by the userspace OpenGL|ES
1647 library.
1648
1649config MSM_ADSP
1650 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1651 tristate "MSM ADSP driver"
1652 depends on ANDROID_PMEM
1653 default y
1654 help
1655 Provides access to registers needed by the userspace aDSP library.
1656
1657config ADSP_RPC_VER
1658 hex
1659 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1660 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1661 depends on MSM_ADSP
1662 help
1663 Select proper ADSP RPC version
1664choice
1665 prompt "ADSP RPC version"
1666
1667 default AMSS_7X25_VERSION_2009
1668
1669 config AMSS_7X25_VERSION_2009
1670 bool "2.0.09"
1671
1672 config AMSS_7X25_VERSION_2008
1673 bool "2.0.08"
1674endchoice
1675
1676config MSM7KV2_AUDIO
1677 bool "MSM7K v2 audio"
1678 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1679 default y
1680 help
1681 Enables QDSP5V2-based audio drivers for audio playbacks and
1682 voice call.
1683
1684config MSM_ADSP_REPORT_EVENTS
1685 bool "Report modem events from the DSP"
1686 default y
1687 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1688 help
1689 Normally, only messages from the aDSP are reported to userspace.
1690 With this option, we report events from the aDSP as well.
1691
1692config MSM_QDSP6
1693 tristate "QDSP6 support"
1694 depends on ARCH_QSD8X50 && ANDROID_PMEM
1695 default y
1696 help
1697 Enable support for qdsp6. This provides audio and video functionality.
1698
1699config MSM8X60_AUDIO
1700 tristate "MSM8X60 audio support"
1701 depends on ARCH_MSM8X60 && ANDROID_PMEM
1702 default y
1703 help
1704 Enable support for qdsp6v2. This provides audio functionality.
1705
1706config MSM8X60_FTM_AUDIO_DEVICES
1707 bool "MSM8X60 audio factory test mode support"
1708 depends on MSM8X60_AUDIO
1709 help
1710 Enable support audio factory test mode devices. This is used
1711 in a production line environment.
1712
Ben Romberger45b351c2011-07-20 22:37:27 -07001713config RTAC
1714 bool "MSM8K real-time audio calibration support"
1715 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001716 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001717 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001718 audio operation
1719
1720config MSM7X27A_AUDIO
1721 bool "MSM7X27A audio support"
1722 depends on ARCH_MSM7X27A && MSM_ADSP
1723 default n
1724 help
1725 Enable support for 7x27a. This provides audio functionality.
1726
Justin Pauporea6cd2092011-06-22 16:19:45 -07001727config MSM_PROC_COMM_REGULATOR
Gregory Bean1963a2a2010-08-28 10:05:44 -07001728 bool
Justin Pauporea6cd2092011-06-22 16:19:45 -07001729 depends on MSM_PROC_COMM && REGULATOR
1730 help
1731 Enable regulator framework support for regulators managed by PMLIB
1732 on the modem, and controlled through proccomm calls.
1733
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001734config MSM_VREG_SWITCH_INVERTED
1735 bool "Reverse vreg switch polarity"
1736 default n
1737 help
1738 Reverses the enable and disable for vreg switch.
1739
1740config MSM_DMA_TEST
1741 tristate "MSM DMA test module"
1742 default m
1743 help
1744 Intended to be compiled as a module. Provides a device node
1745 and ioctls for testing the MSM dma system.
1746
1747config WIFI_CONTROL_FUNC
1748 bool "Enable WiFi control function abstraction"
1749 help
1750 Enables Power/Reset/Carddetect function abstraction
1751
1752config WIFI_MEM_PREALLOC
1753 depends on WIFI_CONTROL_FUNC
1754 bool "Preallocate memory for WiFi buffers"
1755 help
1756 Preallocates memory buffers for WiFi driver
1757
1758config QSD_AUDIO
1759 bool "QSD audio"
1760 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1761 default y
1762 help
1763 Provides PCM, MP3, and AAC audio playback.
1764
1765config AUDIO_AAC_PLUS
1766 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1767 bool "AAC+ Audio"
1768 default y
1769 help
1770 Provides AAC+ decoding
1771
1772config AUDIO_ENHANCED_AAC_PLUS
1773 depends on AUDIO_AAC_PLUS
1774 bool "Enhanced AAC+ Audio"
1775 default y
1776 help
1777 Provides Enhanced AAC+ decoding
1778
1779config SURF_FFA_GPIO_KEYPAD
1780 bool "MSM SURF/FFA GPIO keypad"
1781 depends on INPUT_GPIO = "y"
1782 default y
1783 help
1784 Select if the GPIO keypad is attached.
1785
1786config MSM_SLEEP_TIME_OVERRIDE
1787 bool "Allow overriding suspend/sleep time with PM module parameter"
1788 default y
1789 help
1790 Enable the module parameter sleep_time_override. Specified
1791 in units of seconds, it overwrites the normal sleep time of
1792 suspend. The feature is required for automated power management
1793 testing.
1794
1795config MSM_MEMORY_LOW_POWER_MODE
1796 bool "Control the low power modes of memory"
1797 default n
1798 help
1799 The application processor controls whether memory should enter
1800 which low power mode.
1801
1802choice
1803 prompt "Default Memory Low Power Mode during Idle"
1804 depends on MSM_MEMORY_LOW_POWER_MODE
1805 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1806 help
1807 Selects the default low power mode of the memory during idle
1808 sleep.
1809
1810 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1811 bool "Memory active"
1812
1813 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1814 bool "Memory in retention"
1815
1816 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1817 bool "Memory in deep power down"
1818endchoice
1819
1820choice
1821 prompt "Default Memory Low Power Mode during Suspend"
1822 depends on MSM_MEMORY_LOW_POWER_MODE
1823 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1824 help
1825 Selects the default low power mode of the memory during suspend
1826 sleep.
1827
1828 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1829 bool "Memory active"
1830
1831 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1832 bool "Memory in retention"
1833
1834 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1835 bool "Memory in deep power down"
1836endchoice
1837
1838choice
1839 prompt "Power management timeout action"
1840 default MSM_PM_TIMEOUT_HALT
1841 help
1842 Selects the Application Processor's action when Power Management
1843 times out waiting for Modem's handshake.
1844
1845 config MSM_PM_TIMEOUT_HALT
1846 bool "Halt the Application Processor"
1847
1848 config MSM_PM_TIMEOUT_RESET_MODEM
1849 bool "Reset the Modem Processor"
1850
1851 config MSM_PM_TIMEOUT_RESET_CHIP
1852 bool "Reset the entire chip"
1853endchoice
1854
1855config MSM_IDLE_WAIT_ON_MODEM
1856 int "Wait for Modem to become ready for idle power collapse"
1857 default 0
1858 help
1859 If Modem is not ready to handle Application Processor's request
1860 for idle power collapse, wait the number of microseconds in case
1861 Modem becomes ready soon.
1862
Matt Wagantall9274df92011-12-15 11:11:05 -08001863config MSM_RPM_REGULATOR
1864 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001865 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001866 help
1867 Compile in support for the RPM regulator driver, used for setting
1868 voltages and other parameters of the various power rails supplied
1869 by some Qualcomm PMICs.
1870
David Collinsc7642322012-04-04 10:19:12 -07001871config MSM_RPM_REGULATOR_SMD
1872 bool "SMD RPM regulator driver"
1873 depends on REGULATOR
1874 depends on OF
1875 depends on MSM_RPM_SMD
1876 help
1877 Compile in support for the SMD RPM regulator driver which is used for
1878 setting voltages and other parameters of the various power rails
1879 supplied by some Qualcomm PMICs. The SMD RPM regulator driver should
1880 be used on systems which contain an RPM which communicates with the
1881 application processor over SMD.
1882
Stephen Boyd705ff472012-07-09 13:40:05 -07001883config MSM_SUBSYSTEM_RESTART
1884 bool "MSM Subsystem Restart"
1885 help
1886 This option enables the MSM subsystem restart framework.
1887
1888 The MSM subsystem restart framework provides support to boot,
1889 shutdown, and restart subsystems with a reference counted API.
1890 It also notifies userspace of transitions between these states via
1891 sysfs.
1892
1893config MSM_SYSMON_COMM
1894 bool "MSM System Monitor communication support"
1895 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1896 help
1897 This option adds support for MSM System Monitor library, which
1898 provides an API that may be used for notifying subsystems within
1899 the SoC about other subsystems' power-up/down state-changes.
1900
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001901config MSM_PIL
1902 bool "Peripheral image loading"
1903 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001904 default n
1905 help
1906 Some peripherals need to be loaded into memory before they can be
1907 brought out of reset.
1908
1909 Say yes to support these devices.
1910
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001911config MSM_PIL_MODEM
1912 tristate "Modem (ARM11) Boot Support"
1913 depends on MSM_PIL
1914 help
1915 Support for booting and shutting down ARM11 Modem processors.
1916
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001917config MSM_PIL_QDSP6V3
1918 tristate "QDSP6v3 (Hexagon) Boot Support"
1919 depends on MSM_PIL
1920 help
1921 Support for booting and shutting down QDSP6v3 processors (hexagon).
1922 The QDSP6 is a low power DSP used in audio software applications.
1923
Stephen Boydeb819882011-08-29 14:46:30 -07001924config MSM_PIL_QDSP6V4
1925 tristate "QDSP6v4 (Hexagon) Boot Support"
1926 depends on MSM_PIL
1927 help
1928 Support for booting and shutting down QDSP6v4 processors (hexagon).
1929 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1930 software applications.
1931
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001932config MSM_PIL_LPASS_QDSP6V5
1933 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
1934 depends on MSM_PIL
1935 help
Matt Wagantall4e2599e2012-03-21 22:31:35 -07001936 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1937 in low power audio subsystems.
1938
1939config MSM_PIL_MSS_QDSP6V5
1940 tristate "MSS QDSP6v5 (Hexagon) Boot Support"
1941 depends on MSM_PIL
1942 help
1943 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1944 in modem subsystems.
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001945
Matt Wagantalle6e00d52012-03-08 17:39:07 -08001946config MSM_PIL_MBA
1947 tristate "Support for modem self-authentication"
1948 depends on MSM_PIL_MSS_QDSP6V5
1949 help
1950 Support for booting self-authenticating modems using the Modem Boot
1951 Authenticator.
Stephen Boyd322a9922011-09-20 01:05:54 -07001952
1953config MSM_PIL_RIVA
Stephen Boydd89eebe2011-09-28 23:28:11 -07001954 tristate "RIVA (WCNSS) Boot Support"
1955 depends on MSM_PIL
1956 help
1957 Support for booting and shutting down the RIVA processor (WCNSS).
1958 Riva is the wireless subsystem processor used in bluetooth, wireless
1959 LAN, and FM software applications.
1960
Ethan Chene2657792012-10-08 00:52:58 -07001961config MSM_INSECURE_PIL_RIVA
1962 bool "Force Riva PIL to insecure mode"
1963 depends on MSM_PIL_RIVA
1964 help
1965 Force Riva PIL to use non-secure boot.
1966
Stephen Boydd89eebe2011-09-28 23:28:11 -07001967config MSM_PIL_TZAPPS
1968 tristate "TZApps Boot Support"
1969 depends on MSM_PIL
1970 help
1971 Support for booting and shutting down TZApps.
1972
1973 TZApps is an image that runs in the secure processor state. It is
1974 used to decrypt data and perform secure operations on the behalf of
1975 the kernel.
1976
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07001977config MSM_PIL_DSPS
1978 tristate "DSPS Boot Support"
1979 depends on MSM_PIL
1980 help
1981 Support for booting and shutting down ARM7 DSPS processors.
1982
1983 DSPS is a sensors offloading processor used for applications such
1984 as rotation detection, temperature, etc.
1985
Stephen Boyd7b973de2012-03-09 12:26:16 -08001986config MSM_PIL_VIDC
1987 tristate "Video Core Secure Boot Support"
1988 depends on MSM_PIL
1989 help
1990 Support for authenticating the video core image.
1991
Tianyi Gou828798d2012-05-02 21:12:38 -07001992config MSM_PIL_VENUS
1993 tristate "VENUS (Video) Boot Support"
1994 depends on MSM_PIL
1995 help
1996 Support for booting and shutting down the VENUS processor (Video).
1997 Venus is the Video subsystem processor used for video codecs.
1998
Matt Wagantall292aace2012-01-26 19:12:34 -08001999config MSM_PIL_GSS
2000 tristate "GSS (Coretx A5) Boot Support"
2001 depends on MSM_PIL
2002 help
2003 Support for booting and shutting down Cortex A5 processors which run
2004 GPS subsystem firmware.
2005
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002006config MSM_PIL_PRONTO
2007 tristate "PRONTO (WCNSS) Boot Support"
2008 depends on MSM_PIL
2009 help
2010 Support for booting and shutting down the PRONTO processor (WCNSS).
2011 PRONTO is the wireless subsystem processor used in bluetooth, wireless
2012 LAN, and FM software applications.
2013
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002014config MSM_SCM
2015 bool "Secure Channel Manager (SCM) support"
2016 default n
2017
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002018config MSM_MODEM_8960
2019 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08002020 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002021 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08002022 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002023 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08002024 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002025
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07002026config MSM_LPASS_8960
2027 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08002028 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07002029 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08002030 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07002031 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08002032 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07002033
Ankur Nandwanie258cf02011-08-19 10:16:38 -07002034config MSM_WCNSS_SSR_8960
2035 tristate "MSM 8960 WCNSS restart module"
Jeff Johnsondf929982012-11-02 17:35:26 -07002036 depends on ARCH_MSM8960
2037 depends on WCNSS_CORE
Ankur Nandwanie258cf02011-08-19 10:16:38 -07002038 help
2039 This option enables the WCNSS restart module for MSM8960, which
2040 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
2041 into the subsystem restart framework.
2042
Rohit Vaswanid0fb4182012-03-19 18:07:59 -07002043config MSM_GSS_SSR_8064
2044 bool "MSM 8064 GSS restart driver"
2045 depends on (ARCH_APQ8064)
2046 help
2047 This option enables the gps subsystem restart driver for APQ8064, which monitors
2048 gss hardware watchdog interrupt lines and plugs into the subsystem
2049 restart and PIL drivers.
2050
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002051config SCORPION_Uni_45nm_BUG
2052 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
2053 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
2054 default y
2055 help
2056 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
2057 invalidating the Branch Predictor Array by Modified Virtual Address can
2058 create invalid entries in the TLB with the wrong ASID values on Scorpion
2059 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
2060 workaround for Scorpion Uniprocessor 45nm cores.
2061
2062 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
2063
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002064config MSM_BUSPM_DEV
2065 tristate "MSM Bus Performance Monitor Kernel Module"
2066 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
2067 default m
2068 help
2069 This kernel module is used to mmap() hardware registers for the
2070 performance monitors, counters, etc. The module can also be used to
2071 allocate physical memory which is used by bus performance hardware to
2072 dump performance data.
2073
Mona Hossain11c03ac2011-10-26 12:42:10 -07002074config MSM_TZ_LOG
2075 tristate "MSM Trust Zone (TZ) Log Driver"
2076 depends on DEBUG_FS
2077 help
2078 This option enables a driver with a debugfs interface for messages
2079 produced by the Secure code (Trust zone). These messages provide
2080 diagnostic information about TZ operation.
2081
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002082config MSM_RPM_LOG
2083 tristate "MSM Resource Power Manager Log Driver"
2084 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002085 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002086 default n
2087 help
2088 This option enables a driver which can read from a circular buffer
2089 of messages produced by the RPM. These messages provide diagnostic
2090 information about RPM operation. The driver outputs the messages
2091 via a debugfs node.
2092
2093config MSM_RPM_STATS_LOG
2094 tristate "MSM Resource Power Manager Stat Driver"
2095 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002096 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002097 default n
2098 help
2099 This option enables a driver which reads RPM messages from a shared
2100 memory location. These messages provide statistical information about
2101 the low power modes that RPM enters. The drivers outputs the message
2102 via a debugfs node.
2103
Girish Mahadevan898c56d2012-06-05 16:09:19 -06002104config MSM_RPM_RBCPR_STATS_LOG
2105 tristate "MSM Resource Power Manager RPBCPR Stat Driver"
2106 depends on DEBUG_FS
2107 depends on MSM_RPM
2108 help
2109 This option enables a driver which reads RPM messages from a shared
2110 memory location. These messages provide statistical information about
2111 RBCPR (Rapid Bridge Core Power Reduction) information . The drivers
2112 outputs the message via a debugfs node.
2113
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002114config MSM_DIRECT_SCLK_ACCESS
2115 bool "Direct access to the SCLK timer"
2116 default n
2117
2118config IOMMU_API
2119 bool
Gregory Bean1963a2a2010-08-28 10:05:44 -07002120
Brian Swetland9e73c842007-11-26 04:12:13 -08002121config MSM_GPIOMUX
2122 bool
2123
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002124config MSM_SECURE_IO
Brian Swetland9e73c842007-11-26 04:12:13 -08002125 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002126
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002127config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002128 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002129
Taniya Dascd1d0232012-07-03 17:50:47 +05302130config MSM_MODEM_RESTART
2131 bool
2132
Matt Wagantall88b86312012-01-31 16:53:03 -08002133config MSM_PM2
2134 depends on PM
2135 bool
2136
2137config MSM_PM8X60
2138 depends on PM
2139 bool
2140
Girish Mahadevan3cdb8602012-09-10 15:30:36 -06002141config MSM_EVENT_TIMER
2142 bool "Event timer"
2143 help
2144 This option enables a modules that manages a list of event timers that
2145 need to be monitored by the PM. The enables the PM code to monitor
2146 events that require the core to be awake and ready to handle the
2147 event.
2148
Matt Wagantall88b86312012-01-31 16:53:03 -08002149config MSM_NOPM
2150 default y if !PM
2151 bool
2152
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002153config MSM_BUS_SCALING
2154 bool "Bus scaling driver"
2155 default n
2156
Gagan Mac85c70492011-06-10 16:07:47 -06002157config MSM_BUS_RPM_MULTI_TIER_ENABLED
2158 bool "RPM Multi-tiering Configuration"
2159 depends on MSM_BUS_SCALING
2160
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002161config MSM_WATCHDOG
2162 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002163 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002164 help
2165 This enables the watchdog as is present on 8x60. Currently we use
2166 core 0's watchdog, and reset the entire SoC if it times out. It does
2167 not run during the bootup process, so it will not catch any early
2168 lockups.
2169
Hanumant Singhd1f01022012-07-05 14:21:53 -07002170config MSM_WATCHDOG_V2
2171 bool "MSM Watchdog Support"
2172 help
2173 This enables the watchdog module. It causes kernel panic if the
2174 watchdog times out. It allows for detection of cpu hangs and
2175 deadlocks. It does not run during the bootup process, so it will
2176 not catch any early lockups.
2177
Hanumant Singh5e2541c2012-07-31 14:41:14 -07002178config MSM_MEMORY_DUMP
2179 bool "MSM Memory Dump Support"
2180 help
2181 This enables memory dump feature. It allows various client
2182 subsystems to register respective dump regions. At the time
2183 of deadlocks or cpu hangs these dump regions are captured to
2184 give a snapshot of the system at the time of the crash.
2185
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002186config MSM_DLOAD_MODE
2187 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07002188 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002189 default n
2190 help
2191 This makes the SoC enter download mode when it resets
2192 due to a kernel panic. Note that this doesn't by itself
2193 make the kernel reboot on a kernel panic - that must be
2194 enabled via another mechanism.
2195
Pratik Patel17f3b822011-11-21 12:41:47 -08002196config MSM_JTAG
Pratik Patele1c55072013-01-27 20:30:42 -08002197 bool "Debug and ETM trace support across power collapse"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002198 help
Pratik Patele1c55072013-01-27 20:30:42 -08002199 Enables support for debugging (specifically breakpoints) and ETM
Pratik Patel2963de42012-05-17 12:43:40 -07002200 processor tracing across power collapse both for JTag and OS hosted
2201 software running on the target. Enabling this will ensure debug
2202 and ETM registers are saved and restored across power collapse.
2203
Pratik Patele1c55072013-01-27 20:30:42 -08002204 If unsure, say 'N' here to avoid potential power, performance and
2205 memory penalty.
Pratik Patel7831c082011-06-08 21:44:37 -07002206
Pushkar Joshief5b46f2012-12-15 18:59:03 -08002207config MSM_JTAG_MM
2208 bool "Debug and ETM trace support across power collapse using memory mapped access"
2209 help
2210 Enables support for debugging (specifically breakpoints) and ETM
2211 processor tracing across power collapse both for JTag and OS hosted
2212 software running on the target. Enabling this will ensure debug
2213 and ETM registers are saved and restored across power collapse.
2214
2215 Required on targets on which cp14 access to debug and ETM registers is
2216 not permitted and so memory mapped access is necessary.
2217
2218 If unsure, say 'N' here to avoid potential power, performance and
2219 memory penalty.
2220
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002221config MSM_ETM
2222 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002223 depends on ARCH_MSM8X60
Pratik Pateldd6b4ed2013-01-29 13:54:43 -08002224 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002225 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002226 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002227
Lynus Vazdde09ee2012-01-05 13:28:22 +05302228config MSM_SLEEP_STATS_DEVICE
2229 bool "Enable exporting of MSM sleep device stats to userspace"
2230
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302231config MSM_RUN_QUEUE_STATS
2232 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Krishna Vankae2922052012-03-02 09:59:12 +05302233 depends on (MSM_SOC_REV_A || ARCH_MSM8X60 || ARCH_MSM8960)
2234 help
2235 This option enalbes statistics collection on Run Queue. A daemon
2236 in user mode, called MPDecision will be using this data to decide
2237 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302238
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002239config MSM_STANDALONE_POWER_COLLAPSE
2240 bool "Enable standalone power collapse"
2241 default n
2242
2243config MSM_GSBI9_UART
2244 bool "Enable GSBI9 UART device"
2245 default n
2246 help
2247 This enables GSBI9 configured into UART.
2248
2249config MSM_SHARED_GPIO_FOR_UART2DM
2250 bool "Use shared GPIOs into UART mode"
2251 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2252 help
2253 This option configures GPIO muxed with SDC4/MMC3
2254 8-bit mode into UART mode. It is used for serial
2255 console on UART2DM. Say Y if you want to have
2256 serial console on UART2DM.
2257
2258config MSM_SHOW_RESUME_IRQ
2259 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002260 depends on (ARM_GIC || PMIC8058)
2261 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002262 default n
2263 help
2264 This option logs wake up interrupts that have triggered just before
2265 the resume loop unrolls. Say Y if you want to debug why the system
2266 resumed.
2267
2268config BT_MSM_PINTEST
2269 tristate "MSM Bluetooth Pin Connectivity Test"
2270 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2271 default n
2272 help
2273 Bluetooth MSM Pin Connectivity test module.
2274 This driver provides support for verifying the MSM to BT pin
2275 connectivity.
2276
2277config MSM_FAKE_BATTERY
2278 depends on POWER_SUPPLY
2279 default n
2280 bool "MSM Fake Battery"
2281 help
2282 Enables MSM fake battery driver.
2283
2284config MSM_QDSP6_APR
2285 bool "Audio QDSP6 APR support"
2286 depends on MSM_SMD
2287 default n
2288 help
2289 Enable APR IPC protocol support between
2290 application processor and QDSP6. APR is
2291 used by audio driver to configure QDSP6's
2292 ASM, ADM and AFE.
2293
Joonwoo Park91d95462012-08-02 10:55:54 -07002294config MSM_QDSP6_APRV2
2295 bool "Audio QDSP6 APRv2 support"
2296 depends on MSM_SMD
2297 default n
2298 help
2299 Enable APRv2 IPC protocol support between
2300 application processor and QDSP6. APR is
2301 used by audio driver to configure QDSP6's
2302 ASM, ADM and AFE.
2303
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -07002304config MSM_QDSP6_CODECS
2305 bool "Audio Codecs on QDSP6 APR "
2306 depends on MSM_SMD
2307 default n
2308 help
2309 Enable Audio codecs with APR IPC protocol support between
2310 application processor and QDSP6. APR is
2311 used by audio driver to configure QDSP6's
2312 ASM, ADM and AFE.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002313
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002314config MSM_QDSP6V2_CODECS
2315 bool "Audio QDSP6V2 APR support"
2316 depends on MSM_SMD
2317 help
2318 Enable Audio codecs with APR IPC protocol support between
2319 application processor and QDSP6 for B-family. APR is
2320 used by audio driver to configure QDSP6's
2321 ASM, ADM and AFE.
2322
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002323config MSM_AUDIO_QDSP6
2324 bool "QDSP6 HW Audio support"
2325 select SND_SOC_MSM_QDSP6_INTF
2326 default n
2327 help
2328 Enable HW audio support in QDSP6.
2329 QDSP6 can support HW encoder & decoder and audio processing
2330
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002331config MSM_AUDIO_QDSP6V2
2332 bool "QDSP6V2 HW Audio support"
2333 select SND_SOC_MSM_QDSP6V2_INTF
2334 help
2335 Enable HW audio support in QDSP6V2.
2336 QDSP6V2 can support HW encoder & decoder and
2337 audio processing. It will enable support for
2338 AAC, AMRNB, AMRWB, EVRC, MP3, QCELP among
2339 others.
2340
Joonwoo Park4a14a552012-08-02 11:03:21 -07002341config MSM_ADSP_LOADER
2342 tristate "ADSP loader support"
2343 select SND_SOC_MSM_APRV2_INTF
2344 depends on MSM_AUDIO_QDSP6V2 && m
2345 help
2346 Enable ADSP image loader.
2347 The ADSP loader brings ADSP out of reset
2348 for the platforms that use APRv2.
2349 Say M if you want to enable this module.
2350
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002351config MSM_ULTRASOUND
2352 bool "MSM ultrasound support"
2353 depends on MSM_AUDIO_QDSP6
2354 help
2355 Enable support for qdsp6/ultrasound.
2356
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002357config MSM_RPC_VIBRATOR
2358 bool "RPC based MSM Vibrator Support"
2359 depends on MSM_ONCRPCROUTER
2360 help
2361 Enable the vibrator support on MSM over RPC. The vibrator
2362 is connected on the PMIC. Say Y if you want to enable this
2363 feature.
2364
2365config PM8XXX_RPC_VIBRATOR
2366 bool "RPC based Vibrator on PM8xxx PMICs"
2367 depends on MSM_RPC_VIBRATOR
2368 help
2369 Enable the vibrator support on MSM over RPC. The vibrator
2370 is connected on the PM8XXX PMIC. Say Y if you want to enable
2371 this feature.
2372
2373config MSM_SPM_V1
2374 bool "Driver support for SPM Version 1"
2375 help
2376 Enables the support for Version 1 of the SPM driver. SPM hardware is
2377 used to manage the processor power during sleep. The driver allows
2378 configuring SPM to allow different power modes.
2379
2380config MSM_SPM_V2
2381 bool "Driver support for SPM Version 2"
2382 help
2383 Enables the support for Version 2 of the SPM driver. SPM hardware is
2384 used to manage the processor power during sleep. The driver allows
2385 configuring SPM to allow different power modes.
2386
2387config MSM_L2_SPM
2388 bool "SPM support for L2 cache"
2389 depends on MSM_SPM_V2
2390 help
2391 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2392 control of L2 cache low power mode with a Subsystem Power manager.
2393 Enabling this driver allows configuring L2 SPM for low power modes
2394 on supported chipsets.
2395
Laura Abbott2d1760b2011-09-29 21:31:24 -07002396config MSM_MULTIMEDIA_USE_ION
2397 bool "Multimedia suport using Ion"
2398 depends on ION_MSM
2399 help
2400 Enable support for multimedia drivers using Ion for buffer management
2401 instead of pmem. Selecting this may also involve userspace
2402 dependencies as well.
2403
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002404config MSM_OCMEM
2405 bool "MSM On-Chip memory driver (OCMEM)"
2406 help
2407 Enable support for On-Chip Memory available on certain MSM chipsets.
2408 OCMEM is a low latency, high performance pool shared by subsystems.
2409
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002410config MSM_OCMEM_LOCAL_POWER_CTRL
2411 bool "OCMEM Local Power Control"
2412 depends on MSM_OCMEM
2413 help
2414 Enable direct power management of the OCMEM core by the
2415 OCMEM driver. By default power management is delegated to
2416 the RPM. Selecting this option causes the OCMEM driver to
2417 directly handle the various macro power transitions.
2418
2419config MSM_OCMEM_DEBUG
2420 bool "OCMEM Debug Support"
2421 depends on MSM_OCMEM
2422 help
2423 Enable debug options for On-chip Memory (OCMEM) driver.
2424 Various debug options include memory, power and latency.
2425 Choosing one of these options allows debugging of each
2426 individual subsystem separately.
2427
Naveen Ramaraj46261f62012-08-20 12:35:52 -07002428config MSM_OCMEM_NONSECURE
2429 bool "OCMEM Non Secure Mode"
2430 depends on MSM_OCMEM_DEBUG
2431 help
2432 Disable OCMEM interaction with secure processor.
2433 By default OCMEM is secured and accesses for each master
2434 is requested by the OCMEM driver. Selecting this option
2435 causes the OCMEM memory to be in non-secure state unless
2436 its locked down by the secure processor.
2437
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002438config MSM_OCMEM_POWER_DEBUG
2439 bool "OCMEM Power Debug Support"
2440 depends on MSM_OCMEM_DEBUG
2441 help
2442 Enable debug support for OCMEM power management.
2443 This adds support for verifying all power management
2444 related operations of OCMEM. Both local power management
2445 and RPM assisted power management operations are supported.
2446
Naveen Ramaraj4b1d9392012-08-06 21:05:14 -07002447config MSM_OCMEM_POWER_DISABLE
2448 bool "OCMEM Disable Power Control"
2449 depends on MSM_OCMEM_DEBUG
2450 help
2451 Disable all OCMEM power management.
2452 This keeps all OCMEM macros turned ON at all times thus
2453 never allowing them to be turned OFF. Both local power
2454 management and RPM assisted power modes are supported.
2455
Laura Abbottad340ff2012-01-04 14:23:48 -08002456config MSM_RTB
2457 bool "Register tracing"
2458 help
2459 Add support for logging different events to a small uncached
2460 region. This is designed to aid in debugging reset cases where the
2461 caches may not be flushed before the target resets.
2462
2463config MSM_RTB_SEPARATE_CPUS
2464 bool "Separate entries for each cpu"
2465 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002466 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002467 help
2468 Under some circumstances, it may be beneficial to give dedicated space
2469 for each cpu to log accesses. Selecting this option will log each cpu
2470 separately. This will guarantee that the last acesses for each cpu
2471 will be logged but there will be fewer entries per cpu
2472
Stepan Moskovchenko57884842012-06-07 17:35:49 -07002473config MSM_EBI_ERP
2474 bool "External Bus Interface (EBI) error reporting"
2475 help
2476 Say 'Y' here to enable reporting of external bus interface errors to
2477 the kernel log. Information such as the offending address and
2478 transaction type will be logged. This may be useful for debugging
2479 seemingly broken memory accesses.
2480
2481 For production builds, you should probably say 'N' here.
2482
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002483config MSM_CACHE_ERP
2484 bool "Cache / CPU error reporting"
2485 depends on ARCH_MSM_KRAIT
2486 help
2487 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2488 log. Enabling this feature can be used as a system debugging technique
2489 if cache corruption is suspected. Cache error statistics will also be
2490 reported in /proc/cpu/msm_cache_erp.
2491
2492 For production builds, you should probably say 'N' here.
2493
2494config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002495 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002496 depends on MSM_CACHE_ERP
2497 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002498 To cause the kernel to panic whenever an L1 cache error is detected, say
2499 'Y' here. This may be useful as a debugging technique if general system
2500 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002501
2502 For production builds, you should probably say 'N' here.
2503
Neha Pandeybb9ceed2013-05-20 17:38:16 -07002504config MSM_L1_RECOV_ERR_PANIC
2505 bool "Panic on recoverable L1 cache errors"
2506 depends on MSM_CACHE_ERP && MSM_L1_ERR_PANIC
2507 help
2508 Certain CPU designs may be able to automatically recover from certain
2509 kinds of L1 cache errors, even though the L1 cache itself may not
2510 support error correction. These errors should not result in any kind
2511 of corruption, but their presence is nevertheless an indication of
2512 poor system health. To cause the kernel to panic whenever a
2513 recoverable L1 cache error is detected, say 'Y' here. This may be
2514 useful as a debugging technique if general system instability is
2515 suspected.
2516
2517 For production builds, you should definitely say 'N' here.
2518
Stepan Moskovchenko7035f652012-05-31 17:48:01 -07002519config MSM_L1_ERR_LOG
2520 bool "Log CPU ERP events to system memory"
2521 depends on MSM_CACHE_ERP
2522 help
2523 Enable logging CPU ERP events to an area of memory that will be
2524 preserved across a system reset. This may be useful for detecting and
2525 troubleshooting ERP-related system crashes in the field.
2526
2527 For production builds, you may want to say 'Y' here.
2528
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002529config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2530 bool "Report L2 master port slave/decode errors in kernel log"
2531 depends on MSM_CACHE_ERP
2532 help
2533 Master port errors can occur when a memory request is not properly
2534 handled by the destination slave. This can occur if the destination
2535 register does not exist or is inaccessible due to security
2536 restrictions or (in some cases) clock configuration. Enabling this
2537 option will cause a backtrace to be printed to the kernel log whenever
2538 such an error is encountered. Note that the error is reported as an
2539 interrupt rather than as an exception, meaning that the backtrace may
2540 have some skid. This option may help with debugging, though production
2541 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002542
2543config MSM_L2_ERP_PORT_PANIC
2544 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002545 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002546 help
2547 Master port errors can occur when a memory request is not properly
2548 handled by the destination slave. Enable this option to catch drivers
2549 which attempt to access bad areas of the address space, or access
2550 hardware registers in an improper state (such as certain clocks not
2551 being on). This option may help with debugging, though production
2552 builds should probably say 'N' here.
2553
2554config MSM_L2_ERP_1BIT_PANIC
2555 bool "Panic on recoverable L2 soft errors"
2556 depends on MSM_CACHE_ERP
2557 help
2558 Enable this option to cause a kernel panic whenever the L2 cache
2559 encounters a single-bit (correctable) soft error. This option should
2560 only be enabled when doing low-level debugging where cache corruption
2561 is suspected.
2562
2563 For production builds, you should definitely say 'N' here.
2564
2565config MSM_L2_ERP_2BIT_PANIC
2566 bool "Panic on unrecoverable L2 soft errors"
2567 depends on MSM_CACHE_ERP
2568 help
2569 Enable this option to cause a kernel panic whenever the L2 cache
2570 encounters a double-bit (non-correctable) soft error. Debug builds
2571 will likely benefit from having this option enabled to catch cache
2572 problems as soon as possible.
2573
2574 For production builds, it may be acceptable to say 'N' here, since
2575 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002576
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002577config MSM_DCVS
2578 bool "Use MSM DCVS for CPU/GPU Frequency control"
2579 depends on MSM_SCM
2580 help
2581 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2582 The DCVS manager allows idle driver to feed the idle information to the
2583 algorithm and the algorithm returns a frequency for the core which is
2584 passed to the frequency change driver.
2585
Pankaj Kumar32ce1ea2012-04-04 20:29:29 +05302586config MSM_CPR
2587 tristate "Use MSM CPR in S/W mode"
2588 help
2589 Enable CPR (core power reduction) in S/W mode, where the processor
2590 get's the notification from CPR block and programs the PMIC.
2591
2592config MSM_VP_REGULATOR
2593 tristate "Use MSM PMIC8029 C2 regulator"
2594 depends on ARCH_MSM8625
2595 help
2596 Enable MSM PMIC8029 C2 regulator support using APC_PLEVEL access
2597 for MSMs like 8625.
2598
Taniya Dasc43e6872012-03-21 16:41:14 +05302599config HAVE_ARCH_HAS_CURRENT_TIMER
2600 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002601
2602config MSM_CACHE_DUMP
2603 bool "Cache dumping support"
2604 help
2605 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2606 This allows for analysis of the caches in case cache corruption is
2607 suspected.
2608
Laura Abbott7b637362012-03-29 16:43:49 -07002609config MSM_CACHE_DUMP_ON_PANIC
2610 bool "Dump caches on panic"
2611 depends on MSM_CACHE_DUMP
2612 help
2613 By default, the caches are flushed on panic. This means that trying to
2614 look at them in a RAM dump will give useless data. Select this if you
2615 want to dump the L1 and L2 caches on panic before any flush occurs.
2616 If unsure, say N
2617
Jack Phamccbbfab2012-04-09 19:50:20 -07002618config MSM_HSIC_SYSMON
2619 tristate "MSM HSIC system monitor driver"
2620 depends on USB
2621 help
2622 Add support for bridging with the system monitor interface of MDM
2623 over HSIC. This driver allows the local system monitor to
2624 communicate with the remote system monitor interface.
2625
2626config MSM_HSIC_SYSMON_TEST
2627 tristate "MSM HSIC system monitor bridge test"
2628 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2629 help
2630 Enable the test hook for the Qualcomm system monitor HSIC driver.
2631 This will create a debugfs file entry named "hsic_sysmon_test" which
2632 can be read and written to send character data to the sysmon port of
2633 the modem over USB.
2634
Jay Chokshi434f1af2012-12-06 20:48:23 -08002635config MSM_CPU_PWRCTL
2636 bool "Ensures that krait droop detectors are always off"
2637 help
2638 Droop detector mechanism can adversely affect krait plls during
2639 stand alone power collapse operation. Selecting this option
2640 ensures that they are always off.
2641
Brian Swetland9e73c842007-11-26 04:12:13 -08002642endif