blob: a5d851e1e0e834224be04f777b277706f8545aa7 [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
313 select ARCH_MSM_CORTEX_A5
314 select SMP
315 select MSM_SMP
316 select CPU_V7
Jin Hong690e3352012-05-02 09:25:05 -0700317 select MSM_GPIOMUX
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700318 select MULTI_IRQ_HANDLER
Steve Mucklef132c6c2012-06-06 18:30:57 -0700319 select GPIO_MSM_V2
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700320
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700321endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700322
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700323choice
324 prompt "MSM SoC Revision"
325 default MSM_SOC_REV_NONE
326config MSM_SOC_REV_NONE
327 bool "N/A"
328 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
329 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walkerbf83de42010-03-16 16:29:44 -0700330config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700331 bool "Rev. A"
332 select ARCH_MSM7X27A if ARCH_MSM7X27
Daniel Walkerbf83de42010-03-16 16:29:44 -0700333endchoice
334
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700335config MSM_KRAIT_TBB_ABORT_HANDLER
336 bool "Krait TBB/TBH data abort handler"
337 depends on ARCH_MSM_KRAIT
338 depends on ARM_THUMB
339 help
340 Certain early samples of the Krait processor may generate data
341 aborts for TBB / TBH instructions that fail their condition code
342 checks. Enabling this option will ignore these erroneous data aborts,
343 at the expense of a very small performance penalty.
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800344
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700345 If unsure, say N.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700346
347config ARCH_MSM_ARM11
348 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700349
Daniel Walkerbf83de42010-03-16 16:29:44 -0700350config ARCH_MSM_SCORPION
351 bool
352
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700353config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700354 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800355 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700356
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700357config MSM_SMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700358 select HAVE_SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700359 bool
360
361config ARCH_MSM_SCORPIONMP
362 select ARCH_MSM_SCORPION
363 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530364 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700365 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700366 bool
367
368config ARCH_MSM_KRAITMP
369 select ARCH_MSM_KRAIT
370 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530371 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700372 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700373 bool
Steve Mucklef132c6c2012-06-06 18:30:57 -0700374 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700375
Taniya Das43bcdd62011-12-02 17:33:27 +0530376config ARCH_MSM_CORTEXMP
377 select MSM_SMP
378 bool
379
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700380config MSM_KRAIT_WFE_FIXUP
381 bool
382
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700383config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800384 bool
Rohit Vaswaniaf7ae272012-01-09 10:28:57 -0800385 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700386
387config ARCH_MSM7X27A
388 bool
389 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700390 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530391 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530392 select ARM_GIC
393 select ARCH_MSM_CORTEXMP
Trilok Sonib856ab92012-06-26 14:33:28 +0530394 select MIGHT_HAVE_CACHE_L2X0
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700395
Gregory Beanf9f3d312010-04-30 22:06:50 -0700396config MSM_VIC
397 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700398
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700399config MSM_RPM
400 bool "Resource Power Manager"
401 select MSM_MPM
402
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600403config MSM_RPM_SMD
404 depends on MSM_SMD
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600405 select MSM_MPM_OF
406 bool "RPM driver using SMD protocol"
407 help
408 RPM is the dedicated hardware engine for managing shared SoC
409 resources. This config adds driver support for using SMD as a
410 transport layer communication with RPM hardware. It also selects
411 the MSM_MPM config that programs the MPM module to monitor interrupts
412 during sleep modes.
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600413
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700414config MSM_MPM
415 bool "Modem Power Manager"
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600416 help
417 MPM is a dedicated hardware resource responsible for entering and
418 waking up from a system wide low power mode. The MPM driver tracks
419 the wakeup interrupts and configures the MPM to monitor the wakeup
420 interrupts when going to a system wide sleep mode.
421
422config MSM_MPM_OF
423 bool "Modem Power Manager"
424 depends on CONFIG_OF
425 help
426 MPM is a dedicated hardware resource responsible for entering and
427 waking up from a system wide low power mode. The MPM driver tracks
428 the wakeup interrupts and configures the MPM to monitor the wakeup
429 interrupts when going to a system wide sleep mode. This config option
430 enables the MPM driver that supports initialization from a device
431 tree
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700432
433config MSM_XO
434 bool
435
436config MSM_REMOTE_SPINLOCK_DEKKERS
437 bool
438config MSM_REMOTE_SPINLOCK_SWP
439 bool
440config MSM_REMOTE_SPINLOCK_LDREX
441 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600442config MSM_REMOTE_SPINLOCK_SFPB
443 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700444config MSM_ADM3
445 bool
446
447menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700448
449config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700450 depends on ARCH_MSM7X01A
451 depends on MSM_STACKED_MEMORY
452 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700453 bool "Halibut Board (QCT SURF7201A)"
454 help
455 Support for the Qualcomm SURF7201A eval board.
456
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700457config MACH_MSM7201A_SURF
458 depends on ARCH_MSM7X01A
459 depends on MSM_STACKED_MEMORY
460 default y
461 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700462 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700463 Support for the Qualcomm MSM7201A SURF eval board.
464
465config MACH_MSM7201A_FFA
466 depends on ARCH_MSM7X01A
467 depends on MSM_STACKED_MEMORY
468 default y
469 bool "MSM7201A FFA"
470 help
471 Support for the Qualcomm MSM7201A FFA eval board.
472
473config MACH_TROUT
474 depends on ARCH_MSM7X01A
475 depends on MSM_STACKED_MEMORY
476 default y
477 bool "Trout"
478
479config MACH_MSM7X27_SURF
480 depends on ARCH_MSM7X27
481 depends on !MSM_STACKED_MEMORY
482 default y
483 bool "MSM7x27 SURF"
484 help
485 Support for the Qualcomm MSM7x27 SURF eval board.
486
487config MACH_MSM7X27_FFA
488 depends on ARCH_MSM7X27
489 depends on !MSM_STACKED_MEMORY
490 default y
491 bool "MSM7x27 FFA"
492 help
493 Support for the Qualcomm MSM7x27 FFA eval board.
494
495config MACH_MSM7X27A_RUMI3
496 depends on ARCH_MSM7X27A
497 depends on !MSM_STACKED_MEMORY
498 default y
499 bool "MSM7x27A RUMI3"
500 help
501 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
502
503config MACH_MSM7X27A_SURF
504 depends on ARCH_MSM7X27A
505 depends on !MSM_STACKED_MEMORY
506 default y
507 bool "MSM7x27A SURF"
508 help
509 Support for the Qualcomm MSM7x27A SURF.
510
511config MACH_MSM7X27A_FFA
512 depends on ARCH_MSM7X27A
513 depends on !MSM_STACKED_MEMORY
514 default y
515 bool "MSM7x27A FFA"
516 help
517 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700518
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530519config MACH_MSM7625A_SURF
520 depends on ARCH_MSM7X27A
521 depends on !MSM_STACKED_MEMORY
522 default y
523 bool "MSM7625A SURF"
524 help
525 Support for the Qualcomm MSM7625A SURF.
526
527config MACH_MSM7625A_FFA
528 depends on ARCH_MSM7X27A
529 depends on !MSM_STACKED_MEMORY
530 default y
531 bool "MSM7625A FFA"
532 help
533 Support for the Qualcomm MSM7625A FFA.
534
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530535config MACH_MSM7627A_QRD1
536 depends on ARCH_MSM7X27A
537 depends on !MSM_STACKED_MEMORY
538 default y
539 bool "MSM7627A QRD1"
540 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530541 Support for the Qualcomm MSM7627A Reference Design.
542
543config MACH_MSM7627A_QRD3
544 depends on ARCH_MSM7X27A
545 depends on !MSM_STACKED_MEMORY
546 default y
547 bool "MSM7627A QRD3"
548 help
549 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530550
Taniya Dasc868a2e2012-01-03 10:18:47 +0530551config MACH_MSM7627A_EVB
552 depends on ARCH_MSM7X27A
553 depends on !MSM_STACKED_MEMORY
554 default y
555 bool "MSM7627A EVB"
556 help
557 Support for the Qualcomm MSM7627A Reference Design.
558
Taniya Das43bcdd62011-12-02 17:33:27 +0530559config MACH_MSM8625_RUMI3
560 depends on ARCH_MSM8625
561 depends on !MSM_STACKED_MEMORY
562 default y
563 bool "MSM8625 RUMI3"
564 help
565 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
566
Taniya Dase3027e22012-02-27 16:32:27 +0530567config MACH_MSM8625_SURF
568 depends on ARCH_MSM8625
569 depends on !MSM_STACKED_MEMORY
570 default y
571 bool "MSM8625 SURF"
572 help
573 Support for the Qualcomm MSM8625 SURF.
574
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530575config MACH_MSM8625_FFA
576 depends on ARCH_MSM8625
577 depends on !MSM_STACKED_MEMORY
578 default y
579 bool "MSM8625 FFA"
580 help
581 Support for the Qualcomm MSM8625 FFA.
582
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530583config MACH_MSM8625_EVB
584 depends on ARCH_MSM8625
585 depends on !MSM_STACKED_MEMORY
586 default y
587 bool "MSM8625 EVB"
588 help
589 Support for the Qualcomm MSM8625 Reference Design.
590
Taniya Dasbd096542012-03-15 17:43:45 +0530591config MACH_MSM8625_QRD7
592 depends on ARCH_MSM8625
593 depends on !MSM_STACKED_MEMORY
594 default y
595 bool "MSM8625 QRD7"
596 help
597 Support for the Qualcomm MSM8625 Reference Design.
598
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530599config MACH_MSM8625_EVT
600 depends on ARCH_MSM8625
601 depends on !MSM_STACKED_MEMORY
602 default y
603 bool "MSM8625 EVT"
604 help
605 Support for the Qualcomm MSM8625 Reference Design.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700606
Daniel Walker7b521612010-05-06 12:44:57 -0700607config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700608 depends on ARCH_MSM7X30
609 depends on !MSM_STACKED_MEMORY
610 default y
611 bool "MSM7x30 SURF"
612 help
613 Support for the Qualcomm MSM7x30 SURF eval board.
614
615config MACH_MSM7X30_FFA
616 depends on ARCH_MSM7X30
617 depends on !MSM_STACKED_MEMORY
618 default y
619 bool "MSM7x30 FFA"
620 help
621 Support for the Qualcomm MSM7x30 FFA eval board.
622
623config MACH_MSM7X30_FLUID
624 depends on ARCH_MSM7X30
625 depends on !MSM_STACKED_MEMORY
626 default y
627 bool "MSM7x30 FLUID"
628 help
629 Support for the Qualcomm MSM7x30 FLUID eval board.
630
631config MACH_SAPPHIRE
632 depends on ARCH_MSM7X01A
633 default n
634 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700635
Daniel Walker4ad15e62010-05-06 13:54:17 -0700636config MACH_QSD8X50_SURF
637 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700638 depends on MSM_SOC_REV_NONE
639 depends on MSM_STACKED_MEMORY
640 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700641 bool "QSD8x50 SURF"
642 help
643 Support for the Qualcomm QSD8x50 SURF eval board.
644
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700645config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700646 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700647 depends on MSM_SOC_REV_NONE
648 depends on MSM_STACKED_MEMORY
649 default y
650 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700651 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700652 Support for the Qualcomm QSD8x50 FFA eval board.
653
654config MACH_MSM7X25_SURF
655 depends on ARCH_MSM7X25
656 depends on !MSM_STACKED_MEMORY
657 default y
658 bool "MSM7x25 SURF"
659 help
660 Support for the Qualcomm MSM7x25 SURF eval board.
661
662config MACH_MSM7X25_FFA
663 depends on ARCH_MSM7X25
664 depends on !MSM_STACKED_MEMORY
665 default y
666 bool "MSM7x25 FFA"
667 help
668 Support for the Qualcomm MSM7x25 FFA eval board.
669
670config MACH_MSM8X55_SURF
671 depends on ARCH_MSM7X30
672 depends on !MSM_STACKED_MEMORY
673 default y
674 bool "MSM8X55 SURF"
675 help
676 Support for the Qualcomm MSM8x55 SURF eval board.
677
678config MACH_MSM8X55_FFA
679 depends on ARCH_MSM7X30
680 depends on !MSM_STACKED_MEMORY
681 default y
682 bool "MSM8X55 FFA"
683 help
684 Support for the Qualcomm MSM8x55 FFA eval board.
685
686config MACH_MSM8X55_SVLTE_FFA
687 depends on ARCH_MSM7X30
688 depends on !MSM_STACKED_MEMORY
689 default y
690 bool "MSM8X55 SVLTE FFA"
691 help
692 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
693
694config MACH_MSM8X55_SVLTE_SURF
695 depends on ARCH_MSM7X30
696 depends on !MSM_STACKED_MEMORY
697 default y
698 bool "MSM8X55 SVLTE SURF"
699 help
700 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700701
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700702config MACH_MSM8X60_SURF
703 depends on ARCH_MSM8X60
704 default n
705 bool "MSM8x60 SURF"
706 help
707 Support for the Qualcomm MSM8x60 SURF eval board.
708
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700709config MACH_MSM8X60_FFA
710 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700711 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700712 bool "MSM8x60 FFA"
713 help
714 Support for the Qualcomm MSM8x60 FFA eval board.
715
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700716config MACH_MSM8X60_FLUID
717 depends on ARCH_MSM8X60
718 default n
719 bool "MSM8x60 FLUID"
720 help
721 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
722 8x60 target which has a form factor that is much closer to that
723 of a phone than other targets. It also has a new display and
724 touchscreen controller.
725
726config MACH_MSM8X60_FUSION
727 depends on ARCH_MSM8X60
728 default n
729 bool "MSM8x60 FUSION"
730 help
731 Support for the Qualcomm MSM8x60 Fusion SURF device.
732
733config MACH_MSM8X60_FUSN_FFA
734 depends on ARCH_MSM8X60
735 default n
736 bool "MSM8x60 FUSN FFA"
737 help
738 Support for the Qualcomm MSM8x60 Fusion FFA device.
739
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400740config MACH_MSM8X60_DRAGON
741 depends on ARCH_MSM8X60
742 default n
743 bool "MSM8x60 DRAGON"
744 help
745 Support for the Qualcomm MSM8x60 Dragon board.
746
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700747config MACH_MSM8960_CDP
748 depends on ARCH_MSM8960
749 bool "MSM8960 CDP"
750 help
751 Support for the Qualcomm MSM8960 CDP device.
752
753config MACH_MSM8960_MTP
754 depends on ARCH_MSM8960
755 bool "MSM8960 MTP"
756 help
757 Support for the Qualcomm MSM8960 MTP device.
758
759config MACH_MSM8960_FLUID
760 depends on ARCH_MSM8960
761 bool "MSM8960 FLUID"
762 help
763 Support for the Qualcomm MSM8960 FLUID device.
764
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300765config MACH_MSM8960_LIQUID
766 depends on ARCH_MSM8960
767 bool "MSM8960 LIQUID"
768 help
769 Support for the Qualcomm MSM8960 LIQUID device.
770
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700771config MACH_MSM8930_CDP
772 depends on ARCH_MSM8930
773 bool "MSM8930 CDP"
774 help
775 Support for the Qualcomm MSM8930 CDP device.
776
777config MACH_MSM8930_MTP
778 depends on ARCH_MSM8930
779 bool "MSM8930 MTP"
780 help
781 Support for the Qualcomm MSM8930 MTP device.
782
783config MACH_MSM8930_FLUID
784 depends on ARCH_MSM8930
785 bool "MSM8930 FLUID"
786 help
787 Support for the Qualcomm MSM8930 FLUID device.
788
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800789config MACH_MSM8627_CDP
790 depends on ARCH_MSM8930
791 bool "MSM8627 CDP"
792 help
793 Support for the Qualcomm MSM8627 CDP device.
794
795config MACH_MSM8627_MTP
796 depends on ARCH_MSM8930
797 bool "MSM8627 MTP"
798 help
799 Support for the Qualcomm MSM8627 MTP device.
800
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700801config MACH_MSM9615_CDP
802 depends on ARCH_MSM9615
803 bool "MSM9615 CDP"
804 help
805 Support for the Qualcomm MSM9615 CDP device.
806
807config MACH_MSM9615_MTP
808 depends on ARCH_MSM9615
809 bool "MSM9615 MTP"
810 help
811 Support for the Qualcomm MSM9615 MTP device.
812
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700813config MSM_USE_TSIF1
814 depends on ARCH_MSM8X60
815 bool "MSM8x60 use TSIF1"
816 help
817 Selects TSIF1 core to be used rather than TSIF0.
818 The two TSIF cores share the same DM configuration
819 so they cannot be used simultaneously.
820
Joel King82b7e3f2012-01-05 10:03:27 -0800821config MACH_APQ8064_CDP
822 depends on ARCH_APQ8064
823 bool "APQ8064 CDP"
824 help
825 Support for the Qualcomm APQ8064 CDP device.
826
827config MACH_APQ8064_MTP
828 depends on ARCH_APQ8064
829 bool "APQ8064 MTP"
830 help
831 Support for the Qualcomm APQ8064 MTP device.
832
833config MACH_APQ8064_LIQUID
834 depends on ARCH_APQ8064
835 bool "APQ8064 LIQUID"
836 help
837 Support for the Qualcomm APQ8064 LIQUID device.
838
Joel King064bbf82012-04-01 13:23:39 -0700839config MACH_MPQ8064_CDP
840 depends on ARCH_APQ8064
841 bool "MPQ8064 CDP"
842 help
843 Support for the Qualcomm MPQ8064 CDP device.
844
Joel King11ca8202012-02-13 16:19:03 -0800845config MACH_MPQ8064_HRD
846 depends on ARCH_APQ8064
847 bool "MPQ8064 HRD"
848 help
849 Support for the Qualcomm MPQ8064 HRD device.
850
851config MACH_MPQ8064_DTV
852 depends on ARCH_APQ8064
853 bool "MPQ8064 DTV"
854 help
855 Support for the Qualcomm MPQ8064 DTV device.
856
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700857config MACH_FSM9XXX_SURF
858 depends on ARCH_FSM9XXX
859 depends on !MSM_STACKED_MEMORY
860 default y
861 bool "FSM9XXX SURF"
862 help
863 Support for the Qualcomm FSM9xxx femtocell
864 chipset based SURF evaluation board and
865 FFA board.
866
Daniel Walker4ad15e62010-05-06 13:54:17 -0700867endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800868
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700869config MSM_STACKED_MEMORY
870 bool "Stacked Memory"
871 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800872 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700873 This option is used to indicate the presence of on-die stacked
874 memory. When present this memory bank is used for a high speed
875 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800876
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700877config PHYS_OFFSET
878 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700879 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700880 default "0x80200000" if ARCH_APQ8064
881 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700882 default "0x80200000" if ARCH_MSM8930
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700883 default "0x00000000" if ARCH_MSM8974
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700884 default "0x10000000" if ARCH_FSM9XXX
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700885 default "0x20200000" if ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700886 default "0x00200000" if !MSM_STACKED_MEMORY
887 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
888 default "0x20000000" if ARCH_QSD8X50
889 default "0x40200000" if ARCH_MSM8X60
890 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800891
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700892config KERNEL_PMEM_EBI_REGION
893 bool "Enable in-kernel PMEM region for EBI"
894 default y if ARCH_MSM8X60
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700895 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700896 help
897 Enable the in-kernel PMEM allocator to use EBI memory.
898
899config KERNEL_PMEM_SMI_REGION
900 bool "Enable in-kernel PMEM region for SMI"
901 default y if ARCH_MSM8X60
902 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
903 help
904 Enable the in-kernel PMEM allocator to use SMI memory.
905
906config PMEM_GPU0
907 bool "Enable PMEM GPU0 region"
908 default y
909 depends on ARCH_QSD8X50 && ANDROID_PMEM
910 help
911 Enable the PMEM GPU0 device on SMI Memory.
912
913config MSM_AMSS_VERSION
914 int
915 default 6210 if MSM_AMSS_VERSION_6210
916 default 6220 if MSM_AMSS_VERSION_6220
917 default 6225 if MSM_AMSS_VERSION_6225
918
919choice
920 prompt "AMSS modem firmware version"
921
922 default MSM_AMSS_VERSION_6225
923
924 config MSM_AMSS_VERSION_6210
925 bool "6.2.10"
926
927 config MSM_AMSS_VERSION_6220
928 bool "6.2.20"
929
930 config MSM_AMSS_VERSION_6225
931 bool "6.2.20 + New ADSP"
932endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800933
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700934config MSM_HAS_DEBUG_UART_HS
Daniel Walkerbf83de42010-03-16 16:29:44 -0700935 bool
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700936 help
937 Say Y here if high speed MSM UART is present.
938
939config MSM_HAS_DEBUG_UART_HS_V14
940 bool
941 select MSM_HAS_DEBUG_UART_HS
942 help
943 Say Y here if high speed MSM UART v1.4 is present.
944
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530945config MSM_DEBUG_UART_PHYS
946 hex
947 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
948 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
949 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
950 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
951 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
952 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
953 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
954 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
955
Brian Swetland9e73c842007-11-26 04:12:13 -0800956choice
957 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800958 depends on DEBUG_LL
Brian Swetland9e73c842007-11-26 04:12:13 -0800959
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800960 config DEBUG_MSM_UART1
961 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530962 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800963 help
964 Say Y here if you want the debug print routines to direct
965 their output to the first serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -0800966
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800967 config DEBUG_MSM_UART2
968 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530969 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800970 help
971 Say Y here if you want the debug print routines to direct
972 their output to the second serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -0800973
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800974 config DEBUG_MSM_UART3
975 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530976 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800977 help
978 Say Y here if you want the debug print routines to direct
979 their output to the third serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -0800980
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800981 config DEBUG_MSM8660_UART
982 bool "Kernel low-level debugging messages via MSM 8660 UART"
983 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700984 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800985 help
986 Say Y here if you want the debug print routines to direct
987 their output to the serial port on MSM 8660 devices.
Steve Mucklec8aabae2010-04-21 16:20:27 -0700988
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800989 config DEBUG_MSM8960_UART
990 bool "Kernel low-level debugging messages via MSM 8960 UART"
Stepan Moskovchenko824db172012-05-29 18:05:09 -0700991 depends on ARCH_MSM8960 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700992 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800993 help
994 Say Y here if you want the debug print routines to direct
995 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700996
Stepan Moskovchenko824db172012-05-29 18:05:09 -0700997 config DEBUG_MSM8930_UART
998 bool "Kernel low-level debugging messages via MSM 8930 UART"
999 depends on ARCH_MSM8930 && DEBUG_LL
1000 select MSM_HAS_DEBUG_UART_HS
1001 help
1002 Say Y here if you want the debug print routines to direct
1003 their output to the serial port on MSM 8930 devices.
1004
1005 config DEBUG_APQ8064_UART
1006 bool "Kernel low-level debugging messages via APQ 8064 UART"
1007 depends on ARCH_APQ8064 && DEBUG_LL
1008 select MSM_HAS_DEBUG_UART_HS
1009 help
1010 Say Y here if you want the debug print routines to direct
1011 their output to the serial port on APQ 8064 devices.
1012
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001013 config DEBUG_MSM8974_UART
1014 bool "Kernel low-level debugging messages via MSM 8974 UART"
1015 depends on ARCH_MSM8974
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001016 select MSM_HAS_DEBUG_UART_HS_V14
1017 help
1018 Say Y here if you want the debug print routines to direct
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001019 their output to the serial port on MSM 8974 devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001020endchoice
Brian Swetland9e73c842007-11-26 04:12:13 -08001021
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001022choice
1023 prompt "Default Timer"
1024 default MSM7X00A_USE_GP_TIMER
1025
1026 config MSM7X00A_USE_GP_TIMER
1027 bool "GP Timer"
1028 help
1029 Low resolution timer that allows power collapse from idle.
1030
1031 config MSM7X00A_USE_DG_TIMER
1032 bool "DG Timer"
1033 help
1034 High resolution timer.
1035endchoice
1036
1037choice
1038 prompt "Suspend sleep mode"
1039 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1040 help
1041 Allows overriding the sleep mode used. Leave at power
1042 collapse suspend unless the arm9 image has problems.
1043
1044 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1045 bool "Power collapse suspend"
1046 help
1047 Lowest sleep state. Returns through reset vector.
1048
1049 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1050 bool "Power collapse"
1051 help
1052 Sleep state that returns through reset vector.
1053
1054 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1055 bool "Apps Sleep"
1056
1057 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1058 bool "Ramp down cpu clock and wait for interrupt"
1059
1060 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1061 bool "Wait for interrupt"
1062endchoice
1063
1064config MSM7X00A_SLEEP_MODE
1065 int
1066 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1067 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1068 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1069 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1070 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1071
1072choice
1073 prompt "Idle sleep mode"
1074 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1075 help
1076 Allows overriding the sleep mode used from idle. Leave at power
1077 collapse suspend unless the arm9 image has problems.
1078
1079 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1080 bool "Power collapse suspend"
1081 help
1082 Lowest sleep state. Returns through reset vector.
1083
1084 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1085 bool "Power collapse"
1086 help
1087 Sleep state that returns through reset vector.
1088
1089 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1090 bool "Apps Sleep"
1091
1092 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1093 bool "Ramp down cpu clock and wait for interrupt"
1094
1095 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1096 bool "Wait for interrupt"
1097endchoice
1098
1099config MSM7X00A_IDLE_SLEEP_MODE
1100 int
1101 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1102 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1103 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1104 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1105 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1106
1107config MSM7X00A_IDLE_SLEEP_MIN_TIME
1108 int "Minimum idle time before sleep"
1109 default 20000000
1110 help
1111 Minimum idle time in nanoseconds before entering low power mode.
1112
1113config MSM7X00A_IDLE_SPIN_TIME
1114 int "Idle spin time before cpu ramp down"
1115 default 80000
1116 help
1117 Spin time in nanoseconds before ramping down cpu clock and entering
1118 any low power state.
1119
1120menuconfig MSM_IDLE_STATS
1121 bool "Collect idle statistics"
1122 default y
1123 help
1124 Collect idle statistics and export them in proc/msm_pm_stats.
1125
1126if MSM_IDLE_STATS
1127
1128config MSM_IDLE_STATS_FIRST_BUCKET
1129 int "First bucket time"
1130 default 62500
1131 help
1132 Upper time limit in nanoseconds of first bucket.
1133
1134config MSM_IDLE_STATS_BUCKET_SHIFT
1135 int "Bucket shift"
1136 default 2
1137
1138config MSM_IDLE_STATS_BUCKET_COUNT
1139 int "Bucket count"
1140 default 10
1141
1142config MSM_SUSPEND_STATS_FIRST_BUCKET
1143 int "First bucket time for suspend"
1144 default 1000000000
1145 help
1146 Upper time limit in nanoseconds of first bucket of the
1147 histogram. This is for collecting statistics on suspend.
1148
1149endif # MSM_IDLE_STATS
1150
1151config CPU_HAS_L2_PMU
1152 bool "L2CC PMU Support"
1153 help
1154 Select this if the L2 cache controller has a Performance Monitoring Unit.
1155
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001156config HTC_HEADSET
1157 tristate "HTC 2 Wire detection driver"
1158 default n
1159 help
1160 Provides support for detecting HTC 2 wire devices, such as wired
1161 headset, on the trout platform. Can be used with the msm serial
1162 debugger, but not with serial console.
1163
1164config TROUT_BATTCHG
1165 depends on MACH_TROUT && POWER_SUPPLY
1166 default y
1167 bool "Trout battery / charger driver"
1168
1169config HTC_PWRSINK
1170 depends on MSM_SMD
1171 default n
1172 bool "HTC Power Sink Driver"
1173
1174config QSD_SVS
1175 bool "QSD Static Voltage Scaling"
1176 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1177 default y
1178 select TPS65023
1179 help
1180 Enables static voltage scaling using the TPS65023 PMIC.
1181
1182config QSD_PMIC_DEFAULT_DCDC1
1183 int "PMIC default output voltage"
1184 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1185 default 1250
1186 help
1187 This is the PMIC voltage at Linux kernel boot.
1188
1189config MSM_FIQ_SUPPORT
1190 default y
1191 bool "Enable installation of an FIQ handler."
1192
1193config MSM_SERIAL_DEBUGGER
1194 select MSM_FIQ_SUPPORT
1195 select KERNEL_DEBUGGER_CORE
1196 default n
1197 bool "FIQ Mode Serial Debugger"
1198 help
1199 The FIQ serial debugger can accept commands even when the
1200 kernel is unresponsive due to being stuck with interrupts
1201 disabled. Depends on the kernel debugger core in drivers/misc.
1202
1203config MSM_SERIAL_DEBUGGER_CONSOLE
1204 depends on MSM_SERIAL_DEBUGGER
1205 default n
1206 bool "Console on FIQ Serial Debugger port"
1207 help
1208 Enables a console so that printk messages are displayed on
1209 the debugger serial port as the occur.
Brian Swetland9e73c842007-11-26 04:12:13 -08001210
Gregory Beanab78cde2010-09-01 16:26:12 -07001211config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001212 default y
1213 bool "Proc-Comm RPC Interface"
1214 help
1215 Enables a lightweight communications interface to the
1216 baseband processor.
Gregory Beanab78cde2010-09-01 16:26:12 -07001217
Gregory Bean1963a2a2010-08-28 10:05:44 -07001218config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001219 bool "MSM Shared Memory Driver (SMD)"
1220 help
1221 Support for the shared memory interface between the apps
1222 processor and the baseband processor. Provides access to
1223 the "shared heap", as well as virtual serial channels
1224 used to communicate with various services on the baseband
1225 processor.
1226
1227choice
1228 prompt "MSM Shared memory interface version"
1229 depends on MSM_SMD
1230 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1231 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1232
1233 config MSM_SMD_PKG3
1234 bool
1235 prompt "Package 3"
1236
1237 config MSM_SMD_PKG4
1238 bool
1239 prompt "Package 4"
1240endchoice
1241
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001242config MSM_PCIE
1243 bool "MSM PCIe Controller driver"
1244 depends on PCI && PCI_MSI
1245 help
1246 Enables the PCIe functionality by configures PCIe core on
1247 MSM chipset and by enabling the ARM PCI framework extension.
1248
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001249config MSM_RPC_SDIO_XPRT
1250 depends on MSM_SDIO_AL
1251 default y
1252 bool "MSM SDIO XPRT Layer"
1253 help
1254 SDIO Transport Layer for RPC Rouer
1255
1256config MSM_RPC_SDIO_DEBUG
1257 depends on MSM_RPC_SDIO_XPRT
1258 default y
1259 bool "MSM SDIO XPRT debug support"
1260 help
1261 Support for debugging SDIO XPRT
1262
1263config MSM_SMD_DEBUG
1264 depends on MSM_SMD
1265 default y
1266 bool "MSM SMD debug support"
1267 help
1268 Support for debugging the SMD for communication
1269 between the ARM9 and ARM11
1270
1271config MSM_SDIO_AL
1272 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1273 default y
1274 tristate "SDIO-Abstraction-Layer"
1275 help
1276 Support MSM<->MDM Communication over SDIO bus.
1277 MDM SDIO-Client should have pipes support.
1278
1279config MSM_SDIO_DMUX
1280 bool "SDIO Data Mux Driver"
1281 depends on MSM_SDIO_AL
1282 default n
1283 help
1284 Support Muxed Data Channels over SDIO interface.
1285
1286config MSM_BAM_DMUX
1287 bool "BAM Data Mux Driver"
1288 depends on SPS
1289 default n
1290 help
1291 Support Muxed Data Channels over BAM interface.
1292 BAM has a limited number of pipes. This driver
1293 provides a means to support more logical channels
1294 via muxing than BAM could without muxing.
1295
1296config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001297 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001298 default y
1299 bool "MSM N-WAY SMD support"
1300 help
1301 Supports APPS-QDSP SMD communication along with
1302 normal APPS-MODEM SMD communication.
1303
1304config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001305 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001306 default y
1307 bool "MSM N-WAY SMSM support"
1308 help
1309 Supports APPS-QDSP SMSM communication along with
1310 normal APPS-MODEM SMSM communication.
1311
1312config MSM_RESET_MODEM
1313 tristate "Reset Modem Driver"
1314 depends on MSM_SMD
1315 default m
1316 help
1317 Allows the user to reset the modem through a device node.
1318
1319config MSM_SMD_LOGGING
1320 depends on MSM_SMD
1321 default y
1322 bool "MSM Shared Memory Logger"
1323 help
1324 This option exposes the shared memory logger at /dev/smem_log
1325 and a debugfs node named smem_log.
1326
1327 If in doubt, say yes.
1328
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001329config MSM_IPC_LOGGING
1330 bool "MSM Debug Logging for IPC Drivers"
1331 help
1332 This option allows the debug logging for IPC Drivers.
1333
1334 If in doubt, say no.
1335
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001336config MSM_SMD_NMEA
1337 bool "NMEA GPS Driver"
1338 depends on MSM_SMD
1339 default y
1340 help
1341 Enable this to support the NMEA GPS device.
1342
1343 If in doubt, say yes.
1344
1345config MSM_SDIO_TTY
1346 bool "SDIO TTY Driver"
1347 depends on MSM_SDIO_AL
1348 default n
1349 help
1350 Provides a TTY driver SDIO TTY
1351 This driver can be used by user space
1352 applications for passing data through the
1353 SDIO interface.
1354
1355config MSM_SMD_TTY
1356 bool "SMD TTY Driver"
1357 depends on MSM_SMD
1358 default y
1359 help
1360 Provides TTY interfaces to interact with the modem.
1361
1362 If in doubt, say yes.
1363
1364config MSM_SMD_QMI
1365 bool "SMD QMI Driver"
1366 depends on MSM_SMD
1367 default y
1368 help
1369 Manages network data connections.
1370
1371 If in doubt, say yes.
1372
1373config MSM_SMD_PKT
1374 bool "SMD Packet Driver"
1375 depends on MSM_SMD
1376 default y
1377 help
1378 Provides a binary SMD non-muxed packet port interface.
1379
1380 If in doubt, say yes.
1381
1382config MSM_SDIO_CMUX
1383 bool "SDIO CMUX Driver"
1384 depends on MSM_SDIO_AL
1385 default n
1386 help
1387 Provides a Muxed port interface over SDIO QMI
1388
1389config MSM_DSPS
1390 bool "Sensors DSPS driver"
1391 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1392 default n
1393 help
1394 Provides user-space interface to the sensors manager
1395 to turn on/off the Sensors Processor system clocks.
1396 It is the DSPS responsibility to turn on/off the sensors
1397 themself.
1398 The number of clocks and their name may vary between targets.
1399 It also triggers the PIL to load the DSPS firmware.
1400
1401config MSM_SDIO_CTL
1402 bool "SDIO CTL Driver"
1403 depends on MSM_SDIO_CMUX
1404 default n
1405 help
1406 Provides a binary SDIO control port interface.
1407
1408config MSM_ONCRPCROUTER
1409 depends on MSM_SMD
1410 default n
1411 bool "MSM ONCRPC router support"
1412 help
1413 Support for the MSM ONCRPC router for communication between
1414 the ARM9 and ARM11
1415
1416config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001417 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001418 default n
1419 bool "MSM IPC Router support"
1420 help
1421 Support for the MSM IPC Router for communication between
1422 the APPs and the MODEM
1423
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001424config MSM_IPC_ROUTER_SMD_XPRT
1425 depends on MSM_SMD
1426 depends on MSM_IPC_ROUTER
1427 default n
1428 bool "MSM SMD XPRT Layer"
1429 help
1430 SMD Transport Layer for IPC Router
1431
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001432config MSM_ONCRPCROUTER_DEBUG
1433 depends on MSM_ONCRPCROUTER
1434 default y
1435 bool "MSM debug ONCRPC router support"
1436 help
1437 Support for debugging the ONCRPC router for communication
1438 between the ARM9 and ARM11
1439
1440config MSM_RPC_LOOPBACK_XPRT
1441 depends on MSM_ONCRPCROUTER
1442 default n
1443 bool "MSM RPC local routing support"
1444 help
1445 Support for routing RPC messages between APPS clients
1446 and APPS servers. Helps in testing APPS RPC framework.
1447
1448config MSM_RPCSERVER_TIME_REMOTE
1449 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1450 default y
1451 bool "Time remote RPC server"
1452 help
1453 The time remote server receives notification of time bases and
1454 reports these events to registered callback functions.
1455
1456config MSM_RPCSERVER_WATCHDOG
1457 depends on MSM_ONCRPCROUTER
1458 default y
1459 bool "Watchdog RPC server"
1460 help
1461 The dog_keepalive server handles watchdog events.
1462
1463config MSM_RPC_WATCHDOG
1464 depends on MSM_ONCRPCROUTER
1465 default n
1466 bool "Watchdog RPC client"
1467 help
1468 The dog_keepalive client module.
1469
1470config MSM_RPC_PING
1471 depends on MSM_ONCRPCROUTER && DEBUG_FS
1472 default m
1473 bool "MSM rpc ping"
1474 help
1475 Implements MSM rpc ping test module.
1476
1477config MSM_RPC_PROC_COMM_TEST
1478 depends on DEBUG_FS && MSM_PROC_COMM
1479 default m
1480 bool "MSM rpc proc comm test"
1481 help
1482 Implements MSM rpc proc comm test module.
1483
1484config MSM_RPC_OEM_RAPI
1485 depends on MSM_ONCRPCROUTER
1486 default m
1487 bool "MSM oem rapi"
1488 help
1489 Implements MSM oem rapi client module.
1490
1491config MSM_RPCSERVER_HANDSET
1492 depends on MSM_ONCRPCROUTER
1493 default y
1494 bool "Handset events RPC server"
1495 help
1496 Support for receiving handset events like headset detect,
1497 headset switch and clamshell state.
1498
1499config MSM_RMT_STORAGE_CLIENT
1500 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1501 default n
1502 bool "Remote Storage RPC client"
1503 help
1504 Provide RPC mechanism for remote processors to access storage
1505 device on apps processor.
1506
1507config MSM_RMT_STORAGE_CLIENT_STATS
1508 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1509 default n
1510 bool "Remote storage RPC client performance statistics"
1511 help
1512 Collects performance statistics and shows this information
1513 through a debugfs file rmt_storage_stats.
1514
1515config MSM_SDIO_SMEM
1516 depends on MSM_SDIO_AL
1517 default n
1518 bool "SDIO SMEM for remote storage"
1519 help
1520 Copies data from remote MDM9K memory to local MSM8x60
1521 memory. Used by remote storage client to shadow
1522 MDM9K filesystem.
1523
1524config MSM_DALRPC
1525 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001526 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001527 help
1528 Supports RPC calls to DAL devices on remote processor cores.
1529
1530config MSM_DALRPC_TEST
1531 tristate "DAL RPC test module"
1532 depends on (MSM_DALRPC && DEBUG_FS)
1533 default m
1534 help
1535 Exercises DAL RPC calls to QDSP6.
1536
1537if CPU_FREQ_MSM
1538
1539config MSM_CPU_FREQ_SET_MIN_MAX
1540 bool "Set Min/Max CPU frequencies."
1541 default n
1542 help
1543 Allow setting min and max CPU frequencies. Sysfs can be used
1544 to override these values.
1545
1546config MSM_CPU_FREQ_MAX
1547 int "Max CPU Frequency"
1548 depends on MSM_CPU_FREQ_SET_MIN_MAX
1549 default 384000
1550
1551config MSM_CPU_FREQ_MIN
1552 int "Min CPU Frequency"
1553 depends on MSM_CPU_FREQ_SET_MIN_MAX
1554 default 245760
1555
1556endif # CPU_FREQ_MSM
1557
1558config MSM_CPU_AVS
1559 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1560 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1561 depends on ARCH_QSD8X50
1562 default n
1563 select MSM_AVS_HW
1564 help
1565 This enables the s/w control of Adaptive Voltage Scaling feature
1566 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1567 based on feedback from three ring oscillators in the CPU.
1568
1569config MSM_AVS_HW
1570 bool "Enable Adaptive Voltage Scaling (AVS)"
1571 default n
1572 help
1573 Enable AVS hardware to fine tune voltage at each frequency. The
1574 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1575 fine tune the voltages based on the feedback from the ring
1576 oscillators.
1577
1578config MSM_HW3D
1579 tristate "MSM Hardware 3D Register Driver"
1580 depends on ANDROID_PMEM
1581 default y
1582 help
1583 Provides access to registers needed by the userspace OpenGL|ES
1584 library.
1585
1586config MSM_ADSP
1587 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1588 tristate "MSM ADSP driver"
1589 depends on ANDROID_PMEM
1590 default y
1591 help
1592 Provides access to registers needed by the userspace aDSP library.
1593
1594config ADSP_RPC_VER
1595 hex
1596 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1597 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1598 depends on MSM_ADSP
1599 help
1600 Select proper ADSP RPC version
1601choice
1602 prompt "ADSP RPC version"
1603
1604 default AMSS_7X25_VERSION_2009
1605
1606 config AMSS_7X25_VERSION_2009
1607 bool "2.0.09"
1608
1609 config AMSS_7X25_VERSION_2008
1610 bool "2.0.08"
1611endchoice
1612
1613config MSM7KV2_AUDIO
1614 bool "MSM7K v2 audio"
1615 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1616 default y
1617 help
1618 Enables QDSP5V2-based audio drivers for audio playbacks and
1619 voice call.
1620
1621config MSM_ADSP_REPORT_EVENTS
1622 bool "Report modem events from the DSP"
1623 default y
1624 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1625 help
1626 Normally, only messages from the aDSP are reported to userspace.
1627 With this option, we report events from the aDSP as well.
1628
1629config MSM_QDSP6
1630 tristate "QDSP6 support"
1631 depends on ARCH_QSD8X50 && ANDROID_PMEM
1632 default y
1633 help
1634 Enable support for qdsp6. This provides audio and video functionality.
1635
1636config MSM8X60_AUDIO
1637 tristate "MSM8X60 audio support"
1638 depends on ARCH_MSM8X60 && ANDROID_PMEM
1639 default y
1640 help
1641 Enable support for qdsp6v2. This provides audio functionality.
1642
1643config MSM8X60_FTM_AUDIO_DEVICES
1644 bool "MSM8X60 audio factory test mode support"
1645 depends on MSM8X60_AUDIO
1646 help
1647 Enable support audio factory test mode devices. This is used
1648 in a production line environment.
1649
Ben Romberger45b351c2011-07-20 22:37:27 -07001650config RTAC
1651 bool "MSM8K real-time audio calibration support"
1652 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001653 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001654 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001655 audio operation
1656
1657config MSM7X27A_AUDIO
1658 bool "MSM7X27A audio support"
1659 depends on ARCH_MSM7X27A && MSM_ADSP
1660 default n
1661 help
1662 Enable support for 7x27a. This provides audio functionality.
1663
Justin Pauporea6cd2092011-06-22 16:19:45 -07001664config MSM_PROC_COMM_REGULATOR
Gregory Bean1963a2a2010-08-28 10:05:44 -07001665 bool
Justin Pauporea6cd2092011-06-22 16:19:45 -07001666 depends on MSM_PROC_COMM && REGULATOR
1667 help
1668 Enable regulator framework support for regulators managed by PMLIB
1669 on the modem, and controlled through proccomm calls.
1670
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001671config MSM_VREG_SWITCH_INVERTED
1672 bool "Reverse vreg switch polarity"
1673 default n
1674 help
1675 Reverses the enable and disable for vreg switch.
1676
1677config MSM_DMA_TEST
1678 tristate "MSM DMA test module"
1679 default m
1680 help
1681 Intended to be compiled as a module. Provides a device node
1682 and ioctls for testing the MSM dma system.
1683
1684config WIFI_CONTROL_FUNC
1685 bool "Enable WiFi control function abstraction"
1686 help
1687 Enables Power/Reset/Carddetect function abstraction
1688
1689config WIFI_MEM_PREALLOC
1690 depends on WIFI_CONTROL_FUNC
1691 bool "Preallocate memory for WiFi buffers"
1692 help
1693 Preallocates memory buffers for WiFi driver
1694
1695config QSD_AUDIO
1696 bool "QSD audio"
1697 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1698 default y
1699 help
1700 Provides PCM, MP3, and AAC audio playback.
1701
1702config AUDIO_AAC_PLUS
1703 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1704 bool "AAC+ Audio"
1705 default y
1706 help
1707 Provides AAC+ decoding
1708
1709config AUDIO_ENHANCED_AAC_PLUS
1710 depends on AUDIO_AAC_PLUS
1711 bool "Enhanced AAC+ Audio"
1712 default y
1713 help
1714 Provides Enhanced AAC+ decoding
1715
1716config SURF_FFA_GPIO_KEYPAD
1717 bool "MSM SURF/FFA GPIO keypad"
1718 depends on INPUT_GPIO = "y"
1719 default y
1720 help
1721 Select if the GPIO keypad is attached.
1722
1723config MSM_SLEEP_TIME_OVERRIDE
1724 bool "Allow overriding suspend/sleep time with PM module parameter"
1725 default y
1726 help
1727 Enable the module parameter sleep_time_override. Specified
1728 in units of seconds, it overwrites the normal sleep time of
1729 suspend. The feature is required for automated power management
1730 testing.
1731
1732config MSM_MEMORY_LOW_POWER_MODE
1733 bool "Control the low power modes of memory"
1734 default n
1735 help
1736 The application processor controls whether memory should enter
1737 which low power mode.
1738
1739choice
1740 prompt "Default Memory Low Power Mode during Idle"
1741 depends on MSM_MEMORY_LOW_POWER_MODE
1742 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1743 help
1744 Selects the default low power mode of the memory during idle
1745 sleep.
1746
1747 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1748 bool "Memory active"
1749
1750 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1751 bool "Memory in retention"
1752
1753 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1754 bool "Memory in deep power down"
1755endchoice
1756
1757choice
1758 prompt "Default Memory Low Power Mode during Suspend"
1759 depends on MSM_MEMORY_LOW_POWER_MODE
1760 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1761 help
1762 Selects the default low power mode of the memory during suspend
1763 sleep.
1764
1765 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1766 bool "Memory active"
1767
1768 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1769 bool "Memory in retention"
1770
1771 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1772 bool "Memory in deep power down"
1773endchoice
1774
1775choice
1776 prompt "Power management timeout action"
1777 default MSM_PM_TIMEOUT_HALT
1778 help
1779 Selects the Application Processor's action when Power Management
1780 times out waiting for Modem's handshake.
1781
1782 config MSM_PM_TIMEOUT_HALT
1783 bool "Halt the Application Processor"
1784
1785 config MSM_PM_TIMEOUT_RESET_MODEM
1786 bool "Reset the Modem Processor"
1787
1788 config MSM_PM_TIMEOUT_RESET_CHIP
1789 bool "Reset the entire chip"
1790endchoice
1791
1792config MSM_IDLE_WAIT_ON_MODEM
1793 int "Wait for Modem to become ready for idle power collapse"
1794 default 0
1795 help
1796 If Modem is not ready to handle Application Processor's request
1797 for idle power collapse, wait the number of microseconds in case
1798 Modem becomes ready soon.
1799
Matt Wagantall9274df92011-12-15 11:11:05 -08001800config MSM_RPM_REGULATOR
1801 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001802 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001803 help
1804 Compile in support for the RPM regulator driver, used for setting
1805 voltages and other parameters of the various power rails supplied
1806 by some Qualcomm PMICs.
1807
David Collinsc7642322012-04-04 10:19:12 -07001808config MSM_RPM_REGULATOR_SMD
1809 bool "SMD RPM regulator driver"
1810 depends on REGULATOR
1811 depends on OF
1812 depends on MSM_RPM_SMD
1813 help
1814 Compile in support for the SMD RPM regulator driver which is used for
1815 setting voltages and other parameters of the various power rails
1816 supplied by some Qualcomm PMICs. The SMD RPM regulator driver should
1817 be used on systems which contain an RPM which communicates with the
1818 application processor over SMD.
1819
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001820config MSM_PIL
1821 bool "Peripheral image loading"
1822 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001823 default n
1824 help
1825 Some peripherals need to be loaded into memory before they can be
1826 brought out of reset.
1827
1828 Say yes to support these devices.
1829
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001830config MSM_PIL_MODEM
1831 tristate "Modem (ARM11) Boot Support"
1832 depends on MSM_PIL
1833 help
1834 Support for booting and shutting down ARM11 Modem processors.
1835
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001836config MSM_PIL_QDSP6V3
1837 tristate "QDSP6v3 (Hexagon) Boot Support"
1838 depends on MSM_PIL
1839 help
1840 Support for booting and shutting down QDSP6v3 processors (hexagon).
1841 The QDSP6 is a low power DSP used in audio software applications.
1842
Stephen Boydeb819882011-08-29 14:46:30 -07001843config MSM_PIL_QDSP6V4
1844 tristate "QDSP6v4 (Hexagon) Boot Support"
1845 depends on MSM_PIL
1846 help
1847 Support for booting and shutting down QDSP6v4 processors (hexagon).
1848 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1849 software applications.
1850
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001851config MSM_PIL_LPASS_QDSP6V5
1852 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
1853 depends on MSM_PIL
1854 help
Matt Wagantall4e2599e2012-03-21 22:31:35 -07001855 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1856 in low power audio subsystems.
1857
1858config MSM_PIL_MSS_QDSP6V5
1859 tristate "MSS QDSP6v5 (Hexagon) Boot Support"
1860 depends on MSM_PIL
1861 help
1862 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1863 in modem subsystems.
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001864
Matt Wagantalle6e00d52012-03-08 17:39:07 -08001865config MSM_PIL_MBA
1866 tristate "Support for modem self-authentication"
1867 depends on MSM_PIL_MSS_QDSP6V5
1868 help
1869 Support for booting self-authenticating modems using the Modem Boot
1870 Authenticator.
Stephen Boyd322a9922011-09-20 01:05:54 -07001871
1872config MSM_PIL_RIVA
Stephen Boydd89eebe2011-09-28 23:28:11 -07001873 tristate "RIVA (WCNSS) Boot Support"
1874 depends on MSM_PIL
1875 help
1876 Support for booting and shutting down the RIVA processor (WCNSS).
1877 Riva is the wireless subsystem processor used in bluetooth, wireless
1878 LAN, and FM software applications.
1879
1880config MSM_PIL_TZAPPS
1881 tristate "TZApps Boot Support"
1882 depends on MSM_PIL
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07001883 help
1884 Support for booting and shutting down TZApps.
1885
1886 TZApps is an image that runs in the secure processor state. It is
1887 used to decrypt data and perform secure operations on the behalf of
1888 the kernel.
1889
1890config MSM_PIL_DSPS
1891 tristate "DSPS Boot Support"
Stephen Boyd7b973de2012-03-09 12:26:16 -08001892 depends on MSM_PIL
1893 help
1894 Support for booting and shutting down ARM7 DSPS processors.
1895
1896 DSPS is a sensors offloading processor used for applications such
1897 as rotation detection, temperature, etc.
Matt Wagantall292aace2012-01-26 19:12:34 -08001898
1899config MSM_PIL_VIDC
1900 tristate "Video Core Secure Boot Support"
1901 depends on MSM_PIL
1902 help
1903 Support for authenticating the video core image.
1904
Tianyi Gou828798d2012-05-02 21:12:38 -07001905config MSM_PIL_VENUS
1906 tristate "VENUS (Video) Boot Support"
1907 depends on MSM_PIL
1908 help
1909 Support for booting and shutting down the VENUS processor (Video).
1910 Venus is the Video subsystem processor used for video codecs.
1911
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001912config MSM_PIL_GSS
1913 tristate "GSS (Coretx A5) Boot Support"
1914 depends on MSM_PIL
1915 help
1916 Support for booting and shutting down Cortex A5 processors which run
1917 GPS subsystem firmware.
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001918
Tianyi Gouc1e049f82011-11-23 14:20:16 -08001919config MSM_PIL_PRONTO
1920 tristate "PRONTO (WCNSS) Boot Support"
1921 depends on MSM_PIL
1922 help
1923 Support for booting and shutting down the PRONTO processor (WCNSS).
1924 PRONTO is the wireless subsystem processor used in bluetooth, wireless
1925 LAN, and FM software applications.
1926
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001927config MSM_SCM
1928 bool "Secure Channel Manager (SCM) support"
1929 default n
1930
1931config MSM_SUBSYSTEM_RESTART
1932 bool "MSM Subsystem Restart Driver"
1933 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
1934 default n
1935 help
1936 This option enables the MSM subsystem restart driver, which provides
1937 a framework to handle subsystem crashes.
1938
Matt Wagantallf8020902011-08-30 21:19:23 -07001939config MSM_SYSMON_COMM
1940 bool "MSM System Monitor communication support"
1941 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1942 default y
1943 help
1944 This option adds support for MSM System Monitor library, which
1945 provides an API that may be used for notifying subsystems within
1946 the SoC about other subsystems' power-up/down state-changes.
1947
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001948config MSM_MODEM_8960
1949 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001950 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001951 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001952 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001953 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001954 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001955
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001956config MSM_LPASS_8960
1957 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001958 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001959 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001960 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001961 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001962 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001963
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001964config MSM_WCNSS_SSR_8960
1965 tristate "MSM 8960 WCNSS restart module"
1966 depends on (ARCH_MSM8960)
1967 help
1968 This option enables the WCNSS restart module for MSM8960, which
1969 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1970 into the subsystem restart framework.
1971
Rohit Vaswanid0fb4182012-03-19 18:07:59 -07001972config MSM_GSS_SSR_8064
1973 bool "MSM 8064 GSS restart driver"
1974 depends on (ARCH_APQ8064)
1975 help
1976 This option enables the gps subsystem restart driver for APQ8064, which monitors
1977 gss hardware watchdog interrupt lines and plugs into the subsystem
1978 restart and PIL drivers.
1979
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001980config SCORPION_Uni_45nm_BUG
1981 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1982 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1983 default y
1984 help
1985 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1986 invalidating the Branch Predictor Array by Modified Virtual Address can
1987 create invalid entries in the TLB with the wrong ASID values on Scorpion
1988 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1989 workaround for Scorpion Uniprocessor 45nm cores.
1990
1991 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
1992
Harini Jayaramanef7805f2011-09-28 12:45:31 -06001993config MSM_BUSPM_DEV
1994 tristate "MSM Bus Performance Monitor Kernel Module"
1995 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
1996 default m
1997 help
1998 This kernel module is used to mmap() hardware registers for the
1999 performance monitors, counters, etc. The module can also be used to
2000 allocate physical memory which is used by bus performance hardware to
2001 dump performance data.
2002
Mona Hossain11c03ac2011-10-26 12:42:10 -07002003config MSM_TZ_LOG
2004 tristate "MSM Trust Zone (TZ) Log Driver"
2005 depends on DEBUG_FS
2006 help
2007 This option enables a driver with a debugfs interface for messages
2008 produced by the Secure code (Trust zone). These messages provide
2009 diagnostic information about TZ operation.
2010
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002011config MSM_RPM_LOG
2012 tristate "MSM Resource Power Manager Log Driver"
2013 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002014 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002015 default n
2016 help
2017 This option enables a driver which can read from a circular buffer
2018 of messages produced by the RPM. These messages provide diagnostic
2019 information about RPM operation. The driver outputs the messages
2020 via a debugfs node.
2021
2022config MSM_RPM_STATS_LOG
2023 tristate "MSM Resource Power Manager Stat Driver"
2024 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002025 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002026 default n
2027 help
2028 This option enables a driver which reads RPM messages from a shared
2029 memory location. These messages provide statistical information about
2030 the low power modes that RPM enters. The drivers outputs the message
2031 via a debugfs node.
2032
Girish Mahadevan898c56d2012-06-05 16:09:19 -06002033config MSM_RPM_RBCPR_STATS_LOG
2034 tristate "MSM Resource Power Manager RPBCPR Stat Driver"
2035 depends on DEBUG_FS
2036 depends on MSM_RPM
2037 help
2038 This option enables a driver which reads RPM messages from a shared
2039 memory location. These messages provide statistical information about
2040 RBCPR (Rapid Bridge Core Power Reduction) information . The drivers
2041 outputs the message via a debugfs node.
2042
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002043config MSM_DIRECT_SCLK_ACCESS
2044 bool "Direct access to the SCLK timer"
2045 default n
2046
2047config IOMMU_API
2048 bool
Gregory Bean1963a2a2010-08-28 10:05:44 -07002049
Brian Swetland9e73c842007-11-26 04:12:13 -08002050config MSM_GPIOMUX
2051 bool
2052
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002053config MSM_SECURE_IO
Brian Swetland9e73c842007-11-26 04:12:13 -08002054 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002055
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002056config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002057 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002058
Taniya Dascd1d0232012-07-03 17:50:47 +05302059config MSM_MODEM_RESTART
2060 bool
2061
Matt Wagantall88b86312012-01-31 16:53:03 -08002062config MSM_PM2
2063 depends on PM
2064 bool
2065
2066config MSM_PM8X60
2067 depends on PM
2068 bool
2069
2070config MSM_NOPM
2071 default y if !PM
2072 bool
2073
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002074config MSM_BUS_SCALING
2075 bool "Bus scaling driver"
2076 default n
2077
Gagan Mac85c70492011-06-10 16:07:47 -06002078config MSM_BUS_RPM_MULTI_TIER_ENABLED
2079 bool "RPM Multi-tiering Configuration"
2080 depends on MSM_BUS_SCALING
2081
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002082config MSM_WATCHDOG
2083 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002084 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002085 help
2086 This enables the watchdog as is present on 8x60. Currently we use
2087 core 0's watchdog, and reset the entire SoC if it times out. It does
2088 not run during the bootup process, so it will not catch any early
2089 lockups.
2090
Hanumant Singhd1f01022012-07-05 14:21:53 -07002091config MSM_WATCHDOG_V2
2092 bool "MSM Watchdog Support"
2093 help
2094 This enables the watchdog module. It causes kernel panic if the
2095 watchdog times out. It allows for detection of cpu hangs and
2096 deadlocks. It does not run during the bootup process, so it will
2097 not catch any early lockups.
2098
Hanumant Singh5e2541c2012-07-31 14:41:14 -07002099config MSM_MEMORY_DUMP
2100 bool "MSM Memory Dump Support"
2101 help
2102 This enables memory dump feature. It allows various client
2103 subsystems to register respective dump regions. At the time
2104 of deadlocks or cpu hangs these dump regions are captured to
2105 give a snapshot of the system at the time of the crash.
2106
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002107config MSM_DLOAD_MODE
2108 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07002109 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002110 default n
2111 help
2112 This makes the SoC enter download mode when it resets
2113 due to a kernel panic. Note that this doesn't by itself
2114 make the kernel reboot on a kernel panic - that must be
2115 enabled via another mechanism.
2116
Pratik Patel17f3b822011-11-21 12:41:47 -08002117config MSM_JTAG
Pratik Patel2963de42012-05-17 12:43:40 -07002118 bool "JTAG and kernel debug and trace support across power collapse"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002119 help
Pratik Patel2963de42012-05-17 12:43:40 -07002120 Enables support for kernel debugging (specifically breakpoints) and
2121 processor tracing across power collapse both for JTag and OS hosted
2122 software running on the target. Enabling this will ensure debug
2123 and ETM registers are saved and restored across power collapse.
2124
2125 For production builds, you should probably say 'N' here to avoid
2126 potential power, performance and memory penalty.
Pratik Patel7831c082011-06-08 21:44:37 -07002127
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002128config MSM_ETM
2129 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002130 depends on ARCH_MSM8X60
2131 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002132 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002133 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002134
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002135config MSM_SLEEP_STATS
2136 bool "Enable exporting of MSM sleep stats to userspace"
2137 depends on CPU_IDLE
2138 default n
2139
Lynus Vazdde09ee2012-01-05 13:28:22 +05302140config MSM_SLEEP_STATS_DEVICE
2141 bool "Enable exporting of MSM sleep device stats to userspace"
2142
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302143config MSM_RUN_QUEUE_STATS
2144 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Krishna Vankae2922052012-03-02 09:59:12 +05302145 depends on (MSM_SOC_REV_A || ARCH_MSM8X60 || ARCH_MSM8960)
2146 help
2147 This option enalbes statistics collection on Run Queue. A daemon
2148 in user mode, called MPDecision will be using this data to decide
2149 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302150
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002151config MSM_STANDALONE_POWER_COLLAPSE
2152 bool "Enable standalone power collapse"
2153 default n
2154
2155config MSM_GSBI9_UART
2156 bool "Enable GSBI9 UART device"
2157 default n
2158 help
2159 This enables GSBI9 configured into UART.
2160
2161config MSM_SHARED_GPIO_FOR_UART2DM
2162 bool "Use shared GPIOs into UART mode"
2163 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2164 help
2165 This option configures GPIO muxed with SDC4/MMC3
2166 8-bit mode into UART mode. It is used for serial
2167 console on UART2DM. Say Y if you want to have
2168 serial console on UART2DM.
2169
2170config MSM_SHOW_RESUME_IRQ
2171 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002172 depends on (ARM_GIC || PMIC8058)
2173 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002174 default n
2175 help
2176 This option logs wake up interrupts that have triggered just before
2177 the resume loop unrolls. Say Y if you want to debug why the system
2178 resumed.
2179
2180config BT_MSM_PINTEST
2181 tristate "MSM Bluetooth Pin Connectivity Test"
2182 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2183 default n
2184 help
2185 Bluetooth MSM Pin Connectivity test module.
2186 This driver provides support for verifying the MSM to BT pin
2187 connectivity.
2188
2189config MSM_FAKE_BATTERY
2190 depends on POWER_SUPPLY
2191 default n
2192 bool "MSM Fake Battery"
2193 help
2194 Enables MSM fake battery driver.
2195
2196config MSM_QDSP6_APR
2197 bool "Audio QDSP6 APR support"
2198 depends on MSM_SMD
2199 default n
2200 help
2201 Enable APR IPC protocol support between
2202 application processor and QDSP6. APR is
2203 used by audio driver to configure QDSP6's
2204 ASM, ADM and AFE.
2205
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -07002206config MSM_QDSP6_CODECS
2207 bool "Audio Codecs on QDSP6 APR "
2208 depends on MSM_SMD
2209 default n
2210 help
2211 Enable Audio codecs with APR IPC protocol support between
2212 application processor and QDSP6. APR is
2213 used by audio driver to configure QDSP6's
2214 ASM, ADM and AFE.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002215
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002216config MSM_QDSP6V2_CODECS
2217 bool "Audio QDSP6V2 APR support"
2218 depends on MSM_SMD
2219 help
2220 Enable Audio codecs with APR IPC protocol support between
2221 application processor and QDSP6 for B-family. APR is
2222 used by audio driver to configure QDSP6's
2223 ASM, ADM and AFE.
2224
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002225config MSM_AUDIO_QDSP6
2226 bool "QDSP6 HW Audio support"
2227 select SND_SOC_MSM_QDSP6_INTF
2228 default n
2229 help
2230 Enable HW audio support in QDSP6.
2231 QDSP6 can support HW encoder & decoder and audio processing
2232
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002233config MSM_AUDIO_QDSP6V2
2234 bool "QDSP6V2 HW Audio support"
2235 select SND_SOC_MSM_QDSP6V2_INTF
2236 help
2237 Enable HW audio support in QDSP6V2.
2238 QDSP6V2 can support HW encoder & decoder and
2239 audio processing. It will enable support for
2240 AAC, AMRNB, AMRWB, EVRC, MP3, QCELP among
2241 others.
2242
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002243config MSM_ULTRASOUND
2244 bool "MSM ultrasound support"
2245 depends on MSM_AUDIO_QDSP6
2246 help
2247 Enable support for qdsp6/ultrasound.
2248
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002249config MSM_RPC_VIBRATOR
2250 bool "RPC based MSM Vibrator Support"
2251 depends on MSM_ONCRPCROUTER
2252 help
2253 Enable the vibrator support on MSM over RPC. The vibrator
2254 is connected on the PMIC. Say Y if you want to enable this
2255 feature.
2256
2257config PM8XXX_RPC_VIBRATOR
2258 bool "RPC based Vibrator on PM8xxx PMICs"
2259 depends on MSM_RPC_VIBRATOR
2260 help
2261 Enable the vibrator support on MSM over RPC. The vibrator
2262 is connected on the PM8XXX PMIC. Say Y if you want to enable
2263 this feature.
2264
2265config MSM_SPM_V1
2266 bool "Driver support for SPM Version 1"
2267 help
2268 Enables the support for Version 1 of the SPM driver. SPM hardware is
2269 used to manage the processor power during sleep. The driver allows
2270 configuring SPM to allow different power modes.
2271
2272config MSM_SPM_V2
2273 bool "Driver support for SPM Version 2"
2274 help
2275 Enables the support for Version 2 of the SPM driver. SPM hardware is
2276 used to manage the processor power during sleep. The driver allows
2277 configuring SPM to allow different power modes.
2278
2279config MSM_L2_SPM
2280 bool "SPM support for L2 cache"
2281 depends on MSM_SPM_V2
2282 help
2283 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2284 control of L2 cache low power mode with a Subsystem Power manager.
2285 Enabling this driver allows configuring L2 SPM for low power modes
2286 on supported chipsets.
2287
Laura Abbott2d1760b2011-09-29 21:31:24 -07002288config MSM_MULTIMEDIA_USE_ION
2289 bool "Multimedia suport using Ion"
2290 depends on ION_MSM
2291 help
2292 Enable support for multimedia drivers using Ion for buffer management
2293 instead of pmem. Selecting this may also involve userspace
2294 dependencies as well.
2295
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002296config MSM_OCMEM
2297 bool "MSM On-Chip memory driver (OCMEM)"
2298 help
2299 Enable support for On-Chip Memory available on certain MSM chipsets.
2300 OCMEM is a low latency, high performance pool shared by subsystems.
2301
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002302config MSM_OCMEM_LOCAL_POWER_CTRL
2303 bool "OCMEM Local Power Control"
2304 depends on MSM_OCMEM
2305 help
2306 Enable direct power management of the OCMEM core by the
2307 OCMEM driver. By default power management is delegated to
2308 the RPM. Selecting this option causes the OCMEM driver to
2309 directly handle the various macro power transitions.
2310
2311config MSM_OCMEM_DEBUG
2312 bool "OCMEM Debug Support"
2313 depends on MSM_OCMEM
2314 help
2315 Enable debug options for On-chip Memory (OCMEM) driver.
2316 Various debug options include memory, power and latency.
2317 Choosing one of these options allows debugging of each
2318 individual subsystem separately.
2319
2320config MSM_OCMEM_POWER_DEBUG
2321 bool "OCMEM Power Debug Support"
2322 depends on MSM_OCMEM_DEBUG
2323 help
2324 Enable debug support for OCMEM power management.
2325 This adds support for verifying all power management
2326 related operations of OCMEM. Both local power management
2327 and RPM assisted power management operations are supported.
2328
Laura Abbottad340ff2012-01-04 14:23:48 -08002329config MSM_RTB
2330 bool "Register tracing"
2331 help
2332 Add support for logging different events to a small uncached
2333 region. This is designed to aid in debugging reset cases where the
2334 caches may not be flushed before the target resets.
2335
2336config MSM_RTB_SEPARATE_CPUS
2337 bool "Separate entries for each cpu"
2338 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002339 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002340 help
2341 Under some circumstances, it may be beneficial to give dedicated space
2342 for each cpu to log accesses. Selecting this option will log each cpu
2343 separately. This will guarantee that the last acesses for each cpu
2344 will be logged but there will be fewer entries per cpu
2345
Stepan Moskovchenko57884842012-06-07 17:35:49 -07002346config MSM_EBI_ERP
2347 bool "External Bus Interface (EBI) error reporting"
2348 help
2349 Say 'Y' here to enable reporting of external bus interface errors to
2350 the kernel log. Information such as the offending address and
2351 transaction type will be logged. This may be useful for debugging
2352 seemingly broken memory accesses.
2353
2354 For production builds, you should probably say 'N' here.
2355
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002356config MSM_CACHE_ERP
2357 bool "Cache / CPU error reporting"
2358 depends on ARCH_MSM_KRAIT
2359 help
2360 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2361 log. Enabling this feature can be used as a system debugging technique
2362 if cache corruption is suspected. Cache error statistics will also be
2363 reported in /proc/cpu/msm_cache_erp.
2364
2365 For production builds, you should probably say 'N' here.
2366
2367config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002368 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002369 depends on MSM_CACHE_ERP
2370 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002371 To cause the kernel to panic whenever an L1 cache error is detected, say
2372 'Y' here. This may be useful as a debugging technique if general system
2373 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002374
2375 For production builds, you should probably say 'N' here.
2376
Stepan Moskovchenko7035f652012-05-31 17:48:01 -07002377config MSM_L1_ERR_LOG
2378 bool "Log CPU ERP events to system memory"
2379 depends on MSM_CACHE_ERP
2380 help
2381 Enable logging CPU ERP events to an area of memory that will be
2382 preserved across a system reset. This may be useful for detecting and
2383 troubleshooting ERP-related system crashes in the field.
2384
2385 For production builds, you may want to say 'Y' here.
2386
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002387config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2388 bool "Report L2 master port slave/decode errors in kernel log"
2389 depends on MSM_CACHE_ERP
2390 help
2391 Master port errors can occur when a memory request is not properly
2392 handled by the destination slave. This can occur if the destination
2393 register does not exist or is inaccessible due to security
2394 restrictions or (in some cases) clock configuration. Enabling this
2395 option will cause a backtrace to be printed to the kernel log whenever
2396 such an error is encountered. Note that the error is reported as an
2397 interrupt rather than as an exception, meaning that the backtrace may
2398 have some skid. This option may help with debugging, though production
2399 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002400
2401config MSM_L2_ERP_PORT_PANIC
2402 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002403 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002404 help
2405 Master port errors can occur when a memory request is not properly
2406 handled by the destination slave. Enable this option to catch drivers
2407 which attempt to access bad areas of the address space, or access
2408 hardware registers in an improper state (such as certain clocks not
2409 being on). This option may help with debugging, though production
2410 builds should probably say 'N' here.
2411
2412config MSM_L2_ERP_1BIT_PANIC
2413 bool "Panic on recoverable L2 soft errors"
2414 depends on MSM_CACHE_ERP
2415 help
2416 Enable this option to cause a kernel panic whenever the L2 cache
2417 encounters a single-bit (correctable) soft error. This option should
2418 only be enabled when doing low-level debugging where cache corruption
2419 is suspected.
2420
2421 For production builds, you should definitely say 'N' here.
2422
2423config MSM_L2_ERP_2BIT_PANIC
2424 bool "Panic on unrecoverable L2 soft errors"
2425 depends on MSM_CACHE_ERP
2426 help
2427 Enable this option to cause a kernel panic whenever the L2 cache
2428 encounters a double-bit (non-correctable) soft error. Debug builds
2429 will likely benefit from having this option enabled to catch cache
2430 problems as soon as possible.
2431
2432 For production builds, it may be acceptable to say 'N' here, since
2433 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002434
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002435config MSM_DCVS
2436 bool "Use MSM DCVS for CPU/GPU Frequency control"
2437 depends on MSM_SCM
2438 help
2439 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2440 The DCVS manager allows idle driver to feed the idle information to the
2441 algorithm and the algorithm returns a frequency for the core which is
2442 passed to the frequency change driver.
2443
Taniya Dasc43e6872012-03-21 16:41:14 +05302444config HAVE_ARCH_HAS_CURRENT_TIMER
2445 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002446
2447config MSM_CACHE_DUMP
2448 bool "Cache dumping support"
2449 help
2450 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2451 This allows for analysis of the caches in case cache corruption is
2452 suspected.
2453
Laura Abbott7b637362012-03-29 16:43:49 -07002454config MSM_CACHE_DUMP_ON_PANIC
2455 bool "Dump caches on panic"
2456 depends on MSM_CACHE_DUMP
2457 help
2458 By default, the caches are flushed on panic. This means that trying to
2459 look at them in a RAM dump will give useless data. Select this if you
2460 want to dump the L1 and L2 caches on panic before any flush occurs.
2461 If unsure, say N
2462
Jack Phamccbbfab2012-04-09 19:50:20 -07002463config MSM_HSIC_SYSMON
2464 tristate "MSM HSIC system monitor driver"
2465 depends on USB
2466 help
2467 Add support for bridging with the system monitor interface of MDM
2468 over HSIC. This driver allows the local system monitor to
2469 communicate with the remote system monitor interface.
2470
2471config MSM_HSIC_SYSMON_TEST
2472 tristate "MSM HSIC system monitor bridge test"
2473 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2474 help
2475 Enable the test hook for the Qualcomm system monitor HSIC driver.
2476 This will create a debugfs file entry named "hsic_sysmon_test" which
2477 can be read and written to send character data to the sysmon port of
2478 the modem over USB.
2479
Brian Swetland9e73c842007-11-26 04:12:13 -08002480endif