blob: 45ef204d9ede75377f862f7713c7b5d7e06dd735 [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
Sidipotu Ashokbf84d4d2012-11-06 17:13:28 +0530145 select USE_DEV_CTRL_VOLUME
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700146
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800147config ARCH_MSM8960
148 bool "MSM8960"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700149 select ARCH_MSM_KRAITMP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800150 select ARM_GIC
151 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700152 select GPIO_MSM_V2
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800153 select MSM_GPIOMUX
154 select MSM_SCM if SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700155 select MSM_DIRECT_SCLK_ACCESS
156 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -0800157 select MSM_RPM_REGULATOR
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700158 select MSM_RPM
159 select MSM_XO
160 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700161 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700162 select MSM_PIL
163 select MSM_AUDIO_QDSP6 if SND_SOC
164 select CPU_HAS_L2_PMU
165 select MSM_SPM_V2
166 select MSM_L2_SPM
167 select MSM_NATIVE_RESTART
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700168 select DONT_MAP_HOLE_AFTER_MEMBANK0
169 select MSM_REMOTE_SPINLOCK_SFPB
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700170 select ARCH_SPARSEMEM_ENABLE
171 select ARCH_HAS_HOLES_MEMORYMODEL
Larry Basseld4d82c92011-12-07 09:52:49 -0800172 select CLEANCACHE
173 select QCACHE
Laura Abbott6d61a912011-10-27 16:44:14 -0700174 select MSM_MULTIMEDIA_USE_ION
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530175 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800176 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700177 select HOLES_IN_ZONE if SPARSEMEM
Krishna Vankae2922052012-03-02 09:59:12 +0530178 select MSM_RUN_QUEUE_STATS
Laura Abbottb14ed962012-01-30 14:18:08 -0800179 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700180 select MSM_KRAIT_WFE_FIXUP
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +0200181 select MSM_ULTRASOUND_A
Olav Haugan5e728722012-11-05 17:45:26 -0800182 select MSM_IOMMU_GPU_SYNC
Greg Reidb1d240a2012-10-12 12:20:31 -0400183 select GENERIC_TIME_VSYSCALL
184 select USE_USER_ACCESSIBLE_TIMERS
185 select ARM_USE_USER_ACCESSIBLE_TIMERS
186 select MSM_USE_USER_ACCESSIBLE_TIMERS
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800187
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700188config ARCH_MSM8930
189 bool "MSM8930"
190 select ARCH_MSM_KRAITMP
191 select ARM_GIC
192 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700193 select GPIO_MSM_V2
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700194 select MSM_GPIOMUX
195 select MSM_SCM if SMP
196 select MSM_DIRECT_SCLK_ACCESS
197 select REGULATOR
David Collins5779cea2012-01-05 15:09:21 -0800198 select MSM_RPM_REGULATOR
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700199 select MSM_RPM
200 select MSM_XO
201 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700202 select MSM_QDSP6_CODECS
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700203 select MSM_PIL
204 select MSM_AUDIO_QDSP6 if SND_SOC
205 select CPU_HAS_L2_PMU
206 select MSM_SPM_V2
207 select MSM_L2_SPM
208 select MSM_NATIVE_RESTART
209 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600210 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700211 select ARCH_SPARSEMEM_ENABLE
212 select ARCH_HAS_HOLES_MEMORYMODEL
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +0200213 select MSM_ULTRASOUND_A
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530214 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800215 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700216 select HOLES_IN_ZONE if SPARSEMEM
Laura Abbottb14ed962012-01-30 14:18:08 -0800217 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700218 select MSM_KRAIT_WFE_FIXUP
Olav Haugan5e728722012-11-05 17:45:26 -0800219 select MSM_IOMMU_GPU_SYNC
Greg Reidb1d240a2012-10-12 12:20:31 -0400220 select GENERIC_TIME_VSYSCALL
221 select USE_USER_ACCESSIBLE_TIMERS
222 select ARM_USE_USER_ACCESSIBLE_TIMERS
223 select MSM_USE_USER_ACCESSIBLE_TIMERS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700224
225config ARCH_APQ8064
226 bool "APQ8064"
227 select ARCH_MSM_KRAITMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700228 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700229 select ARM_GIC
230 select CPU_V7
231 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700232 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600233 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800234 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800235 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700236 select MSM_QDSP6_CODECS
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800237 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530238 select MULTI_IRQ_HANDLER
Praveen Chidambaram78499012011-11-01 17:15:17 -0600239 select MSM_RPM
240 select MSM_SPM_V2
241 select MSM_L2_SPM
Matt Wagantall88b86312012-01-31 16:53:03 -0800242 select MSM_PM8X60 if PM
Neil Leeder814d3d32012-01-19 17:21:43 -0500243 select CPU_HAS_L2_PMU
Laura Abbott085dd202012-03-30 14:02:34 -0700244 select HOLES_IN_ZONE if SPARSEMEM
Larry Bassel67b921d2012-04-06 10:23:27 -0700245 select CLEANCACHE
246 select QCACHE
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -0600247 select MIGHT_HAVE_PCI
248 select ARCH_SUPPORTS_MSI
Laura Abbottb14ed962012-01-30 14:18:08 -0800249 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700250 select MSM_KRAIT_WFE_FIXUP
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +0200251 select MSM_ULTRASOUND_A
Olav Haugan5e728722012-11-05 17:45:26 -0800252 select MSM_IOMMU_GPU_SYNC
Greg Reidb1d240a2012-10-12 12:20:31 -0400253 select GENERIC_TIME_VSYSCALL
254 select USE_USER_ACCESSIBLE_TIMERS
255 select ARM_USE_USER_ACCESSIBLE_TIMERS
256 select MSM_USE_USER_ACCESSIBLE_TIMERS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700257
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700258config ARCH_MSM8974
259 bool "MSM8974"
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700260 select ARCH_MSM_KRAITMP
Sathish Ambley4149e842012-03-23 11:53:55 -0700261 select GPIO_MSM_V3
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700262 select ARM_GIC
263 select CPU_V7
264 select MSM_SCM if SMP
265 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530266 select MULTI_IRQ_HANDLER
Olav Hauganb800c8c2012-01-30 08:50:45 -0800267 select MSM_MULTIMEDIA_USE_ION
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700268 select MSM_PIL
Praveen Chidambaramaa9d52b2012-04-02 11:09:47 -0600269 select MSM_SPM_V2
270 select MSM_L2_SPM
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700271 select MSM_NATIVE_RESTART
272 select MSM_RESTART_V2
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600273 select MSM_PM8X60 if PM
Steve Mucklef132c6c2012-06-06 18:30:57 -0700274 select MAY_HAVE_SPARSE_IRQ
275 select SPARSE_IRQ
Mahesh Sivasubramaniancb668712012-04-04 13:03:25 -0600276 select MSM_RPM_SMD
David Collinsc7642322012-04-04 10:19:12 -0700277 select REGULATOR
Joonwoo Park91d95462012-08-02 10:55:54 -0700278 select MSM_QDSP6_APRV2
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -0700279 select MSM_QDSP6V2_CODECS
280 select MSM_AUDIO_QDSP6V2 if SND_SOC
David Collins1c91ea72012-05-03 16:17:35 -0700281 select MSM_RPM_REGULATOR_SMD
Laura Abbottb14ed962012-01-30 14:18:08 -0800282 select ARM_HAS_SG_CHAIN
Karthik Parsha404fb8f2012-07-30 19:14:05 -0700283 select MSM_RUN_QUEUE_STATS
Neeti Desai92eab922012-10-22 15:14:48 -0700284 select MEMORY_HOLE_CARVEOUT
Priyanka Mathur1af9d4b2012-10-30 14:55:44 -0700285 select MSM_RPM_STATS_LOG
Karthikeyan Ramasubramanian1edce9e2012-11-08 18:26:10 -0700286 select QMI_ENCDEC
Neeti Desai1b2cb552012-11-01 21:57:36 -0700287 select DONT_MAP_HOLE_AFTER_MEMBANK0
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700288
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +0530289config ARCH_MPQ8092
290 bool "MPQ8092"
291 select ARCH_MSM_KRAITMP
292 select GPIO_MSM_V3
293 select ARM_GIC
294 select MULTI_IRQ_HANDLER
295 select CPU_V7
296 select MSM_GPIOMUX
297 select MAY_HAVE_SPARSE_IRQ
298 select SPARSE_IRQ
299 select MSM_NOPM
300
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700301config ARCH_FSM9XXX
302 bool "FSM9XXX"
303 select ARCH_MSM_SCORPION
304 select MSM_VIC
305 select CPU_V7
306 select MSM_REMOTE_SPINLOCK_LDREX
Steve Mucklef132c6c2012-06-06 18:30:57 -0700307 select GPIO_FSM9XXX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530308 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800309 select MSM_DALRPC
Daniel Walker4ad15e62010-05-06 13:54:17 -0700310
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700311config ARCH_MSM9615
312 bool "MSM9615"
313 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530314 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700315 select ARCH_MSM_CORTEX_A5
316 select CPU_V7
Rohit Vaswani4307c842012-10-11 15:50:05 -0700317 select MIGHT_HAVE_CACHE_L2X0
Steve Mucklef132c6c2012-06-06 18:30:57 -0700318 select GPIO_MSM_V2
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700319 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600320 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600321 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700322 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800323 select REGULATOR
324 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530325 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800326 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800327 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700328 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800329 select MSM_QDSP6_APR
330 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800331 select FIQ
Laura Abbottb14ed962012-01-30 14:18:08 -0800332 select ARM_HAS_SG_CHAIN
Matt Wagantall9274df92011-12-15 11:11:05 -0800333
Taniya Das43bcdd62011-12-02 17:33:27 +0530334config ARCH_MSM8625
335 bool "MSM8625"
336 select ARCH_MSM_CORTEX_A5
337 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700338 select GPIO_MSM_V1
Taniya Das43bcdd62011-12-02 17:33:27 +0530339 select MSM_GPIOMUX
340 select ARM_GIC
341 select ARCH_MSM_CORTEXMP
342 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530343 select ARM_TICKET_LOCKS
Krishna Vankae2922052012-03-02 09:59:12 +0530344 select MSM_RUN_QUEUE_STATS
Trilok Sonib856ab92012-06-26 14:33:28 +0530345 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530346 select ARM_HAS_SG_CHAIN
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700347
348config ARCH_MSM9625
349 bool "MSM9625"
350 select ARM_GIC
Abhimanyu Kapur490d20c2012-06-22 17:34:20 -0700351 select MIGHT_HAVE_CACHE_L2X0
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700352 select ARCH_MSM_CORTEX_A5
353 select SMP
354 select MSM_SMP
355 select CPU_V7
Abhimanyu Kapur4bb38622012-10-16 19:07:48 -0700356 select MSM_SCM if SMP
Jin Hong690e3352012-05-02 09:25:05 -0700357 select MSM_GPIOMUX
Girish Mahadevanf1c20a42012-09-19 11:44:36 -0600358 select MSM_RPM_SMD
Abhimanyu Kapur46e5e2b2012-10-02 20:45:37 -0700359 select MSM_NATIVE_RESTART
360 select MSM_RESTART_V2
Girish Mahadevan6e419562012-09-19 12:50:05 -0600361 select MSM_SPM_V2
362 select MSM_PM8X60 if PM
363 select MSM_SCM if SMP
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700364 select MULTI_IRQ_HANDLER
Rohit Vaswani61cf6ef2012-07-27 13:51:48 -0700365 select GPIO_MSM_V3
David Collins1cc6e402012-09-17 16:02:24 -0700366 select MAY_HAVE_SPARSE_IRQ
367 select SPARSE_IRQ
Mitchel Humpherys92e9b8a2012-10-08 18:12:47 -0700368 select MSM_MULTIMEDIA_USE_ION
Girish Mahadevane3be9302012-11-07 16:21:52 -0700369 select MSM_RPM_STATS_LOG
Venkat Sudhir0620e982012-11-15 16:04:36 -0800370 select MSM_QDSP6_APRV2
371 select MSM_QDSP6V2_CODECS
372 select MSM_AUDIO_QDSP6V2 if SND_SOC
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700373
374config ARCH_MSM8910
375 bool "MSM8910"
376 select ARM_GIC
377 select GIC_SECURE
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700378 select ARCH_MSM_CORTEXMP
379 select CPU_V7
380 select MSM_SCM if SMP
381 select MAY_HAVE_SPARSE_IRQ
382 select SPARSE_IRQ
383 select MULTI_IRQ_HANDLER
384 select GPIO_MSM_V3
385 select MSM_GPIOMUX
Hanumant Singhe4271312012-10-24 13:27:57 -0700386 select MSM_NATIVE_RESTART
387 select MSM_RESTART_V2
Syed Rameez Mustafa9ee80102012-11-02 14:41:04 -0700388
389config ARCH_MSM8226
390 bool "MSM8226"
391 select ARM_GIC
392 select GIC_SECURE
Syed Rameez Mustafa9ee80102012-11-02 14:41:04 -0700393 select ARCH_MSM_CORTEXMP
394 select CPU_V7
395 select MSM_SCM if SMP
396 select MAY_HAVE_SPARSE_IRQ
397 select SPARSE_IRQ
398 select MULTI_IRQ_HANDLER
399 select GPIO_MSM_V3
400 select MSM_GPIOMUX
Syed Rameez Mustafaf1bdd712012-11-20 14:56:44 -0800401 select MSM_NATIVE_RESTART
402 select MSM_RESTART_V2
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700403endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700404
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700405choice
406 prompt "MSM SoC Revision"
407 default MSM_SOC_REV_NONE
408config MSM_SOC_REV_NONE
409 bool "N/A"
410 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
411 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walkerbf83de42010-03-16 16:29:44 -0700412config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700413 bool "Rev. A"
414 select ARCH_MSM7X27A if ARCH_MSM7X27
Daniel Walkerbf83de42010-03-16 16:29:44 -0700415endchoice
416
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700417config MSM_KRAIT_TBB_ABORT_HANDLER
418 bool "Krait TBB/TBH data abort handler"
419 depends on ARCH_MSM_KRAIT
420 depends on ARM_THUMB
421 help
422 Certain early samples of the Krait processor may generate data
423 aborts for TBB / TBH instructions that fail their condition code
424 checks. Enabling this option will ignore these erroneous data aborts,
425 at the expense of a very small performance penalty.
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800426
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700427 If unsure, say N.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700428
429config ARCH_MSM_ARM11
430 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700431
Daniel Walkerbf83de42010-03-16 16:29:44 -0700432config ARCH_MSM_SCORPION
433 bool
434
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700435config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700436 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800437 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700438
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700439config MSM_SMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700440 select HAVE_SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700441 bool
442
443config ARCH_MSM_SCORPIONMP
444 select ARCH_MSM_SCORPION
445 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530446 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700447 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700448 bool
449
450config ARCH_MSM_KRAITMP
451 select ARCH_MSM_KRAIT
452 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530453 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700454 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700455 bool
456
Taniya Das43bcdd62011-12-02 17:33:27 +0530457config ARCH_MSM_CORTEXMP
458 select MSM_SMP
459 bool
460
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700461config MSM_KRAIT_WFE_FIXUP
462 bool
463
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700464config MSM_RESTART_V2
465 bool
466
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700467config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800468 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700469
470config ARCH_MSM7X27A
471 bool
472 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700473 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530474 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530475 select ARM_GIC
476 select ARCH_MSM_CORTEXMP
Trilok Sonib856ab92012-06-26 14:33:28 +0530477 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530478 select ARM_HAS_SG_CHAIN
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700479
Gregory Beanf9f3d312010-04-30 22:06:50 -0700480config MSM_VIC
481 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700482
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700483config MSM_RPM
484 bool "Resource Power Manager"
485 select MSM_MPM
486
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600487config MSM_RPM_SMD
488 depends on MSM_SMD
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600489 select MSM_MPM_OF
490 bool "RPM driver using SMD protocol"
491 help
492 RPM is the dedicated hardware engine for managing shared SoC
493 resources. This config adds driver support for using SMD as a
494 transport layer communication with RPM hardware. It also selects
495 the MSM_MPM config that programs the MPM module to monitor interrupts
496 during sleep modes.
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600497
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700498config MSM_MPM
499 bool "Modem Power Manager"
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600500 help
501 MPM is a dedicated hardware resource responsible for entering and
502 waking up from a system wide low power mode. The MPM driver tracks
503 the wakeup interrupts and configures the MPM to monitor the wakeup
504 interrupts when going to a system wide sleep mode.
505
506config MSM_MPM_OF
507 bool "Modem Power Manager"
508 depends on CONFIG_OF
509 help
510 MPM is a dedicated hardware resource responsible for entering and
511 waking up from a system wide low power mode. The MPM driver tracks
512 the wakeup interrupts and configures the MPM to monitor the wakeup
513 interrupts when going to a system wide sleep mode. This config option
514 enables the MPM driver that supports initialization from a device
515 tree
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700516
517config MSM_XO
518 bool
519
520config MSM_REMOTE_SPINLOCK_DEKKERS
521 bool
522config MSM_REMOTE_SPINLOCK_SWP
523 bool
524config MSM_REMOTE_SPINLOCK_LDREX
525 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600526config MSM_REMOTE_SPINLOCK_SFPB
527 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700528config MSM_ADM3
529 bool
530
531menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700532
533config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700534 depends on ARCH_MSM7X01A
535 depends on MSM_STACKED_MEMORY
536 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700537 bool "Halibut Board (QCT SURF7201A)"
538 help
539 Support for the Qualcomm SURF7201A eval board.
540
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700541config MACH_MSM7201A_SURF
542 depends on ARCH_MSM7X01A
543 depends on MSM_STACKED_MEMORY
544 default y
545 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700546 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700547 Support for the Qualcomm MSM7201A SURF eval board.
548
549config MACH_MSM7201A_FFA
550 depends on ARCH_MSM7X01A
551 depends on MSM_STACKED_MEMORY
552 default y
553 bool "MSM7201A FFA"
554 help
555 Support for the Qualcomm MSM7201A FFA eval board.
556
557config MACH_TROUT
558 depends on ARCH_MSM7X01A
559 depends on MSM_STACKED_MEMORY
560 default y
561 bool "Trout"
562
563config MACH_MSM7X27_SURF
564 depends on ARCH_MSM7X27
565 depends on !MSM_STACKED_MEMORY
566 default y
567 bool "MSM7x27 SURF"
568 help
569 Support for the Qualcomm MSM7x27 SURF eval board.
570
571config MACH_MSM7X27_FFA
572 depends on ARCH_MSM7X27
573 depends on !MSM_STACKED_MEMORY
574 default y
575 bool "MSM7x27 FFA"
576 help
577 Support for the Qualcomm MSM7x27 FFA eval board.
578
579config MACH_MSM7X27A_RUMI3
580 depends on ARCH_MSM7X27A
581 depends on !MSM_STACKED_MEMORY
582 default y
583 bool "MSM7x27A RUMI3"
584 help
585 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
586
587config MACH_MSM7X27A_SURF
588 depends on ARCH_MSM7X27A
589 depends on !MSM_STACKED_MEMORY
590 default y
591 bool "MSM7x27A SURF"
592 help
593 Support for the Qualcomm MSM7x27A SURF.
594
595config MACH_MSM7X27A_FFA
596 depends on ARCH_MSM7X27A
597 depends on !MSM_STACKED_MEMORY
598 default y
599 bool "MSM7x27A FFA"
600 help
601 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700602
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530603config MACH_MSM7625A_SURF
604 depends on ARCH_MSM7X27A
605 depends on !MSM_STACKED_MEMORY
606 default y
607 bool "MSM7625A SURF"
608 help
609 Support for the Qualcomm MSM7625A SURF.
610
611config MACH_MSM7625A_FFA
612 depends on ARCH_MSM7X27A
613 depends on !MSM_STACKED_MEMORY
614 default y
615 bool "MSM7625A FFA"
616 help
617 Support for the Qualcomm MSM7625A FFA.
618
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530619config MACH_MSM7627A_QRD1
620 depends on ARCH_MSM7X27A
621 depends on !MSM_STACKED_MEMORY
622 default y
623 bool "MSM7627A QRD1"
624 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530625 Support for the Qualcomm MSM7627A Reference Design.
626
627config MACH_MSM7627A_QRD3
628 depends on ARCH_MSM7X27A
629 depends on !MSM_STACKED_MEMORY
630 default y
631 bool "MSM7627A QRD3"
632 help
633 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530634
Taniya Dasc868a2e2012-01-03 10:18:47 +0530635config MACH_MSM7627A_EVB
636 depends on ARCH_MSM7X27A
637 depends on !MSM_STACKED_MEMORY
638 default y
639 bool "MSM7627A EVB"
640 help
641 Support for the Qualcomm MSM7627A Reference Design.
642
Taniya Das43bcdd62011-12-02 17:33:27 +0530643config MACH_MSM8625_RUMI3
644 depends on ARCH_MSM8625
645 depends on !MSM_STACKED_MEMORY
646 default y
647 bool "MSM8625 RUMI3"
648 help
649 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
650
Taniya Dase3027e22012-02-27 16:32:27 +0530651config MACH_MSM8625_SURF
652 depends on ARCH_MSM8625
653 depends on !MSM_STACKED_MEMORY
654 default y
655 bool "MSM8625 SURF"
656 help
657 Support for the Qualcomm MSM8625 SURF.
658
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530659config MACH_MSM8625_FFA
660 depends on ARCH_MSM8625
661 depends on !MSM_STACKED_MEMORY
662 default y
663 bool "MSM8625 FFA"
664 help
665 Support for the Qualcomm MSM8625 FFA.
666
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530667config MACH_MSM8625_EVB
668 depends on ARCH_MSM8625
669 depends on !MSM_STACKED_MEMORY
670 default y
671 bool "MSM8625 EVB"
672 help
673 Support for the Qualcomm MSM8625 Reference Design.
674
Taniya Dasbd096542012-03-15 17:43:45 +0530675config MACH_MSM8625_QRD7
676 depends on ARCH_MSM8625
677 depends on !MSM_STACKED_MEMORY
678 default y
679 bool "MSM8625 QRD7"
680 help
681 Support for the Qualcomm MSM8625 Reference Design.
682
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530683config MACH_MSM8625_EVT
684 depends on ARCH_MSM8625
685 depends on !MSM_STACKED_MEMORY
686 default y
687 bool "MSM8625 EVT"
688 help
689 Support for the Qualcomm MSM8625 Reference Design.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700690
Channagoud Kadabi2bd65c82012-10-12 15:14:23 +0530691config MACH_QRD_SKUD_PRIME
692 depends on ARCH_MSM8625
693 depends on !MSM_STACKED_MEMORY
694 default y
695 bool "MSM8625 SKUD PRIME"
696 help
697 Support for the Qualcomm MSM8625 SKUD prime Reference Design.
698 Add support for a SKUD prime reference design based on MSM8x25
699 chipset. This device is much closer to a phone than regular form
700 factor devices, with new touch, display panel and other hardware
701 configurations.
702
Daniel Walker7b521612010-05-06 12:44:57 -0700703config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700704 depends on ARCH_MSM7X30
705 depends on !MSM_STACKED_MEMORY
706 default y
707 bool "MSM7x30 SURF"
708 help
709 Support for the Qualcomm MSM7x30 SURF eval board.
710
711config MACH_MSM7X30_FFA
712 depends on ARCH_MSM7X30
713 depends on !MSM_STACKED_MEMORY
714 default y
715 bool "MSM7x30 FFA"
716 help
717 Support for the Qualcomm MSM7x30 FFA eval board.
718
719config MACH_MSM7X30_FLUID
720 depends on ARCH_MSM7X30
721 depends on !MSM_STACKED_MEMORY
722 default y
723 bool "MSM7x30 FLUID"
724 help
725 Support for the Qualcomm MSM7x30 FLUID eval board.
726
727config MACH_SAPPHIRE
728 depends on ARCH_MSM7X01A
729 default n
730 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700731
Daniel Walker4ad15e62010-05-06 13:54:17 -0700732config MACH_QSD8X50_SURF
733 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700734 depends on MSM_SOC_REV_NONE
735 depends on MSM_STACKED_MEMORY
736 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700737 bool "QSD8x50 SURF"
738 help
739 Support for the Qualcomm QSD8x50 SURF eval board.
740
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700741config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700742 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700743 depends on MSM_SOC_REV_NONE
744 depends on MSM_STACKED_MEMORY
745 default y
746 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700747 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700748 Support for the Qualcomm QSD8x50 FFA eval board.
749
750config MACH_MSM7X25_SURF
751 depends on ARCH_MSM7X25
752 depends on !MSM_STACKED_MEMORY
753 default y
754 bool "MSM7x25 SURF"
755 help
756 Support for the Qualcomm MSM7x25 SURF eval board.
757
758config MACH_MSM7X25_FFA
759 depends on ARCH_MSM7X25
760 depends on !MSM_STACKED_MEMORY
761 default y
762 bool "MSM7x25 FFA"
763 help
764 Support for the Qualcomm MSM7x25 FFA eval board.
765
766config MACH_MSM8X55_SURF
767 depends on ARCH_MSM7X30
768 depends on !MSM_STACKED_MEMORY
769 default y
770 bool "MSM8X55 SURF"
771 help
772 Support for the Qualcomm MSM8x55 SURF eval board.
773
774config MACH_MSM8X55_FFA
775 depends on ARCH_MSM7X30
776 depends on !MSM_STACKED_MEMORY
777 default y
778 bool "MSM8X55 FFA"
779 help
780 Support for the Qualcomm MSM8x55 FFA eval board.
781
782config MACH_MSM8X55_SVLTE_FFA
783 depends on ARCH_MSM7X30
784 depends on !MSM_STACKED_MEMORY
785 default y
786 bool "MSM8X55 SVLTE FFA"
787 help
788 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
789
790config MACH_MSM8X55_SVLTE_SURF
791 depends on ARCH_MSM7X30
792 depends on !MSM_STACKED_MEMORY
793 default y
794 bool "MSM8X55 SVLTE SURF"
795 help
796 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700797
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700798config MACH_MSM8X60_SURF
799 depends on ARCH_MSM8X60
800 default n
801 bool "MSM8x60 SURF"
802 help
803 Support for the Qualcomm MSM8x60 SURF eval board.
804
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700805config MACH_MSM8X60_FFA
806 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700807 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700808 bool "MSM8x60 FFA"
809 help
810 Support for the Qualcomm MSM8x60 FFA eval board.
811
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700812config MACH_MSM8X60_FLUID
813 depends on ARCH_MSM8X60
814 default n
815 bool "MSM8x60 FLUID"
816 help
817 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
818 8x60 target which has a form factor that is much closer to that
819 of a phone than other targets. It also has a new display and
820 touchscreen controller.
821
822config MACH_MSM8X60_FUSION
823 depends on ARCH_MSM8X60
824 default n
825 bool "MSM8x60 FUSION"
826 help
827 Support for the Qualcomm MSM8x60 Fusion SURF device.
828
829config MACH_MSM8X60_FUSN_FFA
830 depends on ARCH_MSM8X60
831 default n
832 bool "MSM8x60 FUSN FFA"
833 help
834 Support for the Qualcomm MSM8x60 Fusion FFA device.
835
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400836config MACH_MSM8X60_DRAGON
837 depends on ARCH_MSM8X60
838 default n
839 bool "MSM8x60 DRAGON"
840 help
841 Support for the Qualcomm MSM8x60 Dragon board.
842
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700843config MACH_MSM8960_CDP
844 depends on ARCH_MSM8960
845 bool "MSM8960 CDP"
846 help
847 Support for the Qualcomm MSM8960 CDP device.
848
849config MACH_MSM8960_MTP
850 depends on ARCH_MSM8960
851 bool "MSM8960 MTP"
852 help
853 Support for the Qualcomm MSM8960 MTP device.
854
855config MACH_MSM8960_FLUID
856 depends on ARCH_MSM8960
857 bool "MSM8960 FLUID"
858 help
859 Support for the Qualcomm MSM8960 FLUID device.
860
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300861config MACH_MSM8960_LIQUID
862 depends on ARCH_MSM8960
863 bool "MSM8960 LIQUID"
864 help
865 Support for the Qualcomm MSM8960 LIQUID device.
866
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700867config MACH_MSM8930_CDP
868 depends on ARCH_MSM8930
869 bool "MSM8930 CDP"
870 help
871 Support for the Qualcomm MSM8930 CDP device.
872
873config MACH_MSM8930_MTP
874 depends on ARCH_MSM8930
875 bool "MSM8930 MTP"
876 help
877 Support for the Qualcomm MSM8930 MTP device.
878
879config MACH_MSM8930_FLUID
880 depends on ARCH_MSM8930
881 bool "MSM8930 FLUID"
882 help
883 Support for the Qualcomm MSM8930 FLUID device.
884
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800885config MACH_MSM8627_CDP
886 depends on ARCH_MSM8930
887 bool "MSM8627 CDP"
888 help
889 Support for the Qualcomm MSM8627 CDP device.
890
891config MACH_MSM8627_MTP
892 depends on ARCH_MSM8930
893 bool "MSM8627 MTP"
894 help
895 Support for the Qualcomm MSM8627 MTP device.
896
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700897config MACH_MSM9615_CDP
898 depends on ARCH_MSM9615
899 bool "MSM9615 CDP"
900 help
901 Support for the Qualcomm MSM9615 CDP device.
902
903config MACH_MSM9615_MTP
904 depends on ARCH_MSM9615
905 bool "MSM9615 MTP"
906 help
907 Support for the Qualcomm MSM9615 MTP device.
908
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700909config MSM_USE_TSIF1
910 depends on ARCH_MSM8X60
911 bool "MSM8x60 use TSIF1"
912 help
913 Selects TSIF1 core to be used rather than TSIF0.
914 The two TSIF cores share the same DM configuration
915 so they cannot be used simultaneously.
916
Joel King82b7e3f2012-01-05 10:03:27 -0800917config MACH_APQ8064_CDP
918 depends on ARCH_APQ8064
919 bool "APQ8064 CDP"
920 help
921 Support for the Qualcomm APQ8064 CDP device.
922
923config MACH_APQ8064_MTP
924 depends on ARCH_APQ8064
925 bool "APQ8064 MTP"
926 help
927 Support for the Qualcomm APQ8064 MTP device.
928
929config MACH_APQ8064_LIQUID
930 depends on ARCH_APQ8064
931 bool "APQ8064 LIQUID"
932 help
933 Support for the Qualcomm APQ8064 LIQUID device.
934
Joel King064bbf82012-04-01 13:23:39 -0700935config MACH_MPQ8064_CDP
936 depends on ARCH_APQ8064
937 bool "MPQ8064 CDP"
938 help
939 Support for the Qualcomm MPQ8064 CDP device.
940
Joel King11ca8202012-02-13 16:19:03 -0800941config MACH_MPQ8064_HRD
942 depends on ARCH_APQ8064
943 bool "MPQ8064 HRD"
944 help
945 Support for the Qualcomm MPQ8064 HRD device.
946
947config MACH_MPQ8064_DTV
948 depends on ARCH_APQ8064
949 bool "MPQ8064 DTV"
950 help
951 Support for the Qualcomm MPQ8064 DTV device.
952
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700953config MACH_FSM9XXX_SURF
954 depends on ARCH_FSM9XXX
955 depends on !MSM_STACKED_MEMORY
956 default y
957 bool "FSM9XXX SURF"
958 help
959 Support for the Qualcomm FSM9xxx femtocell
960 chipset based SURF evaluation board and
961 FFA board.
962
Daniel Walker4ad15e62010-05-06 13:54:17 -0700963endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800964
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700965config MSM_STACKED_MEMORY
966 bool "Stacked Memory"
967 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800968 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700969 This option is used to indicate the presence of on-die stacked
970 memory. When present this memory bank is used for a high speed
971 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800972
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700973config PHYS_OFFSET
974 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700975 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700976 default "0x80200000" if ARCH_APQ8064
977 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700978 default "0x80200000" if ARCH_MSM8930
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700979 default "0x00000000" if ARCH_MSM8974
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +0530980 default "0x00000000" if ARCH_MPQ8092
Syed Rameez Mustafa90f80502012-08-23 17:27:24 -0700981 default "0x00000000" if ARCH_MSM8226
Syed Rameez Mustafa02dd1a32012-10-26 11:02:26 -0700982 default "0x00000000" if ARCH_MSM8910
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700983 default "0x10000000" if ARCH_FSM9XXX
Abhimanyu Kapur20ac2ad2012-09-25 04:23:59 -0700984 default "0x00200000" if ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700985 default "0x00200000" if !MSM_STACKED_MEMORY
986 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
987 default "0x20000000" if ARCH_QSD8X50
988 default "0x40200000" if ARCH_MSM8X60
989 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800990
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700991config KERNEL_MSM_CONTIG_MEM_REGION
992 bool "Enable in-kernel contiguous memory region"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700993 default y if ARCH_MSM8X60
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700994 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700995 help
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700996 Enable the in-kernel contiguous memory allocator. Sets up a
997 region of physically contiguous memory. This memory is
998 reserved during initialization, and can be used
999 generically.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001000
1001config KERNEL_PMEM_SMI_REGION
1002 bool "Enable in-kernel PMEM region for SMI"
1003 default y if ARCH_MSM8X60
1004 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
1005 help
1006 Enable the in-kernel PMEM allocator to use SMI memory.
1007
1008config PMEM_GPU0
1009 bool "Enable PMEM GPU0 region"
1010 default y
1011 depends on ARCH_QSD8X50 && ANDROID_PMEM
1012 help
1013 Enable the PMEM GPU0 device on SMI Memory.
1014
1015config MSM_AMSS_VERSION
1016 int
1017 default 6210 if MSM_AMSS_VERSION_6210
1018 default 6220 if MSM_AMSS_VERSION_6220
1019 default 6225 if MSM_AMSS_VERSION_6225
1020
1021choice
1022 prompt "AMSS modem firmware version"
1023
1024 default MSM_AMSS_VERSION_6225
1025
1026 config MSM_AMSS_VERSION_6210
1027 bool "6.2.10"
1028
1029 config MSM_AMSS_VERSION_6220
1030 bool "6.2.20"
1031
1032 config MSM_AMSS_VERSION_6225
1033 bool "6.2.20 + New ADSP"
1034endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -08001035
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001036config MSM_HAS_DEBUG_UART_HS
Daniel Walkerbf83de42010-03-16 16:29:44 -07001037 bool
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001038 help
1039 Say Y here if high speed MSM UART is present.
1040
1041config MSM_HAS_DEBUG_UART_HS_V14
1042 bool
1043 select MSM_HAS_DEBUG_UART_HS
1044 help
1045 Say Y here if high speed MSM UART v1.4 is present.
1046
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301047config MSM_DEBUG_UART_PHYS
1048 hex
1049 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
1050 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
1051 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
1052 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
1053 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
1054 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
1055 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
1056 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
1057
Brian Swetland9e73c842007-11-26 04:12:13 -08001058choice
1059 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001060 depends on DEBUG_LL
Brian Swetland9e73c842007-11-26 04:12:13 -08001061
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001062 config DEBUG_MSM_UART1
1063 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301064 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001065 help
1066 Say Y here if you want the debug print routines to direct
1067 their output to the first serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001068
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001069 config DEBUG_MSM_UART2
1070 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301071 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001072 help
1073 Say Y here if you want the debug print routines to direct
1074 their output to the second serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001075
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001076 config DEBUG_MSM_UART3
1077 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301078 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001079 help
1080 Say Y here if you want the debug print routines to direct
1081 their output to the third serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001082
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001083 config DEBUG_MSM8660_UART
1084 bool "Kernel low-level debugging messages via MSM 8660 UART"
1085 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001086 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001087 help
1088 Say Y here if you want the debug print routines to direct
1089 their output to the serial port on MSM 8660 devices.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001090
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001091 config DEBUG_MSM8960_UART
1092 bool "Kernel low-level debugging messages via MSM 8960 UART"
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001093 depends on ARCH_MSM8960 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001094 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001095 help
1096 Say Y here if you want the debug print routines to direct
1097 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001098
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001099 config DEBUG_MSM8930_UART
1100 bool "Kernel low-level debugging messages via MSM 8930 UART"
1101 depends on ARCH_MSM8930 && DEBUG_LL
1102 select MSM_HAS_DEBUG_UART_HS
1103 help
1104 Say Y here if you want the debug print routines to direct
1105 their output to the serial port on MSM 8930 devices.
1106
1107 config DEBUG_APQ8064_UART
1108 bool "Kernel low-level debugging messages via APQ 8064 UART"
1109 depends on ARCH_APQ8064 && DEBUG_LL
1110 select MSM_HAS_DEBUG_UART_HS
1111 help
1112 Say Y here if you want the debug print routines to direct
1113 their output to the serial port on APQ 8064 devices.
1114
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001115 config DEBUG_MSM8974_UART
1116 bool "Kernel low-level debugging messages via MSM 8974 UART"
1117 depends on ARCH_MSM8974
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001118 select MSM_HAS_DEBUG_UART_HS_V14
1119 help
1120 Say Y here if you want the debug print routines to direct
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001121 their output to the serial port on MSM 8974 devices.
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +05301122
1123 config DEBUG_MPQ8092_UART
1124 bool "Kernel low-level debugging messages via MPQ8092 UART"
1125 depends on ARCH_MPQ8092
1126 select MSM_HAS_DEBUG_UART_HS_V14
1127 help
1128 Say Y here if you want the debug print routines to direct
1129 their output to the serial port on MPQ8092 devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001130endchoice
Brian Swetland9e73c842007-11-26 04:12:13 -08001131
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001132choice
1133 prompt "Default Timer"
1134 default MSM7X00A_USE_GP_TIMER
1135
1136 config MSM7X00A_USE_GP_TIMER
1137 bool "GP Timer"
1138 help
1139 Low resolution timer that allows power collapse from idle.
1140
1141 config MSM7X00A_USE_DG_TIMER
1142 bool "DG Timer"
1143 help
1144 High resolution timer.
1145endchoice
1146
1147choice
1148 prompt "Suspend sleep mode"
1149 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1150 help
1151 Allows overriding the sleep mode used. Leave at power
1152 collapse suspend unless the arm9 image has problems.
1153
1154 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1155 bool "Power collapse suspend"
1156 help
1157 Lowest sleep state. Returns through reset vector.
1158
1159 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1160 bool "Power collapse"
1161 help
1162 Sleep state that returns through reset vector.
1163
1164 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1165 bool "Apps Sleep"
1166
1167 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1168 bool "Ramp down cpu clock and wait for interrupt"
1169
1170 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1171 bool "Wait for interrupt"
1172endchoice
1173
1174config MSM7X00A_SLEEP_MODE
1175 int
1176 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1177 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1178 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1179 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1180 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1181
1182choice
1183 prompt "Idle sleep mode"
1184 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1185 help
1186 Allows overriding the sleep mode used from idle. Leave at power
1187 collapse suspend unless the arm9 image has problems.
1188
1189 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1190 bool "Power collapse suspend"
1191 help
1192 Lowest sleep state. Returns through reset vector.
1193
1194 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1195 bool "Power collapse"
1196 help
1197 Sleep state that returns through reset vector.
1198
1199 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1200 bool "Apps Sleep"
1201
1202 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1203 bool "Ramp down cpu clock and wait for interrupt"
1204
1205 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1206 bool "Wait for interrupt"
1207endchoice
1208
1209config MSM7X00A_IDLE_SLEEP_MODE
1210 int
1211 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1212 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1213 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1214 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1215 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1216
1217config MSM7X00A_IDLE_SLEEP_MIN_TIME
1218 int "Minimum idle time before sleep"
1219 default 20000000
1220 help
1221 Minimum idle time in nanoseconds before entering low power mode.
1222
1223config MSM7X00A_IDLE_SPIN_TIME
1224 int "Idle spin time before cpu ramp down"
1225 default 80000
1226 help
1227 Spin time in nanoseconds before ramping down cpu clock and entering
1228 any low power state.
1229
1230menuconfig MSM_IDLE_STATS
1231 bool "Collect idle statistics"
1232 default y
1233 help
1234 Collect idle statistics and export them in proc/msm_pm_stats.
1235
1236if MSM_IDLE_STATS
1237
1238config MSM_IDLE_STATS_FIRST_BUCKET
1239 int "First bucket time"
1240 default 62500
1241 help
1242 Upper time limit in nanoseconds of first bucket.
1243
1244config MSM_IDLE_STATS_BUCKET_SHIFT
1245 int "Bucket shift"
1246 default 2
1247
1248config MSM_IDLE_STATS_BUCKET_COUNT
1249 int "Bucket count"
1250 default 10
1251
1252config MSM_SUSPEND_STATS_FIRST_BUCKET
1253 int "First bucket time for suspend"
1254 default 1000000000
1255 help
1256 Upper time limit in nanoseconds of first bucket of the
1257 histogram. This is for collecting statistics on suspend.
1258
1259endif # MSM_IDLE_STATS
1260
1261config CPU_HAS_L2_PMU
1262 bool "L2CC PMU Support"
1263 help
1264 Select this if the L2 cache controller has a Performance Monitoring Unit.
1265
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001266config HTC_HEADSET
1267 tristate "HTC 2 Wire detection driver"
1268 default n
1269 help
1270 Provides support for detecting HTC 2 wire devices, such as wired
1271 headset, on the trout platform. Can be used with the msm serial
1272 debugger, but not with serial console.
1273
1274config TROUT_BATTCHG
1275 depends on MACH_TROUT && POWER_SUPPLY
1276 default y
1277 bool "Trout battery / charger driver"
1278
1279config HTC_PWRSINK
1280 depends on MSM_SMD
1281 default n
1282 bool "HTC Power Sink Driver"
1283
1284config QSD_SVS
1285 bool "QSD Static Voltage Scaling"
1286 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1287 default y
1288 select TPS65023
1289 help
1290 Enables static voltage scaling using the TPS65023 PMIC.
1291
1292config QSD_PMIC_DEFAULT_DCDC1
1293 int "PMIC default output voltage"
1294 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1295 default 1250
1296 help
1297 This is the PMIC voltage at Linux kernel boot.
1298
1299config MSM_FIQ_SUPPORT
1300 default y
1301 bool "Enable installation of an FIQ handler."
1302
1303config MSM_SERIAL_DEBUGGER
1304 select MSM_FIQ_SUPPORT
1305 select KERNEL_DEBUGGER_CORE
1306 default n
1307 bool "FIQ Mode Serial Debugger"
1308 help
1309 The FIQ serial debugger can accept commands even when the
1310 kernel is unresponsive due to being stuck with interrupts
1311 disabled. Depends on the kernel debugger core in drivers/misc.
1312
1313config MSM_SERIAL_DEBUGGER_CONSOLE
1314 depends on MSM_SERIAL_DEBUGGER
1315 default n
1316 bool "Console on FIQ Serial Debugger port"
1317 help
1318 Enables a console so that printk messages are displayed on
1319 the debugger serial port as the occur.
Brian Swetland9e73c842007-11-26 04:12:13 -08001320
Gregory Beanab78cde2010-09-01 16:26:12 -07001321config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001322 default y
1323 bool "Proc-Comm RPC Interface"
1324 help
1325 Enables a lightweight communications interface to the
1326 baseband processor.
Gregory Beanab78cde2010-09-01 16:26:12 -07001327
Gregory Bean1963a2a2010-08-28 10:05:44 -07001328config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001329 bool "MSM Shared Memory Driver (SMD)"
1330 help
1331 Support for the shared memory interface between the apps
1332 processor and the baseband processor. Provides access to
1333 the "shared heap", as well as virtual serial channels
1334 used to communicate with various services on the baseband
1335 processor.
1336
1337choice
1338 prompt "MSM Shared memory interface version"
1339 depends on MSM_SMD
1340 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1341 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1342
1343 config MSM_SMD_PKG3
1344 bool
1345 prompt "Package 3"
1346
1347 config MSM_SMD_PKG4
1348 bool
1349 prompt "Package 4"
1350endchoice
1351
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001352config MSM_PCIE
1353 bool "MSM PCIe Controller driver"
1354 depends on PCI && PCI_MSI
1355 help
1356 Enables the PCIe functionality by configures PCIe core on
1357 MSM chipset and by enabling the ARM PCI framework extension.
1358
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001359config MSM_RPC_SDIO_XPRT
1360 depends on MSM_SDIO_AL
1361 default y
1362 bool "MSM SDIO XPRT Layer"
1363 help
1364 SDIO Transport Layer for RPC Rouer
1365
1366config MSM_RPC_SDIO_DEBUG
1367 depends on MSM_RPC_SDIO_XPRT
1368 default y
1369 bool "MSM SDIO XPRT debug support"
1370 help
1371 Support for debugging SDIO XPRT
1372
1373config MSM_SMD_DEBUG
1374 depends on MSM_SMD
1375 default y
1376 bool "MSM SMD debug support"
1377 help
1378 Support for debugging the SMD for communication
1379 between the ARM9 and ARM11
1380
1381config MSM_SDIO_AL
1382 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1383 default y
1384 tristate "SDIO-Abstraction-Layer"
1385 help
1386 Support MSM<->MDM Communication over SDIO bus.
1387 MDM SDIO-Client should have pipes support.
1388
1389config MSM_SDIO_DMUX
1390 bool "SDIO Data Mux Driver"
1391 depends on MSM_SDIO_AL
1392 default n
1393 help
1394 Support Muxed Data Channels over SDIO interface.
1395
1396config MSM_BAM_DMUX
1397 bool "BAM Data Mux Driver"
1398 depends on SPS
1399 default n
1400 help
1401 Support Muxed Data Channels over BAM interface.
1402 BAM has a limited number of pipes. This driver
1403 provides a means to support more logical channels
1404 via muxing than BAM could without muxing.
1405
1406config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001407 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001408 default y
1409 bool "MSM N-WAY SMD support"
1410 help
1411 Supports APPS-QDSP SMD communication along with
1412 normal APPS-MODEM SMD communication.
1413
1414config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001415 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001416 default y
1417 bool "MSM N-WAY SMSM support"
1418 help
1419 Supports APPS-QDSP SMSM communication along with
1420 normal APPS-MODEM SMSM communication.
1421
1422config MSM_RESET_MODEM
1423 tristate "Reset Modem Driver"
1424 depends on MSM_SMD
1425 default m
1426 help
1427 Allows the user to reset the modem through a device node.
1428
1429config MSM_SMD_LOGGING
1430 depends on MSM_SMD
1431 default y
1432 bool "MSM Shared Memory Logger"
1433 help
1434 This option exposes the shared memory logger at /dev/smem_log
1435 and a debugfs node named smem_log.
1436
1437 If in doubt, say yes.
1438
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001439config MSM_IPC_LOGGING
1440 bool "MSM Debug Logging for IPC Drivers"
1441 help
1442 This option allows the debug logging for IPC Drivers.
1443
1444 If in doubt, say no.
1445
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001446config MSM_SMD_NMEA
1447 bool "NMEA GPS Driver"
1448 depends on MSM_SMD
1449 default y
1450 help
1451 Enable this to support the NMEA GPS device.
1452
1453 If in doubt, say yes.
1454
1455config MSM_SDIO_TTY
1456 bool "SDIO TTY Driver"
1457 depends on MSM_SDIO_AL
1458 default n
1459 help
1460 Provides a TTY driver SDIO TTY
1461 This driver can be used by user space
1462 applications for passing data through the
1463 SDIO interface.
1464
1465config MSM_SMD_TTY
1466 bool "SMD TTY Driver"
1467 depends on MSM_SMD
1468 default y
1469 help
1470 Provides TTY interfaces to interact with the modem.
1471
1472 If in doubt, say yes.
1473
1474config MSM_SMD_QMI
1475 bool "SMD QMI Driver"
1476 depends on MSM_SMD
1477 default y
1478 help
1479 Manages network data connections.
1480
1481 If in doubt, say yes.
1482
1483config MSM_SMD_PKT
1484 bool "SMD Packet Driver"
1485 depends on MSM_SMD
1486 default y
1487 help
1488 Provides a binary SMD non-muxed packet port interface.
1489
1490 If in doubt, say yes.
1491
1492config MSM_SDIO_CMUX
1493 bool "SDIO CMUX Driver"
1494 depends on MSM_SDIO_AL
1495 default n
1496 help
1497 Provides a Muxed port interface over SDIO QMI
1498
1499config MSM_DSPS
1500 bool "Sensors DSPS driver"
1501 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1502 default n
1503 help
1504 Provides user-space interface to the sensors manager
1505 to turn on/off the Sensors Processor system clocks.
1506 It is the DSPS responsibility to turn on/off the sensors
1507 themself.
1508 The number of clocks and their name may vary between targets.
1509 It also triggers the PIL to load the DSPS firmware.
1510
1511config MSM_SDIO_CTL
1512 bool "SDIO CTL Driver"
1513 depends on MSM_SDIO_CMUX
1514 default n
1515 help
1516 Provides a binary SDIO control port interface.
1517
1518config MSM_ONCRPCROUTER
1519 depends on MSM_SMD
1520 default n
1521 bool "MSM ONCRPC router support"
1522 help
1523 Support for the MSM ONCRPC router for communication between
1524 the ARM9 and ARM11
1525
1526config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001527 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001528 default n
1529 bool "MSM IPC Router support"
1530 help
1531 Support for the MSM IPC Router for communication between
1532 the APPs and the MODEM
1533
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001534config MSM_IPC_ROUTER_SMD_XPRT
1535 depends on MSM_SMD
1536 depends on MSM_IPC_ROUTER
1537 default n
1538 bool "MSM SMD XPRT Layer"
1539 help
1540 SMD Transport Layer for IPC Router
1541
Karthikeyan Ramasubramanianfec77ff2012-10-26 20:03:26 -06001542config MSM_QMI_INTERFACE
1543 depends on MSM_IPC_ROUTER
1544 depends on QMI_ENCDEC
1545 default n
1546 bool "MSM QMI Interface Library"
1547 help
1548 Library to send and receive QMI messages over IPC Router.
1549 This library provides interface functions to the kernel drivers
1550 to perform QMI message marshaling and transport them over IPC
1551 Router.
1552
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001553config MSM_ONCRPCROUTER_DEBUG
1554 depends on MSM_ONCRPCROUTER
1555 default y
1556 bool "MSM debug ONCRPC router support"
1557 help
1558 Support for debugging the ONCRPC router for communication
1559 between the ARM9 and ARM11
1560
1561config MSM_RPC_LOOPBACK_XPRT
1562 depends on MSM_ONCRPCROUTER
1563 default n
1564 bool "MSM RPC local routing support"
1565 help
1566 Support for routing RPC messages between APPS clients
1567 and APPS servers. Helps in testing APPS RPC framework.
1568
1569config MSM_RPCSERVER_TIME_REMOTE
1570 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1571 default y
1572 bool "Time remote RPC server"
1573 help
1574 The time remote server receives notification of time bases and
1575 reports these events to registered callback functions.
1576
1577config MSM_RPCSERVER_WATCHDOG
1578 depends on MSM_ONCRPCROUTER
1579 default y
1580 bool "Watchdog RPC server"
1581 help
1582 The dog_keepalive server handles watchdog events.
1583
1584config MSM_RPC_WATCHDOG
1585 depends on MSM_ONCRPCROUTER
1586 default n
1587 bool "Watchdog RPC client"
1588 help
1589 The dog_keepalive client module.
1590
1591config MSM_RPC_PING
1592 depends on MSM_ONCRPCROUTER && DEBUG_FS
1593 default m
1594 bool "MSM rpc ping"
1595 help
1596 Implements MSM rpc ping test module.
1597
1598config MSM_RPC_PROC_COMM_TEST
1599 depends on DEBUG_FS && MSM_PROC_COMM
1600 default m
1601 bool "MSM rpc proc comm test"
1602 help
1603 Implements MSM rpc proc comm test module.
1604
1605config MSM_RPC_OEM_RAPI
1606 depends on MSM_ONCRPCROUTER
1607 default m
1608 bool "MSM oem rapi"
1609 help
1610 Implements MSM oem rapi client module.
1611
1612config MSM_RPCSERVER_HANDSET
1613 depends on MSM_ONCRPCROUTER
1614 default y
1615 bool "Handset events RPC server"
1616 help
1617 Support for receiving handset events like headset detect,
1618 headset switch and clamshell state.
1619
1620config MSM_RMT_STORAGE_CLIENT
1621 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1622 default n
1623 bool "Remote Storage RPC client"
1624 help
1625 Provide RPC mechanism for remote processors to access storage
1626 device on apps processor.
1627
1628config MSM_RMT_STORAGE_CLIENT_STATS
1629 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1630 default n
1631 bool "Remote storage RPC client performance statistics"
1632 help
1633 Collects performance statistics and shows this information
1634 through a debugfs file rmt_storage_stats.
1635
1636config MSM_SDIO_SMEM
1637 depends on MSM_SDIO_AL
1638 default n
1639 bool "SDIO SMEM for remote storage"
1640 help
1641 Copies data from remote MDM9K memory to local MSM8x60
1642 memory. Used by remote storage client to shadow
1643 MDM9K filesystem.
1644
1645config MSM_DALRPC
1646 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001647 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001648 help
1649 Supports RPC calls to DAL devices on remote processor cores.
1650
1651config MSM_DALRPC_TEST
1652 tristate "DAL RPC test module"
1653 depends on (MSM_DALRPC && DEBUG_FS)
1654 default m
1655 help
1656 Exercises DAL RPC calls to QDSP6.
1657
1658if CPU_FREQ_MSM
1659
1660config MSM_CPU_FREQ_SET_MIN_MAX
1661 bool "Set Min/Max CPU frequencies."
1662 default n
1663 help
1664 Allow setting min and max CPU frequencies. Sysfs can be used
1665 to override these values.
1666
1667config MSM_CPU_FREQ_MAX
1668 int "Max CPU Frequency"
1669 depends on MSM_CPU_FREQ_SET_MIN_MAX
1670 default 384000
1671
1672config MSM_CPU_FREQ_MIN
1673 int "Min CPU Frequency"
1674 depends on MSM_CPU_FREQ_SET_MIN_MAX
1675 default 245760
1676
1677endif # CPU_FREQ_MSM
1678
1679config MSM_CPU_AVS
1680 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1681 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1682 depends on ARCH_QSD8X50
1683 default n
1684 select MSM_AVS_HW
1685 help
1686 This enables the s/w control of Adaptive Voltage Scaling feature
1687 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1688 based on feedback from three ring oscillators in the CPU.
1689
1690config MSM_AVS_HW
1691 bool "Enable Adaptive Voltage Scaling (AVS)"
1692 default n
1693 help
1694 Enable AVS hardware to fine tune voltage at each frequency. The
1695 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1696 fine tune the voltages based on the feedback from the ring
1697 oscillators.
1698
1699config MSM_HW3D
1700 tristate "MSM Hardware 3D Register Driver"
1701 depends on ANDROID_PMEM
1702 default y
1703 help
1704 Provides access to registers needed by the userspace OpenGL|ES
1705 library.
1706
1707config MSM_ADSP
1708 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1709 tristate "MSM ADSP driver"
1710 depends on ANDROID_PMEM
1711 default y
1712 help
1713 Provides access to registers needed by the userspace aDSP library.
1714
1715config ADSP_RPC_VER
1716 hex
1717 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1718 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1719 depends on MSM_ADSP
1720 help
1721 Select proper ADSP RPC version
1722choice
1723 prompt "ADSP RPC version"
1724
1725 default AMSS_7X25_VERSION_2009
1726
1727 config AMSS_7X25_VERSION_2009
1728 bool "2.0.09"
1729
1730 config AMSS_7X25_VERSION_2008
1731 bool "2.0.08"
1732endchoice
1733
1734config MSM7KV2_AUDIO
1735 bool "MSM7K v2 audio"
1736 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1737 default y
1738 help
1739 Enables QDSP5V2-based audio drivers for audio playbacks and
1740 voice call.
1741
1742config MSM_ADSP_REPORT_EVENTS
1743 bool "Report modem events from the DSP"
1744 default y
1745 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1746 help
1747 Normally, only messages from the aDSP are reported to userspace.
1748 With this option, we report events from the aDSP as well.
1749
1750config MSM_QDSP6
1751 tristate "QDSP6 support"
1752 depends on ARCH_QSD8X50 && ANDROID_PMEM
1753 default y
1754 help
1755 Enable support for qdsp6. This provides audio and video functionality.
1756
1757config MSM8X60_AUDIO
1758 tristate "MSM8X60 audio support"
1759 depends on ARCH_MSM8X60 && ANDROID_PMEM
1760 default y
1761 help
1762 Enable support for qdsp6v2. This provides audio functionality.
1763
1764config MSM8X60_FTM_AUDIO_DEVICES
1765 bool "MSM8X60 audio factory test mode support"
1766 depends on MSM8X60_AUDIO
1767 help
1768 Enable support audio factory test mode devices. This is used
1769 in a production line environment.
1770
Ben Romberger45b351c2011-07-20 22:37:27 -07001771config RTAC
1772 bool "MSM8K real-time audio calibration support"
1773 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001774 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001775 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001776 audio operation
1777
1778config MSM7X27A_AUDIO
1779 bool "MSM7X27A audio support"
1780 depends on ARCH_MSM7X27A && MSM_ADSP
1781 default n
1782 help
1783 Enable support for 7x27a. This provides audio functionality.
1784
Justin Pauporea6cd2092011-06-22 16:19:45 -07001785config MSM_PROC_COMM_REGULATOR
Gregory Bean1963a2a2010-08-28 10:05:44 -07001786 bool
Justin Pauporea6cd2092011-06-22 16:19:45 -07001787 depends on MSM_PROC_COMM && REGULATOR
1788 help
1789 Enable regulator framework support for regulators managed by PMLIB
1790 on the modem, and controlled through proccomm calls.
1791
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001792config MSM_VREG_SWITCH_INVERTED
1793 bool "Reverse vreg switch polarity"
1794 default n
1795 help
1796 Reverses the enable and disable for vreg switch.
1797
1798config MSM_DMA_TEST
1799 tristate "MSM DMA test module"
1800 default m
1801 help
1802 Intended to be compiled as a module. Provides a device node
1803 and ioctls for testing the MSM dma system.
1804
1805config WIFI_CONTROL_FUNC
1806 bool "Enable WiFi control function abstraction"
1807 help
1808 Enables Power/Reset/Carddetect function abstraction
1809
1810config WIFI_MEM_PREALLOC
1811 depends on WIFI_CONTROL_FUNC
1812 bool "Preallocate memory for WiFi buffers"
1813 help
1814 Preallocates memory buffers for WiFi driver
1815
1816config QSD_AUDIO
1817 bool "QSD audio"
1818 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1819 default y
1820 help
1821 Provides PCM, MP3, and AAC audio playback.
1822
1823config AUDIO_AAC_PLUS
1824 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1825 bool "AAC+ Audio"
1826 default y
1827 help
1828 Provides AAC+ decoding
1829
1830config AUDIO_ENHANCED_AAC_PLUS
1831 depends on AUDIO_AAC_PLUS
1832 bool "Enhanced AAC+ Audio"
1833 default y
1834 help
1835 Provides Enhanced AAC+ decoding
1836
1837config SURF_FFA_GPIO_KEYPAD
1838 bool "MSM SURF/FFA GPIO keypad"
1839 depends on INPUT_GPIO = "y"
1840 default y
1841 help
1842 Select if the GPIO keypad is attached.
1843
1844config MSM_SLEEP_TIME_OVERRIDE
1845 bool "Allow overriding suspend/sleep time with PM module parameter"
1846 default y
1847 help
1848 Enable the module parameter sleep_time_override. Specified
1849 in units of seconds, it overwrites the normal sleep time of
1850 suspend. The feature is required for automated power management
1851 testing.
1852
1853config MSM_MEMORY_LOW_POWER_MODE
1854 bool "Control the low power modes of memory"
1855 default n
1856 help
1857 The application processor controls whether memory should enter
1858 which low power mode.
1859
1860choice
1861 prompt "Default Memory Low Power Mode during Idle"
1862 depends on MSM_MEMORY_LOW_POWER_MODE
1863 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1864 help
1865 Selects the default low power mode of the memory during idle
1866 sleep.
1867
1868 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1869 bool "Memory active"
1870
1871 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1872 bool "Memory in retention"
1873
1874 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1875 bool "Memory in deep power down"
1876endchoice
1877
1878choice
1879 prompt "Default Memory Low Power Mode during Suspend"
1880 depends on MSM_MEMORY_LOW_POWER_MODE
1881 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1882 help
1883 Selects the default low power mode of the memory during suspend
1884 sleep.
1885
1886 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1887 bool "Memory active"
1888
1889 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1890 bool "Memory in retention"
1891
1892 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1893 bool "Memory in deep power down"
1894endchoice
1895
1896choice
1897 prompt "Power management timeout action"
1898 default MSM_PM_TIMEOUT_HALT
1899 help
1900 Selects the Application Processor's action when Power Management
1901 times out waiting for Modem's handshake.
1902
1903 config MSM_PM_TIMEOUT_HALT
1904 bool "Halt the Application Processor"
1905
1906 config MSM_PM_TIMEOUT_RESET_MODEM
1907 bool "Reset the Modem Processor"
1908
1909 config MSM_PM_TIMEOUT_RESET_CHIP
1910 bool "Reset the entire chip"
1911endchoice
1912
1913config MSM_IDLE_WAIT_ON_MODEM
1914 int "Wait for Modem to become ready for idle power collapse"
1915 default 0
1916 help
1917 If Modem is not ready to handle Application Processor's request
1918 for idle power collapse, wait the number of microseconds in case
1919 Modem becomes ready soon.
1920
Matt Wagantall9274df92011-12-15 11:11:05 -08001921config MSM_RPM_REGULATOR
1922 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001923 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001924 help
1925 Compile in support for the RPM regulator driver, used for setting
1926 voltages and other parameters of the various power rails supplied
1927 by some Qualcomm PMICs.
1928
David Collinsc7642322012-04-04 10:19:12 -07001929config MSM_RPM_REGULATOR_SMD
1930 bool "SMD RPM regulator driver"
1931 depends on REGULATOR
1932 depends on OF
1933 depends on MSM_RPM_SMD
1934 help
1935 Compile in support for the SMD RPM regulator driver which is used for
1936 setting voltages and other parameters of the various power rails
1937 supplied by some Qualcomm PMICs. The SMD RPM regulator driver should
1938 be used on systems which contain an RPM which communicates with the
1939 application processor over SMD.
1940
Stephen Boyd01710582012-07-09 13:40:05 -07001941config MSM_SUBSYSTEM_RESTART
1942 bool "MSM Subsystem Restart"
1943 help
1944 This option enables the MSM subsystem restart framework.
1945
1946 The MSM subsystem restart framework provides support to boot,
1947 shutdown, and restart subsystems with a reference counted API.
1948 It also notifies userspace of transitions between these states via
1949 sysfs.
1950
1951config MSM_SYSMON_COMM
1952 bool "MSM System Monitor communication support"
1953 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1954 help
1955 This option adds support for MSM System Monitor library, which
1956 provides an API that may be used for notifying subsystems within
1957 the SoC about other subsystems' power-up/down state-changes.
1958
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001959config MSM_PIL
1960 bool "Peripheral image loading"
1961 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001962 default n
1963 help
1964 Some peripherals need to be loaded into memory before they can be
1965 brought out of reset.
1966
1967 Say yes to support these devices.
1968
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001969config MSM_PIL_MODEM
1970 tristate "Modem (ARM11) Boot Support"
Stephen Boyd3ac20732012-05-03 18:46:08 -07001971 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001972 help
1973 Support for booting and shutting down ARM11 Modem processors.
1974
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001975config MSM_PIL_QDSP6V3
1976 tristate "QDSP6v3 (Hexagon) Boot Support"
Stephen Boyd2e19d932012-05-09 17:36:04 -07001977 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001978 help
1979 Support for booting and shutting down QDSP6v3 processors (hexagon).
1980 The QDSP6 is a low power DSP used in audio software applications.
1981
Stephen Boydbdb53f32012-06-05 18:39:47 -07001982config MSM_PIL_LPASS_QDSP6V4
1983 tristate "LPASS QDSP6v4 (Hexagon) Boot Support"
Stephen Boyda1cf76b2012-06-13 12:05:35 -07001984 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydeb819882011-08-29 14:46:30 -07001985 help
Stephen Boydbdb53f32012-06-05 18:39:47 -07001986 Support for booting and shutting down QDSP6v4 processors (hexagon)
1987 in low power audio subsystems. If you would like to record or
1988 play audio then say Y here.
1989
1990 If unsure, say N.
1991
1992config MSM_PIL_MODEM_QDSP6V4
1993 tristate "Modem QDSP6v4 (Hexagon) Boot Support"
Stephen Boyd2efa9962012-06-12 14:20:12 -07001994 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydbdb53f32012-06-05 18:39:47 -07001995 help
1996 Support for booting and shutting down QDSP6v4 processors (hexagon)
1997 in modem subsystems. If you would like to make or receive phone
1998 calls then say Y here.
1999
2000 If unsure, say N.
Stephen Boydeb819882011-08-29 14:46:30 -07002001
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07002002config MSM_PIL_LPASS_QDSP6V5
Stephen Boyd633eb622012-06-13 12:05:35 -07002003 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
2004 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
2005 help
2006 Support for booting and shutting down QDSP6v5 (Hexagon) processors
2007 in low power audio subsystems. This driver also monitors the ADSP
2008 SMSM status bits and the ADSP's watchdog interrupt and restarts the
2009 ADSP if the processor encounters a fatal error.
Matt Wagantall4e2599e2012-03-21 22:31:35 -07002010
2011config MSM_PIL_MSS_QDSP6V5
Stephen Boyd3da4fd02012-07-06 10:00:12 -07002012 tristate "MSS QDSP6v5 (Hexagon) Boot Support"
2013 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantalle6e00d52012-03-08 17:39:07 -08002014 help
Stephen Boyd3da4fd02012-07-06 10:00:12 -07002015 Support for booting and shutting down QDSP6v5 (Hexagon) processors
2016 in modem subsystems. If you would like to make or receive phone
2017 calls then say Y here.
2018
2019 If unsure, say N.
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07002020
Stephen Boyd322a9922011-09-20 01:05:54 -07002021config MSM_PIL_RIVA
2022 tristate "RIVA (WCNSS) Boot Support"
Stephen Boydfdec00d2012-05-10 17:04:49 -07002023 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd322a9922011-09-20 01:05:54 -07002024 help
2025 Support for booting and shutting down the RIVA processor (WCNSS).
2026 Riva is the wireless subsystem processor used in bluetooth, wireless
2027 LAN, and FM software applications.
2028
Stephen Boydd89eebe2011-09-28 23:28:11 -07002029config MSM_PIL_TZAPPS
2030 tristate "TZApps Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002031 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boydd89eebe2011-09-28 23:28:11 -07002032 help
2033 Support for booting and shutting down TZApps.
2034
2035 TZApps is an image that runs in the secure processor state. It is
2036 used to decrypt data and perform secure operations on the behalf of
2037 the kernel.
2038
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07002039config MSM_PIL_DSPS
2040 tristate "DSPS Boot Support"
Stephen Boydf169b4b2012-05-10 17:55:55 -07002041 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07002042 help
2043 Support for booting and shutting down ARM7 DSPS processors.
2044
2045 DSPS is a sensors offloading processor used for applications such
2046 as rotation detection, temperature, etc.
2047
Stephen Boyd7b973de2012-03-09 12:26:16 -08002048config MSM_PIL_VIDC
2049 tristate "Video Core Secure Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002050 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd7b973de2012-03-09 12:26:16 -08002051 help
2052 Support for authenticating the video core image.
2053
Tianyi Gou828798d2012-05-02 21:12:38 -07002054config MSM_PIL_VENUS
2055 tristate "VENUS (Video) Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002056 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Tianyi Gou828798d2012-05-02 21:12:38 -07002057 help
2058 Support for booting and shutting down the VENUS processor (Video).
2059 Venus is the Video subsystem processor used for video codecs.
2060
Matt Wagantall292aace2012-01-26 19:12:34 -08002061config MSM_PIL_GSS
Stephen Boydd86214b2012-05-10 15:26:35 -07002062 tristate "GSS (Cortex A5) Boot Support"
2063 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantall292aace2012-01-26 19:12:34 -08002064 help
2065 Support for booting and shutting down Cortex A5 processors which run
2066 GPS subsystem firmware.
2067
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002068config MSM_PIL_PRONTO
2069 tristate "PRONTO (WCNSS) Boot Support"
Stephen Boyd581fe852012-06-13 12:05:35 -07002070 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002071 help
2072 Support for booting and shutting down the PRONTO processor (WCNSS).
2073 PRONTO is the wireless subsystem processor used in bluetooth, wireless
2074 LAN, and FM software applications.
2075
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002076config MSM_SCM
2077 bool "Secure Channel Manager (SCM) support"
2078 default n
2079
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002080config SCORPION_Uni_45nm_BUG
2081 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
2082 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
2083 default y
2084 help
2085 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
2086 invalidating the Branch Predictor Array by Modified Virtual Address can
2087 create invalid entries in the TLB with the wrong ASID values on Scorpion
2088 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
2089 workaround for Scorpion Uniprocessor 45nm cores.
2090
2091 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
2092
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002093config MSM_BUSPM_DEV
2094 tristate "MSM Bus Performance Monitor Kernel Module"
2095 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
2096 default m
2097 help
2098 This kernel module is used to mmap() hardware registers for the
2099 performance monitors, counters, etc. The module can also be used to
2100 allocate physical memory which is used by bus performance hardware to
2101 dump performance data.
2102
Mona Hossain11c03ac2011-10-26 12:42:10 -07002103config MSM_TZ_LOG
2104 tristate "MSM Trust Zone (TZ) Log Driver"
2105 depends on DEBUG_FS
2106 help
2107 This option enables a driver with a debugfs interface for messages
2108 produced by the Secure code (Trust zone). These messages provide
2109 diagnostic information about TZ operation.
2110
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002111config MSM_RPM_LOG
2112 tristate "MSM Resource Power Manager Log Driver"
2113 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002114 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002115 default n
2116 help
2117 This option enables a driver which can read from a circular buffer
2118 of messages produced by the RPM. These messages provide diagnostic
2119 information about RPM operation. The driver outputs the messages
2120 via a debugfs node.
2121
2122config MSM_RPM_STATS_LOG
2123 tristate "MSM Resource Power Manager Stat Driver"
2124 depends on DEBUG_FS
Priyanka Mathur1af9d4b2012-10-30 14:55:44 -07002125 depends on MSM_RPM || MSM_RPM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002126 default n
2127 help
2128 This option enables a driver which reads RPM messages from a shared
2129 memory location. These messages provide statistical information about
2130 the low power modes that RPM enters. The drivers outputs the message
2131 via a debugfs node.
2132
Girish Mahadevan898c56d2012-06-05 16:09:19 -06002133config MSM_RPM_RBCPR_STATS_LOG
2134 tristate "MSM Resource Power Manager RPBCPR Stat Driver"
2135 depends on DEBUG_FS
2136 depends on MSM_RPM
2137 help
2138 This option enables a driver which reads RPM messages from a shared
2139 memory location. These messages provide statistical information about
2140 RBCPR (Rapid Bridge Core Power Reduction) information . The drivers
2141 outputs the message via a debugfs node.
2142
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002143config MSM_DIRECT_SCLK_ACCESS
2144 bool "Direct access to the SCLK timer"
2145 default n
2146
2147config IOMMU_API
2148 bool
Gregory Bean1963a2a2010-08-28 10:05:44 -07002149
Brian Swetland9e73c842007-11-26 04:12:13 -08002150config MSM_GPIOMUX
2151 bool
2152
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002153config MSM_SECURE_IO
Brian Swetland9e73c842007-11-26 04:12:13 -08002154 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002155
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002156config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002157 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002158
Taniya Dascd1d0232012-07-03 17:50:47 +05302159config MSM_MODEM_RESTART
2160 bool
2161
Matt Wagantall88b86312012-01-31 16:53:03 -08002162config MSM_PM2
2163 depends on PM
2164 bool
2165
2166config MSM_PM8X60
2167 depends on PM
2168 bool
2169
Girish Mahadevan388c3082012-09-10 15:30:36 -06002170config MSM_EVENT_TIMER
2171 bool "Event timer"
2172 help
2173 This option enables a modules that manages a list of event timers that
2174 need to be monitored by the PM. The enables the PM code to monitor
2175 events that require the core to be awake and ready to handle the
2176 event.
2177
Matt Wagantall88b86312012-01-31 16:53:03 -08002178config MSM_NOPM
2179 default y if !PM
2180 bool
2181
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002182config MSM_BUS_SCALING
2183 bool "Bus scaling driver"
2184 default n
2185
Gagan Mac85c70492011-06-10 16:07:47 -06002186config MSM_BUS_RPM_MULTI_TIER_ENABLED
2187 bool "RPM Multi-tiering Configuration"
2188 depends on MSM_BUS_SCALING
2189
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002190config MSM_WATCHDOG
2191 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002192 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002193 help
2194 This enables the watchdog as is present on 8x60. Currently we use
2195 core 0's watchdog, and reset the entire SoC if it times out. It does
2196 not run during the bootup process, so it will not catch any early
2197 lockups.
2198
Hanumant Singhd1f01022012-07-05 14:21:53 -07002199config MSM_WATCHDOG_V2
2200 bool "MSM Watchdog Support"
2201 help
2202 This enables the watchdog module. It causes kernel panic if the
2203 watchdog times out. It allows for detection of cpu hangs and
2204 deadlocks. It does not run during the bootup process, so it will
2205 not catch any early lockups.
2206
Hanumant Singh5e2541c2012-07-31 14:41:14 -07002207config MSM_MEMORY_DUMP
2208 bool "MSM Memory Dump Support"
2209 help
2210 This enables memory dump feature. It allows various client
2211 subsystems to register respective dump regions. At the time
2212 of deadlocks or cpu hangs these dump regions are captured to
2213 give a snapshot of the system at the time of the crash.
2214
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002215config MSM_DLOAD_MODE
2216 bool "Enable download mode on crashes"
Abhimanyu Kapurdd7f2692012-10-22 13:43:52 -07002217 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_MSM8974 || ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002218 default n
2219 help
2220 This makes the SoC enter download mode when it resets
2221 due to a kernel panic. Note that this doesn't by itself
2222 make the kernel reboot on a kernel panic - that must be
2223 enabled via another mechanism.
2224
Pratik Patel17f3b822011-11-21 12:41:47 -08002225config MSM_JTAG
Pratik Patel2963de42012-05-17 12:43:40 -07002226 bool "JTAG and kernel debug and trace support across power collapse"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002227 help
Pratik Patel2963de42012-05-17 12:43:40 -07002228 Enables support for kernel debugging (specifically breakpoints) and
2229 processor tracing across power collapse both for JTag and OS hosted
2230 software running on the target. Enabling this will ensure debug
2231 and ETM registers are saved and restored across power collapse.
2232
2233 For production builds, you should probably say 'N' here to avoid
2234 potential power, performance and memory penalty.
Pratik Patel7831c082011-06-08 21:44:37 -07002235
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002236config MSM_ETM
2237 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002238 depends on ARCH_MSM8X60
2239 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002240 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002241 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002242
Lynus Vazdde09ee2012-01-05 13:28:22 +05302243config MSM_SLEEP_STATS_DEVICE
2244 bool "Enable exporting of MSM sleep device stats to userspace"
2245
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302246config MSM_RUN_QUEUE_STATS
2247 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Krishna Vankae2922052012-03-02 09:59:12 +05302248 depends on (MSM_SOC_REV_A || ARCH_MSM8X60 || ARCH_MSM8960)
2249 help
2250 This option enalbes statistics collection on Run Queue. A daemon
2251 in user mode, called MPDecision will be using this data to decide
2252 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302253
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002254config MSM_STANDALONE_POWER_COLLAPSE
2255 bool "Enable standalone power collapse"
2256 default n
2257
2258config MSM_GSBI9_UART
2259 bool "Enable GSBI9 UART device"
2260 default n
2261 help
2262 This enables GSBI9 configured into UART.
2263
2264config MSM_SHARED_GPIO_FOR_UART2DM
2265 bool "Use shared GPIOs into UART mode"
2266 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2267 help
2268 This option configures GPIO muxed with SDC4/MMC3
2269 8-bit mode into UART mode. It is used for serial
2270 console on UART2DM. Say Y if you want to have
2271 serial console on UART2DM.
2272
2273config MSM_SHOW_RESUME_IRQ
2274 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002275 depends on (ARM_GIC || PMIC8058)
2276 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002277 default n
2278 help
2279 This option logs wake up interrupts that have triggered just before
2280 the resume loop unrolls. Say Y if you want to debug why the system
2281 resumed.
2282
2283config BT_MSM_PINTEST
2284 tristate "MSM Bluetooth Pin Connectivity Test"
2285 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2286 default n
2287 help
2288 Bluetooth MSM Pin Connectivity test module.
2289 This driver provides support for verifying the MSM to BT pin
2290 connectivity.
2291
2292config MSM_FAKE_BATTERY
2293 depends on POWER_SUPPLY
2294 default n
2295 bool "MSM Fake Battery"
2296 help
2297 Enables MSM fake battery driver.
2298
2299config MSM_QDSP6_APR
2300 bool "Audio QDSP6 APR support"
2301 depends on MSM_SMD
2302 default n
2303 help
2304 Enable APR IPC protocol support between
2305 application processor and QDSP6. APR is
2306 used by audio driver to configure QDSP6's
2307 ASM, ADM and AFE.
2308
Joonwoo Park91d95462012-08-02 10:55:54 -07002309config MSM_QDSP6_APRV2
2310 bool "Audio QDSP6 APRv2 support"
2311 depends on MSM_SMD
2312 default n
2313 help
2314 Enable APRv2 IPC protocol support between
2315 application processor and QDSP6. APR is
2316 used by audio driver to configure QDSP6's
2317 ASM, ADM and AFE.
2318
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -07002319config MSM_QDSP6_CODECS
2320 bool "Audio Codecs on QDSP6 APR "
2321 depends on MSM_SMD
2322 default n
2323 help
2324 Enable Audio codecs with APR IPC protocol support between
2325 application processor and QDSP6. APR is
2326 used by audio driver to configure QDSP6's
2327 ASM, ADM and AFE.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002328
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002329config MSM_QDSP6V2_CODECS
2330 bool "Audio QDSP6V2 APR support"
2331 depends on MSM_SMD
2332 help
2333 Enable Audio codecs with APR IPC protocol support between
2334 application processor and QDSP6 for B-family. APR is
2335 used by audio driver to configure QDSP6's
2336 ASM, ADM and AFE.
2337
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002338config MSM_AUDIO_QDSP6
2339 bool "QDSP6 HW Audio support"
2340 select SND_SOC_MSM_QDSP6_INTF
2341 default n
2342 help
2343 Enable HW audio support in QDSP6.
2344 QDSP6 can support HW encoder & decoder and audio processing
2345
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002346config MSM_AUDIO_QDSP6V2
2347 bool "QDSP6V2 HW Audio support"
2348 select SND_SOC_MSM_QDSP6V2_INTF
2349 help
2350 Enable HW audio support in QDSP6V2.
2351 QDSP6V2 can support HW encoder & decoder and
2352 audio processing. It will enable support for
2353 AAC, AMRNB, AMRWB, EVRC, MP3, QCELP among
2354 others.
2355
Joonwoo Park4a14a552012-08-02 11:03:21 -07002356config MSM_ADSP_LOADER
2357 tristate "ADSP loader support"
2358 select SND_SOC_MSM_APRV2_INTF
2359 depends on MSM_AUDIO_QDSP6V2 && m
2360 help
2361 Enable ADSP image loader.
2362 The ADSP loader brings ADSP out of reset
2363 for the platforms that use APRv2.
2364 Say M if you want to enable this module.
2365
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +02002366config MSM_ULTRASOUND_A
2367 bool "QDSP6 HW Ultrasound support"
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002368 help
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +02002369 Enable HW ultrasound support in QDSP6.
2370 QDSP6 can support HW encoder & decoder and
2371 ultrasound processing. It will enable
2372 ultrasound data paths between
2373 HW and services, calculating input events
2374 upon the ultrasound data.
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002375
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002376config MSM_RPC_VIBRATOR
2377 bool "RPC based MSM Vibrator Support"
2378 depends on MSM_ONCRPCROUTER
2379 help
2380 Enable the vibrator support on MSM over RPC. The vibrator
2381 is connected on the PMIC. Say Y if you want to enable this
2382 feature.
2383
2384config PM8XXX_RPC_VIBRATOR
2385 bool "RPC based Vibrator on PM8xxx PMICs"
2386 depends on MSM_RPC_VIBRATOR
2387 help
2388 Enable the vibrator support on MSM over RPC. The vibrator
2389 is connected on the PM8XXX PMIC. Say Y if you want to enable
2390 this feature.
2391
2392config MSM_SPM_V1
2393 bool "Driver support for SPM Version 1"
2394 help
2395 Enables the support for Version 1 of the SPM driver. SPM hardware is
2396 used to manage the processor power during sleep. The driver allows
2397 configuring SPM to allow different power modes.
2398
2399config MSM_SPM_V2
2400 bool "Driver support for SPM Version 2"
2401 help
2402 Enables the support for Version 2 of the SPM driver. SPM hardware is
2403 used to manage the processor power during sleep. The driver allows
2404 configuring SPM to allow different power modes.
2405
2406config MSM_L2_SPM
2407 bool "SPM support for L2 cache"
2408 depends on MSM_SPM_V2
2409 help
2410 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2411 control of L2 cache low power mode with a Subsystem Power manager.
2412 Enabling this driver allows configuring L2 SPM for low power modes
2413 on supported chipsets.
2414
Laura Abbott2d1760b2011-09-29 21:31:24 -07002415config MSM_MULTIMEDIA_USE_ION
2416 bool "Multimedia suport using Ion"
2417 depends on ION_MSM
2418 help
2419 Enable support for multimedia drivers using Ion for buffer management
2420 instead of pmem. Selecting this may also involve userspace
2421 dependencies as well.
2422
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002423config MSM_OCMEM
2424 bool "MSM On-Chip memory driver (OCMEM)"
2425 help
2426 Enable support for On-Chip Memory available on certain MSM chipsets.
2427 OCMEM is a low latency, high performance pool shared by subsystems.
2428
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002429config MSM_OCMEM_LOCAL_POWER_CTRL
2430 bool "OCMEM Local Power Control"
2431 depends on MSM_OCMEM
2432 help
2433 Enable direct power management of the OCMEM core by the
2434 OCMEM driver. By default power management is delegated to
2435 the RPM. Selecting this option causes the OCMEM driver to
2436 directly handle the various macro power transitions.
2437
2438config MSM_OCMEM_DEBUG
2439 bool "OCMEM Debug Support"
2440 depends on MSM_OCMEM
2441 help
2442 Enable debug options for On-chip Memory (OCMEM) driver.
2443 Various debug options include memory, power and latency.
2444 Choosing one of these options allows debugging of each
2445 individual subsystem separately.
2446
Naveen Ramarajc71b2de2012-08-20 12:35:52 -07002447config MSM_OCMEM_NONSECURE
2448 bool "OCMEM Non Secure Mode"
2449 depends on MSM_OCMEM_DEBUG
2450 help
2451 Disable OCMEM interaction with secure processor.
2452 By default OCMEM is secured and accesses for each master
2453 is requested by the OCMEM driver. Selecting this option
2454 causes the OCMEM memory to be in non-secure state unless
2455 its locked down by the secure processor.
2456
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002457config MSM_OCMEM_POWER_DEBUG
2458 bool "OCMEM Power Debug Support"
2459 depends on MSM_OCMEM_DEBUG
2460 help
2461 Enable debug support for OCMEM power management.
2462 This adds support for verifying all power management
2463 related operations of OCMEM. Both local power management
2464 and RPM assisted power management operations are supported.
2465
Naveen Ramaraj4b1d9392012-08-06 21:05:14 -07002466config MSM_OCMEM_POWER_DISABLE
2467 bool "OCMEM Disable Power Control"
2468 depends on MSM_OCMEM_DEBUG
2469 help
2470 Disable all OCMEM power management.
2471 This keeps all OCMEM macros turned ON at all times thus
2472 never allowing them to be turned OFF. Both local power
2473 management and RPM assisted power modes are supported.
2474
Laura Abbottad340ff2012-01-04 14:23:48 -08002475config MSM_RTB
2476 bool "Register tracing"
2477 help
2478 Add support for logging different events to a small uncached
2479 region. This is designed to aid in debugging reset cases where the
2480 caches may not be flushed before the target resets.
2481
2482config MSM_RTB_SEPARATE_CPUS
2483 bool "Separate entries for each cpu"
2484 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002485 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002486 help
2487 Under some circumstances, it may be beneficial to give dedicated space
2488 for each cpu to log accesses. Selecting this option will log each cpu
2489 separately. This will guarantee that the last acesses for each cpu
2490 will be logged but there will be fewer entries per cpu
2491
Stepan Moskovchenko57884842012-06-07 17:35:49 -07002492config MSM_EBI_ERP
2493 bool "External Bus Interface (EBI) error reporting"
2494 help
2495 Say 'Y' here to enable reporting of external bus interface errors to
2496 the kernel log. Information such as the offending address and
2497 transaction type will be logged. This may be useful for debugging
2498 seemingly broken memory accesses.
2499
2500 For production builds, you should probably say 'N' here.
2501
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002502config MSM_CACHE_ERP
2503 bool "Cache / CPU error reporting"
2504 depends on ARCH_MSM_KRAIT
2505 help
2506 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2507 log. Enabling this feature can be used as a system debugging technique
2508 if cache corruption is suspected. Cache error statistics will also be
2509 reported in /proc/cpu/msm_cache_erp.
2510
2511 For production builds, you should probably say 'N' here.
2512
2513config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002514 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002515 depends on MSM_CACHE_ERP
2516 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002517 To cause the kernel to panic whenever an L1 cache error is detected, say
2518 'Y' here. This may be useful as a debugging technique if general system
2519 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002520
2521 For production builds, you should probably say 'N' here.
2522
Stepan Moskovchenko7035f652012-05-31 17:48:01 -07002523config MSM_L1_ERR_LOG
2524 bool "Log CPU ERP events to system memory"
2525 depends on MSM_CACHE_ERP
2526 help
2527 Enable logging CPU ERP events to an area of memory that will be
2528 preserved across a system reset. This may be useful for detecting and
2529 troubleshooting ERP-related system crashes in the field.
2530
2531 For production builds, you may want to say 'Y' here.
2532
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002533config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2534 bool "Report L2 master port slave/decode errors in kernel log"
2535 depends on MSM_CACHE_ERP
2536 help
2537 Master port errors can occur when a memory request is not properly
2538 handled by the destination slave. This can occur if the destination
2539 register does not exist or is inaccessible due to security
2540 restrictions or (in some cases) clock configuration. Enabling this
2541 option will cause a backtrace to be printed to the kernel log whenever
2542 such an error is encountered. Note that the error is reported as an
2543 interrupt rather than as an exception, meaning that the backtrace may
2544 have some skid. This option may help with debugging, though production
2545 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002546
2547config MSM_L2_ERP_PORT_PANIC
2548 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002549 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002550 help
2551 Master port errors can occur when a memory request is not properly
2552 handled by the destination slave. Enable this option to catch drivers
2553 which attempt to access bad areas of the address space, or access
2554 hardware registers in an improper state (such as certain clocks not
2555 being on). This option may help with debugging, though production
2556 builds should probably say 'N' here.
2557
2558config MSM_L2_ERP_1BIT_PANIC
2559 bool "Panic on recoverable L2 soft errors"
2560 depends on MSM_CACHE_ERP
2561 help
2562 Enable this option to cause a kernel panic whenever the L2 cache
2563 encounters a single-bit (correctable) soft error. This option should
2564 only be enabled when doing low-level debugging where cache corruption
2565 is suspected.
2566
2567 For production builds, you should definitely say 'N' here.
2568
2569config MSM_L2_ERP_2BIT_PANIC
2570 bool "Panic on unrecoverable L2 soft errors"
2571 depends on MSM_CACHE_ERP
2572 help
2573 Enable this option to cause a kernel panic whenever the L2 cache
2574 encounters a double-bit (non-correctable) soft error. Debug builds
2575 will likely benefit from having this option enabled to catch cache
2576 problems as soon as possible.
2577
2578 For production builds, it may be acceptable to say 'N' here, since
2579 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002580
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002581config MSM_DCVS
2582 bool "Use MSM DCVS for CPU/GPU Frequency control"
2583 depends on MSM_SCM
2584 help
2585 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2586 The DCVS manager allows idle driver to feed the idle information to the
2587 algorithm and the algorithm returns a frequency for the core which is
2588 passed to the frequency change driver.
2589
Pankaj Kumar32ce1ea2012-04-04 20:29:29 +05302590config MSM_CPR
2591 tristate "Use MSM CPR in S/W mode"
2592 help
2593 Enable CPR (core power reduction) in S/W mode, where the processor
2594 get's the notification from CPR block and programs the PMIC.
2595
2596config MSM_VP_REGULATOR
2597 tristate "Use MSM PMIC8029 C2 regulator"
2598 depends on ARCH_MSM8625
2599 help
2600 Enable MSM PMIC8029 C2 regulator support using APC_PLEVEL access
2601 for MSMs like 8625.
2602
Taniya Dasc43e6872012-03-21 16:41:14 +05302603config HAVE_ARCH_HAS_CURRENT_TIMER
2604 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002605
2606config MSM_CACHE_DUMP
2607 bool "Cache dumping support"
2608 help
2609 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2610 This allows for analysis of the caches in case cache corruption is
2611 suspected.
2612
Laura Abbott7b637362012-03-29 16:43:49 -07002613config MSM_CACHE_DUMP_ON_PANIC
2614 bool "Dump caches on panic"
2615 depends on MSM_CACHE_DUMP
2616 help
2617 By default, the caches are flushed on panic. This means that trying to
2618 look at them in a RAM dump will give useless data. Select this if you
2619 want to dump the L1 and L2 caches on panic before any flush occurs.
2620 If unsure, say N
2621
Jack Phamccbbfab2012-04-09 19:50:20 -07002622config MSM_HSIC_SYSMON
2623 tristate "MSM HSIC system monitor driver"
2624 depends on USB
2625 help
2626 Add support for bridging with the system monitor interface of MDM
2627 over HSIC. This driver allows the local system monitor to
2628 communicate with the remote system monitor interface.
2629
2630config MSM_HSIC_SYSMON_TEST
2631 tristate "MSM HSIC system monitor bridge test"
2632 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2633 help
2634 Enable the test hook for the Qualcomm system monitor HSIC driver.
2635 This will create a debugfs file entry named "hsic_sysmon_test" which
2636 can be read and written to send character data to the sysmon port of
2637 the modem over USB.
2638
Anirudh Ghayal0d2291a2012-09-20 21:31:41 +05302639config MSM_RPC_PMIC
2640 tristate "MSM RPC PMIC driver"
2641 depends on MSM_ONCRPCROUTER
2642 help
2643 This driver supports the PMIC functionality over RPC for those MSM's
2644 which do not have a direct access to PMIC. It supports ability to
2645 configure MPP, GPIO and all the other supported peripherals of the
2646 PMIC.
2647
Anirudh Ghayald3a63732012-09-20 22:13:13 +05302648config MSM_RPC_USB
2649 tristate "MSM RPC USB driver"
2650 depends on MSM_ONCRPCROUTER
2651 help
2652 This driver supports the USB configuration support over the RPC
2653 interface. It support the HS USB module connected to the MSM
2654 and FS USB which is connected over the PMIC. This support is
2655 required for MSMs on which the APPS does not have a direct access
2656 to the PMIC.
2657
2658config MSM_RPC_PMAPP
2659 tristate "MSM RPC PMIC APP driver"
2660 depends on MSM_ONCRPCROUTER
2661 help
2662 This driver supports the configuration of various PMIC APP modules
2663 such as display backlight, vreg pin-ctrl, smps clock over the RPC
2664 interface. This support is required for MSMs on which the APPS
2665 does not have a direct access to the PMIC.
Pushkar Joshi0fc73462012-09-26 17:59:31 -07002666
2667config MSM_ENABLE_WDOG_DEBUG_CONTROL
2668 bool "MSM Watchdog driver to disable debug Image"
2669 help
2670 This driver supports the configuration of the GCC_WDOG_DEBUG register
2671 used to control debug image.
2672 This support is currently required for MSM8974 to disable debug image
2673 on PS HOLD reset
Taniya Dasea4263f92012-08-22 18:52:51 +05302674
2675config MSM_FIQ
2676 bool "Enable FIQ for debugging"
2677 depends on ARCH_MSM8625
2678 select FIQ
Taniya Das36e4aa12012-07-04 18:27:16 +05302679 select GIC_SECURE
Taniya Dasea4263f92012-08-22 18:52:51 +05302680 help
2681 Enable any line to be used as an FIQ. This will help debugging
2682 if apps is not responding and holding lock with irqs disabled.
2683 Modem will then generate an raise a FIQ on this line before sending
2684 SMSM reset.
Greg Reidb1d240a2012-10-12 12:20:31 -04002685
2686config MSM_USE_USER_ACCESSIBLE_TIMERS
2687 bool "Enables mapping an MSM timer counter page to user space."
2688 depends on ARM_USE_USER_ACCESSIBLE_TIMERS
2689 help
2690 Enables MSM-specific user accessible timers via a shared
2691 memory page containing the cycle counter.
2692
Sidipotu Ashokbf84d4d2012-11-06 17:13:28 +05302693config USE_DEV_CTRL_VOLUME
2694 bool "Use Device Control Volume"
2695 help
2696 Use Device Control Volume as opposed to ALSA volume control.
2697
Brian Swetland9e73c842007-11-26 04:12:13 -08002698endif