blob: 6d0926f97fd92d98b545b40056066b1a482e19c2 [file] [log] [blame]
Brian Swetland1637de02008-09-09 07:13:33 -07001if ARCH_MSM
Brian Swetland9e73c842007-11-26 04:12:13 -08002
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -07003menu "MSM SoC Type"
Daniel Walkerbf83de42010-03-16 16:29:44 -07004
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07005config ARCH_MSM7X01A
Daniel Walkerbf83de42010-03-16 16:29:44 -07006 bool "MSM7x00A / MSM7x01A"
7 select ARCH_MSM_ARM11
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07008 select MSM_VIC
Daniel Walkerbf83de42010-03-16 16:29:44 -07009 select CPU_V6
David Brown74d10d72011-05-16 13:57:39 -070010 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070011 select MSM_REMOTE_SPINLOCK_SWP
12
13config ARCH_MSM7X25
14 bool "MSM7x25"
15 select ARCH_MSM_ARM11
16 select MSM_VIC
17 select CPU_V6
Steve Mucklef132c6c2012-06-06 18:30:57 -070018 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070019 select MSM_REMOTE_SPINLOCK_SWP
Taniya Dasbe561a02011-10-12 09:53:11 +053020 select MULTI_IRQ_HANDLER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070021
22config ARCH_MSM7X27
23 bool "MSM7x27"
24 select ARCH_MSM_ARM11 if MSM_SOC_REV_NONE
25 select ARCH_HAS_BARRIERS if MSM_SOC_REV_NONE
26 select ARCH_MSM_CORTEX_A5 if MSM_SOC_REV_A
27 select MSM_VIC
28 select CPU_V6 if MSM_SOC_REV_NONE
29 select CPU_V7 if MSM_SOC_REV_A
Steve Mucklef132c6c2012-06-06 18:30:57 -070030 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070031 select MSM_REMOTE_SPINLOCK_SWP if MSM_SOC_REV_NONE
32 select MSM_GPIOMUX
33 select REGULATOR
Taniya Dasbe561a02011-10-12 09:53:11 +053034 select MULTI_IRQ_HANDLER
Pankaj Kumar75c86fd2011-10-01 18:51:09 +053035 select MSM_PROC_COMM_REGULATOR
Laura Abbott1fbd2e62011-12-18 10:26:46 -080036 select CLEANCACHE
37 select QCACHE
Matt Wagantall88b86312012-01-31 16:53:03 -080038 select MSM_PM2 if PM
Krishna Vankae2922052012-03-02 09:59:12 +053039 select MSM_RUN_QUEUE_STATS if MSM_SOC_REV_A
Taniya Dasd4c39f92012-05-14 17:41:49 +053040 select DONT_MAP_HOLE_AFTER_MEMBANK0
Trilok Sonib856ab92012-06-26 14:33:28 +053041 select MIGHT_HAVE_CACHE_L2X0
Taniya Dascd1d0232012-07-03 17:50:47 +053042 select MSM_MODEM_RESTART
Daniel Walkerbf83de42010-03-16 16:29:44 -070043
Daniel Walker7b521612010-05-06 12:44:57 -070044config ARCH_MSM7X30
45 bool "MSM7x30"
46 select ARCH_MSM_SCORPION
Daniel Walker7b521612010-05-06 12:44:57 -070047 select MSM_VIC
48 select CPU_V7
David Brown74d10d72011-05-16 13:57:39 -070049 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070050 select MSM_REMOTE_SPINLOCK_DEKKERS
51 select ARCH_SPARSEMEM_ENABLE
Laura Abbott78593b52011-09-26 18:48:14 -070052 select ARCH_HAS_HOLES_MEMORYMODEL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070053 select MEMORY_HOTPLUG
54 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -080055 select ARCH_ENABLE_MEMORY_HOTPLUG
56 select ARCH_ENABLE_MEMORY_HOTREMOVE
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070057 select MIGRATION
58 select ARCH_MEMORY_PROBE
59 select ARCH_MEMORY_REMOVE
Gregory Beanab78cde2010-09-01 16:26:12 -070060 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070061 select RESERVE_FIRST_PAGE
62 select MSM_DALRPC
63 select MSM_SPM_V1
64 select REGULATOR
Justin Paupore637a25d2011-07-14 17:11:04 -070065 select MSM_PROC_COMM_REGULATOR
Taniya Dasbae99fb2011-10-12 09:55:13 +053066 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -080067 select MSM_PM2 if PM
Chintan Pandyabb021762012-06-21 15:03:29 +053068 select HOLES_IN_ZONE if SPARSEMEM
Taniya Dascd1d0232012-07-03 17:50:47 +053069 select MSM_MODEM_RESTART
Daniel Walker7b521612010-05-06 12:44:57 -070070
Daniel Walker4ad15e62010-05-06 13:54:17 -070071config ARCH_QSD8X50
72 bool "QSD8X50"
73 select ARCH_MSM_SCORPION
Daniel Walker4ad15e62010-05-06 13:54:17 -070074 select MSM_VIC
75 select CPU_V7
David Brown74d10d72011-05-16 13:57:39 -070076 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070077 select MSM_REMOTE_SPINLOCK_LDREX
78 select CPU_USE_DOMAINS
79 select EMULATE_DOMAIN_MANAGER_V7
Gregory Beanab78cde2010-09-01 16:26:12 -070080 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070081 select MSM_DALRPC
Matt Wagantall88b86312012-01-31 16:53:03 -080082 select MSM_PM2 if PM
Taniya Dascd1d0232012-07-03 17:50:47 +053083 select MSM_MODEM_RESTART
Daniel Walker46fe5f22010-08-18 11:00:25 -070084
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070085config ARCH_MSM8X60
86 bool "MSM8X60"
Jeff Ohlsteine14411d2010-11-30 13:06:36 -080087 select ARCH_MSM_SCORPIONMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070088 select SMP_PARALLEL_START if SMP
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070089 select ARM_GIC
90 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070091 select MSM_REMOTE_SPINLOCK_LDREX
92 select ARCH_REQUIRE_GPIOLIB
93 select MSM_ADM3
94 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -080095 select MSM_RPM_REGULATOR
David Brown1a5ab4b2011-05-16 15:53:38 -070096 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070097 select MSM_PIL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070098 select ARCH_HAS_CPU_IDLE_WAIT
99 select MSM_DIRECT_SCLK_ACCESS
100 select MSM_RPM
101 select MSM_XO
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700102 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700103 select MSM_BUS_SCALING
104 select MSM_SECURE_IO
105 select MSM_DALRPC
106 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700107 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700108 select MSM_NATIVE_RESTART
109 select ARCH_INLINE_SPIN_TRYLOCK
110 select ARCH_INLINE_SPIN_TRYLOCK_BH
111 select ARCH_INLINE_SPIN_LOCK
112 select ARCH_INLINE_SPIN_LOCK_BH
113 select ARCH_INLINE_SPIN_LOCK_IRQ
114 select ARCH_INLINE_SPIN_LOCK_IRQSAVE
115 select ARCH_INLINE_SPIN_UNLOCK
116 select ARCH_INLINE_SPIN_UNLOCK_BH
117 select ARCH_INLINE_SPIN_UNLOCK_IRQ
118 select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
119 select ARCH_INLINE_READ_TRYLOCK
120 select ARCH_INLINE_READ_LOCK
121 select ARCH_INLINE_READ_LOCK_BH
122 select ARCH_INLINE_READ_LOCK_IRQ
123 select ARCH_INLINE_READ_LOCK_IRQSAVE
124 select ARCH_INLINE_READ_UNLOCK
125 select ARCH_INLINE_READ_UNLOCK_BH
126 select ARCH_INLINE_READ_UNLOCK_IRQ
127 select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
128 select ARCH_INLINE_WRITE_TRYLOCK
129 select ARCH_INLINE_WRITE_LOCK
130 select ARCH_INLINE_WRITE_LOCK_BH
131 select ARCH_INLINE_WRITE_LOCK_IRQ
132 select ARCH_INLINE_WRITE_LOCK_IRQSAVE
133 select ARCH_INLINE_WRITE_UNLOCK
134 select ARCH_INLINE_WRITE_UNLOCK_BH
135 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
136 select CPU_HAS_L2_PMU
137 select MSM_SPM_V1
Stephen Boyd2a1eb582010-08-27 10:01:23 -0700138 select MSM_SCM if SMP
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530139 select MULTI_IRQ_HANDLER
Laura Abbott46505f62011-11-02 18:06:55 -0700140 select MSM_MULTIMEDIA_USE_ION
Matt Wagantall88b86312012-01-31 16:53:03 -0800141 select MSM_PM8X60 if PM
Krishna Vankae2922052012-03-02 09:59:12 +0530142 select MSM_RUN_QUEUE_STATS
Laura Abbottb14ed962012-01-30 14:18:08 -0800143 select ARM_HAS_SG_CHAIN
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700144
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800145config ARCH_MSM8960
146 bool "MSM8960"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700147 select ARCH_MSM_KRAITMP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800148 select ARM_GIC
149 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700150 select GPIO_MSM_V2
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800151 select MSM_GPIOMUX
152 select MSM_SCM if SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700153 select MSM_DIRECT_SCLK_ACCESS
154 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -0800155 select MSM_RPM_REGULATOR
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700156 select MSM_RPM
157 select MSM_XO
158 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700159 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700160 select MSM_PIL
161 select MSM_AUDIO_QDSP6 if SND_SOC
162 select CPU_HAS_L2_PMU
163 select MSM_SPM_V2
164 select MSM_L2_SPM
165 select MSM_NATIVE_RESTART
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700166 select DONT_MAP_HOLE_AFTER_MEMBANK0
167 select MSM_REMOTE_SPINLOCK_SFPB
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700168 select ARCH_SPARSEMEM_ENABLE
169 select ARCH_HAS_HOLES_MEMORYMODEL
Larry Basseld4d82c92011-12-07 09:52:49 -0800170 select CLEANCACHE
171 select QCACHE
Laura Abbott6d61a912011-10-27 16:44:14 -0700172 select MSM_MULTIMEDIA_USE_ION
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530173 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800174 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700175 select HOLES_IN_ZONE if SPARSEMEM
Krishna Vankae2922052012-03-02 09:59:12 +0530176 select MSM_RUN_QUEUE_STATS
Laura Abbottb14ed962012-01-30 14:18:08 -0800177 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700178 select MSM_KRAIT_WFE_FIXUP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800179
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700180config ARCH_MSM8930
181 bool "MSM8930"
182 select ARCH_MSM_KRAITMP
183 select ARM_GIC
184 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700185 select GPIO_MSM_V2
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700186 select MSM_GPIOMUX
187 select MSM_SCM if SMP
188 select MSM_DIRECT_SCLK_ACCESS
189 select REGULATOR
David Collins5779cea2012-01-05 15:09:21 -0800190 select MSM_RPM_REGULATOR
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700191 select MSM_RPM
192 select MSM_XO
193 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700194 select MSM_QDSP6_CODECS
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700195 select MSM_PIL
196 select MSM_AUDIO_QDSP6 if SND_SOC
197 select CPU_HAS_L2_PMU
198 select MSM_SPM_V2
199 select MSM_L2_SPM
200 select MSM_NATIVE_RESTART
201 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600202 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700203 select ARCH_SPARSEMEM_ENABLE
204 select ARCH_HAS_HOLES_MEMORYMODEL
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +0200205 select MSM_ULTRASOUND
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530206 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800207 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700208 select HOLES_IN_ZONE if SPARSEMEM
Laura Abbottb14ed962012-01-30 14:18:08 -0800209 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700210 select MSM_KRAIT_WFE_FIXUP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700211
212config ARCH_APQ8064
213 bool "APQ8064"
214 select ARCH_MSM_KRAITMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700215 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700216 select ARM_GIC
217 select CPU_V7
218 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700219 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600220 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800221 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800222 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700223 select MSM_QDSP6_CODECS
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800224 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530225 select MULTI_IRQ_HANDLER
Praveen Chidambaram78499012011-11-01 17:15:17 -0600226 select MSM_RPM
227 select MSM_SPM_V2
228 select MSM_L2_SPM
Matt Wagantall88b86312012-01-31 16:53:03 -0800229 select MSM_PM8X60 if PM
Neil Leeder814d3d32012-01-19 17:21:43 -0500230 select CPU_HAS_L2_PMU
Laura Abbott085dd202012-03-30 14:02:34 -0700231 select HOLES_IN_ZONE if SPARSEMEM
Larry Bassel67b921d2012-04-06 10:23:27 -0700232 select CLEANCACHE
233 select QCACHE
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -0600234 select MIGHT_HAVE_PCI
235 select ARCH_SUPPORTS_MSI
Laura Abbottb14ed962012-01-30 14:18:08 -0800236 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700237 select MSM_KRAIT_WFE_FIXUP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700238
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700239config ARCH_MSM8974
240 bool "MSM8974"
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700241 select ARCH_MSM_KRAITMP
Sathish Ambley4149e842012-03-23 11:53:55 -0700242 select GPIO_MSM_V3
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700243 select ARM_GIC
244 select CPU_V7
245 select MSM_SCM if SMP
246 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530247 select MULTI_IRQ_HANDLER
Olav Hauganb800c8c2012-01-30 08:50:45 -0800248 select MSM_MULTIMEDIA_USE_ION
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700249 select MSM_PIL
Praveen Chidambaramaa9d52b2012-04-02 11:09:47 -0600250 select MSM_SPM_V2
251 select MSM_L2_SPM
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700252 select MSM_NATIVE_RESTART
253 select MSM_RESTART_V2
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600254 select MSM_PM8X60 if PM
Steve Mucklef132c6c2012-06-06 18:30:57 -0700255 select MAY_HAVE_SPARSE_IRQ
256 select SPARSE_IRQ
Mahesh Sivasubramaniancb668712012-04-04 13:03:25 -0600257 select MSM_RPM_SMD
David Collinsc7642322012-04-04 10:19:12 -0700258 select REGULATOR
Joonwoo Park91d95462012-08-02 10:55:54 -0700259 select MSM_QDSP6_APRV2
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -0700260 select MSM_QDSP6V2_CODECS
261 select MSM_AUDIO_QDSP6V2 if SND_SOC
David Collins1c91ea72012-05-03 16:17:35 -0700262 select MSM_RPM_REGULATOR_SMD
Laura Abbottb14ed962012-01-30 14:18:08 -0800263 select ARM_HAS_SG_CHAIN
Karthik Parsha404fb8f2012-07-30 19:14:05 -0700264 select MSM_RUN_QUEUE_STATS
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700265
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700266config ARCH_FSM9XXX
267 bool "FSM9XXX"
268 select ARCH_MSM_SCORPION
269 select MSM_VIC
270 select CPU_V7
271 select MSM_REMOTE_SPINLOCK_LDREX
Steve Mucklef132c6c2012-06-06 18:30:57 -0700272 select GPIO_FSM9XXX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530273 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800274 select MSM_DALRPC
Daniel Walker4ad15e62010-05-06 13:54:17 -0700275
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700276config ARCH_MSM9615
277 bool "MSM9615"
278 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530279 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700280 select ARCH_MSM_CORTEX_A5
281 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700282 select GPIO_MSM_V2
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700283 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600284 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600285 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700286 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800287 select REGULATOR
288 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530289 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800290 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800291 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700292 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800293 select MSM_QDSP6_APR
294 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800295 select FIQ
Laura Abbottb14ed962012-01-30 14:18:08 -0800296 select ARM_HAS_SG_CHAIN
Matt Wagantall9274df92011-12-15 11:11:05 -0800297
Taniya Das43bcdd62011-12-02 17:33:27 +0530298config ARCH_MSM8625
299 bool "MSM8625"
300 select ARCH_MSM_CORTEX_A5
301 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700302 select GPIO_MSM_V1
Taniya Das43bcdd62011-12-02 17:33:27 +0530303 select MSM_GPIOMUX
304 select ARM_GIC
305 select ARCH_MSM_CORTEXMP
306 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530307 select ARM_TICKET_LOCKS
Krishna Vankae2922052012-03-02 09:59:12 +0530308 select MSM_RUN_QUEUE_STATS
Trilok Sonib856ab92012-06-26 14:33:28 +0530309 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530310 select ARM_HAS_SG_CHAIN
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700311
312config ARCH_MSM9625
313 bool "MSM9625"
314 select ARM_GIC
315 select GIC_SECURE
Abhimanyu Kapur490d20c2012-06-22 17:34:20 -0700316 select MIGHT_HAVE_CACHE_L2X0
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700317 select ARCH_MSM_CORTEX_A5
318 select SMP
319 select MSM_SMP
320 select CPU_V7
Jin Hong690e3352012-05-02 09:25:05 -0700321 select MSM_GPIOMUX
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700322 select MULTI_IRQ_HANDLER
Rohit Vaswani61cf6ef2012-07-27 13:51:48 -0700323 select GPIO_MSM_V3
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700324
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700325endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700326
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700327choice
328 prompt "MSM SoC Revision"
329 default MSM_SOC_REV_NONE
330config MSM_SOC_REV_NONE
331 bool "N/A"
332 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
333 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walkerbf83de42010-03-16 16:29:44 -0700334config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700335 bool "Rev. A"
336 select ARCH_MSM7X27A if ARCH_MSM7X27
Daniel Walkerbf83de42010-03-16 16:29:44 -0700337endchoice
338
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700339config MSM_KRAIT_TBB_ABORT_HANDLER
340 bool "Krait TBB/TBH data abort handler"
341 depends on ARCH_MSM_KRAIT
342 depends on ARM_THUMB
343 help
344 Certain early samples of the Krait processor may generate data
345 aborts for TBB / TBH instructions that fail their condition code
346 checks. Enabling this option will ignore these erroneous data aborts,
347 at the expense of a very small performance penalty.
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800348
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700349 If unsure, say N.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700350
351config ARCH_MSM_ARM11
352 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700353
Daniel Walkerbf83de42010-03-16 16:29:44 -0700354config ARCH_MSM_SCORPION
355 bool
356
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700357config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700358 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800359 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700360
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700361config MSM_SMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700362 select HAVE_SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700363 bool
364
365config ARCH_MSM_SCORPIONMP
366 select ARCH_MSM_SCORPION
367 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530368 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700369 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700370 bool
371
372config ARCH_MSM_KRAITMP
373 select ARCH_MSM_KRAIT
374 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530375 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700376 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700377 bool
Steve Mucklef132c6c2012-06-06 18:30:57 -0700378 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700379
Taniya Das43bcdd62011-12-02 17:33:27 +0530380config ARCH_MSM_CORTEXMP
381 select MSM_SMP
382 bool
383
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700384config MSM_KRAIT_WFE_FIXUP
385 bool
386
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700387config MSM_RESTART_V2
388 bool
389
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700390config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800391 bool
Rohit Vaswaniaf7ae272012-01-09 10:28:57 -0800392 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700393
394config ARCH_MSM7X27A
395 bool
396 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700397 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530398 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530399 select ARM_GIC
400 select ARCH_MSM_CORTEXMP
Trilok Sonib856ab92012-06-26 14:33:28 +0530401 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530402 select ARM_HAS_SG_CHAIN
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700403
Gregory Beanf9f3d312010-04-30 22:06:50 -0700404config MSM_VIC
405 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700406
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700407config MSM_RPM
408 bool "Resource Power Manager"
409 select MSM_MPM
410
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600411config MSM_RPM_SMD
412 depends on MSM_SMD
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600413 select MSM_MPM_OF
414 bool "RPM driver using SMD protocol"
415 help
416 RPM is the dedicated hardware engine for managing shared SoC
417 resources. This config adds driver support for using SMD as a
418 transport layer communication with RPM hardware. It also selects
419 the MSM_MPM config that programs the MPM module to monitor interrupts
420 during sleep modes.
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600421
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700422config MSM_MPM
423 bool "Modem Power Manager"
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600424 help
425 MPM is a dedicated hardware resource responsible for entering and
426 waking up from a system wide low power mode. The MPM driver tracks
427 the wakeup interrupts and configures the MPM to monitor the wakeup
428 interrupts when going to a system wide sleep mode.
429
430config MSM_MPM_OF
431 bool "Modem Power Manager"
432 depends on CONFIG_OF
433 help
434 MPM is a dedicated hardware resource responsible for entering and
435 waking up from a system wide low power mode. The MPM driver tracks
436 the wakeup interrupts and configures the MPM to monitor the wakeup
437 interrupts when going to a system wide sleep mode. This config option
438 enables the MPM driver that supports initialization from a device
439 tree
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700440
441config MSM_XO
442 bool
443
444config MSM_REMOTE_SPINLOCK_DEKKERS
445 bool
446config MSM_REMOTE_SPINLOCK_SWP
447 bool
448config MSM_REMOTE_SPINLOCK_LDREX
449 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600450config MSM_REMOTE_SPINLOCK_SFPB
451 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700452config MSM_ADM3
453 bool
454
455menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700456
457config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700458 depends on ARCH_MSM7X01A
459 depends on MSM_STACKED_MEMORY
460 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700461 bool "Halibut Board (QCT SURF7201A)"
462 help
463 Support for the Qualcomm SURF7201A eval board.
464
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700465config MACH_MSM7201A_SURF
466 depends on ARCH_MSM7X01A
467 depends on MSM_STACKED_MEMORY
468 default y
469 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700470 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700471 Support for the Qualcomm MSM7201A SURF eval board.
472
473config MACH_MSM7201A_FFA
474 depends on ARCH_MSM7X01A
475 depends on MSM_STACKED_MEMORY
476 default y
477 bool "MSM7201A FFA"
478 help
479 Support for the Qualcomm MSM7201A FFA eval board.
480
481config MACH_TROUT
482 depends on ARCH_MSM7X01A
483 depends on MSM_STACKED_MEMORY
484 default y
485 bool "Trout"
486
487config MACH_MSM7X27_SURF
488 depends on ARCH_MSM7X27
489 depends on !MSM_STACKED_MEMORY
490 default y
491 bool "MSM7x27 SURF"
492 help
493 Support for the Qualcomm MSM7x27 SURF eval board.
494
495config MACH_MSM7X27_FFA
496 depends on ARCH_MSM7X27
497 depends on !MSM_STACKED_MEMORY
498 default y
499 bool "MSM7x27 FFA"
500 help
501 Support for the Qualcomm MSM7x27 FFA eval board.
502
503config MACH_MSM7X27A_RUMI3
504 depends on ARCH_MSM7X27A
505 depends on !MSM_STACKED_MEMORY
506 default y
507 bool "MSM7x27A RUMI3"
508 help
509 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
510
511config MACH_MSM7X27A_SURF
512 depends on ARCH_MSM7X27A
513 depends on !MSM_STACKED_MEMORY
514 default y
515 bool "MSM7x27A SURF"
516 help
517 Support for the Qualcomm MSM7x27A SURF.
518
519config MACH_MSM7X27A_FFA
520 depends on ARCH_MSM7X27A
521 depends on !MSM_STACKED_MEMORY
522 default y
523 bool "MSM7x27A FFA"
524 help
525 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700526
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530527config MACH_MSM7625A_SURF
528 depends on ARCH_MSM7X27A
529 depends on !MSM_STACKED_MEMORY
530 default y
531 bool "MSM7625A SURF"
532 help
533 Support for the Qualcomm MSM7625A SURF.
534
535config MACH_MSM7625A_FFA
536 depends on ARCH_MSM7X27A
537 depends on !MSM_STACKED_MEMORY
538 default y
539 bool "MSM7625A FFA"
540 help
541 Support for the Qualcomm MSM7625A FFA.
542
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530543config MACH_MSM7627A_QRD1
544 depends on ARCH_MSM7X27A
545 depends on !MSM_STACKED_MEMORY
546 default y
547 bool "MSM7627A QRD1"
548 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530549 Support for the Qualcomm MSM7627A Reference Design.
550
551config MACH_MSM7627A_QRD3
552 depends on ARCH_MSM7X27A
553 depends on !MSM_STACKED_MEMORY
554 default y
555 bool "MSM7627A QRD3"
556 help
557 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530558
Taniya Dasc868a2e2012-01-03 10:18:47 +0530559config MACH_MSM7627A_EVB
560 depends on ARCH_MSM7X27A
561 depends on !MSM_STACKED_MEMORY
562 default y
563 bool "MSM7627A EVB"
564 help
565 Support for the Qualcomm MSM7627A Reference Design.
566
Taniya Das43bcdd62011-12-02 17:33:27 +0530567config MACH_MSM8625_RUMI3
568 depends on ARCH_MSM8625
569 depends on !MSM_STACKED_MEMORY
570 default y
571 bool "MSM8625 RUMI3"
572 help
573 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
574
Taniya Dase3027e22012-02-27 16:32:27 +0530575config MACH_MSM8625_SURF
576 depends on ARCH_MSM8625
577 depends on !MSM_STACKED_MEMORY
578 default y
579 bool "MSM8625 SURF"
580 help
581 Support for the Qualcomm MSM8625 SURF.
582
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530583config MACH_MSM8625_FFA
584 depends on ARCH_MSM8625
585 depends on !MSM_STACKED_MEMORY
586 default y
587 bool "MSM8625 FFA"
588 help
589 Support for the Qualcomm MSM8625 FFA.
590
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530591config MACH_MSM8625_EVB
592 depends on ARCH_MSM8625
593 depends on !MSM_STACKED_MEMORY
594 default y
595 bool "MSM8625 EVB"
596 help
597 Support for the Qualcomm MSM8625 Reference Design.
598
Taniya Dasbd096542012-03-15 17:43:45 +0530599config MACH_MSM8625_QRD7
600 depends on ARCH_MSM8625
601 depends on !MSM_STACKED_MEMORY
602 default y
603 bool "MSM8625 QRD7"
604 help
605 Support for the Qualcomm MSM8625 Reference Design.
606
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530607config MACH_MSM8625_EVT
608 depends on ARCH_MSM8625
609 depends on !MSM_STACKED_MEMORY
610 default y
611 bool "MSM8625 EVT"
612 help
613 Support for the Qualcomm MSM8625 Reference Design.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700614
Daniel Walker7b521612010-05-06 12:44:57 -0700615config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700616 depends on ARCH_MSM7X30
617 depends on !MSM_STACKED_MEMORY
618 default y
619 bool "MSM7x30 SURF"
620 help
621 Support for the Qualcomm MSM7x30 SURF eval board.
622
623config MACH_MSM7X30_FFA
624 depends on ARCH_MSM7X30
625 depends on !MSM_STACKED_MEMORY
626 default y
627 bool "MSM7x30 FFA"
628 help
629 Support for the Qualcomm MSM7x30 FFA eval board.
630
631config MACH_MSM7X30_FLUID
632 depends on ARCH_MSM7X30
633 depends on !MSM_STACKED_MEMORY
634 default y
635 bool "MSM7x30 FLUID"
636 help
637 Support for the Qualcomm MSM7x30 FLUID eval board.
638
639config MACH_SAPPHIRE
640 depends on ARCH_MSM7X01A
641 default n
642 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700643
Daniel Walker4ad15e62010-05-06 13:54:17 -0700644config MACH_QSD8X50_SURF
645 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700646 depends on MSM_SOC_REV_NONE
647 depends on MSM_STACKED_MEMORY
648 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700649 bool "QSD8x50 SURF"
650 help
651 Support for the Qualcomm QSD8x50 SURF eval board.
652
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700653config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700654 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700655 depends on MSM_SOC_REV_NONE
656 depends on MSM_STACKED_MEMORY
657 default y
658 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700659 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700660 Support for the Qualcomm QSD8x50 FFA eval board.
661
662config MACH_MSM7X25_SURF
663 depends on ARCH_MSM7X25
664 depends on !MSM_STACKED_MEMORY
665 default y
666 bool "MSM7x25 SURF"
667 help
668 Support for the Qualcomm MSM7x25 SURF eval board.
669
670config MACH_MSM7X25_FFA
671 depends on ARCH_MSM7X25
672 depends on !MSM_STACKED_MEMORY
673 default y
674 bool "MSM7x25 FFA"
675 help
676 Support for the Qualcomm MSM7x25 FFA eval board.
677
678config MACH_MSM8X55_SURF
679 depends on ARCH_MSM7X30
680 depends on !MSM_STACKED_MEMORY
681 default y
682 bool "MSM8X55 SURF"
683 help
684 Support for the Qualcomm MSM8x55 SURF eval board.
685
686config MACH_MSM8X55_FFA
687 depends on ARCH_MSM7X30
688 depends on !MSM_STACKED_MEMORY
689 default y
690 bool "MSM8X55 FFA"
691 help
692 Support for the Qualcomm MSM8x55 FFA eval board.
693
694config MACH_MSM8X55_SVLTE_FFA
695 depends on ARCH_MSM7X30
696 depends on !MSM_STACKED_MEMORY
697 default y
698 bool "MSM8X55 SVLTE FFA"
699 help
700 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
701
702config MACH_MSM8X55_SVLTE_SURF
703 depends on ARCH_MSM7X30
704 depends on !MSM_STACKED_MEMORY
705 default y
706 bool "MSM8X55 SVLTE SURF"
707 help
708 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700709
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700710config MACH_MSM8X60_SURF
711 depends on ARCH_MSM8X60
712 default n
713 bool "MSM8x60 SURF"
714 help
715 Support for the Qualcomm MSM8x60 SURF eval board.
716
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700717config MACH_MSM8X60_FFA
718 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700719 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700720 bool "MSM8x60 FFA"
721 help
722 Support for the Qualcomm MSM8x60 FFA eval board.
723
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700724config MACH_MSM8X60_FLUID
725 depends on ARCH_MSM8X60
726 default n
727 bool "MSM8x60 FLUID"
728 help
729 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
730 8x60 target which has a form factor that is much closer to that
731 of a phone than other targets. It also has a new display and
732 touchscreen controller.
733
734config MACH_MSM8X60_FUSION
735 depends on ARCH_MSM8X60
736 default n
737 bool "MSM8x60 FUSION"
738 help
739 Support for the Qualcomm MSM8x60 Fusion SURF device.
740
741config MACH_MSM8X60_FUSN_FFA
742 depends on ARCH_MSM8X60
743 default n
744 bool "MSM8x60 FUSN FFA"
745 help
746 Support for the Qualcomm MSM8x60 Fusion FFA device.
747
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400748config MACH_MSM8X60_DRAGON
749 depends on ARCH_MSM8X60
750 default n
751 bool "MSM8x60 DRAGON"
752 help
753 Support for the Qualcomm MSM8x60 Dragon board.
754
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700755config MACH_MSM8960_CDP
756 depends on ARCH_MSM8960
757 bool "MSM8960 CDP"
758 help
759 Support for the Qualcomm MSM8960 CDP device.
760
761config MACH_MSM8960_MTP
762 depends on ARCH_MSM8960
763 bool "MSM8960 MTP"
764 help
765 Support for the Qualcomm MSM8960 MTP device.
766
767config MACH_MSM8960_FLUID
768 depends on ARCH_MSM8960
769 bool "MSM8960 FLUID"
770 help
771 Support for the Qualcomm MSM8960 FLUID device.
772
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300773config MACH_MSM8960_LIQUID
774 depends on ARCH_MSM8960
775 bool "MSM8960 LIQUID"
776 help
777 Support for the Qualcomm MSM8960 LIQUID device.
778
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700779config MACH_MSM8930_CDP
780 depends on ARCH_MSM8930
781 bool "MSM8930 CDP"
782 help
783 Support for the Qualcomm MSM8930 CDP device.
784
785config MACH_MSM8930_MTP
786 depends on ARCH_MSM8930
787 bool "MSM8930 MTP"
788 help
789 Support for the Qualcomm MSM8930 MTP device.
790
791config MACH_MSM8930_FLUID
792 depends on ARCH_MSM8930
793 bool "MSM8930 FLUID"
794 help
795 Support for the Qualcomm MSM8930 FLUID device.
796
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800797config MACH_MSM8627_CDP
798 depends on ARCH_MSM8930
799 bool "MSM8627 CDP"
800 help
801 Support for the Qualcomm MSM8627 CDP device.
802
803config MACH_MSM8627_MTP
804 depends on ARCH_MSM8930
805 bool "MSM8627 MTP"
806 help
807 Support for the Qualcomm MSM8627 MTP device.
808
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700809config MACH_MSM9615_CDP
810 depends on ARCH_MSM9615
811 bool "MSM9615 CDP"
812 help
813 Support for the Qualcomm MSM9615 CDP device.
814
815config MACH_MSM9615_MTP
816 depends on ARCH_MSM9615
817 bool "MSM9615 MTP"
818 help
819 Support for the Qualcomm MSM9615 MTP device.
820
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700821config MSM_USE_TSIF1
822 depends on ARCH_MSM8X60
823 bool "MSM8x60 use TSIF1"
824 help
825 Selects TSIF1 core to be used rather than TSIF0.
826 The two TSIF cores share the same DM configuration
827 so they cannot be used simultaneously.
828
Joel King82b7e3f2012-01-05 10:03:27 -0800829config MACH_APQ8064_CDP
830 depends on ARCH_APQ8064
831 bool "APQ8064 CDP"
832 help
833 Support for the Qualcomm APQ8064 CDP device.
834
835config MACH_APQ8064_MTP
836 depends on ARCH_APQ8064
837 bool "APQ8064 MTP"
838 help
839 Support for the Qualcomm APQ8064 MTP device.
840
841config MACH_APQ8064_LIQUID
842 depends on ARCH_APQ8064
843 bool "APQ8064 LIQUID"
844 help
845 Support for the Qualcomm APQ8064 LIQUID device.
846
Joel King064bbf82012-04-01 13:23:39 -0700847config MACH_MPQ8064_CDP
848 depends on ARCH_APQ8064
849 bool "MPQ8064 CDP"
850 help
851 Support for the Qualcomm MPQ8064 CDP device.
852
Joel King11ca8202012-02-13 16:19:03 -0800853config MACH_MPQ8064_HRD
854 depends on ARCH_APQ8064
855 bool "MPQ8064 HRD"
856 help
857 Support for the Qualcomm MPQ8064 HRD device.
858
859config MACH_MPQ8064_DTV
860 depends on ARCH_APQ8064
861 bool "MPQ8064 DTV"
862 help
863 Support for the Qualcomm MPQ8064 DTV device.
864
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700865config MACH_FSM9XXX_SURF
866 depends on ARCH_FSM9XXX
867 depends on !MSM_STACKED_MEMORY
868 default y
869 bool "FSM9XXX SURF"
870 help
871 Support for the Qualcomm FSM9xxx femtocell
872 chipset based SURF evaluation board and
873 FFA board.
874
Daniel Walker4ad15e62010-05-06 13:54:17 -0700875endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800876
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700877config MSM_STACKED_MEMORY
878 bool "Stacked Memory"
879 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800880 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700881 This option is used to indicate the presence of on-die stacked
882 memory. When present this memory bank is used for a high speed
883 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800884
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700885config PHYS_OFFSET
886 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700887 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700888 default "0x80200000" if ARCH_APQ8064
889 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700890 default "0x80200000" if ARCH_MSM8930
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700891 default "0x00000000" if ARCH_MSM8974
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700892 default "0x10000000" if ARCH_FSM9XXX
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700893 default "0x20200000" if ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700894 default "0x00200000" if !MSM_STACKED_MEMORY
895 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
896 default "0x20000000" if ARCH_QSD8X50
897 default "0x40200000" if ARCH_MSM8X60
898 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800899
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700900config KERNEL_MSM_CONTIG_MEM_REGION
901 bool "Enable in-kernel contiguous memory region"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700902 default y if ARCH_MSM8X60
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700903 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700904 help
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700905 Enable the in-kernel contiguous memory allocator. Sets up a
906 region of physically contiguous memory. This memory is
907 reserved during initialization, and can be used
908 generically.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700909
910config KERNEL_PMEM_SMI_REGION
911 bool "Enable in-kernel PMEM region for SMI"
912 default y if ARCH_MSM8X60
913 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
914 help
915 Enable the in-kernel PMEM allocator to use SMI memory.
916
917config PMEM_GPU0
918 bool "Enable PMEM GPU0 region"
919 default y
920 depends on ARCH_QSD8X50 && ANDROID_PMEM
921 help
922 Enable the PMEM GPU0 device on SMI Memory.
923
924config MSM_AMSS_VERSION
925 int
926 default 6210 if MSM_AMSS_VERSION_6210
927 default 6220 if MSM_AMSS_VERSION_6220
928 default 6225 if MSM_AMSS_VERSION_6225
929
930choice
931 prompt "AMSS modem firmware version"
932
933 default MSM_AMSS_VERSION_6225
934
935 config MSM_AMSS_VERSION_6210
936 bool "6.2.10"
937
938 config MSM_AMSS_VERSION_6220
939 bool "6.2.20"
940
941 config MSM_AMSS_VERSION_6225
942 bool "6.2.20 + New ADSP"
943endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800944
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700945config MSM_HAS_DEBUG_UART_HS
Daniel Walkerbf83de42010-03-16 16:29:44 -0700946 bool
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700947 help
948 Say Y here if high speed MSM UART is present.
949
950config MSM_HAS_DEBUG_UART_HS_V14
951 bool
952 select MSM_HAS_DEBUG_UART_HS
953 help
954 Say Y here if high speed MSM UART v1.4 is present.
955
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530956config MSM_DEBUG_UART_PHYS
957 hex
958 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
959 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
960 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
961 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
962 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
963 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
964 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
965 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
966
Brian Swetland9e73c842007-11-26 04:12:13 -0800967choice
968 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800969 depends on DEBUG_LL
Brian Swetland9e73c842007-11-26 04:12:13 -0800970
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800971 config DEBUG_MSM_UART1
972 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530973 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800974 help
975 Say Y here if you want the debug print routines to direct
976 their output to the first serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -0800977
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800978 config DEBUG_MSM_UART2
979 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530980 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800981 help
982 Say Y here if you want the debug print routines to direct
983 their output to the second serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -0800984
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800985 config DEBUG_MSM_UART3
986 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530987 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800988 help
989 Say Y here if you want the debug print routines to direct
990 their output to the third serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -0800991
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800992 config DEBUG_MSM8660_UART
993 bool "Kernel low-level debugging messages via MSM 8660 UART"
994 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700995 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800996 help
997 Say Y here if you want the debug print routines to direct
998 their output to the serial port on MSM 8660 devices.
Steve Mucklec8aabae2010-04-21 16:20:27 -0700999
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001000 config DEBUG_MSM8960_UART
1001 bool "Kernel low-level debugging messages via MSM 8960 UART"
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001002 depends on ARCH_MSM8960 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001003 select MSM_HAS_DEBUG_UART_HS
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 serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001007
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001008 config DEBUG_MSM8930_UART
1009 bool "Kernel low-level debugging messages via MSM 8930 UART"
1010 depends on ARCH_MSM8930 && DEBUG_LL
1011 select MSM_HAS_DEBUG_UART_HS
1012 help
1013 Say Y here if you want the debug print routines to direct
1014 their output to the serial port on MSM 8930 devices.
1015
1016 config DEBUG_APQ8064_UART
1017 bool "Kernel low-level debugging messages via APQ 8064 UART"
1018 depends on ARCH_APQ8064 && DEBUG_LL
1019 select MSM_HAS_DEBUG_UART_HS
1020 help
1021 Say Y here if you want the debug print routines to direct
1022 their output to the serial port on APQ 8064 devices.
1023
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001024 config DEBUG_MSM8974_UART
1025 bool "Kernel low-level debugging messages via MSM 8974 UART"
1026 depends on ARCH_MSM8974
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001027 select MSM_HAS_DEBUG_UART_HS_V14
1028 help
1029 Say Y here if you want the debug print routines to direct
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001030 their output to the serial port on MSM 8974 devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001031endchoice
Brian Swetland9e73c842007-11-26 04:12:13 -08001032
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001033choice
1034 prompt "Default Timer"
1035 default MSM7X00A_USE_GP_TIMER
1036
1037 config MSM7X00A_USE_GP_TIMER
1038 bool "GP Timer"
1039 help
1040 Low resolution timer that allows power collapse from idle.
1041
1042 config MSM7X00A_USE_DG_TIMER
1043 bool "DG Timer"
1044 help
1045 High resolution timer.
1046endchoice
1047
1048choice
1049 prompt "Suspend sleep mode"
1050 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1051 help
1052 Allows overriding the sleep mode used. Leave at power
1053 collapse suspend unless the arm9 image has problems.
1054
1055 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1056 bool "Power collapse suspend"
1057 help
1058 Lowest sleep state. Returns through reset vector.
1059
1060 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1061 bool "Power collapse"
1062 help
1063 Sleep state that returns through reset vector.
1064
1065 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1066 bool "Apps Sleep"
1067
1068 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1069 bool "Ramp down cpu clock and wait for interrupt"
1070
1071 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1072 bool "Wait for interrupt"
1073endchoice
1074
1075config MSM7X00A_SLEEP_MODE
1076 int
1077 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1078 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1079 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1080 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1081 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1082
1083choice
1084 prompt "Idle sleep mode"
1085 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1086 help
1087 Allows overriding the sleep mode used from idle. Leave at power
1088 collapse suspend unless the arm9 image has problems.
1089
1090 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1091 bool "Power collapse suspend"
1092 help
1093 Lowest sleep state. Returns through reset vector.
1094
1095 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1096 bool "Power collapse"
1097 help
1098 Sleep state that returns through reset vector.
1099
1100 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1101 bool "Apps Sleep"
1102
1103 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1104 bool "Ramp down cpu clock and wait for interrupt"
1105
1106 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1107 bool "Wait for interrupt"
1108endchoice
1109
1110config MSM7X00A_IDLE_SLEEP_MODE
1111 int
1112 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1113 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1114 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1115 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1116 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1117
1118config MSM7X00A_IDLE_SLEEP_MIN_TIME
1119 int "Minimum idle time before sleep"
1120 default 20000000
1121 help
1122 Minimum idle time in nanoseconds before entering low power mode.
1123
1124config MSM7X00A_IDLE_SPIN_TIME
1125 int "Idle spin time before cpu ramp down"
1126 default 80000
1127 help
1128 Spin time in nanoseconds before ramping down cpu clock and entering
1129 any low power state.
1130
1131menuconfig MSM_IDLE_STATS
1132 bool "Collect idle statistics"
1133 default y
1134 help
1135 Collect idle statistics and export them in proc/msm_pm_stats.
1136
1137if MSM_IDLE_STATS
1138
1139config MSM_IDLE_STATS_FIRST_BUCKET
1140 int "First bucket time"
1141 default 62500
1142 help
1143 Upper time limit in nanoseconds of first bucket.
1144
1145config MSM_IDLE_STATS_BUCKET_SHIFT
1146 int "Bucket shift"
1147 default 2
1148
1149config MSM_IDLE_STATS_BUCKET_COUNT
1150 int "Bucket count"
1151 default 10
1152
1153config MSM_SUSPEND_STATS_FIRST_BUCKET
1154 int "First bucket time for suspend"
1155 default 1000000000
1156 help
1157 Upper time limit in nanoseconds of first bucket of the
1158 histogram. This is for collecting statistics on suspend.
1159
1160endif # MSM_IDLE_STATS
1161
1162config CPU_HAS_L2_PMU
1163 bool "L2CC PMU Support"
1164 help
1165 Select this if the L2 cache controller has a Performance Monitoring Unit.
1166
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001167config HTC_HEADSET
1168 tristate "HTC 2 Wire detection driver"
1169 default n
1170 help
1171 Provides support for detecting HTC 2 wire devices, such as wired
1172 headset, on the trout platform. Can be used with the msm serial
1173 debugger, but not with serial console.
1174
1175config TROUT_BATTCHG
1176 depends on MACH_TROUT && POWER_SUPPLY
1177 default y
1178 bool "Trout battery / charger driver"
1179
1180config HTC_PWRSINK
1181 depends on MSM_SMD
1182 default n
1183 bool "HTC Power Sink Driver"
1184
1185config QSD_SVS
1186 bool "QSD Static Voltage Scaling"
1187 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1188 default y
1189 select TPS65023
1190 help
1191 Enables static voltage scaling using the TPS65023 PMIC.
1192
1193config QSD_PMIC_DEFAULT_DCDC1
1194 int "PMIC default output voltage"
1195 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1196 default 1250
1197 help
1198 This is the PMIC voltage at Linux kernel boot.
1199
1200config MSM_FIQ_SUPPORT
1201 default y
1202 bool "Enable installation of an FIQ handler."
1203
1204config MSM_SERIAL_DEBUGGER
1205 select MSM_FIQ_SUPPORT
1206 select KERNEL_DEBUGGER_CORE
1207 default n
1208 bool "FIQ Mode Serial Debugger"
1209 help
1210 The FIQ serial debugger can accept commands even when the
1211 kernel is unresponsive due to being stuck with interrupts
1212 disabled. Depends on the kernel debugger core in drivers/misc.
1213
1214config MSM_SERIAL_DEBUGGER_CONSOLE
1215 depends on MSM_SERIAL_DEBUGGER
1216 default n
1217 bool "Console on FIQ Serial Debugger port"
1218 help
1219 Enables a console so that printk messages are displayed on
1220 the debugger serial port as the occur.
Brian Swetland9e73c842007-11-26 04:12:13 -08001221
Gregory Beanab78cde2010-09-01 16:26:12 -07001222config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001223 default y
1224 bool "Proc-Comm RPC Interface"
1225 help
1226 Enables a lightweight communications interface to the
1227 baseband processor.
Gregory Beanab78cde2010-09-01 16:26:12 -07001228
Gregory Bean1963a2a2010-08-28 10:05:44 -07001229config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001230 bool "MSM Shared Memory Driver (SMD)"
1231 help
1232 Support for the shared memory interface between the apps
1233 processor and the baseband processor. Provides access to
1234 the "shared heap", as well as virtual serial channels
1235 used to communicate with various services on the baseband
1236 processor.
1237
1238choice
1239 prompt "MSM Shared memory interface version"
1240 depends on MSM_SMD
1241 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1242 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1243
1244 config MSM_SMD_PKG3
1245 bool
1246 prompt "Package 3"
1247
1248 config MSM_SMD_PKG4
1249 bool
1250 prompt "Package 4"
1251endchoice
1252
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001253config MSM_PCIE
1254 bool "MSM PCIe Controller driver"
1255 depends on PCI && PCI_MSI
1256 help
1257 Enables the PCIe functionality by configures PCIe core on
1258 MSM chipset and by enabling the ARM PCI framework extension.
1259
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001260config MSM_RPC_SDIO_XPRT
1261 depends on MSM_SDIO_AL
1262 default y
1263 bool "MSM SDIO XPRT Layer"
1264 help
1265 SDIO Transport Layer for RPC Rouer
1266
1267config MSM_RPC_SDIO_DEBUG
1268 depends on MSM_RPC_SDIO_XPRT
1269 default y
1270 bool "MSM SDIO XPRT debug support"
1271 help
1272 Support for debugging SDIO XPRT
1273
1274config MSM_SMD_DEBUG
1275 depends on MSM_SMD
1276 default y
1277 bool "MSM SMD debug support"
1278 help
1279 Support for debugging the SMD for communication
1280 between the ARM9 and ARM11
1281
1282config MSM_SDIO_AL
1283 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1284 default y
1285 tristate "SDIO-Abstraction-Layer"
1286 help
1287 Support MSM<->MDM Communication over SDIO bus.
1288 MDM SDIO-Client should have pipes support.
1289
1290config MSM_SDIO_DMUX
1291 bool "SDIO Data Mux Driver"
1292 depends on MSM_SDIO_AL
1293 default n
1294 help
1295 Support Muxed Data Channels over SDIO interface.
1296
1297config MSM_BAM_DMUX
1298 bool "BAM Data Mux Driver"
1299 depends on SPS
1300 default n
1301 help
1302 Support Muxed Data Channels over BAM interface.
1303 BAM has a limited number of pipes. This driver
1304 provides a means to support more logical channels
1305 via muxing than BAM could without muxing.
1306
1307config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001308 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001309 default y
1310 bool "MSM N-WAY SMD support"
1311 help
1312 Supports APPS-QDSP SMD communication along with
1313 normal APPS-MODEM SMD communication.
1314
1315config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001316 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001317 default y
1318 bool "MSM N-WAY SMSM support"
1319 help
1320 Supports APPS-QDSP SMSM communication along with
1321 normal APPS-MODEM SMSM communication.
1322
1323config MSM_RESET_MODEM
1324 tristate "Reset Modem Driver"
1325 depends on MSM_SMD
1326 default m
1327 help
1328 Allows the user to reset the modem through a device node.
1329
1330config MSM_SMD_LOGGING
1331 depends on MSM_SMD
1332 default y
1333 bool "MSM Shared Memory Logger"
1334 help
1335 This option exposes the shared memory logger at /dev/smem_log
1336 and a debugfs node named smem_log.
1337
1338 If in doubt, say yes.
1339
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001340config MSM_IPC_LOGGING
1341 bool "MSM Debug Logging for IPC Drivers"
1342 help
1343 This option allows the debug logging for IPC Drivers.
1344
1345 If in doubt, say no.
1346
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001347config MSM_SMD_NMEA
1348 bool "NMEA GPS Driver"
1349 depends on MSM_SMD
1350 default y
1351 help
1352 Enable this to support the NMEA GPS device.
1353
1354 If in doubt, say yes.
1355
1356config MSM_SDIO_TTY
1357 bool "SDIO TTY Driver"
1358 depends on MSM_SDIO_AL
1359 default n
1360 help
1361 Provides a TTY driver SDIO TTY
1362 This driver can be used by user space
1363 applications for passing data through the
1364 SDIO interface.
1365
1366config MSM_SMD_TTY
1367 bool "SMD TTY Driver"
1368 depends on MSM_SMD
1369 default y
1370 help
1371 Provides TTY interfaces to interact with the modem.
1372
1373 If in doubt, say yes.
1374
1375config MSM_SMD_QMI
1376 bool "SMD QMI Driver"
1377 depends on MSM_SMD
1378 default y
1379 help
1380 Manages network data connections.
1381
1382 If in doubt, say yes.
1383
1384config MSM_SMD_PKT
1385 bool "SMD Packet Driver"
1386 depends on MSM_SMD
1387 default y
1388 help
1389 Provides a binary SMD non-muxed packet port interface.
1390
1391 If in doubt, say yes.
1392
1393config MSM_SDIO_CMUX
1394 bool "SDIO CMUX Driver"
1395 depends on MSM_SDIO_AL
1396 default n
1397 help
1398 Provides a Muxed port interface over SDIO QMI
1399
1400config MSM_DSPS
1401 bool "Sensors DSPS driver"
1402 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1403 default n
1404 help
1405 Provides user-space interface to the sensors manager
1406 to turn on/off the Sensors Processor system clocks.
1407 It is the DSPS responsibility to turn on/off the sensors
1408 themself.
1409 The number of clocks and their name may vary between targets.
1410 It also triggers the PIL to load the DSPS firmware.
1411
1412config MSM_SDIO_CTL
1413 bool "SDIO CTL Driver"
1414 depends on MSM_SDIO_CMUX
1415 default n
1416 help
1417 Provides a binary SDIO control port interface.
1418
1419config MSM_ONCRPCROUTER
1420 depends on MSM_SMD
1421 default n
1422 bool "MSM ONCRPC router support"
1423 help
1424 Support for the MSM ONCRPC router for communication between
1425 the ARM9 and ARM11
1426
1427config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001428 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001429 default n
1430 bool "MSM IPC Router support"
1431 help
1432 Support for the MSM IPC Router for communication between
1433 the APPs and the MODEM
1434
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001435config MSM_IPC_ROUTER_SMD_XPRT
1436 depends on MSM_SMD
1437 depends on MSM_IPC_ROUTER
1438 default n
1439 bool "MSM SMD XPRT Layer"
1440 help
1441 SMD Transport Layer for IPC Router
1442
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001443config MSM_ONCRPCROUTER_DEBUG
1444 depends on MSM_ONCRPCROUTER
1445 default y
1446 bool "MSM debug ONCRPC router support"
1447 help
1448 Support for debugging the ONCRPC router for communication
1449 between the ARM9 and ARM11
1450
1451config MSM_RPC_LOOPBACK_XPRT
1452 depends on MSM_ONCRPCROUTER
1453 default n
1454 bool "MSM RPC local routing support"
1455 help
1456 Support for routing RPC messages between APPS clients
1457 and APPS servers. Helps in testing APPS RPC framework.
1458
1459config MSM_RPCSERVER_TIME_REMOTE
1460 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1461 default y
1462 bool "Time remote RPC server"
1463 help
1464 The time remote server receives notification of time bases and
1465 reports these events to registered callback functions.
1466
1467config MSM_RPCSERVER_WATCHDOG
1468 depends on MSM_ONCRPCROUTER
1469 default y
1470 bool "Watchdog RPC server"
1471 help
1472 The dog_keepalive server handles watchdog events.
1473
1474config MSM_RPC_WATCHDOG
1475 depends on MSM_ONCRPCROUTER
1476 default n
1477 bool "Watchdog RPC client"
1478 help
1479 The dog_keepalive client module.
1480
1481config MSM_RPC_PING
1482 depends on MSM_ONCRPCROUTER && DEBUG_FS
1483 default m
1484 bool "MSM rpc ping"
1485 help
1486 Implements MSM rpc ping test module.
1487
1488config MSM_RPC_PROC_COMM_TEST
1489 depends on DEBUG_FS && MSM_PROC_COMM
1490 default m
1491 bool "MSM rpc proc comm test"
1492 help
1493 Implements MSM rpc proc comm test module.
1494
1495config MSM_RPC_OEM_RAPI
1496 depends on MSM_ONCRPCROUTER
1497 default m
1498 bool "MSM oem rapi"
1499 help
1500 Implements MSM oem rapi client module.
1501
1502config MSM_RPCSERVER_HANDSET
1503 depends on MSM_ONCRPCROUTER
1504 default y
1505 bool "Handset events RPC server"
1506 help
1507 Support for receiving handset events like headset detect,
1508 headset switch and clamshell state.
1509
1510config MSM_RMT_STORAGE_CLIENT
1511 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1512 default n
1513 bool "Remote Storage RPC client"
1514 help
1515 Provide RPC mechanism for remote processors to access storage
1516 device on apps processor.
1517
1518config MSM_RMT_STORAGE_CLIENT_STATS
1519 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1520 default n
1521 bool "Remote storage RPC client performance statistics"
1522 help
1523 Collects performance statistics and shows this information
1524 through a debugfs file rmt_storage_stats.
1525
1526config MSM_SDIO_SMEM
1527 depends on MSM_SDIO_AL
1528 default n
1529 bool "SDIO SMEM for remote storage"
1530 help
1531 Copies data from remote MDM9K memory to local MSM8x60
1532 memory. Used by remote storage client to shadow
1533 MDM9K filesystem.
1534
1535config MSM_DALRPC
1536 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001537 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001538 help
1539 Supports RPC calls to DAL devices on remote processor cores.
1540
1541config MSM_DALRPC_TEST
1542 tristate "DAL RPC test module"
1543 depends on (MSM_DALRPC && DEBUG_FS)
1544 default m
1545 help
1546 Exercises DAL RPC calls to QDSP6.
1547
1548if CPU_FREQ_MSM
1549
1550config MSM_CPU_FREQ_SET_MIN_MAX
1551 bool "Set Min/Max CPU frequencies."
1552 default n
1553 help
1554 Allow setting min and max CPU frequencies. Sysfs can be used
1555 to override these values.
1556
1557config MSM_CPU_FREQ_MAX
1558 int "Max CPU Frequency"
1559 depends on MSM_CPU_FREQ_SET_MIN_MAX
1560 default 384000
1561
1562config MSM_CPU_FREQ_MIN
1563 int "Min CPU Frequency"
1564 depends on MSM_CPU_FREQ_SET_MIN_MAX
1565 default 245760
1566
1567endif # CPU_FREQ_MSM
1568
1569config MSM_CPU_AVS
1570 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1571 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1572 depends on ARCH_QSD8X50
1573 default n
1574 select MSM_AVS_HW
1575 help
1576 This enables the s/w control of Adaptive Voltage Scaling feature
1577 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1578 based on feedback from three ring oscillators in the CPU.
1579
1580config MSM_AVS_HW
1581 bool "Enable Adaptive Voltage Scaling (AVS)"
1582 default n
1583 help
1584 Enable AVS hardware to fine tune voltage at each frequency. The
1585 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1586 fine tune the voltages based on the feedback from the ring
1587 oscillators.
1588
1589config MSM_HW3D
1590 tristate "MSM Hardware 3D Register Driver"
1591 depends on ANDROID_PMEM
1592 default y
1593 help
1594 Provides access to registers needed by the userspace OpenGL|ES
1595 library.
1596
1597config MSM_ADSP
1598 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1599 tristate "MSM ADSP driver"
1600 depends on ANDROID_PMEM
1601 default y
1602 help
1603 Provides access to registers needed by the userspace aDSP library.
1604
1605config ADSP_RPC_VER
1606 hex
1607 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1608 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1609 depends on MSM_ADSP
1610 help
1611 Select proper ADSP RPC version
1612choice
1613 prompt "ADSP RPC version"
1614
1615 default AMSS_7X25_VERSION_2009
1616
1617 config AMSS_7X25_VERSION_2009
1618 bool "2.0.09"
1619
1620 config AMSS_7X25_VERSION_2008
1621 bool "2.0.08"
1622endchoice
1623
1624config MSM7KV2_AUDIO
1625 bool "MSM7K v2 audio"
1626 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1627 default y
1628 help
1629 Enables QDSP5V2-based audio drivers for audio playbacks and
1630 voice call.
1631
1632config MSM_ADSP_REPORT_EVENTS
1633 bool "Report modem events from the DSP"
1634 default y
1635 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1636 help
1637 Normally, only messages from the aDSP are reported to userspace.
1638 With this option, we report events from the aDSP as well.
1639
1640config MSM_QDSP6
1641 tristate "QDSP6 support"
1642 depends on ARCH_QSD8X50 && ANDROID_PMEM
1643 default y
1644 help
1645 Enable support for qdsp6. This provides audio and video functionality.
1646
1647config MSM8X60_AUDIO
1648 tristate "MSM8X60 audio support"
1649 depends on ARCH_MSM8X60 && ANDROID_PMEM
1650 default y
1651 help
1652 Enable support for qdsp6v2. This provides audio functionality.
1653
1654config MSM8X60_FTM_AUDIO_DEVICES
1655 bool "MSM8X60 audio factory test mode support"
1656 depends on MSM8X60_AUDIO
1657 help
1658 Enable support audio factory test mode devices. This is used
1659 in a production line environment.
1660
Ben Romberger45b351c2011-07-20 22:37:27 -07001661config RTAC
1662 bool "MSM8K real-time audio calibration support"
1663 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001664 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001665 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001666 audio operation
1667
1668config MSM7X27A_AUDIO
1669 bool "MSM7X27A audio support"
1670 depends on ARCH_MSM7X27A && MSM_ADSP
1671 default n
1672 help
1673 Enable support for 7x27a. This provides audio functionality.
1674
Justin Pauporea6cd2092011-06-22 16:19:45 -07001675config MSM_PROC_COMM_REGULATOR
Gregory Bean1963a2a2010-08-28 10:05:44 -07001676 bool
Justin Pauporea6cd2092011-06-22 16:19:45 -07001677 depends on MSM_PROC_COMM && REGULATOR
1678 help
1679 Enable regulator framework support for regulators managed by PMLIB
1680 on the modem, and controlled through proccomm calls.
1681
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001682config MSM_VREG_SWITCH_INVERTED
1683 bool "Reverse vreg switch polarity"
1684 default n
1685 help
1686 Reverses the enable and disable for vreg switch.
1687
1688config MSM_DMA_TEST
1689 tristate "MSM DMA test module"
1690 default m
1691 help
1692 Intended to be compiled as a module. Provides a device node
1693 and ioctls for testing the MSM dma system.
1694
1695config WIFI_CONTROL_FUNC
1696 bool "Enable WiFi control function abstraction"
1697 help
1698 Enables Power/Reset/Carddetect function abstraction
1699
1700config WIFI_MEM_PREALLOC
1701 depends on WIFI_CONTROL_FUNC
1702 bool "Preallocate memory for WiFi buffers"
1703 help
1704 Preallocates memory buffers for WiFi driver
1705
1706config QSD_AUDIO
1707 bool "QSD audio"
1708 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1709 default y
1710 help
1711 Provides PCM, MP3, and AAC audio playback.
1712
1713config AUDIO_AAC_PLUS
1714 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1715 bool "AAC+ Audio"
1716 default y
1717 help
1718 Provides AAC+ decoding
1719
1720config AUDIO_ENHANCED_AAC_PLUS
1721 depends on AUDIO_AAC_PLUS
1722 bool "Enhanced AAC+ Audio"
1723 default y
1724 help
1725 Provides Enhanced AAC+ decoding
1726
1727config SURF_FFA_GPIO_KEYPAD
1728 bool "MSM SURF/FFA GPIO keypad"
1729 depends on INPUT_GPIO = "y"
1730 default y
1731 help
1732 Select if the GPIO keypad is attached.
1733
1734config MSM_SLEEP_TIME_OVERRIDE
1735 bool "Allow overriding suspend/sleep time with PM module parameter"
1736 default y
1737 help
1738 Enable the module parameter sleep_time_override. Specified
1739 in units of seconds, it overwrites the normal sleep time of
1740 suspend. The feature is required for automated power management
1741 testing.
1742
1743config MSM_MEMORY_LOW_POWER_MODE
1744 bool "Control the low power modes of memory"
1745 default n
1746 help
1747 The application processor controls whether memory should enter
1748 which low power mode.
1749
1750choice
1751 prompt "Default Memory Low Power Mode during Idle"
1752 depends on MSM_MEMORY_LOW_POWER_MODE
1753 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1754 help
1755 Selects the default low power mode of the memory during idle
1756 sleep.
1757
1758 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1759 bool "Memory active"
1760
1761 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1762 bool "Memory in retention"
1763
1764 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1765 bool "Memory in deep power down"
1766endchoice
1767
1768choice
1769 prompt "Default Memory Low Power Mode during Suspend"
1770 depends on MSM_MEMORY_LOW_POWER_MODE
1771 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1772 help
1773 Selects the default low power mode of the memory during suspend
1774 sleep.
1775
1776 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1777 bool "Memory active"
1778
1779 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1780 bool "Memory in retention"
1781
1782 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1783 bool "Memory in deep power down"
1784endchoice
1785
1786choice
1787 prompt "Power management timeout action"
1788 default MSM_PM_TIMEOUT_HALT
1789 help
1790 Selects the Application Processor's action when Power Management
1791 times out waiting for Modem's handshake.
1792
1793 config MSM_PM_TIMEOUT_HALT
1794 bool "Halt the Application Processor"
1795
1796 config MSM_PM_TIMEOUT_RESET_MODEM
1797 bool "Reset the Modem Processor"
1798
1799 config MSM_PM_TIMEOUT_RESET_CHIP
1800 bool "Reset the entire chip"
1801endchoice
1802
1803config MSM_IDLE_WAIT_ON_MODEM
1804 int "Wait for Modem to become ready for idle power collapse"
1805 default 0
1806 help
1807 If Modem is not ready to handle Application Processor's request
1808 for idle power collapse, wait the number of microseconds in case
1809 Modem becomes ready soon.
1810
Matt Wagantall9274df92011-12-15 11:11:05 -08001811config MSM_RPM_REGULATOR
1812 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001813 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001814 help
1815 Compile in support for the RPM regulator driver, used for setting
1816 voltages and other parameters of the various power rails supplied
1817 by some Qualcomm PMICs.
1818
David Collinsc7642322012-04-04 10:19:12 -07001819config MSM_RPM_REGULATOR_SMD
1820 bool "SMD RPM regulator driver"
1821 depends on REGULATOR
1822 depends on OF
1823 depends on MSM_RPM_SMD
1824 help
1825 Compile in support for the SMD RPM regulator driver which is used for
1826 setting voltages and other parameters of the various power rails
1827 supplied by some Qualcomm PMICs. The SMD RPM regulator driver should
1828 be used on systems which contain an RPM which communicates with the
1829 application processor over SMD.
1830
Stephen Boyd01710582012-07-09 13:40:05 -07001831config MSM_SUBSYSTEM_RESTART
1832 bool "MSM Subsystem Restart"
1833 help
1834 This option enables the MSM subsystem restart framework.
1835
1836 The MSM subsystem restart framework provides support to boot,
1837 shutdown, and restart subsystems with a reference counted API.
1838 It also notifies userspace of transitions between these states via
1839 sysfs.
1840
1841config MSM_SYSMON_COMM
1842 bool "MSM System Monitor communication support"
1843 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1844 help
1845 This option adds support for MSM System Monitor library, which
1846 provides an API that may be used for notifying subsystems within
1847 the SoC about other subsystems' power-up/down state-changes.
1848
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001849config MSM_PIL
1850 bool "Peripheral image loading"
1851 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001852 default n
1853 help
1854 Some peripherals need to be loaded into memory before they can be
1855 brought out of reset.
1856
1857 Say yes to support these devices.
1858
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001859config MSM_PIL_MODEM
1860 tristate "Modem (ARM11) Boot Support"
1861 depends on MSM_PIL
1862 help
1863 Support for booting and shutting down ARM11 Modem processors.
1864
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001865config MSM_PIL_QDSP6V3
1866 tristate "QDSP6v3 (Hexagon) Boot Support"
1867 depends on MSM_PIL
1868 help
1869 Support for booting and shutting down QDSP6v3 processors (hexagon).
1870 The QDSP6 is a low power DSP used in audio software applications.
1871
Stephen Boydeb819882011-08-29 14:46:30 -07001872config MSM_PIL_QDSP6V4
1873 tristate "QDSP6v4 (Hexagon) Boot Support"
1874 depends on MSM_PIL
1875 help
1876 Support for booting and shutting down QDSP6v4 processors (hexagon).
1877 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1878 software applications.
1879
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001880config MSM_PIL_LPASS_QDSP6V5
1881 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
1882 depends on MSM_PIL
1883 help
Matt Wagantall4e2599e2012-03-21 22:31:35 -07001884 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1885 in low power audio subsystems.
1886
1887config MSM_PIL_MSS_QDSP6V5
1888 tristate "MSS QDSP6v5 (Hexagon) Boot Support"
1889 depends on MSM_PIL
1890 help
1891 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1892 in modem subsystems.
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001893
Matt Wagantalle6e00d52012-03-08 17:39:07 -08001894config MSM_PIL_MBA
1895 tristate "Support for modem self-authentication"
1896 depends on MSM_PIL_MSS_QDSP6V5
1897 help
1898 Support for booting self-authenticating modems using the Modem Boot
1899 Authenticator.
Stephen Boyd322a9922011-09-20 01:05:54 -07001900
1901config MSM_PIL_RIVA
Stephen Boydd89eebe2011-09-28 23:28:11 -07001902 tristate "RIVA (WCNSS) Boot Support"
1903 depends on MSM_PIL
1904 help
1905 Support for booting and shutting down the RIVA processor (WCNSS).
1906 Riva is the wireless subsystem processor used in bluetooth, wireless
1907 LAN, and FM software applications.
1908
1909config MSM_PIL_TZAPPS
1910 tristate "TZApps Boot Support"
1911 depends on MSM_PIL
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07001912 help
1913 Support for booting and shutting down TZApps.
1914
1915 TZApps is an image that runs in the secure processor state. It is
1916 used to decrypt data and perform secure operations on the behalf of
1917 the kernel.
1918
1919config MSM_PIL_DSPS
1920 tristate "DSPS Boot Support"
Stephen Boyd7b973de2012-03-09 12:26:16 -08001921 depends on MSM_PIL
1922 help
1923 Support for booting and shutting down ARM7 DSPS processors.
1924
1925 DSPS is a sensors offloading processor used for applications such
1926 as rotation detection, temperature, etc.
Matt Wagantall292aace2012-01-26 19:12:34 -08001927
1928config MSM_PIL_VIDC
1929 tristate "Video Core Secure Boot Support"
1930 depends on MSM_PIL
1931 help
1932 Support for authenticating the video core image.
1933
Tianyi Gou828798d2012-05-02 21:12:38 -07001934config MSM_PIL_VENUS
1935 tristate "VENUS (Video) Boot Support"
1936 depends on MSM_PIL
1937 help
1938 Support for booting and shutting down the VENUS processor (Video).
1939 Venus is the Video subsystem processor used for video codecs.
1940
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001941config MSM_PIL_GSS
1942 tristate "GSS (Coretx A5) Boot Support"
1943 depends on MSM_PIL
1944 help
1945 Support for booting and shutting down Cortex A5 processors which run
1946 GPS subsystem firmware.
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001947
Tianyi Gouc1e049f82011-11-23 14:20:16 -08001948config MSM_PIL_PRONTO
1949 tristate "PRONTO (WCNSS) Boot Support"
1950 depends on MSM_PIL
1951 help
1952 Support for booting and shutting down the PRONTO processor (WCNSS).
1953 PRONTO is the wireless subsystem processor used in bluetooth, wireless
1954 LAN, and FM software applications.
1955
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001956config MSM_SCM
1957 bool "Secure Channel Manager (SCM) support"
1958 default n
1959
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001960config MSM_MODEM_8960
1961 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001962 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001963 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001964 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001965 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001966 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001967
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001968config MSM_LPASS_8960
1969 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001970 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001971 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001972 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001973 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001974 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001975
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001976config MSM_WCNSS_SSR_8960
1977 tristate "MSM 8960 WCNSS restart module"
1978 depends on (ARCH_MSM8960)
1979 help
1980 This option enables the WCNSS restart module for MSM8960, which
1981 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1982 into the subsystem restart framework.
1983
Rohit Vaswanid0fb4182012-03-19 18:07:59 -07001984config MSM_GSS_SSR_8064
1985 bool "MSM 8064 GSS restart driver"
1986 depends on (ARCH_APQ8064)
1987 help
1988 This option enables the gps subsystem restart driver for APQ8064, which monitors
1989 gss hardware watchdog interrupt lines and plugs into the subsystem
1990 restart and PIL drivers.
1991
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001992config SCORPION_Uni_45nm_BUG
1993 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1994 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1995 default y
1996 help
1997 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1998 invalidating the Branch Predictor Array by Modified Virtual Address can
1999 create invalid entries in the TLB with the wrong ASID values on Scorpion
2000 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
2001 workaround for Scorpion Uniprocessor 45nm cores.
2002
2003 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
2004
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002005config MSM_BUSPM_DEV
2006 tristate "MSM Bus Performance Monitor Kernel Module"
2007 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
2008 default m
2009 help
2010 This kernel module is used to mmap() hardware registers for the
2011 performance monitors, counters, etc. The module can also be used to
2012 allocate physical memory which is used by bus performance hardware to
2013 dump performance data.
2014
Mona Hossain11c03ac2011-10-26 12:42:10 -07002015config MSM_TZ_LOG
2016 tristate "MSM Trust Zone (TZ) Log Driver"
2017 depends on DEBUG_FS
2018 help
2019 This option enables a driver with a debugfs interface for messages
2020 produced by the Secure code (Trust zone). These messages provide
2021 diagnostic information about TZ operation.
2022
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002023config MSM_RPM_LOG
2024 tristate "MSM Resource Power Manager Log Driver"
2025 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002026 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002027 default n
2028 help
2029 This option enables a driver which can read from a circular buffer
2030 of messages produced by the RPM. These messages provide diagnostic
2031 information about RPM operation. The driver outputs the messages
2032 via a debugfs node.
2033
2034config MSM_RPM_STATS_LOG
2035 tristate "MSM Resource Power Manager Stat Driver"
2036 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002037 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002038 default n
2039 help
2040 This option enables a driver which reads RPM messages from a shared
2041 memory location. These messages provide statistical information about
2042 the low power modes that RPM enters. The drivers outputs the message
2043 via a debugfs node.
2044
Girish Mahadevan898c56d2012-06-05 16:09:19 -06002045config MSM_RPM_RBCPR_STATS_LOG
2046 tristate "MSM Resource Power Manager RPBCPR Stat Driver"
2047 depends on DEBUG_FS
2048 depends on MSM_RPM
2049 help
2050 This option enables a driver which reads RPM messages from a shared
2051 memory location. These messages provide statistical information about
2052 RBCPR (Rapid Bridge Core Power Reduction) information . The drivers
2053 outputs the message via a debugfs node.
2054
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002055config MSM_DIRECT_SCLK_ACCESS
2056 bool "Direct access to the SCLK timer"
2057 default n
2058
2059config IOMMU_API
2060 bool
Gregory Bean1963a2a2010-08-28 10:05:44 -07002061
Brian Swetland9e73c842007-11-26 04:12:13 -08002062config MSM_GPIOMUX
2063 bool
2064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002065config MSM_SECURE_IO
Brian Swetland9e73c842007-11-26 04:12:13 -08002066 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002067
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002068config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002069 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002070
Taniya Dascd1d0232012-07-03 17:50:47 +05302071config MSM_MODEM_RESTART
2072 bool
2073
Matt Wagantall88b86312012-01-31 16:53:03 -08002074config MSM_PM2
2075 depends on PM
2076 bool
2077
2078config MSM_PM8X60
2079 depends on PM
2080 bool
2081
2082config MSM_NOPM
2083 default y if !PM
2084 bool
2085
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002086config MSM_BUS_SCALING
2087 bool "Bus scaling driver"
2088 default n
2089
Gagan Mac85c70492011-06-10 16:07:47 -06002090config MSM_BUS_RPM_MULTI_TIER_ENABLED
2091 bool "RPM Multi-tiering Configuration"
2092 depends on MSM_BUS_SCALING
2093
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002094config MSM_WATCHDOG
2095 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002096 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002097 help
2098 This enables the watchdog as is present on 8x60. Currently we use
2099 core 0's watchdog, and reset the entire SoC if it times out. It does
2100 not run during the bootup process, so it will not catch any early
2101 lockups.
2102
Hanumant Singhd1f01022012-07-05 14:21:53 -07002103config MSM_WATCHDOG_V2
2104 bool "MSM Watchdog Support"
2105 help
2106 This enables the watchdog module. It causes kernel panic if the
2107 watchdog times out. It allows for detection of cpu hangs and
2108 deadlocks. It does not run during the bootup process, so it will
2109 not catch any early lockups.
2110
Hanumant Singh5e2541c2012-07-31 14:41:14 -07002111config MSM_MEMORY_DUMP
2112 bool "MSM Memory Dump Support"
2113 help
2114 This enables memory dump feature. It allows various client
2115 subsystems to register respective dump regions. At the time
2116 of deadlocks or cpu hangs these dump regions are captured to
2117 give a snapshot of the system at the time of the crash.
2118
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002119config MSM_DLOAD_MODE
2120 bool "Enable download mode on crashes"
Subbaraman Narayanamurthye31f2792012-08-22 21:07:22 -07002121 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_MSM8974
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002122 default n
2123 help
2124 This makes the SoC enter download mode when it resets
2125 due to a kernel panic. Note that this doesn't by itself
2126 make the kernel reboot on a kernel panic - that must be
2127 enabled via another mechanism.
2128
Pratik Patel17f3b822011-11-21 12:41:47 -08002129config MSM_JTAG
Pratik Patel2963de42012-05-17 12:43:40 -07002130 bool "JTAG and kernel debug and trace support across power collapse"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002131 help
Pratik Patel2963de42012-05-17 12:43:40 -07002132 Enables support for kernel debugging (specifically breakpoints) and
2133 processor tracing across power collapse both for JTag and OS hosted
2134 software running on the target. Enabling this will ensure debug
2135 and ETM registers are saved and restored across power collapse.
2136
2137 For production builds, you should probably say 'N' here to avoid
2138 potential power, performance and memory penalty.
Pratik Patel7831c082011-06-08 21:44:37 -07002139
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002140config MSM_ETM
2141 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002142 depends on ARCH_MSM8X60
2143 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002144 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002145 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002146
Lynus Vazdde09ee2012-01-05 13:28:22 +05302147config MSM_SLEEP_STATS_DEVICE
2148 bool "Enable exporting of MSM sleep device stats to userspace"
2149
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302150config MSM_RUN_QUEUE_STATS
2151 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Krishna Vankae2922052012-03-02 09:59:12 +05302152 depends on (MSM_SOC_REV_A || ARCH_MSM8X60 || ARCH_MSM8960)
2153 help
2154 This option enalbes statistics collection on Run Queue. A daemon
2155 in user mode, called MPDecision will be using this data to decide
2156 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302157
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002158config MSM_STANDALONE_POWER_COLLAPSE
2159 bool "Enable standalone power collapse"
2160 default n
2161
2162config MSM_GSBI9_UART
2163 bool "Enable GSBI9 UART device"
2164 default n
2165 help
2166 This enables GSBI9 configured into UART.
2167
2168config MSM_SHARED_GPIO_FOR_UART2DM
2169 bool "Use shared GPIOs into UART mode"
2170 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2171 help
2172 This option configures GPIO muxed with SDC4/MMC3
2173 8-bit mode into UART mode. It is used for serial
2174 console on UART2DM. Say Y if you want to have
2175 serial console on UART2DM.
2176
2177config MSM_SHOW_RESUME_IRQ
2178 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002179 depends on (ARM_GIC || PMIC8058)
2180 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002181 default n
2182 help
2183 This option logs wake up interrupts that have triggered just before
2184 the resume loop unrolls. Say Y if you want to debug why the system
2185 resumed.
2186
2187config BT_MSM_PINTEST
2188 tristate "MSM Bluetooth Pin Connectivity Test"
2189 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2190 default n
2191 help
2192 Bluetooth MSM Pin Connectivity test module.
2193 This driver provides support for verifying the MSM to BT pin
2194 connectivity.
2195
2196config MSM_FAKE_BATTERY
2197 depends on POWER_SUPPLY
2198 default n
2199 bool "MSM Fake Battery"
2200 help
2201 Enables MSM fake battery driver.
2202
2203config MSM_QDSP6_APR
2204 bool "Audio QDSP6 APR support"
2205 depends on MSM_SMD
2206 default n
2207 help
2208 Enable APR IPC protocol support between
2209 application processor and QDSP6. APR is
2210 used by audio driver to configure QDSP6's
2211 ASM, ADM and AFE.
2212
Joonwoo Park91d95462012-08-02 10:55:54 -07002213config MSM_QDSP6_APRV2
2214 bool "Audio QDSP6 APRv2 support"
2215 depends on MSM_SMD
2216 default n
2217 help
2218 Enable APRv2 IPC protocol support between
2219 application processor and QDSP6. APR is
2220 used by audio driver to configure QDSP6's
2221 ASM, ADM and AFE.
2222
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -07002223config MSM_QDSP6_CODECS
2224 bool "Audio Codecs on QDSP6 APR "
2225 depends on MSM_SMD
2226 default n
2227 help
2228 Enable Audio codecs with APR IPC protocol support between
2229 application processor and QDSP6. APR is
2230 used by audio driver to configure QDSP6's
2231 ASM, ADM and AFE.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002232
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002233config MSM_QDSP6V2_CODECS
2234 bool "Audio QDSP6V2 APR support"
2235 depends on MSM_SMD
2236 help
2237 Enable Audio codecs with APR IPC protocol support between
2238 application processor and QDSP6 for B-family. APR is
2239 used by audio driver to configure QDSP6's
2240 ASM, ADM and AFE.
2241
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002242config MSM_AUDIO_QDSP6
2243 bool "QDSP6 HW Audio support"
2244 select SND_SOC_MSM_QDSP6_INTF
2245 default n
2246 help
2247 Enable HW audio support in QDSP6.
2248 QDSP6 can support HW encoder & decoder and audio processing
2249
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002250config MSM_AUDIO_QDSP6V2
2251 bool "QDSP6V2 HW Audio support"
2252 select SND_SOC_MSM_QDSP6V2_INTF
2253 help
2254 Enable HW audio support in QDSP6V2.
2255 QDSP6V2 can support HW encoder & decoder and
2256 audio processing. It will enable support for
2257 AAC, AMRNB, AMRWB, EVRC, MP3, QCELP among
2258 others.
2259
Joonwoo Park4a14a552012-08-02 11:03:21 -07002260config MSM_ADSP_LOADER
2261 tristate "ADSP loader support"
2262 select SND_SOC_MSM_APRV2_INTF
2263 depends on MSM_AUDIO_QDSP6V2 && m
2264 help
2265 Enable ADSP image loader.
2266 The ADSP loader brings ADSP out of reset
2267 for the platforms that use APRv2.
2268 Say M if you want to enable this module.
2269
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002270config MSM_ULTRASOUND
2271 bool "MSM ultrasound support"
2272 depends on MSM_AUDIO_QDSP6
2273 help
2274 Enable support for qdsp6/ultrasound.
2275
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002276config MSM_RPC_VIBRATOR
2277 bool "RPC based MSM Vibrator Support"
2278 depends on MSM_ONCRPCROUTER
2279 help
2280 Enable the vibrator support on MSM over RPC. The vibrator
2281 is connected on the PMIC. Say Y if you want to enable this
2282 feature.
2283
2284config PM8XXX_RPC_VIBRATOR
2285 bool "RPC based Vibrator on PM8xxx PMICs"
2286 depends on MSM_RPC_VIBRATOR
2287 help
2288 Enable the vibrator support on MSM over RPC. The vibrator
2289 is connected on the PM8XXX PMIC. Say Y if you want to enable
2290 this feature.
2291
2292config MSM_SPM_V1
2293 bool "Driver support for SPM Version 1"
2294 help
2295 Enables the support for Version 1 of the SPM driver. SPM hardware is
2296 used to manage the processor power during sleep. The driver allows
2297 configuring SPM to allow different power modes.
2298
2299config MSM_SPM_V2
2300 bool "Driver support for SPM Version 2"
2301 help
2302 Enables the support for Version 2 of the SPM driver. SPM hardware is
2303 used to manage the processor power during sleep. The driver allows
2304 configuring SPM to allow different power modes.
2305
2306config MSM_L2_SPM
2307 bool "SPM support for L2 cache"
2308 depends on MSM_SPM_V2
2309 help
2310 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2311 control of L2 cache low power mode with a Subsystem Power manager.
2312 Enabling this driver allows configuring L2 SPM for low power modes
2313 on supported chipsets.
2314
Laura Abbott2d1760b2011-09-29 21:31:24 -07002315config MSM_MULTIMEDIA_USE_ION
2316 bool "Multimedia suport using Ion"
2317 depends on ION_MSM
2318 help
2319 Enable support for multimedia drivers using Ion for buffer management
2320 instead of pmem. Selecting this may also involve userspace
2321 dependencies as well.
2322
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002323config MSM_OCMEM
2324 bool "MSM On-Chip memory driver (OCMEM)"
2325 help
2326 Enable support for On-Chip Memory available on certain MSM chipsets.
2327 OCMEM is a low latency, high performance pool shared by subsystems.
2328
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002329config MSM_OCMEM_LOCAL_POWER_CTRL
2330 bool "OCMEM Local Power Control"
2331 depends on MSM_OCMEM
2332 help
2333 Enable direct power management of the OCMEM core by the
2334 OCMEM driver. By default power management is delegated to
2335 the RPM. Selecting this option causes the OCMEM driver to
2336 directly handle the various macro power transitions.
2337
2338config MSM_OCMEM_DEBUG
2339 bool "OCMEM Debug Support"
2340 depends on MSM_OCMEM
2341 help
2342 Enable debug options for On-chip Memory (OCMEM) driver.
2343 Various debug options include memory, power and latency.
2344 Choosing one of these options allows debugging of each
2345 individual subsystem separately.
2346
Naveen Ramarajc71b2de2012-08-20 12:35:52 -07002347config MSM_OCMEM_NONSECURE
2348 bool "OCMEM Non Secure Mode"
2349 depends on MSM_OCMEM_DEBUG
2350 help
2351 Disable OCMEM interaction with secure processor.
2352 By default OCMEM is secured and accesses for each master
2353 is requested by the OCMEM driver. Selecting this option
2354 causes the OCMEM memory to be in non-secure state unless
2355 its locked down by the secure processor.
2356
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002357config MSM_OCMEM_POWER_DEBUG
2358 bool "OCMEM Power Debug Support"
2359 depends on MSM_OCMEM_DEBUG
2360 help
2361 Enable debug support for OCMEM power management.
2362 This adds support for verifying all power management
2363 related operations of OCMEM. Both local power management
2364 and RPM assisted power management operations are supported.
2365
Naveen Ramaraj4b1d9392012-08-06 21:05:14 -07002366config MSM_OCMEM_POWER_DISABLE
2367 bool "OCMEM Disable Power Control"
2368 depends on MSM_OCMEM_DEBUG
2369 help
2370 Disable all OCMEM power management.
2371 This keeps all OCMEM macros turned ON at all times thus
2372 never allowing them to be turned OFF. Both local power
2373 management and RPM assisted power modes are supported.
2374
Laura Abbottad340ff2012-01-04 14:23:48 -08002375config MSM_RTB
2376 bool "Register tracing"
2377 help
2378 Add support for logging different events to a small uncached
2379 region. This is designed to aid in debugging reset cases where the
2380 caches may not be flushed before the target resets.
2381
2382config MSM_RTB_SEPARATE_CPUS
2383 bool "Separate entries for each cpu"
2384 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002385 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002386 help
2387 Under some circumstances, it may be beneficial to give dedicated space
2388 for each cpu to log accesses. Selecting this option will log each cpu
2389 separately. This will guarantee that the last acesses for each cpu
2390 will be logged but there will be fewer entries per cpu
2391
Stepan Moskovchenko57884842012-06-07 17:35:49 -07002392config MSM_EBI_ERP
2393 bool "External Bus Interface (EBI) error reporting"
2394 help
2395 Say 'Y' here to enable reporting of external bus interface errors to
2396 the kernel log. Information such as the offending address and
2397 transaction type will be logged. This may be useful for debugging
2398 seemingly broken memory accesses.
2399
2400 For production builds, you should probably say 'N' here.
2401
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002402config MSM_CACHE_ERP
2403 bool "Cache / CPU error reporting"
2404 depends on ARCH_MSM_KRAIT
2405 help
2406 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2407 log. Enabling this feature can be used as a system debugging technique
2408 if cache corruption is suspected. Cache error statistics will also be
2409 reported in /proc/cpu/msm_cache_erp.
2410
2411 For production builds, you should probably say 'N' here.
2412
2413config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002414 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002415 depends on MSM_CACHE_ERP
2416 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002417 To cause the kernel to panic whenever an L1 cache error is detected, say
2418 'Y' here. This may be useful as a debugging technique if general system
2419 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002420
2421 For production builds, you should probably say 'N' here.
2422
Stepan Moskovchenko7035f652012-05-31 17:48:01 -07002423config MSM_L1_ERR_LOG
2424 bool "Log CPU ERP events to system memory"
2425 depends on MSM_CACHE_ERP
2426 help
2427 Enable logging CPU ERP events to an area of memory that will be
2428 preserved across a system reset. This may be useful for detecting and
2429 troubleshooting ERP-related system crashes in the field.
2430
2431 For production builds, you may want to say 'Y' here.
2432
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002433config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2434 bool "Report L2 master port slave/decode errors in kernel log"
2435 depends on MSM_CACHE_ERP
2436 help
2437 Master port errors can occur when a memory request is not properly
2438 handled by the destination slave. This can occur if the destination
2439 register does not exist or is inaccessible due to security
2440 restrictions or (in some cases) clock configuration. Enabling this
2441 option will cause a backtrace to be printed to the kernel log whenever
2442 such an error is encountered. Note that the error is reported as an
2443 interrupt rather than as an exception, meaning that the backtrace may
2444 have some skid. This option may help with debugging, though production
2445 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002446
2447config MSM_L2_ERP_PORT_PANIC
2448 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002449 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002450 help
2451 Master port errors can occur when a memory request is not properly
2452 handled by the destination slave. Enable this option to catch drivers
2453 which attempt to access bad areas of the address space, or access
2454 hardware registers in an improper state (such as certain clocks not
2455 being on). This option may help with debugging, though production
2456 builds should probably say 'N' here.
2457
2458config MSM_L2_ERP_1BIT_PANIC
2459 bool "Panic on recoverable L2 soft errors"
2460 depends on MSM_CACHE_ERP
2461 help
2462 Enable this option to cause a kernel panic whenever the L2 cache
2463 encounters a single-bit (correctable) soft error. This option should
2464 only be enabled when doing low-level debugging where cache corruption
2465 is suspected.
2466
2467 For production builds, you should definitely say 'N' here.
2468
2469config MSM_L2_ERP_2BIT_PANIC
2470 bool "Panic on unrecoverable L2 soft errors"
2471 depends on MSM_CACHE_ERP
2472 help
2473 Enable this option to cause a kernel panic whenever the L2 cache
2474 encounters a double-bit (non-correctable) soft error. Debug builds
2475 will likely benefit from having this option enabled to catch cache
2476 problems as soon as possible.
2477
2478 For production builds, it may be acceptable to say 'N' here, since
2479 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002480
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002481config MSM_DCVS
2482 bool "Use MSM DCVS for CPU/GPU Frequency control"
2483 depends on MSM_SCM
2484 help
2485 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2486 The DCVS manager allows idle driver to feed the idle information to the
2487 algorithm and the algorithm returns a frequency for the core which is
2488 passed to the frequency change driver.
2489
Pankaj Kumar32ce1ea2012-04-04 20:29:29 +05302490config MSM_CPR
2491 tristate "Use MSM CPR in S/W mode"
2492 help
2493 Enable CPR (core power reduction) in S/W mode, where the processor
2494 get's the notification from CPR block and programs the PMIC.
2495
2496config MSM_VP_REGULATOR
2497 tristate "Use MSM PMIC8029 C2 regulator"
2498 depends on ARCH_MSM8625
2499 help
2500 Enable MSM PMIC8029 C2 regulator support using APC_PLEVEL access
2501 for MSMs like 8625.
2502
Taniya Dasc43e6872012-03-21 16:41:14 +05302503config HAVE_ARCH_HAS_CURRENT_TIMER
2504 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002505
2506config MSM_CACHE_DUMP
2507 bool "Cache dumping support"
2508 help
2509 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2510 This allows for analysis of the caches in case cache corruption is
2511 suspected.
2512
Laura Abbott7b637362012-03-29 16:43:49 -07002513config MSM_CACHE_DUMP_ON_PANIC
2514 bool "Dump caches on panic"
2515 depends on MSM_CACHE_DUMP
2516 help
2517 By default, the caches are flushed on panic. This means that trying to
2518 look at them in a RAM dump will give useless data. Select this if you
2519 want to dump the L1 and L2 caches on panic before any flush occurs.
2520 If unsure, say N
2521
Jack Phamccbbfab2012-04-09 19:50:20 -07002522config MSM_HSIC_SYSMON
2523 tristate "MSM HSIC system monitor driver"
2524 depends on USB
2525 help
2526 Add support for bridging with the system monitor interface of MDM
2527 over HSIC. This driver allows the local system monitor to
2528 communicate with the remote system monitor interface.
2529
2530config MSM_HSIC_SYSMON_TEST
2531 tristate "MSM HSIC system monitor bridge test"
2532 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2533 help
2534 Enable the test hook for the Qualcomm system monitor HSIC driver.
2535 This will create a debugfs file entry named "hsic_sysmon_test" which
2536 can be read and written to send character data to the sysmon port of
2537 the modem over USB.
2538
Brian Swetland9e73c842007-11-26 04:12:13 -08002539endif