blob: 7d0f0519ba321fe4f90f606b8ff08c603893cc89 [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 MIGRATION
Gregory Beanab78cde2010-09-01 16:26:12 -070054 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070055 select RESERVE_FIRST_PAGE
56 select MSM_DALRPC
57 select MSM_SPM_V1
58 select REGULATOR
Justin Paupore637a25d2011-07-14 17:11:04 -070059 select MSM_PROC_COMM_REGULATOR
Taniya Dasbae99fb2011-10-12 09:55:13 +053060 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -080061 select MSM_PM2 if PM
Chintan Pandyabb021762012-06-21 15:03:29 +053062 select HOLES_IN_ZONE if SPARSEMEM
Taniya Dascd1d0232012-07-03 17:50:47 +053063 select MSM_MODEM_RESTART
Chintan Pandya62a2f7c2012-10-30 12:00:40 +053064 select ARM_HAS_SG_CHAIN
Daniel Walker7b521612010-05-06 12:44:57 -070065
Daniel Walker4ad15e62010-05-06 13:54:17 -070066config ARCH_QSD8X50
67 bool "QSD8X50"
68 select ARCH_MSM_SCORPION
Daniel Walker4ad15e62010-05-06 13:54:17 -070069 select MSM_VIC
70 select CPU_V7
David Brown74d10d72011-05-16 13:57:39 -070071 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070072 select MSM_REMOTE_SPINLOCK_LDREX
73 select CPU_USE_DOMAINS
74 select EMULATE_DOMAIN_MANAGER_V7
Gregory Beanab78cde2010-09-01 16:26:12 -070075 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070076 select MSM_DALRPC
Matt Wagantall88b86312012-01-31 16:53:03 -080077 select MSM_PM2 if PM
Taniya Dascd1d0232012-07-03 17:50:47 +053078 select MSM_MODEM_RESTART
Daniel Walker46fe5f22010-08-18 11:00:25 -070079
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070080config ARCH_MSM8X60
81 bool "MSM8X60"
Jeff Ohlsteine14411d2010-11-30 13:06:36 -080082 select ARCH_MSM_SCORPIONMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070083 select SMP_PARALLEL_START if SMP
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070084 select ARM_GIC
85 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070086 select MSM_REMOTE_SPINLOCK_LDREX
87 select ARCH_REQUIRE_GPIOLIB
88 select MSM_ADM3
89 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -080090 select MSM_RPM_REGULATOR
David Brown1a5ab4b2011-05-16 15:53:38 -070091 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070092 select MSM_PIL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070093 select ARCH_HAS_CPU_IDLE_WAIT
94 select MSM_DIRECT_SCLK_ACCESS
95 select MSM_RPM
96 select MSM_XO
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070097 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070098 select MSM_BUS_SCALING
99 select MSM_SECURE_IO
100 select MSM_DALRPC
101 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700102 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700103 select MSM_NATIVE_RESTART
104 select ARCH_INLINE_SPIN_TRYLOCK
105 select ARCH_INLINE_SPIN_TRYLOCK_BH
106 select ARCH_INLINE_SPIN_LOCK
107 select ARCH_INLINE_SPIN_LOCK_BH
108 select ARCH_INLINE_SPIN_LOCK_IRQ
109 select ARCH_INLINE_SPIN_LOCK_IRQSAVE
110 select ARCH_INLINE_SPIN_UNLOCK
111 select ARCH_INLINE_SPIN_UNLOCK_BH
112 select ARCH_INLINE_SPIN_UNLOCK_IRQ
113 select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
114 select ARCH_INLINE_READ_TRYLOCK
115 select ARCH_INLINE_READ_LOCK
116 select ARCH_INLINE_READ_LOCK_BH
117 select ARCH_INLINE_READ_LOCK_IRQ
118 select ARCH_INLINE_READ_LOCK_IRQSAVE
119 select ARCH_INLINE_READ_UNLOCK
120 select ARCH_INLINE_READ_UNLOCK_BH
121 select ARCH_INLINE_READ_UNLOCK_IRQ
122 select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
123 select ARCH_INLINE_WRITE_TRYLOCK
124 select ARCH_INLINE_WRITE_LOCK
125 select ARCH_INLINE_WRITE_LOCK_BH
126 select ARCH_INLINE_WRITE_LOCK_IRQ
127 select ARCH_INLINE_WRITE_LOCK_IRQSAVE
128 select ARCH_INLINE_WRITE_UNLOCK
129 select ARCH_INLINE_WRITE_UNLOCK_BH
130 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
131 select CPU_HAS_L2_PMU
132 select MSM_SPM_V1
Stephen Boyd2a1eb582010-08-27 10:01:23 -0700133 select MSM_SCM if SMP
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530134 select MULTI_IRQ_HANDLER
Laura Abbott46505f62011-11-02 18:06:55 -0700135 select MSM_MULTIMEDIA_USE_ION
Matt Wagantall88b86312012-01-31 16:53:03 -0800136 select MSM_PM8X60 if PM
Krishna Vankae2922052012-03-02 09:59:12 +0530137 select MSM_RUN_QUEUE_STATS
Laura Abbottb14ed962012-01-30 14:18:08 -0800138 select ARM_HAS_SG_CHAIN
Sidipotu Ashokbf84d4d2012-11-06 17:13:28 +0530139 select USE_DEV_CTRL_VOLUME
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700140
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800141config ARCH_MSM8960
142 bool "MSM8960"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700143 select ARCH_MSM_KRAITMP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800144 select ARM_GIC
145 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700146 select GPIO_MSM_V2
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800147 select MSM_GPIOMUX
148 select MSM_SCM if SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700149 select MSM_DIRECT_SCLK_ACCESS
150 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -0800151 select MSM_RPM_REGULATOR
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700152 select MSM_RPM
153 select MSM_XO
154 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700155 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700156 select MSM_PIL
157 select MSM_AUDIO_QDSP6 if SND_SOC
158 select CPU_HAS_L2_PMU
159 select MSM_SPM_V2
160 select MSM_L2_SPM
161 select MSM_NATIVE_RESTART
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700162 select DONT_MAP_HOLE_AFTER_MEMBANK0
163 select MSM_REMOTE_SPINLOCK_SFPB
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700164 select ARCH_HAS_HOLES_MEMORYMODEL
Larry Basseld4d82c92011-12-07 09:52:49 -0800165 select CLEANCACHE
166 select QCACHE
Laura Abbott6d61a912011-10-27 16:44:14 -0700167 select MSM_MULTIMEDIA_USE_ION
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530168 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800169 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700170 select HOLES_IN_ZONE if SPARSEMEM
Krishna Vankae2922052012-03-02 09:59:12 +0530171 select MSM_RUN_QUEUE_STATS
Laura Abbottb14ed962012-01-30 14:18:08 -0800172 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700173 select MSM_KRAIT_WFE_FIXUP
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +0200174 select MSM_ULTRASOUND_A
Olav Haugan5e728722012-11-05 17:45:26 -0800175 select MSM_IOMMU_GPU_SYNC
Greg Reidb1d240a2012-10-12 12:20:31 -0400176 select GENERIC_TIME_VSYSCALL
177 select USE_USER_ACCESSIBLE_TIMERS
178 select ARM_USE_USER_ACCESSIBLE_TIMERS
179 select MSM_USE_USER_ACCESSIBLE_TIMERS
Jay Chokshi06e444f2012-12-06 20:48:23 -0800180 select MSM_CPU_PWRCTL
Priyanka Mathurdcaaaa9f2012-12-05 18:51:03 -0800181 select MSM_LPM_TEST
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800182
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700183config ARCH_MSM8930
184 bool "MSM8930"
185 select ARCH_MSM_KRAITMP
186 select ARM_GIC
187 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700188 select GPIO_MSM_V2
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700189 select MSM_GPIOMUX
190 select MSM_SCM if SMP
191 select MSM_DIRECT_SCLK_ACCESS
192 select REGULATOR
David Collins5779cea2012-01-05 15:09:21 -0800193 select MSM_RPM_REGULATOR
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700194 select MSM_RPM
195 select MSM_XO
196 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700197 select MSM_QDSP6_CODECS
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700198 select MSM_PIL
199 select MSM_AUDIO_QDSP6 if SND_SOC
200 select CPU_HAS_L2_PMU
201 select MSM_SPM_V2
202 select MSM_L2_SPM
203 select MSM_NATIVE_RESTART
204 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600205 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700206 select ARCH_HAS_HOLES_MEMORYMODEL
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +0200207 select MSM_ULTRASOUND_A
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530208 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800209 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700210 select HOLES_IN_ZONE if SPARSEMEM
Laura Abbottb14ed962012-01-30 14:18:08 -0800211 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700212 select MSM_KRAIT_WFE_FIXUP
Olav Haugan5e728722012-11-05 17:45:26 -0800213 select MSM_IOMMU_GPU_SYNC
Greg Reidb1d240a2012-10-12 12:20:31 -0400214 select GENERIC_TIME_VSYSCALL
215 select USE_USER_ACCESSIBLE_TIMERS
216 select ARM_USE_USER_ACCESSIBLE_TIMERS
217 select MSM_USE_USER_ACCESSIBLE_TIMERS
Jay Chokshi06e444f2012-12-06 20:48:23 -0800218 select MSM_CPU_PWRCTL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700219
220config ARCH_APQ8064
221 bool "APQ8064"
222 select ARCH_MSM_KRAITMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700223 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700224 select ARM_GIC
225 select CPU_V7
226 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700227 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600228 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800229 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800230 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700231 select MSM_QDSP6_CODECS
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800232 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530233 select MULTI_IRQ_HANDLER
Praveen Chidambaram78499012011-11-01 17:15:17 -0600234 select MSM_RPM
235 select MSM_SPM_V2
236 select MSM_L2_SPM
Matt Wagantall88b86312012-01-31 16:53:03 -0800237 select MSM_PM8X60 if PM
Neil Leeder814d3d32012-01-19 17:21:43 -0500238 select CPU_HAS_L2_PMU
Laura Abbott085dd202012-03-30 14:02:34 -0700239 select HOLES_IN_ZONE if SPARSEMEM
Larry Bassel67b921d2012-04-06 10:23:27 -0700240 select CLEANCACHE
241 select QCACHE
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -0600242 select MIGHT_HAVE_PCI
243 select ARCH_SUPPORTS_MSI
Laura Abbottb14ed962012-01-30 14:18:08 -0800244 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700245 select MSM_KRAIT_WFE_FIXUP
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +0200246 select MSM_ULTRASOUND_A
Olav Haugan5e728722012-11-05 17:45:26 -0800247 select MSM_IOMMU_GPU_SYNC
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
Jay Chokshi06e444f2012-12-06 20:48:23 -0800252 select MSM_CPU_PWRCTL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700253
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700254config ARCH_MSM8974
255 bool "MSM8974"
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700256 select ARCH_MSM_KRAITMP
Sathish Ambley4149e842012-03-23 11:53:55 -0700257 select GPIO_MSM_V3
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700258 select ARM_GIC
259 select CPU_V7
260 select MSM_SCM if SMP
261 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530262 select MULTI_IRQ_HANDLER
Olav Hauganb800c8c2012-01-30 08:50:45 -0800263 select MSM_MULTIMEDIA_USE_ION
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700264 select MSM_PIL
Praveen Chidambaramaa9d52b2012-04-02 11:09:47 -0600265 select MSM_SPM_V2
266 select MSM_L2_SPM
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700267 select MSM_NATIVE_RESTART
268 select MSM_RESTART_V2
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600269 select MSM_PM8X60 if PM
Steve Mucklef132c6c2012-06-06 18:30:57 -0700270 select MAY_HAVE_SPARSE_IRQ
271 select SPARSE_IRQ
Mahesh Sivasubramaniancb668712012-04-04 13:03:25 -0600272 select MSM_RPM_SMD
David Collinsc7642322012-04-04 10:19:12 -0700273 select REGULATOR
Joonwoo Park91d95462012-08-02 10:55:54 -0700274 select MSM_QDSP6_APRV2
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -0700275 select MSM_QDSP6V2_CODECS
276 select MSM_AUDIO_QDSP6V2 if SND_SOC
David Collins1c91ea72012-05-03 16:17:35 -0700277 select MSM_RPM_REGULATOR_SMD
Laura Abbottb14ed962012-01-30 14:18:08 -0800278 select ARM_HAS_SG_CHAIN
Karthik Parsha404fb8f2012-07-30 19:14:05 -0700279 select MSM_RUN_QUEUE_STATS
Neeti Desai92eab922012-10-22 15:14:48 -0700280 select MEMORY_HOLE_CARVEOUT
Priyanka Mathur1af9d4b2012-10-30 14:55:44 -0700281 select MSM_RPM_STATS_LOG
Karthikeyan Ramasubramanian1edce9e2012-11-08 18:26:10 -0700282 select QMI_ENCDEC
Neeti Desai1b2cb552012-11-01 21:57:36 -0700283 select DONT_MAP_HOLE_AFTER_MEMBANK0
Naveen Ramarajf56e9af2012-12-10 17:07:38 -0800284 select SENSORS_ADSP
Baruch Eruchimovitch8c3f7802013-01-05 22:48:04 +0200285 select MSM_ULTRASOUND_B
Priyanka Mathur5d5b0a82013-01-17 10:54:29 -0800286 select MSM_LPM_TEST
Priyanka Mathur94abc462012-12-11 16:34:52 -0800287 select MSM_RPM_LOG
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700288
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +0530289config ARCH_MPQ8092
290 bool "MPQ8092"
291 select ARCH_MSM_KRAITMP
292 select GPIO_MSM_V3
293 select ARM_GIC
294 select MULTI_IRQ_HANDLER
295 select CPU_V7
296 select MSM_GPIOMUX
297 select MAY_HAVE_SPARSE_IRQ
298 select SPARSE_IRQ
299 select MSM_NOPM
300
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700301config ARCH_FSM9XXX
302 bool "FSM9XXX"
303 select ARCH_MSM_SCORPION
304 select MSM_VIC
305 select CPU_V7
306 select MSM_REMOTE_SPINLOCK_LDREX
Steve Mucklef132c6c2012-06-06 18:30:57 -0700307 select GPIO_FSM9XXX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530308 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800309 select MSM_DALRPC
Daniel Walker4ad15e62010-05-06 13:54:17 -0700310
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700311config ARCH_MSM9615
312 bool "MSM9615"
313 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530314 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700315 select ARCH_MSM_CORTEX_A5
316 select CPU_V7
Rohit Vaswani4307c842012-10-11 15:50:05 -0700317 select MIGHT_HAVE_CACHE_L2X0
Steve Mucklef132c6c2012-06-06 18:30:57 -0700318 select GPIO_MSM_V2
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700319 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600320 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600321 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700322 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800323 select REGULATOR
324 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530325 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800326 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800327 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700328 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800329 select MSM_QDSP6_APR
330 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800331 select FIQ
Laura Abbottb14ed962012-01-30 14:18:08 -0800332 select ARM_HAS_SG_CHAIN
Matt Wagantall9274df92011-12-15 11:11:05 -0800333
Taniya Das43bcdd62011-12-02 17:33:27 +0530334config ARCH_MSM8625
335 bool "MSM8625"
336 select ARCH_MSM_CORTEX_A5
337 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700338 select GPIO_MSM_V1
Taniya Das43bcdd62011-12-02 17:33:27 +0530339 select MSM_GPIOMUX
340 select ARM_GIC
341 select ARCH_MSM_CORTEXMP
342 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530343 select ARM_TICKET_LOCKS
Krishna Vankae2922052012-03-02 09:59:12 +0530344 select MSM_RUN_QUEUE_STATS
Trilok Sonib856ab92012-06-26 14:33:28 +0530345 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530346 select ARM_HAS_SG_CHAIN
Ashwin Chaugule3deb6b82012-12-21 13:09:48 -0500347 select CPU_HAS_L2_PMU
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700348
349config ARCH_MSM9625
350 bool "MSM9625"
351 select ARM_GIC
Abhimanyu Kapur490d20c2012-06-22 17:34:20 -0700352 select MIGHT_HAVE_CACHE_L2X0
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700353 select ARCH_MSM_CORTEX_A5
354 select SMP
355 select MSM_SMP
356 select CPU_V7
Abhimanyu Kapur4bb38622012-10-16 19:07:48 -0700357 select MSM_SCM if SMP
Jin Hong690e3352012-05-02 09:25:05 -0700358 select MSM_GPIOMUX
Girish Mahadevanf1c20a42012-09-19 11:44:36 -0600359 select MSM_RPM_SMD
Abhimanyu Kapur46e5e2b2012-10-02 20:45:37 -0700360 select MSM_NATIVE_RESTART
361 select MSM_RESTART_V2
Girish Mahadevan6e419562012-09-19 12:50:05 -0600362 select MSM_SPM_V2
363 select MSM_PM8X60 if PM
364 select MSM_SCM if SMP
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700365 select MULTI_IRQ_HANDLER
Rohit Vaswani61cf6ef2012-07-27 13:51:48 -0700366 select GPIO_MSM_V3
David Collins1cc6e402012-09-17 16:02:24 -0700367 select MAY_HAVE_SPARSE_IRQ
368 select SPARSE_IRQ
Mitchel Humpherys92e9b8a2012-10-08 18:12:47 -0700369 select MSM_MULTIMEDIA_USE_ION
Girish Mahadevane3be9302012-11-07 16:21:52 -0700370 select MSM_RPM_STATS_LOG
Venkat Sudhir0620e982012-11-15 16:04:36 -0800371 select MSM_QDSP6_APRV2
372 select MSM_QDSP6V2_CODECS
373 select MSM_AUDIO_QDSP6V2 if SND_SOC
Ashwin Chaugule8b459cc2012-11-26 15:20:54 -0500374 select CPU_HAS_L2_PMU
Pratik Patel61e91702013-01-27 20:30:42 -0800375 select MSM_JTAG_MM if CORESIGHT_ETM
Neeti Desai5f3b0312012-11-07 11:20:03 -0800376 select MEMORY_HOLE_CARVEOUT
Priyanka Mathurdc424552013-02-22 16:30:53 -0800377 select MSM_RPM_LOG
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700378
Syed Rameez Mustafa3971c142013-01-09 19:04:53 -0800379config ARCH_MSM8610
380 bool "MSM8610"
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700381 select ARM_GIC
382 select GIC_SECURE
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700383 select ARCH_MSM_CORTEXMP
384 select CPU_V7
385 select MSM_SCM if SMP
386 select MAY_HAVE_SPARSE_IRQ
387 select SPARSE_IRQ
388 select MULTI_IRQ_HANDLER
389 select GPIO_MSM_V3
390 select MSM_GPIOMUX
Hanumant Singhe4271312012-10-24 13:27:57 -0700391 select MSM_NATIVE_RESTART
392 select MSM_RESTART_V2
Arun Menon7d2f1732013-01-16 15:20:56 -0800393 select MSM_QDSP6_APRV2
394 select MSM_QDSP6V2_CODECS
395 select MSM_AUDIO_QDSP6V2 if SND_SOC
Syed Rameez Mustafa03ea34e2013-03-13 12:18:59 -0700396 select QMI_ENCDEC
Praveen Chidambaramee7b1652012-11-29 09:52:53 -0700397 select MSM_RPM_SMD
398 select MSM_SPM_V2
399 select MSM_L2_SPM
400 select MSM_PM8X60 if PM
Syed Rameez Mustafa03ea34e2013-03-13 12:18:59 -0700401 select MEMORY_HOLE_CARVEOUT
402 select DONT_MAP_HOLE_AFTER_MEMBANK0
403 select MSM_BUS_SCALING
Patrick Dalyd3ad9ff2012-11-06 11:07:27 -0800404 select CPU_FREQ_MSM
405 select CPU_FREQ
406 select CPU_FREQ_GOV_USERSPACE
407 select CPU_FREQ_GOV_ONDEMAND
Patrick Daly9e3fca92013-01-30 13:53:57 -0800408 select MSM_PIL
Siddharth Vermaead71842013-02-27 14:25:27 -0800409 select MSM_RUN_QUEUE_STATS
Mitchel Humpherys3537e672013-03-04 20:21:19 -0800410 select ARM_HAS_SG_CHAIN
Syed Rameez Mustafa03ea34e2013-03-13 12:18:59 -0700411 select REGULATOR
412 select MSM_RPM_REGULATOR_SMD
Syed Rameez Mustafa9ee80102012-11-02 14:41:04 -0700413
414config ARCH_MSM8226
415 bool "MSM8226"
416 select ARM_GIC
417 select GIC_SECURE
Syed Rameez Mustafa9ee80102012-11-02 14:41:04 -0700418 select ARCH_MSM_CORTEXMP
419 select CPU_V7
420 select MSM_SCM if SMP
421 select MAY_HAVE_SPARSE_IRQ
422 select SPARSE_IRQ
423 select MULTI_IRQ_HANDLER
424 select GPIO_MSM_V3
425 select MSM_GPIOMUX
Syed Rameez Mustafaf1bdd712012-11-20 14:56:44 -0800426 select MSM_NATIVE_RESTART
427 select MSM_RESTART_V2
Bhalchandra Gajare4e08f632012-12-18 11:54:35 -0800428 select MSM_QDSP6_APRV2
429 select MSM_QDSP6V2_CODECS
430 select MSM_AUDIO_QDSP6V2 if SND_SOC
Karthikeyan Ramasubramaniand04c8652013-01-16 09:03:51 -0700431 select QMI_ENCDEC
Praveen Chidambarama06f60d2012-11-29 09:52:53 -0700432 select MSM_RPM_SMD
433 select MSM_SPM_V2
434 select MSM_L2_SPM
435 select MSM_PM8X60 if PM
Neeti Desaibfedbd32012-11-21 13:19:36 -0800436 select MEMORY_HOLE_CARVEOUT
437 select DONT_MAP_HOLE_AFTER_MEMBANK0
Gagan Mace1ec9522013-02-01 12:10:21 -0700438 select MSM_BUS_SCALING
Syed Rameez Mustafa03ea34e2013-03-13 12:18:59 -0700439 select CPU_FREQ_MSM
440 select CPU_FREQ
441 select CPU_FREQ_GOV_USERSPACE
442 select CPU_FREQ_GOV_ONDEMAND
443 select MSM_PIL
444 select MSM_RUN_QUEUE_STATS
Mitchel Humpherys3537e672013-03-04 20:21:19 -0800445 select ARM_HAS_SG_CHAIN
David Keitelc0092e12013-03-07 12:09:48 -0800446 select REGULATOR
447 select MSM_RPM_REGULATOR_SMD
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700448endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700449
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700450choice
451 prompt "MSM SoC Revision"
452 default MSM_SOC_REV_NONE
453config MSM_SOC_REV_NONE
454 bool "N/A"
455 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
456 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walkerbf83de42010-03-16 16:29:44 -0700457config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700458 bool "Rev. A"
459 select ARCH_MSM7X27A if ARCH_MSM7X27
Daniel Walkerbf83de42010-03-16 16:29:44 -0700460endchoice
461
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700462config MSM_KRAIT_TBB_ABORT_HANDLER
463 bool "Krait TBB/TBH data abort handler"
464 depends on ARCH_MSM_KRAIT
465 depends on ARM_THUMB
466 help
467 Certain early samples of the Krait processor may generate data
468 aborts for TBB / TBH instructions that fail their condition code
469 checks. Enabling this option will ignore these erroneous data aborts,
470 at the expense of a very small performance penalty.
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800471
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700472 If unsure, say N.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700473
474config ARCH_MSM_ARM11
475 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700476
Daniel Walkerbf83de42010-03-16 16:29:44 -0700477config ARCH_MSM_SCORPION
478 bool
479
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700480config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700481 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800482 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700483
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700484config MSM_SMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700485 select HAVE_SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700486 bool
487
488config ARCH_MSM_SCORPIONMP
489 select ARCH_MSM_SCORPION
490 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530491 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel61e91702013-01-27 20:30:42 -0800492 select MSM_JTAG if CORESIGHT_ETM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700493 bool
494
495config ARCH_MSM_KRAITMP
496 select ARCH_MSM_KRAIT
497 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530498 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel61e91702013-01-27 20:30:42 -0800499 select MSM_JTAG if CORESIGHT_ETM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700500 bool
501
Taniya Das43bcdd62011-12-02 17:33:27 +0530502config ARCH_MSM_CORTEXMP
503 select MSM_SMP
504 bool
505
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700506config MSM_KRAIT_WFE_FIXUP
507 bool
508
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700509config MSM_RESTART_V2
510 bool
511
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700512config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800513 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700514
515config ARCH_MSM7X27A
516 bool
517 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700518 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530519 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530520 select ARM_GIC
521 select ARCH_MSM_CORTEXMP
Trilok Sonib856ab92012-06-26 14:33:28 +0530522 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530523 select ARM_HAS_SG_CHAIN
Ashwin Chaugule3deb6b82012-12-21 13:09:48 -0500524 select CPU_HAS_L2_PMU
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700525
Gregory Beanf9f3d312010-04-30 22:06:50 -0700526config MSM_VIC
527 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700528
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700529config MSM_RPM
530 bool "Resource Power Manager"
531 select MSM_MPM
532
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600533config MSM_RPM_SMD
534 depends on MSM_SMD
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600535 select MSM_MPM_OF
536 bool "RPM driver using SMD protocol"
537 help
538 RPM is the dedicated hardware engine for managing shared SoC
539 resources. This config adds driver support for using SMD as a
540 transport layer communication with RPM hardware. It also selects
541 the MSM_MPM config that programs the MPM module to monitor interrupts
542 during sleep modes.
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600543
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700544config MSM_MPM
545 bool "Modem Power Manager"
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600546 help
547 MPM is a dedicated hardware resource responsible for entering and
548 waking up from a system wide low power mode. The MPM driver tracks
549 the wakeup interrupts and configures the MPM to monitor the wakeup
550 interrupts when going to a system wide sleep mode.
551
552config MSM_MPM_OF
553 bool "Modem Power Manager"
Subbaraman Narayanamurthy0b148fc2012-11-28 12:14:12 -0800554 depends on OF
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600555 help
556 MPM is a dedicated hardware resource responsible for entering and
557 waking up from a system wide low power mode. The MPM driver tracks
558 the wakeup interrupts and configures the MPM to monitor the wakeup
559 interrupts when going to a system wide sleep mode. This config option
560 enables the MPM driver that supports initialization from a device
561 tree
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700562
Priyanka Mathur9a75ec52012-12-07 16:02:40 -0800563config MSM_LPM_TEST
564 bool "Low Power Mode test framework"
Priyanka Mathur3abfd442013-01-11 12:58:51 -0800565 depends on MSM_RPM || MSM_RPM_SMD
Priyanka Mathur9a75ec52012-12-07 16:02:40 -0800566 depends on MSM_PM8X60
567 help
568 LPM_TEST is a test framework that assists in exercising the low
569 power mode algorithm on MSM targets. This test framework tracks
570 notifications sent during entry/exit of the low power modes and
571 processes them to measure various stats including latency
572 measurement.
573
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700574config MSM_XO
575 bool
576
577config MSM_REMOTE_SPINLOCK_DEKKERS
578 bool
579config MSM_REMOTE_SPINLOCK_SWP
580 bool
581config MSM_REMOTE_SPINLOCK_LDREX
582 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600583config MSM_REMOTE_SPINLOCK_SFPB
584 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700585config MSM_ADM3
586 bool
587
588menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700589
590config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700591 depends on ARCH_MSM7X01A
592 depends on MSM_STACKED_MEMORY
593 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700594 bool "Halibut Board (QCT SURF7201A)"
595 help
596 Support for the Qualcomm SURF7201A eval board.
597
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700598config MACH_MSM7201A_SURF
599 depends on ARCH_MSM7X01A
600 depends on MSM_STACKED_MEMORY
601 default y
602 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700603 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700604 Support for the Qualcomm MSM7201A SURF eval board.
605
606config MACH_MSM7201A_FFA
607 depends on ARCH_MSM7X01A
608 depends on MSM_STACKED_MEMORY
609 default y
610 bool "MSM7201A FFA"
611 help
612 Support for the Qualcomm MSM7201A FFA eval board.
613
614config MACH_TROUT
615 depends on ARCH_MSM7X01A
616 depends on MSM_STACKED_MEMORY
617 default y
618 bool "Trout"
619
620config MACH_MSM7X27_SURF
621 depends on ARCH_MSM7X27
622 depends on !MSM_STACKED_MEMORY
623 default y
624 bool "MSM7x27 SURF"
625 help
626 Support for the Qualcomm MSM7x27 SURF eval board.
627
628config MACH_MSM7X27_FFA
629 depends on ARCH_MSM7X27
630 depends on !MSM_STACKED_MEMORY
631 default y
632 bool "MSM7x27 FFA"
633 help
634 Support for the Qualcomm MSM7x27 FFA eval board.
635
636config MACH_MSM7X27A_RUMI3
637 depends on ARCH_MSM7X27A
638 depends on !MSM_STACKED_MEMORY
639 default y
640 bool "MSM7x27A RUMI3"
641 help
642 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
643
644config MACH_MSM7X27A_SURF
645 depends on ARCH_MSM7X27A
646 depends on !MSM_STACKED_MEMORY
647 default y
648 bool "MSM7x27A SURF"
649 help
650 Support for the Qualcomm MSM7x27A SURF.
651
652config MACH_MSM7X27A_FFA
653 depends on ARCH_MSM7X27A
654 depends on !MSM_STACKED_MEMORY
655 default y
656 bool "MSM7x27A FFA"
657 help
658 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700659
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530660config MACH_MSM7625A_SURF
661 depends on ARCH_MSM7X27A
662 depends on !MSM_STACKED_MEMORY
663 default y
664 bool "MSM7625A SURF"
665 help
666 Support for the Qualcomm MSM7625A SURF.
667
668config MACH_MSM7625A_FFA
669 depends on ARCH_MSM7X27A
670 depends on !MSM_STACKED_MEMORY
671 default y
672 bool "MSM7625A FFA"
673 help
674 Support for the Qualcomm MSM7625A FFA.
675
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530676config MACH_MSM7627A_QRD1
677 depends on ARCH_MSM7X27A
678 depends on !MSM_STACKED_MEMORY
679 default y
680 bool "MSM7627A QRD1"
681 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530682 Support for the Qualcomm MSM7627A Reference Design.
683
684config MACH_MSM7627A_QRD3
685 depends on ARCH_MSM7X27A
686 depends on !MSM_STACKED_MEMORY
687 default y
688 bool "MSM7627A QRD3"
689 help
690 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530691
Taniya Dasc868a2e2012-01-03 10:18:47 +0530692config MACH_MSM7627A_EVB
693 depends on ARCH_MSM7X27A
694 depends on !MSM_STACKED_MEMORY
695 default y
696 bool "MSM7627A EVB"
697 help
698 Support for the Qualcomm MSM7627A Reference Design.
699
Taniya Das43bcdd62011-12-02 17:33:27 +0530700config MACH_MSM8625_RUMI3
701 depends on ARCH_MSM8625
702 depends on !MSM_STACKED_MEMORY
703 default y
704 bool "MSM8625 RUMI3"
705 help
706 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
707
Taniya Dase3027e22012-02-27 16:32:27 +0530708config MACH_MSM8625_SURF
709 depends on ARCH_MSM8625
710 depends on !MSM_STACKED_MEMORY
711 default y
712 bool "MSM8625 SURF"
713 help
714 Support for the Qualcomm MSM8625 SURF.
715
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530716config MACH_MSM8625_FFA
717 depends on ARCH_MSM8625
718 depends on !MSM_STACKED_MEMORY
719 default y
720 bool "MSM8625 FFA"
721 help
722 Support for the Qualcomm MSM8625 FFA.
723
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530724config MACH_MSM8625_EVB
725 depends on ARCH_MSM8625
726 depends on !MSM_STACKED_MEMORY
727 default y
728 bool "MSM8625 EVB"
729 help
730 Support for the Qualcomm MSM8625 Reference Design.
731
Taniya Dasbd096542012-03-15 17:43:45 +0530732config MACH_MSM8625_QRD7
733 depends on ARCH_MSM8625
734 depends on !MSM_STACKED_MEMORY
735 default y
736 bool "MSM8625 QRD7"
737 help
738 Support for the Qualcomm MSM8625 Reference Design.
739
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530740config MACH_MSM8625_EVT
741 depends on ARCH_MSM8625
742 depends on !MSM_STACKED_MEMORY
743 default y
744 bool "MSM8625 EVT"
745 help
746 Support for the Qualcomm MSM8625 Reference Design.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700747
Channagoud Kadabi2bd65c82012-10-12 15:14:23 +0530748config MACH_QRD_SKUD_PRIME
749 depends on ARCH_MSM8625
750 depends on !MSM_STACKED_MEMORY
751 default y
752 bool "MSM8625 SKUD PRIME"
753 help
754 Support for the Qualcomm MSM8625 SKUD prime Reference Design.
755 Add support for a SKUD prime reference design based on MSM8x25
756 chipset. This device is much closer to a phone than regular form
757 factor devices, with new touch, display panel and other hardware
758 configurations.
759
Daniel Walker7b521612010-05-06 12:44:57 -0700760config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700761 depends on ARCH_MSM7X30
762 depends on !MSM_STACKED_MEMORY
763 default y
764 bool "MSM7x30 SURF"
765 help
766 Support for the Qualcomm MSM7x30 SURF eval board.
767
768config MACH_MSM7X30_FFA
769 depends on ARCH_MSM7X30
770 depends on !MSM_STACKED_MEMORY
771 default y
772 bool "MSM7x30 FFA"
773 help
774 Support for the Qualcomm MSM7x30 FFA eval board.
775
776config MACH_MSM7X30_FLUID
777 depends on ARCH_MSM7X30
778 depends on !MSM_STACKED_MEMORY
779 default y
780 bool "MSM7x30 FLUID"
781 help
782 Support for the Qualcomm MSM7x30 FLUID eval board.
783
784config MACH_SAPPHIRE
785 depends on ARCH_MSM7X01A
786 default n
787 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700788
Daniel Walker4ad15e62010-05-06 13:54:17 -0700789config MACH_QSD8X50_SURF
790 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700791 depends on MSM_SOC_REV_NONE
792 depends on MSM_STACKED_MEMORY
793 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700794 bool "QSD8x50 SURF"
795 help
796 Support for the Qualcomm QSD8x50 SURF eval board.
797
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700798config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700799 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700800 depends on MSM_SOC_REV_NONE
801 depends on MSM_STACKED_MEMORY
802 default y
803 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700804 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700805 Support for the Qualcomm QSD8x50 FFA eval board.
806
807config MACH_MSM7X25_SURF
808 depends on ARCH_MSM7X25
809 depends on !MSM_STACKED_MEMORY
810 default y
811 bool "MSM7x25 SURF"
812 help
813 Support for the Qualcomm MSM7x25 SURF eval board.
814
815config MACH_MSM7X25_FFA
816 depends on ARCH_MSM7X25
817 depends on !MSM_STACKED_MEMORY
818 default y
819 bool "MSM7x25 FFA"
820 help
821 Support for the Qualcomm MSM7x25 FFA eval board.
822
823config MACH_MSM8X55_SURF
824 depends on ARCH_MSM7X30
825 depends on !MSM_STACKED_MEMORY
826 default y
827 bool "MSM8X55 SURF"
828 help
829 Support for the Qualcomm MSM8x55 SURF eval board.
830
831config MACH_MSM8X55_FFA
832 depends on ARCH_MSM7X30
833 depends on !MSM_STACKED_MEMORY
834 default y
835 bool "MSM8X55 FFA"
836 help
837 Support for the Qualcomm MSM8x55 FFA eval board.
838
839config MACH_MSM8X55_SVLTE_FFA
840 depends on ARCH_MSM7X30
841 depends on !MSM_STACKED_MEMORY
842 default y
843 bool "MSM8X55 SVLTE FFA"
844 help
845 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
846
847config MACH_MSM8X55_SVLTE_SURF
848 depends on ARCH_MSM7X30
849 depends on !MSM_STACKED_MEMORY
850 default y
851 bool "MSM8X55 SVLTE SURF"
852 help
853 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700854
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700855config MACH_MSM8X60_SURF
856 depends on ARCH_MSM8X60
857 default n
858 bool "MSM8x60 SURF"
859 help
860 Support for the Qualcomm MSM8x60 SURF eval board.
861
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700862config MACH_MSM8X60_FFA
863 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700864 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700865 bool "MSM8x60 FFA"
866 help
867 Support for the Qualcomm MSM8x60 FFA eval board.
868
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700869config MACH_MSM8X60_FLUID
870 depends on ARCH_MSM8X60
871 default n
872 bool "MSM8x60 FLUID"
873 help
874 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
875 8x60 target which has a form factor that is much closer to that
876 of a phone than other targets. It also has a new display and
877 touchscreen controller.
878
879config MACH_MSM8X60_FUSION
880 depends on ARCH_MSM8X60
881 default n
882 bool "MSM8x60 FUSION"
883 help
884 Support for the Qualcomm MSM8x60 Fusion SURF device.
885
886config MACH_MSM8X60_FUSN_FFA
887 depends on ARCH_MSM8X60
888 default n
889 bool "MSM8x60 FUSN FFA"
890 help
891 Support for the Qualcomm MSM8x60 Fusion FFA device.
892
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400893config MACH_MSM8X60_DRAGON
894 depends on ARCH_MSM8X60
895 default n
896 bool "MSM8x60 DRAGON"
897 help
898 Support for the Qualcomm MSM8x60 Dragon board.
899
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700900config MACH_MSM8960_CDP
901 depends on ARCH_MSM8960
902 bool "MSM8960 CDP"
903 help
904 Support for the Qualcomm MSM8960 CDP device.
905
906config MACH_MSM8960_MTP
907 depends on ARCH_MSM8960
908 bool "MSM8960 MTP"
909 help
910 Support for the Qualcomm MSM8960 MTP device.
911
912config MACH_MSM8960_FLUID
913 depends on ARCH_MSM8960
914 bool "MSM8960 FLUID"
915 help
916 Support for the Qualcomm MSM8960 FLUID device.
917
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300918config MACH_MSM8960_LIQUID
919 depends on ARCH_MSM8960
920 bool "MSM8960 LIQUID"
921 help
922 Support for the Qualcomm MSM8960 LIQUID device.
923
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700924config MACH_MSM8930_CDP
925 depends on ARCH_MSM8930
926 bool "MSM8930 CDP"
927 help
928 Support for the Qualcomm MSM8930 CDP device.
929
930config MACH_MSM8930_MTP
931 depends on ARCH_MSM8930
932 bool "MSM8930 MTP"
933 help
934 Support for the Qualcomm MSM8930 MTP device.
935
936config MACH_MSM8930_FLUID
937 depends on ARCH_MSM8930
938 bool "MSM8930 FLUID"
939 help
940 Support for the Qualcomm MSM8930 FLUID device.
941
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800942config MACH_MSM8627_CDP
943 depends on ARCH_MSM8930
944 bool "MSM8627 CDP"
945 help
946 Support for the Qualcomm MSM8627 CDP device.
947
948config MACH_MSM8627_MTP
949 depends on ARCH_MSM8930
950 bool "MSM8627 MTP"
951 help
952 Support for the Qualcomm MSM8627 MTP device.
953
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700954config MACH_MSM9615_CDP
955 depends on ARCH_MSM9615
956 bool "MSM9615 CDP"
957 help
958 Support for the Qualcomm MSM9615 CDP device.
959
960config MACH_MSM9615_MTP
961 depends on ARCH_MSM9615
962 bool "MSM9615 MTP"
963 help
964 Support for the Qualcomm MSM9615 MTP device.
965
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700966config MSM_USE_TSIF1
967 depends on ARCH_MSM8X60
968 bool "MSM8x60 use TSIF1"
969 help
970 Selects TSIF1 core to be used rather than TSIF0.
971 The two TSIF cores share the same DM configuration
972 so they cannot be used simultaneously.
973
Joel King82b7e3f2012-01-05 10:03:27 -0800974config MACH_APQ8064_CDP
975 depends on ARCH_APQ8064
976 bool "APQ8064 CDP"
977 help
978 Support for the Qualcomm APQ8064 CDP device.
979
Rohit Vaswani4375c802013-01-09 13:38:19 -0800980config MACH_FSM8064_EP
981 depends on ARCH_APQ8064
982 bool "FSM8064 EP"
983 help
984 Support for the Qualcomm FSM8064 EP device.
985 This board also known as Femto development platform (FDP)
986 is based on APQ8064 chipset. This board does not support
987 keyboard, display or multimedia.
988
Joel King82b7e3f2012-01-05 10:03:27 -0800989config MACH_APQ8064_MTP
990 depends on ARCH_APQ8064
991 bool "APQ8064 MTP"
992 help
993 Support for the Qualcomm APQ8064 MTP device.
994
995config MACH_APQ8064_LIQUID
996 depends on ARCH_APQ8064
997 bool "APQ8064 LIQUID"
998 help
999 Support for the Qualcomm APQ8064 LIQUID device.
1000
Joel King064bbf82012-04-01 13:23:39 -07001001config MACH_MPQ8064_CDP
1002 depends on ARCH_APQ8064
1003 bool "MPQ8064 CDP"
1004 help
1005 Support for the Qualcomm MPQ8064 CDP device.
1006
Joel King11ca8202012-02-13 16:19:03 -08001007config MACH_MPQ8064_HRD
1008 depends on ARCH_APQ8064
1009 bool "MPQ8064 HRD"
1010 help
1011 Support for the Qualcomm MPQ8064 HRD device.
1012
1013config MACH_MPQ8064_DTV
1014 depends on ARCH_APQ8064
1015 bool "MPQ8064 DTV"
1016 help
1017 Support for the Qualcomm MPQ8064 DTV device.
1018
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001019config MACH_FSM9XXX_SURF
1020 depends on ARCH_FSM9XXX
1021 depends on !MSM_STACKED_MEMORY
1022 default y
1023 bool "FSM9XXX SURF"
1024 help
1025 Support for the Qualcomm FSM9xxx femtocell
1026 chipset based SURF evaluation board and
1027 FFA board.
1028
Daniel Walker4ad15e62010-05-06 13:54:17 -07001029endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -08001030
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001031config MSM_STACKED_MEMORY
1032 bool "Stacked Memory"
1033 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -08001034 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001035 This option is used to indicate the presence of on-die stacked
1036 memory. When present this memory bank is used for a high speed
1037 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -08001038
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001039config PHYS_OFFSET
1040 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -07001041 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001042 default "0x80200000" if ARCH_APQ8064
1043 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -07001044 default "0x80200000" if ARCH_MSM8930
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001045 default "0x00000000" if ARCH_MSM8974
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +05301046 default "0x00000000" if ARCH_MPQ8092
Syed Rameez Mustafa1c99fd32013-03-05 22:11:17 -08001047 default "0x00000000" if ARCH_MSM8226
1048 default "0x00000000" if ARCH_MSM8610
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001049 default "0x10000000" if ARCH_FSM9XXX
Abhimanyu Kapur20ac2ad2012-09-25 04:23:59 -07001050 default "0x00200000" if ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001051 default "0x00200000" if !MSM_STACKED_MEMORY
1052 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
1053 default "0x20000000" if ARCH_QSD8X50
1054 default "0x40200000" if ARCH_MSM8X60
1055 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -08001056
Mitchel Humpherys05e58812012-08-13 14:24:13 -07001057config KERNEL_MSM_CONTIG_MEM_REGION
1058 bool "Enable in-kernel contiguous memory region"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001059 default y if ARCH_MSM8X60
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001060 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001061 help
Mitchel Humpherys05e58812012-08-13 14:24:13 -07001062 Enable the in-kernel contiguous memory allocator. Sets up a
1063 region of physically contiguous memory. This memory is
1064 reserved during initialization, and can be used
1065 generically.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001066
1067config KERNEL_PMEM_SMI_REGION
1068 bool "Enable in-kernel PMEM region for SMI"
1069 default y if ARCH_MSM8X60
1070 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
1071 help
1072 Enable the in-kernel PMEM allocator to use SMI memory.
1073
1074config PMEM_GPU0
1075 bool "Enable PMEM GPU0 region"
1076 default y
1077 depends on ARCH_QSD8X50 && ANDROID_PMEM
1078 help
1079 Enable the PMEM GPU0 device on SMI Memory.
1080
1081config MSM_AMSS_VERSION
1082 int
1083 default 6210 if MSM_AMSS_VERSION_6210
1084 default 6220 if MSM_AMSS_VERSION_6220
1085 default 6225 if MSM_AMSS_VERSION_6225
1086
1087choice
1088 prompt "AMSS modem firmware version"
1089
1090 default MSM_AMSS_VERSION_6225
1091
1092 config MSM_AMSS_VERSION_6210
1093 bool "6.2.10"
1094
1095 config MSM_AMSS_VERSION_6220
1096 bool "6.2.20"
1097
1098 config MSM_AMSS_VERSION_6225
1099 bool "6.2.20 + New ADSP"
1100endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -08001101
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001102config MSM_HAS_DEBUG_UART_HS
Daniel Walkerbf83de42010-03-16 16:29:44 -07001103 bool
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001104 help
1105 Say Y here if high speed MSM UART is present.
1106
1107config MSM_HAS_DEBUG_UART_HS_V14
1108 bool
1109 select MSM_HAS_DEBUG_UART_HS
1110 help
1111 Say Y here if high speed MSM UART v1.4 is present.
1112
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301113config MSM_DEBUG_UART_PHYS
1114 hex
1115 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
1116 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
1117 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
1118 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
1119 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
1120 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
1121 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
1122 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
1123
Brian Swetland9e73c842007-11-26 04:12:13 -08001124choice
1125 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001126 depends on DEBUG_LL
Brian Swetland9e73c842007-11-26 04:12:13 -08001127
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001128 config DEBUG_MSM_UART1
1129 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301130 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001131 help
1132 Say Y here if you want the debug print routines to direct
1133 their output to the first serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001134
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001135 config DEBUG_MSM_UART2
1136 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301137 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001138 help
1139 Say Y here if you want the debug print routines to direct
1140 their output to the second serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001141
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001142 config DEBUG_MSM_UART3
1143 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301144 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001145 help
1146 Say Y here if you want the debug print routines to direct
1147 their output to the third serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001148
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001149 config DEBUG_MSM8660_UART
1150 bool "Kernel low-level debugging messages via MSM 8660 UART"
1151 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001152 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001153 help
1154 Say Y here if you want the debug print routines to direct
1155 their output to the serial port on MSM 8660 devices.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001156
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001157 config DEBUG_MSM8960_UART
1158 bool "Kernel low-level debugging messages via MSM 8960 UART"
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001159 depends on ARCH_MSM8960 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001160 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001161 help
1162 Say Y here if you want the debug print routines to direct
1163 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001164
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001165 config DEBUG_MSM8930_UART
1166 bool "Kernel low-level debugging messages via MSM 8930 UART"
1167 depends on ARCH_MSM8930 && DEBUG_LL
1168 select MSM_HAS_DEBUG_UART_HS
1169 help
1170 Say Y here if you want the debug print routines to direct
1171 their output to the serial port on MSM 8930 devices.
1172
1173 config DEBUG_APQ8064_UART
1174 bool "Kernel low-level debugging messages via APQ 8064 UART"
1175 depends on ARCH_APQ8064 && DEBUG_LL
1176 select MSM_HAS_DEBUG_UART_HS
1177 help
1178 Say Y here if you want the debug print routines to direct
1179 their output to the serial port on APQ 8064 devices.
1180
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001181 config DEBUG_MSM8974_UART
1182 bool "Kernel low-level debugging messages via MSM 8974 UART"
1183 depends on ARCH_MSM8974
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001184 select MSM_HAS_DEBUG_UART_HS_V14
1185 help
1186 Say Y here if you want the debug print routines to direct
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001187 their output to the serial port on MSM 8974 devices.
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +05301188
1189 config DEBUG_MPQ8092_UART
1190 bool "Kernel low-level debugging messages via MPQ8092 UART"
1191 depends on ARCH_MPQ8092
1192 select MSM_HAS_DEBUG_UART_HS_V14
1193 help
1194 Say Y here if you want the debug print routines to direct
1195 their output to the serial port on MPQ8092 devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001196endchoice
Brian Swetland9e73c842007-11-26 04:12:13 -08001197
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001198choice
1199 prompt "Default Timer"
1200 default MSM7X00A_USE_GP_TIMER
1201
1202 config MSM7X00A_USE_GP_TIMER
1203 bool "GP Timer"
1204 help
1205 Low resolution timer that allows power collapse from idle.
1206
1207 config MSM7X00A_USE_DG_TIMER
1208 bool "DG Timer"
1209 help
1210 High resolution timer.
1211endchoice
1212
1213choice
1214 prompt "Suspend sleep mode"
1215 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1216 help
1217 Allows overriding the sleep mode used. Leave at power
1218 collapse suspend unless the arm9 image has problems.
1219
1220 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1221 bool "Power collapse suspend"
1222 help
1223 Lowest sleep state. Returns through reset vector.
1224
1225 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1226 bool "Power collapse"
1227 help
1228 Sleep state that returns through reset vector.
1229
1230 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1231 bool "Apps Sleep"
1232
1233 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1234 bool "Ramp down cpu clock and wait for interrupt"
1235
1236 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1237 bool "Wait for interrupt"
1238endchoice
1239
1240config MSM7X00A_SLEEP_MODE
1241 int
1242 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1243 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1244 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1245 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1246 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1247
1248choice
1249 prompt "Idle sleep mode"
1250 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1251 help
1252 Allows overriding the sleep mode used from idle. Leave at power
1253 collapse suspend unless the arm9 image has problems.
1254
1255 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1256 bool "Power collapse suspend"
1257 help
1258 Lowest sleep state. Returns through reset vector.
1259
1260 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1261 bool "Power collapse"
1262 help
1263 Sleep state that returns through reset vector.
1264
1265 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1266 bool "Apps Sleep"
1267
1268 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1269 bool "Ramp down cpu clock and wait for interrupt"
1270
1271 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1272 bool "Wait for interrupt"
1273endchoice
1274
1275config MSM7X00A_IDLE_SLEEP_MODE
1276 int
1277 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1278 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1279 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1280 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1281 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1282
1283config MSM7X00A_IDLE_SLEEP_MIN_TIME
1284 int "Minimum idle time before sleep"
1285 default 20000000
1286 help
1287 Minimum idle time in nanoseconds before entering low power mode.
1288
1289config MSM7X00A_IDLE_SPIN_TIME
1290 int "Idle spin time before cpu ramp down"
1291 default 80000
1292 help
1293 Spin time in nanoseconds before ramping down cpu clock and entering
1294 any low power state.
1295
1296menuconfig MSM_IDLE_STATS
1297 bool "Collect idle statistics"
1298 default y
1299 help
1300 Collect idle statistics and export them in proc/msm_pm_stats.
1301
1302if MSM_IDLE_STATS
1303
1304config MSM_IDLE_STATS_FIRST_BUCKET
1305 int "First bucket time"
1306 default 62500
1307 help
1308 Upper time limit in nanoseconds of first bucket.
1309
1310config MSM_IDLE_STATS_BUCKET_SHIFT
1311 int "Bucket shift"
1312 default 2
1313
1314config MSM_IDLE_STATS_BUCKET_COUNT
1315 int "Bucket count"
1316 default 10
1317
1318config MSM_SUSPEND_STATS_FIRST_BUCKET
1319 int "First bucket time for suspend"
1320 default 1000000000
1321 help
1322 Upper time limit in nanoseconds of first bucket of the
1323 histogram. This is for collecting statistics on suspend.
1324
1325endif # MSM_IDLE_STATS
1326
1327config CPU_HAS_L2_PMU
1328 bool "L2CC PMU Support"
1329 help
1330 Select this if the L2 cache controller has a Performance Monitoring Unit.
1331
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001332config HTC_HEADSET
1333 tristate "HTC 2 Wire detection driver"
1334 default n
1335 help
1336 Provides support for detecting HTC 2 wire devices, such as wired
1337 headset, on the trout platform. Can be used with the msm serial
1338 debugger, but not with serial console.
1339
1340config TROUT_BATTCHG
1341 depends on MACH_TROUT && POWER_SUPPLY
1342 default y
1343 bool "Trout battery / charger driver"
1344
1345config HTC_PWRSINK
1346 depends on MSM_SMD
1347 default n
1348 bool "HTC Power Sink Driver"
1349
1350config QSD_SVS
1351 bool "QSD Static Voltage Scaling"
1352 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1353 default y
1354 select TPS65023
1355 help
1356 Enables static voltage scaling using the TPS65023 PMIC.
1357
1358config QSD_PMIC_DEFAULT_DCDC1
1359 int "PMIC default output voltage"
1360 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1361 default 1250
1362 help
1363 This is the PMIC voltage at Linux kernel boot.
1364
1365config MSM_FIQ_SUPPORT
1366 default y
1367 bool "Enable installation of an FIQ handler."
1368
1369config MSM_SERIAL_DEBUGGER
1370 select MSM_FIQ_SUPPORT
1371 select KERNEL_DEBUGGER_CORE
1372 default n
1373 bool "FIQ Mode Serial Debugger"
1374 help
1375 The FIQ serial debugger can accept commands even when the
1376 kernel is unresponsive due to being stuck with interrupts
1377 disabled. Depends on the kernel debugger core in drivers/misc.
1378
1379config MSM_SERIAL_DEBUGGER_CONSOLE
1380 depends on MSM_SERIAL_DEBUGGER
1381 default n
1382 bool "Console on FIQ Serial Debugger port"
1383 help
1384 Enables a console so that printk messages are displayed on
1385 the debugger serial port as the occur.
Brian Swetland9e73c842007-11-26 04:12:13 -08001386
Gregory Beanab78cde2010-09-01 16:26:12 -07001387config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001388 default y
1389 bool "Proc-Comm RPC Interface"
1390 help
1391 Enables a lightweight communications interface to the
1392 baseband processor.
Gregory Beanab78cde2010-09-01 16:26:12 -07001393
Gregory Bean1963a2a2010-08-28 10:05:44 -07001394config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001395 bool "MSM Shared Memory Driver (SMD)"
1396 help
1397 Support for the shared memory interface between the apps
1398 processor and the baseband processor. Provides access to
1399 the "shared heap", as well as virtual serial channels
1400 used to communicate with various services on the baseband
1401 processor.
1402
1403choice
1404 prompt "MSM Shared memory interface version"
1405 depends on MSM_SMD
1406 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1407 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1408
1409 config MSM_SMD_PKG3
1410 bool
1411 prompt "Package 3"
1412
1413 config MSM_SMD_PKG4
1414 bool
1415 prompt "Package 4"
1416endchoice
1417
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001418config MSM_PCIE
1419 bool "MSM PCIe Controller driver"
1420 depends on PCI && PCI_MSI
1421 help
1422 Enables the PCIe functionality by configures PCIe core on
1423 MSM chipset and by enabling the ARM PCI framework extension.
1424
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001425config MSM_RPC_SDIO_XPRT
1426 depends on MSM_SDIO_AL
1427 default y
1428 bool "MSM SDIO XPRT Layer"
1429 help
1430 SDIO Transport Layer for RPC Rouer
1431
1432config MSM_RPC_SDIO_DEBUG
1433 depends on MSM_RPC_SDIO_XPRT
1434 default y
1435 bool "MSM SDIO XPRT debug support"
1436 help
1437 Support for debugging SDIO XPRT
1438
1439config MSM_SMD_DEBUG
1440 depends on MSM_SMD
1441 default y
1442 bool "MSM SMD debug support"
1443 help
1444 Support for debugging the SMD for communication
1445 between the ARM9 and ARM11
1446
1447config MSM_SDIO_AL
1448 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1449 default y
1450 tristate "SDIO-Abstraction-Layer"
1451 help
1452 Support MSM<->MDM Communication over SDIO bus.
1453 MDM SDIO-Client should have pipes support.
1454
1455config MSM_SDIO_DMUX
1456 bool "SDIO Data Mux Driver"
1457 depends on MSM_SDIO_AL
1458 default n
1459 help
1460 Support Muxed Data Channels over SDIO interface.
1461
1462config MSM_BAM_DMUX
1463 bool "BAM Data Mux Driver"
1464 depends on SPS
1465 default n
1466 help
1467 Support Muxed Data Channels over BAM interface.
1468 BAM has a limited number of pipes. This driver
1469 provides a means to support more logical channels
1470 via muxing than BAM could without muxing.
1471
1472config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001473 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001474 default y
1475 bool "MSM N-WAY SMD support"
1476 help
1477 Supports APPS-QDSP SMD communication along with
1478 normal APPS-MODEM SMD communication.
1479
1480config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001481 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001482 default y
1483 bool "MSM N-WAY SMSM support"
1484 help
1485 Supports APPS-QDSP SMSM communication along with
1486 normal APPS-MODEM SMSM communication.
1487
Eric Holmberg6275b602012-11-19 13:05:04 -07001488config MSM_SMP2P
1489 bool "SMSM Point-to-Point (SMP2P)"
1490 depends on MSM_SMD
1491 help
1492 Provide point-to-point remote signaling support.
1493 SMP2P enables transferring 32-bit values between
1494 the local and a remote system using shared
1495 memory and interrupts. A client can open multiple
1496 32-bit values by specifying a unique string and
1497 remote processor ID.
1498
1499config MSM_SMP2P_TEST
1500 bool "SMSM Point-to-Point Test"
1501 depends on MSM_SMP2P
1502 help
1503 Enables loopback and unit testing support for
1504 SMP2P. Loopback support is used by other
1505 processors to do unit testing. Unit tests
1506 are used to verify the local and remote
1507 implementations.
1508
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001509config MSM_RESET_MODEM
1510 tristate "Reset Modem Driver"
1511 depends on MSM_SMD
1512 default m
1513 help
1514 Allows the user to reset the modem through a device node.
1515
1516config MSM_SMD_LOGGING
1517 depends on MSM_SMD
1518 default y
1519 bool "MSM Shared Memory Logger"
1520 help
1521 This option exposes the shared memory logger at /dev/smem_log
1522 and a debugfs node named smem_log.
1523
1524 If in doubt, say yes.
1525
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001526config MSM_IPC_LOGGING
1527 bool "MSM Debug Logging for IPC Drivers"
1528 help
1529 This option allows the debug logging for IPC Drivers.
1530
1531 If in doubt, say no.
1532
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001533config MSM_SMD_NMEA
1534 bool "NMEA GPS Driver"
1535 depends on MSM_SMD
1536 default y
1537 help
1538 Enable this to support the NMEA GPS device.
1539
1540 If in doubt, say yes.
1541
1542config MSM_SDIO_TTY
1543 bool "SDIO TTY Driver"
1544 depends on MSM_SDIO_AL
1545 default n
1546 help
1547 Provides a TTY driver SDIO TTY
1548 This driver can be used by user space
1549 applications for passing data through the
1550 SDIO interface.
1551
1552config MSM_SMD_TTY
1553 bool "SMD TTY Driver"
1554 depends on MSM_SMD
1555 default y
1556 help
1557 Provides TTY interfaces to interact with the modem.
1558
1559 If in doubt, say yes.
1560
1561config MSM_SMD_QMI
1562 bool "SMD QMI Driver"
1563 depends on MSM_SMD
1564 default y
1565 help
1566 Manages network data connections.
1567
1568 If in doubt, say yes.
1569
1570config MSM_SMD_PKT
1571 bool "SMD Packet Driver"
1572 depends on MSM_SMD
1573 default y
1574 help
1575 Provides a binary SMD non-muxed packet port interface.
1576
1577 If in doubt, say yes.
1578
1579config MSM_SDIO_CMUX
1580 bool "SDIO CMUX Driver"
1581 depends on MSM_SDIO_AL
1582 default n
1583 help
1584 Provides a Muxed port interface over SDIO QMI
1585
1586config MSM_DSPS
1587 bool "Sensors DSPS driver"
1588 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1589 default n
1590 help
1591 Provides user-space interface to the sensors manager
1592 to turn on/off the Sensors Processor system clocks.
1593 It is the DSPS responsibility to turn on/off the sensors
1594 themself.
1595 The number of clocks and their name may vary between targets.
1596 It also triggers the PIL to load the DSPS firmware.
1597
1598config MSM_SDIO_CTL
1599 bool "SDIO CTL Driver"
1600 depends on MSM_SDIO_CMUX
1601 default n
1602 help
1603 Provides a binary SDIO control port interface.
1604
1605config MSM_ONCRPCROUTER
1606 depends on MSM_SMD
1607 default n
1608 bool "MSM ONCRPC router support"
1609 help
1610 Support for the MSM ONCRPC router for communication between
1611 the ARM9 and ARM11
1612
1613config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001614 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001615 default n
1616 bool "MSM IPC Router support"
1617 help
1618 Support for the MSM IPC Router for communication between
1619 the APPs and the MODEM
1620
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001621config MSM_IPC_ROUTER_SMD_XPRT
1622 depends on MSM_SMD
1623 depends on MSM_IPC_ROUTER
1624 default n
1625 bool "MSM SMD XPRT Layer"
1626 help
1627 SMD Transport Layer for IPC Router
1628
Karthikeyan Ramasubramanian5b502d3642012-09-23 22:23:36 -06001629config MSM_IPC_ROUTER_SECURITY
1630 depends on MSM_IPC_ROUTER
1631 bool "MSM IPC Router Security support"
1632 help
1633 This feature of IPC Router will enforce security rules
1634 configured by a security script from the user-space. IPC Router
1635 once configured with the security rules will ensure that the
1636 sender of the message to a service belongs to the relevant
1637 Linux group as configured by the security script.
1638
Karthikeyan Ramasubramanianfec77ff2012-10-26 20:03:26 -06001639config MSM_QMI_INTERFACE
1640 depends on MSM_IPC_ROUTER
1641 depends on QMI_ENCDEC
1642 default n
1643 bool "MSM QMI Interface Library"
1644 help
1645 Library to send and receive QMI messages over IPC Router.
1646 This library provides interface functions to the kernel drivers
1647 to perform QMI message marshaling and transport them over IPC
1648 Router.
1649
Karthikeyan Ramasubramaniana9859e82012-07-12 13:10:42 -06001650config MSM_TEST_QMI_CLIENT
1651 depends on MSM_QMI_INTERFACE
1652 bool "MSM TEST QMI CLIENT"
1653 help
1654 The sample QMI client provides a test code for QMI usage. The
1655 test_service client driver uses QMI interface library to send
1656 and receive QMI messages over IPC Router. The test code sends
1657 a synchronous QMI request to the test_service and handles the
1658 QMI responses.
1659
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001660config MSM_ONCRPCROUTER_DEBUG
1661 depends on MSM_ONCRPCROUTER
1662 default y
1663 bool "MSM debug ONCRPC router support"
1664 help
1665 Support for debugging the ONCRPC router for communication
1666 between the ARM9 and ARM11
1667
1668config MSM_RPC_LOOPBACK_XPRT
1669 depends on MSM_ONCRPCROUTER
1670 default n
1671 bool "MSM RPC local routing support"
1672 help
1673 Support for routing RPC messages between APPS clients
1674 and APPS servers. Helps in testing APPS RPC framework.
1675
1676config MSM_RPCSERVER_TIME_REMOTE
1677 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1678 default y
1679 bool "Time remote RPC server"
1680 help
1681 The time remote server receives notification of time bases and
1682 reports these events to registered callback functions.
1683
1684config MSM_RPCSERVER_WATCHDOG
1685 depends on MSM_ONCRPCROUTER
1686 default y
1687 bool "Watchdog RPC server"
1688 help
1689 The dog_keepalive server handles watchdog events.
1690
1691config MSM_RPC_WATCHDOG
1692 depends on MSM_ONCRPCROUTER
1693 default n
1694 bool "Watchdog RPC client"
1695 help
1696 The dog_keepalive client module.
1697
1698config MSM_RPC_PING
1699 depends on MSM_ONCRPCROUTER && DEBUG_FS
1700 default m
1701 bool "MSM rpc ping"
1702 help
1703 Implements MSM rpc ping test module.
1704
1705config MSM_RPC_PROC_COMM_TEST
1706 depends on DEBUG_FS && MSM_PROC_COMM
1707 default m
1708 bool "MSM rpc proc comm test"
1709 help
1710 Implements MSM rpc proc comm test module.
1711
1712config MSM_RPC_OEM_RAPI
1713 depends on MSM_ONCRPCROUTER
1714 default m
1715 bool "MSM oem rapi"
1716 help
1717 Implements MSM oem rapi client module.
1718
1719config MSM_RPCSERVER_HANDSET
1720 depends on MSM_ONCRPCROUTER
1721 default y
1722 bool "Handset events RPC server"
1723 help
1724 Support for receiving handset events like headset detect,
1725 headset switch and clamshell state.
1726
1727config MSM_RMT_STORAGE_CLIENT
1728 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1729 default n
1730 bool "Remote Storage RPC client"
1731 help
1732 Provide RPC mechanism for remote processors to access storage
1733 device on apps processor.
1734
1735config MSM_RMT_STORAGE_CLIENT_STATS
1736 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1737 default n
1738 bool "Remote storage RPC client performance statistics"
1739 help
1740 Collects performance statistics and shows this information
1741 through a debugfs file rmt_storage_stats.
1742
1743config MSM_SDIO_SMEM
1744 depends on MSM_SDIO_AL
1745 default n
1746 bool "SDIO SMEM for remote storage"
1747 help
1748 Copies data from remote MDM9K memory to local MSM8x60
1749 memory. Used by remote storage client to shadow
1750 MDM9K filesystem.
1751
1752config MSM_DALRPC
1753 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001754 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001755 help
1756 Supports RPC calls to DAL devices on remote processor cores.
1757
1758config MSM_DALRPC_TEST
1759 tristate "DAL RPC test module"
1760 depends on (MSM_DALRPC && DEBUG_FS)
1761 default m
1762 help
1763 Exercises DAL RPC calls to QDSP6.
1764
1765if CPU_FREQ_MSM
1766
1767config MSM_CPU_FREQ_SET_MIN_MAX
1768 bool "Set Min/Max CPU frequencies."
1769 default n
1770 help
1771 Allow setting min and max CPU frequencies. Sysfs can be used
1772 to override these values.
1773
1774config MSM_CPU_FREQ_MAX
1775 int "Max CPU Frequency"
1776 depends on MSM_CPU_FREQ_SET_MIN_MAX
1777 default 384000
1778
1779config MSM_CPU_FREQ_MIN
1780 int "Min CPU Frequency"
1781 depends on MSM_CPU_FREQ_SET_MIN_MAX
1782 default 245760
1783
1784endif # CPU_FREQ_MSM
1785
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001786config MSM_AVS_HW
1787 bool "Enable Adaptive Voltage Scaling (AVS)"
1788 default n
1789 help
1790 Enable AVS hardware to fine tune voltage at each frequency. The
1791 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1792 fine tune the voltages based on the feedback from the ring
1793 oscillators.
1794
1795config MSM_HW3D
1796 tristate "MSM Hardware 3D Register Driver"
1797 depends on ANDROID_PMEM
1798 default y
1799 help
1800 Provides access to registers needed by the userspace OpenGL|ES
1801 library.
1802
1803config MSM_ADSP
1804 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1805 tristate "MSM ADSP driver"
1806 depends on ANDROID_PMEM
1807 default y
1808 help
1809 Provides access to registers needed by the userspace aDSP library.
1810
1811config ADSP_RPC_VER
1812 hex
1813 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1814 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1815 depends on MSM_ADSP
1816 help
1817 Select proper ADSP RPC version
1818choice
1819 prompt "ADSP RPC version"
1820
1821 default AMSS_7X25_VERSION_2009
1822
1823 config AMSS_7X25_VERSION_2009
1824 bool "2.0.09"
1825
1826 config AMSS_7X25_VERSION_2008
1827 bool "2.0.08"
1828endchoice
1829
1830config MSM7KV2_AUDIO
1831 bool "MSM7K v2 audio"
1832 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1833 default y
1834 help
1835 Enables QDSP5V2-based audio drivers for audio playbacks and
1836 voice call.
1837
1838config MSM_ADSP_REPORT_EVENTS
1839 bool "Report modem events from the DSP"
1840 default y
1841 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1842 help
1843 Normally, only messages from the aDSP are reported to userspace.
1844 With this option, we report events from the aDSP as well.
1845
1846config MSM_QDSP6
1847 tristate "QDSP6 support"
1848 depends on ARCH_QSD8X50 && ANDROID_PMEM
1849 default y
1850 help
1851 Enable support for qdsp6. This provides audio and video functionality.
1852
1853config MSM8X60_AUDIO
1854 tristate "MSM8X60 audio support"
1855 depends on ARCH_MSM8X60 && ANDROID_PMEM
1856 default y
1857 help
1858 Enable support for qdsp6v2. This provides audio functionality.
1859
1860config MSM8X60_FTM_AUDIO_DEVICES
1861 bool "MSM8X60 audio factory test mode support"
1862 depends on MSM8X60_AUDIO
1863 help
1864 Enable support audio factory test mode devices. This is used
1865 in a production line environment.
1866
Ben Romberger45b351c2011-07-20 22:37:27 -07001867config RTAC
1868 bool "MSM8K real-time audio calibration support"
1869 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001870 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001871 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001872 audio operation
1873
1874config MSM7X27A_AUDIO
1875 bool "MSM7X27A audio support"
1876 depends on ARCH_MSM7X27A && MSM_ADSP
1877 default n
1878 help
1879 Enable support for 7x27a. This provides audio functionality.
1880
Justin Pauporea6cd2092011-06-22 16:19:45 -07001881config MSM_PROC_COMM_REGULATOR
Gregory Bean1963a2a2010-08-28 10:05:44 -07001882 bool
Justin Pauporea6cd2092011-06-22 16:19:45 -07001883 depends on MSM_PROC_COMM && REGULATOR
1884 help
1885 Enable regulator framework support for regulators managed by PMLIB
1886 on the modem, and controlled through proccomm calls.
1887
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001888config MSM_VREG_SWITCH_INVERTED
1889 bool "Reverse vreg switch polarity"
1890 default n
1891 help
1892 Reverses the enable and disable for vreg switch.
1893
1894config MSM_DMA_TEST
1895 tristate "MSM DMA test module"
1896 default m
1897 help
1898 Intended to be compiled as a module. Provides a device node
1899 and ioctls for testing the MSM dma system.
1900
1901config WIFI_CONTROL_FUNC
1902 bool "Enable WiFi control function abstraction"
1903 help
1904 Enables Power/Reset/Carddetect function abstraction
1905
1906config WIFI_MEM_PREALLOC
1907 depends on WIFI_CONTROL_FUNC
1908 bool "Preallocate memory for WiFi buffers"
1909 help
1910 Preallocates memory buffers for WiFi driver
1911
1912config QSD_AUDIO
1913 bool "QSD audio"
1914 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1915 default y
1916 help
1917 Provides PCM, MP3, and AAC audio playback.
1918
1919config AUDIO_AAC_PLUS
1920 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1921 bool "AAC+ Audio"
1922 default y
1923 help
1924 Provides AAC+ decoding
1925
1926config AUDIO_ENHANCED_AAC_PLUS
1927 depends on AUDIO_AAC_PLUS
1928 bool "Enhanced AAC+ Audio"
1929 default y
1930 help
1931 Provides Enhanced AAC+ decoding
1932
1933config SURF_FFA_GPIO_KEYPAD
1934 bool "MSM SURF/FFA GPIO keypad"
1935 depends on INPUT_GPIO = "y"
1936 default y
1937 help
1938 Select if the GPIO keypad is attached.
1939
1940config MSM_SLEEP_TIME_OVERRIDE
1941 bool "Allow overriding suspend/sleep time with PM module parameter"
1942 default y
1943 help
1944 Enable the module parameter sleep_time_override. Specified
1945 in units of seconds, it overwrites the normal sleep time of
1946 suspend. The feature is required for automated power management
1947 testing.
1948
1949config MSM_MEMORY_LOW_POWER_MODE
1950 bool "Control the low power modes of memory"
1951 default n
1952 help
1953 The application processor controls whether memory should enter
1954 which low power mode.
1955
1956choice
1957 prompt "Default Memory Low Power Mode during Idle"
1958 depends on MSM_MEMORY_LOW_POWER_MODE
1959 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1960 help
1961 Selects the default low power mode of the memory during idle
1962 sleep.
1963
1964 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1965 bool "Memory active"
1966
1967 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1968 bool "Memory in retention"
1969
1970 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
1971 bool "Memory in deep power down"
1972endchoice
1973
1974choice
1975 prompt "Default Memory Low Power Mode during Suspend"
1976 depends on MSM_MEMORY_LOW_POWER_MODE
1977 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1978 help
1979 Selects the default low power mode of the memory during suspend
1980 sleep.
1981
1982 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
1983 bool "Memory active"
1984
1985 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
1986 bool "Memory in retention"
1987
1988 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
1989 bool "Memory in deep power down"
1990endchoice
1991
1992choice
1993 prompt "Power management timeout action"
1994 default MSM_PM_TIMEOUT_HALT
1995 help
1996 Selects the Application Processor's action when Power Management
1997 times out waiting for Modem's handshake.
1998
1999 config MSM_PM_TIMEOUT_HALT
2000 bool "Halt the Application Processor"
2001
2002 config MSM_PM_TIMEOUT_RESET_MODEM
2003 bool "Reset the Modem Processor"
2004
2005 config MSM_PM_TIMEOUT_RESET_CHIP
2006 bool "Reset the entire chip"
2007endchoice
2008
2009config MSM_IDLE_WAIT_ON_MODEM
2010 int "Wait for Modem to become ready for idle power collapse"
2011 default 0
2012 help
2013 If Modem is not ready to handle Application Processor's request
2014 for idle power collapse, wait the number of microseconds in case
2015 Modem becomes ready soon.
2016
Matt Wagantall9274df92011-12-15 11:11:05 -08002017config MSM_RPM_REGULATOR
2018 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08002019 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08002020 help
2021 Compile in support for the RPM regulator driver, used for setting
2022 voltages and other parameters of the various power rails supplied
2023 by some Qualcomm PMICs.
2024
David Collinsc7642322012-04-04 10:19:12 -07002025config MSM_RPM_REGULATOR_SMD
2026 bool "SMD RPM regulator driver"
2027 depends on REGULATOR
2028 depends on OF
2029 depends on MSM_RPM_SMD
2030 help
2031 Compile in support for the SMD RPM regulator driver which is used for
2032 setting voltages and other parameters of the various power rails
2033 supplied by some Qualcomm PMICs. The SMD RPM regulator driver should
2034 be used on systems which contain an RPM which communicates with the
2035 application processor over SMD.
2036
Rohit Vaswani5fd759e2012-11-07 07:05:08 -08002037config MSM_SMCMOD
2038 tristate "Secure Monitor Call (SMC) Module"
2039 default n
2040 depends on (ARCH_FSM9XXX && ION && ION_MSM && MSM_SCM)
2041 help
2042 Enable support for smcmod driver. This driver provides a mechanism
2043 to execute the Secure Monitor Call (SMC) to switch from non-secure
2044 to secure execution in the fsm9xxx targets. This module utilizes Ion
2045 for buffer management.
2046
Stephen Boyd01710582012-07-09 13:40:05 -07002047config MSM_SUBSYSTEM_RESTART
2048 bool "MSM Subsystem Restart"
2049 help
2050 This option enables the MSM subsystem restart framework.
2051
2052 The MSM subsystem restart framework provides support to boot,
2053 shutdown, and restart subsystems with a reference counted API.
2054 It also notifies userspace of transitions between these states via
2055 sysfs.
2056
2057config MSM_SYSMON_COMM
2058 bool "MSM System Monitor communication support"
2059 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
2060 help
2061 This option adds support for MSM System Monitor library, which
2062 provides an API that may be used for notifying subsystems within
2063 the SoC about other subsystems' power-up/down state-changes.
2064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002065config MSM_PIL
2066 bool "Peripheral image loading"
2067 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002068 default n
2069 help
2070 Some peripherals need to be loaded into memory before they can be
2071 brought out of reset.
2072
2073 Say yes to support these devices.
2074
Stephen Boyd4eb885b2011-09-29 01:16:03 -07002075config MSM_PIL_MODEM
2076 tristate "Modem (ARM11) Boot Support"
Stephen Boyd3ac20732012-05-03 18:46:08 -07002077 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd4eb885b2011-09-29 01:16:03 -07002078 help
2079 Support for booting and shutting down ARM11 Modem processors.
2080
Stephen Boyd3acc9e42011-09-28 16:46:40 -07002081config MSM_PIL_QDSP6V3
2082 tristate "QDSP6v3 (Hexagon) Boot Support"
Stephen Boyd2e19d932012-05-09 17:36:04 -07002083 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd3acc9e42011-09-28 16:46:40 -07002084 help
2085 Support for booting and shutting down QDSP6v3 processors (hexagon).
2086 The QDSP6 is a low power DSP used in audio software applications.
2087
Stephen Boydbdb53f32012-06-05 18:39:47 -07002088config MSM_PIL_LPASS_QDSP6V4
2089 tristate "LPASS QDSP6v4 (Hexagon) Boot Support"
Stephen Boyda1cf76b2012-06-13 12:05:35 -07002090 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydeb819882011-08-29 14:46:30 -07002091 help
Stephen Boydbdb53f32012-06-05 18:39:47 -07002092 Support for booting and shutting down QDSP6v4 processors (hexagon)
2093 in low power audio subsystems. If you would like to record or
2094 play audio then say Y here.
2095
2096 If unsure, say N.
2097
2098config MSM_PIL_MODEM_QDSP6V4
2099 tristate "Modem QDSP6v4 (Hexagon) Boot Support"
Stephen Boyd2efa9962012-06-12 14:20:12 -07002100 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydbdb53f32012-06-05 18:39:47 -07002101 help
2102 Support for booting and shutting down QDSP6v4 processors (hexagon)
2103 in modem subsystems. If you would like to make or receive phone
2104 calls then say Y here.
2105
2106 If unsure, say N.
Stephen Boydeb819882011-08-29 14:46:30 -07002107
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07002108config MSM_PIL_LPASS_QDSP6V5
Stephen Boyd633eb622012-06-13 12:05:35 -07002109 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
2110 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
2111 help
2112 Support for booting and shutting down QDSP6v5 (Hexagon) processors
2113 in low power audio subsystems. This driver also monitors the ADSP
2114 SMSM status bits and the ADSP's watchdog interrupt and restarts the
2115 ADSP if the processor encounters a fatal error.
Matt Wagantall4e2599e2012-03-21 22:31:35 -07002116
2117config MSM_PIL_MSS_QDSP6V5
Stephen Boyd3da4fd02012-07-06 10:00:12 -07002118 tristate "MSS QDSP6v5 (Hexagon) Boot Support"
2119 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantalle6e00d52012-03-08 17:39:07 -08002120 help
Stephen Boyd3da4fd02012-07-06 10:00:12 -07002121 Support for booting and shutting down QDSP6v5 (Hexagon) processors
2122 in modem subsystems. If you would like to make or receive phone
2123 calls then say Y here.
2124
2125 If unsure, say N.
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07002126
Stephen Boyd322a9922011-09-20 01:05:54 -07002127config MSM_PIL_RIVA
2128 tristate "RIVA (WCNSS) Boot Support"
Stephen Boydfdec00d2012-05-10 17:04:49 -07002129 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd322a9922011-09-20 01:05:54 -07002130 help
2131 Support for booting and shutting down the RIVA processor (WCNSS).
2132 Riva is the wireless subsystem processor used in bluetooth, wireless
2133 LAN, and FM software applications.
2134
Stephen Boydd89eebe2011-09-28 23:28:11 -07002135config MSM_PIL_TZAPPS
2136 tristate "TZApps Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002137 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boydd89eebe2011-09-28 23:28:11 -07002138 help
2139 Support for booting and shutting down TZApps.
2140
2141 TZApps is an image that runs in the secure processor state. It is
2142 used to decrypt data and perform secure operations on the behalf of
2143 the kernel.
2144
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07002145config MSM_PIL_DSPS
2146 tristate "DSPS Boot Support"
Stephen Boydf169b4b2012-05-10 17:55:55 -07002147 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07002148 help
2149 Support for booting and shutting down ARM7 DSPS processors.
2150
2151 DSPS is a sensors offloading processor used for applications such
2152 as rotation detection, temperature, etc.
2153
Stephen Boyd7b973de2012-03-09 12:26:16 -08002154config MSM_PIL_VIDC
2155 tristate "Video Core Secure Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002156 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd7b973de2012-03-09 12:26:16 -08002157 help
2158 Support for authenticating the video core image.
2159
Tianyi Gou828798d2012-05-02 21:12:38 -07002160config MSM_PIL_VENUS
2161 tristate "VENUS (Video) Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002162 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Tianyi Gou828798d2012-05-02 21:12:38 -07002163 help
2164 Support for booting and shutting down the VENUS processor (Video).
2165 Venus is the Video subsystem processor used for video codecs.
2166
Matt Wagantall292aace2012-01-26 19:12:34 -08002167config MSM_PIL_GSS
Stephen Boydd86214b2012-05-10 15:26:35 -07002168 tristate "GSS (Cortex A5) Boot Support"
2169 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantall292aace2012-01-26 19:12:34 -08002170 help
2171 Support for booting and shutting down Cortex A5 processors which run
2172 GPS subsystem firmware.
2173
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002174config MSM_PIL_PRONTO
2175 tristate "PRONTO (WCNSS) Boot Support"
Stephen Boyd581fe852012-06-13 12:05:35 -07002176 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002177 help
2178 Support for booting and shutting down the PRONTO processor (WCNSS).
2179 PRONTO is the wireless subsystem processor used in bluetooth, wireless
2180 LAN, and FM software applications.
2181
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002182config MSM_SCM
2183 bool "Secure Channel Manager (SCM) support"
2184 default n
2185
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002186config SCORPION_Uni_45nm_BUG
2187 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
2188 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
2189 default y
2190 help
2191 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
2192 invalidating the Branch Predictor Array by Modified Virtual Address can
2193 create invalid entries in the TLB with the wrong ASID values on Scorpion
2194 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
2195 workaround for Scorpion Uniprocessor 45nm cores.
2196
2197 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
2198
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002199config MSM_BUSPM_DEV
2200 tristate "MSM Bus Performance Monitor Kernel Module"
Gagan Mac0d5d49e2012-08-28 19:41:37 -06002201 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002202 default m
2203 help
2204 This kernel module is used to mmap() hardware registers for the
2205 performance monitors, counters, etc. The module can also be used to
2206 allocate physical memory which is used by bus performance hardware to
2207 dump performance data.
2208
Mona Hossain11c03ac2011-10-26 12:42:10 -07002209config MSM_TZ_LOG
2210 tristate "MSM Trust Zone (TZ) Log Driver"
2211 depends on DEBUG_FS
2212 help
2213 This option enables a driver with a debugfs interface for messages
2214 produced by the Secure code (Trust zone). These messages provide
2215 diagnostic information about TZ operation.
2216
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002217config MSM_RPM_LOG
2218 tristate "MSM Resource Power Manager Log Driver"
2219 depends on DEBUG_FS
Priyanka Mathur49c60802012-12-13 12:53:58 -08002220 depends on MSM_RPM || MSM_RPM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002221 default n
2222 help
2223 This option enables a driver which can read from a circular buffer
2224 of messages produced by the RPM. These messages provide diagnostic
2225 information about RPM operation. The driver outputs the messages
2226 via a debugfs node.
2227
2228config MSM_RPM_STATS_LOG
2229 tristate "MSM Resource Power Manager Stat Driver"
2230 depends on DEBUG_FS
Priyanka Mathur1af9d4b2012-10-30 14:55:44 -07002231 depends on MSM_RPM || MSM_RPM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002232 default n
2233 help
2234 This option enables a driver which reads RPM messages from a shared
2235 memory location. These messages provide statistical information about
2236 the low power modes that RPM enters. The drivers outputs the message
2237 via a debugfs node.
2238
Girish Mahadevan898c56d2012-06-05 16:09:19 -06002239config MSM_RPM_RBCPR_STATS_LOG
2240 tristate "MSM Resource Power Manager RPBCPR Stat Driver"
2241 depends on DEBUG_FS
2242 depends on MSM_RPM
2243 help
2244 This option enables a driver which reads RPM messages from a shared
2245 memory location. These messages provide statistical information about
2246 RBCPR (Rapid Bridge Core Power Reduction) information . The drivers
2247 outputs the message via a debugfs node.
2248
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002249config MSM_DIRECT_SCLK_ACCESS
2250 bool "Direct access to the SCLK timer"
2251 default n
2252
2253config IOMMU_API
2254 bool
Gregory Bean1963a2a2010-08-28 10:05:44 -07002255
Brian Swetland9e73c842007-11-26 04:12:13 -08002256config MSM_GPIOMUX
2257 bool
2258
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002259config MSM_SECURE_IO
Brian Swetland9e73c842007-11-26 04:12:13 -08002260 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002261
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002262config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002263 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002264
Taniya Dascd1d0232012-07-03 17:50:47 +05302265config MSM_MODEM_RESTART
2266 bool
2267
Matt Wagantall88b86312012-01-31 16:53:03 -08002268config MSM_PM2
2269 depends on PM
2270 bool
2271
2272config MSM_PM8X60
2273 depends on PM
2274 bool
2275
Girish Mahadevan388c3082012-09-10 15:30:36 -06002276config MSM_EVENT_TIMER
2277 bool "Event timer"
2278 help
2279 This option enables a modules that manages a list of event timers that
2280 need to be monitored by the PM. The enables the PM code to monitor
2281 events that require the core to be awake and ready to handle the
2282 event.
2283
Matt Wagantall88b86312012-01-31 16:53:03 -08002284config MSM_NOPM
2285 default y if !PM
2286 bool
2287
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002288config MSM_BUS_SCALING
2289 bool "Bus scaling driver"
2290 default n
2291
Gagan Mac85c70492011-06-10 16:07:47 -06002292config MSM_BUS_RPM_MULTI_TIER_ENABLED
2293 bool "RPM Multi-tiering Configuration"
2294 depends on MSM_BUS_SCALING
2295
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002296config MSM_WATCHDOG
2297 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002298 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002299 help
2300 This enables the watchdog as is present on 8x60. Currently we use
2301 core 0's watchdog, and reset the entire SoC if it times out. It does
2302 not run during the bootup process, so it will not catch any early
2303 lockups.
2304
Hanumant Singhd1f01022012-07-05 14:21:53 -07002305config MSM_WATCHDOG_V2
2306 bool "MSM Watchdog Support"
2307 help
2308 This enables the watchdog module. It causes kernel panic if the
2309 watchdog times out. It allows for detection of cpu hangs and
2310 deadlocks. It does not run during the bootup process, so it will
2311 not catch any early lockups.
2312
Hanumant Singh5e2541c2012-07-31 14:41:14 -07002313config MSM_MEMORY_DUMP
2314 bool "MSM Memory Dump Support"
2315 help
2316 This enables memory dump feature. It allows various client
2317 subsystems to register respective dump regions. At the time
2318 of deadlocks or cpu hangs these dump regions are captured to
2319 give a snapshot of the system at the time of the crash.
2320
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002321config MSM_DLOAD_MODE
2322 bool "Enable download mode on crashes"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002323 default n
2324 help
2325 This makes the SoC enter download mode when it resets
2326 due to a kernel panic. Note that this doesn't by itself
2327 make the kernel reboot on a kernel panic - that must be
2328 enabled via another mechanism.
2329
Pratik Patel17f3b822011-11-21 12:41:47 -08002330config MSM_JTAG
Pratik Patel61e91702013-01-27 20:30:42 -08002331 bool "Debug and ETM trace support across power collapse"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002332 help
Pratik Patel61e91702013-01-27 20:30:42 -08002333 Enables support for debugging (specifically breakpoints) and ETM
Pratik Patel2963de42012-05-17 12:43:40 -07002334 processor tracing across power collapse both for JTag and OS hosted
2335 software running on the target. Enabling this will ensure debug
2336 and ETM registers are saved and restored across power collapse.
2337
Pratik Patel61e91702013-01-27 20:30:42 -08002338 If unsure, say 'N' here to avoid potential power, performance and
2339 memory penalty.
Pratik Patel7831c082011-06-08 21:44:37 -07002340
Pushkar Joshi64cae782012-12-15 18:59:03 -08002341config MSM_JTAG_MM
Pratik Patel61e91702013-01-27 20:30:42 -08002342 bool "Debug and ETM trace support across power collapse using memory mapped access"
Pushkar Joshi64cae782012-12-15 18:59:03 -08002343 help
Pratik Patel61e91702013-01-27 20:30:42 -08002344 Enables support for debugging (specifically breakpoints) and ETM
2345 processor tracing across power collapse both for JTag and OS hosted
2346 software running on the target. Enabling this will ensure debug
2347 and ETM registers are saved and restored across power collapse.
Pushkar Joshi64cae782012-12-15 18:59:03 -08002348
Pratik Patel61e91702013-01-27 20:30:42 -08002349 Required on targets on which cp14 access to debug and ETM registers is
2350 not permitted and so memory mapped access is necessary.
2351
2352 If unsure, say 'N' here to avoid potential power, performance and
2353 memory penalty.
Pushkar Joshi64cae782012-12-15 18:59:03 -08002354
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002355config MSM_ETM
2356 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002357 depends on ARCH_MSM8X60
2358 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002359 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002360 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002361
Lynus Vazdde09ee2012-01-05 13:28:22 +05302362config MSM_SLEEP_STATS_DEVICE
2363 bool "Enable exporting of MSM sleep device stats to userspace"
2364
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302365config MSM_RUN_QUEUE_STATS
2366 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Subbaraman Narayanamurthy0b148fc2012-11-28 12:14:12 -08002367 default n
Krishna Vankae2922052012-03-02 09:59:12 +05302368 help
2369 This option enalbes statistics collection on Run Queue. A daemon
2370 in user mode, called MPDecision will be using this data to decide
2371 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302372
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002373config MSM_STANDALONE_POWER_COLLAPSE
2374 bool "Enable standalone power collapse"
2375 default n
2376
2377config MSM_GSBI9_UART
2378 bool "Enable GSBI9 UART device"
2379 default n
2380 help
2381 This enables GSBI9 configured into UART.
2382
2383config MSM_SHARED_GPIO_FOR_UART2DM
2384 bool "Use shared GPIOs into UART mode"
2385 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2386 help
2387 This option configures GPIO muxed with SDC4/MMC3
2388 8-bit mode into UART mode. It is used for serial
2389 console on UART2DM. Say Y if you want to have
2390 serial console on UART2DM.
2391
2392config MSM_SHOW_RESUME_IRQ
2393 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002394 depends on (ARM_GIC || PMIC8058)
2395 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002396 default n
2397 help
2398 This option logs wake up interrupts that have triggered just before
2399 the resume loop unrolls. Say Y if you want to debug why the system
2400 resumed.
2401
2402config BT_MSM_PINTEST
2403 tristate "MSM Bluetooth Pin Connectivity Test"
2404 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2405 default n
2406 help
2407 Bluetooth MSM Pin Connectivity test module.
2408 This driver provides support for verifying the MSM to BT pin
2409 connectivity.
2410
2411config MSM_FAKE_BATTERY
2412 depends on POWER_SUPPLY
2413 default n
2414 bool "MSM Fake Battery"
2415 help
2416 Enables MSM fake battery driver.
2417
2418config MSM_QDSP6_APR
2419 bool "Audio QDSP6 APR support"
2420 depends on MSM_SMD
2421 default n
2422 help
2423 Enable APR IPC protocol support between
2424 application processor and QDSP6. APR is
2425 used by audio driver to configure QDSP6's
2426 ASM, ADM and AFE.
2427
Joonwoo Park91d95462012-08-02 10:55:54 -07002428config MSM_QDSP6_APRV2
2429 bool "Audio QDSP6 APRv2 support"
2430 depends on MSM_SMD
2431 default n
2432 help
2433 Enable APRv2 IPC protocol support between
2434 application processor and QDSP6. APR is
2435 used by audio driver to configure QDSP6's
2436 ASM, ADM and AFE.
2437
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -07002438config MSM_QDSP6_CODECS
2439 bool "Audio Codecs on QDSP6 APR "
2440 depends on MSM_SMD
2441 default n
2442 help
2443 Enable Audio codecs with APR IPC protocol support between
2444 application processor and QDSP6. APR is
2445 used by audio driver to configure QDSP6's
2446 ASM, ADM and AFE.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002447
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002448config MSM_QDSP6V2_CODECS
2449 bool "Audio QDSP6V2 APR support"
2450 depends on MSM_SMD
2451 help
2452 Enable Audio codecs with APR IPC protocol support between
2453 application processor and QDSP6 for B-family. APR is
2454 used by audio driver to configure QDSP6's
2455 ASM, ADM and AFE.
2456
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002457config MSM_AUDIO_QDSP6
2458 bool "QDSP6 HW Audio support"
2459 select SND_SOC_MSM_QDSP6_INTF
2460 default n
2461 help
2462 Enable HW audio support in QDSP6.
2463 QDSP6 can support HW encoder & decoder and audio processing
2464
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002465config MSM_AUDIO_QDSP6V2
2466 bool "QDSP6V2 HW Audio support"
2467 select SND_SOC_MSM_QDSP6V2_INTF
2468 help
2469 Enable HW audio support in QDSP6V2.
2470 QDSP6V2 can support HW encoder & decoder and
2471 audio processing. It will enable support for
2472 AAC, AMRNB, AMRWB, EVRC, MP3, QCELP among
2473 others.
2474
Joonwoo Park4a14a552012-08-02 11:03:21 -07002475config MSM_ADSP_LOADER
2476 tristate "ADSP loader support"
2477 select SND_SOC_MSM_APRV2_INTF
2478 depends on MSM_AUDIO_QDSP6V2 && m
2479 help
2480 Enable ADSP image loader.
2481 The ADSP loader brings ADSP out of reset
2482 for the platforms that use APRv2.
2483 Say M if you want to enable this module.
2484
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +02002485config MSM_ULTRASOUND_A
2486 bool "QDSP6 HW Ultrasound support"
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002487 help
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +02002488 Enable HW ultrasound support in QDSP6.
2489 QDSP6 can support HW encoder & decoder and
2490 ultrasound processing. It will enable
2491 ultrasound data paths between
2492 HW and services, calculating input events
2493 upon the ultrasound data.
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002494
Baruch Eruchimovitch8c3f7802013-01-05 22:48:04 +02002495config MSM_ULTRASOUND_B
2496 bool "QDSP6V2 HW Ultrasound support"
2497 help
2498 Enable HW Ultrasound support in QDSP6V2.
2499 QDSP6V2 can support HW encoder & decoder and
2500 ultrasound processing. It will enable
2501 ultrasound data paths between
2502 HW and services, calculating input events
2503 upon the ultrasound data.
2504
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002505config MSM_RPC_VIBRATOR
2506 bool "RPC based MSM Vibrator Support"
2507 depends on MSM_ONCRPCROUTER
2508 help
2509 Enable the vibrator support on MSM over RPC. The vibrator
2510 is connected on the PMIC. Say Y if you want to enable this
2511 feature.
2512
2513config PM8XXX_RPC_VIBRATOR
2514 bool "RPC based Vibrator on PM8xxx PMICs"
2515 depends on MSM_RPC_VIBRATOR
2516 help
2517 Enable the vibrator support on MSM over RPC. The vibrator
2518 is connected on the PM8XXX PMIC. Say Y if you want to enable
2519 this feature.
2520
2521config MSM_SPM_V1
2522 bool "Driver support for SPM Version 1"
2523 help
2524 Enables the support for Version 1 of the SPM driver. SPM hardware is
2525 used to manage the processor power during sleep. The driver allows
2526 configuring SPM to allow different power modes.
2527
2528config MSM_SPM_V2
2529 bool "Driver support for SPM Version 2"
2530 help
2531 Enables the support for Version 2 of the SPM driver. SPM hardware is
2532 used to manage the processor power during sleep. The driver allows
2533 configuring SPM to allow different power modes.
2534
2535config MSM_L2_SPM
2536 bool "SPM support for L2 cache"
2537 depends on MSM_SPM_V2
2538 help
2539 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2540 control of L2 cache low power mode with a Subsystem Power manager.
2541 Enabling this driver allows configuring L2 SPM for low power modes
2542 on supported chipsets.
2543
Laura Abbott2d1760b2011-09-29 21:31:24 -07002544config MSM_MULTIMEDIA_USE_ION
2545 bool "Multimedia suport using Ion"
2546 depends on ION_MSM
2547 help
2548 Enable support for multimedia drivers using Ion for buffer management
2549 instead of pmem. Selecting this may also involve userspace
2550 dependencies as well.
2551
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002552config MSM_OCMEM
2553 bool "MSM On-Chip memory driver (OCMEM)"
2554 help
2555 Enable support for On-Chip Memory available on certain MSM chipsets.
2556 OCMEM is a low latency, high performance pool shared by subsystems.
2557
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002558config MSM_OCMEM_LOCAL_POWER_CTRL
2559 bool "OCMEM Local Power Control"
2560 depends on MSM_OCMEM
2561 help
2562 Enable direct power management of the OCMEM core by the
2563 OCMEM driver. By default power management is delegated to
2564 the RPM. Selecting this option causes the OCMEM driver to
2565 directly handle the various macro power transitions.
2566
2567config MSM_OCMEM_DEBUG
2568 bool "OCMEM Debug Support"
2569 depends on MSM_OCMEM
2570 help
2571 Enable debug options for On-chip Memory (OCMEM) driver.
2572 Various debug options include memory, power and latency.
2573 Choosing one of these options allows debugging of each
2574 individual subsystem separately.
2575
Naveen Ramarajc71b2de2012-08-20 12:35:52 -07002576config MSM_OCMEM_NONSECURE
2577 bool "OCMEM Non Secure Mode"
2578 depends on MSM_OCMEM_DEBUG
2579 help
2580 Disable OCMEM interaction with secure processor.
2581 By default OCMEM is secured and accesses for each master
2582 is requested by the OCMEM driver. Selecting this option
2583 causes the OCMEM memory to be in non-secure state unless
2584 its locked down by the secure processor.
2585
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002586config MSM_OCMEM_POWER_DEBUG
2587 bool "OCMEM Power Debug Support"
2588 depends on MSM_OCMEM_DEBUG
2589 help
2590 Enable debug support for OCMEM power management.
2591 This adds support for verifying all power management
2592 related operations of OCMEM. Both local power management
2593 and RPM assisted power management operations are supported.
2594
Naveen Ramaraj4b1d9392012-08-06 21:05:14 -07002595config MSM_OCMEM_POWER_DISABLE
2596 bool "OCMEM Disable Power Control"
2597 depends on MSM_OCMEM_DEBUG
2598 help
2599 Disable all OCMEM power management.
2600 This keeps all OCMEM macros turned ON at all times thus
2601 never allowing them to be turned OFF. Both local power
2602 management and RPM assisted power modes are supported.
2603
Naveen Ramaraj88f23632012-10-10 12:23:29 -07002604config SENSORS_ADSP
2605 bool "Enable Sensors Driver Support for ADSP"
2606 help
2607 Add support for sensors ADSP driver.
2608 This driver is used for exercising different sensors use cases,
2609 such as for lower-power OCMEM use cases, and for time syncing
2610 with ADSP clock.
2611
Laura Abbottad340ff2012-01-04 14:23:48 -08002612config MSM_RTB
2613 bool "Register tracing"
2614 help
2615 Add support for logging different events to a small uncached
2616 region. This is designed to aid in debugging reset cases where the
2617 caches may not be flushed before the target resets.
2618
2619config MSM_RTB_SEPARATE_CPUS
2620 bool "Separate entries for each cpu"
2621 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002622 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002623 help
2624 Under some circumstances, it may be beneficial to give dedicated space
2625 for each cpu to log accesses. Selecting this option will log each cpu
2626 separately. This will guarantee that the last acesses for each cpu
2627 will be logged but there will be fewer entries per cpu
2628
Stepan Moskovchenko57884842012-06-07 17:35:49 -07002629config MSM_EBI_ERP
2630 bool "External Bus Interface (EBI) error reporting"
2631 help
2632 Say 'Y' here to enable reporting of external bus interface errors to
2633 the kernel log. Information such as the offending address and
2634 transaction type will be logged. This may be useful for debugging
2635 seemingly broken memory accesses.
2636
2637 For production builds, you should probably say 'N' here.
2638
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002639config MSM_CACHE_ERP
2640 bool "Cache / CPU error reporting"
2641 depends on ARCH_MSM_KRAIT
2642 help
2643 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2644 log. Enabling this feature can be used as a system debugging technique
2645 if cache corruption is suspected. Cache error statistics will also be
2646 reported in /proc/cpu/msm_cache_erp.
2647
2648 For production builds, you should probably say 'N' here.
2649
2650config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002651 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002652 depends on MSM_CACHE_ERP
2653 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002654 To cause the kernel to panic whenever an L1 cache error is detected, say
2655 'Y' here. This may be useful as a debugging technique if general system
2656 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002657
2658 For production builds, you should probably say 'N' here.
2659
Stepan Moskovchenkoe1aba3d2012-12-06 18:40:25 -08002660config MSM_L1_RECOV_ERR_PANIC
2661 bool "Panic on recoverable L1 cache errors"
2662 depends on MSM_CACHE_ERP && MSM_L1_ERR_PANIC
2663 help
2664 Certain CPU designs may be able to automatically recover from certain
2665 kinds of L1 cache errors, even though the L1 cache itself may not
2666 support error correction. These errors should not result in any kind
2667 of corruption, but their presence is nevertheless an indication of
2668 poor system health. To cause the kernel to panic whenever a
2669 recoverable L1 cache error is detected, say 'Y' here. This may be
2670 useful as a debugging technique if general system instability is
2671 suspected.
2672
2673 For production builds, you should definitely say 'N' here.
2674
Stepan Moskovchenko7035f652012-05-31 17:48:01 -07002675config MSM_L1_ERR_LOG
2676 bool "Log CPU ERP events to system memory"
2677 depends on MSM_CACHE_ERP
2678 help
2679 Enable logging CPU ERP events to an area of memory that will be
2680 preserved across a system reset. This may be useful for detecting and
2681 troubleshooting ERP-related system crashes in the field.
2682
2683 For production builds, you may want to say 'Y' here.
2684
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002685config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2686 bool "Report L2 master port slave/decode errors in kernel log"
2687 depends on MSM_CACHE_ERP
2688 help
2689 Master port errors can occur when a memory request is not properly
2690 handled by the destination slave. This can occur if the destination
2691 register does not exist or is inaccessible due to security
2692 restrictions or (in some cases) clock configuration. Enabling this
2693 option will cause a backtrace to be printed to the kernel log whenever
2694 such an error is encountered. Note that the error is reported as an
2695 interrupt rather than as an exception, meaning that the backtrace may
2696 have some skid. This option may help with debugging, though production
2697 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002698
2699config MSM_L2_ERP_PORT_PANIC
2700 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002701 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002702 help
2703 Master port errors can occur when a memory request is not properly
2704 handled by the destination slave. Enable this option to catch drivers
2705 which attempt to access bad areas of the address space, or access
2706 hardware registers in an improper state (such as certain clocks not
2707 being on). This option may help with debugging, though production
2708 builds should probably say 'N' here.
2709
2710config MSM_L2_ERP_1BIT_PANIC
2711 bool "Panic on recoverable L2 soft errors"
2712 depends on MSM_CACHE_ERP
2713 help
2714 Enable this option to cause a kernel panic whenever the L2 cache
2715 encounters a single-bit (correctable) soft error. This option should
2716 only be enabled when doing low-level debugging where cache corruption
2717 is suspected.
2718
2719 For production builds, you should definitely say 'N' here.
2720
2721config MSM_L2_ERP_2BIT_PANIC
2722 bool "Panic on unrecoverable L2 soft errors"
2723 depends on MSM_CACHE_ERP
2724 help
2725 Enable this option to cause a kernel panic whenever the L2 cache
2726 encounters a double-bit (non-correctable) soft error. Debug builds
2727 will likely benefit from having this option enabled to catch cache
2728 problems as soon as possible.
2729
2730 For production builds, it may be acceptable to say 'N' here, since
2731 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002732
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002733config MSM_DCVS
2734 bool "Use MSM DCVS for CPU/GPU Frequency control"
2735 depends on MSM_SCM
2736 help
2737 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2738 The DCVS manager allows idle driver to feed the idle information to the
2739 algorithm and the algorithm returns a frequency for the core which is
2740 passed to the frequency change driver.
2741
Pankaj Kumar32ce1ea2012-04-04 20:29:29 +05302742config MSM_CPR
2743 tristate "Use MSM CPR in S/W mode"
2744 help
2745 Enable CPR (core power reduction) in S/W mode, where the processor
2746 get's the notification from CPR block and programs the PMIC.
2747
2748config MSM_VP_REGULATOR
2749 tristate "Use MSM PMIC8029 C2 regulator"
2750 depends on ARCH_MSM8625
2751 help
2752 Enable MSM PMIC8029 C2 regulator support using APC_PLEVEL access
2753 for MSMs like 8625.
2754
Taniya Dasc43e6872012-03-21 16:41:14 +05302755config HAVE_ARCH_HAS_CURRENT_TIMER
2756 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002757
2758config MSM_CACHE_DUMP
2759 bool "Cache dumping support"
2760 help
2761 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2762 This allows for analysis of the caches in case cache corruption is
2763 suspected.
2764
Laura Abbott7b637362012-03-29 16:43:49 -07002765config MSM_CACHE_DUMP_ON_PANIC
2766 bool "Dump caches on panic"
2767 depends on MSM_CACHE_DUMP
2768 help
2769 By default, the caches are flushed on panic. This means that trying to
2770 look at them in a RAM dump will give useless data. Select this if you
2771 want to dump the L1 and L2 caches on panic before any flush occurs.
2772 If unsure, say N
2773
Jack Phamccbbfab2012-04-09 19:50:20 -07002774config MSM_HSIC_SYSMON
2775 tristate "MSM HSIC system monitor driver"
2776 depends on USB
2777 help
2778 Add support for bridging with the system monitor interface of MDM
2779 over HSIC. This driver allows the local system monitor to
2780 communicate with the remote system monitor interface.
2781
2782config MSM_HSIC_SYSMON_TEST
2783 tristate "MSM HSIC system monitor bridge test"
2784 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2785 help
2786 Enable the test hook for the Qualcomm system monitor HSIC driver.
2787 This will create a debugfs file entry named "hsic_sysmon_test" which
2788 can be read and written to send character data to the sysmon port of
2789 the modem over USB.
2790
Anirudh Ghayal0d2291a2012-09-20 21:31:41 +05302791config MSM_RPC_PMIC
2792 tristate "MSM RPC PMIC driver"
2793 depends on MSM_ONCRPCROUTER
2794 help
2795 This driver supports the PMIC functionality over RPC for those MSM's
2796 which do not have a direct access to PMIC. It supports ability to
2797 configure MPP, GPIO and all the other supported peripherals of the
2798 PMIC.
2799
Anirudh Ghayald3a63732012-09-20 22:13:13 +05302800config MSM_RPC_USB
2801 tristate "MSM RPC USB driver"
2802 depends on MSM_ONCRPCROUTER
2803 help
2804 This driver supports the USB configuration support over the RPC
2805 interface. It support the HS USB module connected to the MSM
2806 and FS USB which is connected over the PMIC. This support is
2807 required for MSMs on which the APPS does not have a direct access
2808 to the PMIC.
2809
2810config MSM_RPC_PMAPP
2811 tristate "MSM RPC PMIC APP driver"
2812 depends on MSM_ONCRPCROUTER
2813 help
2814 This driver supports the configuration of various PMIC APP modules
2815 such as display backlight, vreg pin-ctrl, smps clock over the RPC
2816 interface. This support is required for MSMs on which the APPS
2817 does not have a direct access to the PMIC.
Pushkar Joshi0fc73462012-09-26 17:59:31 -07002818
2819config MSM_ENABLE_WDOG_DEBUG_CONTROL
2820 bool "MSM Watchdog driver to disable debug Image"
2821 help
2822 This driver supports the configuration of the GCC_WDOG_DEBUG register
2823 used to control debug image.
2824 This support is currently required for MSM8974 to disable debug image
2825 on PS HOLD reset
Taniya Dasea4263f92012-08-22 18:52:51 +05302826
2827config MSM_FIQ
2828 bool "Enable FIQ for debugging"
2829 depends on ARCH_MSM8625
2830 select FIQ
Taniya Das36e4aa12012-07-04 18:27:16 +05302831 select GIC_SECURE
Taniya Dasea4263f92012-08-22 18:52:51 +05302832 help
2833 Enable any line to be used as an FIQ. This will help debugging
2834 if apps is not responding and holding lock with irqs disabled.
2835 Modem will then generate an raise a FIQ on this line before sending
2836 SMSM reset.
Greg Reidb1d240a2012-10-12 12:20:31 -04002837
2838config MSM_USE_USER_ACCESSIBLE_TIMERS
2839 bool "Enables mapping an MSM timer counter page to user space."
2840 depends on ARM_USE_USER_ACCESSIBLE_TIMERS
2841 help
2842 Enables MSM-specific user accessible timers via a shared
2843 memory page containing the cycle counter.
2844
Sidipotu Ashokbf84d4d2012-11-06 17:13:28 +05302845config USE_DEV_CTRL_VOLUME
2846 bool "Use Device Control Volume"
2847 help
2848 Use Device Control Volume as opposed to ALSA volume control.
2849
Jay Chokshi06e444f2012-12-06 20:48:23 -08002850config MSM_CPU_PWRCTL
2851 bool "Ensures that krait droop detectors are always off"
2852 help
2853 Droop detector mechanism can adversely affect krait plls during
2854 stand alone power collapse operation. Selecting this option
2855 ensures that they are always off.
2856
Saket Saurabh6089f952012-12-07 15:49:13 +05302857config MSM_UARTDM_Core_v14
2858 bool "Use MSM BLSP based HSUART Core v1.4"
2859 depends on SERIAL_MSM_HS
2860 help
2861 Select if BLSP based UART Core v.14 or higher is present.
Brian Swetland9e73c842007-11-26 04:12:13 -08002862endif