blob: 4f14698871eb94e8cca64c6053d72a3b36e4fd4c [file] [log] [blame]
Brian Swetland1637de02008-09-09 07:13:33 -07001if ARCH_MSM
Brian Swetland9e73c842007-11-26 04:12:13 -08002
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -07003menu "MSM SoC Type"
Daniel Walkerbf83de42010-03-16 16:29:44 -07004
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07005config ARCH_MSM7X01A
Daniel Walkerbf83de42010-03-16 16:29:44 -07006 bool "MSM7x00A / MSM7x01A"
7 select ARCH_MSM_ARM11
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07008 select MSM_VIC
Daniel Walkerbf83de42010-03-16 16:29:44 -07009 select CPU_V6
David Brown74d10d72011-05-16 13:57:39 -070010 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070011 select MSM_REMOTE_SPINLOCK_SWP
12
13config ARCH_MSM7X25
14 bool "MSM7x25"
15 select ARCH_MSM_ARM11
16 select MSM_VIC
17 select CPU_V6
Steve Mucklef132c6c2012-06-06 18:30:57 -070018 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070019 select MSM_REMOTE_SPINLOCK_SWP
Taniya Dasbe561a02011-10-12 09:53:11 +053020 select MULTI_IRQ_HANDLER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070021
22config ARCH_MSM7X27
23 bool "MSM7x27"
24 select ARCH_MSM_ARM11 if MSM_SOC_REV_NONE
25 select ARCH_HAS_BARRIERS if MSM_SOC_REV_NONE
26 select ARCH_MSM_CORTEX_A5 if MSM_SOC_REV_A
27 select MSM_VIC
28 select CPU_V6 if MSM_SOC_REV_NONE
29 select CPU_V7 if MSM_SOC_REV_A
Steve Mucklef132c6c2012-06-06 18:30:57 -070030 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070031 select MSM_REMOTE_SPINLOCK_SWP if MSM_SOC_REV_NONE
32 select MSM_GPIOMUX
33 select REGULATOR
Taniya Dasbe561a02011-10-12 09:53:11 +053034 select MULTI_IRQ_HANDLER
Pankaj Kumar75c86fd2011-10-01 18:51:09 +053035 select MSM_PROC_COMM_REGULATOR
Laura Abbott1fbd2e62011-12-18 10:26:46 -080036 select CLEANCACHE
37 select QCACHE
Matt Wagantall88b86312012-01-31 16:53:03 -080038 select MSM_PM2 if PM
Krishna Vankae2922052012-03-02 09:59:12 +053039 select MSM_RUN_QUEUE_STATS if MSM_SOC_REV_A
Taniya Dasd4c39f92012-05-14 17:41:49 +053040 select DONT_MAP_HOLE_AFTER_MEMBANK0
Trilok Sonib856ab92012-06-26 14:33:28 +053041 select MIGHT_HAVE_CACHE_L2X0
Daniel Walkerbf83de42010-03-16 16:29:44 -070042
Daniel Walker7b521612010-05-06 12:44:57 -070043config ARCH_MSM7X30
44 bool "MSM7x30"
45 select ARCH_MSM_SCORPION
Daniel Walker7b521612010-05-06 12:44:57 -070046 select MSM_VIC
47 select CPU_V7
David Brown74d10d72011-05-16 13:57:39 -070048 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070049 select MSM_REMOTE_SPINLOCK_DEKKERS
50 select ARCH_SPARSEMEM_ENABLE
Laura Abbott78593b52011-09-26 18:48:14 -070051 select ARCH_HAS_HOLES_MEMORYMODEL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070052 select MEMORY_HOTPLUG
53 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -080054 select ARCH_ENABLE_MEMORY_HOTPLUG
55 select ARCH_ENABLE_MEMORY_HOTREMOVE
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070056 select MIGRATION
57 select ARCH_MEMORY_PROBE
58 select ARCH_MEMORY_REMOVE
Gregory Beanab78cde2010-09-01 16:26:12 -070059 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070060 select RESERVE_FIRST_PAGE
61 select MSM_DALRPC
62 select MSM_SPM_V1
63 select REGULATOR
Justin Paupore637a25d2011-07-14 17:11:04 -070064 select MSM_PROC_COMM_REGULATOR
Taniya Dasbae99fb2011-10-12 09:55:13 +053065 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -080066 select MSM_PM2 if PM
Chintan Pandyabb021762012-06-21 15:03:29 +053067 select HOLES_IN_ZONE if SPARSEMEM
Daniel Walker7b521612010-05-06 12:44:57 -070068
Daniel Walker4ad15e62010-05-06 13:54:17 -070069config ARCH_QSD8X50
70 bool "QSD8X50"
71 select ARCH_MSM_SCORPION
Daniel Walker4ad15e62010-05-06 13:54:17 -070072 select MSM_VIC
73 select CPU_V7
David Brown74d10d72011-05-16 13:57:39 -070074 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070075 select MSM_REMOTE_SPINLOCK_LDREX
76 select CPU_USE_DOMAINS
77 select EMULATE_DOMAIN_MANAGER_V7
Gregory Beanab78cde2010-09-01 16:26:12 -070078 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070079 select MSM_DALRPC
Matt Wagantall88b86312012-01-31 16:53:03 -080080 select MSM_PM2 if PM
Daniel Walker46fe5f22010-08-18 11:00:25 -070081
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070082config ARCH_MSM8X60
83 bool "MSM8X60"
Jeff Ohlsteine14411d2010-11-30 13:06:36 -080084 select ARCH_MSM_SCORPIONMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070085 select SMP_PARALLEL_START if SMP
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070086 select ARM_GIC
87 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070088 select MSM_REMOTE_SPINLOCK_LDREX
89 select ARCH_REQUIRE_GPIOLIB
90 select MSM_ADM3
91 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -080092 select MSM_RPM_REGULATOR
David Brown1a5ab4b2011-05-16 15:53:38 -070093 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070094 select MSM_PIL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070095 select ARCH_HAS_CPU_IDLE_WAIT
96 select MSM_DIRECT_SCLK_ACCESS
97 select MSM_RPM
98 select MSM_XO
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070099 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700100 select MSM_BUS_SCALING
101 select MSM_SECURE_IO
102 select MSM_DALRPC
103 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700104 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700105 select MSM_NATIVE_RESTART
106 select ARCH_INLINE_SPIN_TRYLOCK
107 select ARCH_INLINE_SPIN_TRYLOCK_BH
108 select ARCH_INLINE_SPIN_LOCK
109 select ARCH_INLINE_SPIN_LOCK_BH
110 select ARCH_INLINE_SPIN_LOCK_IRQ
111 select ARCH_INLINE_SPIN_LOCK_IRQSAVE
112 select ARCH_INLINE_SPIN_UNLOCK
113 select ARCH_INLINE_SPIN_UNLOCK_BH
114 select ARCH_INLINE_SPIN_UNLOCK_IRQ
115 select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
116 select ARCH_INLINE_READ_TRYLOCK
117 select ARCH_INLINE_READ_LOCK
118 select ARCH_INLINE_READ_LOCK_BH
119 select ARCH_INLINE_READ_LOCK_IRQ
120 select ARCH_INLINE_READ_LOCK_IRQSAVE
121 select ARCH_INLINE_READ_UNLOCK
122 select ARCH_INLINE_READ_UNLOCK_BH
123 select ARCH_INLINE_READ_UNLOCK_IRQ
124 select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
125 select ARCH_INLINE_WRITE_TRYLOCK
126 select ARCH_INLINE_WRITE_LOCK
127 select ARCH_INLINE_WRITE_LOCK_BH
128 select ARCH_INLINE_WRITE_LOCK_IRQ
129 select ARCH_INLINE_WRITE_LOCK_IRQSAVE
130 select ARCH_INLINE_WRITE_UNLOCK
131 select ARCH_INLINE_WRITE_UNLOCK_BH
132 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
133 select CPU_HAS_L2_PMU
134 select MSM_SPM_V1
Stephen Boyd2a1eb582010-08-27 10:01:23 -0700135 select MSM_SCM if SMP
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530136 select MULTI_IRQ_HANDLER
Laura Abbott46505f62011-11-02 18:06:55 -0700137 select MSM_MULTIMEDIA_USE_ION
Matt Wagantall88b86312012-01-31 16:53:03 -0800138 select MSM_PM8X60 if PM
Krishna Vankae2922052012-03-02 09:59:12 +0530139 select MSM_RUN_QUEUE_STATS
Laura Abbottb14ed962012-01-30 14:18:08 -0800140 select ARM_HAS_SG_CHAIN
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700141
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800142config ARCH_MSM8960
143 bool "MSM8960"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700144 select ARCH_MSM_KRAITMP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800145 select ARM_GIC
146 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700147 select GPIO_MSM_V2
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800148 select MSM_GPIOMUX
149 select MSM_SCM if SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700150 select MSM_DIRECT_SCLK_ACCESS
151 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -0800152 select MSM_RPM_REGULATOR
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700153 select MSM_RPM
154 select MSM_XO
155 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700156 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700157 select MSM_PIL
158 select MSM_AUDIO_QDSP6 if SND_SOC
159 select CPU_HAS_L2_PMU
160 select MSM_SPM_V2
161 select MSM_L2_SPM
162 select MSM_NATIVE_RESTART
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700163 select DONT_MAP_HOLE_AFTER_MEMBANK0
164 select MSM_REMOTE_SPINLOCK_SFPB
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700165 select ARCH_SPARSEMEM_ENABLE
166 select ARCH_HAS_HOLES_MEMORYMODEL
Larry Basseld4d82c92011-12-07 09:52:49 -0800167 select CLEANCACHE
168 select QCACHE
Laura Abbott6d61a912011-10-27 16:44:14 -0700169 select MSM_MULTIMEDIA_USE_ION
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530170 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800171 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700172 select HOLES_IN_ZONE if SPARSEMEM
Krishna Vankae2922052012-03-02 09:59:12 +0530173 select MSM_RUN_QUEUE_STATS
Laura Abbottb14ed962012-01-30 14:18:08 -0800174 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700175 select MSM_KRAIT_WFE_FIXUP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800176
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700177config ARCH_MSM8930
178 bool "MSM8930"
179 select ARCH_MSM_KRAITMP
180 select ARM_GIC
181 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700182 select GPIO_MSM_V2
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700183 select MSM_GPIOMUX
184 select MSM_SCM if SMP
185 select MSM_DIRECT_SCLK_ACCESS
186 select REGULATOR
David Collins5779cea2012-01-05 15:09:21 -0800187 select MSM_RPM_REGULATOR
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700188 select MSM_RPM
189 select MSM_XO
190 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700191 select MSM_QDSP6_CODECS
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700192 select MSM_PIL
193 select MSM_AUDIO_QDSP6 if SND_SOC
194 select CPU_HAS_L2_PMU
195 select MSM_SPM_V2
196 select MSM_L2_SPM
197 select MSM_NATIVE_RESTART
198 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600199 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700200 select ARCH_SPARSEMEM_ENABLE
201 select ARCH_HAS_HOLES_MEMORYMODEL
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +0200202 select MSM_ULTRASOUND
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530203 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800204 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700205 select HOLES_IN_ZONE if SPARSEMEM
Laura Abbottb14ed962012-01-30 14:18:08 -0800206 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700207 select MSM_KRAIT_WFE_FIXUP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700208
209config ARCH_APQ8064
210 bool "APQ8064"
211 select ARCH_MSM_KRAITMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700212 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700213 select ARM_GIC
214 select CPU_V7
215 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700216 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600217 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800218 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800219 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700220 select MSM_QDSP6_CODECS
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800221 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530222 select MULTI_IRQ_HANDLER
Praveen Chidambaram78499012011-11-01 17:15:17 -0600223 select MSM_RPM
224 select MSM_SPM_V2
225 select MSM_L2_SPM
Matt Wagantall88b86312012-01-31 16:53:03 -0800226 select MSM_PM8X60 if PM
Neil Leeder814d3d32012-01-19 17:21:43 -0500227 select CPU_HAS_L2_PMU
Laura Abbott085dd202012-03-30 14:02:34 -0700228 select HOLES_IN_ZONE if SPARSEMEM
Larry Bassel67b921d2012-04-06 10:23:27 -0700229 select CLEANCACHE
230 select QCACHE
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -0600231 select MIGHT_HAVE_PCI
232 select ARCH_SUPPORTS_MSI
Laura Abbottb14ed962012-01-30 14:18:08 -0800233 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700234 select MSM_KRAIT_WFE_FIXUP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700235
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700236config ARCH_MSM8974
237 bool "MSM8974"
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700238 select ARCH_MSM_KRAITMP
Sathish Ambley4149e842012-03-23 11:53:55 -0700239 select GPIO_MSM_V3
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700240 select ARM_GIC
241 select CPU_V7
242 select MSM_SCM if SMP
243 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530244 select MULTI_IRQ_HANDLER
Olav Hauganb800c8c2012-01-30 08:50:45 -0800245 select MSM_MULTIMEDIA_USE_ION
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700246 select MSM_PIL
Praveen Chidambaramaa9d52b2012-04-02 11:09:47 -0600247 select MSM_SPM_V2
248 select MSM_L2_SPM
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600249 select MSM_PM8X60 if PM
Steve Mucklef132c6c2012-06-06 18:30:57 -0700250 select MAY_HAVE_SPARSE_IRQ
251 select SPARSE_IRQ
Mahesh Sivasubramaniancb668712012-04-04 13:03:25 -0600252 select MSM_RPM_SMD
David Collinsc7642322012-04-04 10:19:12 -0700253 select REGULATOR
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -0700254 select MSM_QDSP6_APR
255 select MSM_QDSP6V2_CODECS
256 select MSM_AUDIO_QDSP6V2 if SND_SOC
David Collins1c91ea72012-05-03 16:17:35 -0700257 select MSM_RPM_REGULATOR_SMD
Laura Abbottb14ed962012-01-30 14:18:08 -0800258 select ARM_HAS_SG_CHAIN
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700259
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700260config ARCH_FSM9XXX
261 bool "FSM9XXX"
262 select ARCH_MSM_SCORPION
263 select MSM_VIC
264 select CPU_V7
265 select MSM_REMOTE_SPINLOCK_LDREX
Steve Mucklef132c6c2012-06-06 18:30:57 -0700266 select GPIO_FSM9XXX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530267 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800268 select MSM_DALRPC
Daniel Walker4ad15e62010-05-06 13:54:17 -0700269
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700270config ARCH_MSM9615
271 bool "MSM9615"
272 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530273 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700274 select ARCH_MSM_CORTEX_A5
275 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700276 select GPIO_MSM_V2
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700277 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600278 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600279 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700280 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800281 select REGULATOR
282 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530283 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800284 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800285 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700286 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800287 select MSM_QDSP6_APR
288 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800289 select FIQ
Laura Abbottb14ed962012-01-30 14:18:08 -0800290 select ARM_HAS_SG_CHAIN
Matt Wagantall9274df92011-12-15 11:11:05 -0800291
Taniya Das43bcdd62011-12-02 17:33:27 +0530292config ARCH_MSM8625
293 bool "MSM8625"
294 select ARCH_MSM_CORTEX_A5
295 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700296 select GPIO_MSM_V1
Taniya Das43bcdd62011-12-02 17:33:27 +0530297 select MSM_GPIOMUX
298 select ARM_GIC
299 select ARCH_MSM_CORTEXMP
300 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530301 select ARM_TICKET_LOCKS
Krishna Vankae2922052012-03-02 09:59:12 +0530302 select MSM_RUN_QUEUE_STATS
Trilok Sonib856ab92012-06-26 14:33:28 +0530303 select MIGHT_HAVE_CACHE_L2X0
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700304
305config ARCH_MSM9625
306 bool "MSM9625"
307 select ARM_GIC
308 select GIC_SECURE
309 select ARCH_MSM_CORTEX_A5
310 select SMP
311 select MSM_SMP
312 select CPU_V7
Jin Hong690e3352012-05-02 09:25:05 -0700313 select MSM_GPIOMUX
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700314 select MULTI_IRQ_HANDLER
Steve Mucklef132c6c2012-06-06 18:30:57 -0700315 select GPIO_MSM_V2
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700316
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700317endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700318
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700319choice
320 prompt "MSM SoC Revision"
321 default MSM_SOC_REV_NONE
322config MSM_SOC_REV_NONE
323 bool "N/A"
324 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
325 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walkerbf83de42010-03-16 16:29:44 -0700326config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700327 bool "Rev. A"
328 select ARCH_MSM7X27A if ARCH_MSM7X27
Daniel Walkerbf83de42010-03-16 16:29:44 -0700329endchoice
330
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700331config MSM_KRAIT_TBB_ABORT_HANDLER
332 bool "Krait TBB/TBH data abort handler"
333 depends on ARCH_MSM_KRAIT
334 depends on ARM_THUMB
335 help
336 Certain early samples of the Krait processor may generate data
337 aborts for TBB / TBH instructions that fail their condition code
338 checks. Enabling this option will ignore these erroneous data aborts,
339 at the expense of a very small performance penalty.
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800340
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700341 If unsure, say N.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700342
343config ARCH_MSM_ARM11
344 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700345
Daniel Walkerbf83de42010-03-16 16:29:44 -0700346config ARCH_MSM_SCORPION
347 bool
348
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700349config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700350 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800351 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700352
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700353config MSM_SMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700354 select HAVE_SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700355 bool
356
357config ARCH_MSM_SCORPIONMP
358 select ARCH_MSM_SCORPION
359 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530360 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700361 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700362 bool
363
364config ARCH_MSM_KRAITMP
365 select ARCH_MSM_KRAIT
366 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530367 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700368 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700369 bool
Steve Mucklef132c6c2012-06-06 18:30:57 -0700370 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700371
Taniya Das43bcdd62011-12-02 17:33:27 +0530372config ARCH_MSM_CORTEXMP
373 select MSM_SMP
374 bool
375
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700376config MSM_KRAIT_WFE_FIXUP
377 bool
378
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700379config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800380 bool
Rohit Vaswaniaf7ae272012-01-09 10:28:57 -0800381 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700382
383config ARCH_MSM7X27A
384 bool
385 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700386 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530387 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530388 select ARM_GIC
389 select ARCH_MSM_CORTEXMP
Trilok Sonib856ab92012-06-26 14:33:28 +0530390 select MIGHT_HAVE_CACHE_L2X0
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700391
Gregory Beanf9f3d312010-04-30 22:06:50 -0700392config MSM_VIC
393 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700394
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700395config MSM_RPM
396 bool "Resource Power Manager"
397 select MSM_MPM
398
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600399config MSM_RPM_SMD
400 depends on MSM_SMD
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600401 select MSM_MPM_OF
402 bool "RPM driver using SMD protocol"
403 help
404 RPM is the dedicated hardware engine for managing shared SoC
405 resources. This config adds driver support for using SMD as a
406 transport layer communication with RPM hardware. It also selects
407 the MSM_MPM config that programs the MPM module to monitor interrupts
408 during sleep modes.
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600409
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700410config MSM_MPM
411 bool "Modem Power Manager"
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600412 help
413 MPM is a dedicated hardware resource responsible for entering and
414 waking up from a system wide low power mode. The MPM driver tracks
415 the wakeup interrupts and configures the MPM to monitor the wakeup
416 interrupts when going to a system wide sleep mode.
417
418config MSM_MPM_OF
419 bool "Modem Power Manager"
420 depends on CONFIG_OF
421 help
422 MPM is a dedicated hardware resource responsible for entering and
423 waking up from a system wide low power mode. The MPM driver tracks
424 the wakeup interrupts and configures the MPM to monitor the wakeup
425 interrupts when going to a system wide sleep mode. This config option
426 enables the MPM driver that supports initialization from a device
427 tree
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700428
429config MSM_XO
430 bool
431
432config MSM_REMOTE_SPINLOCK_DEKKERS
433 bool
434config MSM_REMOTE_SPINLOCK_SWP
435 bool
436config MSM_REMOTE_SPINLOCK_LDREX
437 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600438config MSM_REMOTE_SPINLOCK_SFPB
439 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700440config MSM_ADM3
441 bool
442
443menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700444
445config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700446 depends on ARCH_MSM7X01A
447 depends on MSM_STACKED_MEMORY
448 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700449 bool "Halibut Board (QCT SURF7201A)"
450 help
451 Support for the Qualcomm SURF7201A eval board.
452
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700453config MACH_MSM7201A_SURF
454 depends on ARCH_MSM7X01A
455 depends on MSM_STACKED_MEMORY
456 default y
457 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700458 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700459 Support for the Qualcomm MSM7201A SURF eval board.
460
461config MACH_MSM7201A_FFA
462 depends on ARCH_MSM7X01A
463 depends on MSM_STACKED_MEMORY
464 default y
465 bool "MSM7201A FFA"
466 help
467 Support for the Qualcomm MSM7201A FFA eval board.
468
469config MACH_TROUT
470 depends on ARCH_MSM7X01A
471 depends on MSM_STACKED_MEMORY
472 default y
473 bool "Trout"
474
475config MACH_MSM7X27_SURF
476 depends on ARCH_MSM7X27
477 depends on !MSM_STACKED_MEMORY
478 default y
479 bool "MSM7x27 SURF"
480 help
481 Support for the Qualcomm MSM7x27 SURF eval board.
482
483config MACH_MSM7X27_FFA
484 depends on ARCH_MSM7X27
485 depends on !MSM_STACKED_MEMORY
486 default y
487 bool "MSM7x27 FFA"
488 help
489 Support for the Qualcomm MSM7x27 FFA eval board.
490
491config MACH_MSM7X27A_RUMI3
492 depends on ARCH_MSM7X27A
493 depends on !MSM_STACKED_MEMORY
494 default y
495 bool "MSM7x27A RUMI3"
496 help
497 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
498
499config MACH_MSM7X27A_SURF
500 depends on ARCH_MSM7X27A
501 depends on !MSM_STACKED_MEMORY
502 default y
503 bool "MSM7x27A SURF"
504 help
505 Support for the Qualcomm MSM7x27A SURF.
506
507config MACH_MSM7X27A_FFA
508 depends on ARCH_MSM7X27A
509 depends on !MSM_STACKED_MEMORY
510 default y
511 bool "MSM7x27A FFA"
512 help
513 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700514
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530515config MACH_MSM7625A_SURF
516 depends on ARCH_MSM7X27A
517 depends on !MSM_STACKED_MEMORY
518 default y
519 bool "MSM7625A SURF"
520 help
521 Support for the Qualcomm MSM7625A SURF.
522
523config MACH_MSM7625A_FFA
524 depends on ARCH_MSM7X27A
525 depends on !MSM_STACKED_MEMORY
526 default y
527 bool "MSM7625A FFA"
528 help
529 Support for the Qualcomm MSM7625A FFA.
530
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530531config MACH_MSM7627A_QRD1
532 depends on ARCH_MSM7X27A
533 depends on !MSM_STACKED_MEMORY
534 default y
535 bool "MSM7627A QRD1"
536 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530537 Support for the Qualcomm MSM7627A Reference Design.
538
539config MACH_MSM7627A_QRD3
540 depends on ARCH_MSM7X27A
541 depends on !MSM_STACKED_MEMORY
542 default y
543 bool "MSM7627A QRD3"
544 help
545 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530546
Taniya Dasc868a2e2012-01-03 10:18:47 +0530547config MACH_MSM7627A_EVB
548 depends on ARCH_MSM7X27A
549 depends on !MSM_STACKED_MEMORY
550 default y
551 bool "MSM7627A EVB"
552 help
553 Support for the Qualcomm MSM7627A Reference Design.
554
Taniya Das43bcdd62011-12-02 17:33:27 +0530555config MACH_MSM8625_RUMI3
556 depends on ARCH_MSM8625
557 depends on !MSM_STACKED_MEMORY
558 default y
559 bool "MSM8625 RUMI3"
560 help
561 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
562
Taniya Dase3027e22012-02-27 16:32:27 +0530563config MACH_MSM8625_SURF
564 depends on ARCH_MSM8625
565 depends on !MSM_STACKED_MEMORY
566 default y
567 bool "MSM8625 SURF"
568 help
569 Support for the Qualcomm MSM8625 SURF.
570
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530571config MACH_MSM8625_FFA
572 depends on ARCH_MSM8625
573 depends on !MSM_STACKED_MEMORY
574 default y
575 bool "MSM8625 FFA"
576 help
577 Support for the Qualcomm MSM8625 FFA.
578
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530579config MACH_MSM8625_EVB
580 depends on ARCH_MSM8625
581 depends on !MSM_STACKED_MEMORY
582 default y
583 bool "MSM8625 EVB"
584 help
585 Support for the Qualcomm MSM8625 Reference Design.
586
Taniya Dasbd096542012-03-15 17:43:45 +0530587config MACH_MSM8625_QRD7
588 depends on ARCH_MSM8625
589 depends on !MSM_STACKED_MEMORY
590 default y
591 bool "MSM8625 QRD7"
592 help
593 Support for the Qualcomm MSM8625 Reference Design.
594
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530595config MACH_MSM8625_EVT
596 depends on ARCH_MSM8625
597 depends on !MSM_STACKED_MEMORY
598 default y
599 bool "MSM8625 EVT"
600 help
601 Support for the Qualcomm MSM8625 Reference Design.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700602
Daniel Walker7b521612010-05-06 12:44:57 -0700603config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700604 depends on ARCH_MSM7X30
605 depends on !MSM_STACKED_MEMORY
606 default y
607 bool "MSM7x30 SURF"
608 help
609 Support for the Qualcomm MSM7x30 SURF eval board.
610
611config MACH_MSM7X30_FFA
612 depends on ARCH_MSM7X30
613 depends on !MSM_STACKED_MEMORY
614 default y
615 bool "MSM7x30 FFA"
616 help
617 Support for the Qualcomm MSM7x30 FFA eval board.
618
619config MACH_MSM7X30_FLUID
620 depends on ARCH_MSM7X30
621 depends on !MSM_STACKED_MEMORY
622 default y
623 bool "MSM7x30 FLUID"
624 help
625 Support for the Qualcomm MSM7x30 FLUID eval board.
626
627config MACH_SAPPHIRE
628 depends on ARCH_MSM7X01A
629 default n
630 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700631
Daniel Walker4ad15e62010-05-06 13:54:17 -0700632config MACH_QSD8X50_SURF
633 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700634 depends on MSM_SOC_REV_NONE
635 depends on MSM_STACKED_MEMORY
636 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700637 bool "QSD8x50 SURF"
638 help
639 Support for the Qualcomm QSD8x50 SURF eval board.
640
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700641config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700642 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700643 depends on MSM_SOC_REV_NONE
644 depends on MSM_STACKED_MEMORY
645 default y
646 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700647 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700648 Support for the Qualcomm QSD8x50 FFA eval board.
649
650config MACH_MSM7X25_SURF
651 depends on ARCH_MSM7X25
652 depends on !MSM_STACKED_MEMORY
653 default y
654 bool "MSM7x25 SURF"
655 help
656 Support for the Qualcomm MSM7x25 SURF eval board.
657
658config MACH_MSM7X25_FFA
659 depends on ARCH_MSM7X25
660 depends on !MSM_STACKED_MEMORY
661 default y
662 bool "MSM7x25 FFA"
663 help
664 Support for the Qualcomm MSM7x25 FFA eval board.
665
666config MACH_MSM8X55_SURF
667 depends on ARCH_MSM7X30
668 depends on !MSM_STACKED_MEMORY
669 default y
670 bool "MSM8X55 SURF"
671 help
672 Support for the Qualcomm MSM8x55 SURF eval board.
673
674config MACH_MSM8X55_FFA
675 depends on ARCH_MSM7X30
676 depends on !MSM_STACKED_MEMORY
677 default y
678 bool "MSM8X55 FFA"
679 help
680 Support for the Qualcomm MSM8x55 FFA eval board.
681
682config MACH_MSM8X55_SVLTE_FFA
683 depends on ARCH_MSM7X30
684 depends on !MSM_STACKED_MEMORY
685 default y
686 bool "MSM8X55 SVLTE FFA"
687 help
688 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
689
690config MACH_MSM8X55_SVLTE_SURF
691 depends on ARCH_MSM7X30
692 depends on !MSM_STACKED_MEMORY
693 default y
694 bool "MSM8X55 SVLTE SURF"
695 help
696 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700697
Steve Mucklea55df6e2010-01-07 12:43:24 -0800698config MACH_MSM8X60_RUMI3
699 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700700 default n
Steve Mucklea55df6e2010-01-07 12:43:24 -0800701 bool "MSM8x60 RUMI3"
702 help
703 Support for the Qualcomm MSM8x60 RUMI3 emulator.
704
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800705config MACH_MSM8X60_SIM
706 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700707 default n
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800708 bool "MSM8x60 Simulator"
709 help
710 Support for the Qualcomm MSM8x60 simulator.
711
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700712config MACH_MSM8X60_SURF
713 depends on ARCH_MSM8X60
714 default n
715 bool "MSM8x60 SURF"
716 help
717 Support for the Qualcomm MSM8x60 SURF eval board.
718
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700719config MACH_MSM8X60_FFA
720 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700721 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700722 bool "MSM8x60 FFA"
723 help
724 Support for the Qualcomm MSM8x60 FFA eval board.
725
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700726config MACH_MSM8X60_FLUID
727 depends on ARCH_MSM8X60
728 default n
729 bool "MSM8x60 FLUID"
730 help
731 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
732 8x60 target which has a form factor that is much closer to that
733 of a phone than other targets. It also has a new display and
734 touchscreen controller.
735
736config MACH_MSM8X60_FUSION
737 depends on ARCH_MSM8X60
738 default n
739 bool "MSM8x60 FUSION"
740 help
741 Support for the Qualcomm MSM8x60 Fusion SURF device.
742
743config MACH_MSM8X60_FUSN_FFA
744 depends on ARCH_MSM8X60
745 default n
746 bool "MSM8x60 FUSN FFA"
747 help
748 Support for the Qualcomm MSM8x60 Fusion FFA device.
749
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400750config MACH_MSM8X60_DRAGON
751 depends on ARCH_MSM8X60
752 default n
753 bool "MSM8x60 DRAGON"
754 help
755 Support for the Qualcomm MSM8x60 Dragon board.
756
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800757config MACH_MSM8960_SIM
758 depends on ARCH_MSM8960
759 bool "MSM8960 Simulator"
760 help
761 Support for the Qualcomm MSM8960 simulator.
762
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800763config MACH_MSM8960_RUMI3
764 depends on ARCH_MSM8960
765 bool "MSM8960 RUMI3"
766 help
767 Support for the Qualcomm MSM8960 RUMI3 emulator.
768
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700769config MACH_MSM8960_CDP
770 depends on ARCH_MSM8960
771 bool "MSM8960 CDP"
772 help
773 Support for the Qualcomm MSM8960 CDP device.
774
775config MACH_MSM8960_MTP
776 depends on ARCH_MSM8960
777 bool "MSM8960 MTP"
778 help
779 Support for the Qualcomm MSM8960 MTP device.
780
781config MACH_MSM8960_FLUID
782 depends on ARCH_MSM8960
783 bool "MSM8960 FLUID"
784 help
785 Support for the Qualcomm MSM8960 FLUID device.
786
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300787config MACH_MSM8960_LIQUID
788 depends on ARCH_MSM8960
789 bool "MSM8960 LIQUID"
790 help
791 Support for the Qualcomm MSM8960 LIQUID device.
792
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700793config MACH_MSM8930_CDP
794 depends on ARCH_MSM8930
795 bool "MSM8930 CDP"
796 help
797 Support for the Qualcomm MSM8930 CDP device.
798
799config MACH_MSM8930_MTP
800 depends on ARCH_MSM8930
801 bool "MSM8930 MTP"
802 help
803 Support for the Qualcomm MSM8930 MTP device.
804
805config MACH_MSM8930_FLUID
806 depends on ARCH_MSM8930
807 bool "MSM8930 FLUID"
808 help
809 Support for the Qualcomm MSM8930 FLUID device.
810
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800811config MACH_MSM8627_CDP
812 depends on ARCH_MSM8930
813 bool "MSM8627 CDP"
814 help
815 Support for the Qualcomm MSM8627 CDP device.
816
817config MACH_MSM8627_MTP
818 depends on ARCH_MSM8930
819 bool "MSM8627 MTP"
820 help
821 Support for the Qualcomm MSM8627 MTP device.
822
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700823config MACH_MSM9615_CDP
824 depends on ARCH_MSM9615
825 bool "MSM9615 CDP"
826 help
827 Support for the Qualcomm MSM9615 CDP device.
828
829config MACH_MSM9615_MTP
830 depends on ARCH_MSM9615
831 bool "MSM9615 MTP"
832 help
833 Support for the Qualcomm MSM9615 MTP device.
834
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700835config MSM_USE_TSIF1
836 depends on ARCH_MSM8X60
837 bool "MSM8x60 use TSIF1"
838 help
839 Selects TSIF1 core to be used rather than TSIF0.
840 The two TSIF cores share the same DM configuration
841 so they cannot be used simultaneously.
842
843config MACH_APQ8064_SIM
844 depends on ARCH_APQ8064
845 bool "APQ8064 Simulator"
846 help
847 Support for the Qualcomm APQ8064 simulator.
848
Stepan Moskovchenkod256ddf2011-09-08 12:34:46 -0700849config MACH_APQ8064_RUMI3
850 depends on ARCH_APQ8064
851 bool "APQ8064 RUMI3"
852 help
853 Support for the Qualcomm APQ8064 RUMI3 emulator.
854
Joel King82b7e3f2012-01-05 10:03:27 -0800855config MACH_APQ8064_CDP
856 depends on ARCH_APQ8064
857 bool "APQ8064 CDP"
858 help
859 Support for the Qualcomm APQ8064 CDP device.
860
861config MACH_APQ8064_MTP
862 depends on ARCH_APQ8064
863 bool "APQ8064 MTP"
864 help
865 Support for the Qualcomm APQ8064 MTP device.
866
867config MACH_APQ8064_LIQUID
868 depends on ARCH_APQ8064
869 bool "APQ8064 LIQUID"
870 help
871 Support for the Qualcomm APQ8064 LIQUID device.
872
Joel King064bbf82012-04-01 13:23:39 -0700873config MACH_MPQ8064_CDP
874 depends on ARCH_APQ8064
875 bool "MPQ8064 CDP"
876 help
877 Support for the Qualcomm MPQ8064 CDP device.
878
Joel King11ca8202012-02-13 16:19:03 -0800879config MACH_MPQ8064_HRD
880 depends on ARCH_APQ8064
881 bool "MPQ8064 HRD"
882 help
883 Support for the Qualcomm MPQ8064 HRD device.
884
885config MACH_MPQ8064_DTV
886 depends on ARCH_APQ8064
887 bool "MPQ8064 DTV"
888 help
889 Support for the Qualcomm MPQ8064 DTV device.
890
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700891config MACH_FSM9XXX_SURF
892 depends on ARCH_FSM9XXX
893 depends on !MSM_STACKED_MEMORY
894 default y
895 bool "FSM9XXX SURF"
896 help
897 Support for the Qualcomm FSM9xxx femtocell
898 chipset based SURF evaluation board and
899 FFA board.
900
Daniel Walker4ad15e62010-05-06 13:54:17 -0700901endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800902
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700903config MSM_STACKED_MEMORY
904 bool "Stacked Memory"
905 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800906 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700907 This option is used to indicate the presence of on-die stacked
908 memory. When present this memory bank is used for a high speed
909 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800910
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700911config PHYS_OFFSET
912 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700913 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700914 default "0x80200000" if ARCH_APQ8064
915 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700916 default "0x80200000" if ARCH_MSM8930
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700917 default "0x00000000" if ARCH_MSM8974
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700918 default "0x10000000" if ARCH_FSM9XXX
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700919 default "0x20200000" if ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700920 default "0x00200000" if !MSM_STACKED_MEMORY
921 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
922 default "0x20000000" if ARCH_QSD8X50
923 default "0x40200000" if ARCH_MSM8X60
924 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800925
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700926config KERNEL_PMEM_EBI_REGION
927 bool "Enable in-kernel PMEM region for EBI"
928 default y if ARCH_MSM8X60
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700929 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700930 help
931 Enable the in-kernel PMEM allocator to use EBI memory.
932
933config KERNEL_PMEM_SMI_REGION
934 bool "Enable in-kernel PMEM region for SMI"
935 default y if ARCH_MSM8X60
936 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
937 help
938 Enable the in-kernel PMEM allocator to use SMI memory.
939
940config PMEM_GPU0
941 bool "Enable PMEM GPU0 region"
942 default y
943 depends on ARCH_QSD8X50 && ANDROID_PMEM
944 help
945 Enable the PMEM GPU0 device on SMI Memory.
946
947config MSM_AMSS_VERSION
948 int
949 default 6210 if MSM_AMSS_VERSION_6210
950 default 6220 if MSM_AMSS_VERSION_6220
951 default 6225 if MSM_AMSS_VERSION_6225
952
953choice
954 prompt "AMSS modem firmware version"
955
956 default MSM_AMSS_VERSION_6225
957
958 config MSM_AMSS_VERSION_6210
959 bool "6.2.10"
960
961 config MSM_AMSS_VERSION_6220
962 bool "6.2.20"
963
964 config MSM_AMSS_VERSION_6225
965 bool "6.2.20 + New ADSP"
966endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800967
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700968config MSM_HAS_DEBUG_UART_HS
Daniel Walkerbf83de42010-03-16 16:29:44 -0700969 bool
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700970 help
971 Say Y here if high speed MSM UART is present.
972
973config MSM_HAS_DEBUG_UART_HS_V14
974 bool
975 select MSM_HAS_DEBUG_UART_HS
976 help
977 Say Y here if high speed MSM UART v1.4 is present.
978
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530979config MSM_DEBUG_UART_PHYS
980 hex
981 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
982 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
983 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
984 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
985 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
986 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
987 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
988 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
989
Brian Swetland9e73c842007-11-26 04:12:13 -0800990choice
991 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800992 depends on DEBUG_LL
Brian Swetland9e73c842007-11-26 04:12:13 -0800993
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800994 config DEBUG_MSM_UART1
995 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530996 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800997 help
998 Say Y here if you want the debug print routines to direct
999 their output to the first serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001000
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001001 config DEBUG_MSM_UART2
1002 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301003 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001004 help
1005 Say Y here if you want the debug print routines to direct
1006 their output to the second serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001007
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001008 config DEBUG_MSM_UART3
1009 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301010 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001011 help
1012 Say Y here if you want the debug print routines to direct
1013 their output to the third serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001014
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001015 config DEBUG_MSM8660_UART
1016 bool "Kernel low-level debugging messages via MSM 8660 UART"
1017 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001018 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001019 help
1020 Say Y here if you want the debug print routines to direct
1021 their output to the serial port on MSM 8660 devices.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001022
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001023 config DEBUG_MSM8960_UART
1024 bool "Kernel low-level debugging messages via MSM 8960 UART"
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001025 depends on ARCH_MSM8960 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001026 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001027 help
1028 Say Y here if you want the debug print routines to direct
1029 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001030
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001031 config DEBUG_MSM8930_UART
1032 bool "Kernel low-level debugging messages via MSM 8930 UART"
1033 depends on ARCH_MSM8930 && DEBUG_LL
1034 select MSM_HAS_DEBUG_UART_HS
1035 help
1036 Say Y here if you want the debug print routines to direct
1037 their output to the serial port on MSM 8930 devices.
1038
1039 config DEBUG_APQ8064_UART
1040 bool "Kernel low-level debugging messages via APQ 8064 UART"
1041 depends on ARCH_APQ8064 && DEBUG_LL
1042 select MSM_HAS_DEBUG_UART_HS
1043 help
1044 Say Y here if you want the debug print routines to direct
1045 their output to the serial port on APQ 8064 devices.
1046
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001047 config DEBUG_MSM8974_UART
1048 bool "Kernel low-level debugging messages via MSM 8974 UART"
1049 depends on ARCH_MSM8974
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001050 select MSM_HAS_DEBUG_UART_HS_V14
1051 help
1052 Say Y here if you want the debug print routines to direct
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001053 their output to the serial port on MSM 8974 devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001054endchoice
Brian Swetland9e73c842007-11-26 04:12:13 -08001055
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001056choice
1057 prompt "Default Timer"
1058 default MSM7X00A_USE_GP_TIMER
1059
1060 config MSM7X00A_USE_GP_TIMER
1061 bool "GP Timer"
1062 help
1063 Low resolution timer that allows power collapse from idle.
1064
1065 config MSM7X00A_USE_DG_TIMER
1066 bool "DG Timer"
1067 help
1068 High resolution timer.
1069endchoice
1070
1071choice
1072 prompt "Suspend sleep mode"
1073 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1074 help
1075 Allows overriding the sleep mode used. Leave at power
1076 collapse suspend unless the arm9 image has problems.
1077
1078 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1079 bool "Power collapse suspend"
1080 help
1081 Lowest sleep state. Returns through reset vector.
1082
1083 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1084 bool "Power collapse"
1085 help
1086 Sleep state that returns through reset vector.
1087
1088 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1089 bool "Apps Sleep"
1090
1091 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1092 bool "Ramp down cpu clock and wait for interrupt"
1093
1094 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1095 bool "Wait for interrupt"
1096endchoice
1097
1098config MSM7X00A_SLEEP_MODE
1099 int
1100 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1101 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1102 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1103 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1104 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1105
1106choice
1107 prompt "Idle sleep mode"
1108 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1109 help
1110 Allows overriding the sleep mode used from idle. Leave at power
1111 collapse suspend unless the arm9 image has problems.
1112
1113 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1114 bool "Power collapse suspend"
1115 help
1116 Lowest sleep state. Returns through reset vector.
1117
1118 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1119 bool "Power collapse"
1120 help
1121 Sleep state that returns through reset vector.
1122
1123 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1124 bool "Apps Sleep"
1125
1126 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1127 bool "Ramp down cpu clock and wait for interrupt"
1128
1129 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1130 bool "Wait for interrupt"
1131endchoice
1132
1133config MSM7X00A_IDLE_SLEEP_MODE
1134 int
1135 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1136 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1137 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1138 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1139 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1140
1141config MSM7X00A_IDLE_SLEEP_MIN_TIME
1142 int "Minimum idle time before sleep"
1143 default 20000000
1144 help
1145 Minimum idle time in nanoseconds before entering low power mode.
1146
1147config MSM7X00A_IDLE_SPIN_TIME
1148 int "Idle spin time before cpu ramp down"
1149 default 80000
1150 help
1151 Spin time in nanoseconds before ramping down cpu clock and entering
1152 any low power state.
1153
1154menuconfig MSM_IDLE_STATS
1155 bool "Collect idle statistics"
1156 default y
1157 help
1158 Collect idle statistics and export them in proc/msm_pm_stats.
1159
1160if MSM_IDLE_STATS
1161
1162config MSM_IDLE_STATS_FIRST_BUCKET
1163 int "First bucket time"
1164 default 62500
1165 help
1166 Upper time limit in nanoseconds of first bucket.
1167
1168config MSM_IDLE_STATS_BUCKET_SHIFT
1169 int "Bucket shift"
1170 default 2
1171
1172config MSM_IDLE_STATS_BUCKET_COUNT
1173 int "Bucket count"
1174 default 10
1175
1176config MSM_SUSPEND_STATS_FIRST_BUCKET
1177 int "First bucket time for suspend"
1178 default 1000000000
1179 help
1180 Upper time limit in nanoseconds of first bucket of the
1181 histogram. This is for collecting statistics on suspend.
1182
1183endif # MSM_IDLE_STATS
1184
1185config CPU_HAS_L2_PMU
1186 bool "L2CC PMU Support"
1187 help
1188 Select this if the L2 cache controller has a Performance Monitoring Unit.
1189
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001190config HTC_HEADSET
1191 tristate "HTC 2 Wire detection driver"
1192 default n
1193 help
1194 Provides support for detecting HTC 2 wire devices, such as wired
1195 headset, on the trout platform. Can be used with the msm serial
1196 debugger, but not with serial console.
1197
1198config TROUT_BATTCHG
1199 depends on MACH_TROUT && POWER_SUPPLY
1200 default y
1201 bool "Trout battery / charger driver"
1202
1203config HTC_PWRSINK
1204 depends on MSM_SMD
1205 default n
1206 bool "HTC Power Sink Driver"
1207
1208config QSD_SVS
1209 bool "QSD Static Voltage Scaling"
1210 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1211 default y
1212 select TPS65023
1213 help
1214 Enables static voltage scaling using the TPS65023 PMIC.
1215
1216config QSD_PMIC_DEFAULT_DCDC1
1217 int "PMIC default output voltage"
1218 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1219 default 1250
1220 help
1221 This is the PMIC voltage at Linux kernel boot.
1222
1223config MSM_FIQ_SUPPORT
1224 default y
1225 bool "Enable installation of an FIQ handler."
1226
1227config MSM_SERIAL_DEBUGGER
1228 select MSM_FIQ_SUPPORT
1229 select KERNEL_DEBUGGER_CORE
1230 default n
1231 bool "FIQ Mode Serial Debugger"
1232 help
1233 The FIQ serial debugger can accept commands even when the
1234 kernel is unresponsive due to being stuck with interrupts
1235 disabled. Depends on the kernel debugger core in drivers/misc.
1236
1237config MSM_SERIAL_DEBUGGER_CONSOLE
1238 depends on MSM_SERIAL_DEBUGGER
1239 default n
1240 bool "Console on FIQ Serial Debugger port"
1241 help
1242 Enables a console so that printk messages are displayed on
1243 the debugger serial port as the occur.
Brian Swetland9e73c842007-11-26 04:12:13 -08001244
Gregory Beanab78cde2010-09-01 16:26:12 -07001245config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001246 default y
1247 bool "Proc-Comm RPC Interface"
1248 help
1249 Enables a lightweight communications interface to the
1250 baseband processor.
Gregory Beanab78cde2010-09-01 16:26:12 -07001251
Gregory Bean1963a2a2010-08-28 10:05:44 -07001252config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001253 bool "MSM Shared Memory Driver (SMD)"
1254 help
1255 Support for the shared memory interface between the apps
1256 processor and the baseband processor. Provides access to
1257 the "shared heap", as well as virtual serial channels
1258 used to communicate with various services on the baseband
1259 processor.
1260
1261choice
1262 prompt "MSM Shared memory interface version"
1263 depends on MSM_SMD
1264 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1265 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1266
1267 config MSM_SMD_PKG3
1268 bool
1269 prompt "Package 3"
1270
1271 config MSM_SMD_PKG4
1272 bool
1273 prompt "Package 4"
1274endchoice
1275
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001276config MSM_PCIE
1277 bool "MSM PCIe Controller driver"
1278 depends on PCI && PCI_MSI
1279 help
1280 Enables the PCIe functionality by configures PCIe core on
1281 MSM chipset and by enabling the ARM PCI framework extension.
1282
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001283config MSM_RPC_SDIO_XPRT
1284 depends on MSM_SDIO_AL
1285 default y
1286 bool "MSM SDIO XPRT Layer"
1287 help
1288 SDIO Transport Layer for RPC Rouer
1289
1290config MSM_RPC_SDIO_DEBUG
1291 depends on MSM_RPC_SDIO_XPRT
1292 default y
1293 bool "MSM SDIO XPRT debug support"
1294 help
1295 Support for debugging SDIO XPRT
1296
1297config MSM_SMD_DEBUG
1298 depends on MSM_SMD
1299 default y
1300 bool "MSM SMD debug support"
1301 help
1302 Support for debugging the SMD for communication
1303 between the ARM9 and ARM11
1304
1305config MSM_SDIO_AL
1306 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1307 default y
1308 tristate "SDIO-Abstraction-Layer"
1309 help
1310 Support MSM<->MDM Communication over SDIO bus.
1311 MDM SDIO-Client should have pipes support.
1312
1313config MSM_SDIO_DMUX
1314 bool "SDIO Data Mux Driver"
1315 depends on MSM_SDIO_AL
1316 default n
1317 help
1318 Support Muxed Data Channels over SDIO interface.
1319
1320config MSM_BAM_DMUX
1321 bool "BAM Data Mux Driver"
1322 depends on SPS
1323 default n
1324 help
1325 Support Muxed Data Channels over BAM interface.
1326 BAM has a limited number of pipes. This driver
1327 provides a means to support more logical channels
1328 via muxing than BAM could without muxing.
1329
1330config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001331 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001332 default y
1333 bool "MSM N-WAY SMD support"
1334 help
1335 Supports APPS-QDSP SMD communication along with
1336 normal APPS-MODEM SMD communication.
1337
1338config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001339 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001340 default y
1341 bool "MSM N-WAY SMSM support"
1342 help
1343 Supports APPS-QDSP SMSM communication along with
1344 normal APPS-MODEM SMSM communication.
1345
1346config MSM_RESET_MODEM
1347 tristate "Reset Modem Driver"
1348 depends on MSM_SMD
1349 default m
1350 help
1351 Allows the user to reset the modem through a device node.
1352
1353config MSM_SMD_LOGGING
1354 depends on MSM_SMD
1355 default y
1356 bool "MSM Shared Memory Logger"
1357 help
1358 This option exposes the shared memory logger at /dev/smem_log
1359 and a debugfs node named smem_log.
1360
1361 If in doubt, say yes.
1362
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001363config MSM_IPC_LOGGING
1364 bool "MSM Debug Logging for IPC Drivers"
1365 help
1366 This option allows the debug logging for IPC Drivers.
1367
1368 If in doubt, say no.
1369
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001370config MSM_SMD_NMEA
1371 bool "NMEA GPS Driver"
1372 depends on MSM_SMD
1373 default y
1374 help
1375 Enable this to support the NMEA GPS device.
1376
1377 If in doubt, say yes.
1378
1379config MSM_SDIO_TTY
1380 bool "SDIO TTY Driver"
1381 depends on MSM_SDIO_AL
1382 default n
1383 help
1384 Provides a TTY driver SDIO TTY
1385 This driver can be used by user space
1386 applications for passing data through the
1387 SDIO interface.
1388
1389config MSM_SMD_TTY
1390 bool "SMD TTY Driver"
1391 depends on MSM_SMD
1392 default y
1393 help
1394 Provides TTY interfaces to interact with the modem.
1395
1396 If in doubt, say yes.
1397
1398config MSM_SMD_QMI
1399 bool "SMD QMI Driver"
1400 depends on MSM_SMD
1401 default y
1402 help
1403 Manages network data connections.
1404
1405 If in doubt, say yes.
1406
1407config MSM_SMD_PKT
1408 bool "SMD Packet Driver"
1409 depends on MSM_SMD
1410 default y
1411 help
1412 Provides a binary SMD non-muxed packet port interface.
1413
1414 If in doubt, say yes.
1415
1416config MSM_SDIO_CMUX
1417 bool "SDIO CMUX Driver"
1418 depends on MSM_SDIO_AL
1419 default n
1420 help
1421 Provides a Muxed port interface over SDIO QMI
1422
1423config MSM_DSPS
1424 bool "Sensors DSPS driver"
1425 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1426 default n
1427 help
1428 Provides user-space interface to the sensors manager
1429 to turn on/off the Sensors Processor system clocks.
1430 It is the DSPS responsibility to turn on/off the sensors
1431 themself.
1432 The number of clocks and their name may vary between targets.
1433 It also triggers the PIL to load the DSPS firmware.
1434
1435config MSM_SDIO_CTL
1436 bool "SDIO CTL Driver"
1437 depends on MSM_SDIO_CMUX
1438 default n
1439 help
1440 Provides a binary SDIO control port interface.
1441
1442config MSM_ONCRPCROUTER
1443 depends on MSM_SMD
1444 default n
1445 bool "MSM ONCRPC router support"
1446 help
1447 Support for the MSM ONCRPC router for communication between
1448 the ARM9 and ARM11
1449
1450config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001451 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001452 default n
1453 bool "MSM IPC Router support"
1454 help
1455 Support for the MSM IPC Router for communication between
1456 the APPs and the MODEM
1457
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001458config MSM_IPC_ROUTER_SMD_XPRT
1459 depends on MSM_SMD
1460 depends on MSM_IPC_ROUTER
1461 default n
1462 bool "MSM SMD XPRT Layer"
1463 help
1464 SMD Transport Layer for IPC Router
1465
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001466config MSM_ONCRPCROUTER_DEBUG
1467 depends on MSM_ONCRPCROUTER
1468 default y
1469 bool "MSM debug ONCRPC router support"
1470 help
1471 Support for debugging the ONCRPC router for communication
1472 between the ARM9 and ARM11
1473
1474config MSM_RPC_LOOPBACK_XPRT
1475 depends on MSM_ONCRPCROUTER
1476 default n
1477 bool "MSM RPC local routing support"
1478 help
1479 Support for routing RPC messages between APPS clients
1480 and APPS servers. Helps in testing APPS RPC framework.
1481
1482config MSM_RPCSERVER_TIME_REMOTE
1483 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1484 default y
1485 bool "Time remote RPC server"
1486 help
1487 The time remote server receives notification of time bases and
1488 reports these events to registered callback functions.
1489
1490config MSM_RPCSERVER_WATCHDOG
1491 depends on MSM_ONCRPCROUTER
1492 default y
1493 bool "Watchdog RPC server"
1494 help
1495 The dog_keepalive server handles watchdog events.
1496
1497config MSM_RPC_WATCHDOG
1498 depends on MSM_ONCRPCROUTER
1499 default n
1500 bool "Watchdog RPC client"
1501 help
1502 The dog_keepalive client module.
1503
1504config MSM_RPC_PING
1505 depends on MSM_ONCRPCROUTER && DEBUG_FS
1506 default m
1507 bool "MSM rpc ping"
1508 help
1509 Implements MSM rpc ping test module.
1510
1511config MSM_RPC_PROC_COMM_TEST
1512 depends on DEBUG_FS && MSM_PROC_COMM
1513 default m
1514 bool "MSM rpc proc comm test"
1515 help
1516 Implements MSM rpc proc comm test module.
1517
1518config MSM_RPC_OEM_RAPI
1519 depends on MSM_ONCRPCROUTER
1520 default m
1521 bool "MSM oem rapi"
1522 help
1523 Implements MSM oem rapi client module.
1524
1525config MSM_RPCSERVER_HANDSET
1526 depends on MSM_ONCRPCROUTER
1527 default y
1528 bool "Handset events RPC server"
1529 help
1530 Support for receiving handset events like headset detect,
1531 headset switch and clamshell state.
1532
1533config MSM_RMT_STORAGE_CLIENT
1534 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1535 default n
1536 bool "Remote Storage RPC client"
1537 help
1538 Provide RPC mechanism for remote processors to access storage
1539 device on apps processor.
1540
1541config MSM_RMT_STORAGE_CLIENT_STATS
1542 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1543 default n
1544 bool "Remote storage RPC client performance statistics"
1545 help
1546 Collects performance statistics and shows this information
1547 through a debugfs file rmt_storage_stats.
1548
1549config MSM_SDIO_SMEM
1550 depends on MSM_SDIO_AL
1551 default n
1552 bool "SDIO SMEM for remote storage"
1553 help
1554 Copies data from remote MDM9K memory to local MSM8x60
1555 memory. Used by remote storage client to shadow
1556 MDM9K filesystem.
1557
1558config MSM_DALRPC
1559 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001560 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001561 help
1562 Supports RPC calls to DAL devices on remote processor cores.
1563
1564config MSM_DALRPC_TEST
1565 tristate "DAL RPC test module"
1566 depends on (MSM_DALRPC && DEBUG_FS)
1567 default m
1568 help
1569 Exercises DAL RPC calls to QDSP6.
1570
1571if CPU_FREQ_MSM
1572
1573config MSM_CPU_FREQ_SET_MIN_MAX
1574 bool "Set Min/Max CPU frequencies."
1575 default n
1576 help
1577 Allow setting min and max CPU frequencies. Sysfs can be used
1578 to override these values.
1579
1580config MSM_CPU_FREQ_MAX
1581 int "Max CPU Frequency"
1582 depends on MSM_CPU_FREQ_SET_MIN_MAX
1583 default 384000
1584
1585config MSM_CPU_FREQ_MIN
1586 int "Min CPU Frequency"
1587 depends on MSM_CPU_FREQ_SET_MIN_MAX
1588 default 245760
1589
1590endif # CPU_FREQ_MSM
1591
1592config MSM_CPU_AVS
1593 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1594 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1595 depends on ARCH_QSD8X50
1596 default n
1597 select MSM_AVS_HW
1598 help
1599 This enables the s/w control of Adaptive Voltage Scaling feature
1600 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1601 based on feedback from three ring oscillators in the CPU.
1602
1603config MSM_AVS_HW
1604 bool "Enable Adaptive Voltage Scaling (AVS)"
1605 default n
1606 help
1607 Enable AVS hardware to fine tune voltage at each frequency. The
1608 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1609 fine tune the voltages based on the feedback from the ring
1610 oscillators.
1611
1612config MSM_HW3D
1613 tristate "MSM Hardware 3D Register Driver"
1614 depends on ANDROID_PMEM
1615 default y
1616 help
1617 Provides access to registers needed by the userspace OpenGL|ES
1618 library.
1619
1620config MSM_ADSP
1621 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1622 tristate "MSM ADSP driver"
1623 depends on ANDROID_PMEM
1624 default y
1625 help
1626 Provides access to registers needed by the userspace aDSP library.
1627
1628config ADSP_RPC_VER
1629 hex
1630 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1631 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1632 depends on MSM_ADSP
1633 help
1634 Select proper ADSP RPC version
1635choice
1636 prompt "ADSP RPC version"
1637
1638 default AMSS_7X25_VERSION_2009
1639
1640 config AMSS_7X25_VERSION_2009
1641 bool "2.0.09"
1642
1643 config AMSS_7X25_VERSION_2008
1644 bool "2.0.08"
1645endchoice
1646
1647config MSM7KV2_AUDIO
1648 bool "MSM7K v2 audio"
1649 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1650 default y
1651 help
1652 Enables QDSP5V2-based audio drivers for audio playbacks and
1653 voice call.
1654
1655config MSM_ADSP_REPORT_EVENTS
1656 bool "Report modem events from the DSP"
1657 default y
1658 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1659 help
1660 Normally, only messages from the aDSP are reported to userspace.
1661 With this option, we report events from the aDSP as well.
1662
1663config MSM_QDSP6
1664 tristate "QDSP6 support"
1665 depends on ARCH_QSD8X50 && ANDROID_PMEM
1666 default y
1667 help
1668 Enable support for qdsp6. This provides audio and video functionality.
1669
1670config MSM8X60_AUDIO
1671 tristate "MSM8X60 audio support"
1672 depends on ARCH_MSM8X60 && ANDROID_PMEM
1673 default y
1674 help
1675 Enable support for qdsp6v2. This provides audio functionality.
1676
1677config MSM8X60_FTM_AUDIO_DEVICES
1678 bool "MSM8X60 audio factory test mode support"
1679 depends on MSM8X60_AUDIO
1680 help
1681 Enable support audio factory test mode devices. This is used
1682 in a production line environment.
1683
Ben Romberger45b351c2011-07-20 22:37:27 -07001684config RTAC
1685 bool "MSM8K real-time audio calibration support"
1686 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001687 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001688 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001689 audio operation
1690
1691config MSM7X27A_AUDIO
1692 bool "MSM7X27A audio support"
1693 depends on ARCH_MSM7X27A && MSM_ADSP
1694 default n
1695 help
1696 Enable support for 7x27a. This provides audio functionality.
1697
Justin Pauporea6cd2092011-06-22 16:19:45 -07001698config MSM_PROC_COMM_REGULATOR
Gregory Bean1963a2a2010-08-28 10:05:44 -07001699 bool
Justin Pauporea6cd2092011-06-22 16:19:45 -07001700 depends on MSM_PROC_COMM && REGULATOR
1701 help
1702 Enable regulator framework support for regulators managed by PMLIB
1703 on the modem, and controlled through proccomm calls.
1704
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001705config MSM_VREG_SWITCH_INVERTED
1706 bool "Reverse vreg switch polarity"
1707 default n
1708 help
1709 Reverses the enable and disable for vreg switch.
1710
1711config MSM_DMA_TEST
1712 tristate "MSM DMA test module"
1713 default m
1714 help
1715 Intended to be compiled as a module. Provides a device node
1716 and ioctls for testing the MSM dma system.
1717
1718config WIFI_CONTROL_FUNC
1719 bool "Enable WiFi control function abstraction"
1720 help
1721 Enables Power/Reset/Carddetect function abstraction
1722
1723config WIFI_MEM_PREALLOC
1724 depends on WIFI_CONTROL_FUNC
1725 bool "Preallocate memory for WiFi buffers"
1726 help
1727 Preallocates memory buffers for WiFi driver
1728
1729config QSD_AUDIO
1730 bool "QSD audio"
1731 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1732 default y
1733 help
1734 Provides PCM, MP3, and AAC audio playback.
1735
1736config AUDIO_AAC_PLUS
1737 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1738 bool "AAC+ Audio"
1739 default y
1740 help
1741 Provides AAC+ decoding
1742
1743config AUDIO_ENHANCED_AAC_PLUS
1744 depends on AUDIO_AAC_PLUS
1745 bool "Enhanced AAC+ Audio"
1746 default y
1747 help
1748 Provides Enhanced AAC+ decoding
1749
1750config SURF_FFA_GPIO_KEYPAD
1751 bool "MSM SURF/FFA GPIO keypad"
1752 depends on INPUT_GPIO = "y"
1753 default y
1754 help
1755 Select if the GPIO keypad is attached.
1756
1757config MSM_SLEEP_TIME_OVERRIDE
1758 bool "Allow overriding suspend/sleep time with PM module parameter"
1759 default y
1760 help
1761 Enable the module parameter sleep_time_override. Specified
1762 in units of seconds, it overwrites the normal sleep time of
1763 suspend. The feature is required for automated power management
1764 testing.
1765
1766config MSM_MEMORY_LOW_POWER_MODE
1767 bool "Control the low power modes of memory"
1768 default n
1769 help
1770 The application processor controls whether memory should enter
1771 which low power mode.
1772
1773choice
1774 prompt "Default Memory Low Power Mode during Idle"
1775 depends on MSM_MEMORY_LOW_POWER_MODE
1776 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1777 help
1778 Selects the default low power mode of the memory during idle
1779 sleep.
1780
1781 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1782 bool "Memory active"
1783
1784 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1785 bool "Memory in retention"
1786
1787 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1788 bool "Memory in deep power down"
1789endchoice
1790
1791choice
1792 prompt "Default Memory Low Power Mode during Suspend"
1793 depends on MSM_MEMORY_LOW_POWER_MODE
1794 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1795 help
1796 Selects the default low power mode of the memory during suspend
1797 sleep.
1798
1799 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1800 bool "Memory active"
1801
1802 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1803 bool "Memory in retention"
1804
1805 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1806 bool "Memory in deep power down"
1807endchoice
1808
1809choice
1810 prompt "Power management timeout action"
1811 default MSM_PM_TIMEOUT_HALT
1812 help
1813 Selects the Application Processor's action when Power Management
1814 times out waiting for Modem's handshake.
1815
1816 config MSM_PM_TIMEOUT_HALT
1817 bool "Halt the Application Processor"
1818
1819 config MSM_PM_TIMEOUT_RESET_MODEM
1820 bool "Reset the Modem Processor"
1821
1822 config MSM_PM_TIMEOUT_RESET_CHIP
1823 bool "Reset the entire chip"
1824endchoice
1825
1826config MSM_IDLE_WAIT_ON_MODEM
1827 int "Wait for Modem to become ready for idle power collapse"
1828 default 0
1829 help
1830 If Modem is not ready to handle Application Processor's request
1831 for idle power collapse, wait the number of microseconds in case
1832 Modem becomes ready soon.
1833
Matt Wagantall9274df92011-12-15 11:11:05 -08001834config MSM_RPM_REGULATOR
1835 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001836 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001837 help
1838 Compile in support for the RPM regulator driver, used for setting
1839 voltages and other parameters of the various power rails supplied
1840 by some Qualcomm PMICs.
1841
David Collinsc7642322012-04-04 10:19:12 -07001842config MSM_RPM_REGULATOR_SMD
1843 bool "SMD RPM regulator driver"
1844 depends on REGULATOR
1845 depends on OF
1846 depends on MSM_RPM_SMD
1847 help
1848 Compile in support for the SMD RPM regulator driver which is used for
1849 setting voltages and other parameters of the various power rails
1850 supplied by some Qualcomm PMICs. The SMD RPM regulator driver should
1851 be used on systems which contain an RPM which communicates with the
1852 application processor over SMD.
1853
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001854config MSM_PIL
1855 bool "Peripheral image loading"
1856 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001857 default n
1858 help
1859 Some peripherals need to be loaded into memory before they can be
1860 brought out of reset.
1861
1862 Say yes to support these devices.
1863
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001864config MSM_PIL_MODEM
1865 tristate "Modem (ARM11) Boot Support"
1866 depends on MSM_PIL
1867 help
1868 Support for booting and shutting down ARM11 Modem processors.
1869
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001870config MSM_PIL_QDSP6V3
1871 tristate "QDSP6v3 (Hexagon) Boot Support"
1872 depends on MSM_PIL
1873 help
1874 Support for booting and shutting down QDSP6v3 processors (hexagon).
1875 The QDSP6 is a low power DSP used in audio software applications.
1876
Stephen Boydeb819882011-08-29 14:46:30 -07001877config MSM_PIL_QDSP6V4
1878 tristate "QDSP6v4 (Hexagon) Boot Support"
1879 depends on MSM_PIL
1880 help
1881 Support for booting and shutting down QDSP6v4 processors (hexagon).
1882 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1883 software applications.
1884
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001885config MSM_PIL_LPASS_QDSP6V5
1886 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
1887 depends on MSM_PIL
1888 help
Matt Wagantall4e2599e2012-03-21 22:31:35 -07001889 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1890 in low power audio subsystems.
1891
1892config MSM_PIL_MSS_QDSP6V5
1893 tristate "MSS QDSP6v5 (Hexagon) Boot Support"
1894 depends on MSM_PIL
1895 help
1896 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1897 in modem subsystems.
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001898
Matt Wagantalle6e00d52012-03-08 17:39:07 -08001899config MSM_PIL_MBA
1900 tristate "Support for modem self-authentication"
1901 depends on MSM_PIL_MSS_QDSP6V5
1902 help
1903 Support for booting self-authenticating modems using the Modem Boot
1904 Authenticator.
Stephen Boyd322a9922011-09-20 01:05:54 -07001905
1906config MSM_PIL_RIVA
Stephen Boydd89eebe2011-09-28 23:28:11 -07001907 tristate "RIVA (WCNSS) Boot Support"
1908 depends on MSM_PIL
1909 help
1910 Support for booting and shutting down the RIVA processor (WCNSS).
1911 Riva is the wireless subsystem processor used in bluetooth, wireless
1912 LAN, and FM software applications.
1913
1914config MSM_PIL_TZAPPS
1915 tristate "TZApps Boot Support"
1916 depends on MSM_PIL
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07001917 help
1918 Support for booting and shutting down TZApps.
1919
1920 TZApps is an image that runs in the secure processor state. It is
1921 used to decrypt data and perform secure operations on the behalf of
1922 the kernel.
1923
1924config MSM_PIL_DSPS
1925 tristate "DSPS Boot Support"
Stephen Boyd7b973de2012-03-09 12:26:16 -08001926 depends on MSM_PIL
1927 help
1928 Support for booting and shutting down ARM7 DSPS processors.
1929
1930 DSPS is a sensors offloading processor used for applications such
1931 as rotation detection, temperature, etc.
Matt Wagantall292aace2012-01-26 19:12:34 -08001932
1933config MSM_PIL_VIDC
1934 tristate "Video Core Secure Boot Support"
1935 depends on MSM_PIL
1936 help
1937 Support for authenticating the video core image.
1938
Tianyi Gou828798d2012-05-02 21:12:38 -07001939config MSM_PIL_VENUS
1940 tristate "VENUS (Video) Boot Support"
1941 depends on MSM_PIL
1942 help
1943 Support for booting and shutting down the VENUS processor (Video).
1944 Venus is the Video subsystem processor used for video codecs.
1945
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001946config MSM_PIL_GSS
1947 tristate "GSS (Coretx A5) Boot Support"
1948 depends on MSM_PIL
1949 help
1950 Support for booting and shutting down Cortex A5 processors which run
1951 GPS subsystem firmware.
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001952
Tianyi Gouc1e049f82011-11-23 14:20:16 -08001953config MSM_PIL_PRONTO
1954 tristate "PRONTO (WCNSS) Boot Support"
1955 depends on MSM_PIL
1956 help
1957 Support for booting and shutting down the PRONTO processor (WCNSS).
1958 PRONTO is the wireless subsystem processor used in bluetooth, wireless
1959 LAN, and FM software applications.
1960
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001961config MSM_SCM
1962 bool "Secure Channel Manager (SCM) support"
1963 default n
1964
1965config MSM_SUBSYSTEM_RESTART
1966 bool "MSM Subsystem Restart Driver"
1967 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
1968 default n
1969 help
1970 This option enables the MSM subsystem restart driver, which provides
1971 a framework to handle subsystem crashes.
1972
Matt Wagantallf8020902011-08-30 21:19:23 -07001973config MSM_SYSMON_COMM
1974 bool "MSM System Monitor communication support"
1975 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1976 default y
1977 help
1978 This option adds support for MSM System Monitor library, which
1979 provides an API that may be used for notifying subsystems within
1980 the SoC about other subsystems' power-up/down state-changes.
1981
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001982config MSM_MODEM_8960
1983 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001984 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001985 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001986 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001987 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001988 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001989
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001990config MSM_LPASS_8960
1991 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001992 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001993 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001994 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001995 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001996 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001997
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001998config MSM_WCNSS_SSR_8960
1999 tristate "MSM 8960 WCNSS restart module"
2000 depends on (ARCH_MSM8960)
2001 help
2002 This option enables the WCNSS restart module for MSM8960, which
2003 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
2004 into the subsystem restart framework.
2005
Rohit Vaswanid0fb4182012-03-19 18:07:59 -07002006config MSM_GSS_SSR_8064
2007 bool "MSM 8064 GSS restart driver"
2008 depends on (ARCH_APQ8064)
2009 help
2010 This option enables the gps subsystem restart driver for APQ8064, which monitors
2011 gss hardware watchdog interrupt lines and plugs into the subsystem
2012 restart and PIL drivers.
2013
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002014config SCORPION_Uni_45nm_BUG
2015 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
2016 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
2017 default y
2018 help
2019 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
2020 invalidating the Branch Predictor Array by Modified Virtual Address can
2021 create invalid entries in the TLB with the wrong ASID values on Scorpion
2022 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
2023 workaround for Scorpion Uniprocessor 45nm cores.
2024
2025 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
2026
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002027config MSM_BUSPM_DEV
2028 tristate "MSM Bus Performance Monitor Kernel Module"
2029 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
2030 default m
2031 help
2032 This kernel module is used to mmap() hardware registers for the
2033 performance monitors, counters, etc. The module can also be used to
2034 allocate physical memory which is used by bus performance hardware to
2035 dump performance data.
2036
Mona Hossain11c03ac2011-10-26 12:42:10 -07002037config MSM_TZ_LOG
2038 tristate "MSM Trust Zone (TZ) Log Driver"
2039 depends on DEBUG_FS
2040 help
2041 This option enables a driver with a debugfs interface for messages
2042 produced by the Secure code (Trust zone). These messages provide
2043 diagnostic information about TZ operation.
2044
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002045config MSM_RPM_LOG
2046 tristate "MSM Resource Power Manager Log Driver"
2047 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002048 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002049 default n
2050 help
2051 This option enables a driver which can read from a circular buffer
2052 of messages produced by the RPM. These messages provide diagnostic
2053 information about RPM operation. The driver outputs the messages
2054 via a debugfs node.
2055
2056config MSM_RPM_STATS_LOG
2057 tristate "MSM Resource Power Manager Stat Driver"
2058 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002059 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002060 default n
2061 help
2062 This option enables a driver which reads RPM messages from a shared
2063 memory location. These messages provide statistical information about
2064 the low power modes that RPM enters. The drivers outputs the message
2065 via a debugfs node.
2066
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002067config MSM_DIRECT_SCLK_ACCESS
2068 bool "Direct access to the SCLK timer"
2069 default n
2070
2071config IOMMU_API
2072 bool
Gregory Bean1963a2a2010-08-28 10:05:44 -07002073
Brian Swetland9e73c842007-11-26 04:12:13 -08002074config MSM_GPIOMUX
2075 bool
2076
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002077config MSM_SECURE_IO
Brian Swetland9e73c842007-11-26 04:12:13 -08002078 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002079
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002080config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002081 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002082
Matt Wagantall88b86312012-01-31 16:53:03 -08002083config MSM_PM2
2084 depends on PM
2085 bool
2086
2087config MSM_PM8X60
2088 depends on PM
2089 bool
2090
2091config MSM_NOPM
2092 default y if !PM
2093 bool
2094
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002095config MSM_BUS_SCALING
2096 bool "Bus scaling driver"
2097 default n
2098
Gagan Mac85c70492011-06-10 16:07:47 -06002099config MSM_BUS_RPM_MULTI_TIER_ENABLED
2100 bool "RPM Multi-tiering Configuration"
2101 depends on MSM_BUS_SCALING
2102
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002103config MSM_WATCHDOG
2104 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002105 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002106 help
2107 This enables the watchdog as is present on 8x60. Currently we use
2108 core 0's watchdog, and reset the entire SoC if it times out. It does
2109 not run during the bootup process, so it will not catch any early
2110 lockups.
2111
Hanumant Singhd1f01022012-07-05 14:21:53 -07002112config MSM_WATCHDOG_V2
2113 bool "MSM Watchdog Support"
2114 help
2115 This enables the watchdog module. It causes kernel panic if the
2116 watchdog times out. It allows for detection of cpu hangs and
2117 deadlocks. It does not run during the bootup process, so it will
2118 not catch any early lockups.
2119
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002120config MSM_DLOAD_MODE
2121 bool "Enable download mode on crashes"
Rohit Vaswani92b071a2011-10-18 20:10:09 -07002122 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002123 default n
2124 help
2125 This makes the SoC enter download mode when it resets
2126 due to a kernel panic. Note that this doesn't by itself
2127 make the kernel reboot on a kernel panic - that must be
2128 enabled via another mechanism.
2129
Pratik Patel17f3b822011-11-21 12:41:47 -08002130config MSM_JTAG
Pratik Patel2963de42012-05-17 12:43:40 -07002131 bool "JTAG and kernel debug and trace support across power collapse"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002132 help
Pratik Patel2963de42012-05-17 12:43:40 -07002133 Enables support for kernel debugging (specifically breakpoints) and
2134 processor tracing across power collapse both for JTag and OS hosted
2135 software running on the target. Enabling this will ensure debug
2136 and ETM registers are saved and restored across power collapse.
2137
2138 For production builds, you should probably say 'N' here to avoid
2139 potential power, performance and memory penalty.
Pratik Patel7831c082011-06-08 21:44:37 -07002140
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002141config MSM_ETM
2142 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002143 depends on ARCH_MSM8X60
2144 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002145 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002146 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002147
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002148config MSM_SLEEP_STATS
2149 bool "Enable exporting of MSM sleep stats to userspace"
2150 depends on CPU_IDLE
2151 default n
2152
Lynus Vazdde09ee2012-01-05 13:28:22 +05302153config MSM_SLEEP_STATS_DEVICE
2154 bool "Enable exporting of MSM sleep device stats to userspace"
2155
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302156config MSM_RUN_QUEUE_STATS
2157 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Krishna Vankae2922052012-03-02 09:59:12 +05302158 depends on (MSM_SOC_REV_A || ARCH_MSM8X60 || ARCH_MSM8960)
2159 help
2160 This option enalbes statistics collection on Run Queue. A daemon
2161 in user mode, called MPDecision will be using this data to decide
2162 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302163
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002164config MSM_STANDALONE_POWER_COLLAPSE
2165 bool "Enable standalone power collapse"
2166 default n
2167
2168config MSM_GSBI9_UART
2169 bool "Enable GSBI9 UART device"
2170 default n
2171 help
2172 This enables GSBI9 configured into UART.
2173
2174config MSM_SHARED_GPIO_FOR_UART2DM
2175 bool "Use shared GPIOs into UART mode"
2176 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2177 help
2178 This option configures GPIO muxed with SDC4/MMC3
2179 8-bit mode into UART mode. It is used for serial
2180 console on UART2DM. Say Y if you want to have
2181 serial console on UART2DM.
2182
2183config MSM_SHOW_RESUME_IRQ
2184 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002185 depends on (ARM_GIC || PMIC8058)
2186 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002187 default n
2188 help
2189 This option logs wake up interrupts that have triggered just before
2190 the resume loop unrolls. Say Y if you want to debug why the system
2191 resumed.
2192
2193config BT_MSM_PINTEST
2194 tristate "MSM Bluetooth Pin Connectivity Test"
2195 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2196 default n
2197 help
2198 Bluetooth MSM Pin Connectivity test module.
2199 This driver provides support for verifying the MSM to BT pin
2200 connectivity.
2201
2202config MSM_FAKE_BATTERY
2203 depends on POWER_SUPPLY
2204 default n
2205 bool "MSM Fake Battery"
2206 help
2207 Enables MSM fake battery driver.
2208
2209config MSM_QDSP6_APR
2210 bool "Audio QDSP6 APR support"
2211 depends on MSM_SMD
2212 default n
2213 help
2214 Enable APR IPC protocol support between
2215 application processor and QDSP6. APR is
2216 used by audio driver to configure QDSP6's
2217 ASM, ADM and AFE.
2218
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -07002219config MSM_QDSP6_CODECS
2220 bool "Audio Codecs on QDSP6 APR "
2221 depends on MSM_SMD
2222 default n
2223 help
2224 Enable Audio codecs with APR IPC protocol support between
2225 application processor and QDSP6. APR is
2226 used by audio driver to configure QDSP6's
2227 ASM, ADM and AFE.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002228
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002229config MSM_QDSP6V2_CODECS
2230 bool "Audio QDSP6V2 APR support"
2231 depends on MSM_SMD
2232 help
2233 Enable Audio codecs with APR IPC protocol support between
2234 application processor and QDSP6 for B-family. APR is
2235 used by audio driver to configure QDSP6's
2236 ASM, ADM and AFE.
2237
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002238config MSM_AUDIO_QDSP6
2239 bool "QDSP6 HW Audio support"
2240 select SND_SOC_MSM_QDSP6_INTF
2241 default n
2242 help
2243 Enable HW audio support in QDSP6.
2244 QDSP6 can support HW encoder & decoder and audio processing
2245
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002246config MSM_AUDIO_QDSP6V2
2247 bool "QDSP6V2 HW Audio support"
2248 select SND_SOC_MSM_QDSP6V2_INTF
2249 help
2250 Enable HW audio support in QDSP6V2.
2251 QDSP6V2 can support HW encoder & decoder and
2252 audio processing. It will enable support for
2253 AAC, AMRNB, AMRWB, EVRC, MP3, QCELP among
2254 others.
2255
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002256config MSM_ULTRASOUND
2257 bool "MSM ultrasound support"
2258 depends on MSM_AUDIO_QDSP6
2259 help
2260 Enable support for qdsp6/ultrasound.
2261
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002262config MSM_RPC_VIBRATOR
2263 bool "RPC based MSM Vibrator Support"
2264 depends on MSM_ONCRPCROUTER
2265 help
2266 Enable the vibrator support on MSM over RPC. The vibrator
2267 is connected on the PMIC. Say Y if you want to enable this
2268 feature.
2269
2270config PM8XXX_RPC_VIBRATOR
2271 bool "RPC based Vibrator on PM8xxx PMICs"
2272 depends on MSM_RPC_VIBRATOR
2273 help
2274 Enable the vibrator support on MSM over RPC. The vibrator
2275 is connected on the PM8XXX PMIC. Say Y if you want to enable
2276 this feature.
2277
2278config MSM_SPM_V1
2279 bool "Driver support for SPM Version 1"
2280 help
2281 Enables the support for Version 1 of the SPM driver. SPM hardware is
2282 used to manage the processor power during sleep. The driver allows
2283 configuring SPM to allow different power modes.
2284
2285config MSM_SPM_V2
2286 bool "Driver support for SPM Version 2"
2287 help
2288 Enables the support for Version 2 of the SPM driver. SPM hardware is
2289 used to manage the processor power during sleep. The driver allows
2290 configuring SPM to allow different power modes.
2291
2292config MSM_L2_SPM
2293 bool "SPM support for L2 cache"
2294 depends on MSM_SPM_V2
2295 help
2296 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2297 control of L2 cache low power mode with a Subsystem Power manager.
2298 Enabling this driver allows configuring L2 SPM for low power modes
2299 on supported chipsets.
2300
Laura Abbott2d1760b2011-09-29 21:31:24 -07002301config MSM_MULTIMEDIA_USE_ION
2302 bool "Multimedia suport using Ion"
2303 depends on ION_MSM
2304 help
2305 Enable support for multimedia drivers using Ion for buffer management
2306 instead of pmem. Selecting this may also involve userspace
2307 dependencies as well.
2308
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002309config MSM_OCMEM
2310 bool "MSM On-Chip memory driver (OCMEM)"
2311 help
2312 Enable support for On-Chip Memory available on certain MSM chipsets.
2313 OCMEM is a low latency, high performance pool shared by subsystems.
2314
Laura Abbottad340ff2012-01-04 14:23:48 -08002315config MSM_RTB
2316 bool "Register tracing"
2317 help
2318 Add support for logging different events to a small uncached
2319 region. This is designed to aid in debugging reset cases where the
2320 caches may not be flushed before the target resets.
2321
2322config MSM_RTB_SEPARATE_CPUS
2323 bool "Separate entries for each cpu"
2324 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002325 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002326 help
2327 Under some circumstances, it may be beneficial to give dedicated space
2328 for each cpu to log accesses. Selecting this option will log each cpu
2329 separately. This will guarantee that the last acesses for each cpu
2330 will be logged but there will be fewer entries per cpu
2331
Stepan Moskovchenko57884842012-06-07 17:35:49 -07002332config MSM_EBI_ERP
2333 bool "External Bus Interface (EBI) error reporting"
2334 help
2335 Say 'Y' here to enable reporting of external bus interface errors to
2336 the kernel log. Information such as the offending address and
2337 transaction type will be logged. This may be useful for debugging
2338 seemingly broken memory accesses.
2339
2340 For production builds, you should probably say 'N' here.
2341
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002342config MSM_CACHE_ERP
2343 bool "Cache / CPU error reporting"
2344 depends on ARCH_MSM_KRAIT
2345 help
2346 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2347 log. Enabling this feature can be used as a system debugging technique
2348 if cache corruption is suspected. Cache error statistics will also be
2349 reported in /proc/cpu/msm_cache_erp.
2350
2351 For production builds, you should probably say 'N' here.
2352
2353config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002354 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002355 depends on MSM_CACHE_ERP
2356 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002357 To cause the kernel to panic whenever an L1 cache error is detected, say
2358 'Y' here. This may be useful as a debugging technique if general system
2359 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002360
2361 For production builds, you should probably say 'N' here.
2362
Stepan Moskovchenko7035f652012-05-31 17:48:01 -07002363config MSM_L1_ERR_LOG
2364 bool "Log CPU ERP events to system memory"
2365 depends on MSM_CACHE_ERP
2366 help
2367 Enable logging CPU ERP events to an area of memory that will be
2368 preserved across a system reset. This may be useful for detecting and
2369 troubleshooting ERP-related system crashes in the field.
2370
2371 For production builds, you may want to say 'Y' here.
2372
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002373config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2374 bool "Report L2 master port slave/decode errors in kernel log"
2375 depends on MSM_CACHE_ERP
2376 help
2377 Master port errors can occur when a memory request is not properly
2378 handled by the destination slave. This can occur if the destination
2379 register does not exist or is inaccessible due to security
2380 restrictions or (in some cases) clock configuration. Enabling this
2381 option will cause a backtrace to be printed to the kernel log whenever
2382 such an error is encountered. Note that the error is reported as an
2383 interrupt rather than as an exception, meaning that the backtrace may
2384 have some skid. This option may help with debugging, though production
2385 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002386
2387config MSM_L2_ERP_PORT_PANIC
2388 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002389 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002390 help
2391 Master port errors can occur when a memory request is not properly
2392 handled by the destination slave. Enable this option to catch drivers
2393 which attempt to access bad areas of the address space, or access
2394 hardware registers in an improper state (such as certain clocks not
2395 being on). This option may help with debugging, though production
2396 builds should probably say 'N' here.
2397
2398config MSM_L2_ERP_1BIT_PANIC
2399 bool "Panic on recoverable L2 soft errors"
2400 depends on MSM_CACHE_ERP
2401 help
2402 Enable this option to cause a kernel panic whenever the L2 cache
2403 encounters a single-bit (correctable) soft error. This option should
2404 only be enabled when doing low-level debugging where cache corruption
2405 is suspected.
2406
2407 For production builds, you should definitely say 'N' here.
2408
2409config MSM_L2_ERP_2BIT_PANIC
2410 bool "Panic on unrecoverable L2 soft errors"
2411 depends on MSM_CACHE_ERP
2412 help
2413 Enable this option to cause a kernel panic whenever the L2 cache
2414 encounters a double-bit (non-correctable) soft error. Debug builds
2415 will likely benefit from having this option enabled to catch cache
2416 problems as soon as possible.
2417
2418 For production builds, it may be acceptable to say 'N' here, since
2419 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002420
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002421config MSM_DCVS
2422 bool "Use MSM DCVS for CPU/GPU Frequency control"
2423 depends on MSM_SCM
2424 help
2425 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2426 The DCVS manager allows idle driver to feed the idle information to the
2427 algorithm and the algorithm returns a frequency for the core which is
2428 passed to the frequency change driver.
2429
Taniya Dasc43e6872012-03-21 16:41:14 +05302430config HAVE_ARCH_HAS_CURRENT_TIMER
2431 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002432
2433config MSM_CACHE_DUMP
2434 bool "Cache dumping support"
2435 help
2436 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2437 This allows for analysis of the caches in case cache corruption is
2438 suspected.
2439
Laura Abbott7b637362012-03-29 16:43:49 -07002440config MSM_CACHE_DUMP_ON_PANIC
2441 bool "Dump caches on panic"
2442 depends on MSM_CACHE_DUMP
2443 help
2444 By default, the caches are flushed on panic. This means that trying to
2445 look at them in a RAM dump will give useless data. Select this if you
2446 want to dump the L1 and L2 caches on panic before any flush occurs.
2447 If unsure, say N
2448
Jack Phamccbbfab2012-04-09 19:50:20 -07002449config MSM_HSIC_SYSMON
2450 tristate "MSM HSIC system monitor driver"
2451 depends on USB
2452 help
2453 Add support for bridging with the system monitor interface of MDM
2454 over HSIC. This driver allows the local system monitor to
2455 communicate with the remote system monitor interface.
2456
2457config MSM_HSIC_SYSMON_TEST
2458 tristate "MSM HSIC system monitor bridge test"
2459 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2460 help
2461 Enable the test hook for the Qualcomm system monitor HSIC driver.
2462 This will create a debugfs file entry named "hsic_sysmon_test" which
2463 can be read and written to send character data to the sysmon port of
2464 the modem over USB.
2465
Brian Swetland9e73c842007-11-26 04:12:13 -08002466endif