blob: a2a3d5ec3c7408dafca0a6c2ff3b8a28f87bd92a [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
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700292
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +0530293config ARCH_MPQ8092
294 bool "MPQ8092"
295 select ARCH_MSM_KRAITMP
296 select GPIO_MSM_V3
297 select ARM_GIC
298 select MULTI_IRQ_HANDLER
299 select CPU_V7
300 select MSM_GPIOMUX
301 select MAY_HAVE_SPARSE_IRQ
302 select SPARSE_IRQ
303 select MSM_NOPM
304
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700305config ARCH_FSM9XXX
306 bool "FSM9XXX"
307 select ARCH_MSM_SCORPION
308 select MSM_VIC
309 select CPU_V7
310 select MSM_REMOTE_SPINLOCK_LDREX
Steve Mucklef132c6c2012-06-06 18:30:57 -0700311 select GPIO_FSM9XXX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530312 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800313 select MSM_DALRPC
Daniel Walker4ad15e62010-05-06 13:54:17 -0700314
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700315config ARCH_MSM9615
316 bool "MSM9615"
317 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530318 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700319 select ARCH_MSM_CORTEX_A5
320 select CPU_V7
Rohit Vaswani4307c842012-10-11 15:50:05 -0700321 select MIGHT_HAVE_CACHE_L2X0
Steve Mucklef132c6c2012-06-06 18:30:57 -0700322 select GPIO_MSM_V2
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700323 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600324 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600325 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700326 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800327 select REGULATOR
328 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530329 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800330 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800331 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700332 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800333 select MSM_QDSP6_APR
334 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800335 select FIQ
Laura Abbottb14ed962012-01-30 14:18:08 -0800336 select ARM_HAS_SG_CHAIN
Matt Wagantall9274df92011-12-15 11:11:05 -0800337
Taniya Das43bcdd62011-12-02 17:33:27 +0530338config ARCH_MSM8625
339 bool "MSM8625"
340 select ARCH_MSM_CORTEX_A5
341 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700342 select GPIO_MSM_V1
Taniya Das43bcdd62011-12-02 17:33:27 +0530343 select MSM_GPIOMUX
344 select ARM_GIC
345 select ARCH_MSM_CORTEXMP
346 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530347 select ARM_TICKET_LOCKS
Krishna Vankae2922052012-03-02 09:59:12 +0530348 select MSM_RUN_QUEUE_STATS
Trilok Sonib856ab92012-06-26 14:33:28 +0530349 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530350 select ARM_HAS_SG_CHAIN
Ashwin Chaugule3deb6b82012-12-21 13:09:48 -0500351 select CPU_HAS_L2_PMU
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700352
353config ARCH_MSM9625
354 bool "MSM9625"
355 select ARM_GIC
Abhimanyu Kapur490d20c2012-06-22 17:34:20 -0700356 select MIGHT_HAVE_CACHE_L2X0
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700357 select ARCH_MSM_CORTEX_A5
358 select SMP
359 select MSM_SMP
360 select CPU_V7
Abhimanyu Kapur4bb38622012-10-16 19:07:48 -0700361 select MSM_SCM if SMP
Jin Hong690e3352012-05-02 09:25:05 -0700362 select MSM_GPIOMUX
Girish Mahadevanf1c20a42012-09-19 11:44:36 -0600363 select MSM_RPM_SMD
Abhimanyu Kapur46e5e2b2012-10-02 20:45:37 -0700364 select MSM_NATIVE_RESTART
365 select MSM_RESTART_V2
Girish Mahadevan6e419562012-09-19 12:50:05 -0600366 select MSM_SPM_V2
367 select MSM_PM8X60 if PM
368 select MSM_SCM if SMP
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700369 select MULTI_IRQ_HANDLER
Rohit Vaswani61cf6ef2012-07-27 13:51:48 -0700370 select GPIO_MSM_V3
David Collins1cc6e402012-09-17 16:02:24 -0700371 select MAY_HAVE_SPARSE_IRQ
372 select SPARSE_IRQ
Mitchel Humpherys92e9b8a2012-10-08 18:12:47 -0700373 select MSM_MULTIMEDIA_USE_ION
Girish Mahadevane3be9302012-11-07 16:21:52 -0700374 select MSM_RPM_STATS_LOG
Venkat Sudhir0620e982012-11-15 16:04:36 -0800375 select MSM_QDSP6_APRV2
376 select MSM_QDSP6V2_CODECS
377 select MSM_AUDIO_QDSP6V2 if SND_SOC
Ashwin Chaugule8b459cc2012-11-26 15:20:54 -0500378 select CPU_HAS_L2_PMU
Pushkar Joshi64cae782012-12-15 18:59:03 -0800379 select MSM_JTAG_MM if MSM_QDSS
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700380
Syed Rameez Mustafa3971c142013-01-09 19:04:53 -0800381config ARCH_MSM8610
382 bool "MSM8610"
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700383 select ARM_GIC
384 select GIC_SECURE
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700385 select ARCH_MSM_CORTEXMP
386 select CPU_V7
387 select MSM_SCM if SMP
388 select MAY_HAVE_SPARSE_IRQ
389 select SPARSE_IRQ
390 select MULTI_IRQ_HANDLER
391 select GPIO_MSM_V3
392 select MSM_GPIOMUX
Hanumant Singhe4271312012-10-24 13:27:57 -0700393 select MSM_NATIVE_RESTART
394 select MSM_RESTART_V2
Karthikeyan Ramasubramanian8e826c92012-11-27 17:08:12 -0700395 select QMI_ENCDEC
Syed Rameez Mustafa9ee80102012-11-02 14:41:04 -0700396
397config ARCH_MSM8226
398 bool "MSM8226"
399 select ARM_GIC
400 select GIC_SECURE
Syed Rameez Mustafa9ee80102012-11-02 14:41:04 -0700401 select ARCH_MSM_CORTEXMP
402 select CPU_V7
403 select MSM_SCM if SMP
404 select MAY_HAVE_SPARSE_IRQ
405 select SPARSE_IRQ
406 select MULTI_IRQ_HANDLER
407 select GPIO_MSM_V3
408 select MSM_GPIOMUX
Syed Rameez Mustafaf1bdd712012-11-20 14:56:44 -0800409 select MSM_NATIVE_RESTART
410 select MSM_RESTART_V2
Bhalchandra Gajare4e08f632012-12-18 11:54:35 -0800411 select MSM_QDSP6_APRV2
412 select MSM_QDSP6V2_CODECS
413 select MSM_AUDIO_QDSP6V2 if SND_SOC
Karthikeyan Ramasubramaniand04c8652013-01-16 09:03:51 -0700414 select QMI_ENCDEC
Praveen Chidambarama06f60d2012-11-29 09:52:53 -0700415 select MSM_RPM_SMD
416 select MSM_SPM_V2
417 select MSM_L2_SPM
418 select MSM_PM8X60 if PM
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700419endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700420
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700421choice
422 prompt "MSM SoC Revision"
423 default MSM_SOC_REV_NONE
424config MSM_SOC_REV_NONE
425 bool "N/A"
426 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
427 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walkerbf83de42010-03-16 16:29:44 -0700428config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700429 bool "Rev. A"
430 select ARCH_MSM7X27A if ARCH_MSM7X27
Daniel Walkerbf83de42010-03-16 16:29:44 -0700431endchoice
432
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700433config MSM_KRAIT_TBB_ABORT_HANDLER
434 bool "Krait TBB/TBH data abort handler"
435 depends on ARCH_MSM_KRAIT
436 depends on ARM_THUMB
437 help
438 Certain early samples of the Krait processor may generate data
439 aborts for TBB / TBH instructions that fail their condition code
440 checks. Enabling this option will ignore these erroneous data aborts,
441 at the expense of a very small performance penalty.
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800442
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700443 If unsure, say N.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700444
445config ARCH_MSM_ARM11
446 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700447
Daniel Walkerbf83de42010-03-16 16:29:44 -0700448config ARCH_MSM_SCORPION
449 bool
450
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700451config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700452 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800453 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700454
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700455config MSM_SMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700456 select HAVE_SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700457 bool
458
459config ARCH_MSM_SCORPIONMP
460 select ARCH_MSM_SCORPION
461 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530462 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700463 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700464 bool
465
466config ARCH_MSM_KRAITMP
467 select ARCH_MSM_KRAIT
468 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530469 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700470 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700471 bool
472
Taniya Das43bcdd62011-12-02 17:33:27 +0530473config ARCH_MSM_CORTEXMP
474 select MSM_SMP
475 bool
476
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700477config MSM_KRAIT_WFE_FIXUP
478 bool
479
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700480config MSM_RESTART_V2
481 bool
482
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700483config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800484 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700485
486config ARCH_MSM7X27A
487 bool
488 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700489 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530490 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530491 select ARM_GIC
492 select ARCH_MSM_CORTEXMP
Trilok Sonib856ab92012-06-26 14:33:28 +0530493 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530494 select ARM_HAS_SG_CHAIN
Ashwin Chaugule3deb6b82012-12-21 13:09:48 -0500495 select CPU_HAS_L2_PMU
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700496
Gregory Beanf9f3d312010-04-30 22:06:50 -0700497config MSM_VIC
498 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700499
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700500config MSM_RPM
501 bool "Resource Power Manager"
502 select MSM_MPM
503
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600504config MSM_RPM_SMD
505 depends on MSM_SMD
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600506 select MSM_MPM_OF
507 bool "RPM driver using SMD protocol"
508 help
509 RPM is the dedicated hardware engine for managing shared SoC
510 resources. This config adds driver support for using SMD as a
511 transport layer communication with RPM hardware. It also selects
512 the MSM_MPM config that programs the MPM module to monitor interrupts
513 during sleep modes.
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600514
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700515config MSM_MPM
516 bool "Modem Power Manager"
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600517 help
518 MPM is a dedicated hardware resource responsible for entering and
519 waking up from a system wide low power mode. The MPM driver tracks
520 the wakeup interrupts and configures the MPM to monitor the wakeup
521 interrupts when going to a system wide sleep mode.
522
523config MSM_MPM_OF
524 bool "Modem Power Manager"
Subbaraman Narayanamurthy0b148fc2012-11-28 12:14:12 -0800525 depends on OF
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600526 help
527 MPM is a dedicated hardware resource responsible for entering and
528 waking up from a system wide low power mode. The MPM driver tracks
529 the wakeup interrupts and configures the MPM to monitor the wakeup
530 interrupts when going to a system wide sleep mode. This config option
531 enables the MPM driver that supports initialization from a device
532 tree
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700533
Priyanka Mathur9a75ec52012-12-07 16:02:40 -0800534config MSM_LPM_TEST
535 bool "Low Power Mode test framework"
536 depends on MSM_RPM
537 depends on MSM_PM8X60
538 help
539 LPM_TEST is a test framework that assists in exercising the low
540 power mode algorithm on MSM targets. This test framework tracks
541 notifications sent during entry/exit of the low power modes and
542 processes them to measure various stats including latency
543 measurement.
544
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700545config MSM_XO
546 bool
547
548config MSM_REMOTE_SPINLOCK_DEKKERS
549 bool
550config MSM_REMOTE_SPINLOCK_SWP
551 bool
552config MSM_REMOTE_SPINLOCK_LDREX
553 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600554config MSM_REMOTE_SPINLOCK_SFPB
555 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700556config MSM_ADM3
557 bool
558
559menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700560
561config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700562 depends on ARCH_MSM7X01A
563 depends on MSM_STACKED_MEMORY
564 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700565 bool "Halibut Board (QCT SURF7201A)"
566 help
567 Support for the Qualcomm SURF7201A eval board.
568
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700569config MACH_MSM7201A_SURF
570 depends on ARCH_MSM7X01A
571 depends on MSM_STACKED_MEMORY
572 default y
573 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700574 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700575 Support for the Qualcomm MSM7201A SURF eval board.
576
577config MACH_MSM7201A_FFA
578 depends on ARCH_MSM7X01A
579 depends on MSM_STACKED_MEMORY
580 default y
581 bool "MSM7201A FFA"
582 help
583 Support for the Qualcomm MSM7201A FFA eval board.
584
585config MACH_TROUT
586 depends on ARCH_MSM7X01A
587 depends on MSM_STACKED_MEMORY
588 default y
589 bool "Trout"
590
591config MACH_MSM7X27_SURF
592 depends on ARCH_MSM7X27
593 depends on !MSM_STACKED_MEMORY
594 default y
595 bool "MSM7x27 SURF"
596 help
597 Support for the Qualcomm MSM7x27 SURF eval board.
598
599config MACH_MSM7X27_FFA
600 depends on ARCH_MSM7X27
601 depends on !MSM_STACKED_MEMORY
602 default y
603 bool "MSM7x27 FFA"
604 help
605 Support for the Qualcomm MSM7x27 FFA eval board.
606
607config MACH_MSM7X27A_RUMI3
608 depends on ARCH_MSM7X27A
609 depends on !MSM_STACKED_MEMORY
610 default y
611 bool "MSM7x27A RUMI3"
612 help
613 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
614
615config MACH_MSM7X27A_SURF
616 depends on ARCH_MSM7X27A
617 depends on !MSM_STACKED_MEMORY
618 default y
619 bool "MSM7x27A SURF"
620 help
621 Support for the Qualcomm MSM7x27A SURF.
622
623config MACH_MSM7X27A_FFA
624 depends on ARCH_MSM7X27A
625 depends on !MSM_STACKED_MEMORY
626 default y
627 bool "MSM7x27A FFA"
628 help
629 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700630
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530631config MACH_MSM7625A_SURF
632 depends on ARCH_MSM7X27A
633 depends on !MSM_STACKED_MEMORY
634 default y
635 bool "MSM7625A SURF"
636 help
637 Support for the Qualcomm MSM7625A SURF.
638
639config MACH_MSM7625A_FFA
640 depends on ARCH_MSM7X27A
641 depends on !MSM_STACKED_MEMORY
642 default y
643 bool "MSM7625A FFA"
644 help
645 Support for the Qualcomm MSM7625A FFA.
646
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530647config MACH_MSM7627A_QRD1
648 depends on ARCH_MSM7X27A
649 depends on !MSM_STACKED_MEMORY
650 default y
651 bool "MSM7627A QRD1"
652 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530653 Support for the Qualcomm MSM7627A Reference Design.
654
655config MACH_MSM7627A_QRD3
656 depends on ARCH_MSM7X27A
657 depends on !MSM_STACKED_MEMORY
658 default y
659 bool "MSM7627A QRD3"
660 help
661 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530662
Taniya Dasc868a2e2012-01-03 10:18:47 +0530663config MACH_MSM7627A_EVB
664 depends on ARCH_MSM7X27A
665 depends on !MSM_STACKED_MEMORY
666 default y
667 bool "MSM7627A EVB"
668 help
669 Support for the Qualcomm MSM7627A Reference Design.
670
Taniya Das43bcdd62011-12-02 17:33:27 +0530671config MACH_MSM8625_RUMI3
672 depends on ARCH_MSM8625
673 depends on !MSM_STACKED_MEMORY
674 default y
675 bool "MSM8625 RUMI3"
676 help
677 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
678
Taniya Dase3027e22012-02-27 16:32:27 +0530679config MACH_MSM8625_SURF
680 depends on ARCH_MSM8625
681 depends on !MSM_STACKED_MEMORY
682 default y
683 bool "MSM8625 SURF"
684 help
685 Support for the Qualcomm MSM8625 SURF.
686
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530687config MACH_MSM8625_FFA
688 depends on ARCH_MSM8625
689 depends on !MSM_STACKED_MEMORY
690 default y
691 bool "MSM8625 FFA"
692 help
693 Support for the Qualcomm MSM8625 FFA.
694
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530695config MACH_MSM8625_EVB
696 depends on ARCH_MSM8625
697 depends on !MSM_STACKED_MEMORY
698 default y
699 bool "MSM8625 EVB"
700 help
701 Support for the Qualcomm MSM8625 Reference Design.
702
Taniya Dasbd096542012-03-15 17:43:45 +0530703config MACH_MSM8625_QRD7
704 depends on ARCH_MSM8625
705 depends on !MSM_STACKED_MEMORY
706 default y
707 bool "MSM8625 QRD7"
708 help
709 Support for the Qualcomm MSM8625 Reference Design.
710
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530711config MACH_MSM8625_EVT
712 depends on ARCH_MSM8625
713 depends on !MSM_STACKED_MEMORY
714 default y
715 bool "MSM8625 EVT"
716 help
717 Support for the Qualcomm MSM8625 Reference Design.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700718
Channagoud Kadabi2bd65c82012-10-12 15:14:23 +0530719config MACH_QRD_SKUD_PRIME
720 depends on ARCH_MSM8625
721 depends on !MSM_STACKED_MEMORY
722 default y
723 bool "MSM8625 SKUD PRIME"
724 help
725 Support for the Qualcomm MSM8625 SKUD prime Reference Design.
726 Add support for a SKUD prime reference design based on MSM8x25
727 chipset. This device is much closer to a phone than regular form
728 factor devices, with new touch, display panel and other hardware
729 configurations.
730
Daniel Walker7b521612010-05-06 12:44:57 -0700731config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700732 depends on ARCH_MSM7X30
733 depends on !MSM_STACKED_MEMORY
734 default y
735 bool "MSM7x30 SURF"
736 help
737 Support for the Qualcomm MSM7x30 SURF eval board.
738
739config MACH_MSM7X30_FFA
740 depends on ARCH_MSM7X30
741 depends on !MSM_STACKED_MEMORY
742 default y
743 bool "MSM7x30 FFA"
744 help
745 Support for the Qualcomm MSM7x30 FFA eval board.
746
747config MACH_MSM7X30_FLUID
748 depends on ARCH_MSM7X30
749 depends on !MSM_STACKED_MEMORY
750 default y
751 bool "MSM7x30 FLUID"
752 help
753 Support for the Qualcomm MSM7x30 FLUID eval board.
754
755config MACH_SAPPHIRE
756 depends on ARCH_MSM7X01A
757 default n
758 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700759
Daniel Walker4ad15e62010-05-06 13:54:17 -0700760config MACH_QSD8X50_SURF
761 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700762 depends on MSM_SOC_REV_NONE
763 depends on MSM_STACKED_MEMORY
764 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700765 bool "QSD8x50 SURF"
766 help
767 Support for the Qualcomm QSD8x50 SURF eval board.
768
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700769config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700770 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700771 depends on MSM_SOC_REV_NONE
772 depends on MSM_STACKED_MEMORY
773 default y
774 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700775 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700776 Support for the Qualcomm QSD8x50 FFA eval board.
777
778config MACH_MSM7X25_SURF
779 depends on ARCH_MSM7X25
780 depends on !MSM_STACKED_MEMORY
781 default y
782 bool "MSM7x25 SURF"
783 help
784 Support for the Qualcomm MSM7x25 SURF eval board.
785
786config MACH_MSM7X25_FFA
787 depends on ARCH_MSM7X25
788 depends on !MSM_STACKED_MEMORY
789 default y
790 bool "MSM7x25 FFA"
791 help
792 Support for the Qualcomm MSM7x25 FFA eval board.
793
794config MACH_MSM8X55_SURF
795 depends on ARCH_MSM7X30
796 depends on !MSM_STACKED_MEMORY
797 default y
798 bool "MSM8X55 SURF"
799 help
800 Support for the Qualcomm MSM8x55 SURF eval board.
801
802config MACH_MSM8X55_FFA
803 depends on ARCH_MSM7X30
804 depends on !MSM_STACKED_MEMORY
805 default y
806 bool "MSM8X55 FFA"
807 help
808 Support for the Qualcomm MSM8x55 FFA eval board.
809
810config MACH_MSM8X55_SVLTE_FFA
811 depends on ARCH_MSM7X30
812 depends on !MSM_STACKED_MEMORY
813 default y
814 bool "MSM8X55 SVLTE FFA"
815 help
816 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
817
818config MACH_MSM8X55_SVLTE_SURF
819 depends on ARCH_MSM7X30
820 depends on !MSM_STACKED_MEMORY
821 default y
822 bool "MSM8X55 SVLTE SURF"
823 help
824 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700825
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700826config MACH_MSM8X60_SURF
827 depends on ARCH_MSM8X60
828 default n
829 bool "MSM8x60 SURF"
830 help
831 Support for the Qualcomm MSM8x60 SURF eval board.
832
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700833config MACH_MSM8X60_FFA
834 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700835 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700836 bool "MSM8x60 FFA"
837 help
838 Support for the Qualcomm MSM8x60 FFA eval board.
839
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700840config MACH_MSM8X60_FLUID
841 depends on ARCH_MSM8X60
842 default n
843 bool "MSM8x60 FLUID"
844 help
845 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
846 8x60 target which has a form factor that is much closer to that
847 of a phone than other targets. It also has a new display and
848 touchscreen controller.
849
850config MACH_MSM8X60_FUSION
851 depends on ARCH_MSM8X60
852 default n
853 bool "MSM8x60 FUSION"
854 help
855 Support for the Qualcomm MSM8x60 Fusion SURF device.
856
857config MACH_MSM8X60_FUSN_FFA
858 depends on ARCH_MSM8X60
859 default n
860 bool "MSM8x60 FUSN FFA"
861 help
862 Support for the Qualcomm MSM8x60 Fusion FFA device.
863
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400864config MACH_MSM8X60_DRAGON
865 depends on ARCH_MSM8X60
866 default n
867 bool "MSM8x60 DRAGON"
868 help
869 Support for the Qualcomm MSM8x60 Dragon board.
870
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700871config MACH_MSM8960_CDP
872 depends on ARCH_MSM8960
873 bool "MSM8960 CDP"
874 help
875 Support for the Qualcomm MSM8960 CDP device.
876
877config MACH_MSM8960_MTP
878 depends on ARCH_MSM8960
879 bool "MSM8960 MTP"
880 help
881 Support for the Qualcomm MSM8960 MTP device.
882
883config MACH_MSM8960_FLUID
884 depends on ARCH_MSM8960
885 bool "MSM8960 FLUID"
886 help
887 Support for the Qualcomm MSM8960 FLUID device.
888
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300889config MACH_MSM8960_LIQUID
890 depends on ARCH_MSM8960
891 bool "MSM8960 LIQUID"
892 help
893 Support for the Qualcomm MSM8960 LIQUID device.
894
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700895config MACH_MSM8930_CDP
896 depends on ARCH_MSM8930
897 bool "MSM8930 CDP"
898 help
899 Support for the Qualcomm MSM8930 CDP device.
900
901config MACH_MSM8930_MTP
902 depends on ARCH_MSM8930
903 bool "MSM8930 MTP"
904 help
905 Support for the Qualcomm MSM8930 MTP device.
906
907config MACH_MSM8930_FLUID
908 depends on ARCH_MSM8930
909 bool "MSM8930 FLUID"
910 help
911 Support for the Qualcomm MSM8930 FLUID device.
912
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800913config MACH_MSM8627_CDP
914 depends on ARCH_MSM8930
915 bool "MSM8627 CDP"
916 help
917 Support for the Qualcomm MSM8627 CDP device.
918
919config MACH_MSM8627_MTP
920 depends on ARCH_MSM8930
921 bool "MSM8627 MTP"
922 help
923 Support for the Qualcomm MSM8627 MTP device.
924
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700925config MACH_MSM9615_CDP
926 depends on ARCH_MSM9615
927 bool "MSM9615 CDP"
928 help
929 Support for the Qualcomm MSM9615 CDP device.
930
931config MACH_MSM9615_MTP
932 depends on ARCH_MSM9615
933 bool "MSM9615 MTP"
934 help
935 Support for the Qualcomm MSM9615 MTP device.
936
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700937config MSM_USE_TSIF1
938 depends on ARCH_MSM8X60
939 bool "MSM8x60 use TSIF1"
940 help
941 Selects TSIF1 core to be used rather than TSIF0.
942 The two TSIF cores share the same DM configuration
943 so they cannot be used simultaneously.
944
Joel King82b7e3f2012-01-05 10:03:27 -0800945config MACH_APQ8064_CDP
946 depends on ARCH_APQ8064
947 bool "APQ8064 CDP"
948 help
949 Support for the Qualcomm APQ8064 CDP device.
950
951config MACH_APQ8064_MTP
952 depends on ARCH_APQ8064
953 bool "APQ8064 MTP"
954 help
955 Support for the Qualcomm APQ8064 MTP device.
956
957config MACH_APQ8064_LIQUID
958 depends on ARCH_APQ8064
959 bool "APQ8064 LIQUID"
960 help
961 Support for the Qualcomm APQ8064 LIQUID device.
962
Joel King064bbf82012-04-01 13:23:39 -0700963config MACH_MPQ8064_CDP
964 depends on ARCH_APQ8064
965 bool "MPQ8064 CDP"
966 help
967 Support for the Qualcomm MPQ8064 CDP device.
968
Joel King11ca8202012-02-13 16:19:03 -0800969config MACH_MPQ8064_HRD
970 depends on ARCH_APQ8064
971 bool "MPQ8064 HRD"
972 help
973 Support for the Qualcomm MPQ8064 HRD device.
974
975config MACH_MPQ8064_DTV
976 depends on ARCH_APQ8064
977 bool "MPQ8064 DTV"
978 help
979 Support for the Qualcomm MPQ8064 DTV device.
980
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700981config MACH_FSM9XXX_SURF
982 depends on ARCH_FSM9XXX
983 depends on !MSM_STACKED_MEMORY
984 default y
985 bool "FSM9XXX SURF"
986 help
987 Support for the Qualcomm FSM9xxx femtocell
988 chipset based SURF evaluation board and
989 FFA board.
990
Daniel Walker4ad15e62010-05-06 13:54:17 -0700991endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800992
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700993config MSM_STACKED_MEMORY
994 bool "Stacked Memory"
995 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800996 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700997 This option is used to indicate the presence of on-die stacked
998 memory. When present this memory bank is used for a high speed
999 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -08001000
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001001config PHYS_OFFSET
1002 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -07001003 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001004 default "0x80200000" if ARCH_APQ8064
1005 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -07001006 default "0x80200000" if ARCH_MSM8930
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001007 default "0x00000000" if ARCH_MSM8974
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +05301008 default "0x00000000" if ARCH_MPQ8092
Syed Rameez Mustafa90f80502012-08-23 17:27:24 -07001009 default "0x00000000" if ARCH_MSM8226
Syed Rameez Mustafa3971c142013-01-09 19:04:53 -08001010 default "0x00000000" if ARCH_MSM8610
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001011 default "0x10000000" if ARCH_FSM9XXX
Abhimanyu Kapur20ac2ad2012-09-25 04:23:59 -07001012 default "0x00200000" if ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001013 default "0x00200000" if !MSM_STACKED_MEMORY
1014 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
1015 default "0x20000000" if ARCH_QSD8X50
1016 default "0x40200000" if ARCH_MSM8X60
1017 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -08001018
Mitchel Humpherys05e58812012-08-13 14:24:13 -07001019config KERNEL_MSM_CONTIG_MEM_REGION
1020 bool "Enable in-kernel contiguous memory region"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001021 default y if ARCH_MSM8X60
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001022 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001023 help
Mitchel Humpherys05e58812012-08-13 14:24:13 -07001024 Enable the in-kernel contiguous memory allocator. Sets up a
1025 region of physically contiguous memory. This memory is
1026 reserved during initialization, and can be used
1027 generically.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001028
1029config KERNEL_PMEM_SMI_REGION
1030 bool "Enable in-kernel PMEM region for SMI"
1031 default y if ARCH_MSM8X60
1032 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
1033 help
1034 Enable the in-kernel PMEM allocator to use SMI memory.
1035
1036config PMEM_GPU0
1037 bool "Enable PMEM GPU0 region"
1038 default y
1039 depends on ARCH_QSD8X50 && ANDROID_PMEM
1040 help
1041 Enable the PMEM GPU0 device on SMI Memory.
1042
1043config MSM_AMSS_VERSION
1044 int
1045 default 6210 if MSM_AMSS_VERSION_6210
1046 default 6220 if MSM_AMSS_VERSION_6220
1047 default 6225 if MSM_AMSS_VERSION_6225
1048
1049choice
1050 prompt "AMSS modem firmware version"
1051
1052 default MSM_AMSS_VERSION_6225
1053
1054 config MSM_AMSS_VERSION_6210
1055 bool "6.2.10"
1056
1057 config MSM_AMSS_VERSION_6220
1058 bool "6.2.20"
1059
1060 config MSM_AMSS_VERSION_6225
1061 bool "6.2.20 + New ADSP"
1062endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -08001063
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001064config MSM_HAS_DEBUG_UART_HS
Daniel Walkerbf83de42010-03-16 16:29:44 -07001065 bool
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001066 help
1067 Say Y here if high speed MSM UART is present.
1068
1069config MSM_HAS_DEBUG_UART_HS_V14
1070 bool
1071 select MSM_HAS_DEBUG_UART_HS
1072 help
1073 Say Y here if high speed MSM UART v1.4 is present.
1074
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301075config MSM_DEBUG_UART_PHYS
1076 hex
1077 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
1078 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
1079 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
1080 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
1081 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
1082 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
1083 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
1084 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
1085
Brian Swetland9e73c842007-11-26 04:12:13 -08001086choice
1087 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001088 depends on DEBUG_LL
Brian Swetland9e73c842007-11-26 04:12:13 -08001089
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001090 config DEBUG_MSM_UART1
1091 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301092 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001093 help
1094 Say Y here if you want the debug print routines to direct
1095 their output to the first serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001096
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001097 config DEBUG_MSM_UART2
1098 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301099 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001100 help
1101 Say Y here if you want the debug print routines to direct
1102 their output to the second serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001103
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001104 config DEBUG_MSM_UART3
1105 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301106 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001107 help
1108 Say Y here if you want the debug print routines to direct
1109 their output to the third serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001110
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001111 config DEBUG_MSM8660_UART
1112 bool "Kernel low-level debugging messages via MSM 8660 UART"
1113 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001114 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001115 help
1116 Say Y here if you want the debug print routines to direct
1117 their output to the serial port on MSM 8660 devices.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001118
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001119 config DEBUG_MSM8960_UART
1120 bool "Kernel low-level debugging messages via MSM 8960 UART"
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001121 depends on ARCH_MSM8960 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001122 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001123 help
1124 Say Y here if you want the debug print routines to direct
1125 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001126
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001127 config DEBUG_MSM8930_UART
1128 bool "Kernel low-level debugging messages via MSM 8930 UART"
1129 depends on ARCH_MSM8930 && DEBUG_LL
1130 select MSM_HAS_DEBUG_UART_HS
1131 help
1132 Say Y here if you want the debug print routines to direct
1133 their output to the serial port on MSM 8930 devices.
1134
1135 config DEBUG_APQ8064_UART
1136 bool "Kernel low-level debugging messages via APQ 8064 UART"
1137 depends on ARCH_APQ8064 && DEBUG_LL
1138 select MSM_HAS_DEBUG_UART_HS
1139 help
1140 Say Y here if you want the debug print routines to direct
1141 their output to the serial port on APQ 8064 devices.
1142
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001143 config DEBUG_MSM8974_UART
1144 bool "Kernel low-level debugging messages via MSM 8974 UART"
1145 depends on ARCH_MSM8974
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001146 select MSM_HAS_DEBUG_UART_HS_V14
1147 help
1148 Say Y here if you want the debug print routines to direct
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001149 their output to the serial port on MSM 8974 devices.
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +05301150
1151 config DEBUG_MPQ8092_UART
1152 bool "Kernel low-level debugging messages via MPQ8092 UART"
1153 depends on ARCH_MPQ8092
1154 select MSM_HAS_DEBUG_UART_HS_V14
1155 help
1156 Say Y here if you want the debug print routines to direct
1157 their output to the serial port on MPQ8092 devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001158endchoice
Brian Swetland9e73c842007-11-26 04:12:13 -08001159
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001160choice
1161 prompt "Default Timer"
1162 default MSM7X00A_USE_GP_TIMER
1163
1164 config MSM7X00A_USE_GP_TIMER
1165 bool "GP Timer"
1166 help
1167 Low resolution timer that allows power collapse from idle.
1168
1169 config MSM7X00A_USE_DG_TIMER
1170 bool "DG Timer"
1171 help
1172 High resolution timer.
1173endchoice
1174
1175choice
1176 prompt "Suspend sleep mode"
1177 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1178 help
1179 Allows overriding the sleep mode used. Leave at power
1180 collapse suspend unless the arm9 image has problems.
1181
1182 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1183 bool "Power collapse suspend"
1184 help
1185 Lowest sleep state. Returns through reset vector.
1186
1187 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1188 bool "Power collapse"
1189 help
1190 Sleep state that returns through reset vector.
1191
1192 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1193 bool "Apps Sleep"
1194
1195 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1196 bool "Ramp down cpu clock and wait for interrupt"
1197
1198 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1199 bool "Wait for interrupt"
1200endchoice
1201
1202config MSM7X00A_SLEEP_MODE
1203 int
1204 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1205 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1206 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1207 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1208 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1209
1210choice
1211 prompt "Idle sleep mode"
1212 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1213 help
1214 Allows overriding the sleep mode used from idle. Leave at power
1215 collapse suspend unless the arm9 image has problems.
1216
1217 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1218 bool "Power collapse suspend"
1219 help
1220 Lowest sleep state. Returns through reset vector.
1221
1222 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1223 bool "Power collapse"
1224 help
1225 Sleep state that returns through reset vector.
1226
1227 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1228 bool "Apps Sleep"
1229
1230 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1231 bool "Ramp down cpu clock and wait for interrupt"
1232
1233 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1234 bool "Wait for interrupt"
1235endchoice
1236
1237config MSM7X00A_IDLE_SLEEP_MODE
1238 int
1239 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1240 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1241 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1242 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1243 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1244
1245config MSM7X00A_IDLE_SLEEP_MIN_TIME
1246 int "Minimum idle time before sleep"
1247 default 20000000
1248 help
1249 Minimum idle time in nanoseconds before entering low power mode.
1250
1251config MSM7X00A_IDLE_SPIN_TIME
1252 int "Idle spin time before cpu ramp down"
1253 default 80000
1254 help
1255 Spin time in nanoseconds before ramping down cpu clock and entering
1256 any low power state.
1257
1258menuconfig MSM_IDLE_STATS
1259 bool "Collect idle statistics"
1260 default y
1261 help
1262 Collect idle statistics and export them in proc/msm_pm_stats.
1263
1264if MSM_IDLE_STATS
1265
1266config MSM_IDLE_STATS_FIRST_BUCKET
1267 int "First bucket time"
1268 default 62500
1269 help
1270 Upper time limit in nanoseconds of first bucket.
1271
1272config MSM_IDLE_STATS_BUCKET_SHIFT
1273 int "Bucket shift"
1274 default 2
1275
1276config MSM_IDLE_STATS_BUCKET_COUNT
1277 int "Bucket count"
1278 default 10
1279
1280config MSM_SUSPEND_STATS_FIRST_BUCKET
1281 int "First bucket time for suspend"
1282 default 1000000000
1283 help
1284 Upper time limit in nanoseconds of first bucket of the
1285 histogram. This is for collecting statistics on suspend.
1286
1287endif # MSM_IDLE_STATS
1288
1289config CPU_HAS_L2_PMU
1290 bool "L2CC PMU Support"
1291 help
1292 Select this if the L2 cache controller has a Performance Monitoring Unit.
1293
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001294config HTC_HEADSET
1295 tristate "HTC 2 Wire detection driver"
1296 default n
1297 help
1298 Provides support for detecting HTC 2 wire devices, such as wired
1299 headset, on the trout platform. Can be used with the msm serial
1300 debugger, but not with serial console.
1301
1302config TROUT_BATTCHG
1303 depends on MACH_TROUT && POWER_SUPPLY
1304 default y
1305 bool "Trout battery / charger driver"
1306
1307config HTC_PWRSINK
1308 depends on MSM_SMD
1309 default n
1310 bool "HTC Power Sink Driver"
1311
1312config QSD_SVS
1313 bool "QSD Static Voltage Scaling"
1314 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1315 default y
1316 select TPS65023
1317 help
1318 Enables static voltage scaling using the TPS65023 PMIC.
1319
1320config QSD_PMIC_DEFAULT_DCDC1
1321 int "PMIC default output voltage"
1322 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1323 default 1250
1324 help
1325 This is the PMIC voltage at Linux kernel boot.
1326
1327config MSM_FIQ_SUPPORT
1328 default y
1329 bool "Enable installation of an FIQ handler."
1330
1331config MSM_SERIAL_DEBUGGER
1332 select MSM_FIQ_SUPPORT
1333 select KERNEL_DEBUGGER_CORE
1334 default n
1335 bool "FIQ Mode Serial Debugger"
1336 help
1337 The FIQ serial debugger can accept commands even when the
1338 kernel is unresponsive due to being stuck with interrupts
1339 disabled. Depends on the kernel debugger core in drivers/misc.
1340
1341config MSM_SERIAL_DEBUGGER_CONSOLE
1342 depends on MSM_SERIAL_DEBUGGER
1343 default n
1344 bool "Console on FIQ Serial Debugger port"
1345 help
1346 Enables a console so that printk messages are displayed on
1347 the debugger serial port as the occur.
Brian Swetland9e73c842007-11-26 04:12:13 -08001348
Gregory Beanab78cde2010-09-01 16:26:12 -07001349config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001350 default y
1351 bool "Proc-Comm RPC Interface"
1352 help
1353 Enables a lightweight communications interface to the
1354 baseband processor.
Gregory Beanab78cde2010-09-01 16:26:12 -07001355
Gregory Bean1963a2a2010-08-28 10:05:44 -07001356config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001357 bool "MSM Shared Memory Driver (SMD)"
1358 help
1359 Support for the shared memory interface between the apps
1360 processor and the baseband processor. Provides access to
1361 the "shared heap", as well as virtual serial channels
1362 used to communicate with various services on the baseband
1363 processor.
1364
1365choice
1366 prompt "MSM Shared memory interface version"
1367 depends on MSM_SMD
1368 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1369 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1370
1371 config MSM_SMD_PKG3
1372 bool
1373 prompt "Package 3"
1374
1375 config MSM_SMD_PKG4
1376 bool
1377 prompt "Package 4"
1378endchoice
1379
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001380config MSM_PCIE
1381 bool "MSM PCIe Controller driver"
1382 depends on PCI && PCI_MSI
1383 help
1384 Enables the PCIe functionality by configures PCIe core on
1385 MSM chipset and by enabling the ARM PCI framework extension.
1386
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001387config MSM_RPC_SDIO_XPRT
1388 depends on MSM_SDIO_AL
1389 default y
1390 bool "MSM SDIO XPRT Layer"
1391 help
1392 SDIO Transport Layer for RPC Rouer
1393
1394config MSM_RPC_SDIO_DEBUG
1395 depends on MSM_RPC_SDIO_XPRT
1396 default y
1397 bool "MSM SDIO XPRT debug support"
1398 help
1399 Support for debugging SDIO XPRT
1400
1401config MSM_SMD_DEBUG
1402 depends on MSM_SMD
1403 default y
1404 bool "MSM SMD debug support"
1405 help
1406 Support for debugging the SMD for communication
1407 between the ARM9 and ARM11
1408
1409config MSM_SDIO_AL
1410 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1411 default y
1412 tristate "SDIO-Abstraction-Layer"
1413 help
1414 Support MSM<->MDM Communication over SDIO bus.
1415 MDM SDIO-Client should have pipes support.
1416
1417config MSM_SDIO_DMUX
1418 bool "SDIO Data Mux Driver"
1419 depends on MSM_SDIO_AL
1420 default n
1421 help
1422 Support Muxed Data Channels over SDIO interface.
1423
1424config MSM_BAM_DMUX
1425 bool "BAM Data Mux Driver"
1426 depends on SPS
1427 default n
1428 help
1429 Support Muxed Data Channels over BAM interface.
1430 BAM has a limited number of pipes. This driver
1431 provides a means to support more logical channels
1432 via muxing than BAM could without muxing.
1433
1434config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001435 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001436 default y
1437 bool "MSM N-WAY SMD support"
1438 help
1439 Supports APPS-QDSP SMD communication along with
1440 normal APPS-MODEM SMD communication.
1441
1442config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001443 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001444 default y
1445 bool "MSM N-WAY SMSM support"
1446 help
1447 Supports APPS-QDSP SMSM communication along with
1448 normal APPS-MODEM SMSM communication.
1449
Eric Holmberg6275b602012-11-19 13:05:04 -07001450config MSM_SMP2P
1451 bool "SMSM Point-to-Point (SMP2P)"
1452 depends on MSM_SMD
1453 help
1454 Provide point-to-point remote signaling support.
1455 SMP2P enables transferring 32-bit values between
1456 the local and a remote system using shared
1457 memory and interrupts. A client can open multiple
1458 32-bit values by specifying a unique string and
1459 remote processor ID.
1460
1461config MSM_SMP2P_TEST
1462 bool "SMSM Point-to-Point Test"
1463 depends on MSM_SMP2P
1464 help
1465 Enables loopback and unit testing support for
1466 SMP2P. Loopback support is used by other
1467 processors to do unit testing. Unit tests
1468 are used to verify the local and remote
1469 implementations.
1470
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001471config MSM_RESET_MODEM
1472 tristate "Reset Modem Driver"
1473 depends on MSM_SMD
1474 default m
1475 help
1476 Allows the user to reset the modem through a device node.
1477
1478config MSM_SMD_LOGGING
1479 depends on MSM_SMD
1480 default y
1481 bool "MSM Shared Memory Logger"
1482 help
1483 This option exposes the shared memory logger at /dev/smem_log
1484 and a debugfs node named smem_log.
1485
1486 If in doubt, say yes.
1487
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001488config MSM_IPC_LOGGING
1489 bool "MSM Debug Logging for IPC Drivers"
1490 help
1491 This option allows the debug logging for IPC Drivers.
1492
1493 If in doubt, say no.
1494
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001495config MSM_SMD_NMEA
1496 bool "NMEA GPS Driver"
1497 depends on MSM_SMD
1498 default y
1499 help
1500 Enable this to support the NMEA GPS device.
1501
1502 If in doubt, say yes.
1503
1504config MSM_SDIO_TTY
1505 bool "SDIO TTY Driver"
1506 depends on MSM_SDIO_AL
1507 default n
1508 help
1509 Provides a TTY driver SDIO TTY
1510 This driver can be used by user space
1511 applications for passing data through the
1512 SDIO interface.
1513
1514config MSM_SMD_TTY
1515 bool "SMD TTY Driver"
1516 depends on MSM_SMD
1517 default y
1518 help
1519 Provides TTY interfaces to interact with the modem.
1520
1521 If in doubt, say yes.
1522
1523config MSM_SMD_QMI
1524 bool "SMD QMI Driver"
1525 depends on MSM_SMD
1526 default y
1527 help
1528 Manages network data connections.
1529
1530 If in doubt, say yes.
1531
1532config MSM_SMD_PKT
1533 bool "SMD Packet Driver"
1534 depends on MSM_SMD
1535 default y
1536 help
1537 Provides a binary SMD non-muxed packet port interface.
1538
1539 If in doubt, say yes.
1540
1541config MSM_SDIO_CMUX
1542 bool "SDIO CMUX Driver"
1543 depends on MSM_SDIO_AL
1544 default n
1545 help
1546 Provides a Muxed port interface over SDIO QMI
1547
1548config MSM_DSPS
1549 bool "Sensors DSPS driver"
1550 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1551 default n
1552 help
1553 Provides user-space interface to the sensors manager
1554 to turn on/off the Sensors Processor system clocks.
1555 It is the DSPS responsibility to turn on/off the sensors
1556 themself.
1557 The number of clocks and their name may vary between targets.
1558 It also triggers the PIL to load the DSPS firmware.
1559
1560config MSM_SDIO_CTL
1561 bool "SDIO CTL Driver"
1562 depends on MSM_SDIO_CMUX
1563 default n
1564 help
1565 Provides a binary SDIO control port interface.
1566
1567config MSM_ONCRPCROUTER
1568 depends on MSM_SMD
1569 default n
1570 bool "MSM ONCRPC router support"
1571 help
1572 Support for the MSM ONCRPC router for communication between
1573 the ARM9 and ARM11
1574
1575config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001576 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001577 default n
1578 bool "MSM IPC Router support"
1579 help
1580 Support for the MSM IPC Router for communication between
1581 the APPs and the MODEM
1582
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001583config MSM_IPC_ROUTER_SMD_XPRT
1584 depends on MSM_SMD
1585 depends on MSM_IPC_ROUTER
1586 default n
1587 bool "MSM SMD XPRT Layer"
1588 help
1589 SMD Transport Layer for IPC Router
1590
Karthikeyan Ramasubramanian5b502d3642012-09-23 22:23:36 -06001591config MSM_IPC_ROUTER_SECURITY
1592 depends on MSM_IPC_ROUTER
1593 bool "MSM IPC Router Security support"
1594 help
1595 This feature of IPC Router will enforce security rules
1596 configured by a security script from the user-space. IPC Router
1597 once configured with the security rules will ensure that the
1598 sender of the message to a service belongs to the relevant
1599 Linux group as configured by the security script.
1600
Karthikeyan Ramasubramanianfec77ff2012-10-26 20:03:26 -06001601config MSM_QMI_INTERFACE
1602 depends on MSM_IPC_ROUTER
1603 depends on QMI_ENCDEC
1604 default n
1605 bool "MSM QMI Interface Library"
1606 help
1607 Library to send and receive QMI messages over IPC Router.
1608 This library provides interface functions to the kernel drivers
1609 to perform QMI message marshaling and transport them over IPC
1610 Router.
1611
Karthikeyan Ramasubramaniana9859e82012-07-12 13:10:42 -06001612config MSM_TEST_QMI_CLIENT
1613 depends on MSM_QMI_INTERFACE
1614 bool "MSM TEST QMI CLIENT"
1615 help
1616 The sample QMI client provides a test code for QMI usage. The
1617 test_service client driver uses QMI interface library to send
1618 and receive QMI messages over IPC Router. The test code sends
1619 a synchronous QMI request to the test_service and handles the
1620 QMI responses.
1621
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001622config MSM_ONCRPCROUTER_DEBUG
1623 depends on MSM_ONCRPCROUTER
1624 default y
1625 bool "MSM debug ONCRPC router support"
1626 help
1627 Support for debugging the ONCRPC router for communication
1628 between the ARM9 and ARM11
1629
1630config MSM_RPC_LOOPBACK_XPRT
1631 depends on MSM_ONCRPCROUTER
1632 default n
1633 bool "MSM RPC local routing support"
1634 help
1635 Support for routing RPC messages between APPS clients
1636 and APPS servers. Helps in testing APPS RPC framework.
1637
1638config MSM_RPCSERVER_TIME_REMOTE
1639 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1640 default y
1641 bool "Time remote RPC server"
1642 help
1643 The time remote server receives notification of time bases and
1644 reports these events to registered callback functions.
1645
1646config MSM_RPCSERVER_WATCHDOG
1647 depends on MSM_ONCRPCROUTER
1648 default y
1649 bool "Watchdog RPC server"
1650 help
1651 The dog_keepalive server handles watchdog events.
1652
1653config MSM_RPC_WATCHDOG
1654 depends on MSM_ONCRPCROUTER
1655 default n
1656 bool "Watchdog RPC client"
1657 help
1658 The dog_keepalive client module.
1659
1660config MSM_RPC_PING
1661 depends on MSM_ONCRPCROUTER && DEBUG_FS
1662 default m
1663 bool "MSM rpc ping"
1664 help
1665 Implements MSM rpc ping test module.
1666
1667config MSM_RPC_PROC_COMM_TEST
1668 depends on DEBUG_FS && MSM_PROC_COMM
1669 default m
1670 bool "MSM rpc proc comm test"
1671 help
1672 Implements MSM rpc proc comm test module.
1673
1674config MSM_RPC_OEM_RAPI
1675 depends on MSM_ONCRPCROUTER
1676 default m
1677 bool "MSM oem rapi"
1678 help
1679 Implements MSM oem rapi client module.
1680
1681config MSM_RPCSERVER_HANDSET
1682 depends on MSM_ONCRPCROUTER
1683 default y
1684 bool "Handset events RPC server"
1685 help
1686 Support for receiving handset events like headset detect,
1687 headset switch and clamshell state.
1688
1689config MSM_RMT_STORAGE_CLIENT
1690 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1691 default n
1692 bool "Remote Storage RPC client"
1693 help
1694 Provide RPC mechanism for remote processors to access storage
1695 device on apps processor.
1696
1697config MSM_RMT_STORAGE_CLIENT_STATS
1698 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1699 default n
1700 bool "Remote storage RPC client performance statistics"
1701 help
1702 Collects performance statistics and shows this information
1703 through a debugfs file rmt_storage_stats.
1704
1705config MSM_SDIO_SMEM
1706 depends on MSM_SDIO_AL
1707 default n
1708 bool "SDIO SMEM for remote storage"
1709 help
1710 Copies data from remote MDM9K memory to local MSM8x60
1711 memory. Used by remote storage client to shadow
1712 MDM9K filesystem.
1713
1714config MSM_DALRPC
1715 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001716 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001717 help
1718 Supports RPC calls to DAL devices on remote processor cores.
1719
1720config MSM_DALRPC_TEST
1721 tristate "DAL RPC test module"
1722 depends on (MSM_DALRPC && DEBUG_FS)
1723 default m
1724 help
1725 Exercises DAL RPC calls to QDSP6.
1726
1727if CPU_FREQ_MSM
1728
1729config MSM_CPU_FREQ_SET_MIN_MAX
1730 bool "Set Min/Max CPU frequencies."
1731 default n
1732 help
1733 Allow setting min and max CPU frequencies. Sysfs can be used
1734 to override these values.
1735
1736config MSM_CPU_FREQ_MAX
1737 int "Max CPU Frequency"
1738 depends on MSM_CPU_FREQ_SET_MIN_MAX
1739 default 384000
1740
1741config MSM_CPU_FREQ_MIN
1742 int "Min CPU Frequency"
1743 depends on MSM_CPU_FREQ_SET_MIN_MAX
1744 default 245760
1745
1746endif # CPU_FREQ_MSM
1747
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001748config MSM_AVS_HW
1749 bool "Enable Adaptive Voltage Scaling (AVS)"
1750 default n
1751 help
1752 Enable AVS hardware to fine tune voltage at each frequency. The
1753 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1754 fine tune the voltages based on the feedback from the ring
1755 oscillators.
1756
1757config MSM_HW3D
1758 tristate "MSM Hardware 3D Register Driver"
1759 depends on ANDROID_PMEM
1760 default y
1761 help
1762 Provides access to registers needed by the userspace OpenGL|ES
1763 library.
1764
1765config MSM_ADSP
1766 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1767 tristate "MSM ADSP driver"
1768 depends on ANDROID_PMEM
1769 default y
1770 help
1771 Provides access to registers needed by the userspace aDSP library.
1772
1773config ADSP_RPC_VER
1774 hex
1775 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1776 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1777 depends on MSM_ADSP
1778 help
1779 Select proper ADSP RPC version
1780choice
1781 prompt "ADSP RPC version"
1782
1783 default AMSS_7X25_VERSION_2009
1784
1785 config AMSS_7X25_VERSION_2009
1786 bool "2.0.09"
1787
1788 config AMSS_7X25_VERSION_2008
1789 bool "2.0.08"
1790endchoice
1791
1792config MSM7KV2_AUDIO
1793 bool "MSM7K v2 audio"
1794 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1795 default y
1796 help
1797 Enables QDSP5V2-based audio drivers for audio playbacks and
1798 voice call.
1799
1800config MSM_ADSP_REPORT_EVENTS
1801 bool "Report modem events from the DSP"
1802 default y
1803 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1804 help
1805 Normally, only messages from the aDSP are reported to userspace.
1806 With this option, we report events from the aDSP as well.
1807
1808config MSM_QDSP6
1809 tristate "QDSP6 support"
1810 depends on ARCH_QSD8X50 && ANDROID_PMEM
1811 default y
1812 help
1813 Enable support for qdsp6. This provides audio and video functionality.
1814
1815config MSM8X60_AUDIO
1816 tristate "MSM8X60 audio support"
1817 depends on ARCH_MSM8X60 && ANDROID_PMEM
1818 default y
1819 help
1820 Enable support for qdsp6v2. This provides audio functionality.
1821
1822config MSM8X60_FTM_AUDIO_DEVICES
1823 bool "MSM8X60 audio factory test mode support"
1824 depends on MSM8X60_AUDIO
1825 help
1826 Enable support audio factory test mode devices. This is used
1827 in a production line environment.
1828
Ben Romberger45b351c2011-07-20 22:37:27 -07001829config RTAC
1830 bool "MSM8K real-time audio calibration support"
1831 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001832 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001833 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001834 audio operation
1835
1836config MSM7X27A_AUDIO
1837 bool "MSM7X27A audio support"
1838 depends on ARCH_MSM7X27A && MSM_ADSP
1839 default n
1840 help
1841 Enable support for 7x27a. This provides audio functionality.
1842
Justin Pauporea6cd2092011-06-22 16:19:45 -07001843config MSM_PROC_COMM_REGULATOR
Gregory Bean1963a2a2010-08-28 10:05:44 -07001844 bool
Justin Pauporea6cd2092011-06-22 16:19:45 -07001845 depends on MSM_PROC_COMM && REGULATOR
1846 help
1847 Enable regulator framework support for regulators managed by PMLIB
1848 on the modem, and controlled through proccomm calls.
1849
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001850config MSM_VREG_SWITCH_INVERTED
1851 bool "Reverse vreg switch polarity"
1852 default n
1853 help
1854 Reverses the enable and disable for vreg switch.
1855
1856config MSM_DMA_TEST
1857 tristate "MSM DMA test module"
1858 default m
1859 help
1860 Intended to be compiled as a module. Provides a device node
1861 and ioctls for testing the MSM dma system.
1862
1863config WIFI_CONTROL_FUNC
1864 bool "Enable WiFi control function abstraction"
1865 help
1866 Enables Power/Reset/Carddetect function abstraction
1867
1868config WIFI_MEM_PREALLOC
1869 depends on WIFI_CONTROL_FUNC
1870 bool "Preallocate memory for WiFi buffers"
1871 help
1872 Preallocates memory buffers for WiFi driver
1873
1874config QSD_AUDIO
1875 bool "QSD audio"
1876 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1877 default y
1878 help
1879 Provides PCM, MP3, and AAC audio playback.
1880
1881config AUDIO_AAC_PLUS
1882 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1883 bool "AAC+ Audio"
1884 default y
1885 help
1886 Provides AAC+ decoding
1887
1888config AUDIO_ENHANCED_AAC_PLUS
1889 depends on AUDIO_AAC_PLUS
1890 bool "Enhanced AAC+ Audio"
1891 default y
1892 help
1893 Provides Enhanced AAC+ decoding
1894
1895config SURF_FFA_GPIO_KEYPAD
1896 bool "MSM SURF/FFA GPIO keypad"
1897 depends on INPUT_GPIO = "y"
1898 default y
1899 help
1900 Select if the GPIO keypad is attached.
1901
1902config MSM_SLEEP_TIME_OVERRIDE
1903 bool "Allow overriding suspend/sleep time with PM module parameter"
1904 default y
1905 help
1906 Enable the module parameter sleep_time_override. Specified
1907 in units of seconds, it overwrites the normal sleep time of
1908 suspend. The feature is required for automated power management
1909 testing.
1910
1911config MSM_MEMORY_LOW_POWER_MODE
1912 bool "Control the low power modes of memory"
1913 default n
1914 help
1915 The application processor controls whether memory should enter
1916 which low power mode.
1917
1918choice
1919 prompt "Default Memory Low Power Mode during Idle"
1920 depends on MSM_MEMORY_LOW_POWER_MODE
1921 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1922 help
1923 Selects the default low power mode of the memory during idle
1924 sleep.
1925
1926 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1927 bool "Memory active"
1928
1929 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1930 bool "Memory in retention"
1931
1932 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1933 bool "Memory in deep power down"
1934endchoice
1935
1936choice
1937 prompt "Default Memory Low Power Mode during Suspend"
1938 depends on MSM_MEMORY_LOW_POWER_MODE
1939 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1940 help
1941 Selects the default low power mode of the memory during suspend
1942 sleep.
1943
1944 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1945 bool "Memory active"
1946
1947 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1948 bool "Memory in retention"
1949
1950 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1951 bool "Memory in deep power down"
1952endchoice
1953
1954choice
1955 prompt "Power management timeout action"
1956 default MSM_PM_TIMEOUT_HALT
1957 help
1958 Selects the Application Processor's action when Power Management
1959 times out waiting for Modem's handshake.
1960
1961 config MSM_PM_TIMEOUT_HALT
1962 bool "Halt the Application Processor"
1963
1964 config MSM_PM_TIMEOUT_RESET_MODEM
1965 bool "Reset the Modem Processor"
1966
1967 config MSM_PM_TIMEOUT_RESET_CHIP
1968 bool "Reset the entire chip"
1969endchoice
1970
1971config MSM_IDLE_WAIT_ON_MODEM
1972 int "Wait for Modem to become ready for idle power collapse"
1973 default 0
1974 help
1975 If Modem is not ready to handle Application Processor's request
1976 for idle power collapse, wait the number of microseconds in case
1977 Modem becomes ready soon.
1978
Matt Wagantall9274df92011-12-15 11:11:05 -08001979config MSM_RPM_REGULATOR
1980 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001981 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001982 help
1983 Compile in support for the RPM regulator driver, used for setting
1984 voltages and other parameters of the various power rails supplied
1985 by some Qualcomm PMICs.
1986
David Collinsc7642322012-04-04 10:19:12 -07001987config MSM_RPM_REGULATOR_SMD
1988 bool "SMD RPM regulator driver"
1989 depends on REGULATOR
1990 depends on OF
1991 depends on MSM_RPM_SMD
1992 help
1993 Compile in support for the SMD RPM regulator driver which is used for
1994 setting voltages and other parameters of the various power rails
1995 supplied by some Qualcomm PMICs. The SMD RPM regulator driver should
1996 be used on systems which contain an RPM which communicates with the
1997 application processor over SMD.
1998
Rohit Vaswani5fd759e2012-11-07 07:05:08 -08001999config MSM_SMCMOD
2000 tristate "Secure Monitor Call (SMC) Module"
2001 default n
2002 depends on (ARCH_FSM9XXX && ION && ION_MSM && MSM_SCM)
2003 help
2004 Enable support for smcmod driver. This driver provides a mechanism
2005 to execute the Secure Monitor Call (SMC) to switch from non-secure
2006 to secure execution in the fsm9xxx targets. This module utilizes Ion
2007 for buffer management.
2008
Stephen Boyd01710582012-07-09 13:40:05 -07002009config MSM_SUBSYSTEM_RESTART
2010 bool "MSM Subsystem Restart"
2011 help
2012 This option enables the MSM subsystem restart framework.
2013
2014 The MSM subsystem restart framework provides support to boot,
2015 shutdown, and restart subsystems with a reference counted API.
2016 It also notifies userspace of transitions between these states via
2017 sysfs.
2018
2019config MSM_SYSMON_COMM
2020 bool "MSM System Monitor communication support"
2021 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
2022 help
2023 This option adds support for MSM System Monitor library, which
2024 provides an API that may be used for notifying subsystems within
2025 the SoC about other subsystems' power-up/down state-changes.
2026
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002027config MSM_PIL
2028 bool "Peripheral image loading"
2029 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002030 default n
2031 help
2032 Some peripherals need to be loaded into memory before they can be
2033 brought out of reset.
2034
2035 Say yes to support these devices.
2036
Stephen Boyd4eb885b2011-09-29 01:16:03 -07002037config MSM_PIL_MODEM
2038 tristate "Modem (ARM11) Boot Support"
Stephen Boyd3ac20732012-05-03 18:46:08 -07002039 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd4eb885b2011-09-29 01:16:03 -07002040 help
2041 Support for booting and shutting down ARM11 Modem processors.
2042
Stephen Boyd3acc9e42011-09-28 16:46:40 -07002043config MSM_PIL_QDSP6V3
2044 tristate "QDSP6v3 (Hexagon) Boot Support"
Stephen Boyd2e19d932012-05-09 17:36:04 -07002045 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd3acc9e42011-09-28 16:46:40 -07002046 help
2047 Support for booting and shutting down QDSP6v3 processors (hexagon).
2048 The QDSP6 is a low power DSP used in audio software applications.
2049
Stephen Boydbdb53f32012-06-05 18:39:47 -07002050config MSM_PIL_LPASS_QDSP6V4
2051 tristate "LPASS QDSP6v4 (Hexagon) Boot Support"
Stephen Boyda1cf76b2012-06-13 12:05:35 -07002052 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydeb819882011-08-29 14:46:30 -07002053 help
Stephen Boydbdb53f32012-06-05 18:39:47 -07002054 Support for booting and shutting down QDSP6v4 processors (hexagon)
2055 in low power audio subsystems. If you would like to record or
2056 play audio then say Y here.
2057
2058 If unsure, say N.
2059
2060config MSM_PIL_MODEM_QDSP6V4
2061 tristate "Modem QDSP6v4 (Hexagon) Boot Support"
Stephen Boyd2efa9962012-06-12 14:20:12 -07002062 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydbdb53f32012-06-05 18:39:47 -07002063 help
2064 Support for booting and shutting down QDSP6v4 processors (hexagon)
2065 in modem subsystems. If you would like to make or receive phone
2066 calls then say Y here.
2067
2068 If unsure, say N.
Stephen Boydeb819882011-08-29 14:46:30 -07002069
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07002070config MSM_PIL_LPASS_QDSP6V5
Stephen Boyd633eb622012-06-13 12:05:35 -07002071 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
2072 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
2073 help
2074 Support for booting and shutting down QDSP6v5 (Hexagon) processors
2075 in low power audio subsystems. This driver also monitors the ADSP
2076 SMSM status bits and the ADSP's watchdog interrupt and restarts the
2077 ADSP if the processor encounters a fatal error.
Matt Wagantall4e2599e2012-03-21 22:31:35 -07002078
2079config MSM_PIL_MSS_QDSP6V5
Stephen Boyd3da4fd02012-07-06 10:00:12 -07002080 tristate "MSS QDSP6v5 (Hexagon) Boot Support"
2081 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantalle6e00d52012-03-08 17:39:07 -08002082 help
Stephen Boyd3da4fd02012-07-06 10:00:12 -07002083 Support for booting and shutting down QDSP6v5 (Hexagon) processors
2084 in modem subsystems. If you would like to make or receive phone
2085 calls then say Y here.
2086
2087 If unsure, say N.
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07002088
Stephen Boyd322a9922011-09-20 01:05:54 -07002089config MSM_PIL_RIVA
2090 tristate "RIVA (WCNSS) Boot Support"
Stephen Boydfdec00d2012-05-10 17:04:49 -07002091 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd322a9922011-09-20 01:05:54 -07002092 help
2093 Support for booting and shutting down the RIVA processor (WCNSS).
2094 Riva is the wireless subsystem processor used in bluetooth, wireless
2095 LAN, and FM software applications.
2096
Stephen Boydd89eebe2011-09-28 23:28:11 -07002097config MSM_PIL_TZAPPS
2098 tristate "TZApps Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002099 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boydd89eebe2011-09-28 23:28:11 -07002100 help
2101 Support for booting and shutting down TZApps.
2102
2103 TZApps is an image that runs in the secure processor state. It is
2104 used to decrypt data and perform secure operations on the behalf of
2105 the kernel.
2106
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07002107config MSM_PIL_DSPS
2108 tristate "DSPS Boot Support"
Stephen Boydf169b4b2012-05-10 17:55:55 -07002109 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07002110 help
2111 Support for booting and shutting down ARM7 DSPS processors.
2112
2113 DSPS is a sensors offloading processor used for applications such
2114 as rotation detection, temperature, etc.
2115
Stephen Boyd7b973de2012-03-09 12:26:16 -08002116config MSM_PIL_VIDC
2117 tristate "Video Core Secure Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002118 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd7b973de2012-03-09 12:26:16 -08002119 help
2120 Support for authenticating the video core image.
2121
Tianyi Gou828798d2012-05-02 21:12:38 -07002122config MSM_PIL_VENUS
2123 tristate "VENUS (Video) Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002124 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Tianyi Gou828798d2012-05-02 21:12:38 -07002125 help
2126 Support for booting and shutting down the VENUS processor (Video).
2127 Venus is the Video subsystem processor used for video codecs.
2128
Matt Wagantall292aace2012-01-26 19:12:34 -08002129config MSM_PIL_GSS
Stephen Boydd86214b2012-05-10 15:26:35 -07002130 tristate "GSS (Cortex A5) Boot Support"
2131 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantall292aace2012-01-26 19:12:34 -08002132 help
2133 Support for booting and shutting down Cortex A5 processors which run
2134 GPS subsystem firmware.
2135
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002136config MSM_PIL_PRONTO
2137 tristate "PRONTO (WCNSS) Boot Support"
Stephen Boyd581fe852012-06-13 12:05:35 -07002138 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002139 help
2140 Support for booting and shutting down the PRONTO processor (WCNSS).
2141 PRONTO is the wireless subsystem processor used in bluetooth, wireless
2142 LAN, and FM software applications.
2143
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002144config MSM_SCM
2145 bool "Secure Channel Manager (SCM) support"
2146 default n
2147
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002148config SCORPION_Uni_45nm_BUG
2149 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
2150 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
2151 default y
2152 help
2153 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
2154 invalidating the Branch Predictor Array by Modified Virtual Address can
2155 create invalid entries in the TLB with the wrong ASID values on Scorpion
2156 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
2157 workaround for Scorpion Uniprocessor 45nm cores.
2158
2159 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
2160
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002161config MSM_BUSPM_DEV
2162 tristate "MSM Bus Performance Monitor Kernel Module"
Gagan Mac0d5d49e2012-08-28 19:41:37 -06002163 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002164 default m
2165 help
2166 This kernel module is used to mmap() hardware registers for the
2167 performance monitors, counters, etc. The module can also be used to
2168 allocate physical memory which is used by bus performance hardware to
2169 dump performance data.
2170
Mona Hossain11c03ac2011-10-26 12:42:10 -07002171config MSM_TZ_LOG
2172 tristate "MSM Trust Zone (TZ) Log Driver"
2173 depends on DEBUG_FS
2174 help
2175 This option enables a driver with a debugfs interface for messages
2176 produced by the Secure code (Trust zone). These messages provide
2177 diagnostic information about TZ operation.
2178
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002179config MSM_RPM_LOG
2180 tristate "MSM Resource Power Manager Log Driver"
2181 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002182 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002183 default n
2184 help
2185 This option enables a driver which can read from a circular buffer
2186 of messages produced by the RPM. These messages provide diagnostic
2187 information about RPM operation. The driver outputs the messages
2188 via a debugfs node.
2189
2190config MSM_RPM_STATS_LOG
2191 tristate "MSM Resource Power Manager Stat Driver"
2192 depends on DEBUG_FS
Priyanka Mathur1af9d4b2012-10-30 14:55:44 -07002193 depends on MSM_RPM || MSM_RPM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002194 default n
2195 help
2196 This option enables a driver which reads RPM messages from a shared
2197 memory location. These messages provide statistical information about
2198 the low power modes that RPM enters. The drivers outputs the message
2199 via a debugfs node.
2200
Girish Mahadevan898c56d2012-06-05 16:09:19 -06002201config MSM_RPM_RBCPR_STATS_LOG
2202 tristate "MSM Resource Power Manager RPBCPR Stat Driver"
2203 depends on DEBUG_FS
2204 depends on MSM_RPM
2205 help
2206 This option enables a driver which reads RPM messages from a shared
2207 memory location. These messages provide statistical information about
2208 RBCPR (Rapid Bridge Core Power Reduction) information . The drivers
2209 outputs the message via a debugfs node.
2210
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002211config MSM_DIRECT_SCLK_ACCESS
2212 bool "Direct access to the SCLK timer"
2213 default n
2214
2215config IOMMU_API
2216 bool
Gregory Bean1963a2a2010-08-28 10:05:44 -07002217
Brian Swetland9e73c842007-11-26 04:12:13 -08002218config MSM_GPIOMUX
2219 bool
2220
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002221config MSM_SECURE_IO
Brian Swetland9e73c842007-11-26 04:12:13 -08002222 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002223
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002224config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002225 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002226
Taniya Dascd1d0232012-07-03 17:50:47 +05302227config MSM_MODEM_RESTART
2228 bool
2229
Matt Wagantall88b86312012-01-31 16:53:03 -08002230config MSM_PM2
2231 depends on PM
2232 bool
2233
2234config MSM_PM8X60
2235 depends on PM
2236 bool
2237
Girish Mahadevan388c3082012-09-10 15:30:36 -06002238config MSM_EVENT_TIMER
2239 bool "Event timer"
2240 help
2241 This option enables a modules that manages a list of event timers that
2242 need to be monitored by the PM. The enables the PM code to monitor
2243 events that require the core to be awake and ready to handle the
2244 event.
2245
Matt Wagantall88b86312012-01-31 16:53:03 -08002246config MSM_NOPM
2247 default y if !PM
2248 bool
2249
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002250config MSM_BUS_SCALING
2251 bool "Bus scaling driver"
2252 default n
2253
Gagan Mac85c70492011-06-10 16:07:47 -06002254config MSM_BUS_RPM_MULTI_TIER_ENABLED
2255 bool "RPM Multi-tiering Configuration"
2256 depends on MSM_BUS_SCALING
2257
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002258config MSM_WATCHDOG
2259 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002260 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002261 help
2262 This enables the watchdog as is present on 8x60. Currently we use
2263 core 0's watchdog, and reset the entire SoC if it times out. It does
2264 not run during the bootup process, so it will not catch any early
2265 lockups.
2266
Hanumant Singhd1f01022012-07-05 14:21:53 -07002267config MSM_WATCHDOG_V2
2268 bool "MSM Watchdog Support"
2269 help
2270 This enables the watchdog module. It causes kernel panic if the
2271 watchdog times out. It allows for detection of cpu hangs and
2272 deadlocks. It does not run during the bootup process, so it will
2273 not catch any early lockups.
2274
Hanumant Singh5e2541c2012-07-31 14:41:14 -07002275config MSM_MEMORY_DUMP
2276 bool "MSM Memory Dump Support"
2277 help
2278 This enables memory dump feature. It allows various client
2279 subsystems to register respective dump regions. At the time
2280 of deadlocks or cpu hangs these dump regions are captured to
2281 give a snapshot of the system at the time of the crash.
2282
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002283config MSM_DLOAD_MODE
2284 bool "Enable download mode on crashes"
Abhimanyu Kapurdd7f2692012-10-22 13:43:52 -07002285 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_MSM8974 || ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002286 default n
2287 help
2288 This makes the SoC enter download mode when it resets
2289 due to a kernel panic. Note that this doesn't by itself
2290 make the kernel reboot on a kernel panic - that must be
2291 enabled via another mechanism.
2292
Pratik Patel17f3b822011-11-21 12:41:47 -08002293config MSM_JTAG
Pratik Patel2963de42012-05-17 12:43:40 -07002294 bool "JTAG and kernel debug and trace support across power collapse"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002295 help
Pratik Patel2963de42012-05-17 12:43:40 -07002296 Enables support for kernel debugging (specifically breakpoints) and
2297 processor tracing across power collapse both for JTag and OS hosted
2298 software running on the target. Enabling this will ensure debug
2299 and ETM registers are saved and restored across power collapse.
2300
2301 For production builds, you should probably say 'N' here to avoid
2302 potential power, performance and memory penalty.
Pratik Patel7831c082011-06-08 21:44:37 -07002303
Pushkar Joshi64cae782012-12-15 18:59:03 -08002304config MSM_JTAG_MM
2305 bool "ETM trace and debug support across power collapse using memory mapped access"
2306 help
2307 Enables support for kernel debugging (specifically breakpoints) and
2308 processor tracing using ETM across power collapse both for JTag and
2309 OS hosted software running on the target. Enabling this will ensure
2310 debug and ETM registers are saved and restored across power collapse.
2311 Needed on targets on which cp14 access to debug and ETM registers is
2312 not permitted and so memory mapped access is necessary.
2313
2314 For production builds, you should probably say 'N' here to avoid
2315 potential power, performance and memory penalty.
2316
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002317config MSM_ETM
2318 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002319 depends on ARCH_MSM8X60
2320 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002321 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002322 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002323
Lynus Vazdde09ee2012-01-05 13:28:22 +05302324config MSM_SLEEP_STATS_DEVICE
2325 bool "Enable exporting of MSM sleep device stats to userspace"
2326
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302327config MSM_RUN_QUEUE_STATS
2328 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Subbaraman Narayanamurthy0b148fc2012-11-28 12:14:12 -08002329 default n
Krishna Vankae2922052012-03-02 09:59:12 +05302330 help
2331 This option enalbes statistics collection on Run Queue. A daemon
2332 in user mode, called MPDecision will be using this data to decide
2333 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302334
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002335config MSM_STANDALONE_POWER_COLLAPSE
2336 bool "Enable standalone power collapse"
2337 default n
2338
2339config MSM_GSBI9_UART
2340 bool "Enable GSBI9 UART device"
2341 default n
2342 help
2343 This enables GSBI9 configured into UART.
2344
2345config MSM_SHARED_GPIO_FOR_UART2DM
2346 bool "Use shared GPIOs into UART mode"
2347 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2348 help
2349 This option configures GPIO muxed with SDC4/MMC3
2350 8-bit mode into UART mode. It is used for serial
2351 console on UART2DM. Say Y if you want to have
2352 serial console on UART2DM.
2353
2354config MSM_SHOW_RESUME_IRQ
2355 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002356 depends on (ARM_GIC || PMIC8058)
2357 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002358 default n
2359 help
2360 This option logs wake up interrupts that have triggered just before
2361 the resume loop unrolls. Say Y if you want to debug why the system
2362 resumed.
2363
2364config BT_MSM_PINTEST
2365 tristate "MSM Bluetooth Pin Connectivity Test"
2366 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2367 default n
2368 help
2369 Bluetooth MSM Pin Connectivity test module.
2370 This driver provides support for verifying the MSM to BT pin
2371 connectivity.
2372
2373config MSM_FAKE_BATTERY
2374 depends on POWER_SUPPLY
2375 default n
2376 bool "MSM Fake Battery"
2377 help
2378 Enables MSM fake battery driver.
2379
2380config MSM_QDSP6_APR
2381 bool "Audio QDSP6 APR support"
2382 depends on MSM_SMD
2383 default n
2384 help
2385 Enable APR IPC protocol support between
2386 application processor and QDSP6. APR is
2387 used by audio driver to configure QDSP6's
2388 ASM, ADM and AFE.
2389
Joonwoo Park91d95462012-08-02 10:55:54 -07002390config MSM_QDSP6_APRV2
2391 bool "Audio QDSP6 APRv2 support"
2392 depends on MSM_SMD
2393 default n
2394 help
2395 Enable APRv2 IPC protocol support between
2396 application processor and QDSP6. APR is
2397 used by audio driver to configure QDSP6's
2398 ASM, ADM and AFE.
2399
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -07002400config MSM_QDSP6_CODECS
2401 bool "Audio Codecs on QDSP6 APR "
2402 depends on MSM_SMD
2403 default n
2404 help
2405 Enable Audio codecs with APR IPC protocol support between
2406 application processor and QDSP6. APR is
2407 used by audio driver to configure QDSP6's
2408 ASM, ADM and AFE.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002409
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002410config MSM_QDSP6V2_CODECS
2411 bool "Audio QDSP6V2 APR support"
2412 depends on MSM_SMD
2413 help
2414 Enable Audio codecs with APR IPC protocol support between
2415 application processor and QDSP6 for B-family. APR is
2416 used by audio driver to configure QDSP6's
2417 ASM, ADM and AFE.
2418
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002419config MSM_AUDIO_QDSP6
2420 bool "QDSP6 HW Audio support"
2421 select SND_SOC_MSM_QDSP6_INTF
2422 default n
2423 help
2424 Enable HW audio support in QDSP6.
2425 QDSP6 can support HW encoder & decoder and audio processing
2426
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002427config MSM_AUDIO_QDSP6V2
2428 bool "QDSP6V2 HW Audio support"
2429 select SND_SOC_MSM_QDSP6V2_INTF
2430 help
2431 Enable HW audio support in QDSP6V2.
2432 QDSP6V2 can support HW encoder & decoder and
2433 audio processing. It will enable support for
2434 AAC, AMRNB, AMRWB, EVRC, MP3, QCELP among
2435 others.
2436
Joonwoo Park4a14a552012-08-02 11:03:21 -07002437config MSM_ADSP_LOADER
2438 tristate "ADSP loader support"
2439 select SND_SOC_MSM_APRV2_INTF
2440 depends on MSM_AUDIO_QDSP6V2 && m
2441 help
2442 Enable ADSP image loader.
2443 The ADSP loader brings ADSP out of reset
2444 for the platforms that use APRv2.
2445 Say M if you want to enable this module.
2446
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +02002447config MSM_ULTRASOUND_A
2448 bool "QDSP6 HW Ultrasound support"
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002449 help
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +02002450 Enable HW ultrasound support in QDSP6.
2451 QDSP6 can support HW encoder & decoder and
2452 ultrasound processing. It will enable
2453 ultrasound data paths between
2454 HW and services, calculating input events
2455 upon the ultrasound data.
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002456
Baruch Eruchimovitch8c3f7802013-01-05 22:48:04 +02002457config MSM_ULTRASOUND_B
2458 bool "QDSP6V2 HW Ultrasound support"
2459 help
2460 Enable HW Ultrasound support in QDSP6V2.
2461 QDSP6V2 can support HW encoder & decoder and
2462 ultrasound processing. It will enable
2463 ultrasound data paths between
2464 HW and services, calculating input events
2465 upon the ultrasound data.
2466
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002467config MSM_RPC_VIBRATOR
2468 bool "RPC based MSM Vibrator Support"
2469 depends on MSM_ONCRPCROUTER
2470 help
2471 Enable the vibrator support on MSM over RPC. The vibrator
2472 is connected on the PMIC. Say Y if you want to enable this
2473 feature.
2474
2475config PM8XXX_RPC_VIBRATOR
2476 bool "RPC based Vibrator on PM8xxx PMICs"
2477 depends on MSM_RPC_VIBRATOR
2478 help
2479 Enable the vibrator support on MSM over RPC. The vibrator
2480 is connected on the PM8XXX PMIC. Say Y if you want to enable
2481 this feature.
2482
2483config MSM_SPM_V1
2484 bool "Driver support for SPM Version 1"
2485 help
2486 Enables the support for Version 1 of the SPM driver. SPM hardware is
2487 used to manage the processor power during sleep. The driver allows
2488 configuring SPM to allow different power modes.
2489
2490config MSM_SPM_V2
2491 bool "Driver support for SPM Version 2"
2492 help
2493 Enables the support for Version 2 of the SPM driver. SPM hardware is
2494 used to manage the processor power during sleep. The driver allows
2495 configuring SPM to allow different power modes.
2496
2497config MSM_L2_SPM
2498 bool "SPM support for L2 cache"
2499 depends on MSM_SPM_V2
2500 help
2501 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2502 control of L2 cache low power mode with a Subsystem Power manager.
2503 Enabling this driver allows configuring L2 SPM for low power modes
2504 on supported chipsets.
2505
Laura Abbott2d1760b2011-09-29 21:31:24 -07002506config MSM_MULTIMEDIA_USE_ION
2507 bool "Multimedia suport using Ion"
2508 depends on ION_MSM
2509 help
2510 Enable support for multimedia drivers using Ion for buffer management
2511 instead of pmem. Selecting this may also involve userspace
2512 dependencies as well.
2513
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002514config MSM_OCMEM
2515 bool "MSM On-Chip memory driver (OCMEM)"
2516 help
2517 Enable support for On-Chip Memory available on certain MSM chipsets.
2518 OCMEM is a low latency, high performance pool shared by subsystems.
2519
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002520config MSM_OCMEM_LOCAL_POWER_CTRL
2521 bool "OCMEM Local Power Control"
2522 depends on MSM_OCMEM
2523 help
2524 Enable direct power management of the OCMEM core by the
2525 OCMEM driver. By default power management is delegated to
2526 the RPM. Selecting this option causes the OCMEM driver to
2527 directly handle the various macro power transitions.
2528
2529config MSM_OCMEM_DEBUG
2530 bool "OCMEM Debug Support"
2531 depends on MSM_OCMEM
2532 help
2533 Enable debug options for On-chip Memory (OCMEM) driver.
2534 Various debug options include memory, power and latency.
2535 Choosing one of these options allows debugging of each
2536 individual subsystem separately.
2537
Naveen Ramarajc71b2de2012-08-20 12:35:52 -07002538config MSM_OCMEM_NONSECURE
2539 bool "OCMEM Non Secure Mode"
2540 depends on MSM_OCMEM_DEBUG
2541 help
2542 Disable OCMEM interaction with secure processor.
2543 By default OCMEM is secured and accesses for each master
2544 is requested by the OCMEM driver. Selecting this option
2545 causes the OCMEM memory to be in non-secure state unless
2546 its locked down by the secure processor.
2547
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002548config MSM_OCMEM_POWER_DEBUG
2549 bool "OCMEM Power Debug Support"
2550 depends on MSM_OCMEM_DEBUG
2551 help
2552 Enable debug support for OCMEM power management.
2553 This adds support for verifying all power management
2554 related operations of OCMEM. Both local power management
2555 and RPM assisted power management operations are supported.
2556
Naveen Ramaraj4b1d9392012-08-06 21:05:14 -07002557config MSM_OCMEM_POWER_DISABLE
2558 bool "OCMEM Disable Power Control"
2559 depends on MSM_OCMEM_DEBUG
2560 help
2561 Disable all OCMEM power management.
2562 This keeps all OCMEM macros turned ON at all times thus
2563 never allowing them to be turned OFF. Both local power
2564 management and RPM assisted power modes are supported.
2565
Naveen Ramaraj88f23632012-10-10 12:23:29 -07002566config SENSORS_ADSP
2567 bool "Enable Sensors Driver Support for ADSP"
2568 help
2569 Add support for sensors ADSP driver.
2570 This driver is used for exercising different sensors use cases,
2571 such as for lower-power OCMEM use cases, and for time syncing
2572 with ADSP clock.
2573
Laura Abbottad340ff2012-01-04 14:23:48 -08002574config MSM_RTB
2575 bool "Register tracing"
2576 help
2577 Add support for logging different events to a small uncached
2578 region. This is designed to aid in debugging reset cases where the
2579 caches may not be flushed before the target resets.
2580
2581config MSM_RTB_SEPARATE_CPUS
2582 bool "Separate entries for each cpu"
2583 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002584 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002585 help
2586 Under some circumstances, it may be beneficial to give dedicated space
2587 for each cpu to log accesses. Selecting this option will log each cpu
2588 separately. This will guarantee that the last acesses for each cpu
2589 will be logged but there will be fewer entries per cpu
2590
Stepan Moskovchenko57884842012-06-07 17:35:49 -07002591config MSM_EBI_ERP
2592 bool "External Bus Interface (EBI) error reporting"
2593 help
2594 Say 'Y' here to enable reporting of external bus interface errors to
2595 the kernel log. Information such as the offending address and
2596 transaction type will be logged. This may be useful for debugging
2597 seemingly broken memory accesses.
2598
2599 For production builds, you should probably say 'N' here.
2600
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002601config MSM_CACHE_ERP
2602 bool "Cache / CPU error reporting"
2603 depends on ARCH_MSM_KRAIT
2604 help
2605 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2606 log. Enabling this feature can be used as a system debugging technique
2607 if cache corruption is suspected. Cache error statistics will also be
2608 reported in /proc/cpu/msm_cache_erp.
2609
2610 For production builds, you should probably say 'N' here.
2611
2612config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002613 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002614 depends on MSM_CACHE_ERP
2615 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002616 To cause the kernel to panic whenever an L1 cache error is detected, say
2617 'Y' here. This may be useful as a debugging technique if general system
2618 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002619
2620 For production builds, you should probably say 'N' here.
2621
Stepan Moskovchenkoe1aba3d2012-12-06 18:40:25 -08002622config MSM_L1_RECOV_ERR_PANIC
2623 bool "Panic on recoverable L1 cache errors"
2624 depends on MSM_CACHE_ERP && MSM_L1_ERR_PANIC
2625 help
2626 Certain CPU designs may be able to automatically recover from certain
2627 kinds of L1 cache errors, even though the L1 cache itself may not
2628 support error correction. These errors should not result in any kind
2629 of corruption, but their presence is nevertheless an indication of
2630 poor system health. To cause the kernel to panic whenever a
2631 recoverable L1 cache error is detected, say 'Y' here. This may be
2632 useful as a debugging technique if general system instability is
2633 suspected.
2634
2635 For production builds, you should definitely say 'N' here.
2636
Stepan Moskovchenko7035f652012-05-31 17:48:01 -07002637config MSM_L1_ERR_LOG
2638 bool "Log CPU ERP events to system memory"
2639 depends on MSM_CACHE_ERP
2640 help
2641 Enable logging CPU ERP events to an area of memory that will be
2642 preserved across a system reset. This may be useful for detecting and
2643 troubleshooting ERP-related system crashes in the field.
2644
2645 For production builds, you may want to say 'Y' here.
2646
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002647config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2648 bool "Report L2 master port slave/decode errors in kernel log"
2649 depends on MSM_CACHE_ERP
2650 help
2651 Master port errors can occur when a memory request is not properly
2652 handled by the destination slave. This can occur if the destination
2653 register does not exist or is inaccessible due to security
2654 restrictions or (in some cases) clock configuration. Enabling this
2655 option will cause a backtrace to be printed to the kernel log whenever
2656 such an error is encountered. Note that the error is reported as an
2657 interrupt rather than as an exception, meaning that the backtrace may
2658 have some skid. This option may help with debugging, though production
2659 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002660
2661config MSM_L2_ERP_PORT_PANIC
2662 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002663 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002664 help
2665 Master port errors can occur when a memory request is not properly
2666 handled by the destination slave. Enable this option to catch drivers
2667 which attempt to access bad areas of the address space, or access
2668 hardware registers in an improper state (such as certain clocks not
2669 being on). This option may help with debugging, though production
2670 builds should probably say 'N' here.
2671
2672config MSM_L2_ERP_1BIT_PANIC
2673 bool "Panic on recoverable L2 soft errors"
2674 depends on MSM_CACHE_ERP
2675 help
2676 Enable this option to cause a kernel panic whenever the L2 cache
2677 encounters a single-bit (correctable) soft error. This option should
2678 only be enabled when doing low-level debugging where cache corruption
2679 is suspected.
2680
2681 For production builds, you should definitely say 'N' here.
2682
2683config MSM_L2_ERP_2BIT_PANIC
2684 bool "Panic on unrecoverable L2 soft errors"
2685 depends on MSM_CACHE_ERP
2686 help
2687 Enable this option to cause a kernel panic whenever the L2 cache
2688 encounters a double-bit (non-correctable) soft error. Debug builds
2689 will likely benefit from having this option enabled to catch cache
2690 problems as soon as possible.
2691
2692 For production builds, it may be acceptable to say 'N' here, since
2693 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002694
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002695config MSM_DCVS
2696 bool "Use MSM DCVS for CPU/GPU Frequency control"
2697 depends on MSM_SCM
2698 help
2699 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2700 The DCVS manager allows idle driver to feed the idle information to the
2701 algorithm and the algorithm returns a frequency for the core which is
2702 passed to the frequency change driver.
2703
Pankaj Kumar32ce1ea2012-04-04 20:29:29 +05302704config MSM_CPR
2705 tristate "Use MSM CPR in S/W mode"
2706 help
2707 Enable CPR (core power reduction) in S/W mode, where the processor
2708 get's the notification from CPR block and programs the PMIC.
2709
2710config MSM_VP_REGULATOR
2711 tristate "Use MSM PMIC8029 C2 regulator"
2712 depends on ARCH_MSM8625
2713 help
2714 Enable MSM PMIC8029 C2 regulator support using APC_PLEVEL access
2715 for MSMs like 8625.
2716
Taniya Dasc43e6872012-03-21 16:41:14 +05302717config HAVE_ARCH_HAS_CURRENT_TIMER
2718 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002719
2720config MSM_CACHE_DUMP
2721 bool "Cache dumping support"
2722 help
2723 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2724 This allows for analysis of the caches in case cache corruption is
2725 suspected.
2726
Laura Abbott7b637362012-03-29 16:43:49 -07002727config MSM_CACHE_DUMP_ON_PANIC
2728 bool "Dump caches on panic"
2729 depends on MSM_CACHE_DUMP
2730 help
2731 By default, the caches are flushed on panic. This means that trying to
2732 look at them in a RAM dump will give useless data. Select this if you
2733 want to dump the L1 and L2 caches on panic before any flush occurs.
2734 If unsure, say N
2735
Jack Phamccbbfab2012-04-09 19:50:20 -07002736config MSM_HSIC_SYSMON
2737 tristate "MSM HSIC system monitor driver"
2738 depends on USB
2739 help
2740 Add support for bridging with the system monitor interface of MDM
2741 over HSIC. This driver allows the local system monitor to
2742 communicate with the remote system monitor interface.
2743
2744config MSM_HSIC_SYSMON_TEST
2745 tristate "MSM HSIC system monitor bridge test"
2746 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2747 help
2748 Enable the test hook for the Qualcomm system monitor HSIC driver.
2749 This will create a debugfs file entry named "hsic_sysmon_test" which
2750 can be read and written to send character data to the sysmon port of
2751 the modem over USB.
2752
Anirudh Ghayal0d2291a2012-09-20 21:31:41 +05302753config MSM_RPC_PMIC
2754 tristate "MSM RPC PMIC driver"
2755 depends on MSM_ONCRPCROUTER
2756 help
2757 This driver supports the PMIC functionality over RPC for those MSM's
2758 which do not have a direct access to PMIC. It supports ability to
2759 configure MPP, GPIO and all the other supported peripherals of the
2760 PMIC.
2761
Anirudh Ghayald3a63732012-09-20 22:13:13 +05302762config MSM_RPC_USB
2763 tristate "MSM RPC USB driver"
2764 depends on MSM_ONCRPCROUTER
2765 help
2766 This driver supports the USB configuration support over the RPC
2767 interface. It support the HS USB module connected to the MSM
2768 and FS USB which is connected over the PMIC. This support is
2769 required for MSMs on which the APPS does not have a direct access
2770 to the PMIC.
2771
2772config MSM_RPC_PMAPP
2773 tristate "MSM RPC PMIC APP driver"
2774 depends on MSM_ONCRPCROUTER
2775 help
2776 This driver supports the configuration of various PMIC APP modules
2777 such as display backlight, vreg pin-ctrl, smps clock over the RPC
2778 interface. This support is required for MSMs on which the APPS
2779 does not have a direct access to the PMIC.
Pushkar Joshi0fc73462012-09-26 17:59:31 -07002780
2781config MSM_ENABLE_WDOG_DEBUG_CONTROL
2782 bool "MSM Watchdog driver to disable debug Image"
2783 help
2784 This driver supports the configuration of the GCC_WDOG_DEBUG register
2785 used to control debug image.
2786 This support is currently required for MSM8974 to disable debug image
2787 on PS HOLD reset
Taniya Dasea4263f92012-08-22 18:52:51 +05302788
2789config MSM_FIQ
2790 bool "Enable FIQ for debugging"
2791 depends on ARCH_MSM8625
2792 select FIQ
Taniya Das36e4aa12012-07-04 18:27:16 +05302793 select GIC_SECURE
Taniya Dasea4263f92012-08-22 18:52:51 +05302794 help
2795 Enable any line to be used as an FIQ. This will help debugging
2796 if apps is not responding and holding lock with irqs disabled.
2797 Modem will then generate an raise a FIQ on this line before sending
2798 SMSM reset.
Greg Reidb1d240a2012-10-12 12:20:31 -04002799
2800config MSM_USE_USER_ACCESSIBLE_TIMERS
2801 bool "Enables mapping an MSM timer counter page to user space."
2802 depends on ARM_USE_USER_ACCESSIBLE_TIMERS
2803 help
2804 Enables MSM-specific user accessible timers via a shared
2805 memory page containing the cycle counter.
2806
Sidipotu Ashokbf84d4d2012-11-06 17:13:28 +05302807config USE_DEV_CTRL_VOLUME
2808 bool "Use Device Control Volume"
2809 help
2810 Use Device Control Volume as opposed to ALSA volume control.
2811
Jay Chokshi06e444f2012-12-06 20:48:23 -08002812config MSM_CPU_PWRCTL
2813 bool "Ensures that krait droop detectors are always off"
2814 help
2815 Droop detector mechanism can adversely affect krait plls during
2816 stand alone power collapse operation. Selecting this option
2817 ensures that they are always off.
2818
Saket Saurabh6089f952012-12-07 15:49:13 +05302819config MSM_UARTDM_Core_v14
2820 bool "Use MSM BLSP based HSUART Core v1.4"
2821 depends on SERIAL_MSM_HS
2822 help
2823 Select if BLSP based UART Core v.14 or higher is present.
Brian Swetland9e73c842007-11-26 04:12:13 -08002824endif