blob: dba5da99c441074b4bd3200d53776c0b435807fd [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
Rajeev Kulkarni543aa132012-12-10 14:06:54 -0800173 select MSM_IOMMU_GPU_SYNC
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
Rajeev Kulkarni543aa132012-12-10 14:06:54 -0800207 select MSM_IOMMU_GPU_SYNC
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
Rajeev Kulkarni543aa132012-12-10 14:06:54 -0800236 select MSM_IOMMU_GPU_SYNC
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
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700916config MSM_STACKED_MEMORY
917 bool "Stacked Memory"
918 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800919 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700920 This option is used to indicate the presence of on-die stacked
921 memory. When present this memory bank is used for a high speed
922 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800923
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700924config PHYS_OFFSET
925 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700926 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700927 default "0x80200000" if ARCH_APQ8064
Flemmard3bdee712013-04-14 22:30:35 -0700928 default "0x80400000" if ARCH_MSM8960 && MACH_HTC
929 default "0x80200000" if ARCH_MSM8960 && !MACH_HTC
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700930 default "0x80200000" if ARCH_MSM8930
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700931 default "0x00000000" if ARCH_MSM8974
Syed Rameez Mustafa2af59732012-08-23 17:27:24 -0700932 default "0x00000000" if ARCH_MPQ8092
933 default "0x00000000" if ARCH_MSM8226
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700934 default "0x10000000" if ARCH_FSM9XXX
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700935 default "0x20200000" if ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700936 default "0x00200000" if !MSM_STACKED_MEMORY
937 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
938 default "0x20000000" if ARCH_QSD8X50
939 default "0x40200000" if ARCH_MSM8X60
940 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800941
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700942config KERNEL_MSM_CONTIG_MEM_REGION
943 bool "Enable in-kernel contiguous memory region"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700944 default y if ARCH_MSM8X60
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700945 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700946 help
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700947 Enable the in-kernel contiguous memory allocator. Sets up a
948 region of physically contiguous memory. This memory is
949 reserved during initialization, and can be used
950 generically.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700951
952config KERNEL_PMEM_SMI_REGION
953 bool "Enable in-kernel PMEM region for SMI"
954 default y if ARCH_MSM8X60
955 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
956 help
957 Enable the in-kernel PMEM allocator to use SMI memory.
958
959config PMEM_GPU0
960 bool "Enable PMEM GPU0 region"
961 default y
962 depends on ARCH_QSD8X50 && ANDROID_PMEM
963 help
964 Enable the PMEM GPU0 device on SMI Memory.
965
966config MSM_AMSS_VERSION
967 int
968 default 6210 if MSM_AMSS_VERSION_6210
969 default 6220 if MSM_AMSS_VERSION_6220
970 default 6225 if MSM_AMSS_VERSION_6225
971
972choice
973 prompt "AMSS modem firmware version"
974
975 default MSM_AMSS_VERSION_6225
976
977 config MSM_AMSS_VERSION_6210
978 bool "6.2.10"
979
980 config MSM_AMSS_VERSION_6220
981 bool "6.2.20"
982
983 config MSM_AMSS_VERSION_6225
984 bool "6.2.20 + New ADSP"
985endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800986
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700987config MSM_HAS_DEBUG_UART_HS
Daniel Walkerbf83de42010-03-16 16:29:44 -0700988 bool
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700989 help
990 Say Y here if high speed MSM UART is present.
991
992config MSM_HAS_DEBUG_UART_HS_V14
993 bool
994 select MSM_HAS_DEBUG_UART_HS
995 help
996 Say Y here if high speed MSM UART v1.4 is present.
997
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530998config MSM_DEBUG_UART_PHYS
999 hex
1000 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
1001 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
1002 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
1003 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
1004 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
1005 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
1006 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
1007 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
1008
Brian Swetland9e73c842007-11-26 04:12:13 -08001009choice
1010 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001011 depends on DEBUG_LL
Brian Swetland9e73c842007-11-26 04:12:13 -08001012
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001013 config DEBUG_MSM_UART1
1014 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301015 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001016 help
1017 Say Y here if you want the debug print routines to direct
1018 their output to the first serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001019
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001020 config DEBUG_MSM_UART2
1021 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301022 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001023 help
1024 Say Y here if you want the debug print routines to direct
1025 their output to the second serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001026
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001027 config DEBUG_MSM_UART3
1028 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301029 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001030 help
1031 Say Y here if you want the debug print routines to direct
1032 their output to the third serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001033
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001034 config DEBUG_MSM8660_UART
1035 bool "Kernel low-level debugging messages via MSM 8660 UART"
1036 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001037 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001038 help
1039 Say Y here if you want the debug print routines to direct
1040 their output to the serial port on MSM 8660 devices.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001041
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001042 config DEBUG_MSM8960_UART
1043 bool "Kernel low-level debugging messages via MSM 8960 UART"
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001044 depends on ARCH_MSM8960 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001045 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001046 help
1047 Say Y here if you want the debug print routines to direct
1048 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001049
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001050 config DEBUG_MSM8930_UART
1051 bool "Kernel low-level debugging messages via MSM 8930 UART"
1052 depends on ARCH_MSM8930 && DEBUG_LL
1053 select MSM_HAS_DEBUG_UART_HS
1054 help
1055 Say Y here if you want the debug print routines to direct
1056 their output to the serial port on MSM 8930 devices.
1057
1058 config DEBUG_APQ8064_UART
1059 bool "Kernel low-level debugging messages via APQ 8064 UART"
1060 depends on ARCH_APQ8064 && DEBUG_LL
1061 select MSM_HAS_DEBUG_UART_HS
1062 help
1063 Say Y here if you want the debug print routines to direct
1064 their output to the serial port on APQ 8064 devices.
1065
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001066 config DEBUG_MSM8974_UART
1067 bool "Kernel low-level debugging messages via MSM 8974 UART"
1068 depends on ARCH_MSM8974
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001069 select MSM_HAS_DEBUG_UART_HS_V14
1070 help
1071 Say Y here if you want the debug print routines to direct
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001072 their output to the serial port on MSM 8974 devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001073endchoice
Brian Swetland9e73c842007-11-26 04:12:13 -08001074
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001075choice
1076 prompt "Default Timer"
1077 default MSM7X00A_USE_GP_TIMER
1078
1079 config MSM7X00A_USE_GP_TIMER
1080 bool "GP Timer"
1081 help
1082 Low resolution timer that allows power collapse from idle.
1083
1084 config MSM7X00A_USE_DG_TIMER
1085 bool "DG Timer"
1086 help
1087 High resolution timer.
1088endchoice
1089
1090choice
1091 prompt "Suspend sleep mode"
1092 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1093 help
1094 Allows overriding the sleep mode used. Leave at power
1095 collapse suspend unless the arm9 image has problems.
1096
1097 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1098 bool "Power collapse suspend"
1099 help
1100 Lowest sleep state. Returns through reset vector.
1101
1102 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1103 bool "Power collapse"
1104 help
1105 Sleep state that returns through reset vector.
1106
1107 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1108 bool "Apps Sleep"
1109
1110 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1111 bool "Ramp down cpu clock and wait for interrupt"
1112
1113 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1114 bool "Wait for interrupt"
1115endchoice
1116
1117config MSM7X00A_SLEEP_MODE
1118 int
1119 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1120 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1121 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1122 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1123 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1124
1125choice
1126 prompt "Idle sleep mode"
1127 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1128 help
1129 Allows overriding the sleep mode used from idle. Leave at power
1130 collapse suspend unless the arm9 image has problems.
1131
1132 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1133 bool "Power collapse suspend"
1134 help
1135 Lowest sleep state. Returns through reset vector.
1136
1137 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1138 bool "Power collapse"
1139 help
1140 Sleep state that returns through reset vector.
1141
1142 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1143 bool "Apps Sleep"
1144
1145 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1146 bool "Ramp down cpu clock and wait for interrupt"
1147
1148 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1149 bool "Wait for interrupt"
1150endchoice
1151
1152config MSM7X00A_IDLE_SLEEP_MODE
1153 int
1154 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1155 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1156 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1157 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1158 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1159
1160config MSM7X00A_IDLE_SLEEP_MIN_TIME
1161 int "Minimum idle time before sleep"
1162 default 20000000
1163 help
1164 Minimum idle time in nanoseconds before entering low power mode.
1165
1166config MSM7X00A_IDLE_SPIN_TIME
1167 int "Idle spin time before cpu ramp down"
1168 default 80000
1169 help
1170 Spin time in nanoseconds before ramping down cpu clock and entering
1171 any low power state.
1172
1173menuconfig MSM_IDLE_STATS
1174 bool "Collect idle statistics"
1175 default y
1176 help
1177 Collect idle statistics and export them in proc/msm_pm_stats.
1178
1179if MSM_IDLE_STATS
1180
1181config MSM_IDLE_STATS_FIRST_BUCKET
1182 int "First bucket time"
1183 default 62500
1184 help
1185 Upper time limit in nanoseconds of first bucket.
1186
1187config MSM_IDLE_STATS_BUCKET_SHIFT
1188 int "Bucket shift"
1189 default 2
1190
1191config MSM_IDLE_STATS_BUCKET_COUNT
1192 int "Bucket count"
1193 default 10
1194
1195config MSM_SUSPEND_STATS_FIRST_BUCKET
1196 int "First bucket time for suspend"
1197 default 1000000000
1198 help
1199 Upper time limit in nanoseconds of first bucket of the
1200 histogram. This is for collecting statistics on suspend.
1201
1202endif # MSM_IDLE_STATS
1203
1204config CPU_HAS_L2_PMU
1205 bool "L2CC PMU Support"
1206 help
1207 Select this if the L2 cache controller has a Performance Monitoring Unit.
1208
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001209config HTC_HEADSET
1210 tristate "HTC 2 Wire detection driver"
1211 default n
1212 help
1213 Provides support for detecting HTC 2 wire devices, such as wired
1214 headset, on the trout platform. Can be used with the msm serial
1215 debugger, but not with serial console.
1216
1217config TROUT_BATTCHG
1218 depends on MACH_TROUT && POWER_SUPPLY
1219 default y
1220 bool "Trout battery / charger driver"
1221
1222config HTC_PWRSINK
1223 depends on MSM_SMD
1224 default n
1225 bool "HTC Power Sink Driver"
1226
1227config QSD_SVS
1228 bool "QSD Static Voltage Scaling"
1229 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1230 default y
1231 select TPS65023
1232 help
1233 Enables static voltage scaling using the TPS65023 PMIC.
1234
1235config QSD_PMIC_DEFAULT_DCDC1
1236 int "PMIC default output voltage"
1237 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1238 default 1250
1239 help
1240 This is the PMIC voltage at Linux kernel boot.
1241
1242config MSM_FIQ_SUPPORT
1243 default y
1244 bool "Enable installation of an FIQ handler."
1245
1246config MSM_SERIAL_DEBUGGER
1247 select MSM_FIQ_SUPPORT
1248 select KERNEL_DEBUGGER_CORE
1249 default n
1250 bool "FIQ Mode Serial Debugger"
1251 help
1252 The FIQ serial debugger can accept commands even when the
1253 kernel is unresponsive due to being stuck with interrupts
1254 disabled. Depends on the kernel debugger core in drivers/misc.
1255
1256config MSM_SERIAL_DEBUGGER_CONSOLE
1257 depends on MSM_SERIAL_DEBUGGER
1258 default n
1259 bool "Console on FIQ Serial Debugger port"
1260 help
1261 Enables a console so that printk messages are displayed on
1262 the debugger serial port as the occur.
Brian Swetland9e73c842007-11-26 04:12:13 -08001263
Gregory Beanab78cde2010-09-01 16:26:12 -07001264config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001265 default y
1266 bool "Proc-Comm RPC Interface"
1267 help
1268 Enables a lightweight communications interface to the
1269 baseband processor.
Gregory Beanab78cde2010-09-01 16:26:12 -07001270
Gregory Bean1963a2a2010-08-28 10:05:44 -07001271config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001272 bool "MSM Shared Memory Driver (SMD)"
1273 help
1274 Support for the shared memory interface between the apps
1275 processor and the baseband processor. Provides access to
1276 the "shared heap", as well as virtual serial channels
1277 used to communicate with various services on the baseband
1278 processor.
1279
1280choice
1281 prompt "MSM Shared memory interface version"
1282 depends on MSM_SMD
1283 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1284 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1285
1286 config MSM_SMD_PKG3
1287 bool
1288 prompt "Package 3"
1289
1290 config MSM_SMD_PKG4
1291 bool
1292 prompt "Package 4"
1293endchoice
1294
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001295config MSM_PCIE
1296 bool "MSM PCIe Controller driver"
1297 depends on PCI && PCI_MSI
1298 help
1299 Enables the PCIe functionality by configures PCIe core on
1300 MSM chipset and by enabling the ARM PCI framework extension.
1301
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001302config MSM_RPC_SDIO_XPRT
1303 depends on MSM_SDIO_AL
1304 default y
1305 bool "MSM SDIO XPRT Layer"
1306 help
1307 SDIO Transport Layer for RPC Rouer
1308
1309config MSM_RPC_SDIO_DEBUG
1310 depends on MSM_RPC_SDIO_XPRT
1311 default y
1312 bool "MSM SDIO XPRT debug support"
1313 help
1314 Support for debugging SDIO XPRT
1315
1316config MSM_SMD_DEBUG
1317 depends on MSM_SMD
1318 default y
1319 bool "MSM SMD debug support"
1320 help
1321 Support for debugging the SMD for communication
1322 between the ARM9 and ARM11
1323
1324config MSM_SDIO_AL
1325 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1326 default y
1327 tristate "SDIO-Abstraction-Layer"
1328 help
1329 Support MSM<->MDM Communication over SDIO bus.
1330 MDM SDIO-Client should have pipes support.
1331
1332config MSM_SDIO_DMUX
1333 bool "SDIO Data Mux Driver"
1334 depends on MSM_SDIO_AL
1335 default n
1336 help
1337 Support Muxed Data Channels over SDIO interface.
1338
1339config MSM_BAM_DMUX
1340 bool "BAM Data Mux Driver"
1341 depends on SPS
1342 default n
1343 help
1344 Support Muxed Data Channels over BAM interface.
1345 BAM has a limited number of pipes. This driver
1346 provides a means to support more logical channels
1347 via muxing than BAM could without muxing.
1348
1349config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001350 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001351 default y
1352 bool "MSM N-WAY SMD support"
1353 help
1354 Supports APPS-QDSP SMD communication along with
1355 normal APPS-MODEM SMD communication.
1356
1357config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001358 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001359 default y
1360 bool "MSM N-WAY SMSM support"
1361 help
1362 Supports APPS-QDSP SMSM communication along with
1363 normal APPS-MODEM SMSM communication.
1364
1365config MSM_RESET_MODEM
1366 tristate "Reset Modem Driver"
1367 depends on MSM_SMD
1368 default m
1369 help
1370 Allows the user to reset the modem through a device node.
1371
1372config MSM_SMD_LOGGING
1373 depends on MSM_SMD
1374 default y
1375 bool "MSM Shared Memory Logger"
1376 help
1377 This option exposes the shared memory logger at /dev/smem_log
1378 and a debugfs node named smem_log.
1379
1380 If in doubt, say yes.
1381
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001382config MSM_IPC_LOGGING
1383 bool "MSM Debug Logging for IPC Drivers"
1384 help
1385 This option allows the debug logging for IPC Drivers.
1386
1387 If in doubt, say no.
1388
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001389config MSM_SMD_NMEA
1390 bool "NMEA GPS Driver"
1391 depends on MSM_SMD
1392 default y
1393 help
1394 Enable this to support the NMEA GPS device.
1395
1396 If in doubt, say yes.
1397
1398config MSM_SDIO_TTY
1399 bool "SDIO TTY Driver"
1400 depends on MSM_SDIO_AL
1401 default n
1402 help
1403 Provides a TTY driver SDIO TTY
1404 This driver can be used by user space
1405 applications for passing data through the
1406 SDIO interface.
1407
Devin Kim39bbf562012-07-12 08:20:49 -07001408config MSM_HSIC_TTY
1409 bool "HSIC TTY Driver"
1410 default n
1411 help
1412 Provides a TTY driver HSIC TTY
1413 This driver can be used by user space
1414 applications for passing data through the
1415 HSIC interface.
1416
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001417config MSM_SMD_TTY
1418 bool "SMD TTY Driver"
1419 depends on MSM_SMD
1420 default y
1421 help
1422 Provides TTY interfaces to interact with the modem.
1423
1424 If in doubt, say yes.
1425
1426config MSM_SMD_QMI
1427 bool "SMD QMI Driver"
1428 depends on MSM_SMD
1429 default y
1430 help
1431 Manages network data connections.
1432
1433 If in doubt, say yes.
1434
1435config MSM_SMD_PKT
1436 bool "SMD Packet Driver"
1437 depends on MSM_SMD
1438 default y
1439 help
1440 Provides a binary SMD non-muxed packet port interface.
1441
1442 If in doubt, say yes.
1443
1444config MSM_SDIO_CMUX
1445 bool "SDIO CMUX Driver"
1446 depends on MSM_SDIO_AL
1447 default n
1448 help
1449 Provides a Muxed port interface over SDIO QMI
1450
1451config MSM_DSPS
1452 bool "Sensors DSPS driver"
1453 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1454 default n
1455 help
1456 Provides user-space interface to the sensors manager
1457 to turn on/off the Sensors Processor system clocks.
1458 It is the DSPS responsibility to turn on/off the sensors
1459 themself.
1460 The number of clocks and their name may vary between targets.
1461 It also triggers the PIL to load the DSPS firmware.
1462
1463config MSM_SDIO_CTL
1464 bool "SDIO CTL Driver"
1465 depends on MSM_SDIO_CMUX
1466 default n
1467 help
1468 Provides a binary SDIO control port interface.
1469
1470config MSM_ONCRPCROUTER
1471 depends on MSM_SMD
1472 default n
1473 bool "MSM ONCRPC router support"
1474 help
1475 Support for the MSM ONCRPC router for communication between
1476 the ARM9 and ARM11
1477
1478config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001479 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001480 default n
1481 bool "MSM IPC Router support"
1482 help
1483 Support for the MSM IPC Router for communication between
1484 the APPs and the MODEM
1485
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001486config MSM_IPC_ROUTER_SMD_XPRT
1487 depends on MSM_SMD
1488 depends on MSM_IPC_ROUTER
1489 default n
1490 bool "MSM SMD XPRT Layer"
1491 help
1492 SMD Transport Layer for IPC Router
1493
Karthikeyan Ramasubramanian1668cc62012-09-23 22:23:36 -06001494config MSM_IPC_ROUTER_SECURITY
1495 depends on MSM_IPC_ROUTER
1496 bool "MSM IPC Router Security support"
1497 help
1498 This feature of IPC Router will enforce security rules
1499 configured by a security script from the user-space. IPC Router
1500 once configured with the security rules will ensure that the
1501 sender of the message to a service belongs to the relevant
1502 Linux group as configured by the security script.
1503
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001504config MSM_ONCRPCROUTER_DEBUG
1505 depends on MSM_ONCRPCROUTER
1506 default y
1507 bool "MSM debug ONCRPC router support"
1508 help
1509 Support for debugging the ONCRPC router for communication
1510 between the ARM9 and ARM11
1511
1512config MSM_RPC_LOOPBACK_XPRT
1513 depends on MSM_ONCRPCROUTER
1514 default n
1515 bool "MSM RPC local routing support"
1516 help
1517 Support for routing RPC messages between APPS clients
1518 and APPS servers. Helps in testing APPS RPC framework.
1519
1520config MSM_RPCSERVER_TIME_REMOTE
1521 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1522 default y
1523 bool "Time remote RPC server"
1524 help
1525 The time remote server receives notification of time bases and
1526 reports these events to registered callback functions.
1527
1528config MSM_RPCSERVER_WATCHDOG
1529 depends on MSM_ONCRPCROUTER
1530 default y
1531 bool "Watchdog RPC server"
1532 help
1533 The dog_keepalive server handles watchdog events.
1534
1535config MSM_RPC_WATCHDOG
1536 depends on MSM_ONCRPCROUTER
1537 default n
1538 bool "Watchdog RPC client"
1539 help
1540 The dog_keepalive client module.
1541
1542config MSM_RPC_PING
1543 depends on MSM_ONCRPCROUTER && DEBUG_FS
1544 default m
1545 bool "MSM rpc ping"
1546 help
1547 Implements MSM rpc ping test module.
1548
1549config MSM_RPC_PROC_COMM_TEST
1550 depends on DEBUG_FS && MSM_PROC_COMM
1551 default m
1552 bool "MSM rpc proc comm test"
1553 help
1554 Implements MSM rpc proc comm test module.
1555
1556config MSM_RPC_OEM_RAPI
1557 depends on MSM_ONCRPCROUTER
1558 default m
1559 bool "MSM oem rapi"
1560 help
1561 Implements MSM oem rapi client module.
1562
1563config MSM_RPCSERVER_HANDSET
1564 depends on MSM_ONCRPCROUTER
1565 default y
1566 bool "Handset events RPC server"
1567 help
1568 Support for receiving handset events like headset detect,
1569 headset switch and clamshell state.
1570
1571config MSM_RMT_STORAGE_CLIENT
1572 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1573 default n
1574 bool "Remote Storage RPC client"
1575 help
1576 Provide RPC mechanism for remote processors to access storage
1577 device on apps processor.
1578
1579config MSM_RMT_STORAGE_CLIENT_STATS
1580 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1581 default n
1582 bool "Remote storage RPC client performance statistics"
1583 help
1584 Collects performance statistics and shows this information
1585 through a debugfs file rmt_storage_stats.
1586
1587config MSM_SDIO_SMEM
1588 depends on MSM_SDIO_AL
1589 default n
1590 bool "SDIO SMEM for remote storage"
1591 help
1592 Copies data from remote MDM9K memory to local MSM8x60
1593 memory. Used by remote storage client to shadow
1594 MDM9K filesystem.
1595
1596config MSM_DALRPC
1597 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001598 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001599 help
1600 Supports RPC calls to DAL devices on remote processor cores.
1601
1602config MSM_DALRPC_TEST
1603 tristate "DAL RPC test module"
1604 depends on (MSM_DALRPC && DEBUG_FS)
1605 default m
1606 help
1607 Exercises DAL RPC calls to QDSP6.
1608
1609if CPU_FREQ_MSM
1610
1611config MSM_CPU_FREQ_SET_MIN_MAX
1612 bool "Set Min/Max CPU frequencies."
1613 default n
1614 help
1615 Allow setting min and max CPU frequencies. Sysfs can be used
1616 to override these values.
1617
1618config MSM_CPU_FREQ_MAX
1619 int "Max CPU Frequency"
1620 depends on MSM_CPU_FREQ_SET_MIN_MAX
1621 default 384000
1622
1623config MSM_CPU_FREQ_MIN
1624 int "Min CPU Frequency"
1625 depends on MSM_CPU_FREQ_SET_MIN_MAX
1626 default 245760
1627
1628endif # CPU_FREQ_MSM
1629
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001630config MSM_AVS_HW
1631 bool "Enable Adaptive Voltage Scaling (AVS)"
1632 default n
1633 help
1634 Enable AVS hardware to fine tune voltage at each frequency. The
1635 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1636 fine tune the voltages based on the feedback from the ring
1637 oscillators.
1638
1639config MSM_HW3D
1640 tristate "MSM Hardware 3D Register Driver"
1641 depends on ANDROID_PMEM
1642 default y
1643 help
1644 Provides access to registers needed by the userspace OpenGL|ES
1645 library.
1646
1647config MSM_ADSP
1648 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1649 tristate "MSM ADSP driver"
1650 depends on ANDROID_PMEM
1651 default y
1652 help
1653 Provides access to registers needed by the userspace aDSP library.
1654
1655config ADSP_RPC_VER
1656 hex
1657 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1658 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1659 depends on MSM_ADSP
1660 help
1661 Select proper ADSP RPC version
1662choice
1663 prompt "ADSP RPC version"
1664
1665 default AMSS_7X25_VERSION_2009
1666
1667 config AMSS_7X25_VERSION_2009
1668 bool "2.0.09"
1669
1670 config AMSS_7X25_VERSION_2008
1671 bool "2.0.08"
1672endchoice
1673
1674config MSM7KV2_AUDIO
1675 bool "MSM7K v2 audio"
1676 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1677 default y
1678 help
1679 Enables QDSP5V2-based audio drivers for audio playbacks and
1680 voice call.
1681
1682config MSM_ADSP_REPORT_EVENTS
1683 bool "Report modem events from the DSP"
1684 default y
1685 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1686 help
1687 Normally, only messages from the aDSP are reported to userspace.
1688 With this option, we report events from the aDSP as well.
1689
1690config MSM_QDSP6
1691 tristate "QDSP6 support"
1692 depends on ARCH_QSD8X50 && ANDROID_PMEM
1693 default y
1694 help
1695 Enable support for qdsp6. This provides audio and video functionality.
1696
1697config MSM8X60_AUDIO
1698 tristate "MSM8X60 audio support"
1699 depends on ARCH_MSM8X60 && ANDROID_PMEM
1700 default y
1701 help
1702 Enable support for qdsp6v2. This provides audio functionality.
1703
1704config MSM8X60_FTM_AUDIO_DEVICES
1705 bool "MSM8X60 audio factory test mode support"
1706 depends on MSM8X60_AUDIO
1707 help
1708 Enable support audio factory test mode devices. This is used
1709 in a production line environment.
1710
Ben Romberger45b351c2011-07-20 22:37:27 -07001711config RTAC
1712 bool "MSM8K real-time audio calibration support"
1713 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001714 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001715 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001716 audio operation
1717
1718config MSM7X27A_AUDIO
1719 bool "MSM7X27A audio support"
1720 depends on ARCH_MSM7X27A && MSM_ADSP
1721 default n
1722 help
1723 Enable support for 7x27a. This provides audio functionality.
1724
Justin Pauporea6cd2092011-06-22 16:19:45 -07001725config MSM_PROC_COMM_REGULATOR
Gregory Bean1963a2a2010-08-28 10:05:44 -07001726 bool
Justin Pauporea6cd2092011-06-22 16:19:45 -07001727 depends on MSM_PROC_COMM && REGULATOR
1728 help
1729 Enable regulator framework support for regulators managed by PMLIB
1730 on the modem, and controlled through proccomm calls.
1731
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001732config MSM_VREG_SWITCH_INVERTED
1733 bool "Reverse vreg switch polarity"
1734 default n
1735 help
1736 Reverses the enable and disable for vreg switch.
1737
1738config MSM_DMA_TEST
1739 tristate "MSM DMA test module"
1740 default m
1741 help
1742 Intended to be compiled as a module. Provides a device node
1743 and ioctls for testing the MSM dma system.
1744
1745config WIFI_CONTROL_FUNC
1746 bool "Enable WiFi control function abstraction"
1747 help
1748 Enables Power/Reset/Carddetect function abstraction
1749
1750config WIFI_MEM_PREALLOC
1751 depends on WIFI_CONTROL_FUNC
1752 bool "Preallocate memory for WiFi buffers"
1753 help
1754 Preallocates memory buffers for WiFi driver
1755
1756config QSD_AUDIO
1757 bool "QSD audio"
1758 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1759 default y
1760 help
1761 Provides PCM, MP3, and AAC audio playback.
1762
1763config AUDIO_AAC_PLUS
1764 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1765 bool "AAC+ Audio"
1766 default y
1767 help
1768 Provides AAC+ decoding
1769
1770config AUDIO_ENHANCED_AAC_PLUS
1771 depends on AUDIO_AAC_PLUS
1772 bool "Enhanced AAC+ Audio"
1773 default y
1774 help
1775 Provides Enhanced AAC+ decoding
1776
1777config SURF_FFA_GPIO_KEYPAD
1778 bool "MSM SURF/FFA GPIO keypad"
1779 depends on INPUT_GPIO = "y"
1780 default y
1781 help
1782 Select if the GPIO keypad is attached.
1783
1784config MSM_SLEEP_TIME_OVERRIDE
1785 bool "Allow overriding suspend/sleep time with PM module parameter"
1786 default y
1787 help
1788 Enable the module parameter sleep_time_override. Specified
1789 in units of seconds, it overwrites the normal sleep time of
1790 suspend. The feature is required for automated power management
1791 testing.
1792
1793config MSM_MEMORY_LOW_POWER_MODE
1794 bool "Control the low power modes of memory"
1795 default n
1796 help
1797 The application processor controls whether memory should enter
1798 which low power mode.
1799
1800choice
1801 prompt "Default Memory Low Power Mode during Idle"
1802 depends on MSM_MEMORY_LOW_POWER_MODE
1803 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1804 help
1805 Selects the default low power mode of the memory during idle
1806 sleep.
1807
1808 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1809 bool "Memory active"
1810
1811 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1812 bool "Memory in retention"
1813
1814 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1815 bool "Memory in deep power down"
1816endchoice
1817
1818choice
1819 prompt "Default Memory Low Power Mode during Suspend"
1820 depends on MSM_MEMORY_LOW_POWER_MODE
1821 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1822 help
1823 Selects the default low power mode of the memory during suspend
1824 sleep.
1825
1826 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1827 bool "Memory active"
1828
1829 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1830 bool "Memory in retention"
1831
1832 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1833 bool "Memory in deep power down"
1834endchoice
1835
1836choice
1837 prompt "Power management timeout action"
1838 default MSM_PM_TIMEOUT_HALT
1839 help
1840 Selects the Application Processor's action when Power Management
1841 times out waiting for Modem's handshake.
1842
1843 config MSM_PM_TIMEOUT_HALT
1844 bool "Halt the Application Processor"
1845
1846 config MSM_PM_TIMEOUT_RESET_MODEM
1847 bool "Reset the Modem Processor"
1848
1849 config MSM_PM_TIMEOUT_RESET_CHIP
1850 bool "Reset the entire chip"
1851endchoice
1852
1853config MSM_IDLE_WAIT_ON_MODEM
1854 int "Wait for Modem to become ready for idle power collapse"
1855 default 0
1856 help
1857 If Modem is not ready to handle Application Processor's request
1858 for idle power collapse, wait the number of microseconds in case
1859 Modem becomes ready soon.
1860
Matt Wagantall9274df92011-12-15 11:11:05 -08001861config MSM_RPM_REGULATOR
1862 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001863 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001864 help
1865 Compile in support for the RPM regulator driver, used for setting
1866 voltages and other parameters of the various power rails supplied
1867 by some Qualcomm PMICs.
1868
David Collinsc7642322012-04-04 10:19:12 -07001869config MSM_RPM_REGULATOR_SMD
1870 bool "SMD RPM regulator driver"
1871 depends on REGULATOR
1872 depends on OF
1873 depends on MSM_RPM_SMD
1874 help
1875 Compile in support for the SMD RPM regulator driver which is used for
1876 setting voltages and other parameters of the various power rails
1877 supplied by some Qualcomm PMICs. The SMD RPM regulator driver should
1878 be used on systems which contain an RPM which communicates with the
1879 application processor over SMD.
1880
Stephen Boyd705ff472012-07-09 13:40:05 -07001881config MSM_SUBSYSTEM_RESTART
1882 bool "MSM Subsystem Restart"
1883 help
1884 This option enables the MSM subsystem restart framework.
1885
1886 The MSM subsystem restart framework provides support to boot,
1887 shutdown, and restart subsystems with a reference counted API.
1888 It also notifies userspace of transitions between these states via
1889 sysfs.
1890
1891config MSM_SYSMON_COMM
1892 bool "MSM System Monitor communication support"
1893 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1894 help
1895 This option adds support for MSM System Monitor library, which
1896 provides an API that may be used for notifying subsystems within
1897 the SoC about other subsystems' power-up/down state-changes.
1898
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001899config MSM_PIL
1900 bool "Peripheral image loading"
1901 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001902 default n
1903 help
1904 Some peripherals need to be loaded into memory before they can be
1905 brought out of reset.
1906
1907 Say yes to support these devices.
1908
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001909config MSM_PIL_MODEM
1910 tristate "Modem (ARM11) Boot Support"
1911 depends on MSM_PIL
1912 help
1913 Support for booting and shutting down ARM11 Modem processors.
1914
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001915config MSM_PIL_QDSP6V3
1916 tristate "QDSP6v3 (Hexagon) Boot Support"
1917 depends on MSM_PIL
1918 help
1919 Support for booting and shutting down QDSP6v3 processors (hexagon).
1920 The QDSP6 is a low power DSP used in audio software applications.
1921
Stephen Boydeb819882011-08-29 14:46:30 -07001922config MSM_PIL_QDSP6V4
1923 tristate "QDSP6v4 (Hexagon) Boot Support"
1924 depends on MSM_PIL
1925 help
1926 Support for booting and shutting down QDSP6v4 processors (hexagon).
1927 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1928 software applications.
1929
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001930config MSM_PIL_LPASS_QDSP6V5
1931 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
1932 depends on MSM_PIL
1933 help
Matt Wagantall4e2599e2012-03-21 22:31:35 -07001934 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1935 in low power audio subsystems.
1936
1937config MSM_PIL_MSS_QDSP6V5
1938 tristate "MSS QDSP6v5 (Hexagon) Boot Support"
1939 depends on MSM_PIL
1940 help
1941 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1942 in modem subsystems.
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001943
Matt Wagantalle6e00d52012-03-08 17:39:07 -08001944config MSM_PIL_MBA
1945 tristate "Support for modem self-authentication"
1946 depends on MSM_PIL_MSS_QDSP6V5
1947 help
1948 Support for booting self-authenticating modems using the Modem Boot
1949 Authenticator.
Stephen Boyd322a9922011-09-20 01:05:54 -07001950
1951config MSM_PIL_RIVA
Stephen Boydd89eebe2011-09-28 23:28:11 -07001952 tristate "RIVA (WCNSS) Boot Support"
1953 depends on MSM_PIL
1954 help
1955 Support for booting and shutting down the RIVA processor (WCNSS).
1956 Riva is the wireless subsystem processor used in bluetooth, wireless
1957 LAN, and FM software applications.
1958
1959config MSM_PIL_TZAPPS
1960 tristate "TZApps Boot Support"
1961 depends on MSM_PIL
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07001962 help
1963 Support for booting and shutting down TZApps.
1964
1965 TZApps is an image that runs in the secure processor state. It is
1966 used to decrypt data and perform secure operations on the behalf of
1967 the kernel.
1968
1969config MSM_PIL_DSPS
1970 tristate "DSPS Boot Support"
Stephen Boyd7b973de2012-03-09 12:26:16 -08001971 depends on MSM_PIL
1972 help
1973 Support for booting and shutting down ARM7 DSPS processors.
1974
1975 DSPS is a sensors offloading processor used for applications such
1976 as rotation detection, temperature, etc.
Matt Wagantall292aace2012-01-26 19:12:34 -08001977
1978config MSM_PIL_VIDC
1979 tristate "Video Core Secure Boot Support"
1980 depends on MSM_PIL
1981 help
1982 Support for authenticating the video core image.
1983
Tianyi Gou828798d2012-05-02 21:12:38 -07001984config MSM_PIL_VENUS
1985 tristate "VENUS (Video) Boot Support"
1986 depends on MSM_PIL
1987 help
1988 Support for booting and shutting down the VENUS processor (Video).
1989 Venus is the Video subsystem processor used for video codecs.
1990
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001991config MSM_PIL_GSS
1992 tristate "GSS (Coretx A5) Boot Support"
1993 depends on MSM_PIL
1994 help
1995 Support for booting and shutting down Cortex A5 processors which run
1996 GPS subsystem firmware.
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001997
Tianyi Gouc1e049f82011-11-23 14:20:16 -08001998config MSM_PIL_PRONTO
1999 tristate "PRONTO (WCNSS) Boot Support"
2000 depends on MSM_PIL
2001 help
2002 Support for booting and shutting down the PRONTO processor (WCNSS).
2003 PRONTO is the wireless subsystem processor used in bluetooth, wireless
2004 LAN, and FM software applications.
2005
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002006config MSM_SCM
2007 bool "Secure Channel Manager (SCM) support"
2008 default n
2009
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002010config MSM_MODEM_8960
2011 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08002012 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002013 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08002014 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002015 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08002016 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002017
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07002018config MSM_LPASS_8960
2019 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08002020 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07002021 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08002022 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07002023 lpass 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.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07002025
Ankur Nandwanie258cf02011-08-19 10:16:38 -07002026config MSM_WCNSS_SSR_8960
2027 tristate "MSM 8960 WCNSS restart module"
Jeff Johnsondf929982012-11-02 17:35:26 -07002028 depends on ARCH_MSM8960
2029 depends on WCNSS_CORE
Ankur Nandwanie258cf02011-08-19 10:16:38 -07002030 help
2031 This option enables the WCNSS restart module for MSM8960, which
2032 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
2033 into the subsystem restart framework.
2034
Rohit Vaswanid0fb4182012-03-19 18:07:59 -07002035config MSM_GSS_SSR_8064
2036 bool "MSM 8064 GSS restart driver"
2037 depends on (ARCH_APQ8064)
2038 help
2039 This option enables the gps subsystem restart driver for APQ8064, which monitors
2040 gss hardware watchdog interrupt lines and plugs into the subsystem
2041 restart and PIL drivers.
2042
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002043config SCORPION_Uni_45nm_BUG
2044 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
2045 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
2046 default y
2047 help
2048 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
2049 invalidating the Branch Predictor Array by Modified Virtual Address can
2050 create invalid entries in the TLB with the wrong ASID values on Scorpion
2051 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
2052 workaround for Scorpion Uniprocessor 45nm cores.
2053
2054 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
2055
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002056config MSM_BUSPM_DEV
2057 tristate "MSM Bus Performance Monitor Kernel Module"
2058 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
2059 default m
2060 help
2061 This kernel module is used to mmap() hardware registers for the
2062 performance monitors, counters, etc. The module can also be used to
2063 allocate physical memory which is used by bus performance hardware to
2064 dump performance data.
2065
Mona Hossain11c03ac2011-10-26 12:42:10 -07002066config MSM_TZ_LOG
2067 tristate "MSM Trust Zone (TZ) Log Driver"
2068 depends on DEBUG_FS
2069 help
2070 This option enables a driver with a debugfs interface for messages
2071 produced by the Secure code (Trust zone). These messages provide
2072 diagnostic information about TZ operation.
2073
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002074config MSM_RPM_LOG
2075 tristate "MSM Resource Power Manager Log Driver"
2076 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002077 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002078 default n
2079 help
2080 This option enables a driver which can read from a circular buffer
2081 of messages produced by the RPM. These messages provide diagnostic
2082 information about RPM operation. The driver outputs the messages
2083 via a debugfs node.
2084
2085config MSM_RPM_STATS_LOG
2086 tristate "MSM Resource Power Manager Stat Driver"
2087 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002088 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002089 default n
2090 help
2091 This option enables a driver which reads RPM messages from a shared
2092 memory location. These messages provide statistical information about
2093 the low power modes that RPM enters. The drivers outputs the message
2094 via a debugfs node.
2095
Girish Mahadevan898c56d2012-06-05 16:09:19 -06002096config MSM_RPM_RBCPR_STATS_LOG
2097 tristate "MSM Resource Power Manager RPBCPR Stat Driver"
2098 depends on DEBUG_FS
2099 depends on MSM_RPM
2100 help
2101 This option enables a driver which reads RPM messages from a shared
2102 memory location. These messages provide statistical information about
2103 RBCPR (Rapid Bridge Core Power Reduction) information . The drivers
2104 outputs the message via a debugfs node.
2105
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002106config MSM_DIRECT_SCLK_ACCESS
2107 bool "Direct access to the SCLK timer"
2108 default n
2109
2110config IOMMU_API
2111 bool
Gregory Bean1963a2a2010-08-28 10:05:44 -07002112
Brian Swetland9e73c842007-11-26 04:12:13 -08002113config MSM_GPIOMUX
2114 bool
2115
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002116config MSM_SECURE_IO
Brian Swetland9e73c842007-11-26 04:12:13 -08002117 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002118
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002119config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002120 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002121
Taniya Dascd1d0232012-07-03 17:50:47 +05302122config MSM_MODEM_RESTART
2123 bool
2124
Matt Wagantall88b86312012-01-31 16:53:03 -08002125config MSM_PM2
2126 depends on PM
2127 bool
2128
2129config MSM_PM8X60
2130 depends on PM
2131 bool
2132
Girish Mahadevan3cdb8602012-09-10 15:30:36 -06002133config MSM_EVENT_TIMER
2134 bool "Event timer"
2135 help
2136 This option enables a modules that manages a list of event timers that
2137 need to be monitored by the PM. The enables the PM code to monitor
2138 events that require the core to be awake and ready to handle the
2139 event.
2140
Matt Wagantall88b86312012-01-31 16:53:03 -08002141config MSM_NOPM
2142 default y if !PM
2143 bool
2144
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002145config MSM_BUS_SCALING
2146 bool "Bus scaling driver"
2147 default n
2148
Gagan Mac85c70492011-06-10 16:07:47 -06002149config MSM_BUS_RPM_MULTI_TIER_ENABLED
2150 bool "RPM Multi-tiering Configuration"
2151 depends on MSM_BUS_SCALING
2152
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002153config MSM_WATCHDOG
2154 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002155 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002156 help
2157 This enables the watchdog as is present on 8x60. Currently we use
2158 core 0's watchdog, and reset the entire SoC if it times out. It does
2159 not run during the bootup process, so it will not catch any early
2160 lockups.
2161
Hanumant Singhd1f01022012-07-05 14:21:53 -07002162config MSM_WATCHDOG_V2
2163 bool "MSM Watchdog Support"
2164 help
2165 This enables the watchdog module. It causes kernel panic if the
2166 watchdog times out. It allows for detection of cpu hangs and
2167 deadlocks. It does not run during the bootup process, so it will
2168 not catch any early lockups.
2169
Hanumant Singh5e2541c2012-07-31 14:41:14 -07002170config MSM_MEMORY_DUMP
2171 bool "MSM Memory Dump Support"
2172 help
2173 This enables memory dump feature. It allows various client
2174 subsystems to register respective dump regions. At the time
2175 of deadlocks or cpu hangs these dump regions are captured to
2176 give a snapshot of the system at the time of the crash.
2177
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002178config MSM_DLOAD_MODE
2179 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07002180 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002181 default n
2182 help
2183 This makes the SoC enter download mode when it resets
2184 due to a kernel panic. Note that this doesn't by itself
2185 make the kernel reboot on a kernel panic - that must be
2186 enabled via another mechanism.
2187
Pratik Patel17f3b822011-11-21 12:41:47 -08002188config MSM_JTAG
Pratik Patele1c55072013-01-27 20:30:42 -08002189 bool "Debug and ETM trace support across power collapse"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002190 help
Pratik Patele1c55072013-01-27 20:30:42 -08002191 Enables support for debugging (specifically breakpoints) and ETM
Pratik Patel2963de42012-05-17 12:43:40 -07002192 processor tracing across power collapse both for JTag and OS hosted
2193 software running on the target. Enabling this will ensure debug
2194 and ETM registers are saved and restored across power collapse.
2195
Pratik Patele1c55072013-01-27 20:30:42 -08002196 If unsure, say 'N' here to avoid potential power, performance and
2197 memory penalty.
Pratik Patel7831c082011-06-08 21:44:37 -07002198
Pushkar Joshief5b46f2012-12-15 18:59:03 -08002199config MSM_JTAG_MM
2200 bool "Debug and ETM trace support across power collapse using memory mapped access"
2201 help
2202 Enables support for debugging (specifically breakpoints) and ETM
2203 processor tracing across power collapse both for JTag and OS hosted
2204 software running on the target. Enabling this will ensure debug
2205 and ETM registers are saved and restored across power collapse.
2206
2207 Required on targets on which cp14 access to debug and ETM registers is
2208 not permitted and so memory mapped access is necessary.
2209
2210 If unsure, say 'N' here to avoid potential power, performance and
2211 memory penalty.
2212
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002213config MSM_ETM
2214 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002215 depends on ARCH_MSM8X60
Pratik Pateldd6b4ed2013-01-29 13:54:43 -08002216 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002217 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002218 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002219
Lynus Vazdde09ee2012-01-05 13:28:22 +05302220config MSM_SLEEP_STATS_DEVICE
2221 bool "Enable exporting of MSM sleep device stats to userspace"
2222
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302223config MSM_RUN_QUEUE_STATS
2224 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Krishna Vankae2922052012-03-02 09:59:12 +05302225 depends on (MSM_SOC_REV_A || ARCH_MSM8X60 || ARCH_MSM8960)
2226 help
2227 This option enalbes statistics collection on Run Queue. A daemon
2228 in user mode, called MPDecision will be using this data to decide
2229 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302230
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002231config MSM_STANDALONE_POWER_COLLAPSE
2232 bool "Enable standalone power collapse"
2233 default n
2234
2235config MSM_GSBI9_UART
2236 bool "Enable GSBI9 UART device"
2237 default n
2238 help
2239 This enables GSBI9 configured into UART.
2240
2241config MSM_SHARED_GPIO_FOR_UART2DM
2242 bool "Use shared GPIOs into UART mode"
2243 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2244 help
2245 This option configures GPIO muxed with SDC4/MMC3
2246 8-bit mode into UART mode. It is used for serial
2247 console on UART2DM. Say Y if you want to have
2248 serial console on UART2DM.
2249
2250config MSM_SHOW_RESUME_IRQ
2251 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002252 depends on (ARM_GIC || PMIC8058)
2253 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002254 default n
2255 help
2256 This option logs wake up interrupts that have triggered just before
2257 the resume loop unrolls. Say Y if you want to debug why the system
2258 resumed.
2259
2260config BT_MSM_PINTEST
2261 tristate "MSM Bluetooth Pin Connectivity Test"
2262 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2263 default n
2264 help
2265 Bluetooth MSM Pin Connectivity test module.
2266 This driver provides support for verifying the MSM to BT pin
2267 connectivity.
2268
2269config MSM_FAKE_BATTERY
2270 depends on POWER_SUPPLY
2271 default n
2272 bool "MSM Fake Battery"
2273 help
2274 Enables MSM fake battery driver.
2275
2276config MSM_QDSP6_APR
2277 bool "Audio QDSP6 APR support"
2278 depends on MSM_SMD
2279 default n
2280 help
2281 Enable APR IPC protocol support between
2282 application processor and QDSP6. APR is
2283 used by audio driver to configure QDSP6's
2284 ASM, ADM and AFE.
2285
Joonwoo Park91d95462012-08-02 10:55:54 -07002286config MSM_QDSP6_APRV2
2287 bool "Audio QDSP6 APRv2 support"
2288 depends on MSM_SMD
2289 default n
2290 help
2291 Enable APRv2 IPC protocol support between
2292 application processor and QDSP6. APR is
2293 used by audio driver to configure QDSP6's
2294 ASM, ADM and AFE.
2295
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -07002296config MSM_QDSP6_CODECS
2297 bool "Audio Codecs on QDSP6 APR "
2298 depends on MSM_SMD
2299 default n
2300 help
2301 Enable Audio codecs with APR IPC protocol support between
2302 application processor and QDSP6. APR is
2303 used by audio driver to configure QDSP6's
2304 ASM, ADM and AFE.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002305
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002306config MSM_QDSP6V2_CODECS
2307 bool "Audio QDSP6V2 APR support"
2308 depends on MSM_SMD
2309 help
2310 Enable Audio codecs with APR IPC protocol support between
2311 application processor and QDSP6 for B-family. APR is
2312 used by audio driver to configure QDSP6's
2313 ASM, ADM and AFE.
2314
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002315config MSM_AUDIO_QDSP6
2316 bool "QDSP6 HW Audio support"
2317 select SND_SOC_MSM_QDSP6_INTF
2318 default n
2319 help
2320 Enable HW audio support in QDSP6.
2321 QDSP6 can support HW encoder & decoder and audio processing
2322
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002323config MSM_AUDIO_QDSP6V2
2324 bool "QDSP6V2 HW Audio support"
2325 select SND_SOC_MSM_QDSP6V2_INTF
2326 help
2327 Enable HW audio support in QDSP6V2.
2328 QDSP6V2 can support HW encoder & decoder and
2329 audio processing. It will enable support for
2330 AAC, AMRNB, AMRWB, EVRC, MP3, QCELP among
2331 others.
2332
Joonwoo Park4a14a552012-08-02 11:03:21 -07002333config MSM_ADSP_LOADER
2334 tristate "ADSP loader support"
2335 select SND_SOC_MSM_APRV2_INTF
2336 depends on MSM_AUDIO_QDSP6V2 && m
2337 help
2338 Enable ADSP image loader.
2339 The ADSP loader brings ADSP out of reset
2340 for the platforms that use APRv2.
2341 Say M if you want to enable this module.
2342
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002343config MSM_ULTRASOUND
2344 bool "MSM ultrasound support"
2345 depends on MSM_AUDIO_QDSP6
2346 help
2347 Enable support for qdsp6/ultrasound.
2348
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002349config MSM_RPC_VIBRATOR
2350 bool "RPC based MSM Vibrator Support"
2351 depends on MSM_ONCRPCROUTER
2352 help
2353 Enable the vibrator support on MSM over RPC. The vibrator
2354 is connected on the PMIC. Say Y if you want to enable this
2355 feature.
2356
2357config PM8XXX_RPC_VIBRATOR
2358 bool "RPC based Vibrator on PM8xxx PMICs"
2359 depends on MSM_RPC_VIBRATOR
2360 help
2361 Enable the vibrator support on MSM over RPC. The vibrator
2362 is connected on the PM8XXX PMIC. Say Y if you want to enable
2363 this feature.
2364
2365config MSM_SPM_V1
2366 bool "Driver support for SPM Version 1"
2367 help
2368 Enables the support for Version 1 of the SPM driver. SPM hardware is
2369 used to manage the processor power during sleep. The driver allows
2370 configuring SPM to allow different power modes.
2371
2372config MSM_SPM_V2
2373 bool "Driver support for SPM Version 2"
2374 help
2375 Enables the support for Version 2 of the SPM driver. SPM hardware is
2376 used to manage the processor power during sleep. The driver allows
2377 configuring SPM to allow different power modes.
2378
2379config MSM_L2_SPM
2380 bool "SPM support for L2 cache"
2381 depends on MSM_SPM_V2
2382 help
2383 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2384 control of L2 cache low power mode with a Subsystem Power manager.
2385 Enabling this driver allows configuring L2 SPM for low power modes
2386 on supported chipsets.
2387
Laura Abbott2d1760b2011-09-29 21:31:24 -07002388config MSM_MULTIMEDIA_USE_ION
2389 bool "Multimedia suport using Ion"
2390 depends on ION_MSM
2391 help
2392 Enable support for multimedia drivers using Ion for buffer management
2393 instead of pmem. Selecting this may also involve userspace
2394 dependencies as well.
2395
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002396config MSM_OCMEM
2397 bool "MSM On-Chip memory driver (OCMEM)"
2398 help
2399 Enable support for On-Chip Memory available on certain MSM chipsets.
2400 OCMEM is a low latency, high performance pool shared by subsystems.
2401
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002402config MSM_OCMEM_LOCAL_POWER_CTRL
2403 bool "OCMEM Local Power Control"
2404 depends on MSM_OCMEM
2405 help
2406 Enable direct power management of the OCMEM core by the
2407 OCMEM driver. By default power management is delegated to
2408 the RPM. Selecting this option causes the OCMEM driver to
2409 directly handle the various macro power transitions.
2410
2411config MSM_OCMEM_DEBUG
2412 bool "OCMEM Debug Support"
2413 depends on MSM_OCMEM
2414 help
2415 Enable debug options for On-chip Memory (OCMEM) driver.
2416 Various debug options include memory, power and latency.
2417 Choosing one of these options allows debugging of each
2418 individual subsystem separately.
2419
Naveen Ramaraj46261f62012-08-20 12:35:52 -07002420config MSM_OCMEM_NONSECURE
2421 bool "OCMEM Non Secure Mode"
2422 depends on MSM_OCMEM_DEBUG
2423 help
2424 Disable OCMEM interaction with secure processor.
2425 By default OCMEM is secured and accesses for each master
2426 is requested by the OCMEM driver. Selecting this option
2427 causes the OCMEM memory to be in non-secure state unless
2428 its locked down by the secure processor.
2429
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002430config MSM_OCMEM_POWER_DEBUG
2431 bool "OCMEM Power Debug Support"
2432 depends on MSM_OCMEM_DEBUG
2433 help
2434 Enable debug support for OCMEM power management.
2435 This adds support for verifying all power management
2436 related operations of OCMEM. Both local power management
2437 and RPM assisted power management operations are supported.
2438
Naveen Ramaraj4b1d9392012-08-06 21:05:14 -07002439config MSM_OCMEM_POWER_DISABLE
2440 bool "OCMEM Disable Power Control"
2441 depends on MSM_OCMEM_DEBUG
2442 help
2443 Disable all OCMEM power management.
2444 This keeps all OCMEM macros turned ON at all times thus
2445 never allowing them to be turned OFF. Both local power
2446 management and RPM assisted power modes are supported.
2447
Laura Abbottad340ff2012-01-04 14:23:48 -08002448config MSM_RTB
2449 bool "Register tracing"
2450 help
2451 Add support for logging different events to a small uncached
2452 region. This is designed to aid in debugging reset cases where the
2453 caches may not be flushed before the target resets.
2454
2455config MSM_RTB_SEPARATE_CPUS
2456 bool "Separate entries for each cpu"
2457 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002458 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002459 help
2460 Under some circumstances, it may be beneficial to give dedicated space
2461 for each cpu to log accesses. Selecting this option will log each cpu
2462 separately. This will guarantee that the last acesses for each cpu
2463 will be logged but there will be fewer entries per cpu
2464
Stepan Moskovchenko57884842012-06-07 17:35:49 -07002465config MSM_EBI_ERP
2466 bool "External Bus Interface (EBI) error reporting"
2467 help
2468 Say 'Y' here to enable reporting of external bus interface errors to
2469 the kernel log. Information such as the offending address and
2470 transaction type will be logged. This may be useful for debugging
2471 seemingly broken memory accesses.
2472
2473 For production builds, you should probably say 'N' here.
2474
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002475config MSM_CACHE_ERP
2476 bool "Cache / CPU error reporting"
2477 depends on ARCH_MSM_KRAIT
2478 help
2479 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2480 log. Enabling this feature can be used as a system debugging technique
2481 if cache corruption is suspected. Cache error statistics will also be
2482 reported in /proc/cpu/msm_cache_erp.
2483
2484 For production builds, you should probably say 'N' here.
2485
2486config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002487 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002488 depends on MSM_CACHE_ERP
2489 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002490 To cause the kernel to panic whenever an L1 cache error is detected, say
2491 'Y' here. This may be useful as a debugging technique if general system
2492 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002493
2494 For production builds, you should probably say 'N' here.
2495
Neha Pandeybb9ceed2013-05-20 17:38:16 -07002496config MSM_L1_RECOV_ERR_PANIC
2497 bool "Panic on recoverable L1 cache errors"
2498 depends on MSM_CACHE_ERP && MSM_L1_ERR_PANIC
2499 help
2500 Certain CPU designs may be able to automatically recover from certain
2501 kinds of L1 cache errors, even though the L1 cache itself may not
2502 support error correction. These errors should not result in any kind
2503 of corruption, but their presence is nevertheless an indication of
2504 poor system health. To cause the kernel to panic whenever a
2505 recoverable L1 cache error is detected, say 'Y' here. This may be
2506 useful as a debugging technique if general system instability is
2507 suspected.
2508
2509 For production builds, you should definitely say 'N' here.
2510
Stepan Moskovchenko7035f652012-05-31 17:48:01 -07002511config MSM_L1_ERR_LOG
2512 bool "Log CPU ERP events to system memory"
2513 depends on MSM_CACHE_ERP
2514 help
2515 Enable logging CPU ERP events to an area of memory that will be
2516 preserved across a system reset. This may be useful for detecting and
2517 troubleshooting ERP-related system crashes in the field.
2518
2519 For production builds, you may want to say 'Y' here.
2520
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002521config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2522 bool "Report L2 master port slave/decode errors in kernel log"
2523 depends on MSM_CACHE_ERP
2524 help
2525 Master port errors can occur when a memory request is not properly
2526 handled by the destination slave. This can occur if the destination
2527 register does not exist or is inaccessible due to security
2528 restrictions or (in some cases) clock configuration. Enabling this
2529 option will cause a backtrace to be printed to the kernel log whenever
2530 such an error is encountered. Note that the error is reported as an
2531 interrupt rather than as an exception, meaning that the backtrace may
2532 have some skid. This option may help with debugging, though production
2533 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002534
2535config MSM_L2_ERP_PORT_PANIC
2536 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002537 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002538 help
2539 Master port errors can occur when a memory request is not properly
2540 handled by the destination slave. Enable this option to catch drivers
2541 which attempt to access bad areas of the address space, or access
2542 hardware registers in an improper state (such as certain clocks not
2543 being on). This option may help with debugging, though production
2544 builds should probably say 'N' here.
2545
2546config MSM_L2_ERP_1BIT_PANIC
2547 bool "Panic on recoverable L2 soft errors"
2548 depends on MSM_CACHE_ERP
2549 help
2550 Enable this option to cause a kernel panic whenever the L2 cache
2551 encounters a single-bit (correctable) soft error. This option should
2552 only be enabled when doing low-level debugging where cache corruption
2553 is suspected.
2554
2555 For production builds, you should definitely say 'N' here.
2556
2557config MSM_L2_ERP_2BIT_PANIC
2558 bool "Panic on unrecoverable L2 soft errors"
2559 depends on MSM_CACHE_ERP
2560 help
2561 Enable this option to cause a kernel panic whenever the L2 cache
2562 encounters a double-bit (non-correctable) soft error. Debug builds
2563 will likely benefit from having this option enabled to catch cache
2564 problems as soon as possible.
2565
2566 For production builds, it may be acceptable to say 'N' here, since
2567 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002568
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002569config MSM_DCVS
2570 bool "Use MSM DCVS for CPU/GPU Frequency control"
2571 depends on MSM_SCM
2572 help
2573 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2574 The DCVS manager allows idle driver to feed the idle information to the
2575 algorithm and the algorithm returns a frequency for the core which is
2576 passed to the frequency change driver.
2577
Pankaj Kumar32ce1ea2012-04-04 20:29:29 +05302578config MSM_CPR
2579 tristate "Use MSM CPR in S/W mode"
2580 help
2581 Enable CPR (core power reduction) in S/W mode, where the processor
2582 get's the notification from CPR block and programs the PMIC.
2583
2584config MSM_VP_REGULATOR
2585 tristate "Use MSM PMIC8029 C2 regulator"
2586 depends on ARCH_MSM8625
2587 help
2588 Enable MSM PMIC8029 C2 regulator support using APC_PLEVEL access
2589 for MSMs like 8625.
2590
Taniya Dasc43e6872012-03-21 16:41:14 +05302591config HAVE_ARCH_HAS_CURRENT_TIMER
2592 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002593
2594config MSM_CACHE_DUMP
2595 bool "Cache dumping support"
2596 help
2597 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2598 This allows for analysis of the caches in case cache corruption is
2599 suspected.
2600
Laura Abbott7b637362012-03-29 16:43:49 -07002601config MSM_CACHE_DUMP_ON_PANIC
2602 bool "Dump caches on panic"
2603 depends on MSM_CACHE_DUMP
2604 help
2605 By default, the caches are flushed on panic. This means that trying to
2606 look at them in a RAM dump will give useless data. Select this if you
2607 want to dump the L1 and L2 caches on panic before any flush occurs.
2608 If unsure, say N
2609
Jack Phamccbbfab2012-04-09 19:50:20 -07002610config MSM_HSIC_SYSMON
2611 tristate "MSM HSIC system monitor driver"
2612 depends on USB
2613 help
2614 Add support for bridging with the system monitor interface of MDM
2615 over HSIC. This driver allows the local system monitor to
2616 communicate with the remote system monitor interface.
2617
2618config MSM_HSIC_SYSMON_TEST
2619 tristate "MSM HSIC system monitor bridge test"
2620 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2621 help
2622 Enable the test hook for the Qualcomm system monitor HSIC driver.
2623 This will create a debugfs file entry named "hsic_sysmon_test" which
2624 can be read and written to send character data to the sysmon port of
2625 the modem over USB.
2626
Jay Chokshi434f1af2012-12-06 20:48:23 -08002627config MSM_CPU_PWRCTL
2628 bool "Ensures that krait droop detectors are always off"
2629 help
2630 Droop detector mechanism can adversely affect krait plls during
2631 stand alone power collapse operation. Selecting this option
2632 ensures that they are always off.
2633
Brian Swetland9e73c842007-11-26 04:12:13 -08002634endif