blob: 49eb54461f425827fdbf62989386444a3465230a [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
Daniel Walker7b521612010-05-06 12:44:57 -070070
Daniel Walker4ad15e62010-05-06 13:54:17 -070071config ARCH_QSD8X50
72 bool "QSD8X50"
73 select ARCH_MSM_SCORPION
Daniel Walker4ad15e62010-05-06 13:54:17 -070074 select MSM_VIC
75 select CPU_V7
David Brown74d10d72011-05-16 13:57:39 -070076 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070077 select MSM_REMOTE_SPINLOCK_LDREX
78 select CPU_USE_DOMAINS
79 select EMULATE_DOMAIN_MANAGER_V7
Gregory Beanab78cde2010-09-01 16:26:12 -070080 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070081 select MSM_DALRPC
Matt Wagantall88b86312012-01-31 16:53:03 -080082 select MSM_PM2 if PM
Taniya Dascd1d0232012-07-03 17:50:47 +053083 select MSM_MODEM_RESTART
Daniel Walker46fe5f22010-08-18 11:00:25 -070084
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070085config ARCH_MSM8X60
86 bool "MSM8X60"
Jeff Ohlsteine14411d2010-11-30 13:06:36 -080087 select ARCH_MSM_SCORPIONMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070088 select SMP_PARALLEL_START if SMP
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070089 select ARM_GIC
90 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070091 select MSM_REMOTE_SPINLOCK_LDREX
92 select ARCH_REQUIRE_GPIOLIB
93 select MSM_ADM3
94 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -080095 select MSM_RPM_REGULATOR
David Brown1a5ab4b2011-05-16 15:53:38 -070096 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070097 select MSM_PIL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070098 select ARCH_HAS_CPU_IDLE_WAIT
99 select MSM_DIRECT_SCLK_ACCESS
100 select MSM_RPM
101 select MSM_XO
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700102 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700103 select MSM_BUS_SCALING
104 select MSM_SECURE_IO
105 select MSM_DALRPC
106 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700107 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700108 select MSM_NATIVE_RESTART
109 select ARCH_INLINE_SPIN_TRYLOCK
110 select ARCH_INLINE_SPIN_TRYLOCK_BH
111 select ARCH_INLINE_SPIN_LOCK
112 select ARCH_INLINE_SPIN_LOCK_BH
113 select ARCH_INLINE_SPIN_LOCK_IRQ
114 select ARCH_INLINE_SPIN_LOCK_IRQSAVE
115 select ARCH_INLINE_SPIN_UNLOCK
116 select ARCH_INLINE_SPIN_UNLOCK_BH
117 select ARCH_INLINE_SPIN_UNLOCK_IRQ
118 select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
119 select ARCH_INLINE_READ_TRYLOCK
120 select ARCH_INLINE_READ_LOCK
121 select ARCH_INLINE_READ_LOCK_BH
122 select ARCH_INLINE_READ_LOCK_IRQ
123 select ARCH_INLINE_READ_LOCK_IRQSAVE
124 select ARCH_INLINE_READ_UNLOCK
125 select ARCH_INLINE_READ_UNLOCK_BH
126 select ARCH_INLINE_READ_UNLOCK_IRQ
127 select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
128 select ARCH_INLINE_WRITE_TRYLOCK
129 select ARCH_INLINE_WRITE_LOCK
130 select ARCH_INLINE_WRITE_LOCK_BH
131 select ARCH_INLINE_WRITE_LOCK_IRQ
132 select ARCH_INLINE_WRITE_LOCK_IRQSAVE
133 select ARCH_INLINE_WRITE_UNLOCK
134 select ARCH_INLINE_WRITE_UNLOCK_BH
135 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
136 select CPU_HAS_L2_PMU
137 select MSM_SPM_V1
Stephen Boyd2a1eb582010-08-27 10:01:23 -0700138 select MSM_SCM if SMP
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530139 select MULTI_IRQ_HANDLER
Laura Abbott46505f62011-11-02 18:06:55 -0700140 select MSM_MULTIMEDIA_USE_ION
Matt Wagantall88b86312012-01-31 16:53:03 -0800141 select MSM_PM8X60 if PM
Krishna Vankae2922052012-03-02 09:59:12 +0530142 select MSM_RUN_QUEUE_STATS
Laura Abbottb14ed962012-01-30 14:18:08 -0800143 select ARM_HAS_SG_CHAIN
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700144
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800145config ARCH_MSM8960
146 bool "MSM8960"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700147 select ARCH_MSM_KRAITMP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800148 select ARM_GIC
149 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700150 select GPIO_MSM_V2
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800151 select MSM_GPIOMUX
152 select MSM_SCM if SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700153 select MSM_DIRECT_SCLK_ACCESS
154 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -0800155 select MSM_RPM_REGULATOR
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700156 select MSM_RPM
157 select MSM_XO
158 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700159 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700160 select MSM_PIL
161 select MSM_AUDIO_QDSP6 if SND_SOC
162 select CPU_HAS_L2_PMU
163 select MSM_SPM_V2
164 select MSM_L2_SPM
165 select MSM_NATIVE_RESTART
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700166 select DONT_MAP_HOLE_AFTER_MEMBANK0
167 select MSM_REMOTE_SPINLOCK_SFPB
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700168 select ARCH_SPARSEMEM_ENABLE
169 select ARCH_HAS_HOLES_MEMORYMODEL
Larry Basseld4d82c92011-12-07 09:52:49 -0800170 select CLEANCACHE
171 select QCACHE
Laura Abbott6d61a912011-10-27 16:44:14 -0700172 select MSM_MULTIMEDIA_USE_ION
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530173 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800174 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700175 select HOLES_IN_ZONE if SPARSEMEM
Krishna Vankae2922052012-03-02 09:59:12 +0530176 select MSM_RUN_QUEUE_STATS
Laura Abbottb14ed962012-01-30 14:18:08 -0800177 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700178 select MSM_KRAIT_WFE_FIXUP
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +0200179 select MSM_ULTRASOUND_A
Greg Reidb1d240a2012-10-12 12:20:31 -0400180 select GENERIC_TIME_VSYSCALL
181 select USE_USER_ACCESSIBLE_TIMERS
182 select ARM_USE_USER_ACCESSIBLE_TIMERS
183 select MSM_USE_USER_ACCESSIBLE_TIMERS
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800184
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700185config ARCH_MSM8930
186 bool "MSM8930"
187 select ARCH_MSM_KRAITMP
188 select ARM_GIC
189 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700190 select GPIO_MSM_V2
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700191 select MSM_GPIOMUX
192 select MSM_SCM if SMP
193 select MSM_DIRECT_SCLK_ACCESS
194 select REGULATOR
David Collins5779cea2012-01-05 15:09:21 -0800195 select MSM_RPM_REGULATOR
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700196 select MSM_RPM
197 select MSM_XO
198 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700199 select MSM_QDSP6_CODECS
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700200 select MSM_PIL
201 select MSM_AUDIO_QDSP6 if SND_SOC
202 select CPU_HAS_L2_PMU
203 select MSM_SPM_V2
204 select MSM_L2_SPM
205 select MSM_NATIVE_RESTART
206 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600207 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700208 select ARCH_SPARSEMEM_ENABLE
209 select ARCH_HAS_HOLES_MEMORYMODEL
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +0200210 select MSM_ULTRASOUND_A
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530211 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800212 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700213 select HOLES_IN_ZONE if SPARSEMEM
Laura Abbottb14ed962012-01-30 14:18:08 -0800214 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700215 select MSM_KRAIT_WFE_FIXUP
Greg Reidb1d240a2012-10-12 12:20:31 -0400216 select GENERIC_TIME_VSYSCALL
217 select USE_USER_ACCESSIBLE_TIMERS
218 select ARM_USE_USER_ACCESSIBLE_TIMERS
219 select MSM_USE_USER_ACCESSIBLE_TIMERS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700220
221config ARCH_APQ8064
222 bool "APQ8064"
223 select ARCH_MSM_KRAITMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700224 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700225 select ARM_GIC
226 select CPU_V7
227 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700228 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600229 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800230 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800231 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700232 select MSM_QDSP6_CODECS
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800233 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530234 select MULTI_IRQ_HANDLER
Praveen Chidambaram78499012011-11-01 17:15:17 -0600235 select MSM_RPM
236 select MSM_SPM_V2
237 select MSM_L2_SPM
Matt Wagantall88b86312012-01-31 16:53:03 -0800238 select MSM_PM8X60 if PM
Neil Leeder814d3d32012-01-19 17:21:43 -0500239 select CPU_HAS_L2_PMU
Laura Abbott085dd202012-03-30 14:02:34 -0700240 select HOLES_IN_ZONE if SPARSEMEM
Larry Bassel67b921d2012-04-06 10:23:27 -0700241 select CLEANCACHE
242 select QCACHE
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -0600243 select MIGHT_HAVE_PCI
244 select ARCH_SUPPORTS_MSI
Laura Abbottb14ed962012-01-30 14:18:08 -0800245 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700246 select MSM_KRAIT_WFE_FIXUP
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +0200247 select MSM_ULTRASOUND_A
Greg Reidb1d240a2012-10-12 12:20:31 -0400248 select GENERIC_TIME_VSYSCALL
249 select USE_USER_ACCESSIBLE_TIMERS
250 select ARM_USE_USER_ACCESSIBLE_TIMERS
251 select MSM_USE_USER_ACCESSIBLE_TIMERS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700252
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700253config ARCH_MSM8974
254 bool "MSM8974"
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700255 select ARCH_MSM_KRAITMP
Sathish Ambley4149e842012-03-23 11:53:55 -0700256 select GPIO_MSM_V3
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700257 select ARM_GIC
258 select CPU_V7
259 select MSM_SCM if SMP
260 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530261 select MULTI_IRQ_HANDLER
Olav Hauganb800c8c2012-01-30 08:50:45 -0800262 select MSM_MULTIMEDIA_USE_ION
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700263 select MSM_PIL
Praveen Chidambaramaa9d52b2012-04-02 11:09:47 -0600264 select MSM_SPM_V2
265 select MSM_L2_SPM
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700266 select MSM_NATIVE_RESTART
267 select MSM_RESTART_V2
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600268 select MSM_PM8X60 if PM
Steve Mucklef132c6c2012-06-06 18:30:57 -0700269 select MAY_HAVE_SPARSE_IRQ
270 select SPARSE_IRQ
Mahesh Sivasubramaniancb668712012-04-04 13:03:25 -0600271 select MSM_RPM_SMD
David Collinsc7642322012-04-04 10:19:12 -0700272 select REGULATOR
Joonwoo Park91d95462012-08-02 10:55:54 -0700273 select MSM_QDSP6_APRV2
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -0700274 select MSM_QDSP6V2_CODECS
275 select MSM_AUDIO_QDSP6V2 if SND_SOC
David Collins1c91ea72012-05-03 16:17:35 -0700276 select MSM_RPM_REGULATOR_SMD
Laura Abbottb14ed962012-01-30 14:18:08 -0800277 select ARM_HAS_SG_CHAIN
Karthik Parsha404fb8f2012-07-30 19:14:05 -0700278 select MSM_RUN_QUEUE_STATS
Neeti Desai92eab922012-10-22 15:14:48 -0700279 select MEMORY_HOLE_CARVEOUT
Priyanka Mathur1af9d4b2012-10-30 14:55:44 -0700280 select MSM_RPM_STATS_LOG
Karthikeyan Ramasubramanian1edce9e2012-11-08 18:26:10 -0700281 select QMI_ENCDEC
Neeti Desai1b2cb552012-11-01 21:57:36 -0700282 select DONT_MAP_HOLE_AFTER_MEMBANK0
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700283
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +0530284config ARCH_MPQ8092
285 bool "MPQ8092"
286 select ARCH_MSM_KRAITMP
287 select GPIO_MSM_V3
288 select ARM_GIC
289 select MULTI_IRQ_HANDLER
290 select CPU_V7
291 select MSM_GPIOMUX
292 select MAY_HAVE_SPARSE_IRQ
293 select SPARSE_IRQ
294 select MSM_NOPM
295
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700296config ARCH_FSM9XXX
297 bool "FSM9XXX"
298 select ARCH_MSM_SCORPION
299 select MSM_VIC
300 select CPU_V7
301 select MSM_REMOTE_SPINLOCK_LDREX
Steve Mucklef132c6c2012-06-06 18:30:57 -0700302 select GPIO_FSM9XXX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530303 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800304 select MSM_DALRPC
Daniel Walker4ad15e62010-05-06 13:54:17 -0700305
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700306config ARCH_MSM9615
307 bool "MSM9615"
308 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530309 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700310 select ARCH_MSM_CORTEX_A5
311 select CPU_V7
Rohit Vaswani4307c842012-10-11 15:50:05 -0700312 select MIGHT_HAVE_CACHE_L2X0
Steve Mucklef132c6c2012-06-06 18:30:57 -0700313 select GPIO_MSM_V2
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700314 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600315 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600316 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700317 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800318 select REGULATOR
319 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530320 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800321 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800322 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700323 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800324 select MSM_QDSP6_APR
325 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800326 select FIQ
Laura Abbottb14ed962012-01-30 14:18:08 -0800327 select ARM_HAS_SG_CHAIN
Matt Wagantall9274df92011-12-15 11:11:05 -0800328
Taniya Das43bcdd62011-12-02 17:33:27 +0530329config ARCH_MSM8625
330 bool "MSM8625"
331 select ARCH_MSM_CORTEX_A5
332 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700333 select GPIO_MSM_V1
Taniya Das43bcdd62011-12-02 17:33:27 +0530334 select MSM_GPIOMUX
335 select ARM_GIC
336 select ARCH_MSM_CORTEXMP
337 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530338 select ARM_TICKET_LOCKS
Krishna Vankae2922052012-03-02 09:59:12 +0530339 select MSM_RUN_QUEUE_STATS
Trilok Sonib856ab92012-06-26 14:33:28 +0530340 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530341 select ARM_HAS_SG_CHAIN
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700342
343config ARCH_MSM9625
344 bool "MSM9625"
345 select ARM_GIC
Abhimanyu Kapur490d20c2012-06-22 17:34:20 -0700346 select MIGHT_HAVE_CACHE_L2X0
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700347 select ARCH_MSM_CORTEX_A5
348 select SMP
349 select MSM_SMP
350 select CPU_V7
Abhimanyu Kapur4bb38622012-10-16 19:07:48 -0700351 select MSM_SCM if SMP
Jin Hong690e3352012-05-02 09:25:05 -0700352 select MSM_GPIOMUX
Girish Mahadevanf1c20a42012-09-19 11:44:36 -0600353 select MSM_RPM_SMD
Abhimanyu Kapur46e5e2b2012-10-02 20:45:37 -0700354 select MSM_NATIVE_RESTART
355 select MSM_RESTART_V2
Girish Mahadevan6e419562012-09-19 12:50:05 -0600356 select MSM_SPM_V2
357 select MSM_PM8X60 if PM
358 select MSM_SCM if SMP
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700359 select MULTI_IRQ_HANDLER
Rohit Vaswani61cf6ef2012-07-27 13:51:48 -0700360 select GPIO_MSM_V3
David Collins1cc6e402012-09-17 16:02:24 -0700361 select MAY_HAVE_SPARSE_IRQ
362 select SPARSE_IRQ
Mitchel Humpherys92e9b8a2012-10-08 18:12:47 -0700363 select MSM_MULTIMEDIA_USE_ION
Girish Mahadevane3be9302012-11-07 16:21:52 -0700364 select MSM_RPM_STATS_LOG
Venkat Sudhir0620e982012-11-15 16:04:36 -0800365 select MSM_QDSP6_APRV2
366 select MSM_QDSP6V2_CODECS
367 select MSM_AUDIO_QDSP6V2 if SND_SOC
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700368
369config ARCH_MSM8910
370 bool "MSM8910"
371 select ARM_GIC
372 select GIC_SECURE
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700373 select ARCH_MSM_CORTEXMP
374 select CPU_V7
375 select MSM_SCM if SMP
376 select MAY_HAVE_SPARSE_IRQ
377 select SPARSE_IRQ
378 select MULTI_IRQ_HANDLER
379 select GPIO_MSM_V3
380 select MSM_GPIOMUX
Hanumant Singhe4271312012-10-24 13:27:57 -0700381 select MSM_NATIVE_RESTART
382 select MSM_RESTART_V2
Syed Rameez Mustafa9ee80102012-11-02 14:41:04 -0700383
384config ARCH_MSM8226
385 bool "MSM8226"
386 select ARM_GIC
387 select GIC_SECURE
Syed Rameez Mustafa9ee80102012-11-02 14:41:04 -0700388 select ARCH_MSM_CORTEXMP
389 select CPU_V7
390 select MSM_SCM if SMP
391 select MAY_HAVE_SPARSE_IRQ
392 select SPARSE_IRQ
393 select MULTI_IRQ_HANDLER
394 select GPIO_MSM_V3
395 select MSM_GPIOMUX
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700396endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700397
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700398choice
399 prompt "MSM SoC Revision"
400 default MSM_SOC_REV_NONE
401config MSM_SOC_REV_NONE
402 bool "N/A"
403 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
404 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walkerbf83de42010-03-16 16:29:44 -0700405config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700406 bool "Rev. A"
407 select ARCH_MSM7X27A if ARCH_MSM7X27
Daniel Walkerbf83de42010-03-16 16:29:44 -0700408endchoice
409
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700410config MSM_KRAIT_TBB_ABORT_HANDLER
411 bool "Krait TBB/TBH data abort handler"
412 depends on ARCH_MSM_KRAIT
413 depends on ARM_THUMB
414 help
415 Certain early samples of the Krait processor may generate data
416 aborts for TBB / TBH instructions that fail their condition code
417 checks. Enabling this option will ignore these erroneous data aborts,
418 at the expense of a very small performance penalty.
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800419
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700420 If unsure, say N.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700421
422config ARCH_MSM_ARM11
423 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700424
Daniel Walkerbf83de42010-03-16 16:29:44 -0700425config ARCH_MSM_SCORPION
426 bool
427
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700428config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700429 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800430 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700431
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700432config MSM_SMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700433 select HAVE_SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700434 bool
435
436config ARCH_MSM_SCORPIONMP
437 select ARCH_MSM_SCORPION
438 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530439 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700440 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700441 bool
442
443config ARCH_MSM_KRAITMP
444 select ARCH_MSM_KRAIT
445 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530446 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700447 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700448 bool
449
Taniya Das43bcdd62011-12-02 17:33:27 +0530450config ARCH_MSM_CORTEXMP
451 select MSM_SMP
452 bool
453
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700454config MSM_KRAIT_WFE_FIXUP
455 bool
456
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700457config MSM_RESTART_V2
458 bool
459
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700460config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800461 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700462
463config ARCH_MSM7X27A
464 bool
465 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700466 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530467 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530468 select ARM_GIC
469 select ARCH_MSM_CORTEXMP
Trilok Sonib856ab92012-06-26 14:33:28 +0530470 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530471 select ARM_HAS_SG_CHAIN
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700472
Gregory Beanf9f3d312010-04-30 22:06:50 -0700473config MSM_VIC
474 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700475
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700476config MSM_RPM
477 bool "Resource Power Manager"
478 select MSM_MPM
479
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600480config MSM_RPM_SMD
481 depends on MSM_SMD
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600482 select MSM_MPM_OF
483 bool "RPM driver using SMD protocol"
484 help
485 RPM is the dedicated hardware engine for managing shared SoC
486 resources. This config adds driver support for using SMD as a
487 transport layer communication with RPM hardware. It also selects
488 the MSM_MPM config that programs the MPM module to monitor interrupts
489 during sleep modes.
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600490
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700491config MSM_MPM
492 bool "Modem Power Manager"
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600493 help
494 MPM is a dedicated hardware resource responsible for entering and
495 waking up from a system wide low power mode. The MPM driver tracks
496 the wakeup interrupts and configures the MPM to monitor the wakeup
497 interrupts when going to a system wide sleep mode.
498
499config MSM_MPM_OF
500 bool "Modem Power Manager"
501 depends on CONFIG_OF
502 help
503 MPM is a dedicated hardware resource responsible for entering and
504 waking up from a system wide low power mode. The MPM driver tracks
505 the wakeup interrupts and configures the MPM to monitor the wakeup
506 interrupts when going to a system wide sleep mode. This config option
507 enables the MPM driver that supports initialization from a device
508 tree
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700509
510config MSM_XO
511 bool
512
513config MSM_REMOTE_SPINLOCK_DEKKERS
514 bool
515config MSM_REMOTE_SPINLOCK_SWP
516 bool
517config MSM_REMOTE_SPINLOCK_LDREX
518 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600519config MSM_REMOTE_SPINLOCK_SFPB
520 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700521config MSM_ADM3
522 bool
523
524menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700525
526config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700527 depends on ARCH_MSM7X01A
528 depends on MSM_STACKED_MEMORY
529 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700530 bool "Halibut Board (QCT SURF7201A)"
531 help
532 Support for the Qualcomm SURF7201A eval board.
533
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700534config MACH_MSM7201A_SURF
535 depends on ARCH_MSM7X01A
536 depends on MSM_STACKED_MEMORY
537 default y
538 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700539 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700540 Support for the Qualcomm MSM7201A SURF eval board.
541
542config MACH_MSM7201A_FFA
543 depends on ARCH_MSM7X01A
544 depends on MSM_STACKED_MEMORY
545 default y
546 bool "MSM7201A FFA"
547 help
548 Support for the Qualcomm MSM7201A FFA eval board.
549
550config MACH_TROUT
551 depends on ARCH_MSM7X01A
552 depends on MSM_STACKED_MEMORY
553 default y
554 bool "Trout"
555
556config MACH_MSM7X27_SURF
557 depends on ARCH_MSM7X27
558 depends on !MSM_STACKED_MEMORY
559 default y
560 bool "MSM7x27 SURF"
561 help
562 Support for the Qualcomm MSM7x27 SURF eval board.
563
564config MACH_MSM7X27_FFA
565 depends on ARCH_MSM7X27
566 depends on !MSM_STACKED_MEMORY
567 default y
568 bool "MSM7x27 FFA"
569 help
570 Support for the Qualcomm MSM7x27 FFA eval board.
571
572config MACH_MSM7X27A_RUMI3
573 depends on ARCH_MSM7X27A
574 depends on !MSM_STACKED_MEMORY
575 default y
576 bool "MSM7x27A RUMI3"
577 help
578 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
579
580config MACH_MSM7X27A_SURF
581 depends on ARCH_MSM7X27A
582 depends on !MSM_STACKED_MEMORY
583 default y
584 bool "MSM7x27A SURF"
585 help
586 Support for the Qualcomm MSM7x27A SURF.
587
588config MACH_MSM7X27A_FFA
589 depends on ARCH_MSM7X27A
590 depends on !MSM_STACKED_MEMORY
591 default y
592 bool "MSM7x27A FFA"
593 help
594 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700595
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530596config MACH_MSM7625A_SURF
597 depends on ARCH_MSM7X27A
598 depends on !MSM_STACKED_MEMORY
599 default y
600 bool "MSM7625A SURF"
601 help
602 Support for the Qualcomm MSM7625A SURF.
603
604config MACH_MSM7625A_FFA
605 depends on ARCH_MSM7X27A
606 depends on !MSM_STACKED_MEMORY
607 default y
608 bool "MSM7625A FFA"
609 help
610 Support for the Qualcomm MSM7625A FFA.
611
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530612config MACH_MSM7627A_QRD1
613 depends on ARCH_MSM7X27A
614 depends on !MSM_STACKED_MEMORY
615 default y
616 bool "MSM7627A QRD1"
617 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530618 Support for the Qualcomm MSM7627A Reference Design.
619
620config MACH_MSM7627A_QRD3
621 depends on ARCH_MSM7X27A
622 depends on !MSM_STACKED_MEMORY
623 default y
624 bool "MSM7627A QRD3"
625 help
626 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530627
Taniya Dasc868a2e2012-01-03 10:18:47 +0530628config MACH_MSM7627A_EVB
629 depends on ARCH_MSM7X27A
630 depends on !MSM_STACKED_MEMORY
631 default y
632 bool "MSM7627A EVB"
633 help
634 Support for the Qualcomm MSM7627A Reference Design.
635
Taniya Das43bcdd62011-12-02 17:33:27 +0530636config MACH_MSM8625_RUMI3
637 depends on ARCH_MSM8625
638 depends on !MSM_STACKED_MEMORY
639 default y
640 bool "MSM8625 RUMI3"
641 help
642 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
643
Taniya Dase3027e22012-02-27 16:32:27 +0530644config MACH_MSM8625_SURF
645 depends on ARCH_MSM8625
646 depends on !MSM_STACKED_MEMORY
647 default y
648 bool "MSM8625 SURF"
649 help
650 Support for the Qualcomm MSM8625 SURF.
651
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530652config MACH_MSM8625_FFA
653 depends on ARCH_MSM8625
654 depends on !MSM_STACKED_MEMORY
655 default y
656 bool "MSM8625 FFA"
657 help
658 Support for the Qualcomm MSM8625 FFA.
659
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530660config MACH_MSM8625_EVB
661 depends on ARCH_MSM8625
662 depends on !MSM_STACKED_MEMORY
663 default y
664 bool "MSM8625 EVB"
665 help
666 Support for the Qualcomm MSM8625 Reference Design.
667
Taniya Dasbd096542012-03-15 17:43:45 +0530668config MACH_MSM8625_QRD7
669 depends on ARCH_MSM8625
670 depends on !MSM_STACKED_MEMORY
671 default y
672 bool "MSM8625 QRD7"
673 help
674 Support for the Qualcomm MSM8625 Reference Design.
675
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530676config MACH_MSM8625_EVT
677 depends on ARCH_MSM8625
678 depends on !MSM_STACKED_MEMORY
679 default y
680 bool "MSM8625 EVT"
681 help
682 Support for the Qualcomm MSM8625 Reference Design.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700683
Channagoud Kadabi2bd65c82012-10-12 15:14:23 +0530684config MACH_QRD_SKUD_PRIME
685 depends on ARCH_MSM8625
686 depends on !MSM_STACKED_MEMORY
687 default y
688 bool "MSM8625 SKUD PRIME"
689 help
690 Support for the Qualcomm MSM8625 SKUD prime Reference Design.
691 Add support for a SKUD prime reference design based on MSM8x25
692 chipset. This device is much closer to a phone than regular form
693 factor devices, with new touch, display panel and other hardware
694 configurations.
695
Daniel Walker7b521612010-05-06 12:44:57 -0700696config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700697 depends on ARCH_MSM7X30
698 depends on !MSM_STACKED_MEMORY
699 default y
700 bool "MSM7x30 SURF"
701 help
702 Support for the Qualcomm MSM7x30 SURF eval board.
703
704config MACH_MSM7X30_FFA
705 depends on ARCH_MSM7X30
706 depends on !MSM_STACKED_MEMORY
707 default y
708 bool "MSM7x30 FFA"
709 help
710 Support for the Qualcomm MSM7x30 FFA eval board.
711
712config MACH_MSM7X30_FLUID
713 depends on ARCH_MSM7X30
714 depends on !MSM_STACKED_MEMORY
715 default y
716 bool "MSM7x30 FLUID"
717 help
718 Support for the Qualcomm MSM7x30 FLUID eval board.
719
720config MACH_SAPPHIRE
721 depends on ARCH_MSM7X01A
722 default n
723 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700724
Daniel Walker4ad15e62010-05-06 13:54:17 -0700725config MACH_QSD8X50_SURF
726 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700727 depends on MSM_SOC_REV_NONE
728 depends on MSM_STACKED_MEMORY
729 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700730 bool "QSD8x50 SURF"
731 help
732 Support for the Qualcomm QSD8x50 SURF eval board.
733
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700734config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700735 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700736 depends on MSM_SOC_REV_NONE
737 depends on MSM_STACKED_MEMORY
738 default y
739 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700740 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700741 Support for the Qualcomm QSD8x50 FFA eval board.
742
743config MACH_MSM7X25_SURF
744 depends on ARCH_MSM7X25
745 depends on !MSM_STACKED_MEMORY
746 default y
747 bool "MSM7x25 SURF"
748 help
749 Support for the Qualcomm MSM7x25 SURF eval board.
750
751config MACH_MSM7X25_FFA
752 depends on ARCH_MSM7X25
753 depends on !MSM_STACKED_MEMORY
754 default y
755 bool "MSM7x25 FFA"
756 help
757 Support for the Qualcomm MSM7x25 FFA eval board.
758
759config MACH_MSM8X55_SURF
760 depends on ARCH_MSM7X30
761 depends on !MSM_STACKED_MEMORY
762 default y
763 bool "MSM8X55 SURF"
764 help
765 Support for the Qualcomm MSM8x55 SURF eval board.
766
767config MACH_MSM8X55_FFA
768 depends on ARCH_MSM7X30
769 depends on !MSM_STACKED_MEMORY
770 default y
771 bool "MSM8X55 FFA"
772 help
773 Support for the Qualcomm MSM8x55 FFA eval board.
774
775config MACH_MSM8X55_SVLTE_FFA
776 depends on ARCH_MSM7X30
777 depends on !MSM_STACKED_MEMORY
778 default y
779 bool "MSM8X55 SVLTE FFA"
780 help
781 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
782
783config MACH_MSM8X55_SVLTE_SURF
784 depends on ARCH_MSM7X30
785 depends on !MSM_STACKED_MEMORY
786 default y
787 bool "MSM8X55 SVLTE SURF"
788 help
789 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700790
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700791config MACH_MSM8X60_SURF
792 depends on ARCH_MSM8X60
793 default n
794 bool "MSM8x60 SURF"
795 help
796 Support for the Qualcomm MSM8x60 SURF eval board.
797
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700798config MACH_MSM8X60_FFA
799 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700800 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700801 bool "MSM8x60 FFA"
802 help
803 Support for the Qualcomm MSM8x60 FFA eval board.
804
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700805config MACH_MSM8X60_FLUID
806 depends on ARCH_MSM8X60
807 default n
808 bool "MSM8x60 FLUID"
809 help
810 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
811 8x60 target which has a form factor that is much closer to that
812 of a phone than other targets. It also has a new display and
813 touchscreen controller.
814
815config MACH_MSM8X60_FUSION
816 depends on ARCH_MSM8X60
817 default n
818 bool "MSM8x60 FUSION"
819 help
820 Support for the Qualcomm MSM8x60 Fusion SURF device.
821
822config MACH_MSM8X60_FUSN_FFA
823 depends on ARCH_MSM8X60
824 default n
825 bool "MSM8x60 FUSN FFA"
826 help
827 Support for the Qualcomm MSM8x60 Fusion FFA device.
828
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400829config MACH_MSM8X60_DRAGON
830 depends on ARCH_MSM8X60
831 default n
832 bool "MSM8x60 DRAGON"
833 help
834 Support for the Qualcomm MSM8x60 Dragon board.
835
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700836config MACH_MSM8960_CDP
837 depends on ARCH_MSM8960
838 bool "MSM8960 CDP"
839 help
840 Support for the Qualcomm MSM8960 CDP device.
841
842config MACH_MSM8960_MTP
843 depends on ARCH_MSM8960
844 bool "MSM8960 MTP"
845 help
846 Support for the Qualcomm MSM8960 MTP device.
847
848config MACH_MSM8960_FLUID
849 depends on ARCH_MSM8960
850 bool "MSM8960 FLUID"
851 help
852 Support for the Qualcomm MSM8960 FLUID device.
853
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300854config MACH_MSM8960_LIQUID
855 depends on ARCH_MSM8960
856 bool "MSM8960 LIQUID"
857 help
858 Support for the Qualcomm MSM8960 LIQUID device.
859
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700860config MACH_MSM8930_CDP
861 depends on ARCH_MSM8930
862 bool "MSM8930 CDP"
863 help
864 Support for the Qualcomm MSM8930 CDP device.
865
866config MACH_MSM8930_MTP
867 depends on ARCH_MSM8930
868 bool "MSM8930 MTP"
869 help
870 Support for the Qualcomm MSM8930 MTP device.
871
872config MACH_MSM8930_FLUID
873 depends on ARCH_MSM8930
874 bool "MSM8930 FLUID"
875 help
876 Support for the Qualcomm MSM8930 FLUID device.
877
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800878config MACH_MSM8627_CDP
879 depends on ARCH_MSM8930
880 bool "MSM8627 CDP"
881 help
882 Support for the Qualcomm MSM8627 CDP device.
883
884config MACH_MSM8627_MTP
885 depends on ARCH_MSM8930
886 bool "MSM8627 MTP"
887 help
888 Support for the Qualcomm MSM8627 MTP device.
889
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700890config MACH_MSM9615_CDP
891 depends on ARCH_MSM9615
892 bool "MSM9615 CDP"
893 help
894 Support for the Qualcomm MSM9615 CDP device.
895
896config MACH_MSM9615_MTP
897 depends on ARCH_MSM9615
898 bool "MSM9615 MTP"
899 help
900 Support for the Qualcomm MSM9615 MTP device.
901
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700902config MSM_USE_TSIF1
903 depends on ARCH_MSM8X60
904 bool "MSM8x60 use TSIF1"
905 help
906 Selects TSIF1 core to be used rather than TSIF0.
907 The two TSIF cores share the same DM configuration
908 so they cannot be used simultaneously.
909
Joel King82b7e3f2012-01-05 10:03:27 -0800910config MACH_APQ8064_CDP
911 depends on ARCH_APQ8064
912 bool "APQ8064 CDP"
913 help
914 Support for the Qualcomm APQ8064 CDP device.
915
916config MACH_APQ8064_MTP
917 depends on ARCH_APQ8064
918 bool "APQ8064 MTP"
919 help
920 Support for the Qualcomm APQ8064 MTP device.
921
922config MACH_APQ8064_LIQUID
923 depends on ARCH_APQ8064
924 bool "APQ8064 LIQUID"
925 help
926 Support for the Qualcomm APQ8064 LIQUID device.
927
Joel King064bbf82012-04-01 13:23:39 -0700928config MACH_MPQ8064_CDP
929 depends on ARCH_APQ8064
930 bool "MPQ8064 CDP"
931 help
932 Support for the Qualcomm MPQ8064 CDP device.
933
Joel King11ca8202012-02-13 16:19:03 -0800934config MACH_MPQ8064_HRD
935 depends on ARCH_APQ8064
936 bool "MPQ8064 HRD"
937 help
938 Support for the Qualcomm MPQ8064 HRD device.
939
940config MACH_MPQ8064_DTV
941 depends on ARCH_APQ8064
942 bool "MPQ8064 DTV"
943 help
944 Support for the Qualcomm MPQ8064 DTV device.
945
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700946config MACH_FSM9XXX_SURF
947 depends on ARCH_FSM9XXX
948 depends on !MSM_STACKED_MEMORY
949 default y
950 bool "FSM9XXX SURF"
951 help
952 Support for the Qualcomm FSM9xxx femtocell
953 chipset based SURF evaluation board and
954 FFA board.
955
Daniel Walker4ad15e62010-05-06 13:54:17 -0700956endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800957
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700958config MSM_STACKED_MEMORY
959 bool "Stacked Memory"
960 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800961 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700962 This option is used to indicate the presence of on-die stacked
963 memory. When present this memory bank is used for a high speed
964 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800965
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700966config PHYS_OFFSET
967 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700968 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700969 default "0x80200000" if ARCH_APQ8064
970 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700971 default "0x80200000" if ARCH_MSM8930
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700972 default "0x00000000" if ARCH_MSM8974
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +0530973 default "0x00000000" if ARCH_MPQ8092
Syed Rameez Mustafa90f80502012-08-23 17:27:24 -0700974 default "0x00000000" if ARCH_MSM8226
Syed Rameez Mustafa02dd1a32012-10-26 11:02:26 -0700975 default "0x00000000" if ARCH_MSM8910
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700976 default "0x10000000" if ARCH_FSM9XXX
Abhimanyu Kapur20ac2ad2012-09-25 04:23:59 -0700977 default "0x00200000" if ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700978 default "0x00200000" if !MSM_STACKED_MEMORY
979 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
980 default "0x20000000" if ARCH_QSD8X50
981 default "0x40200000" if ARCH_MSM8X60
982 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800983
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700984config KERNEL_MSM_CONTIG_MEM_REGION
985 bool "Enable in-kernel contiguous memory region"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700986 default y if ARCH_MSM8X60
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700987 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700988 help
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700989 Enable the in-kernel contiguous memory allocator. Sets up a
990 region of physically contiguous memory. This memory is
991 reserved during initialization, and can be used
992 generically.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700993
994config KERNEL_PMEM_SMI_REGION
995 bool "Enable in-kernel PMEM region for SMI"
996 default y if ARCH_MSM8X60
997 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
998 help
999 Enable the in-kernel PMEM allocator to use SMI memory.
1000
1001config PMEM_GPU0
1002 bool "Enable PMEM GPU0 region"
1003 default y
1004 depends on ARCH_QSD8X50 && ANDROID_PMEM
1005 help
1006 Enable the PMEM GPU0 device on SMI Memory.
1007
1008config MSM_AMSS_VERSION
1009 int
1010 default 6210 if MSM_AMSS_VERSION_6210
1011 default 6220 if MSM_AMSS_VERSION_6220
1012 default 6225 if MSM_AMSS_VERSION_6225
1013
1014choice
1015 prompt "AMSS modem firmware version"
1016
1017 default MSM_AMSS_VERSION_6225
1018
1019 config MSM_AMSS_VERSION_6210
1020 bool "6.2.10"
1021
1022 config MSM_AMSS_VERSION_6220
1023 bool "6.2.20"
1024
1025 config MSM_AMSS_VERSION_6225
1026 bool "6.2.20 + New ADSP"
1027endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -08001028
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001029config MSM_HAS_DEBUG_UART_HS
Daniel Walkerbf83de42010-03-16 16:29:44 -07001030 bool
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001031 help
1032 Say Y here if high speed MSM UART is present.
1033
1034config MSM_HAS_DEBUG_UART_HS_V14
1035 bool
1036 select MSM_HAS_DEBUG_UART_HS
1037 help
1038 Say Y here if high speed MSM UART v1.4 is present.
1039
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301040config MSM_DEBUG_UART_PHYS
1041 hex
1042 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
1043 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
1044 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
1045 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
1046 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
1047 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
1048 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
1049 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
1050
Brian Swetland9e73c842007-11-26 04:12:13 -08001051choice
1052 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001053 depends on DEBUG_LL
Brian Swetland9e73c842007-11-26 04:12:13 -08001054
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001055 config DEBUG_MSM_UART1
1056 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301057 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001058 help
1059 Say Y here if you want the debug print routines to direct
1060 their output to the first serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001061
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001062 config DEBUG_MSM_UART2
1063 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301064 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001065 help
1066 Say Y here if you want the debug print routines to direct
1067 their output to the second serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001068
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001069 config DEBUG_MSM_UART3
1070 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301071 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001072 help
1073 Say Y here if you want the debug print routines to direct
1074 their output to the third serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001075
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001076 config DEBUG_MSM8660_UART
1077 bool "Kernel low-level debugging messages via MSM 8660 UART"
1078 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001079 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001080 help
1081 Say Y here if you want the debug print routines to direct
1082 their output to the serial port on MSM 8660 devices.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001083
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001084 config DEBUG_MSM8960_UART
1085 bool "Kernel low-level debugging messages via MSM 8960 UART"
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001086 depends on ARCH_MSM8960 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001087 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001088 help
1089 Say Y here if you want the debug print routines to direct
1090 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001091
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001092 config DEBUG_MSM8930_UART
1093 bool "Kernel low-level debugging messages via MSM 8930 UART"
1094 depends on ARCH_MSM8930 && DEBUG_LL
1095 select MSM_HAS_DEBUG_UART_HS
1096 help
1097 Say Y here if you want the debug print routines to direct
1098 their output to the serial port on MSM 8930 devices.
1099
1100 config DEBUG_APQ8064_UART
1101 bool "Kernel low-level debugging messages via APQ 8064 UART"
1102 depends on ARCH_APQ8064 && DEBUG_LL
1103 select MSM_HAS_DEBUG_UART_HS
1104 help
1105 Say Y here if you want the debug print routines to direct
1106 their output to the serial port on APQ 8064 devices.
1107
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001108 config DEBUG_MSM8974_UART
1109 bool "Kernel low-level debugging messages via MSM 8974 UART"
1110 depends on ARCH_MSM8974
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001111 select MSM_HAS_DEBUG_UART_HS_V14
1112 help
1113 Say Y here if you want the debug print routines to direct
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001114 their output to the serial port on MSM 8974 devices.
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +05301115
1116 config DEBUG_MPQ8092_UART
1117 bool "Kernel low-level debugging messages via MPQ8092 UART"
1118 depends on ARCH_MPQ8092
1119 select MSM_HAS_DEBUG_UART_HS_V14
1120 help
1121 Say Y here if you want the debug print routines to direct
1122 their output to the serial port on MPQ8092 devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001123endchoice
Brian Swetland9e73c842007-11-26 04:12:13 -08001124
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001125choice
1126 prompt "Default Timer"
1127 default MSM7X00A_USE_GP_TIMER
1128
1129 config MSM7X00A_USE_GP_TIMER
1130 bool "GP Timer"
1131 help
1132 Low resolution timer that allows power collapse from idle.
1133
1134 config MSM7X00A_USE_DG_TIMER
1135 bool "DG Timer"
1136 help
1137 High resolution timer.
1138endchoice
1139
1140choice
1141 prompt "Suspend sleep mode"
1142 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1143 help
1144 Allows overriding the sleep mode used. Leave at power
1145 collapse suspend unless the arm9 image has problems.
1146
1147 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1148 bool "Power collapse suspend"
1149 help
1150 Lowest sleep state. Returns through reset vector.
1151
1152 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1153 bool "Power collapse"
1154 help
1155 Sleep state that returns through reset vector.
1156
1157 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1158 bool "Apps Sleep"
1159
1160 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1161 bool "Ramp down cpu clock and wait for interrupt"
1162
1163 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1164 bool "Wait for interrupt"
1165endchoice
1166
1167config MSM7X00A_SLEEP_MODE
1168 int
1169 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1170 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1171 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1172 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1173 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1174
1175choice
1176 prompt "Idle sleep mode"
1177 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1178 help
1179 Allows overriding the sleep mode used from idle. Leave at power
1180 collapse suspend unless the arm9 image has problems.
1181
1182 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1183 bool "Power collapse suspend"
1184 help
1185 Lowest sleep state. Returns through reset vector.
1186
1187 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1188 bool "Power collapse"
1189 help
1190 Sleep state that returns through reset vector.
1191
1192 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1193 bool "Apps Sleep"
1194
1195 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1196 bool "Ramp down cpu clock and wait for interrupt"
1197
1198 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1199 bool "Wait for interrupt"
1200endchoice
1201
1202config MSM7X00A_IDLE_SLEEP_MODE
1203 int
1204 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1205 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1206 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1207 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1208 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1209
1210config MSM7X00A_IDLE_SLEEP_MIN_TIME
1211 int "Minimum idle time before sleep"
1212 default 20000000
1213 help
1214 Minimum idle time in nanoseconds before entering low power mode.
1215
1216config MSM7X00A_IDLE_SPIN_TIME
1217 int "Idle spin time before cpu ramp down"
1218 default 80000
1219 help
1220 Spin time in nanoseconds before ramping down cpu clock and entering
1221 any low power state.
1222
1223menuconfig MSM_IDLE_STATS
1224 bool "Collect idle statistics"
1225 default y
1226 help
1227 Collect idle statistics and export them in proc/msm_pm_stats.
1228
1229if MSM_IDLE_STATS
1230
1231config MSM_IDLE_STATS_FIRST_BUCKET
1232 int "First bucket time"
1233 default 62500
1234 help
1235 Upper time limit in nanoseconds of first bucket.
1236
1237config MSM_IDLE_STATS_BUCKET_SHIFT
1238 int "Bucket shift"
1239 default 2
1240
1241config MSM_IDLE_STATS_BUCKET_COUNT
1242 int "Bucket count"
1243 default 10
1244
1245config MSM_SUSPEND_STATS_FIRST_BUCKET
1246 int "First bucket time for suspend"
1247 default 1000000000
1248 help
1249 Upper time limit in nanoseconds of first bucket of the
1250 histogram. This is for collecting statistics on suspend.
1251
1252endif # MSM_IDLE_STATS
1253
1254config CPU_HAS_L2_PMU
1255 bool "L2CC PMU Support"
1256 help
1257 Select this if the L2 cache controller has a Performance Monitoring Unit.
1258
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001259config HTC_HEADSET
1260 tristate "HTC 2 Wire detection driver"
1261 default n
1262 help
1263 Provides support for detecting HTC 2 wire devices, such as wired
1264 headset, on the trout platform. Can be used with the msm serial
1265 debugger, but not with serial console.
1266
1267config TROUT_BATTCHG
1268 depends on MACH_TROUT && POWER_SUPPLY
1269 default y
1270 bool "Trout battery / charger driver"
1271
1272config HTC_PWRSINK
1273 depends on MSM_SMD
1274 default n
1275 bool "HTC Power Sink Driver"
1276
1277config QSD_SVS
1278 bool "QSD Static Voltage Scaling"
1279 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1280 default y
1281 select TPS65023
1282 help
1283 Enables static voltage scaling using the TPS65023 PMIC.
1284
1285config QSD_PMIC_DEFAULT_DCDC1
1286 int "PMIC default output voltage"
1287 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1288 default 1250
1289 help
1290 This is the PMIC voltage at Linux kernel boot.
1291
1292config MSM_FIQ_SUPPORT
1293 default y
1294 bool "Enable installation of an FIQ handler."
1295
1296config MSM_SERIAL_DEBUGGER
1297 select MSM_FIQ_SUPPORT
1298 select KERNEL_DEBUGGER_CORE
1299 default n
1300 bool "FIQ Mode Serial Debugger"
1301 help
1302 The FIQ serial debugger can accept commands even when the
1303 kernel is unresponsive due to being stuck with interrupts
1304 disabled. Depends on the kernel debugger core in drivers/misc.
1305
1306config MSM_SERIAL_DEBUGGER_CONSOLE
1307 depends on MSM_SERIAL_DEBUGGER
1308 default n
1309 bool "Console on FIQ Serial Debugger port"
1310 help
1311 Enables a console so that printk messages are displayed on
1312 the debugger serial port as the occur.
Brian Swetland9e73c842007-11-26 04:12:13 -08001313
Gregory Beanab78cde2010-09-01 16:26:12 -07001314config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001315 default y
1316 bool "Proc-Comm RPC Interface"
1317 help
1318 Enables a lightweight communications interface to the
1319 baseband processor.
Gregory Beanab78cde2010-09-01 16:26:12 -07001320
Gregory Bean1963a2a2010-08-28 10:05:44 -07001321config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001322 bool "MSM Shared Memory Driver (SMD)"
1323 help
1324 Support for the shared memory interface between the apps
1325 processor and the baseband processor. Provides access to
1326 the "shared heap", as well as virtual serial channels
1327 used to communicate with various services on the baseband
1328 processor.
1329
1330choice
1331 prompt "MSM Shared memory interface version"
1332 depends on MSM_SMD
1333 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1334 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1335
1336 config MSM_SMD_PKG3
1337 bool
1338 prompt "Package 3"
1339
1340 config MSM_SMD_PKG4
1341 bool
1342 prompt "Package 4"
1343endchoice
1344
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001345config MSM_PCIE
1346 bool "MSM PCIe Controller driver"
1347 depends on PCI && PCI_MSI
1348 help
1349 Enables the PCIe functionality by configures PCIe core on
1350 MSM chipset and by enabling the ARM PCI framework extension.
1351
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001352config MSM_RPC_SDIO_XPRT
1353 depends on MSM_SDIO_AL
1354 default y
1355 bool "MSM SDIO XPRT Layer"
1356 help
1357 SDIO Transport Layer for RPC Rouer
1358
1359config MSM_RPC_SDIO_DEBUG
1360 depends on MSM_RPC_SDIO_XPRT
1361 default y
1362 bool "MSM SDIO XPRT debug support"
1363 help
1364 Support for debugging SDIO XPRT
1365
1366config MSM_SMD_DEBUG
1367 depends on MSM_SMD
1368 default y
1369 bool "MSM SMD debug support"
1370 help
1371 Support for debugging the SMD for communication
1372 between the ARM9 and ARM11
1373
1374config MSM_SDIO_AL
1375 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1376 default y
1377 tristate "SDIO-Abstraction-Layer"
1378 help
1379 Support MSM<->MDM Communication over SDIO bus.
1380 MDM SDIO-Client should have pipes support.
1381
1382config MSM_SDIO_DMUX
1383 bool "SDIO Data Mux Driver"
1384 depends on MSM_SDIO_AL
1385 default n
1386 help
1387 Support Muxed Data Channels over SDIO interface.
1388
1389config MSM_BAM_DMUX
1390 bool "BAM Data Mux Driver"
1391 depends on SPS
1392 default n
1393 help
1394 Support Muxed Data Channels over BAM interface.
1395 BAM has a limited number of pipes. This driver
1396 provides a means to support more logical channels
1397 via muxing than BAM could without muxing.
1398
1399config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001400 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001401 default y
1402 bool "MSM N-WAY SMD support"
1403 help
1404 Supports APPS-QDSP SMD communication along with
1405 normal APPS-MODEM SMD communication.
1406
1407config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001408 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001409 default y
1410 bool "MSM N-WAY SMSM support"
1411 help
1412 Supports APPS-QDSP SMSM communication along with
1413 normal APPS-MODEM SMSM communication.
1414
1415config MSM_RESET_MODEM
1416 tristate "Reset Modem Driver"
1417 depends on MSM_SMD
1418 default m
1419 help
1420 Allows the user to reset the modem through a device node.
1421
1422config MSM_SMD_LOGGING
1423 depends on MSM_SMD
1424 default y
1425 bool "MSM Shared Memory Logger"
1426 help
1427 This option exposes the shared memory logger at /dev/smem_log
1428 and a debugfs node named smem_log.
1429
1430 If in doubt, say yes.
1431
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001432config MSM_IPC_LOGGING
1433 bool "MSM Debug Logging for IPC Drivers"
1434 help
1435 This option allows the debug logging for IPC Drivers.
1436
1437 If in doubt, say no.
1438
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001439config MSM_SMD_NMEA
1440 bool "NMEA GPS Driver"
1441 depends on MSM_SMD
1442 default y
1443 help
1444 Enable this to support the NMEA GPS device.
1445
1446 If in doubt, say yes.
1447
1448config MSM_SDIO_TTY
1449 bool "SDIO TTY Driver"
1450 depends on MSM_SDIO_AL
1451 default n
1452 help
1453 Provides a TTY driver SDIO TTY
1454 This driver can be used by user space
1455 applications for passing data through the
1456 SDIO interface.
1457
1458config MSM_SMD_TTY
1459 bool "SMD TTY Driver"
1460 depends on MSM_SMD
1461 default y
1462 help
1463 Provides TTY interfaces to interact with the modem.
1464
1465 If in doubt, say yes.
1466
1467config MSM_SMD_QMI
1468 bool "SMD QMI Driver"
1469 depends on MSM_SMD
1470 default y
1471 help
1472 Manages network data connections.
1473
1474 If in doubt, say yes.
1475
1476config MSM_SMD_PKT
1477 bool "SMD Packet Driver"
1478 depends on MSM_SMD
1479 default y
1480 help
1481 Provides a binary SMD non-muxed packet port interface.
1482
1483 If in doubt, say yes.
1484
1485config MSM_SDIO_CMUX
1486 bool "SDIO CMUX Driver"
1487 depends on MSM_SDIO_AL
1488 default n
1489 help
1490 Provides a Muxed port interface over SDIO QMI
1491
1492config MSM_DSPS
1493 bool "Sensors DSPS driver"
1494 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1495 default n
1496 help
1497 Provides user-space interface to the sensors manager
1498 to turn on/off the Sensors Processor system clocks.
1499 It is the DSPS responsibility to turn on/off the sensors
1500 themself.
1501 The number of clocks and their name may vary between targets.
1502 It also triggers the PIL to load the DSPS firmware.
1503
1504config MSM_SDIO_CTL
1505 bool "SDIO CTL Driver"
1506 depends on MSM_SDIO_CMUX
1507 default n
1508 help
1509 Provides a binary SDIO control port interface.
1510
1511config MSM_ONCRPCROUTER
1512 depends on MSM_SMD
1513 default n
1514 bool "MSM ONCRPC router support"
1515 help
1516 Support for the MSM ONCRPC router for communication between
1517 the ARM9 and ARM11
1518
1519config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001520 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001521 default n
1522 bool "MSM IPC Router support"
1523 help
1524 Support for the MSM IPC Router for communication between
1525 the APPs and the MODEM
1526
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001527config MSM_IPC_ROUTER_SMD_XPRT
1528 depends on MSM_SMD
1529 depends on MSM_IPC_ROUTER
1530 default n
1531 bool "MSM SMD XPRT Layer"
1532 help
1533 SMD Transport Layer for IPC Router
1534
Karthikeyan Ramasubramanianfec77ff2012-10-26 20:03:26 -06001535config MSM_QMI_INTERFACE
1536 depends on MSM_IPC_ROUTER
1537 depends on QMI_ENCDEC
1538 default n
1539 bool "MSM QMI Interface Library"
1540 help
1541 Library to send and receive QMI messages over IPC Router.
1542 This library provides interface functions to the kernel drivers
1543 to perform QMI message marshaling and transport them over IPC
1544 Router.
1545
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001546config MSM_ONCRPCROUTER_DEBUG
1547 depends on MSM_ONCRPCROUTER
1548 default y
1549 bool "MSM debug ONCRPC router support"
1550 help
1551 Support for debugging the ONCRPC router for communication
1552 between the ARM9 and ARM11
1553
1554config MSM_RPC_LOOPBACK_XPRT
1555 depends on MSM_ONCRPCROUTER
1556 default n
1557 bool "MSM RPC local routing support"
1558 help
1559 Support for routing RPC messages between APPS clients
1560 and APPS servers. Helps in testing APPS RPC framework.
1561
1562config MSM_RPCSERVER_TIME_REMOTE
1563 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1564 default y
1565 bool "Time remote RPC server"
1566 help
1567 The time remote server receives notification of time bases and
1568 reports these events to registered callback functions.
1569
1570config MSM_RPCSERVER_WATCHDOG
1571 depends on MSM_ONCRPCROUTER
1572 default y
1573 bool "Watchdog RPC server"
1574 help
1575 The dog_keepalive server handles watchdog events.
1576
1577config MSM_RPC_WATCHDOG
1578 depends on MSM_ONCRPCROUTER
1579 default n
1580 bool "Watchdog RPC client"
1581 help
1582 The dog_keepalive client module.
1583
1584config MSM_RPC_PING
1585 depends on MSM_ONCRPCROUTER && DEBUG_FS
1586 default m
1587 bool "MSM rpc ping"
1588 help
1589 Implements MSM rpc ping test module.
1590
1591config MSM_RPC_PROC_COMM_TEST
1592 depends on DEBUG_FS && MSM_PROC_COMM
1593 default m
1594 bool "MSM rpc proc comm test"
1595 help
1596 Implements MSM rpc proc comm test module.
1597
1598config MSM_RPC_OEM_RAPI
1599 depends on MSM_ONCRPCROUTER
1600 default m
1601 bool "MSM oem rapi"
1602 help
1603 Implements MSM oem rapi client module.
1604
1605config MSM_RPCSERVER_HANDSET
1606 depends on MSM_ONCRPCROUTER
1607 default y
1608 bool "Handset events RPC server"
1609 help
1610 Support for receiving handset events like headset detect,
1611 headset switch and clamshell state.
1612
1613config MSM_RMT_STORAGE_CLIENT
1614 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1615 default n
1616 bool "Remote Storage RPC client"
1617 help
1618 Provide RPC mechanism for remote processors to access storage
1619 device on apps processor.
1620
1621config MSM_RMT_STORAGE_CLIENT_STATS
1622 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1623 default n
1624 bool "Remote storage RPC client performance statistics"
1625 help
1626 Collects performance statistics and shows this information
1627 through a debugfs file rmt_storage_stats.
1628
1629config MSM_SDIO_SMEM
1630 depends on MSM_SDIO_AL
1631 default n
1632 bool "SDIO SMEM for remote storage"
1633 help
1634 Copies data from remote MDM9K memory to local MSM8x60
1635 memory. Used by remote storage client to shadow
1636 MDM9K filesystem.
1637
1638config MSM_DALRPC
1639 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001640 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001641 help
1642 Supports RPC calls to DAL devices on remote processor cores.
1643
1644config MSM_DALRPC_TEST
1645 tristate "DAL RPC test module"
1646 depends on (MSM_DALRPC && DEBUG_FS)
1647 default m
1648 help
1649 Exercises DAL RPC calls to QDSP6.
1650
1651if CPU_FREQ_MSM
1652
1653config MSM_CPU_FREQ_SET_MIN_MAX
1654 bool "Set Min/Max CPU frequencies."
1655 default n
1656 help
1657 Allow setting min and max CPU frequencies. Sysfs can be used
1658 to override these values.
1659
1660config MSM_CPU_FREQ_MAX
1661 int "Max CPU Frequency"
1662 depends on MSM_CPU_FREQ_SET_MIN_MAX
1663 default 384000
1664
1665config MSM_CPU_FREQ_MIN
1666 int "Min CPU Frequency"
1667 depends on MSM_CPU_FREQ_SET_MIN_MAX
1668 default 245760
1669
1670endif # CPU_FREQ_MSM
1671
1672config MSM_CPU_AVS
1673 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1674 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1675 depends on ARCH_QSD8X50
1676 default n
1677 select MSM_AVS_HW
1678 help
1679 This enables the s/w control of Adaptive Voltage Scaling feature
1680 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1681 based on feedback from three ring oscillators in the CPU.
1682
1683config MSM_AVS_HW
1684 bool "Enable Adaptive Voltage Scaling (AVS)"
1685 default n
1686 help
1687 Enable AVS hardware to fine tune voltage at each frequency. The
1688 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1689 fine tune the voltages based on the feedback from the ring
1690 oscillators.
1691
1692config MSM_HW3D
1693 tristate "MSM Hardware 3D Register Driver"
1694 depends on ANDROID_PMEM
1695 default y
1696 help
1697 Provides access to registers needed by the userspace OpenGL|ES
1698 library.
1699
1700config MSM_ADSP
1701 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1702 tristate "MSM ADSP driver"
1703 depends on ANDROID_PMEM
1704 default y
1705 help
1706 Provides access to registers needed by the userspace aDSP library.
1707
1708config ADSP_RPC_VER
1709 hex
1710 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1711 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1712 depends on MSM_ADSP
1713 help
1714 Select proper ADSP RPC version
1715choice
1716 prompt "ADSP RPC version"
1717
1718 default AMSS_7X25_VERSION_2009
1719
1720 config AMSS_7X25_VERSION_2009
1721 bool "2.0.09"
1722
1723 config AMSS_7X25_VERSION_2008
1724 bool "2.0.08"
1725endchoice
1726
1727config MSM7KV2_AUDIO
1728 bool "MSM7K v2 audio"
1729 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1730 default y
1731 help
1732 Enables QDSP5V2-based audio drivers for audio playbacks and
1733 voice call.
1734
1735config MSM_ADSP_REPORT_EVENTS
1736 bool "Report modem events from the DSP"
1737 default y
1738 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1739 help
1740 Normally, only messages from the aDSP are reported to userspace.
1741 With this option, we report events from the aDSP as well.
1742
1743config MSM_QDSP6
1744 tristate "QDSP6 support"
1745 depends on ARCH_QSD8X50 && ANDROID_PMEM
1746 default y
1747 help
1748 Enable support for qdsp6. This provides audio and video functionality.
1749
1750config MSM8X60_AUDIO
1751 tristate "MSM8X60 audio support"
1752 depends on ARCH_MSM8X60 && ANDROID_PMEM
1753 default y
1754 help
1755 Enable support for qdsp6v2. This provides audio functionality.
1756
1757config MSM8X60_FTM_AUDIO_DEVICES
1758 bool "MSM8X60 audio factory test mode support"
1759 depends on MSM8X60_AUDIO
1760 help
1761 Enable support audio factory test mode devices. This is used
1762 in a production line environment.
1763
Ben Romberger45b351c2011-07-20 22:37:27 -07001764config RTAC
1765 bool "MSM8K real-time audio calibration support"
1766 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001767 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001768 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001769 audio operation
1770
1771config MSM7X27A_AUDIO
1772 bool "MSM7X27A audio support"
1773 depends on ARCH_MSM7X27A && MSM_ADSP
1774 default n
1775 help
1776 Enable support for 7x27a. This provides audio functionality.
1777
Justin Pauporea6cd2092011-06-22 16:19:45 -07001778config MSM_PROC_COMM_REGULATOR
Gregory Bean1963a2a2010-08-28 10:05:44 -07001779 bool
Justin Pauporea6cd2092011-06-22 16:19:45 -07001780 depends on MSM_PROC_COMM && REGULATOR
1781 help
1782 Enable regulator framework support for regulators managed by PMLIB
1783 on the modem, and controlled through proccomm calls.
1784
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001785config MSM_VREG_SWITCH_INVERTED
1786 bool "Reverse vreg switch polarity"
1787 default n
1788 help
1789 Reverses the enable and disable for vreg switch.
1790
1791config MSM_DMA_TEST
1792 tristate "MSM DMA test module"
1793 default m
1794 help
1795 Intended to be compiled as a module. Provides a device node
1796 and ioctls for testing the MSM dma system.
1797
1798config WIFI_CONTROL_FUNC
1799 bool "Enable WiFi control function abstraction"
1800 help
1801 Enables Power/Reset/Carddetect function abstraction
1802
1803config WIFI_MEM_PREALLOC
1804 depends on WIFI_CONTROL_FUNC
1805 bool "Preallocate memory for WiFi buffers"
1806 help
1807 Preallocates memory buffers for WiFi driver
1808
1809config QSD_AUDIO
1810 bool "QSD audio"
1811 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1812 default y
1813 help
1814 Provides PCM, MP3, and AAC audio playback.
1815
1816config AUDIO_AAC_PLUS
1817 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1818 bool "AAC+ Audio"
1819 default y
1820 help
1821 Provides AAC+ decoding
1822
1823config AUDIO_ENHANCED_AAC_PLUS
1824 depends on AUDIO_AAC_PLUS
1825 bool "Enhanced AAC+ Audio"
1826 default y
1827 help
1828 Provides Enhanced AAC+ decoding
1829
1830config SURF_FFA_GPIO_KEYPAD
1831 bool "MSM SURF/FFA GPIO keypad"
1832 depends on INPUT_GPIO = "y"
1833 default y
1834 help
1835 Select if the GPIO keypad is attached.
1836
1837config MSM_SLEEP_TIME_OVERRIDE
1838 bool "Allow overriding suspend/sleep time with PM module parameter"
1839 default y
1840 help
1841 Enable the module parameter sleep_time_override. Specified
1842 in units of seconds, it overwrites the normal sleep time of
1843 suspend. The feature is required for automated power management
1844 testing.
1845
1846config MSM_MEMORY_LOW_POWER_MODE
1847 bool "Control the low power modes of memory"
1848 default n
1849 help
1850 The application processor controls whether memory should enter
1851 which low power mode.
1852
1853choice
1854 prompt "Default Memory Low Power Mode during Idle"
1855 depends on MSM_MEMORY_LOW_POWER_MODE
1856 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1857 help
1858 Selects the default low power mode of the memory during idle
1859 sleep.
1860
1861 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1862 bool "Memory active"
1863
1864 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1865 bool "Memory in retention"
1866
1867 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1868 bool "Memory in deep power down"
1869endchoice
1870
1871choice
1872 prompt "Default Memory Low Power Mode during Suspend"
1873 depends on MSM_MEMORY_LOW_POWER_MODE
1874 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1875 help
1876 Selects the default low power mode of the memory during suspend
1877 sleep.
1878
1879 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1880 bool "Memory active"
1881
1882 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1883 bool "Memory in retention"
1884
1885 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1886 bool "Memory in deep power down"
1887endchoice
1888
1889choice
1890 prompt "Power management timeout action"
1891 default MSM_PM_TIMEOUT_HALT
1892 help
1893 Selects the Application Processor's action when Power Management
1894 times out waiting for Modem's handshake.
1895
1896 config MSM_PM_TIMEOUT_HALT
1897 bool "Halt the Application Processor"
1898
1899 config MSM_PM_TIMEOUT_RESET_MODEM
1900 bool "Reset the Modem Processor"
1901
1902 config MSM_PM_TIMEOUT_RESET_CHIP
1903 bool "Reset the entire chip"
1904endchoice
1905
1906config MSM_IDLE_WAIT_ON_MODEM
1907 int "Wait for Modem to become ready for idle power collapse"
1908 default 0
1909 help
1910 If Modem is not ready to handle Application Processor's request
1911 for idle power collapse, wait the number of microseconds in case
1912 Modem becomes ready soon.
1913
Matt Wagantall9274df92011-12-15 11:11:05 -08001914config MSM_RPM_REGULATOR
1915 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001916 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001917 help
1918 Compile in support for the RPM regulator driver, used for setting
1919 voltages and other parameters of the various power rails supplied
1920 by some Qualcomm PMICs.
1921
David Collinsc7642322012-04-04 10:19:12 -07001922config MSM_RPM_REGULATOR_SMD
1923 bool "SMD RPM regulator driver"
1924 depends on REGULATOR
1925 depends on OF
1926 depends on MSM_RPM_SMD
1927 help
1928 Compile in support for the SMD RPM regulator driver which is used for
1929 setting voltages and other parameters of the various power rails
1930 supplied by some Qualcomm PMICs. The SMD RPM regulator driver should
1931 be used on systems which contain an RPM which communicates with the
1932 application processor over SMD.
1933
Stephen Boyd01710582012-07-09 13:40:05 -07001934config MSM_SUBSYSTEM_RESTART
1935 bool "MSM Subsystem Restart"
1936 help
1937 This option enables the MSM subsystem restart framework.
1938
1939 The MSM subsystem restart framework provides support to boot,
1940 shutdown, and restart subsystems with a reference counted API.
1941 It also notifies userspace of transitions between these states via
1942 sysfs.
1943
1944config MSM_SYSMON_COMM
1945 bool "MSM System Monitor communication support"
1946 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1947 help
1948 This option adds support for MSM System Monitor library, which
1949 provides an API that may be used for notifying subsystems within
1950 the SoC about other subsystems' power-up/down state-changes.
1951
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001952config MSM_PIL
1953 bool "Peripheral image loading"
1954 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001955 default n
1956 help
1957 Some peripherals need to be loaded into memory before they can be
1958 brought out of reset.
1959
1960 Say yes to support these devices.
1961
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001962config MSM_PIL_MODEM
1963 tristate "Modem (ARM11) Boot Support"
Stephen Boyd3ac20732012-05-03 18:46:08 -07001964 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001965 help
1966 Support for booting and shutting down ARM11 Modem processors.
1967
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001968config MSM_PIL_QDSP6V3
1969 tristate "QDSP6v3 (Hexagon) Boot Support"
Stephen Boyd2e19d932012-05-09 17:36:04 -07001970 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001971 help
1972 Support for booting and shutting down QDSP6v3 processors (hexagon).
1973 The QDSP6 is a low power DSP used in audio software applications.
1974
Stephen Boydbdb53f32012-06-05 18:39:47 -07001975config MSM_PIL_LPASS_QDSP6V4
1976 tristate "LPASS QDSP6v4 (Hexagon) Boot Support"
Stephen Boyda1cf76b2012-06-13 12:05:35 -07001977 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydeb819882011-08-29 14:46:30 -07001978 help
Stephen Boydbdb53f32012-06-05 18:39:47 -07001979 Support for booting and shutting down QDSP6v4 processors (hexagon)
1980 in low power audio subsystems. If you would like to record or
1981 play audio then say Y here.
1982
1983 If unsure, say N.
1984
1985config MSM_PIL_MODEM_QDSP6V4
1986 tristate "Modem QDSP6v4 (Hexagon) Boot Support"
Stephen Boyd2efa9962012-06-12 14:20:12 -07001987 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydbdb53f32012-06-05 18:39:47 -07001988 help
1989 Support for booting and shutting down QDSP6v4 processors (hexagon)
1990 in modem subsystems. If you would like to make or receive phone
1991 calls then say Y here.
1992
1993 If unsure, say N.
Stephen Boydeb819882011-08-29 14:46:30 -07001994
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001995config MSM_PIL_LPASS_QDSP6V5
Stephen Boyd633eb622012-06-13 12:05:35 -07001996 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
1997 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
1998 help
1999 Support for booting and shutting down QDSP6v5 (Hexagon) processors
2000 in low power audio subsystems. This driver also monitors the ADSP
2001 SMSM status bits and the ADSP's watchdog interrupt and restarts the
2002 ADSP if the processor encounters a fatal error.
Matt Wagantall4e2599e2012-03-21 22:31:35 -07002003
2004config MSM_PIL_MSS_QDSP6V5
Stephen Boyd3da4fd02012-07-06 10:00:12 -07002005 tristate "MSS QDSP6v5 (Hexagon) Boot Support"
2006 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantalle6e00d52012-03-08 17:39:07 -08002007 help
Stephen Boyd3da4fd02012-07-06 10:00:12 -07002008 Support for booting and shutting down QDSP6v5 (Hexagon) processors
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.
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07002013
Stephen Boyd322a9922011-09-20 01:05:54 -07002014config MSM_PIL_RIVA
2015 tristate "RIVA (WCNSS) Boot Support"
Stephen Boydfdec00d2012-05-10 17:04:49 -07002016 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd322a9922011-09-20 01:05:54 -07002017 help
2018 Support for booting and shutting down the RIVA processor (WCNSS).
2019 Riva is the wireless subsystem processor used in bluetooth, wireless
2020 LAN, and FM software applications.
2021
Stephen Boydd89eebe2011-09-28 23:28:11 -07002022config MSM_PIL_TZAPPS
2023 tristate "TZApps Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002024 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boydd89eebe2011-09-28 23:28:11 -07002025 help
2026 Support for booting and shutting down TZApps.
2027
2028 TZApps is an image that runs in the secure processor state. It is
2029 used to decrypt data and perform secure operations on the behalf of
2030 the kernel.
2031
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07002032config MSM_PIL_DSPS
2033 tristate "DSPS Boot Support"
Stephen Boydf169b4b2012-05-10 17:55:55 -07002034 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07002035 help
2036 Support for booting and shutting down ARM7 DSPS processors.
2037
2038 DSPS is a sensors offloading processor used for applications such
2039 as rotation detection, temperature, etc.
2040
Stephen Boyd7b973de2012-03-09 12:26:16 -08002041config MSM_PIL_VIDC
2042 tristate "Video Core Secure Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002043 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd7b973de2012-03-09 12:26:16 -08002044 help
2045 Support for authenticating the video core image.
2046
Tianyi Gou828798d2012-05-02 21:12:38 -07002047config MSM_PIL_VENUS
2048 tristate "VENUS (Video) Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002049 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Tianyi Gou828798d2012-05-02 21:12:38 -07002050 help
2051 Support for booting and shutting down the VENUS processor (Video).
2052 Venus is the Video subsystem processor used for video codecs.
2053
Matt Wagantall292aace2012-01-26 19:12:34 -08002054config MSM_PIL_GSS
Stephen Boydd86214b2012-05-10 15:26:35 -07002055 tristate "GSS (Cortex A5) Boot Support"
2056 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantall292aace2012-01-26 19:12:34 -08002057 help
2058 Support for booting and shutting down Cortex A5 processors which run
2059 GPS subsystem firmware.
2060
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002061config MSM_PIL_PRONTO
2062 tristate "PRONTO (WCNSS) Boot Support"
Stephen Boyd581fe852012-06-13 12:05:35 -07002063 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002064 help
2065 Support for booting and shutting down the PRONTO processor (WCNSS).
2066 PRONTO is the wireless subsystem processor used in bluetooth, wireless
2067 LAN, and FM software applications.
2068
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002069config MSM_SCM
2070 bool "Secure Channel Manager (SCM) support"
2071 default n
2072
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002073config SCORPION_Uni_45nm_BUG
2074 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
2075 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
2076 default y
2077 help
2078 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
2079 invalidating the Branch Predictor Array by Modified Virtual Address can
2080 create invalid entries in the TLB with the wrong ASID values on Scorpion
2081 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
2082 workaround for Scorpion Uniprocessor 45nm cores.
2083
2084 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
2085
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002086config MSM_BUSPM_DEV
2087 tristate "MSM Bus Performance Monitor Kernel Module"
2088 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
2089 default m
2090 help
2091 This kernel module is used to mmap() hardware registers for the
2092 performance monitors, counters, etc. The module can also be used to
2093 allocate physical memory which is used by bus performance hardware to
2094 dump performance data.
2095
Mona Hossain11c03ac2011-10-26 12:42:10 -07002096config MSM_TZ_LOG
2097 tristate "MSM Trust Zone (TZ) Log Driver"
2098 depends on DEBUG_FS
2099 help
2100 This option enables a driver with a debugfs interface for messages
2101 produced by the Secure code (Trust zone). These messages provide
2102 diagnostic information about TZ operation.
2103
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002104config MSM_RPM_LOG
2105 tristate "MSM Resource Power Manager Log Driver"
2106 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002107 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002108 default n
2109 help
2110 This option enables a driver which can read from a circular buffer
2111 of messages produced by the RPM. These messages provide diagnostic
2112 information about RPM operation. The driver outputs the messages
2113 via a debugfs node.
2114
2115config MSM_RPM_STATS_LOG
2116 tristate "MSM Resource Power Manager Stat Driver"
2117 depends on DEBUG_FS
Priyanka Mathur1af9d4b2012-10-30 14:55:44 -07002118 depends on MSM_RPM || MSM_RPM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002119 default n
2120 help
2121 This option enables a driver which reads RPM messages from a shared
2122 memory location. These messages provide statistical information about
2123 the low power modes that RPM enters. The drivers outputs the message
2124 via a debugfs node.
2125
Girish Mahadevan898c56d2012-06-05 16:09:19 -06002126config MSM_RPM_RBCPR_STATS_LOG
2127 tristate "MSM Resource Power Manager RPBCPR Stat Driver"
2128 depends on DEBUG_FS
2129 depends on MSM_RPM
2130 help
2131 This option enables a driver which reads RPM messages from a shared
2132 memory location. These messages provide statistical information about
2133 RBCPR (Rapid Bridge Core Power Reduction) information . The drivers
2134 outputs the message via a debugfs node.
2135
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002136config MSM_DIRECT_SCLK_ACCESS
2137 bool "Direct access to the SCLK timer"
2138 default n
2139
2140config IOMMU_API
2141 bool
Gregory Bean1963a2a2010-08-28 10:05:44 -07002142
Brian Swetland9e73c842007-11-26 04:12:13 -08002143config MSM_GPIOMUX
2144 bool
2145
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002146config MSM_SECURE_IO
Brian Swetland9e73c842007-11-26 04:12:13 -08002147 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002148
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002149config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002150 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002151
Taniya Dascd1d0232012-07-03 17:50:47 +05302152config MSM_MODEM_RESTART
2153 bool
2154
Matt Wagantall88b86312012-01-31 16:53:03 -08002155config MSM_PM2
2156 depends on PM
2157 bool
2158
2159config MSM_PM8X60
2160 depends on PM
2161 bool
2162
Girish Mahadevan388c3082012-09-10 15:30:36 -06002163config MSM_EVENT_TIMER
2164 bool "Event timer"
2165 help
2166 This option enables a modules that manages a list of event timers that
2167 need to be monitored by the PM. The enables the PM code to monitor
2168 events that require the core to be awake and ready to handle the
2169 event.
2170
Matt Wagantall88b86312012-01-31 16:53:03 -08002171config MSM_NOPM
2172 default y if !PM
2173 bool
2174
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002175config MSM_BUS_SCALING
2176 bool "Bus scaling driver"
2177 default n
2178
Gagan Mac85c70492011-06-10 16:07:47 -06002179config MSM_BUS_RPM_MULTI_TIER_ENABLED
2180 bool "RPM Multi-tiering Configuration"
2181 depends on MSM_BUS_SCALING
2182
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002183config MSM_WATCHDOG
2184 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002185 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002186 help
2187 This enables the watchdog as is present on 8x60. Currently we use
2188 core 0's watchdog, and reset the entire SoC if it times out. It does
2189 not run during the bootup process, so it will not catch any early
2190 lockups.
2191
Hanumant Singhd1f01022012-07-05 14:21:53 -07002192config MSM_WATCHDOG_V2
2193 bool "MSM Watchdog Support"
2194 help
2195 This enables the watchdog module. It causes kernel panic if the
2196 watchdog times out. It allows for detection of cpu hangs and
2197 deadlocks. It does not run during the bootup process, so it will
2198 not catch any early lockups.
2199
Hanumant Singh5e2541c2012-07-31 14:41:14 -07002200config MSM_MEMORY_DUMP
2201 bool "MSM Memory Dump Support"
2202 help
2203 This enables memory dump feature. It allows various client
2204 subsystems to register respective dump regions. At the time
2205 of deadlocks or cpu hangs these dump regions are captured to
2206 give a snapshot of the system at the time of the crash.
2207
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002208config MSM_DLOAD_MODE
2209 bool "Enable download mode on crashes"
Abhimanyu Kapurdd7f2692012-10-22 13:43:52 -07002210 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_MSM8974 || ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002211 default n
2212 help
2213 This makes the SoC enter download mode when it resets
2214 due to a kernel panic. Note that this doesn't by itself
2215 make the kernel reboot on a kernel panic - that must be
2216 enabled via another mechanism.
2217
Pratik Patel17f3b822011-11-21 12:41:47 -08002218config MSM_JTAG
Pratik Patel2963de42012-05-17 12:43:40 -07002219 bool "JTAG and kernel debug and trace support across power collapse"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002220 help
Pratik Patel2963de42012-05-17 12:43:40 -07002221 Enables support for kernel debugging (specifically breakpoints) and
2222 processor tracing across power collapse both for JTag and OS hosted
2223 software running on the target. Enabling this will ensure debug
2224 and ETM registers are saved and restored across power collapse.
2225
2226 For production builds, you should probably say 'N' here to avoid
2227 potential power, performance and memory penalty.
Pratik Patel7831c082011-06-08 21:44:37 -07002228
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002229config MSM_ETM
2230 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002231 depends on ARCH_MSM8X60
2232 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002233 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002234 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002235
Lynus Vazdde09ee2012-01-05 13:28:22 +05302236config MSM_SLEEP_STATS_DEVICE
2237 bool "Enable exporting of MSM sleep device stats to userspace"
2238
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302239config MSM_RUN_QUEUE_STATS
2240 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Krishna Vankae2922052012-03-02 09:59:12 +05302241 depends on (MSM_SOC_REV_A || ARCH_MSM8X60 || ARCH_MSM8960)
2242 help
2243 This option enalbes statistics collection on Run Queue. A daemon
2244 in user mode, called MPDecision will be using this data to decide
2245 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302246
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002247config MSM_STANDALONE_POWER_COLLAPSE
2248 bool "Enable standalone power collapse"
2249 default n
2250
2251config MSM_GSBI9_UART
2252 bool "Enable GSBI9 UART device"
2253 default n
2254 help
2255 This enables GSBI9 configured into UART.
2256
2257config MSM_SHARED_GPIO_FOR_UART2DM
2258 bool "Use shared GPIOs into UART mode"
2259 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2260 help
2261 This option configures GPIO muxed with SDC4/MMC3
2262 8-bit mode into UART mode. It is used for serial
2263 console on UART2DM. Say Y if you want to have
2264 serial console on UART2DM.
2265
2266config MSM_SHOW_RESUME_IRQ
2267 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002268 depends on (ARM_GIC || PMIC8058)
2269 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002270 default n
2271 help
2272 This option logs wake up interrupts that have triggered just before
2273 the resume loop unrolls. Say Y if you want to debug why the system
2274 resumed.
2275
2276config BT_MSM_PINTEST
2277 tristate "MSM Bluetooth Pin Connectivity Test"
2278 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2279 default n
2280 help
2281 Bluetooth MSM Pin Connectivity test module.
2282 This driver provides support for verifying the MSM to BT pin
2283 connectivity.
2284
2285config MSM_FAKE_BATTERY
2286 depends on POWER_SUPPLY
2287 default n
2288 bool "MSM Fake Battery"
2289 help
2290 Enables MSM fake battery driver.
2291
2292config MSM_QDSP6_APR
2293 bool "Audio QDSP6 APR support"
2294 depends on MSM_SMD
2295 default n
2296 help
2297 Enable APR IPC protocol support between
2298 application processor and QDSP6. APR is
2299 used by audio driver to configure QDSP6's
2300 ASM, ADM and AFE.
2301
Joonwoo Park91d95462012-08-02 10:55:54 -07002302config MSM_QDSP6_APRV2
2303 bool "Audio QDSP6 APRv2 support"
2304 depends on MSM_SMD
2305 default n
2306 help
2307 Enable APRv2 IPC protocol support between
2308 application processor and QDSP6. APR is
2309 used by audio driver to configure QDSP6's
2310 ASM, ADM and AFE.
2311
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -07002312config MSM_QDSP6_CODECS
2313 bool "Audio Codecs on QDSP6 APR "
2314 depends on MSM_SMD
2315 default n
2316 help
2317 Enable Audio codecs with APR IPC protocol support between
2318 application processor and QDSP6. APR is
2319 used by audio driver to configure QDSP6's
2320 ASM, ADM and AFE.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002321
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002322config MSM_QDSP6V2_CODECS
2323 bool "Audio QDSP6V2 APR support"
2324 depends on MSM_SMD
2325 help
2326 Enable Audio codecs with APR IPC protocol support between
2327 application processor and QDSP6 for B-family. APR is
2328 used by audio driver to configure QDSP6's
2329 ASM, ADM and AFE.
2330
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002331config MSM_AUDIO_QDSP6
2332 bool "QDSP6 HW Audio support"
2333 select SND_SOC_MSM_QDSP6_INTF
2334 default n
2335 help
2336 Enable HW audio support in QDSP6.
2337 QDSP6 can support HW encoder & decoder and audio processing
2338
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002339config MSM_AUDIO_QDSP6V2
2340 bool "QDSP6V2 HW Audio support"
2341 select SND_SOC_MSM_QDSP6V2_INTF
2342 help
2343 Enable HW audio support in QDSP6V2.
2344 QDSP6V2 can support HW encoder & decoder and
2345 audio processing. It will enable support for
2346 AAC, AMRNB, AMRWB, EVRC, MP3, QCELP among
2347 others.
2348
Joonwoo Park4a14a552012-08-02 11:03:21 -07002349config MSM_ADSP_LOADER
2350 tristate "ADSP loader support"
2351 select SND_SOC_MSM_APRV2_INTF
2352 depends on MSM_AUDIO_QDSP6V2 && m
2353 help
2354 Enable ADSP image loader.
2355 The ADSP loader brings ADSP out of reset
2356 for the platforms that use APRv2.
2357 Say M if you want to enable this module.
2358
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +02002359config MSM_ULTRASOUND_A
2360 bool "QDSP6 HW Ultrasound support"
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002361 help
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +02002362 Enable HW ultrasound support in QDSP6.
2363 QDSP6 can support HW encoder & decoder and
2364 ultrasound processing. It will enable
2365 ultrasound data paths between
2366 HW and services, calculating input events
2367 upon the ultrasound data.
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002368
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002369config MSM_RPC_VIBRATOR
2370 bool "RPC based MSM Vibrator Support"
2371 depends on MSM_ONCRPCROUTER
2372 help
2373 Enable the vibrator support on MSM over RPC. The vibrator
2374 is connected on the PMIC. Say Y if you want to enable this
2375 feature.
2376
2377config PM8XXX_RPC_VIBRATOR
2378 bool "RPC based Vibrator on PM8xxx PMICs"
2379 depends on MSM_RPC_VIBRATOR
2380 help
2381 Enable the vibrator support on MSM over RPC. The vibrator
2382 is connected on the PM8XXX PMIC. Say Y if you want to enable
2383 this feature.
2384
2385config MSM_SPM_V1
2386 bool "Driver support for SPM Version 1"
2387 help
2388 Enables the support for Version 1 of the SPM driver. SPM hardware is
2389 used to manage the processor power during sleep. The driver allows
2390 configuring SPM to allow different power modes.
2391
2392config MSM_SPM_V2
2393 bool "Driver support for SPM Version 2"
2394 help
2395 Enables the support for Version 2 of the SPM driver. SPM hardware is
2396 used to manage the processor power during sleep. The driver allows
2397 configuring SPM to allow different power modes.
2398
2399config MSM_L2_SPM
2400 bool "SPM support for L2 cache"
2401 depends on MSM_SPM_V2
2402 help
2403 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2404 control of L2 cache low power mode with a Subsystem Power manager.
2405 Enabling this driver allows configuring L2 SPM for low power modes
2406 on supported chipsets.
2407
Laura Abbott2d1760b2011-09-29 21:31:24 -07002408config MSM_MULTIMEDIA_USE_ION
2409 bool "Multimedia suport using Ion"
2410 depends on ION_MSM
2411 help
2412 Enable support for multimedia drivers using Ion for buffer management
2413 instead of pmem. Selecting this may also involve userspace
2414 dependencies as well.
2415
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002416config MSM_OCMEM
2417 bool "MSM On-Chip memory driver (OCMEM)"
2418 help
2419 Enable support for On-Chip Memory available on certain MSM chipsets.
2420 OCMEM is a low latency, high performance pool shared by subsystems.
2421
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002422config MSM_OCMEM_LOCAL_POWER_CTRL
2423 bool "OCMEM Local Power Control"
2424 depends on MSM_OCMEM
2425 help
2426 Enable direct power management of the OCMEM core by the
2427 OCMEM driver. By default power management is delegated to
2428 the RPM. Selecting this option causes the OCMEM driver to
2429 directly handle the various macro power transitions.
2430
2431config MSM_OCMEM_DEBUG
2432 bool "OCMEM Debug Support"
2433 depends on MSM_OCMEM
2434 help
2435 Enable debug options for On-chip Memory (OCMEM) driver.
2436 Various debug options include memory, power and latency.
2437 Choosing one of these options allows debugging of each
2438 individual subsystem separately.
2439
Naveen Ramarajc71b2de2012-08-20 12:35:52 -07002440config MSM_OCMEM_NONSECURE
2441 bool "OCMEM Non Secure Mode"
2442 depends on MSM_OCMEM_DEBUG
2443 help
2444 Disable OCMEM interaction with secure processor.
2445 By default OCMEM is secured and accesses for each master
2446 is requested by the OCMEM driver. Selecting this option
2447 causes the OCMEM memory to be in non-secure state unless
2448 its locked down by the secure processor.
2449
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002450config MSM_OCMEM_POWER_DEBUG
2451 bool "OCMEM Power Debug Support"
2452 depends on MSM_OCMEM_DEBUG
2453 help
2454 Enable debug support for OCMEM power management.
2455 This adds support for verifying all power management
2456 related operations of OCMEM. Both local power management
2457 and RPM assisted power management operations are supported.
2458
Naveen Ramaraj4b1d9392012-08-06 21:05:14 -07002459config MSM_OCMEM_POWER_DISABLE
2460 bool "OCMEM Disable Power Control"
2461 depends on MSM_OCMEM_DEBUG
2462 help
2463 Disable all OCMEM power management.
2464 This keeps all OCMEM macros turned ON at all times thus
2465 never allowing them to be turned OFF. Both local power
2466 management and RPM assisted power modes are supported.
2467
Laura Abbottad340ff2012-01-04 14:23:48 -08002468config MSM_RTB
2469 bool "Register tracing"
2470 help
2471 Add support for logging different events to a small uncached
2472 region. This is designed to aid in debugging reset cases where the
2473 caches may not be flushed before the target resets.
2474
2475config MSM_RTB_SEPARATE_CPUS
2476 bool "Separate entries for each cpu"
2477 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002478 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002479 help
2480 Under some circumstances, it may be beneficial to give dedicated space
2481 for each cpu to log accesses. Selecting this option will log each cpu
2482 separately. This will guarantee that the last acesses for each cpu
2483 will be logged but there will be fewer entries per cpu
2484
Stepan Moskovchenko57884842012-06-07 17:35:49 -07002485config MSM_EBI_ERP
2486 bool "External Bus Interface (EBI) error reporting"
2487 help
2488 Say 'Y' here to enable reporting of external bus interface errors to
2489 the kernel log. Information such as the offending address and
2490 transaction type will be logged. This may be useful for debugging
2491 seemingly broken memory accesses.
2492
2493 For production builds, you should probably say 'N' here.
2494
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002495config MSM_CACHE_ERP
2496 bool "Cache / CPU error reporting"
2497 depends on ARCH_MSM_KRAIT
2498 help
2499 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2500 log. Enabling this feature can be used as a system debugging technique
2501 if cache corruption is suspected. Cache error statistics will also be
2502 reported in /proc/cpu/msm_cache_erp.
2503
2504 For production builds, you should probably say 'N' here.
2505
2506config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002507 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002508 depends on MSM_CACHE_ERP
2509 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002510 To cause the kernel to panic whenever an L1 cache error is detected, say
2511 'Y' here. This may be useful as a debugging technique if general system
2512 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002513
2514 For production builds, you should probably say 'N' here.
2515
Stepan Moskovchenko7035f652012-05-31 17:48:01 -07002516config MSM_L1_ERR_LOG
2517 bool "Log CPU ERP events to system memory"
2518 depends on MSM_CACHE_ERP
2519 help
2520 Enable logging CPU ERP events to an area of memory that will be
2521 preserved across a system reset. This may be useful for detecting and
2522 troubleshooting ERP-related system crashes in the field.
2523
2524 For production builds, you may want to say 'Y' here.
2525
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002526config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2527 bool "Report L2 master port slave/decode errors in kernel log"
2528 depends on MSM_CACHE_ERP
2529 help
2530 Master port errors can occur when a memory request is not properly
2531 handled by the destination slave. This can occur if the destination
2532 register does not exist or is inaccessible due to security
2533 restrictions or (in some cases) clock configuration. Enabling this
2534 option will cause a backtrace to be printed to the kernel log whenever
2535 such an error is encountered. Note that the error is reported as an
2536 interrupt rather than as an exception, meaning that the backtrace may
2537 have some skid. This option may help with debugging, though production
2538 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002539
2540config MSM_L2_ERP_PORT_PANIC
2541 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002542 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002543 help
2544 Master port errors can occur when a memory request is not properly
2545 handled by the destination slave. Enable this option to catch drivers
2546 which attempt to access bad areas of the address space, or access
2547 hardware registers in an improper state (such as certain clocks not
2548 being on). This option may help with debugging, though production
2549 builds should probably say 'N' here.
2550
2551config MSM_L2_ERP_1BIT_PANIC
2552 bool "Panic on recoverable L2 soft errors"
2553 depends on MSM_CACHE_ERP
2554 help
2555 Enable this option to cause a kernel panic whenever the L2 cache
2556 encounters a single-bit (correctable) soft error. This option should
2557 only be enabled when doing low-level debugging where cache corruption
2558 is suspected.
2559
2560 For production builds, you should definitely say 'N' here.
2561
2562config MSM_L2_ERP_2BIT_PANIC
2563 bool "Panic on unrecoverable L2 soft errors"
2564 depends on MSM_CACHE_ERP
2565 help
2566 Enable this option to cause a kernel panic whenever the L2 cache
2567 encounters a double-bit (non-correctable) soft error. Debug builds
2568 will likely benefit from having this option enabled to catch cache
2569 problems as soon as possible.
2570
2571 For production builds, it may be acceptable to say 'N' here, since
2572 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002573
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002574config MSM_DCVS
2575 bool "Use MSM DCVS for CPU/GPU Frequency control"
2576 depends on MSM_SCM
2577 help
2578 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2579 The DCVS manager allows idle driver to feed the idle information to the
2580 algorithm and the algorithm returns a frequency for the core which is
2581 passed to the frequency change driver.
2582
Pankaj Kumar32ce1ea2012-04-04 20:29:29 +05302583config MSM_CPR
2584 tristate "Use MSM CPR in S/W mode"
2585 help
2586 Enable CPR (core power reduction) in S/W mode, where the processor
2587 get's the notification from CPR block and programs the PMIC.
2588
2589config MSM_VP_REGULATOR
2590 tristate "Use MSM PMIC8029 C2 regulator"
2591 depends on ARCH_MSM8625
2592 help
2593 Enable MSM PMIC8029 C2 regulator support using APC_PLEVEL access
2594 for MSMs like 8625.
2595
Taniya Dasc43e6872012-03-21 16:41:14 +05302596config HAVE_ARCH_HAS_CURRENT_TIMER
2597 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002598
2599config MSM_CACHE_DUMP
2600 bool "Cache dumping support"
2601 help
2602 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2603 This allows for analysis of the caches in case cache corruption is
2604 suspected.
2605
Laura Abbott7b637362012-03-29 16:43:49 -07002606config MSM_CACHE_DUMP_ON_PANIC
2607 bool "Dump caches on panic"
2608 depends on MSM_CACHE_DUMP
2609 help
2610 By default, the caches are flushed on panic. This means that trying to
2611 look at them in a RAM dump will give useless data. Select this if you
2612 want to dump the L1 and L2 caches on panic before any flush occurs.
2613 If unsure, say N
2614
Jack Phamccbbfab2012-04-09 19:50:20 -07002615config MSM_HSIC_SYSMON
2616 tristate "MSM HSIC system monitor driver"
2617 depends on USB
2618 help
2619 Add support for bridging with the system monitor interface of MDM
2620 over HSIC. This driver allows the local system monitor to
2621 communicate with the remote system monitor interface.
2622
2623config MSM_HSIC_SYSMON_TEST
2624 tristate "MSM HSIC system monitor bridge test"
2625 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2626 help
2627 Enable the test hook for the Qualcomm system monitor HSIC driver.
2628 This will create a debugfs file entry named "hsic_sysmon_test" which
2629 can be read and written to send character data to the sysmon port of
2630 the modem over USB.
2631
Anirudh Ghayal0d2291a2012-09-20 21:31:41 +05302632config MSM_RPC_PMIC
2633 tristate "MSM RPC PMIC driver"
2634 depends on MSM_ONCRPCROUTER
2635 help
2636 This driver supports the PMIC functionality over RPC for those MSM's
2637 which do not have a direct access to PMIC. It supports ability to
2638 configure MPP, GPIO and all the other supported peripherals of the
2639 PMIC.
2640
Anirudh Ghayald3a63732012-09-20 22:13:13 +05302641config MSM_RPC_USB
2642 tristate "MSM RPC USB driver"
2643 depends on MSM_ONCRPCROUTER
2644 help
2645 This driver supports the USB configuration support over the RPC
2646 interface. It support the HS USB module connected to the MSM
2647 and FS USB which is connected over the PMIC. This support is
2648 required for MSMs on which the APPS does not have a direct access
2649 to the PMIC.
2650
2651config MSM_RPC_PMAPP
2652 tristate "MSM RPC PMIC APP driver"
2653 depends on MSM_ONCRPCROUTER
2654 help
2655 This driver supports the configuration of various PMIC APP modules
2656 such as display backlight, vreg pin-ctrl, smps clock over the RPC
2657 interface. This support is required for MSMs on which the APPS
2658 does not have a direct access to the PMIC.
Pushkar Joshi0fc73462012-09-26 17:59:31 -07002659
2660config MSM_ENABLE_WDOG_DEBUG_CONTROL
2661 bool "MSM Watchdog driver to disable debug Image"
2662 help
2663 This driver supports the configuration of the GCC_WDOG_DEBUG register
2664 used to control debug image.
2665 This support is currently required for MSM8974 to disable debug image
2666 on PS HOLD reset
Taniya Dasea4263f92012-08-22 18:52:51 +05302667
2668config MSM_FIQ
2669 bool "Enable FIQ for debugging"
2670 depends on ARCH_MSM8625
2671 select FIQ
Taniya Das36e4aa12012-07-04 18:27:16 +05302672 select GIC_SECURE
Taniya Dasea4263f92012-08-22 18:52:51 +05302673 help
2674 Enable any line to be used as an FIQ. This will help debugging
2675 if apps is not responding and holding lock with irqs disabled.
2676 Modem will then generate an raise a FIQ on this line before sending
2677 SMSM reset.
Greg Reidb1d240a2012-10-12 12:20:31 -04002678
2679config MSM_USE_USER_ACCESSIBLE_TIMERS
2680 bool "Enables mapping an MSM timer counter page to user space."
2681 depends on ARM_USE_USER_ACCESSIBLE_TIMERS
2682 help
2683 Enables MSM-specific user accessible timers via a shared
2684 memory page containing the cycle counter.
2685
Brian Swetland9e73c842007-11-26 04:12:13 -08002686endif