blob: 5331f2cefea2e890b60959052b2a96c97a00c3a9 [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 MEMORY_HOTPLUG
54 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -080055 select ARCH_ENABLE_MEMORY_HOTPLUG
56 select ARCH_ENABLE_MEMORY_HOTREMOVE
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070057 select MIGRATION
58 select ARCH_MEMORY_PROBE
59 select ARCH_MEMORY_REMOVE
Gregory Beanab78cde2010-09-01 16:26:12 -070060 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070061 select RESERVE_FIRST_PAGE
62 select MSM_DALRPC
63 select MSM_SPM_V1
64 select REGULATOR
Justin Paupore637a25d2011-07-14 17:11:04 -070065 select MSM_PROC_COMM_REGULATOR
Taniya Dasbae99fb2011-10-12 09:55:13 +053066 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -080067 select MSM_PM2 if PM
Chintan Pandyabb021762012-06-21 15:03:29 +053068 select HOLES_IN_ZONE if SPARSEMEM
Taniya Dascd1d0232012-07-03 17:50:47 +053069 select MSM_MODEM_RESTART
Daniel Walker7b521612010-05-06 12:44:57 -070070
Daniel Walker4ad15e62010-05-06 13:54:17 -070071config ARCH_QSD8X50
72 bool "QSD8X50"
73 select ARCH_MSM_SCORPION
Daniel Walker4ad15e62010-05-06 13:54:17 -070074 select MSM_VIC
75 select CPU_V7
David Brown74d10d72011-05-16 13:57:39 -070076 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070077 select MSM_REMOTE_SPINLOCK_LDREX
78 select CPU_USE_DOMAINS
79 select EMULATE_DOMAIN_MANAGER_V7
Gregory Beanab78cde2010-09-01 16:26:12 -070080 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070081 select MSM_DALRPC
Matt Wagantall88b86312012-01-31 16:53:03 -080082 select MSM_PM2 if PM
Taniya Dascd1d0232012-07-03 17:50:47 +053083 select MSM_MODEM_RESTART
Daniel Walker46fe5f22010-08-18 11:00:25 -070084
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070085config ARCH_MSM8X60
86 bool "MSM8X60"
Jeff Ohlsteine14411d2010-11-30 13:06:36 -080087 select ARCH_MSM_SCORPIONMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070088 select SMP_PARALLEL_START if SMP
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070089 select ARM_GIC
90 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070091 select MSM_REMOTE_SPINLOCK_LDREX
92 select ARCH_REQUIRE_GPIOLIB
93 select MSM_ADM3
94 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -080095 select MSM_RPM_REGULATOR
David Brown1a5ab4b2011-05-16 15:53:38 -070096 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070097 select MSM_PIL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070098 select ARCH_HAS_CPU_IDLE_WAIT
99 select MSM_DIRECT_SCLK_ACCESS
100 select MSM_RPM
101 select MSM_XO
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700102 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700103 select MSM_BUS_SCALING
104 select MSM_SECURE_IO
105 select MSM_DALRPC
106 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700107 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700108 select MSM_NATIVE_RESTART
109 select ARCH_INLINE_SPIN_TRYLOCK
110 select ARCH_INLINE_SPIN_TRYLOCK_BH
111 select ARCH_INLINE_SPIN_LOCK
112 select ARCH_INLINE_SPIN_LOCK_BH
113 select ARCH_INLINE_SPIN_LOCK_IRQ
114 select ARCH_INLINE_SPIN_LOCK_IRQSAVE
115 select ARCH_INLINE_SPIN_UNLOCK
116 select ARCH_INLINE_SPIN_UNLOCK_BH
117 select ARCH_INLINE_SPIN_UNLOCK_IRQ
118 select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
119 select ARCH_INLINE_READ_TRYLOCK
120 select ARCH_INLINE_READ_LOCK
121 select ARCH_INLINE_READ_LOCK_BH
122 select ARCH_INLINE_READ_LOCK_IRQ
123 select ARCH_INLINE_READ_LOCK_IRQSAVE
124 select ARCH_INLINE_READ_UNLOCK
125 select ARCH_INLINE_READ_UNLOCK_BH
126 select ARCH_INLINE_READ_UNLOCK_IRQ
127 select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
128 select ARCH_INLINE_WRITE_TRYLOCK
129 select ARCH_INLINE_WRITE_LOCK
130 select ARCH_INLINE_WRITE_LOCK_BH
131 select ARCH_INLINE_WRITE_LOCK_IRQ
132 select ARCH_INLINE_WRITE_LOCK_IRQSAVE
133 select ARCH_INLINE_WRITE_UNLOCK
134 select ARCH_INLINE_WRITE_UNLOCK_BH
135 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
136 select CPU_HAS_L2_PMU
137 select MSM_SPM_V1
Stephen Boyd2a1eb582010-08-27 10:01:23 -0700138 select MSM_SCM if SMP
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530139 select MULTI_IRQ_HANDLER
Laura Abbott46505f62011-11-02 18:06:55 -0700140 select MSM_MULTIMEDIA_USE_ION
Matt Wagantall88b86312012-01-31 16:53:03 -0800141 select MSM_PM8X60 if PM
Krishna Vankae2922052012-03-02 09:59:12 +0530142 select MSM_RUN_QUEUE_STATS
Laura Abbottb14ed962012-01-30 14:18:08 -0800143 select ARM_HAS_SG_CHAIN
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700144
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800145config ARCH_MSM8960
146 bool "MSM8960"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700147 select ARCH_MSM_KRAITMP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800148 select ARM_GIC
149 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700150 select GPIO_MSM_V2
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800151 select MSM_GPIOMUX
152 select MSM_SCM if SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700153 select MSM_DIRECT_SCLK_ACCESS
154 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -0800155 select MSM_RPM_REGULATOR
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700156 select MSM_RPM
157 select MSM_XO
158 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700159 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700160 select MSM_PIL
161 select MSM_AUDIO_QDSP6 if SND_SOC
162 select CPU_HAS_L2_PMU
163 select MSM_SPM_V2
164 select MSM_L2_SPM
165 select MSM_NATIVE_RESTART
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700166 select DONT_MAP_HOLE_AFTER_MEMBANK0
167 select MSM_REMOTE_SPINLOCK_SFPB
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700168 select ARCH_SPARSEMEM_ENABLE
169 select ARCH_HAS_HOLES_MEMORYMODEL
Larry Basseld4d82c92011-12-07 09:52:49 -0800170 select CLEANCACHE
171 select QCACHE
Laura Abbott6d61a912011-10-27 16:44:14 -0700172 select MSM_MULTIMEDIA_USE_ION
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530173 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800174 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700175 select HOLES_IN_ZONE if SPARSEMEM
Krishna Vankae2922052012-03-02 09:59:12 +0530176 select MSM_RUN_QUEUE_STATS
Laura Abbottb14ed962012-01-30 14:18:08 -0800177 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700178 select MSM_KRAIT_WFE_FIXUP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800179
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700180config ARCH_MSM8930
181 bool "MSM8930"
182 select ARCH_MSM_KRAITMP
183 select ARM_GIC
184 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700185 select GPIO_MSM_V2
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700186 select MSM_GPIOMUX
187 select MSM_SCM if SMP
188 select MSM_DIRECT_SCLK_ACCESS
189 select REGULATOR
David Collins5779cea2012-01-05 15:09:21 -0800190 select MSM_RPM_REGULATOR
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700191 select MSM_RPM
192 select MSM_XO
193 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700194 select MSM_QDSP6_CODECS
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700195 select MSM_PIL
196 select MSM_AUDIO_QDSP6 if SND_SOC
197 select CPU_HAS_L2_PMU
198 select MSM_SPM_V2
199 select MSM_L2_SPM
200 select MSM_NATIVE_RESTART
201 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600202 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700203 select ARCH_SPARSEMEM_ENABLE
204 select ARCH_HAS_HOLES_MEMORYMODEL
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +0200205 select MSM_ULTRASOUND
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530206 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800207 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700208 select HOLES_IN_ZONE if SPARSEMEM
Laura Abbottb14ed962012-01-30 14:18:08 -0800209 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700210 select MSM_KRAIT_WFE_FIXUP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700211
212config ARCH_APQ8064
213 bool "APQ8064"
214 select ARCH_MSM_KRAITMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700215 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700216 select ARM_GIC
217 select CPU_V7
218 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700219 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600220 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800221 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800222 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700223 select MSM_QDSP6_CODECS
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800224 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530225 select MULTI_IRQ_HANDLER
Praveen Chidambaram78499012011-11-01 17:15:17 -0600226 select MSM_RPM
227 select MSM_SPM_V2
228 select MSM_L2_SPM
Matt Wagantall88b86312012-01-31 16:53:03 -0800229 select MSM_PM8X60 if PM
Neil Leeder814d3d32012-01-19 17:21:43 -0500230 select CPU_HAS_L2_PMU
Laura Abbott085dd202012-03-30 14:02:34 -0700231 select HOLES_IN_ZONE if SPARSEMEM
Larry Bassel67b921d2012-04-06 10:23:27 -0700232 select CLEANCACHE
233 select QCACHE
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -0600234 select MIGHT_HAVE_PCI
235 select ARCH_SUPPORTS_MSI
Laura Abbottb14ed962012-01-30 14:18:08 -0800236 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700237 select MSM_KRAIT_WFE_FIXUP
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
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -0700257 select MSM_QDSP6_APR
258 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
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700264config ARCH_FSM9XXX
265 bool "FSM9XXX"
266 select ARCH_MSM_SCORPION
267 select MSM_VIC
268 select CPU_V7
269 select MSM_REMOTE_SPINLOCK_LDREX
Steve Mucklef132c6c2012-06-06 18:30:57 -0700270 select GPIO_FSM9XXX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530271 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800272 select MSM_DALRPC
Daniel Walker4ad15e62010-05-06 13:54:17 -0700273
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700274config ARCH_MSM9615
275 bool "MSM9615"
276 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530277 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700278 select ARCH_MSM_CORTEX_A5
279 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700280 select GPIO_MSM_V2
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700281 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600282 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600283 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700284 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800285 select REGULATOR
286 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530287 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800288 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800289 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700290 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800291 select MSM_QDSP6_APR
292 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800293 select FIQ
Laura Abbottb14ed962012-01-30 14:18:08 -0800294 select ARM_HAS_SG_CHAIN
Matt Wagantall9274df92011-12-15 11:11:05 -0800295
Taniya Das43bcdd62011-12-02 17:33:27 +0530296config ARCH_MSM8625
297 bool "MSM8625"
298 select ARCH_MSM_CORTEX_A5
299 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700300 select GPIO_MSM_V1
Taniya Das43bcdd62011-12-02 17:33:27 +0530301 select MSM_GPIOMUX
302 select ARM_GIC
303 select ARCH_MSM_CORTEXMP
304 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530305 select ARM_TICKET_LOCKS
Krishna Vankae2922052012-03-02 09:59:12 +0530306 select MSM_RUN_QUEUE_STATS
Trilok Sonib856ab92012-06-26 14:33:28 +0530307 select MIGHT_HAVE_CACHE_L2X0
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700308
309config ARCH_MSM9625
310 bool "MSM9625"
311 select ARM_GIC
312 select GIC_SECURE
Abhimanyu Kapur490d20c2012-06-22 17:34:20 -0700313 select MIGHT_HAVE_CACHE_L2X0
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700314 select ARCH_MSM_CORTEX_A5
315 select SMP
316 select MSM_SMP
317 select CPU_V7
Jin Hong690e3352012-05-02 09:25:05 -0700318 select MSM_GPIOMUX
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700319 select MULTI_IRQ_HANDLER
Rohit Vaswani61cf6ef2012-07-27 13:51:48 -0700320 select GPIO_MSM_V3
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700321
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700322endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700323
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700324choice
325 prompt "MSM SoC Revision"
326 default MSM_SOC_REV_NONE
327config MSM_SOC_REV_NONE
328 bool "N/A"
329 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
330 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walkerbf83de42010-03-16 16:29:44 -0700331config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700332 bool "Rev. A"
333 select ARCH_MSM7X27A if ARCH_MSM7X27
Daniel Walkerbf83de42010-03-16 16:29:44 -0700334endchoice
335
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700336config MSM_KRAIT_TBB_ABORT_HANDLER
337 bool "Krait TBB/TBH data abort handler"
338 depends on ARCH_MSM_KRAIT
339 depends on ARM_THUMB
340 help
341 Certain early samples of the Krait processor may generate data
342 aborts for TBB / TBH instructions that fail their condition code
343 checks. Enabling this option will ignore these erroneous data aborts,
344 at the expense of a very small performance penalty.
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800345
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700346 If unsure, say N.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700347
348config ARCH_MSM_ARM11
349 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700350
Daniel Walkerbf83de42010-03-16 16:29:44 -0700351config ARCH_MSM_SCORPION
352 bool
353
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700354config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700355 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800356 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700357
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700358config MSM_SMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700359 select HAVE_SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700360 bool
361
362config ARCH_MSM_SCORPIONMP
363 select ARCH_MSM_SCORPION
364 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530365 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700366 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700367 bool
368
369config ARCH_MSM_KRAITMP
370 select ARCH_MSM_KRAIT
371 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530372 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700373 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700374 bool
Steve Mucklef132c6c2012-06-06 18:30:57 -0700375 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700376
Taniya Das43bcdd62011-12-02 17:33:27 +0530377config ARCH_MSM_CORTEXMP
378 select MSM_SMP
379 bool
380
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700381config MSM_KRAIT_WFE_FIXUP
382 bool
383
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700384config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800385 bool
Rohit Vaswaniaf7ae272012-01-09 10:28:57 -0800386 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700387
388config ARCH_MSM7X27A
389 bool
390 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700391 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530392 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530393 select ARM_GIC
394 select ARCH_MSM_CORTEXMP
Trilok Sonib856ab92012-06-26 14:33:28 +0530395 select MIGHT_HAVE_CACHE_L2X0
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700396
Gregory Beanf9f3d312010-04-30 22:06:50 -0700397config MSM_VIC
398 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700399
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700400config MSM_RPM
401 bool "Resource Power Manager"
402 select MSM_MPM
403
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600404config MSM_RPM_SMD
405 depends on MSM_SMD
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600406 select MSM_MPM_OF
407 bool "RPM driver using SMD protocol"
408 help
409 RPM is the dedicated hardware engine for managing shared SoC
410 resources. This config adds driver support for using SMD as a
411 transport layer communication with RPM hardware. It also selects
412 the MSM_MPM config that programs the MPM module to monitor interrupts
413 during sleep modes.
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600414
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700415config MSM_MPM
416 bool "Modem Power Manager"
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600417 help
418 MPM is a dedicated hardware resource responsible for entering and
419 waking up from a system wide low power mode. The MPM driver tracks
420 the wakeup interrupts and configures the MPM to monitor the wakeup
421 interrupts when going to a system wide sleep mode.
422
423config MSM_MPM_OF
424 bool "Modem Power Manager"
425 depends on CONFIG_OF
426 help
427 MPM is a dedicated hardware resource responsible for entering and
428 waking up from a system wide low power mode. The MPM driver tracks
429 the wakeup interrupts and configures the MPM to monitor the wakeup
430 interrupts when going to a system wide sleep mode. This config option
431 enables the MPM driver that supports initialization from a device
432 tree
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700433
434config MSM_XO
435 bool
436
437config MSM_REMOTE_SPINLOCK_DEKKERS
438 bool
439config MSM_REMOTE_SPINLOCK_SWP
440 bool
441config MSM_REMOTE_SPINLOCK_LDREX
442 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600443config MSM_REMOTE_SPINLOCK_SFPB
444 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700445config MSM_ADM3
446 bool
447
448menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700449
450config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700451 depends on ARCH_MSM7X01A
452 depends on MSM_STACKED_MEMORY
453 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700454 bool "Halibut Board (QCT SURF7201A)"
455 help
456 Support for the Qualcomm SURF7201A eval board.
457
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700458config MACH_MSM7201A_SURF
459 depends on ARCH_MSM7X01A
460 depends on MSM_STACKED_MEMORY
461 default y
462 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700463 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700464 Support for the Qualcomm MSM7201A SURF eval board.
465
466config MACH_MSM7201A_FFA
467 depends on ARCH_MSM7X01A
468 depends on MSM_STACKED_MEMORY
469 default y
470 bool "MSM7201A FFA"
471 help
472 Support for the Qualcomm MSM7201A FFA eval board.
473
474config MACH_TROUT
475 depends on ARCH_MSM7X01A
476 depends on MSM_STACKED_MEMORY
477 default y
478 bool "Trout"
479
480config MACH_MSM7X27_SURF
481 depends on ARCH_MSM7X27
482 depends on !MSM_STACKED_MEMORY
483 default y
484 bool "MSM7x27 SURF"
485 help
486 Support for the Qualcomm MSM7x27 SURF eval board.
487
488config MACH_MSM7X27_FFA
489 depends on ARCH_MSM7X27
490 depends on !MSM_STACKED_MEMORY
491 default y
492 bool "MSM7x27 FFA"
493 help
494 Support for the Qualcomm MSM7x27 FFA eval board.
495
496config MACH_MSM7X27A_RUMI3
497 depends on ARCH_MSM7X27A
498 depends on !MSM_STACKED_MEMORY
499 default y
500 bool "MSM7x27A RUMI3"
501 help
502 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
503
504config MACH_MSM7X27A_SURF
505 depends on ARCH_MSM7X27A
506 depends on !MSM_STACKED_MEMORY
507 default y
508 bool "MSM7x27A SURF"
509 help
510 Support for the Qualcomm MSM7x27A SURF.
511
512config MACH_MSM7X27A_FFA
513 depends on ARCH_MSM7X27A
514 depends on !MSM_STACKED_MEMORY
515 default y
516 bool "MSM7x27A FFA"
517 help
518 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700519
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530520config MACH_MSM7625A_SURF
521 depends on ARCH_MSM7X27A
522 depends on !MSM_STACKED_MEMORY
523 default y
524 bool "MSM7625A SURF"
525 help
526 Support for the Qualcomm MSM7625A SURF.
527
528config MACH_MSM7625A_FFA
529 depends on ARCH_MSM7X27A
530 depends on !MSM_STACKED_MEMORY
531 default y
532 bool "MSM7625A FFA"
533 help
534 Support for the Qualcomm MSM7625A FFA.
535
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530536config MACH_MSM7627A_QRD1
537 depends on ARCH_MSM7X27A
538 depends on !MSM_STACKED_MEMORY
539 default y
540 bool "MSM7627A QRD1"
541 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530542 Support for the Qualcomm MSM7627A Reference Design.
543
544config MACH_MSM7627A_QRD3
545 depends on ARCH_MSM7X27A
546 depends on !MSM_STACKED_MEMORY
547 default y
548 bool "MSM7627A QRD3"
549 help
550 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530551
Taniya Dasc868a2e2012-01-03 10:18:47 +0530552config MACH_MSM7627A_EVB
553 depends on ARCH_MSM7X27A
554 depends on !MSM_STACKED_MEMORY
555 default y
556 bool "MSM7627A EVB"
557 help
558 Support for the Qualcomm MSM7627A Reference Design.
559
Taniya Das43bcdd62011-12-02 17:33:27 +0530560config MACH_MSM8625_RUMI3
561 depends on ARCH_MSM8625
562 depends on !MSM_STACKED_MEMORY
563 default y
564 bool "MSM8625 RUMI3"
565 help
566 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
567
Taniya Dase3027e22012-02-27 16:32:27 +0530568config MACH_MSM8625_SURF
569 depends on ARCH_MSM8625
570 depends on !MSM_STACKED_MEMORY
571 default y
572 bool "MSM8625 SURF"
573 help
574 Support for the Qualcomm MSM8625 SURF.
575
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530576config MACH_MSM8625_FFA
577 depends on ARCH_MSM8625
578 depends on !MSM_STACKED_MEMORY
579 default y
580 bool "MSM8625 FFA"
581 help
582 Support for the Qualcomm MSM8625 FFA.
583
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530584config MACH_MSM8625_EVB
585 depends on ARCH_MSM8625
586 depends on !MSM_STACKED_MEMORY
587 default y
588 bool "MSM8625 EVB"
589 help
590 Support for the Qualcomm MSM8625 Reference Design.
591
Taniya Dasbd096542012-03-15 17:43:45 +0530592config MACH_MSM8625_QRD7
593 depends on ARCH_MSM8625
594 depends on !MSM_STACKED_MEMORY
595 default y
596 bool "MSM8625 QRD7"
597 help
598 Support for the Qualcomm MSM8625 Reference Design.
599
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530600config MACH_MSM8625_EVT
601 depends on ARCH_MSM8625
602 depends on !MSM_STACKED_MEMORY
603 default y
604 bool "MSM8625 EVT"
605 help
606 Support for the Qualcomm MSM8625 Reference Design.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700607
Daniel Walker7b521612010-05-06 12:44:57 -0700608config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700609 depends on ARCH_MSM7X30
610 depends on !MSM_STACKED_MEMORY
611 default y
612 bool "MSM7x30 SURF"
613 help
614 Support for the Qualcomm MSM7x30 SURF eval board.
615
616config MACH_MSM7X30_FFA
617 depends on ARCH_MSM7X30
618 depends on !MSM_STACKED_MEMORY
619 default y
620 bool "MSM7x30 FFA"
621 help
622 Support for the Qualcomm MSM7x30 FFA eval board.
623
624config MACH_MSM7X30_FLUID
625 depends on ARCH_MSM7X30
626 depends on !MSM_STACKED_MEMORY
627 default y
628 bool "MSM7x30 FLUID"
629 help
630 Support for the Qualcomm MSM7x30 FLUID eval board.
631
632config MACH_SAPPHIRE
633 depends on ARCH_MSM7X01A
634 default n
635 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700636
Daniel Walker4ad15e62010-05-06 13:54:17 -0700637config MACH_QSD8X50_SURF
638 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700639 depends on MSM_SOC_REV_NONE
640 depends on MSM_STACKED_MEMORY
641 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700642 bool "QSD8x50 SURF"
643 help
644 Support for the Qualcomm QSD8x50 SURF eval board.
645
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700646config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700647 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700648 depends on MSM_SOC_REV_NONE
649 depends on MSM_STACKED_MEMORY
650 default y
651 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700652 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700653 Support for the Qualcomm QSD8x50 FFA eval board.
654
655config MACH_MSM7X25_SURF
656 depends on ARCH_MSM7X25
657 depends on !MSM_STACKED_MEMORY
658 default y
659 bool "MSM7x25 SURF"
660 help
661 Support for the Qualcomm MSM7x25 SURF eval board.
662
663config MACH_MSM7X25_FFA
664 depends on ARCH_MSM7X25
665 depends on !MSM_STACKED_MEMORY
666 default y
667 bool "MSM7x25 FFA"
668 help
669 Support for the Qualcomm MSM7x25 FFA eval board.
670
671config MACH_MSM8X55_SURF
672 depends on ARCH_MSM7X30
673 depends on !MSM_STACKED_MEMORY
674 default y
675 bool "MSM8X55 SURF"
676 help
677 Support for the Qualcomm MSM8x55 SURF eval board.
678
679config MACH_MSM8X55_FFA
680 depends on ARCH_MSM7X30
681 depends on !MSM_STACKED_MEMORY
682 default y
683 bool "MSM8X55 FFA"
684 help
685 Support for the Qualcomm MSM8x55 FFA eval board.
686
687config MACH_MSM8X55_SVLTE_FFA
688 depends on ARCH_MSM7X30
689 depends on !MSM_STACKED_MEMORY
690 default y
691 bool "MSM8X55 SVLTE FFA"
692 help
693 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
694
695config MACH_MSM8X55_SVLTE_SURF
696 depends on ARCH_MSM7X30
697 depends on !MSM_STACKED_MEMORY
698 default y
699 bool "MSM8X55 SVLTE SURF"
700 help
701 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700702
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700703config MACH_MSM8X60_SURF
704 depends on ARCH_MSM8X60
705 default n
706 bool "MSM8x60 SURF"
707 help
708 Support for the Qualcomm MSM8x60 SURF eval board.
709
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700710config MACH_MSM8X60_FFA
711 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700712 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700713 bool "MSM8x60 FFA"
714 help
715 Support for the Qualcomm MSM8x60 FFA eval board.
716
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700717config MACH_MSM8X60_FLUID
718 depends on ARCH_MSM8X60
719 default n
720 bool "MSM8x60 FLUID"
721 help
722 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
723 8x60 target which has a form factor that is much closer to that
724 of a phone than other targets. It also has a new display and
725 touchscreen controller.
726
727config MACH_MSM8X60_FUSION
728 depends on ARCH_MSM8X60
729 default n
730 bool "MSM8x60 FUSION"
731 help
732 Support for the Qualcomm MSM8x60 Fusion SURF device.
733
734config MACH_MSM8X60_FUSN_FFA
735 depends on ARCH_MSM8X60
736 default n
737 bool "MSM8x60 FUSN FFA"
738 help
739 Support for the Qualcomm MSM8x60 Fusion FFA device.
740
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400741config MACH_MSM8X60_DRAGON
742 depends on ARCH_MSM8X60
743 default n
744 bool "MSM8x60 DRAGON"
745 help
746 Support for the Qualcomm MSM8x60 Dragon board.
747
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700748config MACH_MSM8960_CDP
749 depends on ARCH_MSM8960
750 bool "MSM8960 CDP"
751 help
752 Support for the Qualcomm MSM8960 CDP device.
753
754config MACH_MSM8960_MTP
755 depends on ARCH_MSM8960
756 bool "MSM8960 MTP"
757 help
758 Support for the Qualcomm MSM8960 MTP device.
759
760config MACH_MSM8960_FLUID
761 depends on ARCH_MSM8960
762 bool "MSM8960 FLUID"
763 help
764 Support for the Qualcomm MSM8960 FLUID device.
765
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300766config MACH_MSM8960_LIQUID
767 depends on ARCH_MSM8960
768 bool "MSM8960 LIQUID"
769 help
770 Support for the Qualcomm MSM8960 LIQUID device.
771
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700772config MACH_MSM8930_CDP
773 depends on ARCH_MSM8930
774 bool "MSM8930 CDP"
775 help
776 Support for the Qualcomm MSM8930 CDP device.
777
778config MACH_MSM8930_MTP
779 depends on ARCH_MSM8930
780 bool "MSM8930 MTP"
781 help
782 Support for the Qualcomm MSM8930 MTP device.
783
784config MACH_MSM8930_FLUID
785 depends on ARCH_MSM8930
786 bool "MSM8930 FLUID"
787 help
788 Support for the Qualcomm MSM8930 FLUID device.
789
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800790config MACH_MSM8627_CDP
791 depends on ARCH_MSM8930
792 bool "MSM8627 CDP"
793 help
794 Support for the Qualcomm MSM8627 CDP device.
795
796config MACH_MSM8627_MTP
797 depends on ARCH_MSM8930
798 bool "MSM8627 MTP"
799 help
800 Support for the Qualcomm MSM8627 MTP device.
801
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700802config MACH_MSM9615_CDP
803 depends on ARCH_MSM9615
804 bool "MSM9615 CDP"
805 help
806 Support for the Qualcomm MSM9615 CDP device.
807
808config MACH_MSM9615_MTP
809 depends on ARCH_MSM9615
810 bool "MSM9615 MTP"
811 help
812 Support for the Qualcomm MSM9615 MTP device.
813
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700814config MSM_USE_TSIF1
815 depends on ARCH_MSM8X60
816 bool "MSM8x60 use TSIF1"
817 help
818 Selects TSIF1 core to be used rather than TSIF0.
819 The two TSIF cores share the same DM configuration
820 so they cannot be used simultaneously.
821
Joel King82b7e3f2012-01-05 10:03:27 -0800822config MACH_APQ8064_CDP
823 depends on ARCH_APQ8064
824 bool "APQ8064 CDP"
825 help
826 Support for the Qualcomm APQ8064 CDP device.
827
828config MACH_APQ8064_MTP
829 depends on ARCH_APQ8064
830 bool "APQ8064 MTP"
831 help
832 Support for the Qualcomm APQ8064 MTP device.
833
834config MACH_APQ8064_LIQUID
835 depends on ARCH_APQ8064
836 bool "APQ8064 LIQUID"
837 help
838 Support for the Qualcomm APQ8064 LIQUID device.
839
Joel King064bbf82012-04-01 13:23:39 -0700840config MACH_MPQ8064_CDP
841 depends on ARCH_APQ8064
842 bool "MPQ8064 CDP"
843 help
844 Support for the Qualcomm MPQ8064 CDP device.
845
Joel King11ca8202012-02-13 16:19:03 -0800846config MACH_MPQ8064_HRD
847 depends on ARCH_APQ8064
848 bool "MPQ8064 HRD"
849 help
850 Support for the Qualcomm MPQ8064 HRD device.
851
852config MACH_MPQ8064_DTV
853 depends on ARCH_APQ8064
854 bool "MPQ8064 DTV"
855 help
856 Support for the Qualcomm MPQ8064 DTV device.
857
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700858config MACH_FSM9XXX_SURF
859 depends on ARCH_FSM9XXX
860 depends on !MSM_STACKED_MEMORY
861 default y
862 bool "FSM9XXX SURF"
863 help
864 Support for the Qualcomm FSM9xxx femtocell
865 chipset based SURF evaluation board and
866 FFA board.
867
Daniel Walker4ad15e62010-05-06 13:54:17 -0700868endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800869
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700870config MSM_STACKED_MEMORY
871 bool "Stacked Memory"
872 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800873 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700874 This option is used to indicate the presence of on-die stacked
875 memory. When present this memory bank is used for a high speed
876 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800877
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700878config PHYS_OFFSET
879 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700880 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700881 default "0x80200000" if ARCH_APQ8064
882 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700883 default "0x80200000" if ARCH_MSM8930
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700884 default "0x00000000" if ARCH_MSM8974
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700885 default "0x10000000" if ARCH_FSM9XXX
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700886 default "0x20200000" if ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700887 default "0x00200000" if !MSM_STACKED_MEMORY
888 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
889 default "0x20000000" if ARCH_QSD8X50
890 default "0x40200000" if ARCH_MSM8X60
891 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800892
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700893config KERNEL_PMEM_EBI_REGION
894 bool "Enable in-kernel PMEM region for EBI"
895 default y if ARCH_MSM8X60
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700896 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700897 help
898 Enable the in-kernel PMEM allocator to use EBI memory.
899
900config KERNEL_PMEM_SMI_REGION
901 bool "Enable in-kernel PMEM region for SMI"
902 default y if ARCH_MSM8X60
903 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
904 help
905 Enable the in-kernel PMEM allocator to use SMI memory.
906
907config PMEM_GPU0
908 bool "Enable PMEM GPU0 region"
909 default y
910 depends on ARCH_QSD8X50 && ANDROID_PMEM
911 help
912 Enable the PMEM GPU0 device on SMI Memory.
913
914config MSM_AMSS_VERSION
915 int
916 default 6210 if MSM_AMSS_VERSION_6210
917 default 6220 if MSM_AMSS_VERSION_6220
918 default 6225 if MSM_AMSS_VERSION_6225
919
920choice
921 prompt "AMSS modem firmware version"
922
923 default MSM_AMSS_VERSION_6225
924
925 config MSM_AMSS_VERSION_6210
926 bool "6.2.10"
927
928 config MSM_AMSS_VERSION_6220
929 bool "6.2.20"
930
931 config MSM_AMSS_VERSION_6225
932 bool "6.2.20 + New ADSP"
933endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800934
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700935config MSM_HAS_DEBUG_UART_HS
Daniel Walkerbf83de42010-03-16 16:29:44 -0700936 bool
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700937 help
938 Say Y here if high speed MSM UART is present.
939
940config MSM_HAS_DEBUG_UART_HS_V14
941 bool
942 select MSM_HAS_DEBUG_UART_HS
943 help
944 Say Y here if high speed MSM UART v1.4 is present.
945
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530946config MSM_DEBUG_UART_PHYS
947 hex
948 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
949 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
950 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
951 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
952 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
953 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
954 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
955 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
956
Brian Swetland9e73c842007-11-26 04:12:13 -0800957choice
958 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800959 depends on DEBUG_LL
Brian Swetland9e73c842007-11-26 04:12:13 -0800960
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800961 config DEBUG_MSM_UART1
962 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530963 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800964 help
965 Say Y here if you want the debug print routines to direct
966 their output to the first serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -0800967
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800968 config DEBUG_MSM_UART2
969 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530970 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800971 help
972 Say Y here if you want the debug print routines to direct
973 their output to the second serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -0800974
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800975 config DEBUG_MSM_UART3
976 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530977 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800978 help
979 Say Y here if you want the debug print routines to direct
980 their output to the third serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -0800981
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800982 config DEBUG_MSM8660_UART
983 bool "Kernel low-level debugging messages via MSM 8660 UART"
984 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700985 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800986 help
987 Say Y here if you want the debug print routines to direct
988 their output to the serial port on MSM 8660 devices.
Steve Mucklec8aabae2010-04-21 16:20:27 -0700989
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800990 config DEBUG_MSM8960_UART
991 bool "Kernel low-level debugging messages via MSM 8960 UART"
Stepan Moskovchenko824db172012-05-29 18:05:09 -0700992 depends on ARCH_MSM8960 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700993 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800994 help
995 Say Y here if you want the debug print routines to direct
996 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700997
Stepan Moskovchenko824db172012-05-29 18:05:09 -0700998 config DEBUG_MSM8930_UART
999 bool "Kernel low-level debugging messages via MSM 8930 UART"
1000 depends on ARCH_MSM8930 && DEBUG_LL
1001 select MSM_HAS_DEBUG_UART_HS
1002 help
1003 Say Y here if you want the debug print routines to direct
1004 their output to the serial port on MSM 8930 devices.
1005
1006 config DEBUG_APQ8064_UART
1007 bool "Kernel low-level debugging messages via APQ 8064 UART"
1008 depends on ARCH_APQ8064 && DEBUG_LL
1009 select MSM_HAS_DEBUG_UART_HS
1010 help
1011 Say Y here if you want the debug print routines to direct
1012 their output to the serial port on APQ 8064 devices.
1013
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001014 config DEBUG_MSM8974_UART
1015 bool "Kernel low-level debugging messages via MSM 8974 UART"
1016 depends on ARCH_MSM8974
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001017 select MSM_HAS_DEBUG_UART_HS_V14
1018 help
1019 Say Y here if you want the debug print routines to direct
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001020 their output to the serial port on MSM 8974 devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001021endchoice
Brian Swetland9e73c842007-11-26 04:12:13 -08001022
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001023choice
1024 prompt "Default Timer"
1025 default MSM7X00A_USE_GP_TIMER
1026
1027 config MSM7X00A_USE_GP_TIMER
1028 bool "GP Timer"
1029 help
1030 Low resolution timer that allows power collapse from idle.
1031
1032 config MSM7X00A_USE_DG_TIMER
1033 bool "DG Timer"
1034 help
1035 High resolution timer.
1036endchoice
1037
1038choice
1039 prompt "Suspend sleep mode"
1040 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1041 help
1042 Allows overriding the sleep mode used. Leave at power
1043 collapse suspend unless the arm9 image has problems.
1044
1045 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1046 bool "Power collapse suspend"
1047 help
1048 Lowest sleep state. Returns through reset vector.
1049
1050 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1051 bool "Power collapse"
1052 help
1053 Sleep state that returns through reset vector.
1054
1055 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1056 bool "Apps Sleep"
1057
1058 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1059 bool "Ramp down cpu clock and wait for interrupt"
1060
1061 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1062 bool "Wait for interrupt"
1063endchoice
1064
1065config MSM7X00A_SLEEP_MODE
1066 int
1067 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1068 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1069 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1070 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1071 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1072
1073choice
1074 prompt "Idle sleep mode"
1075 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1076 help
1077 Allows overriding the sleep mode used from idle. Leave at power
1078 collapse suspend unless the arm9 image has problems.
1079
1080 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1081 bool "Power collapse suspend"
1082 help
1083 Lowest sleep state. Returns through reset vector.
1084
1085 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1086 bool "Power collapse"
1087 help
1088 Sleep state that returns through reset vector.
1089
1090 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1091 bool "Apps Sleep"
1092
1093 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1094 bool "Ramp down cpu clock and wait for interrupt"
1095
1096 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1097 bool "Wait for interrupt"
1098endchoice
1099
1100config MSM7X00A_IDLE_SLEEP_MODE
1101 int
1102 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1103 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1104 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1105 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1106 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1107
1108config MSM7X00A_IDLE_SLEEP_MIN_TIME
1109 int "Minimum idle time before sleep"
1110 default 20000000
1111 help
1112 Minimum idle time in nanoseconds before entering low power mode.
1113
1114config MSM7X00A_IDLE_SPIN_TIME
1115 int "Idle spin time before cpu ramp down"
1116 default 80000
1117 help
1118 Spin time in nanoseconds before ramping down cpu clock and entering
1119 any low power state.
1120
1121menuconfig MSM_IDLE_STATS
1122 bool "Collect idle statistics"
1123 default y
1124 help
1125 Collect idle statistics and export them in proc/msm_pm_stats.
1126
1127if MSM_IDLE_STATS
1128
1129config MSM_IDLE_STATS_FIRST_BUCKET
1130 int "First bucket time"
1131 default 62500
1132 help
1133 Upper time limit in nanoseconds of first bucket.
1134
1135config MSM_IDLE_STATS_BUCKET_SHIFT
1136 int "Bucket shift"
1137 default 2
1138
1139config MSM_IDLE_STATS_BUCKET_COUNT
1140 int "Bucket count"
1141 default 10
1142
1143config MSM_SUSPEND_STATS_FIRST_BUCKET
1144 int "First bucket time for suspend"
1145 default 1000000000
1146 help
1147 Upper time limit in nanoseconds of first bucket of the
1148 histogram. This is for collecting statistics on suspend.
1149
1150endif # MSM_IDLE_STATS
1151
1152config CPU_HAS_L2_PMU
1153 bool "L2CC PMU Support"
1154 help
1155 Select this if the L2 cache controller has a Performance Monitoring Unit.
1156
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001157config HTC_HEADSET
1158 tristate "HTC 2 Wire detection driver"
1159 default n
1160 help
1161 Provides support for detecting HTC 2 wire devices, such as wired
1162 headset, on the trout platform. Can be used with the msm serial
1163 debugger, but not with serial console.
1164
1165config TROUT_BATTCHG
1166 depends on MACH_TROUT && POWER_SUPPLY
1167 default y
1168 bool "Trout battery / charger driver"
1169
1170config HTC_PWRSINK
1171 depends on MSM_SMD
1172 default n
1173 bool "HTC Power Sink Driver"
1174
1175config QSD_SVS
1176 bool "QSD Static Voltage Scaling"
1177 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1178 default y
1179 select TPS65023
1180 help
1181 Enables static voltage scaling using the TPS65023 PMIC.
1182
1183config QSD_PMIC_DEFAULT_DCDC1
1184 int "PMIC default output voltage"
1185 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1186 default 1250
1187 help
1188 This is the PMIC voltage at Linux kernel boot.
1189
1190config MSM_FIQ_SUPPORT
1191 default y
1192 bool "Enable installation of an FIQ handler."
1193
1194config MSM_SERIAL_DEBUGGER
1195 select MSM_FIQ_SUPPORT
1196 select KERNEL_DEBUGGER_CORE
1197 default n
1198 bool "FIQ Mode Serial Debugger"
1199 help
1200 The FIQ serial debugger can accept commands even when the
1201 kernel is unresponsive due to being stuck with interrupts
1202 disabled. Depends on the kernel debugger core in drivers/misc.
1203
1204config MSM_SERIAL_DEBUGGER_CONSOLE
1205 depends on MSM_SERIAL_DEBUGGER
1206 default n
1207 bool "Console on FIQ Serial Debugger port"
1208 help
1209 Enables a console so that printk messages are displayed on
1210 the debugger serial port as the occur.
Brian Swetland9e73c842007-11-26 04:12:13 -08001211
Gregory Beanab78cde2010-09-01 16:26:12 -07001212config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001213 default y
1214 bool "Proc-Comm RPC Interface"
1215 help
1216 Enables a lightweight communications interface to the
1217 baseband processor.
Gregory Beanab78cde2010-09-01 16:26:12 -07001218
Gregory Bean1963a2a2010-08-28 10:05:44 -07001219config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001220 bool "MSM Shared Memory Driver (SMD)"
1221 help
1222 Support for the shared memory interface between the apps
1223 processor and the baseband processor. Provides access to
1224 the "shared heap", as well as virtual serial channels
1225 used to communicate with various services on the baseband
1226 processor.
1227
1228choice
1229 prompt "MSM Shared memory interface version"
1230 depends on MSM_SMD
1231 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1232 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1233
1234 config MSM_SMD_PKG3
1235 bool
1236 prompt "Package 3"
1237
1238 config MSM_SMD_PKG4
1239 bool
1240 prompt "Package 4"
1241endchoice
1242
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001243config MSM_PCIE
1244 bool "MSM PCIe Controller driver"
1245 depends on PCI && PCI_MSI
1246 help
1247 Enables the PCIe functionality by configures PCIe core on
1248 MSM chipset and by enabling the ARM PCI framework extension.
1249
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001250config MSM_RPC_SDIO_XPRT
1251 depends on MSM_SDIO_AL
1252 default y
1253 bool "MSM SDIO XPRT Layer"
1254 help
1255 SDIO Transport Layer for RPC Rouer
1256
1257config MSM_RPC_SDIO_DEBUG
1258 depends on MSM_RPC_SDIO_XPRT
1259 default y
1260 bool "MSM SDIO XPRT debug support"
1261 help
1262 Support for debugging SDIO XPRT
1263
1264config MSM_SMD_DEBUG
1265 depends on MSM_SMD
1266 default y
1267 bool "MSM SMD debug support"
1268 help
1269 Support for debugging the SMD for communication
1270 between the ARM9 and ARM11
1271
1272config MSM_SDIO_AL
1273 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1274 default y
1275 tristate "SDIO-Abstraction-Layer"
1276 help
1277 Support MSM<->MDM Communication over SDIO bus.
1278 MDM SDIO-Client should have pipes support.
1279
1280config MSM_SDIO_DMUX
1281 bool "SDIO Data Mux Driver"
1282 depends on MSM_SDIO_AL
1283 default n
1284 help
1285 Support Muxed Data Channels over SDIO interface.
1286
1287config MSM_BAM_DMUX
1288 bool "BAM Data Mux Driver"
1289 depends on SPS
1290 default n
1291 help
1292 Support Muxed Data Channels over BAM interface.
1293 BAM has a limited number of pipes. This driver
1294 provides a means to support more logical channels
1295 via muxing than BAM could without muxing.
1296
1297config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001298 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001299 default y
1300 bool "MSM N-WAY SMD support"
1301 help
1302 Supports APPS-QDSP SMD communication along with
1303 normal APPS-MODEM SMD communication.
1304
1305config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001306 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001307 default y
1308 bool "MSM N-WAY SMSM support"
1309 help
1310 Supports APPS-QDSP SMSM communication along with
1311 normal APPS-MODEM SMSM communication.
1312
1313config MSM_RESET_MODEM
1314 tristate "Reset Modem Driver"
1315 depends on MSM_SMD
1316 default m
1317 help
1318 Allows the user to reset the modem through a device node.
1319
1320config MSM_SMD_LOGGING
1321 depends on MSM_SMD
1322 default y
1323 bool "MSM Shared Memory Logger"
1324 help
1325 This option exposes the shared memory logger at /dev/smem_log
1326 and a debugfs node named smem_log.
1327
1328 If in doubt, say yes.
1329
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001330config MSM_IPC_LOGGING
1331 bool "MSM Debug Logging for IPC Drivers"
1332 help
1333 This option allows the debug logging for IPC Drivers.
1334
1335 If in doubt, say no.
1336
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001337config MSM_SMD_NMEA
1338 bool "NMEA GPS Driver"
1339 depends on MSM_SMD
1340 default y
1341 help
1342 Enable this to support the NMEA GPS device.
1343
1344 If in doubt, say yes.
1345
1346config MSM_SDIO_TTY
1347 bool "SDIO TTY Driver"
1348 depends on MSM_SDIO_AL
1349 default n
1350 help
1351 Provides a TTY driver SDIO TTY
1352 This driver can be used by user space
1353 applications for passing data through the
1354 SDIO interface.
1355
1356config MSM_SMD_TTY
1357 bool "SMD TTY Driver"
1358 depends on MSM_SMD
1359 default y
1360 help
1361 Provides TTY interfaces to interact with the modem.
1362
1363 If in doubt, say yes.
1364
1365config MSM_SMD_QMI
1366 bool "SMD QMI Driver"
1367 depends on MSM_SMD
1368 default y
1369 help
1370 Manages network data connections.
1371
1372 If in doubt, say yes.
1373
1374config MSM_SMD_PKT
1375 bool "SMD Packet Driver"
1376 depends on MSM_SMD
1377 default y
1378 help
1379 Provides a binary SMD non-muxed packet port interface.
1380
1381 If in doubt, say yes.
1382
1383config MSM_SDIO_CMUX
1384 bool "SDIO CMUX Driver"
1385 depends on MSM_SDIO_AL
1386 default n
1387 help
1388 Provides a Muxed port interface over SDIO QMI
1389
1390config MSM_DSPS
1391 bool "Sensors DSPS driver"
1392 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1393 default n
1394 help
1395 Provides user-space interface to the sensors manager
1396 to turn on/off the Sensors Processor system clocks.
1397 It is the DSPS responsibility to turn on/off the sensors
1398 themself.
1399 The number of clocks and their name may vary between targets.
1400 It also triggers the PIL to load the DSPS firmware.
1401
1402config MSM_SDIO_CTL
1403 bool "SDIO CTL Driver"
1404 depends on MSM_SDIO_CMUX
1405 default n
1406 help
1407 Provides a binary SDIO control port interface.
1408
1409config MSM_ONCRPCROUTER
1410 depends on MSM_SMD
1411 default n
1412 bool "MSM ONCRPC router support"
1413 help
1414 Support for the MSM ONCRPC router for communication between
1415 the ARM9 and ARM11
1416
1417config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001418 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001419 default n
1420 bool "MSM IPC Router support"
1421 help
1422 Support for the MSM IPC Router for communication between
1423 the APPs and the MODEM
1424
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001425config MSM_IPC_ROUTER_SMD_XPRT
1426 depends on MSM_SMD
1427 depends on MSM_IPC_ROUTER
1428 default n
1429 bool "MSM SMD XPRT Layer"
1430 help
1431 SMD Transport Layer for IPC Router
1432
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001433config MSM_ONCRPCROUTER_DEBUG
1434 depends on MSM_ONCRPCROUTER
1435 default y
1436 bool "MSM debug ONCRPC router support"
1437 help
1438 Support for debugging the ONCRPC router for communication
1439 between the ARM9 and ARM11
1440
1441config MSM_RPC_LOOPBACK_XPRT
1442 depends on MSM_ONCRPCROUTER
1443 default n
1444 bool "MSM RPC local routing support"
1445 help
1446 Support for routing RPC messages between APPS clients
1447 and APPS servers. Helps in testing APPS RPC framework.
1448
1449config MSM_RPCSERVER_TIME_REMOTE
1450 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1451 default y
1452 bool "Time remote RPC server"
1453 help
1454 The time remote server receives notification of time bases and
1455 reports these events to registered callback functions.
1456
1457config MSM_RPCSERVER_WATCHDOG
1458 depends on MSM_ONCRPCROUTER
1459 default y
1460 bool "Watchdog RPC server"
1461 help
1462 The dog_keepalive server handles watchdog events.
1463
1464config MSM_RPC_WATCHDOG
1465 depends on MSM_ONCRPCROUTER
1466 default n
1467 bool "Watchdog RPC client"
1468 help
1469 The dog_keepalive client module.
1470
1471config MSM_RPC_PING
1472 depends on MSM_ONCRPCROUTER && DEBUG_FS
1473 default m
1474 bool "MSM rpc ping"
1475 help
1476 Implements MSM rpc ping test module.
1477
1478config MSM_RPC_PROC_COMM_TEST
1479 depends on DEBUG_FS && MSM_PROC_COMM
1480 default m
1481 bool "MSM rpc proc comm test"
1482 help
1483 Implements MSM rpc proc comm test module.
1484
1485config MSM_RPC_OEM_RAPI
1486 depends on MSM_ONCRPCROUTER
1487 default m
1488 bool "MSM oem rapi"
1489 help
1490 Implements MSM oem rapi client module.
1491
1492config MSM_RPCSERVER_HANDSET
1493 depends on MSM_ONCRPCROUTER
1494 default y
1495 bool "Handset events RPC server"
1496 help
1497 Support for receiving handset events like headset detect,
1498 headset switch and clamshell state.
1499
1500config MSM_RMT_STORAGE_CLIENT
1501 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1502 default n
1503 bool "Remote Storage RPC client"
1504 help
1505 Provide RPC mechanism for remote processors to access storage
1506 device on apps processor.
1507
1508config MSM_RMT_STORAGE_CLIENT_STATS
1509 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1510 default n
1511 bool "Remote storage RPC client performance statistics"
1512 help
1513 Collects performance statistics and shows this information
1514 through a debugfs file rmt_storage_stats.
1515
1516config MSM_SDIO_SMEM
1517 depends on MSM_SDIO_AL
1518 default n
1519 bool "SDIO SMEM for remote storage"
1520 help
1521 Copies data from remote MDM9K memory to local MSM8x60
1522 memory. Used by remote storage client to shadow
1523 MDM9K filesystem.
1524
1525config MSM_DALRPC
1526 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001527 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001528 help
1529 Supports RPC calls to DAL devices on remote processor cores.
1530
1531config MSM_DALRPC_TEST
1532 tristate "DAL RPC test module"
1533 depends on (MSM_DALRPC && DEBUG_FS)
1534 default m
1535 help
1536 Exercises DAL RPC calls to QDSP6.
1537
1538if CPU_FREQ_MSM
1539
1540config MSM_CPU_FREQ_SET_MIN_MAX
1541 bool "Set Min/Max CPU frequencies."
1542 default n
1543 help
1544 Allow setting min and max CPU frequencies. Sysfs can be used
1545 to override these values.
1546
1547config MSM_CPU_FREQ_MAX
1548 int "Max CPU Frequency"
1549 depends on MSM_CPU_FREQ_SET_MIN_MAX
1550 default 384000
1551
1552config MSM_CPU_FREQ_MIN
1553 int "Min CPU Frequency"
1554 depends on MSM_CPU_FREQ_SET_MIN_MAX
1555 default 245760
1556
1557endif # CPU_FREQ_MSM
1558
1559config MSM_CPU_AVS
1560 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1561 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1562 depends on ARCH_QSD8X50
1563 default n
1564 select MSM_AVS_HW
1565 help
1566 This enables the s/w control of Adaptive Voltage Scaling feature
1567 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1568 based on feedback from three ring oscillators in the CPU.
1569
1570config MSM_AVS_HW
1571 bool "Enable Adaptive Voltage Scaling (AVS)"
1572 default n
1573 help
1574 Enable AVS hardware to fine tune voltage at each frequency. The
1575 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1576 fine tune the voltages based on the feedback from the ring
1577 oscillators.
1578
1579config MSM_HW3D
1580 tristate "MSM Hardware 3D Register Driver"
1581 depends on ANDROID_PMEM
1582 default y
1583 help
1584 Provides access to registers needed by the userspace OpenGL|ES
1585 library.
1586
1587config MSM_ADSP
1588 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1589 tristate "MSM ADSP driver"
1590 depends on ANDROID_PMEM
1591 default y
1592 help
1593 Provides access to registers needed by the userspace aDSP library.
1594
1595config ADSP_RPC_VER
1596 hex
1597 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1598 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1599 depends on MSM_ADSP
1600 help
1601 Select proper ADSP RPC version
1602choice
1603 prompt "ADSP RPC version"
1604
1605 default AMSS_7X25_VERSION_2009
1606
1607 config AMSS_7X25_VERSION_2009
1608 bool "2.0.09"
1609
1610 config AMSS_7X25_VERSION_2008
1611 bool "2.0.08"
1612endchoice
1613
1614config MSM7KV2_AUDIO
1615 bool "MSM7K v2 audio"
1616 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1617 default y
1618 help
1619 Enables QDSP5V2-based audio drivers for audio playbacks and
1620 voice call.
1621
1622config MSM_ADSP_REPORT_EVENTS
1623 bool "Report modem events from the DSP"
1624 default y
1625 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1626 help
1627 Normally, only messages from the aDSP are reported to userspace.
1628 With this option, we report events from the aDSP as well.
1629
1630config MSM_QDSP6
1631 tristate "QDSP6 support"
1632 depends on ARCH_QSD8X50 && ANDROID_PMEM
1633 default y
1634 help
1635 Enable support for qdsp6. This provides audio and video functionality.
1636
1637config MSM8X60_AUDIO
1638 tristate "MSM8X60 audio support"
1639 depends on ARCH_MSM8X60 && ANDROID_PMEM
1640 default y
1641 help
1642 Enable support for qdsp6v2. This provides audio functionality.
1643
1644config MSM8X60_FTM_AUDIO_DEVICES
1645 bool "MSM8X60 audio factory test mode support"
1646 depends on MSM8X60_AUDIO
1647 help
1648 Enable support audio factory test mode devices. This is used
1649 in a production line environment.
1650
Ben Romberger45b351c2011-07-20 22:37:27 -07001651config RTAC
1652 bool "MSM8K real-time audio calibration support"
1653 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001654 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001655 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001656 audio operation
1657
1658config MSM7X27A_AUDIO
1659 bool "MSM7X27A audio support"
1660 depends on ARCH_MSM7X27A && MSM_ADSP
1661 default n
1662 help
1663 Enable support for 7x27a. This provides audio functionality.
1664
Justin Pauporea6cd2092011-06-22 16:19:45 -07001665config MSM_PROC_COMM_REGULATOR
Gregory Bean1963a2a2010-08-28 10:05:44 -07001666 bool
Justin Pauporea6cd2092011-06-22 16:19:45 -07001667 depends on MSM_PROC_COMM && REGULATOR
1668 help
1669 Enable regulator framework support for regulators managed by PMLIB
1670 on the modem, and controlled through proccomm calls.
1671
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001672config MSM_VREG_SWITCH_INVERTED
1673 bool "Reverse vreg switch polarity"
1674 default n
1675 help
1676 Reverses the enable and disable for vreg switch.
1677
1678config MSM_DMA_TEST
1679 tristate "MSM DMA test module"
1680 default m
1681 help
1682 Intended to be compiled as a module. Provides a device node
1683 and ioctls for testing the MSM dma system.
1684
1685config WIFI_CONTROL_FUNC
1686 bool "Enable WiFi control function abstraction"
1687 help
1688 Enables Power/Reset/Carddetect function abstraction
1689
1690config WIFI_MEM_PREALLOC
1691 depends on WIFI_CONTROL_FUNC
1692 bool "Preallocate memory for WiFi buffers"
1693 help
1694 Preallocates memory buffers for WiFi driver
1695
1696config QSD_AUDIO
1697 bool "QSD audio"
1698 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1699 default y
1700 help
1701 Provides PCM, MP3, and AAC audio playback.
1702
1703config AUDIO_AAC_PLUS
1704 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1705 bool "AAC+ Audio"
1706 default y
1707 help
1708 Provides AAC+ decoding
1709
1710config AUDIO_ENHANCED_AAC_PLUS
1711 depends on AUDIO_AAC_PLUS
1712 bool "Enhanced AAC+ Audio"
1713 default y
1714 help
1715 Provides Enhanced AAC+ decoding
1716
1717config SURF_FFA_GPIO_KEYPAD
1718 bool "MSM SURF/FFA GPIO keypad"
1719 depends on INPUT_GPIO = "y"
1720 default y
1721 help
1722 Select if the GPIO keypad is attached.
1723
1724config MSM_SLEEP_TIME_OVERRIDE
1725 bool "Allow overriding suspend/sleep time with PM module parameter"
1726 default y
1727 help
1728 Enable the module parameter sleep_time_override. Specified
1729 in units of seconds, it overwrites the normal sleep time of
1730 suspend. The feature is required for automated power management
1731 testing.
1732
1733config MSM_MEMORY_LOW_POWER_MODE
1734 bool "Control the low power modes of memory"
1735 default n
1736 help
1737 The application processor controls whether memory should enter
1738 which low power mode.
1739
1740choice
1741 prompt "Default Memory Low Power Mode during Idle"
1742 depends on MSM_MEMORY_LOW_POWER_MODE
1743 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1744 help
1745 Selects the default low power mode of the memory during idle
1746 sleep.
1747
1748 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1749 bool "Memory active"
1750
1751 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1752 bool "Memory in retention"
1753
1754 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1755 bool "Memory in deep power down"
1756endchoice
1757
1758choice
1759 prompt "Default Memory Low Power Mode during Suspend"
1760 depends on MSM_MEMORY_LOW_POWER_MODE
1761 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1762 help
1763 Selects the default low power mode of the memory during suspend
1764 sleep.
1765
1766 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1767 bool "Memory active"
1768
1769 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1770 bool "Memory in retention"
1771
1772 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1773 bool "Memory in deep power down"
1774endchoice
1775
1776choice
1777 prompt "Power management timeout action"
1778 default MSM_PM_TIMEOUT_HALT
1779 help
1780 Selects the Application Processor's action when Power Management
1781 times out waiting for Modem's handshake.
1782
1783 config MSM_PM_TIMEOUT_HALT
1784 bool "Halt the Application Processor"
1785
1786 config MSM_PM_TIMEOUT_RESET_MODEM
1787 bool "Reset the Modem Processor"
1788
1789 config MSM_PM_TIMEOUT_RESET_CHIP
1790 bool "Reset the entire chip"
1791endchoice
1792
1793config MSM_IDLE_WAIT_ON_MODEM
1794 int "Wait for Modem to become ready for idle power collapse"
1795 default 0
1796 help
1797 If Modem is not ready to handle Application Processor's request
1798 for idle power collapse, wait the number of microseconds in case
1799 Modem becomes ready soon.
1800
Matt Wagantall9274df92011-12-15 11:11:05 -08001801config MSM_RPM_REGULATOR
1802 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001803 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001804 help
1805 Compile in support for the RPM regulator driver, used for setting
1806 voltages and other parameters of the various power rails supplied
1807 by some Qualcomm PMICs.
1808
David Collinsc7642322012-04-04 10:19:12 -07001809config MSM_RPM_REGULATOR_SMD
1810 bool "SMD RPM regulator driver"
1811 depends on REGULATOR
1812 depends on OF
1813 depends on MSM_RPM_SMD
1814 help
1815 Compile in support for the SMD RPM regulator driver which is used for
1816 setting voltages and other parameters of the various power rails
1817 supplied by some Qualcomm PMICs. The SMD RPM regulator driver should
1818 be used on systems which contain an RPM which communicates with the
1819 application processor over SMD.
1820
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001821config MSM_PIL
1822 bool "Peripheral image loading"
1823 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001824 default n
1825 help
1826 Some peripherals need to be loaded into memory before they can be
1827 brought out of reset.
1828
1829 Say yes to support these devices.
1830
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001831config MSM_PIL_MODEM
1832 tristate "Modem (ARM11) Boot Support"
1833 depends on MSM_PIL
1834 help
1835 Support for booting and shutting down ARM11 Modem processors.
1836
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001837config MSM_PIL_QDSP6V3
1838 tristate "QDSP6v3 (Hexagon) Boot Support"
1839 depends on MSM_PIL
1840 help
1841 Support for booting and shutting down QDSP6v3 processors (hexagon).
1842 The QDSP6 is a low power DSP used in audio software applications.
1843
Stephen Boydeb819882011-08-29 14:46:30 -07001844config MSM_PIL_QDSP6V4
1845 tristate "QDSP6v4 (Hexagon) Boot Support"
1846 depends on MSM_PIL
1847 help
1848 Support for booting and shutting down QDSP6v4 processors (hexagon).
1849 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1850 software applications.
1851
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001852config MSM_PIL_LPASS_QDSP6V5
1853 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
1854 depends on MSM_PIL
1855 help
Matt Wagantall4e2599e2012-03-21 22:31:35 -07001856 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1857 in low power audio subsystems.
1858
1859config MSM_PIL_MSS_QDSP6V5
1860 tristate "MSS QDSP6v5 (Hexagon) Boot Support"
1861 depends on MSM_PIL
1862 help
1863 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1864 in modem subsystems.
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001865
Matt Wagantalle6e00d52012-03-08 17:39:07 -08001866config MSM_PIL_MBA
1867 tristate "Support for modem self-authentication"
1868 depends on MSM_PIL_MSS_QDSP6V5
1869 help
1870 Support for booting self-authenticating modems using the Modem Boot
1871 Authenticator.
Stephen Boyd322a9922011-09-20 01:05:54 -07001872
1873config MSM_PIL_RIVA
Stephen Boydd89eebe2011-09-28 23:28:11 -07001874 tristate "RIVA (WCNSS) Boot Support"
1875 depends on MSM_PIL
1876 help
1877 Support for booting and shutting down the RIVA processor (WCNSS).
1878 Riva is the wireless subsystem processor used in bluetooth, wireless
1879 LAN, and FM software applications.
1880
1881config MSM_PIL_TZAPPS
1882 tristate "TZApps Boot Support"
1883 depends on MSM_PIL
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07001884 help
1885 Support for booting and shutting down TZApps.
1886
1887 TZApps is an image that runs in the secure processor state. It is
1888 used to decrypt data and perform secure operations on the behalf of
1889 the kernel.
1890
1891config MSM_PIL_DSPS
1892 tristate "DSPS Boot Support"
Stephen Boyd7b973de2012-03-09 12:26:16 -08001893 depends on MSM_PIL
1894 help
1895 Support for booting and shutting down ARM7 DSPS processors.
1896
1897 DSPS is a sensors offloading processor used for applications such
1898 as rotation detection, temperature, etc.
Matt Wagantall292aace2012-01-26 19:12:34 -08001899
1900config MSM_PIL_VIDC
1901 tristate "Video Core Secure Boot Support"
1902 depends on MSM_PIL
1903 help
1904 Support for authenticating the video core image.
1905
Tianyi Gou828798d2012-05-02 21:12:38 -07001906config MSM_PIL_VENUS
1907 tristate "VENUS (Video) Boot Support"
1908 depends on MSM_PIL
1909 help
1910 Support for booting and shutting down the VENUS processor (Video).
1911 Venus is the Video subsystem processor used for video codecs.
1912
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001913config MSM_PIL_GSS
1914 tristate "GSS (Coretx A5) Boot Support"
1915 depends on MSM_PIL
1916 help
1917 Support for booting and shutting down Cortex A5 processors which run
1918 GPS subsystem firmware.
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001919
Tianyi Gouc1e049f82011-11-23 14:20:16 -08001920config MSM_PIL_PRONTO
1921 tristate "PRONTO (WCNSS) Boot Support"
1922 depends on MSM_PIL
1923 help
1924 Support for booting and shutting down the PRONTO processor (WCNSS).
1925 PRONTO is the wireless subsystem processor used in bluetooth, wireless
1926 LAN, and FM software applications.
1927
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001928config MSM_SCM
1929 bool "Secure Channel Manager (SCM) support"
1930 default n
1931
1932config MSM_SUBSYSTEM_RESTART
1933 bool "MSM Subsystem Restart Driver"
1934 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
1935 default n
1936 help
1937 This option enables the MSM subsystem restart driver, which provides
1938 a framework to handle subsystem crashes.
1939
Matt Wagantallf8020902011-08-30 21:19:23 -07001940config MSM_SYSMON_COMM
1941 bool "MSM System Monitor communication support"
1942 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1943 default y
1944 help
1945 This option adds support for MSM System Monitor library, which
1946 provides an API that may be used for notifying subsystems within
1947 the SoC about other subsystems' power-up/down state-changes.
1948
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001949config MSM_MODEM_8960
1950 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001951 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001952 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001953 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001954 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001955 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001956
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001957config MSM_LPASS_8960
1958 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001959 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001960 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001961 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001962 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001963 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001964
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001965config MSM_WCNSS_SSR_8960
1966 tristate "MSM 8960 WCNSS restart module"
1967 depends on (ARCH_MSM8960)
1968 help
1969 This option enables the WCNSS restart module for MSM8960, which
1970 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1971 into the subsystem restart framework.
1972
Rohit Vaswanid0fb4182012-03-19 18:07:59 -07001973config MSM_GSS_SSR_8064
1974 bool "MSM 8064 GSS restart driver"
1975 depends on (ARCH_APQ8064)
1976 help
1977 This option enables the gps subsystem restart driver for APQ8064, which monitors
1978 gss hardware watchdog interrupt lines and plugs into the subsystem
1979 restart and PIL drivers.
1980
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001981config SCORPION_Uni_45nm_BUG
1982 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1983 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1984 default y
1985 help
1986 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1987 invalidating the Branch Predictor Array by Modified Virtual Address can
1988 create invalid entries in the TLB with the wrong ASID values on Scorpion
1989 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1990 workaround for Scorpion Uniprocessor 45nm cores.
1991
1992 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1993
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001994config MSM_BUSPM_DEV
1995 tristate "MSM Bus Performance Monitor Kernel Module"
1996 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1997 default m
1998 help
1999 This kernel module is used to mmap() hardware registers for the
2000 performance monitors, counters, etc. The module can also be used to
2001 allocate physical memory which is used by bus performance hardware to
2002 dump performance data.
2003
Mona Hossain11c03ac2011-10-26 12:42:10 -07002004config MSM_TZ_LOG
2005 tristate "MSM Trust Zone (TZ) Log Driver"
2006 depends on DEBUG_FS
2007 help
2008 This option enables a driver with a debugfs interface for messages
2009 produced by the Secure code (Trust zone). These messages provide
2010 diagnostic information about TZ operation.
2011
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002012config MSM_RPM_LOG
2013 tristate "MSM Resource Power Manager Log Driver"
2014 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002015 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002016 default n
2017 help
2018 This option enables a driver which can read from a circular buffer
2019 of messages produced by the RPM. These messages provide diagnostic
2020 information about RPM operation. The driver outputs the messages
2021 via a debugfs node.
2022
2023config MSM_RPM_STATS_LOG
2024 tristate "MSM Resource Power Manager Stat Driver"
2025 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002026 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002027 default n
2028 help
2029 This option enables a driver which reads RPM messages from a shared
2030 memory location. These messages provide statistical information about
2031 the low power modes that RPM enters. The drivers outputs the message
2032 via a debugfs node.
2033
Girish Mahadevan898c56d2012-06-05 16:09:19 -06002034config MSM_RPM_RBCPR_STATS_LOG
2035 tristate "MSM Resource Power Manager RPBCPR Stat Driver"
2036 depends on DEBUG_FS
2037 depends on MSM_RPM
2038 help
2039 This option enables a driver which reads RPM messages from a shared
2040 memory location. These messages provide statistical information about
2041 RBCPR (Rapid Bridge Core Power Reduction) information . The drivers
2042 outputs the message via a debugfs node.
2043
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002044config MSM_DIRECT_SCLK_ACCESS
2045 bool "Direct access to the SCLK timer"
2046 default n
2047
2048config IOMMU_API
2049 bool
Gregory Bean1963a2a2010-08-28 10:05:44 -07002050
Brian Swetland9e73c842007-11-26 04:12:13 -08002051config MSM_GPIOMUX
2052 bool
2053
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002054config MSM_SECURE_IO
Brian Swetland9e73c842007-11-26 04:12:13 -08002055 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002056
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002057config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002058 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002059
Taniya Dascd1d0232012-07-03 17:50:47 +05302060config MSM_MODEM_RESTART
2061 bool
2062
Matt Wagantall88b86312012-01-31 16:53:03 -08002063config MSM_PM2
2064 depends on PM
2065 bool
2066
2067config MSM_PM8X60
2068 depends on PM
2069 bool
2070
2071config MSM_NOPM
2072 default y if !PM
2073 bool
2074
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002075config MSM_BUS_SCALING
2076 bool "Bus scaling driver"
2077 default n
2078
Gagan Mac85c70492011-06-10 16:07:47 -06002079config MSM_BUS_RPM_MULTI_TIER_ENABLED
2080 bool "RPM Multi-tiering Configuration"
2081 depends on MSM_BUS_SCALING
2082
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002083config MSM_WATCHDOG
2084 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002085 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002086 help
2087 This enables the watchdog as is present on 8x60. Currently we use
2088 core 0's watchdog, and reset the entire SoC if it times out. It does
2089 not run during the bootup process, so it will not catch any early
2090 lockups.
2091
Hanumant Singhd1f01022012-07-05 14:21:53 -07002092config MSM_WATCHDOG_V2
2093 bool "MSM Watchdog Support"
2094 help
2095 This enables the watchdog module. It causes kernel panic if the
2096 watchdog times out. It allows for detection of cpu hangs and
2097 deadlocks. It does not run during the bootup process, so it will
2098 not catch any early lockups.
2099
Hanumant Singh5e2541c2012-07-31 14:41:14 -07002100config MSM_MEMORY_DUMP
2101 bool "MSM Memory Dump Support"
2102 help
2103 This enables memory dump feature. It allows various client
2104 subsystems to register respective dump regions. At the time
2105 of deadlocks or cpu hangs these dump regions are captured to
2106 give a snapshot of the system at the time of the crash.
2107
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002108config MSM_DLOAD_MODE
2109 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07002110 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002111 default n
2112 help
2113 This makes the SoC enter download mode when it resets
2114 due to a kernel panic. Note that this doesn't by itself
2115 make the kernel reboot on a kernel panic - that must be
2116 enabled via another mechanism.
2117
Pratik Patel17f3b822011-11-21 12:41:47 -08002118config MSM_JTAG
Pratik Patel2963de42012-05-17 12:43:40 -07002119 bool "JTAG and kernel debug and trace support across power collapse"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002120 help
Pratik Patel2963de42012-05-17 12:43:40 -07002121 Enables support for kernel debugging (specifically breakpoints) and
2122 processor tracing across power collapse both for JTag and OS hosted
2123 software running on the target. Enabling this will ensure debug
2124 and ETM registers are saved and restored across power collapse.
2125
2126 For production builds, you should probably say 'N' here to avoid
2127 potential power, performance and memory penalty.
Pratik Patel7831c082011-06-08 21:44:37 -07002128
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002129config MSM_ETM
2130 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002131 depends on ARCH_MSM8X60
2132 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002133 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002134 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002135
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002136config MSM_SLEEP_STATS
2137 bool "Enable exporting of MSM sleep stats to userspace"
2138 depends on CPU_IDLE
2139 default n
2140
Lynus Vazdde09ee2012-01-05 13:28:22 +05302141config MSM_SLEEP_STATS_DEVICE
2142 bool "Enable exporting of MSM sleep device stats to userspace"
2143
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302144config MSM_RUN_QUEUE_STATS
2145 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Krishna Vankae2922052012-03-02 09:59:12 +05302146 depends on (MSM_SOC_REV_A || ARCH_MSM8X60 || ARCH_MSM8960)
2147 help
2148 This option enalbes statistics collection on Run Queue. A daemon
2149 in user mode, called MPDecision will be using this data to decide
2150 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302151
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002152config MSM_STANDALONE_POWER_COLLAPSE
2153 bool "Enable standalone power collapse"
2154 default n
2155
2156config MSM_GSBI9_UART
2157 bool "Enable GSBI9 UART device"
2158 default n
2159 help
2160 This enables GSBI9 configured into UART.
2161
2162config MSM_SHARED_GPIO_FOR_UART2DM
2163 bool "Use shared GPIOs into UART mode"
2164 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2165 help
2166 This option configures GPIO muxed with SDC4/MMC3
2167 8-bit mode into UART mode. It is used for serial
2168 console on UART2DM. Say Y if you want to have
2169 serial console on UART2DM.
2170
2171config MSM_SHOW_RESUME_IRQ
2172 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002173 depends on (ARM_GIC || PMIC8058)
2174 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002175 default n
2176 help
2177 This option logs wake up interrupts that have triggered just before
2178 the resume loop unrolls. Say Y if you want to debug why the system
2179 resumed.
2180
2181config BT_MSM_PINTEST
2182 tristate "MSM Bluetooth Pin Connectivity Test"
2183 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2184 default n
2185 help
2186 Bluetooth MSM Pin Connectivity test module.
2187 This driver provides support for verifying the MSM to BT pin
2188 connectivity.
2189
2190config MSM_FAKE_BATTERY
2191 depends on POWER_SUPPLY
2192 default n
2193 bool "MSM Fake Battery"
2194 help
2195 Enables MSM fake battery driver.
2196
2197config MSM_QDSP6_APR
2198 bool "Audio QDSP6 APR support"
2199 depends on MSM_SMD
2200 default n
2201 help
2202 Enable APR IPC protocol support between
2203 application processor and QDSP6. APR is
2204 used by audio driver to configure QDSP6's
2205 ASM, ADM and AFE.
2206
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -07002207config MSM_QDSP6_CODECS
2208 bool "Audio Codecs on QDSP6 APR "
2209 depends on MSM_SMD
2210 default n
2211 help
2212 Enable Audio codecs with APR IPC protocol support between
2213 application processor and QDSP6. APR is
2214 used by audio driver to configure QDSP6's
2215 ASM, ADM and AFE.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002216
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002217config MSM_QDSP6V2_CODECS
2218 bool "Audio QDSP6V2 APR support"
2219 depends on MSM_SMD
2220 help
2221 Enable Audio codecs with APR IPC protocol support between
2222 application processor and QDSP6 for B-family. APR is
2223 used by audio driver to configure QDSP6's
2224 ASM, ADM and AFE.
2225
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002226config MSM_AUDIO_QDSP6
2227 bool "QDSP6 HW Audio support"
2228 select SND_SOC_MSM_QDSP6_INTF
2229 default n
2230 help
2231 Enable HW audio support in QDSP6.
2232 QDSP6 can support HW encoder & decoder and audio processing
2233
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002234config MSM_AUDIO_QDSP6V2
2235 bool "QDSP6V2 HW Audio support"
2236 select SND_SOC_MSM_QDSP6V2_INTF
2237 help
2238 Enable HW audio support in QDSP6V2.
2239 QDSP6V2 can support HW encoder & decoder and
2240 audio processing. It will enable support for
2241 AAC, AMRNB, AMRWB, EVRC, MP3, QCELP among
2242 others.
2243
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002244config MSM_ULTRASOUND
2245 bool "MSM ultrasound support"
2246 depends on MSM_AUDIO_QDSP6
2247 help
2248 Enable support for qdsp6/ultrasound.
2249
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002250config MSM_RPC_VIBRATOR
2251 bool "RPC based MSM Vibrator Support"
2252 depends on MSM_ONCRPCROUTER
2253 help
2254 Enable the vibrator support on MSM over RPC. The vibrator
2255 is connected on the PMIC. Say Y if you want to enable this
2256 feature.
2257
2258config PM8XXX_RPC_VIBRATOR
2259 bool "RPC based Vibrator on PM8xxx PMICs"
2260 depends on MSM_RPC_VIBRATOR
2261 help
2262 Enable the vibrator support on MSM over RPC. The vibrator
2263 is connected on the PM8XXX PMIC. Say Y if you want to enable
2264 this feature.
2265
2266config MSM_SPM_V1
2267 bool "Driver support for SPM Version 1"
2268 help
2269 Enables the support for Version 1 of the SPM driver. SPM hardware is
2270 used to manage the processor power during sleep. The driver allows
2271 configuring SPM to allow different power modes.
2272
2273config MSM_SPM_V2
2274 bool "Driver support for SPM Version 2"
2275 help
2276 Enables the support for Version 2 of the SPM driver. SPM hardware is
2277 used to manage the processor power during sleep. The driver allows
2278 configuring SPM to allow different power modes.
2279
2280config MSM_L2_SPM
2281 bool "SPM support for L2 cache"
2282 depends on MSM_SPM_V2
2283 help
2284 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2285 control of L2 cache low power mode with a Subsystem Power manager.
2286 Enabling this driver allows configuring L2 SPM for low power modes
2287 on supported chipsets.
2288
Laura Abbott2d1760b2011-09-29 21:31:24 -07002289config MSM_MULTIMEDIA_USE_ION
2290 bool "Multimedia suport using Ion"
2291 depends on ION_MSM
2292 help
2293 Enable support for multimedia drivers using Ion for buffer management
2294 instead of pmem. Selecting this may also involve userspace
2295 dependencies as well.
2296
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002297config MSM_OCMEM
2298 bool "MSM On-Chip memory driver (OCMEM)"
2299 help
2300 Enable support for On-Chip Memory available on certain MSM chipsets.
2301 OCMEM is a low latency, high performance pool shared by subsystems.
2302
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002303config MSM_OCMEM_LOCAL_POWER_CTRL
2304 bool "OCMEM Local Power Control"
2305 depends on MSM_OCMEM
2306 help
2307 Enable direct power management of the OCMEM core by the
2308 OCMEM driver. By default power management is delegated to
2309 the RPM. Selecting this option causes the OCMEM driver to
2310 directly handle the various macro power transitions.
2311
2312config MSM_OCMEM_DEBUG
2313 bool "OCMEM Debug Support"
2314 depends on MSM_OCMEM
2315 help
2316 Enable debug options for On-chip Memory (OCMEM) driver.
2317 Various debug options include memory, power and latency.
2318 Choosing one of these options allows debugging of each
2319 individual subsystem separately.
2320
2321config MSM_OCMEM_POWER_DEBUG
2322 bool "OCMEM Power Debug Support"
2323 depends on MSM_OCMEM_DEBUG
2324 help
2325 Enable debug support for OCMEM power management.
2326 This adds support for verifying all power management
2327 related operations of OCMEM. Both local power management
2328 and RPM assisted power management operations are supported.
2329
Naveen Ramaraj4b1d9392012-08-06 21:05:14 -07002330config MSM_OCMEM_POWER_DISABLE
2331 bool "OCMEM Disable Power Control"
2332 depends on MSM_OCMEM_DEBUG
2333 help
2334 Disable all OCMEM power management.
2335 This keeps all OCMEM macros turned ON at all times thus
2336 never allowing them to be turned OFF. Both local power
2337 management and RPM assisted power modes are supported.
2338
Laura Abbottad340ff2012-01-04 14:23:48 -08002339config MSM_RTB
2340 bool "Register tracing"
2341 help
2342 Add support for logging different events to a small uncached
2343 region. This is designed to aid in debugging reset cases where the
2344 caches may not be flushed before the target resets.
2345
2346config MSM_RTB_SEPARATE_CPUS
2347 bool "Separate entries for each cpu"
2348 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002349 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002350 help
2351 Under some circumstances, it may be beneficial to give dedicated space
2352 for each cpu to log accesses. Selecting this option will log each cpu
2353 separately. This will guarantee that the last acesses for each cpu
2354 will be logged but there will be fewer entries per cpu
2355
Stepan Moskovchenko57884842012-06-07 17:35:49 -07002356config MSM_EBI_ERP
2357 bool "External Bus Interface (EBI) error reporting"
2358 help
2359 Say 'Y' here to enable reporting of external bus interface errors to
2360 the kernel log. Information such as the offending address and
2361 transaction type will be logged. This may be useful for debugging
2362 seemingly broken memory accesses.
2363
2364 For production builds, you should probably say 'N' here.
2365
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002366config MSM_CACHE_ERP
2367 bool "Cache / CPU error reporting"
2368 depends on ARCH_MSM_KRAIT
2369 help
2370 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2371 log. Enabling this feature can be used as a system debugging technique
2372 if cache corruption is suspected. Cache error statistics will also be
2373 reported in /proc/cpu/msm_cache_erp.
2374
2375 For production builds, you should probably say 'N' here.
2376
2377config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002378 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002379 depends on MSM_CACHE_ERP
2380 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002381 To cause the kernel to panic whenever an L1 cache error is detected, say
2382 'Y' here. This may be useful as a debugging technique if general system
2383 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002384
2385 For production builds, you should probably say 'N' here.
2386
Stepan Moskovchenko7035f652012-05-31 17:48:01 -07002387config MSM_L1_ERR_LOG
2388 bool "Log CPU ERP events to system memory"
2389 depends on MSM_CACHE_ERP
2390 help
2391 Enable logging CPU ERP events to an area of memory that will be
2392 preserved across a system reset. This may be useful for detecting and
2393 troubleshooting ERP-related system crashes in the field.
2394
2395 For production builds, you may want to say 'Y' here.
2396
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002397config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2398 bool "Report L2 master port slave/decode errors in kernel log"
2399 depends on MSM_CACHE_ERP
2400 help
2401 Master port errors can occur when a memory request is not properly
2402 handled by the destination slave. This can occur if the destination
2403 register does not exist or is inaccessible due to security
2404 restrictions or (in some cases) clock configuration. Enabling this
2405 option will cause a backtrace to be printed to the kernel log whenever
2406 such an error is encountered. Note that the error is reported as an
2407 interrupt rather than as an exception, meaning that the backtrace may
2408 have some skid. This option may help with debugging, though production
2409 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002410
2411config MSM_L2_ERP_PORT_PANIC
2412 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002413 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002414 help
2415 Master port errors can occur when a memory request is not properly
2416 handled by the destination slave. Enable this option to catch drivers
2417 which attempt to access bad areas of the address space, or access
2418 hardware registers in an improper state (such as certain clocks not
2419 being on). This option may help with debugging, though production
2420 builds should probably say 'N' here.
2421
2422config MSM_L2_ERP_1BIT_PANIC
2423 bool "Panic on recoverable L2 soft errors"
2424 depends on MSM_CACHE_ERP
2425 help
2426 Enable this option to cause a kernel panic whenever the L2 cache
2427 encounters a single-bit (correctable) soft error. This option should
2428 only be enabled when doing low-level debugging where cache corruption
2429 is suspected.
2430
2431 For production builds, you should definitely say 'N' here.
2432
2433config MSM_L2_ERP_2BIT_PANIC
2434 bool "Panic on unrecoverable L2 soft errors"
2435 depends on MSM_CACHE_ERP
2436 help
2437 Enable this option to cause a kernel panic whenever the L2 cache
2438 encounters a double-bit (non-correctable) soft error. Debug builds
2439 will likely benefit from having this option enabled to catch cache
2440 problems as soon as possible.
2441
2442 For production builds, it may be acceptable to say 'N' here, since
2443 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002444
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002445config MSM_DCVS
2446 bool "Use MSM DCVS for CPU/GPU Frequency control"
2447 depends on MSM_SCM
2448 help
2449 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2450 The DCVS manager allows idle driver to feed the idle information to the
2451 algorithm and the algorithm returns a frequency for the core which is
2452 passed to the frequency change driver.
2453
Taniya Dasc43e6872012-03-21 16:41:14 +05302454config HAVE_ARCH_HAS_CURRENT_TIMER
2455 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002456
2457config MSM_CACHE_DUMP
2458 bool "Cache dumping support"
2459 help
2460 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2461 This allows for analysis of the caches in case cache corruption is
2462 suspected.
2463
Laura Abbott7b637362012-03-29 16:43:49 -07002464config MSM_CACHE_DUMP_ON_PANIC
2465 bool "Dump caches on panic"
2466 depends on MSM_CACHE_DUMP
2467 help
2468 By default, the caches are flushed on panic. This means that trying to
2469 look at them in a RAM dump will give useless data. Select this if you
2470 want to dump the L1 and L2 caches on panic before any flush occurs.
2471 If unsure, say N
2472
Jack Phamccbbfab2012-04-09 19:50:20 -07002473config MSM_HSIC_SYSMON
2474 tristate "MSM HSIC system monitor driver"
2475 depends on USB
2476 help
2477 Add support for bridging with the system monitor interface of MDM
2478 over HSIC. This driver allows the local system monitor to
2479 communicate with the remote system monitor interface.
2480
2481config MSM_HSIC_SYSMON_TEST
2482 tristate "MSM HSIC system monitor bridge test"
2483 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2484 help
2485 Enable the test hook for the Qualcomm system monitor HSIC driver.
2486 This will create a debugfs file entry named "hsic_sysmon_test" which
2487 can be read and written to send character data to the sysmon port of
2488 the modem over USB.
2489
Brian Swetland9e73c842007-11-26 04:12:13 -08002490endif