blob: 42e250d60be4419e72bd20749063ad110dd8555e [file] [log] [blame]
Brian Swetland1637de02008-09-09 07:13:33 -07001if ARCH_MSM
Brian Swetland9e73c842007-11-26 04:12:13 -08002
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -07003menu "MSM SoC Type"
Daniel Walkerbf83de42010-03-16 16:29:44 -07004
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07005config ARCH_MSM7X01A
Daniel Walkerbf83de42010-03-16 16:29:44 -07006 bool "MSM7x00A / MSM7x01A"
7 select ARCH_MSM_ARM11
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07008 select MSM_VIC
Daniel Walkerbf83de42010-03-16 16:29:44 -07009 select CPU_V6
David Brown74d10d72011-05-16 13:57:39 -070010 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070011 select MSM_REMOTE_SPINLOCK_SWP
12
13config ARCH_MSM7X25
14 bool "MSM7x25"
15 select ARCH_MSM_ARM11
16 select MSM_VIC
17 select CPU_V6
Steve Mucklef132c6c2012-06-06 18:30:57 -070018 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070019 select MSM_REMOTE_SPINLOCK_SWP
Taniya Dasbe561a02011-10-12 09:53:11 +053020 select MULTI_IRQ_HANDLER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070021
22config ARCH_MSM7X27
23 bool "MSM7x27"
24 select ARCH_MSM_ARM11 if MSM_SOC_REV_NONE
Trilok Soni7ff06e02012-10-15 01:05:24 +053025 select ARCH_HAS_BARRIERS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070026 select ARCH_MSM_CORTEX_A5 if MSM_SOC_REV_A
27 select MSM_VIC
28 select CPU_V6 if MSM_SOC_REV_NONE
29 select CPU_V7 if MSM_SOC_REV_A
Steve Mucklef132c6c2012-06-06 18:30:57 -070030 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070031 select MSM_REMOTE_SPINLOCK_SWP if MSM_SOC_REV_NONE
32 select MSM_GPIOMUX
33 select REGULATOR
Taniya Dasbe561a02011-10-12 09:53:11 +053034 select MULTI_IRQ_HANDLER
Pankaj Kumar75c86fd2011-10-01 18:51:09 +053035 select MSM_PROC_COMM_REGULATOR
Laura Abbott1fbd2e62011-12-18 10:26:46 -080036 select CLEANCACHE
37 select QCACHE
Matt Wagantall88b86312012-01-31 16:53:03 -080038 select MSM_PM2 if PM
Krishna Vankae2922052012-03-02 09:59:12 +053039 select MSM_RUN_QUEUE_STATS if MSM_SOC_REV_A
Taniya Dasd4c39f92012-05-14 17:41:49 +053040 select DONT_MAP_HOLE_AFTER_MEMBANK0
Trilok Sonib856ab92012-06-26 14:33:28 +053041 select MIGHT_HAVE_CACHE_L2X0
Taniya Dascd1d0232012-07-03 17:50:47 +053042 select MSM_MODEM_RESTART
Daniel Walkerbf83de42010-03-16 16:29:44 -070043
Daniel Walker7b521612010-05-06 12:44:57 -070044config ARCH_MSM7X30
45 bool "MSM7x30"
46 select ARCH_MSM_SCORPION
Daniel Walker7b521612010-05-06 12:44:57 -070047 select MSM_VIC
48 select CPU_V7
David Brown74d10d72011-05-16 13:57:39 -070049 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070050 select MSM_REMOTE_SPINLOCK_DEKKERS
51 select ARCH_SPARSEMEM_ENABLE
Laura Abbott78593b52011-09-26 18:48:14 -070052 select ARCH_HAS_HOLES_MEMORYMODEL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070053 select MEMORY_HOTPLUG
54 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -080055 select ARCH_ENABLE_MEMORY_HOTPLUG
56 select ARCH_ENABLE_MEMORY_HOTREMOVE
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070057 select MIGRATION
58 select ARCH_MEMORY_PROBE
59 select ARCH_MEMORY_REMOVE
Gregory Beanab78cde2010-09-01 16:26:12 -070060 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070061 select RESERVE_FIRST_PAGE
62 select MSM_DALRPC
63 select MSM_SPM_V1
64 select REGULATOR
Justin Paupore637a25d2011-07-14 17:11:04 -070065 select MSM_PROC_COMM_REGULATOR
Taniya Dasbae99fb2011-10-12 09:55:13 +053066 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -080067 select MSM_PM2 if PM
Chintan Pandyabb021762012-06-21 15:03:29 +053068 select HOLES_IN_ZONE if SPARSEMEM
Taniya Dascd1d0232012-07-03 17:50:47 +053069 select MSM_MODEM_RESTART
Chintan Pandya62a2f7c2012-10-30 12:00:40 +053070 select ARM_HAS_SG_CHAIN
Daniel Walker7b521612010-05-06 12:44:57 -070071
Daniel Walker4ad15e62010-05-06 13:54:17 -070072config ARCH_QSD8X50
73 bool "QSD8X50"
74 select ARCH_MSM_SCORPION
Daniel Walker4ad15e62010-05-06 13:54:17 -070075 select MSM_VIC
76 select CPU_V7
David Brown74d10d72011-05-16 13:57:39 -070077 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070078 select MSM_REMOTE_SPINLOCK_LDREX
79 select CPU_USE_DOMAINS
80 select EMULATE_DOMAIN_MANAGER_V7
Gregory Beanab78cde2010-09-01 16:26:12 -070081 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070082 select MSM_DALRPC
Matt Wagantall88b86312012-01-31 16:53:03 -080083 select MSM_PM2 if PM
Taniya Dascd1d0232012-07-03 17:50:47 +053084 select MSM_MODEM_RESTART
Daniel Walker46fe5f22010-08-18 11:00:25 -070085
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070086config ARCH_MSM8X60
87 bool "MSM8X60"
Jeff Ohlsteine14411d2010-11-30 13:06:36 -080088 select ARCH_MSM_SCORPIONMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070089 select SMP_PARALLEL_START if SMP
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070090 select ARM_GIC
91 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070092 select MSM_REMOTE_SPINLOCK_LDREX
93 select ARCH_REQUIRE_GPIOLIB
94 select MSM_ADM3
95 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -080096 select MSM_RPM_REGULATOR
David Brown1a5ab4b2011-05-16 15:53:38 -070097 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070098 select MSM_PIL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070099 select ARCH_HAS_CPU_IDLE_WAIT
100 select MSM_DIRECT_SCLK_ACCESS
101 select MSM_RPM
102 select MSM_XO
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700103 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700104 select MSM_BUS_SCALING
105 select MSM_SECURE_IO
106 select MSM_DALRPC
107 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700108 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700109 select MSM_NATIVE_RESTART
110 select ARCH_INLINE_SPIN_TRYLOCK
111 select ARCH_INLINE_SPIN_TRYLOCK_BH
112 select ARCH_INLINE_SPIN_LOCK
113 select ARCH_INLINE_SPIN_LOCK_BH
114 select ARCH_INLINE_SPIN_LOCK_IRQ
115 select ARCH_INLINE_SPIN_LOCK_IRQSAVE
116 select ARCH_INLINE_SPIN_UNLOCK
117 select ARCH_INLINE_SPIN_UNLOCK_BH
118 select ARCH_INLINE_SPIN_UNLOCK_IRQ
119 select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
120 select ARCH_INLINE_READ_TRYLOCK
121 select ARCH_INLINE_READ_LOCK
122 select ARCH_INLINE_READ_LOCK_BH
123 select ARCH_INLINE_READ_LOCK_IRQ
124 select ARCH_INLINE_READ_LOCK_IRQSAVE
125 select ARCH_INLINE_READ_UNLOCK
126 select ARCH_INLINE_READ_UNLOCK_BH
127 select ARCH_INLINE_READ_UNLOCK_IRQ
128 select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
129 select ARCH_INLINE_WRITE_TRYLOCK
130 select ARCH_INLINE_WRITE_LOCK
131 select ARCH_INLINE_WRITE_LOCK_BH
132 select ARCH_INLINE_WRITE_LOCK_IRQ
133 select ARCH_INLINE_WRITE_LOCK_IRQSAVE
134 select ARCH_INLINE_WRITE_UNLOCK
135 select ARCH_INLINE_WRITE_UNLOCK_BH
136 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
137 select CPU_HAS_L2_PMU
138 select MSM_SPM_V1
Stephen Boyd2a1eb582010-08-27 10:01:23 -0700139 select MSM_SCM if SMP
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530140 select MULTI_IRQ_HANDLER
Laura Abbott46505f62011-11-02 18:06:55 -0700141 select MSM_MULTIMEDIA_USE_ION
Matt Wagantall88b86312012-01-31 16:53:03 -0800142 select MSM_PM8X60 if PM
Krishna Vankae2922052012-03-02 09:59:12 +0530143 select MSM_RUN_QUEUE_STATS
Laura Abbottb14ed962012-01-30 14:18:08 -0800144 select ARM_HAS_SG_CHAIN
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700145
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800146config ARCH_MSM8960
147 bool "MSM8960"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700148 select ARCH_MSM_KRAITMP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800149 select ARM_GIC
150 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700151 select GPIO_MSM_V2
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800152 select MSM_GPIOMUX
153 select MSM_SCM if SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700154 select MSM_DIRECT_SCLK_ACCESS
155 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -0800156 select MSM_RPM_REGULATOR
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700157 select MSM_RPM
158 select MSM_XO
159 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700160 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700161 select MSM_PIL
162 select MSM_AUDIO_QDSP6 if SND_SOC
163 select CPU_HAS_L2_PMU
164 select MSM_SPM_V2
165 select MSM_L2_SPM
166 select MSM_NATIVE_RESTART
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700167 select DONT_MAP_HOLE_AFTER_MEMBANK0
168 select MSM_REMOTE_SPINLOCK_SFPB
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700169 select ARCH_SPARSEMEM_ENABLE
170 select ARCH_HAS_HOLES_MEMORYMODEL
Larry Basseld4d82c92011-12-07 09:52:49 -0800171 select CLEANCACHE
172 select QCACHE
Laura Abbott6d61a912011-10-27 16:44:14 -0700173 select MSM_MULTIMEDIA_USE_ION
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530174 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800175 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700176 select HOLES_IN_ZONE if SPARSEMEM
Krishna Vankae2922052012-03-02 09:59:12 +0530177 select MSM_RUN_QUEUE_STATS
Laura Abbottb14ed962012-01-30 14:18:08 -0800178 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700179 select MSM_KRAIT_WFE_FIXUP
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +0200180 select MSM_ULTRASOUND_A
Olav Haugan5e728722012-11-05 17:45:26 -0800181 select MSM_IOMMU_GPU_SYNC
Greg Reidb1d240a2012-10-12 12:20:31 -0400182 select GENERIC_TIME_VSYSCALL
183 select USE_USER_ACCESSIBLE_TIMERS
184 select ARM_USE_USER_ACCESSIBLE_TIMERS
185 select MSM_USE_USER_ACCESSIBLE_TIMERS
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800186
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700187config ARCH_MSM8930
188 bool "MSM8930"
189 select ARCH_MSM_KRAITMP
190 select ARM_GIC
191 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700192 select GPIO_MSM_V2
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700193 select MSM_GPIOMUX
194 select MSM_SCM if SMP
195 select MSM_DIRECT_SCLK_ACCESS
196 select REGULATOR
David Collins5779cea2012-01-05 15:09:21 -0800197 select MSM_RPM_REGULATOR
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700198 select MSM_RPM
199 select MSM_XO
200 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700201 select MSM_QDSP6_CODECS
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700202 select MSM_PIL
203 select MSM_AUDIO_QDSP6 if SND_SOC
204 select CPU_HAS_L2_PMU
205 select MSM_SPM_V2
206 select MSM_L2_SPM
207 select MSM_NATIVE_RESTART
208 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600209 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700210 select ARCH_SPARSEMEM_ENABLE
211 select ARCH_HAS_HOLES_MEMORYMODEL
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +0200212 select MSM_ULTRASOUND_A
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530213 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800214 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700215 select HOLES_IN_ZONE if SPARSEMEM
Laura Abbottb14ed962012-01-30 14:18:08 -0800216 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700217 select MSM_KRAIT_WFE_FIXUP
Olav Haugan5e728722012-11-05 17:45:26 -0800218 select MSM_IOMMU_GPU_SYNC
Greg Reidb1d240a2012-10-12 12:20:31 -0400219 select GENERIC_TIME_VSYSCALL
220 select USE_USER_ACCESSIBLE_TIMERS
221 select ARM_USE_USER_ACCESSIBLE_TIMERS
222 select MSM_USE_USER_ACCESSIBLE_TIMERS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700223
224config ARCH_APQ8064
225 bool "APQ8064"
226 select ARCH_MSM_KRAITMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700227 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700228 select ARM_GIC
229 select CPU_V7
230 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700231 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600232 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800233 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800234 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700235 select MSM_QDSP6_CODECS
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800236 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530237 select MULTI_IRQ_HANDLER
Praveen Chidambaram78499012011-11-01 17:15:17 -0600238 select MSM_RPM
239 select MSM_SPM_V2
240 select MSM_L2_SPM
Matt Wagantall88b86312012-01-31 16:53:03 -0800241 select MSM_PM8X60 if PM
Neil Leeder814d3d32012-01-19 17:21:43 -0500242 select CPU_HAS_L2_PMU
Laura Abbott085dd202012-03-30 14:02:34 -0700243 select HOLES_IN_ZONE if SPARSEMEM
Larry Bassel67b921d2012-04-06 10:23:27 -0700244 select CLEANCACHE
245 select QCACHE
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -0600246 select MIGHT_HAVE_PCI
247 select ARCH_SUPPORTS_MSI
Laura Abbottb14ed962012-01-30 14:18:08 -0800248 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700249 select MSM_KRAIT_WFE_FIXUP
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +0200250 select MSM_ULTRASOUND_A
Olav Haugan5e728722012-11-05 17:45:26 -0800251 select MSM_IOMMU_GPU_SYNC
Greg Reidb1d240a2012-10-12 12:20:31 -0400252 select GENERIC_TIME_VSYSCALL
253 select USE_USER_ACCESSIBLE_TIMERS
254 select ARM_USE_USER_ACCESSIBLE_TIMERS
255 select MSM_USE_USER_ACCESSIBLE_TIMERS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700256
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700257config ARCH_MSM8974
258 bool "MSM8974"
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700259 select ARCH_MSM_KRAITMP
Sathish Ambley4149e842012-03-23 11:53:55 -0700260 select GPIO_MSM_V3
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700261 select ARM_GIC
262 select CPU_V7
263 select MSM_SCM if SMP
264 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530265 select MULTI_IRQ_HANDLER
Olav Hauganb800c8c2012-01-30 08:50:45 -0800266 select MSM_MULTIMEDIA_USE_ION
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700267 select MSM_PIL
Praveen Chidambaramaa9d52b2012-04-02 11:09:47 -0600268 select MSM_SPM_V2
269 select MSM_L2_SPM
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700270 select MSM_NATIVE_RESTART
271 select MSM_RESTART_V2
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600272 select MSM_PM8X60 if PM
Steve Mucklef132c6c2012-06-06 18:30:57 -0700273 select MAY_HAVE_SPARSE_IRQ
274 select SPARSE_IRQ
Mahesh Sivasubramaniancb668712012-04-04 13:03:25 -0600275 select MSM_RPM_SMD
David Collinsc7642322012-04-04 10:19:12 -0700276 select REGULATOR
Joonwoo Park91d95462012-08-02 10:55:54 -0700277 select MSM_QDSP6_APRV2
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -0700278 select MSM_QDSP6V2_CODECS
279 select MSM_AUDIO_QDSP6V2 if SND_SOC
David Collins1c91ea72012-05-03 16:17:35 -0700280 select MSM_RPM_REGULATOR_SMD
Laura Abbottb14ed962012-01-30 14:18:08 -0800281 select ARM_HAS_SG_CHAIN
Karthik Parsha404fb8f2012-07-30 19:14:05 -0700282 select MSM_RUN_QUEUE_STATS
Neeti Desai92eab922012-10-22 15:14:48 -0700283 select MEMORY_HOLE_CARVEOUT
Priyanka Mathur1af9d4b2012-10-30 14:55:44 -0700284 select MSM_RPM_STATS_LOG
Karthikeyan Ramasubramanian1edce9e2012-11-08 18:26:10 -0700285 select QMI_ENCDEC
Neeti Desai1b2cb552012-11-01 21:57:36 -0700286 select DONT_MAP_HOLE_AFTER_MEMBANK0
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700287
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +0530288config ARCH_MPQ8092
289 bool "MPQ8092"
290 select ARCH_MSM_KRAITMP
291 select GPIO_MSM_V3
292 select ARM_GIC
293 select MULTI_IRQ_HANDLER
294 select CPU_V7
295 select MSM_GPIOMUX
296 select MAY_HAVE_SPARSE_IRQ
297 select SPARSE_IRQ
298 select MSM_NOPM
299
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700300config ARCH_FSM9XXX
301 bool "FSM9XXX"
302 select ARCH_MSM_SCORPION
303 select MSM_VIC
304 select CPU_V7
305 select MSM_REMOTE_SPINLOCK_LDREX
Steve Mucklef132c6c2012-06-06 18:30:57 -0700306 select GPIO_FSM9XXX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530307 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800308 select MSM_DALRPC
Daniel Walker4ad15e62010-05-06 13:54:17 -0700309
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700310config ARCH_MSM9615
311 bool "MSM9615"
312 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530313 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700314 select ARCH_MSM_CORTEX_A5
315 select CPU_V7
Rohit Vaswani4307c842012-10-11 15:50:05 -0700316 select MIGHT_HAVE_CACHE_L2X0
Steve Mucklef132c6c2012-06-06 18:30:57 -0700317 select GPIO_MSM_V2
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700318 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600319 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600320 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700321 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800322 select REGULATOR
323 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530324 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800325 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800326 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700327 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800328 select MSM_QDSP6_APR
329 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800330 select FIQ
Laura Abbottb14ed962012-01-30 14:18:08 -0800331 select ARM_HAS_SG_CHAIN
Matt Wagantall9274df92011-12-15 11:11:05 -0800332
Taniya Das43bcdd62011-12-02 17:33:27 +0530333config ARCH_MSM8625
334 bool "MSM8625"
335 select ARCH_MSM_CORTEX_A5
336 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700337 select GPIO_MSM_V1
Taniya Das43bcdd62011-12-02 17:33:27 +0530338 select MSM_GPIOMUX
339 select ARM_GIC
340 select ARCH_MSM_CORTEXMP
341 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530342 select ARM_TICKET_LOCKS
Krishna Vankae2922052012-03-02 09:59:12 +0530343 select MSM_RUN_QUEUE_STATS
Trilok Sonib856ab92012-06-26 14:33:28 +0530344 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530345 select ARM_HAS_SG_CHAIN
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700346
347config ARCH_MSM9625
348 bool "MSM9625"
349 select ARM_GIC
Abhimanyu Kapur490d20c2012-06-22 17:34:20 -0700350 select MIGHT_HAVE_CACHE_L2X0
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700351 select ARCH_MSM_CORTEX_A5
352 select SMP
353 select MSM_SMP
354 select CPU_V7
Abhimanyu Kapur4bb38622012-10-16 19:07:48 -0700355 select MSM_SCM if SMP
Jin Hong690e3352012-05-02 09:25:05 -0700356 select MSM_GPIOMUX
Girish Mahadevanf1c20a42012-09-19 11:44:36 -0600357 select MSM_RPM_SMD
Abhimanyu Kapur46e5e2b2012-10-02 20:45:37 -0700358 select MSM_NATIVE_RESTART
359 select MSM_RESTART_V2
Girish Mahadevan6e419562012-09-19 12:50:05 -0600360 select MSM_SPM_V2
361 select MSM_PM8X60 if PM
362 select MSM_SCM if SMP
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700363 select MULTI_IRQ_HANDLER
Rohit Vaswani61cf6ef2012-07-27 13:51:48 -0700364 select GPIO_MSM_V3
David Collins1cc6e402012-09-17 16:02:24 -0700365 select MAY_HAVE_SPARSE_IRQ
366 select SPARSE_IRQ
Mitchel Humpherys92e9b8a2012-10-08 18:12:47 -0700367 select MSM_MULTIMEDIA_USE_ION
Girish Mahadevane3be9302012-11-07 16:21:52 -0700368 select MSM_RPM_STATS_LOG
Venkat Sudhir0620e982012-11-15 16:04:36 -0800369 select MSM_QDSP6_APRV2
370 select MSM_QDSP6V2_CODECS
371 select MSM_AUDIO_QDSP6V2 if SND_SOC
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700372
373config ARCH_MSM8910
374 bool "MSM8910"
375 select ARM_GIC
376 select GIC_SECURE
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700377 select ARCH_MSM_CORTEXMP
378 select CPU_V7
379 select MSM_SCM if SMP
380 select MAY_HAVE_SPARSE_IRQ
381 select SPARSE_IRQ
382 select MULTI_IRQ_HANDLER
383 select GPIO_MSM_V3
384 select MSM_GPIOMUX
Hanumant Singhe4271312012-10-24 13:27:57 -0700385 select MSM_NATIVE_RESTART
386 select MSM_RESTART_V2
Syed Rameez Mustafa9ee80102012-11-02 14:41:04 -0700387
388config ARCH_MSM8226
389 bool "MSM8226"
390 select ARM_GIC
391 select GIC_SECURE
Syed Rameez Mustafa9ee80102012-11-02 14:41:04 -0700392 select ARCH_MSM_CORTEXMP
393 select CPU_V7
394 select MSM_SCM if SMP
395 select MAY_HAVE_SPARSE_IRQ
396 select SPARSE_IRQ
397 select MULTI_IRQ_HANDLER
398 select GPIO_MSM_V3
399 select MSM_GPIOMUX
Syed Rameez Mustafaf1bdd712012-11-20 14:56:44 -0800400 select MSM_NATIVE_RESTART
401 select MSM_RESTART_V2
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700402endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700403
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700404choice
405 prompt "MSM SoC Revision"
406 default MSM_SOC_REV_NONE
407config MSM_SOC_REV_NONE
408 bool "N/A"
409 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
410 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walkerbf83de42010-03-16 16:29:44 -0700411config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700412 bool "Rev. A"
413 select ARCH_MSM7X27A if ARCH_MSM7X27
Daniel Walkerbf83de42010-03-16 16:29:44 -0700414endchoice
415
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700416config MSM_KRAIT_TBB_ABORT_HANDLER
417 bool "Krait TBB/TBH data abort handler"
418 depends on ARCH_MSM_KRAIT
419 depends on ARM_THUMB
420 help
421 Certain early samples of the Krait processor may generate data
422 aborts for TBB / TBH instructions that fail their condition code
423 checks. Enabling this option will ignore these erroneous data aborts,
424 at the expense of a very small performance penalty.
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800425
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700426 If unsure, say N.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700427
428config ARCH_MSM_ARM11
429 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700430
Daniel Walkerbf83de42010-03-16 16:29:44 -0700431config ARCH_MSM_SCORPION
432 bool
433
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700434config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700435 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800436 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700437
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700438config MSM_SMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700439 select HAVE_SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700440 bool
441
442config ARCH_MSM_SCORPIONMP
443 select ARCH_MSM_SCORPION
444 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530445 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700446 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700447 bool
448
449config ARCH_MSM_KRAITMP
450 select ARCH_MSM_KRAIT
451 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530452 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700453 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700454 bool
455
Taniya Das43bcdd62011-12-02 17:33:27 +0530456config ARCH_MSM_CORTEXMP
457 select MSM_SMP
458 bool
459
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700460config MSM_KRAIT_WFE_FIXUP
461 bool
462
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700463config MSM_RESTART_V2
464 bool
465
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700466config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800467 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700468
469config ARCH_MSM7X27A
470 bool
471 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700472 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530473 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530474 select ARM_GIC
475 select ARCH_MSM_CORTEXMP
Trilok Sonib856ab92012-06-26 14:33:28 +0530476 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530477 select ARM_HAS_SG_CHAIN
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700478
Gregory Beanf9f3d312010-04-30 22:06:50 -0700479config MSM_VIC
480 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700481
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700482config MSM_RPM
483 bool "Resource Power Manager"
484 select MSM_MPM
485
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600486config MSM_RPM_SMD
487 depends on MSM_SMD
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600488 select MSM_MPM_OF
489 bool "RPM driver using SMD protocol"
490 help
491 RPM is the dedicated hardware engine for managing shared SoC
492 resources. This config adds driver support for using SMD as a
493 transport layer communication with RPM hardware. It also selects
494 the MSM_MPM config that programs the MPM module to monitor interrupts
495 during sleep modes.
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600496
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700497config MSM_MPM
498 bool "Modem Power Manager"
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600499 help
500 MPM is a dedicated hardware resource responsible for entering and
501 waking up from a system wide low power mode. The MPM driver tracks
502 the wakeup interrupts and configures the MPM to monitor the wakeup
503 interrupts when going to a system wide sleep mode.
504
505config MSM_MPM_OF
506 bool "Modem Power Manager"
507 depends on CONFIG_OF
508 help
509 MPM is a dedicated hardware resource responsible for entering and
510 waking up from a system wide low power mode. The MPM driver tracks
511 the wakeup interrupts and configures the MPM to monitor the wakeup
512 interrupts when going to a system wide sleep mode. This config option
513 enables the MPM driver that supports initialization from a device
514 tree
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700515
516config MSM_XO
517 bool
518
519config MSM_REMOTE_SPINLOCK_DEKKERS
520 bool
521config MSM_REMOTE_SPINLOCK_SWP
522 bool
523config MSM_REMOTE_SPINLOCK_LDREX
524 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600525config MSM_REMOTE_SPINLOCK_SFPB
526 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700527config MSM_ADM3
528 bool
529
530menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700531
532config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700533 depends on ARCH_MSM7X01A
534 depends on MSM_STACKED_MEMORY
535 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700536 bool "Halibut Board (QCT SURF7201A)"
537 help
538 Support for the Qualcomm SURF7201A eval board.
539
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700540config MACH_MSM7201A_SURF
541 depends on ARCH_MSM7X01A
542 depends on MSM_STACKED_MEMORY
543 default y
544 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700545 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700546 Support for the Qualcomm MSM7201A SURF eval board.
547
548config MACH_MSM7201A_FFA
549 depends on ARCH_MSM7X01A
550 depends on MSM_STACKED_MEMORY
551 default y
552 bool "MSM7201A FFA"
553 help
554 Support for the Qualcomm MSM7201A FFA eval board.
555
556config MACH_TROUT
557 depends on ARCH_MSM7X01A
558 depends on MSM_STACKED_MEMORY
559 default y
560 bool "Trout"
561
562config MACH_MSM7X27_SURF
563 depends on ARCH_MSM7X27
564 depends on !MSM_STACKED_MEMORY
565 default y
566 bool "MSM7x27 SURF"
567 help
568 Support for the Qualcomm MSM7x27 SURF eval board.
569
570config MACH_MSM7X27_FFA
571 depends on ARCH_MSM7X27
572 depends on !MSM_STACKED_MEMORY
573 default y
574 bool "MSM7x27 FFA"
575 help
576 Support for the Qualcomm MSM7x27 FFA eval board.
577
578config MACH_MSM7X27A_RUMI3
579 depends on ARCH_MSM7X27A
580 depends on !MSM_STACKED_MEMORY
581 default y
582 bool "MSM7x27A RUMI3"
583 help
584 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
585
586config MACH_MSM7X27A_SURF
587 depends on ARCH_MSM7X27A
588 depends on !MSM_STACKED_MEMORY
589 default y
590 bool "MSM7x27A SURF"
591 help
592 Support for the Qualcomm MSM7x27A SURF.
593
594config MACH_MSM7X27A_FFA
595 depends on ARCH_MSM7X27A
596 depends on !MSM_STACKED_MEMORY
597 default y
598 bool "MSM7x27A FFA"
599 help
600 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700601
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530602config MACH_MSM7625A_SURF
603 depends on ARCH_MSM7X27A
604 depends on !MSM_STACKED_MEMORY
605 default y
606 bool "MSM7625A SURF"
607 help
608 Support for the Qualcomm MSM7625A SURF.
609
610config MACH_MSM7625A_FFA
611 depends on ARCH_MSM7X27A
612 depends on !MSM_STACKED_MEMORY
613 default y
614 bool "MSM7625A FFA"
615 help
616 Support for the Qualcomm MSM7625A FFA.
617
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530618config MACH_MSM7627A_QRD1
619 depends on ARCH_MSM7X27A
620 depends on !MSM_STACKED_MEMORY
621 default y
622 bool "MSM7627A QRD1"
623 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530624 Support for the Qualcomm MSM7627A Reference Design.
625
626config MACH_MSM7627A_QRD3
627 depends on ARCH_MSM7X27A
628 depends on !MSM_STACKED_MEMORY
629 default y
630 bool "MSM7627A QRD3"
631 help
632 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530633
Taniya Dasc868a2e2012-01-03 10:18:47 +0530634config MACH_MSM7627A_EVB
635 depends on ARCH_MSM7X27A
636 depends on !MSM_STACKED_MEMORY
637 default y
638 bool "MSM7627A EVB"
639 help
640 Support for the Qualcomm MSM7627A Reference Design.
641
Taniya Das43bcdd62011-12-02 17:33:27 +0530642config MACH_MSM8625_RUMI3
643 depends on ARCH_MSM8625
644 depends on !MSM_STACKED_MEMORY
645 default y
646 bool "MSM8625 RUMI3"
647 help
648 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
649
Taniya Dase3027e22012-02-27 16:32:27 +0530650config MACH_MSM8625_SURF
651 depends on ARCH_MSM8625
652 depends on !MSM_STACKED_MEMORY
653 default y
654 bool "MSM8625 SURF"
655 help
656 Support for the Qualcomm MSM8625 SURF.
657
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530658config MACH_MSM8625_FFA
659 depends on ARCH_MSM8625
660 depends on !MSM_STACKED_MEMORY
661 default y
662 bool "MSM8625 FFA"
663 help
664 Support for the Qualcomm MSM8625 FFA.
665
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530666config MACH_MSM8625_EVB
667 depends on ARCH_MSM8625
668 depends on !MSM_STACKED_MEMORY
669 default y
670 bool "MSM8625 EVB"
671 help
672 Support for the Qualcomm MSM8625 Reference Design.
673
Taniya Dasbd096542012-03-15 17:43:45 +0530674config MACH_MSM8625_QRD7
675 depends on ARCH_MSM8625
676 depends on !MSM_STACKED_MEMORY
677 default y
678 bool "MSM8625 QRD7"
679 help
680 Support for the Qualcomm MSM8625 Reference Design.
681
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530682config MACH_MSM8625_EVT
683 depends on ARCH_MSM8625
684 depends on !MSM_STACKED_MEMORY
685 default y
686 bool "MSM8625 EVT"
687 help
688 Support for the Qualcomm MSM8625 Reference Design.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700689
Channagoud Kadabi2bd65c82012-10-12 15:14:23 +0530690config MACH_QRD_SKUD_PRIME
691 depends on ARCH_MSM8625
692 depends on !MSM_STACKED_MEMORY
693 default y
694 bool "MSM8625 SKUD PRIME"
695 help
696 Support for the Qualcomm MSM8625 SKUD prime Reference Design.
697 Add support for a SKUD prime reference design based on MSM8x25
698 chipset. This device is much closer to a phone than regular form
699 factor devices, with new touch, display panel and other hardware
700 configurations.
701
Daniel Walker7b521612010-05-06 12:44:57 -0700702config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700703 depends on ARCH_MSM7X30
704 depends on !MSM_STACKED_MEMORY
705 default y
706 bool "MSM7x30 SURF"
707 help
708 Support for the Qualcomm MSM7x30 SURF eval board.
709
710config MACH_MSM7X30_FFA
711 depends on ARCH_MSM7X30
712 depends on !MSM_STACKED_MEMORY
713 default y
714 bool "MSM7x30 FFA"
715 help
716 Support for the Qualcomm MSM7x30 FFA eval board.
717
718config MACH_MSM7X30_FLUID
719 depends on ARCH_MSM7X30
720 depends on !MSM_STACKED_MEMORY
721 default y
722 bool "MSM7x30 FLUID"
723 help
724 Support for the Qualcomm MSM7x30 FLUID eval board.
725
726config MACH_SAPPHIRE
727 depends on ARCH_MSM7X01A
728 default n
729 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700730
Daniel Walker4ad15e62010-05-06 13:54:17 -0700731config MACH_QSD8X50_SURF
732 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700733 depends on MSM_SOC_REV_NONE
734 depends on MSM_STACKED_MEMORY
735 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700736 bool "QSD8x50 SURF"
737 help
738 Support for the Qualcomm QSD8x50 SURF eval board.
739
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700740config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700741 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700742 depends on MSM_SOC_REV_NONE
743 depends on MSM_STACKED_MEMORY
744 default y
745 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700746 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700747 Support for the Qualcomm QSD8x50 FFA eval board.
748
749config MACH_MSM7X25_SURF
750 depends on ARCH_MSM7X25
751 depends on !MSM_STACKED_MEMORY
752 default y
753 bool "MSM7x25 SURF"
754 help
755 Support for the Qualcomm MSM7x25 SURF eval board.
756
757config MACH_MSM7X25_FFA
758 depends on ARCH_MSM7X25
759 depends on !MSM_STACKED_MEMORY
760 default y
761 bool "MSM7x25 FFA"
762 help
763 Support for the Qualcomm MSM7x25 FFA eval board.
764
765config MACH_MSM8X55_SURF
766 depends on ARCH_MSM7X30
767 depends on !MSM_STACKED_MEMORY
768 default y
769 bool "MSM8X55 SURF"
770 help
771 Support for the Qualcomm MSM8x55 SURF eval board.
772
773config MACH_MSM8X55_FFA
774 depends on ARCH_MSM7X30
775 depends on !MSM_STACKED_MEMORY
776 default y
777 bool "MSM8X55 FFA"
778 help
779 Support for the Qualcomm MSM8x55 FFA eval board.
780
781config MACH_MSM8X55_SVLTE_FFA
782 depends on ARCH_MSM7X30
783 depends on !MSM_STACKED_MEMORY
784 default y
785 bool "MSM8X55 SVLTE FFA"
786 help
787 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
788
789config MACH_MSM8X55_SVLTE_SURF
790 depends on ARCH_MSM7X30
791 depends on !MSM_STACKED_MEMORY
792 default y
793 bool "MSM8X55 SVLTE SURF"
794 help
795 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700796
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700797config MACH_MSM8X60_SURF
798 depends on ARCH_MSM8X60
799 default n
800 bool "MSM8x60 SURF"
801 help
802 Support for the Qualcomm MSM8x60 SURF eval board.
803
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700804config MACH_MSM8X60_FFA
805 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700806 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700807 bool "MSM8x60 FFA"
808 help
809 Support for the Qualcomm MSM8x60 FFA eval board.
810
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700811config MACH_MSM8X60_FLUID
812 depends on ARCH_MSM8X60
813 default n
814 bool "MSM8x60 FLUID"
815 help
816 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
817 8x60 target which has a form factor that is much closer to that
818 of a phone than other targets. It also has a new display and
819 touchscreen controller.
820
821config MACH_MSM8X60_FUSION
822 depends on ARCH_MSM8X60
823 default n
824 bool "MSM8x60 FUSION"
825 help
826 Support for the Qualcomm MSM8x60 Fusion SURF device.
827
828config MACH_MSM8X60_FUSN_FFA
829 depends on ARCH_MSM8X60
830 default n
831 bool "MSM8x60 FUSN FFA"
832 help
833 Support for the Qualcomm MSM8x60 Fusion FFA device.
834
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400835config MACH_MSM8X60_DRAGON
836 depends on ARCH_MSM8X60
837 default n
838 bool "MSM8x60 DRAGON"
839 help
840 Support for the Qualcomm MSM8x60 Dragon board.
841
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700842config MACH_MSM8960_CDP
843 depends on ARCH_MSM8960
844 bool "MSM8960 CDP"
845 help
846 Support for the Qualcomm MSM8960 CDP device.
847
848config MACH_MSM8960_MTP
849 depends on ARCH_MSM8960
850 bool "MSM8960 MTP"
851 help
852 Support for the Qualcomm MSM8960 MTP device.
853
854config MACH_MSM8960_FLUID
855 depends on ARCH_MSM8960
856 bool "MSM8960 FLUID"
857 help
858 Support for the Qualcomm MSM8960 FLUID device.
859
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300860config MACH_MSM8960_LIQUID
861 depends on ARCH_MSM8960
862 bool "MSM8960 LIQUID"
863 help
864 Support for the Qualcomm MSM8960 LIQUID device.
865
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700866config MACH_MSM8930_CDP
867 depends on ARCH_MSM8930
868 bool "MSM8930 CDP"
869 help
870 Support for the Qualcomm MSM8930 CDP device.
871
872config MACH_MSM8930_MTP
873 depends on ARCH_MSM8930
874 bool "MSM8930 MTP"
875 help
876 Support for the Qualcomm MSM8930 MTP device.
877
878config MACH_MSM8930_FLUID
879 depends on ARCH_MSM8930
880 bool "MSM8930 FLUID"
881 help
882 Support for the Qualcomm MSM8930 FLUID device.
883
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800884config MACH_MSM8627_CDP
885 depends on ARCH_MSM8930
886 bool "MSM8627 CDP"
887 help
888 Support for the Qualcomm MSM8627 CDP device.
889
890config MACH_MSM8627_MTP
891 depends on ARCH_MSM8930
892 bool "MSM8627 MTP"
893 help
894 Support for the Qualcomm MSM8627 MTP device.
895
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700896config MACH_MSM9615_CDP
897 depends on ARCH_MSM9615
898 bool "MSM9615 CDP"
899 help
900 Support for the Qualcomm MSM9615 CDP device.
901
902config MACH_MSM9615_MTP
903 depends on ARCH_MSM9615
904 bool "MSM9615 MTP"
905 help
906 Support for the Qualcomm MSM9615 MTP device.
907
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700908config MSM_USE_TSIF1
909 depends on ARCH_MSM8X60
910 bool "MSM8x60 use TSIF1"
911 help
912 Selects TSIF1 core to be used rather than TSIF0.
913 The two TSIF cores share the same DM configuration
914 so they cannot be used simultaneously.
915
Joel King82b7e3f2012-01-05 10:03:27 -0800916config MACH_APQ8064_CDP
917 depends on ARCH_APQ8064
918 bool "APQ8064 CDP"
919 help
920 Support for the Qualcomm APQ8064 CDP device.
921
922config MACH_APQ8064_MTP
923 depends on ARCH_APQ8064
924 bool "APQ8064 MTP"
925 help
926 Support for the Qualcomm APQ8064 MTP device.
927
928config MACH_APQ8064_LIQUID
929 depends on ARCH_APQ8064
930 bool "APQ8064 LIQUID"
931 help
932 Support for the Qualcomm APQ8064 LIQUID device.
933
Joel King064bbf82012-04-01 13:23:39 -0700934config MACH_MPQ8064_CDP
935 depends on ARCH_APQ8064
936 bool "MPQ8064 CDP"
937 help
938 Support for the Qualcomm MPQ8064 CDP device.
939
Joel King11ca8202012-02-13 16:19:03 -0800940config MACH_MPQ8064_HRD
941 depends on ARCH_APQ8064
942 bool "MPQ8064 HRD"
943 help
944 Support for the Qualcomm MPQ8064 HRD device.
945
946config MACH_MPQ8064_DTV
947 depends on ARCH_APQ8064
948 bool "MPQ8064 DTV"
949 help
950 Support for the Qualcomm MPQ8064 DTV device.
951
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700952config MACH_FSM9XXX_SURF
953 depends on ARCH_FSM9XXX
954 depends on !MSM_STACKED_MEMORY
955 default y
956 bool "FSM9XXX SURF"
957 help
958 Support for the Qualcomm FSM9xxx femtocell
959 chipset based SURF evaluation board and
960 FFA board.
961
Daniel Walker4ad15e62010-05-06 13:54:17 -0700962endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800963
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700964config MSM_STACKED_MEMORY
965 bool "Stacked Memory"
966 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800967 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700968 This option is used to indicate the presence of on-die stacked
969 memory. When present this memory bank is used for a high speed
970 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800971
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700972config PHYS_OFFSET
973 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700974 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700975 default "0x80200000" if ARCH_APQ8064
976 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700977 default "0x80200000" if ARCH_MSM8930
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700978 default "0x00000000" if ARCH_MSM8974
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +0530979 default "0x00000000" if ARCH_MPQ8092
Syed Rameez Mustafa90f80502012-08-23 17:27:24 -0700980 default "0x00000000" if ARCH_MSM8226
Syed Rameez Mustafa02dd1a32012-10-26 11:02:26 -0700981 default "0x00000000" if ARCH_MSM8910
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700982 default "0x10000000" if ARCH_FSM9XXX
Abhimanyu Kapur20ac2ad2012-09-25 04:23:59 -0700983 default "0x00200000" if ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700984 default "0x00200000" if !MSM_STACKED_MEMORY
985 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
986 default "0x20000000" if ARCH_QSD8X50
987 default "0x40200000" if ARCH_MSM8X60
988 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800989
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700990config KERNEL_MSM_CONTIG_MEM_REGION
991 bool "Enable in-kernel contiguous memory region"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700992 default y if ARCH_MSM8X60
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700993 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700994 help
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700995 Enable the in-kernel contiguous memory allocator. Sets up a
996 region of physically contiguous memory. This memory is
997 reserved during initialization, and can be used
998 generically.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700999
1000config KERNEL_PMEM_SMI_REGION
1001 bool "Enable in-kernel PMEM region for SMI"
1002 default y if ARCH_MSM8X60
1003 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
1004 help
1005 Enable the in-kernel PMEM allocator to use SMI memory.
1006
1007config PMEM_GPU0
1008 bool "Enable PMEM GPU0 region"
1009 default y
1010 depends on ARCH_QSD8X50 && ANDROID_PMEM
1011 help
1012 Enable the PMEM GPU0 device on SMI Memory.
1013
1014config MSM_AMSS_VERSION
1015 int
1016 default 6210 if MSM_AMSS_VERSION_6210
1017 default 6220 if MSM_AMSS_VERSION_6220
1018 default 6225 if MSM_AMSS_VERSION_6225
1019
1020choice
1021 prompt "AMSS modem firmware version"
1022
1023 default MSM_AMSS_VERSION_6225
1024
1025 config MSM_AMSS_VERSION_6210
1026 bool "6.2.10"
1027
1028 config MSM_AMSS_VERSION_6220
1029 bool "6.2.20"
1030
1031 config MSM_AMSS_VERSION_6225
1032 bool "6.2.20 + New ADSP"
1033endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -08001034
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001035config MSM_HAS_DEBUG_UART_HS
Daniel Walkerbf83de42010-03-16 16:29:44 -07001036 bool
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001037 help
1038 Say Y here if high speed MSM UART is present.
1039
1040config MSM_HAS_DEBUG_UART_HS_V14
1041 bool
1042 select MSM_HAS_DEBUG_UART_HS
1043 help
1044 Say Y here if high speed MSM UART v1.4 is present.
1045
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301046config MSM_DEBUG_UART_PHYS
1047 hex
1048 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
1049 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
1050 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
1051 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
1052 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
1053 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
1054 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
1055 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
1056
Brian Swetland9e73c842007-11-26 04:12:13 -08001057choice
1058 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001059 depends on DEBUG_LL
Brian Swetland9e73c842007-11-26 04:12:13 -08001060
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001061 config DEBUG_MSM_UART1
1062 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301063 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
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 first serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001067
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001068 config DEBUG_MSM_UART2
1069 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301070 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001071 help
1072 Say Y here if you want the debug print routines to direct
1073 their output to the second serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001074
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001075 config DEBUG_MSM_UART3
1076 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301077 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001078 help
1079 Say Y here if you want the debug print routines to direct
1080 their output to the third serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001081
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001082 config DEBUG_MSM8660_UART
1083 bool "Kernel low-level debugging messages via MSM 8660 UART"
1084 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001085 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001086 help
1087 Say Y here if you want the debug print routines to direct
1088 their output to the serial port on MSM 8660 devices.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001089
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001090 config DEBUG_MSM8960_UART
1091 bool "Kernel low-level debugging messages via MSM 8960 UART"
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001092 depends on ARCH_MSM8960 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001093 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001094 help
1095 Say Y here if you want the debug print routines to direct
1096 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001097
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001098 config DEBUG_MSM8930_UART
1099 bool "Kernel low-level debugging messages via MSM 8930 UART"
1100 depends on ARCH_MSM8930 && DEBUG_LL
1101 select MSM_HAS_DEBUG_UART_HS
1102 help
1103 Say Y here if you want the debug print routines to direct
1104 their output to the serial port on MSM 8930 devices.
1105
1106 config DEBUG_APQ8064_UART
1107 bool "Kernel low-level debugging messages via APQ 8064 UART"
1108 depends on ARCH_APQ8064 && DEBUG_LL
1109 select MSM_HAS_DEBUG_UART_HS
1110 help
1111 Say Y here if you want the debug print routines to direct
1112 their output to the serial port on APQ 8064 devices.
1113
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001114 config DEBUG_MSM8974_UART
1115 bool "Kernel low-level debugging messages via MSM 8974 UART"
1116 depends on ARCH_MSM8974
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001117 select MSM_HAS_DEBUG_UART_HS_V14
1118 help
1119 Say Y here if you want the debug print routines to direct
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001120 their output to the serial port on MSM 8974 devices.
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +05301121
1122 config DEBUG_MPQ8092_UART
1123 bool "Kernel low-level debugging messages via MPQ8092 UART"
1124 depends on ARCH_MPQ8092
1125 select MSM_HAS_DEBUG_UART_HS_V14
1126 help
1127 Say Y here if you want the debug print routines to direct
1128 their output to the serial port on MPQ8092 devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001129endchoice
Brian Swetland9e73c842007-11-26 04:12:13 -08001130
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001131choice
1132 prompt "Default Timer"
1133 default MSM7X00A_USE_GP_TIMER
1134
1135 config MSM7X00A_USE_GP_TIMER
1136 bool "GP Timer"
1137 help
1138 Low resolution timer that allows power collapse from idle.
1139
1140 config MSM7X00A_USE_DG_TIMER
1141 bool "DG Timer"
1142 help
1143 High resolution timer.
1144endchoice
1145
1146choice
1147 prompt "Suspend sleep mode"
1148 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1149 help
1150 Allows overriding the sleep mode used. Leave at power
1151 collapse suspend unless the arm9 image has problems.
1152
1153 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1154 bool "Power collapse suspend"
1155 help
1156 Lowest sleep state. Returns through reset vector.
1157
1158 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1159 bool "Power collapse"
1160 help
1161 Sleep state that returns through reset vector.
1162
1163 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1164 bool "Apps Sleep"
1165
1166 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1167 bool "Ramp down cpu clock and wait for interrupt"
1168
1169 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1170 bool "Wait for interrupt"
1171endchoice
1172
1173config MSM7X00A_SLEEP_MODE
1174 int
1175 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1176 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1177 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1178 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1179 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1180
1181choice
1182 prompt "Idle sleep mode"
1183 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1184 help
1185 Allows overriding the sleep mode used from idle. Leave at power
1186 collapse suspend unless the arm9 image has problems.
1187
1188 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1189 bool "Power collapse suspend"
1190 help
1191 Lowest sleep state. Returns through reset vector.
1192
1193 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1194 bool "Power collapse"
1195 help
1196 Sleep state that returns through reset vector.
1197
1198 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1199 bool "Apps Sleep"
1200
1201 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1202 bool "Ramp down cpu clock and wait for interrupt"
1203
1204 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1205 bool "Wait for interrupt"
1206endchoice
1207
1208config MSM7X00A_IDLE_SLEEP_MODE
1209 int
1210 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1211 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1212 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1213 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1214 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1215
1216config MSM7X00A_IDLE_SLEEP_MIN_TIME
1217 int "Minimum idle time before sleep"
1218 default 20000000
1219 help
1220 Minimum idle time in nanoseconds before entering low power mode.
1221
1222config MSM7X00A_IDLE_SPIN_TIME
1223 int "Idle spin time before cpu ramp down"
1224 default 80000
1225 help
1226 Spin time in nanoseconds before ramping down cpu clock and entering
1227 any low power state.
1228
1229menuconfig MSM_IDLE_STATS
1230 bool "Collect idle statistics"
1231 default y
1232 help
1233 Collect idle statistics and export them in proc/msm_pm_stats.
1234
1235if MSM_IDLE_STATS
1236
1237config MSM_IDLE_STATS_FIRST_BUCKET
1238 int "First bucket time"
1239 default 62500
1240 help
1241 Upper time limit in nanoseconds of first bucket.
1242
1243config MSM_IDLE_STATS_BUCKET_SHIFT
1244 int "Bucket shift"
1245 default 2
1246
1247config MSM_IDLE_STATS_BUCKET_COUNT
1248 int "Bucket count"
1249 default 10
1250
1251config MSM_SUSPEND_STATS_FIRST_BUCKET
1252 int "First bucket time for suspend"
1253 default 1000000000
1254 help
1255 Upper time limit in nanoseconds of first bucket of the
1256 histogram. This is for collecting statistics on suspend.
1257
1258endif # MSM_IDLE_STATS
1259
1260config CPU_HAS_L2_PMU
1261 bool "L2CC PMU Support"
1262 help
1263 Select this if the L2 cache controller has a Performance Monitoring Unit.
1264
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001265config HTC_HEADSET
1266 tristate "HTC 2 Wire detection driver"
1267 default n
1268 help
1269 Provides support for detecting HTC 2 wire devices, such as wired
1270 headset, on the trout platform. Can be used with the msm serial
1271 debugger, but not with serial console.
1272
1273config TROUT_BATTCHG
1274 depends on MACH_TROUT && POWER_SUPPLY
1275 default y
1276 bool "Trout battery / charger driver"
1277
1278config HTC_PWRSINK
1279 depends on MSM_SMD
1280 default n
1281 bool "HTC Power Sink Driver"
1282
1283config QSD_SVS
1284 bool "QSD Static Voltage Scaling"
1285 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1286 default y
1287 select TPS65023
1288 help
1289 Enables static voltage scaling using the TPS65023 PMIC.
1290
1291config QSD_PMIC_DEFAULT_DCDC1
1292 int "PMIC default output voltage"
1293 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1294 default 1250
1295 help
1296 This is the PMIC voltage at Linux kernel boot.
1297
1298config MSM_FIQ_SUPPORT
1299 default y
1300 bool "Enable installation of an FIQ handler."
1301
1302config MSM_SERIAL_DEBUGGER
1303 select MSM_FIQ_SUPPORT
1304 select KERNEL_DEBUGGER_CORE
1305 default n
1306 bool "FIQ Mode Serial Debugger"
1307 help
1308 The FIQ serial debugger can accept commands even when the
1309 kernel is unresponsive due to being stuck with interrupts
1310 disabled. Depends on the kernel debugger core in drivers/misc.
1311
1312config MSM_SERIAL_DEBUGGER_CONSOLE
1313 depends on MSM_SERIAL_DEBUGGER
1314 default n
1315 bool "Console on FIQ Serial Debugger port"
1316 help
1317 Enables a console so that printk messages are displayed on
1318 the debugger serial port as the occur.
Brian Swetland9e73c842007-11-26 04:12:13 -08001319
Gregory Beanab78cde2010-09-01 16:26:12 -07001320config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001321 default y
1322 bool "Proc-Comm RPC Interface"
1323 help
1324 Enables a lightweight communications interface to the
1325 baseband processor.
Gregory Beanab78cde2010-09-01 16:26:12 -07001326
Gregory Bean1963a2a2010-08-28 10:05:44 -07001327config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001328 bool "MSM Shared Memory Driver (SMD)"
1329 help
1330 Support for the shared memory interface between the apps
1331 processor and the baseband processor. Provides access to
1332 the "shared heap", as well as virtual serial channels
1333 used to communicate with various services on the baseband
1334 processor.
1335
1336choice
1337 prompt "MSM Shared memory interface version"
1338 depends on MSM_SMD
1339 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1340 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1341
1342 config MSM_SMD_PKG3
1343 bool
1344 prompt "Package 3"
1345
1346 config MSM_SMD_PKG4
1347 bool
1348 prompt "Package 4"
1349endchoice
1350
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001351config MSM_PCIE
1352 bool "MSM PCIe Controller driver"
1353 depends on PCI && PCI_MSI
1354 help
1355 Enables the PCIe functionality by configures PCIe core on
1356 MSM chipset and by enabling the ARM PCI framework extension.
1357
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001358config MSM_RPC_SDIO_XPRT
1359 depends on MSM_SDIO_AL
1360 default y
1361 bool "MSM SDIO XPRT Layer"
1362 help
1363 SDIO Transport Layer for RPC Rouer
1364
1365config MSM_RPC_SDIO_DEBUG
1366 depends on MSM_RPC_SDIO_XPRT
1367 default y
1368 bool "MSM SDIO XPRT debug support"
1369 help
1370 Support for debugging SDIO XPRT
1371
1372config MSM_SMD_DEBUG
1373 depends on MSM_SMD
1374 default y
1375 bool "MSM SMD debug support"
1376 help
1377 Support for debugging the SMD for communication
1378 between the ARM9 and ARM11
1379
1380config MSM_SDIO_AL
1381 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1382 default y
1383 tristate "SDIO-Abstraction-Layer"
1384 help
1385 Support MSM<->MDM Communication over SDIO bus.
1386 MDM SDIO-Client should have pipes support.
1387
1388config MSM_SDIO_DMUX
1389 bool "SDIO Data Mux Driver"
1390 depends on MSM_SDIO_AL
1391 default n
1392 help
1393 Support Muxed Data Channels over SDIO interface.
1394
1395config MSM_BAM_DMUX
1396 bool "BAM Data Mux Driver"
1397 depends on SPS
1398 default n
1399 help
1400 Support Muxed Data Channels over BAM interface.
1401 BAM has a limited number of pipes. This driver
1402 provides a means to support more logical channels
1403 via muxing than BAM could without muxing.
1404
1405config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001406 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001407 default y
1408 bool "MSM N-WAY SMD support"
1409 help
1410 Supports APPS-QDSP SMD communication along with
1411 normal APPS-MODEM SMD communication.
1412
1413config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001414 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001415 default y
1416 bool "MSM N-WAY SMSM support"
1417 help
1418 Supports APPS-QDSP SMSM communication along with
1419 normal APPS-MODEM SMSM communication.
1420
1421config MSM_RESET_MODEM
1422 tristate "Reset Modem Driver"
1423 depends on MSM_SMD
1424 default m
1425 help
1426 Allows the user to reset the modem through a device node.
1427
1428config MSM_SMD_LOGGING
1429 depends on MSM_SMD
1430 default y
1431 bool "MSM Shared Memory Logger"
1432 help
1433 This option exposes the shared memory logger at /dev/smem_log
1434 and a debugfs node named smem_log.
1435
1436 If in doubt, say yes.
1437
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001438config MSM_IPC_LOGGING
1439 bool "MSM Debug Logging for IPC Drivers"
1440 help
1441 This option allows the debug logging for IPC Drivers.
1442
1443 If in doubt, say no.
1444
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001445config MSM_SMD_NMEA
1446 bool "NMEA GPS Driver"
1447 depends on MSM_SMD
1448 default y
1449 help
1450 Enable this to support the NMEA GPS device.
1451
1452 If in doubt, say yes.
1453
1454config MSM_SDIO_TTY
1455 bool "SDIO TTY Driver"
1456 depends on MSM_SDIO_AL
1457 default n
1458 help
1459 Provides a TTY driver SDIO TTY
1460 This driver can be used by user space
1461 applications for passing data through the
1462 SDIO interface.
1463
1464config MSM_SMD_TTY
1465 bool "SMD TTY Driver"
1466 depends on MSM_SMD
1467 default y
1468 help
1469 Provides TTY interfaces to interact with the modem.
1470
1471 If in doubt, say yes.
1472
1473config MSM_SMD_QMI
1474 bool "SMD QMI Driver"
1475 depends on MSM_SMD
1476 default y
1477 help
1478 Manages network data connections.
1479
1480 If in doubt, say yes.
1481
1482config MSM_SMD_PKT
1483 bool "SMD Packet Driver"
1484 depends on MSM_SMD
1485 default y
1486 help
1487 Provides a binary SMD non-muxed packet port interface.
1488
1489 If in doubt, say yes.
1490
1491config MSM_SDIO_CMUX
1492 bool "SDIO CMUX Driver"
1493 depends on MSM_SDIO_AL
1494 default n
1495 help
1496 Provides a Muxed port interface over SDIO QMI
1497
1498config MSM_DSPS
1499 bool "Sensors DSPS driver"
1500 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1501 default n
1502 help
1503 Provides user-space interface to the sensors manager
1504 to turn on/off the Sensors Processor system clocks.
1505 It is the DSPS responsibility to turn on/off the sensors
1506 themself.
1507 The number of clocks and their name may vary between targets.
1508 It also triggers the PIL to load the DSPS firmware.
1509
1510config MSM_SDIO_CTL
1511 bool "SDIO CTL Driver"
1512 depends on MSM_SDIO_CMUX
1513 default n
1514 help
1515 Provides a binary SDIO control port interface.
1516
1517config MSM_ONCRPCROUTER
1518 depends on MSM_SMD
1519 default n
1520 bool "MSM ONCRPC router support"
1521 help
1522 Support for the MSM ONCRPC router for communication between
1523 the ARM9 and ARM11
1524
1525config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001526 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001527 default n
1528 bool "MSM IPC Router support"
1529 help
1530 Support for the MSM IPC Router for communication between
1531 the APPs and the MODEM
1532
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001533config MSM_IPC_ROUTER_SMD_XPRT
1534 depends on MSM_SMD
1535 depends on MSM_IPC_ROUTER
1536 default n
1537 bool "MSM SMD XPRT Layer"
1538 help
1539 SMD Transport Layer for IPC Router
1540
Karthikeyan Ramasubramanianfec77ff2012-10-26 20:03:26 -06001541config MSM_QMI_INTERFACE
1542 depends on MSM_IPC_ROUTER
1543 depends on QMI_ENCDEC
1544 default n
1545 bool "MSM QMI Interface Library"
1546 help
1547 Library to send and receive QMI messages over IPC Router.
1548 This library provides interface functions to the kernel drivers
1549 to perform QMI message marshaling and transport them over IPC
1550 Router.
1551
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001552config MSM_ONCRPCROUTER_DEBUG
1553 depends on MSM_ONCRPCROUTER
1554 default y
1555 bool "MSM debug ONCRPC router support"
1556 help
1557 Support for debugging the ONCRPC router for communication
1558 between the ARM9 and ARM11
1559
1560config MSM_RPC_LOOPBACK_XPRT
1561 depends on MSM_ONCRPCROUTER
1562 default n
1563 bool "MSM RPC local routing support"
1564 help
1565 Support for routing RPC messages between APPS clients
1566 and APPS servers. Helps in testing APPS RPC framework.
1567
1568config MSM_RPCSERVER_TIME_REMOTE
1569 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1570 default y
1571 bool "Time remote RPC server"
1572 help
1573 The time remote server receives notification of time bases and
1574 reports these events to registered callback functions.
1575
1576config MSM_RPCSERVER_WATCHDOG
1577 depends on MSM_ONCRPCROUTER
1578 default y
1579 bool "Watchdog RPC server"
1580 help
1581 The dog_keepalive server handles watchdog events.
1582
1583config MSM_RPC_WATCHDOG
1584 depends on MSM_ONCRPCROUTER
1585 default n
1586 bool "Watchdog RPC client"
1587 help
1588 The dog_keepalive client module.
1589
1590config MSM_RPC_PING
1591 depends on MSM_ONCRPCROUTER && DEBUG_FS
1592 default m
1593 bool "MSM rpc ping"
1594 help
1595 Implements MSM rpc ping test module.
1596
1597config MSM_RPC_PROC_COMM_TEST
1598 depends on DEBUG_FS && MSM_PROC_COMM
1599 default m
1600 bool "MSM rpc proc comm test"
1601 help
1602 Implements MSM rpc proc comm test module.
1603
1604config MSM_RPC_OEM_RAPI
1605 depends on MSM_ONCRPCROUTER
1606 default m
1607 bool "MSM oem rapi"
1608 help
1609 Implements MSM oem rapi client module.
1610
1611config MSM_RPCSERVER_HANDSET
1612 depends on MSM_ONCRPCROUTER
1613 default y
1614 bool "Handset events RPC server"
1615 help
1616 Support for receiving handset events like headset detect,
1617 headset switch and clamshell state.
1618
1619config MSM_RMT_STORAGE_CLIENT
1620 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1621 default n
1622 bool "Remote Storage RPC client"
1623 help
1624 Provide RPC mechanism for remote processors to access storage
1625 device on apps processor.
1626
1627config MSM_RMT_STORAGE_CLIENT_STATS
1628 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1629 default n
1630 bool "Remote storage RPC client performance statistics"
1631 help
1632 Collects performance statistics and shows this information
1633 through a debugfs file rmt_storage_stats.
1634
1635config MSM_SDIO_SMEM
1636 depends on MSM_SDIO_AL
1637 default n
1638 bool "SDIO SMEM for remote storage"
1639 help
1640 Copies data from remote MDM9K memory to local MSM8x60
1641 memory. Used by remote storage client to shadow
1642 MDM9K filesystem.
1643
1644config MSM_DALRPC
1645 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001646 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001647 help
1648 Supports RPC calls to DAL devices on remote processor cores.
1649
1650config MSM_DALRPC_TEST
1651 tristate "DAL RPC test module"
1652 depends on (MSM_DALRPC && DEBUG_FS)
1653 default m
1654 help
1655 Exercises DAL RPC calls to QDSP6.
1656
1657if CPU_FREQ_MSM
1658
1659config MSM_CPU_FREQ_SET_MIN_MAX
1660 bool "Set Min/Max CPU frequencies."
1661 default n
1662 help
1663 Allow setting min and max CPU frequencies. Sysfs can be used
1664 to override these values.
1665
1666config MSM_CPU_FREQ_MAX
1667 int "Max CPU Frequency"
1668 depends on MSM_CPU_FREQ_SET_MIN_MAX
1669 default 384000
1670
1671config MSM_CPU_FREQ_MIN
1672 int "Min CPU Frequency"
1673 depends on MSM_CPU_FREQ_SET_MIN_MAX
1674 default 245760
1675
1676endif # CPU_FREQ_MSM
1677
1678config MSM_CPU_AVS
1679 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1680 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1681 depends on ARCH_QSD8X50
1682 default n
1683 select MSM_AVS_HW
1684 help
1685 This enables the s/w control of Adaptive Voltage Scaling feature
1686 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1687 based on feedback from three ring oscillators in the CPU.
1688
1689config MSM_AVS_HW
1690 bool "Enable Adaptive Voltage Scaling (AVS)"
1691 default n
1692 help
1693 Enable AVS hardware to fine tune voltage at each frequency. The
1694 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1695 fine tune the voltages based on the feedback from the ring
1696 oscillators.
1697
1698config MSM_HW3D
1699 tristate "MSM Hardware 3D Register Driver"
1700 depends on ANDROID_PMEM
1701 default y
1702 help
1703 Provides access to registers needed by the userspace OpenGL|ES
1704 library.
1705
1706config MSM_ADSP
1707 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1708 tristate "MSM ADSP driver"
1709 depends on ANDROID_PMEM
1710 default y
1711 help
1712 Provides access to registers needed by the userspace aDSP library.
1713
1714config ADSP_RPC_VER
1715 hex
1716 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1717 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1718 depends on MSM_ADSP
1719 help
1720 Select proper ADSP RPC version
1721choice
1722 prompt "ADSP RPC version"
1723
1724 default AMSS_7X25_VERSION_2009
1725
1726 config AMSS_7X25_VERSION_2009
1727 bool "2.0.09"
1728
1729 config AMSS_7X25_VERSION_2008
1730 bool "2.0.08"
1731endchoice
1732
1733config MSM7KV2_AUDIO
1734 bool "MSM7K v2 audio"
1735 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1736 default y
1737 help
1738 Enables QDSP5V2-based audio drivers for audio playbacks and
1739 voice call.
1740
1741config MSM_ADSP_REPORT_EVENTS
1742 bool "Report modem events from the DSP"
1743 default y
1744 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1745 help
1746 Normally, only messages from the aDSP are reported to userspace.
1747 With this option, we report events from the aDSP as well.
1748
1749config MSM_QDSP6
1750 tristate "QDSP6 support"
1751 depends on ARCH_QSD8X50 && ANDROID_PMEM
1752 default y
1753 help
1754 Enable support for qdsp6. This provides audio and video functionality.
1755
1756config MSM8X60_AUDIO
1757 tristate "MSM8X60 audio support"
1758 depends on ARCH_MSM8X60 && ANDROID_PMEM
1759 default y
1760 help
1761 Enable support for qdsp6v2. This provides audio functionality.
1762
1763config MSM8X60_FTM_AUDIO_DEVICES
1764 bool "MSM8X60 audio factory test mode support"
1765 depends on MSM8X60_AUDIO
1766 help
1767 Enable support audio factory test mode devices. This is used
1768 in a production line environment.
1769
Ben Romberger45b351c2011-07-20 22:37:27 -07001770config RTAC
1771 bool "MSM8K real-time audio calibration support"
1772 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001773 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001774 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001775 audio operation
1776
1777config MSM7X27A_AUDIO
1778 bool "MSM7X27A audio support"
1779 depends on ARCH_MSM7X27A && MSM_ADSP
1780 default n
1781 help
1782 Enable support for 7x27a. This provides audio functionality.
1783
Justin Pauporea6cd2092011-06-22 16:19:45 -07001784config MSM_PROC_COMM_REGULATOR
Gregory Bean1963a2a2010-08-28 10:05:44 -07001785 bool
Justin Pauporea6cd2092011-06-22 16:19:45 -07001786 depends on MSM_PROC_COMM && REGULATOR
1787 help
1788 Enable regulator framework support for regulators managed by PMLIB
1789 on the modem, and controlled through proccomm calls.
1790
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001791config MSM_VREG_SWITCH_INVERTED
1792 bool "Reverse vreg switch polarity"
1793 default n
1794 help
1795 Reverses the enable and disable for vreg switch.
1796
1797config MSM_DMA_TEST
1798 tristate "MSM DMA test module"
1799 default m
1800 help
1801 Intended to be compiled as a module. Provides a device node
1802 and ioctls for testing the MSM dma system.
1803
1804config WIFI_CONTROL_FUNC
1805 bool "Enable WiFi control function abstraction"
1806 help
1807 Enables Power/Reset/Carddetect function abstraction
1808
1809config WIFI_MEM_PREALLOC
1810 depends on WIFI_CONTROL_FUNC
1811 bool "Preallocate memory for WiFi buffers"
1812 help
1813 Preallocates memory buffers for WiFi driver
1814
1815config QSD_AUDIO
1816 bool "QSD audio"
1817 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1818 default y
1819 help
1820 Provides PCM, MP3, and AAC audio playback.
1821
1822config AUDIO_AAC_PLUS
1823 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1824 bool "AAC+ Audio"
1825 default y
1826 help
1827 Provides AAC+ decoding
1828
1829config AUDIO_ENHANCED_AAC_PLUS
1830 depends on AUDIO_AAC_PLUS
1831 bool "Enhanced AAC+ Audio"
1832 default y
1833 help
1834 Provides Enhanced AAC+ decoding
1835
1836config SURF_FFA_GPIO_KEYPAD
1837 bool "MSM SURF/FFA GPIO keypad"
1838 depends on INPUT_GPIO = "y"
1839 default y
1840 help
1841 Select if the GPIO keypad is attached.
1842
1843config MSM_SLEEP_TIME_OVERRIDE
1844 bool "Allow overriding suspend/sleep time with PM module parameter"
1845 default y
1846 help
1847 Enable the module parameter sleep_time_override. Specified
1848 in units of seconds, it overwrites the normal sleep time of
1849 suspend. The feature is required for automated power management
1850 testing.
1851
1852config MSM_MEMORY_LOW_POWER_MODE
1853 bool "Control the low power modes of memory"
1854 default n
1855 help
1856 The application processor controls whether memory should enter
1857 which low power mode.
1858
1859choice
1860 prompt "Default Memory Low Power Mode during Idle"
1861 depends on MSM_MEMORY_LOW_POWER_MODE
1862 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1863 help
1864 Selects the default low power mode of the memory during idle
1865 sleep.
1866
1867 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1868 bool "Memory active"
1869
1870 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1871 bool "Memory in retention"
1872
1873 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1874 bool "Memory in deep power down"
1875endchoice
1876
1877choice
1878 prompt "Default Memory Low Power Mode during Suspend"
1879 depends on MSM_MEMORY_LOW_POWER_MODE
1880 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1881 help
1882 Selects the default low power mode of the memory during suspend
1883 sleep.
1884
1885 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1886 bool "Memory active"
1887
1888 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1889 bool "Memory in retention"
1890
1891 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1892 bool "Memory in deep power down"
1893endchoice
1894
1895choice
1896 prompt "Power management timeout action"
1897 default MSM_PM_TIMEOUT_HALT
1898 help
1899 Selects the Application Processor's action when Power Management
1900 times out waiting for Modem's handshake.
1901
1902 config MSM_PM_TIMEOUT_HALT
1903 bool "Halt the Application Processor"
1904
1905 config MSM_PM_TIMEOUT_RESET_MODEM
1906 bool "Reset the Modem Processor"
1907
1908 config MSM_PM_TIMEOUT_RESET_CHIP
1909 bool "Reset the entire chip"
1910endchoice
1911
1912config MSM_IDLE_WAIT_ON_MODEM
1913 int "Wait for Modem to become ready for idle power collapse"
1914 default 0
1915 help
1916 If Modem is not ready to handle Application Processor's request
1917 for idle power collapse, wait the number of microseconds in case
1918 Modem becomes ready soon.
1919
Matt Wagantall9274df92011-12-15 11:11:05 -08001920config MSM_RPM_REGULATOR
1921 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001922 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001923 help
1924 Compile in support for the RPM regulator driver, used for setting
1925 voltages and other parameters of the various power rails supplied
1926 by some Qualcomm PMICs.
1927
David Collinsc7642322012-04-04 10:19:12 -07001928config MSM_RPM_REGULATOR_SMD
1929 bool "SMD RPM regulator driver"
1930 depends on REGULATOR
1931 depends on OF
1932 depends on MSM_RPM_SMD
1933 help
1934 Compile in support for the SMD RPM regulator driver which is used for
1935 setting voltages and other parameters of the various power rails
1936 supplied by some Qualcomm PMICs. The SMD RPM regulator driver should
1937 be used on systems which contain an RPM which communicates with the
1938 application processor over SMD.
1939
Stephen Boyd01710582012-07-09 13:40:05 -07001940config MSM_SUBSYSTEM_RESTART
1941 bool "MSM Subsystem Restart"
1942 help
1943 This option enables the MSM subsystem restart framework.
1944
1945 The MSM subsystem restart framework provides support to boot,
1946 shutdown, and restart subsystems with a reference counted API.
1947 It also notifies userspace of transitions between these states via
1948 sysfs.
1949
1950config MSM_SYSMON_COMM
1951 bool "MSM System Monitor communication support"
1952 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1953 help
1954 This option adds support for MSM System Monitor library, which
1955 provides an API that may be used for notifying subsystems within
1956 the SoC about other subsystems' power-up/down state-changes.
1957
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001958config MSM_PIL
1959 bool "Peripheral image loading"
1960 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001961 default n
1962 help
1963 Some peripherals need to be loaded into memory before they can be
1964 brought out of reset.
1965
1966 Say yes to support these devices.
1967
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001968config MSM_PIL_MODEM
1969 tristate "Modem (ARM11) Boot Support"
Stephen Boyd3ac20732012-05-03 18:46:08 -07001970 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001971 help
1972 Support for booting and shutting down ARM11 Modem processors.
1973
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001974config MSM_PIL_QDSP6V3
1975 tristate "QDSP6v3 (Hexagon) Boot Support"
Stephen Boyd2e19d932012-05-09 17:36:04 -07001976 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001977 help
1978 Support for booting and shutting down QDSP6v3 processors (hexagon).
1979 The QDSP6 is a low power DSP used in audio software applications.
1980
Stephen Boydbdb53f32012-06-05 18:39:47 -07001981config MSM_PIL_LPASS_QDSP6V4
1982 tristate "LPASS QDSP6v4 (Hexagon) Boot Support"
Stephen Boyda1cf76b2012-06-13 12:05:35 -07001983 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydeb819882011-08-29 14:46:30 -07001984 help
Stephen Boydbdb53f32012-06-05 18:39:47 -07001985 Support for booting and shutting down QDSP6v4 processors (hexagon)
1986 in low power audio subsystems. If you would like to record or
1987 play audio then say Y here.
1988
1989 If unsure, say N.
1990
1991config MSM_PIL_MODEM_QDSP6V4
1992 tristate "Modem QDSP6v4 (Hexagon) Boot Support"
Stephen Boyd2efa9962012-06-12 14:20:12 -07001993 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydbdb53f32012-06-05 18:39:47 -07001994 help
1995 Support for booting and shutting down QDSP6v4 processors (hexagon)
1996 in modem subsystems. If you would like to make or receive phone
1997 calls then say Y here.
1998
1999 If unsure, say N.
Stephen Boydeb819882011-08-29 14:46:30 -07002000
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07002001config MSM_PIL_LPASS_QDSP6V5
Stephen Boyd633eb622012-06-13 12:05:35 -07002002 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
2003 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
2004 help
2005 Support for booting and shutting down QDSP6v5 (Hexagon) processors
2006 in low power audio subsystems. This driver also monitors the ADSP
2007 SMSM status bits and the ADSP's watchdog interrupt and restarts the
2008 ADSP if the processor encounters a fatal error.
Matt Wagantall4e2599e2012-03-21 22:31:35 -07002009
2010config MSM_PIL_MSS_QDSP6V5
Stephen Boyd3da4fd02012-07-06 10:00:12 -07002011 tristate "MSS QDSP6v5 (Hexagon) Boot Support"
2012 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantalle6e00d52012-03-08 17:39:07 -08002013 help
Stephen Boyd3da4fd02012-07-06 10:00:12 -07002014 Support for booting and shutting down QDSP6v5 (Hexagon) processors
2015 in modem subsystems. If you would like to make or receive phone
2016 calls then say Y here.
2017
2018 If unsure, say N.
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07002019
Stephen Boyd322a9922011-09-20 01:05:54 -07002020config MSM_PIL_RIVA
2021 tristate "RIVA (WCNSS) Boot Support"
Stephen Boydfdec00d2012-05-10 17:04:49 -07002022 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd322a9922011-09-20 01:05:54 -07002023 help
2024 Support for booting and shutting down the RIVA processor (WCNSS).
2025 Riva is the wireless subsystem processor used in bluetooth, wireless
2026 LAN, and FM software applications.
2027
Stephen Boydd89eebe2011-09-28 23:28:11 -07002028config MSM_PIL_TZAPPS
2029 tristate "TZApps Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002030 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boydd89eebe2011-09-28 23:28:11 -07002031 help
2032 Support for booting and shutting down TZApps.
2033
2034 TZApps is an image that runs in the secure processor state. It is
2035 used to decrypt data and perform secure operations on the behalf of
2036 the kernel.
2037
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07002038config MSM_PIL_DSPS
2039 tristate "DSPS Boot Support"
Stephen Boydf169b4b2012-05-10 17:55:55 -07002040 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07002041 help
2042 Support for booting and shutting down ARM7 DSPS processors.
2043
2044 DSPS is a sensors offloading processor used for applications such
2045 as rotation detection, temperature, etc.
2046
Stephen Boyd7b973de2012-03-09 12:26:16 -08002047config MSM_PIL_VIDC
2048 tristate "Video Core Secure Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002049 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd7b973de2012-03-09 12:26:16 -08002050 help
2051 Support for authenticating the video core image.
2052
Tianyi Gou828798d2012-05-02 21:12:38 -07002053config MSM_PIL_VENUS
2054 tristate "VENUS (Video) Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002055 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Tianyi Gou828798d2012-05-02 21:12:38 -07002056 help
2057 Support for booting and shutting down the VENUS processor (Video).
2058 Venus is the Video subsystem processor used for video codecs.
2059
Matt Wagantall292aace2012-01-26 19:12:34 -08002060config MSM_PIL_GSS
Stephen Boydd86214b2012-05-10 15:26:35 -07002061 tristate "GSS (Cortex A5) Boot Support"
2062 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantall292aace2012-01-26 19:12:34 -08002063 help
2064 Support for booting and shutting down Cortex A5 processors which run
2065 GPS subsystem firmware.
2066
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002067config MSM_PIL_PRONTO
2068 tristate "PRONTO (WCNSS) Boot Support"
Stephen Boyd581fe852012-06-13 12:05:35 -07002069 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002070 help
2071 Support for booting and shutting down the PRONTO processor (WCNSS).
2072 PRONTO is the wireless subsystem processor used in bluetooth, wireless
2073 LAN, and FM software applications.
2074
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002075config MSM_SCM
2076 bool "Secure Channel Manager (SCM) support"
2077 default n
2078
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002079config SCORPION_Uni_45nm_BUG
2080 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
2081 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
2082 default y
2083 help
2084 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
2085 invalidating the Branch Predictor Array by Modified Virtual Address can
2086 create invalid entries in the TLB with the wrong ASID values on Scorpion
2087 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
2088 workaround for Scorpion Uniprocessor 45nm cores.
2089
2090 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
2091
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002092config MSM_BUSPM_DEV
2093 tristate "MSM Bus Performance Monitor Kernel Module"
2094 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
2095 default m
2096 help
2097 This kernel module is used to mmap() hardware registers for the
2098 performance monitors, counters, etc. The module can also be used to
2099 allocate physical memory which is used by bus performance hardware to
2100 dump performance data.
2101
Mona Hossain11c03ac2011-10-26 12:42:10 -07002102config MSM_TZ_LOG
2103 tristate "MSM Trust Zone (TZ) Log Driver"
2104 depends on DEBUG_FS
2105 help
2106 This option enables a driver with a debugfs interface for messages
2107 produced by the Secure code (Trust zone). These messages provide
2108 diagnostic information about TZ operation.
2109
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002110config MSM_RPM_LOG
2111 tristate "MSM Resource Power Manager Log Driver"
2112 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002113 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002114 default n
2115 help
2116 This option enables a driver which can read from a circular buffer
2117 of messages produced by the RPM. These messages provide diagnostic
2118 information about RPM operation. The driver outputs the messages
2119 via a debugfs node.
2120
2121config MSM_RPM_STATS_LOG
2122 tristate "MSM Resource Power Manager Stat Driver"
2123 depends on DEBUG_FS
Priyanka Mathur1af9d4b2012-10-30 14:55:44 -07002124 depends on MSM_RPM || MSM_RPM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002125 default n
2126 help
2127 This option enables a driver which reads RPM messages from a shared
2128 memory location. These messages provide statistical information about
2129 the low power modes that RPM enters. The drivers outputs the message
2130 via a debugfs node.
2131
Girish Mahadevan898c56d2012-06-05 16:09:19 -06002132config MSM_RPM_RBCPR_STATS_LOG
2133 tristate "MSM Resource Power Manager RPBCPR Stat Driver"
2134 depends on DEBUG_FS
2135 depends on MSM_RPM
2136 help
2137 This option enables a driver which reads RPM messages from a shared
2138 memory location. These messages provide statistical information about
2139 RBCPR (Rapid Bridge Core Power Reduction) information . The drivers
2140 outputs the message via a debugfs node.
2141
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002142config MSM_DIRECT_SCLK_ACCESS
2143 bool "Direct access to the SCLK timer"
2144 default n
2145
2146config IOMMU_API
2147 bool
Gregory Bean1963a2a2010-08-28 10:05:44 -07002148
Brian Swetland9e73c842007-11-26 04:12:13 -08002149config MSM_GPIOMUX
2150 bool
2151
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002152config MSM_SECURE_IO
Brian Swetland9e73c842007-11-26 04:12:13 -08002153 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002154
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002155config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002156 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002157
Taniya Dascd1d0232012-07-03 17:50:47 +05302158config MSM_MODEM_RESTART
2159 bool
2160
Matt Wagantall88b86312012-01-31 16:53:03 -08002161config MSM_PM2
2162 depends on PM
2163 bool
2164
2165config MSM_PM8X60
2166 depends on PM
2167 bool
2168
Girish Mahadevan388c3082012-09-10 15:30:36 -06002169config MSM_EVENT_TIMER
2170 bool "Event timer"
2171 help
2172 This option enables a modules that manages a list of event timers that
2173 need to be monitored by the PM. The enables the PM code to monitor
2174 events that require the core to be awake and ready to handle the
2175 event.
2176
Matt Wagantall88b86312012-01-31 16:53:03 -08002177config MSM_NOPM
2178 default y if !PM
2179 bool
2180
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002181config MSM_BUS_SCALING
2182 bool "Bus scaling driver"
2183 default n
2184
Gagan Mac85c70492011-06-10 16:07:47 -06002185config MSM_BUS_RPM_MULTI_TIER_ENABLED
2186 bool "RPM Multi-tiering Configuration"
2187 depends on MSM_BUS_SCALING
2188
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002189config MSM_WATCHDOG
2190 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002191 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002192 help
2193 This enables the watchdog as is present on 8x60. Currently we use
2194 core 0's watchdog, and reset the entire SoC if it times out. It does
2195 not run during the bootup process, so it will not catch any early
2196 lockups.
2197
Hanumant Singhd1f01022012-07-05 14:21:53 -07002198config MSM_WATCHDOG_V2
2199 bool "MSM Watchdog Support"
2200 help
2201 This enables the watchdog module. It causes kernel panic if the
2202 watchdog times out. It allows for detection of cpu hangs and
2203 deadlocks. It does not run during the bootup process, so it will
2204 not catch any early lockups.
2205
Hanumant Singh5e2541c2012-07-31 14:41:14 -07002206config MSM_MEMORY_DUMP
2207 bool "MSM Memory Dump Support"
2208 help
2209 This enables memory dump feature. It allows various client
2210 subsystems to register respective dump regions. At the time
2211 of deadlocks or cpu hangs these dump regions are captured to
2212 give a snapshot of the system at the time of the crash.
2213
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002214config MSM_DLOAD_MODE
2215 bool "Enable download mode on crashes"
Abhimanyu Kapurdd7f2692012-10-22 13:43:52 -07002216 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_MSM8974 || ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002217 default n
2218 help
2219 This makes the SoC enter download mode when it resets
2220 due to a kernel panic. Note that this doesn't by itself
2221 make the kernel reboot on a kernel panic - that must be
2222 enabled via another mechanism.
2223
Pratik Patel17f3b822011-11-21 12:41:47 -08002224config MSM_JTAG
Pratik Patel2963de42012-05-17 12:43:40 -07002225 bool "JTAG and kernel debug and trace support across power collapse"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002226 help
Pratik Patel2963de42012-05-17 12:43:40 -07002227 Enables support for kernel debugging (specifically breakpoints) and
2228 processor tracing across power collapse both for JTag and OS hosted
2229 software running on the target. Enabling this will ensure debug
2230 and ETM registers are saved and restored across power collapse.
2231
2232 For production builds, you should probably say 'N' here to avoid
2233 potential power, performance and memory penalty.
Pratik Patel7831c082011-06-08 21:44:37 -07002234
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002235config MSM_ETM
2236 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002237 depends on ARCH_MSM8X60
2238 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002239 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002240 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002241
Lynus Vazdde09ee2012-01-05 13:28:22 +05302242config MSM_SLEEP_STATS_DEVICE
2243 bool "Enable exporting of MSM sleep device stats to userspace"
2244
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302245config MSM_RUN_QUEUE_STATS
2246 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Krishna Vankae2922052012-03-02 09:59:12 +05302247 depends on (MSM_SOC_REV_A || ARCH_MSM8X60 || ARCH_MSM8960)
2248 help
2249 This option enalbes statistics collection on Run Queue. A daemon
2250 in user mode, called MPDecision will be using this data to decide
2251 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302252
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002253config MSM_STANDALONE_POWER_COLLAPSE
2254 bool "Enable standalone power collapse"
2255 default n
2256
2257config MSM_GSBI9_UART
2258 bool "Enable GSBI9 UART device"
2259 default n
2260 help
2261 This enables GSBI9 configured into UART.
2262
2263config MSM_SHARED_GPIO_FOR_UART2DM
2264 bool "Use shared GPIOs into UART mode"
2265 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2266 help
2267 This option configures GPIO muxed with SDC4/MMC3
2268 8-bit mode into UART mode. It is used for serial
2269 console on UART2DM. Say Y if you want to have
2270 serial console on UART2DM.
2271
2272config MSM_SHOW_RESUME_IRQ
2273 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002274 depends on (ARM_GIC || PMIC8058)
2275 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002276 default n
2277 help
2278 This option logs wake up interrupts that have triggered just before
2279 the resume loop unrolls. Say Y if you want to debug why the system
2280 resumed.
2281
2282config BT_MSM_PINTEST
2283 tristate "MSM Bluetooth Pin Connectivity Test"
2284 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2285 default n
2286 help
2287 Bluetooth MSM Pin Connectivity test module.
2288 This driver provides support for verifying the MSM to BT pin
2289 connectivity.
2290
2291config MSM_FAKE_BATTERY
2292 depends on POWER_SUPPLY
2293 default n
2294 bool "MSM Fake Battery"
2295 help
2296 Enables MSM fake battery driver.
2297
2298config MSM_QDSP6_APR
2299 bool "Audio QDSP6 APR support"
2300 depends on MSM_SMD
2301 default n
2302 help
2303 Enable APR IPC protocol support between
2304 application processor and QDSP6. APR is
2305 used by audio driver to configure QDSP6's
2306 ASM, ADM and AFE.
2307
Joonwoo Park91d95462012-08-02 10:55:54 -07002308config MSM_QDSP6_APRV2
2309 bool "Audio QDSP6 APRv2 support"
2310 depends on MSM_SMD
2311 default n
2312 help
2313 Enable APRv2 IPC protocol support between
2314 application processor and QDSP6. APR is
2315 used by audio driver to configure QDSP6's
2316 ASM, ADM and AFE.
2317
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -07002318config MSM_QDSP6_CODECS
2319 bool "Audio Codecs on QDSP6 APR "
2320 depends on MSM_SMD
2321 default n
2322 help
2323 Enable Audio codecs with APR IPC protocol support between
2324 application processor and QDSP6. APR is
2325 used by audio driver to configure QDSP6's
2326 ASM, ADM and AFE.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002327
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002328config MSM_QDSP6V2_CODECS
2329 bool "Audio QDSP6V2 APR support"
2330 depends on MSM_SMD
2331 help
2332 Enable Audio codecs with APR IPC protocol support between
2333 application processor and QDSP6 for B-family. APR is
2334 used by audio driver to configure QDSP6's
2335 ASM, ADM and AFE.
2336
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002337config MSM_AUDIO_QDSP6
2338 bool "QDSP6 HW Audio support"
2339 select SND_SOC_MSM_QDSP6_INTF
2340 default n
2341 help
2342 Enable HW audio support in QDSP6.
2343 QDSP6 can support HW encoder & decoder and audio processing
2344
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002345config MSM_AUDIO_QDSP6V2
2346 bool "QDSP6V2 HW Audio support"
2347 select SND_SOC_MSM_QDSP6V2_INTF
2348 help
2349 Enable HW audio support in QDSP6V2.
2350 QDSP6V2 can support HW encoder & decoder and
2351 audio processing. It will enable support for
2352 AAC, AMRNB, AMRWB, EVRC, MP3, QCELP among
2353 others.
2354
Joonwoo Park4a14a552012-08-02 11:03:21 -07002355config MSM_ADSP_LOADER
2356 tristate "ADSP loader support"
2357 select SND_SOC_MSM_APRV2_INTF
2358 depends on MSM_AUDIO_QDSP6V2 && m
2359 help
2360 Enable ADSP image loader.
2361 The ADSP loader brings ADSP out of reset
2362 for the platforms that use APRv2.
2363 Say M if you want to enable this module.
2364
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +02002365config MSM_ULTRASOUND_A
2366 bool "QDSP6 HW Ultrasound support"
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002367 help
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +02002368 Enable HW ultrasound support in QDSP6.
2369 QDSP6 can support HW encoder & decoder and
2370 ultrasound processing. It will enable
2371 ultrasound data paths between
2372 HW and services, calculating input events
2373 upon the ultrasound data.
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002374
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002375config MSM_RPC_VIBRATOR
2376 bool "RPC based MSM Vibrator Support"
2377 depends on MSM_ONCRPCROUTER
2378 help
2379 Enable the vibrator support on MSM over RPC. The vibrator
2380 is connected on the PMIC. Say Y if you want to enable this
2381 feature.
2382
2383config PM8XXX_RPC_VIBRATOR
2384 bool "RPC based Vibrator on PM8xxx PMICs"
2385 depends on MSM_RPC_VIBRATOR
2386 help
2387 Enable the vibrator support on MSM over RPC. The vibrator
2388 is connected on the PM8XXX PMIC. Say Y if you want to enable
2389 this feature.
2390
2391config MSM_SPM_V1
2392 bool "Driver support for SPM Version 1"
2393 help
2394 Enables the support for Version 1 of the SPM driver. SPM hardware is
2395 used to manage the processor power during sleep. The driver allows
2396 configuring SPM to allow different power modes.
2397
2398config MSM_SPM_V2
2399 bool "Driver support for SPM Version 2"
2400 help
2401 Enables the support for Version 2 of the SPM driver. SPM hardware is
2402 used to manage the processor power during sleep. The driver allows
2403 configuring SPM to allow different power modes.
2404
2405config MSM_L2_SPM
2406 bool "SPM support for L2 cache"
2407 depends on MSM_SPM_V2
2408 help
2409 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2410 control of L2 cache low power mode with a Subsystem Power manager.
2411 Enabling this driver allows configuring L2 SPM for low power modes
2412 on supported chipsets.
2413
Laura Abbott2d1760b2011-09-29 21:31:24 -07002414config MSM_MULTIMEDIA_USE_ION
2415 bool "Multimedia suport using Ion"
2416 depends on ION_MSM
2417 help
2418 Enable support for multimedia drivers using Ion for buffer management
2419 instead of pmem. Selecting this may also involve userspace
2420 dependencies as well.
2421
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002422config MSM_OCMEM
2423 bool "MSM On-Chip memory driver (OCMEM)"
2424 help
2425 Enable support for On-Chip Memory available on certain MSM chipsets.
2426 OCMEM is a low latency, high performance pool shared by subsystems.
2427
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002428config MSM_OCMEM_LOCAL_POWER_CTRL
2429 bool "OCMEM Local Power Control"
2430 depends on MSM_OCMEM
2431 help
2432 Enable direct power management of the OCMEM core by the
2433 OCMEM driver. By default power management is delegated to
2434 the RPM. Selecting this option causes the OCMEM driver to
2435 directly handle the various macro power transitions.
2436
2437config MSM_OCMEM_DEBUG
2438 bool "OCMEM Debug Support"
2439 depends on MSM_OCMEM
2440 help
2441 Enable debug options for On-chip Memory (OCMEM) driver.
2442 Various debug options include memory, power and latency.
2443 Choosing one of these options allows debugging of each
2444 individual subsystem separately.
2445
Naveen Ramarajc71b2de2012-08-20 12:35:52 -07002446config MSM_OCMEM_NONSECURE
2447 bool "OCMEM Non Secure Mode"
2448 depends on MSM_OCMEM_DEBUG
2449 help
2450 Disable OCMEM interaction with secure processor.
2451 By default OCMEM is secured and accesses for each master
2452 is requested by the OCMEM driver. Selecting this option
2453 causes the OCMEM memory to be in non-secure state unless
2454 its locked down by the secure processor.
2455
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002456config MSM_OCMEM_POWER_DEBUG
2457 bool "OCMEM Power Debug Support"
2458 depends on MSM_OCMEM_DEBUG
2459 help
2460 Enable debug support for OCMEM power management.
2461 This adds support for verifying all power management
2462 related operations of OCMEM. Both local power management
2463 and RPM assisted power management operations are supported.
2464
Naveen Ramaraj4b1d9392012-08-06 21:05:14 -07002465config MSM_OCMEM_POWER_DISABLE
2466 bool "OCMEM Disable Power Control"
2467 depends on MSM_OCMEM_DEBUG
2468 help
2469 Disable all OCMEM power management.
2470 This keeps all OCMEM macros turned ON at all times thus
2471 never allowing them to be turned OFF. Both local power
2472 management and RPM assisted power modes are supported.
2473
Laura Abbottad340ff2012-01-04 14:23:48 -08002474config MSM_RTB
2475 bool "Register tracing"
2476 help
2477 Add support for logging different events to a small uncached
2478 region. This is designed to aid in debugging reset cases where the
2479 caches may not be flushed before the target resets.
2480
2481config MSM_RTB_SEPARATE_CPUS
2482 bool "Separate entries for each cpu"
2483 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002484 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002485 help
2486 Under some circumstances, it may be beneficial to give dedicated space
2487 for each cpu to log accesses. Selecting this option will log each cpu
2488 separately. This will guarantee that the last acesses for each cpu
2489 will be logged but there will be fewer entries per cpu
2490
Stepan Moskovchenko57884842012-06-07 17:35:49 -07002491config MSM_EBI_ERP
2492 bool "External Bus Interface (EBI) error reporting"
2493 help
2494 Say 'Y' here to enable reporting of external bus interface errors to
2495 the kernel log. Information such as the offending address and
2496 transaction type will be logged. This may be useful for debugging
2497 seemingly broken memory accesses.
2498
2499 For production builds, you should probably say 'N' here.
2500
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002501config MSM_CACHE_ERP
2502 bool "Cache / CPU error reporting"
2503 depends on ARCH_MSM_KRAIT
2504 help
2505 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2506 log. Enabling this feature can be used as a system debugging technique
2507 if cache corruption is suspected. Cache error statistics will also be
2508 reported in /proc/cpu/msm_cache_erp.
2509
2510 For production builds, you should probably say 'N' here.
2511
2512config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002513 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002514 depends on MSM_CACHE_ERP
2515 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002516 To cause the kernel to panic whenever an L1 cache error is detected, say
2517 'Y' here. This may be useful as a debugging technique if general system
2518 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002519
2520 For production builds, you should probably say 'N' here.
2521
Stepan Moskovchenko7035f652012-05-31 17:48:01 -07002522config MSM_L1_ERR_LOG
2523 bool "Log CPU ERP events to system memory"
2524 depends on MSM_CACHE_ERP
2525 help
2526 Enable logging CPU ERP events to an area of memory that will be
2527 preserved across a system reset. This may be useful for detecting and
2528 troubleshooting ERP-related system crashes in the field.
2529
2530 For production builds, you may want to say 'Y' here.
2531
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002532config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2533 bool "Report L2 master port slave/decode errors in kernel log"
2534 depends on MSM_CACHE_ERP
2535 help
2536 Master port errors can occur when a memory request is not properly
2537 handled by the destination slave. This can occur if the destination
2538 register does not exist or is inaccessible due to security
2539 restrictions or (in some cases) clock configuration. Enabling this
2540 option will cause a backtrace to be printed to the kernel log whenever
2541 such an error is encountered. Note that the error is reported as an
2542 interrupt rather than as an exception, meaning that the backtrace may
2543 have some skid. This option may help with debugging, though production
2544 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002545
2546config MSM_L2_ERP_PORT_PANIC
2547 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002548 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002549 help
2550 Master port errors can occur when a memory request is not properly
2551 handled by the destination slave. Enable this option to catch drivers
2552 which attempt to access bad areas of the address space, or access
2553 hardware registers in an improper state (such as certain clocks not
2554 being on). This option may help with debugging, though production
2555 builds should probably say 'N' here.
2556
2557config MSM_L2_ERP_1BIT_PANIC
2558 bool "Panic on recoverable L2 soft errors"
2559 depends on MSM_CACHE_ERP
2560 help
2561 Enable this option to cause a kernel panic whenever the L2 cache
2562 encounters a single-bit (correctable) soft error. This option should
2563 only be enabled when doing low-level debugging where cache corruption
2564 is suspected.
2565
2566 For production builds, you should definitely say 'N' here.
2567
2568config MSM_L2_ERP_2BIT_PANIC
2569 bool "Panic on unrecoverable L2 soft errors"
2570 depends on MSM_CACHE_ERP
2571 help
2572 Enable this option to cause a kernel panic whenever the L2 cache
2573 encounters a double-bit (non-correctable) soft error. Debug builds
2574 will likely benefit from having this option enabled to catch cache
2575 problems as soon as possible.
2576
2577 For production builds, it may be acceptable to say 'N' here, since
2578 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002579
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002580config MSM_DCVS
2581 bool "Use MSM DCVS for CPU/GPU Frequency control"
2582 depends on MSM_SCM
2583 help
2584 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2585 The DCVS manager allows idle driver to feed the idle information to the
2586 algorithm and the algorithm returns a frequency for the core which is
2587 passed to the frequency change driver.
2588
Pankaj Kumar32ce1ea2012-04-04 20:29:29 +05302589config MSM_CPR
2590 tristate "Use MSM CPR in S/W mode"
2591 help
2592 Enable CPR (core power reduction) in S/W mode, where the processor
2593 get's the notification from CPR block and programs the PMIC.
2594
2595config MSM_VP_REGULATOR
2596 tristate "Use MSM PMIC8029 C2 regulator"
2597 depends on ARCH_MSM8625
2598 help
2599 Enable MSM PMIC8029 C2 regulator support using APC_PLEVEL access
2600 for MSMs like 8625.
2601
Taniya Dasc43e6872012-03-21 16:41:14 +05302602config HAVE_ARCH_HAS_CURRENT_TIMER
2603 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002604
2605config MSM_CACHE_DUMP
2606 bool "Cache dumping support"
2607 help
2608 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2609 This allows for analysis of the caches in case cache corruption is
2610 suspected.
2611
Laura Abbott7b637362012-03-29 16:43:49 -07002612config MSM_CACHE_DUMP_ON_PANIC
2613 bool "Dump caches on panic"
2614 depends on MSM_CACHE_DUMP
2615 help
2616 By default, the caches are flushed on panic. This means that trying to
2617 look at them in a RAM dump will give useless data. Select this if you
2618 want to dump the L1 and L2 caches on panic before any flush occurs.
2619 If unsure, say N
2620
Jack Phamccbbfab2012-04-09 19:50:20 -07002621config MSM_HSIC_SYSMON
2622 tristate "MSM HSIC system monitor driver"
2623 depends on USB
2624 help
2625 Add support for bridging with the system monitor interface of MDM
2626 over HSIC. This driver allows the local system monitor to
2627 communicate with the remote system monitor interface.
2628
2629config MSM_HSIC_SYSMON_TEST
2630 tristate "MSM HSIC system monitor bridge test"
2631 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2632 help
2633 Enable the test hook for the Qualcomm system monitor HSIC driver.
2634 This will create a debugfs file entry named "hsic_sysmon_test" which
2635 can be read and written to send character data to the sysmon port of
2636 the modem over USB.
2637
Anirudh Ghayal0d2291a2012-09-20 21:31:41 +05302638config MSM_RPC_PMIC
2639 tristate "MSM RPC PMIC driver"
2640 depends on MSM_ONCRPCROUTER
2641 help
2642 This driver supports the PMIC functionality over RPC for those MSM's
2643 which do not have a direct access to PMIC. It supports ability to
2644 configure MPP, GPIO and all the other supported peripherals of the
2645 PMIC.
2646
Anirudh Ghayald3a63732012-09-20 22:13:13 +05302647config MSM_RPC_USB
2648 tristate "MSM RPC USB driver"
2649 depends on MSM_ONCRPCROUTER
2650 help
2651 This driver supports the USB configuration support over the RPC
2652 interface. It support the HS USB module connected to the MSM
2653 and FS USB which is connected over the PMIC. This support is
2654 required for MSMs on which the APPS does not have a direct access
2655 to the PMIC.
2656
2657config MSM_RPC_PMAPP
2658 tristate "MSM RPC PMIC APP driver"
2659 depends on MSM_ONCRPCROUTER
2660 help
2661 This driver supports the configuration of various PMIC APP modules
2662 such as display backlight, vreg pin-ctrl, smps clock over the RPC
2663 interface. This support is required for MSMs on which the APPS
2664 does not have a direct access to the PMIC.
Pushkar Joshi0fc73462012-09-26 17:59:31 -07002665
2666config MSM_ENABLE_WDOG_DEBUG_CONTROL
2667 bool "MSM Watchdog driver to disable debug Image"
2668 help
2669 This driver supports the configuration of the GCC_WDOG_DEBUG register
2670 used to control debug image.
2671 This support is currently required for MSM8974 to disable debug image
2672 on PS HOLD reset
Taniya Dasea4263f92012-08-22 18:52:51 +05302673
2674config MSM_FIQ
2675 bool "Enable FIQ for debugging"
2676 depends on ARCH_MSM8625
2677 select FIQ
Taniya Das36e4aa12012-07-04 18:27:16 +05302678 select GIC_SECURE
Taniya Dasea4263f92012-08-22 18:52:51 +05302679 help
2680 Enable any line to be used as an FIQ. This will help debugging
2681 if apps is not responding and holding lock with irqs disabled.
2682 Modem will then generate an raise a FIQ on this line before sending
2683 SMSM reset.
Greg Reidb1d240a2012-10-12 12:20:31 -04002684
2685config MSM_USE_USER_ACCESSIBLE_TIMERS
2686 bool "Enables mapping an MSM timer counter page to user space."
2687 depends on ARM_USE_USER_ACCESSIBLE_TIMERS
2688 help
2689 Enables MSM-specific user accessible timers via a shared
2690 memory page containing the cycle counter.
2691
Brian Swetland9e73c842007-11-26 04:12:13 -08002692endif