blob: f3a6fee4390f993b1635d0c5ff6de49c474937dd [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
Trilok Soni7ff06e02012-10-15 01:05:24 +053025 select ARCH_HAS_BARRIERS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070026 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
Chintan Pandya62a2f7c2012-10-30 12:00:40 +053070 select ARM_HAS_SG_CHAIN
Daniel Walker7b521612010-05-06 12:44:57 -070071
Daniel Walker4ad15e62010-05-06 13:54:17 -070072config ARCH_QSD8X50
73 bool "QSD8X50"
74 select ARCH_MSM_SCORPION
Daniel Walker4ad15e62010-05-06 13:54:17 -070075 select MSM_VIC
76 select CPU_V7
David Brown74d10d72011-05-16 13:57:39 -070077 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070078 select MSM_REMOTE_SPINLOCK_LDREX
79 select CPU_USE_DOMAINS
80 select EMULATE_DOMAIN_MANAGER_V7
Gregory Beanab78cde2010-09-01 16:26:12 -070081 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070082 select MSM_DALRPC
Matt Wagantall88b86312012-01-31 16:53:03 -080083 select MSM_PM2 if PM
Taniya Dascd1d0232012-07-03 17:50:47 +053084 select MSM_MODEM_RESTART
Daniel Walker46fe5f22010-08-18 11:00:25 -070085
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070086config ARCH_MSM8X60
87 bool "MSM8X60"
Jeff Ohlsteine14411d2010-11-30 13:06:36 -080088 select ARCH_MSM_SCORPIONMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070089 select SMP_PARALLEL_START if SMP
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070090 select ARM_GIC
91 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070092 select MSM_REMOTE_SPINLOCK_LDREX
93 select ARCH_REQUIRE_GPIOLIB
94 select MSM_ADM3
95 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -080096 select MSM_RPM_REGULATOR
David Brown1a5ab4b2011-05-16 15:53:38 -070097 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070098 select MSM_PIL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070099 select ARCH_HAS_CPU_IDLE_WAIT
100 select MSM_DIRECT_SCLK_ACCESS
101 select MSM_RPM
102 select MSM_XO
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700103 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700104 select MSM_BUS_SCALING
105 select MSM_SECURE_IO
106 select MSM_DALRPC
107 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700108 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700109 select MSM_NATIVE_RESTART
110 select ARCH_INLINE_SPIN_TRYLOCK
111 select ARCH_INLINE_SPIN_TRYLOCK_BH
112 select ARCH_INLINE_SPIN_LOCK
113 select ARCH_INLINE_SPIN_LOCK_BH
114 select ARCH_INLINE_SPIN_LOCK_IRQ
115 select ARCH_INLINE_SPIN_LOCK_IRQSAVE
116 select ARCH_INLINE_SPIN_UNLOCK
117 select ARCH_INLINE_SPIN_UNLOCK_BH
118 select ARCH_INLINE_SPIN_UNLOCK_IRQ
119 select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
120 select ARCH_INLINE_READ_TRYLOCK
121 select ARCH_INLINE_READ_LOCK
122 select ARCH_INLINE_READ_LOCK_BH
123 select ARCH_INLINE_READ_LOCK_IRQ
124 select ARCH_INLINE_READ_LOCK_IRQSAVE
125 select ARCH_INLINE_READ_UNLOCK
126 select ARCH_INLINE_READ_UNLOCK_BH
127 select ARCH_INLINE_READ_UNLOCK_IRQ
128 select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
129 select ARCH_INLINE_WRITE_TRYLOCK
130 select ARCH_INLINE_WRITE_LOCK
131 select ARCH_INLINE_WRITE_LOCK_BH
132 select ARCH_INLINE_WRITE_LOCK_IRQ
133 select ARCH_INLINE_WRITE_LOCK_IRQSAVE
134 select ARCH_INLINE_WRITE_UNLOCK
135 select ARCH_INLINE_WRITE_UNLOCK_BH
136 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
137 select CPU_HAS_L2_PMU
138 select MSM_SPM_V1
Stephen Boyd2a1eb582010-08-27 10:01:23 -0700139 select MSM_SCM if SMP
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530140 select MULTI_IRQ_HANDLER
Laura Abbott46505f62011-11-02 18:06:55 -0700141 select MSM_MULTIMEDIA_USE_ION
Matt Wagantall88b86312012-01-31 16:53:03 -0800142 select MSM_PM8X60 if PM
Krishna Vankae2922052012-03-02 09:59:12 +0530143 select MSM_RUN_QUEUE_STATS
Laura Abbottb14ed962012-01-30 14:18:08 -0800144 select ARM_HAS_SG_CHAIN
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700145
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800146config ARCH_MSM8960
147 bool "MSM8960"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700148 select ARCH_MSM_KRAITMP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800149 select ARM_GIC
150 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700151 select GPIO_MSM_V2
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800152 select MSM_GPIOMUX
153 select MSM_SCM if SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700154 select MSM_DIRECT_SCLK_ACCESS
155 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -0800156 select MSM_RPM_REGULATOR
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700157 select MSM_RPM
158 select MSM_XO
159 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700160 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700161 select MSM_PIL
162 select MSM_AUDIO_QDSP6 if SND_SOC
163 select CPU_HAS_L2_PMU
164 select MSM_SPM_V2
165 select MSM_L2_SPM
166 select MSM_NATIVE_RESTART
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700167 select DONT_MAP_HOLE_AFTER_MEMBANK0
168 select MSM_REMOTE_SPINLOCK_SFPB
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700169 select ARCH_SPARSEMEM_ENABLE
170 select ARCH_HAS_HOLES_MEMORYMODEL
Larry Basseld4d82c92011-12-07 09:52:49 -0800171 select CLEANCACHE
172 select QCACHE
Laura Abbott6d61a912011-10-27 16:44:14 -0700173 select MSM_MULTIMEDIA_USE_ION
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530174 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800175 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700176 select HOLES_IN_ZONE if SPARSEMEM
Krishna Vankae2922052012-03-02 09:59:12 +0530177 select MSM_RUN_QUEUE_STATS
Laura Abbottb14ed962012-01-30 14:18:08 -0800178 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700179 select MSM_KRAIT_WFE_FIXUP
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +0200180 select MSM_ULTRASOUND_A
Greg Reidb1d240a2012-10-12 12:20:31 -0400181 select GENERIC_TIME_VSYSCALL
182 select USE_USER_ACCESSIBLE_TIMERS
183 select ARM_USE_USER_ACCESSIBLE_TIMERS
184 select MSM_USE_USER_ACCESSIBLE_TIMERS
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800185
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700186config ARCH_MSM8930
187 bool "MSM8930"
188 select ARCH_MSM_KRAITMP
189 select ARM_GIC
190 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700191 select GPIO_MSM_V2
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700192 select MSM_GPIOMUX
193 select MSM_SCM if SMP
194 select MSM_DIRECT_SCLK_ACCESS
195 select REGULATOR
David Collins5779cea2012-01-05 15:09:21 -0800196 select MSM_RPM_REGULATOR
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700197 select MSM_RPM
198 select MSM_XO
199 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700200 select MSM_QDSP6_CODECS
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700201 select MSM_PIL
202 select MSM_AUDIO_QDSP6 if SND_SOC
203 select CPU_HAS_L2_PMU
204 select MSM_SPM_V2
205 select MSM_L2_SPM
206 select MSM_NATIVE_RESTART
207 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600208 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700209 select ARCH_SPARSEMEM_ENABLE
210 select ARCH_HAS_HOLES_MEMORYMODEL
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +0200211 select MSM_ULTRASOUND_A
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530212 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800213 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700214 select HOLES_IN_ZONE if SPARSEMEM
Laura Abbottb14ed962012-01-30 14:18:08 -0800215 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700216 select MSM_KRAIT_WFE_FIXUP
Greg Reidb1d240a2012-10-12 12:20:31 -0400217 select GENERIC_TIME_VSYSCALL
218 select USE_USER_ACCESSIBLE_TIMERS
219 select ARM_USE_USER_ACCESSIBLE_TIMERS
220 select MSM_USE_USER_ACCESSIBLE_TIMERS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700221
222config ARCH_APQ8064
223 bool "APQ8064"
224 select ARCH_MSM_KRAITMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700225 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700226 select ARM_GIC
227 select CPU_V7
228 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700229 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600230 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800231 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800232 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700233 select MSM_QDSP6_CODECS
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800234 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530235 select MULTI_IRQ_HANDLER
Praveen Chidambaram78499012011-11-01 17:15:17 -0600236 select MSM_RPM
237 select MSM_SPM_V2
238 select MSM_L2_SPM
Matt Wagantall88b86312012-01-31 16:53:03 -0800239 select MSM_PM8X60 if PM
Neil Leeder814d3d32012-01-19 17:21:43 -0500240 select CPU_HAS_L2_PMU
Laura Abbott085dd202012-03-30 14:02:34 -0700241 select HOLES_IN_ZONE if SPARSEMEM
Larry Bassel67b921d2012-04-06 10:23:27 -0700242 select CLEANCACHE
243 select QCACHE
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -0600244 select MIGHT_HAVE_PCI
245 select ARCH_SUPPORTS_MSI
Laura Abbottb14ed962012-01-30 14:18:08 -0800246 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700247 select MSM_KRAIT_WFE_FIXUP
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +0200248 select MSM_ULTRASOUND_A
Greg Reidb1d240a2012-10-12 12:20:31 -0400249 select GENERIC_TIME_VSYSCALL
250 select USE_USER_ACCESSIBLE_TIMERS
251 select ARM_USE_USER_ACCESSIBLE_TIMERS
252 select MSM_USE_USER_ACCESSIBLE_TIMERS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700253
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700254config ARCH_MSM8974
255 bool "MSM8974"
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700256 select ARCH_MSM_KRAITMP
Sathish Ambley4149e842012-03-23 11:53:55 -0700257 select GPIO_MSM_V3
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700258 select ARM_GIC
259 select CPU_V7
260 select MSM_SCM if SMP
261 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530262 select MULTI_IRQ_HANDLER
Olav Hauganb800c8c2012-01-30 08:50:45 -0800263 select MSM_MULTIMEDIA_USE_ION
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700264 select MSM_PIL
Praveen Chidambaramaa9d52b2012-04-02 11:09:47 -0600265 select MSM_SPM_V2
266 select MSM_L2_SPM
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700267 select MSM_NATIVE_RESTART
268 select MSM_RESTART_V2
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600269 select MSM_PM8X60 if PM
Steve Mucklef132c6c2012-06-06 18:30:57 -0700270 select MAY_HAVE_SPARSE_IRQ
271 select SPARSE_IRQ
Mahesh Sivasubramaniancb668712012-04-04 13:03:25 -0600272 select MSM_RPM_SMD
David Collinsc7642322012-04-04 10:19:12 -0700273 select REGULATOR
Joonwoo Park91d95462012-08-02 10:55:54 -0700274 select MSM_QDSP6_APRV2
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -0700275 select MSM_QDSP6V2_CODECS
276 select MSM_AUDIO_QDSP6V2 if SND_SOC
David Collins1c91ea72012-05-03 16:17:35 -0700277 select MSM_RPM_REGULATOR_SMD
Laura Abbottb14ed962012-01-30 14:18:08 -0800278 select ARM_HAS_SG_CHAIN
Karthik Parsha404fb8f2012-07-30 19:14:05 -0700279 select MSM_RUN_QUEUE_STATS
Neeti Desai92eab922012-10-22 15:14:48 -0700280 select MEMORY_HOLE_CARVEOUT
Priyanka Mathur1af9d4b2012-10-30 14:55:44 -0700281 select MSM_RPM_STATS_LOG
Karthikeyan Ramasubramanian1edce9e2012-11-08 18:26:10 -0700282 select QMI_ENCDEC
Neeti Desai1b2cb552012-11-01 21:57:36 -0700283 select DONT_MAP_HOLE_AFTER_MEMBANK0
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700284
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +0530285config ARCH_MPQ8092
286 bool "MPQ8092"
287 select ARCH_MSM_KRAITMP
288 select GPIO_MSM_V3
289 select ARM_GIC
290 select MULTI_IRQ_HANDLER
291 select CPU_V7
292 select MSM_GPIOMUX
293 select MAY_HAVE_SPARSE_IRQ
294 select SPARSE_IRQ
295 select MSM_NOPM
296
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700297config ARCH_FSM9XXX
298 bool "FSM9XXX"
299 select ARCH_MSM_SCORPION
300 select MSM_VIC
301 select CPU_V7
302 select MSM_REMOTE_SPINLOCK_LDREX
Steve Mucklef132c6c2012-06-06 18:30:57 -0700303 select GPIO_FSM9XXX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530304 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800305 select MSM_DALRPC
Daniel Walker4ad15e62010-05-06 13:54:17 -0700306
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700307config ARCH_MSM9615
308 bool "MSM9615"
309 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530310 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700311 select ARCH_MSM_CORTEX_A5
312 select CPU_V7
Rohit Vaswani4307c842012-10-11 15:50:05 -0700313 select MIGHT_HAVE_CACHE_L2X0
Steve Mucklef132c6c2012-06-06 18:30:57 -0700314 select GPIO_MSM_V2
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700315 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600316 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600317 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700318 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800319 select REGULATOR
320 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530321 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800322 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800323 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700324 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800325 select MSM_QDSP6_APR
326 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800327 select FIQ
Laura Abbottb14ed962012-01-30 14:18:08 -0800328 select ARM_HAS_SG_CHAIN
Matt Wagantall9274df92011-12-15 11:11:05 -0800329
Taniya Das43bcdd62011-12-02 17:33:27 +0530330config ARCH_MSM8625
331 bool "MSM8625"
332 select ARCH_MSM_CORTEX_A5
333 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700334 select GPIO_MSM_V1
Taniya Das43bcdd62011-12-02 17:33:27 +0530335 select MSM_GPIOMUX
336 select ARM_GIC
337 select ARCH_MSM_CORTEXMP
338 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530339 select ARM_TICKET_LOCKS
Krishna Vankae2922052012-03-02 09:59:12 +0530340 select MSM_RUN_QUEUE_STATS
Trilok Sonib856ab92012-06-26 14:33:28 +0530341 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530342 select ARM_HAS_SG_CHAIN
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700343
344config ARCH_MSM9625
345 bool "MSM9625"
346 select ARM_GIC
Abhimanyu Kapur490d20c2012-06-22 17:34:20 -0700347 select MIGHT_HAVE_CACHE_L2X0
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700348 select ARCH_MSM_CORTEX_A5
349 select SMP
350 select MSM_SMP
351 select CPU_V7
Abhimanyu Kapur4bb38622012-10-16 19:07:48 -0700352 select MSM_SCM if SMP
Jin Hong690e3352012-05-02 09:25:05 -0700353 select MSM_GPIOMUX
Girish Mahadevanf1c20a42012-09-19 11:44:36 -0600354 select MSM_RPM_SMD
Abhimanyu Kapur46e5e2b2012-10-02 20:45:37 -0700355 select MSM_NATIVE_RESTART
356 select MSM_RESTART_V2
Girish Mahadevan6e419562012-09-19 12:50:05 -0600357 select MSM_SPM_V2
358 select MSM_PM8X60 if PM
359 select MSM_SCM if SMP
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700360 select MULTI_IRQ_HANDLER
Rohit Vaswani61cf6ef2012-07-27 13:51:48 -0700361 select GPIO_MSM_V3
David Collins1cc6e402012-09-17 16:02:24 -0700362 select MAY_HAVE_SPARSE_IRQ
363 select SPARSE_IRQ
Mitchel Humpherys92e9b8a2012-10-08 18:12:47 -0700364 select MSM_MULTIMEDIA_USE_ION
Girish Mahadevane3be9302012-11-07 16:21:52 -0700365 select MSM_RPM_STATS_LOG
Venkat Sudhir0620e982012-11-15 16:04:36 -0800366 select MSM_QDSP6_APRV2
367 select MSM_QDSP6V2_CODECS
368 select MSM_AUDIO_QDSP6V2 if SND_SOC
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700369
370config ARCH_MSM8910
371 bool "MSM8910"
372 select ARM_GIC
373 select GIC_SECURE
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700374 select ARCH_MSM_CORTEXMP
375 select CPU_V7
376 select MSM_SCM if SMP
377 select MAY_HAVE_SPARSE_IRQ
378 select SPARSE_IRQ
379 select MULTI_IRQ_HANDLER
380 select GPIO_MSM_V3
381 select MSM_GPIOMUX
Hanumant Singhe4271312012-10-24 13:27:57 -0700382 select MSM_NATIVE_RESTART
383 select MSM_RESTART_V2
Syed Rameez Mustafa9ee80102012-11-02 14:41:04 -0700384
385config ARCH_MSM8226
386 bool "MSM8226"
387 select ARM_GIC
388 select GIC_SECURE
Syed Rameez Mustafa9ee80102012-11-02 14:41:04 -0700389 select ARCH_MSM_CORTEXMP
390 select CPU_V7
391 select MSM_SCM if SMP
392 select MAY_HAVE_SPARSE_IRQ
393 select SPARSE_IRQ
394 select MULTI_IRQ_HANDLER
395 select GPIO_MSM_V3
396 select MSM_GPIOMUX
Syed Rameez Mustafaf1bdd712012-11-20 14:56:44 -0800397 select MSM_NATIVE_RESTART
398 select MSM_RESTART_V2
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700399endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700400
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700401choice
402 prompt "MSM SoC Revision"
403 default MSM_SOC_REV_NONE
404config MSM_SOC_REV_NONE
405 bool "N/A"
406 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
407 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walkerbf83de42010-03-16 16:29:44 -0700408config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700409 bool "Rev. A"
410 select ARCH_MSM7X27A if ARCH_MSM7X27
Daniel Walkerbf83de42010-03-16 16:29:44 -0700411endchoice
412
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700413config MSM_KRAIT_TBB_ABORT_HANDLER
414 bool "Krait TBB/TBH data abort handler"
415 depends on ARCH_MSM_KRAIT
416 depends on ARM_THUMB
417 help
418 Certain early samples of the Krait processor may generate data
419 aborts for TBB / TBH instructions that fail their condition code
420 checks. Enabling this option will ignore these erroneous data aborts,
421 at the expense of a very small performance penalty.
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800422
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700423 If unsure, say N.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700424
425config ARCH_MSM_ARM11
426 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700427
Daniel Walkerbf83de42010-03-16 16:29:44 -0700428config ARCH_MSM_SCORPION
429 bool
430
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700431config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700432 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800433 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700434
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700435config MSM_SMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700436 select HAVE_SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700437 bool
438
439config ARCH_MSM_SCORPIONMP
440 select ARCH_MSM_SCORPION
441 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530442 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700443 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700444 bool
445
446config ARCH_MSM_KRAITMP
447 select ARCH_MSM_KRAIT
448 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530449 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700450 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700451 bool
452
Taniya Das43bcdd62011-12-02 17:33:27 +0530453config ARCH_MSM_CORTEXMP
454 select MSM_SMP
455 bool
456
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700457config MSM_KRAIT_WFE_FIXUP
458 bool
459
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700460config MSM_RESTART_V2
461 bool
462
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700463config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800464 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700465
466config ARCH_MSM7X27A
467 bool
468 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700469 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530470 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530471 select ARM_GIC
472 select ARCH_MSM_CORTEXMP
Trilok Sonib856ab92012-06-26 14:33:28 +0530473 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530474 select ARM_HAS_SG_CHAIN
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700475
Gregory Beanf9f3d312010-04-30 22:06:50 -0700476config MSM_VIC
477 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700478
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700479config MSM_RPM
480 bool "Resource Power Manager"
481 select MSM_MPM
482
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600483config MSM_RPM_SMD
484 depends on MSM_SMD
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600485 select MSM_MPM_OF
486 bool "RPM driver using SMD protocol"
487 help
488 RPM is the dedicated hardware engine for managing shared SoC
489 resources. This config adds driver support for using SMD as a
490 transport layer communication with RPM hardware. It also selects
491 the MSM_MPM config that programs the MPM module to monitor interrupts
492 during sleep modes.
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600493
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700494config MSM_MPM
495 bool "Modem Power Manager"
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600496 help
497 MPM is a dedicated hardware resource responsible for entering and
498 waking up from a system wide low power mode. The MPM driver tracks
499 the wakeup interrupts and configures the MPM to monitor the wakeup
500 interrupts when going to a system wide sleep mode.
501
502config MSM_MPM_OF
503 bool "Modem Power Manager"
504 depends on CONFIG_OF
505 help
506 MPM is a dedicated hardware resource responsible for entering and
507 waking up from a system wide low power mode. The MPM driver tracks
508 the wakeup interrupts and configures the MPM to monitor the wakeup
509 interrupts when going to a system wide sleep mode. This config option
510 enables the MPM driver that supports initialization from a device
511 tree
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700512
513config MSM_XO
514 bool
515
516config MSM_REMOTE_SPINLOCK_DEKKERS
517 bool
518config MSM_REMOTE_SPINLOCK_SWP
519 bool
520config MSM_REMOTE_SPINLOCK_LDREX
521 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600522config MSM_REMOTE_SPINLOCK_SFPB
523 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700524config MSM_ADM3
525 bool
526
527menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700528
529config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700530 depends on ARCH_MSM7X01A
531 depends on MSM_STACKED_MEMORY
532 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700533 bool "Halibut Board (QCT SURF7201A)"
534 help
535 Support for the Qualcomm SURF7201A eval board.
536
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700537config MACH_MSM7201A_SURF
538 depends on ARCH_MSM7X01A
539 depends on MSM_STACKED_MEMORY
540 default y
541 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700542 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700543 Support for the Qualcomm MSM7201A SURF eval board.
544
545config MACH_MSM7201A_FFA
546 depends on ARCH_MSM7X01A
547 depends on MSM_STACKED_MEMORY
548 default y
549 bool "MSM7201A FFA"
550 help
551 Support for the Qualcomm MSM7201A FFA eval board.
552
553config MACH_TROUT
554 depends on ARCH_MSM7X01A
555 depends on MSM_STACKED_MEMORY
556 default y
557 bool "Trout"
558
559config MACH_MSM7X27_SURF
560 depends on ARCH_MSM7X27
561 depends on !MSM_STACKED_MEMORY
562 default y
563 bool "MSM7x27 SURF"
564 help
565 Support for the Qualcomm MSM7x27 SURF eval board.
566
567config MACH_MSM7X27_FFA
568 depends on ARCH_MSM7X27
569 depends on !MSM_STACKED_MEMORY
570 default y
571 bool "MSM7x27 FFA"
572 help
573 Support for the Qualcomm MSM7x27 FFA eval board.
574
575config MACH_MSM7X27A_RUMI3
576 depends on ARCH_MSM7X27A
577 depends on !MSM_STACKED_MEMORY
578 default y
579 bool "MSM7x27A RUMI3"
580 help
581 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
582
583config MACH_MSM7X27A_SURF
584 depends on ARCH_MSM7X27A
585 depends on !MSM_STACKED_MEMORY
586 default y
587 bool "MSM7x27A SURF"
588 help
589 Support for the Qualcomm MSM7x27A SURF.
590
591config MACH_MSM7X27A_FFA
592 depends on ARCH_MSM7X27A
593 depends on !MSM_STACKED_MEMORY
594 default y
595 bool "MSM7x27A FFA"
596 help
597 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700598
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530599config MACH_MSM7625A_SURF
600 depends on ARCH_MSM7X27A
601 depends on !MSM_STACKED_MEMORY
602 default y
603 bool "MSM7625A SURF"
604 help
605 Support for the Qualcomm MSM7625A SURF.
606
607config MACH_MSM7625A_FFA
608 depends on ARCH_MSM7X27A
609 depends on !MSM_STACKED_MEMORY
610 default y
611 bool "MSM7625A FFA"
612 help
613 Support for the Qualcomm MSM7625A FFA.
614
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530615config MACH_MSM7627A_QRD1
616 depends on ARCH_MSM7X27A
617 depends on !MSM_STACKED_MEMORY
618 default y
619 bool "MSM7627A QRD1"
620 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530621 Support for the Qualcomm MSM7627A Reference Design.
622
623config MACH_MSM7627A_QRD3
624 depends on ARCH_MSM7X27A
625 depends on !MSM_STACKED_MEMORY
626 default y
627 bool "MSM7627A QRD3"
628 help
629 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530630
Taniya Dasc868a2e2012-01-03 10:18:47 +0530631config MACH_MSM7627A_EVB
632 depends on ARCH_MSM7X27A
633 depends on !MSM_STACKED_MEMORY
634 default y
635 bool "MSM7627A EVB"
636 help
637 Support for the Qualcomm MSM7627A Reference Design.
638
Taniya Das43bcdd62011-12-02 17:33:27 +0530639config MACH_MSM8625_RUMI3
640 depends on ARCH_MSM8625
641 depends on !MSM_STACKED_MEMORY
642 default y
643 bool "MSM8625 RUMI3"
644 help
645 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
646
Taniya Dase3027e22012-02-27 16:32:27 +0530647config MACH_MSM8625_SURF
648 depends on ARCH_MSM8625
649 depends on !MSM_STACKED_MEMORY
650 default y
651 bool "MSM8625 SURF"
652 help
653 Support for the Qualcomm MSM8625 SURF.
654
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530655config MACH_MSM8625_FFA
656 depends on ARCH_MSM8625
657 depends on !MSM_STACKED_MEMORY
658 default y
659 bool "MSM8625 FFA"
660 help
661 Support for the Qualcomm MSM8625 FFA.
662
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530663config MACH_MSM8625_EVB
664 depends on ARCH_MSM8625
665 depends on !MSM_STACKED_MEMORY
666 default y
667 bool "MSM8625 EVB"
668 help
669 Support for the Qualcomm MSM8625 Reference Design.
670
Taniya Dasbd096542012-03-15 17:43:45 +0530671config MACH_MSM8625_QRD7
672 depends on ARCH_MSM8625
673 depends on !MSM_STACKED_MEMORY
674 default y
675 bool "MSM8625 QRD7"
676 help
677 Support for the Qualcomm MSM8625 Reference Design.
678
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530679config MACH_MSM8625_EVT
680 depends on ARCH_MSM8625
681 depends on !MSM_STACKED_MEMORY
682 default y
683 bool "MSM8625 EVT"
684 help
685 Support for the Qualcomm MSM8625 Reference Design.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700686
Channagoud Kadabi2bd65c82012-10-12 15:14:23 +0530687config MACH_QRD_SKUD_PRIME
688 depends on ARCH_MSM8625
689 depends on !MSM_STACKED_MEMORY
690 default y
691 bool "MSM8625 SKUD PRIME"
692 help
693 Support for the Qualcomm MSM8625 SKUD prime Reference Design.
694 Add support for a SKUD prime reference design based on MSM8x25
695 chipset. This device is much closer to a phone than regular form
696 factor devices, with new touch, display panel and other hardware
697 configurations.
698
Daniel Walker7b521612010-05-06 12:44:57 -0700699config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700700 depends on ARCH_MSM7X30
701 depends on !MSM_STACKED_MEMORY
702 default y
703 bool "MSM7x30 SURF"
704 help
705 Support for the Qualcomm MSM7x30 SURF eval board.
706
707config MACH_MSM7X30_FFA
708 depends on ARCH_MSM7X30
709 depends on !MSM_STACKED_MEMORY
710 default y
711 bool "MSM7x30 FFA"
712 help
713 Support for the Qualcomm MSM7x30 FFA eval board.
714
715config MACH_MSM7X30_FLUID
716 depends on ARCH_MSM7X30
717 depends on !MSM_STACKED_MEMORY
718 default y
719 bool "MSM7x30 FLUID"
720 help
721 Support for the Qualcomm MSM7x30 FLUID eval board.
722
723config MACH_SAPPHIRE
724 depends on ARCH_MSM7X01A
725 default n
726 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700727
Daniel Walker4ad15e62010-05-06 13:54:17 -0700728config MACH_QSD8X50_SURF
729 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700730 depends on MSM_SOC_REV_NONE
731 depends on MSM_STACKED_MEMORY
732 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700733 bool "QSD8x50 SURF"
734 help
735 Support for the Qualcomm QSD8x50 SURF eval board.
736
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700737config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700738 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700739 depends on MSM_SOC_REV_NONE
740 depends on MSM_STACKED_MEMORY
741 default y
742 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700743 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700744 Support for the Qualcomm QSD8x50 FFA eval board.
745
746config MACH_MSM7X25_SURF
747 depends on ARCH_MSM7X25
748 depends on !MSM_STACKED_MEMORY
749 default y
750 bool "MSM7x25 SURF"
751 help
752 Support for the Qualcomm MSM7x25 SURF eval board.
753
754config MACH_MSM7X25_FFA
755 depends on ARCH_MSM7X25
756 depends on !MSM_STACKED_MEMORY
757 default y
758 bool "MSM7x25 FFA"
759 help
760 Support for the Qualcomm MSM7x25 FFA eval board.
761
762config MACH_MSM8X55_SURF
763 depends on ARCH_MSM7X30
764 depends on !MSM_STACKED_MEMORY
765 default y
766 bool "MSM8X55 SURF"
767 help
768 Support for the Qualcomm MSM8x55 SURF eval board.
769
770config MACH_MSM8X55_FFA
771 depends on ARCH_MSM7X30
772 depends on !MSM_STACKED_MEMORY
773 default y
774 bool "MSM8X55 FFA"
775 help
776 Support for the Qualcomm MSM8x55 FFA eval board.
777
778config MACH_MSM8X55_SVLTE_FFA
779 depends on ARCH_MSM7X30
780 depends on !MSM_STACKED_MEMORY
781 default y
782 bool "MSM8X55 SVLTE FFA"
783 help
784 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
785
786config MACH_MSM8X55_SVLTE_SURF
787 depends on ARCH_MSM7X30
788 depends on !MSM_STACKED_MEMORY
789 default y
790 bool "MSM8X55 SVLTE SURF"
791 help
792 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700793
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700794config MACH_MSM8X60_SURF
795 depends on ARCH_MSM8X60
796 default n
797 bool "MSM8x60 SURF"
798 help
799 Support for the Qualcomm MSM8x60 SURF eval board.
800
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700801config MACH_MSM8X60_FFA
802 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700803 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700804 bool "MSM8x60 FFA"
805 help
806 Support for the Qualcomm MSM8x60 FFA eval board.
807
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700808config MACH_MSM8X60_FLUID
809 depends on ARCH_MSM8X60
810 default n
811 bool "MSM8x60 FLUID"
812 help
813 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
814 8x60 target which has a form factor that is much closer to that
815 of a phone than other targets. It also has a new display and
816 touchscreen controller.
817
818config MACH_MSM8X60_FUSION
819 depends on ARCH_MSM8X60
820 default n
821 bool "MSM8x60 FUSION"
822 help
823 Support for the Qualcomm MSM8x60 Fusion SURF device.
824
825config MACH_MSM8X60_FUSN_FFA
826 depends on ARCH_MSM8X60
827 default n
828 bool "MSM8x60 FUSN FFA"
829 help
830 Support for the Qualcomm MSM8x60 Fusion FFA device.
831
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400832config MACH_MSM8X60_DRAGON
833 depends on ARCH_MSM8X60
834 default n
835 bool "MSM8x60 DRAGON"
836 help
837 Support for the Qualcomm MSM8x60 Dragon board.
838
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700839config MACH_MSM8960_CDP
840 depends on ARCH_MSM8960
841 bool "MSM8960 CDP"
842 help
843 Support for the Qualcomm MSM8960 CDP device.
844
845config MACH_MSM8960_MTP
846 depends on ARCH_MSM8960
847 bool "MSM8960 MTP"
848 help
849 Support for the Qualcomm MSM8960 MTP device.
850
851config MACH_MSM8960_FLUID
852 depends on ARCH_MSM8960
853 bool "MSM8960 FLUID"
854 help
855 Support for the Qualcomm MSM8960 FLUID device.
856
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300857config MACH_MSM8960_LIQUID
858 depends on ARCH_MSM8960
859 bool "MSM8960 LIQUID"
860 help
861 Support for the Qualcomm MSM8960 LIQUID device.
862
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700863config MACH_MSM8930_CDP
864 depends on ARCH_MSM8930
865 bool "MSM8930 CDP"
866 help
867 Support for the Qualcomm MSM8930 CDP device.
868
869config MACH_MSM8930_MTP
870 depends on ARCH_MSM8930
871 bool "MSM8930 MTP"
872 help
873 Support for the Qualcomm MSM8930 MTP device.
874
875config MACH_MSM8930_FLUID
876 depends on ARCH_MSM8930
877 bool "MSM8930 FLUID"
878 help
879 Support for the Qualcomm MSM8930 FLUID device.
880
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800881config MACH_MSM8627_CDP
882 depends on ARCH_MSM8930
883 bool "MSM8627 CDP"
884 help
885 Support for the Qualcomm MSM8627 CDP device.
886
887config MACH_MSM8627_MTP
888 depends on ARCH_MSM8930
889 bool "MSM8627 MTP"
890 help
891 Support for the Qualcomm MSM8627 MTP device.
892
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700893config MACH_MSM9615_CDP
894 depends on ARCH_MSM9615
895 bool "MSM9615 CDP"
896 help
897 Support for the Qualcomm MSM9615 CDP device.
898
899config MACH_MSM9615_MTP
900 depends on ARCH_MSM9615
901 bool "MSM9615 MTP"
902 help
903 Support for the Qualcomm MSM9615 MTP device.
904
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700905config MSM_USE_TSIF1
906 depends on ARCH_MSM8X60
907 bool "MSM8x60 use TSIF1"
908 help
909 Selects TSIF1 core to be used rather than TSIF0.
910 The two TSIF cores share the same DM configuration
911 so they cannot be used simultaneously.
912
Joel King82b7e3f2012-01-05 10:03:27 -0800913config MACH_APQ8064_CDP
914 depends on ARCH_APQ8064
915 bool "APQ8064 CDP"
916 help
917 Support for the Qualcomm APQ8064 CDP device.
918
919config MACH_APQ8064_MTP
920 depends on ARCH_APQ8064
921 bool "APQ8064 MTP"
922 help
923 Support for the Qualcomm APQ8064 MTP device.
924
925config MACH_APQ8064_LIQUID
926 depends on ARCH_APQ8064
927 bool "APQ8064 LIQUID"
928 help
929 Support for the Qualcomm APQ8064 LIQUID device.
930
Joel King064bbf82012-04-01 13:23:39 -0700931config MACH_MPQ8064_CDP
932 depends on ARCH_APQ8064
933 bool "MPQ8064 CDP"
934 help
935 Support for the Qualcomm MPQ8064 CDP device.
936
Joel King11ca8202012-02-13 16:19:03 -0800937config MACH_MPQ8064_HRD
938 depends on ARCH_APQ8064
939 bool "MPQ8064 HRD"
940 help
941 Support for the Qualcomm MPQ8064 HRD device.
942
943config MACH_MPQ8064_DTV
944 depends on ARCH_APQ8064
945 bool "MPQ8064 DTV"
946 help
947 Support for the Qualcomm MPQ8064 DTV device.
948
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700949config MACH_FSM9XXX_SURF
950 depends on ARCH_FSM9XXX
951 depends on !MSM_STACKED_MEMORY
952 default y
953 bool "FSM9XXX SURF"
954 help
955 Support for the Qualcomm FSM9xxx femtocell
956 chipset based SURF evaluation board and
957 FFA board.
958
Daniel Walker4ad15e62010-05-06 13:54:17 -0700959endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800960
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700961config MSM_STACKED_MEMORY
962 bool "Stacked Memory"
963 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800964 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700965 This option is used to indicate the presence of on-die stacked
966 memory. When present this memory bank is used for a high speed
967 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800968
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700969config PHYS_OFFSET
970 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700971 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700972 default "0x80200000" if ARCH_APQ8064
973 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700974 default "0x80200000" if ARCH_MSM8930
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700975 default "0x00000000" if ARCH_MSM8974
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +0530976 default "0x00000000" if ARCH_MPQ8092
Syed Rameez Mustafa90f80502012-08-23 17:27:24 -0700977 default "0x00000000" if ARCH_MSM8226
Syed Rameez Mustafa02dd1a32012-10-26 11:02:26 -0700978 default "0x00000000" if ARCH_MSM8910
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700979 default "0x10000000" if ARCH_FSM9XXX
Abhimanyu Kapur20ac2ad2012-09-25 04:23:59 -0700980 default "0x00200000" if ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700981 default "0x00200000" if !MSM_STACKED_MEMORY
982 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
983 default "0x20000000" if ARCH_QSD8X50
984 default "0x40200000" if ARCH_MSM8X60
985 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800986
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700987config KERNEL_MSM_CONTIG_MEM_REGION
988 bool "Enable in-kernel contiguous memory region"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700989 default y if ARCH_MSM8X60
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700990 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700991 help
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700992 Enable the in-kernel contiguous memory allocator. Sets up a
993 region of physically contiguous memory. This memory is
994 reserved during initialization, and can be used
995 generically.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700996
997config KERNEL_PMEM_SMI_REGION
998 bool "Enable in-kernel PMEM region for SMI"
999 default y if ARCH_MSM8X60
1000 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
1001 help
1002 Enable the in-kernel PMEM allocator to use SMI memory.
1003
1004config PMEM_GPU0
1005 bool "Enable PMEM GPU0 region"
1006 default y
1007 depends on ARCH_QSD8X50 && ANDROID_PMEM
1008 help
1009 Enable the PMEM GPU0 device on SMI Memory.
1010
1011config MSM_AMSS_VERSION
1012 int
1013 default 6210 if MSM_AMSS_VERSION_6210
1014 default 6220 if MSM_AMSS_VERSION_6220
1015 default 6225 if MSM_AMSS_VERSION_6225
1016
1017choice
1018 prompt "AMSS modem firmware version"
1019
1020 default MSM_AMSS_VERSION_6225
1021
1022 config MSM_AMSS_VERSION_6210
1023 bool "6.2.10"
1024
1025 config MSM_AMSS_VERSION_6220
1026 bool "6.2.20"
1027
1028 config MSM_AMSS_VERSION_6225
1029 bool "6.2.20 + New ADSP"
1030endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -08001031
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001032config MSM_HAS_DEBUG_UART_HS
Daniel Walkerbf83de42010-03-16 16:29:44 -07001033 bool
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001034 help
1035 Say Y here if high speed MSM UART is present.
1036
1037config MSM_HAS_DEBUG_UART_HS_V14
1038 bool
1039 select MSM_HAS_DEBUG_UART_HS
1040 help
1041 Say Y here if high speed MSM UART v1.4 is present.
1042
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301043config MSM_DEBUG_UART_PHYS
1044 hex
1045 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
1046 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
1047 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
1048 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
1049 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
1050 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
1051 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
1052 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
1053
Brian Swetland9e73c842007-11-26 04:12:13 -08001054choice
1055 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001056 depends on DEBUG_LL
Brian Swetland9e73c842007-11-26 04:12:13 -08001057
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001058 config DEBUG_MSM_UART1
1059 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301060 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001061 help
1062 Say Y here if you want the debug print routines to direct
1063 their output to the first serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001064
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001065 config DEBUG_MSM_UART2
1066 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301067 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001068 help
1069 Say Y here if you want the debug print routines to direct
1070 their output to the second serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001071
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001072 config DEBUG_MSM_UART3
1073 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301074 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001075 help
1076 Say Y here if you want the debug print routines to direct
1077 their output to the third serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001078
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001079 config DEBUG_MSM8660_UART
1080 bool "Kernel low-level debugging messages via MSM 8660 UART"
1081 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001082 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001083 help
1084 Say Y here if you want the debug print routines to direct
1085 their output to the serial port on MSM 8660 devices.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001086
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001087 config DEBUG_MSM8960_UART
1088 bool "Kernel low-level debugging messages via MSM 8960 UART"
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001089 depends on ARCH_MSM8960 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001090 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001091 help
1092 Say Y here if you want the debug print routines to direct
1093 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001094
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001095 config DEBUG_MSM8930_UART
1096 bool "Kernel low-level debugging messages via MSM 8930 UART"
1097 depends on ARCH_MSM8930 && DEBUG_LL
1098 select MSM_HAS_DEBUG_UART_HS
1099 help
1100 Say Y here if you want the debug print routines to direct
1101 their output to the serial port on MSM 8930 devices.
1102
1103 config DEBUG_APQ8064_UART
1104 bool "Kernel low-level debugging messages via APQ 8064 UART"
1105 depends on ARCH_APQ8064 && DEBUG_LL
1106 select MSM_HAS_DEBUG_UART_HS
1107 help
1108 Say Y here if you want the debug print routines to direct
1109 their output to the serial port on APQ 8064 devices.
1110
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001111 config DEBUG_MSM8974_UART
1112 bool "Kernel low-level debugging messages via MSM 8974 UART"
1113 depends on ARCH_MSM8974
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001114 select MSM_HAS_DEBUG_UART_HS_V14
1115 help
1116 Say Y here if you want the debug print routines to direct
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001117 their output to the serial port on MSM 8974 devices.
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +05301118
1119 config DEBUG_MPQ8092_UART
1120 bool "Kernel low-level debugging messages via MPQ8092 UART"
1121 depends on ARCH_MPQ8092
1122 select MSM_HAS_DEBUG_UART_HS_V14
1123 help
1124 Say Y here if you want the debug print routines to direct
1125 their output to the serial port on MPQ8092 devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001126endchoice
Brian Swetland9e73c842007-11-26 04:12:13 -08001127
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001128choice
1129 prompt "Default Timer"
1130 default MSM7X00A_USE_GP_TIMER
1131
1132 config MSM7X00A_USE_GP_TIMER
1133 bool "GP Timer"
1134 help
1135 Low resolution timer that allows power collapse from idle.
1136
1137 config MSM7X00A_USE_DG_TIMER
1138 bool "DG Timer"
1139 help
1140 High resolution timer.
1141endchoice
1142
1143choice
1144 prompt "Suspend sleep mode"
1145 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1146 help
1147 Allows overriding the sleep mode used. Leave at power
1148 collapse suspend unless the arm9 image has problems.
1149
1150 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1151 bool "Power collapse suspend"
1152 help
1153 Lowest sleep state. Returns through reset vector.
1154
1155 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1156 bool "Power collapse"
1157 help
1158 Sleep state that returns through reset vector.
1159
1160 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1161 bool "Apps Sleep"
1162
1163 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1164 bool "Ramp down cpu clock and wait for interrupt"
1165
1166 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1167 bool "Wait for interrupt"
1168endchoice
1169
1170config MSM7X00A_SLEEP_MODE
1171 int
1172 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1173 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1174 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1175 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1176 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1177
1178choice
1179 prompt "Idle sleep mode"
1180 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1181 help
1182 Allows overriding the sleep mode used from idle. Leave at power
1183 collapse suspend unless the arm9 image has problems.
1184
1185 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1186 bool "Power collapse suspend"
1187 help
1188 Lowest sleep state. Returns through reset vector.
1189
1190 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1191 bool "Power collapse"
1192 help
1193 Sleep state that returns through reset vector.
1194
1195 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1196 bool "Apps Sleep"
1197
1198 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1199 bool "Ramp down cpu clock and wait for interrupt"
1200
1201 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1202 bool "Wait for interrupt"
1203endchoice
1204
1205config MSM7X00A_IDLE_SLEEP_MODE
1206 int
1207 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1208 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1209 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1210 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1211 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1212
1213config MSM7X00A_IDLE_SLEEP_MIN_TIME
1214 int "Minimum idle time before sleep"
1215 default 20000000
1216 help
1217 Minimum idle time in nanoseconds before entering low power mode.
1218
1219config MSM7X00A_IDLE_SPIN_TIME
1220 int "Idle spin time before cpu ramp down"
1221 default 80000
1222 help
1223 Spin time in nanoseconds before ramping down cpu clock and entering
1224 any low power state.
1225
1226menuconfig MSM_IDLE_STATS
1227 bool "Collect idle statistics"
1228 default y
1229 help
1230 Collect idle statistics and export them in proc/msm_pm_stats.
1231
1232if MSM_IDLE_STATS
1233
1234config MSM_IDLE_STATS_FIRST_BUCKET
1235 int "First bucket time"
1236 default 62500
1237 help
1238 Upper time limit in nanoseconds of first bucket.
1239
1240config MSM_IDLE_STATS_BUCKET_SHIFT
1241 int "Bucket shift"
1242 default 2
1243
1244config MSM_IDLE_STATS_BUCKET_COUNT
1245 int "Bucket count"
1246 default 10
1247
1248config MSM_SUSPEND_STATS_FIRST_BUCKET
1249 int "First bucket time for suspend"
1250 default 1000000000
1251 help
1252 Upper time limit in nanoseconds of first bucket of the
1253 histogram. This is for collecting statistics on suspend.
1254
1255endif # MSM_IDLE_STATS
1256
1257config CPU_HAS_L2_PMU
1258 bool "L2CC PMU Support"
1259 help
1260 Select this if the L2 cache controller has a Performance Monitoring Unit.
1261
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001262config HTC_HEADSET
1263 tristate "HTC 2 Wire detection driver"
1264 default n
1265 help
1266 Provides support for detecting HTC 2 wire devices, such as wired
1267 headset, on the trout platform. Can be used with the msm serial
1268 debugger, but not with serial console.
1269
1270config TROUT_BATTCHG
1271 depends on MACH_TROUT && POWER_SUPPLY
1272 default y
1273 bool "Trout battery / charger driver"
1274
1275config HTC_PWRSINK
1276 depends on MSM_SMD
1277 default n
1278 bool "HTC Power Sink Driver"
1279
1280config QSD_SVS
1281 bool "QSD Static Voltage Scaling"
1282 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1283 default y
1284 select TPS65023
1285 help
1286 Enables static voltage scaling using the TPS65023 PMIC.
1287
1288config QSD_PMIC_DEFAULT_DCDC1
1289 int "PMIC default output voltage"
1290 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1291 default 1250
1292 help
1293 This is the PMIC voltage at Linux kernel boot.
1294
1295config MSM_FIQ_SUPPORT
1296 default y
1297 bool "Enable installation of an FIQ handler."
1298
1299config MSM_SERIAL_DEBUGGER
1300 select MSM_FIQ_SUPPORT
1301 select KERNEL_DEBUGGER_CORE
1302 default n
1303 bool "FIQ Mode Serial Debugger"
1304 help
1305 The FIQ serial debugger can accept commands even when the
1306 kernel is unresponsive due to being stuck with interrupts
1307 disabled. Depends on the kernel debugger core in drivers/misc.
1308
1309config MSM_SERIAL_DEBUGGER_CONSOLE
1310 depends on MSM_SERIAL_DEBUGGER
1311 default n
1312 bool "Console on FIQ Serial Debugger port"
1313 help
1314 Enables a console so that printk messages are displayed on
1315 the debugger serial port as the occur.
Brian Swetland9e73c842007-11-26 04:12:13 -08001316
Gregory Beanab78cde2010-09-01 16:26:12 -07001317config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001318 default y
1319 bool "Proc-Comm RPC Interface"
1320 help
1321 Enables a lightweight communications interface to the
1322 baseband processor.
Gregory Beanab78cde2010-09-01 16:26:12 -07001323
Gregory Bean1963a2a2010-08-28 10:05:44 -07001324config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001325 bool "MSM Shared Memory Driver (SMD)"
1326 help
1327 Support for the shared memory interface between the apps
1328 processor and the baseband processor. Provides access to
1329 the "shared heap", as well as virtual serial channels
1330 used to communicate with various services on the baseband
1331 processor.
1332
1333choice
1334 prompt "MSM Shared memory interface version"
1335 depends on MSM_SMD
1336 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1337 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1338
1339 config MSM_SMD_PKG3
1340 bool
1341 prompt "Package 3"
1342
1343 config MSM_SMD_PKG4
1344 bool
1345 prompt "Package 4"
1346endchoice
1347
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001348config MSM_PCIE
1349 bool "MSM PCIe Controller driver"
1350 depends on PCI && PCI_MSI
1351 help
1352 Enables the PCIe functionality by configures PCIe core on
1353 MSM chipset and by enabling the ARM PCI framework extension.
1354
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001355config MSM_RPC_SDIO_XPRT
1356 depends on MSM_SDIO_AL
1357 default y
1358 bool "MSM SDIO XPRT Layer"
1359 help
1360 SDIO Transport Layer for RPC Rouer
1361
1362config MSM_RPC_SDIO_DEBUG
1363 depends on MSM_RPC_SDIO_XPRT
1364 default y
1365 bool "MSM SDIO XPRT debug support"
1366 help
1367 Support for debugging SDIO XPRT
1368
1369config MSM_SMD_DEBUG
1370 depends on MSM_SMD
1371 default y
1372 bool "MSM SMD debug support"
1373 help
1374 Support for debugging the SMD for communication
1375 between the ARM9 and ARM11
1376
1377config MSM_SDIO_AL
1378 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1379 default y
1380 tristate "SDIO-Abstraction-Layer"
1381 help
1382 Support MSM<->MDM Communication over SDIO bus.
1383 MDM SDIO-Client should have pipes support.
1384
1385config MSM_SDIO_DMUX
1386 bool "SDIO Data Mux Driver"
1387 depends on MSM_SDIO_AL
1388 default n
1389 help
1390 Support Muxed Data Channels over SDIO interface.
1391
1392config MSM_BAM_DMUX
1393 bool "BAM Data Mux Driver"
1394 depends on SPS
1395 default n
1396 help
1397 Support Muxed Data Channels over BAM interface.
1398 BAM has a limited number of pipes. This driver
1399 provides a means to support more logical channels
1400 via muxing than BAM could without muxing.
1401
1402config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001403 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001404 default y
1405 bool "MSM N-WAY SMD support"
1406 help
1407 Supports APPS-QDSP SMD communication along with
1408 normal APPS-MODEM SMD communication.
1409
1410config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001411 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001412 default y
1413 bool "MSM N-WAY SMSM support"
1414 help
1415 Supports APPS-QDSP SMSM communication along with
1416 normal APPS-MODEM SMSM communication.
1417
1418config MSM_RESET_MODEM
1419 tristate "Reset Modem Driver"
1420 depends on MSM_SMD
1421 default m
1422 help
1423 Allows the user to reset the modem through a device node.
1424
1425config MSM_SMD_LOGGING
1426 depends on MSM_SMD
1427 default y
1428 bool "MSM Shared Memory Logger"
1429 help
1430 This option exposes the shared memory logger at /dev/smem_log
1431 and a debugfs node named smem_log.
1432
1433 If in doubt, say yes.
1434
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001435config MSM_IPC_LOGGING
1436 bool "MSM Debug Logging for IPC Drivers"
1437 help
1438 This option allows the debug logging for IPC Drivers.
1439
1440 If in doubt, say no.
1441
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001442config MSM_SMD_NMEA
1443 bool "NMEA GPS Driver"
1444 depends on MSM_SMD
1445 default y
1446 help
1447 Enable this to support the NMEA GPS device.
1448
1449 If in doubt, say yes.
1450
1451config MSM_SDIO_TTY
1452 bool "SDIO TTY Driver"
1453 depends on MSM_SDIO_AL
1454 default n
1455 help
1456 Provides a TTY driver SDIO TTY
1457 This driver can be used by user space
1458 applications for passing data through the
1459 SDIO interface.
1460
1461config MSM_SMD_TTY
1462 bool "SMD TTY Driver"
1463 depends on MSM_SMD
1464 default y
1465 help
1466 Provides TTY interfaces to interact with the modem.
1467
1468 If in doubt, say yes.
1469
1470config MSM_SMD_QMI
1471 bool "SMD QMI Driver"
1472 depends on MSM_SMD
1473 default y
1474 help
1475 Manages network data connections.
1476
1477 If in doubt, say yes.
1478
1479config MSM_SMD_PKT
1480 bool "SMD Packet Driver"
1481 depends on MSM_SMD
1482 default y
1483 help
1484 Provides a binary SMD non-muxed packet port interface.
1485
1486 If in doubt, say yes.
1487
1488config MSM_SDIO_CMUX
1489 bool "SDIO CMUX Driver"
1490 depends on MSM_SDIO_AL
1491 default n
1492 help
1493 Provides a Muxed port interface over SDIO QMI
1494
1495config MSM_DSPS
1496 bool "Sensors DSPS driver"
1497 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1498 default n
1499 help
1500 Provides user-space interface to the sensors manager
1501 to turn on/off the Sensors Processor system clocks.
1502 It is the DSPS responsibility to turn on/off the sensors
1503 themself.
1504 The number of clocks and their name may vary between targets.
1505 It also triggers the PIL to load the DSPS firmware.
1506
1507config MSM_SDIO_CTL
1508 bool "SDIO CTL Driver"
1509 depends on MSM_SDIO_CMUX
1510 default n
1511 help
1512 Provides a binary SDIO control port interface.
1513
1514config MSM_ONCRPCROUTER
1515 depends on MSM_SMD
1516 default n
1517 bool "MSM ONCRPC router support"
1518 help
1519 Support for the MSM ONCRPC router for communication between
1520 the ARM9 and ARM11
1521
1522config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001523 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001524 default n
1525 bool "MSM IPC Router support"
1526 help
1527 Support for the MSM IPC Router for communication between
1528 the APPs and the MODEM
1529
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001530config MSM_IPC_ROUTER_SMD_XPRT
1531 depends on MSM_SMD
1532 depends on MSM_IPC_ROUTER
1533 default n
1534 bool "MSM SMD XPRT Layer"
1535 help
1536 SMD Transport Layer for IPC Router
1537
Karthikeyan Ramasubramanianfec77ff2012-10-26 20:03:26 -06001538config MSM_QMI_INTERFACE
1539 depends on MSM_IPC_ROUTER
1540 depends on QMI_ENCDEC
1541 default n
1542 bool "MSM QMI Interface Library"
1543 help
1544 Library to send and receive QMI messages over IPC Router.
1545 This library provides interface functions to the kernel drivers
1546 to perform QMI message marshaling and transport them over IPC
1547 Router.
1548
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001549config MSM_ONCRPCROUTER_DEBUG
1550 depends on MSM_ONCRPCROUTER
1551 default y
1552 bool "MSM debug ONCRPC router support"
1553 help
1554 Support for debugging the ONCRPC router for communication
1555 between the ARM9 and ARM11
1556
1557config MSM_RPC_LOOPBACK_XPRT
1558 depends on MSM_ONCRPCROUTER
1559 default n
1560 bool "MSM RPC local routing support"
1561 help
1562 Support for routing RPC messages between APPS clients
1563 and APPS servers. Helps in testing APPS RPC framework.
1564
1565config MSM_RPCSERVER_TIME_REMOTE
1566 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1567 default y
1568 bool "Time remote RPC server"
1569 help
1570 The time remote server receives notification of time bases and
1571 reports these events to registered callback functions.
1572
1573config MSM_RPCSERVER_WATCHDOG
1574 depends on MSM_ONCRPCROUTER
1575 default y
1576 bool "Watchdog RPC server"
1577 help
1578 The dog_keepalive server handles watchdog events.
1579
1580config MSM_RPC_WATCHDOG
1581 depends on MSM_ONCRPCROUTER
1582 default n
1583 bool "Watchdog RPC client"
1584 help
1585 The dog_keepalive client module.
1586
1587config MSM_RPC_PING
1588 depends on MSM_ONCRPCROUTER && DEBUG_FS
1589 default m
1590 bool "MSM rpc ping"
1591 help
1592 Implements MSM rpc ping test module.
1593
1594config MSM_RPC_PROC_COMM_TEST
1595 depends on DEBUG_FS && MSM_PROC_COMM
1596 default m
1597 bool "MSM rpc proc comm test"
1598 help
1599 Implements MSM rpc proc comm test module.
1600
1601config MSM_RPC_OEM_RAPI
1602 depends on MSM_ONCRPCROUTER
1603 default m
1604 bool "MSM oem rapi"
1605 help
1606 Implements MSM oem rapi client module.
1607
1608config MSM_RPCSERVER_HANDSET
1609 depends on MSM_ONCRPCROUTER
1610 default y
1611 bool "Handset events RPC server"
1612 help
1613 Support for receiving handset events like headset detect,
1614 headset switch and clamshell state.
1615
1616config MSM_RMT_STORAGE_CLIENT
1617 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1618 default n
1619 bool "Remote Storage RPC client"
1620 help
1621 Provide RPC mechanism for remote processors to access storage
1622 device on apps processor.
1623
1624config MSM_RMT_STORAGE_CLIENT_STATS
1625 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1626 default n
1627 bool "Remote storage RPC client performance statistics"
1628 help
1629 Collects performance statistics and shows this information
1630 through a debugfs file rmt_storage_stats.
1631
1632config MSM_SDIO_SMEM
1633 depends on MSM_SDIO_AL
1634 default n
1635 bool "SDIO SMEM for remote storage"
1636 help
1637 Copies data from remote MDM9K memory to local MSM8x60
1638 memory. Used by remote storage client to shadow
1639 MDM9K filesystem.
1640
1641config MSM_DALRPC
1642 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001643 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001644 help
1645 Supports RPC calls to DAL devices on remote processor cores.
1646
1647config MSM_DALRPC_TEST
1648 tristate "DAL RPC test module"
1649 depends on (MSM_DALRPC && DEBUG_FS)
1650 default m
1651 help
1652 Exercises DAL RPC calls to QDSP6.
1653
1654if CPU_FREQ_MSM
1655
1656config MSM_CPU_FREQ_SET_MIN_MAX
1657 bool "Set Min/Max CPU frequencies."
1658 default n
1659 help
1660 Allow setting min and max CPU frequencies. Sysfs can be used
1661 to override these values.
1662
1663config MSM_CPU_FREQ_MAX
1664 int "Max CPU Frequency"
1665 depends on MSM_CPU_FREQ_SET_MIN_MAX
1666 default 384000
1667
1668config MSM_CPU_FREQ_MIN
1669 int "Min CPU Frequency"
1670 depends on MSM_CPU_FREQ_SET_MIN_MAX
1671 default 245760
1672
1673endif # CPU_FREQ_MSM
1674
1675config MSM_CPU_AVS
1676 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1677 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1678 depends on ARCH_QSD8X50
1679 default n
1680 select MSM_AVS_HW
1681 help
1682 This enables the s/w control of Adaptive Voltage Scaling feature
1683 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1684 based on feedback from three ring oscillators in the CPU.
1685
1686config MSM_AVS_HW
1687 bool "Enable Adaptive Voltage Scaling (AVS)"
1688 default n
1689 help
1690 Enable AVS hardware to fine tune voltage at each frequency. The
1691 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1692 fine tune the voltages based on the feedback from the ring
1693 oscillators.
1694
1695config MSM_HW3D
1696 tristate "MSM Hardware 3D Register Driver"
1697 depends on ANDROID_PMEM
1698 default y
1699 help
1700 Provides access to registers needed by the userspace OpenGL|ES
1701 library.
1702
1703config MSM_ADSP
1704 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1705 tristate "MSM ADSP driver"
1706 depends on ANDROID_PMEM
1707 default y
1708 help
1709 Provides access to registers needed by the userspace aDSP library.
1710
1711config ADSP_RPC_VER
1712 hex
1713 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1714 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1715 depends on MSM_ADSP
1716 help
1717 Select proper ADSP RPC version
1718choice
1719 prompt "ADSP RPC version"
1720
1721 default AMSS_7X25_VERSION_2009
1722
1723 config AMSS_7X25_VERSION_2009
1724 bool "2.0.09"
1725
1726 config AMSS_7X25_VERSION_2008
1727 bool "2.0.08"
1728endchoice
1729
1730config MSM7KV2_AUDIO
1731 bool "MSM7K v2 audio"
1732 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1733 default y
1734 help
1735 Enables QDSP5V2-based audio drivers for audio playbacks and
1736 voice call.
1737
1738config MSM_ADSP_REPORT_EVENTS
1739 bool "Report modem events from the DSP"
1740 default y
1741 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1742 help
1743 Normally, only messages from the aDSP are reported to userspace.
1744 With this option, we report events from the aDSP as well.
1745
1746config MSM_QDSP6
1747 tristate "QDSP6 support"
1748 depends on ARCH_QSD8X50 && ANDROID_PMEM
1749 default y
1750 help
1751 Enable support for qdsp6. This provides audio and video functionality.
1752
1753config MSM8X60_AUDIO
1754 tristate "MSM8X60 audio support"
1755 depends on ARCH_MSM8X60 && ANDROID_PMEM
1756 default y
1757 help
1758 Enable support for qdsp6v2. This provides audio functionality.
1759
1760config MSM8X60_FTM_AUDIO_DEVICES
1761 bool "MSM8X60 audio factory test mode support"
1762 depends on MSM8X60_AUDIO
1763 help
1764 Enable support audio factory test mode devices. This is used
1765 in a production line environment.
1766
Ben Romberger45b351c2011-07-20 22:37:27 -07001767config RTAC
1768 bool "MSM8K real-time audio calibration support"
1769 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001770 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001771 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001772 audio operation
1773
1774config MSM7X27A_AUDIO
1775 bool "MSM7X27A audio support"
1776 depends on ARCH_MSM7X27A && MSM_ADSP
1777 default n
1778 help
1779 Enable support for 7x27a. This provides audio functionality.
1780
Justin Pauporea6cd2092011-06-22 16:19:45 -07001781config MSM_PROC_COMM_REGULATOR
Gregory Bean1963a2a2010-08-28 10:05:44 -07001782 bool
Justin Pauporea6cd2092011-06-22 16:19:45 -07001783 depends on MSM_PROC_COMM && REGULATOR
1784 help
1785 Enable regulator framework support for regulators managed by PMLIB
1786 on the modem, and controlled through proccomm calls.
1787
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001788config MSM_VREG_SWITCH_INVERTED
1789 bool "Reverse vreg switch polarity"
1790 default n
1791 help
1792 Reverses the enable and disable for vreg switch.
1793
1794config MSM_DMA_TEST
1795 tristate "MSM DMA test module"
1796 default m
1797 help
1798 Intended to be compiled as a module. Provides a device node
1799 and ioctls for testing the MSM dma system.
1800
1801config WIFI_CONTROL_FUNC
1802 bool "Enable WiFi control function abstraction"
1803 help
1804 Enables Power/Reset/Carddetect function abstraction
1805
1806config WIFI_MEM_PREALLOC
1807 depends on WIFI_CONTROL_FUNC
1808 bool "Preallocate memory for WiFi buffers"
1809 help
1810 Preallocates memory buffers for WiFi driver
1811
1812config QSD_AUDIO
1813 bool "QSD audio"
1814 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1815 default y
1816 help
1817 Provides PCM, MP3, and AAC audio playback.
1818
1819config AUDIO_AAC_PLUS
1820 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1821 bool "AAC+ Audio"
1822 default y
1823 help
1824 Provides AAC+ decoding
1825
1826config AUDIO_ENHANCED_AAC_PLUS
1827 depends on AUDIO_AAC_PLUS
1828 bool "Enhanced AAC+ Audio"
1829 default y
1830 help
1831 Provides Enhanced AAC+ decoding
1832
1833config SURF_FFA_GPIO_KEYPAD
1834 bool "MSM SURF/FFA GPIO keypad"
1835 depends on INPUT_GPIO = "y"
1836 default y
1837 help
1838 Select if the GPIO keypad is attached.
1839
1840config MSM_SLEEP_TIME_OVERRIDE
1841 bool "Allow overriding suspend/sleep time with PM module parameter"
1842 default y
1843 help
1844 Enable the module parameter sleep_time_override. Specified
1845 in units of seconds, it overwrites the normal sleep time of
1846 suspend. The feature is required for automated power management
1847 testing.
1848
1849config MSM_MEMORY_LOW_POWER_MODE
1850 bool "Control the low power modes of memory"
1851 default n
1852 help
1853 The application processor controls whether memory should enter
1854 which low power mode.
1855
1856choice
1857 prompt "Default Memory Low Power Mode during Idle"
1858 depends on MSM_MEMORY_LOW_POWER_MODE
1859 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1860 help
1861 Selects the default low power mode of the memory during idle
1862 sleep.
1863
1864 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1865 bool "Memory active"
1866
1867 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1868 bool "Memory in retention"
1869
1870 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1871 bool "Memory in deep power down"
1872endchoice
1873
1874choice
1875 prompt "Default Memory Low Power Mode during Suspend"
1876 depends on MSM_MEMORY_LOW_POWER_MODE
1877 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1878 help
1879 Selects the default low power mode of the memory during suspend
1880 sleep.
1881
1882 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1883 bool "Memory active"
1884
1885 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1886 bool "Memory in retention"
1887
1888 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1889 bool "Memory in deep power down"
1890endchoice
1891
1892choice
1893 prompt "Power management timeout action"
1894 default MSM_PM_TIMEOUT_HALT
1895 help
1896 Selects the Application Processor's action when Power Management
1897 times out waiting for Modem's handshake.
1898
1899 config MSM_PM_TIMEOUT_HALT
1900 bool "Halt the Application Processor"
1901
1902 config MSM_PM_TIMEOUT_RESET_MODEM
1903 bool "Reset the Modem Processor"
1904
1905 config MSM_PM_TIMEOUT_RESET_CHIP
1906 bool "Reset the entire chip"
1907endchoice
1908
1909config MSM_IDLE_WAIT_ON_MODEM
1910 int "Wait for Modem to become ready for idle power collapse"
1911 default 0
1912 help
1913 If Modem is not ready to handle Application Processor's request
1914 for idle power collapse, wait the number of microseconds in case
1915 Modem becomes ready soon.
1916
Matt Wagantall9274df92011-12-15 11:11:05 -08001917config MSM_RPM_REGULATOR
1918 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001919 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001920 help
1921 Compile in support for the RPM regulator driver, used for setting
1922 voltages and other parameters of the various power rails supplied
1923 by some Qualcomm PMICs.
1924
David Collinsc7642322012-04-04 10:19:12 -07001925config MSM_RPM_REGULATOR_SMD
1926 bool "SMD RPM regulator driver"
1927 depends on REGULATOR
1928 depends on OF
1929 depends on MSM_RPM_SMD
1930 help
1931 Compile in support for the SMD RPM regulator driver which is used for
1932 setting voltages and other parameters of the various power rails
1933 supplied by some Qualcomm PMICs. The SMD RPM regulator driver should
1934 be used on systems which contain an RPM which communicates with the
1935 application processor over SMD.
1936
Stephen Boyd01710582012-07-09 13:40:05 -07001937config MSM_SUBSYSTEM_RESTART
1938 bool "MSM Subsystem Restart"
1939 help
1940 This option enables the MSM subsystem restart framework.
1941
1942 The MSM subsystem restart framework provides support to boot,
1943 shutdown, and restart subsystems with a reference counted API.
1944 It also notifies userspace of transitions between these states via
1945 sysfs.
1946
1947config MSM_SYSMON_COMM
1948 bool "MSM System Monitor communication support"
1949 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1950 help
1951 This option adds support for MSM System Monitor library, which
1952 provides an API that may be used for notifying subsystems within
1953 the SoC about other subsystems' power-up/down state-changes.
1954
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001955config MSM_PIL
1956 bool "Peripheral image loading"
1957 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001958 default n
1959 help
1960 Some peripherals need to be loaded into memory before they can be
1961 brought out of reset.
1962
1963 Say yes to support these devices.
1964
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001965config MSM_PIL_MODEM
1966 tristate "Modem (ARM11) Boot Support"
Stephen Boyd3ac20732012-05-03 18:46:08 -07001967 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001968 help
1969 Support for booting and shutting down ARM11 Modem processors.
1970
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001971config MSM_PIL_QDSP6V3
1972 tristate "QDSP6v3 (Hexagon) Boot Support"
Stephen Boyd2e19d932012-05-09 17:36:04 -07001973 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001974 help
1975 Support for booting and shutting down QDSP6v3 processors (hexagon).
1976 The QDSP6 is a low power DSP used in audio software applications.
1977
Stephen Boydbdb53f32012-06-05 18:39:47 -07001978config MSM_PIL_LPASS_QDSP6V4
1979 tristate "LPASS QDSP6v4 (Hexagon) Boot Support"
Stephen Boyda1cf76b2012-06-13 12:05:35 -07001980 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydeb819882011-08-29 14:46:30 -07001981 help
Stephen Boydbdb53f32012-06-05 18:39:47 -07001982 Support for booting and shutting down QDSP6v4 processors (hexagon)
1983 in low power audio subsystems. If you would like to record or
1984 play audio then say Y here.
1985
1986 If unsure, say N.
1987
1988config MSM_PIL_MODEM_QDSP6V4
1989 tristate "Modem QDSP6v4 (Hexagon) Boot Support"
Stephen Boyd2efa9962012-06-12 14:20:12 -07001990 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydbdb53f32012-06-05 18:39:47 -07001991 help
1992 Support for booting and shutting down QDSP6v4 processors (hexagon)
1993 in modem subsystems. If you would like to make or receive phone
1994 calls then say Y here.
1995
1996 If unsure, say N.
Stephen Boydeb819882011-08-29 14:46:30 -07001997
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001998config MSM_PIL_LPASS_QDSP6V5
Stephen Boyd633eb622012-06-13 12:05:35 -07001999 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
2000 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
2001 help
2002 Support for booting and shutting down QDSP6v5 (Hexagon) processors
2003 in low power audio subsystems. This driver also monitors the ADSP
2004 SMSM status bits and the ADSP's watchdog interrupt and restarts the
2005 ADSP if the processor encounters a fatal error.
Matt Wagantall4e2599e2012-03-21 22:31:35 -07002006
2007config MSM_PIL_MSS_QDSP6V5
Stephen Boyd3da4fd02012-07-06 10:00:12 -07002008 tristate "MSS QDSP6v5 (Hexagon) Boot Support"
2009 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantalle6e00d52012-03-08 17:39:07 -08002010 help
Stephen Boyd3da4fd02012-07-06 10:00:12 -07002011 Support for booting and shutting down QDSP6v5 (Hexagon) processors
2012 in modem subsystems. If you would like to make or receive phone
2013 calls then say Y here.
2014
2015 If unsure, say N.
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07002016
Stephen Boyd322a9922011-09-20 01:05:54 -07002017config MSM_PIL_RIVA
2018 tristate "RIVA (WCNSS) Boot Support"
Stephen Boydfdec00d2012-05-10 17:04:49 -07002019 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd322a9922011-09-20 01:05:54 -07002020 help
2021 Support for booting and shutting down the RIVA processor (WCNSS).
2022 Riva is the wireless subsystem processor used in bluetooth, wireless
2023 LAN, and FM software applications.
2024
Stephen Boydd89eebe2011-09-28 23:28:11 -07002025config MSM_PIL_TZAPPS
2026 tristate "TZApps Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002027 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boydd89eebe2011-09-28 23:28:11 -07002028 help
2029 Support for booting and shutting down TZApps.
2030
2031 TZApps is an image that runs in the secure processor state. It is
2032 used to decrypt data and perform secure operations on the behalf of
2033 the kernel.
2034
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07002035config MSM_PIL_DSPS
2036 tristate "DSPS Boot Support"
Stephen Boydf169b4b2012-05-10 17:55:55 -07002037 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07002038 help
2039 Support for booting and shutting down ARM7 DSPS processors.
2040
2041 DSPS is a sensors offloading processor used for applications such
2042 as rotation detection, temperature, etc.
2043
Stephen Boyd7b973de2012-03-09 12:26:16 -08002044config MSM_PIL_VIDC
2045 tristate "Video Core Secure Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002046 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd7b973de2012-03-09 12:26:16 -08002047 help
2048 Support for authenticating the video core image.
2049
Tianyi Gou828798d2012-05-02 21:12:38 -07002050config MSM_PIL_VENUS
2051 tristate "VENUS (Video) Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002052 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Tianyi Gou828798d2012-05-02 21:12:38 -07002053 help
2054 Support for booting and shutting down the VENUS processor (Video).
2055 Venus is the Video subsystem processor used for video codecs.
2056
Matt Wagantall292aace2012-01-26 19:12:34 -08002057config MSM_PIL_GSS
Stephen Boydd86214b2012-05-10 15:26:35 -07002058 tristate "GSS (Cortex A5) Boot Support"
2059 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantall292aace2012-01-26 19:12:34 -08002060 help
2061 Support for booting and shutting down Cortex A5 processors which run
2062 GPS subsystem firmware.
2063
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002064config MSM_PIL_PRONTO
2065 tristate "PRONTO (WCNSS) Boot Support"
Stephen Boyd581fe852012-06-13 12:05:35 -07002066 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002067 help
2068 Support for booting and shutting down the PRONTO processor (WCNSS).
2069 PRONTO is the wireless subsystem processor used in bluetooth, wireless
2070 LAN, and FM software applications.
2071
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002072config MSM_SCM
2073 bool "Secure Channel Manager (SCM) support"
2074 default n
2075
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002076config SCORPION_Uni_45nm_BUG
2077 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
2078 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
2079 default y
2080 help
2081 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
2082 invalidating the Branch Predictor Array by Modified Virtual Address can
2083 create invalid entries in the TLB with the wrong ASID values on Scorpion
2084 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
2085 workaround for Scorpion Uniprocessor 45nm cores.
2086
2087 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
2088
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002089config MSM_BUSPM_DEV
2090 tristate "MSM Bus Performance Monitor Kernel Module"
2091 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
2092 default m
2093 help
2094 This kernel module is used to mmap() hardware registers for the
2095 performance monitors, counters, etc. The module can also be used to
2096 allocate physical memory which is used by bus performance hardware to
2097 dump performance data.
2098
Mona Hossain11c03ac2011-10-26 12:42:10 -07002099config MSM_TZ_LOG
2100 tristate "MSM Trust Zone (TZ) Log Driver"
2101 depends on DEBUG_FS
2102 help
2103 This option enables a driver with a debugfs interface for messages
2104 produced by the Secure code (Trust zone). These messages provide
2105 diagnostic information about TZ operation.
2106
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002107config MSM_RPM_LOG
2108 tristate "MSM Resource Power Manager Log Driver"
2109 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002110 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002111 default n
2112 help
2113 This option enables a driver which can read from a circular buffer
2114 of messages produced by the RPM. These messages provide diagnostic
2115 information about RPM operation. The driver outputs the messages
2116 via a debugfs node.
2117
2118config MSM_RPM_STATS_LOG
2119 tristate "MSM Resource Power Manager Stat Driver"
2120 depends on DEBUG_FS
Priyanka Mathur1af9d4b2012-10-30 14:55:44 -07002121 depends on MSM_RPM || MSM_RPM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002122 default n
2123 help
2124 This option enables a driver which reads RPM messages from a shared
2125 memory location. These messages provide statistical information about
2126 the low power modes that RPM enters. The drivers outputs the message
2127 via a debugfs node.
2128
Girish Mahadevan898c56d2012-06-05 16:09:19 -06002129config MSM_RPM_RBCPR_STATS_LOG
2130 tristate "MSM Resource Power Manager RPBCPR Stat Driver"
2131 depends on DEBUG_FS
2132 depends on MSM_RPM
2133 help
2134 This option enables a driver which reads RPM messages from a shared
2135 memory location. These messages provide statistical information about
2136 RBCPR (Rapid Bridge Core Power Reduction) information . The drivers
2137 outputs the message via a debugfs node.
2138
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002139config MSM_DIRECT_SCLK_ACCESS
2140 bool "Direct access to the SCLK timer"
2141 default n
2142
2143config IOMMU_API
2144 bool
Gregory Bean1963a2a2010-08-28 10:05:44 -07002145
Brian Swetland9e73c842007-11-26 04:12:13 -08002146config MSM_GPIOMUX
2147 bool
2148
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002149config MSM_SECURE_IO
Brian Swetland9e73c842007-11-26 04:12:13 -08002150 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002151
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002152config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002153 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002154
Taniya Dascd1d0232012-07-03 17:50:47 +05302155config MSM_MODEM_RESTART
2156 bool
2157
Matt Wagantall88b86312012-01-31 16:53:03 -08002158config MSM_PM2
2159 depends on PM
2160 bool
2161
2162config MSM_PM8X60
2163 depends on PM
2164 bool
2165
Girish Mahadevan388c3082012-09-10 15:30:36 -06002166config MSM_EVENT_TIMER
2167 bool "Event timer"
2168 help
2169 This option enables a modules that manages a list of event timers that
2170 need to be monitored by the PM. The enables the PM code to monitor
2171 events that require the core to be awake and ready to handle the
2172 event.
2173
Matt Wagantall88b86312012-01-31 16:53:03 -08002174config MSM_NOPM
2175 default y if !PM
2176 bool
2177
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002178config MSM_BUS_SCALING
2179 bool "Bus scaling driver"
2180 default n
2181
Gagan Mac85c70492011-06-10 16:07:47 -06002182config MSM_BUS_RPM_MULTI_TIER_ENABLED
2183 bool "RPM Multi-tiering Configuration"
2184 depends on MSM_BUS_SCALING
2185
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002186config MSM_WATCHDOG
2187 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002188 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002189 help
2190 This enables the watchdog as is present on 8x60. Currently we use
2191 core 0's watchdog, and reset the entire SoC if it times out. It does
2192 not run during the bootup process, so it will not catch any early
2193 lockups.
2194
Hanumant Singhd1f01022012-07-05 14:21:53 -07002195config MSM_WATCHDOG_V2
2196 bool "MSM Watchdog Support"
2197 help
2198 This enables the watchdog module. It causes kernel panic if the
2199 watchdog times out. It allows for detection of cpu hangs and
2200 deadlocks. It does not run during the bootup process, so it will
2201 not catch any early lockups.
2202
Hanumant Singh5e2541c2012-07-31 14:41:14 -07002203config MSM_MEMORY_DUMP
2204 bool "MSM Memory Dump Support"
2205 help
2206 This enables memory dump feature. It allows various client
2207 subsystems to register respective dump regions. At the time
2208 of deadlocks or cpu hangs these dump regions are captured to
2209 give a snapshot of the system at the time of the crash.
2210
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002211config MSM_DLOAD_MODE
2212 bool "Enable download mode on crashes"
Abhimanyu Kapurdd7f2692012-10-22 13:43:52 -07002213 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_MSM8974 || ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002214 default n
2215 help
2216 This makes the SoC enter download mode when it resets
2217 due to a kernel panic. Note that this doesn't by itself
2218 make the kernel reboot on a kernel panic - that must be
2219 enabled via another mechanism.
2220
Pratik Patel17f3b822011-11-21 12:41:47 -08002221config MSM_JTAG
Pratik Patel2963de42012-05-17 12:43:40 -07002222 bool "JTAG and kernel debug and trace support across power collapse"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002223 help
Pratik Patel2963de42012-05-17 12:43:40 -07002224 Enables support for kernel debugging (specifically breakpoints) and
2225 processor tracing across power collapse both for JTag and OS hosted
2226 software running on the target. Enabling this will ensure debug
2227 and ETM registers are saved and restored across power collapse.
2228
2229 For production builds, you should probably say 'N' here to avoid
2230 potential power, performance and memory penalty.
Pratik Patel7831c082011-06-08 21:44:37 -07002231
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002232config MSM_ETM
2233 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002234 depends on ARCH_MSM8X60
2235 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002236 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002237 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002238
Lynus Vazdde09ee2012-01-05 13:28:22 +05302239config MSM_SLEEP_STATS_DEVICE
2240 bool "Enable exporting of MSM sleep device stats to userspace"
2241
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302242config MSM_RUN_QUEUE_STATS
2243 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Krishna Vankae2922052012-03-02 09:59:12 +05302244 depends on (MSM_SOC_REV_A || ARCH_MSM8X60 || ARCH_MSM8960)
2245 help
2246 This option enalbes statistics collection on Run Queue. A daemon
2247 in user mode, called MPDecision will be using this data to decide
2248 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302249
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002250config MSM_STANDALONE_POWER_COLLAPSE
2251 bool "Enable standalone power collapse"
2252 default n
2253
2254config MSM_GSBI9_UART
2255 bool "Enable GSBI9 UART device"
2256 default n
2257 help
2258 This enables GSBI9 configured into UART.
2259
2260config MSM_SHARED_GPIO_FOR_UART2DM
2261 bool "Use shared GPIOs into UART mode"
2262 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2263 help
2264 This option configures GPIO muxed with SDC4/MMC3
2265 8-bit mode into UART mode. It is used for serial
2266 console on UART2DM. Say Y if you want to have
2267 serial console on UART2DM.
2268
2269config MSM_SHOW_RESUME_IRQ
2270 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002271 depends on (ARM_GIC || PMIC8058)
2272 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002273 default n
2274 help
2275 This option logs wake up interrupts that have triggered just before
2276 the resume loop unrolls. Say Y if you want to debug why the system
2277 resumed.
2278
2279config BT_MSM_PINTEST
2280 tristate "MSM Bluetooth Pin Connectivity Test"
2281 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2282 default n
2283 help
2284 Bluetooth MSM Pin Connectivity test module.
2285 This driver provides support for verifying the MSM to BT pin
2286 connectivity.
2287
2288config MSM_FAKE_BATTERY
2289 depends on POWER_SUPPLY
2290 default n
2291 bool "MSM Fake Battery"
2292 help
2293 Enables MSM fake battery driver.
2294
2295config MSM_QDSP6_APR
2296 bool "Audio QDSP6 APR support"
2297 depends on MSM_SMD
2298 default n
2299 help
2300 Enable APR IPC protocol support between
2301 application processor and QDSP6. APR is
2302 used by audio driver to configure QDSP6's
2303 ASM, ADM and AFE.
2304
Joonwoo Park91d95462012-08-02 10:55:54 -07002305config MSM_QDSP6_APRV2
2306 bool "Audio QDSP6 APRv2 support"
2307 depends on MSM_SMD
2308 default n
2309 help
2310 Enable APRv2 IPC protocol support between
2311 application processor and QDSP6. APR is
2312 used by audio driver to configure QDSP6's
2313 ASM, ADM and AFE.
2314
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -07002315config MSM_QDSP6_CODECS
2316 bool "Audio Codecs on QDSP6 APR "
2317 depends on MSM_SMD
2318 default n
2319 help
2320 Enable Audio codecs with APR IPC protocol support between
2321 application processor and QDSP6. APR is
2322 used by audio driver to configure QDSP6's
2323 ASM, ADM and AFE.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002324
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002325config MSM_QDSP6V2_CODECS
2326 bool "Audio QDSP6V2 APR support"
2327 depends on MSM_SMD
2328 help
2329 Enable Audio codecs with APR IPC protocol support between
2330 application processor and QDSP6 for B-family. APR is
2331 used by audio driver to configure QDSP6's
2332 ASM, ADM and AFE.
2333
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002334config MSM_AUDIO_QDSP6
2335 bool "QDSP6 HW Audio support"
2336 select SND_SOC_MSM_QDSP6_INTF
2337 default n
2338 help
2339 Enable HW audio support in QDSP6.
2340 QDSP6 can support HW encoder & decoder and audio processing
2341
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002342config MSM_AUDIO_QDSP6V2
2343 bool "QDSP6V2 HW Audio support"
2344 select SND_SOC_MSM_QDSP6V2_INTF
2345 help
2346 Enable HW audio support in QDSP6V2.
2347 QDSP6V2 can support HW encoder & decoder and
2348 audio processing. It will enable support for
2349 AAC, AMRNB, AMRWB, EVRC, MP3, QCELP among
2350 others.
2351
Joonwoo Park4a14a552012-08-02 11:03:21 -07002352config MSM_ADSP_LOADER
2353 tristate "ADSP loader support"
2354 select SND_SOC_MSM_APRV2_INTF
2355 depends on MSM_AUDIO_QDSP6V2 && m
2356 help
2357 Enable ADSP image loader.
2358 The ADSP loader brings ADSP out of reset
2359 for the platforms that use APRv2.
2360 Say M if you want to enable this module.
2361
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +02002362config MSM_ULTRASOUND_A
2363 bool "QDSP6 HW Ultrasound support"
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002364 help
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +02002365 Enable HW ultrasound support in QDSP6.
2366 QDSP6 can support HW encoder & decoder and
2367 ultrasound processing. It will enable
2368 ultrasound data paths between
2369 HW and services, calculating input events
2370 upon the ultrasound data.
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002371
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002372config MSM_RPC_VIBRATOR
2373 bool "RPC based MSM Vibrator Support"
2374 depends on MSM_ONCRPCROUTER
2375 help
2376 Enable the vibrator support on MSM over RPC. The vibrator
2377 is connected on the PMIC. Say Y if you want to enable this
2378 feature.
2379
2380config PM8XXX_RPC_VIBRATOR
2381 bool "RPC based Vibrator on PM8xxx PMICs"
2382 depends on MSM_RPC_VIBRATOR
2383 help
2384 Enable the vibrator support on MSM over RPC. The vibrator
2385 is connected on the PM8XXX PMIC. Say Y if you want to enable
2386 this feature.
2387
2388config MSM_SPM_V1
2389 bool "Driver support for SPM Version 1"
2390 help
2391 Enables the support for Version 1 of the SPM driver. SPM hardware is
2392 used to manage the processor power during sleep. The driver allows
2393 configuring SPM to allow different power modes.
2394
2395config MSM_SPM_V2
2396 bool "Driver support for SPM Version 2"
2397 help
2398 Enables the support for Version 2 of the SPM driver. SPM hardware is
2399 used to manage the processor power during sleep. The driver allows
2400 configuring SPM to allow different power modes.
2401
2402config MSM_L2_SPM
2403 bool "SPM support for L2 cache"
2404 depends on MSM_SPM_V2
2405 help
2406 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2407 control of L2 cache low power mode with a Subsystem Power manager.
2408 Enabling this driver allows configuring L2 SPM for low power modes
2409 on supported chipsets.
2410
Laura Abbott2d1760b2011-09-29 21:31:24 -07002411config MSM_MULTIMEDIA_USE_ION
2412 bool "Multimedia suport using Ion"
2413 depends on ION_MSM
2414 help
2415 Enable support for multimedia drivers using Ion for buffer management
2416 instead of pmem. Selecting this may also involve userspace
2417 dependencies as well.
2418
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002419config MSM_OCMEM
2420 bool "MSM On-Chip memory driver (OCMEM)"
2421 help
2422 Enable support for On-Chip Memory available on certain MSM chipsets.
2423 OCMEM is a low latency, high performance pool shared by subsystems.
2424
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002425config MSM_OCMEM_LOCAL_POWER_CTRL
2426 bool "OCMEM Local Power Control"
2427 depends on MSM_OCMEM
2428 help
2429 Enable direct power management of the OCMEM core by the
2430 OCMEM driver. By default power management is delegated to
2431 the RPM. Selecting this option causes the OCMEM driver to
2432 directly handle the various macro power transitions.
2433
2434config MSM_OCMEM_DEBUG
2435 bool "OCMEM Debug Support"
2436 depends on MSM_OCMEM
2437 help
2438 Enable debug options for On-chip Memory (OCMEM) driver.
2439 Various debug options include memory, power and latency.
2440 Choosing one of these options allows debugging of each
2441 individual subsystem separately.
2442
Naveen Ramarajc71b2de2012-08-20 12:35:52 -07002443config MSM_OCMEM_NONSECURE
2444 bool "OCMEM Non Secure Mode"
2445 depends on MSM_OCMEM_DEBUG
2446 help
2447 Disable OCMEM interaction with secure processor.
2448 By default OCMEM is secured and accesses for each master
2449 is requested by the OCMEM driver. Selecting this option
2450 causes the OCMEM memory to be in non-secure state unless
2451 its locked down by the secure processor.
2452
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002453config MSM_OCMEM_POWER_DEBUG
2454 bool "OCMEM Power Debug Support"
2455 depends on MSM_OCMEM_DEBUG
2456 help
2457 Enable debug support for OCMEM power management.
2458 This adds support for verifying all power management
2459 related operations of OCMEM. Both local power management
2460 and RPM assisted power management operations are supported.
2461
Naveen Ramaraj4b1d9392012-08-06 21:05:14 -07002462config MSM_OCMEM_POWER_DISABLE
2463 bool "OCMEM Disable Power Control"
2464 depends on MSM_OCMEM_DEBUG
2465 help
2466 Disable all OCMEM power management.
2467 This keeps all OCMEM macros turned ON at all times thus
2468 never allowing them to be turned OFF. Both local power
2469 management and RPM assisted power modes are supported.
2470
Laura Abbottad340ff2012-01-04 14:23:48 -08002471config MSM_RTB
2472 bool "Register tracing"
2473 help
2474 Add support for logging different events to a small uncached
2475 region. This is designed to aid in debugging reset cases where the
2476 caches may not be flushed before the target resets.
2477
2478config MSM_RTB_SEPARATE_CPUS
2479 bool "Separate entries for each cpu"
2480 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002481 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002482 help
2483 Under some circumstances, it may be beneficial to give dedicated space
2484 for each cpu to log accesses. Selecting this option will log each cpu
2485 separately. This will guarantee that the last acesses for each cpu
2486 will be logged but there will be fewer entries per cpu
2487
Stepan Moskovchenko57884842012-06-07 17:35:49 -07002488config MSM_EBI_ERP
2489 bool "External Bus Interface (EBI) error reporting"
2490 help
2491 Say 'Y' here to enable reporting of external bus interface errors to
2492 the kernel log. Information such as the offending address and
2493 transaction type will be logged. This may be useful for debugging
2494 seemingly broken memory accesses.
2495
2496 For production builds, you should probably say 'N' here.
2497
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002498config MSM_CACHE_ERP
2499 bool "Cache / CPU error reporting"
2500 depends on ARCH_MSM_KRAIT
2501 help
2502 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2503 log. Enabling this feature can be used as a system debugging technique
2504 if cache corruption is suspected. Cache error statistics will also be
2505 reported in /proc/cpu/msm_cache_erp.
2506
2507 For production builds, you should probably say 'N' here.
2508
2509config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002510 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002511 depends on MSM_CACHE_ERP
2512 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002513 To cause the kernel to panic whenever an L1 cache error is detected, say
2514 'Y' here. This may be useful as a debugging technique if general system
2515 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002516
2517 For production builds, you should probably say 'N' here.
2518
Stepan Moskovchenko7035f652012-05-31 17:48:01 -07002519config MSM_L1_ERR_LOG
2520 bool "Log CPU ERP events to system memory"
2521 depends on MSM_CACHE_ERP
2522 help
2523 Enable logging CPU ERP events to an area of memory that will be
2524 preserved across a system reset. This may be useful for detecting and
2525 troubleshooting ERP-related system crashes in the field.
2526
2527 For production builds, you may want to say 'Y' here.
2528
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002529config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2530 bool "Report L2 master port slave/decode errors in kernel log"
2531 depends on MSM_CACHE_ERP
2532 help
2533 Master port errors can occur when a memory request is not properly
2534 handled by the destination slave. This can occur if the destination
2535 register does not exist or is inaccessible due to security
2536 restrictions or (in some cases) clock configuration. Enabling this
2537 option will cause a backtrace to be printed to the kernel log whenever
2538 such an error is encountered. Note that the error is reported as an
2539 interrupt rather than as an exception, meaning that the backtrace may
2540 have some skid. This option may help with debugging, though production
2541 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002542
2543config MSM_L2_ERP_PORT_PANIC
2544 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002545 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002546 help
2547 Master port errors can occur when a memory request is not properly
2548 handled by the destination slave. Enable this option to catch drivers
2549 which attempt to access bad areas of the address space, or access
2550 hardware registers in an improper state (such as certain clocks not
2551 being on). This option may help with debugging, though production
2552 builds should probably say 'N' here.
2553
2554config MSM_L2_ERP_1BIT_PANIC
2555 bool "Panic on recoverable L2 soft errors"
2556 depends on MSM_CACHE_ERP
2557 help
2558 Enable this option to cause a kernel panic whenever the L2 cache
2559 encounters a single-bit (correctable) soft error. This option should
2560 only be enabled when doing low-level debugging where cache corruption
2561 is suspected.
2562
2563 For production builds, you should definitely say 'N' here.
2564
2565config MSM_L2_ERP_2BIT_PANIC
2566 bool "Panic on unrecoverable L2 soft errors"
2567 depends on MSM_CACHE_ERP
2568 help
2569 Enable this option to cause a kernel panic whenever the L2 cache
2570 encounters a double-bit (non-correctable) soft error. Debug builds
2571 will likely benefit from having this option enabled to catch cache
2572 problems as soon as possible.
2573
2574 For production builds, it may be acceptable to say 'N' here, since
2575 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002576
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002577config MSM_DCVS
2578 bool "Use MSM DCVS for CPU/GPU Frequency control"
2579 depends on MSM_SCM
2580 help
2581 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2582 The DCVS manager allows idle driver to feed the idle information to the
2583 algorithm and the algorithm returns a frequency for the core which is
2584 passed to the frequency change driver.
2585
Pankaj Kumar32ce1ea2012-04-04 20:29:29 +05302586config MSM_CPR
2587 tristate "Use MSM CPR in S/W mode"
2588 help
2589 Enable CPR (core power reduction) in S/W mode, where the processor
2590 get's the notification from CPR block and programs the PMIC.
2591
2592config MSM_VP_REGULATOR
2593 tristate "Use MSM PMIC8029 C2 regulator"
2594 depends on ARCH_MSM8625
2595 help
2596 Enable MSM PMIC8029 C2 regulator support using APC_PLEVEL access
2597 for MSMs like 8625.
2598
Taniya Dasc43e6872012-03-21 16:41:14 +05302599config HAVE_ARCH_HAS_CURRENT_TIMER
2600 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002601
2602config MSM_CACHE_DUMP
2603 bool "Cache dumping support"
2604 help
2605 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2606 This allows for analysis of the caches in case cache corruption is
2607 suspected.
2608
Laura Abbott7b637362012-03-29 16:43:49 -07002609config MSM_CACHE_DUMP_ON_PANIC
2610 bool "Dump caches on panic"
2611 depends on MSM_CACHE_DUMP
2612 help
2613 By default, the caches are flushed on panic. This means that trying to
2614 look at them in a RAM dump will give useless data. Select this if you
2615 want to dump the L1 and L2 caches on panic before any flush occurs.
2616 If unsure, say N
2617
Jack Phamccbbfab2012-04-09 19:50:20 -07002618config MSM_HSIC_SYSMON
2619 tristate "MSM HSIC system monitor driver"
2620 depends on USB
2621 help
2622 Add support for bridging with the system monitor interface of MDM
2623 over HSIC. This driver allows the local system monitor to
2624 communicate with the remote system monitor interface.
2625
2626config MSM_HSIC_SYSMON_TEST
2627 tristate "MSM HSIC system monitor bridge test"
2628 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2629 help
2630 Enable the test hook for the Qualcomm system monitor HSIC driver.
2631 This will create a debugfs file entry named "hsic_sysmon_test" which
2632 can be read and written to send character data to the sysmon port of
2633 the modem over USB.
2634
Anirudh Ghayal0d2291a2012-09-20 21:31:41 +05302635config MSM_RPC_PMIC
2636 tristate "MSM RPC PMIC driver"
2637 depends on MSM_ONCRPCROUTER
2638 help
2639 This driver supports the PMIC functionality over RPC for those MSM's
2640 which do not have a direct access to PMIC. It supports ability to
2641 configure MPP, GPIO and all the other supported peripherals of the
2642 PMIC.
2643
Anirudh Ghayald3a63732012-09-20 22:13:13 +05302644config MSM_RPC_USB
2645 tristate "MSM RPC USB driver"
2646 depends on MSM_ONCRPCROUTER
2647 help
2648 This driver supports the USB configuration support over the RPC
2649 interface. It support the HS USB module connected to the MSM
2650 and FS USB which is connected over the PMIC. This support is
2651 required for MSMs on which the APPS does not have a direct access
2652 to the PMIC.
2653
2654config MSM_RPC_PMAPP
2655 tristate "MSM RPC PMIC APP driver"
2656 depends on MSM_ONCRPCROUTER
2657 help
2658 This driver supports the configuration of various PMIC APP modules
2659 such as display backlight, vreg pin-ctrl, smps clock over the RPC
2660 interface. This support is required for MSMs on which the APPS
2661 does not have a direct access to the PMIC.
Pushkar Joshi0fc73462012-09-26 17:59:31 -07002662
2663config MSM_ENABLE_WDOG_DEBUG_CONTROL
2664 bool "MSM Watchdog driver to disable debug Image"
2665 help
2666 This driver supports the configuration of the GCC_WDOG_DEBUG register
2667 used to control debug image.
2668 This support is currently required for MSM8974 to disable debug image
2669 on PS HOLD reset
Taniya Dasea4263f92012-08-22 18:52:51 +05302670
2671config MSM_FIQ
2672 bool "Enable FIQ for debugging"
2673 depends on ARCH_MSM8625
2674 select FIQ
Taniya Das36e4aa12012-07-04 18:27:16 +05302675 select GIC_SECURE
Taniya Dasea4263f92012-08-22 18:52:51 +05302676 help
2677 Enable any line to be used as an FIQ. This will help debugging
2678 if apps is not responding and holding lock with irqs disabled.
2679 Modem will then generate an raise a FIQ on this line before sending
2680 SMSM reset.
Greg Reidb1d240a2012-10-12 12:20:31 -04002681
2682config MSM_USE_USER_ACCESSIBLE_TIMERS
2683 bool "Enables mapping an MSM timer counter page to user space."
2684 depends on ARM_USE_USER_ACCESSIBLE_TIMERS
2685 help
2686 Enables MSM-specific user accessible timers via a shared
2687 memory page containing the cycle counter.
2688
Brian Swetland9e73c842007-11-26 04:12:13 -08002689endif