blob: d9ebd18c2d5295fbd70a68f9c6cd40fdada7996a [file] [log] [blame]
Brian Swetland1637de02008-09-09 07:13:33 -07001if ARCH_MSM
Brian Swetland9e73c842007-11-26 04:12:13 -08002
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -07003menu "MSM SoC Type"
Daniel Walkerbf83de42010-03-16 16:29:44 -07004
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07005config ARCH_MSM7X01A
Daniel Walkerbf83de42010-03-16 16:29:44 -07006 bool "MSM7x00A / MSM7x01A"
7 select ARCH_MSM_ARM11
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07008 select MSM_VIC
Daniel Walkerbf83de42010-03-16 16:29:44 -07009 select CPU_V6
David Brown74d10d72011-05-16 13:57:39 -070010 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070011 select MSM_REMOTE_SPINLOCK_SWP
12
13config ARCH_MSM7X25
14 bool "MSM7x25"
15 select ARCH_MSM_ARM11
16 select MSM_VIC
17 select CPU_V6
Steve Mucklef132c6c2012-06-06 18:30:57 -070018 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070019 select MSM_REMOTE_SPINLOCK_SWP
Taniya Dasbe561a02011-10-12 09:53:11 +053020 select MULTI_IRQ_HANDLER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070021
22config ARCH_MSM7X27
23 bool "MSM7x27"
24 select ARCH_MSM_ARM11 if MSM_SOC_REV_NONE
Trilok Soni7ff06e02012-10-15 01:05:24 +053025 select ARCH_HAS_BARRIERS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070026 select ARCH_MSM_CORTEX_A5 if MSM_SOC_REV_A
27 select MSM_VIC
28 select CPU_V6 if MSM_SOC_REV_NONE
29 select CPU_V7 if MSM_SOC_REV_A
Steve Mucklef132c6c2012-06-06 18:30:57 -070030 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070031 select MSM_REMOTE_SPINLOCK_SWP if MSM_SOC_REV_NONE
32 select MSM_GPIOMUX
33 select REGULATOR
Taniya Dasbe561a02011-10-12 09:53:11 +053034 select MULTI_IRQ_HANDLER
Pankaj Kumar75c86fd2011-10-01 18:51:09 +053035 select MSM_PROC_COMM_REGULATOR
Laura Abbott1fbd2e62011-12-18 10:26:46 -080036 select CLEANCACHE
37 select QCACHE
Matt Wagantall88b86312012-01-31 16:53:03 -080038 select MSM_PM2 if PM
Krishna Vankae2922052012-03-02 09:59:12 +053039 select MSM_RUN_QUEUE_STATS if MSM_SOC_REV_A
Taniya Dasd4c39f92012-05-14 17:41:49 +053040 select DONT_MAP_HOLE_AFTER_MEMBANK0
Trilok Sonib856ab92012-06-26 14:33:28 +053041 select MIGHT_HAVE_CACHE_L2X0
Taniya Dascd1d0232012-07-03 17:50:47 +053042 select MSM_MODEM_RESTART
Daniel Walkerbf83de42010-03-16 16:29:44 -070043
Daniel Walker7b521612010-05-06 12:44:57 -070044config ARCH_MSM7X30
45 bool "MSM7x30"
46 select ARCH_MSM_SCORPION
Daniel Walker7b521612010-05-06 12:44:57 -070047 select MSM_VIC
48 select CPU_V7
David Brown74d10d72011-05-16 13:57:39 -070049 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070050 select MSM_REMOTE_SPINLOCK_DEKKERS
51 select ARCH_SPARSEMEM_ENABLE
Laura Abbott78593b52011-09-26 18:48:14 -070052 select ARCH_HAS_HOLES_MEMORYMODEL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070053 select MEMORY_HOTPLUG
54 select MEMORY_HOTREMOVE
Bryan Huntsmanea439642011-11-23 12:34:05 -080055 select ARCH_ENABLE_MEMORY_HOTPLUG
56 select ARCH_ENABLE_MEMORY_HOTREMOVE
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070057 select MIGRATION
58 select ARCH_MEMORY_PROBE
59 select ARCH_MEMORY_REMOVE
Gregory Beanab78cde2010-09-01 16:26:12 -070060 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070061 select RESERVE_FIRST_PAGE
62 select MSM_DALRPC
63 select MSM_SPM_V1
64 select REGULATOR
Justin Paupore637a25d2011-07-14 17:11:04 -070065 select MSM_PROC_COMM_REGULATOR
Taniya Dasbae99fb2011-10-12 09:55:13 +053066 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -080067 select MSM_PM2 if PM
Chintan Pandyabb021762012-06-21 15:03:29 +053068 select HOLES_IN_ZONE if SPARSEMEM
Taniya Dascd1d0232012-07-03 17:50:47 +053069 select MSM_MODEM_RESTART
Chintan Pandya62a2f7c2012-10-30 12:00:40 +053070 select ARM_HAS_SG_CHAIN
Daniel Walker7b521612010-05-06 12:44:57 -070071
Daniel Walker4ad15e62010-05-06 13:54:17 -070072config ARCH_QSD8X50
73 bool "QSD8X50"
74 select ARCH_MSM_SCORPION
Daniel Walker4ad15e62010-05-06 13:54:17 -070075 select MSM_VIC
76 select CPU_V7
David Brown74d10d72011-05-16 13:57:39 -070077 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070078 select MSM_REMOTE_SPINLOCK_LDREX
79 select CPU_USE_DOMAINS
80 select EMULATE_DOMAIN_MANAGER_V7
Gregory Beanab78cde2010-09-01 16:26:12 -070081 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070082 select MSM_DALRPC
Matt Wagantall88b86312012-01-31 16:53:03 -080083 select MSM_PM2 if PM
Taniya Dascd1d0232012-07-03 17:50:47 +053084 select MSM_MODEM_RESTART
Daniel Walker46fe5f22010-08-18 11:00:25 -070085
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070086config ARCH_MSM8X60
87 bool "MSM8X60"
Jeff Ohlsteine14411d2010-11-30 13:06:36 -080088 select ARCH_MSM_SCORPIONMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070089 select SMP_PARALLEL_START if SMP
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070090 select ARM_GIC
91 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070092 select MSM_REMOTE_SPINLOCK_LDREX
93 select ARCH_REQUIRE_GPIOLIB
94 select MSM_ADM3
95 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -080096 select MSM_RPM_REGULATOR
David Brown1a5ab4b2011-05-16 15:53:38 -070097 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070098 select MSM_PIL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070099 select ARCH_HAS_CPU_IDLE_WAIT
100 select MSM_DIRECT_SCLK_ACCESS
101 select MSM_RPM
102 select MSM_XO
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700103 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700104 select MSM_BUS_SCALING
105 select MSM_SECURE_IO
106 select MSM_DALRPC
107 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700108 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700109 select MSM_NATIVE_RESTART
110 select ARCH_INLINE_SPIN_TRYLOCK
111 select ARCH_INLINE_SPIN_TRYLOCK_BH
112 select ARCH_INLINE_SPIN_LOCK
113 select ARCH_INLINE_SPIN_LOCK_BH
114 select ARCH_INLINE_SPIN_LOCK_IRQ
115 select ARCH_INLINE_SPIN_LOCK_IRQSAVE
116 select ARCH_INLINE_SPIN_UNLOCK
117 select ARCH_INLINE_SPIN_UNLOCK_BH
118 select ARCH_INLINE_SPIN_UNLOCK_IRQ
119 select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
120 select ARCH_INLINE_READ_TRYLOCK
121 select ARCH_INLINE_READ_LOCK
122 select ARCH_INLINE_READ_LOCK_BH
123 select ARCH_INLINE_READ_LOCK_IRQ
124 select ARCH_INLINE_READ_LOCK_IRQSAVE
125 select ARCH_INLINE_READ_UNLOCK
126 select ARCH_INLINE_READ_UNLOCK_BH
127 select ARCH_INLINE_READ_UNLOCK_IRQ
128 select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
129 select ARCH_INLINE_WRITE_TRYLOCK
130 select ARCH_INLINE_WRITE_LOCK
131 select ARCH_INLINE_WRITE_LOCK_BH
132 select ARCH_INLINE_WRITE_LOCK_IRQ
133 select ARCH_INLINE_WRITE_LOCK_IRQSAVE
134 select ARCH_INLINE_WRITE_UNLOCK
135 select ARCH_INLINE_WRITE_UNLOCK_BH
136 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
137 select CPU_HAS_L2_PMU
138 select MSM_SPM_V1
Stephen Boyd2a1eb582010-08-27 10:01:23 -0700139 select MSM_SCM if SMP
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530140 select MULTI_IRQ_HANDLER
Laura Abbott46505f62011-11-02 18:06:55 -0700141 select MSM_MULTIMEDIA_USE_ION
Matt Wagantall88b86312012-01-31 16:53:03 -0800142 select MSM_PM8X60 if PM
Krishna Vankae2922052012-03-02 09:59:12 +0530143 select MSM_RUN_QUEUE_STATS
Laura Abbottb14ed962012-01-30 14:18:08 -0800144 select ARM_HAS_SG_CHAIN
Sidipotu Ashokbf84d4d2012-11-06 17:13:28 +0530145 select USE_DEV_CTRL_VOLUME
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700146
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800147config ARCH_MSM8960
148 bool "MSM8960"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700149 select ARCH_MSM_KRAITMP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800150 select ARM_GIC
151 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700152 select GPIO_MSM_V2
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800153 select MSM_GPIOMUX
154 select MSM_SCM if SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700155 select MSM_DIRECT_SCLK_ACCESS
156 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -0800157 select MSM_RPM_REGULATOR
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700158 select MSM_RPM
159 select MSM_XO
160 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700161 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700162 select MSM_PIL
163 select MSM_AUDIO_QDSP6 if SND_SOC
164 select CPU_HAS_L2_PMU
165 select MSM_SPM_V2
166 select MSM_L2_SPM
167 select MSM_NATIVE_RESTART
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700168 select DONT_MAP_HOLE_AFTER_MEMBANK0
169 select MSM_REMOTE_SPINLOCK_SFPB
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700170 select ARCH_SPARSEMEM_ENABLE
171 select ARCH_HAS_HOLES_MEMORYMODEL
Larry Basseld4d82c92011-12-07 09:52:49 -0800172 select CLEANCACHE
173 select QCACHE
Laura Abbott6d61a912011-10-27 16:44:14 -0700174 select MSM_MULTIMEDIA_USE_ION
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530175 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800176 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700177 select HOLES_IN_ZONE if SPARSEMEM
Krishna Vankae2922052012-03-02 09:59:12 +0530178 select MSM_RUN_QUEUE_STATS
Laura Abbottb14ed962012-01-30 14:18:08 -0800179 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700180 select MSM_KRAIT_WFE_FIXUP
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +0200181 select MSM_ULTRASOUND_A
Olav Haugan5e728722012-11-05 17:45:26 -0800182 select MSM_IOMMU_GPU_SYNC
Greg Reidb1d240a2012-10-12 12:20:31 -0400183 select GENERIC_TIME_VSYSCALL
184 select USE_USER_ACCESSIBLE_TIMERS
185 select ARM_USE_USER_ACCESSIBLE_TIMERS
186 select MSM_USE_USER_ACCESSIBLE_TIMERS
Jay Chokshi06e444f2012-12-06 20:48:23 -0800187 select MSM_CPU_PWRCTL
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_SPARSEMEM_ENABLE
213 select ARCH_HAS_HOLES_MEMORYMODEL
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +0200214 select MSM_ULTRASOUND_A
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530215 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800216 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700217 select HOLES_IN_ZONE if SPARSEMEM
Laura Abbottb14ed962012-01-30 14:18:08 -0800218 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700219 select MSM_KRAIT_WFE_FIXUP
Olav Haugan5e728722012-11-05 17:45:26 -0800220 select MSM_IOMMU_GPU_SYNC
Greg Reidb1d240a2012-10-12 12:20:31 -0400221 select GENERIC_TIME_VSYSCALL
222 select USE_USER_ACCESSIBLE_TIMERS
223 select ARM_USE_USER_ACCESSIBLE_TIMERS
224 select MSM_USE_USER_ACCESSIBLE_TIMERS
Jay Chokshi06e444f2012-12-06 20:48:23 -0800225 select MSM_CPU_PWRCTL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700226
227config ARCH_APQ8064
228 bool "APQ8064"
229 select ARCH_MSM_KRAITMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700230 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700231 select ARM_GIC
232 select CPU_V7
233 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700234 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600235 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800236 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800237 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700238 select MSM_QDSP6_CODECS
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800239 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530240 select MULTI_IRQ_HANDLER
Praveen Chidambaram78499012011-11-01 17:15:17 -0600241 select MSM_RPM
242 select MSM_SPM_V2
243 select MSM_L2_SPM
Matt Wagantall88b86312012-01-31 16:53:03 -0800244 select MSM_PM8X60 if PM
Neil Leeder814d3d32012-01-19 17:21:43 -0500245 select CPU_HAS_L2_PMU
Laura Abbott085dd202012-03-30 14:02:34 -0700246 select HOLES_IN_ZONE if SPARSEMEM
Larry Bassel67b921d2012-04-06 10:23:27 -0700247 select CLEANCACHE
248 select QCACHE
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -0600249 select MIGHT_HAVE_PCI
250 select ARCH_SUPPORTS_MSI
Laura Abbottb14ed962012-01-30 14:18:08 -0800251 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700252 select MSM_KRAIT_WFE_FIXUP
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +0200253 select MSM_ULTRASOUND_A
Olav Haugan5e728722012-11-05 17:45:26 -0800254 select MSM_IOMMU_GPU_SYNC
Greg Reidb1d240a2012-10-12 12:20:31 -0400255 select GENERIC_TIME_VSYSCALL
256 select USE_USER_ACCESSIBLE_TIMERS
257 select ARM_USE_USER_ACCESSIBLE_TIMERS
258 select MSM_USE_USER_ACCESSIBLE_TIMERS
Jay Chokshi06e444f2012-12-06 20:48:23 -0800259 select MSM_CPU_PWRCTL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700260
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700261config ARCH_MSM8974
262 bool "MSM8974"
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700263 select ARCH_MSM_KRAITMP
Sathish Ambley4149e842012-03-23 11:53:55 -0700264 select GPIO_MSM_V3
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700265 select ARM_GIC
266 select CPU_V7
267 select MSM_SCM if SMP
268 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530269 select MULTI_IRQ_HANDLER
Olav Hauganb800c8c2012-01-30 08:50:45 -0800270 select MSM_MULTIMEDIA_USE_ION
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700271 select MSM_PIL
Praveen Chidambaramaa9d52b2012-04-02 11:09:47 -0600272 select MSM_SPM_V2
273 select MSM_L2_SPM
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700274 select MSM_NATIVE_RESTART
275 select MSM_RESTART_V2
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600276 select MSM_PM8X60 if PM
Steve Mucklef132c6c2012-06-06 18:30:57 -0700277 select MAY_HAVE_SPARSE_IRQ
278 select SPARSE_IRQ
Mahesh Sivasubramaniancb668712012-04-04 13:03:25 -0600279 select MSM_RPM_SMD
David Collinsc7642322012-04-04 10:19:12 -0700280 select REGULATOR
Joonwoo Park91d95462012-08-02 10:55:54 -0700281 select MSM_QDSP6_APRV2
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -0700282 select MSM_QDSP6V2_CODECS
283 select MSM_AUDIO_QDSP6V2 if SND_SOC
David Collins1c91ea72012-05-03 16:17:35 -0700284 select MSM_RPM_REGULATOR_SMD
Laura Abbottb14ed962012-01-30 14:18:08 -0800285 select ARM_HAS_SG_CHAIN
Karthik Parsha404fb8f2012-07-30 19:14:05 -0700286 select MSM_RUN_QUEUE_STATS
Neeti Desai92eab922012-10-22 15:14:48 -0700287 select MEMORY_HOLE_CARVEOUT
Priyanka Mathur1af9d4b2012-10-30 14:55:44 -0700288 select MSM_RPM_STATS_LOG
Karthikeyan Ramasubramanian1edce9e2012-11-08 18:26:10 -0700289 select QMI_ENCDEC
Neeti Desai1b2cb552012-11-01 21:57:36 -0700290 select DONT_MAP_HOLE_AFTER_MEMBANK0
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700291
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +0530292config ARCH_MPQ8092
293 bool "MPQ8092"
294 select ARCH_MSM_KRAITMP
295 select GPIO_MSM_V3
296 select ARM_GIC
297 select MULTI_IRQ_HANDLER
298 select CPU_V7
299 select MSM_GPIOMUX
300 select MAY_HAVE_SPARSE_IRQ
301 select SPARSE_IRQ
302 select MSM_NOPM
303
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700304config ARCH_FSM9XXX
305 bool "FSM9XXX"
306 select ARCH_MSM_SCORPION
307 select MSM_VIC
308 select CPU_V7
309 select MSM_REMOTE_SPINLOCK_LDREX
Steve Mucklef132c6c2012-06-06 18:30:57 -0700310 select GPIO_FSM9XXX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530311 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800312 select MSM_DALRPC
Daniel Walker4ad15e62010-05-06 13:54:17 -0700313
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700314config ARCH_MSM9615
315 bool "MSM9615"
316 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530317 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700318 select ARCH_MSM_CORTEX_A5
319 select CPU_V7
Rohit Vaswani4307c842012-10-11 15:50:05 -0700320 select MIGHT_HAVE_CACHE_L2X0
Steve Mucklef132c6c2012-06-06 18:30:57 -0700321 select GPIO_MSM_V2
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700322 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600323 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600324 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700325 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800326 select REGULATOR
327 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530328 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800329 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800330 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700331 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800332 select MSM_QDSP6_APR
333 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800334 select FIQ
Laura Abbottb14ed962012-01-30 14:18:08 -0800335 select ARM_HAS_SG_CHAIN
Matt Wagantall9274df92011-12-15 11:11:05 -0800336
Taniya Das43bcdd62011-12-02 17:33:27 +0530337config ARCH_MSM8625
338 bool "MSM8625"
339 select ARCH_MSM_CORTEX_A5
340 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700341 select GPIO_MSM_V1
Taniya Das43bcdd62011-12-02 17:33:27 +0530342 select MSM_GPIOMUX
343 select ARM_GIC
344 select ARCH_MSM_CORTEXMP
345 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530346 select ARM_TICKET_LOCKS
Krishna Vankae2922052012-03-02 09:59:12 +0530347 select MSM_RUN_QUEUE_STATS
Trilok Sonib856ab92012-06-26 14:33:28 +0530348 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530349 select ARM_HAS_SG_CHAIN
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700350
351config ARCH_MSM9625
352 bool "MSM9625"
353 select ARM_GIC
Abhimanyu Kapur490d20c2012-06-22 17:34:20 -0700354 select MIGHT_HAVE_CACHE_L2X0
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700355 select ARCH_MSM_CORTEX_A5
356 select SMP
357 select MSM_SMP
358 select CPU_V7
Abhimanyu Kapur4bb38622012-10-16 19:07:48 -0700359 select MSM_SCM if SMP
Jin Hong690e3352012-05-02 09:25:05 -0700360 select MSM_GPIOMUX
Girish Mahadevanf1c20a42012-09-19 11:44:36 -0600361 select MSM_RPM_SMD
Abhimanyu Kapur46e5e2b2012-10-02 20:45:37 -0700362 select MSM_NATIVE_RESTART
363 select MSM_RESTART_V2
Girish Mahadevan6e419562012-09-19 12:50:05 -0600364 select MSM_SPM_V2
365 select MSM_PM8X60 if PM
366 select MSM_SCM if SMP
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700367 select MULTI_IRQ_HANDLER
Rohit Vaswani61cf6ef2012-07-27 13:51:48 -0700368 select GPIO_MSM_V3
David Collins1cc6e402012-09-17 16:02:24 -0700369 select MAY_HAVE_SPARSE_IRQ
370 select SPARSE_IRQ
Mitchel Humpherys92e9b8a2012-10-08 18:12:47 -0700371 select MSM_MULTIMEDIA_USE_ION
Girish Mahadevane3be9302012-11-07 16:21:52 -0700372 select MSM_RPM_STATS_LOG
Venkat Sudhir0620e982012-11-15 16:04:36 -0800373 select MSM_QDSP6_APRV2
374 select MSM_QDSP6V2_CODECS
375 select MSM_AUDIO_QDSP6V2 if SND_SOC
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700376
377config ARCH_MSM8910
378 bool "MSM8910"
379 select ARM_GIC
380 select GIC_SECURE
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700381 select ARCH_MSM_CORTEXMP
382 select CPU_V7
383 select MSM_SCM if SMP
384 select MAY_HAVE_SPARSE_IRQ
385 select SPARSE_IRQ
386 select MULTI_IRQ_HANDLER
387 select GPIO_MSM_V3
388 select MSM_GPIOMUX
Hanumant Singhe4271312012-10-24 13:27:57 -0700389 select MSM_NATIVE_RESTART
390 select MSM_RESTART_V2
Syed Rameez Mustafa9ee80102012-11-02 14:41:04 -0700391
392config ARCH_MSM8226
393 bool "MSM8226"
394 select ARM_GIC
395 select GIC_SECURE
Syed Rameez Mustafa9ee80102012-11-02 14:41:04 -0700396 select ARCH_MSM_CORTEXMP
397 select CPU_V7
398 select MSM_SCM if SMP
399 select MAY_HAVE_SPARSE_IRQ
400 select SPARSE_IRQ
401 select MULTI_IRQ_HANDLER
402 select GPIO_MSM_V3
403 select MSM_GPIOMUX
Syed Rameez Mustafaf1bdd712012-11-20 14:56:44 -0800404 select MSM_NATIVE_RESTART
405 select MSM_RESTART_V2
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700406endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700407
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700408choice
409 prompt "MSM SoC Revision"
410 default MSM_SOC_REV_NONE
411config MSM_SOC_REV_NONE
412 bool "N/A"
413 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
414 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walkerbf83de42010-03-16 16:29:44 -0700415config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700416 bool "Rev. A"
417 select ARCH_MSM7X27A if ARCH_MSM7X27
Daniel Walkerbf83de42010-03-16 16:29:44 -0700418endchoice
419
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700420config MSM_KRAIT_TBB_ABORT_HANDLER
421 bool "Krait TBB/TBH data abort handler"
422 depends on ARCH_MSM_KRAIT
423 depends on ARM_THUMB
424 help
425 Certain early samples of the Krait processor may generate data
426 aborts for TBB / TBH instructions that fail their condition code
427 checks. Enabling this option will ignore these erroneous data aborts,
428 at the expense of a very small performance penalty.
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800429
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700430 If unsure, say N.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700431
432config ARCH_MSM_ARM11
433 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700434
Daniel Walkerbf83de42010-03-16 16:29:44 -0700435config ARCH_MSM_SCORPION
436 bool
437
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700438config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700439 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800440 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700441
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700442config MSM_SMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700443 select HAVE_SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700444 bool
445
446config ARCH_MSM_SCORPIONMP
447 select ARCH_MSM_SCORPION
448 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530449 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700450 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700451 bool
452
453config ARCH_MSM_KRAITMP
454 select ARCH_MSM_KRAIT
455 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530456 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700457 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700458 bool
459
Taniya Das43bcdd62011-12-02 17:33:27 +0530460config ARCH_MSM_CORTEXMP
461 select MSM_SMP
462 bool
463
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700464config MSM_KRAIT_WFE_FIXUP
465 bool
466
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700467config MSM_RESTART_V2
468 bool
469
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700470config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800471 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700472
473config ARCH_MSM7X27A
474 bool
475 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700476 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530477 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530478 select ARM_GIC
479 select ARCH_MSM_CORTEXMP
Trilok Sonib856ab92012-06-26 14:33:28 +0530480 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530481 select ARM_HAS_SG_CHAIN
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700482
Gregory Beanf9f3d312010-04-30 22:06:50 -0700483config MSM_VIC
484 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700485
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700486config MSM_RPM
487 bool "Resource Power Manager"
488 select MSM_MPM
489
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600490config MSM_RPM_SMD
491 depends on MSM_SMD
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600492 select MSM_MPM_OF
493 bool "RPM driver using SMD protocol"
494 help
495 RPM is the dedicated hardware engine for managing shared SoC
496 resources. This config adds driver support for using SMD as a
497 transport layer communication with RPM hardware. It also selects
498 the MSM_MPM config that programs the MPM module to monitor interrupts
499 during sleep modes.
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600500
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700501config MSM_MPM
502 bool "Modem Power Manager"
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600503 help
504 MPM is a dedicated hardware resource responsible for entering and
505 waking up from a system wide low power mode. The MPM driver tracks
506 the wakeup interrupts and configures the MPM to monitor the wakeup
507 interrupts when going to a system wide sleep mode.
508
509config MSM_MPM_OF
510 bool "Modem Power Manager"
Subbaraman Narayanamurthy0b148fc2012-11-28 12:14:12 -0800511 depends on OF
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600512 help
513 MPM is a dedicated hardware resource responsible for entering and
514 waking up from a system wide low power mode. The MPM driver tracks
515 the wakeup interrupts and configures the MPM to monitor the wakeup
516 interrupts when going to a system wide sleep mode. This config option
517 enables the MPM driver that supports initialization from a device
518 tree
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700519
520config MSM_XO
521 bool
522
523config MSM_REMOTE_SPINLOCK_DEKKERS
524 bool
525config MSM_REMOTE_SPINLOCK_SWP
526 bool
527config MSM_REMOTE_SPINLOCK_LDREX
528 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600529config MSM_REMOTE_SPINLOCK_SFPB
530 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700531config MSM_ADM3
532 bool
533
534menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700535
536config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700537 depends on ARCH_MSM7X01A
538 depends on MSM_STACKED_MEMORY
539 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700540 bool "Halibut Board (QCT SURF7201A)"
541 help
542 Support for the Qualcomm SURF7201A eval board.
543
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700544config MACH_MSM7201A_SURF
545 depends on ARCH_MSM7X01A
546 depends on MSM_STACKED_MEMORY
547 default y
548 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700549 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700550 Support for the Qualcomm MSM7201A SURF eval board.
551
552config MACH_MSM7201A_FFA
553 depends on ARCH_MSM7X01A
554 depends on MSM_STACKED_MEMORY
555 default y
556 bool "MSM7201A FFA"
557 help
558 Support for the Qualcomm MSM7201A FFA eval board.
559
560config MACH_TROUT
561 depends on ARCH_MSM7X01A
562 depends on MSM_STACKED_MEMORY
563 default y
564 bool "Trout"
565
566config MACH_MSM7X27_SURF
567 depends on ARCH_MSM7X27
568 depends on !MSM_STACKED_MEMORY
569 default y
570 bool "MSM7x27 SURF"
571 help
572 Support for the Qualcomm MSM7x27 SURF eval board.
573
574config MACH_MSM7X27_FFA
575 depends on ARCH_MSM7X27
576 depends on !MSM_STACKED_MEMORY
577 default y
578 bool "MSM7x27 FFA"
579 help
580 Support for the Qualcomm MSM7x27 FFA eval board.
581
582config MACH_MSM7X27A_RUMI3
583 depends on ARCH_MSM7X27A
584 depends on !MSM_STACKED_MEMORY
585 default y
586 bool "MSM7x27A RUMI3"
587 help
588 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
589
590config MACH_MSM7X27A_SURF
591 depends on ARCH_MSM7X27A
592 depends on !MSM_STACKED_MEMORY
593 default y
594 bool "MSM7x27A SURF"
595 help
596 Support for the Qualcomm MSM7x27A SURF.
597
598config MACH_MSM7X27A_FFA
599 depends on ARCH_MSM7X27A
600 depends on !MSM_STACKED_MEMORY
601 default y
602 bool "MSM7x27A FFA"
603 help
604 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700605
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530606config MACH_MSM7625A_SURF
607 depends on ARCH_MSM7X27A
608 depends on !MSM_STACKED_MEMORY
609 default y
610 bool "MSM7625A SURF"
611 help
612 Support for the Qualcomm MSM7625A SURF.
613
614config MACH_MSM7625A_FFA
615 depends on ARCH_MSM7X27A
616 depends on !MSM_STACKED_MEMORY
617 default y
618 bool "MSM7625A FFA"
619 help
620 Support for the Qualcomm MSM7625A FFA.
621
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530622config MACH_MSM7627A_QRD1
623 depends on ARCH_MSM7X27A
624 depends on !MSM_STACKED_MEMORY
625 default y
626 bool "MSM7627A QRD1"
627 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530628 Support for the Qualcomm MSM7627A Reference Design.
629
630config MACH_MSM7627A_QRD3
631 depends on ARCH_MSM7X27A
632 depends on !MSM_STACKED_MEMORY
633 default y
634 bool "MSM7627A QRD3"
635 help
636 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530637
Taniya Dasc868a2e2012-01-03 10:18:47 +0530638config MACH_MSM7627A_EVB
639 depends on ARCH_MSM7X27A
640 depends on !MSM_STACKED_MEMORY
641 default y
642 bool "MSM7627A EVB"
643 help
644 Support for the Qualcomm MSM7627A Reference Design.
645
Taniya Das43bcdd62011-12-02 17:33:27 +0530646config MACH_MSM8625_RUMI3
647 depends on ARCH_MSM8625
648 depends on !MSM_STACKED_MEMORY
649 default y
650 bool "MSM8625 RUMI3"
651 help
652 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
653
Taniya Dase3027e22012-02-27 16:32:27 +0530654config MACH_MSM8625_SURF
655 depends on ARCH_MSM8625
656 depends on !MSM_STACKED_MEMORY
657 default y
658 bool "MSM8625 SURF"
659 help
660 Support for the Qualcomm MSM8625 SURF.
661
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530662config MACH_MSM8625_FFA
663 depends on ARCH_MSM8625
664 depends on !MSM_STACKED_MEMORY
665 default y
666 bool "MSM8625 FFA"
667 help
668 Support for the Qualcomm MSM8625 FFA.
669
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530670config MACH_MSM8625_EVB
671 depends on ARCH_MSM8625
672 depends on !MSM_STACKED_MEMORY
673 default y
674 bool "MSM8625 EVB"
675 help
676 Support for the Qualcomm MSM8625 Reference Design.
677
Taniya Dasbd096542012-03-15 17:43:45 +0530678config MACH_MSM8625_QRD7
679 depends on ARCH_MSM8625
680 depends on !MSM_STACKED_MEMORY
681 default y
682 bool "MSM8625 QRD7"
683 help
684 Support for the Qualcomm MSM8625 Reference Design.
685
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530686config MACH_MSM8625_EVT
687 depends on ARCH_MSM8625
688 depends on !MSM_STACKED_MEMORY
689 default y
690 bool "MSM8625 EVT"
691 help
692 Support for the Qualcomm MSM8625 Reference Design.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700693
Channagoud Kadabi2bd65c82012-10-12 15:14:23 +0530694config MACH_QRD_SKUD_PRIME
695 depends on ARCH_MSM8625
696 depends on !MSM_STACKED_MEMORY
697 default y
698 bool "MSM8625 SKUD PRIME"
699 help
700 Support for the Qualcomm MSM8625 SKUD prime Reference Design.
701 Add support for a SKUD prime reference design based on MSM8x25
702 chipset. This device is much closer to a phone than regular form
703 factor devices, with new touch, display panel and other hardware
704 configurations.
705
Daniel Walker7b521612010-05-06 12:44:57 -0700706config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700707 depends on ARCH_MSM7X30
708 depends on !MSM_STACKED_MEMORY
709 default y
710 bool "MSM7x30 SURF"
711 help
712 Support for the Qualcomm MSM7x30 SURF eval board.
713
714config MACH_MSM7X30_FFA
715 depends on ARCH_MSM7X30
716 depends on !MSM_STACKED_MEMORY
717 default y
718 bool "MSM7x30 FFA"
719 help
720 Support for the Qualcomm MSM7x30 FFA eval board.
721
722config MACH_MSM7X30_FLUID
723 depends on ARCH_MSM7X30
724 depends on !MSM_STACKED_MEMORY
725 default y
726 bool "MSM7x30 FLUID"
727 help
728 Support for the Qualcomm MSM7x30 FLUID eval board.
729
730config MACH_SAPPHIRE
731 depends on ARCH_MSM7X01A
732 default n
733 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700734
Daniel Walker4ad15e62010-05-06 13:54:17 -0700735config MACH_QSD8X50_SURF
736 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700737 depends on MSM_SOC_REV_NONE
738 depends on MSM_STACKED_MEMORY
739 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700740 bool "QSD8x50 SURF"
741 help
742 Support for the Qualcomm QSD8x50 SURF eval board.
743
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700744config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700745 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700746 depends on MSM_SOC_REV_NONE
747 depends on MSM_STACKED_MEMORY
748 default y
749 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700750 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700751 Support for the Qualcomm QSD8x50 FFA eval board.
752
753config MACH_MSM7X25_SURF
754 depends on ARCH_MSM7X25
755 depends on !MSM_STACKED_MEMORY
756 default y
757 bool "MSM7x25 SURF"
758 help
759 Support for the Qualcomm MSM7x25 SURF eval board.
760
761config MACH_MSM7X25_FFA
762 depends on ARCH_MSM7X25
763 depends on !MSM_STACKED_MEMORY
764 default y
765 bool "MSM7x25 FFA"
766 help
767 Support for the Qualcomm MSM7x25 FFA eval board.
768
769config MACH_MSM8X55_SURF
770 depends on ARCH_MSM7X30
771 depends on !MSM_STACKED_MEMORY
772 default y
773 bool "MSM8X55 SURF"
774 help
775 Support for the Qualcomm MSM8x55 SURF eval board.
776
777config MACH_MSM8X55_FFA
778 depends on ARCH_MSM7X30
779 depends on !MSM_STACKED_MEMORY
780 default y
781 bool "MSM8X55 FFA"
782 help
783 Support for the Qualcomm MSM8x55 FFA eval board.
784
785config MACH_MSM8X55_SVLTE_FFA
786 depends on ARCH_MSM7X30
787 depends on !MSM_STACKED_MEMORY
788 default y
789 bool "MSM8X55 SVLTE FFA"
790 help
791 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
792
793config MACH_MSM8X55_SVLTE_SURF
794 depends on ARCH_MSM7X30
795 depends on !MSM_STACKED_MEMORY
796 default y
797 bool "MSM8X55 SVLTE SURF"
798 help
799 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700800
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700801config MACH_MSM8X60_SURF
802 depends on ARCH_MSM8X60
803 default n
804 bool "MSM8x60 SURF"
805 help
806 Support for the Qualcomm MSM8x60 SURF eval board.
807
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700808config MACH_MSM8X60_FFA
809 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700810 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700811 bool "MSM8x60 FFA"
812 help
813 Support for the Qualcomm MSM8x60 FFA eval board.
814
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700815config MACH_MSM8X60_FLUID
816 depends on ARCH_MSM8X60
817 default n
818 bool "MSM8x60 FLUID"
819 help
820 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
821 8x60 target which has a form factor that is much closer to that
822 of a phone than other targets. It also has a new display and
823 touchscreen controller.
824
825config MACH_MSM8X60_FUSION
826 depends on ARCH_MSM8X60
827 default n
828 bool "MSM8x60 FUSION"
829 help
830 Support for the Qualcomm MSM8x60 Fusion SURF device.
831
832config MACH_MSM8X60_FUSN_FFA
833 depends on ARCH_MSM8X60
834 default n
835 bool "MSM8x60 FUSN FFA"
836 help
837 Support for the Qualcomm MSM8x60 Fusion FFA device.
838
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400839config MACH_MSM8X60_DRAGON
840 depends on ARCH_MSM8X60
841 default n
842 bool "MSM8x60 DRAGON"
843 help
844 Support for the Qualcomm MSM8x60 Dragon board.
845
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700846config MACH_MSM8960_CDP
847 depends on ARCH_MSM8960
848 bool "MSM8960 CDP"
849 help
850 Support for the Qualcomm MSM8960 CDP device.
851
852config MACH_MSM8960_MTP
853 depends on ARCH_MSM8960
854 bool "MSM8960 MTP"
855 help
856 Support for the Qualcomm MSM8960 MTP device.
857
858config MACH_MSM8960_FLUID
859 depends on ARCH_MSM8960
860 bool "MSM8960 FLUID"
861 help
862 Support for the Qualcomm MSM8960 FLUID device.
863
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300864config MACH_MSM8960_LIQUID
865 depends on ARCH_MSM8960
866 bool "MSM8960 LIQUID"
867 help
868 Support for the Qualcomm MSM8960 LIQUID device.
869
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700870config MACH_MSM8930_CDP
871 depends on ARCH_MSM8930
872 bool "MSM8930 CDP"
873 help
874 Support for the Qualcomm MSM8930 CDP device.
875
876config MACH_MSM8930_MTP
877 depends on ARCH_MSM8930
878 bool "MSM8930 MTP"
879 help
880 Support for the Qualcomm MSM8930 MTP device.
881
882config MACH_MSM8930_FLUID
883 depends on ARCH_MSM8930
884 bool "MSM8930 FLUID"
885 help
886 Support for the Qualcomm MSM8930 FLUID device.
887
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800888config MACH_MSM8627_CDP
889 depends on ARCH_MSM8930
890 bool "MSM8627 CDP"
891 help
892 Support for the Qualcomm MSM8627 CDP device.
893
894config MACH_MSM8627_MTP
895 depends on ARCH_MSM8930
896 bool "MSM8627 MTP"
897 help
898 Support for the Qualcomm MSM8627 MTP device.
899
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700900config MACH_MSM9615_CDP
901 depends on ARCH_MSM9615
902 bool "MSM9615 CDP"
903 help
904 Support for the Qualcomm MSM9615 CDP device.
905
906config MACH_MSM9615_MTP
907 depends on ARCH_MSM9615
908 bool "MSM9615 MTP"
909 help
910 Support for the Qualcomm MSM9615 MTP device.
911
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700912config MSM_USE_TSIF1
913 depends on ARCH_MSM8X60
914 bool "MSM8x60 use TSIF1"
915 help
916 Selects TSIF1 core to be used rather than TSIF0.
917 The two TSIF cores share the same DM configuration
918 so they cannot be used simultaneously.
919
Joel King82b7e3f2012-01-05 10:03:27 -0800920config MACH_APQ8064_CDP
921 depends on ARCH_APQ8064
922 bool "APQ8064 CDP"
923 help
924 Support for the Qualcomm APQ8064 CDP device.
925
926config MACH_APQ8064_MTP
927 depends on ARCH_APQ8064
928 bool "APQ8064 MTP"
929 help
930 Support for the Qualcomm APQ8064 MTP device.
931
932config MACH_APQ8064_LIQUID
933 depends on ARCH_APQ8064
934 bool "APQ8064 LIQUID"
935 help
936 Support for the Qualcomm APQ8064 LIQUID device.
937
Joel King064bbf82012-04-01 13:23:39 -0700938config MACH_MPQ8064_CDP
939 depends on ARCH_APQ8064
940 bool "MPQ8064 CDP"
941 help
942 Support for the Qualcomm MPQ8064 CDP device.
943
Joel King11ca8202012-02-13 16:19:03 -0800944config MACH_MPQ8064_HRD
945 depends on ARCH_APQ8064
946 bool "MPQ8064 HRD"
947 help
948 Support for the Qualcomm MPQ8064 HRD device.
949
950config MACH_MPQ8064_DTV
951 depends on ARCH_APQ8064
952 bool "MPQ8064 DTV"
953 help
954 Support for the Qualcomm MPQ8064 DTV device.
955
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700956config MACH_FSM9XXX_SURF
957 depends on ARCH_FSM9XXX
958 depends on !MSM_STACKED_MEMORY
959 default y
960 bool "FSM9XXX SURF"
961 help
962 Support for the Qualcomm FSM9xxx femtocell
963 chipset based SURF evaluation board and
964 FFA board.
965
Daniel Walker4ad15e62010-05-06 13:54:17 -0700966endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800967
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700968config MSM_STACKED_MEMORY
969 bool "Stacked Memory"
970 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800971 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700972 This option is used to indicate the presence of on-die stacked
973 memory. When present this memory bank is used for a high speed
974 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800975
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700976config PHYS_OFFSET
977 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700978 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700979 default "0x80200000" if ARCH_APQ8064
980 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700981 default "0x80200000" if ARCH_MSM8930
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700982 default "0x00000000" if ARCH_MSM8974
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +0530983 default "0x00000000" if ARCH_MPQ8092
Syed Rameez Mustafa90f80502012-08-23 17:27:24 -0700984 default "0x00000000" if ARCH_MSM8226
Syed Rameez Mustafa02dd1a32012-10-26 11:02:26 -0700985 default "0x00000000" if ARCH_MSM8910
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700986 default "0x10000000" if ARCH_FSM9XXX
Abhimanyu Kapur20ac2ad2012-09-25 04:23:59 -0700987 default "0x00200000" if ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700988 default "0x00200000" if !MSM_STACKED_MEMORY
989 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
990 default "0x20000000" if ARCH_QSD8X50
991 default "0x40200000" if ARCH_MSM8X60
992 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800993
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700994config KERNEL_MSM_CONTIG_MEM_REGION
995 bool "Enable in-kernel contiguous memory region"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700996 default y if ARCH_MSM8X60
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700997 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700998 help
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700999 Enable the in-kernel contiguous memory allocator. Sets up a
1000 region of physically contiguous memory. This memory is
1001 reserved during initialization, and can be used
1002 generically.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001003
1004config KERNEL_PMEM_SMI_REGION
1005 bool "Enable in-kernel PMEM region for SMI"
1006 default y if ARCH_MSM8X60
1007 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
1008 help
1009 Enable the in-kernel PMEM allocator to use SMI memory.
1010
1011config PMEM_GPU0
1012 bool "Enable PMEM GPU0 region"
1013 default y
1014 depends on ARCH_QSD8X50 && ANDROID_PMEM
1015 help
1016 Enable the PMEM GPU0 device on SMI Memory.
1017
1018config MSM_AMSS_VERSION
1019 int
1020 default 6210 if MSM_AMSS_VERSION_6210
1021 default 6220 if MSM_AMSS_VERSION_6220
1022 default 6225 if MSM_AMSS_VERSION_6225
1023
1024choice
1025 prompt "AMSS modem firmware version"
1026
1027 default MSM_AMSS_VERSION_6225
1028
1029 config MSM_AMSS_VERSION_6210
1030 bool "6.2.10"
1031
1032 config MSM_AMSS_VERSION_6220
1033 bool "6.2.20"
1034
1035 config MSM_AMSS_VERSION_6225
1036 bool "6.2.20 + New ADSP"
1037endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -08001038
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001039config MSM_HAS_DEBUG_UART_HS
Daniel Walkerbf83de42010-03-16 16:29:44 -07001040 bool
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001041 help
1042 Say Y here if high speed MSM UART is present.
1043
1044config MSM_HAS_DEBUG_UART_HS_V14
1045 bool
1046 select MSM_HAS_DEBUG_UART_HS
1047 help
1048 Say Y here if high speed MSM UART v1.4 is present.
1049
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301050config MSM_DEBUG_UART_PHYS
1051 hex
1052 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
1053 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
1054 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
1055 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
1056 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
1057 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
1058 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
1059 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
1060
Brian Swetland9e73c842007-11-26 04:12:13 -08001061choice
1062 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001063 depends on DEBUG_LL
Brian Swetland9e73c842007-11-26 04:12:13 -08001064
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001065 config DEBUG_MSM_UART1
1066 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301067 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001068 help
1069 Say Y here if you want the debug print routines to direct
1070 their output to the first serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001071
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001072 config DEBUG_MSM_UART2
1073 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301074 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001075 help
1076 Say Y here if you want the debug print routines to direct
1077 their output to the second serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001078
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001079 config DEBUG_MSM_UART3
1080 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301081 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001082 help
1083 Say Y here if you want the debug print routines to direct
1084 their output to the third serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001085
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001086 config DEBUG_MSM8660_UART
1087 bool "Kernel low-level debugging messages via MSM 8660 UART"
1088 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001089 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001090 help
1091 Say Y here if you want the debug print routines to direct
1092 their output to the serial port on MSM 8660 devices.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001093
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001094 config DEBUG_MSM8960_UART
1095 bool "Kernel low-level debugging messages via MSM 8960 UART"
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001096 depends on ARCH_MSM8960 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001097 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001098 help
1099 Say Y here if you want the debug print routines to direct
1100 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001101
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001102 config DEBUG_MSM8930_UART
1103 bool "Kernel low-level debugging messages via MSM 8930 UART"
1104 depends on ARCH_MSM8930 && DEBUG_LL
1105 select MSM_HAS_DEBUG_UART_HS
1106 help
1107 Say Y here if you want the debug print routines to direct
1108 their output to the serial port on MSM 8930 devices.
1109
1110 config DEBUG_APQ8064_UART
1111 bool "Kernel low-level debugging messages via APQ 8064 UART"
1112 depends on ARCH_APQ8064 && DEBUG_LL
1113 select MSM_HAS_DEBUG_UART_HS
1114 help
1115 Say Y here if you want the debug print routines to direct
1116 their output to the serial port on APQ 8064 devices.
1117
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001118 config DEBUG_MSM8974_UART
1119 bool "Kernel low-level debugging messages via MSM 8974 UART"
1120 depends on ARCH_MSM8974
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001121 select MSM_HAS_DEBUG_UART_HS_V14
1122 help
1123 Say Y here if you want the debug print routines to direct
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001124 their output to the serial port on MSM 8974 devices.
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +05301125
1126 config DEBUG_MPQ8092_UART
1127 bool "Kernel low-level debugging messages via MPQ8092 UART"
1128 depends on ARCH_MPQ8092
1129 select MSM_HAS_DEBUG_UART_HS_V14
1130 help
1131 Say Y here if you want the debug print routines to direct
1132 their output to the serial port on MPQ8092 devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001133endchoice
Brian Swetland9e73c842007-11-26 04:12:13 -08001134
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001135choice
1136 prompt "Default Timer"
1137 default MSM7X00A_USE_GP_TIMER
1138
1139 config MSM7X00A_USE_GP_TIMER
1140 bool "GP Timer"
1141 help
1142 Low resolution timer that allows power collapse from idle.
1143
1144 config MSM7X00A_USE_DG_TIMER
1145 bool "DG Timer"
1146 help
1147 High resolution timer.
1148endchoice
1149
1150choice
1151 prompt "Suspend sleep mode"
1152 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1153 help
1154 Allows overriding the sleep mode used. Leave at power
1155 collapse suspend unless the arm9 image has problems.
1156
1157 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1158 bool "Power collapse suspend"
1159 help
1160 Lowest sleep state. Returns through reset vector.
1161
1162 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1163 bool "Power collapse"
1164 help
1165 Sleep state that returns through reset vector.
1166
1167 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1168 bool "Apps Sleep"
1169
1170 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1171 bool "Ramp down cpu clock and wait for interrupt"
1172
1173 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1174 bool "Wait for interrupt"
1175endchoice
1176
1177config MSM7X00A_SLEEP_MODE
1178 int
1179 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1180 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1181 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1182 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1183 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1184
1185choice
1186 prompt "Idle sleep mode"
1187 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1188 help
1189 Allows overriding the sleep mode used from idle. Leave at power
1190 collapse suspend unless the arm9 image has problems.
1191
1192 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1193 bool "Power collapse suspend"
1194 help
1195 Lowest sleep state. Returns through reset vector.
1196
1197 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1198 bool "Power collapse"
1199 help
1200 Sleep state that returns through reset vector.
1201
1202 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1203 bool "Apps Sleep"
1204
1205 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1206 bool "Ramp down cpu clock and wait for interrupt"
1207
1208 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1209 bool "Wait for interrupt"
1210endchoice
1211
1212config MSM7X00A_IDLE_SLEEP_MODE
1213 int
1214 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1215 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1216 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1217 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1218 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1219
1220config MSM7X00A_IDLE_SLEEP_MIN_TIME
1221 int "Minimum idle time before sleep"
1222 default 20000000
1223 help
1224 Minimum idle time in nanoseconds before entering low power mode.
1225
1226config MSM7X00A_IDLE_SPIN_TIME
1227 int "Idle spin time before cpu ramp down"
1228 default 80000
1229 help
1230 Spin time in nanoseconds before ramping down cpu clock and entering
1231 any low power state.
1232
1233menuconfig MSM_IDLE_STATS
1234 bool "Collect idle statistics"
1235 default y
1236 help
1237 Collect idle statistics and export them in proc/msm_pm_stats.
1238
1239if MSM_IDLE_STATS
1240
1241config MSM_IDLE_STATS_FIRST_BUCKET
1242 int "First bucket time"
1243 default 62500
1244 help
1245 Upper time limit in nanoseconds of first bucket.
1246
1247config MSM_IDLE_STATS_BUCKET_SHIFT
1248 int "Bucket shift"
1249 default 2
1250
1251config MSM_IDLE_STATS_BUCKET_COUNT
1252 int "Bucket count"
1253 default 10
1254
1255config MSM_SUSPEND_STATS_FIRST_BUCKET
1256 int "First bucket time for suspend"
1257 default 1000000000
1258 help
1259 Upper time limit in nanoseconds of first bucket of the
1260 histogram. This is for collecting statistics on suspend.
1261
1262endif # MSM_IDLE_STATS
1263
1264config CPU_HAS_L2_PMU
1265 bool "L2CC PMU Support"
1266 help
1267 Select this if the L2 cache controller has a Performance Monitoring Unit.
1268
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001269config HTC_HEADSET
1270 tristate "HTC 2 Wire detection driver"
1271 default n
1272 help
1273 Provides support for detecting HTC 2 wire devices, such as wired
1274 headset, on the trout platform. Can be used with the msm serial
1275 debugger, but not with serial console.
1276
1277config TROUT_BATTCHG
1278 depends on MACH_TROUT && POWER_SUPPLY
1279 default y
1280 bool "Trout battery / charger driver"
1281
1282config HTC_PWRSINK
1283 depends on MSM_SMD
1284 default n
1285 bool "HTC Power Sink Driver"
1286
1287config QSD_SVS
1288 bool "QSD Static Voltage Scaling"
1289 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1290 default y
1291 select TPS65023
1292 help
1293 Enables static voltage scaling using the TPS65023 PMIC.
1294
1295config QSD_PMIC_DEFAULT_DCDC1
1296 int "PMIC default output voltage"
1297 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1298 default 1250
1299 help
1300 This is the PMIC voltage at Linux kernel boot.
1301
1302config MSM_FIQ_SUPPORT
1303 default y
1304 bool "Enable installation of an FIQ handler."
1305
1306config MSM_SERIAL_DEBUGGER
1307 select MSM_FIQ_SUPPORT
1308 select KERNEL_DEBUGGER_CORE
1309 default n
1310 bool "FIQ Mode Serial Debugger"
1311 help
1312 The FIQ serial debugger can accept commands even when the
1313 kernel is unresponsive due to being stuck with interrupts
1314 disabled. Depends on the kernel debugger core in drivers/misc.
1315
1316config MSM_SERIAL_DEBUGGER_CONSOLE
1317 depends on MSM_SERIAL_DEBUGGER
1318 default n
1319 bool "Console on FIQ Serial Debugger port"
1320 help
1321 Enables a console so that printk messages are displayed on
1322 the debugger serial port as the occur.
Brian Swetland9e73c842007-11-26 04:12:13 -08001323
Gregory Beanab78cde2010-09-01 16:26:12 -07001324config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001325 default y
1326 bool "Proc-Comm RPC Interface"
1327 help
1328 Enables a lightweight communications interface to the
1329 baseband processor.
Gregory Beanab78cde2010-09-01 16:26:12 -07001330
Gregory Bean1963a2a2010-08-28 10:05:44 -07001331config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001332 bool "MSM Shared Memory Driver (SMD)"
1333 help
1334 Support for the shared memory interface between the apps
1335 processor and the baseband processor. Provides access to
1336 the "shared heap", as well as virtual serial channels
1337 used to communicate with various services on the baseband
1338 processor.
1339
1340choice
1341 prompt "MSM Shared memory interface version"
1342 depends on MSM_SMD
1343 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1344 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1345
1346 config MSM_SMD_PKG3
1347 bool
1348 prompt "Package 3"
1349
1350 config MSM_SMD_PKG4
1351 bool
1352 prompt "Package 4"
1353endchoice
1354
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001355config MSM_PCIE
1356 bool "MSM PCIe Controller driver"
1357 depends on PCI && PCI_MSI
1358 help
1359 Enables the PCIe functionality by configures PCIe core on
1360 MSM chipset and by enabling the ARM PCI framework extension.
1361
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001362config MSM_RPC_SDIO_XPRT
1363 depends on MSM_SDIO_AL
1364 default y
1365 bool "MSM SDIO XPRT Layer"
1366 help
1367 SDIO Transport Layer for RPC Rouer
1368
1369config MSM_RPC_SDIO_DEBUG
1370 depends on MSM_RPC_SDIO_XPRT
1371 default y
1372 bool "MSM SDIO XPRT debug support"
1373 help
1374 Support for debugging SDIO XPRT
1375
1376config MSM_SMD_DEBUG
1377 depends on MSM_SMD
1378 default y
1379 bool "MSM SMD debug support"
1380 help
1381 Support for debugging the SMD for communication
1382 between the ARM9 and ARM11
1383
1384config MSM_SDIO_AL
1385 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1386 default y
1387 tristate "SDIO-Abstraction-Layer"
1388 help
1389 Support MSM<->MDM Communication over SDIO bus.
1390 MDM SDIO-Client should have pipes support.
1391
1392config MSM_SDIO_DMUX
1393 bool "SDIO Data Mux Driver"
1394 depends on MSM_SDIO_AL
1395 default n
1396 help
1397 Support Muxed Data Channels over SDIO interface.
1398
1399config MSM_BAM_DMUX
1400 bool "BAM Data Mux Driver"
1401 depends on SPS
1402 default n
1403 help
1404 Support Muxed Data Channels over BAM interface.
1405 BAM has a limited number of pipes. This driver
1406 provides a means to support more logical channels
1407 via muxing than BAM could without muxing.
1408
1409config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001410 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001411 default y
1412 bool "MSM N-WAY SMD support"
1413 help
1414 Supports APPS-QDSP SMD communication along with
1415 normal APPS-MODEM SMD communication.
1416
1417config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001418 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001419 default y
1420 bool "MSM N-WAY SMSM support"
1421 help
1422 Supports APPS-QDSP SMSM communication along with
1423 normal APPS-MODEM SMSM communication.
1424
1425config MSM_RESET_MODEM
1426 tristate "Reset Modem Driver"
1427 depends on MSM_SMD
1428 default m
1429 help
1430 Allows the user to reset the modem through a device node.
1431
1432config MSM_SMD_LOGGING
1433 depends on MSM_SMD
1434 default y
1435 bool "MSM Shared Memory Logger"
1436 help
1437 This option exposes the shared memory logger at /dev/smem_log
1438 and a debugfs node named smem_log.
1439
1440 If in doubt, say yes.
1441
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001442config MSM_IPC_LOGGING
1443 bool "MSM Debug Logging for IPC Drivers"
1444 help
1445 This option allows the debug logging for IPC Drivers.
1446
1447 If in doubt, say no.
1448
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001449config MSM_SMD_NMEA
1450 bool "NMEA GPS Driver"
1451 depends on MSM_SMD
1452 default y
1453 help
1454 Enable this to support the NMEA GPS device.
1455
1456 If in doubt, say yes.
1457
1458config MSM_SDIO_TTY
1459 bool "SDIO TTY Driver"
1460 depends on MSM_SDIO_AL
1461 default n
1462 help
1463 Provides a TTY driver SDIO TTY
1464 This driver can be used by user space
1465 applications for passing data through the
1466 SDIO interface.
1467
1468config MSM_SMD_TTY
1469 bool "SMD TTY Driver"
1470 depends on MSM_SMD
1471 default y
1472 help
1473 Provides TTY interfaces to interact with the modem.
1474
1475 If in doubt, say yes.
1476
1477config MSM_SMD_QMI
1478 bool "SMD QMI Driver"
1479 depends on MSM_SMD
1480 default y
1481 help
1482 Manages network data connections.
1483
1484 If in doubt, say yes.
1485
1486config MSM_SMD_PKT
1487 bool "SMD Packet Driver"
1488 depends on MSM_SMD
1489 default y
1490 help
1491 Provides a binary SMD non-muxed packet port interface.
1492
1493 If in doubt, say yes.
1494
1495config MSM_SDIO_CMUX
1496 bool "SDIO CMUX Driver"
1497 depends on MSM_SDIO_AL
1498 default n
1499 help
1500 Provides a Muxed port interface over SDIO QMI
1501
1502config MSM_DSPS
1503 bool "Sensors DSPS driver"
1504 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1505 default n
1506 help
1507 Provides user-space interface to the sensors manager
1508 to turn on/off the Sensors Processor system clocks.
1509 It is the DSPS responsibility to turn on/off the sensors
1510 themself.
1511 The number of clocks and their name may vary between targets.
1512 It also triggers the PIL to load the DSPS firmware.
1513
1514config MSM_SDIO_CTL
1515 bool "SDIO CTL Driver"
1516 depends on MSM_SDIO_CMUX
1517 default n
1518 help
1519 Provides a binary SDIO control port interface.
1520
1521config MSM_ONCRPCROUTER
1522 depends on MSM_SMD
1523 default n
1524 bool "MSM ONCRPC router support"
1525 help
1526 Support for the MSM ONCRPC router for communication between
1527 the ARM9 and ARM11
1528
1529config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001530 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001531 default n
1532 bool "MSM IPC Router support"
1533 help
1534 Support for the MSM IPC Router for communication between
1535 the APPs and the MODEM
1536
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001537config MSM_IPC_ROUTER_SMD_XPRT
1538 depends on MSM_SMD
1539 depends on MSM_IPC_ROUTER
1540 default n
1541 bool "MSM SMD XPRT Layer"
1542 help
1543 SMD Transport Layer for IPC Router
1544
Karthikeyan Ramasubramanian5b502d3642012-09-23 22:23:36 -06001545config MSM_IPC_ROUTER_SECURITY
1546 depends on MSM_IPC_ROUTER
1547 bool "MSM IPC Router Security support"
1548 help
1549 This feature of IPC Router will enforce security rules
1550 configured by a security script from the user-space. IPC Router
1551 once configured with the security rules will ensure that the
1552 sender of the message to a service belongs to the relevant
1553 Linux group as configured by the security script.
1554
Karthikeyan Ramasubramanianfec77ff2012-10-26 20:03:26 -06001555config MSM_QMI_INTERFACE
1556 depends on MSM_IPC_ROUTER
1557 depends on QMI_ENCDEC
1558 default n
1559 bool "MSM QMI Interface Library"
1560 help
1561 Library to send and receive QMI messages over IPC Router.
1562 This library provides interface functions to the kernel drivers
1563 to perform QMI message marshaling and transport them over IPC
1564 Router.
1565
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001566config MSM_ONCRPCROUTER_DEBUG
1567 depends on MSM_ONCRPCROUTER
1568 default y
1569 bool "MSM debug ONCRPC router support"
1570 help
1571 Support for debugging the ONCRPC router for communication
1572 between the ARM9 and ARM11
1573
1574config MSM_RPC_LOOPBACK_XPRT
1575 depends on MSM_ONCRPCROUTER
1576 default n
1577 bool "MSM RPC local routing support"
1578 help
1579 Support for routing RPC messages between APPS clients
1580 and APPS servers. Helps in testing APPS RPC framework.
1581
1582config MSM_RPCSERVER_TIME_REMOTE
1583 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1584 default y
1585 bool "Time remote RPC server"
1586 help
1587 The time remote server receives notification of time bases and
1588 reports these events to registered callback functions.
1589
1590config MSM_RPCSERVER_WATCHDOG
1591 depends on MSM_ONCRPCROUTER
1592 default y
1593 bool "Watchdog RPC server"
1594 help
1595 The dog_keepalive server handles watchdog events.
1596
1597config MSM_RPC_WATCHDOG
1598 depends on MSM_ONCRPCROUTER
1599 default n
1600 bool "Watchdog RPC client"
1601 help
1602 The dog_keepalive client module.
1603
1604config MSM_RPC_PING
1605 depends on MSM_ONCRPCROUTER && DEBUG_FS
1606 default m
1607 bool "MSM rpc ping"
1608 help
1609 Implements MSM rpc ping test module.
1610
1611config MSM_RPC_PROC_COMM_TEST
1612 depends on DEBUG_FS && MSM_PROC_COMM
1613 default m
1614 bool "MSM rpc proc comm test"
1615 help
1616 Implements MSM rpc proc comm test module.
1617
1618config MSM_RPC_OEM_RAPI
1619 depends on MSM_ONCRPCROUTER
1620 default m
1621 bool "MSM oem rapi"
1622 help
1623 Implements MSM oem rapi client module.
1624
1625config MSM_RPCSERVER_HANDSET
1626 depends on MSM_ONCRPCROUTER
1627 default y
1628 bool "Handset events RPC server"
1629 help
1630 Support for receiving handset events like headset detect,
1631 headset switch and clamshell state.
1632
1633config MSM_RMT_STORAGE_CLIENT
1634 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1635 default n
1636 bool "Remote Storage RPC client"
1637 help
1638 Provide RPC mechanism for remote processors to access storage
1639 device on apps processor.
1640
1641config MSM_RMT_STORAGE_CLIENT_STATS
1642 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1643 default n
1644 bool "Remote storage RPC client performance statistics"
1645 help
1646 Collects performance statistics and shows this information
1647 through a debugfs file rmt_storage_stats.
1648
1649config MSM_SDIO_SMEM
1650 depends on MSM_SDIO_AL
1651 default n
1652 bool "SDIO SMEM for remote storage"
1653 help
1654 Copies data from remote MDM9K memory to local MSM8x60
1655 memory. Used by remote storage client to shadow
1656 MDM9K filesystem.
1657
1658config MSM_DALRPC
1659 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001660 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001661 help
1662 Supports RPC calls to DAL devices on remote processor cores.
1663
1664config MSM_DALRPC_TEST
1665 tristate "DAL RPC test module"
1666 depends on (MSM_DALRPC && DEBUG_FS)
1667 default m
1668 help
1669 Exercises DAL RPC calls to QDSP6.
1670
1671if CPU_FREQ_MSM
1672
1673config MSM_CPU_FREQ_SET_MIN_MAX
1674 bool "Set Min/Max CPU frequencies."
1675 default n
1676 help
1677 Allow setting min and max CPU frequencies. Sysfs can be used
1678 to override these values.
1679
1680config MSM_CPU_FREQ_MAX
1681 int "Max CPU Frequency"
1682 depends on MSM_CPU_FREQ_SET_MIN_MAX
1683 default 384000
1684
1685config MSM_CPU_FREQ_MIN
1686 int "Min CPU Frequency"
1687 depends on MSM_CPU_FREQ_SET_MIN_MAX
1688 default 245760
1689
1690endif # CPU_FREQ_MSM
1691
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001692config MSM_AVS_HW
1693 bool "Enable Adaptive Voltage Scaling (AVS)"
1694 default n
1695 help
1696 Enable AVS hardware to fine tune voltage at each frequency. The
1697 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1698 fine tune the voltages based on the feedback from the ring
1699 oscillators.
1700
1701config MSM_HW3D
1702 tristate "MSM Hardware 3D Register Driver"
1703 depends on ANDROID_PMEM
1704 default y
1705 help
1706 Provides access to registers needed by the userspace OpenGL|ES
1707 library.
1708
1709config MSM_ADSP
1710 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1711 tristate "MSM ADSP driver"
1712 depends on ANDROID_PMEM
1713 default y
1714 help
1715 Provides access to registers needed by the userspace aDSP library.
1716
1717config ADSP_RPC_VER
1718 hex
1719 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1720 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1721 depends on MSM_ADSP
1722 help
1723 Select proper ADSP RPC version
1724choice
1725 prompt "ADSP RPC version"
1726
1727 default AMSS_7X25_VERSION_2009
1728
1729 config AMSS_7X25_VERSION_2009
1730 bool "2.0.09"
1731
1732 config AMSS_7X25_VERSION_2008
1733 bool "2.0.08"
1734endchoice
1735
1736config MSM7KV2_AUDIO
1737 bool "MSM7K v2 audio"
1738 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1739 default y
1740 help
1741 Enables QDSP5V2-based audio drivers for audio playbacks and
1742 voice call.
1743
1744config MSM_ADSP_REPORT_EVENTS
1745 bool "Report modem events from the DSP"
1746 default y
1747 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1748 help
1749 Normally, only messages from the aDSP are reported to userspace.
1750 With this option, we report events from the aDSP as well.
1751
1752config MSM_QDSP6
1753 tristate "QDSP6 support"
1754 depends on ARCH_QSD8X50 && ANDROID_PMEM
1755 default y
1756 help
1757 Enable support for qdsp6. This provides audio and video functionality.
1758
1759config MSM8X60_AUDIO
1760 tristate "MSM8X60 audio support"
1761 depends on ARCH_MSM8X60 && ANDROID_PMEM
1762 default y
1763 help
1764 Enable support for qdsp6v2. This provides audio functionality.
1765
1766config MSM8X60_FTM_AUDIO_DEVICES
1767 bool "MSM8X60 audio factory test mode support"
1768 depends on MSM8X60_AUDIO
1769 help
1770 Enable support audio factory test mode devices. This is used
1771 in a production line environment.
1772
Ben Romberger45b351c2011-07-20 22:37:27 -07001773config RTAC
1774 bool "MSM8K real-time audio calibration support"
1775 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001776 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001777 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001778 audio operation
1779
1780config MSM7X27A_AUDIO
1781 bool "MSM7X27A audio support"
1782 depends on ARCH_MSM7X27A && MSM_ADSP
1783 default n
1784 help
1785 Enable support for 7x27a. This provides audio functionality.
1786
Justin Pauporea6cd2092011-06-22 16:19:45 -07001787config MSM_PROC_COMM_REGULATOR
Gregory Bean1963a2a2010-08-28 10:05:44 -07001788 bool
Justin Pauporea6cd2092011-06-22 16:19:45 -07001789 depends on MSM_PROC_COMM && REGULATOR
1790 help
1791 Enable regulator framework support for regulators managed by PMLIB
1792 on the modem, and controlled through proccomm calls.
1793
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001794config MSM_VREG_SWITCH_INVERTED
1795 bool "Reverse vreg switch polarity"
1796 default n
1797 help
1798 Reverses the enable and disable for vreg switch.
1799
1800config MSM_DMA_TEST
1801 tristate "MSM DMA test module"
1802 default m
1803 help
1804 Intended to be compiled as a module. Provides a device node
1805 and ioctls for testing the MSM dma system.
1806
1807config WIFI_CONTROL_FUNC
1808 bool "Enable WiFi control function abstraction"
1809 help
1810 Enables Power/Reset/Carddetect function abstraction
1811
1812config WIFI_MEM_PREALLOC
1813 depends on WIFI_CONTROL_FUNC
1814 bool "Preallocate memory for WiFi buffers"
1815 help
1816 Preallocates memory buffers for WiFi driver
1817
1818config QSD_AUDIO
1819 bool "QSD audio"
1820 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1821 default y
1822 help
1823 Provides PCM, MP3, and AAC audio playback.
1824
1825config AUDIO_AAC_PLUS
1826 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1827 bool "AAC+ Audio"
1828 default y
1829 help
1830 Provides AAC+ decoding
1831
1832config AUDIO_ENHANCED_AAC_PLUS
1833 depends on AUDIO_AAC_PLUS
1834 bool "Enhanced AAC+ Audio"
1835 default y
1836 help
1837 Provides Enhanced AAC+ decoding
1838
1839config SURF_FFA_GPIO_KEYPAD
1840 bool "MSM SURF/FFA GPIO keypad"
1841 depends on INPUT_GPIO = "y"
1842 default y
1843 help
1844 Select if the GPIO keypad is attached.
1845
1846config MSM_SLEEP_TIME_OVERRIDE
1847 bool "Allow overriding suspend/sleep time with PM module parameter"
1848 default y
1849 help
1850 Enable the module parameter sleep_time_override. Specified
1851 in units of seconds, it overwrites the normal sleep time of
1852 suspend. The feature is required for automated power management
1853 testing.
1854
1855config MSM_MEMORY_LOW_POWER_MODE
1856 bool "Control the low power modes of memory"
1857 default n
1858 help
1859 The application processor controls whether memory should enter
1860 which low power mode.
1861
1862choice
1863 prompt "Default Memory Low Power Mode during Idle"
1864 depends on MSM_MEMORY_LOW_POWER_MODE
1865 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1866 help
1867 Selects the default low power mode of the memory during idle
1868 sleep.
1869
1870 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1871 bool "Memory active"
1872
1873 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1874 bool "Memory in retention"
1875
1876 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1877 bool "Memory in deep power down"
1878endchoice
1879
1880choice
1881 prompt "Default Memory Low Power Mode during Suspend"
1882 depends on MSM_MEMORY_LOW_POWER_MODE
1883 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1884 help
1885 Selects the default low power mode of the memory during suspend
1886 sleep.
1887
1888 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1889 bool "Memory active"
1890
1891 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1892 bool "Memory in retention"
1893
1894 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1895 bool "Memory in deep power down"
1896endchoice
1897
1898choice
1899 prompt "Power management timeout action"
1900 default MSM_PM_TIMEOUT_HALT
1901 help
1902 Selects the Application Processor's action when Power Management
1903 times out waiting for Modem's handshake.
1904
1905 config MSM_PM_TIMEOUT_HALT
1906 bool "Halt the Application Processor"
1907
1908 config MSM_PM_TIMEOUT_RESET_MODEM
1909 bool "Reset the Modem Processor"
1910
1911 config MSM_PM_TIMEOUT_RESET_CHIP
1912 bool "Reset the entire chip"
1913endchoice
1914
1915config MSM_IDLE_WAIT_ON_MODEM
1916 int "Wait for Modem to become ready for idle power collapse"
1917 default 0
1918 help
1919 If Modem is not ready to handle Application Processor's request
1920 for idle power collapse, wait the number of microseconds in case
1921 Modem becomes ready soon.
1922
Matt Wagantall9274df92011-12-15 11:11:05 -08001923config MSM_RPM_REGULATOR
1924 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001925 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001926 help
1927 Compile in support for the RPM regulator driver, used for setting
1928 voltages and other parameters of the various power rails supplied
1929 by some Qualcomm PMICs.
1930
David Collinsc7642322012-04-04 10:19:12 -07001931config MSM_RPM_REGULATOR_SMD
1932 bool "SMD RPM regulator driver"
1933 depends on REGULATOR
1934 depends on OF
1935 depends on MSM_RPM_SMD
1936 help
1937 Compile in support for the SMD RPM regulator driver which is used for
1938 setting voltages and other parameters of the various power rails
1939 supplied by some Qualcomm PMICs. The SMD RPM regulator driver should
1940 be used on systems which contain an RPM which communicates with the
1941 application processor over SMD.
1942
Rohit Vaswani5fd759e2012-11-07 07:05:08 -08001943config MSM_SMCMOD
1944 tristate "Secure Monitor Call (SMC) Module"
1945 default n
1946 depends on (ARCH_FSM9XXX && ION && ION_MSM && MSM_SCM)
1947 help
1948 Enable support for smcmod driver. This driver provides a mechanism
1949 to execute the Secure Monitor Call (SMC) to switch from non-secure
1950 to secure execution in the fsm9xxx targets. This module utilizes Ion
1951 for buffer management.
1952
Stephen Boyd01710582012-07-09 13:40:05 -07001953config MSM_SUBSYSTEM_RESTART
1954 bool "MSM Subsystem Restart"
1955 help
1956 This option enables the MSM subsystem restart framework.
1957
1958 The MSM subsystem restart framework provides support to boot,
1959 shutdown, and restart subsystems with a reference counted API.
1960 It also notifies userspace of transitions between these states via
1961 sysfs.
1962
1963config MSM_SYSMON_COMM
1964 bool "MSM System Monitor communication support"
1965 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1966 help
1967 This option adds support for MSM System Monitor library, which
1968 provides an API that may be used for notifying subsystems within
1969 the SoC about other subsystems' power-up/down state-changes.
1970
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001971config MSM_PIL
1972 bool "Peripheral image loading"
1973 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001974 default n
1975 help
1976 Some peripherals need to be loaded into memory before they can be
1977 brought out of reset.
1978
1979 Say yes to support these devices.
1980
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001981config MSM_PIL_MODEM
1982 tristate "Modem (ARM11) Boot Support"
Stephen Boyd3ac20732012-05-03 18:46:08 -07001983 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001984 help
1985 Support for booting and shutting down ARM11 Modem processors.
1986
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001987config MSM_PIL_QDSP6V3
1988 tristate "QDSP6v3 (Hexagon) Boot Support"
Stephen Boyd2e19d932012-05-09 17:36:04 -07001989 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001990 help
1991 Support for booting and shutting down QDSP6v3 processors (hexagon).
1992 The QDSP6 is a low power DSP used in audio software applications.
1993
Stephen Boydbdb53f32012-06-05 18:39:47 -07001994config MSM_PIL_LPASS_QDSP6V4
1995 tristate "LPASS QDSP6v4 (Hexagon) Boot Support"
Stephen Boyda1cf76b2012-06-13 12:05:35 -07001996 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydeb819882011-08-29 14:46:30 -07001997 help
Stephen Boydbdb53f32012-06-05 18:39:47 -07001998 Support for booting and shutting down QDSP6v4 processors (hexagon)
1999 in low power audio subsystems. If you would like to record or
2000 play audio then say Y here.
2001
2002 If unsure, say N.
2003
2004config MSM_PIL_MODEM_QDSP6V4
2005 tristate "Modem QDSP6v4 (Hexagon) Boot Support"
Stephen Boyd2efa9962012-06-12 14:20:12 -07002006 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydbdb53f32012-06-05 18:39:47 -07002007 help
2008 Support for booting and shutting down QDSP6v4 processors (hexagon)
2009 in modem subsystems. If you would like to make or receive phone
2010 calls then say Y here.
2011
2012 If unsure, say N.
Stephen Boydeb819882011-08-29 14:46:30 -07002013
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07002014config MSM_PIL_LPASS_QDSP6V5
Stephen Boyd633eb622012-06-13 12:05:35 -07002015 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
2016 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
2017 help
2018 Support for booting and shutting down QDSP6v5 (Hexagon) processors
2019 in low power audio subsystems. This driver also monitors the ADSP
2020 SMSM status bits and the ADSP's watchdog interrupt and restarts the
2021 ADSP if the processor encounters a fatal error.
Matt Wagantall4e2599e2012-03-21 22:31:35 -07002022
2023config MSM_PIL_MSS_QDSP6V5
Stephen Boyd3da4fd02012-07-06 10:00:12 -07002024 tristate "MSS QDSP6v5 (Hexagon) Boot Support"
2025 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantalle6e00d52012-03-08 17:39:07 -08002026 help
Stephen Boyd3da4fd02012-07-06 10:00:12 -07002027 Support for booting and shutting down QDSP6v5 (Hexagon) processors
2028 in modem subsystems. If you would like to make or receive phone
2029 calls then say Y here.
2030
2031 If unsure, say N.
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07002032
Stephen Boyd322a9922011-09-20 01:05:54 -07002033config MSM_PIL_RIVA
2034 tristate "RIVA (WCNSS) Boot Support"
Stephen Boydfdec00d2012-05-10 17:04:49 -07002035 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd322a9922011-09-20 01:05:54 -07002036 help
2037 Support for booting and shutting down the RIVA processor (WCNSS).
2038 Riva is the wireless subsystem processor used in bluetooth, wireless
2039 LAN, and FM software applications.
2040
Stephen Boydd89eebe2011-09-28 23:28:11 -07002041config MSM_PIL_TZAPPS
2042 tristate "TZApps Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002043 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boydd89eebe2011-09-28 23:28:11 -07002044 help
2045 Support for booting and shutting down TZApps.
2046
2047 TZApps is an image that runs in the secure processor state. It is
2048 used to decrypt data and perform secure operations on the behalf of
2049 the kernel.
2050
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07002051config MSM_PIL_DSPS
2052 tristate "DSPS Boot Support"
Stephen Boydf169b4b2012-05-10 17:55:55 -07002053 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07002054 help
2055 Support for booting and shutting down ARM7 DSPS processors.
2056
2057 DSPS is a sensors offloading processor used for applications such
2058 as rotation detection, temperature, etc.
2059
Stephen Boyd7b973de2012-03-09 12:26:16 -08002060config MSM_PIL_VIDC
2061 tristate "Video Core Secure Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002062 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd7b973de2012-03-09 12:26:16 -08002063 help
2064 Support for authenticating the video core image.
2065
Tianyi Gou828798d2012-05-02 21:12:38 -07002066config MSM_PIL_VENUS
2067 tristate "VENUS (Video) Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002068 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Tianyi Gou828798d2012-05-02 21:12:38 -07002069 help
2070 Support for booting and shutting down the VENUS processor (Video).
2071 Venus is the Video subsystem processor used for video codecs.
2072
Matt Wagantall292aace2012-01-26 19:12:34 -08002073config MSM_PIL_GSS
Stephen Boydd86214b2012-05-10 15:26:35 -07002074 tristate "GSS (Cortex A5) Boot Support"
2075 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantall292aace2012-01-26 19:12:34 -08002076 help
2077 Support for booting and shutting down Cortex A5 processors which run
2078 GPS subsystem firmware.
2079
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002080config MSM_PIL_PRONTO
2081 tristate "PRONTO (WCNSS) Boot Support"
Stephen Boyd581fe852012-06-13 12:05:35 -07002082 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002083 help
2084 Support for booting and shutting down the PRONTO processor (WCNSS).
2085 PRONTO is the wireless subsystem processor used in bluetooth, wireless
2086 LAN, and FM software applications.
2087
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002088config MSM_SCM
2089 bool "Secure Channel Manager (SCM) support"
2090 default n
2091
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002092config SCORPION_Uni_45nm_BUG
2093 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
2094 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
2095 default y
2096 help
2097 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
2098 invalidating the Branch Predictor Array by Modified Virtual Address can
2099 create invalid entries in the TLB with the wrong ASID values on Scorpion
2100 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
2101 workaround for Scorpion Uniprocessor 45nm cores.
2102
2103 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
2104
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002105config MSM_BUSPM_DEV
2106 tristate "MSM Bus Performance Monitor Kernel Module"
Gagan Mac0d5d49e2012-08-28 19:41:37 -06002107 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002108 default m
2109 help
2110 This kernel module is used to mmap() hardware registers for the
2111 performance monitors, counters, etc. The module can also be used to
2112 allocate physical memory which is used by bus performance hardware to
2113 dump performance data.
2114
Mona Hossain11c03ac2011-10-26 12:42:10 -07002115config MSM_TZ_LOG
2116 tristate "MSM Trust Zone (TZ) Log Driver"
2117 depends on DEBUG_FS
2118 help
2119 This option enables a driver with a debugfs interface for messages
2120 produced by the Secure code (Trust zone). These messages provide
2121 diagnostic information about TZ operation.
2122
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002123config MSM_RPM_LOG
2124 tristate "MSM Resource Power Manager Log Driver"
2125 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002126 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002127 default n
2128 help
2129 This option enables a driver which can read from a circular buffer
2130 of messages produced by the RPM. These messages provide diagnostic
2131 information about RPM operation. The driver outputs the messages
2132 via a debugfs node.
2133
2134config MSM_RPM_STATS_LOG
2135 tristate "MSM Resource Power Manager Stat Driver"
2136 depends on DEBUG_FS
Priyanka Mathur1af9d4b2012-10-30 14:55:44 -07002137 depends on MSM_RPM || MSM_RPM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002138 default n
2139 help
2140 This option enables a driver which reads RPM messages from a shared
2141 memory location. These messages provide statistical information about
2142 the low power modes that RPM enters. The drivers outputs the message
2143 via a debugfs node.
2144
Girish Mahadevan898c56d2012-06-05 16:09:19 -06002145config MSM_RPM_RBCPR_STATS_LOG
2146 tristate "MSM Resource Power Manager RPBCPR Stat Driver"
2147 depends on DEBUG_FS
2148 depends on MSM_RPM
2149 help
2150 This option enables a driver which reads RPM messages from a shared
2151 memory location. These messages provide statistical information about
2152 RBCPR (Rapid Bridge Core Power Reduction) information . The drivers
2153 outputs the message via a debugfs node.
2154
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002155config MSM_DIRECT_SCLK_ACCESS
2156 bool "Direct access to the SCLK timer"
2157 default n
2158
2159config IOMMU_API
2160 bool
Gregory Bean1963a2a2010-08-28 10:05:44 -07002161
Brian Swetland9e73c842007-11-26 04:12:13 -08002162config MSM_GPIOMUX
2163 bool
2164
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002165config MSM_SECURE_IO
Brian Swetland9e73c842007-11-26 04:12:13 -08002166 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002167
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002168config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002169 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002170
Taniya Dascd1d0232012-07-03 17:50:47 +05302171config MSM_MODEM_RESTART
2172 bool
2173
Matt Wagantall88b86312012-01-31 16:53:03 -08002174config MSM_PM2
2175 depends on PM
2176 bool
2177
2178config MSM_PM8X60
2179 depends on PM
2180 bool
2181
Girish Mahadevan388c3082012-09-10 15:30:36 -06002182config MSM_EVENT_TIMER
2183 bool "Event timer"
2184 help
2185 This option enables a modules that manages a list of event timers that
2186 need to be monitored by the PM. The enables the PM code to monitor
2187 events that require the core to be awake and ready to handle the
2188 event.
2189
Matt Wagantall88b86312012-01-31 16:53:03 -08002190config MSM_NOPM
2191 default y if !PM
2192 bool
2193
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002194config MSM_BUS_SCALING
2195 bool "Bus scaling driver"
2196 default n
2197
Gagan Mac85c70492011-06-10 16:07:47 -06002198config MSM_BUS_RPM_MULTI_TIER_ENABLED
2199 bool "RPM Multi-tiering Configuration"
2200 depends on MSM_BUS_SCALING
2201
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002202config MSM_WATCHDOG
2203 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002204 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002205 help
2206 This enables the watchdog as is present on 8x60. Currently we use
2207 core 0's watchdog, and reset the entire SoC if it times out. It does
2208 not run during the bootup process, so it will not catch any early
2209 lockups.
2210
Hanumant Singhd1f01022012-07-05 14:21:53 -07002211config MSM_WATCHDOG_V2
2212 bool "MSM Watchdog Support"
2213 help
2214 This enables the watchdog module. It causes kernel panic if the
2215 watchdog times out. It allows for detection of cpu hangs and
2216 deadlocks. It does not run during the bootup process, so it will
2217 not catch any early lockups.
2218
Hanumant Singh5e2541c2012-07-31 14:41:14 -07002219config MSM_MEMORY_DUMP
2220 bool "MSM Memory Dump Support"
2221 help
2222 This enables memory dump feature. It allows various client
2223 subsystems to register respective dump regions. At the time
2224 of deadlocks or cpu hangs these dump regions are captured to
2225 give a snapshot of the system at the time of the crash.
2226
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002227config MSM_DLOAD_MODE
2228 bool "Enable download mode on crashes"
Abhimanyu Kapurdd7f2692012-10-22 13:43:52 -07002229 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_MSM8974 || ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002230 default n
2231 help
2232 This makes the SoC enter download mode when it resets
2233 due to a kernel panic. Note that this doesn't by itself
2234 make the kernel reboot on a kernel panic - that must be
2235 enabled via another mechanism.
2236
Pratik Patel17f3b822011-11-21 12:41:47 -08002237config MSM_JTAG
Pratik Patel2963de42012-05-17 12:43:40 -07002238 bool "JTAG and kernel debug and trace support across power collapse"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002239 help
Pratik Patel2963de42012-05-17 12:43:40 -07002240 Enables support for kernel debugging (specifically breakpoints) and
2241 processor tracing across power collapse both for JTag and OS hosted
2242 software running on the target. Enabling this will ensure debug
2243 and ETM registers are saved and restored across power collapse.
2244
2245 For production builds, you should probably say 'N' here to avoid
2246 potential power, performance and memory penalty.
Pratik Patel7831c082011-06-08 21:44:37 -07002247
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002248config MSM_ETM
2249 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002250 depends on ARCH_MSM8X60
2251 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002252 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002253 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002254
Lynus Vazdde09ee2012-01-05 13:28:22 +05302255config MSM_SLEEP_STATS_DEVICE
2256 bool "Enable exporting of MSM sleep device stats to userspace"
2257
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302258config MSM_RUN_QUEUE_STATS
2259 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Subbaraman Narayanamurthy0b148fc2012-11-28 12:14:12 -08002260 default n
Krishna Vankae2922052012-03-02 09:59:12 +05302261 help
2262 This option enalbes statistics collection on Run Queue. A daemon
2263 in user mode, called MPDecision will be using this data to decide
2264 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302265
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002266config MSM_STANDALONE_POWER_COLLAPSE
2267 bool "Enable standalone power collapse"
2268 default n
2269
2270config MSM_GSBI9_UART
2271 bool "Enable GSBI9 UART device"
2272 default n
2273 help
2274 This enables GSBI9 configured into UART.
2275
2276config MSM_SHARED_GPIO_FOR_UART2DM
2277 bool "Use shared GPIOs into UART mode"
2278 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2279 help
2280 This option configures GPIO muxed with SDC4/MMC3
2281 8-bit mode into UART mode. It is used for serial
2282 console on UART2DM. Say Y if you want to have
2283 serial console on UART2DM.
2284
2285config MSM_SHOW_RESUME_IRQ
2286 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002287 depends on (ARM_GIC || PMIC8058)
2288 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002289 default n
2290 help
2291 This option logs wake up interrupts that have triggered just before
2292 the resume loop unrolls. Say Y if you want to debug why the system
2293 resumed.
2294
2295config BT_MSM_PINTEST
2296 tristate "MSM Bluetooth Pin Connectivity Test"
2297 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2298 default n
2299 help
2300 Bluetooth MSM Pin Connectivity test module.
2301 This driver provides support for verifying the MSM to BT pin
2302 connectivity.
2303
2304config MSM_FAKE_BATTERY
2305 depends on POWER_SUPPLY
2306 default n
2307 bool "MSM Fake Battery"
2308 help
2309 Enables MSM fake battery driver.
2310
2311config MSM_QDSP6_APR
2312 bool "Audio QDSP6 APR support"
2313 depends on MSM_SMD
2314 default n
2315 help
2316 Enable APR IPC protocol support between
2317 application processor and QDSP6. APR is
2318 used by audio driver to configure QDSP6's
2319 ASM, ADM and AFE.
2320
Joonwoo Park91d95462012-08-02 10:55:54 -07002321config MSM_QDSP6_APRV2
2322 bool "Audio QDSP6 APRv2 support"
2323 depends on MSM_SMD
2324 default n
2325 help
2326 Enable APRv2 IPC protocol support between
2327 application processor and QDSP6. APR is
2328 used by audio driver to configure QDSP6's
2329 ASM, ADM and AFE.
2330
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -07002331config MSM_QDSP6_CODECS
2332 bool "Audio Codecs on QDSP6 APR "
2333 depends on MSM_SMD
2334 default n
2335 help
2336 Enable Audio codecs with APR IPC protocol support between
2337 application processor and QDSP6. APR is
2338 used by audio driver to configure QDSP6's
2339 ASM, ADM and AFE.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002340
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002341config MSM_QDSP6V2_CODECS
2342 bool "Audio QDSP6V2 APR support"
2343 depends on MSM_SMD
2344 help
2345 Enable Audio codecs with APR IPC protocol support between
2346 application processor and QDSP6 for B-family. APR is
2347 used by audio driver to configure QDSP6's
2348 ASM, ADM and AFE.
2349
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002350config MSM_AUDIO_QDSP6
2351 bool "QDSP6 HW Audio support"
2352 select SND_SOC_MSM_QDSP6_INTF
2353 default n
2354 help
2355 Enable HW audio support in QDSP6.
2356 QDSP6 can support HW encoder & decoder and audio processing
2357
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002358config MSM_AUDIO_QDSP6V2
2359 bool "QDSP6V2 HW Audio support"
2360 select SND_SOC_MSM_QDSP6V2_INTF
2361 help
2362 Enable HW audio support in QDSP6V2.
2363 QDSP6V2 can support HW encoder & decoder and
2364 audio processing. It will enable support for
2365 AAC, AMRNB, AMRWB, EVRC, MP3, QCELP among
2366 others.
2367
Joonwoo Park4a14a552012-08-02 11:03:21 -07002368config MSM_ADSP_LOADER
2369 tristate "ADSP loader support"
2370 select SND_SOC_MSM_APRV2_INTF
2371 depends on MSM_AUDIO_QDSP6V2 && m
2372 help
2373 Enable ADSP image loader.
2374 The ADSP loader brings ADSP out of reset
2375 for the platforms that use APRv2.
2376 Say M if you want to enable this module.
2377
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +02002378config MSM_ULTRASOUND_A
2379 bool "QDSP6 HW Ultrasound support"
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002380 help
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +02002381 Enable HW ultrasound support in QDSP6.
2382 QDSP6 can support HW encoder & decoder and
2383 ultrasound processing. It will enable
2384 ultrasound data paths between
2385 HW and services, calculating input events
2386 upon the ultrasound data.
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002387
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002388config MSM_RPC_VIBRATOR
2389 bool "RPC based MSM Vibrator Support"
2390 depends on MSM_ONCRPCROUTER
2391 help
2392 Enable the vibrator support on MSM over RPC. The vibrator
2393 is connected on the PMIC. Say Y if you want to enable this
2394 feature.
2395
2396config PM8XXX_RPC_VIBRATOR
2397 bool "RPC based Vibrator on PM8xxx PMICs"
2398 depends on MSM_RPC_VIBRATOR
2399 help
2400 Enable the vibrator support on MSM over RPC. The vibrator
2401 is connected on the PM8XXX PMIC. Say Y if you want to enable
2402 this feature.
2403
2404config MSM_SPM_V1
2405 bool "Driver support for SPM Version 1"
2406 help
2407 Enables the support for Version 1 of the SPM driver. SPM hardware is
2408 used to manage the processor power during sleep. The driver allows
2409 configuring SPM to allow different power modes.
2410
2411config MSM_SPM_V2
2412 bool "Driver support for SPM Version 2"
2413 help
2414 Enables the support for Version 2 of the SPM driver. SPM hardware is
2415 used to manage the processor power during sleep. The driver allows
2416 configuring SPM to allow different power modes.
2417
2418config MSM_L2_SPM
2419 bool "SPM support for L2 cache"
2420 depends on MSM_SPM_V2
2421 help
2422 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2423 control of L2 cache low power mode with a Subsystem Power manager.
2424 Enabling this driver allows configuring L2 SPM for low power modes
2425 on supported chipsets.
2426
Laura Abbott2d1760b2011-09-29 21:31:24 -07002427config MSM_MULTIMEDIA_USE_ION
2428 bool "Multimedia suport using Ion"
2429 depends on ION_MSM
2430 help
2431 Enable support for multimedia drivers using Ion for buffer management
2432 instead of pmem. Selecting this may also involve userspace
2433 dependencies as well.
2434
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002435config MSM_OCMEM
2436 bool "MSM On-Chip memory driver (OCMEM)"
2437 help
2438 Enable support for On-Chip Memory available on certain MSM chipsets.
2439 OCMEM is a low latency, high performance pool shared by subsystems.
2440
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002441config MSM_OCMEM_LOCAL_POWER_CTRL
2442 bool "OCMEM Local Power Control"
2443 depends on MSM_OCMEM
2444 help
2445 Enable direct power management of the OCMEM core by the
2446 OCMEM driver. By default power management is delegated to
2447 the RPM. Selecting this option causes the OCMEM driver to
2448 directly handle the various macro power transitions.
2449
2450config MSM_OCMEM_DEBUG
2451 bool "OCMEM Debug Support"
2452 depends on MSM_OCMEM
2453 help
2454 Enable debug options for On-chip Memory (OCMEM) driver.
2455 Various debug options include memory, power and latency.
2456 Choosing one of these options allows debugging of each
2457 individual subsystem separately.
2458
Naveen Ramarajc71b2de2012-08-20 12:35:52 -07002459config MSM_OCMEM_NONSECURE
2460 bool "OCMEM Non Secure Mode"
2461 depends on MSM_OCMEM_DEBUG
2462 help
2463 Disable OCMEM interaction with secure processor.
2464 By default OCMEM is secured and accesses for each master
2465 is requested by the OCMEM driver. Selecting this option
2466 causes the OCMEM memory to be in non-secure state unless
2467 its locked down by the secure processor.
2468
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002469config MSM_OCMEM_POWER_DEBUG
2470 bool "OCMEM Power Debug Support"
2471 depends on MSM_OCMEM_DEBUG
2472 help
2473 Enable debug support for OCMEM power management.
2474 This adds support for verifying all power management
2475 related operations of OCMEM. Both local power management
2476 and RPM assisted power management operations are supported.
2477
Naveen Ramaraj4b1d9392012-08-06 21:05:14 -07002478config MSM_OCMEM_POWER_DISABLE
2479 bool "OCMEM Disable Power Control"
2480 depends on MSM_OCMEM_DEBUG
2481 help
2482 Disable all OCMEM power management.
2483 This keeps all OCMEM macros turned ON at all times thus
2484 never allowing them to be turned OFF. Both local power
2485 management and RPM assisted power modes are supported.
2486
Naveen Ramaraj88f23632012-10-10 12:23:29 -07002487config SENSORS_ADSP
2488 bool "Enable Sensors Driver Support for ADSP"
2489 help
2490 Add support for sensors ADSP driver.
2491 This driver is used for exercising different sensors use cases,
2492 such as for lower-power OCMEM use cases, and for time syncing
2493 with ADSP clock.
2494
Laura Abbottad340ff2012-01-04 14:23:48 -08002495config MSM_RTB
2496 bool "Register tracing"
2497 help
2498 Add support for logging different events to a small uncached
2499 region. This is designed to aid in debugging reset cases where the
2500 caches may not be flushed before the target resets.
2501
2502config MSM_RTB_SEPARATE_CPUS
2503 bool "Separate entries for each cpu"
2504 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002505 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002506 help
2507 Under some circumstances, it may be beneficial to give dedicated space
2508 for each cpu to log accesses. Selecting this option will log each cpu
2509 separately. This will guarantee that the last acesses for each cpu
2510 will be logged but there will be fewer entries per cpu
2511
Stepan Moskovchenko57884842012-06-07 17:35:49 -07002512config MSM_EBI_ERP
2513 bool "External Bus Interface (EBI) error reporting"
2514 help
2515 Say 'Y' here to enable reporting of external bus interface errors to
2516 the kernel log. Information such as the offending address and
2517 transaction type will be logged. This may be useful for debugging
2518 seemingly broken memory accesses.
2519
2520 For production builds, you should probably say 'N' here.
2521
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002522config MSM_CACHE_ERP
2523 bool "Cache / CPU error reporting"
2524 depends on ARCH_MSM_KRAIT
2525 help
2526 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2527 log. Enabling this feature can be used as a system debugging technique
2528 if cache corruption is suspected. Cache error statistics will also be
2529 reported in /proc/cpu/msm_cache_erp.
2530
2531 For production builds, you should probably say 'N' here.
2532
2533config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002534 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002535 depends on MSM_CACHE_ERP
2536 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002537 To cause the kernel to panic whenever an L1 cache error is detected, say
2538 'Y' here. This may be useful as a debugging technique if general system
2539 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002540
2541 For production builds, you should probably say 'N' here.
2542
Stepan Moskovchenko7035f652012-05-31 17:48:01 -07002543config MSM_L1_ERR_LOG
2544 bool "Log CPU ERP events to system memory"
2545 depends on MSM_CACHE_ERP
2546 help
2547 Enable logging CPU ERP events to an area of memory that will be
2548 preserved across a system reset. This may be useful for detecting and
2549 troubleshooting ERP-related system crashes in the field.
2550
2551 For production builds, you may want to say 'Y' here.
2552
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002553config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2554 bool "Report L2 master port slave/decode errors in kernel log"
2555 depends on MSM_CACHE_ERP
2556 help
2557 Master port errors can occur when a memory request is not properly
2558 handled by the destination slave. This can occur if the destination
2559 register does not exist or is inaccessible due to security
2560 restrictions or (in some cases) clock configuration. Enabling this
2561 option will cause a backtrace to be printed to the kernel log whenever
2562 such an error is encountered. Note that the error is reported as an
2563 interrupt rather than as an exception, meaning that the backtrace may
2564 have some skid. This option may help with debugging, though production
2565 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002566
2567config MSM_L2_ERP_PORT_PANIC
2568 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002569 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002570 help
2571 Master port errors can occur when a memory request is not properly
2572 handled by the destination slave. Enable this option to catch drivers
2573 which attempt to access bad areas of the address space, or access
2574 hardware registers in an improper state (such as certain clocks not
2575 being on). This option may help with debugging, though production
2576 builds should probably say 'N' here.
2577
2578config MSM_L2_ERP_1BIT_PANIC
2579 bool "Panic on recoverable L2 soft errors"
2580 depends on MSM_CACHE_ERP
2581 help
2582 Enable this option to cause a kernel panic whenever the L2 cache
2583 encounters a single-bit (correctable) soft error. This option should
2584 only be enabled when doing low-level debugging where cache corruption
2585 is suspected.
2586
2587 For production builds, you should definitely say 'N' here.
2588
2589config MSM_L2_ERP_2BIT_PANIC
2590 bool "Panic on unrecoverable L2 soft errors"
2591 depends on MSM_CACHE_ERP
2592 help
2593 Enable this option to cause a kernel panic whenever the L2 cache
2594 encounters a double-bit (non-correctable) soft error. Debug builds
2595 will likely benefit from having this option enabled to catch cache
2596 problems as soon as possible.
2597
2598 For production builds, it may be acceptable to say 'N' here, since
2599 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002600
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002601config MSM_DCVS
2602 bool "Use MSM DCVS for CPU/GPU Frequency control"
2603 depends on MSM_SCM
2604 help
2605 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2606 The DCVS manager allows idle driver to feed the idle information to the
2607 algorithm and the algorithm returns a frequency for the core which is
2608 passed to the frequency change driver.
2609
Pankaj Kumar32ce1ea2012-04-04 20:29:29 +05302610config MSM_CPR
2611 tristate "Use MSM CPR in S/W mode"
2612 help
2613 Enable CPR (core power reduction) in S/W mode, where the processor
2614 get's the notification from CPR block and programs the PMIC.
2615
2616config MSM_VP_REGULATOR
2617 tristate "Use MSM PMIC8029 C2 regulator"
2618 depends on ARCH_MSM8625
2619 help
2620 Enable MSM PMIC8029 C2 regulator support using APC_PLEVEL access
2621 for MSMs like 8625.
2622
Taniya Dasc43e6872012-03-21 16:41:14 +05302623config HAVE_ARCH_HAS_CURRENT_TIMER
2624 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002625
2626config MSM_CACHE_DUMP
2627 bool "Cache dumping support"
2628 help
2629 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2630 This allows for analysis of the caches in case cache corruption is
2631 suspected.
2632
Laura Abbott7b637362012-03-29 16:43:49 -07002633config MSM_CACHE_DUMP_ON_PANIC
2634 bool "Dump caches on panic"
2635 depends on MSM_CACHE_DUMP
2636 help
2637 By default, the caches are flushed on panic. This means that trying to
2638 look at them in a RAM dump will give useless data. Select this if you
2639 want to dump the L1 and L2 caches on panic before any flush occurs.
2640 If unsure, say N
2641
Jack Phamccbbfab2012-04-09 19:50:20 -07002642config MSM_HSIC_SYSMON
2643 tristate "MSM HSIC system monitor driver"
2644 depends on USB
2645 help
2646 Add support for bridging with the system monitor interface of MDM
2647 over HSIC. This driver allows the local system monitor to
2648 communicate with the remote system monitor interface.
2649
2650config MSM_HSIC_SYSMON_TEST
2651 tristate "MSM HSIC system monitor bridge test"
2652 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2653 help
2654 Enable the test hook for the Qualcomm system monitor HSIC driver.
2655 This will create a debugfs file entry named "hsic_sysmon_test" which
2656 can be read and written to send character data to the sysmon port of
2657 the modem over USB.
2658
Anirudh Ghayal0d2291a2012-09-20 21:31:41 +05302659config MSM_RPC_PMIC
2660 tristate "MSM RPC PMIC driver"
2661 depends on MSM_ONCRPCROUTER
2662 help
2663 This driver supports the PMIC functionality over RPC for those MSM's
2664 which do not have a direct access to PMIC. It supports ability to
2665 configure MPP, GPIO and all the other supported peripherals of the
2666 PMIC.
2667
Anirudh Ghayald3a63732012-09-20 22:13:13 +05302668config MSM_RPC_USB
2669 tristate "MSM RPC USB driver"
2670 depends on MSM_ONCRPCROUTER
2671 help
2672 This driver supports the USB configuration support over the RPC
2673 interface. It support the HS USB module connected to the MSM
2674 and FS USB which is connected over the PMIC. This support is
2675 required for MSMs on which the APPS does not have a direct access
2676 to the PMIC.
2677
2678config MSM_RPC_PMAPP
2679 tristate "MSM RPC PMIC APP driver"
2680 depends on MSM_ONCRPCROUTER
2681 help
2682 This driver supports the configuration of various PMIC APP modules
2683 such as display backlight, vreg pin-ctrl, smps clock over the RPC
2684 interface. This support is required for MSMs on which the APPS
2685 does not have a direct access to the PMIC.
Pushkar Joshi0fc73462012-09-26 17:59:31 -07002686
2687config MSM_ENABLE_WDOG_DEBUG_CONTROL
2688 bool "MSM Watchdog driver to disable debug Image"
2689 help
2690 This driver supports the configuration of the GCC_WDOG_DEBUG register
2691 used to control debug image.
2692 This support is currently required for MSM8974 to disable debug image
2693 on PS HOLD reset
Taniya Dasea4263f92012-08-22 18:52:51 +05302694
2695config MSM_FIQ
2696 bool "Enable FIQ for debugging"
2697 depends on ARCH_MSM8625
2698 select FIQ
Taniya Das36e4aa12012-07-04 18:27:16 +05302699 select GIC_SECURE
Taniya Dasea4263f92012-08-22 18:52:51 +05302700 help
2701 Enable any line to be used as an FIQ. This will help debugging
2702 if apps is not responding and holding lock with irqs disabled.
2703 Modem will then generate an raise a FIQ on this line before sending
2704 SMSM reset.
Greg Reidb1d240a2012-10-12 12:20:31 -04002705
2706config MSM_USE_USER_ACCESSIBLE_TIMERS
2707 bool "Enables mapping an MSM timer counter page to user space."
2708 depends on ARM_USE_USER_ACCESSIBLE_TIMERS
2709 help
2710 Enables MSM-specific user accessible timers via a shared
2711 memory page containing the cycle counter.
2712
Sidipotu Ashokbf84d4d2012-11-06 17:13:28 +05302713config USE_DEV_CTRL_VOLUME
2714 bool "Use Device Control Volume"
2715 help
2716 Use Device Control Volume as opposed to ALSA volume control.
2717
Jay Chokshi06e444f2012-12-06 20:48:23 -08002718config MSM_CPU_PWRCTL
2719 bool "Ensures that krait droop detectors are always off"
2720 help
2721 Droop detector mechanism can adversely affect krait plls during
2722 stand alone power collapse operation. Selecting this option
2723 ensures that they are always off.
2724
Brian Swetland9e73c842007-11-26 04:12:13 -08002725endif