blob: e41ab0a448daf9d57ebc1de64a28266c072880fe [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
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700310
311config ARCH_MSM9625
312 bool "MSM9625"
313 select ARM_GIC
314 select GIC_SECURE
Abhimanyu Kapur490d20c2012-06-22 17:34:20 -0700315 select MIGHT_HAVE_CACHE_L2X0
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700316 select ARCH_MSM_CORTEX_A5
317 select SMP
318 select MSM_SMP
319 select CPU_V7
Jin Hong690e3352012-05-02 09:25:05 -0700320 select MSM_GPIOMUX
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700321 select MULTI_IRQ_HANDLER
Rohit Vaswani61cf6ef2012-07-27 13:51:48 -0700322 select GPIO_MSM_V3
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700323
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700324endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700325
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700326choice
327 prompt "MSM SoC Revision"
328 default MSM_SOC_REV_NONE
329config MSM_SOC_REV_NONE
330 bool "N/A"
331 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
332 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walkerbf83de42010-03-16 16:29:44 -0700333config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700334 bool "Rev. A"
335 select ARCH_MSM7X27A if ARCH_MSM7X27
Daniel Walkerbf83de42010-03-16 16:29:44 -0700336endchoice
337
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700338config MSM_KRAIT_TBB_ABORT_HANDLER
339 bool "Krait TBB/TBH data abort handler"
340 depends on ARCH_MSM_KRAIT
341 depends on ARM_THUMB
342 help
343 Certain early samples of the Krait processor may generate data
344 aborts for TBB / TBH instructions that fail their condition code
345 checks. Enabling this option will ignore these erroneous data aborts,
346 at the expense of a very small performance penalty.
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800347
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700348 If unsure, say N.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700349
350config ARCH_MSM_ARM11
351 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700352
Daniel Walkerbf83de42010-03-16 16:29:44 -0700353config ARCH_MSM_SCORPION
354 bool
355
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700356config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700357 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800358 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700359
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700360config MSM_SMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700361 select HAVE_SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700362 bool
363
364config ARCH_MSM_SCORPIONMP
365 select ARCH_MSM_SCORPION
366 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530367 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700368 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700369 bool
370
371config ARCH_MSM_KRAITMP
372 select ARCH_MSM_KRAIT
373 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530374 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700375 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700376 bool
Steve Mucklef132c6c2012-06-06 18:30:57 -0700377 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700378
Taniya Das43bcdd62011-12-02 17:33:27 +0530379config ARCH_MSM_CORTEXMP
380 select MSM_SMP
381 bool
382
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700383config MSM_KRAIT_WFE_FIXUP
384 bool
385
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700386config MSM_RESTART_V2
387 bool
388
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700389config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800390 bool
Rohit Vaswaniaf7ae272012-01-09 10:28:57 -0800391 select HAVE_HW_BRKPT_RESERVED_RW_ACCESS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700392
393config ARCH_MSM7X27A
394 bool
395 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700396 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530397 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530398 select ARM_GIC
399 select ARCH_MSM_CORTEXMP
Trilok Sonib856ab92012-06-26 14:33:28 +0530400 select MIGHT_HAVE_CACHE_L2X0
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700401
Gregory Beanf9f3d312010-04-30 22:06:50 -0700402config MSM_VIC
403 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700404
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700405config MSM_RPM
406 bool "Resource Power Manager"
407 select MSM_MPM
408
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600409config MSM_RPM_SMD
410 depends on MSM_SMD
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600411 select MSM_MPM_OF
412 bool "RPM driver using SMD protocol"
413 help
414 RPM is the dedicated hardware engine for managing shared SoC
415 resources. This config adds driver support for using SMD as a
416 transport layer communication with RPM hardware. It also selects
417 the MSM_MPM config that programs the MPM module to monitor interrupts
418 during sleep modes.
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600419
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700420config MSM_MPM
421 bool "Modem Power Manager"
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600422 help
423 MPM is a dedicated hardware resource responsible for entering and
424 waking up from a system wide low power mode. The MPM driver tracks
425 the wakeup interrupts and configures the MPM to monitor the wakeup
426 interrupts when going to a system wide sleep mode.
427
428config MSM_MPM_OF
429 bool "Modem Power Manager"
430 depends on CONFIG_OF
431 help
432 MPM is a dedicated hardware resource responsible for entering and
433 waking up from a system wide low power mode. The MPM driver tracks
434 the wakeup interrupts and configures the MPM to monitor the wakeup
435 interrupts when going to a system wide sleep mode. This config option
436 enables the MPM driver that supports initialization from a device
437 tree
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700438
439config MSM_XO
440 bool
441
442config MSM_REMOTE_SPINLOCK_DEKKERS
443 bool
444config MSM_REMOTE_SPINLOCK_SWP
445 bool
446config MSM_REMOTE_SPINLOCK_LDREX
447 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600448config MSM_REMOTE_SPINLOCK_SFPB
449 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700450config MSM_ADM3
451 bool
452
453menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700454
455config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700456 depends on ARCH_MSM7X01A
457 depends on MSM_STACKED_MEMORY
458 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700459 bool "Halibut Board (QCT SURF7201A)"
460 help
461 Support for the Qualcomm SURF7201A eval board.
462
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700463config MACH_MSM7201A_SURF
464 depends on ARCH_MSM7X01A
465 depends on MSM_STACKED_MEMORY
466 default y
467 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700468 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700469 Support for the Qualcomm MSM7201A SURF eval board.
470
471config MACH_MSM7201A_FFA
472 depends on ARCH_MSM7X01A
473 depends on MSM_STACKED_MEMORY
474 default y
475 bool "MSM7201A FFA"
476 help
477 Support for the Qualcomm MSM7201A FFA eval board.
478
479config MACH_TROUT
480 depends on ARCH_MSM7X01A
481 depends on MSM_STACKED_MEMORY
482 default y
483 bool "Trout"
484
485config MACH_MSM7X27_SURF
486 depends on ARCH_MSM7X27
487 depends on !MSM_STACKED_MEMORY
488 default y
489 bool "MSM7x27 SURF"
490 help
491 Support for the Qualcomm MSM7x27 SURF eval board.
492
493config MACH_MSM7X27_FFA
494 depends on ARCH_MSM7X27
495 depends on !MSM_STACKED_MEMORY
496 default y
497 bool "MSM7x27 FFA"
498 help
499 Support for the Qualcomm MSM7x27 FFA eval board.
500
501config MACH_MSM7X27A_RUMI3
502 depends on ARCH_MSM7X27A
503 depends on !MSM_STACKED_MEMORY
504 default y
505 bool "MSM7x27A RUMI3"
506 help
507 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
508
509config MACH_MSM7X27A_SURF
510 depends on ARCH_MSM7X27A
511 depends on !MSM_STACKED_MEMORY
512 default y
513 bool "MSM7x27A SURF"
514 help
515 Support for the Qualcomm MSM7x27A SURF.
516
517config MACH_MSM7X27A_FFA
518 depends on ARCH_MSM7X27A
519 depends on !MSM_STACKED_MEMORY
520 default y
521 bool "MSM7x27A FFA"
522 help
523 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700524
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530525config MACH_MSM7625A_SURF
526 depends on ARCH_MSM7X27A
527 depends on !MSM_STACKED_MEMORY
528 default y
529 bool "MSM7625A SURF"
530 help
531 Support for the Qualcomm MSM7625A SURF.
532
533config MACH_MSM7625A_FFA
534 depends on ARCH_MSM7X27A
535 depends on !MSM_STACKED_MEMORY
536 default y
537 bool "MSM7625A FFA"
538 help
539 Support for the Qualcomm MSM7625A FFA.
540
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530541config MACH_MSM7627A_QRD1
542 depends on ARCH_MSM7X27A
543 depends on !MSM_STACKED_MEMORY
544 default y
545 bool "MSM7627A QRD1"
546 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530547 Support for the Qualcomm MSM7627A Reference Design.
548
549config MACH_MSM7627A_QRD3
550 depends on ARCH_MSM7X27A
551 depends on !MSM_STACKED_MEMORY
552 default y
553 bool "MSM7627A QRD3"
554 help
555 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530556
Taniya Dasc868a2e2012-01-03 10:18:47 +0530557config MACH_MSM7627A_EVB
558 depends on ARCH_MSM7X27A
559 depends on !MSM_STACKED_MEMORY
560 default y
561 bool "MSM7627A EVB"
562 help
563 Support for the Qualcomm MSM7627A Reference Design.
564
Taniya Das43bcdd62011-12-02 17:33:27 +0530565config MACH_MSM8625_RUMI3
566 depends on ARCH_MSM8625
567 depends on !MSM_STACKED_MEMORY
568 default y
569 bool "MSM8625 RUMI3"
570 help
571 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
572
Taniya Dase3027e22012-02-27 16:32:27 +0530573config MACH_MSM8625_SURF
574 depends on ARCH_MSM8625
575 depends on !MSM_STACKED_MEMORY
576 default y
577 bool "MSM8625 SURF"
578 help
579 Support for the Qualcomm MSM8625 SURF.
580
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530581config MACH_MSM8625_FFA
582 depends on ARCH_MSM8625
583 depends on !MSM_STACKED_MEMORY
584 default y
585 bool "MSM8625 FFA"
586 help
587 Support for the Qualcomm MSM8625 FFA.
588
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530589config MACH_MSM8625_EVB
590 depends on ARCH_MSM8625
591 depends on !MSM_STACKED_MEMORY
592 default y
593 bool "MSM8625 EVB"
594 help
595 Support for the Qualcomm MSM8625 Reference Design.
596
Taniya Dasbd096542012-03-15 17:43:45 +0530597config MACH_MSM8625_QRD7
598 depends on ARCH_MSM8625
599 depends on !MSM_STACKED_MEMORY
600 default y
601 bool "MSM8625 QRD7"
602 help
603 Support for the Qualcomm MSM8625 Reference Design.
604
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530605config MACH_MSM8625_EVT
606 depends on ARCH_MSM8625
607 depends on !MSM_STACKED_MEMORY
608 default y
609 bool "MSM8625 EVT"
610 help
611 Support for the Qualcomm MSM8625 Reference Design.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700612
Daniel Walker7b521612010-05-06 12:44:57 -0700613config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700614 depends on ARCH_MSM7X30
615 depends on !MSM_STACKED_MEMORY
616 default y
617 bool "MSM7x30 SURF"
618 help
619 Support for the Qualcomm MSM7x30 SURF eval board.
620
621config MACH_MSM7X30_FFA
622 depends on ARCH_MSM7X30
623 depends on !MSM_STACKED_MEMORY
624 default y
625 bool "MSM7x30 FFA"
626 help
627 Support for the Qualcomm MSM7x30 FFA eval board.
628
629config MACH_MSM7X30_FLUID
630 depends on ARCH_MSM7X30
631 depends on !MSM_STACKED_MEMORY
632 default y
633 bool "MSM7x30 FLUID"
634 help
635 Support for the Qualcomm MSM7x30 FLUID eval board.
636
637config MACH_SAPPHIRE
638 depends on ARCH_MSM7X01A
639 default n
640 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700641
Daniel Walker4ad15e62010-05-06 13:54:17 -0700642config MACH_QSD8X50_SURF
643 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700644 depends on MSM_SOC_REV_NONE
645 depends on MSM_STACKED_MEMORY
646 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700647 bool "QSD8x50 SURF"
648 help
649 Support for the Qualcomm QSD8x50 SURF eval board.
650
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700651config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700652 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700653 depends on MSM_SOC_REV_NONE
654 depends on MSM_STACKED_MEMORY
655 default y
656 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700657 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700658 Support for the Qualcomm QSD8x50 FFA eval board.
659
660config MACH_MSM7X25_SURF
661 depends on ARCH_MSM7X25
662 depends on !MSM_STACKED_MEMORY
663 default y
664 bool "MSM7x25 SURF"
665 help
666 Support for the Qualcomm MSM7x25 SURF eval board.
667
668config MACH_MSM7X25_FFA
669 depends on ARCH_MSM7X25
670 depends on !MSM_STACKED_MEMORY
671 default y
672 bool "MSM7x25 FFA"
673 help
674 Support for the Qualcomm MSM7x25 FFA eval board.
675
676config MACH_MSM8X55_SURF
677 depends on ARCH_MSM7X30
678 depends on !MSM_STACKED_MEMORY
679 default y
680 bool "MSM8X55 SURF"
681 help
682 Support for the Qualcomm MSM8x55 SURF eval board.
683
684config MACH_MSM8X55_FFA
685 depends on ARCH_MSM7X30
686 depends on !MSM_STACKED_MEMORY
687 default y
688 bool "MSM8X55 FFA"
689 help
690 Support for the Qualcomm MSM8x55 FFA eval board.
691
692config MACH_MSM8X55_SVLTE_FFA
693 depends on ARCH_MSM7X30
694 depends on !MSM_STACKED_MEMORY
695 default y
696 bool "MSM8X55 SVLTE FFA"
697 help
698 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
699
700config MACH_MSM8X55_SVLTE_SURF
701 depends on ARCH_MSM7X30
702 depends on !MSM_STACKED_MEMORY
703 default y
704 bool "MSM8X55 SVLTE SURF"
705 help
706 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700707
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700708config MACH_MSM8X60_SURF
709 depends on ARCH_MSM8X60
710 default n
711 bool "MSM8x60 SURF"
712 help
713 Support for the Qualcomm MSM8x60 SURF eval board.
714
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700715config MACH_MSM8X60_FFA
716 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700717 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700718 bool "MSM8x60 FFA"
719 help
720 Support for the Qualcomm MSM8x60 FFA eval board.
721
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700722config MACH_MSM8X60_FLUID
723 depends on ARCH_MSM8X60
724 default n
725 bool "MSM8x60 FLUID"
726 help
727 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
728 8x60 target which has a form factor that is much closer to that
729 of a phone than other targets. It also has a new display and
730 touchscreen controller.
731
732config MACH_MSM8X60_FUSION
733 depends on ARCH_MSM8X60
734 default n
735 bool "MSM8x60 FUSION"
736 help
737 Support for the Qualcomm MSM8x60 Fusion SURF device.
738
739config MACH_MSM8X60_FUSN_FFA
740 depends on ARCH_MSM8X60
741 default n
742 bool "MSM8x60 FUSN FFA"
743 help
744 Support for the Qualcomm MSM8x60 Fusion FFA device.
745
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400746config MACH_MSM8X60_DRAGON
747 depends on ARCH_MSM8X60
748 default n
749 bool "MSM8x60 DRAGON"
750 help
751 Support for the Qualcomm MSM8x60 Dragon board.
752
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700753config MACH_MSM8960_CDP
754 depends on ARCH_MSM8960
755 bool "MSM8960 CDP"
756 help
757 Support for the Qualcomm MSM8960 CDP device.
758
759config MACH_MSM8960_MTP
760 depends on ARCH_MSM8960
761 bool "MSM8960 MTP"
762 help
763 Support for the Qualcomm MSM8960 MTP device.
764
765config MACH_MSM8960_FLUID
766 depends on ARCH_MSM8960
767 bool "MSM8960 FLUID"
768 help
769 Support for the Qualcomm MSM8960 FLUID device.
770
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300771config MACH_MSM8960_LIQUID
772 depends on ARCH_MSM8960
773 bool "MSM8960 LIQUID"
774 help
775 Support for the Qualcomm MSM8960 LIQUID device.
776
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700777config MACH_MSM8930_CDP
778 depends on ARCH_MSM8930
779 bool "MSM8930 CDP"
780 help
781 Support for the Qualcomm MSM8930 CDP device.
782
783config MACH_MSM8930_MTP
784 depends on ARCH_MSM8930
785 bool "MSM8930 MTP"
786 help
787 Support for the Qualcomm MSM8930 MTP device.
788
789config MACH_MSM8930_FLUID
790 depends on ARCH_MSM8930
791 bool "MSM8930 FLUID"
792 help
793 Support for the Qualcomm MSM8930 FLUID device.
794
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800795config MACH_MSM8627_CDP
796 depends on ARCH_MSM8930
797 bool "MSM8627 CDP"
798 help
799 Support for the Qualcomm MSM8627 CDP device.
800
801config MACH_MSM8627_MTP
802 depends on ARCH_MSM8930
803 bool "MSM8627 MTP"
804 help
805 Support for the Qualcomm MSM8627 MTP device.
806
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700807config MACH_MSM9615_CDP
808 depends on ARCH_MSM9615
809 bool "MSM9615 CDP"
810 help
811 Support for the Qualcomm MSM9615 CDP device.
812
813config MACH_MSM9615_MTP
814 depends on ARCH_MSM9615
815 bool "MSM9615 MTP"
816 help
817 Support for the Qualcomm MSM9615 MTP device.
818
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700819config MSM_USE_TSIF1
820 depends on ARCH_MSM8X60
821 bool "MSM8x60 use TSIF1"
822 help
823 Selects TSIF1 core to be used rather than TSIF0.
824 The two TSIF cores share the same DM configuration
825 so they cannot be used simultaneously.
826
Joel King82b7e3f2012-01-05 10:03:27 -0800827config MACH_APQ8064_CDP
828 depends on ARCH_APQ8064
829 bool "APQ8064 CDP"
830 help
831 Support for the Qualcomm APQ8064 CDP device.
832
833config MACH_APQ8064_MTP
834 depends on ARCH_APQ8064
835 bool "APQ8064 MTP"
836 help
837 Support for the Qualcomm APQ8064 MTP device.
838
839config MACH_APQ8064_LIQUID
840 depends on ARCH_APQ8064
841 bool "APQ8064 LIQUID"
842 help
843 Support for the Qualcomm APQ8064 LIQUID device.
844
Joel King064bbf82012-04-01 13:23:39 -0700845config MACH_MPQ8064_CDP
846 depends on ARCH_APQ8064
847 bool "MPQ8064 CDP"
848 help
849 Support for the Qualcomm MPQ8064 CDP device.
850
Joel King11ca8202012-02-13 16:19:03 -0800851config MACH_MPQ8064_HRD
852 depends on ARCH_APQ8064
853 bool "MPQ8064 HRD"
854 help
855 Support for the Qualcomm MPQ8064 HRD device.
856
857config MACH_MPQ8064_DTV
858 depends on ARCH_APQ8064
859 bool "MPQ8064 DTV"
860 help
861 Support for the Qualcomm MPQ8064 DTV device.
862
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700863config MACH_FSM9XXX_SURF
864 depends on ARCH_FSM9XXX
865 depends on !MSM_STACKED_MEMORY
866 default y
867 bool "FSM9XXX SURF"
868 help
869 Support for the Qualcomm FSM9xxx femtocell
870 chipset based SURF evaluation board and
871 FFA board.
872
Daniel Walker4ad15e62010-05-06 13:54:17 -0700873endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800874
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700875config MSM_STACKED_MEMORY
876 bool "Stacked Memory"
877 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800878 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700879 This option is used to indicate the presence of on-die stacked
880 memory. When present this memory bank is used for a high speed
881 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800882
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700883config PHYS_OFFSET
884 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700885 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700886 default "0x80200000" if ARCH_APQ8064
887 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700888 default "0x80200000" if ARCH_MSM8930
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700889 default "0x00000000" if ARCH_MSM8974
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700890 default "0x10000000" if ARCH_FSM9XXX
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700891 default "0x20200000" if ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700892 default "0x00200000" if !MSM_STACKED_MEMORY
893 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
894 default "0x20000000" if ARCH_QSD8X50
895 default "0x40200000" if ARCH_MSM8X60
896 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800897
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700898config KERNEL_MSM_CONTIG_MEM_REGION
899 bool "Enable in-kernel contiguous memory region"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700900 default y if ARCH_MSM8X60
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700901 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700902 help
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700903 Enable the in-kernel contiguous memory allocator. Sets up a
904 region of physically contiguous memory. This memory is
905 reserved during initialization, and can be used
906 generically.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700907
908config KERNEL_PMEM_SMI_REGION
909 bool "Enable in-kernel PMEM region for SMI"
910 default y if ARCH_MSM8X60
911 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
912 help
913 Enable the in-kernel PMEM allocator to use SMI memory.
914
915config PMEM_GPU0
916 bool "Enable PMEM GPU0 region"
917 default y
918 depends on ARCH_QSD8X50 && ANDROID_PMEM
919 help
920 Enable the PMEM GPU0 device on SMI Memory.
921
922config MSM_AMSS_VERSION
923 int
924 default 6210 if MSM_AMSS_VERSION_6210
925 default 6220 if MSM_AMSS_VERSION_6220
926 default 6225 if MSM_AMSS_VERSION_6225
927
928choice
929 prompt "AMSS modem firmware version"
930
931 default MSM_AMSS_VERSION_6225
932
933 config MSM_AMSS_VERSION_6210
934 bool "6.2.10"
935
936 config MSM_AMSS_VERSION_6220
937 bool "6.2.20"
938
939 config MSM_AMSS_VERSION_6225
940 bool "6.2.20 + New ADSP"
941endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800942
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700943config MSM_HAS_DEBUG_UART_HS
Daniel Walkerbf83de42010-03-16 16:29:44 -0700944 bool
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700945 help
946 Say Y here if high speed MSM UART is present.
947
948config MSM_HAS_DEBUG_UART_HS_V14
949 bool
950 select MSM_HAS_DEBUG_UART_HS
951 help
952 Say Y here if high speed MSM UART v1.4 is present.
953
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530954config MSM_DEBUG_UART_PHYS
955 hex
956 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
957 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
958 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
959 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
960 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
961 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
962 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
963 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
964
Brian Swetland9e73c842007-11-26 04:12:13 -0800965choice
966 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800967 depends on DEBUG_LL
Brian Swetland9e73c842007-11-26 04:12:13 -0800968
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800969 config DEBUG_MSM_UART1
970 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530971 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800972 help
973 Say Y here if you want the debug print routines to direct
974 their output to the first serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -0800975
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800976 config DEBUG_MSM_UART2
977 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530978 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800979 help
980 Say Y here if you want the debug print routines to direct
981 their output to the second serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -0800982
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800983 config DEBUG_MSM_UART3
984 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +0530985 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800986 help
987 Say Y here if you want the debug print routines to direct
988 their output to the third serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -0800989
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800990 config DEBUG_MSM8660_UART
991 bool "Kernel low-level debugging messages via MSM 8660 UART"
992 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -0700993 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800994 help
995 Say Y here if you want the debug print routines to direct
996 their output to the serial port on MSM 8660 devices.
Steve Mucklec8aabae2010-04-21 16:20:27 -0700997
Sathish Ambleybb87d5f2011-11-08 15:14:01 -0800998 config DEBUG_MSM8960_UART
999 bool "Kernel low-level debugging messages via MSM 8960 UART"
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001000 depends on ARCH_MSM8960 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001001 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001002 help
1003 Say Y here if you want the debug print routines to direct
1004 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001005
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001006 config DEBUG_MSM8930_UART
1007 bool "Kernel low-level debugging messages via MSM 8930 UART"
1008 depends on ARCH_MSM8930 && DEBUG_LL
1009 select MSM_HAS_DEBUG_UART_HS
1010 help
1011 Say Y here if you want the debug print routines to direct
1012 their output to the serial port on MSM 8930 devices.
1013
1014 config DEBUG_APQ8064_UART
1015 bool "Kernel low-level debugging messages via APQ 8064 UART"
1016 depends on ARCH_APQ8064 && DEBUG_LL
1017 select MSM_HAS_DEBUG_UART_HS
1018 help
1019 Say Y here if you want the debug print routines to direct
1020 their output to the serial port on APQ 8064 devices.
1021
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001022 config DEBUG_MSM8974_UART
1023 bool "Kernel low-level debugging messages via MSM 8974 UART"
1024 depends on ARCH_MSM8974
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001025 select MSM_HAS_DEBUG_UART_HS_V14
1026 help
1027 Say Y here if you want the debug print routines to direct
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001028 their output to the serial port on MSM 8974 devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001029endchoice
Brian Swetland9e73c842007-11-26 04:12:13 -08001030
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001031choice
1032 prompt "Default Timer"
1033 default MSM7X00A_USE_GP_TIMER
1034
1035 config MSM7X00A_USE_GP_TIMER
1036 bool "GP Timer"
1037 help
1038 Low resolution timer that allows power collapse from idle.
1039
1040 config MSM7X00A_USE_DG_TIMER
1041 bool "DG Timer"
1042 help
1043 High resolution timer.
1044endchoice
1045
1046choice
1047 prompt "Suspend sleep mode"
1048 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1049 help
1050 Allows overriding the sleep mode used. Leave at power
1051 collapse suspend unless the arm9 image has problems.
1052
1053 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1054 bool "Power collapse suspend"
1055 help
1056 Lowest sleep state. Returns through reset vector.
1057
1058 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1059 bool "Power collapse"
1060 help
1061 Sleep state that returns through reset vector.
1062
1063 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1064 bool "Apps Sleep"
1065
1066 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1067 bool "Ramp down cpu clock and wait for interrupt"
1068
1069 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1070 bool "Wait for interrupt"
1071endchoice
1072
1073config MSM7X00A_SLEEP_MODE
1074 int
1075 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1076 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1077 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1078 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1079 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1080
1081choice
1082 prompt "Idle sleep mode"
1083 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1084 help
1085 Allows overriding the sleep mode used from idle. Leave at power
1086 collapse suspend unless the arm9 image has problems.
1087
1088 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1089 bool "Power collapse suspend"
1090 help
1091 Lowest sleep state. Returns through reset vector.
1092
1093 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1094 bool "Power collapse"
1095 help
1096 Sleep state that returns through reset vector.
1097
1098 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1099 bool "Apps Sleep"
1100
1101 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1102 bool "Ramp down cpu clock and wait for interrupt"
1103
1104 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1105 bool "Wait for interrupt"
1106endchoice
1107
1108config MSM7X00A_IDLE_SLEEP_MODE
1109 int
1110 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1111 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1112 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1113 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1114 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1115
1116config MSM7X00A_IDLE_SLEEP_MIN_TIME
1117 int "Minimum idle time before sleep"
1118 default 20000000
1119 help
1120 Minimum idle time in nanoseconds before entering low power mode.
1121
1122config MSM7X00A_IDLE_SPIN_TIME
1123 int "Idle spin time before cpu ramp down"
1124 default 80000
1125 help
1126 Spin time in nanoseconds before ramping down cpu clock and entering
1127 any low power state.
1128
1129menuconfig MSM_IDLE_STATS
1130 bool "Collect idle statistics"
1131 default y
1132 help
1133 Collect idle statistics and export them in proc/msm_pm_stats.
1134
1135if MSM_IDLE_STATS
1136
1137config MSM_IDLE_STATS_FIRST_BUCKET
1138 int "First bucket time"
1139 default 62500
1140 help
1141 Upper time limit in nanoseconds of first bucket.
1142
1143config MSM_IDLE_STATS_BUCKET_SHIFT
1144 int "Bucket shift"
1145 default 2
1146
1147config MSM_IDLE_STATS_BUCKET_COUNT
1148 int "Bucket count"
1149 default 10
1150
1151config MSM_SUSPEND_STATS_FIRST_BUCKET
1152 int "First bucket time for suspend"
1153 default 1000000000
1154 help
1155 Upper time limit in nanoseconds of first bucket of the
1156 histogram. This is for collecting statistics on suspend.
1157
1158endif # MSM_IDLE_STATS
1159
1160config CPU_HAS_L2_PMU
1161 bool "L2CC PMU Support"
1162 help
1163 Select this if the L2 cache controller has a Performance Monitoring Unit.
1164
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001165config HTC_HEADSET
1166 tristate "HTC 2 Wire detection driver"
1167 default n
1168 help
1169 Provides support for detecting HTC 2 wire devices, such as wired
1170 headset, on the trout platform. Can be used with the msm serial
1171 debugger, but not with serial console.
1172
1173config TROUT_BATTCHG
1174 depends on MACH_TROUT && POWER_SUPPLY
1175 default y
1176 bool "Trout battery / charger driver"
1177
1178config HTC_PWRSINK
1179 depends on MSM_SMD
1180 default n
1181 bool "HTC Power Sink Driver"
1182
1183config QSD_SVS
1184 bool "QSD Static Voltage Scaling"
1185 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1186 default y
1187 select TPS65023
1188 help
1189 Enables static voltage scaling using the TPS65023 PMIC.
1190
1191config QSD_PMIC_DEFAULT_DCDC1
1192 int "PMIC default output voltage"
1193 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1194 default 1250
1195 help
1196 This is the PMIC voltage at Linux kernel boot.
1197
1198config MSM_FIQ_SUPPORT
1199 default y
1200 bool "Enable installation of an FIQ handler."
1201
1202config MSM_SERIAL_DEBUGGER
1203 select MSM_FIQ_SUPPORT
1204 select KERNEL_DEBUGGER_CORE
1205 default n
1206 bool "FIQ Mode Serial Debugger"
1207 help
1208 The FIQ serial debugger can accept commands even when the
1209 kernel is unresponsive due to being stuck with interrupts
1210 disabled. Depends on the kernel debugger core in drivers/misc.
1211
1212config MSM_SERIAL_DEBUGGER_CONSOLE
1213 depends on MSM_SERIAL_DEBUGGER
1214 default n
1215 bool "Console on FIQ Serial Debugger port"
1216 help
1217 Enables a console so that printk messages are displayed on
1218 the debugger serial port as the occur.
Brian Swetland9e73c842007-11-26 04:12:13 -08001219
Gregory Beanab78cde2010-09-01 16:26:12 -07001220config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001221 default y
1222 bool "Proc-Comm RPC Interface"
1223 help
1224 Enables a lightweight communications interface to the
1225 baseband processor.
Gregory Beanab78cde2010-09-01 16:26:12 -07001226
Gregory Bean1963a2a2010-08-28 10:05:44 -07001227config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001228 bool "MSM Shared Memory Driver (SMD)"
1229 help
1230 Support for the shared memory interface between the apps
1231 processor and the baseband processor. Provides access to
1232 the "shared heap", as well as virtual serial channels
1233 used to communicate with various services on the baseband
1234 processor.
1235
1236choice
1237 prompt "MSM Shared memory interface version"
1238 depends on MSM_SMD
1239 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1240 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1241
1242 config MSM_SMD_PKG3
1243 bool
1244 prompt "Package 3"
1245
1246 config MSM_SMD_PKG4
1247 bool
1248 prompt "Package 4"
1249endchoice
1250
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001251config MSM_PCIE
1252 bool "MSM PCIe Controller driver"
1253 depends on PCI && PCI_MSI
1254 help
1255 Enables the PCIe functionality by configures PCIe core on
1256 MSM chipset and by enabling the ARM PCI framework extension.
1257
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001258config MSM_RPC_SDIO_XPRT
1259 depends on MSM_SDIO_AL
1260 default y
1261 bool "MSM SDIO XPRT Layer"
1262 help
1263 SDIO Transport Layer for RPC Rouer
1264
1265config MSM_RPC_SDIO_DEBUG
1266 depends on MSM_RPC_SDIO_XPRT
1267 default y
1268 bool "MSM SDIO XPRT debug support"
1269 help
1270 Support for debugging SDIO XPRT
1271
1272config MSM_SMD_DEBUG
1273 depends on MSM_SMD
1274 default y
1275 bool "MSM SMD debug support"
1276 help
1277 Support for debugging the SMD for communication
1278 between the ARM9 and ARM11
1279
1280config MSM_SDIO_AL
1281 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1282 default y
1283 tristate "SDIO-Abstraction-Layer"
1284 help
1285 Support MSM<->MDM Communication over SDIO bus.
1286 MDM SDIO-Client should have pipes support.
1287
1288config MSM_SDIO_DMUX
1289 bool "SDIO Data Mux Driver"
1290 depends on MSM_SDIO_AL
1291 default n
1292 help
1293 Support Muxed Data Channels over SDIO interface.
1294
1295config MSM_BAM_DMUX
1296 bool "BAM Data Mux Driver"
1297 depends on SPS
1298 default n
1299 help
1300 Support Muxed Data Channels over BAM interface.
1301 BAM has a limited number of pipes. This driver
1302 provides a means to support more logical channels
1303 via muxing than BAM could without muxing.
1304
1305config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001306 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001307 default y
1308 bool "MSM N-WAY SMD support"
1309 help
1310 Supports APPS-QDSP SMD communication along with
1311 normal APPS-MODEM SMD communication.
1312
1313config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001314 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001315 default y
1316 bool "MSM N-WAY SMSM support"
1317 help
1318 Supports APPS-QDSP SMSM communication along with
1319 normal APPS-MODEM SMSM communication.
1320
1321config MSM_RESET_MODEM
1322 tristate "Reset Modem Driver"
1323 depends on MSM_SMD
1324 default m
1325 help
1326 Allows the user to reset the modem through a device node.
1327
1328config MSM_SMD_LOGGING
1329 depends on MSM_SMD
1330 default y
1331 bool "MSM Shared Memory Logger"
1332 help
1333 This option exposes the shared memory logger at /dev/smem_log
1334 and a debugfs node named smem_log.
1335
1336 If in doubt, say yes.
1337
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001338config MSM_IPC_LOGGING
1339 bool "MSM Debug Logging for IPC Drivers"
1340 help
1341 This option allows the debug logging for IPC Drivers.
1342
1343 If in doubt, say no.
1344
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001345config MSM_SMD_NMEA
1346 bool "NMEA GPS Driver"
1347 depends on MSM_SMD
1348 default y
1349 help
1350 Enable this to support the NMEA GPS device.
1351
1352 If in doubt, say yes.
1353
1354config MSM_SDIO_TTY
1355 bool "SDIO TTY Driver"
1356 depends on MSM_SDIO_AL
1357 default n
1358 help
1359 Provides a TTY driver SDIO TTY
1360 This driver can be used by user space
1361 applications for passing data through the
1362 SDIO interface.
1363
1364config MSM_SMD_TTY
1365 bool "SMD TTY Driver"
1366 depends on MSM_SMD
1367 default y
1368 help
1369 Provides TTY interfaces to interact with the modem.
1370
1371 If in doubt, say yes.
1372
1373config MSM_SMD_QMI
1374 bool "SMD QMI Driver"
1375 depends on MSM_SMD
1376 default y
1377 help
1378 Manages network data connections.
1379
1380 If in doubt, say yes.
1381
1382config MSM_SMD_PKT
1383 bool "SMD Packet Driver"
1384 depends on MSM_SMD
1385 default y
1386 help
1387 Provides a binary SMD non-muxed packet port interface.
1388
1389 If in doubt, say yes.
1390
1391config MSM_SDIO_CMUX
1392 bool "SDIO CMUX Driver"
1393 depends on MSM_SDIO_AL
1394 default n
1395 help
1396 Provides a Muxed port interface over SDIO QMI
1397
1398config MSM_DSPS
1399 bool "Sensors DSPS driver"
1400 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1401 default n
1402 help
1403 Provides user-space interface to the sensors manager
1404 to turn on/off the Sensors Processor system clocks.
1405 It is the DSPS responsibility to turn on/off the sensors
1406 themself.
1407 The number of clocks and their name may vary between targets.
1408 It also triggers the PIL to load the DSPS firmware.
1409
1410config MSM_SDIO_CTL
1411 bool "SDIO CTL Driver"
1412 depends on MSM_SDIO_CMUX
1413 default n
1414 help
1415 Provides a binary SDIO control port interface.
1416
1417config MSM_ONCRPCROUTER
1418 depends on MSM_SMD
1419 default n
1420 bool "MSM ONCRPC router support"
1421 help
1422 Support for the MSM ONCRPC router for communication between
1423 the ARM9 and ARM11
1424
1425config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001426 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001427 default n
1428 bool "MSM IPC Router support"
1429 help
1430 Support for the MSM IPC Router for communication between
1431 the APPs and the MODEM
1432
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001433config MSM_IPC_ROUTER_SMD_XPRT
1434 depends on MSM_SMD
1435 depends on MSM_IPC_ROUTER
1436 default n
1437 bool "MSM SMD XPRT Layer"
1438 help
1439 SMD Transport Layer for IPC Router
1440
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001441config MSM_ONCRPCROUTER_DEBUG
1442 depends on MSM_ONCRPCROUTER
1443 default y
1444 bool "MSM debug ONCRPC router support"
1445 help
1446 Support for debugging the ONCRPC router for communication
1447 between the ARM9 and ARM11
1448
1449config MSM_RPC_LOOPBACK_XPRT
1450 depends on MSM_ONCRPCROUTER
1451 default n
1452 bool "MSM RPC local routing support"
1453 help
1454 Support for routing RPC messages between APPS clients
1455 and APPS servers. Helps in testing APPS RPC framework.
1456
1457config MSM_RPCSERVER_TIME_REMOTE
1458 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1459 default y
1460 bool "Time remote RPC server"
1461 help
1462 The time remote server receives notification of time bases and
1463 reports these events to registered callback functions.
1464
1465config MSM_RPCSERVER_WATCHDOG
1466 depends on MSM_ONCRPCROUTER
1467 default y
1468 bool "Watchdog RPC server"
1469 help
1470 The dog_keepalive server handles watchdog events.
1471
1472config MSM_RPC_WATCHDOG
1473 depends on MSM_ONCRPCROUTER
1474 default n
1475 bool "Watchdog RPC client"
1476 help
1477 The dog_keepalive client module.
1478
1479config MSM_RPC_PING
1480 depends on MSM_ONCRPCROUTER && DEBUG_FS
1481 default m
1482 bool "MSM rpc ping"
1483 help
1484 Implements MSM rpc ping test module.
1485
1486config MSM_RPC_PROC_COMM_TEST
1487 depends on DEBUG_FS && MSM_PROC_COMM
1488 default m
1489 bool "MSM rpc proc comm test"
1490 help
1491 Implements MSM rpc proc comm test module.
1492
1493config MSM_RPC_OEM_RAPI
1494 depends on MSM_ONCRPCROUTER
1495 default m
1496 bool "MSM oem rapi"
1497 help
1498 Implements MSM oem rapi client module.
1499
1500config MSM_RPCSERVER_HANDSET
1501 depends on MSM_ONCRPCROUTER
1502 default y
1503 bool "Handset events RPC server"
1504 help
1505 Support for receiving handset events like headset detect,
1506 headset switch and clamshell state.
1507
1508config MSM_RMT_STORAGE_CLIENT
1509 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1510 default n
1511 bool "Remote Storage RPC client"
1512 help
1513 Provide RPC mechanism for remote processors to access storage
1514 device on apps processor.
1515
1516config MSM_RMT_STORAGE_CLIENT_STATS
1517 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1518 default n
1519 bool "Remote storage RPC client performance statistics"
1520 help
1521 Collects performance statistics and shows this information
1522 through a debugfs file rmt_storage_stats.
1523
1524config MSM_SDIO_SMEM
1525 depends on MSM_SDIO_AL
1526 default n
1527 bool "SDIO SMEM for remote storage"
1528 help
1529 Copies data from remote MDM9K memory to local MSM8x60
1530 memory. Used by remote storage client to shadow
1531 MDM9K filesystem.
1532
1533config MSM_DALRPC
1534 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001535 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001536 help
1537 Supports RPC calls to DAL devices on remote processor cores.
1538
1539config MSM_DALRPC_TEST
1540 tristate "DAL RPC test module"
1541 depends on (MSM_DALRPC && DEBUG_FS)
1542 default m
1543 help
1544 Exercises DAL RPC calls to QDSP6.
1545
1546if CPU_FREQ_MSM
1547
1548config MSM_CPU_FREQ_SET_MIN_MAX
1549 bool "Set Min/Max CPU frequencies."
1550 default n
1551 help
1552 Allow setting min and max CPU frequencies. Sysfs can be used
1553 to override these values.
1554
1555config MSM_CPU_FREQ_MAX
1556 int "Max CPU Frequency"
1557 depends on MSM_CPU_FREQ_SET_MIN_MAX
1558 default 384000
1559
1560config MSM_CPU_FREQ_MIN
1561 int "Min CPU Frequency"
1562 depends on MSM_CPU_FREQ_SET_MIN_MAX
1563 default 245760
1564
1565endif # CPU_FREQ_MSM
1566
1567config MSM_CPU_AVS
1568 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1569 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1570 depends on ARCH_QSD8X50
1571 default n
1572 select MSM_AVS_HW
1573 help
1574 This enables the s/w control of Adaptive Voltage Scaling feature
1575 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1576 based on feedback from three ring oscillators in the CPU.
1577
1578config MSM_AVS_HW
1579 bool "Enable Adaptive Voltage Scaling (AVS)"
1580 default n
1581 help
1582 Enable AVS hardware to fine tune voltage at each frequency. The
1583 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1584 fine tune the voltages based on the feedback from the ring
1585 oscillators.
1586
1587config MSM_HW3D
1588 tristate "MSM Hardware 3D Register Driver"
1589 depends on ANDROID_PMEM
1590 default y
1591 help
1592 Provides access to registers needed by the userspace OpenGL|ES
1593 library.
1594
1595config MSM_ADSP
1596 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1597 tristate "MSM ADSP driver"
1598 depends on ANDROID_PMEM
1599 default y
1600 help
1601 Provides access to registers needed by the userspace aDSP library.
1602
1603config ADSP_RPC_VER
1604 hex
1605 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1606 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1607 depends on MSM_ADSP
1608 help
1609 Select proper ADSP RPC version
1610choice
1611 prompt "ADSP RPC version"
1612
1613 default AMSS_7X25_VERSION_2009
1614
1615 config AMSS_7X25_VERSION_2009
1616 bool "2.0.09"
1617
1618 config AMSS_7X25_VERSION_2008
1619 bool "2.0.08"
1620endchoice
1621
1622config MSM7KV2_AUDIO
1623 bool "MSM7K v2 audio"
1624 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1625 default y
1626 help
1627 Enables QDSP5V2-based audio drivers for audio playbacks and
1628 voice call.
1629
1630config MSM_ADSP_REPORT_EVENTS
1631 bool "Report modem events from the DSP"
1632 default y
1633 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1634 help
1635 Normally, only messages from the aDSP are reported to userspace.
1636 With this option, we report events from the aDSP as well.
1637
1638config MSM_QDSP6
1639 tristate "QDSP6 support"
1640 depends on ARCH_QSD8X50 && ANDROID_PMEM
1641 default y
1642 help
1643 Enable support for qdsp6. This provides audio and video functionality.
1644
1645config MSM8X60_AUDIO
1646 tristate "MSM8X60 audio support"
1647 depends on ARCH_MSM8X60 && ANDROID_PMEM
1648 default y
1649 help
1650 Enable support for qdsp6v2. This provides audio functionality.
1651
1652config MSM8X60_FTM_AUDIO_DEVICES
1653 bool "MSM8X60 audio factory test mode support"
1654 depends on MSM8X60_AUDIO
1655 help
1656 Enable support audio factory test mode devices. This is used
1657 in a production line environment.
1658
Ben Romberger45b351c2011-07-20 22:37:27 -07001659config RTAC
1660 bool "MSM8K real-time audio calibration support"
1661 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001662 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001663 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001664 audio operation
1665
1666config MSM7X27A_AUDIO
1667 bool "MSM7X27A audio support"
1668 depends on ARCH_MSM7X27A && MSM_ADSP
1669 default n
1670 help
1671 Enable support for 7x27a. This provides audio functionality.
1672
Justin Pauporea6cd2092011-06-22 16:19:45 -07001673config MSM_PROC_COMM_REGULATOR
Gregory Bean1963a2a2010-08-28 10:05:44 -07001674 bool
Justin Pauporea6cd2092011-06-22 16:19:45 -07001675 depends on MSM_PROC_COMM && REGULATOR
1676 help
1677 Enable regulator framework support for regulators managed by PMLIB
1678 on the modem, and controlled through proccomm calls.
1679
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001680config MSM_VREG_SWITCH_INVERTED
1681 bool "Reverse vreg switch polarity"
1682 default n
1683 help
1684 Reverses the enable and disable for vreg switch.
1685
1686config MSM_DMA_TEST
1687 tristate "MSM DMA test module"
1688 default m
1689 help
1690 Intended to be compiled as a module. Provides a device node
1691 and ioctls for testing the MSM dma system.
1692
1693config WIFI_CONTROL_FUNC
1694 bool "Enable WiFi control function abstraction"
1695 help
1696 Enables Power/Reset/Carddetect function abstraction
1697
1698config WIFI_MEM_PREALLOC
1699 depends on WIFI_CONTROL_FUNC
1700 bool "Preallocate memory for WiFi buffers"
1701 help
1702 Preallocates memory buffers for WiFi driver
1703
1704config QSD_AUDIO
1705 bool "QSD audio"
1706 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1707 default y
1708 help
1709 Provides PCM, MP3, and AAC audio playback.
1710
1711config AUDIO_AAC_PLUS
1712 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1713 bool "AAC+ Audio"
1714 default y
1715 help
1716 Provides AAC+ decoding
1717
1718config AUDIO_ENHANCED_AAC_PLUS
1719 depends on AUDIO_AAC_PLUS
1720 bool "Enhanced AAC+ Audio"
1721 default y
1722 help
1723 Provides Enhanced AAC+ decoding
1724
1725config SURF_FFA_GPIO_KEYPAD
1726 bool "MSM SURF/FFA GPIO keypad"
1727 depends on INPUT_GPIO = "y"
1728 default y
1729 help
1730 Select if the GPIO keypad is attached.
1731
1732config MSM_SLEEP_TIME_OVERRIDE
1733 bool "Allow overriding suspend/sleep time with PM module parameter"
1734 default y
1735 help
1736 Enable the module parameter sleep_time_override. Specified
1737 in units of seconds, it overwrites the normal sleep time of
1738 suspend. The feature is required for automated power management
1739 testing.
1740
1741config MSM_MEMORY_LOW_POWER_MODE
1742 bool "Control the low power modes of memory"
1743 default n
1744 help
1745 The application processor controls whether memory should enter
1746 which low power mode.
1747
1748choice
1749 prompt "Default Memory Low Power Mode during Idle"
1750 depends on MSM_MEMORY_LOW_POWER_MODE
1751 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1752 help
1753 Selects the default low power mode of the memory during idle
1754 sleep.
1755
1756 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1757 bool "Memory active"
1758
1759 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1760 bool "Memory in retention"
1761
1762 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1763 bool "Memory in deep power down"
1764endchoice
1765
1766choice
1767 prompt "Default Memory Low Power Mode during Suspend"
1768 depends on MSM_MEMORY_LOW_POWER_MODE
1769 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1770 help
1771 Selects the default low power mode of the memory during suspend
1772 sleep.
1773
1774 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1775 bool "Memory active"
1776
1777 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1778 bool "Memory in retention"
1779
1780 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1781 bool "Memory in deep power down"
1782endchoice
1783
1784choice
1785 prompt "Power management timeout action"
1786 default MSM_PM_TIMEOUT_HALT
1787 help
1788 Selects the Application Processor's action when Power Management
1789 times out waiting for Modem's handshake.
1790
1791 config MSM_PM_TIMEOUT_HALT
1792 bool "Halt the Application Processor"
1793
1794 config MSM_PM_TIMEOUT_RESET_MODEM
1795 bool "Reset the Modem Processor"
1796
1797 config MSM_PM_TIMEOUT_RESET_CHIP
1798 bool "Reset the entire chip"
1799endchoice
1800
1801config MSM_IDLE_WAIT_ON_MODEM
1802 int "Wait for Modem to become ready for idle power collapse"
1803 default 0
1804 help
1805 If Modem is not ready to handle Application Processor's request
1806 for idle power collapse, wait the number of microseconds in case
1807 Modem becomes ready soon.
1808
Matt Wagantall9274df92011-12-15 11:11:05 -08001809config MSM_RPM_REGULATOR
1810 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001811 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001812 help
1813 Compile in support for the RPM regulator driver, used for setting
1814 voltages and other parameters of the various power rails supplied
1815 by some Qualcomm PMICs.
1816
David Collinsc7642322012-04-04 10:19:12 -07001817config MSM_RPM_REGULATOR_SMD
1818 bool "SMD RPM regulator driver"
1819 depends on REGULATOR
1820 depends on OF
1821 depends on MSM_RPM_SMD
1822 help
1823 Compile in support for the SMD RPM regulator driver which is used for
1824 setting voltages and other parameters of the various power rails
1825 supplied by some Qualcomm PMICs. The SMD RPM regulator driver should
1826 be used on systems which contain an RPM which communicates with the
1827 application processor over SMD.
1828
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001829config MSM_PIL
1830 bool "Peripheral image loading"
1831 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001832 default n
1833 help
1834 Some peripherals need to be loaded into memory before they can be
1835 brought out of reset.
1836
1837 Say yes to support these devices.
1838
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001839config MSM_PIL_MODEM
1840 tristate "Modem (ARM11) Boot Support"
1841 depends on MSM_PIL
1842 help
1843 Support for booting and shutting down ARM11 Modem processors.
1844
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001845config MSM_PIL_QDSP6V3
1846 tristate "QDSP6v3 (Hexagon) Boot Support"
1847 depends on MSM_PIL
1848 help
1849 Support for booting and shutting down QDSP6v3 processors (hexagon).
1850 The QDSP6 is a low power DSP used in audio software applications.
1851
Stephen Boydeb819882011-08-29 14:46:30 -07001852config MSM_PIL_QDSP6V4
1853 tristate "QDSP6v4 (Hexagon) Boot Support"
1854 depends on MSM_PIL
1855 help
1856 Support for booting and shutting down QDSP6v4 processors (hexagon).
1857 The QDSP6 is a low power DSP used in audio, modem firmware, and modem
1858 software applications.
1859
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001860config MSM_PIL_LPASS_QDSP6V5
1861 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
1862 depends on MSM_PIL
1863 help
Matt Wagantall4e2599e2012-03-21 22:31:35 -07001864 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1865 in low power audio subsystems.
1866
1867config MSM_PIL_MSS_QDSP6V5
1868 tristate "MSS QDSP6v5 (Hexagon) Boot Support"
1869 depends on MSM_PIL
1870 help
1871 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1872 in modem subsystems.
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001873
Matt Wagantalle6e00d52012-03-08 17:39:07 -08001874config MSM_PIL_MBA
1875 tristate "Support for modem self-authentication"
1876 depends on MSM_PIL_MSS_QDSP6V5
1877 help
1878 Support for booting self-authenticating modems using the Modem Boot
1879 Authenticator.
Stephen Boyd322a9922011-09-20 01:05:54 -07001880
1881config MSM_PIL_RIVA
Stephen Boydd89eebe2011-09-28 23:28:11 -07001882 tristate "RIVA (WCNSS) Boot Support"
1883 depends on MSM_PIL
1884 help
1885 Support for booting and shutting down the RIVA processor (WCNSS).
1886 Riva is the wireless subsystem processor used in bluetooth, wireless
1887 LAN, and FM software applications.
1888
1889config MSM_PIL_TZAPPS
1890 tristate "TZApps Boot Support"
1891 depends on MSM_PIL
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07001892 help
1893 Support for booting and shutting down TZApps.
1894
1895 TZApps is an image that runs in the secure processor state. It is
1896 used to decrypt data and perform secure operations on the behalf of
1897 the kernel.
1898
1899config MSM_PIL_DSPS
1900 tristate "DSPS Boot Support"
Stephen Boyd7b973de2012-03-09 12:26:16 -08001901 depends on MSM_PIL
1902 help
1903 Support for booting and shutting down ARM7 DSPS processors.
1904
1905 DSPS is a sensors offloading processor used for applications such
1906 as rotation detection, temperature, etc.
Matt Wagantall292aace2012-01-26 19:12:34 -08001907
1908config MSM_PIL_VIDC
1909 tristate "Video Core Secure Boot Support"
1910 depends on MSM_PIL
1911 help
1912 Support for authenticating the video core image.
1913
Tianyi Gou828798d2012-05-02 21:12:38 -07001914config MSM_PIL_VENUS
1915 tristate "VENUS (Video) Boot Support"
1916 depends on MSM_PIL
1917 help
1918 Support for booting and shutting down the VENUS processor (Video).
1919 Venus is the Video subsystem processor used for video codecs.
1920
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001921config MSM_PIL_GSS
1922 tristate "GSS (Coretx A5) Boot Support"
1923 depends on MSM_PIL
1924 help
1925 Support for booting and shutting down Cortex A5 processors which run
1926 GPS subsystem firmware.
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001927
Tianyi Gouc1e049f82011-11-23 14:20:16 -08001928config MSM_PIL_PRONTO
1929 tristate "PRONTO (WCNSS) Boot Support"
1930 depends on MSM_PIL
1931 help
1932 Support for booting and shutting down the PRONTO processor (WCNSS).
1933 PRONTO is the wireless subsystem processor used in bluetooth, wireless
1934 LAN, and FM software applications.
1935
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001936config MSM_SCM
1937 bool "Secure Channel Manager (SCM) support"
1938 default n
1939
1940config MSM_SUBSYSTEM_RESTART
1941 bool "MSM Subsystem Restart Driver"
1942 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615)
1943 default n
1944 help
1945 This option enables the MSM subsystem restart driver, which provides
1946 a framework to handle subsystem crashes.
1947
Matt Wagantallf8020902011-08-30 21:19:23 -07001948config MSM_SYSMON_COMM
1949 bool "MSM System Monitor communication support"
1950 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1951 default y
1952 help
1953 This option adds support for MSM System Monitor library, which
1954 provides an API that may be used for notifying subsystems within
1955 the SoC about other subsystems' power-up/down state-changes.
1956
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001957config MSM_MODEM_8960
1958 bool "MSM 8960 Modem driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001959 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001960 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001961 This option enables the modem driver for the MSM8960 and MSM9615, which monitors
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001962 modem hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001963 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001964
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001965config MSM_LPASS_8960
1966 tristate "MSM 8960 Lpass driver"
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001967 depends on (ARCH_MSM8960 || ARCH_MSM9615)
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001968 help
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001969 This option enables the lpass driver for the MSM8960 and MSM9615. This monitors
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001970 lpass hardware watchdog interrupt lines and plugs into the subsystem
Rohit Vaswani56dd22a2011-11-11 16:21:28 -08001971 restart and PIL drivers. For MSM9615, it only supports a full chip reset.
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -07001972
Ankur Nandwanie258cf02011-08-19 10:16:38 -07001973config MSM_WCNSS_SSR_8960
1974 tristate "MSM 8960 WCNSS restart module"
1975 depends on (ARCH_MSM8960)
1976 help
1977 This option enables the WCNSS restart module for MSM8960, which
1978 monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS
1979 into the subsystem restart framework.
1980
Rohit Vaswanid0fb4182012-03-19 18:07:59 -07001981config MSM_GSS_SSR_8064
1982 bool "MSM 8064 GSS restart driver"
1983 depends on (ARCH_APQ8064)
1984 help
1985 This option enables the gps subsystem restart driver for APQ8064, which monitors
1986 gss hardware watchdog interrupt lines and plugs into the subsystem
1987 restart and PIL drivers.
1988
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001989config SCORPION_Uni_45nm_BUG
1990 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
1991 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
1992 default y
1993 help
1994 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
1995 invalidating the Branch Predictor Array by Modified Virtual Address can
1996 create invalid entries in the TLB with the wrong ASID values on Scorpion
1997 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
1998 workaround for Scorpion Uniprocessor 45nm cores.
1999
2000 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
2001
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002002config MSM_BUSPM_DEV
2003 tristate "MSM Bus Performance Monitor Kernel Module"
2004 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
2005 default m
2006 help
2007 This kernel module is used to mmap() hardware registers for the
2008 performance monitors, counters, etc. The module can also be used to
2009 allocate physical memory which is used by bus performance hardware to
2010 dump performance data.
2011
Mona Hossain11c03ac2011-10-26 12:42:10 -07002012config MSM_TZ_LOG
2013 tristate "MSM Trust Zone (TZ) Log Driver"
2014 depends on DEBUG_FS
2015 help
2016 This option enables a driver with a debugfs interface for messages
2017 produced by the Secure code (Trust zone). These messages provide
2018 diagnostic information about TZ operation.
2019
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002020config MSM_RPM_LOG
2021 tristate "MSM Resource Power Manager Log Driver"
2022 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002023 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002024 default n
2025 help
2026 This option enables a driver which can read from a circular buffer
2027 of messages produced by the RPM. These messages provide diagnostic
2028 information about RPM operation. The driver outputs the messages
2029 via a debugfs node.
2030
2031config MSM_RPM_STATS_LOG
2032 tristate "MSM Resource Power Manager Stat Driver"
2033 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002034 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002035 default n
2036 help
2037 This option enables a driver which reads RPM messages from a shared
2038 memory location. These messages provide statistical information about
2039 the low power modes that RPM enters. The drivers outputs the message
2040 via a debugfs node.
2041
Girish Mahadevan898c56d2012-06-05 16:09:19 -06002042config MSM_RPM_RBCPR_STATS_LOG
2043 tristate "MSM Resource Power Manager RPBCPR Stat Driver"
2044 depends on DEBUG_FS
2045 depends on MSM_RPM
2046 help
2047 This option enables a driver which reads RPM messages from a shared
2048 memory location. These messages provide statistical information about
2049 RBCPR (Rapid Bridge Core Power Reduction) information . The drivers
2050 outputs the message via a debugfs node.
2051
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002052config MSM_DIRECT_SCLK_ACCESS
2053 bool "Direct access to the SCLK timer"
2054 default n
2055
2056config IOMMU_API
2057 bool
Gregory Bean1963a2a2010-08-28 10:05:44 -07002058
Brian Swetland9e73c842007-11-26 04:12:13 -08002059config MSM_GPIOMUX
2060 bool
2061
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002062config MSM_SECURE_IO
Brian Swetland9e73c842007-11-26 04:12:13 -08002063 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002065config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002066 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002067
Taniya Dascd1d0232012-07-03 17:50:47 +05302068config MSM_MODEM_RESTART
2069 bool
2070
Matt Wagantall88b86312012-01-31 16:53:03 -08002071config MSM_PM2
2072 depends on PM
2073 bool
2074
2075config MSM_PM8X60
2076 depends on PM
2077 bool
2078
2079config MSM_NOPM
2080 default y if !PM
2081 bool
2082
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002083config MSM_BUS_SCALING
2084 bool "Bus scaling driver"
2085 default n
2086
Gagan Mac85c70492011-06-10 16:07:47 -06002087config MSM_BUS_RPM_MULTI_TIER_ENABLED
2088 bool "RPM Multi-tiering Configuration"
2089 depends on MSM_BUS_SCALING
2090
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002091config MSM_WATCHDOG
2092 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002093 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002094 help
2095 This enables the watchdog as is present on 8x60. Currently we use
2096 core 0's watchdog, and reset the entire SoC if it times out. It does
2097 not run during the bootup process, so it will not catch any early
2098 lockups.
2099
Hanumant Singhd1f01022012-07-05 14:21:53 -07002100config MSM_WATCHDOG_V2
2101 bool "MSM Watchdog Support"
2102 help
2103 This enables the watchdog module. It causes kernel panic if the
2104 watchdog times out. It allows for detection of cpu hangs and
2105 deadlocks. It does not run during the bootup process, so it will
2106 not catch any early lockups.
2107
Hanumant Singh5e2541c2012-07-31 14:41:14 -07002108config MSM_MEMORY_DUMP
2109 bool "MSM Memory Dump Support"
2110 help
2111 This enables memory dump feature. It allows various client
2112 subsystems to register respective dump regions. At the time
2113 of deadlocks or cpu hangs these dump regions are captured to
2114 give a snapshot of the system at the time of the crash.
2115
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002116config MSM_DLOAD_MODE
2117 bool "Enable download mode on crashes"
Subbaraman Narayanamurthye31f2792012-08-22 21:07:22 -07002118 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_MSM8974
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002119 default n
2120 help
2121 This makes the SoC enter download mode when it resets
2122 due to a kernel panic. Note that this doesn't by itself
2123 make the kernel reboot on a kernel panic - that must be
2124 enabled via another mechanism.
2125
Pratik Patel17f3b822011-11-21 12:41:47 -08002126config MSM_JTAG
Pratik Patel2963de42012-05-17 12:43:40 -07002127 bool "JTAG and kernel debug and trace support across power collapse"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002128 help
Pratik Patel2963de42012-05-17 12:43:40 -07002129 Enables support for kernel debugging (specifically breakpoints) and
2130 processor tracing across power collapse both for JTag and OS hosted
2131 software running on the target. Enabling this will ensure debug
2132 and ETM registers are saved and restored across power collapse.
2133
2134 For production builds, you should probably say 'N' here to avoid
2135 potential power, performance and memory penalty.
Pratik Patel7831c082011-06-08 21:44:37 -07002136
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002137config MSM_ETM
2138 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002139 depends on ARCH_MSM8X60
2140 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002141 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002142 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002143
Lynus Vazdde09ee2012-01-05 13:28:22 +05302144config MSM_SLEEP_STATS_DEVICE
2145 bool "Enable exporting of MSM sleep device stats to userspace"
2146
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302147config MSM_RUN_QUEUE_STATS
2148 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Krishna Vankae2922052012-03-02 09:59:12 +05302149 depends on (MSM_SOC_REV_A || ARCH_MSM8X60 || ARCH_MSM8960)
2150 help
2151 This option enalbes statistics collection on Run Queue. A daemon
2152 in user mode, called MPDecision will be using this data to decide
2153 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302154
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002155config MSM_STANDALONE_POWER_COLLAPSE
2156 bool "Enable standalone power collapse"
2157 default n
2158
2159config MSM_GSBI9_UART
2160 bool "Enable GSBI9 UART device"
2161 default n
2162 help
2163 This enables GSBI9 configured into UART.
2164
2165config MSM_SHARED_GPIO_FOR_UART2DM
2166 bool "Use shared GPIOs into UART mode"
2167 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2168 help
2169 This option configures GPIO muxed with SDC4/MMC3
2170 8-bit mode into UART mode. It is used for serial
2171 console on UART2DM. Say Y if you want to have
2172 serial console on UART2DM.
2173
2174config MSM_SHOW_RESUME_IRQ
2175 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002176 depends on (ARM_GIC || PMIC8058)
2177 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002178 default n
2179 help
2180 This option logs wake up interrupts that have triggered just before
2181 the resume loop unrolls. Say Y if you want to debug why the system
2182 resumed.
2183
2184config BT_MSM_PINTEST
2185 tristate "MSM Bluetooth Pin Connectivity Test"
2186 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2187 default n
2188 help
2189 Bluetooth MSM Pin Connectivity test module.
2190 This driver provides support for verifying the MSM to BT pin
2191 connectivity.
2192
2193config MSM_FAKE_BATTERY
2194 depends on POWER_SUPPLY
2195 default n
2196 bool "MSM Fake Battery"
2197 help
2198 Enables MSM fake battery driver.
2199
2200config MSM_QDSP6_APR
2201 bool "Audio QDSP6 APR support"
2202 depends on MSM_SMD
2203 default n
2204 help
2205 Enable APR IPC protocol support between
2206 application processor and QDSP6. APR is
2207 used by audio driver to configure QDSP6's
2208 ASM, ADM and AFE.
2209
Joonwoo Park91d95462012-08-02 10:55:54 -07002210config MSM_QDSP6_APRV2
2211 bool "Audio QDSP6 APRv2 support"
2212 depends on MSM_SMD
2213 default n
2214 help
2215 Enable APRv2 IPC protocol support between
2216 application processor and QDSP6. APR is
2217 used by audio driver to configure QDSP6's
2218 ASM, ADM and AFE.
2219
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -07002220config MSM_QDSP6_CODECS
2221 bool "Audio Codecs on QDSP6 APR "
2222 depends on MSM_SMD
2223 default n
2224 help
2225 Enable Audio codecs with APR IPC protocol support between
2226 application processor and QDSP6. APR is
2227 used by audio driver to configure QDSP6's
2228 ASM, ADM and AFE.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002229
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002230config MSM_QDSP6V2_CODECS
2231 bool "Audio QDSP6V2 APR support"
2232 depends on MSM_SMD
2233 help
2234 Enable Audio codecs with APR IPC protocol support between
2235 application processor and QDSP6 for B-family. APR is
2236 used by audio driver to configure QDSP6's
2237 ASM, ADM and AFE.
2238
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002239config MSM_AUDIO_QDSP6
2240 bool "QDSP6 HW Audio support"
2241 select SND_SOC_MSM_QDSP6_INTF
2242 default n
2243 help
2244 Enable HW audio support in QDSP6.
2245 QDSP6 can support HW encoder & decoder and audio processing
2246
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002247config MSM_AUDIO_QDSP6V2
2248 bool "QDSP6V2 HW Audio support"
2249 select SND_SOC_MSM_QDSP6V2_INTF
2250 help
2251 Enable HW audio support in QDSP6V2.
2252 QDSP6V2 can support HW encoder & decoder and
2253 audio processing. It will enable support for
2254 AAC, AMRNB, AMRWB, EVRC, MP3, QCELP among
2255 others.
2256
Joonwoo Park4a14a552012-08-02 11:03:21 -07002257config MSM_ADSP_LOADER
2258 tristate "ADSP loader support"
2259 select SND_SOC_MSM_APRV2_INTF
2260 depends on MSM_AUDIO_QDSP6V2 && m
2261 help
2262 Enable ADSP image loader.
2263 The ADSP loader brings ADSP out of reset
2264 for the platforms that use APRv2.
2265 Say M if you want to enable this module.
2266
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002267config MSM_ULTRASOUND
2268 bool "MSM ultrasound support"
2269 depends on MSM_AUDIO_QDSP6
2270 help
2271 Enable support for qdsp6/ultrasound.
2272
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002273config MSM_RPC_VIBRATOR
2274 bool "RPC based MSM Vibrator Support"
2275 depends on MSM_ONCRPCROUTER
2276 help
2277 Enable the vibrator support on MSM over RPC. The vibrator
2278 is connected on the PMIC. Say Y if you want to enable this
2279 feature.
2280
2281config PM8XXX_RPC_VIBRATOR
2282 bool "RPC based Vibrator on PM8xxx PMICs"
2283 depends on MSM_RPC_VIBRATOR
2284 help
2285 Enable the vibrator support on MSM over RPC. The vibrator
2286 is connected on the PM8XXX PMIC. Say Y if you want to enable
2287 this feature.
2288
2289config MSM_SPM_V1
2290 bool "Driver support for SPM Version 1"
2291 help
2292 Enables the support for Version 1 of the SPM driver. SPM hardware is
2293 used to manage the processor power during sleep. The driver allows
2294 configuring SPM to allow different power modes.
2295
2296config MSM_SPM_V2
2297 bool "Driver support for SPM Version 2"
2298 help
2299 Enables the support for Version 2 of the SPM driver. SPM hardware is
2300 used to manage the processor power during sleep. The driver allows
2301 configuring SPM to allow different power modes.
2302
2303config MSM_L2_SPM
2304 bool "SPM support for L2 cache"
2305 depends on MSM_SPM_V2
2306 help
2307 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2308 control of L2 cache low power mode with a Subsystem Power manager.
2309 Enabling this driver allows configuring L2 SPM for low power modes
2310 on supported chipsets.
2311
Laura Abbott2d1760b2011-09-29 21:31:24 -07002312config MSM_MULTIMEDIA_USE_ION
2313 bool "Multimedia suport using Ion"
2314 depends on ION_MSM
2315 help
2316 Enable support for multimedia drivers using Ion for buffer management
2317 instead of pmem. Selecting this may also involve userspace
2318 dependencies as well.
2319
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002320config MSM_OCMEM
2321 bool "MSM On-Chip memory driver (OCMEM)"
2322 help
2323 Enable support for On-Chip Memory available on certain MSM chipsets.
2324 OCMEM is a low latency, high performance pool shared by subsystems.
2325
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002326config MSM_OCMEM_LOCAL_POWER_CTRL
2327 bool "OCMEM Local Power Control"
2328 depends on MSM_OCMEM
2329 help
2330 Enable direct power management of the OCMEM core by the
2331 OCMEM driver. By default power management is delegated to
2332 the RPM. Selecting this option causes the OCMEM driver to
2333 directly handle the various macro power transitions.
2334
2335config MSM_OCMEM_DEBUG
2336 bool "OCMEM Debug Support"
2337 depends on MSM_OCMEM
2338 help
2339 Enable debug options for On-chip Memory (OCMEM) driver.
2340 Various debug options include memory, power and latency.
2341 Choosing one of these options allows debugging of each
2342 individual subsystem separately.
2343
Naveen Ramarajc71b2de2012-08-20 12:35:52 -07002344config MSM_OCMEM_NONSECURE
2345 bool "OCMEM Non Secure Mode"
2346 depends on MSM_OCMEM_DEBUG
2347 help
2348 Disable OCMEM interaction with secure processor.
2349 By default OCMEM is secured and accesses for each master
2350 is requested by the OCMEM driver. Selecting this option
2351 causes the OCMEM memory to be in non-secure state unless
2352 its locked down by the secure processor.
2353
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002354config MSM_OCMEM_POWER_DEBUG
2355 bool "OCMEM Power Debug Support"
2356 depends on MSM_OCMEM_DEBUG
2357 help
2358 Enable debug support for OCMEM power management.
2359 This adds support for verifying all power management
2360 related operations of OCMEM. Both local power management
2361 and RPM assisted power management operations are supported.
2362
Naveen Ramaraj4b1d9392012-08-06 21:05:14 -07002363config MSM_OCMEM_POWER_DISABLE
2364 bool "OCMEM Disable Power Control"
2365 depends on MSM_OCMEM_DEBUG
2366 help
2367 Disable all OCMEM power management.
2368 This keeps all OCMEM macros turned ON at all times thus
2369 never allowing them to be turned OFF. Both local power
2370 management and RPM assisted power modes are supported.
2371
Laura Abbottad340ff2012-01-04 14:23:48 -08002372config MSM_RTB
2373 bool "Register tracing"
2374 help
2375 Add support for logging different events to a small uncached
2376 region. This is designed to aid in debugging reset cases where the
2377 caches may not be flushed before the target resets.
2378
2379config MSM_RTB_SEPARATE_CPUS
2380 bool "Separate entries for each cpu"
2381 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002382 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002383 help
2384 Under some circumstances, it may be beneficial to give dedicated space
2385 for each cpu to log accesses. Selecting this option will log each cpu
2386 separately. This will guarantee that the last acesses for each cpu
2387 will be logged but there will be fewer entries per cpu
2388
Stepan Moskovchenko57884842012-06-07 17:35:49 -07002389config MSM_EBI_ERP
2390 bool "External Bus Interface (EBI) error reporting"
2391 help
2392 Say 'Y' here to enable reporting of external bus interface errors to
2393 the kernel log. Information such as the offending address and
2394 transaction type will be logged. This may be useful for debugging
2395 seemingly broken memory accesses.
2396
2397 For production builds, you should probably say 'N' here.
2398
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002399config MSM_CACHE_ERP
2400 bool "Cache / CPU error reporting"
2401 depends on ARCH_MSM_KRAIT
2402 help
2403 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2404 log. Enabling this feature can be used as a system debugging technique
2405 if cache corruption is suspected. Cache error statistics will also be
2406 reported in /proc/cpu/msm_cache_erp.
2407
2408 For production builds, you should probably say 'N' here.
2409
2410config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002411 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002412 depends on MSM_CACHE_ERP
2413 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002414 To cause the kernel to panic whenever an L1 cache error is detected, say
2415 'Y' here. This may be useful as a debugging technique if general system
2416 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002417
2418 For production builds, you should probably say 'N' here.
2419
Stepan Moskovchenko7035f652012-05-31 17:48:01 -07002420config MSM_L1_ERR_LOG
2421 bool "Log CPU ERP events to system memory"
2422 depends on MSM_CACHE_ERP
2423 help
2424 Enable logging CPU ERP events to an area of memory that will be
2425 preserved across a system reset. This may be useful for detecting and
2426 troubleshooting ERP-related system crashes in the field.
2427
2428 For production builds, you may want to say 'Y' here.
2429
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002430config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2431 bool "Report L2 master port slave/decode errors in kernel log"
2432 depends on MSM_CACHE_ERP
2433 help
2434 Master port errors can occur when a memory request is not properly
2435 handled by the destination slave. This can occur if the destination
2436 register does not exist or is inaccessible due to security
2437 restrictions or (in some cases) clock configuration. Enabling this
2438 option will cause a backtrace to be printed to the kernel log whenever
2439 such an error is encountered. Note that the error is reported as an
2440 interrupt rather than as an exception, meaning that the backtrace may
2441 have some skid. This option may help with debugging, though production
2442 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002443
2444config MSM_L2_ERP_PORT_PANIC
2445 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002446 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002447 help
2448 Master port errors can occur when a memory request is not properly
2449 handled by the destination slave. Enable this option to catch drivers
2450 which attempt to access bad areas of the address space, or access
2451 hardware registers in an improper state (such as certain clocks not
2452 being on). This option may help with debugging, though production
2453 builds should probably say 'N' here.
2454
2455config MSM_L2_ERP_1BIT_PANIC
2456 bool "Panic on recoverable L2 soft errors"
2457 depends on MSM_CACHE_ERP
2458 help
2459 Enable this option to cause a kernel panic whenever the L2 cache
2460 encounters a single-bit (correctable) soft error. This option should
2461 only be enabled when doing low-level debugging where cache corruption
2462 is suspected.
2463
2464 For production builds, you should definitely say 'N' here.
2465
2466config MSM_L2_ERP_2BIT_PANIC
2467 bool "Panic on unrecoverable L2 soft errors"
2468 depends on MSM_CACHE_ERP
2469 help
2470 Enable this option to cause a kernel panic whenever the L2 cache
2471 encounters a double-bit (non-correctable) soft error. Debug builds
2472 will likely benefit from having this option enabled to catch cache
2473 problems as soon as possible.
2474
2475 For production builds, it may be acceptable to say 'N' here, since
2476 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002477
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002478config MSM_DCVS
2479 bool "Use MSM DCVS for CPU/GPU Frequency control"
2480 depends on MSM_SCM
2481 help
2482 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2483 The DCVS manager allows idle driver to feed the idle information to the
2484 algorithm and the algorithm returns a frequency for the core which is
2485 passed to the frequency change driver.
2486
Pankaj Kumar32ce1ea2012-04-04 20:29:29 +05302487config MSM_CPR
2488 tristate "Use MSM CPR in S/W mode"
2489 help
2490 Enable CPR (core power reduction) in S/W mode, where the processor
2491 get's the notification from CPR block and programs the PMIC.
2492
2493config MSM_VP_REGULATOR
2494 tristate "Use MSM PMIC8029 C2 regulator"
2495 depends on ARCH_MSM8625
2496 help
2497 Enable MSM PMIC8029 C2 regulator support using APC_PLEVEL access
2498 for MSMs like 8625.
2499
Taniya Dasc43e6872012-03-21 16:41:14 +05302500config HAVE_ARCH_HAS_CURRENT_TIMER
2501 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002502
2503config MSM_CACHE_DUMP
2504 bool "Cache dumping support"
2505 help
2506 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2507 This allows for analysis of the caches in case cache corruption is
2508 suspected.
2509
Laura Abbott7b637362012-03-29 16:43:49 -07002510config MSM_CACHE_DUMP_ON_PANIC
2511 bool "Dump caches on panic"
2512 depends on MSM_CACHE_DUMP
2513 help
2514 By default, the caches are flushed on panic. This means that trying to
2515 look at them in a RAM dump will give useless data. Select this if you
2516 want to dump the L1 and L2 caches on panic before any flush occurs.
2517 If unsure, say N
2518
Jack Phamccbbfab2012-04-09 19:50:20 -07002519config MSM_HSIC_SYSMON
2520 tristate "MSM HSIC system monitor driver"
2521 depends on USB
2522 help
2523 Add support for bridging with the system monitor interface of MDM
2524 over HSIC. This driver allows the local system monitor to
2525 communicate with the remote system monitor interface.
2526
2527config MSM_HSIC_SYSMON_TEST
2528 tristate "MSM HSIC system monitor bridge test"
2529 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2530 help
2531 Enable the test hook for the Qualcomm system monitor HSIC driver.
2532 This will create a debugfs file entry named "hsic_sysmon_test" which
2533 can be read and written to send character data to the sysmon port of
2534 the modem over USB.
2535
Brian Swetland9e73c842007-11-26 04:12:13 -08002536endif