blob: 4ed3772bf435bc06fdce6548700a92c4a0fd2e62 [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
Daniel Walker7b521612010-05-06 12:44:57 -070070
Daniel Walker4ad15e62010-05-06 13:54:17 -070071config ARCH_QSD8X50
72 bool "QSD8X50"
73 select ARCH_MSM_SCORPION
Daniel Walker4ad15e62010-05-06 13:54:17 -070074 select MSM_VIC
75 select CPU_V7
David Brown74d10d72011-05-16 13:57:39 -070076 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070077 select MSM_REMOTE_SPINLOCK_LDREX
78 select CPU_USE_DOMAINS
79 select EMULATE_DOMAIN_MANAGER_V7
Gregory Beanab78cde2010-09-01 16:26:12 -070080 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070081 select MSM_DALRPC
Matt Wagantall88b86312012-01-31 16:53:03 -080082 select MSM_PM2 if PM
Taniya Dascd1d0232012-07-03 17:50:47 +053083 select MSM_MODEM_RESTART
Daniel Walker46fe5f22010-08-18 11:00:25 -070084
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070085config ARCH_MSM8X60
86 bool "MSM8X60"
Jeff Ohlsteine14411d2010-11-30 13:06:36 -080087 select ARCH_MSM_SCORPIONMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070088 select SMP_PARALLEL_START if SMP
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070089 select ARM_GIC
90 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070091 select MSM_REMOTE_SPINLOCK_LDREX
92 select ARCH_REQUIRE_GPIOLIB
93 select MSM_ADM3
94 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -080095 select MSM_RPM_REGULATOR
David Brown1a5ab4b2011-05-16 15:53:38 -070096 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070097 select MSM_PIL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070098 select ARCH_HAS_CPU_IDLE_WAIT
99 select MSM_DIRECT_SCLK_ACCESS
100 select MSM_RPM
101 select MSM_XO
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700102 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700103 select MSM_BUS_SCALING
104 select MSM_SECURE_IO
105 select MSM_DALRPC
106 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700107 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700108 select MSM_NATIVE_RESTART
109 select ARCH_INLINE_SPIN_TRYLOCK
110 select ARCH_INLINE_SPIN_TRYLOCK_BH
111 select ARCH_INLINE_SPIN_LOCK
112 select ARCH_INLINE_SPIN_LOCK_BH
113 select ARCH_INLINE_SPIN_LOCK_IRQ
114 select ARCH_INLINE_SPIN_LOCK_IRQSAVE
115 select ARCH_INLINE_SPIN_UNLOCK
116 select ARCH_INLINE_SPIN_UNLOCK_BH
117 select ARCH_INLINE_SPIN_UNLOCK_IRQ
118 select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
119 select ARCH_INLINE_READ_TRYLOCK
120 select ARCH_INLINE_READ_LOCK
121 select ARCH_INLINE_READ_LOCK_BH
122 select ARCH_INLINE_READ_LOCK_IRQ
123 select ARCH_INLINE_READ_LOCK_IRQSAVE
124 select ARCH_INLINE_READ_UNLOCK
125 select ARCH_INLINE_READ_UNLOCK_BH
126 select ARCH_INLINE_READ_UNLOCK_IRQ
127 select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
128 select ARCH_INLINE_WRITE_TRYLOCK
129 select ARCH_INLINE_WRITE_LOCK
130 select ARCH_INLINE_WRITE_LOCK_BH
131 select ARCH_INLINE_WRITE_LOCK_IRQ
132 select ARCH_INLINE_WRITE_LOCK_IRQSAVE
133 select ARCH_INLINE_WRITE_UNLOCK
134 select ARCH_INLINE_WRITE_UNLOCK_BH
135 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
136 select CPU_HAS_L2_PMU
137 select MSM_SPM_V1
Stephen Boyd2a1eb582010-08-27 10:01:23 -0700138 select MSM_SCM if SMP
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530139 select MULTI_IRQ_HANDLER
Laura Abbott46505f62011-11-02 18:06:55 -0700140 select MSM_MULTIMEDIA_USE_ION
Matt Wagantall88b86312012-01-31 16:53:03 -0800141 select MSM_PM8X60 if PM
Krishna Vankae2922052012-03-02 09:59:12 +0530142 select MSM_RUN_QUEUE_STATS
Laura Abbottb14ed962012-01-30 14:18:08 -0800143 select ARM_HAS_SG_CHAIN
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700144
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800145config ARCH_MSM8960
146 bool "MSM8960"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700147 select ARCH_MSM_KRAITMP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800148 select ARM_GIC
149 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700150 select GPIO_MSM_V2
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800151 select MSM_GPIOMUX
152 select MSM_SCM if SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700153 select MSM_DIRECT_SCLK_ACCESS
154 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -0800155 select MSM_RPM_REGULATOR
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700156 select MSM_RPM
157 select MSM_XO
158 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700159 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700160 select MSM_PIL
161 select MSM_AUDIO_QDSP6 if SND_SOC
162 select CPU_HAS_L2_PMU
163 select MSM_SPM_V2
164 select MSM_L2_SPM
165 select MSM_NATIVE_RESTART
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700166 select DONT_MAP_HOLE_AFTER_MEMBANK0
167 select MSM_REMOTE_SPINLOCK_SFPB
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700168 select ARCH_SPARSEMEM_ENABLE
169 select ARCH_HAS_HOLES_MEMORYMODEL
Larry Basseld4d82c92011-12-07 09:52:49 -0800170 select CLEANCACHE
171 select QCACHE
Laura Abbott6d61a912011-10-27 16:44:14 -0700172 select MSM_MULTIMEDIA_USE_ION
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530173 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800174 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700175 select HOLES_IN_ZONE if SPARSEMEM
Krishna Vankae2922052012-03-02 09:59:12 +0530176 select MSM_RUN_QUEUE_STATS
Laura Abbottb14ed962012-01-30 14:18:08 -0800177 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700178 select MSM_KRAIT_WFE_FIXUP
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +0200179 select MSM_ULTRASOUND_A
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800180
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700181config ARCH_MSM8930
182 bool "MSM8930"
183 select ARCH_MSM_KRAITMP
184 select ARM_GIC
185 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700186 select GPIO_MSM_V2
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700187 select MSM_GPIOMUX
188 select MSM_SCM if SMP
189 select MSM_DIRECT_SCLK_ACCESS
190 select REGULATOR
David Collins5779cea2012-01-05 15:09:21 -0800191 select MSM_RPM_REGULATOR
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700192 select MSM_RPM
193 select MSM_XO
194 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700195 select MSM_QDSP6_CODECS
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700196 select MSM_PIL
197 select MSM_AUDIO_QDSP6 if SND_SOC
198 select CPU_HAS_L2_PMU
199 select MSM_SPM_V2
200 select MSM_L2_SPM
201 select MSM_NATIVE_RESTART
202 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600203 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700204 select ARCH_SPARSEMEM_ENABLE
205 select ARCH_HAS_HOLES_MEMORYMODEL
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +0200206 select MSM_ULTRASOUND_A
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530207 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800208 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700209 select HOLES_IN_ZONE if SPARSEMEM
Laura Abbottb14ed962012-01-30 14:18:08 -0800210 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700211 select MSM_KRAIT_WFE_FIXUP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700212
213config ARCH_APQ8064
214 bool "APQ8064"
215 select ARCH_MSM_KRAITMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700216 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700217 select ARM_GIC
218 select CPU_V7
219 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700220 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600221 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800222 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800223 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700224 select MSM_QDSP6_CODECS
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800225 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530226 select MULTI_IRQ_HANDLER
Praveen Chidambaram78499012011-11-01 17:15:17 -0600227 select MSM_RPM
228 select MSM_SPM_V2
229 select MSM_L2_SPM
Matt Wagantall88b86312012-01-31 16:53:03 -0800230 select MSM_PM8X60 if PM
Neil Leeder814d3d32012-01-19 17:21:43 -0500231 select CPU_HAS_L2_PMU
Laura Abbott085dd202012-03-30 14:02:34 -0700232 select HOLES_IN_ZONE if SPARSEMEM
Larry Bassel67b921d2012-04-06 10:23:27 -0700233 select CLEANCACHE
234 select QCACHE
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -0600235 select MIGHT_HAVE_PCI
236 select ARCH_SUPPORTS_MSI
Laura Abbottb14ed962012-01-30 14:18:08 -0800237 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700238 select MSM_KRAIT_WFE_FIXUP
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +0200239 select MSM_ULTRASOUND_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700240
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700241config ARCH_MSM8974
242 bool "MSM8974"
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700243 select ARCH_MSM_KRAITMP
Sathish Ambley4149e842012-03-23 11:53:55 -0700244 select GPIO_MSM_V3
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700245 select ARM_GIC
246 select CPU_V7
247 select MSM_SCM if SMP
248 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530249 select MULTI_IRQ_HANDLER
Olav Hauganb800c8c2012-01-30 08:50:45 -0800250 select MSM_MULTIMEDIA_USE_ION
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700251 select MSM_PIL
Praveen Chidambaramaa9d52b2012-04-02 11:09:47 -0600252 select MSM_SPM_V2
253 select MSM_L2_SPM
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700254 select MSM_NATIVE_RESTART
255 select MSM_RESTART_V2
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600256 select MSM_PM8X60 if PM
Steve Mucklef132c6c2012-06-06 18:30:57 -0700257 select MAY_HAVE_SPARSE_IRQ
258 select SPARSE_IRQ
Mahesh Sivasubramaniancb668712012-04-04 13:03:25 -0600259 select MSM_RPM_SMD
David Collinsc7642322012-04-04 10:19:12 -0700260 select REGULATOR
Joonwoo Park91d95462012-08-02 10:55:54 -0700261 select MSM_QDSP6_APRV2
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -0700262 select MSM_QDSP6V2_CODECS
263 select MSM_AUDIO_QDSP6V2 if SND_SOC
David Collins1c91ea72012-05-03 16:17:35 -0700264 select MSM_RPM_REGULATOR_SMD
Laura Abbottb14ed962012-01-30 14:18:08 -0800265 select ARM_HAS_SG_CHAIN
Karthik Parsha404fb8f2012-07-30 19:14:05 -0700266 select MSM_RUN_QUEUE_STATS
Neeti Desai92eab922012-10-22 15:14:48 -0700267 select MEMORY_HOLE_CARVEOUT
Priyanka Mathur1af9d4b2012-10-30 14:55:44 -0700268 select MSM_RPM_STATS_LOG
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700269
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +0530270config ARCH_MPQ8092
271 bool "MPQ8092"
272 select ARCH_MSM_KRAITMP
273 select GPIO_MSM_V3
274 select ARM_GIC
275 select MULTI_IRQ_HANDLER
276 select CPU_V7
277 select MSM_GPIOMUX
278 select MAY_HAVE_SPARSE_IRQ
279 select SPARSE_IRQ
280 select MSM_NOPM
281
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700282config ARCH_FSM9XXX
283 bool "FSM9XXX"
284 select ARCH_MSM_SCORPION
285 select MSM_VIC
286 select CPU_V7
287 select MSM_REMOTE_SPINLOCK_LDREX
Steve Mucklef132c6c2012-06-06 18:30:57 -0700288 select GPIO_FSM9XXX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530289 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800290 select MSM_DALRPC
Daniel Walker4ad15e62010-05-06 13:54:17 -0700291
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700292config ARCH_MSM9615
293 bool "MSM9615"
294 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530295 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700296 select ARCH_MSM_CORTEX_A5
297 select CPU_V7
Rohit Vaswani4307c842012-10-11 15:50:05 -0700298 select MIGHT_HAVE_CACHE_L2X0
Steve Mucklef132c6c2012-06-06 18:30:57 -0700299 select GPIO_MSM_V2
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700300 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600301 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600302 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700303 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800304 select REGULATOR
305 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530306 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800307 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800308 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700309 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800310 select MSM_QDSP6_APR
311 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800312 select FIQ
Laura Abbottb14ed962012-01-30 14:18:08 -0800313 select ARM_HAS_SG_CHAIN
Matt Wagantall9274df92011-12-15 11:11:05 -0800314
Taniya Das43bcdd62011-12-02 17:33:27 +0530315config ARCH_MSM8625
316 bool "MSM8625"
317 select ARCH_MSM_CORTEX_A5
318 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700319 select GPIO_MSM_V1
Taniya Das43bcdd62011-12-02 17:33:27 +0530320 select MSM_GPIOMUX
321 select ARM_GIC
322 select ARCH_MSM_CORTEXMP
323 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530324 select ARM_TICKET_LOCKS
Krishna Vankae2922052012-03-02 09:59:12 +0530325 select MSM_RUN_QUEUE_STATS
Trilok Sonib856ab92012-06-26 14:33:28 +0530326 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530327 select ARM_HAS_SG_CHAIN
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700328
329config ARCH_MSM9625
330 bool "MSM9625"
331 select ARM_GIC
Abhimanyu Kapur490d20c2012-06-22 17:34:20 -0700332 select MIGHT_HAVE_CACHE_L2X0
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700333 select ARCH_MSM_CORTEX_A5
334 select SMP
335 select MSM_SMP
336 select CPU_V7
Abhimanyu Kapur4bb38622012-10-16 19:07:48 -0700337 select MSM_SCM if SMP
Jin Hong690e3352012-05-02 09:25:05 -0700338 select MSM_GPIOMUX
Girish Mahadevanf1c20a42012-09-19 11:44:36 -0600339 select MSM_RPM_SMD
Abhimanyu Kapur46e5e2b2012-10-02 20:45:37 -0700340 select MSM_NATIVE_RESTART
341 select MSM_RESTART_V2
Girish Mahadevan6e419562012-09-19 12:50:05 -0600342 select MSM_SPM_V2
343 select MSM_PM8X60 if PM
344 select MSM_SCM if SMP
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700345 select MULTI_IRQ_HANDLER
Rohit Vaswani61cf6ef2012-07-27 13:51:48 -0700346 select GPIO_MSM_V3
David Collins1cc6e402012-09-17 16:02:24 -0700347 select MAY_HAVE_SPARSE_IRQ
348 select SPARSE_IRQ
Mitchel Humpherys92e9b8a2012-10-08 18:12:47 -0700349 select MSM_MULTIMEDIA_USE_ION
Girish Mahadevane3be9302012-11-07 16:21:52 -0700350 select MSM_RPM_STATS_LOG
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700351
352config ARCH_MSM8910
353 bool "MSM8910"
354 select ARM_GIC
355 select GIC_SECURE
356 select SMP
357 select ARCH_MSM_CORTEXMP
358 select CPU_V7
359 select MSM_SCM if SMP
360 select MAY_HAVE_SPARSE_IRQ
361 select SPARSE_IRQ
362 select MULTI_IRQ_HANDLER
363 select GPIO_MSM_V3
364 select MSM_GPIOMUX
Hanumant Singhe4271312012-10-24 13:27:57 -0700365 select MSM_NATIVE_RESTART
366 select MSM_RESTART_V2
Syed Rameez Mustafa9ee80102012-11-02 14:41:04 -0700367
368config ARCH_MSM8226
369 bool "MSM8226"
370 select ARM_GIC
371 select GIC_SECURE
372 select SMP
373 select ARCH_MSM_CORTEXMP
374 select CPU_V7
375 select MSM_SCM if SMP
376 select MAY_HAVE_SPARSE_IRQ
377 select SPARSE_IRQ
378 select MULTI_IRQ_HANDLER
379 select GPIO_MSM_V3
380 select MSM_GPIOMUX
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700381endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700382
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700383choice
384 prompt "MSM SoC Revision"
385 default MSM_SOC_REV_NONE
386config MSM_SOC_REV_NONE
387 bool "N/A"
388 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
389 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walkerbf83de42010-03-16 16:29:44 -0700390config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700391 bool "Rev. A"
392 select ARCH_MSM7X27A if ARCH_MSM7X27
Daniel Walkerbf83de42010-03-16 16:29:44 -0700393endchoice
394
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700395config MSM_KRAIT_TBB_ABORT_HANDLER
396 bool "Krait TBB/TBH data abort handler"
397 depends on ARCH_MSM_KRAIT
398 depends on ARM_THUMB
399 help
400 Certain early samples of the Krait processor may generate data
401 aborts for TBB / TBH instructions that fail their condition code
402 checks. Enabling this option will ignore these erroneous data aborts,
403 at the expense of a very small performance penalty.
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800404
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700405 If unsure, say N.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700406
407config ARCH_MSM_ARM11
408 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700409
Daniel Walkerbf83de42010-03-16 16:29:44 -0700410config ARCH_MSM_SCORPION
411 bool
412
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700413config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700414 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800415 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700416
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700417config MSM_SMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700418 select HAVE_SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700419 bool
420
421config ARCH_MSM_SCORPIONMP
422 select ARCH_MSM_SCORPION
423 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530424 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700425 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700426 bool
427
428config ARCH_MSM_KRAITMP
429 select ARCH_MSM_KRAIT
430 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530431 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700432 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700433 bool
434
Taniya Das43bcdd62011-12-02 17:33:27 +0530435config ARCH_MSM_CORTEXMP
436 select MSM_SMP
437 bool
438
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700439config MSM_KRAIT_WFE_FIXUP
440 bool
441
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700442config MSM_RESTART_V2
443 bool
444
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700445config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800446 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700447
448config ARCH_MSM7X27A
449 bool
450 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700451 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530452 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530453 select ARM_GIC
454 select ARCH_MSM_CORTEXMP
Trilok Sonib856ab92012-06-26 14:33:28 +0530455 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530456 select ARM_HAS_SG_CHAIN
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700457
Gregory Beanf9f3d312010-04-30 22:06:50 -0700458config MSM_VIC
459 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700460
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700461config MSM_RPM
462 bool "Resource Power Manager"
463 select MSM_MPM
464
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600465config MSM_RPM_SMD
466 depends on MSM_SMD
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600467 select MSM_MPM_OF
468 bool "RPM driver using SMD protocol"
469 help
470 RPM is the dedicated hardware engine for managing shared SoC
471 resources. This config adds driver support for using SMD as a
472 transport layer communication with RPM hardware. It also selects
473 the MSM_MPM config that programs the MPM module to monitor interrupts
474 during sleep modes.
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600475
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700476config MSM_MPM
477 bool "Modem Power Manager"
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600478 help
479 MPM is a dedicated hardware resource responsible for entering and
480 waking up from a system wide low power mode. The MPM driver tracks
481 the wakeup interrupts and configures the MPM to monitor the wakeup
482 interrupts when going to a system wide sleep mode.
483
484config MSM_MPM_OF
485 bool "Modem Power Manager"
486 depends on CONFIG_OF
487 help
488 MPM is a dedicated hardware resource responsible for entering and
489 waking up from a system wide low power mode. The MPM driver tracks
490 the wakeup interrupts and configures the MPM to monitor the wakeup
491 interrupts when going to a system wide sleep mode. This config option
492 enables the MPM driver that supports initialization from a device
493 tree
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700494
495config MSM_XO
496 bool
497
498config MSM_REMOTE_SPINLOCK_DEKKERS
499 bool
500config MSM_REMOTE_SPINLOCK_SWP
501 bool
502config MSM_REMOTE_SPINLOCK_LDREX
503 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600504config MSM_REMOTE_SPINLOCK_SFPB
505 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700506config MSM_ADM3
507 bool
508
509menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700510
511config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700512 depends on ARCH_MSM7X01A
513 depends on MSM_STACKED_MEMORY
514 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700515 bool "Halibut Board (QCT SURF7201A)"
516 help
517 Support for the Qualcomm SURF7201A eval board.
518
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700519config MACH_MSM7201A_SURF
520 depends on ARCH_MSM7X01A
521 depends on MSM_STACKED_MEMORY
522 default y
523 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700524 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700525 Support for the Qualcomm MSM7201A SURF eval board.
526
527config MACH_MSM7201A_FFA
528 depends on ARCH_MSM7X01A
529 depends on MSM_STACKED_MEMORY
530 default y
531 bool "MSM7201A FFA"
532 help
533 Support for the Qualcomm MSM7201A FFA eval board.
534
535config MACH_TROUT
536 depends on ARCH_MSM7X01A
537 depends on MSM_STACKED_MEMORY
538 default y
539 bool "Trout"
540
541config MACH_MSM7X27_SURF
542 depends on ARCH_MSM7X27
543 depends on !MSM_STACKED_MEMORY
544 default y
545 bool "MSM7x27 SURF"
546 help
547 Support for the Qualcomm MSM7x27 SURF eval board.
548
549config MACH_MSM7X27_FFA
550 depends on ARCH_MSM7X27
551 depends on !MSM_STACKED_MEMORY
552 default y
553 bool "MSM7x27 FFA"
554 help
555 Support for the Qualcomm MSM7x27 FFA eval board.
556
557config MACH_MSM7X27A_RUMI3
558 depends on ARCH_MSM7X27A
559 depends on !MSM_STACKED_MEMORY
560 default y
561 bool "MSM7x27A RUMI3"
562 help
563 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
564
565config MACH_MSM7X27A_SURF
566 depends on ARCH_MSM7X27A
567 depends on !MSM_STACKED_MEMORY
568 default y
569 bool "MSM7x27A SURF"
570 help
571 Support for the Qualcomm MSM7x27A SURF.
572
573config MACH_MSM7X27A_FFA
574 depends on ARCH_MSM7X27A
575 depends on !MSM_STACKED_MEMORY
576 default y
577 bool "MSM7x27A FFA"
578 help
579 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700580
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530581config MACH_MSM7625A_SURF
582 depends on ARCH_MSM7X27A
583 depends on !MSM_STACKED_MEMORY
584 default y
585 bool "MSM7625A SURF"
586 help
587 Support for the Qualcomm MSM7625A SURF.
588
589config MACH_MSM7625A_FFA
590 depends on ARCH_MSM7X27A
591 depends on !MSM_STACKED_MEMORY
592 default y
593 bool "MSM7625A FFA"
594 help
595 Support for the Qualcomm MSM7625A FFA.
596
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530597config MACH_MSM7627A_QRD1
598 depends on ARCH_MSM7X27A
599 depends on !MSM_STACKED_MEMORY
600 default y
601 bool "MSM7627A QRD1"
602 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530603 Support for the Qualcomm MSM7627A Reference Design.
604
605config MACH_MSM7627A_QRD3
606 depends on ARCH_MSM7X27A
607 depends on !MSM_STACKED_MEMORY
608 default y
609 bool "MSM7627A QRD3"
610 help
611 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530612
Taniya Dasc868a2e2012-01-03 10:18:47 +0530613config MACH_MSM7627A_EVB
614 depends on ARCH_MSM7X27A
615 depends on !MSM_STACKED_MEMORY
616 default y
617 bool "MSM7627A EVB"
618 help
619 Support for the Qualcomm MSM7627A Reference Design.
620
Taniya Das43bcdd62011-12-02 17:33:27 +0530621config MACH_MSM8625_RUMI3
622 depends on ARCH_MSM8625
623 depends on !MSM_STACKED_MEMORY
624 default y
625 bool "MSM8625 RUMI3"
626 help
627 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
628
Taniya Dase3027e22012-02-27 16:32:27 +0530629config MACH_MSM8625_SURF
630 depends on ARCH_MSM8625
631 depends on !MSM_STACKED_MEMORY
632 default y
633 bool "MSM8625 SURF"
634 help
635 Support for the Qualcomm MSM8625 SURF.
636
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530637config MACH_MSM8625_FFA
638 depends on ARCH_MSM8625
639 depends on !MSM_STACKED_MEMORY
640 default y
641 bool "MSM8625 FFA"
642 help
643 Support for the Qualcomm MSM8625 FFA.
644
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530645config MACH_MSM8625_EVB
646 depends on ARCH_MSM8625
647 depends on !MSM_STACKED_MEMORY
648 default y
649 bool "MSM8625 EVB"
650 help
651 Support for the Qualcomm MSM8625 Reference Design.
652
Taniya Dasbd096542012-03-15 17:43:45 +0530653config MACH_MSM8625_QRD7
654 depends on ARCH_MSM8625
655 depends on !MSM_STACKED_MEMORY
656 default y
657 bool "MSM8625 QRD7"
658 help
659 Support for the Qualcomm MSM8625 Reference Design.
660
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530661config MACH_MSM8625_EVT
662 depends on ARCH_MSM8625
663 depends on !MSM_STACKED_MEMORY
664 default y
665 bool "MSM8625 EVT"
666 help
667 Support for the Qualcomm MSM8625 Reference Design.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700668
Channagoud Kadabi2bd65c82012-10-12 15:14:23 +0530669config MACH_QRD_SKUD_PRIME
670 depends on ARCH_MSM8625
671 depends on !MSM_STACKED_MEMORY
672 default y
673 bool "MSM8625 SKUD PRIME"
674 help
675 Support for the Qualcomm MSM8625 SKUD prime Reference Design.
676 Add support for a SKUD prime reference design based on MSM8x25
677 chipset. This device is much closer to a phone than regular form
678 factor devices, with new touch, display panel and other hardware
679 configurations.
680
Daniel Walker7b521612010-05-06 12:44:57 -0700681config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700682 depends on ARCH_MSM7X30
683 depends on !MSM_STACKED_MEMORY
684 default y
685 bool "MSM7x30 SURF"
686 help
687 Support for the Qualcomm MSM7x30 SURF eval board.
688
689config MACH_MSM7X30_FFA
690 depends on ARCH_MSM7X30
691 depends on !MSM_STACKED_MEMORY
692 default y
693 bool "MSM7x30 FFA"
694 help
695 Support for the Qualcomm MSM7x30 FFA eval board.
696
697config MACH_MSM7X30_FLUID
698 depends on ARCH_MSM7X30
699 depends on !MSM_STACKED_MEMORY
700 default y
701 bool "MSM7x30 FLUID"
702 help
703 Support for the Qualcomm MSM7x30 FLUID eval board.
704
705config MACH_SAPPHIRE
706 depends on ARCH_MSM7X01A
707 default n
708 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700709
Daniel Walker4ad15e62010-05-06 13:54:17 -0700710config MACH_QSD8X50_SURF
711 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700712 depends on MSM_SOC_REV_NONE
713 depends on MSM_STACKED_MEMORY
714 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700715 bool "QSD8x50 SURF"
716 help
717 Support for the Qualcomm QSD8x50 SURF eval board.
718
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700719config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700720 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700721 depends on MSM_SOC_REV_NONE
722 depends on MSM_STACKED_MEMORY
723 default y
724 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700725 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700726 Support for the Qualcomm QSD8x50 FFA eval board.
727
728config MACH_MSM7X25_SURF
729 depends on ARCH_MSM7X25
730 depends on !MSM_STACKED_MEMORY
731 default y
732 bool "MSM7x25 SURF"
733 help
734 Support for the Qualcomm MSM7x25 SURF eval board.
735
736config MACH_MSM7X25_FFA
737 depends on ARCH_MSM7X25
738 depends on !MSM_STACKED_MEMORY
739 default y
740 bool "MSM7x25 FFA"
741 help
742 Support for the Qualcomm MSM7x25 FFA eval board.
743
744config MACH_MSM8X55_SURF
745 depends on ARCH_MSM7X30
746 depends on !MSM_STACKED_MEMORY
747 default y
748 bool "MSM8X55 SURF"
749 help
750 Support for the Qualcomm MSM8x55 SURF eval board.
751
752config MACH_MSM8X55_FFA
753 depends on ARCH_MSM7X30
754 depends on !MSM_STACKED_MEMORY
755 default y
756 bool "MSM8X55 FFA"
757 help
758 Support for the Qualcomm MSM8x55 FFA eval board.
759
760config MACH_MSM8X55_SVLTE_FFA
761 depends on ARCH_MSM7X30
762 depends on !MSM_STACKED_MEMORY
763 default y
764 bool "MSM8X55 SVLTE FFA"
765 help
766 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
767
768config MACH_MSM8X55_SVLTE_SURF
769 depends on ARCH_MSM7X30
770 depends on !MSM_STACKED_MEMORY
771 default y
772 bool "MSM8X55 SVLTE SURF"
773 help
774 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700775
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700776config MACH_MSM8X60_SURF
777 depends on ARCH_MSM8X60
778 default n
779 bool "MSM8x60 SURF"
780 help
781 Support for the Qualcomm MSM8x60 SURF eval board.
782
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700783config MACH_MSM8X60_FFA
784 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700785 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700786 bool "MSM8x60 FFA"
787 help
788 Support for the Qualcomm MSM8x60 FFA eval board.
789
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700790config MACH_MSM8X60_FLUID
791 depends on ARCH_MSM8X60
792 default n
793 bool "MSM8x60 FLUID"
794 help
795 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
796 8x60 target which has a form factor that is much closer to that
797 of a phone than other targets. It also has a new display and
798 touchscreen controller.
799
800config MACH_MSM8X60_FUSION
801 depends on ARCH_MSM8X60
802 default n
803 bool "MSM8x60 FUSION"
804 help
805 Support for the Qualcomm MSM8x60 Fusion SURF device.
806
807config MACH_MSM8X60_FUSN_FFA
808 depends on ARCH_MSM8X60
809 default n
810 bool "MSM8x60 FUSN FFA"
811 help
812 Support for the Qualcomm MSM8x60 Fusion FFA device.
813
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400814config MACH_MSM8X60_DRAGON
815 depends on ARCH_MSM8X60
816 default n
817 bool "MSM8x60 DRAGON"
818 help
819 Support for the Qualcomm MSM8x60 Dragon board.
820
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700821config MACH_MSM8960_CDP
822 depends on ARCH_MSM8960
823 bool "MSM8960 CDP"
824 help
825 Support for the Qualcomm MSM8960 CDP device.
826
827config MACH_MSM8960_MTP
828 depends on ARCH_MSM8960
829 bool "MSM8960 MTP"
830 help
831 Support for the Qualcomm MSM8960 MTP device.
832
833config MACH_MSM8960_FLUID
834 depends on ARCH_MSM8960
835 bool "MSM8960 FLUID"
836 help
837 Support for the Qualcomm MSM8960 FLUID device.
838
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300839config MACH_MSM8960_LIQUID
840 depends on ARCH_MSM8960
841 bool "MSM8960 LIQUID"
842 help
843 Support for the Qualcomm MSM8960 LIQUID device.
844
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700845config MACH_MSM8930_CDP
846 depends on ARCH_MSM8930
847 bool "MSM8930 CDP"
848 help
849 Support for the Qualcomm MSM8930 CDP device.
850
851config MACH_MSM8930_MTP
852 depends on ARCH_MSM8930
853 bool "MSM8930 MTP"
854 help
855 Support for the Qualcomm MSM8930 MTP device.
856
857config MACH_MSM8930_FLUID
858 depends on ARCH_MSM8930
859 bool "MSM8930 FLUID"
860 help
861 Support for the Qualcomm MSM8930 FLUID device.
862
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800863config MACH_MSM8627_CDP
864 depends on ARCH_MSM8930
865 bool "MSM8627 CDP"
866 help
867 Support for the Qualcomm MSM8627 CDP device.
868
869config MACH_MSM8627_MTP
870 depends on ARCH_MSM8930
871 bool "MSM8627 MTP"
872 help
873 Support for the Qualcomm MSM8627 MTP device.
874
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700875config MACH_MSM9615_CDP
876 depends on ARCH_MSM9615
877 bool "MSM9615 CDP"
878 help
879 Support for the Qualcomm MSM9615 CDP device.
880
881config MACH_MSM9615_MTP
882 depends on ARCH_MSM9615
883 bool "MSM9615 MTP"
884 help
885 Support for the Qualcomm MSM9615 MTP device.
886
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700887config MSM_USE_TSIF1
888 depends on ARCH_MSM8X60
889 bool "MSM8x60 use TSIF1"
890 help
891 Selects TSIF1 core to be used rather than TSIF0.
892 The two TSIF cores share the same DM configuration
893 so they cannot be used simultaneously.
894
Joel King82b7e3f2012-01-05 10:03:27 -0800895config MACH_APQ8064_CDP
896 depends on ARCH_APQ8064
897 bool "APQ8064 CDP"
898 help
899 Support for the Qualcomm APQ8064 CDP device.
900
901config MACH_APQ8064_MTP
902 depends on ARCH_APQ8064
903 bool "APQ8064 MTP"
904 help
905 Support for the Qualcomm APQ8064 MTP device.
906
907config MACH_APQ8064_LIQUID
908 depends on ARCH_APQ8064
909 bool "APQ8064 LIQUID"
910 help
911 Support for the Qualcomm APQ8064 LIQUID device.
912
Joel King064bbf82012-04-01 13:23:39 -0700913config MACH_MPQ8064_CDP
914 depends on ARCH_APQ8064
915 bool "MPQ8064 CDP"
916 help
917 Support for the Qualcomm MPQ8064 CDP device.
918
Joel King11ca8202012-02-13 16:19:03 -0800919config MACH_MPQ8064_HRD
920 depends on ARCH_APQ8064
921 bool "MPQ8064 HRD"
922 help
923 Support for the Qualcomm MPQ8064 HRD device.
924
925config MACH_MPQ8064_DTV
926 depends on ARCH_APQ8064
927 bool "MPQ8064 DTV"
928 help
929 Support for the Qualcomm MPQ8064 DTV device.
930
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700931config MACH_FSM9XXX_SURF
932 depends on ARCH_FSM9XXX
933 depends on !MSM_STACKED_MEMORY
934 default y
935 bool "FSM9XXX SURF"
936 help
937 Support for the Qualcomm FSM9xxx femtocell
938 chipset based SURF evaluation board and
939 FFA board.
940
Daniel Walker4ad15e62010-05-06 13:54:17 -0700941endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800942
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700943config MSM_STACKED_MEMORY
944 bool "Stacked Memory"
945 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800946 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700947 This option is used to indicate the presence of on-die stacked
948 memory. When present this memory bank is used for a high speed
949 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800950
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700951config PHYS_OFFSET
952 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700953 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700954 default "0x80200000" if ARCH_APQ8064
955 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700956 default "0x80200000" if ARCH_MSM8930
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700957 default "0x00000000" if ARCH_MSM8974
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +0530958 default "0x00000000" if ARCH_MPQ8092
Syed Rameez Mustafa90f80502012-08-23 17:27:24 -0700959 default "0x00000000" if ARCH_MSM8226
Syed Rameez Mustafa02dd1a32012-10-26 11:02:26 -0700960 default "0x00000000" if ARCH_MSM8910
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700961 default "0x10000000" if ARCH_FSM9XXX
Abhimanyu Kapur20ac2ad2012-09-25 04:23:59 -0700962 default "0x00200000" if ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700963 default "0x00200000" if !MSM_STACKED_MEMORY
964 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
965 default "0x20000000" if ARCH_QSD8X50
966 default "0x40200000" if ARCH_MSM8X60
967 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800968
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700969config KERNEL_MSM_CONTIG_MEM_REGION
970 bool "Enable in-kernel contiguous memory region"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700971 default y if ARCH_MSM8X60
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700972 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700973 help
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700974 Enable the in-kernel contiguous memory allocator. Sets up a
975 region of physically contiguous memory. This memory is
976 reserved during initialization, and can be used
977 generically.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700978
979config KERNEL_PMEM_SMI_REGION
980 bool "Enable in-kernel PMEM region for SMI"
981 default y if ARCH_MSM8X60
982 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
983 help
984 Enable the in-kernel PMEM allocator to use SMI memory.
985
986config PMEM_GPU0
987 bool "Enable PMEM GPU0 region"
988 default y
989 depends on ARCH_QSD8X50 && ANDROID_PMEM
990 help
991 Enable the PMEM GPU0 device on SMI Memory.
992
993config MSM_AMSS_VERSION
994 int
995 default 6210 if MSM_AMSS_VERSION_6210
996 default 6220 if MSM_AMSS_VERSION_6220
997 default 6225 if MSM_AMSS_VERSION_6225
998
999choice
1000 prompt "AMSS modem firmware version"
1001
1002 default MSM_AMSS_VERSION_6225
1003
1004 config MSM_AMSS_VERSION_6210
1005 bool "6.2.10"
1006
1007 config MSM_AMSS_VERSION_6220
1008 bool "6.2.20"
1009
1010 config MSM_AMSS_VERSION_6225
1011 bool "6.2.20 + New ADSP"
1012endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -08001013
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001014config MSM_HAS_DEBUG_UART_HS
Daniel Walkerbf83de42010-03-16 16:29:44 -07001015 bool
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001016 help
1017 Say Y here if high speed MSM UART is present.
1018
1019config MSM_HAS_DEBUG_UART_HS_V14
1020 bool
1021 select MSM_HAS_DEBUG_UART_HS
1022 help
1023 Say Y here if high speed MSM UART v1.4 is present.
1024
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301025config MSM_DEBUG_UART_PHYS
1026 hex
1027 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
1028 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
1029 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
1030 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
1031 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
1032 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
1033 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
1034 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
1035
Brian Swetland9e73c842007-11-26 04:12:13 -08001036choice
1037 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001038 depends on DEBUG_LL
Brian Swetland9e73c842007-11-26 04:12:13 -08001039
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001040 config DEBUG_MSM_UART1
1041 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301042 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001043 help
1044 Say Y here if you want the debug print routines to direct
1045 their output to the first serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001046
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001047 config DEBUG_MSM_UART2
1048 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301049 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001050 help
1051 Say Y here if you want the debug print routines to direct
1052 their output to the second serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001053
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001054 config DEBUG_MSM_UART3
1055 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301056 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001057 help
1058 Say Y here if you want the debug print routines to direct
1059 their output to the third serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001060
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001061 config DEBUG_MSM8660_UART
1062 bool "Kernel low-level debugging messages via MSM 8660 UART"
1063 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001064 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001065 help
1066 Say Y here if you want the debug print routines to direct
1067 their output to the serial port on MSM 8660 devices.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001068
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001069 config DEBUG_MSM8960_UART
1070 bool "Kernel low-level debugging messages via MSM 8960 UART"
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001071 depends on ARCH_MSM8960 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001072 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001073 help
1074 Say Y here if you want the debug print routines to direct
1075 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001076
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001077 config DEBUG_MSM8930_UART
1078 bool "Kernel low-level debugging messages via MSM 8930 UART"
1079 depends on ARCH_MSM8930 && DEBUG_LL
1080 select MSM_HAS_DEBUG_UART_HS
1081 help
1082 Say Y here if you want the debug print routines to direct
1083 their output to the serial port on MSM 8930 devices.
1084
1085 config DEBUG_APQ8064_UART
1086 bool "Kernel low-level debugging messages via APQ 8064 UART"
1087 depends on ARCH_APQ8064 && DEBUG_LL
1088 select MSM_HAS_DEBUG_UART_HS
1089 help
1090 Say Y here if you want the debug print routines to direct
1091 their output to the serial port on APQ 8064 devices.
1092
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001093 config DEBUG_MSM8974_UART
1094 bool "Kernel low-level debugging messages via MSM 8974 UART"
1095 depends on ARCH_MSM8974
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001096 select MSM_HAS_DEBUG_UART_HS_V14
1097 help
1098 Say Y here if you want the debug print routines to direct
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001099 their output to the serial port on MSM 8974 devices.
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +05301100
1101 config DEBUG_MPQ8092_UART
1102 bool "Kernel low-level debugging messages via MPQ8092 UART"
1103 depends on ARCH_MPQ8092
1104 select MSM_HAS_DEBUG_UART_HS_V14
1105 help
1106 Say Y here if you want the debug print routines to direct
1107 their output to the serial port on MPQ8092 devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001108endchoice
Brian Swetland9e73c842007-11-26 04:12:13 -08001109
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001110choice
1111 prompt "Default Timer"
1112 default MSM7X00A_USE_GP_TIMER
1113
1114 config MSM7X00A_USE_GP_TIMER
1115 bool "GP Timer"
1116 help
1117 Low resolution timer that allows power collapse from idle.
1118
1119 config MSM7X00A_USE_DG_TIMER
1120 bool "DG Timer"
1121 help
1122 High resolution timer.
1123endchoice
1124
1125choice
1126 prompt "Suspend sleep mode"
1127 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1128 help
1129 Allows overriding the sleep mode used. Leave at power
1130 collapse suspend unless the arm9 image has problems.
1131
1132 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1133 bool "Power collapse suspend"
1134 help
1135 Lowest sleep state. Returns through reset vector.
1136
1137 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1138 bool "Power collapse"
1139 help
1140 Sleep state that returns through reset vector.
1141
1142 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1143 bool "Apps Sleep"
1144
1145 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1146 bool "Ramp down cpu clock and wait for interrupt"
1147
1148 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1149 bool "Wait for interrupt"
1150endchoice
1151
1152config MSM7X00A_SLEEP_MODE
1153 int
1154 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1155 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1156 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1157 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1158 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1159
1160choice
1161 prompt "Idle sleep mode"
1162 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1163 help
1164 Allows overriding the sleep mode used from idle. Leave at power
1165 collapse suspend unless the arm9 image has problems.
1166
1167 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1168 bool "Power collapse suspend"
1169 help
1170 Lowest sleep state. Returns through reset vector.
1171
1172 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1173 bool "Power collapse"
1174 help
1175 Sleep state that returns through reset vector.
1176
1177 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1178 bool "Apps Sleep"
1179
1180 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1181 bool "Ramp down cpu clock and wait for interrupt"
1182
1183 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1184 bool "Wait for interrupt"
1185endchoice
1186
1187config MSM7X00A_IDLE_SLEEP_MODE
1188 int
1189 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1190 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1191 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1192 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1193 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1194
1195config MSM7X00A_IDLE_SLEEP_MIN_TIME
1196 int "Minimum idle time before sleep"
1197 default 20000000
1198 help
1199 Minimum idle time in nanoseconds before entering low power mode.
1200
1201config MSM7X00A_IDLE_SPIN_TIME
1202 int "Idle spin time before cpu ramp down"
1203 default 80000
1204 help
1205 Spin time in nanoseconds before ramping down cpu clock and entering
1206 any low power state.
1207
1208menuconfig MSM_IDLE_STATS
1209 bool "Collect idle statistics"
1210 default y
1211 help
1212 Collect idle statistics and export them in proc/msm_pm_stats.
1213
1214if MSM_IDLE_STATS
1215
1216config MSM_IDLE_STATS_FIRST_BUCKET
1217 int "First bucket time"
1218 default 62500
1219 help
1220 Upper time limit in nanoseconds of first bucket.
1221
1222config MSM_IDLE_STATS_BUCKET_SHIFT
1223 int "Bucket shift"
1224 default 2
1225
1226config MSM_IDLE_STATS_BUCKET_COUNT
1227 int "Bucket count"
1228 default 10
1229
1230config MSM_SUSPEND_STATS_FIRST_BUCKET
1231 int "First bucket time for suspend"
1232 default 1000000000
1233 help
1234 Upper time limit in nanoseconds of first bucket of the
1235 histogram. This is for collecting statistics on suspend.
1236
1237endif # MSM_IDLE_STATS
1238
1239config CPU_HAS_L2_PMU
1240 bool "L2CC PMU Support"
1241 help
1242 Select this if the L2 cache controller has a Performance Monitoring Unit.
1243
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001244config HTC_HEADSET
1245 tristate "HTC 2 Wire detection driver"
1246 default n
1247 help
1248 Provides support for detecting HTC 2 wire devices, such as wired
1249 headset, on the trout platform. Can be used with the msm serial
1250 debugger, but not with serial console.
1251
1252config TROUT_BATTCHG
1253 depends on MACH_TROUT && POWER_SUPPLY
1254 default y
1255 bool "Trout battery / charger driver"
1256
1257config HTC_PWRSINK
1258 depends on MSM_SMD
1259 default n
1260 bool "HTC Power Sink Driver"
1261
1262config QSD_SVS
1263 bool "QSD Static Voltage Scaling"
1264 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1265 default y
1266 select TPS65023
1267 help
1268 Enables static voltage scaling using the TPS65023 PMIC.
1269
1270config QSD_PMIC_DEFAULT_DCDC1
1271 int "PMIC default output voltage"
1272 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1273 default 1250
1274 help
1275 This is the PMIC voltage at Linux kernel boot.
1276
1277config MSM_FIQ_SUPPORT
1278 default y
1279 bool "Enable installation of an FIQ handler."
1280
1281config MSM_SERIAL_DEBUGGER
1282 select MSM_FIQ_SUPPORT
1283 select KERNEL_DEBUGGER_CORE
1284 default n
1285 bool "FIQ Mode Serial Debugger"
1286 help
1287 The FIQ serial debugger can accept commands even when the
1288 kernel is unresponsive due to being stuck with interrupts
1289 disabled. Depends on the kernel debugger core in drivers/misc.
1290
1291config MSM_SERIAL_DEBUGGER_CONSOLE
1292 depends on MSM_SERIAL_DEBUGGER
1293 default n
1294 bool "Console on FIQ Serial Debugger port"
1295 help
1296 Enables a console so that printk messages are displayed on
1297 the debugger serial port as the occur.
Brian Swetland9e73c842007-11-26 04:12:13 -08001298
Gregory Beanab78cde2010-09-01 16:26:12 -07001299config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001300 default y
1301 bool "Proc-Comm RPC Interface"
1302 help
1303 Enables a lightweight communications interface to the
1304 baseband processor.
Gregory Beanab78cde2010-09-01 16:26:12 -07001305
Gregory Bean1963a2a2010-08-28 10:05:44 -07001306config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001307 bool "MSM Shared Memory Driver (SMD)"
1308 help
1309 Support for the shared memory interface between the apps
1310 processor and the baseband processor. Provides access to
1311 the "shared heap", as well as virtual serial channels
1312 used to communicate with various services on the baseband
1313 processor.
1314
1315choice
1316 prompt "MSM Shared memory interface version"
1317 depends on MSM_SMD
1318 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1319 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1320
1321 config MSM_SMD_PKG3
1322 bool
1323 prompt "Package 3"
1324
1325 config MSM_SMD_PKG4
1326 bool
1327 prompt "Package 4"
1328endchoice
1329
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001330config MSM_PCIE
1331 bool "MSM PCIe Controller driver"
1332 depends on PCI && PCI_MSI
1333 help
1334 Enables the PCIe functionality by configures PCIe core on
1335 MSM chipset and by enabling the ARM PCI framework extension.
1336
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001337config MSM_RPC_SDIO_XPRT
1338 depends on MSM_SDIO_AL
1339 default y
1340 bool "MSM SDIO XPRT Layer"
1341 help
1342 SDIO Transport Layer for RPC Rouer
1343
1344config MSM_RPC_SDIO_DEBUG
1345 depends on MSM_RPC_SDIO_XPRT
1346 default y
1347 bool "MSM SDIO XPRT debug support"
1348 help
1349 Support for debugging SDIO XPRT
1350
1351config MSM_SMD_DEBUG
1352 depends on MSM_SMD
1353 default y
1354 bool "MSM SMD debug support"
1355 help
1356 Support for debugging the SMD for communication
1357 between the ARM9 and ARM11
1358
1359config MSM_SDIO_AL
1360 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1361 default y
1362 tristate "SDIO-Abstraction-Layer"
1363 help
1364 Support MSM<->MDM Communication over SDIO bus.
1365 MDM SDIO-Client should have pipes support.
1366
1367config MSM_SDIO_DMUX
1368 bool "SDIO Data Mux Driver"
1369 depends on MSM_SDIO_AL
1370 default n
1371 help
1372 Support Muxed Data Channels over SDIO interface.
1373
1374config MSM_BAM_DMUX
1375 bool "BAM Data Mux Driver"
1376 depends on SPS
1377 default n
1378 help
1379 Support Muxed Data Channels over BAM interface.
1380 BAM has a limited number of pipes. This driver
1381 provides a means to support more logical channels
1382 via muxing than BAM could without muxing.
1383
1384config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001385 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001386 default y
1387 bool "MSM N-WAY SMD support"
1388 help
1389 Supports APPS-QDSP SMD communication along with
1390 normal APPS-MODEM SMD communication.
1391
1392config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001393 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001394 default y
1395 bool "MSM N-WAY SMSM support"
1396 help
1397 Supports APPS-QDSP SMSM communication along with
1398 normal APPS-MODEM SMSM communication.
1399
1400config MSM_RESET_MODEM
1401 tristate "Reset Modem Driver"
1402 depends on MSM_SMD
1403 default m
1404 help
1405 Allows the user to reset the modem through a device node.
1406
1407config MSM_SMD_LOGGING
1408 depends on MSM_SMD
1409 default y
1410 bool "MSM Shared Memory Logger"
1411 help
1412 This option exposes the shared memory logger at /dev/smem_log
1413 and a debugfs node named smem_log.
1414
1415 If in doubt, say yes.
1416
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001417config MSM_IPC_LOGGING
1418 bool "MSM Debug Logging for IPC Drivers"
1419 help
1420 This option allows the debug logging for IPC Drivers.
1421
1422 If in doubt, say no.
1423
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001424config MSM_SMD_NMEA
1425 bool "NMEA GPS Driver"
1426 depends on MSM_SMD
1427 default y
1428 help
1429 Enable this to support the NMEA GPS device.
1430
1431 If in doubt, say yes.
1432
1433config MSM_SDIO_TTY
1434 bool "SDIO TTY Driver"
1435 depends on MSM_SDIO_AL
1436 default n
1437 help
1438 Provides a TTY driver SDIO TTY
1439 This driver can be used by user space
1440 applications for passing data through the
1441 SDIO interface.
1442
1443config MSM_SMD_TTY
1444 bool "SMD TTY Driver"
1445 depends on MSM_SMD
1446 default y
1447 help
1448 Provides TTY interfaces to interact with the modem.
1449
1450 If in doubt, say yes.
1451
1452config MSM_SMD_QMI
1453 bool "SMD QMI Driver"
1454 depends on MSM_SMD
1455 default y
1456 help
1457 Manages network data connections.
1458
1459 If in doubt, say yes.
1460
1461config MSM_SMD_PKT
1462 bool "SMD Packet Driver"
1463 depends on MSM_SMD
1464 default y
1465 help
1466 Provides a binary SMD non-muxed packet port interface.
1467
1468 If in doubt, say yes.
1469
1470config MSM_SDIO_CMUX
1471 bool "SDIO CMUX Driver"
1472 depends on MSM_SDIO_AL
1473 default n
1474 help
1475 Provides a Muxed port interface over SDIO QMI
1476
1477config MSM_DSPS
1478 bool "Sensors DSPS driver"
1479 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1480 default n
1481 help
1482 Provides user-space interface to the sensors manager
1483 to turn on/off the Sensors Processor system clocks.
1484 It is the DSPS responsibility to turn on/off the sensors
1485 themself.
1486 The number of clocks and their name may vary between targets.
1487 It also triggers the PIL to load the DSPS firmware.
1488
1489config MSM_SDIO_CTL
1490 bool "SDIO CTL Driver"
1491 depends on MSM_SDIO_CMUX
1492 default n
1493 help
1494 Provides a binary SDIO control port interface.
1495
1496config MSM_ONCRPCROUTER
1497 depends on MSM_SMD
1498 default n
1499 bool "MSM ONCRPC router support"
1500 help
1501 Support for the MSM ONCRPC router for communication between
1502 the ARM9 and ARM11
1503
1504config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001505 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001506 default n
1507 bool "MSM IPC Router support"
1508 help
1509 Support for the MSM IPC Router for communication between
1510 the APPs and the MODEM
1511
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001512config MSM_IPC_ROUTER_SMD_XPRT
1513 depends on MSM_SMD
1514 depends on MSM_IPC_ROUTER
1515 default n
1516 bool "MSM SMD XPRT Layer"
1517 help
1518 SMD Transport Layer for IPC Router
1519
Karthikeyan Ramasubramanianfec77ff2012-10-26 20:03:26 -06001520config MSM_QMI_INTERFACE
1521 depends on MSM_IPC_ROUTER
1522 depends on QMI_ENCDEC
1523 default n
1524 bool "MSM QMI Interface Library"
1525 help
1526 Library to send and receive QMI messages over IPC Router.
1527 This library provides interface functions to the kernel drivers
1528 to perform QMI message marshaling and transport them over IPC
1529 Router.
1530
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001531config MSM_ONCRPCROUTER_DEBUG
1532 depends on MSM_ONCRPCROUTER
1533 default y
1534 bool "MSM debug ONCRPC router support"
1535 help
1536 Support for debugging the ONCRPC router for communication
1537 between the ARM9 and ARM11
1538
1539config MSM_RPC_LOOPBACK_XPRT
1540 depends on MSM_ONCRPCROUTER
1541 default n
1542 bool "MSM RPC local routing support"
1543 help
1544 Support for routing RPC messages between APPS clients
1545 and APPS servers. Helps in testing APPS RPC framework.
1546
1547config MSM_RPCSERVER_TIME_REMOTE
1548 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1549 default y
1550 bool "Time remote RPC server"
1551 help
1552 The time remote server receives notification of time bases and
1553 reports these events to registered callback functions.
1554
1555config MSM_RPCSERVER_WATCHDOG
1556 depends on MSM_ONCRPCROUTER
1557 default y
1558 bool "Watchdog RPC server"
1559 help
1560 The dog_keepalive server handles watchdog events.
1561
1562config MSM_RPC_WATCHDOG
1563 depends on MSM_ONCRPCROUTER
1564 default n
1565 bool "Watchdog RPC client"
1566 help
1567 The dog_keepalive client module.
1568
1569config MSM_RPC_PING
1570 depends on MSM_ONCRPCROUTER && DEBUG_FS
1571 default m
1572 bool "MSM rpc ping"
1573 help
1574 Implements MSM rpc ping test module.
1575
1576config MSM_RPC_PROC_COMM_TEST
1577 depends on DEBUG_FS && MSM_PROC_COMM
1578 default m
1579 bool "MSM rpc proc comm test"
1580 help
1581 Implements MSM rpc proc comm test module.
1582
1583config MSM_RPC_OEM_RAPI
1584 depends on MSM_ONCRPCROUTER
1585 default m
1586 bool "MSM oem rapi"
1587 help
1588 Implements MSM oem rapi client module.
1589
1590config MSM_RPCSERVER_HANDSET
1591 depends on MSM_ONCRPCROUTER
1592 default y
1593 bool "Handset events RPC server"
1594 help
1595 Support for receiving handset events like headset detect,
1596 headset switch and clamshell state.
1597
1598config MSM_RMT_STORAGE_CLIENT
1599 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1600 default n
1601 bool "Remote Storage RPC client"
1602 help
1603 Provide RPC mechanism for remote processors to access storage
1604 device on apps processor.
1605
1606config MSM_RMT_STORAGE_CLIENT_STATS
1607 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1608 default n
1609 bool "Remote storage RPC client performance statistics"
1610 help
1611 Collects performance statistics and shows this information
1612 through a debugfs file rmt_storage_stats.
1613
1614config MSM_SDIO_SMEM
1615 depends on MSM_SDIO_AL
1616 default n
1617 bool "SDIO SMEM for remote storage"
1618 help
1619 Copies data from remote MDM9K memory to local MSM8x60
1620 memory. Used by remote storage client to shadow
1621 MDM9K filesystem.
1622
1623config MSM_DALRPC
1624 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001625 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001626 help
1627 Supports RPC calls to DAL devices on remote processor cores.
1628
1629config MSM_DALRPC_TEST
1630 tristate "DAL RPC test module"
1631 depends on (MSM_DALRPC && DEBUG_FS)
1632 default m
1633 help
1634 Exercises DAL RPC calls to QDSP6.
1635
1636if CPU_FREQ_MSM
1637
1638config MSM_CPU_FREQ_SET_MIN_MAX
1639 bool "Set Min/Max CPU frequencies."
1640 default n
1641 help
1642 Allow setting min and max CPU frequencies. Sysfs can be used
1643 to override these values.
1644
1645config MSM_CPU_FREQ_MAX
1646 int "Max CPU Frequency"
1647 depends on MSM_CPU_FREQ_SET_MIN_MAX
1648 default 384000
1649
1650config MSM_CPU_FREQ_MIN
1651 int "Min CPU Frequency"
1652 depends on MSM_CPU_FREQ_SET_MIN_MAX
1653 default 245760
1654
1655endif # CPU_FREQ_MSM
1656
1657config MSM_CPU_AVS
1658 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1659 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1660 depends on ARCH_QSD8X50
1661 default n
1662 select MSM_AVS_HW
1663 help
1664 This enables the s/w control of Adaptive Voltage Scaling feature
1665 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1666 based on feedback from three ring oscillators in the CPU.
1667
1668config MSM_AVS_HW
1669 bool "Enable Adaptive Voltage Scaling (AVS)"
1670 default n
1671 help
1672 Enable AVS hardware to fine tune voltage at each frequency. The
1673 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1674 fine tune the voltages based on the feedback from the ring
1675 oscillators.
1676
1677config MSM_HW3D
1678 tristate "MSM Hardware 3D Register Driver"
1679 depends on ANDROID_PMEM
1680 default y
1681 help
1682 Provides access to registers needed by the userspace OpenGL|ES
1683 library.
1684
1685config MSM_ADSP
1686 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1687 tristate "MSM ADSP driver"
1688 depends on ANDROID_PMEM
1689 default y
1690 help
1691 Provides access to registers needed by the userspace aDSP library.
1692
1693config ADSP_RPC_VER
1694 hex
1695 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1696 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1697 depends on MSM_ADSP
1698 help
1699 Select proper ADSP RPC version
1700choice
1701 prompt "ADSP RPC version"
1702
1703 default AMSS_7X25_VERSION_2009
1704
1705 config AMSS_7X25_VERSION_2009
1706 bool "2.0.09"
1707
1708 config AMSS_7X25_VERSION_2008
1709 bool "2.0.08"
1710endchoice
1711
1712config MSM7KV2_AUDIO
1713 bool "MSM7K v2 audio"
1714 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1715 default y
1716 help
1717 Enables QDSP5V2-based audio drivers for audio playbacks and
1718 voice call.
1719
1720config MSM_ADSP_REPORT_EVENTS
1721 bool "Report modem events from the DSP"
1722 default y
1723 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1724 help
1725 Normally, only messages from the aDSP are reported to userspace.
1726 With this option, we report events from the aDSP as well.
1727
1728config MSM_QDSP6
1729 tristate "QDSP6 support"
1730 depends on ARCH_QSD8X50 && ANDROID_PMEM
1731 default y
1732 help
1733 Enable support for qdsp6. This provides audio and video functionality.
1734
1735config MSM8X60_AUDIO
1736 tristate "MSM8X60 audio support"
1737 depends on ARCH_MSM8X60 && ANDROID_PMEM
1738 default y
1739 help
1740 Enable support for qdsp6v2. This provides audio functionality.
1741
1742config MSM8X60_FTM_AUDIO_DEVICES
1743 bool "MSM8X60 audio factory test mode support"
1744 depends on MSM8X60_AUDIO
1745 help
1746 Enable support audio factory test mode devices. This is used
1747 in a production line environment.
1748
Ben Romberger45b351c2011-07-20 22:37:27 -07001749config RTAC
1750 bool "MSM8K real-time audio calibration support"
1751 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001752 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001753 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001754 audio operation
1755
1756config MSM7X27A_AUDIO
1757 bool "MSM7X27A audio support"
1758 depends on ARCH_MSM7X27A && MSM_ADSP
1759 default n
1760 help
1761 Enable support for 7x27a. This provides audio functionality.
1762
Justin Pauporea6cd2092011-06-22 16:19:45 -07001763config MSM_PROC_COMM_REGULATOR
Gregory Bean1963a2a2010-08-28 10:05:44 -07001764 bool
Justin Pauporea6cd2092011-06-22 16:19:45 -07001765 depends on MSM_PROC_COMM && REGULATOR
1766 help
1767 Enable regulator framework support for regulators managed by PMLIB
1768 on the modem, and controlled through proccomm calls.
1769
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001770config MSM_VREG_SWITCH_INVERTED
1771 bool "Reverse vreg switch polarity"
1772 default n
1773 help
1774 Reverses the enable and disable for vreg switch.
1775
1776config MSM_DMA_TEST
1777 tristate "MSM DMA test module"
1778 default m
1779 help
1780 Intended to be compiled as a module. Provides a device node
1781 and ioctls for testing the MSM dma system.
1782
1783config WIFI_CONTROL_FUNC
1784 bool "Enable WiFi control function abstraction"
1785 help
1786 Enables Power/Reset/Carddetect function abstraction
1787
1788config WIFI_MEM_PREALLOC
1789 depends on WIFI_CONTROL_FUNC
1790 bool "Preallocate memory for WiFi buffers"
1791 help
1792 Preallocates memory buffers for WiFi driver
1793
1794config QSD_AUDIO
1795 bool "QSD audio"
1796 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1797 default y
1798 help
1799 Provides PCM, MP3, and AAC audio playback.
1800
1801config AUDIO_AAC_PLUS
1802 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1803 bool "AAC+ Audio"
1804 default y
1805 help
1806 Provides AAC+ decoding
1807
1808config AUDIO_ENHANCED_AAC_PLUS
1809 depends on AUDIO_AAC_PLUS
1810 bool "Enhanced AAC+ Audio"
1811 default y
1812 help
1813 Provides Enhanced AAC+ decoding
1814
1815config SURF_FFA_GPIO_KEYPAD
1816 bool "MSM SURF/FFA GPIO keypad"
1817 depends on INPUT_GPIO = "y"
1818 default y
1819 help
1820 Select if the GPIO keypad is attached.
1821
1822config MSM_SLEEP_TIME_OVERRIDE
1823 bool "Allow overriding suspend/sleep time with PM module parameter"
1824 default y
1825 help
1826 Enable the module parameter sleep_time_override. Specified
1827 in units of seconds, it overwrites the normal sleep time of
1828 suspend. The feature is required for automated power management
1829 testing.
1830
1831config MSM_MEMORY_LOW_POWER_MODE
1832 bool "Control the low power modes of memory"
1833 default n
1834 help
1835 The application processor controls whether memory should enter
1836 which low power mode.
1837
1838choice
1839 prompt "Default Memory Low Power Mode during Idle"
1840 depends on MSM_MEMORY_LOW_POWER_MODE
1841 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1842 help
1843 Selects the default low power mode of the memory during idle
1844 sleep.
1845
1846 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1847 bool "Memory active"
1848
1849 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1850 bool "Memory in retention"
1851
1852 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1853 bool "Memory in deep power down"
1854endchoice
1855
1856choice
1857 prompt "Default Memory Low Power Mode during Suspend"
1858 depends on MSM_MEMORY_LOW_POWER_MODE
1859 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1860 help
1861 Selects the default low power mode of the memory during suspend
1862 sleep.
1863
1864 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1865 bool "Memory active"
1866
1867 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1868 bool "Memory in retention"
1869
1870 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1871 bool "Memory in deep power down"
1872endchoice
1873
1874choice
1875 prompt "Power management timeout action"
1876 default MSM_PM_TIMEOUT_HALT
1877 help
1878 Selects the Application Processor's action when Power Management
1879 times out waiting for Modem's handshake.
1880
1881 config MSM_PM_TIMEOUT_HALT
1882 bool "Halt the Application Processor"
1883
1884 config MSM_PM_TIMEOUT_RESET_MODEM
1885 bool "Reset the Modem Processor"
1886
1887 config MSM_PM_TIMEOUT_RESET_CHIP
1888 bool "Reset the entire chip"
1889endchoice
1890
1891config MSM_IDLE_WAIT_ON_MODEM
1892 int "Wait for Modem to become ready for idle power collapse"
1893 default 0
1894 help
1895 If Modem is not ready to handle Application Processor's request
1896 for idle power collapse, wait the number of microseconds in case
1897 Modem becomes ready soon.
1898
Matt Wagantall9274df92011-12-15 11:11:05 -08001899config MSM_RPM_REGULATOR
1900 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001901 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001902 help
1903 Compile in support for the RPM regulator driver, used for setting
1904 voltages and other parameters of the various power rails supplied
1905 by some Qualcomm PMICs.
1906
David Collinsc7642322012-04-04 10:19:12 -07001907config MSM_RPM_REGULATOR_SMD
1908 bool "SMD RPM regulator driver"
1909 depends on REGULATOR
1910 depends on OF
1911 depends on MSM_RPM_SMD
1912 help
1913 Compile in support for the SMD RPM regulator driver which is used for
1914 setting voltages and other parameters of the various power rails
1915 supplied by some Qualcomm PMICs. The SMD RPM regulator driver should
1916 be used on systems which contain an RPM which communicates with the
1917 application processor over SMD.
1918
Stephen Boyd01710582012-07-09 13:40:05 -07001919config MSM_SUBSYSTEM_RESTART
1920 bool "MSM Subsystem Restart"
1921 help
1922 This option enables the MSM subsystem restart framework.
1923
1924 The MSM subsystem restart framework provides support to boot,
1925 shutdown, and restart subsystems with a reference counted API.
1926 It also notifies userspace of transitions between these states via
1927 sysfs.
1928
1929config MSM_SYSMON_COMM
1930 bool "MSM System Monitor communication support"
1931 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1932 help
1933 This option adds support for MSM System Monitor library, which
1934 provides an API that may be used for notifying subsystems within
1935 the SoC about other subsystems' power-up/down state-changes.
1936
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001937config MSM_PIL
1938 bool "Peripheral image loading"
1939 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001940 default n
1941 help
1942 Some peripherals need to be loaded into memory before they can be
1943 brought out of reset.
1944
1945 Say yes to support these devices.
1946
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001947config MSM_PIL_MODEM
1948 tristate "Modem (ARM11) Boot Support"
Stephen Boyd3ac20732012-05-03 18:46:08 -07001949 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001950 help
1951 Support for booting and shutting down ARM11 Modem processors.
1952
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001953config MSM_PIL_QDSP6V3
1954 tristate "QDSP6v3 (Hexagon) Boot Support"
Stephen Boyd2e19d932012-05-09 17:36:04 -07001955 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001956 help
1957 Support for booting and shutting down QDSP6v3 processors (hexagon).
1958 The QDSP6 is a low power DSP used in audio software applications.
1959
Stephen Boydbdb53f32012-06-05 18:39:47 -07001960config MSM_PIL_LPASS_QDSP6V4
1961 tristate "LPASS QDSP6v4 (Hexagon) Boot Support"
Stephen Boyda1cf76b2012-06-13 12:05:35 -07001962 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydeb819882011-08-29 14:46:30 -07001963 help
Stephen Boydbdb53f32012-06-05 18:39:47 -07001964 Support for booting and shutting down QDSP6v4 processors (hexagon)
1965 in low power audio subsystems. If you would like to record or
1966 play audio then say Y here.
1967
1968 If unsure, say N.
1969
1970config MSM_PIL_MODEM_QDSP6V4
1971 tristate "Modem QDSP6v4 (Hexagon) Boot Support"
Stephen Boyd2efa9962012-06-12 14:20:12 -07001972 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydbdb53f32012-06-05 18:39:47 -07001973 help
1974 Support for booting and shutting down QDSP6v4 processors (hexagon)
1975 in modem subsystems. If you would like to make or receive phone
1976 calls then say Y here.
1977
1978 If unsure, say N.
Stephen Boydeb819882011-08-29 14:46:30 -07001979
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001980config MSM_PIL_LPASS_QDSP6V5
Stephen Boyd633eb622012-06-13 12:05:35 -07001981 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
1982 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
1983 help
1984 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1985 in low power audio subsystems. This driver also monitors the ADSP
1986 SMSM status bits and the ADSP's watchdog interrupt and restarts the
1987 ADSP if the processor encounters a fatal error.
Matt Wagantall4e2599e2012-03-21 22:31:35 -07001988
1989config MSM_PIL_MSS_QDSP6V5
Stephen Boyd3da4fd02012-07-06 10:00:12 -07001990 tristate "MSS QDSP6v5 (Hexagon) Boot Support"
1991 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantalle6e00d52012-03-08 17:39:07 -08001992 help
Stephen Boyd3da4fd02012-07-06 10:00:12 -07001993 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1994 in modem subsystems. If you would like to make or receive phone
1995 calls then say Y here.
1996
1997 If unsure, say N.
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001998
Stephen Boyd322a9922011-09-20 01:05:54 -07001999config MSM_PIL_RIVA
2000 tristate "RIVA (WCNSS) Boot Support"
Stephen Boydfdec00d2012-05-10 17:04:49 -07002001 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd322a9922011-09-20 01:05:54 -07002002 help
2003 Support for booting and shutting down the RIVA processor (WCNSS).
2004 Riva is the wireless subsystem processor used in bluetooth, wireless
2005 LAN, and FM software applications.
2006
Stephen Boydd89eebe2011-09-28 23:28:11 -07002007config MSM_PIL_TZAPPS
2008 tristate "TZApps Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002009 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boydd89eebe2011-09-28 23:28:11 -07002010 help
2011 Support for booting and shutting down TZApps.
2012
2013 TZApps is an image that runs in the secure processor state. It is
2014 used to decrypt data and perform secure operations on the behalf of
2015 the kernel.
2016
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07002017config MSM_PIL_DSPS
2018 tristate "DSPS Boot Support"
Stephen Boydf169b4b2012-05-10 17:55:55 -07002019 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07002020 help
2021 Support for booting and shutting down ARM7 DSPS processors.
2022
2023 DSPS is a sensors offloading processor used for applications such
2024 as rotation detection, temperature, etc.
2025
Stephen Boyd7b973de2012-03-09 12:26:16 -08002026config MSM_PIL_VIDC
2027 tristate "Video Core Secure Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002028 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd7b973de2012-03-09 12:26:16 -08002029 help
2030 Support for authenticating the video core image.
2031
Tianyi Gou828798d2012-05-02 21:12:38 -07002032config MSM_PIL_VENUS
2033 tristate "VENUS (Video) Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002034 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Tianyi Gou828798d2012-05-02 21:12:38 -07002035 help
2036 Support for booting and shutting down the VENUS processor (Video).
2037 Venus is the Video subsystem processor used for video codecs.
2038
Matt Wagantall292aace2012-01-26 19:12:34 -08002039config MSM_PIL_GSS
Stephen Boydd86214b2012-05-10 15:26:35 -07002040 tristate "GSS (Cortex A5) Boot Support"
2041 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantall292aace2012-01-26 19:12:34 -08002042 help
2043 Support for booting and shutting down Cortex A5 processors which run
2044 GPS subsystem firmware.
2045
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002046config MSM_PIL_PRONTO
2047 tristate "PRONTO (WCNSS) Boot Support"
Stephen Boyd581fe852012-06-13 12:05:35 -07002048 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002049 help
2050 Support for booting and shutting down the PRONTO processor (WCNSS).
2051 PRONTO is the wireless subsystem processor used in bluetooth, wireless
2052 LAN, and FM software applications.
2053
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002054config MSM_SCM
2055 bool "Secure Channel Manager (SCM) support"
2056 default n
2057
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002058config SCORPION_Uni_45nm_BUG
2059 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
2060 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
2061 default y
2062 help
2063 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
2064 invalidating the Branch Predictor Array by Modified Virtual Address can
2065 create invalid entries in the TLB with the wrong ASID values on Scorpion
2066 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
2067 workaround for Scorpion Uniprocessor 45nm cores.
2068
2069 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
2070
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002071config MSM_BUSPM_DEV
2072 tristate "MSM Bus Performance Monitor Kernel Module"
2073 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
2074 default m
2075 help
2076 This kernel module is used to mmap() hardware registers for the
2077 performance monitors, counters, etc. The module can also be used to
2078 allocate physical memory which is used by bus performance hardware to
2079 dump performance data.
2080
Mona Hossain11c03ac2011-10-26 12:42:10 -07002081config MSM_TZ_LOG
2082 tristate "MSM Trust Zone (TZ) Log Driver"
2083 depends on DEBUG_FS
2084 help
2085 This option enables a driver with a debugfs interface for messages
2086 produced by the Secure code (Trust zone). These messages provide
2087 diagnostic information about TZ operation.
2088
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002089config MSM_RPM_LOG
2090 tristate "MSM Resource Power Manager Log Driver"
2091 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002092 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002093 default n
2094 help
2095 This option enables a driver which can read from a circular buffer
2096 of messages produced by the RPM. These messages provide diagnostic
2097 information about RPM operation. The driver outputs the messages
2098 via a debugfs node.
2099
2100config MSM_RPM_STATS_LOG
2101 tristate "MSM Resource Power Manager Stat Driver"
2102 depends on DEBUG_FS
Priyanka Mathur1af9d4b2012-10-30 14:55:44 -07002103 depends on MSM_RPM || MSM_RPM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002104 default n
2105 help
2106 This option enables a driver which reads RPM messages from a shared
2107 memory location. These messages provide statistical information about
2108 the low power modes that RPM enters. The drivers outputs the message
2109 via a debugfs node.
2110
Girish Mahadevan898c56d2012-06-05 16:09:19 -06002111config MSM_RPM_RBCPR_STATS_LOG
2112 tristate "MSM Resource Power Manager RPBCPR Stat Driver"
2113 depends on DEBUG_FS
2114 depends on MSM_RPM
2115 help
2116 This option enables a driver which reads RPM messages from a shared
2117 memory location. These messages provide statistical information about
2118 RBCPR (Rapid Bridge Core Power Reduction) information . The drivers
2119 outputs the message via a debugfs node.
2120
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002121config MSM_DIRECT_SCLK_ACCESS
2122 bool "Direct access to the SCLK timer"
2123 default n
2124
2125config IOMMU_API
2126 bool
Gregory Bean1963a2a2010-08-28 10:05:44 -07002127
Brian Swetland9e73c842007-11-26 04:12:13 -08002128config MSM_GPIOMUX
2129 bool
2130
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002131config MSM_SECURE_IO
Brian Swetland9e73c842007-11-26 04:12:13 -08002132 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002133
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002134config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002135 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002136
Taniya Dascd1d0232012-07-03 17:50:47 +05302137config MSM_MODEM_RESTART
2138 bool
2139
Matt Wagantall88b86312012-01-31 16:53:03 -08002140config MSM_PM2
2141 depends on PM
2142 bool
2143
2144config MSM_PM8X60
2145 depends on PM
2146 bool
2147
Girish Mahadevan388c3082012-09-10 15:30:36 -06002148config MSM_EVENT_TIMER
2149 bool "Event timer"
2150 help
2151 This option enables a modules that manages a list of event timers that
2152 need to be monitored by the PM. The enables the PM code to monitor
2153 events that require the core to be awake and ready to handle the
2154 event.
2155
Matt Wagantall88b86312012-01-31 16:53:03 -08002156config MSM_NOPM
2157 default y if !PM
2158 bool
2159
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002160config MSM_BUS_SCALING
2161 bool "Bus scaling driver"
2162 default n
2163
Gagan Mac85c70492011-06-10 16:07:47 -06002164config MSM_BUS_RPM_MULTI_TIER_ENABLED
2165 bool "RPM Multi-tiering Configuration"
2166 depends on MSM_BUS_SCALING
2167
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002168config MSM_WATCHDOG
2169 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002170 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002171 help
2172 This enables the watchdog as is present on 8x60. Currently we use
2173 core 0's watchdog, and reset the entire SoC if it times out. It does
2174 not run during the bootup process, so it will not catch any early
2175 lockups.
2176
Hanumant Singhd1f01022012-07-05 14:21:53 -07002177config MSM_WATCHDOG_V2
2178 bool "MSM Watchdog Support"
2179 help
2180 This enables the watchdog module. It causes kernel panic if the
2181 watchdog times out. It allows for detection of cpu hangs and
2182 deadlocks. It does not run during the bootup process, so it will
2183 not catch any early lockups.
2184
Hanumant Singh5e2541c2012-07-31 14:41:14 -07002185config MSM_MEMORY_DUMP
2186 bool "MSM Memory Dump Support"
2187 help
2188 This enables memory dump feature. It allows various client
2189 subsystems to register respective dump regions. At the time
2190 of deadlocks or cpu hangs these dump regions are captured to
2191 give a snapshot of the system at the time of the crash.
2192
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002193config MSM_DLOAD_MODE
2194 bool "Enable download mode on crashes"
Abhimanyu Kapurdd7f2692012-10-22 13:43:52 -07002195 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_MSM8974 || ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002196 default n
2197 help
2198 This makes the SoC enter download mode when it resets
2199 due to a kernel panic. Note that this doesn't by itself
2200 make the kernel reboot on a kernel panic - that must be
2201 enabled via another mechanism.
2202
Pratik Patel17f3b822011-11-21 12:41:47 -08002203config MSM_JTAG
Pratik Patel2963de42012-05-17 12:43:40 -07002204 bool "JTAG and kernel debug and trace support across power collapse"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002205 help
Pratik Patel2963de42012-05-17 12:43:40 -07002206 Enables support for kernel debugging (specifically breakpoints) and
2207 processor tracing across power collapse both for JTag and OS hosted
2208 software running on the target. Enabling this will ensure debug
2209 and ETM registers are saved and restored across power collapse.
2210
2211 For production builds, you should probably say 'N' here to avoid
2212 potential power, performance and memory penalty.
Pratik Patel7831c082011-06-08 21:44:37 -07002213
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002214config MSM_ETM
2215 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002216 depends on ARCH_MSM8X60
2217 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002218 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002219 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002220
Lynus Vazdde09ee2012-01-05 13:28:22 +05302221config MSM_SLEEP_STATS_DEVICE
2222 bool "Enable exporting of MSM sleep device stats to userspace"
2223
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302224config MSM_RUN_QUEUE_STATS
2225 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Krishna Vankae2922052012-03-02 09:59:12 +05302226 depends on (MSM_SOC_REV_A || ARCH_MSM8X60 || ARCH_MSM8960)
2227 help
2228 This option enalbes statistics collection on Run Queue. A daemon
2229 in user mode, called MPDecision will be using this data to decide
2230 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302231
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002232config MSM_STANDALONE_POWER_COLLAPSE
2233 bool "Enable standalone power collapse"
2234 default n
2235
2236config MSM_GSBI9_UART
2237 bool "Enable GSBI9 UART device"
2238 default n
2239 help
2240 This enables GSBI9 configured into UART.
2241
2242config MSM_SHARED_GPIO_FOR_UART2DM
2243 bool "Use shared GPIOs into UART mode"
2244 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2245 help
2246 This option configures GPIO muxed with SDC4/MMC3
2247 8-bit mode into UART mode. It is used for serial
2248 console on UART2DM. Say Y if you want to have
2249 serial console on UART2DM.
2250
2251config MSM_SHOW_RESUME_IRQ
2252 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002253 depends on (ARM_GIC || PMIC8058)
2254 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002255 default n
2256 help
2257 This option logs wake up interrupts that have triggered just before
2258 the resume loop unrolls. Say Y if you want to debug why the system
2259 resumed.
2260
2261config BT_MSM_PINTEST
2262 tristate "MSM Bluetooth Pin Connectivity Test"
2263 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2264 default n
2265 help
2266 Bluetooth MSM Pin Connectivity test module.
2267 This driver provides support for verifying the MSM to BT pin
2268 connectivity.
2269
2270config MSM_FAKE_BATTERY
2271 depends on POWER_SUPPLY
2272 default n
2273 bool "MSM Fake Battery"
2274 help
2275 Enables MSM fake battery driver.
2276
2277config MSM_QDSP6_APR
2278 bool "Audio QDSP6 APR support"
2279 depends on MSM_SMD
2280 default n
2281 help
2282 Enable APR IPC protocol support between
2283 application processor and QDSP6. APR is
2284 used by audio driver to configure QDSP6's
2285 ASM, ADM and AFE.
2286
Joonwoo Park91d95462012-08-02 10:55:54 -07002287config MSM_QDSP6_APRV2
2288 bool "Audio QDSP6 APRv2 support"
2289 depends on MSM_SMD
2290 default n
2291 help
2292 Enable APRv2 IPC protocol support between
2293 application processor and QDSP6. APR is
2294 used by audio driver to configure QDSP6's
2295 ASM, ADM and AFE.
2296
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -07002297config MSM_QDSP6_CODECS
2298 bool "Audio Codecs on QDSP6 APR "
2299 depends on MSM_SMD
2300 default n
2301 help
2302 Enable Audio codecs with APR IPC protocol support between
2303 application processor and QDSP6. APR is
2304 used by audio driver to configure QDSP6's
2305 ASM, ADM and AFE.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002306
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002307config MSM_QDSP6V2_CODECS
2308 bool "Audio QDSP6V2 APR support"
2309 depends on MSM_SMD
2310 help
2311 Enable Audio codecs with APR IPC protocol support between
2312 application processor and QDSP6 for B-family. APR is
2313 used by audio driver to configure QDSP6's
2314 ASM, ADM and AFE.
2315
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002316config MSM_AUDIO_QDSP6
2317 bool "QDSP6 HW Audio support"
2318 select SND_SOC_MSM_QDSP6_INTF
2319 default n
2320 help
2321 Enable HW audio support in QDSP6.
2322 QDSP6 can support HW encoder & decoder and audio processing
2323
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002324config MSM_AUDIO_QDSP6V2
2325 bool "QDSP6V2 HW Audio support"
2326 select SND_SOC_MSM_QDSP6V2_INTF
2327 help
2328 Enable HW audio support in QDSP6V2.
2329 QDSP6V2 can support HW encoder & decoder and
2330 audio processing. It will enable support for
2331 AAC, AMRNB, AMRWB, EVRC, MP3, QCELP among
2332 others.
2333
Joonwoo Park4a14a552012-08-02 11:03:21 -07002334config MSM_ADSP_LOADER
2335 tristate "ADSP loader support"
2336 select SND_SOC_MSM_APRV2_INTF
2337 depends on MSM_AUDIO_QDSP6V2 && m
2338 help
2339 Enable ADSP image loader.
2340 The ADSP loader brings ADSP out of reset
2341 for the platforms that use APRv2.
2342 Say M if you want to enable this module.
2343
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +02002344config MSM_ULTRASOUND_A
2345 bool "QDSP6 HW Ultrasound support"
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002346 help
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +02002347 Enable HW ultrasound support in QDSP6.
2348 QDSP6 can support HW encoder & decoder and
2349 ultrasound processing. It will enable
2350 ultrasound data paths between
2351 HW and services, calculating input events
2352 upon the ultrasound data.
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002353
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002354config MSM_RPC_VIBRATOR
2355 bool "RPC based MSM Vibrator Support"
2356 depends on MSM_ONCRPCROUTER
2357 help
2358 Enable the vibrator support on MSM over RPC. The vibrator
2359 is connected on the PMIC. Say Y if you want to enable this
2360 feature.
2361
2362config PM8XXX_RPC_VIBRATOR
2363 bool "RPC based Vibrator on PM8xxx PMICs"
2364 depends on MSM_RPC_VIBRATOR
2365 help
2366 Enable the vibrator support on MSM over RPC. The vibrator
2367 is connected on the PM8XXX PMIC. Say Y if you want to enable
2368 this feature.
2369
2370config MSM_SPM_V1
2371 bool "Driver support for SPM Version 1"
2372 help
2373 Enables the support for Version 1 of the SPM driver. SPM hardware is
2374 used to manage the processor power during sleep. The driver allows
2375 configuring SPM to allow different power modes.
2376
2377config MSM_SPM_V2
2378 bool "Driver support for SPM Version 2"
2379 help
2380 Enables the support for Version 2 of the SPM driver. SPM hardware is
2381 used to manage the processor power during sleep. The driver allows
2382 configuring SPM to allow different power modes.
2383
2384config MSM_L2_SPM
2385 bool "SPM support for L2 cache"
2386 depends on MSM_SPM_V2
2387 help
2388 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2389 control of L2 cache low power mode with a Subsystem Power manager.
2390 Enabling this driver allows configuring L2 SPM for low power modes
2391 on supported chipsets.
2392
Laura Abbott2d1760b2011-09-29 21:31:24 -07002393config MSM_MULTIMEDIA_USE_ION
2394 bool "Multimedia suport using Ion"
2395 depends on ION_MSM
2396 help
2397 Enable support for multimedia drivers using Ion for buffer management
2398 instead of pmem. Selecting this may also involve userspace
2399 dependencies as well.
2400
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002401config MSM_OCMEM
2402 bool "MSM On-Chip memory driver (OCMEM)"
2403 help
2404 Enable support for On-Chip Memory available on certain MSM chipsets.
2405 OCMEM is a low latency, high performance pool shared by subsystems.
2406
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002407config MSM_OCMEM_LOCAL_POWER_CTRL
2408 bool "OCMEM Local Power Control"
2409 depends on MSM_OCMEM
2410 help
2411 Enable direct power management of the OCMEM core by the
2412 OCMEM driver. By default power management is delegated to
2413 the RPM. Selecting this option causes the OCMEM driver to
2414 directly handle the various macro power transitions.
2415
2416config MSM_OCMEM_DEBUG
2417 bool "OCMEM Debug Support"
2418 depends on MSM_OCMEM
2419 help
2420 Enable debug options for On-chip Memory (OCMEM) driver.
2421 Various debug options include memory, power and latency.
2422 Choosing one of these options allows debugging of each
2423 individual subsystem separately.
2424
Naveen Ramarajc71b2de2012-08-20 12:35:52 -07002425config MSM_OCMEM_NONSECURE
2426 bool "OCMEM Non Secure Mode"
2427 depends on MSM_OCMEM_DEBUG
2428 help
2429 Disable OCMEM interaction with secure processor.
2430 By default OCMEM is secured and accesses for each master
2431 is requested by the OCMEM driver. Selecting this option
2432 causes the OCMEM memory to be in non-secure state unless
2433 its locked down by the secure processor.
2434
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002435config MSM_OCMEM_POWER_DEBUG
2436 bool "OCMEM Power Debug Support"
2437 depends on MSM_OCMEM_DEBUG
2438 help
2439 Enable debug support for OCMEM power management.
2440 This adds support for verifying all power management
2441 related operations of OCMEM. Both local power management
2442 and RPM assisted power management operations are supported.
2443
Naveen Ramaraj4b1d9392012-08-06 21:05:14 -07002444config MSM_OCMEM_POWER_DISABLE
2445 bool "OCMEM Disable Power Control"
2446 depends on MSM_OCMEM_DEBUG
2447 help
2448 Disable all OCMEM power management.
2449 This keeps all OCMEM macros turned ON at all times thus
2450 never allowing them to be turned OFF. Both local power
2451 management and RPM assisted power modes are supported.
2452
Laura Abbottad340ff2012-01-04 14:23:48 -08002453config MSM_RTB
2454 bool "Register tracing"
2455 help
2456 Add support for logging different events to a small uncached
2457 region. This is designed to aid in debugging reset cases where the
2458 caches may not be flushed before the target resets.
2459
2460config MSM_RTB_SEPARATE_CPUS
2461 bool "Separate entries for each cpu"
2462 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002463 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002464 help
2465 Under some circumstances, it may be beneficial to give dedicated space
2466 for each cpu to log accesses. Selecting this option will log each cpu
2467 separately. This will guarantee that the last acesses for each cpu
2468 will be logged but there will be fewer entries per cpu
2469
Stepan Moskovchenko57884842012-06-07 17:35:49 -07002470config MSM_EBI_ERP
2471 bool "External Bus Interface (EBI) error reporting"
2472 help
2473 Say 'Y' here to enable reporting of external bus interface errors to
2474 the kernel log. Information such as the offending address and
2475 transaction type will be logged. This may be useful for debugging
2476 seemingly broken memory accesses.
2477
2478 For production builds, you should probably say 'N' here.
2479
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002480config MSM_CACHE_ERP
2481 bool "Cache / CPU error reporting"
2482 depends on ARCH_MSM_KRAIT
2483 help
2484 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2485 log. Enabling this feature can be used as a system debugging technique
2486 if cache corruption is suspected. Cache error statistics will also be
2487 reported in /proc/cpu/msm_cache_erp.
2488
2489 For production builds, you should probably say 'N' here.
2490
2491config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002492 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002493 depends on MSM_CACHE_ERP
2494 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002495 To cause the kernel to panic whenever an L1 cache error is detected, say
2496 'Y' here. This may be useful as a debugging technique if general system
2497 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002498
2499 For production builds, you should probably say 'N' here.
2500
Stepan Moskovchenko7035f652012-05-31 17:48:01 -07002501config MSM_L1_ERR_LOG
2502 bool "Log CPU ERP events to system memory"
2503 depends on MSM_CACHE_ERP
2504 help
2505 Enable logging CPU ERP events to an area of memory that will be
2506 preserved across a system reset. This may be useful for detecting and
2507 troubleshooting ERP-related system crashes in the field.
2508
2509 For production builds, you may want to say 'Y' here.
2510
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002511config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2512 bool "Report L2 master port slave/decode errors in kernel log"
2513 depends on MSM_CACHE_ERP
2514 help
2515 Master port errors can occur when a memory request is not properly
2516 handled by the destination slave. This can occur if the destination
2517 register does not exist or is inaccessible due to security
2518 restrictions or (in some cases) clock configuration. Enabling this
2519 option will cause a backtrace to be printed to the kernel log whenever
2520 such an error is encountered. Note that the error is reported as an
2521 interrupt rather than as an exception, meaning that the backtrace may
2522 have some skid. This option may help with debugging, though production
2523 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002524
2525config MSM_L2_ERP_PORT_PANIC
2526 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002527 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002528 help
2529 Master port errors can occur when a memory request is not properly
2530 handled by the destination slave. Enable this option to catch drivers
2531 which attempt to access bad areas of the address space, or access
2532 hardware registers in an improper state (such as certain clocks not
2533 being on). This option may help with debugging, though production
2534 builds should probably say 'N' here.
2535
2536config MSM_L2_ERP_1BIT_PANIC
2537 bool "Panic on recoverable L2 soft errors"
2538 depends on MSM_CACHE_ERP
2539 help
2540 Enable this option to cause a kernel panic whenever the L2 cache
2541 encounters a single-bit (correctable) soft error. This option should
2542 only be enabled when doing low-level debugging where cache corruption
2543 is suspected.
2544
2545 For production builds, you should definitely say 'N' here.
2546
2547config MSM_L2_ERP_2BIT_PANIC
2548 bool "Panic on unrecoverable L2 soft errors"
2549 depends on MSM_CACHE_ERP
2550 help
2551 Enable this option to cause a kernel panic whenever the L2 cache
2552 encounters a double-bit (non-correctable) soft error. Debug builds
2553 will likely benefit from having this option enabled to catch cache
2554 problems as soon as possible.
2555
2556 For production builds, it may be acceptable to say 'N' here, since
2557 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002558
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002559config MSM_DCVS
2560 bool "Use MSM DCVS for CPU/GPU Frequency control"
2561 depends on MSM_SCM
2562 help
2563 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2564 The DCVS manager allows idle driver to feed the idle information to the
2565 algorithm and the algorithm returns a frequency for the core which is
2566 passed to the frequency change driver.
2567
Pankaj Kumar32ce1ea2012-04-04 20:29:29 +05302568config MSM_CPR
2569 tristate "Use MSM CPR in S/W mode"
2570 help
2571 Enable CPR (core power reduction) in S/W mode, where the processor
2572 get's the notification from CPR block and programs the PMIC.
2573
2574config MSM_VP_REGULATOR
2575 tristate "Use MSM PMIC8029 C2 regulator"
2576 depends on ARCH_MSM8625
2577 help
2578 Enable MSM PMIC8029 C2 regulator support using APC_PLEVEL access
2579 for MSMs like 8625.
2580
Taniya Dasc43e6872012-03-21 16:41:14 +05302581config HAVE_ARCH_HAS_CURRENT_TIMER
2582 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002583
2584config MSM_CACHE_DUMP
2585 bool "Cache dumping support"
2586 help
2587 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2588 This allows for analysis of the caches in case cache corruption is
2589 suspected.
2590
Laura Abbott7b637362012-03-29 16:43:49 -07002591config MSM_CACHE_DUMP_ON_PANIC
2592 bool "Dump caches on panic"
2593 depends on MSM_CACHE_DUMP
2594 help
2595 By default, the caches are flushed on panic. This means that trying to
2596 look at them in a RAM dump will give useless data. Select this if you
2597 want to dump the L1 and L2 caches on panic before any flush occurs.
2598 If unsure, say N
2599
Jack Phamccbbfab2012-04-09 19:50:20 -07002600config MSM_HSIC_SYSMON
2601 tristate "MSM HSIC system monitor driver"
2602 depends on USB
2603 help
2604 Add support for bridging with the system monitor interface of MDM
2605 over HSIC. This driver allows the local system monitor to
2606 communicate with the remote system monitor interface.
2607
2608config MSM_HSIC_SYSMON_TEST
2609 tristate "MSM HSIC system monitor bridge test"
2610 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2611 help
2612 Enable the test hook for the Qualcomm system monitor HSIC driver.
2613 This will create a debugfs file entry named "hsic_sysmon_test" which
2614 can be read and written to send character data to the sysmon port of
2615 the modem over USB.
2616
Anirudh Ghayal0d2291a2012-09-20 21:31:41 +05302617config MSM_RPC_PMIC
2618 tristate "MSM RPC PMIC driver"
2619 depends on MSM_ONCRPCROUTER
2620 help
2621 This driver supports the PMIC functionality over RPC for those MSM's
2622 which do not have a direct access to PMIC. It supports ability to
2623 configure MPP, GPIO and all the other supported peripherals of the
2624 PMIC.
2625
Anirudh Ghayald3a63732012-09-20 22:13:13 +05302626config MSM_RPC_USB
2627 tristate "MSM RPC USB driver"
2628 depends on MSM_ONCRPCROUTER
2629 help
2630 This driver supports the USB configuration support over the RPC
2631 interface. It support the HS USB module connected to the MSM
2632 and FS USB which is connected over the PMIC. This support is
2633 required for MSMs on which the APPS does not have a direct access
2634 to the PMIC.
2635
2636config MSM_RPC_PMAPP
2637 tristate "MSM RPC PMIC APP driver"
2638 depends on MSM_ONCRPCROUTER
2639 help
2640 This driver supports the configuration of various PMIC APP modules
2641 such as display backlight, vreg pin-ctrl, smps clock over the RPC
2642 interface. This support is required for MSMs on which the APPS
2643 does not have a direct access to the PMIC.
Pushkar Joshi0fc73462012-09-26 17:59:31 -07002644
2645config MSM_ENABLE_WDOG_DEBUG_CONTROL
2646 bool "MSM Watchdog driver to disable debug Image"
2647 help
2648 This driver supports the configuration of the GCC_WDOG_DEBUG register
2649 used to control debug image.
2650 This support is currently required for MSM8974 to disable debug image
2651 on PS HOLD reset
Taniya Dasea4263f92012-08-22 18:52:51 +05302652
2653config MSM_FIQ
2654 bool "Enable FIQ for debugging"
2655 depends on ARCH_MSM8625
2656 select FIQ
Taniya Das36e4aa12012-07-04 18:27:16 +05302657 select GIC_SECURE
Taniya Dasea4263f92012-08-22 18:52:51 +05302658 help
2659 Enable any line to be used as an FIQ. This will help debugging
2660 if apps is not responding and holding lock with irqs disabled.
2661 Modem will then generate an raise a FIQ on this line before sending
2662 SMSM reset.
Brian Swetland9e73c842007-11-26 04:12:13 -08002663endif