blob: 887fcbfa70336ac8a505de9bdb283b5fe929557c [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
Syed Rameez Mustafaf1bdd712012-11-20 14:56:44 -0800396 select MSM_NATIVE_RESTART
397 select MSM_RESTART_V2
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700398endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700399
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700400choice
401 prompt "MSM SoC Revision"
402 default MSM_SOC_REV_NONE
403config MSM_SOC_REV_NONE
404 bool "N/A"
405 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
406 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walkerbf83de42010-03-16 16:29:44 -0700407config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700408 bool "Rev. A"
409 select ARCH_MSM7X27A if ARCH_MSM7X27
Daniel Walkerbf83de42010-03-16 16:29:44 -0700410endchoice
411
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700412config MSM_KRAIT_TBB_ABORT_HANDLER
413 bool "Krait TBB/TBH data abort handler"
414 depends on ARCH_MSM_KRAIT
415 depends on ARM_THUMB
416 help
417 Certain early samples of the Krait processor may generate data
418 aborts for TBB / TBH instructions that fail their condition code
419 checks. Enabling this option will ignore these erroneous data aborts,
420 at the expense of a very small performance penalty.
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800421
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700422 If unsure, say N.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700423
424config ARCH_MSM_ARM11
425 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700426
Daniel Walkerbf83de42010-03-16 16:29:44 -0700427config ARCH_MSM_SCORPION
428 bool
429
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700430config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700431 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800432 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700433
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700434config MSM_SMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700435 select HAVE_SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700436 bool
437
438config ARCH_MSM_SCORPIONMP
439 select ARCH_MSM_SCORPION
440 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530441 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700442 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700443 bool
444
445config ARCH_MSM_KRAITMP
446 select ARCH_MSM_KRAIT
447 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530448 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel2963de42012-05-17 12:43:40 -0700449 select MSM_JTAG if MSM_QDSS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700450 bool
451
Taniya Das43bcdd62011-12-02 17:33:27 +0530452config ARCH_MSM_CORTEXMP
453 select MSM_SMP
454 bool
455
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700456config MSM_KRAIT_WFE_FIXUP
457 bool
458
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700459config MSM_RESTART_V2
460 bool
461
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700462config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800463 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700464
465config ARCH_MSM7X27A
466 bool
467 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700468 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530469 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530470 select ARM_GIC
471 select ARCH_MSM_CORTEXMP
Trilok Sonib856ab92012-06-26 14:33:28 +0530472 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530473 select ARM_HAS_SG_CHAIN
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700474
Gregory Beanf9f3d312010-04-30 22:06:50 -0700475config MSM_VIC
476 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700477
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700478config MSM_RPM
479 bool "Resource Power Manager"
480 select MSM_MPM
481
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600482config MSM_RPM_SMD
483 depends on MSM_SMD
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600484 select MSM_MPM_OF
485 bool "RPM driver using SMD protocol"
486 help
487 RPM is the dedicated hardware engine for managing shared SoC
488 resources. This config adds driver support for using SMD as a
489 transport layer communication with RPM hardware. It also selects
490 the MSM_MPM config that programs the MPM module to monitor interrupts
491 during sleep modes.
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600492
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700493config MSM_MPM
494 bool "Modem Power Manager"
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600495 help
496 MPM is a dedicated hardware resource responsible for entering and
497 waking up from a system wide low power mode. The MPM driver tracks
498 the wakeup interrupts and configures the MPM to monitor the wakeup
499 interrupts when going to a system wide sleep mode.
500
501config MSM_MPM_OF
502 bool "Modem Power Manager"
503 depends on CONFIG_OF
504 help
505 MPM is a dedicated hardware resource responsible for entering and
506 waking up from a system wide low power mode. The MPM driver tracks
507 the wakeup interrupts and configures the MPM to monitor the wakeup
508 interrupts when going to a system wide sleep mode. This config option
509 enables the MPM driver that supports initialization from a device
510 tree
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700511
512config MSM_XO
513 bool
514
515config MSM_REMOTE_SPINLOCK_DEKKERS
516 bool
517config MSM_REMOTE_SPINLOCK_SWP
518 bool
519config MSM_REMOTE_SPINLOCK_LDREX
520 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600521config MSM_REMOTE_SPINLOCK_SFPB
522 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700523config MSM_ADM3
524 bool
525
526menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700527
528config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700529 depends on ARCH_MSM7X01A
530 depends on MSM_STACKED_MEMORY
531 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700532 bool "Halibut Board (QCT SURF7201A)"
533 help
534 Support for the Qualcomm SURF7201A eval board.
535
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700536config MACH_MSM7201A_SURF
537 depends on ARCH_MSM7X01A
538 depends on MSM_STACKED_MEMORY
539 default y
540 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700541 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700542 Support for the Qualcomm MSM7201A SURF eval board.
543
544config MACH_MSM7201A_FFA
545 depends on ARCH_MSM7X01A
546 depends on MSM_STACKED_MEMORY
547 default y
548 bool "MSM7201A FFA"
549 help
550 Support for the Qualcomm MSM7201A FFA eval board.
551
552config MACH_TROUT
553 depends on ARCH_MSM7X01A
554 depends on MSM_STACKED_MEMORY
555 default y
556 bool "Trout"
557
558config MACH_MSM7X27_SURF
559 depends on ARCH_MSM7X27
560 depends on !MSM_STACKED_MEMORY
561 default y
562 bool "MSM7x27 SURF"
563 help
564 Support for the Qualcomm MSM7x27 SURF eval board.
565
566config MACH_MSM7X27_FFA
567 depends on ARCH_MSM7X27
568 depends on !MSM_STACKED_MEMORY
569 default y
570 bool "MSM7x27 FFA"
571 help
572 Support for the Qualcomm MSM7x27 FFA eval board.
573
574config MACH_MSM7X27A_RUMI3
575 depends on ARCH_MSM7X27A
576 depends on !MSM_STACKED_MEMORY
577 default y
578 bool "MSM7x27A RUMI3"
579 help
580 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
581
582config MACH_MSM7X27A_SURF
583 depends on ARCH_MSM7X27A
584 depends on !MSM_STACKED_MEMORY
585 default y
586 bool "MSM7x27A SURF"
587 help
588 Support for the Qualcomm MSM7x27A SURF.
589
590config MACH_MSM7X27A_FFA
591 depends on ARCH_MSM7X27A
592 depends on !MSM_STACKED_MEMORY
593 default y
594 bool "MSM7x27A FFA"
595 help
596 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700597
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530598config MACH_MSM7625A_SURF
599 depends on ARCH_MSM7X27A
600 depends on !MSM_STACKED_MEMORY
601 default y
602 bool "MSM7625A SURF"
603 help
604 Support for the Qualcomm MSM7625A SURF.
605
606config MACH_MSM7625A_FFA
607 depends on ARCH_MSM7X27A
608 depends on !MSM_STACKED_MEMORY
609 default y
610 bool "MSM7625A FFA"
611 help
612 Support for the Qualcomm MSM7625A FFA.
613
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530614config MACH_MSM7627A_QRD1
615 depends on ARCH_MSM7X27A
616 depends on !MSM_STACKED_MEMORY
617 default y
618 bool "MSM7627A QRD1"
619 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530620 Support for the Qualcomm MSM7627A Reference Design.
621
622config MACH_MSM7627A_QRD3
623 depends on ARCH_MSM7X27A
624 depends on !MSM_STACKED_MEMORY
625 default y
626 bool "MSM7627A QRD3"
627 help
628 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530629
Taniya Dasc868a2e2012-01-03 10:18:47 +0530630config MACH_MSM7627A_EVB
631 depends on ARCH_MSM7X27A
632 depends on !MSM_STACKED_MEMORY
633 default y
634 bool "MSM7627A EVB"
635 help
636 Support for the Qualcomm MSM7627A Reference Design.
637
Taniya Das43bcdd62011-12-02 17:33:27 +0530638config MACH_MSM8625_RUMI3
639 depends on ARCH_MSM8625
640 depends on !MSM_STACKED_MEMORY
641 default y
642 bool "MSM8625 RUMI3"
643 help
644 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
645
Taniya Dase3027e22012-02-27 16:32:27 +0530646config MACH_MSM8625_SURF
647 depends on ARCH_MSM8625
648 depends on !MSM_STACKED_MEMORY
649 default y
650 bool "MSM8625 SURF"
651 help
652 Support for the Qualcomm MSM8625 SURF.
653
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530654config MACH_MSM8625_FFA
655 depends on ARCH_MSM8625
656 depends on !MSM_STACKED_MEMORY
657 default y
658 bool "MSM8625 FFA"
659 help
660 Support for the Qualcomm MSM8625 FFA.
661
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530662config MACH_MSM8625_EVB
663 depends on ARCH_MSM8625
664 depends on !MSM_STACKED_MEMORY
665 default y
666 bool "MSM8625 EVB"
667 help
668 Support for the Qualcomm MSM8625 Reference Design.
669
Taniya Dasbd096542012-03-15 17:43:45 +0530670config MACH_MSM8625_QRD7
671 depends on ARCH_MSM8625
672 depends on !MSM_STACKED_MEMORY
673 default y
674 bool "MSM8625 QRD7"
675 help
676 Support for the Qualcomm MSM8625 Reference Design.
677
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530678config MACH_MSM8625_EVT
679 depends on ARCH_MSM8625
680 depends on !MSM_STACKED_MEMORY
681 default y
682 bool "MSM8625 EVT"
683 help
684 Support for the Qualcomm MSM8625 Reference Design.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700685
Channagoud Kadabi2bd65c82012-10-12 15:14:23 +0530686config MACH_QRD_SKUD_PRIME
687 depends on ARCH_MSM8625
688 depends on !MSM_STACKED_MEMORY
689 default y
690 bool "MSM8625 SKUD PRIME"
691 help
692 Support for the Qualcomm MSM8625 SKUD prime Reference Design.
693 Add support for a SKUD prime reference design based on MSM8x25
694 chipset. This device is much closer to a phone than regular form
695 factor devices, with new touch, display panel and other hardware
696 configurations.
697
Daniel Walker7b521612010-05-06 12:44:57 -0700698config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700699 depends on ARCH_MSM7X30
700 depends on !MSM_STACKED_MEMORY
701 default y
702 bool "MSM7x30 SURF"
703 help
704 Support for the Qualcomm MSM7x30 SURF eval board.
705
706config MACH_MSM7X30_FFA
707 depends on ARCH_MSM7X30
708 depends on !MSM_STACKED_MEMORY
709 default y
710 bool "MSM7x30 FFA"
711 help
712 Support for the Qualcomm MSM7x30 FFA eval board.
713
714config MACH_MSM7X30_FLUID
715 depends on ARCH_MSM7X30
716 depends on !MSM_STACKED_MEMORY
717 default y
718 bool "MSM7x30 FLUID"
719 help
720 Support for the Qualcomm MSM7x30 FLUID eval board.
721
722config MACH_SAPPHIRE
723 depends on ARCH_MSM7X01A
724 default n
725 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700726
Daniel Walker4ad15e62010-05-06 13:54:17 -0700727config MACH_QSD8X50_SURF
728 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700729 depends on MSM_SOC_REV_NONE
730 depends on MSM_STACKED_MEMORY
731 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700732 bool "QSD8x50 SURF"
733 help
734 Support for the Qualcomm QSD8x50 SURF eval board.
735
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700736config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700737 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700738 depends on MSM_SOC_REV_NONE
739 depends on MSM_STACKED_MEMORY
740 default y
741 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700742 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700743 Support for the Qualcomm QSD8x50 FFA eval board.
744
745config MACH_MSM7X25_SURF
746 depends on ARCH_MSM7X25
747 depends on !MSM_STACKED_MEMORY
748 default y
749 bool "MSM7x25 SURF"
750 help
751 Support for the Qualcomm MSM7x25 SURF eval board.
752
753config MACH_MSM7X25_FFA
754 depends on ARCH_MSM7X25
755 depends on !MSM_STACKED_MEMORY
756 default y
757 bool "MSM7x25 FFA"
758 help
759 Support for the Qualcomm MSM7x25 FFA eval board.
760
761config MACH_MSM8X55_SURF
762 depends on ARCH_MSM7X30
763 depends on !MSM_STACKED_MEMORY
764 default y
765 bool "MSM8X55 SURF"
766 help
767 Support for the Qualcomm MSM8x55 SURF eval board.
768
769config MACH_MSM8X55_FFA
770 depends on ARCH_MSM7X30
771 depends on !MSM_STACKED_MEMORY
772 default y
773 bool "MSM8X55 FFA"
774 help
775 Support for the Qualcomm MSM8x55 FFA eval board.
776
777config MACH_MSM8X55_SVLTE_FFA
778 depends on ARCH_MSM7X30
779 depends on !MSM_STACKED_MEMORY
780 default y
781 bool "MSM8X55 SVLTE FFA"
782 help
783 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
784
785config MACH_MSM8X55_SVLTE_SURF
786 depends on ARCH_MSM7X30
787 depends on !MSM_STACKED_MEMORY
788 default y
789 bool "MSM8X55 SVLTE SURF"
790 help
791 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700792
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700793config MACH_MSM8X60_SURF
794 depends on ARCH_MSM8X60
795 default n
796 bool "MSM8x60 SURF"
797 help
798 Support for the Qualcomm MSM8x60 SURF eval board.
799
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700800config MACH_MSM8X60_FFA
801 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700802 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700803 bool "MSM8x60 FFA"
804 help
805 Support for the Qualcomm MSM8x60 FFA eval board.
806
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700807config MACH_MSM8X60_FLUID
808 depends on ARCH_MSM8X60
809 default n
810 bool "MSM8x60 FLUID"
811 help
812 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
813 8x60 target which has a form factor that is much closer to that
814 of a phone than other targets. It also has a new display and
815 touchscreen controller.
816
817config MACH_MSM8X60_FUSION
818 depends on ARCH_MSM8X60
819 default n
820 bool "MSM8x60 FUSION"
821 help
822 Support for the Qualcomm MSM8x60 Fusion SURF device.
823
824config MACH_MSM8X60_FUSN_FFA
825 depends on ARCH_MSM8X60
826 default n
827 bool "MSM8x60 FUSN FFA"
828 help
829 Support for the Qualcomm MSM8x60 Fusion FFA device.
830
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400831config MACH_MSM8X60_DRAGON
832 depends on ARCH_MSM8X60
833 default n
834 bool "MSM8x60 DRAGON"
835 help
836 Support for the Qualcomm MSM8x60 Dragon board.
837
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700838config MACH_MSM8960_CDP
839 depends on ARCH_MSM8960
840 bool "MSM8960 CDP"
841 help
842 Support for the Qualcomm MSM8960 CDP device.
843
844config MACH_MSM8960_MTP
845 depends on ARCH_MSM8960
846 bool "MSM8960 MTP"
847 help
848 Support for the Qualcomm MSM8960 MTP device.
849
850config MACH_MSM8960_FLUID
851 depends on ARCH_MSM8960
852 bool "MSM8960 FLUID"
853 help
854 Support for the Qualcomm MSM8960 FLUID device.
855
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300856config MACH_MSM8960_LIQUID
857 depends on ARCH_MSM8960
858 bool "MSM8960 LIQUID"
859 help
860 Support for the Qualcomm MSM8960 LIQUID device.
861
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700862config MACH_MSM8930_CDP
863 depends on ARCH_MSM8930
864 bool "MSM8930 CDP"
865 help
866 Support for the Qualcomm MSM8930 CDP device.
867
868config MACH_MSM8930_MTP
869 depends on ARCH_MSM8930
870 bool "MSM8930 MTP"
871 help
872 Support for the Qualcomm MSM8930 MTP device.
873
874config MACH_MSM8930_FLUID
875 depends on ARCH_MSM8930
876 bool "MSM8930 FLUID"
877 help
878 Support for the Qualcomm MSM8930 FLUID device.
879
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800880config MACH_MSM8627_CDP
881 depends on ARCH_MSM8930
882 bool "MSM8627 CDP"
883 help
884 Support for the Qualcomm MSM8627 CDP device.
885
886config MACH_MSM8627_MTP
887 depends on ARCH_MSM8930
888 bool "MSM8627 MTP"
889 help
890 Support for the Qualcomm MSM8627 MTP device.
891
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700892config MACH_MSM9615_CDP
893 depends on ARCH_MSM9615
894 bool "MSM9615 CDP"
895 help
896 Support for the Qualcomm MSM9615 CDP device.
897
898config MACH_MSM9615_MTP
899 depends on ARCH_MSM9615
900 bool "MSM9615 MTP"
901 help
902 Support for the Qualcomm MSM9615 MTP device.
903
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700904config MSM_USE_TSIF1
905 depends on ARCH_MSM8X60
906 bool "MSM8x60 use TSIF1"
907 help
908 Selects TSIF1 core to be used rather than TSIF0.
909 The two TSIF cores share the same DM configuration
910 so they cannot be used simultaneously.
911
Joel King82b7e3f2012-01-05 10:03:27 -0800912config MACH_APQ8064_CDP
913 depends on ARCH_APQ8064
914 bool "APQ8064 CDP"
915 help
916 Support for the Qualcomm APQ8064 CDP device.
917
918config MACH_APQ8064_MTP
919 depends on ARCH_APQ8064
920 bool "APQ8064 MTP"
921 help
922 Support for the Qualcomm APQ8064 MTP device.
923
924config MACH_APQ8064_LIQUID
925 depends on ARCH_APQ8064
926 bool "APQ8064 LIQUID"
927 help
928 Support for the Qualcomm APQ8064 LIQUID device.
929
Joel King064bbf82012-04-01 13:23:39 -0700930config MACH_MPQ8064_CDP
931 depends on ARCH_APQ8064
932 bool "MPQ8064 CDP"
933 help
934 Support for the Qualcomm MPQ8064 CDP device.
935
Joel King11ca8202012-02-13 16:19:03 -0800936config MACH_MPQ8064_HRD
937 depends on ARCH_APQ8064
938 bool "MPQ8064 HRD"
939 help
940 Support for the Qualcomm MPQ8064 HRD device.
941
942config MACH_MPQ8064_DTV
943 depends on ARCH_APQ8064
944 bool "MPQ8064 DTV"
945 help
946 Support for the Qualcomm MPQ8064 DTV device.
947
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700948config MACH_FSM9XXX_SURF
949 depends on ARCH_FSM9XXX
950 depends on !MSM_STACKED_MEMORY
951 default y
952 bool "FSM9XXX SURF"
953 help
954 Support for the Qualcomm FSM9xxx femtocell
955 chipset based SURF evaluation board and
956 FFA board.
957
Daniel Walker4ad15e62010-05-06 13:54:17 -0700958endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800959
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700960config MSM_STACKED_MEMORY
961 bool "Stacked Memory"
962 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800963 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700964 This option is used to indicate the presence of on-die stacked
965 memory. When present this memory bank is used for a high speed
966 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800967
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700968config PHYS_OFFSET
969 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700970 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700971 default "0x80200000" if ARCH_APQ8064
972 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700973 default "0x80200000" if ARCH_MSM8930
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700974 default "0x00000000" if ARCH_MSM8974
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +0530975 default "0x00000000" if ARCH_MPQ8092
Syed Rameez Mustafa90f80502012-08-23 17:27:24 -0700976 default "0x00000000" if ARCH_MSM8226
Syed Rameez Mustafa02dd1a32012-10-26 11:02:26 -0700977 default "0x00000000" if ARCH_MSM8910
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700978 default "0x10000000" if ARCH_FSM9XXX
Abhimanyu Kapur20ac2ad2012-09-25 04:23:59 -0700979 default "0x00200000" if ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700980 default "0x00200000" if !MSM_STACKED_MEMORY
981 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
982 default "0x20000000" if ARCH_QSD8X50
983 default "0x40200000" if ARCH_MSM8X60
984 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800985
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700986config KERNEL_MSM_CONTIG_MEM_REGION
987 bool "Enable in-kernel contiguous memory region"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700988 default y if ARCH_MSM8X60
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700989 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700990 help
Mitchel Humpherys05e58812012-08-13 14:24:13 -0700991 Enable the in-kernel contiguous memory allocator. Sets up a
992 region of physically contiguous memory. This memory is
993 reserved during initialization, and can be used
994 generically.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700995
996config KERNEL_PMEM_SMI_REGION
997 bool "Enable in-kernel PMEM region for SMI"
998 default y if ARCH_MSM8X60
999 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
1000 help
1001 Enable the in-kernel PMEM allocator to use SMI memory.
1002
1003config PMEM_GPU0
1004 bool "Enable PMEM GPU0 region"
1005 default y
1006 depends on ARCH_QSD8X50 && ANDROID_PMEM
1007 help
1008 Enable the PMEM GPU0 device on SMI Memory.
1009
1010config MSM_AMSS_VERSION
1011 int
1012 default 6210 if MSM_AMSS_VERSION_6210
1013 default 6220 if MSM_AMSS_VERSION_6220
1014 default 6225 if MSM_AMSS_VERSION_6225
1015
1016choice
1017 prompt "AMSS modem firmware version"
1018
1019 default MSM_AMSS_VERSION_6225
1020
1021 config MSM_AMSS_VERSION_6210
1022 bool "6.2.10"
1023
1024 config MSM_AMSS_VERSION_6220
1025 bool "6.2.20"
1026
1027 config MSM_AMSS_VERSION_6225
1028 bool "6.2.20 + New ADSP"
1029endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -08001030
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001031config MSM_HAS_DEBUG_UART_HS
Daniel Walkerbf83de42010-03-16 16:29:44 -07001032 bool
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001033 help
1034 Say Y here if high speed MSM UART is present.
1035
1036config MSM_HAS_DEBUG_UART_HS_V14
1037 bool
1038 select MSM_HAS_DEBUG_UART_HS
1039 help
1040 Say Y here if high speed MSM UART v1.4 is present.
1041
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301042config MSM_DEBUG_UART_PHYS
1043 hex
1044 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
1045 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
1046 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
1047 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
1048 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
1049 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
1050 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
1051 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
1052
Brian Swetland9e73c842007-11-26 04:12:13 -08001053choice
1054 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001055 depends on DEBUG_LL
Brian Swetland9e73c842007-11-26 04:12:13 -08001056
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001057 config DEBUG_MSM_UART1
1058 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301059 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001060 help
1061 Say Y here if you want the debug print routines to direct
1062 their output to the first serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001063
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001064 config DEBUG_MSM_UART2
1065 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301066 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001067 help
1068 Say Y here if you want the debug print routines to direct
1069 their output to the second serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001070
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001071 config DEBUG_MSM_UART3
1072 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301073 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001074 help
1075 Say Y here if you want the debug print routines to direct
1076 their output to the third serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001077
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001078 config DEBUG_MSM8660_UART
1079 bool "Kernel low-level debugging messages via MSM 8660 UART"
1080 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001081 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001082 help
1083 Say Y here if you want the debug print routines to direct
1084 their output to the serial port on MSM 8660 devices.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001085
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001086 config DEBUG_MSM8960_UART
1087 bool "Kernel low-level debugging messages via MSM 8960 UART"
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001088 depends on ARCH_MSM8960 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001089 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001090 help
1091 Say Y here if you want the debug print routines to direct
1092 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001093
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001094 config DEBUG_MSM8930_UART
1095 bool "Kernel low-level debugging messages via MSM 8930 UART"
1096 depends on ARCH_MSM8930 && DEBUG_LL
1097 select MSM_HAS_DEBUG_UART_HS
1098 help
1099 Say Y here if you want the debug print routines to direct
1100 their output to the serial port on MSM 8930 devices.
1101
1102 config DEBUG_APQ8064_UART
1103 bool "Kernel low-level debugging messages via APQ 8064 UART"
1104 depends on ARCH_APQ8064 && DEBUG_LL
1105 select MSM_HAS_DEBUG_UART_HS
1106 help
1107 Say Y here if you want the debug print routines to direct
1108 their output to the serial port on APQ 8064 devices.
1109
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001110 config DEBUG_MSM8974_UART
1111 bool "Kernel low-level debugging messages via MSM 8974 UART"
1112 depends on ARCH_MSM8974
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001113 select MSM_HAS_DEBUG_UART_HS_V14
1114 help
1115 Say Y here if you want the debug print routines to direct
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001116 their output to the serial port on MSM 8974 devices.
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +05301117
1118 config DEBUG_MPQ8092_UART
1119 bool "Kernel low-level debugging messages via MPQ8092 UART"
1120 depends on ARCH_MPQ8092
1121 select MSM_HAS_DEBUG_UART_HS_V14
1122 help
1123 Say Y here if you want the debug print routines to direct
1124 their output to the serial port on MPQ8092 devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001125endchoice
Brian Swetland9e73c842007-11-26 04:12:13 -08001126
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001127choice
1128 prompt "Default Timer"
1129 default MSM7X00A_USE_GP_TIMER
1130
1131 config MSM7X00A_USE_GP_TIMER
1132 bool "GP Timer"
1133 help
1134 Low resolution timer that allows power collapse from idle.
1135
1136 config MSM7X00A_USE_DG_TIMER
1137 bool "DG Timer"
1138 help
1139 High resolution timer.
1140endchoice
1141
1142choice
1143 prompt "Suspend sleep mode"
1144 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1145 help
1146 Allows overriding the sleep mode used. Leave at power
1147 collapse suspend unless the arm9 image has problems.
1148
1149 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1150 bool "Power collapse suspend"
1151 help
1152 Lowest sleep state. Returns through reset vector.
1153
1154 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1155 bool "Power collapse"
1156 help
1157 Sleep state that returns through reset vector.
1158
1159 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1160 bool "Apps Sleep"
1161
1162 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1163 bool "Ramp down cpu clock and wait for interrupt"
1164
1165 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1166 bool "Wait for interrupt"
1167endchoice
1168
1169config MSM7X00A_SLEEP_MODE
1170 int
1171 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1172 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1173 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1174 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1175 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1176
1177choice
1178 prompt "Idle sleep mode"
1179 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1180 help
1181 Allows overriding the sleep mode used from idle. Leave at power
1182 collapse suspend unless the arm9 image has problems.
1183
1184 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1185 bool "Power collapse suspend"
1186 help
1187 Lowest sleep state. Returns through reset vector.
1188
1189 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1190 bool "Power collapse"
1191 help
1192 Sleep state that returns through reset vector.
1193
1194 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1195 bool "Apps Sleep"
1196
1197 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1198 bool "Ramp down cpu clock and wait for interrupt"
1199
1200 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1201 bool "Wait for interrupt"
1202endchoice
1203
1204config MSM7X00A_IDLE_SLEEP_MODE
1205 int
1206 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1207 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1208 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1209 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1210 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1211
1212config MSM7X00A_IDLE_SLEEP_MIN_TIME
1213 int "Minimum idle time before sleep"
1214 default 20000000
1215 help
1216 Minimum idle time in nanoseconds before entering low power mode.
1217
1218config MSM7X00A_IDLE_SPIN_TIME
1219 int "Idle spin time before cpu ramp down"
1220 default 80000
1221 help
1222 Spin time in nanoseconds before ramping down cpu clock and entering
1223 any low power state.
1224
1225menuconfig MSM_IDLE_STATS
1226 bool "Collect idle statistics"
1227 default y
1228 help
1229 Collect idle statistics and export them in proc/msm_pm_stats.
1230
1231if MSM_IDLE_STATS
1232
1233config MSM_IDLE_STATS_FIRST_BUCKET
1234 int "First bucket time"
1235 default 62500
1236 help
1237 Upper time limit in nanoseconds of first bucket.
1238
1239config MSM_IDLE_STATS_BUCKET_SHIFT
1240 int "Bucket shift"
1241 default 2
1242
1243config MSM_IDLE_STATS_BUCKET_COUNT
1244 int "Bucket count"
1245 default 10
1246
1247config MSM_SUSPEND_STATS_FIRST_BUCKET
1248 int "First bucket time for suspend"
1249 default 1000000000
1250 help
1251 Upper time limit in nanoseconds of first bucket of the
1252 histogram. This is for collecting statistics on suspend.
1253
1254endif # MSM_IDLE_STATS
1255
1256config CPU_HAS_L2_PMU
1257 bool "L2CC PMU Support"
1258 help
1259 Select this if the L2 cache controller has a Performance Monitoring Unit.
1260
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001261config HTC_HEADSET
1262 tristate "HTC 2 Wire detection driver"
1263 default n
1264 help
1265 Provides support for detecting HTC 2 wire devices, such as wired
1266 headset, on the trout platform. Can be used with the msm serial
1267 debugger, but not with serial console.
1268
1269config TROUT_BATTCHG
1270 depends on MACH_TROUT && POWER_SUPPLY
1271 default y
1272 bool "Trout battery / charger driver"
1273
1274config HTC_PWRSINK
1275 depends on MSM_SMD
1276 default n
1277 bool "HTC Power Sink Driver"
1278
1279config QSD_SVS
1280 bool "QSD Static Voltage Scaling"
1281 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1282 default y
1283 select TPS65023
1284 help
1285 Enables static voltage scaling using the TPS65023 PMIC.
1286
1287config QSD_PMIC_DEFAULT_DCDC1
1288 int "PMIC default output voltage"
1289 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1290 default 1250
1291 help
1292 This is the PMIC voltage at Linux kernel boot.
1293
1294config MSM_FIQ_SUPPORT
1295 default y
1296 bool "Enable installation of an FIQ handler."
1297
1298config MSM_SERIAL_DEBUGGER
1299 select MSM_FIQ_SUPPORT
1300 select KERNEL_DEBUGGER_CORE
1301 default n
1302 bool "FIQ Mode Serial Debugger"
1303 help
1304 The FIQ serial debugger can accept commands even when the
1305 kernel is unresponsive due to being stuck with interrupts
1306 disabled. Depends on the kernel debugger core in drivers/misc.
1307
1308config MSM_SERIAL_DEBUGGER_CONSOLE
1309 depends on MSM_SERIAL_DEBUGGER
1310 default n
1311 bool "Console on FIQ Serial Debugger port"
1312 help
1313 Enables a console so that printk messages are displayed on
1314 the debugger serial port as the occur.
Brian Swetland9e73c842007-11-26 04:12:13 -08001315
Gregory Beanab78cde2010-09-01 16:26:12 -07001316config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001317 default y
1318 bool "Proc-Comm RPC Interface"
1319 help
1320 Enables a lightweight communications interface to the
1321 baseband processor.
Gregory Beanab78cde2010-09-01 16:26:12 -07001322
Gregory Bean1963a2a2010-08-28 10:05:44 -07001323config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001324 bool "MSM Shared Memory Driver (SMD)"
1325 help
1326 Support for the shared memory interface between the apps
1327 processor and the baseband processor. Provides access to
1328 the "shared heap", as well as virtual serial channels
1329 used to communicate with various services on the baseband
1330 processor.
1331
1332choice
1333 prompt "MSM Shared memory interface version"
1334 depends on MSM_SMD
1335 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1336 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1337
1338 config MSM_SMD_PKG3
1339 bool
1340 prompt "Package 3"
1341
1342 config MSM_SMD_PKG4
1343 bool
1344 prompt "Package 4"
1345endchoice
1346
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001347config MSM_PCIE
1348 bool "MSM PCIe Controller driver"
1349 depends on PCI && PCI_MSI
1350 help
1351 Enables the PCIe functionality by configures PCIe core on
1352 MSM chipset and by enabling the ARM PCI framework extension.
1353
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001354config MSM_RPC_SDIO_XPRT
1355 depends on MSM_SDIO_AL
1356 default y
1357 bool "MSM SDIO XPRT Layer"
1358 help
1359 SDIO Transport Layer for RPC Rouer
1360
1361config MSM_RPC_SDIO_DEBUG
1362 depends on MSM_RPC_SDIO_XPRT
1363 default y
1364 bool "MSM SDIO XPRT debug support"
1365 help
1366 Support for debugging SDIO XPRT
1367
1368config MSM_SMD_DEBUG
1369 depends on MSM_SMD
1370 default y
1371 bool "MSM SMD debug support"
1372 help
1373 Support for debugging the SMD for communication
1374 between the ARM9 and ARM11
1375
1376config MSM_SDIO_AL
1377 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1378 default y
1379 tristate "SDIO-Abstraction-Layer"
1380 help
1381 Support MSM<->MDM Communication over SDIO bus.
1382 MDM SDIO-Client should have pipes support.
1383
1384config MSM_SDIO_DMUX
1385 bool "SDIO Data Mux Driver"
1386 depends on MSM_SDIO_AL
1387 default n
1388 help
1389 Support Muxed Data Channels over SDIO interface.
1390
1391config MSM_BAM_DMUX
1392 bool "BAM Data Mux Driver"
1393 depends on SPS
1394 default n
1395 help
1396 Support Muxed Data Channels over BAM interface.
1397 BAM has a limited number of pipes. This driver
1398 provides a means to support more logical channels
1399 via muxing than BAM could without muxing.
1400
1401config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001402 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001403 default y
1404 bool "MSM N-WAY SMD support"
1405 help
1406 Supports APPS-QDSP SMD communication along with
1407 normal APPS-MODEM SMD communication.
1408
1409config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001410 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001411 default y
1412 bool "MSM N-WAY SMSM support"
1413 help
1414 Supports APPS-QDSP SMSM communication along with
1415 normal APPS-MODEM SMSM communication.
1416
1417config MSM_RESET_MODEM
1418 tristate "Reset Modem Driver"
1419 depends on MSM_SMD
1420 default m
1421 help
1422 Allows the user to reset the modem through a device node.
1423
1424config MSM_SMD_LOGGING
1425 depends on MSM_SMD
1426 default y
1427 bool "MSM Shared Memory Logger"
1428 help
1429 This option exposes the shared memory logger at /dev/smem_log
1430 and a debugfs node named smem_log.
1431
1432 If in doubt, say yes.
1433
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001434config MSM_IPC_LOGGING
1435 bool "MSM Debug Logging for IPC Drivers"
1436 help
1437 This option allows the debug logging for IPC Drivers.
1438
1439 If in doubt, say no.
1440
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001441config MSM_SMD_NMEA
1442 bool "NMEA GPS Driver"
1443 depends on MSM_SMD
1444 default y
1445 help
1446 Enable this to support the NMEA GPS device.
1447
1448 If in doubt, say yes.
1449
1450config MSM_SDIO_TTY
1451 bool "SDIO TTY Driver"
1452 depends on MSM_SDIO_AL
1453 default n
1454 help
1455 Provides a TTY driver SDIO TTY
1456 This driver can be used by user space
1457 applications for passing data through the
1458 SDIO interface.
1459
1460config MSM_SMD_TTY
1461 bool "SMD TTY Driver"
1462 depends on MSM_SMD
1463 default y
1464 help
1465 Provides TTY interfaces to interact with the modem.
1466
1467 If in doubt, say yes.
1468
1469config MSM_SMD_QMI
1470 bool "SMD QMI Driver"
1471 depends on MSM_SMD
1472 default y
1473 help
1474 Manages network data connections.
1475
1476 If in doubt, say yes.
1477
1478config MSM_SMD_PKT
1479 bool "SMD Packet Driver"
1480 depends on MSM_SMD
1481 default y
1482 help
1483 Provides a binary SMD non-muxed packet port interface.
1484
1485 If in doubt, say yes.
1486
1487config MSM_SDIO_CMUX
1488 bool "SDIO CMUX Driver"
1489 depends on MSM_SDIO_AL
1490 default n
1491 help
1492 Provides a Muxed port interface over SDIO QMI
1493
1494config MSM_DSPS
1495 bool "Sensors DSPS driver"
1496 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1497 default n
1498 help
1499 Provides user-space interface to the sensors manager
1500 to turn on/off the Sensors Processor system clocks.
1501 It is the DSPS responsibility to turn on/off the sensors
1502 themself.
1503 The number of clocks and their name may vary between targets.
1504 It also triggers the PIL to load the DSPS firmware.
1505
1506config MSM_SDIO_CTL
1507 bool "SDIO CTL Driver"
1508 depends on MSM_SDIO_CMUX
1509 default n
1510 help
1511 Provides a binary SDIO control port interface.
1512
1513config MSM_ONCRPCROUTER
1514 depends on MSM_SMD
1515 default n
1516 bool "MSM ONCRPC router support"
1517 help
1518 Support for the MSM ONCRPC router for communication between
1519 the ARM9 and ARM11
1520
1521config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001522 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001523 default n
1524 bool "MSM IPC Router support"
1525 help
1526 Support for the MSM IPC Router for communication between
1527 the APPs and the MODEM
1528
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001529config MSM_IPC_ROUTER_SMD_XPRT
1530 depends on MSM_SMD
1531 depends on MSM_IPC_ROUTER
1532 default n
1533 bool "MSM SMD XPRT Layer"
1534 help
1535 SMD Transport Layer for IPC Router
1536
Karthikeyan Ramasubramanianfec77ff2012-10-26 20:03:26 -06001537config MSM_QMI_INTERFACE
1538 depends on MSM_IPC_ROUTER
1539 depends on QMI_ENCDEC
1540 default n
1541 bool "MSM QMI Interface Library"
1542 help
1543 Library to send and receive QMI messages over IPC Router.
1544 This library provides interface functions to the kernel drivers
1545 to perform QMI message marshaling and transport them over IPC
1546 Router.
1547
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001548config MSM_ONCRPCROUTER_DEBUG
1549 depends on MSM_ONCRPCROUTER
1550 default y
1551 bool "MSM debug ONCRPC router support"
1552 help
1553 Support for debugging the ONCRPC router for communication
1554 between the ARM9 and ARM11
1555
1556config MSM_RPC_LOOPBACK_XPRT
1557 depends on MSM_ONCRPCROUTER
1558 default n
1559 bool "MSM RPC local routing support"
1560 help
1561 Support for routing RPC messages between APPS clients
1562 and APPS servers. Helps in testing APPS RPC framework.
1563
1564config MSM_RPCSERVER_TIME_REMOTE
1565 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1566 default y
1567 bool "Time remote RPC server"
1568 help
1569 The time remote server receives notification of time bases and
1570 reports these events to registered callback functions.
1571
1572config MSM_RPCSERVER_WATCHDOG
1573 depends on MSM_ONCRPCROUTER
1574 default y
1575 bool "Watchdog RPC server"
1576 help
1577 The dog_keepalive server handles watchdog events.
1578
1579config MSM_RPC_WATCHDOG
1580 depends on MSM_ONCRPCROUTER
1581 default n
1582 bool "Watchdog RPC client"
1583 help
1584 The dog_keepalive client module.
1585
1586config MSM_RPC_PING
1587 depends on MSM_ONCRPCROUTER && DEBUG_FS
1588 default m
1589 bool "MSM rpc ping"
1590 help
1591 Implements MSM rpc ping test module.
1592
1593config MSM_RPC_PROC_COMM_TEST
1594 depends on DEBUG_FS && MSM_PROC_COMM
1595 default m
1596 bool "MSM rpc proc comm test"
1597 help
1598 Implements MSM rpc proc comm test module.
1599
1600config MSM_RPC_OEM_RAPI
1601 depends on MSM_ONCRPCROUTER
1602 default m
1603 bool "MSM oem rapi"
1604 help
1605 Implements MSM oem rapi client module.
1606
1607config MSM_RPCSERVER_HANDSET
1608 depends on MSM_ONCRPCROUTER
1609 default y
1610 bool "Handset events RPC server"
1611 help
1612 Support for receiving handset events like headset detect,
1613 headset switch and clamshell state.
1614
1615config MSM_RMT_STORAGE_CLIENT
1616 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1617 default n
1618 bool "Remote Storage RPC client"
1619 help
1620 Provide RPC mechanism for remote processors to access storage
1621 device on apps processor.
1622
1623config MSM_RMT_STORAGE_CLIENT_STATS
1624 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1625 default n
1626 bool "Remote storage RPC client performance statistics"
1627 help
1628 Collects performance statistics and shows this information
1629 through a debugfs file rmt_storage_stats.
1630
1631config MSM_SDIO_SMEM
1632 depends on MSM_SDIO_AL
1633 default n
1634 bool "SDIO SMEM for remote storage"
1635 help
1636 Copies data from remote MDM9K memory to local MSM8x60
1637 memory. Used by remote storage client to shadow
1638 MDM9K filesystem.
1639
1640config MSM_DALRPC
1641 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001642 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001643 help
1644 Supports RPC calls to DAL devices on remote processor cores.
1645
1646config MSM_DALRPC_TEST
1647 tristate "DAL RPC test module"
1648 depends on (MSM_DALRPC && DEBUG_FS)
1649 default m
1650 help
1651 Exercises DAL RPC calls to QDSP6.
1652
1653if CPU_FREQ_MSM
1654
1655config MSM_CPU_FREQ_SET_MIN_MAX
1656 bool "Set Min/Max CPU frequencies."
1657 default n
1658 help
1659 Allow setting min and max CPU frequencies. Sysfs can be used
1660 to override these values.
1661
1662config MSM_CPU_FREQ_MAX
1663 int "Max CPU Frequency"
1664 depends on MSM_CPU_FREQ_SET_MIN_MAX
1665 default 384000
1666
1667config MSM_CPU_FREQ_MIN
1668 int "Min CPU Frequency"
1669 depends on MSM_CPU_FREQ_SET_MIN_MAX
1670 default 245760
1671
1672endif # CPU_FREQ_MSM
1673
1674config MSM_CPU_AVS
1675 bool "Enable software controlled Adaptive Voltage Scaling (AVS)"
1676 depends on (ARCH_MSM_SCORPION && QSD_SVS)
1677 depends on ARCH_QSD8X50
1678 default n
1679 select MSM_AVS_HW
1680 help
1681 This enables the s/w control of Adaptive Voltage Scaling feature
1682 in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency
1683 based on feedback from three ring oscillators in the CPU.
1684
1685config MSM_AVS_HW
1686 bool "Enable Adaptive Voltage Scaling (AVS)"
1687 default n
1688 help
1689 Enable AVS hardware to fine tune voltage at each frequency. The
1690 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1691 fine tune the voltages based on the feedback from the ring
1692 oscillators.
1693
1694config MSM_HW3D
1695 tristate "MSM Hardware 3D Register Driver"
1696 depends on ANDROID_PMEM
1697 default y
1698 help
1699 Provides access to registers needed by the userspace OpenGL|ES
1700 library.
1701
1702config MSM_ADSP
1703 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1704 tristate "MSM ADSP driver"
1705 depends on ANDROID_PMEM
1706 default y
1707 help
1708 Provides access to registers needed by the userspace aDSP library.
1709
1710config ADSP_RPC_VER
1711 hex
1712 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1713 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1714 depends on MSM_ADSP
1715 help
1716 Select proper ADSP RPC version
1717choice
1718 prompt "ADSP RPC version"
1719
1720 default AMSS_7X25_VERSION_2009
1721
1722 config AMSS_7X25_VERSION_2009
1723 bool "2.0.09"
1724
1725 config AMSS_7X25_VERSION_2008
1726 bool "2.0.08"
1727endchoice
1728
1729config MSM7KV2_AUDIO
1730 bool "MSM7K v2 audio"
1731 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1732 default y
1733 help
1734 Enables QDSP5V2-based audio drivers for audio playbacks and
1735 voice call.
1736
1737config MSM_ADSP_REPORT_EVENTS
1738 bool "Report modem events from the DSP"
1739 default y
1740 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1741 help
1742 Normally, only messages from the aDSP are reported to userspace.
1743 With this option, we report events from the aDSP as well.
1744
1745config MSM_QDSP6
1746 tristate "QDSP6 support"
1747 depends on ARCH_QSD8X50 && ANDROID_PMEM
1748 default y
1749 help
1750 Enable support for qdsp6. This provides audio and video functionality.
1751
1752config MSM8X60_AUDIO
1753 tristate "MSM8X60 audio support"
1754 depends on ARCH_MSM8X60 && ANDROID_PMEM
1755 default y
1756 help
1757 Enable support for qdsp6v2. This provides audio functionality.
1758
1759config MSM8X60_FTM_AUDIO_DEVICES
1760 bool "MSM8X60 audio factory test mode support"
1761 depends on MSM8X60_AUDIO
1762 help
1763 Enable support audio factory test mode devices. This is used
1764 in a production line environment.
1765
Ben Romberger45b351c2011-07-20 22:37:27 -07001766config RTAC
1767 bool "MSM8K real-time audio calibration support"
1768 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001769 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001770 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001771 audio operation
1772
1773config MSM7X27A_AUDIO
1774 bool "MSM7X27A audio support"
1775 depends on ARCH_MSM7X27A && MSM_ADSP
1776 default n
1777 help
1778 Enable support for 7x27a. This provides audio functionality.
1779
Justin Pauporea6cd2092011-06-22 16:19:45 -07001780config MSM_PROC_COMM_REGULATOR
Gregory Bean1963a2a2010-08-28 10:05:44 -07001781 bool
Justin Pauporea6cd2092011-06-22 16:19:45 -07001782 depends on MSM_PROC_COMM && REGULATOR
1783 help
1784 Enable regulator framework support for regulators managed by PMLIB
1785 on the modem, and controlled through proccomm calls.
1786
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001787config MSM_VREG_SWITCH_INVERTED
1788 bool "Reverse vreg switch polarity"
1789 default n
1790 help
1791 Reverses the enable and disable for vreg switch.
1792
1793config MSM_DMA_TEST
1794 tristate "MSM DMA test module"
1795 default m
1796 help
1797 Intended to be compiled as a module. Provides a device node
1798 and ioctls for testing the MSM dma system.
1799
1800config WIFI_CONTROL_FUNC
1801 bool "Enable WiFi control function abstraction"
1802 help
1803 Enables Power/Reset/Carddetect function abstraction
1804
1805config WIFI_MEM_PREALLOC
1806 depends on WIFI_CONTROL_FUNC
1807 bool "Preallocate memory for WiFi buffers"
1808 help
1809 Preallocates memory buffers for WiFi driver
1810
1811config QSD_AUDIO
1812 bool "QSD audio"
1813 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1814 default y
1815 help
1816 Provides PCM, MP3, and AAC audio playback.
1817
1818config AUDIO_AAC_PLUS
1819 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1820 bool "AAC+ Audio"
1821 default y
1822 help
1823 Provides AAC+ decoding
1824
1825config AUDIO_ENHANCED_AAC_PLUS
1826 depends on AUDIO_AAC_PLUS
1827 bool "Enhanced AAC+ Audio"
1828 default y
1829 help
1830 Provides Enhanced AAC+ decoding
1831
1832config SURF_FFA_GPIO_KEYPAD
1833 bool "MSM SURF/FFA GPIO keypad"
1834 depends on INPUT_GPIO = "y"
1835 default y
1836 help
1837 Select if the GPIO keypad is attached.
1838
1839config MSM_SLEEP_TIME_OVERRIDE
1840 bool "Allow overriding suspend/sleep time with PM module parameter"
1841 default y
1842 help
1843 Enable the module parameter sleep_time_override. Specified
1844 in units of seconds, it overwrites the normal sleep time of
1845 suspend. The feature is required for automated power management
1846 testing.
1847
1848config MSM_MEMORY_LOW_POWER_MODE
1849 bool "Control the low power modes of memory"
1850 default n
1851 help
1852 The application processor controls whether memory should enter
1853 which low power mode.
1854
1855choice
1856 prompt "Default Memory Low Power Mode during Idle"
1857 depends on MSM_MEMORY_LOW_POWER_MODE
1858 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1859 help
1860 Selects the default low power mode of the memory during idle
1861 sleep.
1862
1863 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1864 bool "Memory active"
1865
1866 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1867 bool "Memory in retention"
1868
1869 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1870 bool "Memory in deep power down"
1871endchoice
1872
1873choice
1874 prompt "Default Memory Low Power Mode during Suspend"
1875 depends on MSM_MEMORY_LOW_POWER_MODE
1876 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1877 help
1878 Selects the default low power mode of the memory during suspend
1879 sleep.
1880
1881 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1882 bool "Memory active"
1883
1884 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1885 bool "Memory in retention"
1886
1887 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1888 bool "Memory in deep power down"
1889endchoice
1890
1891choice
1892 prompt "Power management timeout action"
1893 default MSM_PM_TIMEOUT_HALT
1894 help
1895 Selects the Application Processor's action when Power Management
1896 times out waiting for Modem's handshake.
1897
1898 config MSM_PM_TIMEOUT_HALT
1899 bool "Halt the Application Processor"
1900
1901 config MSM_PM_TIMEOUT_RESET_MODEM
1902 bool "Reset the Modem Processor"
1903
1904 config MSM_PM_TIMEOUT_RESET_CHIP
1905 bool "Reset the entire chip"
1906endchoice
1907
1908config MSM_IDLE_WAIT_ON_MODEM
1909 int "Wait for Modem to become ready for idle power collapse"
1910 default 0
1911 help
1912 If Modem is not ready to handle Application Processor's request
1913 for idle power collapse, wait the number of microseconds in case
1914 Modem becomes ready soon.
1915
Matt Wagantall9274df92011-12-15 11:11:05 -08001916config MSM_RPM_REGULATOR
1917 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08001918 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08001919 help
1920 Compile in support for the RPM regulator driver, used for setting
1921 voltages and other parameters of the various power rails supplied
1922 by some Qualcomm PMICs.
1923
David Collinsc7642322012-04-04 10:19:12 -07001924config MSM_RPM_REGULATOR_SMD
1925 bool "SMD RPM regulator driver"
1926 depends on REGULATOR
1927 depends on OF
1928 depends on MSM_RPM_SMD
1929 help
1930 Compile in support for the SMD RPM regulator driver which is used for
1931 setting voltages and other parameters of the various power rails
1932 supplied by some Qualcomm PMICs. The SMD RPM regulator driver should
1933 be used on systems which contain an RPM which communicates with the
1934 application processor over SMD.
1935
Stephen Boyd01710582012-07-09 13:40:05 -07001936config MSM_SUBSYSTEM_RESTART
1937 bool "MSM Subsystem Restart"
1938 help
1939 This option enables the MSM subsystem restart framework.
1940
1941 The MSM subsystem restart framework provides support to boot,
1942 shutdown, and restart subsystems with a reference counted API.
1943 It also notifies userspace of transitions between these states via
1944 sysfs.
1945
1946config MSM_SYSMON_COMM
1947 bool "MSM System Monitor communication support"
1948 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
1949 help
1950 This option adds support for MSM System Monitor library, which
1951 provides an API that may be used for notifying subsystems within
1952 the SoC about other subsystems' power-up/down state-changes.
1953
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001954config MSM_PIL
1955 bool "Peripheral image loading"
1956 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001957 default n
1958 help
1959 Some peripherals need to be loaded into memory before they can be
1960 brought out of reset.
1961
1962 Say yes to support these devices.
1963
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001964config MSM_PIL_MODEM
1965 tristate "Modem (ARM11) Boot Support"
Stephen Boyd3ac20732012-05-03 18:46:08 -07001966 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd4eb885b2011-09-29 01:16:03 -07001967 help
1968 Support for booting and shutting down ARM11 Modem processors.
1969
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001970config MSM_PIL_QDSP6V3
1971 tristate "QDSP6v3 (Hexagon) Boot Support"
Stephen Boyd2e19d932012-05-09 17:36:04 -07001972 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd3acc9e42011-09-28 16:46:40 -07001973 help
1974 Support for booting and shutting down QDSP6v3 processors (hexagon).
1975 The QDSP6 is a low power DSP used in audio software applications.
1976
Stephen Boydbdb53f32012-06-05 18:39:47 -07001977config MSM_PIL_LPASS_QDSP6V4
1978 tristate "LPASS QDSP6v4 (Hexagon) Boot Support"
Stephen Boyda1cf76b2012-06-13 12:05:35 -07001979 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydeb819882011-08-29 14:46:30 -07001980 help
Stephen Boydbdb53f32012-06-05 18:39:47 -07001981 Support for booting and shutting down QDSP6v4 processors (hexagon)
1982 in low power audio subsystems. If you would like to record or
1983 play audio then say Y here.
1984
1985 If unsure, say N.
1986
1987config MSM_PIL_MODEM_QDSP6V4
1988 tristate "Modem QDSP6v4 (Hexagon) Boot Support"
Stephen Boyd2efa9962012-06-12 14:20:12 -07001989 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydbdb53f32012-06-05 18:39:47 -07001990 help
1991 Support for booting and shutting down QDSP6v4 processors (hexagon)
1992 in modem subsystems. If you would like to make or receive phone
1993 calls then say Y here.
1994
1995 If unsure, say N.
Stephen Boydeb819882011-08-29 14:46:30 -07001996
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07001997config MSM_PIL_LPASS_QDSP6V5
Stephen Boyd633eb622012-06-13 12:05:35 -07001998 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
1999 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
2000 help
2001 Support for booting and shutting down QDSP6v5 (Hexagon) processors
2002 in low power audio subsystems. This driver also monitors the ADSP
2003 SMSM status bits and the ADSP's watchdog interrupt and restarts the
2004 ADSP if the processor encounters a fatal error.
Matt Wagantall4e2599e2012-03-21 22:31:35 -07002005
2006config MSM_PIL_MSS_QDSP6V5
Stephen Boyd3da4fd02012-07-06 10:00:12 -07002007 tristate "MSS QDSP6v5 (Hexagon) Boot Support"
2008 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantalle6e00d52012-03-08 17:39:07 -08002009 help
Stephen Boyd3da4fd02012-07-06 10:00:12 -07002010 Support for booting and shutting down QDSP6v5 (Hexagon) processors
2011 in modem subsystems. If you would like to make or receive phone
2012 calls then say Y here.
2013
2014 If unsure, say N.
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07002015
Stephen Boyd322a9922011-09-20 01:05:54 -07002016config MSM_PIL_RIVA
2017 tristate "RIVA (WCNSS) Boot Support"
Stephen Boydfdec00d2012-05-10 17:04:49 -07002018 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd322a9922011-09-20 01:05:54 -07002019 help
2020 Support for booting and shutting down the RIVA processor (WCNSS).
2021 Riva is the wireless subsystem processor used in bluetooth, wireless
2022 LAN, and FM software applications.
2023
Stephen Boydd89eebe2011-09-28 23:28:11 -07002024config MSM_PIL_TZAPPS
2025 tristate "TZApps Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002026 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boydd89eebe2011-09-28 23:28:11 -07002027 help
2028 Support for booting and shutting down TZApps.
2029
2030 TZApps is an image that runs in the secure processor state. It is
2031 used to decrypt data and perform secure operations on the behalf of
2032 the kernel.
2033
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07002034config MSM_PIL_DSPS
2035 tristate "DSPS Boot Support"
Stephen Boydf169b4b2012-05-10 17:55:55 -07002036 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07002037 help
2038 Support for booting and shutting down ARM7 DSPS processors.
2039
2040 DSPS is a sensors offloading processor used for applications such
2041 as rotation detection, temperature, etc.
2042
Stephen Boyd7b973de2012-03-09 12:26:16 -08002043config MSM_PIL_VIDC
2044 tristate "Video Core Secure Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002045 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd7b973de2012-03-09 12:26:16 -08002046 help
2047 Support for authenticating the video core image.
2048
Tianyi Gou828798d2012-05-02 21:12:38 -07002049config MSM_PIL_VENUS
2050 tristate "VENUS (Video) Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002051 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Tianyi Gou828798d2012-05-02 21:12:38 -07002052 help
2053 Support for booting and shutting down the VENUS processor (Video).
2054 Venus is the Video subsystem processor used for video codecs.
2055
Matt Wagantall292aace2012-01-26 19:12:34 -08002056config MSM_PIL_GSS
Stephen Boydd86214b2012-05-10 15:26:35 -07002057 tristate "GSS (Cortex A5) Boot Support"
2058 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantall292aace2012-01-26 19:12:34 -08002059 help
2060 Support for booting and shutting down Cortex A5 processors which run
2061 GPS subsystem firmware.
2062
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002063config MSM_PIL_PRONTO
2064 tristate "PRONTO (WCNSS) Boot Support"
Stephen Boyd581fe852012-06-13 12:05:35 -07002065 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002066 help
2067 Support for booting and shutting down the PRONTO processor (WCNSS).
2068 PRONTO is the wireless subsystem processor used in bluetooth, wireless
2069 LAN, and FM software applications.
2070
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002071config MSM_SCM
2072 bool "Secure Channel Manager (SCM) support"
2073 default n
2074
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002075config SCORPION_Uni_45nm_BUG
2076 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
2077 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
2078 default y
2079 help
2080 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
2081 invalidating the Branch Predictor Array by Modified Virtual Address can
2082 create invalid entries in the TLB with the wrong ASID values on Scorpion
2083 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
2084 workaround for Scorpion Uniprocessor 45nm cores.
2085
2086 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
2087
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002088config MSM_BUSPM_DEV
2089 tristate "MSM Bus Performance Monitor Kernel Module"
2090 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
2091 default m
2092 help
2093 This kernel module is used to mmap() hardware registers for the
2094 performance monitors, counters, etc. The module can also be used to
2095 allocate physical memory which is used by bus performance hardware to
2096 dump performance data.
2097
Mona Hossain11c03ac2011-10-26 12:42:10 -07002098config MSM_TZ_LOG
2099 tristate "MSM Trust Zone (TZ) Log Driver"
2100 depends on DEBUG_FS
2101 help
2102 This option enables a driver with a debugfs interface for messages
2103 produced by the Secure code (Trust zone). These messages provide
2104 diagnostic information about TZ operation.
2105
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002106config MSM_RPM_LOG
2107 tristate "MSM Resource Power Manager Log Driver"
2108 depends on DEBUG_FS
Praveen Chidambaram7a712232011-10-28 13:39:45 -06002109 depends on MSM_RPM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002110 default n
2111 help
2112 This option enables a driver which can read from a circular buffer
2113 of messages produced by the RPM. These messages provide diagnostic
2114 information about RPM operation. The driver outputs the messages
2115 via a debugfs node.
2116
2117config MSM_RPM_STATS_LOG
2118 tristate "MSM Resource Power Manager Stat Driver"
2119 depends on DEBUG_FS
Priyanka Mathur1af9d4b2012-10-30 14:55:44 -07002120 depends on MSM_RPM || MSM_RPM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002121 default n
2122 help
2123 This option enables a driver which reads RPM messages from a shared
2124 memory location. These messages provide statistical information about
2125 the low power modes that RPM enters. The drivers outputs the message
2126 via a debugfs node.
2127
Girish Mahadevan898c56d2012-06-05 16:09:19 -06002128config MSM_RPM_RBCPR_STATS_LOG
2129 tristate "MSM Resource Power Manager RPBCPR Stat Driver"
2130 depends on DEBUG_FS
2131 depends on MSM_RPM
2132 help
2133 This option enables a driver which reads RPM messages from a shared
2134 memory location. These messages provide statistical information about
2135 RBCPR (Rapid Bridge Core Power Reduction) information . The drivers
2136 outputs the message via a debugfs node.
2137
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002138config MSM_DIRECT_SCLK_ACCESS
2139 bool "Direct access to the SCLK timer"
2140 default n
2141
2142config IOMMU_API
2143 bool
Gregory Bean1963a2a2010-08-28 10:05:44 -07002144
Brian Swetland9e73c842007-11-26 04:12:13 -08002145config MSM_GPIOMUX
2146 bool
2147
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002148config MSM_SECURE_IO
Brian Swetland9e73c842007-11-26 04:12:13 -08002149 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002150
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002151config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002152 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002153
Taniya Dascd1d0232012-07-03 17:50:47 +05302154config MSM_MODEM_RESTART
2155 bool
2156
Matt Wagantall88b86312012-01-31 16:53:03 -08002157config MSM_PM2
2158 depends on PM
2159 bool
2160
2161config MSM_PM8X60
2162 depends on PM
2163 bool
2164
Girish Mahadevan388c3082012-09-10 15:30:36 -06002165config MSM_EVENT_TIMER
2166 bool "Event timer"
2167 help
2168 This option enables a modules that manages a list of event timers that
2169 need to be monitored by the PM. The enables the PM code to monitor
2170 events that require the core to be awake and ready to handle the
2171 event.
2172
Matt Wagantall88b86312012-01-31 16:53:03 -08002173config MSM_NOPM
2174 default y if !PM
2175 bool
2176
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002177config MSM_BUS_SCALING
2178 bool "Bus scaling driver"
2179 default n
2180
Gagan Mac85c70492011-06-10 16:07:47 -06002181config MSM_BUS_RPM_MULTI_TIER_ENABLED
2182 bool "RPM Multi-tiering Configuration"
2183 depends on MSM_BUS_SCALING
2184
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002185config MSM_WATCHDOG
2186 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002187 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002188 help
2189 This enables the watchdog as is present on 8x60. Currently we use
2190 core 0's watchdog, and reset the entire SoC if it times out. It does
2191 not run during the bootup process, so it will not catch any early
2192 lockups.
2193
Hanumant Singhd1f01022012-07-05 14:21:53 -07002194config MSM_WATCHDOG_V2
2195 bool "MSM Watchdog Support"
2196 help
2197 This enables the watchdog module. It causes kernel panic if the
2198 watchdog times out. It allows for detection of cpu hangs and
2199 deadlocks. It does not run during the bootup process, so it will
2200 not catch any early lockups.
2201
Hanumant Singh5e2541c2012-07-31 14:41:14 -07002202config MSM_MEMORY_DUMP
2203 bool "MSM Memory Dump Support"
2204 help
2205 This enables memory dump feature. It allows various client
2206 subsystems to register respective dump regions. At the time
2207 of deadlocks or cpu hangs these dump regions are captured to
2208 give a snapshot of the system at the time of the crash.
2209
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002210config MSM_DLOAD_MODE
2211 bool "Enable download mode on crashes"
Abhimanyu Kapurdd7f2692012-10-22 13:43:52 -07002212 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_MSM8974 || ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002213 default n
2214 help
2215 This makes the SoC enter download mode when it resets
2216 due to a kernel panic. Note that this doesn't by itself
2217 make the kernel reboot on a kernel panic - that must be
2218 enabled via another mechanism.
2219
Pratik Patel17f3b822011-11-21 12:41:47 -08002220config MSM_JTAG
Pratik Patel2963de42012-05-17 12:43:40 -07002221 bool "JTAG and kernel debug and trace support across power collapse"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002222 help
Pratik Patel2963de42012-05-17 12:43:40 -07002223 Enables support for kernel debugging (specifically breakpoints) and
2224 processor tracing across power collapse both for JTag and OS hosted
2225 software running on the target. Enabling this will ensure debug
2226 and ETM registers are saved and restored across power collapse.
2227
2228 For production builds, you should probably say 'N' here to avoid
2229 potential power, performance and memory penalty.
Pratik Patel7831c082011-06-08 21:44:37 -07002230
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002231config MSM_ETM
2232 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002233 depends on ARCH_MSM8X60
2234 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002235 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002236 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002237
Lynus Vazdde09ee2012-01-05 13:28:22 +05302238config MSM_SLEEP_STATS_DEVICE
2239 bool "Enable exporting of MSM sleep device stats to userspace"
2240
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302241config MSM_RUN_QUEUE_STATS
2242 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Krishna Vankae2922052012-03-02 09:59:12 +05302243 depends on (MSM_SOC_REV_A || ARCH_MSM8X60 || ARCH_MSM8960)
2244 help
2245 This option enalbes statistics collection on Run Queue. A daemon
2246 in user mode, called MPDecision will be using this data to decide
2247 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302248
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002249config MSM_STANDALONE_POWER_COLLAPSE
2250 bool "Enable standalone power collapse"
2251 default n
2252
2253config MSM_GSBI9_UART
2254 bool "Enable GSBI9 UART device"
2255 default n
2256 help
2257 This enables GSBI9 configured into UART.
2258
2259config MSM_SHARED_GPIO_FOR_UART2DM
2260 bool "Use shared GPIOs into UART mode"
2261 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2262 help
2263 This option configures GPIO muxed with SDC4/MMC3
2264 8-bit mode into UART mode. It is used for serial
2265 console on UART2DM. Say Y if you want to have
2266 serial console on UART2DM.
2267
2268config MSM_SHOW_RESUME_IRQ
2269 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002270 depends on (ARM_GIC || PMIC8058)
2271 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002272 default n
2273 help
2274 This option logs wake up interrupts that have triggered just before
2275 the resume loop unrolls. Say Y if you want to debug why the system
2276 resumed.
2277
2278config BT_MSM_PINTEST
2279 tristate "MSM Bluetooth Pin Connectivity Test"
2280 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2281 default n
2282 help
2283 Bluetooth MSM Pin Connectivity test module.
2284 This driver provides support for verifying the MSM to BT pin
2285 connectivity.
2286
2287config MSM_FAKE_BATTERY
2288 depends on POWER_SUPPLY
2289 default n
2290 bool "MSM Fake Battery"
2291 help
2292 Enables MSM fake battery driver.
2293
2294config MSM_QDSP6_APR
2295 bool "Audio QDSP6 APR support"
2296 depends on MSM_SMD
2297 default n
2298 help
2299 Enable APR IPC protocol support between
2300 application processor and QDSP6. APR is
2301 used by audio driver to configure QDSP6's
2302 ASM, ADM and AFE.
2303
Joonwoo Park91d95462012-08-02 10:55:54 -07002304config MSM_QDSP6_APRV2
2305 bool "Audio QDSP6 APRv2 support"
2306 depends on MSM_SMD
2307 default n
2308 help
2309 Enable APRv2 IPC protocol support between
2310 application processor and QDSP6. APR is
2311 used by audio driver to configure QDSP6's
2312 ASM, ADM and AFE.
2313
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -07002314config MSM_QDSP6_CODECS
2315 bool "Audio Codecs on QDSP6 APR "
2316 depends on MSM_SMD
2317 default n
2318 help
2319 Enable Audio codecs with APR IPC protocol support between
2320 application processor and QDSP6. APR is
2321 used by audio driver to configure QDSP6's
2322 ASM, ADM and AFE.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002323
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002324config MSM_QDSP6V2_CODECS
2325 bool "Audio QDSP6V2 APR support"
2326 depends on MSM_SMD
2327 help
2328 Enable Audio codecs with APR IPC protocol support between
2329 application processor and QDSP6 for B-family. APR is
2330 used by audio driver to configure QDSP6's
2331 ASM, ADM and AFE.
2332
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002333config MSM_AUDIO_QDSP6
2334 bool "QDSP6 HW Audio support"
2335 select SND_SOC_MSM_QDSP6_INTF
2336 default n
2337 help
2338 Enable HW audio support in QDSP6.
2339 QDSP6 can support HW encoder & decoder and audio processing
2340
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002341config MSM_AUDIO_QDSP6V2
2342 bool "QDSP6V2 HW Audio support"
2343 select SND_SOC_MSM_QDSP6V2_INTF
2344 help
2345 Enable HW audio support in QDSP6V2.
2346 QDSP6V2 can support HW encoder & decoder and
2347 audio processing. It will enable support for
2348 AAC, AMRNB, AMRWB, EVRC, MP3, QCELP among
2349 others.
2350
Joonwoo Park4a14a552012-08-02 11:03:21 -07002351config MSM_ADSP_LOADER
2352 tristate "ADSP loader support"
2353 select SND_SOC_MSM_APRV2_INTF
2354 depends on MSM_AUDIO_QDSP6V2 && m
2355 help
2356 Enable ADSP image loader.
2357 The ADSP loader brings ADSP out of reset
2358 for the platforms that use APRv2.
2359 Say M if you want to enable this module.
2360
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +02002361config MSM_ULTRASOUND_A
2362 bool "QDSP6 HW Ultrasound support"
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002363 help
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +02002364 Enable HW ultrasound support in QDSP6.
2365 QDSP6 can support HW encoder & decoder and
2366 ultrasound processing. It will enable
2367 ultrasound data paths between
2368 HW and services, calculating input events
2369 upon the ultrasound data.
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002370
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002371config MSM_RPC_VIBRATOR
2372 bool "RPC based MSM Vibrator Support"
2373 depends on MSM_ONCRPCROUTER
2374 help
2375 Enable the vibrator support on MSM over RPC. The vibrator
2376 is connected on the PMIC. Say Y if you want to enable this
2377 feature.
2378
2379config PM8XXX_RPC_VIBRATOR
2380 bool "RPC based Vibrator on PM8xxx PMICs"
2381 depends on MSM_RPC_VIBRATOR
2382 help
2383 Enable the vibrator support on MSM over RPC. The vibrator
2384 is connected on the PM8XXX PMIC. Say Y if you want to enable
2385 this feature.
2386
2387config MSM_SPM_V1
2388 bool "Driver support for SPM Version 1"
2389 help
2390 Enables the support for Version 1 of the SPM driver. SPM hardware is
2391 used to manage the processor power during sleep. The driver allows
2392 configuring SPM to allow different power modes.
2393
2394config MSM_SPM_V2
2395 bool "Driver support for SPM Version 2"
2396 help
2397 Enables the support for Version 2 of the SPM driver. SPM hardware is
2398 used to manage the processor power during sleep. The driver allows
2399 configuring SPM to allow different power modes.
2400
2401config MSM_L2_SPM
2402 bool "SPM support for L2 cache"
2403 depends on MSM_SPM_V2
2404 help
2405 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2406 control of L2 cache low power mode with a Subsystem Power manager.
2407 Enabling this driver allows configuring L2 SPM for low power modes
2408 on supported chipsets.
2409
Laura Abbott2d1760b2011-09-29 21:31:24 -07002410config MSM_MULTIMEDIA_USE_ION
2411 bool "Multimedia suport using Ion"
2412 depends on ION_MSM
2413 help
2414 Enable support for multimedia drivers using Ion for buffer management
2415 instead of pmem. Selecting this may also involve userspace
2416 dependencies as well.
2417
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002418config MSM_OCMEM
2419 bool "MSM On-Chip memory driver (OCMEM)"
2420 help
2421 Enable support for On-Chip Memory available on certain MSM chipsets.
2422 OCMEM is a low latency, high performance pool shared by subsystems.
2423
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002424config MSM_OCMEM_LOCAL_POWER_CTRL
2425 bool "OCMEM Local Power Control"
2426 depends on MSM_OCMEM
2427 help
2428 Enable direct power management of the OCMEM core by the
2429 OCMEM driver. By default power management is delegated to
2430 the RPM. Selecting this option causes the OCMEM driver to
2431 directly handle the various macro power transitions.
2432
2433config MSM_OCMEM_DEBUG
2434 bool "OCMEM Debug Support"
2435 depends on MSM_OCMEM
2436 help
2437 Enable debug options for On-chip Memory (OCMEM) driver.
2438 Various debug options include memory, power and latency.
2439 Choosing one of these options allows debugging of each
2440 individual subsystem separately.
2441
Naveen Ramarajc71b2de2012-08-20 12:35:52 -07002442config MSM_OCMEM_NONSECURE
2443 bool "OCMEM Non Secure Mode"
2444 depends on MSM_OCMEM_DEBUG
2445 help
2446 Disable OCMEM interaction with secure processor.
2447 By default OCMEM is secured and accesses for each master
2448 is requested by the OCMEM driver. Selecting this option
2449 causes the OCMEM memory to be in non-secure state unless
2450 its locked down by the secure processor.
2451
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002452config MSM_OCMEM_POWER_DEBUG
2453 bool "OCMEM Power Debug Support"
2454 depends on MSM_OCMEM_DEBUG
2455 help
2456 Enable debug support for OCMEM power management.
2457 This adds support for verifying all power management
2458 related operations of OCMEM. Both local power management
2459 and RPM assisted power management operations are supported.
2460
Naveen Ramaraj4b1d9392012-08-06 21:05:14 -07002461config MSM_OCMEM_POWER_DISABLE
2462 bool "OCMEM Disable Power Control"
2463 depends on MSM_OCMEM_DEBUG
2464 help
2465 Disable all OCMEM power management.
2466 This keeps all OCMEM macros turned ON at all times thus
2467 never allowing them to be turned OFF. Both local power
2468 management and RPM assisted power modes are supported.
2469
Laura Abbottad340ff2012-01-04 14:23:48 -08002470config MSM_RTB
2471 bool "Register tracing"
2472 help
2473 Add support for logging different events to a small uncached
2474 region. This is designed to aid in debugging reset cases where the
2475 caches may not be flushed before the target resets.
2476
2477config MSM_RTB_SEPARATE_CPUS
2478 bool "Separate entries for each cpu"
2479 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002480 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002481 help
2482 Under some circumstances, it may be beneficial to give dedicated space
2483 for each cpu to log accesses. Selecting this option will log each cpu
2484 separately. This will guarantee that the last acesses for each cpu
2485 will be logged but there will be fewer entries per cpu
2486
Stepan Moskovchenko57884842012-06-07 17:35:49 -07002487config MSM_EBI_ERP
2488 bool "External Bus Interface (EBI) error reporting"
2489 help
2490 Say 'Y' here to enable reporting of external bus interface errors to
2491 the kernel log. Information such as the offending address and
2492 transaction type will be logged. This may be useful for debugging
2493 seemingly broken memory accesses.
2494
2495 For production builds, you should probably say 'N' here.
2496
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002497config MSM_CACHE_ERP
2498 bool "Cache / CPU error reporting"
2499 depends on ARCH_MSM_KRAIT
2500 help
2501 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2502 log. Enabling this feature can be used as a system debugging technique
2503 if cache corruption is suspected. Cache error statistics will also be
2504 reported in /proc/cpu/msm_cache_erp.
2505
2506 For production builds, you should probably say 'N' here.
2507
2508config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002509 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002510 depends on MSM_CACHE_ERP
2511 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002512 To cause the kernel to panic whenever an L1 cache error is detected, say
2513 'Y' here. This may be useful as a debugging technique if general system
2514 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002515
2516 For production builds, you should probably say 'N' here.
2517
Stepan Moskovchenko7035f652012-05-31 17:48:01 -07002518config MSM_L1_ERR_LOG
2519 bool "Log CPU ERP events to system memory"
2520 depends on MSM_CACHE_ERP
2521 help
2522 Enable logging CPU ERP events to an area of memory that will be
2523 preserved across a system reset. This may be useful for detecting and
2524 troubleshooting ERP-related system crashes in the field.
2525
2526 For production builds, you may want to say 'Y' here.
2527
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002528config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2529 bool "Report L2 master port slave/decode errors in kernel log"
2530 depends on MSM_CACHE_ERP
2531 help
2532 Master port errors can occur when a memory request is not properly
2533 handled by the destination slave. This can occur if the destination
2534 register does not exist or is inaccessible due to security
2535 restrictions or (in some cases) clock configuration. Enabling this
2536 option will cause a backtrace to be printed to the kernel log whenever
2537 such an error is encountered. Note that the error is reported as an
2538 interrupt rather than as an exception, meaning that the backtrace may
2539 have some skid. This option may help with debugging, though production
2540 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002541
2542config MSM_L2_ERP_PORT_PANIC
2543 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002544 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002545 help
2546 Master port errors can occur when a memory request is not properly
2547 handled by the destination slave. Enable this option to catch drivers
2548 which attempt to access bad areas of the address space, or access
2549 hardware registers in an improper state (such as certain clocks not
2550 being on). This option may help with debugging, though production
2551 builds should probably say 'N' here.
2552
2553config MSM_L2_ERP_1BIT_PANIC
2554 bool "Panic on recoverable L2 soft errors"
2555 depends on MSM_CACHE_ERP
2556 help
2557 Enable this option to cause a kernel panic whenever the L2 cache
2558 encounters a single-bit (correctable) soft error. This option should
2559 only be enabled when doing low-level debugging where cache corruption
2560 is suspected.
2561
2562 For production builds, you should definitely say 'N' here.
2563
2564config MSM_L2_ERP_2BIT_PANIC
2565 bool "Panic on unrecoverable L2 soft errors"
2566 depends on MSM_CACHE_ERP
2567 help
2568 Enable this option to cause a kernel panic whenever the L2 cache
2569 encounters a double-bit (non-correctable) soft error. Debug builds
2570 will likely benefit from having this option enabled to catch cache
2571 problems as soon as possible.
2572
2573 For production builds, it may be acceptable to say 'N' here, since
2574 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002575
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002576config MSM_DCVS
2577 bool "Use MSM DCVS for CPU/GPU Frequency control"
2578 depends on MSM_SCM
2579 help
2580 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2581 The DCVS manager allows idle driver to feed the idle information to the
2582 algorithm and the algorithm returns a frequency for the core which is
2583 passed to the frequency change driver.
2584
Pankaj Kumar32ce1ea2012-04-04 20:29:29 +05302585config MSM_CPR
2586 tristate "Use MSM CPR in S/W mode"
2587 help
2588 Enable CPR (core power reduction) in S/W mode, where the processor
2589 get's the notification from CPR block and programs the PMIC.
2590
2591config MSM_VP_REGULATOR
2592 tristate "Use MSM PMIC8029 C2 regulator"
2593 depends on ARCH_MSM8625
2594 help
2595 Enable MSM PMIC8029 C2 regulator support using APC_PLEVEL access
2596 for MSMs like 8625.
2597
Taniya Dasc43e6872012-03-21 16:41:14 +05302598config HAVE_ARCH_HAS_CURRENT_TIMER
2599 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002600
2601config MSM_CACHE_DUMP
2602 bool "Cache dumping support"
2603 help
2604 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2605 This allows for analysis of the caches in case cache corruption is
2606 suspected.
2607
Laura Abbott7b637362012-03-29 16:43:49 -07002608config MSM_CACHE_DUMP_ON_PANIC
2609 bool "Dump caches on panic"
2610 depends on MSM_CACHE_DUMP
2611 help
2612 By default, the caches are flushed on panic. This means that trying to
2613 look at them in a RAM dump will give useless data. Select this if you
2614 want to dump the L1 and L2 caches on panic before any flush occurs.
2615 If unsure, say N
2616
Jack Phamccbbfab2012-04-09 19:50:20 -07002617config MSM_HSIC_SYSMON
2618 tristate "MSM HSIC system monitor driver"
2619 depends on USB
2620 help
2621 Add support for bridging with the system monitor interface of MDM
2622 over HSIC. This driver allows the local system monitor to
2623 communicate with the remote system monitor interface.
2624
2625config MSM_HSIC_SYSMON_TEST
2626 tristate "MSM HSIC system monitor bridge test"
2627 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2628 help
2629 Enable the test hook for the Qualcomm system monitor HSIC driver.
2630 This will create a debugfs file entry named "hsic_sysmon_test" which
2631 can be read and written to send character data to the sysmon port of
2632 the modem over USB.
2633
Anirudh Ghayal0d2291a2012-09-20 21:31:41 +05302634config MSM_RPC_PMIC
2635 tristate "MSM RPC PMIC driver"
2636 depends on MSM_ONCRPCROUTER
2637 help
2638 This driver supports the PMIC functionality over RPC for those MSM's
2639 which do not have a direct access to PMIC. It supports ability to
2640 configure MPP, GPIO and all the other supported peripherals of the
2641 PMIC.
2642
Anirudh Ghayald3a63732012-09-20 22:13:13 +05302643config MSM_RPC_USB
2644 tristate "MSM RPC USB driver"
2645 depends on MSM_ONCRPCROUTER
2646 help
2647 This driver supports the USB configuration support over the RPC
2648 interface. It support the HS USB module connected to the MSM
2649 and FS USB which is connected over the PMIC. This support is
2650 required for MSMs on which the APPS does not have a direct access
2651 to the PMIC.
2652
2653config MSM_RPC_PMAPP
2654 tristate "MSM RPC PMIC APP driver"
2655 depends on MSM_ONCRPCROUTER
2656 help
2657 This driver supports the configuration of various PMIC APP modules
2658 such as display backlight, vreg pin-ctrl, smps clock over the RPC
2659 interface. This support is required for MSMs on which the APPS
2660 does not have a direct access to the PMIC.
Pushkar Joshi0fc73462012-09-26 17:59:31 -07002661
2662config MSM_ENABLE_WDOG_DEBUG_CONTROL
2663 bool "MSM Watchdog driver to disable debug Image"
2664 help
2665 This driver supports the configuration of the GCC_WDOG_DEBUG register
2666 used to control debug image.
2667 This support is currently required for MSM8974 to disable debug image
2668 on PS HOLD reset
Taniya Dasea4263f92012-08-22 18:52:51 +05302669
2670config MSM_FIQ
2671 bool "Enable FIQ for debugging"
2672 depends on ARCH_MSM8625
2673 select FIQ
Taniya Das36e4aa12012-07-04 18:27:16 +05302674 select GIC_SECURE
Taniya Dasea4263f92012-08-22 18:52:51 +05302675 help
2676 Enable any line to be used as an FIQ. This will help debugging
2677 if apps is not responding and holding lock with irqs disabled.
2678 Modem will then generate an raise a FIQ on this line before sending
2679 SMSM reset.
Greg Reidb1d240a2012-10-12 12:20:31 -04002680
2681config MSM_USE_USER_ACCESSIBLE_TIMERS
2682 bool "Enables mapping an MSM timer counter page to user space."
2683 depends on ARM_USE_USER_ACCESSIBLE_TIMERS
2684 help
2685 Enables MSM-specific user accessible timers via a shared
2686 memory page containing the cycle counter.
2687
Brian Swetland9e73c842007-11-26 04:12:13 -08002688endif