blob: a6e69141216ec40e1446b62078306c34b507c7dc [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
Baruch Eruchimovitch8c3f7802013-01-05 22:48:04 +0200284 select MSM_ULTRASOUND_B
Priyanka Mathur5d5b0a82013-01-17 10:54:29 -0800285 select MSM_LPM_TEST
Priyanka Mathur94abc462012-12-11 16:34:52 -0800286 select MSM_RPM_LOG
Laura Abbottb46c18d2013-04-12 09:36:44 -0700287 select ARCH_WANT_KMAP_ATOMIC_FLUSH
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700288
Stepan Moskovchenkob6ae7882013-01-24 15:47:18 -0800289config ARCH_MSMZINC
290 bool "MSMZINC"
291 select ARCH_MSM_KRAITMP
292 select GPIO_MSM_V3
293 select ARM_GIC
294 select CPU_V7
295 select MSM_SCM if SMP
296 select MSM_GPIOMUX
297 select MULTI_IRQ_HANDLER
298 select MSM_NATIVE_RESTART
299 select MSM_RESTART_V2
300 select MSM_PM8X60 if PM
301 select MAY_HAVE_SPARSE_IRQ
302 select SPARSE_IRQ
303 select REGULATOR
304 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko3a5ae972013-03-08 16:46:29 -0800305 select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
Laura Abbottb46c18d2013-04-12 09:36:44 -0700306 select ARCH_WANT_KMAP_ATOMIC_FLUSH
Stepan Moskovchenkob6ae7882013-01-24 15:47:18 -0800307
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +0530308config ARCH_MPQ8092
309 bool "MPQ8092"
310 select ARCH_MSM_KRAITMP
311 select GPIO_MSM_V3
312 select ARM_GIC
313 select MULTI_IRQ_HANDLER
314 select CPU_V7
315 select MSM_GPIOMUX
316 select MAY_HAVE_SPARSE_IRQ
317 select SPARSE_IRQ
318 select MSM_NOPM
319
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700320config ARCH_FSM9XXX
321 bool "FSM9XXX"
322 select ARCH_MSM_SCORPION
323 select MSM_VIC
324 select CPU_V7
325 select MSM_REMOTE_SPINLOCK_LDREX
Steve Mucklef132c6c2012-06-06 18:30:57 -0700326 select GPIO_FSM9XXX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530327 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800328 select MSM_DALRPC
Daniel Walker4ad15e62010-05-06 13:54:17 -0700329
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700330config ARCH_MSM9615
331 bool "MSM9615"
332 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530333 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700334 select ARCH_MSM_CORTEX_A5
335 select CPU_V7
Rohit Vaswani4307c842012-10-11 15:50:05 -0700336 select MIGHT_HAVE_CACHE_L2X0
Steve Mucklef132c6c2012-06-06 18:30:57 -0700337 select GPIO_MSM_V2
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700338 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600339 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600340 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700341 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800342 select REGULATOR
343 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530344 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800345 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800346 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700347 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800348 select MSM_QDSP6_APR
349 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800350 select FIQ
Laura Abbottb14ed962012-01-30 14:18:08 -0800351 select ARM_HAS_SG_CHAIN
Matt Wagantall9274df92011-12-15 11:11:05 -0800352
Taniya Das43bcdd62011-12-02 17:33:27 +0530353config ARCH_MSM8625
354 bool "MSM8625"
355 select ARCH_MSM_CORTEX_A5
356 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700357 select GPIO_MSM_V1
Taniya Das43bcdd62011-12-02 17:33:27 +0530358 select MSM_GPIOMUX
359 select ARM_GIC
360 select ARCH_MSM_CORTEXMP
361 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530362 select ARM_TICKET_LOCKS
Krishna Vankae2922052012-03-02 09:59:12 +0530363 select MSM_RUN_QUEUE_STATS
Trilok Sonib856ab92012-06-26 14:33:28 +0530364 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530365 select ARM_HAS_SG_CHAIN
Ashwin Chaugule3deb6b82012-12-21 13:09:48 -0500366 select CPU_HAS_L2_PMU
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700367
368config ARCH_MSM9625
369 bool "MSM9625"
370 select ARM_GIC
Abhimanyu Kapur490d20c2012-06-22 17:34:20 -0700371 select MIGHT_HAVE_CACHE_L2X0
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700372 select ARCH_MSM_CORTEX_A5
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700373 select CPU_V7
Abhimanyu Kapur37398ac2013-03-26 14:58:49 -0700374 select MSM_SCM
Jin Hong690e3352012-05-02 09:25:05 -0700375 select MSM_GPIOMUX
Girish Mahadevanf1c20a42012-09-19 11:44:36 -0600376 select MSM_RPM_SMD
Abhimanyu Kapur46e5e2b2012-10-02 20:45:37 -0700377 select MSM_NATIVE_RESTART
378 select MSM_RESTART_V2
Girish Mahadevan6e419562012-09-19 12:50:05 -0600379 select MSM_SPM_V2
380 select MSM_PM8X60 if PM
381 select MSM_SCM if SMP
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700382 select MULTI_IRQ_HANDLER
Rohit Vaswani61cf6ef2012-07-27 13:51:48 -0700383 select GPIO_MSM_V3
David Collins1cc6e402012-09-17 16:02:24 -0700384 select MAY_HAVE_SPARSE_IRQ
385 select SPARSE_IRQ
Mitchel Humpherys92e9b8a2012-10-08 18:12:47 -0700386 select MSM_MULTIMEDIA_USE_ION
Girish Mahadevane3be9302012-11-07 16:21:52 -0700387 select MSM_RPM_STATS_LOG
Venkat Sudhir0620e982012-11-15 16:04:36 -0800388 select MSM_QDSP6_APRV2
389 select MSM_QDSP6V2_CODECS
390 select MSM_AUDIO_QDSP6V2 if SND_SOC
Ashwin Chaugule8b459cc2012-11-26 15:20:54 -0500391 select CPU_HAS_L2_PMU
Pratik Patel61e91702013-01-27 20:30:42 -0800392 select MSM_JTAG_MM if CORESIGHT_ETM
Neeti Desai5f3b0312012-11-07 11:20:03 -0800393 select MEMORY_HOLE_CARVEOUT
Priyanka Mathurdc424552013-02-22 16:30:53 -0800394 select MSM_RPM_LOG
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700395
Abhimanyu Kapur17284802013-03-18 17:00:49 -0700396config ARCH_MSMKRYPTON
397 bool "MSMKRYPTON"
398 select ARM_GIC
399 select CPU_V7
400 select MSM_GPIOMUX
401 select MSM_RPM_SMD
402 select MSM_NATIVE_RESTART
403 select MSM_RESTART_V2
404 select MSM_SPM_V2
405 select MSM_PM8X60 if PM
406 select MULTI_IRQ_HANDLER
407 select GPIO_MSM_V3
408 select MAY_HAVE_SPARSE_IRQ
409 select SPARSE_IRQ
410
Syed Rameez Mustafa3971c142013-01-09 19:04:53 -0800411config ARCH_MSM8610
412 bool "MSM8610"
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700413 select ARM_GIC
414 select GIC_SECURE
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700415 select ARCH_MSM_CORTEXMP
416 select CPU_V7
417 select MSM_SCM if SMP
418 select MAY_HAVE_SPARSE_IRQ
419 select SPARSE_IRQ
420 select MULTI_IRQ_HANDLER
421 select GPIO_MSM_V3
422 select MSM_GPIOMUX
Hanumant Singhe4271312012-10-24 13:27:57 -0700423 select MSM_NATIVE_RESTART
424 select MSM_RESTART_V2
Arun Menon7d2f1732013-01-16 15:20:56 -0800425 select MSM_QDSP6_APRV2
426 select MSM_QDSP6V2_CODECS
427 select MSM_AUDIO_QDSP6V2 if SND_SOC
Syed Rameez Mustafa03ea34e2013-03-13 12:18:59 -0700428 select QMI_ENCDEC
Praveen Chidambaramee7b1652012-11-29 09:52:53 -0700429 select MSM_RPM_SMD
430 select MSM_SPM_V2
431 select MSM_L2_SPM
432 select MSM_PM8X60 if PM
Syed Rameez Mustafa03ea34e2013-03-13 12:18:59 -0700433 select MEMORY_HOLE_CARVEOUT
434 select DONT_MAP_HOLE_AFTER_MEMBANK0
435 select MSM_BUS_SCALING
Patrick Dalyd3ad9ff2012-11-06 11:07:27 -0800436 select CPU_FREQ_MSM
437 select CPU_FREQ
438 select CPU_FREQ_GOV_USERSPACE
439 select CPU_FREQ_GOV_ONDEMAND
Patrick Daly9e3fca92013-01-30 13:53:57 -0800440 select MSM_PIL
Siddharth Vermaead71842013-02-27 14:25:27 -0800441 select MSM_RUN_QUEUE_STATS
Mitchel Humpherys3537e672013-03-04 20:21:19 -0800442 select ARM_HAS_SG_CHAIN
Syed Rameez Mustafa03ea34e2013-03-13 12:18:59 -0700443 select REGULATOR
444 select MSM_RPM_REGULATOR_SMD
David Collinsf2de39b2013-03-15 14:34:20 -0700445 select MSM_SPM_REGULATOR
Aparna Das258c1722013-03-28 17:20:50 -0700446 select MSM_JTAG_MM if CORESIGHT_ETM
Willie Ruande543ba2013-03-26 14:52:11 -0700447 select MSM_CPR_REGULATOR
Priyanka Mathur6e0e2112013-04-03 12:58:52 -0700448 select MSM_RPM_LOG
Priyanka Mathur6c469162013-04-03 13:04:13 -0700449 select MSM_RPM_STATS_LOG
Syed Rameez Mustafa9ee80102012-11-02 14:41:04 -0700450
451config ARCH_MSM8226
452 bool "MSM8226"
453 select ARM_GIC
454 select GIC_SECURE
Syed Rameez Mustafa9ee80102012-11-02 14:41:04 -0700455 select ARCH_MSM_CORTEXMP
456 select CPU_V7
457 select MSM_SCM if SMP
458 select MAY_HAVE_SPARSE_IRQ
459 select SPARSE_IRQ
460 select MULTI_IRQ_HANDLER
461 select GPIO_MSM_V3
462 select MSM_GPIOMUX
Syed Rameez Mustafaf1bdd712012-11-20 14:56:44 -0800463 select MSM_NATIVE_RESTART
464 select MSM_RESTART_V2
Bhalchandra Gajare4e08f632012-12-18 11:54:35 -0800465 select MSM_QDSP6_APRV2
466 select MSM_QDSP6V2_CODECS
467 select MSM_AUDIO_QDSP6V2 if SND_SOC
Karthikeyan Ramasubramaniand04c8652013-01-16 09:03:51 -0700468 select QMI_ENCDEC
Praveen Chidambarama06f60d2012-11-29 09:52:53 -0700469 select MSM_RPM_SMD
470 select MSM_SPM_V2
471 select MSM_L2_SPM
472 select MSM_PM8X60 if PM
Neeti Desaibfedbd32012-11-21 13:19:36 -0800473 select MEMORY_HOLE_CARVEOUT
474 select DONT_MAP_HOLE_AFTER_MEMBANK0
Gagan Mace1ec9522013-02-01 12:10:21 -0700475 select MSM_BUS_SCALING
Syed Rameez Mustafa03ea34e2013-03-13 12:18:59 -0700476 select CPU_FREQ_MSM
477 select CPU_FREQ
478 select CPU_FREQ_GOV_USERSPACE
479 select CPU_FREQ_GOV_ONDEMAND
480 select MSM_PIL
481 select MSM_RUN_QUEUE_STATS
Mitchel Humpherys3537e672013-03-04 20:21:19 -0800482 select ARM_HAS_SG_CHAIN
David Keitelc0092e12013-03-07 12:09:48 -0800483 select REGULATOR
484 select MSM_RPM_REGULATOR_SMD
David Collinsf2de39b2013-03-15 14:34:20 -0700485 select MSM_SPM_REGULATOR
Pushkar Joshi1bea8372013-03-06 18:26:37 -0800486 select MSM_JTAG_MM if CORESIGHT_ETM
Willie Ruan679eaf32013-03-21 13:30:40 -0700487 select MSM_CPR_REGULATOR
Priyanka Mathur6e0e2112013-04-03 12:58:52 -0700488 select MSM_RPM_LOG
Priyanka Mathur6c469162013-04-03 13:04:13 -0700489 select MSM_RPM_STATS_LOG
Laura Abbottb46c18d2013-04-12 09:36:44 -0700490 select ARCH_WANT_KMAP_ATOMIC_FLUSH
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700491endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700492
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700493choice
494 prompt "MSM SoC Revision"
495 default MSM_SOC_REV_NONE
496config MSM_SOC_REV_NONE
497 bool "N/A"
498 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
499 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walkerbf83de42010-03-16 16:29:44 -0700500config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700501 bool "Rev. A"
502 select ARCH_MSM7X27A if ARCH_MSM7X27
Daniel Walkerbf83de42010-03-16 16:29:44 -0700503endchoice
504
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700505config MSM_KRAIT_TBB_ABORT_HANDLER
506 bool "Krait TBB/TBH data abort handler"
507 depends on ARCH_MSM_KRAIT
508 depends on ARM_THUMB
509 help
510 Certain early samples of the Krait processor may generate data
511 aborts for TBB / TBH instructions that fail their condition code
512 checks. Enabling this option will ignore these erroneous data aborts,
513 at the expense of a very small performance penalty.
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800514
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700515 If unsure, say N.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700516
517config ARCH_MSM_ARM11
518 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700519
Daniel Walkerbf83de42010-03-16 16:29:44 -0700520config ARCH_MSM_SCORPION
521 bool
522
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700523config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700524 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800525 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700526
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700527config MSM_SMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700528 select HAVE_SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700529 bool
530
531config ARCH_MSM_SCORPIONMP
532 select ARCH_MSM_SCORPION
533 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530534 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel61e91702013-01-27 20:30:42 -0800535 select MSM_JTAG if CORESIGHT_ETM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700536 bool
537
538config ARCH_MSM_KRAITMP
539 select ARCH_MSM_KRAIT
540 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530541 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel61e91702013-01-27 20:30:42 -0800542 select MSM_JTAG if CORESIGHT_ETM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700543 bool
544
Taniya Das43bcdd62011-12-02 17:33:27 +0530545config ARCH_MSM_CORTEXMP
546 select MSM_SMP
547 bool
548
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700549config MSM_KRAIT_WFE_FIXUP
550 bool
551
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700552config MSM_RESTART_V2
553 bool
554
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700555config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800556 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700557
558config ARCH_MSM7X27A
559 bool
560 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700561 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530562 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530563 select ARM_GIC
564 select ARCH_MSM_CORTEXMP
Trilok Sonib856ab92012-06-26 14:33:28 +0530565 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530566 select ARM_HAS_SG_CHAIN
Ashwin Chaugule3deb6b82012-12-21 13:09:48 -0500567 select CPU_HAS_L2_PMU
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700568
Gregory Beanf9f3d312010-04-30 22:06:50 -0700569config MSM_VIC
570 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700571
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700572config MSM_RPM
573 bool "Resource Power Manager"
574 select MSM_MPM
575
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600576config MSM_RPM_SMD
577 depends on MSM_SMD
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600578 select MSM_MPM_OF
579 bool "RPM driver using SMD protocol"
580 help
581 RPM is the dedicated hardware engine for managing shared SoC
582 resources. This config adds driver support for using SMD as a
583 transport layer communication with RPM hardware. It also selects
584 the MSM_MPM config that programs the MPM module to monitor interrupts
585 during sleep modes.
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600586
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700587config MSM_MPM
588 bool "Modem Power Manager"
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600589 help
590 MPM is a dedicated hardware resource responsible for entering and
591 waking up from a system wide low power mode. The MPM driver tracks
592 the wakeup interrupts and configures the MPM to monitor the wakeup
593 interrupts when going to a system wide sleep mode.
594
595config MSM_MPM_OF
596 bool "Modem Power Manager"
Subbaraman Narayanamurthy0b148fc2012-11-28 12:14:12 -0800597 depends on OF
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600598 help
599 MPM is a dedicated hardware resource responsible for entering and
600 waking up from a system wide low power mode. The MPM driver tracks
601 the wakeup interrupts and configures the MPM to monitor the wakeup
602 interrupts when going to a system wide sleep mode. This config option
603 enables the MPM driver that supports initialization from a device
604 tree
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700605
Priyanka Mathur9a75ec52012-12-07 16:02:40 -0800606config MSM_LPM_TEST
607 bool "Low Power Mode test framework"
Priyanka Mathur3abfd442013-01-11 12:58:51 -0800608 depends on MSM_RPM || MSM_RPM_SMD
Priyanka Mathur9a75ec52012-12-07 16:02:40 -0800609 depends on MSM_PM8X60
610 help
611 LPM_TEST is a test framework that assists in exercising the low
612 power mode algorithm on MSM targets. This test framework tracks
613 notifications sent during entry/exit of the low power modes and
614 processes them to measure various stats including latency
615 measurement.
616
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700617config MSM_XO
618 bool
619
620config MSM_REMOTE_SPINLOCK_DEKKERS
621 bool
622config MSM_REMOTE_SPINLOCK_SWP
623 bool
624config MSM_REMOTE_SPINLOCK_LDREX
625 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600626config MSM_REMOTE_SPINLOCK_SFPB
627 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700628config MSM_ADM3
629 bool
630
631menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700632
633config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700634 depends on ARCH_MSM7X01A
635 depends on MSM_STACKED_MEMORY
636 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700637 bool "Halibut Board (QCT SURF7201A)"
638 help
639 Support for the Qualcomm SURF7201A eval board.
640
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700641config MACH_MSM7201A_SURF
642 depends on ARCH_MSM7X01A
643 depends on MSM_STACKED_MEMORY
644 default y
645 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700646 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700647 Support for the Qualcomm MSM7201A SURF eval board.
648
649config MACH_MSM7201A_FFA
650 depends on ARCH_MSM7X01A
651 depends on MSM_STACKED_MEMORY
652 default y
653 bool "MSM7201A FFA"
654 help
655 Support for the Qualcomm MSM7201A FFA eval board.
656
657config MACH_TROUT
658 depends on ARCH_MSM7X01A
659 depends on MSM_STACKED_MEMORY
660 default y
661 bool "Trout"
662
663config MACH_MSM7X27_SURF
664 depends on ARCH_MSM7X27
665 depends on !MSM_STACKED_MEMORY
666 default y
667 bool "MSM7x27 SURF"
668 help
669 Support for the Qualcomm MSM7x27 SURF eval board.
670
671config MACH_MSM7X27_FFA
672 depends on ARCH_MSM7X27
673 depends on !MSM_STACKED_MEMORY
674 default y
675 bool "MSM7x27 FFA"
676 help
677 Support for the Qualcomm MSM7x27 FFA eval board.
678
679config MACH_MSM7X27A_RUMI3
680 depends on ARCH_MSM7X27A
681 depends on !MSM_STACKED_MEMORY
682 default y
683 bool "MSM7x27A RUMI3"
684 help
685 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
686
687config MACH_MSM7X27A_SURF
688 depends on ARCH_MSM7X27A
689 depends on !MSM_STACKED_MEMORY
690 default y
691 bool "MSM7x27A SURF"
692 help
693 Support for the Qualcomm MSM7x27A SURF.
694
695config MACH_MSM7X27A_FFA
696 depends on ARCH_MSM7X27A
697 depends on !MSM_STACKED_MEMORY
698 default y
699 bool "MSM7x27A FFA"
700 help
701 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700702
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530703config MACH_MSM7625A_SURF
704 depends on ARCH_MSM7X27A
705 depends on !MSM_STACKED_MEMORY
706 default y
707 bool "MSM7625A SURF"
708 help
709 Support for the Qualcomm MSM7625A SURF.
710
711config MACH_MSM7625A_FFA
712 depends on ARCH_MSM7X27A
713 depends on !MSM_STACKED_MEMORY
714 default y
715 bool "MSM7625A FFA"
716 help
717 Support for the Qualcomm MSM7625A FFA.
718
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530719config MACH_MSM7627A_QRD1
720 depends on ARCH_MSM7X27A
721 depends on !MSM_STACKED_MEMORY
722 default y
723 bool "MSM7627A QRD1"
724 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530725 Support for the Qualcomm MSM7627A Reference Design.
726
727config MACH_MSM7627A_QRD3
728 depends on ARCH_MSM7X27A
729 depends on !MSM_STACKED_MEMORY
730 default y
731 bool "MSM7627A QRD3"
732 help
733 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530734
Taniya Dasc868a2e2012-01-03 10:18:47 +0530735config MACH_MSM7627A_EVB
736 depends on ARCH_MSM7X27A
737 depends on !MSM_STACKED_MEMORY
738 default y
739 bool "MSM7627A EVB"
740 help
741 Support for the Qualcomm MSM7627A Reference Design.
742
Taniya Das43bcdd62011-12-02 17:33:27 +0530743config MACH_MSM8625_RUMI3
744 depends on ARCH_MSM8625
745 depends on !MSM_STACKED_MEMORY
746 default y
747 bool "MSM8625 RUMI3"
748 help
749 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
750
Taniya Dase3027e22012-02-27 16:32:27 +0530751config MACH_MSM8625_SURF
752 depends on ARCH_MSM8625
753 depends on !MSM_STACKED_MEMORY
754 default y
755 bool "MSM8625 SURF"
756 help
757 Support for the Qualcomm MSM8625 SURF.
758
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530759config MACH_MSM8625_FFA
760 depends on ARCH_MSM8625
761 depends on !MSM_STACKED_MEMORY
762 default y
763 bool "MSM8625 FFA"
764 help
765 Support for the Qualcomm MSM8625 FFA.
766
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530767config MACH_MSM8625_EVB
768 depends on ARCH_MSM8625
769 depends on !MSM_STACKED_MEMORY
770 default y
771 bool "MSM8625 EVB"
772 help
773 Support for the Qualcomm MSM8625 Reference Design.
774
Taniya Dasbd096542012-03-15 17:43:45 +0530775config MACH_MSM8625_QRD7
776 depends on ARCH_MSM8625
777 depends on !MSM_STACKED_MEMORY
778 default y
779 bool "MSM8625 QRD7"
780 help
781 Support for the Qualcomm MSM8625 Reference Design.
782
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530783config MACH_MSM8625_EVT
784 depends on ARCH_MSM8625
785 depends on !MSM_STACKED_MEMORY
786 default y
787 bool "MSM8625 EVT"
788 help
789 Support for the Qualcomm MSM8625 Reference Design.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700790
Channagoud Kadabi2bd65c82012-10-12 15:14:23 +0530791config MACH_QRD_SKUD_PRIME
792 depends on ARCH_MSM8625
793 depends on !MSM_STACKED_MEMORY
794 default y
795 bool "MSM8625 SKUD PRIME"
796 help
797 Support for the Qualcomm MSM8625 SKUD prime Reference Design.
798 Add support for a SKUD prime reference design based on MSM8x25
799 chipset. This device is much closer to a phone than regular form
800 factor devices, with new touch, display panel and other hardware
801 configurations.
802
Daniel Walker7b521612010-05-06 12:44:57 -0700803config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700804 depends on ARCH_MSM7X30
805 depends on !MSM_STACKED_MEMORY
806 default y
807 bool "MSM7x30 SURF"
808 help
809 Support for the Qualcomm MSM7x30 SURF eval board.
810
811config MACH_MSM7X30_FFA
812 depends on ARCH_MSM7X30
813 depends on !MSM_STACKED_MEMORY
814 default y
815 bool "MSM7x30 FFA"
816 help
817 Support for the Qualcomm MSM7x30 FFA eval board.
818
819config MACH_MSM7X30_FLUID
820 depends on ARCH_MSM7X30
821 depends on !MSM_STACKED_MEMORY
822 default y
823 bool "MSM7x30 FLUID"
824 help
825 Support for the Qualcomm MSM7x30 FLUID eval board.
826
827config MACH_SAPPHIRE
828 depends on ARCH_MSM7X01A
829 default n
830 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700831
Daniel Walker4ad15e62010-05-06 13:54:17 -0700832config MACH_QSD8X50_SURF
833 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700834 depends on MSM_SOC_REV_NONE
835 depends on MSM_STACKED_MEMORY
836 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700837 bool "QSD8x50 SURF"
838 help
839 Support for the Qualcomm QSD8x50 SURF eval board.
840
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700841config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700842 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700843 depends on MSM_SOC_REV_NONE
844 depends on MSM_STACKED_MEMORY
845 default y
846 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700847 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700848 Support for the Qualcomm QSD8x50 FFA eval board.
849
850config MACH_MSM7X25_SURF
851 depends on ARCH_MSM7X25
852 depends on !MSM_STACKED_MEMORY
853 default y
854 bool "MSM7x25 SURF"
855 help
856 Support for the Qualcomm MSM7x25 SURF eval board.
857
858config MACH_MSM7X25_FFA
859 depends on ARCH_MSM7X25
860 depends on !MSM_STACKED_MEMORY
861 default y
862 bool "MSM7x25 FFA"
863 help
864 Support for the Qualcomm MSM7x25 FFA eval board.
865
866config MACH_MSM8X55_SURF
867 depends on ARCH_MSM7X30
868 depends on !MSM_STACKED_MEMORY
869 default y
870 bool "MSM8X55 SURF"
871 help
872 Support for the Qualcomm MSM8x55 SURF eval board.
873
874config MACH_MSM8X55_FFA
875 depends on ARCH_MSM7X30
876 depends on !MSM_STACKED_MEMORY
877 default y
878 bool "MSM8X55 FFA"
879 help
880 Support for the Qualcomm MSM8x55 FFA eval board.
881
882config MACH_MSM8X55_SVLTE_FFA
883 depends on ARCH_MSM7X30
884 depends on !MSM_STACKED_MEMORY
885 default y
886 bool "MSM8X55 SVLTE FFA"
887 help
888 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
889
890config MACH_MSM8X55_SVLTE_SURF
891 depends on ARCH_MSM7X30
892 depends on !MSM_STACKED_MEMORY
893 default y
894 bool "MSM8X55 SVLTE SURF"
895 help
896 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700897
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700898config MACH_MSM8X60_SURF
899 depends on ARCH_MSM8X60
900 default n
901 bool "MSM8x60 SURF"
902 help
903 Support for the Qualcomm MSM8x60 SURF eval board.
904
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700905config MACH_MSM8X60_FFA
906 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700907 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700908 bool "MSM8x60 FFA"
909 help
910 Support for the Qualcomm MSM8x60 FFA eval board.
911
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700912config MACH_MSM8X60_FLUID
913 depends on ARCH_MSM8X60
914 default n
915 bool "MSM8x60 FLUID"
916 help
917 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
918 8x60 target which has a form factor that is much closer to that
919 of a phone than other targets. It also has a new display and
920 touchscreen controller.
921
922config MACH_MSM8X60_FUSION
923 depends on ARCH_MSM8X60
924 default n
925 bool "MSM8x60 FUSION"
926 help
927 Support for the Qualcomm MSM8x60 Fusion SURF device.
928
929config MACH_MSM8X60_FUSN_FFA
930 depends on ARCH_MSM8X60
931 default n
932 bool "MSM8x60 FUSN FFA"
933 help
934 Support for the Qualcomm MSM8x60 Fusion FFA device.
935
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400936config MACH_MSM8X60_DRAGON
937 depends on ARCH_MSM8X60
938 default n
939 bool "MSM8x60 DRAGON"
940 help
941 Support for the Qualcomm MSM8x60 Dragon board.
942
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700943config MACH_MSM8960_CDP
944 depends on ARCH_MSM8960
945 bool "MSM8960 CDP"
946 help
947 Support for the Qualcomm MSM8960 CDP device.
948
949config MACH_MSM8960_MTP
950 depends on ARCH_MSM8960
951 bool "MSM8960 MTP"
952 help
953 Support for the Qualcomm MSM8960 MTP device.
954
955config MACH_MSM8960_FLUID
956 depends on ARCH_MSM8960
957 bool "MSM8960 FLUID"
958 help
959 Support for the Qualcomm MSM8960 FLUID device.
960
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300961config MACH_MSM8960_LIQUID
962 depends on ARCH_MSM8960
963 bool "MSM8960 LIQUID"
964 help
965 Support for the Qualcomm MSM8960 LIQUID device.
966
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700967config MACH_MSM8930_CDP
968 depends on ARCH_MSM8930
969 bool "MSM8930 CDP"
970 help
971 Support for the Qualcomm MSM8930 CDP device.
972
973config MACH_MSM8930_MTP
974 depends on ARCH_MSM8930
975 bool "MSM8930 MTP"
976 help
977 Support for the Qualcomm MSM8930 MTP device.
978
979config MACH_MSM8930_FLUID
980 depends on ARCH_MSM8930
981 bool "MSM8930 FLUID"
982 help
983 Support for the Qualcomm MSM8930 FLUID device.
984
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800985config MACH_MSM8627_CDP
986 depends on ARCH_MSM8930
987 bool "MSM8627 CDP"
988 help
989 Support for the Qualcomm MSM8627 CDP device.
990
991config MACH_MSM8627_MTP
992 depends on ARCH_MSM8930
993 bool "MSM8627 MTP"
994 help
995 Support for the Qualcomm MSM8627 MTP device.
996
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700997config MACH_MSM9615_CDP
998 depends on ARCH_MSM9615
999 bool "MSM9615 CDP"
1000 help
1001 Support for the Qualcomm MSM9615 CDP device.
1002
1003config MACH_MSM9615_MTP
1004 depends on ARCH_MSM9615
1005 bool "MSM9615 MTP"
1006 help
1007 Support for the Qualcomm MSM9615 MTP device.
1008
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001009config MSM_USE_TSIF1
1010 depends on ARCH_MSM8X60
1011 bool "MSM8x60 use TSIF1"
1012 help
1013 Selects TSIF1 core to be used rather than TSIF0.
1014 The two TSIF cores share the same DM configuration
1015 so they cannot be used simultaneously.
1016
Joel King82b7e3f2012-01-05 10:03:27 -08001017config MACH_APQ8064_CDP
1018 depends on ARCH_APQ8064
1019 bool "APQ8064 CDP"
1020 help
1021 Support for the Qualcomm APQ8064 CDP device.
1022
Rohit Vaswani4375c802013-01-09 13:38:19 -08001023config MACH_FSM8064_EP
1024 depends on ARCH_APQ8064
1025 bool "FSM8064 EP"
1026 help
1027 Support for the Qualcomm FSM8064 EP device.
1028 This board also known as Femto development platform (FDP)
1029 is based on APQ8064 chipset. This board does not support
1030 keyboard, display or multimedia.
1031
Joel King82b7e3f2012-01-05 10:03:27 -08001032config MACH_APQ8064_MTP
1033 depends on ARCH_APQ8064
1034 bool "APQ8064 MTP"
1035 help
1036 Support for the Qualcomm APQ8064 MTP device.
1037
1038config MACH_APQ8064_LIQUID
1039 depends on ARCH_APQ8064
1040 bool "APQ8064 LIQUID"
1041 help
1042 Support for the Qualcomm APQ8064 LIQUID device.
1043
Joel King064bbf82012-04-01 13:23:39 -07001044config MACH_MPQ8064_CDP
1045 depends on ARCH_APQ8064
1046 bool "MPQ8064 CDP"
1047 help
1048 Support for the Qualcomm MPQ8064 CDP device.
1049
Joel King11ca8202012-02-13 16:19:03 -08001050config MACH_MPQ8064_HRD
1051 depends on ARCH_APQ8064
1052 bool "MPQ8064 HRD"
1053 help
1054 Support for the Qualcomm MPQ8064 HRD device.
1055
1056config MACH_MPQ8064_DTV
1057 depends on ARCH_APQ8064
1058 bool "MPQ8064 DTV"
1059 help
1060 Support for the Qualcomm MPQ8064 DTV device.
1061
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001062config MACH_FSM9XXX_SURF
1063 depends on ARCH_FSM9XXX
1064 depends on !MSM_STACKED_MEMORY
1065 default y
1066 bool "FSM9XXX SURF"
1067 help
1068 Support for the Qualcomm FSM9xxx femtocell
1069 chipset based SURF evaluation board and
1070 FFA board.
1071
Daniel Walker4ad15e62010-05-06 13:54:17 -07001072endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -08001073
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001074config MSM_STACKED_MEMORY
1075 bool "Stacked Memory"
1076 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -08001077 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001078 This option is used to indicate the presence of on-die stacked
1079 memory. When present this memory bank is used for a high speed
1080 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -08001081
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001082config PHYS_OFFSET
1083 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -07001084 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001085 default "0x80200000" if ARCH_APQ8064
1086 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -07001087 default "0x80200000" if ARCH_MSM8930
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001088 default "0x00000000" if ARCH_MSM8974
Stepan Moskovchenkob6ae7882013-01-24 15:47:18 -08001089 default "0x00000000" if ARCH_MSMZINC
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +05301090 default "0x00000000" if ARCH_MPQ8092
Syed Rameez Mustafa1c99fd32013-03-05 22:11:17 -08001091 default "0x00000000" if ARCH_MSM8226
1092 default "0x00000000" if ARCH_MSM8610
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001093 default "0x10000000" if ARCH_FSM9XXX
Abhimanyu Kapur20ac2ad2012-09-25 04:23:59 -07001094 default "0x00200000" if ARCH_MSM9625
Abhimanyu Kapur17284802013-03-18 17:00:49 -07001095 default "0x00200000" if ARCH_MSMKRYPTON
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001096 default "0x00200000" if !MSM_STACKED_MEMORY
1097 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
1098 default "0x20000000" if ARCH_QSD8X50
1099 default "0x40200000" if ARCH_MSM8X60
1100 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -08001101
Mitchel Humpherys05e58812012-08-13 14:24:13 -07001102config KERNEL_MSM_CONTIG_MEM_REGION
1103 bool "Enable in-kernel contiguous memory region"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001104 default y if ARCH_MSM8X60
Laura Abbottc1fa75b2013-04-02 14:29:53 -07001105 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001106 help
Mitchel Humpherys05e58812012-08-13 14:24:13 -07001107 Enable the in-kernel contiguous memory allocator. Sets up a
1108 region of physically contiguous memory. This memory is
1109 reserved during initialization, and can be used
1110 generically.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001111
1112config KERNEL_PMEM_SMI_REGION
1113 bool "Enable in-kernel PMEM region for SMI"
1114 default y if ARCH_MSM8X60
1115 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
1116 help
1117 Enable the in-kernel PMEM allocator to use SMI memory.
1118
1119config PMEM_GPU0
1120 bool "Enable PMEM GPU0 region"
1121 default y
1122 depends on ARCH_QSD8X50 && ANDROID_PMEM
1123 help
1124 Enable the PMEM GPU0 device on SMI Memory.
1125
1126config MSM_AMSS_VERSION
1127 int
1128 default 6210 if MSM_AMSS_VERSION_6210
1129 default 6220 if MSM_AMSS_VERSION_6220
1130 default 6225 if MSM_AMSS_VERSION_6225
1131
1132choice
1133 prompt "AMSS modem firmware version"
1134
1135 default MSM_AMSS_VERSION_6225
1136
1137 config MSM_AMSS_VERSION_6210
1138 bool "6.2.10"
1139
1140 config MSM_AMSS_VERSION_6220
1141 bool "6.2.20"
1142
1143 config MSM_AMSS_VERSION_6225
1144 bool "6.2.20 + New ADSP"
1145endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -08001146
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001147config MSM_HAS_DEBUG_UART_HS
Daniel Walkerbf83de42010-03-16 16:29:44 -07001148 bool
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001149 help
1150 Say Y here if high speed MSM UART is present.
1151
1152config MSM_HAS_DEBUG_UART_HS_V14
1153 bool
1154 select MSM_HAS_DEBUG_UART_HS
1155 help
1156 Say Y here if high speed MSM UART v1.4 is present.
1157
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301158config MSM_DEBUG_UART_PHYS
1159 hex
1160 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
1161 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
1162 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
1163 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
1164 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
1165 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
1166 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
1167 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
1168
Brian Swetland9e73c842007-11-26 04:12:13 -08001169choice
1170 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001171 depends on DEBUG_LL
Brian Swetland9e73c842007-11-26 04:12:13 -08001172
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001173 config DEBUG_MSM_UART1
1174 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301175 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001176 help
1177 Say Y here if you want the debug print routines to direct
1178 their output to the first serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001179
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001180 config DEBUG_MSM_UART2
1181 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301182 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001183 help
1184 Say Y here if you want the debug print routines to direct
1185 their output to the second serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001186
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001187 config DEBUG_MSM_UART3
1188 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301189 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001190 help
1191 Say Y here if you want the debug print routines to direct
1192 their output to the third serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001193
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001194 config DEBUG_MSM8660_UART
1195 bool "Kernel low-level debugging messages via MSM 8660 UART"
1196 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001197 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001198 help
1199 Say Y here if you want the debug print routines to direct
1200 their output to the serial port on MSM 8660 devices.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001201
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001202 config DEBUG_MSM8960_UART
1203 bool "Kernel low-level debugging messages via MSM 8960 UART"
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001204 depends on ARCH_MSM8960 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001205 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001206 help
1207 Say Y here if you want the debug print routines to direct
1208 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001209
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001210 config DEBUG_MSM8930_UART
1211 bool "Kernel low-level debugging messages via MSM 8930 UART"
1212 depends on ARCH_MSM8930 && DEBUG_LL
1213 select MSM_HAS_DEBUG_UART_HS
1214 help
1215 Say Y here if you want the debug print routines to direct
1216 their output to the serial port on MSM 8930 devices.
1217
1218 config DEBUG_APQ8064_UART
1219 bool "Kernel low-level debugging messages via APQ 8064 UART"
1220 depends on ARCH_APQ8064 && DEBUG_LL
1221 select MSM_HAS_DEBUG_UART_HS
1222 help
1223 Say Y here if you want the debug print routines to direct
1224 their output to the serial port on APQ 8064 devices.
1225
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001226 config DEBUG_MSM8974_UART
1227 bool "Kernel low-level debugging messages via MSM 8974 UART"
1228 depends on ARCH_MSM8974
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001229 select MSM_HAS_DEBUG_UART_HS_V14
1230 help
1231 Say Y here if you want the debug print routines to direct
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001232 their output to the serial port on MSM 8974 devices.
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +05301233
1234 config DEBUG_MPQ8092_UART
1235 bool "Kernel low-level debugging messages via MPQ8092 UART"
1236 depends on ARCH_MPQ8092
1237 select MSM_HAS_DEBUG_UART_HS_V14
1238 help
1239 Say Y here if you want the debug print routines to direct
1240 their output to the serial port on MPQ8092 devices.
Stepan Moskovchenko80064f32013-03-05 16:58:39 -08001241
1242 config DEBUG_MSMZINC_UART
1243 bool "Kernel low-level debugging messages via MSMZINC UART"
1244 depends on ARCH_MSMZINC
1245 select MSM_HAS_DEBUG_UART_HS_V14
1246 help
1247 Say Y here if you want the debug print routines to direct
1248 their output to the serial port on MSMZINC devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001249endchoice
Brian Swetland9e73c842007-11-26 04:12:13 -08001250
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001251choice
1252 prompt "Default Timer"
1253 default MSM7X00A_USE_GP_TIMER
1254
1255 config MSM7X00A_USE_GP_TIMER
1256 bool "GP Timer"
1257 help
1258 Low resolution timer that allows power collapse from idle.
1259
1260 config MSM7X00A_USE_DG_TIMER
1261 bool "DG Timer"
1262 help
1263 High resolution timer.
1264endchoice
1265
1266choice
1267 prompt "Suspend sleep mode"
1268 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1269 help
1270 Allows overriding the sleep mode used. Leave at power
1271 collapse suspend unless the arm9 image has problems.
1272
1273 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1274 bool "Power collapse suspend"
1275 help
1276 Lowest sleep state. Returns through reset vector.
1277
1278 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1279 bool "Power collapse"
1280 help
1281 Sleep state that returns through reset vector.
1282
1283 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1284 bool "Apps Sleep"
1285
1286 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1287 bool "Ramp down cpu clock and wait for interrupt"
1288
1289 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1290 bool "Wait for interrupt"
1291endchoice
1292
1293config MSM7X00A_SLEEP_MODE
1294 int
1295 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1296 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1297 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1298 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1299 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1300
1301choice
1302 prompt "Idle sleep mode"
1303 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1304 help
1305 Allows overriding the sleep mode used from idle. Leave at power
1306 collapse suspend unless the arm9 image has problems.
1307
1308 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1309 bool "Power collapse suspend"
1310 help
1311 Lowest sleep state. Returns through reset vector.
1312
1313 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1314 bool "Power collapse"
1315 help
1316 Sleep state that returns through reset vector.
1317
1318 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1319 bool "Apps Sleep"
1320
1321 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1322 bool "Ramp down cpu clock and wait for interrupt"
1323
1324 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1325 bool "Wait for interrupt"
1326endchoice
1327
1328config MSM7X00A_IDLE_SLEEP_MODE
1329 int
1330 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1331 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1332 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1333 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1334 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1335
1336config MSM7X00A_IDLE_SLEEP_MIN_TIME
1337 int "Minimum idle time before sleep"
1338 default 20000000
1339 help
1340 Minimum idle time in nanoseconds before entering low power mode.
1341
1342config MSM7X00A_IDLE_SPIN_TIME
1343 int "Idle spin time before cpu ramp down"
1344 default 80000
1345 help
1346 Spin time in nanoseconds before ramping down cpu clock and entering
1347 any low power state.
1348
1349menuconfig MSM_IDLE_STATS
1350 bool "Collect idle statistics"
1351 default y
1352 help
1353 Collect idle statistics and export them in proc/msm_pm_stats.
1354
1355if MSM_IDLE_STATS
1356
1357config MSM_IDLE_STATS_FIRST_BUCKET
1358 int "First bucket time"
1359 default 62500
1360 help
1361 Upper time limit in nanoseconds of first bucket.
1362
1363config MSM_IDLE_STATS_BUCKET_SHIFT
1364 int "Bucket shift"
1365 default 2
1366
1367config MSM_IDLE_STATS_BUCKET_COUNT
1368 int "Bucket count"
1369 default 10
1370
1371config MSM_SUSPEND_STATS_FIRST_BUCKET
1372 int "First bucket time for suspend"
1373 default 1000000000
1374 help
1375 Upper time limit in nanoseconds of first bucket of the
1376 histogram. This is for collecting statistics on suspend.
1377
1378endif # MSM_IDLE_STATS
1379
1380config CPU_HAS_L2_PMU
1381 bool "L2CC PMU Support"
1382 help
1383 Select this if the L2 cache controller has a Performance Monitoring Unit.
1384
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001385config HTC_HEADSET
1386 tristate "HTC 2 Wire detection driver"
1387 default n
1388 help
1389 Provides support for detecting HTC 2 wire devices, such as wired
1390 headset, on the trout platform. Can be used with the msm serial
1391 debugger, but not with serial console.
1392
1393config TROUT_BATTCHG
1394 depends on MACH_TROUT && POWER_SUPPLY
1395 default y
1396 bool "Trout battery / charger driver"
1397
1398config HTC_PWRSINK
1399 depends on MSM_SMD
1400 default n
1401 bool "HTC Power Sink Driver"
1402
1403config QSD_SVS
1404 bool "QSD Static Voltage Scaling"
1405 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1406 default y
1407 select TPS65023
1408 help
1409 Enables static voltage scaling using the TPS65023 PMIC.
1410
1411config QSD_PMIC_DEFAULT_DCDC1
1412 int "PMIC default output voltage"
1413 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1414 default 1250
1415 help
1416 This is the PMIC voltage at Linux kernel boot.
1417
1418config MSM_FIQ_SUPPORT
1419 default y
1420 bool "Enable installation of an FIQ handler."
1421
1422config MSM_SERIAL_DEBUGGER
1423 select MSM_FIQ_SUPPORT
1424 select KERNEL_DEBUGGER_CORE
1425 default n
1426 bool "FIQ Mode Serial Debugger"
1427 help
1428 The FIQ serial debugger can accept commands even when the
1429 kernel is unresponsive due to being stuck with interrupts
1430 disabled. Depends on the kernel debugger core in drivers/misc.
1431
1432config MSM_SERIAL_DEBUGGER_CONSOLE
1433 depends on MSM_SERIAL_DEBUGGER
1434 default n
1435 bool "Console on FIQ Serial Debugger port"
1436 help
1437 Enables a console so that printk messages are displayed on
1438 the debugger serial port as the occur.
Brian Swetland9e73c842007-11-26 04:12:13 -08001439
Gregory Beanab78cde2010-09-01 16:26:12 -07001440config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001441 default y
1442 bool "Proc-Comm RPC Interface"
1443 help
1444 Enables a lightweight communications interface to the
1445 baseband processor.
Gregory Beanab78cde2010-09-01 16:26:12 -07001446
Gregory Bean1963a2a2010-08-28 10:05:44 -07001447config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001448 bool "MSM Shared Memory Driver (SMD)"
1449 help
1450 Support for the shared memory interface between the apps
1451 processor and the baseband processor. Provides access to
1452 the "shared heap", as well as virtual serial channels
1453 used to communicate with various services on the baseband
1454 processor.
1455
1456choice
1457 prompt "MSM Shared memory interface version"
1458 depends on MSM_SMD
1459 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1460 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1461
1462 config MSM_SMD_PKG3
1463 bool
1464 prompt "Package 3"
1465
1466 config MSM_SMD_PKG4
1467 bool
1468 prompt "Package 4"
1469endchoice
1470
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001471config MSM_PCIE
1472 bool "MSM PCIe Controller driver"
1473 depends on PCI && PCI_MSI
1474 help
1475 Enables the PCIe functionality by configures PCIe core on
1476 MSM chipset and by enabling the ARM PCI framework extension.
1477
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001478config MSM_RPC_SDIO_XPRT
1479 depends on MSM_SDIO_AL
1480 default y
1481 bool "MSM SDIO XPRT Layer"
1482 help
1483 SDIO Transport Layer for RPC Rouer
1484
1485config MSM_RPC_SDIO_DEBUG
1486 depends on MSM_RPC_SDIO_XPRT
1487 default y
1488 bool "MSM SDIO XPRT debug support"
1489 help
1490 Support for debugging SDIO XPRT
1491
1492config MSM_SMD_DEBUG
1493 depends on MSM_SMD
1494 default y
1495 bool "MSM SMD debug support"
1496 help
1497 Support for debugging the SMD for communication
1498 between the ARM9 and ARM11
1499
1500config MSM_SDIO_AL
1501 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1502 default y
1503 tristate "SDIO-Abstraction-Layer"
1504 help
1505 Support MSM<->MDM Communication over SDIO bus.
1506 MDM SDIO-Client should have pipes support.
1507
1508config MSM_SDIO_DMUX
1509 bool "SDIO Data Mux Driver"
1510 depends on MSM_SDIO_AL
1511 default n
1512 help
1513 Support Muxed Data Channels over SDIO interface.
1514
1515config MSM_BAM_DMUX
1516 bool "BAM Data Mux Driver"
1517 depends on SPS
1518 default n
1519 help
1520 Support Muxed Data Channels over BAM interface.
1521 BAM has a limited number of pipes. This driver
1522 provides a means to support more logical channels
1523 via muxing than BAM could without muxing.
1524
1525config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001526 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001527 default y
1528 bool "MSM N-WAY SMD support"
1529 help
1530 Supports APPS-QDSP SMD communication along with
1531 normal APPS-MODEM SMD communication.
1532
1533config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001534 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001535 default y
1536 bool "MSM N-WAY SMSM support"
1537 help
1538 Supports APPS-QDSP SMSM communication along with
1539 normal APPS-MODEM SMSM communication.
1540
Eric Holmberg6275b602012-11-19 13:05:04 -07001541config MSM_SMP2P
1542 bool "SMSM Point-to-Point (SMP2P)"
1543 depends on MSM_SMD
1544 help
1545 Provide point-to-point remote signaling support.
1546 SMP2P enables transferring 32-bit values between
1547 the local and a remote system using shared
1548 memory and interrupts. A client can open multiple
1549 32-bit values by specifying a unique string and
1550 remote processor ID.
1551
1552config MSM_SMP2P_TEST
1553 bool "SMSM Point-to-Point Test"
1554 depends on MSM_SMP2P
1555 help
1556 Enables loopback and unit testing support for
1557 SMP2P. Loopback support is used by other
1558 processors to do unit testing. Unit tests
1559 are used to verify the local and remote
1560 implementations.
1561
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001562config MSM_RESET_MODEM
1563 tristate "Reset Modem Driver"
1564 depends on MSM_SMD
1565 default m
1566 help
1567 Allows the user to reset the modem through a device node.
1568
1569config MSM_SMD_LOGGING
1570 depends on MSM_SMD
1571 default y
1572 bool "MSM Shared Memory Logger"
1573 help
1574 This option exposes the shared memory logger at /dev/smem_log
1575 and a debugfs node named smem_log.
1576
1577 If in doubt, say yes.
1578
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001579config MSM_IPC_LOGGING
1580 bool "MSM Debug Logging for IPC Drivers"
1581 help
1582 This option allows the debug logging for IPC Drivers.
1583
1584 If in doubt, say no.
1585
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001586config MSM_SMD_NMEA
1587 bool "NMEA GPS Driver"
1588 depends on MSM_SMD
1589 default y
1590 help
1591 Enable this to support the NMEA GPS device.
1592
1593 If in doubt, say yes.
1594
1595config MSM_SDIO_TTY
1596 bool "SDIO TTY Driver"
1597 depends on MSM_SDIO_AL
1598 default n
1599 help
1600 Provides a TTY driver SDIO TTY
1601 This driver can be used by user space
1602 applications for passing data through the
1603 SDIO interface.
1604
1605config MSM_SMD_TTY
1606 bool "SMD TTY Driver"
1607 depends on MSM_SMD
1608 default y
1609 help
1610 Provides TTY interfaces to interact with the modem.
1611
1612 If in doubt, say yes.
1613
1614config MSM_SMD_QMI
1615 bool "SMD QMI Driver"
1616 depends on MSM_SMD
1617 default y
1618 help
1619 Manages network data connections.
1620
1621 If in doubt, say yes.
1622
1623config MSM_SMD_PKT
1624 bool "SMD Packet Driver"
1625 depends on MSM_SMD
1626 default y
1627 help
1628 Provides a binary SMD non-muxed packet port interface.
1629
1630 If in doubt, say yes.
1631
1632config MSM_SDIO_CMUX
1633 bool "SDIO CMUX Driver"
1634 depends on MSM_SDIO_AL
1635 default n
1636 help
1637 Provides a Muxed port interface over SDIO QMI
1638
1639config MSM_DSPS
1640 bool "Sensors DSPS driver"
1641 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1642 default n
1643 help
1644 Provides user-space interface to the sensors manager
1645 to turn on/off the Sensors Processor system clocks.
1646 It is the DSPS responsibility to turn on/off the sensors
1647 themself.
1648 The number of clocks and their name may vary between targets.
1649 It also triggers the PIL to load the DSPS firmware.
1650
1651config MSM_SDIO_CTL
1652 bool "SDIO CTL Driver"
1653 depends on MSM_SDIO_CMUX
1654 default n
1655 help
1656 Provides a binary SDIO control port interface.
1657
1658config MSM_ONCRPCROUTER
1659 depends on MSM_SMD
1660 default n
1661 bool "MSM ONCRPC router support"
1662 help
1663 Support for the MSM ONCRPC router for communication between
1664 the ARM9 and ARM11
1665
1666config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001667 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001668 default n
1669 bool "MSM IPC Router support"
1670 help
1671 Support for the MSM IPC Router for communication between
1672 the APPs and the MODEM
1673
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001674config MSM_IPC_ROUTER_SMD_XPRT
1675 depends on MSM_SMD
1676 depends on MSM_IPC_ROUTER
1677 default n
1678 bool "MSM SMD XPRT Layer"
1679 help
1680 SMD Transport Layer for IPC Router
1681
Karthikeyan Ramasubramanian5b502d3642012-09-23 22:23:36 -06001682config MSM_IPC_ROUTER_SECURITY
1683 depends on MSM_IPC_ROUTER
1684 bool "MSM IPC Router Security support"
1685 help
1686 This feature of IPC Router will enforce security rules
1687 configured by a security script from the user-space. IPC Router
1688 once configured with the security rules will ensure that the
1689 sender of the message to a service belongs to the relevant
1690 Linux group as configured by the security script.
1691
Karthikeyan Ramasubramanianfec77ff2012-10-26 20:03:26 -06001692config MSM_QMI_INTERFACE
1693 depends on MSM_IPC_ROUTER
1694 depends on QMI_ENCDEC
1695 default n
1696 bool "MSM QMI Interface Library"
1697 help
1698 Library to send and receive QMI messages over IPC Router.
1699 This library provides interface functions to the kernel drivers
1700 to perform QMI message marshaling and transport them over IPC
1701 Router.
1702
Karthikeyan Ramasubramaniana9859e82012-07-12 13:10:42 -06001703config MSM_TEST_QMI_CLIENT
1704 depends on MSM_QMI_INTERFACE
1705 bool "MSM TEST QMI CLIENT"
1706 help
1707 The sample QMI client provides a test code for QMI usage. The
1708 test_service client driver uses QMI interface library to send
1709 and receive QMI messages over IPC Router. The test code sends
1710 a synchronous QMI request to the test_service and handles the
1711 QMI responses.
1712
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001713config MSM_ONCRPCROUTER_DEBUG
1714 depends on MSM_ONCRPCROUTER
1715 default y
1716 bool "MSM debug ONCRPC router support"
1717 help
1718 Support for debugging the ONCRPC router for communication
1719 between the ARM9 and ARM11
1720
1721config MSM_RPC_LOOPBACK_XPRT
1722 depends on MSM_ONCRPCROUTER
1723 default n
1724 bool "MSM RPC local routing support"
1725 help
1726 Support for routing RPC messages between APPS clients
1727 and APPS servers. Helps in testing APPS RPC framework.
1728
1729config MSM_RPCSERVER_TIME_REMOTE
1730 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1731 default y
1732 bool "Time remote RPC server"
1733 help
1734 The time remote server receives notification of time bases and
1735 reports these events to registered callback functions.
1736
1737config MSM_RPCSERVER_WATCHDOG
1738 depends on MSM_ONCRPCROUTER
1739 default y
1740 bool "Watchdog RPC server"
1741 help
1742 The dog_keepalive server handles watchdog events.
1743
1744config MSM_RPC_WATCHDOG
1745 depends on MSM_ONCRPCROUTER
1746 default n
1747 bool "Watchdog RPC client"
1748 help
1749 The dog_keepalive client module.
1750
1751config MSM_RPC_PING
1752 depends on MSM_ONCRPCROUTER && DEBUG_FS
1753 default m
1754 bool "MSM rpc ping"
1755 help
1756 Implements MSM rpc ping test module.
1757
1758config MSM_RPC_PROC_COMM_TEST
1759 depends on DEBUG_FS && MSM_PROC_COMM
1760 default m
1761 bool "MSM rpc proc comm test"
1762 help
1763 Implements MSM rpc proc comm test module.
1764
1765config MSM_RPC_OEM_RAPI
1766 depends on MSM_ONCRPCROUTER
1767 default m
1768 bool "MSM oem rapi"
1769 help
1770 Implements MSM oem rapi client module.
1771
1772config MSM_RPCSERVER_HANDSET
1773 depends on MSM_ONCRPCROUTER
1774 default y
1775 bool "Handset events RPC server"
1776 help
1777 Support for receiving handset events like headset detect,
1778 headset switch and clamshell state.
1779
1780config MSM_RMT_STORAGE_CLIENT
1781 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1782 default n
1783 bool "Remote Storage RPC client"
1784 help
1785 Provide RPC mechanism for remote processors to access storage
1786 device on apps processor.
1787
1788config MSM_RMT_STORAGE_CLIENT_STATS
1789 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1790 default n
1791 bool "Remote storage RPC client performance statistics"
1792 help
1793 Collects performance statistics and shows this information
1794 through a debugfs file rmt_storage_stats.
1795
1796config MSM_SDIO_SMEM
1797 depends on MSM_SDIO_AL
1798 default n
1799 bool "SDIO SMEM for remote storage"
1800 help
1801 Copies data from remote MDM9K memory to local MSM8x60
1802 memory. Used by remote storage client to shadow
1803 MDM9K filesystem.
1804
1805config MSM_DALRPC
1806 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001807 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001808 help
1809 Supports RPC calls to DAL devices on remote processor cores.
1810
1811config MSM_DALRPC_TEST
1812 tristate "DAL RPC test module"
1813 depends on (MSM_DALRPC && DEBUG_FS)
1814 default m
1815 help
1816 Exercises DAL RPC calls to QDSP6.
1817
1818if CPU_FREQ_MSM
1819
1820config MSM_CPU_FREQ_SET_MIN_MAX
1821 bool "Set Min/Max CPU frequencies."
1822 default n
1823 help
1824 Allow setting min and max CPU frequencies. Sysfs can be used
1825 to override these values.
1826
1827config MSM_CPU_FREQ_MAX
1828 int "Max CPU Frequency"
1829 depends on MSM_CPU_FREQ_SET_MIN_MAX
1830 default 384000
1831
1832config MSM_CPU_FREQ_MIN
1833 int "Min CPU Frequency"
1834 depends on MSM_CPU_FREQ_SET_MIN_MAX
1835 default 245760
1836
1837endif # CPU_FREQ_MSM
1838
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001839config MSM_AVS_HW
1840 bool "Enable Adaptive Voltage Scaling (AVS)"
1841 default n
1842 help
1843 Enable AVS hardware to fine tune voltage at each frequency. The
1844 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1845 fine tune the voltages based on the feedback from the ring
1846 oscillators.
1847
1848config MSM_HW3D
1849 tristate "MSM Hardware 3D Register Driver"
1850 depends on ANDROID_PMEM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001851 help
1852 Provides access to registers needed by the userspace OpenGL|ES
1853 library.
1854
1855config MSM_ADSP
1856 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1857 tristate "MSM ADSP driver"
1858 depends on ANDROID_PMEM
1859 default y
1860 help
1861 Provides access to registers needed by the userspace aDSP library.
1862
1863config ADSP_RPC_VER
1864 hex
1865 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1866 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1867 depends on MSM_ADSP
1868 help
1869 Select proper ADSP RPC version
1870choice
1871 prompt "ADSP RPC version"
1872
1873 default AMSS_7X25_VERSION_2009
1874
1875 config AMSS_7X25_VERSION_2009
1876 bool "2.0.09"
1877
1878 config AMSS_7X25_VERSION_2008
1879 bool "2.0.08"
1880endchoice
1881
1882config MSM7KV2_AUDIO
1883 bool "MSM7K v2 audio"
1884 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1885 default y
1886 help
1887 Enables QDSP5V2-based audio drivers for audio playbacks and
1888 voice call.
1889
1890config MSM_ADSP_REPORT_EVENTS
1891 bool "Report modem events from the DSP"
1892 default y
1893 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1894 help
1895 Normally, only messages from the aDSP are reported to userspace.
1896 With this option, we report events from the aDSP as well.
1897
1898config MSM_QDSP6
1899 tristate "QDSP6 support"
1900 depends on ARCH_QSD8X50 && ANDROID_PMEM
1901 default y
1902 help
1903 Enable support for qdsp6. This provides audio and video functionality.
1904
1905config MSM8X60_AUDIO
1906 tristate "MSM8X60 audio support"
1907 depends on ARCH_MSM8X60 && ANDROID_PMEM
1908 default y
1909 help
1910 Enable support for qdsp6v2. This provides audio functionality.
1911
1912config MSM8X60_FTM_AUDIO_DEVICES
1913 bool "MSM8X60 audio factory test mode support"
1914 depends on MSM8X60_AUDIO
1915 help
1916 Enable support audio factory test mode devices. This is used
1917 in a production line environment.
1918
Ben Romberger45b351c2011-07-20 22:37:27 -07001919config RTAC
1920 bool "MSM8K real-time audio calibration support"
1921 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001922 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001923 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001924 audio operation
1925
1926config MSM7X27A_AUDIO
1927 bool "MSM7X27A audio support"
1928 depends on ARCH_MSM7X27A && MSM_ADSP
1929 default n
1930 help
1931 Enable support for 7x27a. This provides audio functionality.
1932
Justin Pauporea6cd2092011-06-22 16:19:45 -07001933config MSM_PROC_COMM_REGULATOR
Gregory Bean1963a2a2010-08-28 10:05:44 -07001934 bool
Justin Pauporea6cd2092011-06-22 16:19:45 -07001935 depends on MSM_PROC_COMM && REGULATOR
1936 help
1937 Enable regulator framework support for regulators managed by PMLIB
1938 on the modem, and controlled through proccomm calls.
1939
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001940config MSM_VREG_SWITCH_INVERTED
1941 bool "Reverse vreg switch polarity"
1942 default n
1943 help
1944 Reverses the enable and disable for vreg switch.
1945
1946config MSM_DMA_TEST
1947 tristate "MSM DMA test module"
1948 default m
1949 help
1950 Intended to be compiled as a module. Provides a device node
1951 and ioctls for testing the MSM dma system.
1952
1953config WIFI_CONTROL_FUNC
1954 bool "Enable WiFi control function abstraction"
1955 help
1956 Enables Power/Reset/Carddetect function abstraction
1957
1958config WIFI_MEM_PREALLOC
1959 depends on WIFI_CONTROL_FUNC
1960 bool "Preallocate memory for WiFi buffers"
1961 help
1962 Preallocates memory buffers for WiFi driver
1963
1964config QSD_AUDIO
1965 bool "QSD audio"
1966 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1967 default y
1968 help
1969 Provides PCM, MP3, and AAC audio playback.
1970
1971config AUDIO_AAC_PLUS
1972 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1973 bool "AAC+ Audio"
1974 default y
1975 help
1976 Provides AAC+ decoding
1977
1978config AUDIO_ENHANCED_AAC_PLUS
1979 depends on AUDIO_AAC_PLUS
1980 bool "Enhanced AAC+ Audio"
1981 default y
1982 help
1983 Provides Enhanced AAC+ decoding
1984
1985config SURF_FFA_GPIO_KEYPAD
1986 bool "MSM SURF/FFA GPIO keypad"
1987 depends on INPUT_GPIO = "y"
1988 default y
1989 help
1990 Select if the GPIO keypad is attached.
1991
1992config MSM_SLEEP_TIME_OVERRIDE
1993 bool "Allow overriding suspend/sleep time with PM module parameter"
1994 default y
1995 help
1996 Enable the module parameter sleep_time_override. Specified
1997 in units of seconds, it overwrites the normal sleep time of
1998 suspend. The feature is required for automated power management
1999 testing.
2000
2001config MSM_MEMORY_LOW_POWER_MODE
2002 bool "Control the low power modes of memory"
2003 default n
2004 help
2005 The application processor controls whether memory should enter
2006 which low power mode.
2007
2008choice
2009 prompt "Default Memory Low Power Mode during Idle"
2010 depends on MSM_MEMORY_LOW_POWER_MODE
2011 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
2012 help
2013 Selects the default low power mode of the memory during idle
2014 sleep.
2015
2016 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
2017 bool "Memory active"
2018
2019 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
2020 bool "Memory in retention"
2021
2022 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
2023 bool "Memory in deep power down"
2024endchoice
2025
2026choice
2027 prompt "Default Memory Low Power Mode during Suspend"
2028 depends on MSM_MEMORY_LOW_POWER_MODE
2029 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
2030 help
2031 Selects the default low power mode of the memory during suspend
2032 sleep.
2033
2034 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
2035 bool "Memory active"
2036
2037 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
2038 bool "Memory in retention"
2039
2040 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
2041 bool "Memory in deep power down"
2042endchoice
2043
2044choice
2045 prompt "Power management timeout action"
2046 default MSM_PM_TIMEOUT_HALT
2047 help
2048 Selects the Application Processor's action when Power Management
2049 times out waiting for Modem's handshake.
2050
2051 config MSM_PM_TIMEOUT_HALT
2052 bool "Halt the Application Processor"
2053
2054 config MSM_PM_TIMEOUT_RESET_MODEM
2055 bool "Reset the Modem Processor"
2056
2057 config MSM_PM_TIMEOUT_RESET_CHIP
2058 bool "Reset the entire chip"
2059endchoice
2060
2061config MSM_IDLE_WAIT_ON_MODEM
2062 int "Wait for Modem to become ready for idle power collapse"
2063 default 0
2064 help
2065 If Modem is not ready to handle Application Processor's request
2066 for idle power collapse, wait the number of microseconds in case
2067 Modem becomes ready soon.
2068
Matt Wagantall9274df92011-12-15 11:11:05 -08002069config MSM_RPM_REGULATOR
2070 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08002071 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08002072 help
2073 Compile in support for the RPM regulator driver, used for setting
2074 voltages and other parameters of the various power rails supplied
2075 by some Qualcomm PMICs.
2076
David Collinsc7642322012-04-04 10:19:12 -07002077config MSM_RPM_REGULATOR_SMD
2078 bool "SMD RPM regulator driver"
2079 depends on REGULATOR
2080 depends on OF
2081 depends on MSM_RPM_SMD
2082 help
2083 Compile in support for the SMD RPM regulator driver which is used for
2084 setting voltages and other parameters of the various power rails
2085 supplied by some Qualcomm PMICs. The SMD RPM regulator driver should
2086 be used on systems which contain an RPM which communicates with the
2087 application processor over SMD.
2088
David Collins037d6482013-03-14 16:53:33 -07002089config MSM_SPM_REGULATOR
2090 bool "SPM regulator driver"
2091 depends on REGULATOR && SPMI && OF_SPMI
2092 help
2093 Enable support for the SPM regulator driver which is used for
2094 setting voltages of processor supply regulators via the SPM module
2095 found inside of the MSM chips. The SPM regulator driver can be used
2096 on MSM systems where the APSS processor cores are supplied by their
2097 own PMIC regulator.
2098
Rohit Vaswani5fd759e2012-11-07 07:05:08 -08002099config MSM_SMCMOD
2100 tristate "Secure Monitor Call (SMC) Module"
2101 default n
2102 depends on (ARCH_FSM9XXX && ION && ION_MSM && MSM_SCM)
2103 help
2104 Enable support for smcmod driver. This driver provides a mechanism
2105 to execute the Secure Monitor Call (SMC) to switch from non-secure
2106 to secure execution in the fsm9xxx targets. This module utilizes Ion
2107 for buffer management.
2108
Stephen Boyd01710582012-07-09 13:40:05 -07002109config MSM_SUBSYSTEM_RESTART
2110 bool "MSM Subsystem Restart"
2111 help
2112 This option enables the MSM subsystem restart framework.
2113
2114 The MSM subsystem restart framework provides support to boot,
2115 shutdown, and restart subsystems with a reference counted API.
2116 It also notifies userspace of transitions between these states via
2117 sysfs.
2118
2119config MSM_SYSMON_COMM
2120 bool "MSM System Monitor communication support"
2121 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
2122 help
2123 This option adds support for MSM System Monitor library, which
2124 provides an API that may be used for notifying subsystems within
2125 the SoC about other subsystems' power-up/down state-changes.
2126
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002127config MSM_PIL
2128 bool "Peripheral image loading"
2129 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002130 default n
2131 help
2132 Some peripherals need to be loaded into memory before they can be
2133 brought out of reset.
2134
2135 Say yes to support these devices.
2136
Stephen Boyd4eb885b2011-09-29 01:16:03 -07002137config MSM_PIL_MODEM
2138 tristate "Modem (ARM11) Boot Support"
Stephen Boyd3ac20732012-05-03 18:46:08 -07002139 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd4eb885b2011-09-29 01:16:03 -07002140 help
2141 Support for booting and shutting down ARM11 Modem processors.
2142
Stephen Boyd3acc9e42011-09-28 16:46:40 -07002143config MSM_PIL_QDSP6V3
2144 tristate "QDSP6v3 (Hexagon) Boot Support"
Stephen Boyd2e19d932012-05-09 17:36:04 -07002145 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd3acc9e42011-09-28 16:46:40 -07002146 help
2147 Support for booting and shutting down QDSP6v3 processors (hexagon).
2148 The QDSP6 is a low power DSP used in audio software applications.
2149
Stephen Boydbdb53f32012-06-05 18:39:47 -07002150config MSM_PIL_LPASS_QDSP6V4
2151 tristate "LPASS QDSP6v4 (Hexagon) Boot Support"
Stephen Boyda1cf76b2012-06-13 12:05:35 -07002152 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydeb819882011-08-29 14:46:30 -07002153 help
Stephen Boydbdb53f32012-06-05 18:39:47 -07002154 Support for booting and shutting down QDSP6v4 processors (hexagon)
2155 in low power audio subsystems. If you would like to record or
2156 play audio then say Y here.
2157
2158 If unsure, say N.
2159
2160config MSM_PIL_MODEM_QDSP6V4
2161 tristate "Modem QDSP6v4 (Hexagon) Boot Support"
Stephen Boyd2efa9962012-06-12 14:20:12 -07002162 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydbdb53f32012-06-05 18:39:47 -07002163 help
2164 Support for booting and shutting down QDSP6v4 processors (hexagon)
2165 in modem subsystems. If you would like to make or receive phone
2166 calls then say Y here.
2167
2168 If unsure, say N.
Stephen Boydeb819882011-08-29 14:46:30 -07002169
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07002170config MSM_PIL_LPASS_QDSP6V5
Stephen Boyd633eb622012-06-13 12:05:35 -07002171 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
2172 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
2173 help
2174 Support for booting and shutting down QDSP6v5 (Hexagon) processors
2175 in low power audio subsystems. This driver also monitors the ADSP
2176 SMSM status bits and the ADSP's watchdog interrupt and restarts the
2177 ADSP if the processor encounters a fatal error.
Matt Wagantall4e2599e2012-03-21 22:31:35 -07002178
2179config MSM_PIL_MSS_QDSP6V5
Stephen Boyd3da4fd02012-07-06 10:00:12 -07002180 tristate "MSS QDSP6v5 (Hexagon) Boot Support"
2181 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantalle6e00d52012-03-08 17:39:07 -08002182 help
Stephen Boyd3da4fd02012-07-06 10:00:12 -07002183 Support for booting and shutting down QDSP6v5 (Hexagon) processors
2184 in modem subsystems. If you would like to make or receive phone
2185 calls then say Y here.
2186
2187 If unsure, say N.
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07002188
Stephen Boyd322a9922011-09-20 01:05:54 -07002189config MSM_PIL_RIVA
2190 tristate "RIVA (WCNSS) Boot Support"
Stephen Boydfdec00d2012-05-10 17:04:49 -07002191 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd322a9922011-09-20 01:05:54 -07002192 help
2193 Support for booting and shutting down the RIVA processor (WCNSS).
2194 Riva is the wireless subsystem processor used in bluetooth, wireless
2195 LAN, and FM software applications.
2196
Stephen Boydd89eebe2011-09-28 23:28:11 -07002197config MSM_PIL_TZAPPS
2198 tristate "TZApps Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002199 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boydd89eebe2011-09-28 23:28:11 -07002200 help
2201 Support for booting and shutting down TZApps.
2202
2203 TZApps is an image that runs in the secure processor state. It is
2204 used to decrypt data and perform secure operations on the behalf of
2205 the kernel.
2206
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07002207config MSM_PIL_DSPS
2208 tristate "DSPS Boot Support"
Stephen Boydf169b4b2012-05-10 17:55:55 -07002209 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07002210 help
2211 Support for booting and shutting down ARM7 DSPS processors.
2212
2213 DSPS is a sensors offloading processor used for applications such
2214 as rotation detection, temperature, etc.
2215
Stephen Boyd7b973de2012-03-09 12:26:16 -08002216config MSM_PIL_VIDC
2217 tristate "Video Core Secure Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002218 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd7b973de2012-03-09 12:26:16 -08002219 help
2220 Support for authenticating the video core image.
2221
Tianyi Gou828798d2012-05-02 21:12:38 -07002222config MSM_PIL_VENUS
2223 tristate "VENUS (Video) Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002224 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Tianyi Gou828798d2012-05-02 21:12:38 -07002225 help
2226 Support for booting and shutting down the VENUS processor (Video).
2227 Venus is the Video subsystem processor used for video codecs.
2228
Matt Wagantall292aace2012-01-26 19:12:34 -08002229config MSM_PIL_GSS
Stephen Boydd86214b2012-05-10 15:26:35 -07002230 tristate "GSS (Cortex A5) Boot Support"
2231 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantall292aace2012-01-26 19:12:34 -08002232 help
2233 Support for booting and shutting down Cortex A5 processors which run
2234 GPS subsystem firmware.
2235
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002236config MSM_PIL_PRONTO
2237 tristate "PRONTO (WCNSS) Boot Support"
Stephen Boyd581fe852012-06-13 12:05:35 -07002238 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002239 help
2240 Support for booting and shutting down the PRONTO processor (WCNSS).
2241 PRONTO is the wireless subsystem processor used in bluetooth, wireless
2242 LAN, and FM software applications.
2243
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002244config MSM_SCM
2245 bool "Secure Channel Manager (SCM) support"
2246 default n
2247
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002248config SCORPION_Uni_45nm_BUG
2249 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
2250 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
2251 default y
2252 help
2253 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
2254 invalidating the Branch Predictor Array by Modified Virtual Address can
2255 create invalid entries in the TLB with the wrong ASID values on Scorpion
2256 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
2257 workaround for Scorpion Uniprocessor 45nm cores.
2258
2259 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
2260
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002261config MSM_BUSPM_DEV
2262 tristate "MSM Bus Performance Monitor Kernel Module"
Gagan Mac0d5d49e2012-08-28 19:41:37 -06002263 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002264 default m
2265 help
2266 This kernel module is used to mmap() hardware registers for the
2267 performance monitors, counters, etc. The module can also be used to
2268 allocate physical memory which is used by bus performance hardware to
2269 dump performance data.
2270
Mona Hossain11c03ac2011-10-26 12:42:10 -07002271config MSM_TZ_LOG
2272 tristate "MSM Trust Zone (TZ) Log Driver"
2273 depends on DEBUG_FS
2274 help
2275 This option enables a driver with a debugfs interface for messages
2276 produced by the Secure code (Trust zone). These messages provide
2277 diagnostic information about TZ operation.
2278
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002279config MSM_RPM_LOG
2280 tristate "MSM Resource Power Manager Log Driver"
2281 depends on DEBUG_FS
Priyanka Mathur49c60802012-12-13 12:53:58 -08002282 depends on MSM_RPM || MSM_RPM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002283 default n
2284 help
2285 This option enables a driver which can read from a circular buffer
2286 of messages produced by the RPM. These messages provide diagnostic
2287 information about RPM operation. The driver outputs the messages
2288 via a debugfs node.
2289
2290config MSM_RPM_STATS_LOG
2291 tristate "MSM Resource Power Manager Stat Driver"
2292 depends on DEBUG_FS
Priyanka Mathur1af9d4b2012-10-30 14:55:44 -07002293 depends on MSM_RPM || MSM_RPM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002294 default n
2295 help
2296 This option enables a driver which reads RPM messages from a shared
2297 memory location. These messages provide statistical information about
2298 the low power modes that RPM enters. The drivers outputs the message
2299 via a debugfs node.
2300
Girish Mahadevan898c56d2012-06-05 16:09:19 -06002301config MSM_RPM_RBCPR_STATS_LOG
2302 tristate "MSM Resource Power Manager RPBCPR Stat Driver"
2303 depends on DEBUG_FS
2304 depends on MSM_RPM
2305 help
2306 This option enables a driver which reads RPM messages from a shared
2307 memory location. These messages provide statistical information about
2308 RBCPR (Rapid Bridge Core Power Reduction) information . The drivers
2309 outputs the message via a debugfs node.
2310
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002311config MSM_DIRECT_SCLK_ACCESS
2312 bool "Direct access to the SCLK timer"
2313 default n
2314
2315config IOMMU_API
2316 bool
Gregory Bean1963a2a2010-08-28 10:05:44 -07002317
Brian Swetland9e73c842007-11-26 04:12:13 -08002318config MSM_GPIOMUX
2319 bool
2320
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002321config MSM_SECURE_IO
Brian Swetland9e73c842007-11-26 04:12:13 -08002322 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002323
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002324config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002325 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002326
Taniya Dascd1d0232012-07-03 17:50:47 +05302327config MSM_MODEM_RESTART
2328 bool
2329
Matt Wagantall88b86312012-01-31 16:53:03 -08002330config MSM_PM2
2331 depends on PM
2332 bool
2333
2334config MSM_PM8X60
2335 depends on PM
2336 bool
2337
Girish Mahadevan388c3082012-09-10 15:30:36 -06002338config MSM_EVENT_TIMER
2339 bool "Event timer"
2340 help
2341 This option enables a modules that manages a list of event timers that
2342 need to be monitored by the PM. The enables the PM code to monitor
2343 events that require the core to be awake and ready to handle the
2344 event.
2345
Matt Wagantall88b86312012-01-31 16:53:03 -08002346config MSM_NOPM
2347 default y if !PM
2348 bool
2349
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002350config MSM_BUS_SCALING
2351 bool "Bus scaling driver"
2352 default n
2353
Gagan Mac85c70492011-06-10 16:07:47 -06002354config MSM_BUS_RPM_MULTI_TIER_ENABLED
2355 bool "RPM Multi-tiering Configuration"
2356 depends on MSM_BUS_SCALING
2357
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002358config MSM_WATCHDOG
2359 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002360 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002361 help
2362 This enables the watchdog as is present on 8x60. Currently we use
2363 core 0's watchdog, and reset the entire SoC if it times out. It does
2364 not run during the bootup process, so it will not catch any early
2365 lockups.
2366
Hanumant Singhd1f01022012-07-05 14:21:53 -07002367config MSM_WATCHDOG_V2
2368 bool "MSM Watchdog Support"
2369 help
2370 This enables the watchdog module. It causes kernel panic if the
2371 watchdog times out. It allows for detection of cpu hangs and
2372 deadlocks. It does not run during the bootup process, so it will
2373 not catch any early lockups.
2374
Hanumant Singh5e2541c2012-07-31 14:41:14 -07002375config MSM_MEMORY_DUMP
2376 bool "MSM Memory Dump Support"
2377 help
2378 This enables memory dump feature. It allows various client
2379 subsystems to register respective dump regions. At the time
2380 of deadlocks or cpu hangs these dump regions are captured to
2381 give a snapshot of the system at the time of the crash.
2382
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002383config MSM_DLOAD_MODE
2384 bool "Enable download mode on crashes"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002385 default n
2386 help
2387 This makes the SoC enter download mode when it resets
2388 due to a kernel panic. Note that this doesn't by itself
2389 make the kernel reboot on a kernel panic - that must be
2390 enabled via another mechanism.
2391
Pratik Patel17f3b822011-11-21 12:41:47 -08002392config MSM_JTAG
Pratik Patel61e91702013-01-27 20:30:42 -08002393 bool "Debug and ETM trace support across power collapse"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002394 help
Pratik Patel61e91702013-01-27 20:30:42 -08002395 Enables support for debugging (specifically breakpoints) and ETM
Pratik Patel2963de42012-05-17 12:43:40 -07002396 processor tracing across power collapse both for JTag and OS hosted
2397 software running on the target. Enabling this will ensure debug
2398 and ETM registers are saved and restored across power collapse.
2399
Pratik Patel61e91702013-01-27 20:30:42 -08002400 If unsure, say 'N' here to avoid potential power, performance and
2401 memory penalty.
Pratik Patel7831c082011-06-08 21:44:37 -07002402
Pushkar Joshi64cae782012-12-15 18:59:03 -08002403config MSM_JTAG_MM
Pratik Patel61e91702013-01-27 20:30:42 -08002404 bool "Debug and ETM trace support across power collapse using memory mapped access"
Pushkar Joshi64cae782012-12-15 18:59:03 -08002405 help
Pratik Patel61e91702013-01-27 20:30:42 -08002406 Enables support for debugging (specifically breakpoints) and ETM
2407 processor tracing across power collapse both for JTag and OS hosted
2408 software running on the target. Enabling this will ensure debug
2409 and ETM registers are saved and restored across power collapse.
Pushkar Joshi64cae782012-12-15 18:59:03 -08002410
Pratik Patel61e91702013-01-27 20:30:42 -08002411 Required on targets on which cp14 access to debug and ETM registers is
2412 not permitted and so memory mapped access is necessary.
2413
2414 If unsure, say 'N' here to avoid potential power, performance and
2415 memory penalty.
Pushkar Joshi64cae782012-12-15 18:59:03 -08002416
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002417config MSM_ETM
2418 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002419 depends on ARCH_MSM8X60
2420 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002421 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002422 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002423
Lynus Vazdde09ee2012-01-05 13:28:22 +05302424config MSM_SLEEP_STATS_DEVICE
2425 bool "Enable exporting of MSM sleep device stats to userspace"
2426
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302427config MSM_RUN_QUEUE_STATS
2428 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Subbaraman Narayanamurthy0b148fc2012-11-28 12:14:12 -08002429 default n
Krishna Vankae2922052012-03-02 09:59:12 +05302430 help
2431 This option enalbes statistics collection on Run Queue. A daemon
2432 in user mode, called MPDecision will be using this data to decide
2433 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302434
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002435config MSM_STANDALONE_POWER_COLLAPSE
2436 bool "Enable standalone power collapse"
2437 default n
2438
2439config MSM_GSBI9_UART
2440 bool "Enable GSBI9 UART device"
2441 default n
2442 help
2443 This enables GSBI9 configured into UART.
2444
2445config MSM_SHARED_GPIO_FOR_UART2DM
2446 bool "Use shared GPIOs into UART mode"
2447 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2448 help
2449 This option configures GPIO muxed with SDC4/MMC3
2450 8-bit mode into UART mode. It is used for serial
2451 console on UART2DM. Say Y if you want to have
2452 serial console on UART2DM.
2453
2454config MSM_SHOW_RESUME_IRQ
2455 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002456 depends on (ARM_GIC || PMIC8058)
2457 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002458 default n
2459 help
2460 This option logs wake up interrupts that have triggered just before
2461 the resume loop unrolls. Say Y if you want to debug why the system
2462 resumed.
2463
2464config BT_MSM_PINTEST
2465 tristate "MSM Bluetooth Pin Connectivity Test"
2466 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2467 default n
2468 help
2469 Bluetooth MSM Pin Connectivity test module.
2470 This driver provides support for verifying the MSM to BT pin
2471 connectivity.
2472
2473config MSM_FAKE_BATTERY
2474 depends on POWER_SUPPLY
2475 default n
2476 bool "MSM Fake Battery"
2477 help
2478 Enables MSM fake battery driver.
2479
2480config MSM_QDSP6_APR
2481 bool "Audio QDSP6 APR support"
2482 depends on MSM_SMD
2483 default n
2484 help
2485 Enable APR IPC protocol support between
2486 application processor and QDSP6. APR is
2487 used by audio driver to configure QDSP6's
2488 ASM, ADM and AFE.
2489
Joonwoo Park91d95462012-08-02 10:55:54 -07002490config MSM_QDSP6_APRV2
2491 bool "Audio QDSP6 APRv2 support"
2492 depends on MSM_SMD
2493 default n
2494 help
2495 Enable APRv2 IPC protocol support between
2496 application processor and QDSP6. APR is
2497 used by audio driver to configure QDSP6's
2498 ASM, ADM and AFE.
2499
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -07002500config MSM_QDSP6_CODECS
2501 bool "Audio Codecs on QDSP6 APR "
2502 depends on MSM_SMD
2503 default n
2504 help
2505 Enable Audio codecs with APR IPC protocol support between
2506 application processor and QDSP6. APR is
2507 used by audio driver to configure QDSP6's
2508 ASM, ADM and AFE.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002509
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002510config MSM_QDSP6V2_CODECS
2511 bool "Audio QDSP6V2 APR support"
2512 depends on MSM_SMD
2513 help
2514 Enable Audio codecs with APR IPC protocol support between
2515 application processor and QDSP6 for B-family. APR is
2516 used by audio driver to configure QDSP6's
2517 ASM, ADM and AFE.
2518
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002519config MSM_AUDIO_QDSP6
2520 bool "QDSP6 HW Audio support"
2521 select SND_SOC_MSM_QDSP6_INTF
2522 default n
2523 help
2524 Enable HW audio support in QDSP6.
2525 QDSP6 can support HW encoder & decoder and audio processing
2526
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002527config MSM_AUDIO_QDSP6V2
2528 bool "QDSP6V2 HW Audio support"
2529 select SND_SOC_MSM_QDSP6V2_INTF
2530 help
2531 Enable HW audio support in QDSP6V2.
2532 QDSP6V2 can support HW encoder & decoder and
2533 audio processing. It will enable support for
2534 AAC, AMRNB, AMRWB, EVRC, MP3, QCELP among
2535 others.
2536
Joonwoo Park4a14a552012-08-02 11:03:21 -07002537config MSM_ADSP_LOADER
2538 tristate "ADSP loader support"
2539 select SND_SOC_MSM_APRV2_INTF
2540 depends on MSM_AUDIO_QDSP6V2 && m
2541 help
2542 Enable ADSP image loader.
2543 The ADSP loader brings ADSP out of reset
2544 for the platforms that use APRv2.
2545 Say M if you want to enable this module.
2546
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +02002547config MSM_ULTRASOUND_A
2548 bool "QDSP6 HW Ultrasound support"
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002549 help
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +02002550 Enable HW ultrasound support in QDSP6.
2551 QDSP6 can support HW encoder & decoder and
2552 ultrasound processing. It will enable
2553 ultrasound data paths between
2554 HW and services, calculating input events
2555 upon the ultrasound data.
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002556
Baruch Eruchimovitch8c3f7802013-01-05 22:48:04 +02002557config MSM_ULTRASOUND_B
2558 bool "QDSP6V2 HW Ultrasound support"
2559 help
2560 Enable HW Ultrasound support in QDSP6V2.
2561 QDSP6V2 can support HW encoder & decoder and
2562 ultrasound processing. It will enable
2563 ultrasound data paths between
2564 HW and services, calculating input events
2565 upon the ultrasound data.
2566
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002567config MSM_RPC_VIBRATOR
2568 bool "RPC based MSM Vibrator Support"
2569 depends on MSM_ONCRPCROUTER
2570 help
2571 Enable the vibrator support on MSM over RPC. The vibrator
2572 is connected on the PMIC. Say Y if you want to enable this
2573 feature.
2574
2575config PM8XXX_RPC_VIBRATOR
2576 bool "RPC based Vibrator on PM8xxx PMICs"
2577 depends on MSM_RPC_VIBRATOR
2578 help
2579 Enable the vibrator support on MSM over RPC. The vibrator
2580 is connected on the PM8XXX PMIC. Say Y if you want to enable
2581 this feature.
2582
2583config MSM_SPM_V1
2584 bool "Driver support for SPM Version 1"
2585 help
2586 Enables the support for Version 1 of the SPM driver. SPM hardware is
2587 used to manage the processor power during sleep. The driver allows
2588 configuring SPM to allow different power modes.
2589
2590config MSM_SPM_V2
2591 bool "Driver support for SPM Version 2"
2592 help
2593 Enables the support for Version 2 of the SPM driver. SPM hardware is
2594 used to manage the processor power during sleep. The driver allows
2595 configuring SPM to allow different power modes.
2596
2597config MSM_L2_SPM
2598 bool "SPM support for L2 cache"
2599 depends on MSM_SPM_V2
2600 help
2601 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2602 control of L2 cache low power mode with a Subsystem Power manager.
2603 Enabling this driver allows configuring L2 SPM for low power modes
2604 on supported chipsets.
2605
Laura Abbott2d1760b2011-09-29 21:31:24 -07002606config MSM_MULTIMEDIA_USE_ION
2607 bool "Multimedia suport using Ion"
2608 depends on ION_MSM
2609 help
2610 Enable support for multimedia drivers using Ion for buffer management
2611 instead of pmem. Selecting this may also involve userspace
2612 dependencies as well.
2613
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002614config MSM_OCMEM
2615 bool "MSM On-Chip memory driver (OCMEM)"
2616 help
2617 Enable support for On-Chip Memory available on certain MSM chipsets.
2618 OCMEM is a low latency, high performance pool shared by subsystems.
2619
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002620config MSM_OCMEM_LOCAL_POWER_CTRL
2621 bool "OCMEM Local Power Control"
2622 depends on MSM_OCMEM
2623 help
2624 Enable direct power management of the OCMEM core by the
2625 OCMEM driver. By default power management is delegated to
2626 the RPM. Selecting this option causes the OCMEM driver to
2627 directly handle the various macro power transitions.
2628
2629config MSM_OCMEM_DEBUG
2630 bool "OCMEM Debug Support"
2631 depends on MSM_OCMEM
2632 help
2633 Enable debug options for On-chip Memory (OCMEM) driver.
2634 Various debug options include memory, power and latency.
2635 Choosing one of these options allows debugging of each
2636 individual subsystem separately.
2637
Naveen Ramarajc71b2de2012-08-20 12:35:52 -07002638config MSM_OCMEM_NONSECURE
2639 bool "OCMEM Non Secure Mode"
2640 depends on MSM_OCMEM_DEBUG
2641 help
2642 Disable OCMEM interaction with secure processor.
2643 By default OCMEM is secured and accesses for each master
2644 is requested by the OCMEM driver. Selecting this option
2645 causes the OCMEM memory to be in non-secure state unless
2646 its locked down by the secure processor.
2647
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002648config MSM_OCMEM_POWER_DEBUG
2649 bool "OCMEM Power Debug Support"
2650 depends on MSM_OCMEM_DEBUG
2651 help
2652 Enable debug support for OCMEM power management.
2653 This adds support for verifying all power management
2654 related operations of OCMEM. Both local power management
2655 and RPM assisted power management operations are supported.
2656
Naveen Ramaraj4b1d9392012-08-06 21:05:14 -07002657config MSM_OCMEM_POWER_DISABLE
2658 bool "OCMEM Disable Power Control"
2659 depends on MSM_OCMEM_DEBUG
2660 help
2661 Disable all OCMEM power management.
2662 This keeps all OCMEM macros turned ON at all times thus
2663 never allowing them to be turned OFF. Both local power
2664 management and RPM assisted power modes are supported.
2665
Naveen Ramaraj88f23632012-10-10 12:23:29 -07002666config SENSORS_ADSP
2667 bool "Enable Sensors Driver Support for ADSP"
2668 help
2669 Add support for sensors ADSP driver.
2670 This driver is used for exercising different sensors use cases,
2671 such as for lower-power OCMEM use cases, and for time syncing
2672 with ADSP clock.
2673
Laura Abbottad340ff2012-01-04 14:23:48 -08002674config MSM_RTB
2675 bool "Register tracing"
2676 help
2677 Add support for logging different events to a small uncached
2678 region. This is designed to aid in debugging reset cases where the
2679 caches may not be flushed before the target resets.
2680
2681config MSM_RTB_SEPARATE_CPUS
2682 bool "Separate entries for each cpu"
2683 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002684 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002685 help
2686 Under some circumstances, it may be beneficial to give dedicated space
2687 for each cpu to log accesses. Selecting this option will log each cpu
2688 separately. This will guarantee that the last acesses for each cpu
2689 will be logged but there will be fewer entries per cpu
2690
Stepan Moskovchenko57884842012-06-07 17:35:49 -07002691config MSM_EBI_ERP
2692 bool "External Bus Interface (EBI) error reporting"
2693 help
2694 Say 'Y' here to enable reporting of external bus interface errors to
2695 the kernel log. Information such as the offending address and
2696 transaction type will be logged. This may be useful for debugging
2697 seemingly broken memory accesses.
2698
2699 For production builds, you should probably say 'N' here.
2700
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002701config MSM_CACHE_ERP
2702 bool "Cache / CPU error reporting"
2703 depends on ARCH_MSM_KRAIT
2704 help
2705 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2706 log. Enabling this feature can be used as a system debugging technique
2707 if cache corruption is suspected. Cache error statistics will also be
2708 reported in /proc/cpu/msm_cache_erp.
2709
2710 For production builds, you should probably say 'N' here.
2711
2712config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002713 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002714 depends on MSM_CACHE_ERP
2715 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002716 To cause the kernel to panic whenever an L1 cache error is detected, say
2717 'Y' here. This may be useful as a debugging technique if general system
2718 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002719
2720 For production builds, you should probably say 'N' here.
2721
Stepan Moskovchenkoe1aba3d2012-12-06 18:40:25 -08002722config MSM_L1_RECOV_ERR_PANIC
2723 bool "Panic on recoverable L1 cache errors"
2724 depends on MSM_CACHE_ERP && MSM_L1_ERR_PANIC
2725 help
2726 Certain CPU designs may be able to automatically recover from certain
2727 kinds of L1 cache errors, even though the L1 cache itself may not
2728 support error correction. These errors should not result in any kind
2729 of corruption, but their presence is nevertheless an indication of
2730 poor system health. To cause the kernel to panic whenever a
2731 recoverable L1 cache error is detected, say 'Y' here. This may be
2732 useful as a debugging technique if general system instability is
2733 suspected.
2734
2735 For production builds, you should definitely say 'N' here.
2736
Stepan Moskovchenko7035f652012-05-31 17:48:01 -07002737config MSM_L1_ERR_LOG
2738 bool "Log CPU ERP events to system memory"
2739 depends on MSM_CACHE_ERP
2740 help
2741 Enable logging CPU ERP events to an area of memory that will be
2742 preserved across a system reset. This may be useful for detecting and
2743 troubleshooting ERP-related system crashes in the field.
2744
2745 For production builds, you may want to say 'Y' here.
2746
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002747config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2748 bool "Report L2 master port slave/decode errors in kernel log"
2749 depends on MSM_CACHE_ERP
2750 help
2751 Master port errors can occur when a memory request is not properly
2752 handled by the destination slave. This can occur if the destination
2753 register does not exist or is inaccessible due to security
2754 restrictions or (in some cases) clock configuration. Enabling this
2755 option will cause a backtrace to be printed to the kernel log whenever
2756 such an error is encountered. Note that the error is reported as an
2757 interrupt rather than as an exception, meaning that the backtrace may
2758 have some skid. This option may help with debugging, though production
2759 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002760
2761config MSM_L2_ERP_PORT_PANIC
2762 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002763 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002764 help
2765 Master port errors can occur when a memory request is not properly
2766 handled by the destination slave. Enable this option to catch drivers
2767 which attempt to access bad areas of the address space, or access
2768 hardware registers in an improper state (such as certain clocks not
2769 being on). This option may help with debugging, though production
2770 builds should probably say 'N' here.
2771
2772config MSM_L2_ERP_1BIT_PANIC
2773 bool "Panic on recoverable L2 soft errors"
2774 depends on MSM_CACHE_ERP
2775 help
2776 Enable this option to cause a kernel panic whenever the L2 cache
2777 encounters a single-bit (correctable) soft error. This option should
2778 only be enabled when doing low-level debugging where cache corruption
2779 is suspected.
2780
2781 For production builds, you should definitely say 'N' here.
2782
2783config MSM_L2_ERP_2BIT_PANIC
2784 bool "Panic on unrecoverable L2 soft errors"
2785 depends on MSM_CACHE_ERP
2786 help
2787 Enable this option to cause a kernel panic whenever the L2 cache
2788 encounters a double-bit (non-correctable) soft error. Debug builds
2789 will likely benefit from having this option enabled to catch cache
2790 problems as soon as possible.
2791
2792 For production builds, it may be acceptable to say 'N' here, since
2793 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002794
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002795config MSM_DCVS
2796 bool "Use MSM DCVS for CPU/GPU Frequency control"
2797 depends on MSM_SCM
2798 help
2799 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2800 The DCVS manager allows idle driver to feed the idle information to the
2801 algorithm and the algorithm returns a frequency for the core which is
2802 passed to the frequency change driver.
2803
Pankaj Kumar32ce1ea2012-04-04 20:29:29 +05302804config MSM_CPR
2805 tristate "Use MSM CPR in S/W mode"
2806 help
2807 Enable CPR (core power reduction) in S/W mode, where the processor
2808 get's the notification from CPR block and programs the PMIC.
2809
2810config MSM_VP_REGULATOR
2811 tristate "Use MSM PMIC8029 C2 regulator"
2812 depends on ARCH_MSM8625
2813 help
2814 Enable MSM PMIC8029 C2 regulator support using APC_PLEVEL access
2815 for MSMs like 8625.
2816
Taniya Dasc43e6872012-03-21 16:41:14 +05302817config HAVE_ARCH_HAS_CURRENT_TIMER
2818 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002819
2820config MSM_CACHE_DUMP
2821 bool "Cache dumping support"
2822 help
2823 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2824 This allows for analysis of the caches in case cache corruption is
2825 suspected.
2826
Laura Abbott7b637362012-03-29 16:43:49 -07002827config MSM_CACHE_DUMP_ON_PANIC
2828 bool "Dump caches on panic"
2829 depends on MSM_CACHE_DUMP
2830 help
2831 By default, the caches are flushed on panic. This means that trying to
2832 look at them in a RAM dump will give useless data. Select this if you
2833 want to dump the L1 and L2 caches on panic before any flush occurs.
2834 If unsure, say N
2835
Jack Phamccbbfab2012-04-09 19:50:20 -07002836config MSM_HSIC_SYSMON
2837 tristate "MSM HSIC system monitor driver"
2838 depends on USB
2839 help
2840 Add support for bridging with the system monitor interface of MDM
2841 over HSIC. This driver allows the local system monitor to
2842 communicate with the remote system monitor interface.
2843
2844config MSM_HSIC_SYSMON_TEST
2845 tristate "MSM HSIC system monitor bridge test"
2846 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2847 help
2848 Enable the test hook for the Qualcomm system monitor HSIC driver.
2849 This will create a debugfs file entry named "hsic_sysmon_test" which
2850 can be read and written to send character data to the sysmon port of
2851 the modem over USB.
2852
Anirudh Ghayal0d2291a2012-09-20 21:31:41 +05302853config MSM_RPC_PMIC
2854 tristate "MSM RPC PMIC driver"
2855 depends on MSM_ONCRPCROUTER
2856 help
2857 This driver supports the PMIC functionality over RPC for those MSM's
2858 which do not have a direct access to PMIC. It supports ability to
2859 configure MPP, GPIO and all the other supported peripherals of the
2860 PMIC.
2861
Anirudh Ghayald3a63732012-09-20 22:13:13 +05302862config MSM_RPC_USB
2863 tristate "MSM RPC USB driver"
2864 depends on MSM_ONCRPCROUTER
2865 help
2866 This driver supports the USB configuration support over the RPC
2867 interface. It support the HS USB module connected to the MSM
2868 and FS USB which is connected over the PMIC. This support is
2869 required for MSMs on which the APPS does not have a direct access
2870 to the PMIC.
2871
2872config MSM_RPC_PMAPP
2873 tristate "MSM RPC PMIC APP driver"
2874 depends on MSM_ONCRPCROUTER
2875 help
2876 This driver supports the configuration of various PMIC APP modules
2877 such as display backlight, vreg pin-ctrl, smps clock over the RPC
2878 interface. This support is required for MSMs on which the APPS
2879 does not have a direct access to the PMIC.
Pushkar Joshi0fc73462012-09-26 17:59:31 -07002880
2881config MSM_ENABLE_WDOG_DEBUG_CONTROL
Pratik Patele08204d2013-03-12 17:43:56 -07002882 bool "Enable control of watchdog debug and boot partition select"
Pushkar Joshi0fc73462012-09-26 17:59:31 -07002883 help
Pratik Patele08204d2013-03-12 17:43:56 -07002884 Enables support for controlling watchdog debug and boot partition
2885 select. This is currently used to bypass debug image for PS_HOLD reset
2886 by disabling watchdog debug and boot partition select. This allows
2887 for a clean MSM reset for reboot scenarios.
Taniya Dasea4263f92012-08-22 18:52:51 +05302888
2889config MSM_FIQ
2890 bool "Enable FIQ for debugging"
2891 depends on ARCH_MSM8625
2892 select FIQ
Taniya Das36e4aa12012-07-04 18:27:16 +05302893 select GIC_SECURE
Taniya Dasea4263f92012-08-22 18:52:51 +05302894 help
2895 Enable any line to be used as an FIQ. This will help debugging
2896 if apps is not responding and holding lock with irqs disabled.
2897 Modem will then generate an raise a FIQ on this line before sending
2898 SMSM reset.
Greg Reidb1d240a2012-10-12 12:20:31 -04002899
2900config MSM_USE_USER_ACCESSIBLE_TIMERS
2901 bool "Enables mapping an MSM timer counter page to user space."
2902 depends on ARM_USE_USER_ACCESSIBLE_TIMERS
2903 help
2904 Enables MSM-specific user accessible timers via a shared
2905 memory page containing the cycle counter.
2906
Sidipotu Ashokbf84d4d2012-11-06 17:13:28 +05302907config USE_DEV_CTRL_VOLUME
2908 bool "Use Device Control Volume"
2909 help
2910 Use Device Control Volume as opposed to ALSA volume control.
2911
Jay Chokshi06e444f2012-12-06 20:48:23 -08002912config MSM_CPU_PWRCTL
2913 bool "Ensures that krait droop detectors are always off"
2914 help
2915 Droop detector mechanism can adversely affect krait plls during
2916 stand alone power collapse operation. Selecting this option
2917 ensures that they are always off.
2918
Saket Saurabh6089f952012-12-07 15:49:13 +05302919config MSM_UARTDM_Core_v14
2920 bool "Use MSM BLSP based HSUART Core v1.4"
2921 depends on SERIAL_MSM_HS
2922 help
2923 Select if BLSP based UART Core v.14 or higher is present.
Abhimanyu Kapurcf3ed152013-03-01 19:32:19 -08002924
2925config MSM_BOOT_STATS
2926 bool "Use MSM boot stats reporting"
2927 help
2928 Use this to report msm boot stats such as bootloader throughput,
2929 display init, total boot time.
2930 This figures are reported in mpm sleep clock cycles and have a
2931 resolution of 31 bits as 1 bit is used as an overflow check.
Syed Rameez Mustafa37f93472013-03-18 15:49:48 -07002932
2933config MSM_XPU_ERR_FATAL
2934 bool "Configure XPU violations as fatal errors"
2935 help
2936 Select if XPU violations have to be configured as fatal errors.
Willie Ruan2635a852013-03-17 16:33:42 -07002937
2938config MSM_CPR_REGULATOR
2939 bool "RBCPR regulator driver for APC"
2940 depends on REGULATOR
2941 depends on OF
2942 help
2943 Compile in RBCPR (RapidBridge Core Power Reduction) driver to support
2944 corner vote for APC power rail. The driver takes PTE process voltage
2945 suggestions in efuse as initial settings. It converts corner vote
2946 to voltage value before writing to a voltage regulator API, such as
2947 that provided by spm-regulator driver.
Brian Swetland9e73c842007-11-26 04:12:13 -08002948endif