blob: 245cffbed43f45f2fc6df06cdba25db7a56d6fb4 [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_HAS_HOLES_MEMORYMODEL
Larry Basseld4d82c92011-12-07 09:52:49 -0800171 select CLEANCACHE
172 select QCACHE
Laura Abbott6d61a912011-10-27 16:44:14 -0700173 select MSM_MULTIMEDIA_USE_ION
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530174 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800175 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700176 select HOLES_IN_ZONE if SPARSEMEM
Krishna Vankae2922052012-03-02 09:59:12 +0530177 select MSM_RUN_QUEUE_STATS
Laura Abbottb14ed962012-01-30 14:18:08 -0800178 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700179 select MSM_KRAIT_WFE_FIXUP
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +0200180 select MSM_ULTRASOUND_A
Olav Haugan5e728722012-11-05 17:45:26 -0800181 select MSM_IOMMU_GPU_SYNC
Greg Reidb1d240a2012-10-12 12:20:31 -0400182 select GENERIC_TIME_VSYSCALL
183 select USE_USER_ACCESSIBLE_TIMERS
184 select ARM_USE_USER_ACCESSIBLE_TIMERS
185 select MSM_USE_USER_ACCESSIBLE_TIMERS
Jay Chokshi06e444f2012-12-06 20:48:23 -0800186 select MSM_CPU_PWRCTL
Priyanka Mathurdcaaaa9f2012-12-05 18:51:03 -0800187 select MSM_LPM_TEST
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800188
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700189config ARCH_MSM8930
190 bool "MSM8930"
191 select ARCH_MSM_KRAITMP
192 select ARM_GIC
193 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700194 select GPIO_MSM_V2
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700195 select MSM_GPIOMUX
196 select MSM_SCM if SMP
197 select MSM_DIRECT_SCLK_ACCESS
198 select REGULATOR
David Collins5779cea2012-01-05 15:09:21 -0800199 select MSM_RPM_REGULATOR
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700200 select MSM_RPM
201 select MSM_XO
202 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700203 select MSM_QDSP6_CODECS
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700204 select MSM_PIL
205 select MSM_AUDIO_QDSP6 if SND_SOC
206 select CPU_HAS_L2_PMU
207 select MSM_SPM_V2
208 select MSM_L2_SPM
209 select MSM_NATIVE_RESTART
210 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600211 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700212 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
Jay Chokshi06e444f2012-12-06 20:48:23 -0800224 select MSM_CPU_PWRCTL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700225
226config ARCH_APQ8064
227 bool "APQ8064"
228 select ARCH_MSM_KRAITMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700229 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700230 select ARM_GIC
231 select CPU_V7
232 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700233 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600234 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800235 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800236 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700237 select MSM_QDSP6_CODECS
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800238 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530239 select MULTI_IRQ_HANDLER
Praveen Chidambaram78499012011-11-01 17:15:17 -0600240 select MSM_RPM
241 select MSM_SPM_V2
242 select MSM_L2_SPM
Matt Wagantall88b86312012-01-31 16:53:03 -0800243 select MSM_PM8X60 if PM
Neil Leeder814d3d32012-01-19 17:21:43 -0500244 select CPU_HAS_L2_PMU
Laura Abbott085dd202012-03-30 14:02:34 -0700245 select HOLES_IN_ZONE if SPARSEMEM
Larry Bassel67b921d2012-04-06 10:23:27 -0700246 select CLEANCACHE
247 select QCACHE
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -0600248 select MIGHT_HAVE_PCI
249 select ARCH_SUPPORTS_MSI
Laura Abbottb14ed962012-01-30 14:18:08 -0800250 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700251 select MSM_KRAIT_WFE_FIXUP
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +0200252 select MSM_ULTRASOUND_A
Olav Haugan5e728722012-11-05 17:45:26 -0800253 select MSM_IOMMU_GPU_SYNC
Greg Reidb1d240a2012-10-12 12:20:31 -0400254 select GENERIC_TIME_VSYSCALL
255 select USE_USER_ACCESSIBLE_TIMERS
256 select ARM_USE_USER_ACCESSIBLE_TIMERS
257 select MSM_USE_USER_ACCESSIBLE_TIMERS
Jay Chokshi06e444f2012-12-06 20:48:23 -0800258 select MSM_CPU_PWRCTL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700259
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700260config ARCH_MSM8974
261 bool "MSM8974"
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700262 select ARCH_MSM_KRAITMP
Sathish Ambley4149e842012-03-23 11:53:55 -0700263 select GPIO_MSM_V3
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700264 select ARM_GIC
265 select CPU_V7
266 select MSM_SCM if SMP
267 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530268 select MULTI_IRQ_HANDLER
Olav Hauganb800c8c2012-01-30 08:50:45 -0800269 select MSM_MULTIMEDIA_USE_ION
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700270 select MSM_PIL
Praveen Chidambaramaa9d52b2012-04-02 11:09:47 -0600271 select MSM_SPM_V2
272 select MSM_L2_SPM
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700273 select MSM_NATIVE_RESTART
274 select MSM_RESTART_V2
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600275 select MSM_PM8X60 if PM
Steve Mucklef132c6c2012-06-06 18:30:57 -0700276 select MAY_HAVE_SPARSE_IRQ
277 select SPARSE_IRQ
Mahesh Sivasubramaniancb668712012-04-04 13:03:25 -0600278 select MSM_RPM_SMD
David Collinsc7642322012-04-04 10:19:12 -0700279 select REGULATOR
Joonwoo Park91d95462012-08-02 10:55:54 -0700280 select MSM_QDSP6_APRV2
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -0700281 select MSM_QDSP6V2_CODECS
282 select MSM_AUDIO_QDSP6V2 if SND_SOC
David Collins1c91ea72012-05-03 16:17:35 -0700283 select MSM_RPM_REGULATOR_SMD
Laura Abbottb14ed962012-01-30 14:18:08 -0800284 select ARM_HAS_SG_CHAIN
Karthik Parsha404fb8f2012-07-30 19:14:05 -0700285 select MSM_RUN_QUEUE_STATS
Neeti Desai92eab922012-10-22 15:14:48 -0700286 select MEMORY_HOLE_CARVEOUT
Priyanka Mathur1af9d4b2012-10-30 14:55:44 -0700287 select MSM_RPM_STATS_LOG
Karthikeyan Ramasubramanian1edce9e2012-11-08 18:26:10 -0700288 select QMI_ENCDEC
Neeti Desai1b2cb552012-11-01 21:57:36 -0700289 select DONT_MAP_HOLE_AFTER_MEMBANK0
Naveen Ramarajf56e9af2012-12-10 17:07:38 -0800290 select SENSORS_ADSP
Baruch Eruchimovitch8c3f7802013-01-05 22:48:04 +0200291 select MSM_ULTRASOUND_B
Priyanka Mathur5d5b0a82013-01-17 10:54:29 -0800292 select MSM_LPM_TEST
Priyanka Mathur94abc462012-12-11 16:34:52 -0800293 select MSM_RPM_LOG
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700294
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +0530295config ARCH_MPQ8092
296 bool "MPQ8092"
297 select ARCH_MSM_KRAITMP
298 select GPIO_MSM_V3
299 select ARM_GIC
300 select MULTI_IRQ_HANDLER
301 select CPU_V7
302 select MSM_GPIOMUX
303 select MAY_HAVE_SPARSE_IRQ
304 select SPARSE_IRQ
305 select MSM_NOPM
306
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700307config ARCH_FSM9XXX
308 bool "FSM9XXX"
309 select ARCH_MSM_SCORPION
310 select MSM_VIC
311 select CPU_V7
312 select MSM_REMOTE_SPINLOCK_LDREX
Steve Mucklef132c6c2012-06-06 18:30:57 -0700313 select GPIO_FSM9XXX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530314 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800315 select MSM_DALRPC
Daniel Walker4ad15e62010-05-06 13:54:17 -0700316
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700317config ARCH_MSM9615
318 bool "MSM9615"
319 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530320 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700321 select ARCH_MSM_CORTEX_A5
322 select CPU_V7
Rohit Vaswani4307c842012-10-11 15:50:05 -0700323 select MIGHT_HAVE_CACHE_L2X0
Steve Mucklef132c6c2012-06-06 18:30:57 -0700324 select GPIO_MSM_V2
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700325 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600326 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600327 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700328 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800329 select REGULATOR
330 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530331 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800332 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800333 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700334 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800335 select MSM_QDSP6_APR
336 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800337 select FIQ
Laura Abbottb14ed962012-01-30 14:18:08 -0800338 select ARM_HAS_SG_CHAIN
Matt Wagantall9274df92011-12-15 11:11:05 -0800339
Taniya Das43bcdd62011-12-02 17:33:27 +0530340config ARCH_MSM8625
341 bool "MSM8625"
342 select ARCH_MSM_CORTEX_A5
343 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700344 select GPIO_MSM_V1
Taniya Das43bcdd62011-12-02 17:33:27 +0530345 select MSM_GPIOMUX
346 select ARM_GIC
347 select ARCH_MSM_CORTEXMP
348 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530349 select ARM_TICKET_LOCKS
Krishna Vankae2922052012-03-02 09:59:12 +0530350 select MSM_RUN_QUEUE_STATS
Trilok Sonib856ab92012-06-26 14:33:28 +0530351 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530352 select ARM_HAS_SG_CHAIN
Ashwin Chaugule3deb6b82012-12-21 13:09:48 -0500353 select CPU_HAS_L2_PMU
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700354
355config ARCH_MSM9625
356 bool "MSM9625"
357 select ARM_GIC
Abhimanyu Kapur490d20c2012-06-22 17:34:20 -0700358 select MIGHT_HAVE_CACHE_L2X0
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700359 select ARCH_MSM_CORTEX_A5
360 select SMP
361 select MSM_SMP
362 select CPU_V7
Abhimanyu Kapur4bb38622012-10-16 19:07:48 -0700363 select MSM_SCM if SMP
Jin Hong690e3352012-05-02 09:25:05 -0700364 select MSM_GPIOMUX
Girish Mahadevanf1c20a42012-09-19 11:44:36 -0600365 select MSM_RPM_SMD
Abhimanyu Kapur46e5e2b2012-10-02 20:45:37 -0700366 select MSM_NATIVE_RESTART
367 select MSM_RESTART_V2
Girish Mahadevan6e419562012-09-19 12:50:05 -0600368 select MSM_SPM_V2
369 select MSM_PM8X60 if PM
370 select MSM_SCM if SMP
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700371 select MULTI_IRQ_HANDLER
Rohit Vaswani61cf6ef2012-07-27 13:51:48 -0700372 select GPIO_MSM_V3
David Collins1cc6e402012-09-17 16:02:24 -0700373 select MAY_HAVE_SPARSE_IRQ
374 select SPARSE_IRQ
Mitchel Humpherys92e9b8a2012-10-08 18:12:47 -0700375 select MSM_MULTIMEDIA_USE_ION
Girish Mahadevane3be9302012-11-07 16:21:52 -0700376 select MSM_RPM_STATS_LOG
Venkat Sudhir0620e982012-11-15 16:04:36 -0800377 select MSM_QDSP6_APRV2
378 select MSM_QDSP6V2_CODECS
379 select MSM_AUDIO_QDSP6V2 if SND_SOC
Ashwin Chaugule8b459cc2012-11-26 15:20:54 -0500380 select CPU_HAS_L2_PMU
Pratik Patel61e91702013-01-27 20:30:42 -0800381 select MSM_JTAG_MM if CORESIGHT_ETM
Neeti Desai5f3b0312012-11-07 11:20:03 -0800382 select MEMORY_HOLE_CARVEOUT
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700383
Syed Rameez Mustafa3971c142013-01-09 19:04:53 -0800384config ARCH_MSM8610
385 bool "MSM8610"
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700386 select ARM_GIC
387 select GIC_SECURE
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700388 select ARCH_MSM_CORTEXMP
389 select CPU_V7
390 select MSM_SCM if SMP
391 select MAY_HAVE_SPARSE_IRQ
392 select SPARSE_IRQ
393 select MULTI_IRQ_HANDLER
394 select GPIO_MSM_V3
395 select MSM_GPIOMUX
Hanumant Singhe4271312012-10-24 13:27:57 -0700396 select MSM_NATIVE_RESTART
397 select MSM_RESTART_V2
Neeti Desai2a575be2012-11-26 12:53:10 -0800398 select MEMORY_HOLE_CARVEOUT
399 select DONT_MAP_HOLE_AFTER_MEMBANK
Karthikeyan Ramasubramanian8e826c92012-11-27 17:08:12 -0700400 select QMI_ENCDEC
Arun Menon7d2f1732013-01-16 15:20:56 -0800401 select MSM_QDSP6_APRV2
402 select MSM_QDSP6V2_CODECS
403 select MSM_AUDIO_QDSP6V2 if SND_SOC
Praveen Chidambaramee7b1652012-11-29 09:52:53 -0700404 select MSM_RPM_SMD
405 select MSM_SPM_V2
406 select MSM_L2_SPM
407 select MSM_PM8X60 if PM
Patrick Dalyd3ad9ff2012-11-06 11:07:27 -0800408 select CPU_FREQ_MSM
409 select CPU_FREQ
410 select CPU_FREQ_GOV_USERSPACE
411 select CPU_FREQ_GOV_ONDEMAND
Patrick Daly9e3fca92013-01-30 13:53:57 -0800412 select MSM_PIL
Siddharth Vermaead71842013-02-27 14:25:27 -0800413 select MSM_RUN_QUEUE_STATS
Syed Rameez Mustafa9ee80102012-11-02 14:41:04 -0700414
415config ARCH_MSM8226
416 bool "MSM8226"
417 select ARM_GIC
418 select GIC_SECURE
Syed Rameez Mustafa9ee80102012-11-02 14:41:04 -0700419 select ARCH_MSM_CORTEXMP
420 select CPU_V7
421 select MSM_SCM if SMP
422 select MAY_HAVE_SPARSE_IRQ
423 select SPARSE_IRQ
424 select MULTI_IRQ_HANDLER
425 select GPIO_MSM_V3
426 select MSM_GPIOMUX
Syed Rameez Mustafaf1bdd712012-11-20 14:56:44 -0800427 select MSM_NATIVE_RESTART
428 select MSM_RESTART_V2
Bhalchandra Gajare4e08f632012-12-18 11:54:35 -0800429 select MSM_QDSP6_APRV2
430 select MSM_QDSP6V2_CODECS
431 select MSM_AUDIO_QDSP6V2 if SND_SOC
Karthikeyan Ramasubramaniand04c8652013-01-16 09:03:51 -0700432 select QMI_ENCDEC
Praveen Chidambarama06f60d2012-11-29 09:52:53 -0700433 select MSM_RPM_SMD
434 select MSM_SPM_V2
435 select MSM_L2_SPM
436 select MSM_PM8X60 if PM
Neeti Desaibfedbd32012-11-21 13:19:36 -0800437 select MEMORY_HOLE_CARVEOUT
438 select DONT_MAP_HOLE_AFTER_MEMBANK0
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700439endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700440
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700441choice
442 prompt "MSM SoC Revision"
443 default MSM_SOC_REV_NONE
444config MSM_SOC_REV_NONE
445 bool "N/A"
446 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
447 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walkerbf83de42010-03-16 16:29:44 -0700448config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700449 bool "Rev. A"
450 select ARCH_MSM7X27A if ARCH_MSM7X27
Daniel Walkerbf83de42010-03-16 16:29:44 -0700451endchoice
452
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700453config MSM_KRAIT_TBB_ABORT_HANDLER
454 bool "Krait TBB/TBH data abort handler"
455 depends on ARCH_MSM_KRAIT
456 depends on ARM_THUMB
457 help
458 Certain early samples of the Krait processor may generate data
459 aborts for TBB / TBH instructions that fail their condition code
460 checks. Enabling this option will ignore these erroneous data aborts,
461 at the expense of a very small performance penalty.
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800462
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700463 If unsure, say N.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700464
465config ARCH_MSM_ARM11
466 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700467
Daniel Walkerbf83de42010-03-16 16:29:44 -0700468config ARCH_MSM_SCORPION
469 bool
470
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700471config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700472 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800473 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700474
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700475config MSM_SMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700476 select HAVE_SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700477 bool
478
479config ARCH_MSM_SCORPIONMP
480 select ARCH_MSM_SCORPION
481 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530482 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel61e91702013-01-27 20:30:42 -0800483 select MSM_JTAG if CORESIGHT_ETM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700484 bool
485
486config ARCH_MSM_KRAITMP
487 select ARCH_MSM_KRAIT
488 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530489 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel61e91702013-01-27 20:30:42 -0800490 select MSM_JTAG if CORESIGHT_ETM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700491 bool
492
Taniya Das43bcdd62011-12-02 17:33:27 +0530493config ARCH_MSM_CORTEXMP
494 select MSM_SMP
495 bool
496
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700497config MSM_KRAIT_WFE_FIXUP
498 bool
499
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700500config MSM_RESTART_V2
501 bool
502
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700503config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800504 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700505
506config ARCH_MSM7X27A
507 bool
508 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700509 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530510 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530511 select ARM_GIC
512 select ARCH_MSM_CORTEXMP
Trilok Sonib856ab92012-06-26 14:33:28 +0530513 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530514 select ARM_HAS_SG_CHAIN
Ashwin Chaugule3deb6b82012-12-21 13:09:48 -0500515 select CPU_HAS_L2_PMU
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700516
Gregory Beanf9f3d312010-04-30 22:06:50 -0700517config MSM_VIC
518 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700519
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700520config MSM_RPM
521 bool "Resource Power Manager"
522 select MSM_MPM
523
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600524config MSM_RPM_SMD
525 depends on MSM_SMD
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600526 select MSM_MPM_OF
527 bool "RPM driver using SMD protocol"
528 help
529 RPM is the dedicated hardware engine for managing shared SoC
530 resources. This config adds driver support for using SMD as a
531 transport layer communication with RPM hardware. It also selects
532 the MSM_MPM config that programs the MPM module to monitor interrupts
533 during sleep modes.
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600534
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700535config MSM_MPM
536 bool "Modem Power Manager"
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600537 help
538 MPM is a dedicated hardware resource responsible for entering and
539 waking up from a system wide low power mode. The MPM driver tracks
540 the wakeup interrupts and configures the MPM to monitor the wakeup
541 interrupts when going to a system wide sleep mode.
542
543config MSM_MPM_OF
544 bool "Modem Power Manager"
Subbaraman Narayanamurthy0b148fc2012-11-28 12:14:12 -0800545 depends on OF
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600546 help
547 MPM is a dedicated hardware resource responsible for entering and
548 waking up from a system wide low power mode. The MPM driver tracks
549 the wakeup interrupts and configures the MPM to monitor the wakeup
550 interrupts when going to a system wide sleep mode. This config option
551 enables the MPM driver that supports initialization from a device
552 tree
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700553
Priyanka Mathur9a75ec52012-12-07 16:02:40 -0800554config MSM_LPM_TEST
555 bool "Low Power Mode test framework"
Priyanka Mathur3abfd442013-01-11 12:58:51 -0800556 depends on MSM_RPM || MSM_RPM_SMD
Priyanka Mathur9a75ec52012-12-07 16:02:40 -0800557 depends on MSM_PM8X60
558 help
559 LPM_TEST is a test framework that assists in exercising the low
560 power mode algorithm on MSM targets. This test framework tracks
561 notifications sent during entry/exit of the low power modes and
562 processes them to measure various stats including latency
563 measurement.
564
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700565config MSM_XO
566 bool
567
568config MSM_REMOTE_SPINLOCK_DEKKERS
569 bool
570config MSM_REMOTE_SPINLOCK_SWP
571 bool
572config MSM_REMOTE_SPINLOCK_LDREX
573 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600574config MSM_REMOTE_SPINLOCK_SFPB
575 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700576config MSM_ADM3
577 bool
578
579menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700580
581config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700582 depends on ARCH_MSM7X01A
583 depends on MSM_STACKED_MEMORY
584 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700585 bool "Halibut Board (QCT SURF7201A)"
586 help
587 Support for the Qualcomm SURF7201A eval board.
588
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700589config MACH_MSM7201A_SURF
590 depends on ARCH_MSM7X01A
591 depends on MSM_STACKED_MEMORY
592 default y
593 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700594 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700595 Support for the Qualcomm MSM7201A SURF eval board.
596
597config MACH_MSM7201A_FFA
598 depends on ARCH_MSM7X01A
599 depends on MSM_STACKED_MEMORY
600 default y
601 bool "MSM7201A FFA"
602 help
603 Support for the Qualcomm MSM7201A FFA eval board.
604
605config MACH_TROUT
606 depends on ARCH_MSM7X01A
607 depends on MSM_STACKED_MEMORY
608 default y
609 bool "Trout"
610
611config MACH_MSM7X27_SURF
612 depends on ARCH_MSM7X27
613 depends on !MSM_STACKED_MEMORY
614 default y
615 bool "MSM7x27 SURF"
616 help
617 Support for the Qualcomm MSM7x27 SURF eval board.
618
619config MACH_MSM7X27_FFA
620 depends on ARCH_MSM7X27
621 depends on !MSM_STACKED_MEMORY
622 default y
623 bool "MSM7x27 FFA"
624 help
625 Support for the Qualcomm MSM7x27 FFA eval board.
626
627config MACH_MSM7X27A_RUMI3
628 depends on ARCH_MSM7X27A
629 depends on !MSM_STACKED_MEMORY
630 default y
631 bool "MSM7x27A RUMI3"
632 help
633 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
634
635config MACH_MSM7X27A_SURF
636 depends on ARCH_MSM7X27A
637 depends on !MSM_STACKED_MEMORY
638 default y
639 bool "MSM7x27A SURF"
640 help
641 Support for the Qualcomm MSM7x27A SURF.
642
643config MACH_MSM7X27A_FFA
644 depends on ARCH_MSM7X27A
645 depends on !MSM_STACKED_MEMORY
646 default y
647 bool "MSM7x27A FFA"
648 help
649 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700650
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530651config MACH_MSM7625A_SURF
652 depends on ARCH_MSM7X27A
653 depends on !MSM_STACKED_MEMORY
654 default y
655 bool "MSM7625A SURF"
656 help
657 Support for the Qualcomm MSM7625A SURF.
658
659config MACH_MSM7625A_FFA
660 depends on ARCH_MSM7X27A
661 depends on !MSM_STACKED_MEMORY
662 default y
663 bool "MSM7625A FFA"
664 help
665 Support for the Qualcomm MSM7625A FFA.
666
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530667config MACH_MSM7627A_QRD1
668 depends on ARCH_MSM7X27A
669 depends on !MSM_STACKED_MEMORY
670 default y
671 bool "MSM7627A QRD1"
672 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530673 Support for the Qualcomm MSM7627A Reference Design.
674
675config MACH_MSM7627A_QRD3
676 depends on ARCH_MSM7X27A
677 depends on !MSM_STACKED_MEMORY
678 default y
679 bool "MSM7627A QRD3"
680 help
681 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530682
Taniya Dasc868a2e2012-01-03 10:18:47 +0530683config MACH_MSM7627A_EVB
684 depends on ARCH_MSM7X27A
685 depends on !MSM_STACKED_MEMORY
686 default y
687 bool "MSM7627A EVB"
688 help
689 Support for the Qualcomm MSM7627A Reference Design.
690
Taniya Das43bcdd62011-12-02 17:33:27 +0530691config MACH_MSM8625_RUMI3
692 depends on ARCH_MSM8625
693 depends on !MSM_STACKED_MEMORY
694 default y
695 bool "MSM8625 RUMI3"
696 help
697 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
698
Taniya Dase3027e22012-02-27 16:32:27 +0530699config MACH_MSM8625_SURF
700 depends on ARCH_MSM8625
701 depends on !MSM_STACKED_MEMORY
702 default y
703 bool "MSM8625 SURF"
704 help
705 Support for the Qualcomm MSM8625 SURF.
706
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530707config MACH_MSM8625_FFA
708 depends on ARCH_MSM8625
709 depends on !MSM_STACKED_MEMORY
710 default y
711 bool "MSM8625 FFA"
712 help
713 Support for the Qualcomm MSM8625 FFA.
714
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530715config MACH_MSM8625_EVB
716 depends on ARCH_MSM8625
717 depends on !MSM_STACKED_MEMORY
718 default y
719 bool "MSM8625 EVB"
720 help
721 Support for the Qualcomm MSM8625 Reference Design.
722
Taniya Dasbd096542012-03-15 17:43:45 +0530723config MACH_MSM8625_QRD7
724 depends on ARCH_MSM8625
725 depends on !MSM_STACKED_MEMORY
726 default y
727 bool "MSM8625 QRD7"
728 help
729 Support for the Qualcomm MSM8625 Reference Design.
730
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530731config MACH_MSM8625_EVT
732 depends on ARCH_MSM8625
733 depends on !MSM_STACKED_MEMORY
734 default y
735 bool "MSM8625 EVT"
736 help
737 Support for the Qualcomm MSM8625 Reference Design.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700738
Channagoud Kadabi2bd65c82012-10-12 15:14:23 +0530739config MACH_QRD_SKUD_PRIME
740 depends on ARCH_MSM8625
741 depends on !MSM_STACKED_MEMORY
742 default y
743 bool "MSM8625 SKUD PRIME"
744 help
745 Support for the Qualcomm MSM8625 SKUD prime Reference Design.
746 Add support for a SKUD prime reference design based on MSM8x25
747 chipset. This device is much closer to a phone than regular form
748 factor devices, with new touch, display panel and other hardware
749 configurations.
750
Daniel Walker7b521612010-05-06 12:44:57 -0700751config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700752 depends on ARCH_MSM7X30
753 depends on !MSM_STACKED_MEMORY
754 default y
755 bool "MSM7x30 SURF"
756 help
757 Support for the Qualcomm MSM7x30 SURF eval board.
758
759config MACH_MSM7X30_FFA
760 depends on ARCH_MSM7X30
761 depends on !MSM_STACKED_MEMORY
762 default y
763 bool "MSM7x30 FFA"
764 help
765 Support for the Qualcomm MSM7x30 FFA eval board.
766
767config MACH_MSM7X30_FLUID
768 depends on ARCH_MSM7X30
769 depends on !MSM_STACKED_MEMORY
770 default y
771 bool "MSM7x30 FLUID"
772 help
773 Support for the Qualcomm MSM7x30 FLUID eval board.
774
775config MACH_SAPPHIRE
776 depends on ARCH_MSM7X01A
777 default n
778 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700779
Daniel Walker4ad15e62010-05-06 13:54:17 -0700780config MACH_QSD8X50_SURF
781 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700782 depends on MSM_SOC_REV_NONE
783 depends on MSM_STACKED_MEMORY
784 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700785 bool "QSD8x50 SURF"
786 help
787 Support for the Qualcomm QSD8x50 SURF eval board.
788
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700789config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700790 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700791 depends on MSM_SOC_REV_NONE
792 depends on MSM_STACKED_MEMORY
793 default y
794 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700795 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700796 Support for the Qualcomm QSD8x50 FFA eval board.
797
798config MACH_MSM7X25_SURF
799 depends on ARCH_MSM7X25
800 depends on !MSM_STACKED_MEMORY
801 default y
802 bool "MSM7x25 SURF"
803 help
804 Support for the Qualcomm MSM7x25 SURF eval board.
805
806config MACH_MSM7X25_FFA
807 depends on ARCH_MSM7X25
808 depends on !MSM_STACKED_MEMORY
809 default y
810 bool "MSM7x25 FFA"
811 help
812 Support for the Qualcomm MSM7x25 FFA eval board.
813
814config MACH_MSM8X55_SURF
815 depends on ARCH_MSM7X30
816 depends on !MSM_STACKED_MEMORY
817 default y
818 bool "MSM8X55 SURF"
819 help
820 Support for the Qualcomm MSM8x55 SURF eval board.
821
822config MACH_MSM8X55_FFA
823 depends on ARCH_MSM7X30
824 depends on !MSM_STACKED_MEMORY
825 default y
826 bool "MSM8X55 FFA"
827 help
828 Support for the Qualcomm MSM8x55 FFA eval board.
829
830config MACH_MSM8X55_SVLTE_FFA
831 depends on ARCH_MSM7X30
832 depends on !MSM_STACKED_MEMORY
833 default y
834 bool "MSM8X55 SVLTE FFA"
835 help
836 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
837
838config MACH_MSM8X55_SVLTE_SURF
839 depends on ARCH_MSM7X30
840 depends on !MSM_STACKED_MEMORY
841 default y
842 bool "MSM8X55 SVLTE SURF"
843 help
844 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700845
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700846config MACH_MSM8X60_SURF
847 depends on ARCH_MSM8X60
848 default n
849 bool "MSM8x60 SURF"
850 help
851 Support for the Qualcomm MSM8x60 SURF eval board.
852
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700853config MACH_MSM8X60_FFA
854 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700855 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700856 bool "MSM8x60 FFA"
857 help
858 Support for the Qualcomm MSM8x60 FFA eval board.
859
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700860config MACH_MSM8X60_FLUID
861 depends on ARCH_MSM8X60
862 default n
863 bool "MSM8x60 FLUID"
864 help
865 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
866 8x60 target which has a form factor that is much closer to that
867 of a phone than other targets. It also has a new display and
868 touchscreen controller.
869
870config MACH_MSM8X60_FUSION
871 depends on ARCH_MSM8X60
872 default n
873 bool "MSM8x60 FUSION"
874 help
875 Support for the Qualcomm MSM8x60 Fusion SURF device.
876
877config MACH_MSM8X60_FUSN_FFA
878 depends on ARCH_MSM8X60
879 default n
880 bool "MSM8x60 FUSN FFA"
881 help
882 Support for the Qualcomm MSM8x60 Fusion FFA device.
883
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400884config MACH_MSM8X60_DRAGON
885 depends on ARCH_MSM8X60
886 default n
887 bool "MSM8x60 DRAGON"
888 help
889 Support for the Qualcomm MSM8x60 Dragon board.
890
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700891config MACH_MSM8960_CDP
892 depends on ARCH_MSM8960
893 bool "MSM8960 CDP"
894 help
895 Support for the Qualcomm MSM8960 CDP device.
896
897config MACH_MSM8960_MTP
898 depends on ARCH_MSM8960
899 bool "MSM8960 MTP"
900 help
901 Support for the Qualcomm MSM8960 MTP device.
902
903config MACH_MSM8960_FLUID
904 depends on ARCH_MSM8960
905 bool "MSM8960 FLUID"
906 help
907 Support for the Qualcomm MSM8960 FLUID device.
908
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300909config MACH_MSM8960_LIQUID
910 depends on ARCH_MSM8960
911 bool "MSM8960 LIQUID"
912 help
913 Support for the Qualcomm MSM8960 LIQUID device.
914
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700915config MACH_MSM8930_CDP
916 depends on ARCH_MSM8930
917 bool "MSM8930 CDP"
918 help
919 Support for the Qualcomm MSM8930 CDP device.
920
921config MACH_MSM8930_MTP
922 depends on ARCH_MSM8930
923 bool "MSM8930 MTP"
924 help
925 Support for the Qualcomm MSM8930 MTP device.
926
927config MACH_MSM8930_FLUID
928 depends on ARCH_MSM8930
929 bool "MSM8930 FLUID"
930 help
931 Support for the Qualcomm MSM8930 FLUID device.
932
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800933config MACH_MSM8627_CDP
934 depends on ARCH_MSM8930
935 bool "MSM8627 CDP"
936 help
937 Support for the Qualcomm MSM8627 CDP device.
938
939config MACH_MSM8627_MTP
940 depends on ARCH_MSM8930
941 bool "MSM8627 MTP"
942 help
943 Support for the Qualcomm MSM8627 MTP device.
944
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700945config MACH_MSM9615_CDP
946 depends on ARCH_MSM9615
947 bool "MSM9615 CDP"
948 help
949 Support for the Qualcomm MSM9615 CDP device.
950
951config MACH_MSM9615_MTP
952 depends on ARCH_MSM9615
953 bool "MSM9615 MTP"
954 help
955 Support for the Qualcomm MSM9615 MTP device.
956
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700957config MSM_USE_TSIF1
958 depends on ARCH_MSM8X60
959 bool "MSM8x60 use TSIF1"
960 help
961 Selects TSIF1 core to be used rather than TSIF0.
962 The two TSIF cores share the same DM configuration
963 so they cannot be used simultaneously.
964
Joel King82b7e3f2012-01-05 10:03:27 -0800965config MACH_APQ8064_CDP
966 depends on ARCH_APQ8064
967 bool "APQ8064 CDP"
968 help
969 Support for the Qualcomm APQ8064 CDP device.
970
Rohit Vaswani4375c802013-01-09 13:38:19 -0800971config MACH_FSM8064_EP
972 depends on ARCH_APQ8064
973 bool "FSM8064 EP"
974 help
975 Support for the Qualcomm FSM8064 EP device.
976 This board also known as Femto development platform (FDP)
977 is based on APQ8064 chipset. This board does not support
978 keyboard, display or multimedia.
979
Joel King82b7e3f2012-01-05 10:03:27 -0800980config MACH_APQ8064_MTP
981 depends on ARCH_APQ8064
982 bool "APQ8064 MTP"
983 help
984 Support for the Qualcomm APQ8064 MTP device.
985
986config MACH_APQ8064_LIQUID
987 depends on ARCH_APQ8064
988 bool "APQ8064 LIQUID"
989 help
990 Support for the Qualcomm APQ8064 LIQUID device.
991
Joel King064bbf82012-04-01 13:23:39 -0700992config MACH_MPQ8064_CDP
993 depends on ARCH_APQ8064
994 bool "MPQ8064 CDP"
995 help
996 Support for the Qualcomm MPQ8064 CDP device.
997
Joel King11ca8202012-02-13 16:19:03 -0800998config MACH_MPQ8064_HRD
999 depends on ARCH_APQ8064
1000 bool "MPQ8064 HRD"
1001 help
1002 Support for the Qualcomm MPQ8064 HRD device.
1003
1004config MACH_MPQ8064_DTV
1005 depends on ARCH_APQ8064
1006 bool "MPQ8064 DTV"
1007 help
1008 Support for the Qualcomm MPQ8064 DTV device.
1009
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001010config MACH_FSM9XXX_SURF
1011 depends on ARCH_FSM9XXX
1012 depends on !MSM_STACKED_MEMORY
1013 default y
1014 bool "FSM9XXX SURF"
1015 help
1016 Support for the Qualcomm FSM9xxx femtocell
1017 chipset based SURF evaluation board and
1018 FFA board.
1019
Daniel Walker4ad15e62010-05-06 13:54:17 -07001020endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -08001021
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001022config MSM_STACKED_MEMORY
1023 bool "Stacked Memory"
1024 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -08001025 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001026 This option is used to indicate the presence of on-die stacked
1027 memory. When present this memory bank is used for a high speed
1028 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -08001029
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001030config PHYS_OFFSET
1031 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -07001032 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001033 default "0x80200000" if ARCH_APQ8064
1034 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -07001035 default "0x80200000" if ARCH_MSM8930
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001036 default "0x00000000" if ARCH_MSM8974
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +05301037 default "0x00000000" if ARCH_MPQ8092
Syed Rameez Mustafa90f80502012-08-23 17:27:24 -07001038 default "0x00000000" if ARCH_MSM8226
Syed Rameez Mustafa3971c142013-01-09 19:04:53 -08001039 default "0x00000000" if ARCH_MSM8610
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001040 default "0x10000000" if ARCH_FSM9XXX
Abhimanyu Kapur20ac2ad2012-09-25 04:23:59 -07001041 default "0x00200000" if ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001042 default "0x00200000" if !MSM_STACKED_MEMORY
1043 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
1044 default "0x20000000" if ARCH_QSD8X50
1045 default "0x40200000" if ARCH_MSM8X60
1046 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -08001047
Mitchel Humpherys05e58812012-08-13 14:24:13 -07001048config KERNEL_MSM_CONTIG_MEM_REGION
1049 bool "Enable in-kernel contiguous memory region"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001050 default y if ARCH_MSM8X60
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001051 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001052 help
Mitchel Humpherys05e58812012-08-13 14:24:13 -07001053 Enable the in-kernel contiguous memory allocator. Sets up a
1054 region of physically contiguous memory. This memory is
1055 reserved during initialization, and can be used
1056 generically.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001057
1058config KERNEL_PMEM_SMI_REGION
1059 bool "Enable in-kernel PMEM region for SMI"
1060 default y if ARCH_MSM8X60
1061 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
1062 help
1063 Enable the in-kernel PMEM allocator to use SMI memory.
1064
1065config PMEM_GPU0
1066 bool "Enable PMEM GPU0 region"
1067 default y
1068 depends on ARCH_QSD8X50 && ANDROID_PMEM
1069 help
1070 Enable the PMEM GPU0 device on SMI Memory.
1071
1072config MSM_AMSS_VERSION
1073 int
1074 default 6210 if MSM_AMSS_VERSION_6210
1075 default 6220 if MSM_AMSS_VERSION_6220
1076 default 6225 if MSM_AMSS_VERSION_6225
1077
1078choice
1079 prompt "AMSS modem firmware version"
1080
1081 default MSM_AMSS_VERSION_6225
1082
1083 config MSM_AMSS_VERSION_6210
1084 bool "6.2.10"
1085
1086 config MSM_AMSS_VERSION_6220
1087 bool "6.2.20"
1088
1089 config MSM_AMSS_VERSION_6225
1090 bool "6.2.20 + New ADSP"
1091endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -08001092
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001093config MSM_HAS_DEBUG_UART_HS
Daniel Walkerbf83de42010-03-16 16:29:44 -07001094 bool
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001095 help
1096 Say Y here if high speed MSM UART is present.
1097
1098config MSM_HAS_DEBUG_UART_HS_V14
1099 bool
1100 select MSM_HAS_DEBUG_UART_HS
1101 help
1102 Say Y here if high speed MSM UART v1.4 is present.
1103
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301104config MSM_DEBUG_UART_PHYS
1105 hex
1106 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
1107 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
1108 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
1109 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
1110 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
1111 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
1112 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
1113 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
1114
Brian Swetland9e73c842007-11-26 04:12:13 -08001115choice
1116 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001117 depends on DEBUG_LL
Brian Swetland9e73c842007-11-26 04:12:13 -08001118
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001119 config DEBUG_MSM_UART1
1120 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301121 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001122 help
1123 Say Y here if you want the debug print routines to direct
1124 their output to the first serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001125
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001126 config DEBUG_MSM_UART2
1127 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301128 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001129 help
1130 Say Y here if you want the debug print routines to direct
1131 their output to the second serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001132
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001133 config DEBUG_MSM_UART3
1134 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301135 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001136 help
1137 Say Y here if you want the debug print routines to direct
1138 their output to the third serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001139
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001140 config DEBUG_MSM8660_UART
1141 bool "Kernel low-level debugging messages via MSM 8660 UART"
1142 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001143 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001144 help
1145 Say Y here if you want the debug print routines to direct
1146 their output to the serial port on MSM 8660 devices.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001147
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001148 config DEBUG_MSM8960_UART
1149 bool "Kernel low-level debugging messages via MSM 8960 UART"
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001150 depends on ARCH_MSM8960 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001151 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001152 help
1153 Say Y here if you want the debug print routines to direct
1154 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001155
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001156 config DEBUG_MSM8930_UART
1157 bool "Kernel low-level debugging messages via MSM 8930 UART"
1158 depends on ARCH_MSM8930 && DEBUG_LL
1159 select MSM_HAS_DEBUG_UART_HS
1160 help
1161 Say Y here if you want the debug print routines to direct
1162 their output to the serial port on MSM 8930 devices.
1163
1164 config DEBUG_APQ8064_UART
1165 bool "Kernel low-level debugging messages via APQ 8064 UART"
1166 depends on ARCH_APQ8064 && DEBUG_LL
1167 select MSM_HAS_DEBUG_UART_HS
1168 help
1169 Say Y here if you want the debug print routines to direct
1170 their output to the serial port on APQ 8064 devices.
1171
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001172 config DEBUG_MSM8974_UART
1173 bool "Kernel low-level debugging messages via MSM 8974 UART"
1174 depends on ARCH_MSM8974
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001175 select MSM_HAS_DEBUG_UART_HS_V14
1176 help
1177 Say Y here if you want the debug print routines to direct
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001178 their output to the serial port on MSM 8974 devices.
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +05301179
1180 config DEBUG_MPQ8092_UART
1181 bool "Kernel low-level debugging messages via MPQ8092 UART"
1182 depends on ARCH_MPQ8092
1183 select MSM_HAS_DEBUG_UART_HS_V14
1184 help
1185 Say Y here if you want the debug print routines to direct
1186 their output to the serial port on MPQ8092 devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001187endchoice
Brian Swetland9e73c842007-11-26 04:12:13 -08001188
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001189choice
1190 prompt "Default Timer"
1191 default MSM7X00A_USE_GP_TIMER
1192
1193 config MSM7X00A_USE_GP_TIMER
1194 bool "GP Timer"
1195 help
1196 Low resolution timer that allows power collapse from idle.
1197
1198 config MSM7X00A_USE_DG_TIMER
1199 bool "DG Timer"
1200 help
1201 High resolution timer.
1202endchoice
1203
1204choice
1205 prompt "Suspend sleep mode"
1206 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1207 help
1208 Allows overriding the sleep mode used. Leave at power
1209 collapse suspend unless the arm9 image has problems.
1210
1211 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1212 bool "Power collapse suspend"
1213 help
1214 Lowest sleep state. Returns through reset vector.
1215
1216 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1217 bool "Power collapse"
1218 help
1219 Sleep state that returns through reset vector.
1220
1221 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1222 bool "Apps Sleep"
1223
1224 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1225 bool "Ramp down cpu clock and wait for interrupt"
1226
1227 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1228 bool "Wait for interrupt"
1229endchoice
1230
1231config MSM7X00A_SLEEP_MODE
1232 int
1233 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1234 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1235 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1236 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1237 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1238
1239choice
1240 prompt "Idle sleep mode"
1241 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1242 help
1243 Allows overriding the sleep mode used from idle. Leave at power
1244 collapse suspend unless the arm9 image has problems.
1245
1246 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1247 bool "Power collapse suspend"
1248 help
1249 Lowest sleep state. Returns through reset vector.
1250
1251 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1252 bool "Power collapse"
1253 help
1254 Sleep state that returns through reset vector.
1255
1256 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1257 bool "Apps Sleep"
1258
1259 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1260 bool "Ramp down cpu clock and wait for interrupt"
1261
1262 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1263 bool "Wait for interrupt"
1264endchoice
1265
1266config MSM7X00A_IDLE_SLEEP_MODE
1267 int
1268 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1269 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1270 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1271 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1272 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1273
1274config MSM7X00A_IDLE_SLEEP_MIN_TIME
1275 int "Minimum idle time before sleep"
1276 default 20000000
1277 help
1278 Minimum idle time in nanoseconds before entering low power mode.
1279
1280config MSM7X00A_IDLE_SPIN_TIME
1281 int "Idle spin time before cpu ramp down"
1282 default 80000
1283 help
1284 Spin time in nanoseconds before ramping down cpu clock and entering
1285 any low power state.
1286
1287menuconfig MSM_IDLE_STATS
1288 bool "Collect idle statistics"
1289 default y
1290 help
1291 Collect idle statistics and export them in proc/msm_pm_stats.
1292
1293if MSM_IDLE_STATS
1294
1295config MSM_IDLE_STATS_FIRST_BUCKET
1296 int "First bucket time"
1297 default 62500
1298 help
1299 Upper time limit in nanoseconds of first bucket.
1300
1301config MSM_IDLE_STATS_BUCKET_SHIFT
1302 int "Bucket shift"
1303 default 2
1304
1305config MSM_IDLE_STATS_BUCKET_COUNT
1306 int "Bucket count"
1307 default 10
1308
1309config MSM_SUSPEND_STATS_FIRST_BUCKET
1310 int "First bucket time for suspend"
1311 default 1000000000
1312 help
1313 Upper time limit in nanoseconds of first bucket of the
1314 histogram. This is for collecting statistics on suspend.
1315
1316endif # MSM_IDLE_STATS
1317
1318config CPU_HAS_L2_PMU
1319 bool "L2CC PMU Support"
1320 help
1321 Select this if the L2 cache controller has a Performance Monitoring Unit.
1322
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001323config HTC_HEADSET
1324 tristate "HTC 2 Wire detection driver"
1325 default n
1326 help
1327 Provides support for detecting HTC 2 wire devices, such as wired
1328 headset, on the trout platform. Can be used with the msm serial
1329 debugger, but not with serial console.
1330
1331config TROUT_BATTCHG
1332 depends on MACH_TROUT && POWER_SUPPLY
1333 default y
1334 bool "Trout battery / charger driver"
1335
1336config HTC_PWRSINK
1337 depends on MSM_SMD
1338 default n
1339 bool "HTC Power Sink Driver"
1340
1341config QSD_SVS
1342 bool "QSD Static Voltage Scaling"
1343 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1344 default y
1345 select TPS65023
1346 help
1347 Enables static voltage scaling using the TPS65023 PMIC.
1348
1349config QSD_PMIC_DEFAULT_DCDC1
1350 int "PMIC default output voltage"
1351 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1352 default 1250
1353 help
1354 This is the PMIC voltage at Linux kernel boot.
1355
1356config MSM_FIQ_SUPPORT
1357 default y
1358 bool "Enable installation of an FIQ handler."
1359
1360config MSM_SERIAL_DEBUGGER
1361 select MSM_FIQ_SUPPORT
1362 select KERNEL_DEBUGGER_CORE
1363 default n
1364 bool "FIQ Mode Serial Debugger"
1365 help
1366 The FIQ serial debugger can accept commands even when the
1367 kernel is unresponsive due to being stuck with interrupts
1368 disabled. Depends on the kernel debugger core in drivers/misc.
1369
1370config MSM_SERIAL_DEBUGGER_CONSOLE
1371 depends on MSM_SERIAL_DEBUGGER
1372 default n
1373 bool "Console on FIQ Serial Debugger port"
1374 help
1375 Enables a console so that printk messages are displayed on
1376 the debugger serial port as the occur.
Brian Swetland9e73c842007-11-26 04:12:13 -08001377
Gregory Beanab78cde2010-09-01 16:26:12 -07001378config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001379 default y
1380 bool "Proc-Comm RPC Interface"
1381 help
1382 Enables a lightweight communications interface to the
1383 baseband processor.
Gregory Beanab78cde2010-09-01 16:26:12 -07001384
Gregory Bean1963a2a2010-08-28 10:05:44 -07001385config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001386 bool "MSM Shared Memory Driver (SMD)"
1387 help
1388 Support for the shared memory interface between the apps
1389 processor and the baseband processor. Provides access to
1390 the "shared heap", as well as virtual serial channels
1391 used to communicate with various services on the baseband
1392 processor.
1393
1394choice
1395 prompt "MSM Shared memory interface version"
1396 depends on MSM_SMD
1397 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1398 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1399
1400 config MSM_SMD_PKG3
1401 bool
1402 prompt "Package 3"
1403
1404 config MSM_SMD_PKG4
1405 bool
1406 prompt "Package 4"
1407endchoice
1408
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001409config MSM_PCIE
1410 bool "MSM PCIe Controller driver"
1411 depends on PCI && PCI_MSI
1412 help
1413 Enables the PCIe functionality by configures PCIe core on
1414 MSM chipset and by enabling the ARM PCI framework extension.
1415
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001416config MSM_RPC_SDIO_XPRT
1417 depends on MSM_SDIO_AL
1418 default y
1419 bool "MSM SDIO XPRT Layer"
1420 help
1421 SDIO Transport Layer for RPC Rouer
1422
1423config MSM_RPC_SDIO_DEBUG
1424 depends on MSM_RPC_SDIO_XPRT
1425 default y
1426 bool "MSM SDIO XPRT debug support"
1427 help
1428 Support for debugging SDIO XPRT
1429
1430config MSM_SMD_DEBUG
1431 depends on MSM_SMD
1432 default y
1433 bool "MSM SMD debug support"
1434 help
1435 Support for debugging the SMD for communication
1436 between the ARM9 and ARM11
1437
1438config MSM_SDIO_AL
1439 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1440 default y
1441 tristate "SDIO-Abstraction-Layer"
1442 help
1443 Support MSM<->MDM Communication over SDIO bus.
1444 MDM SDIO-Client should have pipes support.
1445
1446config MSM_SDIO_DMUX
1447 bool "SDIO Data Mux Driver"
1448 depends on MSM_SDIO_AL
1449 default n
1450 help
1451 Support Muxed Data Channels over SDIO interface.
1452
1453config MSM_BAM_DMUX
1454 bool "BAM Data Mux Driver"
1455 depends on SPS
1456 default n
1457 help
1458 Support Muxed Data Channels over BAM interface.
1459 BAM has a limited number of pipes. This driver
1460 provides a means to support more logical channels
1461 via muxing than BAM could without muxing.
1462
1463config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001464 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001465 default y
1466 bool "MSM N-WAY SMD support"
1467 help
1468 Supports APPS-QDSP SMD communication along with
1469 normal APPS-MODEM SMD communication.
1470
1471config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001472 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001473 default y
1474 bool "MSM N-WAY SMSM support"
1475 help
1476 Supports APPS-QDSP SMSM communication along with
1477 normal APPS-MODEM SMSM communication.
1478
Eric Holmberg6275b602012-11-19 13:05:04 -07001479config MSM_SMP2P
1480 bool "SMSM Point-to-Point (SMP2P)"
1481 depends on MSM_SMD
1482 help
1483 Provide point-to-point remote signaling support.
1484 SMP2P enables transferring 32-bit values between
1485 the local and a remote system using shared
1486 memory and interrupts. A client can open multiple
1487 32-bit values by specifying a unique string and
1488 remote processor ID.
1489
1490config MSM_SMP2P_TEST
1491 bool "SMSM Point-to-Point Test"
1492 depends on MSM_SMP2P
1493 help
1494 Enables loopback and unit testing support for
1495 SMP2P. Loopback support is used by other
1496 processors to do unit testing. Unit tests
1497 are used to verify the local and remote
1498 implementations.
1499
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001500config MSM_RESET_MODEM
1501 tristate "Reset Modem Driver"
1502 depends on MSM_SMD
1503 default m
1504 help
1505 Allows the user to reset the modem through a device node.
1506
1507config MSM_SMD_LOGGING
1508 depends on MSM_SMD
1509 default y
1510 bool "MSM Shared Memory Logger"
1511 help
1512 This option exposes the shared memory logger at /dev/smem_log
1513 and a debugfs node named smem_log.
1514
1515 If in doubt, say yes.
1516
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001517config MSM_IPC_LOGGING
1518 bool "MSM Debug Logging for IPC Drivers"
1519 help
1520 This option allows the debug logging for IPC Drivers.
1521
1522 If in doubt, say no.
1523
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001524config MSM_SMD_NMEA
1525 bool "NMEA GPS Driver"
1526 depends on MSM_SMD
1527 default y
1528 help
1529 Enable this to support the NMEA GPS device.
1530
1531 If in doubt, say yes.
1532
1533config MSM_SDIO_TTY
1534 bool "SDIO TTY Driver"
1535 depends on MSM_SDIO_AL
1536 default n
1537 help
1538 Provides a TTY driver SDIO TTY
1539 This driver can be used by user space
1540 applications for passing data through the
1541 SDIO interface.
1542
1543config MSM_SMD_TTY
1544 bool "SMD TTY Driver"
1545 depends on MSM_SMD
1546 default y
1547 help
1548 Provides TTY interfaces to interact with the modem.
1549
1550 If in doubt, say yes.
1551
1552config MSM_SMD_QMI
1553 bool "SMD QMI Driver"
1554 depends on MSM_SMD
1555 default y
1556 help
1557 Manages network data connections.
1558
1559 If in doubt, say yes.
1560
1561config MSM_SMD_PKT
1562 bool "SMD Packet Driver"
1563 depends on MSM_SMD
1564 default y
1565 help
1566 Provides a binary SMD non-muxed packet port interface.
1567
1568 If in doubt, say yes.
1569
1570config MSM_SDIO_CMUX
1571 bool "SDIO CMUX Driver"
1572 depends on MSM_SDIO_AL
1573 default n
1574 help
1575 Provides a Muxed port interface over SDIO QMI
1576
1577config MSM_DSPS
1578 bool "Sensors DSPS driver"
1579 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1580 default n
1581 help
1582 Provides user-space interface to the sensors manager
1583 to turn on/off the Sensors Processor system clocks.
1584 It is the DSPS responsibility to turn on/off the sensors
1585 themself.
1586 The number of clocks and their name may vary between targets.
1587 It also triggers the PIL to load the DSPS firmware.
1588
1589config MSM_SDIO_CTL
1590 bool "SDIO CTL Driver"
1591 depends on MSM_SDIO_CMUX
1592 default n
1593 help
1594 Provides a binary SDIO control port interface.
1595
1596config MSM_ONCRPCROUTER
1597 depends on MSM_SMD
1598 default n
1599 bool "MSM ONCRPC router support"
1600 help
1601 Support for the MSM ONCRPC router for communication between
1602 the ARM9 and ARM11
1603
1604config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001605 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001606 default n
1607 bool "MSM IPC Router support"
1608 help
1609 Support for the MSM IPC Router for communication between
1610 the APPs and the MODEM
1611
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001612config MSM_IPC_ROUTER_SMD_XPRT
1613 depends on MSM_SMD
1614 depends on MSM_IPC_ROUTER
1615 default n
1616 bool "MSM SMD XPRT Layer"
1617 help
1618 SMD Transport Layer for IPC Router
1619
Karthikeyan Ramasubramanian5b502d3642012-09-23 22:23:36 -06001620config MSM_IPC_ROUTER_SECURITY
1621 depends on MSM_IPC_ROUTER
1622 bool "MSM IPC Router Security support"
1623 help
1624 This feature of IPC Router will enforce security rules
1625 configured by a security script from the user-space. IPC Router
1626 once configured with the security rules will ensure that the
1627 sender of the message to a service belongs to the relevant
1628 Linux group as configured by the security script.
1629
Karthikeyan Ramasubramanianfec77ff2012-10-26 20:03:26 -06001630config MSM_QMI_INTERFACE
1631 depends on MSM_IPC_ROUTER
1632 depends on QMI_ENCDEC
1633 default n
1634 bool "MSM QMI Interface Library"
1635 help
1636 Library to send and receive QMI messages over IPC Router.
1637 This library provides interface functions to the kernel drivers
1638 to perform QMI message marshaling and transport them over IPC
1639 Router.
1640
Karthikeyan Ramasubramaniana9859e82012-07-12 13:10:42 -06001641config MSM_TEST_QMI_CLIENT
1642 depends on MSM_QMI_INTERFACE
1643 bool "MSM TEST QMI CLIENT"
1644 help
1645 The sample QMI client provides a test code for QMI usage. The
1646 test_service client driver uses QMI interface library to send
1647 and receive QMI messages over IPC Router. The test code sends
1648 a synchronous QMI request to the test_service and handles the
1649 QMI responses.
1650
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001651config MSM_ONCRPCROUTER_DEBUG
1652 depends on MSM_ONCRPCROUTER
1653 default y
1654 bool "MSM debug ONCRPC router support"
1655 help
1656 Support for debugging the ONCRPC router for communication
1657 between the ARM9 and ARM11
1658
1659config MSM_RPC_LOOPBACK_XPRT
1660 depends on MSM_ONCRPCROUTER
1661 default n
1662 bool "MSM RPC local routing support"
1663 help
1664 Support for routing RPC messages between APPS clients
1665 and APPS servers. Helps in testing APPS RPC framework.
1666
1667config MSM_RPCSERVER_TIME_REMOTE
1668 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1669 default y
1670 bool "Time remote RPC server"
1671 help
1672 The time remote server receives notification of time bases and
1673 reports these events to registered callback functions.
1674
1675config MSM_RPCSERVER_WATCHDOG
1676 depends on MSM_ONCRPCROUTER
1677 default y
1678 bool "Watchdog RPC server"
1679 help
1680 The dog_keepalive server handles watchdog events.
1681
1682config MSM_RPC_WATCHDOG
1683 depends on MSM_ONCRPCROUTER
1684 default n
1685 bool "Watchdog RPC client"
1686 help
1687 The dog_keepalive client module.
1688
1689config MSM_RPC_PING
1690 depends on MSM_ONCRPCROUTER && DEBUG_FS
1691 default m
1692 bool "MSM rpc ping"
1693 help
1694 Implements MSM rpc ping test module.
1695
1696config MSM_RPC_PROC_COMM_TEST
1697 depends on DEBUG_FS && MSM_PROC_COMM
1698 default m
1699 bool "MSM rpc proc comm test"
1700 help
1701 Implements MSM rpc proc comm test module.
1702
1703config MSM_RPC_OEM_RAPI
1704 depends on MSM_ONCRPCROUTER
1705 default m
1706 bool "MSM oem rapi"
1707 help
1708 Implements MSM oem rapi client module.
1709
1710config MSM_RPCSERVER_HANDSET
1711 depends on MSM_ONCRPCROUTER
1712 default y
1713 bool "Handset events RPC server"
1714 help
1715 Support for receiving handset events like headset detect,
1716 headset switch and clamshell state.
1717
1718config MSM_RMT_STORAGE_CLIENT
1719 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1720 default n
1721 bool "Remote Storage RPC client"
1722 help
1723 Provide RPC mechanism for remote processors to access storage
1724 device on apps processor.
1725
1726config MSM_RMT_STORAGE_CLIENT_STATS
1727 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1728 default n
1729 bool "Remote storage RPC client performance statistics"
1730 help
1731 Collects performance statistics and shows this information
1732 through a debugfs file rmt_storage_stats.
1733
1734config MSM_SDIO_SMEM
1735 depends on MSM_SDIO_AL
1736 default n
1737 bool "SDIO SMEM for remote storage"
1738 help
1739 Copies data from remote MDM9K memory to local MSM8x60
1740 memory. Used by remote storage client to shadow
1741 MDM9K filesystem.
1742
1743config MSM_DALRPC
1744 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001745 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001746 help
1747 Supports RPC calls to DAL devices on remote processor cores.
1748
1749config MSM_DALRPC_TEST
1750 tristate "DAL RPC test module"
1751 depends on (MSM_DALRPC && DEBUG_FS)
1752 default m
1753 help
1754 Exercises DAL RPC calls to QDSP6.
1755
1756if CPU_FREQ_MSM
1757
1758config MSM_CPU_FREQ_SET_MIN_MAX
1759 bool "Set Min/Max CPU frequencies."
1760 default n
1761 help
1762 Allow setting min and max CPU frequencies. Sysfs can be used
1763 to override these values.
1764
1765config MSM_CPU_FREQ_MAX
1766 int "Max CPU Frequency"
1767 depends on MSM_CPU_FREQ_SET_MIN_MAX
1768 default 384000
1769
1770config MSM_CPU_FREQ_MIN
1771 int "Min CPU Frequency"
1772 depends on MSM_CPU_FREQ_SET_MIN_MAX
1773 default 245760
1774
1775endif # CPU_FREQ_MSM
1776
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001777config MSM_AVS_HW
1778 bool "Enable Adaptive Voltage Scaling (AVS)"
1779 default n
1780 help
1781 Enable AVS hardware to fine tune voltage at each frequency. The
1782 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1783 fine tune the voltages based on the feedback from the ring
1784 oscillators.
1785
1786config MSM_HW3D
1787 tristate "MSM Hardware 3D Register Driver"
1788 depends on ANDROID_PMEM
1789 default y
1790 help
1791 Provides access to registers needed by the userspace OpenGL|ES
1792 library.
1793
1794config MSM_ADSP
1795 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1796 tristate "MSM ADSP driver"
1797 depends on ANDROID_PMEM
1798 default y
1799 help
1800 Provides access to registers needed by the userspace aDSP library.
1801
1802config ADSP_RPC_VER
1803 hex
1804 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1805 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1806 depends on MSM_ADSP
1807 help
1808 Select proper ADSP RPC version
1809choice
1810 prompt "ADSP RPC version"
1811
1812 default AMSS_7X25_VERSION_2009
1813
1814 config AMSS_7X25_VERSION_2009
1815 bool "2.0.09"
1816
1817 config AMSS_7X25_VERSION_2008
1818 bool "2.0.08"
1819endchoice
1820
1821config MSM7KV2_AUDIO
1822 bool "MSM7K v2 audio"
1823 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1824 default y
1825 help
1826 Enables QDSP5V2-based audio drivers for audio playbacks and
1827 voice call.
1828
1829config MSM_ADSP_REPORT_EVENTS
1830 bool "Report modem events from the DSP"
1831 default y
1832 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1833 help
1834 Normally, only messages from the aDSP are reported to userspace.
1835 With this option, we report events from the aDSP as well.
1836
1837config MSM_QDSP6
1838 tristate "QDSP6 support"
1839 depends on ARCH_QSD8X50 && ANDROID_PMEM
1840 default y
1841 help
1842 Enable support for qdsp6. This provides audio and video functionality.
1843
1844config MSM8X60_AUDIO
1845 tristate "MSM8X60 audio support"
1846 depends on ARCH_MSM8X60 && ANDROID_PMEM
1847 default y
1848 help
1849 Enable support for qdsp6v2. This provides audio functionality.
1850
1851config MSM8X60_FTM_AUDIO_DEVICES
1852 bool "MSM8X60 audio factory test mode support"
1853 depends on MSM8X60_AUDIO
1854 help
1855 Enable support audio factory test mode devices. This is used
1856 in a production line environment.
1857
Ben Romberger45b351c2011-07-20 22:37:27 -07001858config RTAC
1859 bool "MSM8K real-time audio calibration support"
1860 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001861 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001862 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001863 audio operation
1864
1865config MSM7X27A_AUDIO
1866 bool "MSM7X27A audio support"
1867 depends on ARCH_MSM7X27A && MSM_ADSP
1868 default n
1869 help
1870 Enable support for 7x27a. This provides audio functionality.
1871
Justin Pauporea6cd2092011-06-22 16:19:45 -07001872config MSM_PROC_COMM_REGULATOR
Gregory Bean1963a2a2010-08-28 10:05:44 -07001873 bool
Justin Pauporea6cd2092011-06-22 16:19:45 -07001874 depends on MSM_PROC_COMM && REGULATOR
1875 help
1876 Enable regulator framework support for regulators managed by PMLIB
1877 on the modem, and controlled through proccomm calls.
1878
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001879config MSM_VREG_SWITCH_INVERTED
1880 bool "Reverse vreg switch polarity"
1881 default n
1882 help
1883 Reverses the enable and disable for vreg switch.
1884
1885config MSM_DMA_TEST
1886 tristate "MSM DMA test module"
1887 default m
1888 help
1889 Intended to be compiled as a module. Provides a device node
1890 and ioctls for testing the MSM dma system.
1891
1892config WIFI_CONTROL_FUNC
1893 bool "Enable WiFi control function abstraction"
1894 help
1895 Enables Power/Reset/Carddetect function abstraction
1896
1897config WIFI_MEM_PREALLOC
1898 depends on WIFI_CONTROL_FUNC
1899 bool "Preallocate memory for WiFi buffers"
1900 help
1901 Preallocates memory buffers for WiFi driver
1902
1903config QSD_AUDIO
1904 bool "QSD audio"
1905 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1906 default y
1907 help
1908 Provides PCM, MP3, and AAC audio playback.
1909
1910config AUDIO_AAC_PLUS
1911 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1912 bool "AAC+ Audio"
1913 default y
1914 help
1915 Provides AAC+ decoding
1916
1917config AUDIO_ENHANCED_AAC_PLUS
1918 depends on AUDIO_AAC_PLUS
1919 bool "Enhanced AAC+ Audio"
1920 default y
1921 help
1922 Provides Enhanced AAC+ decoding
1923
1924config SURF_FFA_GPIO_KEYPAD
1925 bool "MSM SURF/FFA GPIO keypad"
1926 depends on INPUT_GPIO = "y"
1927 default y
1928 help
1929 Select if the GPIO keypad is attached.
1930
1931config MSM_SLEEP_TIME_OVERRIDE
1932 bool "Allow overriding suspend/sleep time with PM module parameter"
1933 default y
1934 help
1935 Enable the module parameter sleep_time_override. Specified
1936 in units of seconds, it overwrites the normal sleep time of
1937 suspend. The feature is required for automated power management
1938 testing.
1939
1940config MSM_MEMORY_LOW_POWER_MODE
1941 bool "Control the low power modes of memory"
1942 default n
1943 help
1944 The application processor controls whether memory should enter
1945 which low power mode.
1946
1947choice
1948 prompt "Default Memory Low Power Mode during Idle"
1949 depends on MSM_MEMORY_LOW_POWER_MODE
1950 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1951 help
1952 Selects the default low power mode of the memory during idle
1953 sleep.
1954
1955 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1956 bool "Memory active"
1957
1958 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1959 bool "Memory in retention"
1960
1961 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1962 bool "Memory in deep power down"
1963endchoice
1964
1965choice
1966 prompt "Default Memory Low Power Mode during Suspend"
1967 depends on MSM_MEMORY_LOW_POWER_MODE
1968 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1969 help
1970 Selects the default low power mode of the memory during suspend
1971 sleep.
1972
1973 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1974 bool "Memory active"
1975
1976 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1977 bool "Memory in retention"
1978
1979 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1980 bool "Memory in deep power down"
1981endchoice
1982
1983choice
1984 prompt "Power management timeout action"
1985 default MSM_PM_TIMEOUT_HALT
1986 help
1987 Selects the Application Processor's action when Power Management
1988 times out waiting for Modem's handshake.
1989
1990 config MSM_PM_TIMEOUT_HALT
1991 bool "Halt the Application Processor"
1992
1993 config MSM_PM_TIMEOUT_RESET_MODEM
1994 bool "Reset the Modem Processor"
1995
1996 config MSM_PM_TIMEOUT_RESET_CHIP
1997 bool "Reset the entire chip"
1998endchoice
1999
2000config MSM_IDLE_WAIT_ON_MODEM
2001 int "Wait for Modem to become ready for idle power collapse"
2002 default 0
2003 help
2004 If Modem is not ready to handle Application Processor's request
2005 for idle power collapse, wait the number of microseconds in case
2006 Modem becomes ready soon.
2007
Matt Wagantall9274df92011-12-15 11:11:05 -08002008config MSM_RPM_REGULATOR
2009 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08002010 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08002011 help
2012 Compile in support for the RPM regulator driver, used for setting
2013 voltages and other parameters of the various power rails supplied
2014 by some Qualcomm PMICs.
2015
David Collinsc7642322012-04-04 10:19:12 -07002016config MSM_RPM_REGULATOR_SMD
2017 bool "SMD RPM regulator driver"
2018 depends on REGULATOR
2019 depends on OF
2020 depends on MSM_RPM_SMD
2021 help
2022 Compile in support for the SMD RPM regulator driver which is used for
2023 setting voltages and other parameters of the various power rails
2024 supplied by some Qualcomm PMICs. The SMD RPM regulator driver should
2025 be used on systems which contain an RPM which communicates with the
2026 application processor over SMD.
2027
Rohit Vaswani5fd759e2012-11-07 07:05:08 -08002028config MSM_SMCMOD
2029 tristate "Secure Monitor Call (SMC) Module"
2030 default n
2031 depends on (ARCH_FSM9XXX && ION && ION_MSM && MSM_SCM)
2032 help
2033 Enable support for smcmod driver. This driver provides a mechanism
2034 to execute the Secure Monitor Call (SMC) to switch from non-secure
2035 to secure execution in the fsm9xxx targets. This module utilizes Ion
2036 for buffer management.
2037
Stephen Boyd01710582012-07-09 13:40:05 -07002038config MSM_SUBSYSTEM_RESTART
2039 bool "MSM Subsystem Restart"
2040 help
2041 This option enables the MSM subsystem restart framework.
2042
2043 The MSM subsystem restart framework provides support to boot,
2044 shutdown, and restart subsystems with a reference counted API.
2045 It also notifies userspace of transitions between these states via
2046 sysfs.
2047
2048config MSM_SYSMON_COMM
2049 bool "MSM System Monitor communication support"
2050 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
2051 help
2052 This option adds support for MSM System Monitor library, which
2053 provides an API that may be used for notifying subsystems within
2054 the SoC about other subsystems' power-up/down state-changes.
2055
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002056config MSM_PIL
2057 bool "Peripheral image loading"
2058 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002059 default n
2060 help
2061 Some peripherals need to be loaded into memory before they can be
2062 brought out of reset.
2063
2064 Say yes to support these devices.
2065
Stephen Boyd4eb885b2011-09-29 01:16:03 -07002066config MSM_PIL_MODEM
2067 tristate "Modem (ARM11) Boot Support"
Stephen Boyd3ac20732012-05-03 18:46:08 -07002068 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd4eb885b2011-09-29 01:16:03 -07002069 help
2070 Support for booting and shutting down ARM11 Modem processors.
2071
Stephen Boyd3acc9e42011-09-28 16:46:40 -07002072config MSM_PIL_QDSP6V3
2073 tristate "QDSP6v3 (Hexagon) Boot Support"
Stephen Boyd2e19d932012-05-09 17:36:04 -07002074 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd3acc9e42011-09-28 16:46:40 -07002075 help
2076 Support for booting and shutting down QDSP6v3 processors (hexagon).
2077 The QDSP6 is a low power DSP used in audio software applications.
2078
Stephen Boydbdb53f32012-06-05 18:39:47 -07002079config MSM_PIL_LPASS_QDSP6V4
2080 tristate "LPASS QDSP6v4 (Hexagon) Boot Support"
Stephen Boyda1cf76b2012-06-13 12:05:35 -07002081 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydeb819882011-08-29 14:46:30 -07002082 help
Stephen Boydbdb53f32012-06-05 18:39:47 -07002083 Support for booting and shutting down QDSP6v4 processors (hexagon)
2084 in low power audio subsystems. If you would like to record or
2085 play audio then say Y here.
2086
2087 If unsure, say N.
2088
2089config MSM_PIL_MODEM_QDSP6V4
2090 tristate "Modem QDSP6v4 (Hexagon) Boot Support"
Stephen Boyd2efa9962012-06-12 14:20:12 -07002091 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydbdb53f32012-06-05 18:39:47 -07002092 help
2093 Support for booting and shutting down QDSP6v4 processors (hexagon)
2094 in modem subsystems. If you would like to make or receive phone
2095 calls then say Y here.
2096
2097 If unsure, say N.
Stephen Boydeb819882011-08-29 14:46:30 -07002098
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07002099config MSM_PIL_LPASS_QDSP6V5
Stephen Boyd633eb622012-06-13 12:05:35 -07002100 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
2101 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
2102 help
2103 Support for booting and shutting down QDSP6v5 (Hexagon) processors
2104 in low power audio subsystems. This driver also monitors the ADSP
2105 SMSM status bits and the ADSP's watchdog interrupt and restarts the
2106 ADSP if the processor encounters a fatal error.
Matt Wagantall4e2599e2012-03-21 22:31:35 -07002107
2108config MSM_PIL_MSS_QDSP6V5
Stephen Boyd3da4fd02012-07-06 10:00:12 -07002109 tristate "MSS QDSP6v5 (Hexagon) Boot Support"
2110 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantalle6e00d52012-03-08 17:39:07 -08002111 help
Stephen Boyd3da4fd02012-07-06 10:00:12 -07002112 Support for booting and shutting down QDSP6v5 (Hexagon) processors
2113 in modem subsystems. If you would like to make or receive phone
2114 calls then say Y here.
2115
2116 If unsure, say N.
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07002117
Stephen Boyd322a9922011-09-20 01:05:54 -07002118config MSM_PIL_RIVA
2119 tristate "RIVA (WCNSS) Boot Support"
Stephen Boydfdec00d2012-05-10 17:04:49 -07002120 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd322a9922011-09-20 01:05:54 -07002121 help
2122 Support for booting and shutting down the RIVA processor (WCNSS).
2123 Riva is the wireless subsystem processor used in bluetooth, wireless
2124 LAN, and FM software applications.
2125
Stephen Boydd89eebe2011-09-28 23:28:11 -07002126config MSM_PIL_TZAPPS
2127 tristate "TZApps Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002128 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boydd89eebe2011-09-28 23:28:11 -07002129 help
2130 Support for booting and shutting down TZApps.
2131
2132 TZApps is an image that runs in the secure processor state. It is
2133 used to decrypt data and perform secure operations on the behalf of
2134 the kernel.
2135
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07002136config MSM_PIL_DSPS
2137 tristate "DSPS Boot Support"
Stephen Boydf169b4b2012-05-10 17:55:55 -07002138 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07002139 help
2140 Support for booting and shutting down ARM7 DSPS processors.
2141
2142 DSPS is a sensors offloading processor used for applications such
2143 as rotation detection, temperature, etc.
2144
Stephen Boyd7b973de2012-03-09 12:26:16 -08002145config MSM_PIL_VIDC
2146 tristate "Video Core Secure Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002147 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd7b973de2012-03-09 12:26:16 -08002148 help
2149 Support for authenticating the video core image.
2150
Tianyi Gou828798d2012-05-02 21:12:38 -07002151config MSM_PIL_VENUS
2152 tristate "VENUS (Video) Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002153 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Tianyi Gou828798d2012-05-02 21:12:38 -07002154 help
2155 Support for booting and shutting down the VENUS processor (Video).
2156 Venus is the Video subsystem processor used for video codecs.
2157
Matt Wagantall292aace2012-01-26 19:12:34 -08002158config MSM_PIL_GSS
Stephen Boydd86214b2012-05-10 15:26:35 -07002159 tristate "GSS (Cortex A5) Boot Support"
2160 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantall292aace2012-01-26 19:12:34 -08002161 help
2162 Support for booting and shutting down Cortex A5 processors which run
2163 GPS subsystem firmware.
2164
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002165config MSM_PIL_PRONTO
2166 tristate "PRONTO (WCNSS) Boot Support"
Stephen Boyd581fe852012-06-13 12:05:35 -07002167 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002168 help
2169 Support for booting and shutting down the PRONTO processor (WCNSS).
2170 PRONTO is the wireless subsystem processor used in bluetooth, wireless
2171 LAN, and FM software applications.
2172
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002173config MSM_SCM
2174 bool "Secure Channel Manager (SCM) support"
2175 default n
2176
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002177config SCORPION_Uni_45nm_BUG
2178 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
2179 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
2180 default y
2181 help
2182 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
2183 invalidating the Branch Predictor Array by Modified Virtual Address can
2184 create invalid entries in the TLB with the wrong ASID values on Scorpion
2185 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
2186 workaround for Scorpion Uniprocessor 45nm cores.
2187
2188 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
2189
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002190config MSM_BUSPM_DEV
2191 tristate "MSM Bus Performance Monitor Kernel Module"
Gagan Mac0d5d49e2012-08-28 19:41:37 -06002192 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002193 default m
2194 help
2195 This kernel module is used to mmap() hardware registers for the
2196 performance monitors, counters, etc. The module can also be used to
2197 allocate physical memory which is used by bus performance hardware to
2198 dump performance data.
2199
Mona Hossain11c03ac2011-10-26 12:42:10 -07002200config MSM_TZ_LOG
2201 tristate "MSM Trust Zone (TZ) Log Driver"
2202 depends on DEBUG_FS
2203 help
2204 This option enables a driver with a debugfs interface for messages
2205 produced by the Secure code (Trust zone). These messages provide
2206 diagnostic information about TZ operation.
2207
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002208config MSM_RPM_LOG
2209 tristate "MSM Resource Power Manager Log Driver"
2210 depends on DEBUG_FS
Priyanka Mathur49c60802012-12-13 12:53:58 -08002211 depends on MSM_RPM || MSM_RPM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002212 default n
2213 help
2214 This option enables a driver which can read from a circular buffer
2215 of messages produced by the RPM. These messages provide diagnostic
2216 information about RPM operation. The driver outputs the messages
2217 via a debugfs node.
2218
2219config MSM_RPM_STATS_LOG
2220 tristate "MSM Resource Power Manager Stat Driver"
2221 depends on DEBUG_FS
Priyanka Mathur1af9d4b2012-10-30 14:55:44 -07002222 depends on MSM_RPM || MSM_RPM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002223 default n
2224 help
2225 This option enables a driver which reads RPM messages from a shared
2226 memory location. These messages provide statistical information about
2227 the low power modes that RPM enters. The drivers outputs the message
2228 via a debugfs node.
2229
Girish Mahadevan898c56d2012-06-05 16:09:19 -06002230config MSM_RPM_RBCPR_STATS_LOG
2231 tristate "MSM Resource Power Manager RPBCPR Stat Driver"
2232 depends on DEBUG_FS
2233 depends on MSM_RPM
2234 help
2235 This option enables a driver which reads RPM messages from a shared
2236 memory location. These messages provide statistical information about
2237 RBCPR (Rapid Bridge Core Power Reduction) information . The drivers
2238 outputs the message via a debugfs node.
2239
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002240config MSM_DIRECT_SCLK_ACCESS
2241 bool "Direct access to the SCLK timer"
2242 default n
2243
2244config IOMMU_API
2245 bool
Gregory Bean1963a2a2010-08-28 10:05:44 -07002246
Brian Swetland9e73c842007-11-26 04:12:13 -08002247config MSM_GPIOMUX
2248 bool
2249
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002250config MSM_SECURE_IO
Brian Swetland9e73c842007-11-26 04:12:13 -08002251 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002252
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002253config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002254 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002255
Taniya Dascd1d0232012-07-03 17:50:47 +05302256config MSM_MODEM_RESTART
2257 bool
2258
Matt Wagantall88b86312012-01-31 16:53:03 -08002259config MSM_PM2
2260 depends on PM
2261 bool
2262
2263config MSM_PM8X60
2264 depends on PM
2265 bool
2266
Girish Mahadevan388c3082012-09-10 15:30:36 -06002267config MSM_EVENT_TIMER
2268 bool "Event timer"
2269 help
2270 This option enables a modules that manages a list of event timers that
2271 need to be monitored by the PM. The enables the PM code to monitor
2272 events that require the core to be awake and ready to handle the
2273 event.
2274
Matt Wagantall88b86312012-01-31 16:53:03 -08002275config MSM_NOPM
2276 default y if !PM
2277 bool
2278
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002279config MSM_BUS_SCALING
2280 bool "Bus scaling driver"
2281 default n
2282
Gagan Mac85c70492011-06-10 16:07:47 -06002283config MSM_BUS_RPM_MULTI_TIER_ENABLED
2284 bool "RPM Multi-tiering Configuration"
2285 depends on MSM_BUS_SCALING
2286
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002287config MSM_WATCHDOG
2288 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002289 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002290 help
2291 This enables the watchdog as is present on 8x60. Currently we use
2292 core 0's watchdog, and reset the entire SoC if it times out. It does
2293 not run during the bootup process, so it will not catch any early
2294 lockups.
2295
Hanumant Singhd1f01022012-07-05 14:21:53 -07002296config MSM_WATCHDOG_V2
2297 bool "MSM Watchdog Support"
2298 help
2299 This enables the watchdog module. It causes kernel panic if the
2300 watchdog times out. It allows for detection of cpu hangs and
2301 deadlocks. It does not run during the bootup process, so it will
2302 not catch any early lockups.
2303
Hanumant Singh5e2541c2012-07-31 14:41:14 -07002304config MSM_MEMORY_DUMP
2305 bool "MSM Memory Dump Support"
2306 help
2307 This enables memory dump feature. It allows various client
2308 subsystems to register respective dump regions. At the time
2309 of deadlocks or cpu hangs these dump regions are captured to
2310 give a snapshot of the system at the time of the crash.
2311
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002312config MSM_DLOAD_MODE
2313 bool "Enable download mode on crashes"
Abhimanyu Kapurdd7f2692012-10-22 13:43:52 -07002314 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_MSM8974 || ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002315 default n
2316 help
2317 This makes the SoC enter download mode when it resets
2318 due to a kernel panic. Note that this doesn't by itself
2319 make the kernel reboot on a kernel panic - that must be
2320 enabled via another mechanism.
2321
Pratik Patel17f3b822011-11-21 12:41:47 -08002322config MSM_JTAG
Pratik Patel61e91702013-01-27 20:30:42 -08002323 bool "Debug and ETM trace support across power collapse"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002324 help
Pratik Patel61e91702013-01-27 20:30:42 -08002325 Enables support for debugging (specifically breakpoints) and ETM
Pratik Patel2963de42012-05-17 12:43:40 -07002326 processor tracing across power collapse both for JTag and OS hosted
2327 software running on the target. Enabling this will ensure debug
2328 and ETM registers are saved and restored across power collapse.
2329
Pratik Patel61e91702013-01-27 20:30:42 -08002330 If unsure, say 'N' here to avoid potential power, performance and
2331 memory penalty.
Pratik Patel7831c082011-06-08 21:44:37 -07002332
Pushkar Joshi64cae782012-12-15 18:59:03 -08002333config MSM_JTAG_MM
Pratik Patel61e91702013-01-27 20:30:42 -08002334 bool "Debug and ETM trace support across power collapse using memory mapped access"
Pushkar Joshi64cae782012-12-15 18:59:03 -08002335 help
Pratik Patel61e91702013-01-27 20:30:42 -08002336 Enables support for debugging (specifically breakpoints) and ETM
2337 processor tracing across power collapse both for JTag and OS hosted
2338 software running on the target. Enabling this will ensure debug
2339 and ETM registers are saved and restored across power collapse.
Pushkar Joshi64cae782012-12-15 18:59:03 -08002340
Pratik Patel61e91702013-01-27 20:30:42 -08002341 Required on targets on which cp14 access to debug and ETM registers is
2342 not permitted and so memory mapped access is necessary.
2343
2344 If unsure, say 'N' here to avoid potential power, performance and
2345 memory penalty.
Pushkar Joshi64cae782012-12-15 18:59:03 -08002346
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002347config MSM_ETM
2348 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002349 depends on ARCH_MSM8X60
2350 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002351 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002352 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002353
Lynus Vazdde09ee2012-01-05 13:28:22 +05302354config MSM_SLEEP_STATS_DEVICE
2355 bool "Enable exporting of MSM sleep device stats to userspace"
2356
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302357config MSM_RUN_QUEUE_STATS
2358 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Subbaraman Narayanamurthy0b148fc2012-11-28 12:14:12 -08002359 default n
Krishna Vankae2922052012-03-02 09:59:12 +05302360 help
2361 This option enalbes statistics collection on Run Queue. A daemon
2362 in user mode, called MPDecision will be using this data to decide
2363 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302364
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002365config MSM_STANDALONE_POWER_COLLAPSE
2366 bool "Enable standalone power collapse"
2367 default n
2368
2369config MSM_GSBI9_UART
2370 bool "Enable GSBI9 UART device"
2371 default n
2372 help
2373 This enables GSBI9 configured into UART.
2374
2375config MSM_SHARED_GPIO_FOR_UART2DM
2376 bool "Use shared GPIOs into UART mode"
2377 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2378 help
2379 This option configures GPIO muxed with SDC4/MMC3
2380 8-bit mode into UART mode. It is used for serial
2381 console on UART2DM. Say Y if you want to have
2382 serial console on UART2DM.
2383
2384config MSM_SHOW_RESUME_IRQ
2385 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002386 depends on (ARM_GIC || PMIC8058)
2387 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002388 default n
2389 help
2390 This option logs wake up interrupts that have triggered just before
2391 the resume loop unrolls. Say Y if you want to debug why the system
2392 resumed.
2393
2394config BT_MSM_PINTEST
2395 tristate "MSM Bluetooth Pin Connectivity Test"
2396 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2397 default n
2398 help
2399 Bluetooth MSM Pin Connectivity test module.
2400 This driver provides support for verifying the MSM to BT pin
2401 connectivity.
2402
2403config MSM_FAKE_BATTERY
2404 depends on POWER_SUPPLY
2405 default n
2406 bool "MSM Fake Battery"
2407 help
2408 Enables MSM fake battery driver.
2409
2410config MSM_QDSP6_APR
2411 bool "Audio QDSP6 APR support"
2412 depends on MSM_SMD
2413 default n
2414 help
2415 Enable APR IPC protocol support between
2416 application processor and QDSP6. APR is
2417 used by audio driver to configure QDSP6's
2418 ASM, ADM and AFE.
2419
Joonwoo Park91d95462012-08-02 10:55:54 -07002420config MSM_QDSP6_APRV2
2421 bool "Audio QDSP6 APRv2 support"
2422 depends on MSM_SMD
2423 default n
2424 help
2425 Enable APRv2 IPC protocol support between
2426 application processor and QDSP6. APR is
2427 used by audio driver to configure QDSP6's
2428 ASM, ADM and AFE.
2429
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -07002430config MSM_QDSP6_CODECS
2431 bool "Audio Codecs on QDSP6 APR "
2432 depends on MSM_SMD
2433 default n
2434 help
2435 Enable Audio codecs with APR IPC protocol support between
2436 application processor and QDSP6. APR is
2437 used by audio driver to configure QDSP6's
2438 ASM, ADM and AFE.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002439
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002440config MSM_QDSP6V2_CODECS
2441 bool "Audio QDSP6V2 APR support"
2442 depends on MSM_SMD
2443 help
2444 Enable Audio codecs with APR IPC protocol support between
2445 application processor and QDSP6 for B-family. APR is
2446 used by audio driver to configure QDSP6's
2447 ASM, ADM and AFE.
2448
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002449config MSM_AUDIO_QDSP6
2450 bool "QDSP6 HW Audio support"
2451 select SND_SOC_MSM_QDSP6_INTF
2452 default n
2453 help
2454 Enable HW audio support in QDSP6.
2455 QDSP6 can support HW encoder & decoder and audio processing
2456
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002457config MSM_AUDIO_QDSP6V2
2458 bool "QDSP6V2 HW Audio support"
2459 select SND_SOC_MSM_QDSP6V2_INTF
2460 help
2461 Enable HW audio support in QDSP6V2.
2462 QDSP6V2 can support HW encoder & decoder and
2463 audio processing. It will enable support for
2464 AAC, AMRNB, AMRWB, EVRC, MP3, QCELP among
2465 others.
2466
Joonwoo Park4a14a552012-08-02 11:03:21 -07002467config MSM_ADSP_LOADER
2468 tristate "ADSP loader support"
2469 select SND_SOC_MSM_APRV2_INTF
2470 depends on MSM_AUDIO_QDSP6V2 && m
2471 help
2472 Enable ADSP image loader.
2473 The ADSP loader brings ADSP out of reset
2474 for the platforms that use APRv2.
2475 Say M if you want to enable this module.
2476
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +02002477config MSM_ULTRASOUND_A
2478 bool "QDSP6 HW Ultrasound support"
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002479 help
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +02002480 Enable HW ultrasound support in QDSP6.
2481 QDSP6 can support HW encoder & decoder and
2482 ultrasound processing. It will enable
2483 ultrasound data paths between
2484 HW and services, calculating input events
2485 upon the ultrasound data.
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002486
Baruch Eruchimovitch8c3f7802013-01-05 22:48:04 +02002487config MSM_ULTRASOUND_B
2488 bool "QDSP6V2 HW Ultrasound support"
2489 help
2490 Enable HW Ultrasound support in QDSP6V2.
2491 QDSP6V2 can support HW encoder & decoder and
2492 ultrasound processing. It will enable
2493 ultrasound data paths between
2494 HW and services, calculating input events
2495 upon the ultrasound data.
2496
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002497config MSM_RPC_VIBRATOR
2498 bool "RPC based MSM Vibrator Support"
2499 depends on MSM_ONCRPCROUTER
2500 help
2501 Enable the vibrator support on MSM over RPC. The vibrator
2502 is connected on the PMIC. Say Y if you want to enable this
2503 feature.
2504
2505config PM8XXX_RPC_VIBRATOR
2506 bool "RPC based Vibrator on PM8xxx PMICs"
2507 depends on MSM_RPC_VIBRATOR
2508 help
2509 Enable the vibrator support on MSM over RPC. The vibrator
2510 is connected on the PM8XXX PMIC. Say Y if you want to enable
2511 this feature.
2512
2513config MSM_SPM_V1
2514 bool "Driver support for SPM Version 1"
2515 help
2516 Enables the support for Version 1 of the SPM driver. SPM hardware is
2517 used to manage the processor power during sleep. The driver allows
2518 configuring SPM to allow different power modes.
2519
2520config MSM_SPM_V2
2521 bool "Driver support for SPM Version 2"
2522 help
2523 Enables the support for Version 2 of the SPM driver. SPM hardware is
2524 used to manage the processor power during sleep. The driver allows
2525 configuring SPM to allow different power modes.
2526
2527config MSM_L2_SPM
2528 bool "SPM support for L2 cache"
2529 depends on MSM_SPM_V2
2530 help
2531 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2532 control of L2 cache low power mode with a Subsystem Power manager.
2533 Enabling this driver allows configuring L2 SPM for low power modes
2534 on supported chipsets.
2535
Laura Abbott2d1760b2011-09-29 21:31:24 -07002536config MSM_MULTIMEDIA_USE_ION
2537 bool "Multimedia suport using Ion"
2538 depends on ION_MSM
2539 help
2540 Enable support for multimedia drivers using Ion for buffer management
2541 instead of pmem. Selecting this may also involve userspace
2542 dependencies as well.
2543
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002544config MSM_OCMEM
2545 bool "MSM On-Chip memory driver (OCMEM)"
2546 help
2547 Enable support for On-Chip Memory available on certain MSM chipsets.
2548 OCMEM is a low latency, high performance pool shared by subsystems.
2549
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002550config MSM_OCMEM_LOCAL_POWER_CTRL
2551 bool "OCMEM Local Power Control"
2552 depends on MSM_OCMEM
2553 help
2554 Enable direct power management of the OCMEM core by the
2555 OCMEM driver. By default power management is delegated to
2556 the RPM. Selecting this option causes the OCMEM driver to
2557 directly handle the various macro power transitions.
2558
2559config MSM_OCMEM_DEBUG
2560 bool "OCMEM Debug Support"
2561 depends on MSM_OCMEM
2562 help
2563 Enable debug options for On-chip Memory (OCMEM) driver.
2564 Various debug options include memory, power and latency.
2565 Choosing one of these options allows debugging of each
2566 individual subsystem separately.
2567
Naveen Ramarajc71b2de2012-08-20 12:35:52 -07002568config MSM_OCMEM_NONSECURE
2569 bool "OCMEM Non Secure Mode"
2570 depends on MSM_OCMEM_DEBUG
2571 help
2572 Disable OCMEM interaction with secure processor.
2573 By default OCMEM is secured and accesses for each master
2574 is requested by the OCMEM driver. Selecting this option
2575 causes the OCMEM memory to be in non-secure state unless
2576 its locked down by the secure processor.
2577
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002578config MSM_OCMEM_POWER_DEBUG
2579 bool "OCMEM Power Debug Support"
2580 depends on MSM_OCMEM_DEBUG
2581 help
2582 Enable debug support for OCMEM power management.
2583 This adds support for verifying all power management
2584 related operations of OCMEM. Both local power management
2585 and RPM assisted power management operations are supported.
2586
Naveen Ramaraj4b1d9392012-08-06 21:05:14 -07002587config MSM_OCMEM_POWER_DISABLE
2588 bool "OCMEM Disable Power Control"
2589 depends on MSM_OCMEM_DEBUG
2590 help
2591 Disable all OCMEM power management.
2592 This keeps all OCMEM macros turned ON at all times thus
2593 never allowing them to be turned OFF. Both local power
2594 management and RPM assisted power modes are supported.
2595
Naveen Ramaraj88f23632012-10-10 12:23:29 -07002596config SENSORS_ADSP
2597 bool "Enable Sensors Driver Support for ADSP"
2598 help
2599 Add support for sensors ADSP driver.
2600 This driver is used for exercising different sensors use cases,
2601 such as for lower-power OCMEM use cases, and for time syncing
2602 with ADSP clock.
2603
Laura Abbottad340ff2012-01-04 14:23:48 -08002604config MSM_RTB
2605 bool "Register tracing"
2606 help
2607 Add support for logging different events to a small uncached
2608 region. This is designed to aid in debugging reset cases where the
2609 caches may not be flushed before the target resets.
2610
2611config MSM_RTB_SEPARATE_CPUS
2612 bool "Separate entries for each cpu"
2613 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002614 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002615 help
2616 Under some circumstances, it may be beneficial to give dedicated space
2617 for each cpu to log accesses. Selecting this option will log each cpu
2618 separately. This will guarantee that the last acesses for each cpu
2619 will be logged but there will be fewer entries per cpu
2620
Stepan Moskovchenko57884842012-06-07 17:35:49 -07002621config MSM_EBI_ERP
2622 bool "External Bus Interface (EBI) error reporting"
2623 help
2624 Say 'Y' here to enable reporting of external bus interface errors to
2625 the kernel log. Information such as the offending address and
2626 transaction type will be logged. This may be useful for debugging
2627 seemingly broken memory accesses.
2628
2629 For production builds, you should probably say 'N' here.
2630
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002631config MSM_CACHE_ERP
2632 bool "Cache / CPU error reporting"
2633 depends on ARCH_MSM_KRAIT
2634 help
2635 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2636 log. Enabling this feature can be used as a system debugging technique
2637 if cache corruption is suspected. Cache error statistics will also be
2638 reported in /proc/cpu/msm_cache_erp.
2639
2640 For production builds, you should probably say 'N' here.
2641
2642config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002643 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002644 depends on MSM_CACHE_ERP
2645 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002646 To cause the kernel to panic whenever an L1 cache error is detected, say
2647 'Y' here. This may be useful as a debugging technique if general system
2648 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002649
2650 For production builds, you should probably say 'N' here.
2651
Stepan Moskovchenkoe1aba3d2012-12-06 18:40:25 -08002652config MSM_L1_RECOV_ERR_PANIC
2653 bool "Panic on recoverable L1 cache errors"
2654 depends on MSM_CACHE_ERP && MSM_L1_ERR_PANIC
2655 help
2656 Certain CPU designs may be able to automatically recover from certain
2657 kinds of L1 cache errors, even though the L1 cache itself may not
2658 support error correction. These errors should not result in any kind
2659 of corruption, but their presence is nevertheless an indication of
2660 poor system health. To cause the kernel to panic whenever a
2661 recoverable L1 cache error is detected, say 'Y' here. This may be
2662 useful as a debugging technique if general system instability is
2663 suspected.
2664
2665 For production builds, you should definitely say 'N' here.
2666
Stepan Moskovchenko7035f652012-05-31 17:48:01 -07002667config MSM_L1_ERR_LOG
2668 bool "Log CPU ERP events to system memory"
2669 depends on MSM_CACHE_ERP
2670 help
2671 Enable logging CPU ERP events to an area of memory that will be
2672 preserved across a system reset. This may be useful for detecting and
2673 troubleshooting ERP-related system crashes in the field.
2674
2675 For production builds, you may want to say 'Y' here.
2676
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002677config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2678 bool "Report L2 master port slave/decode errors in kernel log"
2679 depends on MSM_CACHE_ERP
2680 help
2681 Master port errors can occur when a memory request is not properly
2682 handled by the destination slave. This can occur if the destination
2683 register does not exist or is inaccessible due to security
2684 restrictions or (in some cases) clock configuration. Enabling this
2685 option will cause a backtrace to be printed to the kernel log whenever
2686 such an error is encountered. Note that the error is reported as an
2687 interrupt rather than as an exception, meaning that the backtrace may
2688 have some skid. This option may help with debugging, though production
2689 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002690
2691config MSM_L2_ERP_PORT_PANIC
2692 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002693 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002694 help
2695 Master port errors can occur when a memory request is not properly
2696 handled by the destination slave. Enable this option to catch drivers
2697 which attempt to access bad areas of the address space, or access
2698 hardware registers in an improper state (such as certain clocks not
2699 being on). This option may help with debugging, though production
2700 builds should probably say 'N' here.
2701
2702config MSM_L2_ERP_1BIT_PANIC
2703 bool "Panic on recoverable L2 soft errors"
2704 depends on MSM_CACHE_ERP
2705 help
2706 Enable this option to cause a kernel panic whenever the L2 cache
2707 encounters a single-bit (correctable) soft error. This option should
2708 only be enabled when doing low-level debugging where cache corruption
2709 is suspected.
2710
2711 For production builds, you should definitely say 'N' here.
2712
2713config MSM_L2_ERP_2BIT_PANIC
2714 bool "Panic on unrecoverable L2 soft errors"
2715 depends on MSM_CACHE_ERP
2716 help
2717 Enable this option to cause a kernel panic whenever the L2 cache
2718 encounters a double-bit (non-correctable) soft error. Debug builds
2719 will likely benefit from having this option enabled to catch cache
2720 problems as soon as possible.
2721
2722 For production builds, it may be acceptable to say 'N' here, since
2723 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002724
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002725config MSM_DCVS
2726 bool "Use MSM DCVS for CPU/GPU Frequency control"
2727 depends on MSM_SCM
2728 help
2729 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2730 The DCVS manager allows idle driver to feed the idle information to the
2731 algorithm and the algorithm returns a frequency for the core which is
2732 passed to the frequency change driver.
2733
Pankaj Kumar32ce1ea2012-04-04 20:29:29 +05302734config MSM_CPR
2735 tristate "Use MSM CPR in S/W mode"
2736 help
2737 Enable CPR (core power reduction) in S/W mode, where the processor
2738 get's the notification from CPR block and programs the PMIC.
2739
2740config MSM_VP_REGULATOR
2741 tristate "Use MSM PMIC8029 C2 regulator"
2742 depends on ARCH_MSM8625
2743 help
2744 Enable MSM PMIC8029 C2 regulator support using APC_PLEVEL access
2745 for MSMs like 8625.
2746
Taniya Dasc43e6872012-03-21 16:41:14 +05302747config HAVE_ARCH_HAS_CURRENT_TIMER
2748 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002749
2750config MSM_CACHE_DUMP
2751 bool "Cache dumping support"
2752 help
2753 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2754 This allows for analysis of the caches in case cache corruption is
2755 suspected.
2756
Laura Abbott7b637362012-03-29 16:43:49 -07002757config MSM_CACHE_DUMP_ON_PANIC
2758 bool "Dump caches on panic"
2759 depends on MSM_CACHE_DUMP
2760 help
2761 By default, the caches are flushed on panic. This means that trying to
2762 look at them in a RAM dump will give useless data. Select this if you
2763 want to dump the L1 and L2 caches on panic before any flush occurs.
2764 If unsure, say N
2765
Jack Phamccbbfab2012-04-09 19:50:20 -07002766config MSM_HSIC_SYSMON
2767 tristate "MSM HSIC system monitor driver"
2768 depends on USB
2769 help
2770 Add support for bridging with the system monitor interface of MDM
2771 over HSIC. This driver allows the local system monitor to
2772 communicate with the remote system monitor interface.
2773
2774config MSM_HSIC_SYSMON_TEST
2775 tristate "MSM HSIC system monitor bridge test"
2776 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2777 help
2778 Enable the test hook for the Qualcomm system monitor HSIC driver.
2779 This will create a debugfs file entry named "hsic_sysmon_test" which
2780 can be read and written to send character data to the sysmon port of
2781 the modem over USB.
2782
Anirudh Ghayal0d2291a2012-09-20 21:31:41 +05302783config MSM_RPC_PMIC
2784 tristate "MSM RPC PMIC driver"
2785 depends on MSM_ONCRPCROUTER
2786 help
2787 This driver supports the PMIC functionality over RPC for those MSM's
2788 which do not have a direct access to PMIC. It supports ability to
2789 configure MPP, GPIO and all the other supported peripherals of the
2790 PMIC.
2791
Anirudh Ghayald3a63732012-09-20 22:13:13 +05302792config MSM_RPC_USB
2793 tristate "MSM RPC USB driver"
2794 depends on MSM_ONCRPCROUTER
2795 help
2796 This driver supports the USB configuration support over the RPC
2797 interface. It support the HS USB module connected to the MSM
2798 and FS USB which is connected over the PMIC. This support is
2799 required for MSMs on which the APPS does not have a direct access
2800 to the PMIC.
2801
2802config MSM_RPC_PMAPP
2803 tristate "MSM RPC PMIC APP driver"
2804 depends on MSM_ONCRPCROUTER
2805 help
2806 This driver supports the configuration of various PMIC APP modules
2807 such as display backlight, vreg pin-ctrl, smps clock over the RPC
2808 interface. This support is required for MSMs on which the APPS
2809 does not have a direct access to the PMIC.
Pushkar Joshi0fc73462012-09-26 17:59:31 -07002810
2811config MSM_ENABLE_WDOG_DEBUG_CONTROL
2812 bool "MSM Watchdog driver to disable debug Image"
2813 help
2814 This driver supports the configuration of the GCC_WDOG_DEBUG register
2815 used to control debug image.
2816 This support is currently required for MSM8974 to disable debug image
2817 on PS HOLD reset
Taniya Dasea4263f92012-08-22 18:52:51 +05302818
2819config MSM_FIQ
2820 bool "Enable FIQ for debugging"
2821 depends on ARCH_MSM8625
2822 select FIQ
Taniya Das36e4aa12012-07-04 18:27:16 +05302823 select GIC_SECURE
Taniya Dasea4263f92012-08-22 18:52:51 +05302824 help
2825 Enable any line to be used as an FIQ. This will help debugging
2826 if apps is not responding and holding lock with irqs disabled.
2827 Modem will then generate an raise a FIQ on this line before sending
2828 SMSM reset.
Greg Reidb1d240a2012-10-12 12:20:31 -04002829
2830config MSM_USE_USER_ACCESSIBLE_TIMERS
2831 bool "Enables mapping an MSM timer counter page to user space."
2832 depends on ARM_USE_USER_ACCESSIBLE_TIMERS
2833 help
2834 Enables MSM-specific user accessible timers via a shared
2835 memory page containing the cycle counter.
2836
Sidipotu Ashokbf84d4d2012-11-06 17:13:28 +05302837config USE_DEV_CTRL_VOLUME
2838 bool "Use Device Control Volume"
2839 help
2840 Use Device Control Volume as opposed to ALSA volume control.
2841
Jay Chokshi06e444f2012-12-06 20:48:23 -08002842config MSM_CPU_PWRCTL
2843 bool "Ensures that krait droop detectors are always off"
2844 help
2845 Droop detector mechanism can adversely affect krait plls during
2846 stand alone power collapse operation. Selecting this option
2847 ensures that they are always off.
2848
Saket Saurabh6089f952012-12-07 15:49:13 +05302849config MSM_UARTDM_Core_v14
2850 bool "Use MSM BLSP based HSUART Core v1.4"
2851 depends on SERIAL_MSM_HS
2852 help
2853 Select if BLSP based UART Core v.14 or higher is present.
Brian Swetland9e73c842007-11-26 04:12:13 -08002854endif