blob: 2b8be549f2942a5022964d0a4a03fd12c781e29b [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
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700350
351config ARCH_MSM8910
352 bool "MSM8910"
353 select ARM_GIC
354 select GIC_SECURE
355 select SMP
356 select ARCH_MSM_CORTEXMP
357 select CPU_V7
358 select MSM_SCM if SMP
359 select MAY_HAVE_SPARSE_IRQ
360 select SPARSE_IRQ
361 select MULTI_IRQ_HANDLER
362 select GPIO_MSM_V3
363 select MSM_GPIOMUX
Hanumant Singhe4271312012-10-24 13:27:57 -0700364 select MSM_NATIVE_RESTART
365 select MSM_RESTART_V2
Syed Rameez Mustafa9ee80102012-11-02 14:41:04 -0700366
367config ARCH_MSM8226
368 bool "MSM8226"
369 select ARM_GIC
370 select GIC_SECURE
371 select SMP
372 select ARCH_MSM_CORTEXMP
373 select CPU_V7
374 select MSM_SCM if SMP
375 select MAY_HAVE_SPARSE_IRQ
376 select SPARSE_IRQ
377 select MULTI_IRQ_HANDLER
378 select GPIO_MSM_V3
379 select MSM_GPIOMUX
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700380endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700381
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700382choice
383 prompt "MSM SoC Revision"
384 default MSM_SOC_REV_NONE
385config MSM_SOC_REV_NONE
386 bool "N/A"
387 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
388 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walkerbf83de42010-03-16 16:29:44 -0700389config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700390 bool "Rev. A"
391 select ARCH_MSM7X27A if ARCH_MSM7X27
Daniel Walkerbf83de42010-03-16 16:29:44 -0700392endchoice
393
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700394config MSM_KRAIT_TBB_ABORT_HANDLER
395 bool "Krait TBB/TBH data abort handler"
396 depends on ARCH_MSM_KRAIT
397 depends on ARM_THUMB
398 help
399 Certain early samples of the Krait processor may generate data
400 aborts for TBB / TBH instructions that fail their condition code
401 checks. Enabling this option will ignore these erroneous data aborts,
402 at the expense of a very small performance penalty.
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800403
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700404 If unsure, say N.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700405
406config ARCH_MSM_ARM11
407 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700408
Daniel Walkerbf83de42010-03-16 16:29:44 -0700409config ARCH_MSM_SCORPION
410 bool
411
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700412config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700413 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800414 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700415
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700416config MSM_SMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700417 select HAVE_SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700418 bool
419
420config ARCH_MSM_SCORPIONMP
421 select ARCH_MSM_SCORPION
422 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530423 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700424 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700425 bool
426
427config ARCH_MSM_KRAITMP
428 select ARCH_MSM_KRAIT
429 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530430 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700431 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700432 bool
433
Taniya Das43bcdd62011-12-02 17:33:27 +0530434config ARCH_MSM_CORTEXMP
435 select MSM_SMP
436 bool
437
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700438config MSM_KRAIT_WFE_FIXUP
439 bool
440
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700441config MSM_RESTART_V2
442 bool
443
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700444config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800445 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700446
447config ARCH_MSM7X27A
448 bool
449 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700450 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530451 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530452 select ARM_GIC
453 select ARCH_MSM_CORTEXMP
Trilok Sonib856ab92012-06-26 14:33:28 +0530454 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530455 select ARM_HAS_SG_CHAIN
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700456
Gregory Beanf9f3d312010-04-30 22:06:50 -0700457config MSM_VIC
458 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700459
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700460config MSM_RPM
461 bool "Resource Power Manager"
462 select MSM_MPM
463
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600464config MSM_RPM_SMD
465 depends on MSM_SMD
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600466 select MSM_MPM_OF
467 bool "RPM driver using SMD protocol"
468 help
469 RPM is the dedicated hardware engine for managing shared SoC
470 resources. This config adds driver support for using SMD as a
471 transport layer communication with RPM hardware. It also selects
472 the MSM_MPM config that programs the MPM module to monitor interrupts
473 during sleep modes.
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600474
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700475config MSM_MPM
476 bool "Modem Power Manager"
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600477 help
478 MPM is a dedicated hardware resource responsible for entering and
479 waking up from a system wide low power mode. The MPM driver tracks
480 the wakeup interrupts and configures the MPM to monitor the wakeup
481 interrupts when going to a system wide sleep mode.
482
483config MSM_MPM_OF
484 bool "Modem Power Manager"
485 depends on CONFIG_OF
486 help
487 MPM is a dedicated hardware resource responsible for entering and
488 waking up from a system wide low power mode. The MPM driver tracks
489 the wakeup interrupts and configures the MPM to monitor the wakeup
490 interrupts when going to a system wide sleep mode. This config option
491 enables the MPM driver that supports initialization from a device
492 tree
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700493
494config MSM_XO
495 bool
496
497config MSM_REMOTE_SPINLOCK_DEKKERS
498 bool
499config MSM_REMOTE_SPINLOCK_SWP
500 bool
501config MSM_REMOTE_SPINLOCK_LDREX
502 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600503config MSM_REMOTE_SPINLOCK_SFPB
504 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700505config MSM_ADM3
506 bool
507
508menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700509
510config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700511 depends on ARCH_MSM7X01A
512 depends on MSM_STACKED_MEMORY
513 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700514 bool "Halibut Board (QCT SURF7201A)"
515 help
516 Support for the Qualcomm SURF7201A eval board.
517
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700518config MACH_MSM7201A_SURF
519 depends on ARCH_MSM7X01A
520 depends on MSM_STACKED_MEMORY
521 default y
522 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700523 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700524 Support for the Qualcomm MSM7201A SURF eval board.
525
526config MACH_MSM7201A_FFA
527 depends on ARCH_MSM7X01A
528 depends on MSM_STACKED_MEMORY
529 default y
530 bool "MSM7201A FFA"
531 help
532 Support for the Qualcomm MSM7201A FFA eval board.
533
534config MACH_TROUT
535 depends on ARCH_MSM7X01A
536 depends on MSM_STACKED_MEMORY
537 default y
538 bool "Trout"
539
540config MACH_MSM7X27_SURF
541 depends on ARCH_MSM7X27
542 depends on !MSM_STACKED_MEMORY
543 default y
544 bool "MSM7x27 SURF"
545 help
546 Support for the Qualcomm MSM7x27 SURF eval board.
547
548config MACH_MSM7X27_FFA
549 depends on ARCH_MSM7X27
550 depends on !MSM_STACKED_MEMORY
551 default y
552 bool "MSM7x27 FFA"
553 help
554 Support for the Qualcomm MSM7x27 FFA eval board.
555
556config MACH_MSM7X27A_RUMI3
557 depends on ARCH_MSM7X27A
558 depends on !MSM_STACKED_MEMORY
559 default y
560 bool "MSM7x27A RUMI3"
561 help
562 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
563
564config MACH_MSM7X27A_SURF
565 depends on ARCH_MSM7X27A
566 depends on !MSM_STACKED_MEMORY
567 default y
568 bool "MSM7x27A SURF"
569 help
570 Support for the Qualcomm MSM7x27A SURF.
571
572config MACH_MSM7X27A_FFA
573 depends on ARCH_MSM7X27A
574 depends on !MSM_STACKED_MEMORY
575 default y
576 bool "MSM7x27A FFA"
577 help
578 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700579
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530580config MACH_MSM7625A_SURF
581 depends on ARCH_MSM7X27A
582 depends on !MSM_STACKED_MEMORY
583 default y
584 bool "MSM7625A SURF"
585 help
586 Support for the Qualcomm MSM7625A SURF.
587
588config MACH_MSM7625A_FFA
589 depends on ARCH_MSM7X27A
590 depends on !MSM_STACKED_MEMORY
591 default y
592 bool "MSM7625A FFA"
593 help
594 Support for the Qualcomm MSM7625A FFA.
595
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530596config MACH_MSM7627A_QRD1
597 depends on ARCH_MSM7X27A
598 depends on !MSM_STACKED_MEMORY
599 default y
600 bool "MSM7627A QRD1"
601 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530602 Support for the Qualcomm MSM7627A Reference Design.
603
604config MACH_MSM7627A_QRD3
605 depends on ARCH_MSM7X27A
606 depends on !MSM_STACKED_MEMORY
607 default y
608 bool "MSM7627A QRD3"
609 help
610 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530611
Taniya Dasc868a2e2012-01-03 10:18:47 +0530612config MACH_MSM7627A_EVB
613 depends on ARCH_MSM7X27A
614 depends on !MSM_STACKED_MEMORY
615 default y
616 bool "MSM7627A EVB"
617 help
618 Support for the Qualcomm MSM7627A Reference Design.
619
Taniya Das43bcdd62011-12-02 17:33:27 +0530620config MACH_MSM8625_RUMI3
621 depends on ARCH_MSM8625
622 depends on !MSM_STACKED_MEMORY
623 default y
624 bool "MSM8625 RUMI3"
625 help
626 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
627
Taniya Dase3027e22012-02-27 16:32:27 +0530628config MACH_MSM8625_SURF
629 depends on ARCH_MSM8625
630 depends on !MSM_STACKED_MEMORY
631 default y
632 bool "MSM8625 SURF"
633 help
634 Support for the Qualcomm MSM8625 SURF.
635
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530636config MACH_MSM8625_FFA
637 depends on ARCH_MSM8625
638 depends on !MSM_STACKED_MEMORY
639 default y
640 bool "MSM8625 FFA"
641 help
642 Support for the Qualcomm MSM8625 FFA.
643
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530644config MACH_MSM8625_EVB
645 depends on ARCH_MSM8625
646 depends on !MSM_STACKED_MEMORY
647 default y
648 bool "MSM8625 EVB"
649 help
650 Support for the Qualcomm MSM8625 Reference Design.
651
Taniya Dasbd096542012-03-15 17:43:45 +0530652config MACH_MSM8625_QRD7
653 depends on ARCH_MSM8625
654 depends on !MSM_STACKED_MEMORY
655 default y
656 bool "MSM8625 QRD7"
657 help
658 Support for the Qualcomm MSM8625 Reference Design.
659
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530660config MACH_MSM8625_EVT
661 depends on ARCH_MSM8625
662 depends on !MSM_STACKED_MEMORY
663 default y
664 bool "MSM8625 EVT"
665 help
666 Support for the Qualcomm MSM8625 Reference Design.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700667
Channagoud Kadabi2bd65c82012-10-12 15:14:23 +0530668config MACH_QRD_SKUD_PRIME
669 depends on ARCH_MSM8625
670 depends on !MSM_STACKED_MEMORY
671 default y
672 bool "MSM8625 SKUD PRIME"
673 help
674 Support for the Qualcomm MSM8625 SKUD prime Reference Design.
675 Add support for a SKUD prime reference design based on MSM8x25
676 chipset. This device is much closer to a phone than regular form
677 factor devices, with new touch, display panel and other hardware
678 configurations.
679
Daniel Walker7b521612010-05-06 12:44:57 -0700680config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700681 depends on ARCH_MSM7X30
682 depends on !MSM_STACKED_MEMORY
683 default y
684 bool "MSM7x30 SURF"
685 help
686 Support for the Qualcomm MSM7x30 SURF eval board.
687
688config MACH_MSM7X30_FFA
689 depends on ARCH_MSM7X30
690 depends on !MSM_STACKED_MEMORY
691 default y
692 bool "MSM7x30 FFA"
693 help
694 Support for the Qualcomm MSM7x30 FFA eval board.
695
696config MACH_MSM7X30_FLUID
697 depends on ARCH_MSM7X30
698 depends on !MSM_STACKED_MEMORY
699 default y
700 bool "MSM7x30 FLUID"
701 help
702 Support for the Qualcomm MSM7x30 FLUID eval board.
703
704config MACH_SAPPHIRE
705 depends on ARCH_MSM7X01A
706 default n
707 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700708
Daniel Walker4ad15e62010-05-06 13:54:17 -0700709config MACH_QSD8X50_SURF
710 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700711 depends on MSM_SOC_REV_NONE
712 depends on MSM_STACKED_MEMORY
713 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700714 bool "QSD8x50 SURF"
715 help
716 Support for the Qualcomm QSD8x50 SURF eval board.
717
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700718config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700719 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700720 depends on MSM_SOC_REV_NONE
721 depends on MSM_STACKED_MEMORY
722 default y
723 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700724 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700725 Support for the Qualcomm QSD8x50 FFA eval board.
726
727config MACH_MSM7X25_SURF
728 depends on ARCH_MSM7X25
729 depends on !MSM_STACKED_MEMORY
730 default y
731 bool "MSM7x25 SURF"
732 help
733 Support for the Qualcomm MSM7x25 SURF eval board.
734
735config MACH_MSM7X25_FFA
736 depends on ARCH_MSM7X25
737 depends on !MSM_STACKED_MEMORY
738 default y
739 bool "MSM7x25 FFA"
740 help
741 Support for the Qualcomm MSM7x25 FFA eval board.
742
743config MACH_MSM8X55_SURF
744 depends on ARCH_MSM7X30
745 depends on !MSM_STACKED_MEMORY
746 default y
747 bool "MSM8X55 SURF"
748 help
749 Support for the Qualcomm MSM8x55 SURF eval board.
750
751config MACH_MSM8X55_FFA
752 depends on ARCH_MSM7X30
753 depends on !MSM_STACKED_MEMORY
754 default y
755 bool "MSM8X55 FFA"
756 help
757 Support for the Qualcomm MSM8x55 FFA eval board.
758
759config MACH_MSM8X55_SVLTE_FFA
760 depends on ARCH_MSM7X30
761 depends on !MSM_STACKED_MEMORY
762 default y
763 bool "MSM8X55 SVLTE FFA"
764 help
765 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
766
767config MACH_MSM8X55_SVLTE_SURF
768 depends on ARCH_MSM7X30
769 depends on !MSM_STACKED_MEMORY
770 default y
771 bool "MSM8X55 SVLTE SURF"
772 help
773 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700774
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700775config MACH_MSM8X60_SURF
776 depends on ARCH_MSM8X60
777 default n
778 bool "MSM8x60 SURF"
779 help
780 Support for the Qualcomm MSM8x60 SURF eval board.
781
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700782config MACH_MSM8X60_FFA
783 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700784 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700785 bool "MSM8x60 FFA"
786 help
787 Support for the Qualcomm MSM8x60 FFA eval board.
788
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700789config MACH_MSM8X60_FLUID
790 depends on ARCH_MSM8X60
791 default n
792 bool "MSM8x60 FLUID"
793 help
794 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
795 8x60 target which has a form factor that is much closer to that
796 of a phone than other targets. It also has a new display and
797 touchscreen controller.
798
799config MACH_MSM8X60_FUSION
800 depends on ARCH_MSM8X60
801 default n
802 bool "MSM8x60 FUSION"
803 help
804 Support for the Qualcomm MSM8x60 Fusion SURF device.
805
806config MACH_MSM8X60_FUSN_FFA
807 depends on ARCH_MSM8X60
808 default n
809 bool "MSM8x60 FUSN FFA"
810 help
811 Support for the Qualcomm MSM8x60 Fusion FFA device.
812
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400813config MACH_MSM8X60_DRAGON
814 depends on ARCH_MSM8X60
815 default n
816 bool "MSM8x60 DRAGON"
817 help
818 Support for the Qualcomm MSM8x60 Dragon board.
819
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700820config MACH_MSM8960_CDP
821 depends on ARCH_MSM8960
822 bool "MSM8960 CDP"
823 help
824 Support for the Qualcomm MSM8960 CDP device.
825
826config MACH_MSM8960_MTP
827 depends on ARCH_MSM8960
828 bool "MSM8960 MTP"
829 help
830 Support for the Qualcomm MSM8960 MTP device.
831
832config MACH_MSM8960_FLUID
833 depends on ARCH_MSM8960
834 bool "MSM8960 FLUID"
835 help
836 Support for the Qualcomm MSM8960 FLUID device.
837
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300838config MACH_MSM8960_LIQUID
839 depends on ARCH_MSM8960
840 bool "MSM8960 LIQUID"
841 help
842 Support for the Qualcomm MSM8960 LIQUID device.
843
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700844config MACH_MSM8930_CDP
845 depends on ARCH_MSM8930
846 bool "MSM8930 CDP"
847 help
848 Support for the Qualcomm MSM8930 CDP device.
849
850config MACH_MSM8930_MTP
851 depends on ARCH_MSM8930
852 bool "MSM8930 MTP"
853 help
854 Support for the Qualcomm MSM8930 MTP device.
855
856config MACH_MSM8930_FLUID
857 depends on ARCH_MSM8930
858 bool "MSM8930 FLUID"
859 help
860 Support for the Qualcomm MSM8930 FLUID device.
861
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800862config MACH_MSM8627_CDP
863 depends on ARCH_MSM8930
864 bool "MSM8627 CDP"
865 help
866 Support for the Qualcomm MSM8627 CDP device.
867
868config MACH_MSM8627_MTP
869 depends on ARCH_MSM8930
870 bool "MSM8627 MTP"
871 help
872 Support for the Qualcomm MSM8627 MTP device.
873
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700874config MACH_MSM9615_CDP
875 depends on ARCH_MSM9615
876 bool "MSM9615 CDP"
877 help
878 Support for the Qualcomm MSM9615 CDP device.
879
880config MACH_MSM9615_MTP
881 depends on ARCH_MSM9615
882 bool "MSM9615 MTP"
883 help
884 Support for the Qualcomm MSM9615 MTP device.
885
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700886config MSM_USE_TSIF1
887 depends on ARCH_MSM8X60
888 bool "MSM8x60 use TSIF1"
889 help
890 Selects TSIF1 core to be used rather than TSIF0.
891 The two TSIF cores share the same DM configuration
892 so they cannot be used simultaneously.
893
Joel King82b7e3f2012-01-05 10:03:27 -0800894config MACH_APQ8064_CDP
895 depends on ARCH_APQ8064
896 bool "APQ8064 CDP"
897 help
898 Support for the Qualcomm APQ8064 CDP device.
899
900config MACH_APQ8064_MTP
901 depends on ARCH_APQ8064
902 bool "APQ8064 MTP"
903 help
904 Support for the Qualcomm APQ8064 MTP device.
905
906config MACH_APQ8064_LIQUID
907 depends on ARCH_APQ8064
908 bool "APQ8064 LIQUID"
909 help
910 Support for the Qualcomm APQ8064 LIQUID device.
911
Joel King064bbf82012-04-01 13:23:39 -0700912config MACH_MPQ8064_CDP
913 depends on ARCH_APQ8064
914 bool "MPQ8064 CDP"
915 help
916 Support for the Qualcomm MPQ8064 CDP device.
917
Joel King11ca8202012-02-13 16:19:03 -0800918config MACH_MPQ8064_HRD
919 depends on ARCH_APQ8064
920 bool "MPQ8064 HRD"
921 help
922 Support for the Qualcomm MPQ8064 HRD device.
923
924config MACH_MPQ8064_DTV
925 depends on ARCH_APQ8064
926 bool "MPQ8064 DTV"
927 help
928 Support for the Qualcomm MPQ8064 DTV device.
929
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700930config MACH_FSM9XXX_SURF
931 depends on ARCH_FSM9XXX
932 depends on !MSM_STACKED_MEMORY
933 default y
934 bool "FSM9XXX SURF"
935 help
936 Support for the Qualcomm FSM9xxx femtocell
937 chipset based SURF evaluation board and
938 FFA board.
939
Daniel Walker4ad15e62010-05-06 13:54:17 -0700940endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800941
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700942config MSM_STACKED_MEMORY
943 bool "Stacked Memory"
944 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800945 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700946 This option is used to indicate the presence of on-die stacked
947 memory. When present this memory bank is used for a high speed
948 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800949
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700950config PHYS_OFFSET
951 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700952 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700953 default "0x80200000" if ARCH_APQ8064
954 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700955 default "0x80200000" if ARCH_MSM8930
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700956 default "0x00000000" if ARCH_MSM8974
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +0530957 default "0x00000000" if ARCH_MPQ8092
Syed Rameez Mustafa90f80502012-08-23 17:27:24 -0700958 default "0x00000000" if ARCH_MSM8226
Syed Rameez Mustafa02dd1a32012-10-26 11:02:26 -0700959 default "0x00000000" if ARCH_MSM8910
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700960 default "0x10000000" if ARCH_FSM9XXX
Abhimanyu Kapur20ac2ad2012-09-25 04:23:59 -0700961 default "0x00200000" if ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700962 default "0x00200000" if !MSM_STACKED_MEMORY
963 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
964 default "0x20000000" if ARCH_QSD8X50
965 default "0x40200000" if ARCH_MSM8X60
966 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800967
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700968config KERNEL_MSM_CONTIG_MEM_REGION
969 bool "Enable in-kernel contiguous memory region"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700970 default y if ARCH_MSM8X60
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700971 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700972 help
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700973 Enable the in-kernel contiguous memory allocator. Sets up a
974 region of physically contiguous memory. This memory is
975 reserved during initialization, and can be used
976 generically.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700977
978config KERNEL_PMEM_SMI_REGION
979 bool "Enable in-kernel PMEM region for SMI"
980 default y if ARCH_MSM8X60
981 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
982 help
983 Enable the in-kernel PMEM allocator to use SMI memory.
984
985config PMEM_GPU0
986 bool "Enable PMEM GPU0 region"
987 default y
988 depends on ARCH_QSD8X50 && ANDROID_PMEM
989 help
990 Enable the PMEM GPU0 device on SMI Memory.
991
992config MSM_AMSS_VERSION
993 int
994 default 6210 if MSM_AMSS_VERSION_6210
995 default 6220 if MSM_AMSS_VERSION_6220
996 default 6225 if MSM_AMSS_VERSION_6225
997
998choice
999 prompt "AMSS modem firmware version"
1000
1001 default MSM_AMSS_VERSION_6225
1002
1003 config MSM_AMSS_VERSION_6210
1004 bool "6.2.10"
1005
1006 config MSM_AMSS_VERSION_6220
1007 bool "6.2.20"
1008
1009 config MSM_AMSS_VERSION_6225
1010 bool "6.2.20 + New ADSP"
1011endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -08001012
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001013config MSM_HAS_DEBUG_UART_HS
Daniel Walkerbf83de42010-03-16 16:29:44 -07001014 bool
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001015 help
1016 Say Y here if high speed MSM UART is present.
1017
1018config MSM_HAS_DEBUG_UART_HS_V14
1019 bool
1020 select MSM_HAS_DEBUG_UART_HS
1021 help
1022 Say Y here if high speed MSM UART v1.4 is present.
1023
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301024config MSM_DEBUG_UART_PHYS
1025 hex
1026 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
1027 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
1028 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
1029 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
1030 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
1031 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
1032 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
1033 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
1034
Brian Swetland9e73c842007-11-26 04:12:13 -08001035choice
1036 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001037 depends on DEBUG_LL
Brian Swetland9e73c842007-11-26 04:12:13 -08001038
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001039 config DEBUG_MSM_UART1
1040 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301041 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001042 help
1043 Say Y here if you want the debug print routines to direct
1044 their output to the first serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001045
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001046 config DEBUG_MSM_UART2
1047 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301048 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001049 help
1050 Say Y here if you want the debug print routines to direct
1051 their output to the second serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001052
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001053 config DEBUG_MSM_UART3
1054 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301055 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001056 help
1057 Say Y here if you want the debug print routines to direct
1058 their output to the third serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001059
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001060 config DEBUG_MSM8660_UART
1061 bool "Kernel low-level debugging messages via MSM 8660 UART"
1062 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001063 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001064 help
1065 Say Y here if you want the debug print routines to direct
1066 their output to the serial port on MSM 8660 devices.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001067
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001068 config DEBUG_MSM8960_UART
1069 bool "Kernel low-level debugging messages via MSM 8960 UART"
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001070 depends on ARCH_MSM8960 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001071 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001072 help
1073 Say Y here if you want the debug print routines to direct
1074 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001075
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001076 config DEBUG_MSM8930_UART
1077 bool "Kernel low-level debugging messages via MSM 8930 UART"
1078 depends on ARCH_MSM8930 && DEBUG_LL
1079 select MSM_HAS_DEBUG_UART_HS
1080 help
1081 Say Y here if you want the debug print routines to direct
1082 their output to the serial port on MSM 8930 devices.
1083
1084 config DEBUG_APQ8064_UART
1085 bool "Kernel low-level debugging messages via APQ 8064 UART"
1086 depends on ARCH_APQ8064 && DEBUG_LL
1087 select MSM_HAS_DEBUG_UART_HS
1088 help
1089 Say Y here if you want the debug print routines to direct
1090 their output to the serial port on APQ 8064 devices.
1091
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001092 config DEBUG_MSM8974_UART
1093 bool "Kernel low-level debugging messages via MSM 8974 UART"
1094 depends on ARCH_MSM8974
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001095 select MSM_HAS_DEBUG_UART_HS_V14
1096 help
1097 Say Y here if you want the debug print routines to direct
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001098 their output to the serial port on MSM 8974 devices.
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +05301099
1100 config DEBUG_MPQ8092_UART
1101 bool "Kernel low-level debugging messages via MPQ8092 UART"
1102 depends on ARCH_MPQ8092
1103 select MSM_HAS_DEBUG_UART_HS_V14
1104 help
1105 Say Y here if you want the debug print routines to direct
1106 their output to the serial port on MPQ8092 devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001107endchoice
Brian Swetland9e73c842007-11-26 04:12:13 -08001108
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001109choice
1110 prompt "Default Timer"
1111 default MSM7X00A_USE_GP_TIMER
1112
1113 config MSM7X00A_USE_GP_TIMER
1114 bool "GP Timer"
1115 help
1116 Low resolution timer that allows power collapse from idle.
1117
1118 config MSM7X00A_USE_DG_TIMER
1119 bool "DG Timer"
1120 help
1121 High resolution timer.
1122endchoice
1123
1124choice
1125 prompt "Suspend sleep mode"
1126 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1127 help
1128 Allows overriding the sleep mode used. Leave at power
1129 collapse suspend unless the arm9 image has problems.
1130
1131 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1132 bool "Power collapse suspend"
1133 help
1134 Lowest sleep state. Returns through reset vector.
1135
1136 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1137 bool "Power collapse"
1138 help
1139 Sleep state that returns through reset vector.
1140
1141 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1142 bool "Apps Sleep"
1143
1144 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1145 bool "Ramp down cpu clock and wait for interrupt"
1146
1147 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1148 bool "Wait for interrupt"
1149endchoice
1150
1151config MSM7X00A_SLEEP_MODE
1152 int
1153 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1154 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1155 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1156 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1157 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1158
1159choice
1160 prompt "Idle sleep mode"
1161 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1162 help
1163 Allows overriding the sleep mode used from idle. Leave at power
1164 collapse suspend unless the arm9 image has problems.
1165
1166 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1167 bool "Power collapse suspend"
1168 help
1169 Lowest sleep state. Returns through reset vector.
1170
1171 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1172 bool "Power collapse"
1173 help
1174 Sleep state that returns through reset vector.
1175
1176 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1177 bool "Apps Sleep"
1178
1179 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1180 bool "Ramp down cpu clock and wait for interrupt"
1181
1182 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1183 bool "Wait for interrupt"
1184endchoice
1185
1186config MSM7X00A_IDLE_SLEEP_MODE
1187 int
1188 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1189 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1190 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1191 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1192 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1193
1194config MSM7X00A_IDLE_SLEEP_MIN_TIME
1195 int "Minimum idle time before sleep"
1196 default 20000000
1197 help
1198 Minimum idle time in nanoseconds before entering low power mode.
1199
1200config MSM7X00A_IDLE_SPIN_TIME
1201 int "Idle spin time before cpu ramp down"
1202 default 80000
1203 help
1204 Spin time in nanoseconds before ramping down cpu clock and entering
1205 any low power state.
1206
1207menuconfig MSM_IDLE_STATS
1208 bool "Collect idle statistics"
1209 default y
1210 help
1211 Collect idle statistics and export them in proc/msm_pm_stats.
1212
1213if MSM_IDLE_STATS
1214
1215config MSM_IDLE_STATS_FIRST_BUCKET
1216 int "First bucket time"
1217 default 62500
1218 help
1219 Upper time limit in nanoseconds of first bucket.
1220
1221config MSM_IDLE_STATS_BUCKET_SHIFT
1222 int "Bucket shift"
1223 default 2
1224
1225config MSM_IDLE_STATS_BUCKET_COUNT
1226 int "Bucket count"
1227 default 10
1228
1229config MSM_SUSPEND_STATS_FIRST_BUCKET
1230 int "First bucket time for suspend"
1231 default 1000000000
1232 help
1233 Upper time limit in nanoseconds of first bucket of the
1234 histogram. This is for collecting statistics on suspend.
1235
1236endif # MSM_IDLE_STATS
1237
1238config CPU_HAS_L2_PMU
1239 bool "L2CC PMU Support"
1240 help
1241 Select this if the L2 cache controller has a Performance Monitoring Unit.
1242
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001243config HTC_HEADSET
1244 tristate "HTC 2 Wire detection driver"
1245 default n
1246 help
1247 Provides support for detecting HTC 2 wire devices, such as wired
1248 headset, on the trout platform. Can be used with the msm serial
1249 debugger, but not with serial console.
1250
1251config TROUT_BATTCHG
1252 depends on MACH_TROUT && POWER_SUPPLY
1253 default y
1254 bool "Trout battery / charger driver"
1255
1256config HTC_PWRSINK
1257 depends on MSM_SMD
1258 default n
1259 bool "HTC Power Sink Driver"
1260
1261config QSD_SVS
1262 bool "QSD Static Voltage Scaling"
1263 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1264 default y
1265 select TPS65023
1266 help
1267 Enables static voltage scaling using the TPS65023 PMIC.
1268
1269config QSD_PMIC_DEFAULT_DCDC1
1270 int "PMIC default output voltage"
1271 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1272 default 1250
1273 help
1274 This is the PMIC voltage at Linux kernel boot.
1275
1276config MSM_FIQ_SUPPORT
1277 default y
1278 bool "Enable installation of an FIQ handler."
1279
1280config MSM_SERIAL_DEBUGGER
1281 select MSM_FIQ_SUPPORT
1282 select KERNEL_DEBUGGER_CORE
1283 default n
1284 bool "FIQ Mode Serial Debugger"
1285 help
1286 The FIQ serial debugger can accept commands even when the
1287 kernel is unresponsive due to being stuck with interrupts
1288 disabled. Depends on the kernel debugger core in drivers/misc.
1289
1290config MSM_SERIAL_DEBUGGER_CONSOLE
1291 depends on MSM_SERIAL_DEBUGGER
1292 default n
1293 bool "Console on FIQ Serial Debugger port"
1294 help
1295 Enables a console so that printk messages are displayed on
1296 the debugger serial port as the occur.
Brian Swetland9e73c842007-11-26 04:12:13 -08001297
Gregory Beanab78cde2010-09-01 16:26:12 -07001298config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001299 default y
1300 bool "Proc-Comm RPC Interface"
1301 help
1302 Enables a lightweight communications interface to the
1303 baseband processor.
Gregory Beanab78cde2010-09-01 16:26:12 -07001304
Gregory Bean1963a2a2010-08-28 10:05:44 -07001305config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001306 bool "MSM Shared Memory Driver (SMD)"
1307 help
1308 Support for the shared memory interface between the apps
1309 processor and the baseband processor. Provides access to
1310 the "shared heap", as well as virtual serial channels
1311 used to communicate with various services on the baseband
1312 processor.
1313
1314choice
1315 prompt "MSM Shared memory interface version"
1316 depends on MSM_SMD
1317 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1318 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1319
1320 config MSM_SMD_PKG3
1321 bool
1322 prompt "Package 3"
1323
1324 config MSM_SMD_PKG4
1325 bool
1326 prompt "Package 4"
1327endchoice
1328
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001329config MSM_PCIE
1330 bool "MSM PCIe Controller driver"
1331 depends on PCI && PCI_MSI
1332 help
1333 Enables the PCIe functionality by configures PCIe core on
1334 MSM chipset and by enabling the ARM PCI framework extension.
1335
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001336config MSM_RPC_SDIO_XPRT
1337 depends on MSM_SDIO_AL
1338 default y
1339 bool "MSM SDIO XPRT Layer"
1340 help
1341 SDIO Transport Layer for RPC Rouer
1342
1343config MSM_RPC_SDIO_DEBUG
1344 depends on MSM_RPC_SDIO_XPRT
1345 default y
1346 bool "MSM SDIO XPRT debug support"
1347 help
1348 Support for debugging SDIO XPRT
1349
1350config MSM_SMD_DEBUG
1351 depends on MSM_SMD
1352 default y
1353 bool "MSM SMD debug support"
1354 help
1355 Support for debugging the SMD for communication
1356 between the ARM9 and ARM11
1357
1358config MSM_SDIO_AL
1359 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1360 default y
1361 tristate "SDIO-Abstraction-Layer"
1362 help
1363 Support MSM<->MDM Communication over SDIO bus.
1364 MDM SDIO-Client should have pipes support.
1365
1366config MSM_SDIO_DMUX
1367 bool "SDIO Data Mux Driver"
1368 depends on MSM_SDIO_AL
1369 default n
1370 help
1371 Support Muxed Data Channels over SDIO interface.
1372
1373config MSM_BAM_DMUX
1374 bool "BAM Data Mux Driver"
1375 depends on SPS
1376 default n
1377 help
1378 Support Muxed Data Channels over BAM interface.
1379 BAM has a limited number of pipes. This driver
1380 provides a means to support more logical channels
1381 via muxing than BAM could without muxing.
1382
1383config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001384 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001385 default y
1386 bool "MSM N-WAY SMD support"
1387 help
1388 Supports APPS-QDSP SMD communication along with
1389 normal APPS-MODEM SMD communication.
1390
1391config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001392 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001393 default y
1394 bool "MSM N-WAY SMSM support"
1395 help
1396 Supports APPS-QDSP SMSM communication along with
1397 normal APPS-MODEM SMSM communication.
1398
1399config MSM_RESET_MODEM
1400 tristate "Reset Modem Driver"
1401 depends on MSM_SMD
1402 default m
1403 help
1404 Allows the user to reset the modem through a device node.
1405
1406config MSM_SMD_LOGGING
1407 depends on MSM_SMD
1408 default y
1409 bool "MSM Shared Memory Logger"
1410 help
1411 This option exposes the shared memory logger at /dev/smem_log
1412 and a debugfs node named smem_log.
1413
1414 If in doubt, say yes.
1415
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001416config MSM_IPC_LOGGING
1417 bool "MSM Debug Logging for IPC Drivers"
1418 help
1419 This option allows the debug logging for IPC Drivers.
1420
1421 If in doubt, say no.
1422
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001423config MSM_SMD_NMEA
1424 bool "NMEA GPS Driver"
1425 depends on MSM_SMD
1426 default y
1427 help
1428 Enable this to support the NMEA GPS device.
1429
1430 If in doubt, say yes.
1431
1432config MSM_SDIO_TTY
1433 bool "SDIO TTY Driver"
1434 depends on MSM_SDIO_AL
1435 default n
1436 help
1437 Provides a TTY driver SDIO TTY
1438 This driver can be used by user space
1439 applications for passing data through the
1440 SDIO interface.
1441
1442config MSM_SMD_TTY
1443 bool "SMD TTY Driver"
1444 depends on MSM_SMD
1445 default y
1446 help
1447 Provides TTY interfaces to interact with the modem.
1448
1449 If in doubt, say yes.
1450
1451config MSM_SMD_QMI
1452 bool "SMD QMI Driver"
1453 depends on MSM_SMD
1454 default y
1455 help
1456 Manages network data connections.
1457
1458 If in doubt, say yes.
1459
1460config MSM_SMD_PKT
1461 bool "SMD Packet Driver"
1462 depends on MSM_SMD
1463 default y
1464 help
1465 Provides a binary SMD non-muxed packet port interface.
1466
1467 If in doubt, say yes.
1468
1469config MSM_SDIO_CMUX
1470 bool "SDIO CMUX Driver"
1471 depends on MSM_SDIO_AL
1472 default n
1473 help
1474 Provides a Muxed port interface over SDIO QMI
1475
1476config MSM_DSPS
1477 bool "Sensors DSPS driver"
1478 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1479 default n
1480 help
1481 Provides user-space interface to the sensors manager
1482 to turn on/off the Sensors Processor system clocks.
1483 It is the DSPS responsibility to turn on/off the sensors
1484 themself.
1485 The number of clocks and their name may vary between targets.
1486 It also triggers the PIL to load the DSPS firmware.
1487
1488config MSM_SDIO_CTL
1489 bool "SDIO CTL Driver"
1490 depends on MSM_SDIO_CMUX
1491 default n
1492 help
1493 Provides a binary SDIO control port interface.
1494
1495config MSM_ONCRPCROUTER
1496 depends on MSM_SMD
1497 default n
1498 bool "MSM ONCRPC router support"
1499 help
1500 Support for the MSM ONCRPC router for communication between
1501 the ARM9 and ARM11
1502
1503config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001504 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001505 default n
1506 bool "MSM IPC Router support"
1507 help
1508 Support for the MSM IPC Router for communication between
1509 the APPs and the MODEM
1510
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001511config MSM_IPC_ROUTER_SMD_XPRT
1512 depends on MSM_SMD
1513 depends on MSM_IPC_ROUTER
1514 default n
1515 bool "MSM SMD XPRT Layer"
1516 help
1517 SMD Transport Layer for IPC Router
1518
Karthikeyan Ramasubramanianfec77ff2012-10-26 20:03:26 -06001519config MSM_QMI_INTERFACE
1520 depends on MSM_IPC_ROUTER
1521 depends on QMI_ENCDEC
1522 default n
1523 bool "MSM QMI Interface Library"
1524 help
1525 Library to send and receive QMI messages over IPC Router.
1526 This library provides interface functions to the kernel drivers
1527 to perform QMI message marshaling and transport them over IPC
1528 Router.
1529
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001530config MSM_ONCRPCROUTER_DEBUG
1531 depends on MSM_ONCRPCROUTER
1532 default y
1533 bool "MSM debug ONCRPC router support"
1534 help
1535 Support for debugging the ONCRPC router for communication
1536 between the ARM9 and ARM11
1537
1538config MSM_RPC_LOOPBACK_XPRT
1539 depends on MSM_ONCRPCROUTER
1540 default n
1541 bool "MSM RPC local routing support"
1542 help
1543 Support for routing RPC messages between APPS clients
1544 and APPS servers. Helps in testing APPS RPC framework.
1545
1546config MSM_RPCSERVER_TIME_REMOTE
1547 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1548 default y
1549 bool "Time remote RPC server"
1550 help
1551 The time remote server receives notification of time bases and
1552 reports these events to registered callback functions.
1553
1554config MSM_RPCSERVER_WATCHDOG
1555 depends on MSM_ONCRPCROUTER
1556 default y
1557 bool "Watchdog RPC server"
1558 help
1559 The dog_keepalive server handles watchdog events.
1560
1561config MSM_RPC_WATCHDOG
1562 depends on MSM_ONCRPCROUTER
1563 default n
1564 bool "Watchdog RPC client"
1565 help
1566 The dog_keepalive client module.
1567
1568config MSM_RPC_PING
1569 depends on MSM_ONCRPCROUTER && DEBUG_FS
1570 default m
1571 bool "MSM rpc ping"
1572 help
1573 Implements MSM rpc ping test module.
1574
1575config MSM_RPC_PROC_COMM_TEST
1576 depends on DEBUG_FS && MSM_PROC_COMM
1577 default m
1578 bool "MSM rpc proc comm test"
1579 help
1580 Implements MSM rpc proc comm test module.
1581
1582config MSM_RPC_OEM_RAPI
1583 depends on MSM_ONCRPCROUTER
1584 default m
1585 bool "MSM oem rapi"
1586 help
1587 Implements MSM oem rapi client module.
1588
1589config MSM_RPCSERVER_HANDSET
1590 depends on MSM_ONCRPCROUTER
1591 default y
1592 bool "Handset events RPC server"
1593 help
1594 Support for receiving handset events like headset detect,
1595 headset switch and clamshell state.
1596
1597config MSM_RMT_STORAGE_CLIENT
1598 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1599 default n
1600 bool "Remote Storage RPC client"
1601 help
1602 Provide RPC mechanism for remote processors to access storage
1603 device on apps processor.
1604
1605config MSM_RMT_STORAGE_CLIENT_STATS
1606 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1607 default n
1608 bool "Remote storage RPC client performance statistics"
1609 help
1610 Collects performance statistics and shows this information
1611 through a debugfs file rmt_storage_stats.
1612
1613config MSM_SDIO_SMEM
1614 depends on MSM_SDIO_AL
1615 default n
1616 bool "SDIO SMEM for remote storage"
1617 help
1618 Copies data from remote MDM9K memory to local MSM8x60
1619 memory. Used by remote storage client to shadow
1620 MDM9K filesystem.
1621
1622config MSM_DALRPC
1623 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001624 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001625 help
1626 Supports RPC calls to DAL devices on remote processor cores.
1627
1628config MSM_DALRPC_TEST
1629 tristate "DAL RPC test module"
1630 depends on (MSM_DALRPC && DEBUG_FS)
1631 default m
1632 help
1633 Exercises DAL RPC calls to QDSP6.
1634
1635if CPU_FREQ_MSM
1636
1637config MSM_CPU_FREQ_SET_MIN_MAX
1638 bool "Set Min/Max CPU frequencies."
1639 default n
1640 help
1641 Allow setting min and max CPU frequencies. Sysfs can be used
1642 to override these values.
1643
1644config MSM_CPU_FREQ_MAX
1645 int "Max CPU Frequency"
1646 depends on MSM_CPU_FREQ_SET_MIN_MAX
1647 default 384000
1648
1649config MSM_CPU_FREQ_MIN
1650 int "Min CPU Frequency"
1651 depends on MSM_CPU_FREQ_SET_MIN_MAX
1652 default 245760
1653
1654endif # CPU_FREQ_MSM
1655
1656config MSM_CPU_AVS
1657 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1658 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1659 depends on ARCH_QSD8X50
1660 default n
1661 select MSM_AVS_HW
1662 help
1663 This enables the s/w control of Adaptive Voltage Scaling feature
1664 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1665 based on feedback from three ring oscillators in the CPU.
1666
1667config MSM_AVS_HW
1668 bool "Enable Adaptive Voltage Scaling (AVS)"
1669 default n
1670 help
1671 Enable AVS hardware to fine tune voltage at each frequency. The
1672 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1673 fine tune the voltages based on the feedback from the ring
1674 oscillators.
1675
1676config MSM_HW3D
1677 tristate "MSM Hardware 3D Register Driver"
1678 depends on ANDROID_PMEM
1679 default y
1680 help
1681 Provides access to registers needed by the userspace OpenGL|ES
1682 library.
1683
1684config MSM_ADSP
1685 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1686 tristate "MSM ADSP driver"
1687 depends on ANDROID_PMEM
1688 default y
1689 help
1690 Provides access to registers needed by the userspace aDSP library.
1691
1692config ADSP_RPC_VER
1693 hex
1694 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1695 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1696 depends on MSM_ADSP
1697 help
1698 Select proper ADSP RPC version
1699choice
1700 prompt "ADSP RPC version"
1701
1702 default AMSS_7X25_VERSION_2009
1703
1704 config AMSS_7X25_VERSION_2009
1705 bool "2.0.09"
1706
1707 config AMSS_7X25_VERSION_2008
1708 bool "2.0.08"
1709endchoice
1710
1711config MSM7KV2_AUDIO
1712 bool "MSM7K v2 audio"
1713 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1714 default y
1715 help
1716 Enables QDSP5V2-based audio drivers for audio playbacks and
1717 voice call.
1718
1719config MSM_ADSP_REPORT_EVENTS
1720 bool "Report modem events from the DSP"
1721 default y
1722 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1723 help
1724 Normally, only messages from the aDSP are reported to userspace.
1725 With this option, we report events from the aDSP as well.
1726
1727config MSM_QDSP6
1728 tristate "QDSP6 support"
1729 depends on ARCH_QSD8X50 && ANDROID_PMEM
1730 default y
1731 help
1732 Enable support for qdsp6. This provides audio and video functionality.
1733
1734config MSM8X60_AUDIO
1735 tristate "MSM8X60 audio support"
1736 depends on ARCH_MSM8X60 && ANDROID_PMEM
1737 default y
1738 help
1739 Enable support for qdsp6v2. This provides audio functionality.
1740
1741config MSM8X60_FTM_AUDIO_DEVICES
1742 bool "MSM8X60 audio factory test mode support"
1743 depends on MSM8X60_AUDIO
1744 help
1745 Enable support audio factory test mode devices. This is used
1746 in a production line environment.
1747
Ben Romberger45b351c2011-07-20 22:37:27 -07001748config RTAC
1749 bool "MSM8K real-time audio calibration support"
1750 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001751 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001752 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001753 audio operation
1754
1755config MSM7X27A_AUDIO
1756 bool "MSM7X27A audio support"
1757 depends on ARCH_MSM7X27A && MSM_ADSP
1758 default n
1759 help
1760 Enable support for 7x27a. This provides audio functionality.
1761
Justin Pauporea6cd2092011-06-22 16:19:45 -07001762config MSM_PROC_COMM_REGULATOR
Gregory Bean1963a2a2010-08-28 10:05:44 -07001763 bool
Justin Pauporea6cd2092011-06-22 16:19:45 -07001764 depends on MSM_PROC_COMM && REGULATOR
1765 help
1766 Enable regulator framework support for regulators managed by PMLIB
1767 on the modem, and controlled through proccomm calls.
1768
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001769config MSM_VREG_SWITCH_INVERTED
1770 bool "Reverse vreg switch polarity"
1771 default n
1772 help
1773 Reverses the enable and disable for vreg switch.
1774
1775config MSM_DMA_TEST
1776 tristate "MSM DMA test module"
1777 default m
1778 help
1779 Intended to be compiled as a module. Provides a device node
1780 and ioctls for testing the MSM dma system.
1781
1782config WIFI_CONTROL_FUNC
1783 bool "Enable WiFi control function abstraction"
1784 help
1785 Enables Power/Reset/Carddetect function abstraction
1786
1787config WIFI_MEM_PREALLOC
1788 depends on WIFI_CONTROL_FUNC
1789 bool "Preallocate memory for WiFi buffers"
1790 help
1791 Preallocates memory buffers for WiFi driver
1792
1793config QSD_AUDIO
1794 bool "QSD audio"
1795 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1796 default y
1797 help
1798 Provides PCM, MP3, and AAC audio playback.
1799
1800config AUDIO_AAC_PLUS
1801 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1802 bool "AAC+ Audio"
1803 default y
1804 help
1805 Provides AAC+ decoding
1806
1807config AUDIO_ENHANCED_AAC_PLUS
1808 depends on AUDIO_AAC_PLUS
1809 bool "Enhanced AAC+ Audio"
1810 default y
1811 help
1812 Provides Enhanced AAC+ decoding
1813
1814config SURF_FFA_GPIO_KEYPAD
1815 bool "MSM SURF/FFA GPIO keypad"
1816 depends on INPUT_GPIO = "y"
1817 default y
1818 help
1819 Select if the GPIO keypad is attached.
1820
1821config MSM_SLEEP_TIME_OVERRIDE
1822 bool "Allow overriding suspend/sleep time with PM module parameter"
1823 default y
1824 help
1825 Enable the module parameter sleep_time_override. Specified
1826 in units of seconds, it overwrites the normal sleep time of
1827 suspend. The feature is required for automated power management
1828 testing.
1829
1830config MSM_MEMORY_LOW_POWER_MODE
1831 bool "Control the low power modes of memory"
1832 default n
1833 help
1834 The application processor controls whether memory should enter
1835 which low power mode.
1836
1837choice
1838 prompt "Default Memory Low Power Mode during Idle"
1839 depends on MSM_MEMORY_LOW_POWER_MODE
1840 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1841 help
1842 Selects the default low power mode of the memory during idle
1843 sleep.
1844
1845 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1846 bool "Memory active"
1847
1848 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1849 bool "Memory in retention"
1850
1851 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1852 bool "Memory in deep power down"
1853endchoice
1854
1855choice
1856 prompt "Default Memory Low Power Mode during Suspend"
1857 depends on MSM_MEMORY_LOW_POWER_MODE
1858 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1859 help
1860 Selects the default low power mode of the memory during suspend
1861 sleep.
1862
1863 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1864 bool "Memory active"
1865
1866 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1867 bool "Memory in retention"
1868
1869 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1870 bool "Memory in deep power down"
1871endchoice
1872
1873choice
1874 prompt "Power management timeout action"
1875 default MSM_PM_TIMEOUT_HALT
1876 help
1877 Selects the Application Processor's action when Power Management
1878 times out waiting for Modem's handshake.
1879
1880 config MSM_PM_TIMEOUT_HALT
1881 bool "Halt the Application Processor"
1882
1883 config MSM_PM_TIMEOUT_RESET_MODEM
1884 bool "Reset the Modem Processor"
1885
1886 config MSM_PM_TIMEOUT_RESET_CHIP
1887 bool "Reset the entire chip"
1888endchoice
1889
1890config MSM_IDLE_WAIT_ON_MODEM
1891 int "Wait for Modem to become ready for idle power collapse"
1892 default 0
1893 help
1894 If Modem is not ready to handle Application Processor's request
1895 for idle power collapse, wait the number of microseconds in case
1896 Modem becomes ready soon.
1897
Matt Wagantall9274df92011-12-15 11:11:05 -08001898config MSM_RPM_REGULATOR
1899 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001900 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001901 help
1902 Compile in support for the RPM regulator driver, used for setting
1903 voltages and other parameters of the various power rails supplied
1904 by some Qualcomm PMICs.
1905
David Collinsc7642322012-04-04 10:19:12 -07001906config MSM_RPM_REGULATOR_SMD
1907 bool "SMD RPM regulator driver"
1908 depends on REGULATOR
1909 depends on OF
1910 depends on MSM_RPM_SMD
1911 help
1912 Compile in support for the SMD RPM regulator driver which is used for
1913 setting voltages and other parameters of the various power rails
1914 supplied by some Qualcomm PMICs. The SMD RPM regulator driver should
1915 be used on systems which contain an RPM which communicates with the
1916 application processor over SMD.
1917
Stephen Boyd01710582012-07-09 13:40:05 -07001918config MSM_SUBSYSTEM_RESTART
1919 bool "MSM Subsystem Restart"
1920 help
1921 This option enables the MSM subsystem restart framework.
1922
1923 The MSM subsystem restart framework provides support to boot,
1924 shutdown, and restart subsystems with a reference counted API.
1925 It also notifies userspace of transitions between these states via
1926 sysfs.
1927
1928config MSM_SYSMON_COMM
1929 bool "MSM System Monitor communication support"
1930 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1931 help
1932 This option adds support for MSM System Monitor library, which
1933 provides an API that may be used for notifying subsystems within
1934 the SoC about other subsystems' power-up/down state-changes.
1935
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001936config MSM_PIL
1937 bool "Peripheral image loading"
1938 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001939 default n
1940 help
1941 Some peripherals need to be loaded into memory before they can be
1942 brought out of reset.
1943
1944 Say yes to support these devices.
1945
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001946config MSM_PIL_MODEM
1947 tristate "Modem (ARM11) Boot Support"
Stephen Boyd3ac20732012-05-03 18:46:08 -07001948 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001949 help
1950 Support for booting and shutting down ARM11 Modem processors.
1951
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001952config MSM_PIL_QDSP6V3
1953 tristate "QDSP6v3 (Hexagon) Boot Support"
Stephen Boyd2e19d932012-05-09 17:36:04 -07001954 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001955 help
1956 Support for booting and shutting down QDSP6v3 processors (hexagon).
1957 The QDSP6 is a low power DSP used in audio software applications.
1958
Stephen Boydbdb53f32012-06-05 18:39:47 -07001959config MSM_PIL_LPASS_QDSP6V4
1960 tristate "LPASS QDSP6v4 (Hexagon) Boot Support"
Stephen Boyda1cf76b2012-06-13 12:05:35 -07001961 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydeb819882011-08-29 14:46:30 -07001962 help
Stephen Boydbdb53f32012-06-05 18:39:47 -07001963 Support for booting and shutting down QDSP6v4 processors (hexagon)
1964 in low power audio subsystems. If you would like to record or
1965 play audio then say Y here.
1966
1967 If unsure, say N.
1968
1969config MSM_PIL_MODEM_QDSP6V4
1970 tristate "Modem QDSP6v4 (Hexagon) Boot Support"
Stephen Boyd2efa9962012-06-12 14:20:12 -07001971 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydbdb53f32012-06-05 18:39:47 -07001972 help
1973 Support for booting and shutting down QDSP6v4 processors (hexagon)
1974 in modem subsystems. If you would like to make or receive phone
1975 calls then say Y here.
1976
1977 If unsure, say N.
Stephen Boydeb819882011-08-29 14:46:30 -07001978
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001979config MSM_PIL_LPASS_QDSP6V5
Stephen Boyd633eb622012-06-13 12:05:35 -07001980 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
1981 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
1982 help
1983 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1984 in low power audio subsystems. This driver also monitors the ADSP
1985 SMSM status bits and the ADSP's watchdog interrupt and restarts the
1986 ADSP if the processor encounters a fatal error.
Matt Wagantall4e2599e2012-03-21 22:31:35 -07001987
1988config MSM_PIL_MSS_QDSP6V5
Stephen Boyd3da4fd02012-07-06 10:00:12 -07001989 tristate "MSS QDSP6v5 (Hexagon) Boot Support"
1990 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantalle6e00d52012-03-08 17:39:07 -08001991 help
Stephen Boyd3da4fd02012-07-06 10:00:12 -07001992 Support for booting and shutting down QDSP6v5 (Hexagon) processors
1993 in modem subsystems. If you would like to make or receive phone
1994 calls then say Y here.
1995
1996 If unsure, say N.
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001997
Stephen Boyd322a9922011-09-20 01:05:54 -07001998config MSM_PIL_RIVA
1999 tristate "RIVA (WCNSS) Boot Support"
Stephen Boydfdec00d2012-05-10 17:04:49 -07002000 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd322a9922011-09-20 01:05:54 -07002001 help
2002 Support for booting and shutting down the RIVA processor (WCNSS).
2003 Riva is the wireless subsystem processor used in bluetooth, wireless
2004 LAN, and FM software applications.
2005
Stephen Boydd89eebe2011-09-28 23:28:11 -07002006config MSM_PIL_TZAPPS
2007 tristate "TZApps Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002008 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boydd89eebe2011-09-28 23:28:11 -07002009 help
2010 Support for booting and shutting down TZApps.
2011
2012 TZApps is an image that runs in the secure processor state. It is
2013 used to decrypt data and perform secure operations on the behalf of
2014 the kernel.
2015
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07002016config MSM_PIL_DSPS
2017 tristate "DSPS Boot Support"
Stephen Boydf169b4b2012-05-10 17:55:55 -07002018 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07002019 help
2020 Support for booting and shutting down ARM7 DSPS processors.
2021
2022 DSPS is a sensors offloading processor used for applications such
2023 as rotation detection, temperature, etc.
2024
Stephen Boyd7b973de2012-03-09 12:26:16 -08002025config MSM_PIL_VIDC
2026 tristate "Video Core Secure Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002027 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd7b973de2012-03-09 12:26:16 -08002028 help
2029 Support for authenticating the video core image.
2030
Tianyi Gou828798d2012-05-02 21:12:38 -07002031config MSM_PIL_VENUS
2032 tristate "VENUS (Video) Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002033 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Tianyi Gou828798d2012-05-02 21:12:38 -07002034 help
2035 Support for booting and shutting down the VENUS processor (Video).
2036 Venus is the Video subsystem processor used for video codecs.
2037
Matt Wagantall292aace2012-01-26 19:12:34 -08002038config MSM_PIL_GSS
Stephen Boydd86214b2012-05-10 15:26:35 -07002039 tristate "GSS (Cortex A5) Boot Support"
2040 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantall292aace2012-01-26 19:12:34 -08002041 help
2042 Support for booting and shutting down Cortex A5 processors which run
2043 GPS subsystem firmware.
2044
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002045config MSM_PIL_PRONTO
2046 tristate "PRONTO (WCNSS) Boot Support"
Stephen Boyd581fe852012-06-13 12:05:35 -07002047 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002048 help
2049 Support for booting and shutting down the PRONTO processor (WCNSS).
2050 PRONTO is the wireless subsystem processor used in bluetooth, wireless
2051 LAN, and FM software applications.
2052
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002053config MSM_SCM
2054 bool "Secure Channel Manager (SCM) support"
2055 default n
2056
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002057config SCORPION_Uni_45nm_BUG
2058 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
2059 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
2060 default y
2061 help
2062 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
2063 invalidating the Branch Predictor Array by Modified Virtual Address can
2064 create invalid entries in the TLB with the wrong ASID values on Scorpion
2065 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
2066 workaround for Scorpion Uniprocessor 45nm cores.
2067
2068 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
2069
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002070config MSM_BUSPM_DEV
2071 tristate "MSM Bus Performance Monitor Kernel Module"
2072 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
2073 default m
2074 help
2075 This kernel module is used to mmap() hardware registers for the
2076 performance monitors, counters, etc. The module can also be used to
2077 allocate physical memory which is used by bus performance hardware to
2078 dump performance data.
2079
Mona Hossain11c03ac2011-10-26 12:42:10 -07002080config MSM_TZ_LOG
2081 tristate "MSM Trust Zone (TZ) Log Driver"
2082 depends on DEBUG_FS
2083 help
2084 This option enables a driver with a debugfs interface for messages
2085 produced by the Secure code (Trust zone). These messages provide
2086 diagnostic information about TZ operation.
2087
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002088config MSM_RPM_LOG
2089 tristate "MSM Resource Power Manager Log Driver"
2090 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002091 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002092 default n
2093 help
2094 This option enables a driver which can read from a circular buffer
2095 of messages produced by the RPM. These messages provide diagnostic
2096 information about RPM operation. The driver outputs the messages
2097 via a debugfs node.
2098
2099config MSM_RPM_STATS_LOG
2100 tristate "MSM Resource Power Manager Stat Driver"
2101 depends on DEBUG_FS
Priyanka Mathur1af9d4b2012-10-30 14:55:44 -07002102 depends on MSM_RPM || MSM_RPM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002103 default n
2104 help
2105 This option enables a driver which reads RPM messages from a shared
2106 memory location. These messages provide statistical information about
2107 the low power modes that RPM enters. The drivers outputs the message
2108 via a debugfs node.
2109
Girish Mahadevan898c56d2012-06-05 16:09:19 -06002110config MSM_RPM_RBCPR_STATS_LOG
2111 tristate "MSM Resource Power Manager RPBCPR Stat Driver"
2112 depends on DEBUG_FS
2113 depends on MSM_RPM
2114 help
2115 This option enables a driver which reads RPM messages from a shared
2116 memory location. These messages provide statistical information about
2117 RBCPR (Rapid Bridge Core Power Reduction) information . The drivers
2118 outputs the message via a debugfs node.
2119
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002120config MSM_DIRECT_SCLK_ACCESS
2121 bool "Direct access to the SCLK timer"
2122 default n
2123
2124config IOMMU_API
2125 bool
Gregory Bean1963a2a2010-08-28 10:05:44 -07002126
Brian Swetland9e73c842007-11-26 04:12:13 -08002127config MSM_GPIOMUX
2128 bool
2129
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002130config MSM_SECURE_IO
Brian Swetland9e73c842007-11-26 04:12:13 -08002131 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002132
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002133config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002134 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002135
Taniya Dascd1d0232012-07-03 17:50:47 +05302136config MSM_MODEM_RESTART
2137 bool
2138
Matt Wagantall88b86312012-01-31 16:53:03 -08002139config MSM_PM2
2140 depends on PM
2141 bool
2142
2143config MSM_PM8X60
2144 depends on PM
2145 bool
2146
Girish Mahadevan388c3082012-09-10 15:30:36 -06002147config MSM_EVENT_TIMER
2148 bool "Event timer"
2149 help
2150 This option enables a modules that manages a list of event timers that
2151 need to be monitored by the PM. The enables the PM code to monitor
2152 events that require the core to be awake and ready to handle the
2153 event.
2154
Matt Wagantall88b86312012-01-31 16:53:03 -08002155config MSM_NOPM
2156 default y if !PM
2157 bool
2158
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002159config MSM_BUS_SCALING
2160 bool "Bus scaling driver"
2161 default n
2162
Gagan Mac85c70492011-06-10 16:07:47 -06002163config MSM_BUS_RPM_MULTI_TIER_ENABLED
2164 bool "RPM Multi-tiering Configuration"
2165 depends on MSM_BUS_SCALING
2166
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002167config MSM_WATCHDOG
2168 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002169 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002170 help
2171 This enables the watchdog as is present on 8x60. Currently we use
2172 core 0's watchdog, and reset the entire SoC if it times out. It does
2173 not run during the bootup process, so it will not catch any early
2174 lockups.
2175
Hanumant Singhd1f01022012-07-05 14:21:53 -07002176config MSM_WATCHDOG_V2
2177 bool "MSM Watchdog Support"
2178 help
2179 This enables the watchdog module. It causes kernel panic if the
2180 watchdog times out. It allows for detection of cpu hangs and
2181 deadlocks. It does not run during the bootup process, so it will
2182 not catch any early lockups.
2183
Hanumant Singh5e2541c2012-07-31 14:41:14 -07002184config MSM_MEMORY_DUMP
2185 bool "MSM Memory Dump Support"
2186 help
2187 This enables memory dump feature. It allows various client
2188 subsystems to register respective dump regions. At the time
2189 of deadlocks or cpu hangs these dump regions are captured to
2190 give a snapshot of the system at the time of the crash.
2191
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002192config MSM_DLOAD_MODE
2193 bool "Enable download mode on crashes"
Abhimanyu Kapurdd7f2692012-10-22 13:43:52 -07002194 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_MSM8974 || ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002195 default n
2196 help
2197 This makes the SoC enter download mode when it resets
2198 due to a kernel panic. Note that this doesn't by itself
2199 make the kernel reboot on a kernel panic - that must be
2200 enabled via another mechanism.
2201
Pratik Patel17f3b822011-11-21 12:41:47 -08002202config MSM_JTAG
Pratik Patel2963de42012-05-17 12:43:40 -07002203 bool "JTAG and kernel debug and trace support across power collapse"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002204 help
Pratik Patel2963de42012-05-17 12:43:40 -07002205 Enables support for kernel debugging (specifically breakpoints) and
2206 processor tracing across power collapse both for JTag and OS hosted
2207 software running on the target. Enabling this will ensure debug
2208 and ETM registers are saved and restored across power collapse.
2209
2210 For production builds, you should probably say 'N' here to avoid
2211 potential power, performance and memory penalty.
Pratik Patel7831c082011-06-08 21:44:37 -07002212
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002213config MSM_ETM
2214 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002215 depends on ARCH_MSM8X60
2216 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002217 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002218 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002219
Lynus Vazdde09ee2012-01-05 13:28:22 +05302220config MSM_SLEEP_STATS_DEVICE
2221 bool "Enable exporting of MSM sleep device stats to userspace"
2222
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302223config MSM_RUN_QUEUE_STATS
2224 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Krishna Vankae2922052012-03-02 09:59:12 +05302225 depends on (MSM_SOC_REV_A || ARCH_MSM8X60 || ARCH_MSM8960)
2226 help
2227 This option enalbes statistics collection on Run Queue. A daemon
2228 in user mode, called MPDecision will be using this data to decide
2229 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302230
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002231config MSM_STANDALONE_POWER_COLLAPSE
2232 bool "Enable standalone power collapse"
2233 default n
2234
2235config MSM_GSBI9_UART
2236 bool "Enable GSBI9 UART device"
2237 default n
2238 help
2239 This enables GSBI9 configured into UART.
2240
2241config MSM_SHARED_GPIO_FOR_UART2DM
2242 bool "Use shared GPIOs into UART mode"
2243 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2244 help
2245 This option configures GPIO muxed with SDC4/MMC3
2246 8-bit mode into UART mode. It is used for serial
2247 console on UART2DM. Say Y if you want to have
2248 serial console on UART2DM.
2249
2250config MSM_SHOW_RESUME_IRQ
2251 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002252 depends on (ARM_GIC || PMIC8058)
2253 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002254 default n
2255 help
2256 This option logs wake up interrupts that have triggered just before
2257 the resume loop unrolls. Say Y if you want to debug why the system
2258 resumed.
2259
2260config BT_MSM_PINTEST
2261 tristate "MSM Bluetooth Pin Connectivity Test"
2262 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2263 default n
2264 help
2265 Bluetooth MSM Pin Connectivity test module.
2266 This driver provides support for verifying the MSM to BT pin
2267 connectivity.
2268
2269config MSM_FAKE_BATTERY
2270 depends on POWER_SUPPLY
2271 default n
2272 bool "MSM Fake Battery"
2273 help
2274 Enables MSM fake battery driver.
2275
2276config MSM_QDSP6_APR
2277 bool "Audio QDSP6 APR support"
2278 depends on MSM_SMD
2279 default n
2280 help
2281 Enable APR IPC protocol support between
2282 application processor and QDSP6. APR is
2283 used by audio driver to configure QDSP6's
2284 ASM, ADM and AFE.
2285
Joonwoo Park91d95462012-08-02 10:55:54 -07002286config MSM_QDSP6_APRV2
2287 bool "Audio QDSP6 APRv2 support"
2288 depends on MSM_SMD
2289 default n
2290 help
2291 Enable APRv2 IPC protocol support between
2292 application processor and QDSP6. APR is
2293 used by audio driver to configure QDSP6's
2294 ASM, ADM and AFE.
2295
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -07002296config MSM_QDSP6_CODECS
2297 bool "Audio Codecs on QDSP6 APR "
2298 depends on MSM_SMD
2299 default n
2300 help
2301 Enable Audio codecs with APR IPC protocol support between
2302 application processor and QDSP6. APR is
2303 used by audio driver to configure QDSP6's
2304 ASM, ADM and AFE.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002305
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002306config MSM_QDSP6V2_CODECS
2307 bool "Audio QDSP6V2 APR support"
2308 depends on MSM_SMD
2309 help
2310 Enable Audio codecs with APR IPC protocol support between
2311 application processor and QDSP6 for B-family. APR is
2312 used by audio driver to configure QDSP6's
2313 ASM, ADM and AFE.
2314
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002315config MSM_AUDIO_QDSP6
2316 bool "QDSP6 HW Audio support"
2317 select SND_SOC_MSM_QDSP6_INTF
2318 default n
2319 help
2320 Enable HW audio support in QDSP6.
2321 QDSP6 can support HW encoder & decoder and audio processing
2322
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002323config MSM_AUDIO_QDSP6V2
2324 bool "QDSP6V2 HW Audio support"
2325 select SND_SOC_MSM_QDSP6V2_INTF
2326 help
2327 Enable HW audio support in QDSP6V2.
2328 QDSP6V2 can support HW encoder & decoder and
2329 audio processing. It will enable support for
2330 AAC, AMRNB, AMRWB, EVRC, MP3, QCELP among
2331 others.
2332
Joonwoo Park4a14a552012-08-02 11:03:21 -07002333config MSM_ADSP_LOADER
2334 tristate "ADSP loader support"
2335 select SND_SOC_MSM_APRV2_INTF
2336 depends on MSM_AUDIO_QDSP6V2 && m
2337 help
2338 Enable ADSP image loader.
2339 The ADSP loader brings ADSP out of reset
2340 for the platforms that use APRv2.
2341 Say M if you want to enable this module.
2342
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +02002343config MSM_ULTRASOUND_A
2344 bool "QDSP6 HW Ultrasound support"
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002345 help
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +02002346 Enable HW ultrasound support in QDSP6.
2347 QDSP6 can support HW encoder & decoder and
2348 ultrasound processing. It will enable
2349 ultrasound data paths between
2350 HW and services, calculating input events
2351 upon the ultrasound data.
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002352
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002353config MSM_RPC_VIBRATOR
2354 bool "RPC based MSM Vibrator Support"
2355 depends on MSM_ONCRPCROUTER
2356 help
2357 Enable the vibrator support on MSM over RPC. The vibrator
2358 is connected on the PMIC. Say Y if you want to enable this
2359 feature.
2360
2361config PM8XXX_RPC_VIBRATOR
2362 bool "RPC based Vibrator on PM8xxx PMICs"
2363 depends on MSM_RPC_VIBRATOR
2364 help
2365 Enable the vibrator support on MSM over RPC. The vibrator
2366 is connected on the PM8XXX PMIC. Say Y if you want to enable
2367 this feature.
2368
2369config MSM_SPM_V1
2370 bool "Driver support for SPM Version 1"
2371 help
2372 Enables the support for Version 1 of the SPM driver. SPM hardware is
2373 used to manage the processor power during sleep. The driver allows
2374 configuring SPM to allow different power modes.
2375
2376config MSM_SPM_V2
2377 bool "Driver support for SPM Version 2"
2378 help
2379 Enables the support for Version 2 of the SPM driver. SPM hardware is
2380 used to manage the processor power during sleep. The driver allows
2381 configuring SPM to allow different power modes.
2382
2383config MSM_L2_SPM
2384 bool "SPM support for L2 cache"
2385 depends on MSM_SPM_V2
2386 help
2387 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2388 control of L2 cache low power mode with a Subsystem Power manager.
2389 Enabling this driver allows configuring L2 SPM for low power modes
2390 on supported chipsets.
2391
Laura Abbott2d1760b2011-09-29 21:31:24 -07002392config MSM_MULTIMEDIA_USE_ION
2393 bool "Multimedia suport using Ion"
2394 depends on ION_MSM
2395 help
2396 Enable support for multimedia drivers using Ion for buffer management
2397 instead of pmem. Selecting this may also involve userspace
2398 dependencies as well.
2399
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002400config MSM_OCMEM
2401 bool "MSM On-Chip memory driver (OCMEM)"
2402 help
2403 Enable support for On-Chip Memory available on certain MSM chipsets.
2404 OCMEM is a low latency, high performance pool shared by subsystems.
2405
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002406config MSM_OCMEM_LOCAL_POWER_CTRL
2407 bool "OCMEM Local Power Control"
2408 depends on MSM_OCMEM
2409 help
2410 Enable direct power management of the OCMEM core by the
2411 OCMEM driver. By default power management is delegated to
2412 the RPM. Selecting this option causes the OCMEM driver to
2413 directly handle the various macro power transitions.
2414
2415config MSM_OCMEM_DEBUG
2416 bool "OCMEM Debug Support"
2417 depends on MSM_OCMEM
2418 help
2419 Enable debug options for On-chip Memory (OCMEM) driver.
2420 Various debug options include memory, power and latency.
2421 Choosing one of these options allows debugging of each
2422 individual subsystem separately.
2423
Naveen Ramarajc71b2de2012-08-20 12:35:52 -07002424config MSM_OCMEM_NONSECURE
2425 bool "OCMEM Non Secure Mode"
2426 depends on MSM_OCMEM_DEBUG
2427 help
2428 Disable OCMEM interaction with secure processor.
2429 By default OCMEM is secured and accesses for each master
2430 is requested by the OCMEM driver. Selecting this option
2431 causes the OCMEM memory to be in non-secure state unless
2432 its locked down by the secure processor.
2433
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002434config MSM_OCMEM_POWER_DEBUG
2435 bool "OCMEM Power Debug Support"
2436 depends on MSM_OCMEM_DEBUG
2437 help
2438 Enable debug support for OCMEM power management.
2439 This adds support for verifying all power management
2440 related operations of OCMEM. Both local power management
2441 and RPM assisted power management operations are supported.
2442
Naveen Ramaraj4b1d9392012-08-06 21:05:14 -07002443config MSM_OCMEM_POWER_DISABLE
2444 bool "OCMEM Disable Power Control"
2445 depends on MSM_OCMEM_DEBUG
2446 help
2447 Disable all OCMEM power management.
2448 This keeps all OCMEM macros turned ON at all times thus
2449 never allowing them to be turned OFF. Both local power
2450 management and RPM assisted power modes are supported.
2451
Laura Abbottad340ff2012-01-04 14:23:48 -08002452config MSM_RTB
2453 bool "Register tracing"
2454 help
2455 Add support for logging different events to a small uncached
2456 region. This is designed to aid in debugging reset cases where the
2457 caches may not be flushed before the target resets.
2458
2459config MSM_RTB_SEPARATE_CPUS
2460 bool "Separate entries for each cpu"
2461 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002462 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002463 help
2464 Under some circumstances, it may be beneficial to give dedicated space
2465 for each cpu to log accesses. Selecting this option will log each cpu
2466 separately. This will guarantee that the last acesses for each cpu
2467 will be logged but there will be fewer entries per cpu
2468
Stepan Moskovchenko57884842012-06-07 17:35:49 -07002469config MSM_EBI_ERP
2470 bool "External Bus Interface (EBI) error reporting"
2471 help
2472 Say 'Y' here to enable reporting of external bus interface errors to
2473 the kernel log. Information such as the offending address and
2474 transaction type will be logged. This may be useful for debugging
2475 seemingly broken memory accesses.
2476
2477 For production builds, you should probably say 'N' here.
2478
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002479config MSM_CACHE_ERP
2480 bool "Cache / CPU error reporting"
2481 depends on ARCH_MSM_KRAIT
2482 help
2483 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2484 log. Enabling this feature can be used as a system debugging technique
2485 if cache corruption is suspected. Cache error statistics will also be
2486 reported in /proc/cpu/msm_cache_erp.
2487
2488 For production builds, you should probably say 'N' here.
2489
2490config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002491 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002492 depends on MSM_CACHE_ERP
2493 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002494 To cause the kernel to panic whenever an L1 cache error is detected, say
2495 'Y' here. This may be useful as a debugging technique if general system
2496 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002497
2498 For production builds, you should probably say 'N' here.
2499
Stepan Moskovchenko7035f652012-05-31 17:48:01 -07002500config MSM_L1_ERR_LOG
2501 bool "Log CPU ERP events to system memory"
2502 depends on MSM_CACHE_ERP
2503 help
2504 Enable logging CPU ERP events to an area of memory that will be
2505 preserved across a system reset. This may be useful for detecting and
2506 troubleshooting ERP-related system crashes in the field.
2507
2508 For production builds, you may want to say 'Y' here.
2509
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002510config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2511 bool "Report L2 master port slave/decode errors in kernel log"
2512 depends on MSM_CACHE_ERP
2513 help
2514 Master port errors can occur when a memory request is not properly
2515 handled by the destination slave. This can occur if the destination
2516 register does not exist or is inaccessible due to security
2517 restrictions or (in some cases) clock configuration. Enabling this
2518 option will cause a backtrace to be printed to the kernel log whenever
2519 such an error is encountered. Note that the error is reported as an
2520 interrupt rather than as an exception, meaning that the backtrace may
2521 have some skid. This option may help with debugging, though production
2522 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002523
2524config MSM_L2_ERP_PORT_PANIC
2525 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002526 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002527 help
2528 Master port errors can occur when a memory request is not properly
2529 handled by the destination slave. Enable this option to catch drivers
2530 which attempt to access bad areas of the address space, or access
2531 hardware registers in an improper state (such as certain clocks not
2532 being on). This option may help with debugging, though production
2533 builds should probably say 'N' here.
2534
2535config MSM_L2_ERP_1BIT_PANIC
2536 bool "Panic on recoverable L2 soft errors"
2537 depends on MSM_CACHE_ERP
2538 help
2539 Enable this option to cause a kernel panic whenever the L2 cache
2540 encounters a single-bit (correctable) soft error. This option should
2541 only be enabled when doing low-level debugging where cache corruption
2542 is suspected.
2543
2544 For production builds, you should definitely say 'N' here.
2545
2546config MSM_L2_ERP_2BIT_PANIC
2547 bool "Panic on unrecoverable L2 soft errors"
2548 depends on MSM_CACHE_ERP
2549 help
2550 Enable this option to cause a kernel panic whenever the L2 cache
2551 encounters a double-bit (non-correctable) soft error. Debug builds
2552 will likely benefit from having this option enabled to catch cache
2553 problems as soon as possible.
2554
2555 For production builds, it may be acceptable to say 'N' here, since
2556 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002557
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002558config MSM_DCVS
2559 bool "Use MSM DCVS for CPU/GPU Frequency control"
2560 depends on MSM_SCM
2561 help
2562 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2563 The DCVS manager allows idle driver to feed the idle information to the
2564 algorithm and the algorithm returns a frequency for the core which is
2565 passed to the frequency change driver.
2566
Pankaj Kumar32ce1ea2012-04-04 20:29:29 +05302567config MSM_CPR
2568 tristate "Use MSM CPR in S/W mode"
2569 help
2570 Enable CPR (core power reduction) in S/W mode, where the processor
2571 get's the notification from CPR block and programs the PMIC.
2572
2573config MSM_VP_REGULATOR
2574 tristate "Use MSM PMIC8029 C2 regulator"
2575 depends on ARCH_MSM8625
2576 help
2577 Enable MSM PMIC8029 C2 regulator support using APC_PLEVEL access
2578 for MSMs like 8625.
2579
Taniya Dasc43e6872012-03-21 16:41:14 +05302580config HAVE_ARCH_HAS_CURRENT_TIMER
2581 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002582
2583config MSM_CACHE_DUMP
2584 bool "Cache dumping support"
2585 help
2586 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2587 This allows for analysis of the caches in case cache corruption is
2588 suspected.
2589
Laura Abbott7b637362012-03-29 16:43:49 -07002590config MSM_CACHE_DUMP_ON_PANIC
2591 bool "Dump caches on panic"
2592 depends on MSM_CACHE_DUMP
2593 help
2594 By default, the caches are flushed on panic. This means that trying to
2595 look at them in a RAM dump will give useless data. Select this if you
2596 want to dump the L1 and L2 caches on panic before any flush occurs.
2597 If unsure, say N
2598
Jack Phamccbbfab2012-04-09 19:50:20 -07002599config MSM_HSIC_SYSMON
2600 tristate "MSM HSIC system monitor driver"
2601 depends on USB
2602 help
2603 Add support for bridging with the system monitor interface of MDM
2604 over HSIC. This driver allows the local system monitor to
2605 communicate with the remote system monitor interface.
2606
2607config MSM_HSIC_SYSMON_TEST
2608 tristate "MSM HSIC system monitor bridge test"
2609 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2610 help
2611 Enable the test hook for the Qualcomm system monitor HSIC driver.
2612 This will create a debugfs file entry named "hsic_sysmon_test" which
2613 can be read and written to send character data to the sysmon port of
2614 the modem over USB.
2615
Anirudh Ghayal0d2291a2012-09-20 21:31:41 +05302616config MSM_RPC_PMIC
2617 tristate "MSM RPC PMIC driver"
2618 depends on MSM_ONCRPCROUTER
2619 help
2620 This driver supports the PMIC functionality over RPC for those MSM's
2621 which do not have a direct access to PMIC. It supports ability to
2622 configure MPP, GPIO and all the other supported peripherals of the
2623 PMIC.
2624
Anirudh Ghayald3a63732012-09-20 22:13:13 +05302625config MSM_RPC_USB
2626 tristate "MSM RPC USB driver"
2627 depends on MSM_ONCRPCROUTER
2628 help
2629 This driver supports the USB configuration support over the RPC
2630 interface. It support the HS USB module connected to the MSM
2631 and FS USB which is connected over the PMIC. This support is
2632 required for MSMs on which the APPS does not have a direct access
2633 to the PMIC.
2634
2635config MSM_RPC_PMAPP
2636 tristate "MSM RPC PMIC APP driver"
2637 depends on MSM_ONCRPCROUTER
2638 help
2639 This driver supports the configuration of various PMIC APP modules
2640 such as display backlight, vreg pin-ctrl, smps clock over the RPC
2641 interface. This support is required for MSMs on which the APPS
2642 does not have a direct access to the PMIC.
Pushkar Joshi0fc73462012-09-26 17:59:31 -07002643
2644config MSM_ENABLE_WDOG_DEBUG_CONTROL
2645 bool "MSM Watchdog driver to disable debug Image"
2646 help
2647 This driver supports the configuration of the GCC_WDOG_DEBUG register
2648 used to control debug image.
2649 This support is currently required for MSM8974 to disable debug image
2650 on PS HOLD reset
Taniya Dasea4263f92012-08-22 18:52:51 +05302651
2652config MSM_FIQ
2653 bool "Enable FIQ for debugging"
2654 depends on ARCH_MSM8625
2655 select FIQ
Taniya Das36e4aa12012-07-04 18:27:16 +05302656 select GIC_SECURE
Taniya Dasea4263f92012-08-22 18:52:51 +05302657 help
2658 Enable any line to be used as an FIQ. This will help debugging
2659 if apps is not responding and holding lock with irqs disabled.
2660 Modem will then generate an raise a FIQ on this line before sending
2661 SMSM reset.
Brian Swetland9e73c842007-11-26 04:12:13 -08002662endif