blob: 65d1ecae8205409620cb2683396a395c1b5c92a4 [file] [log] [blame]
Brian Swetland1637de02008-09-09 07:13:33 -07001if ARCH_MSM
Brian Swetland9e73c842007-11-26 04:12:13 -08002
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -07003menu "MSM SoC Type"
Daniel Walkerbf83de42010-03-16 16:29:44 -07004
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07005config ARCH_MSM7X01A
Daniel Walkerbf83de42010-03-16 16:29:44 -07006 bool "MSM7x00A / MSM7x01A"
7 select ARCH_MSM_ARM11
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07008 select MSM_VIC
Daniel Walkerbf83de42010-03-16 16:29:44 -07009 select CPU_V6
David Brown74d10d72011-05-16 13:57:39 -070010 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070011 select MSM_REMOTE_SPINLOCK_SWP
12
13config ARCH_MSM7X25
14 bool "MSM7x25"
15 select ARCH_MSM_ARM11
16 select MSM_VIC
17 select CPU_V6
Steve Mucklef132c6c2012-06-06 18:30:57 -070018 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070019 select MSM_REMOTE_SPINLOCK_SWP
Taniya Dasbe561a02011-10-12 09:53:11 +053020 select MULTI_IRQ_HANDLER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070021
22config ARCH_MSM7X27
23 bool "MSM7x27"
24 select ARCH_MSM_ARM11 if MSM_SOC_REV_NONE
Trilok Soni7ff06e02012-10-15 01:05:24 +053025 select ARCH_HAS_BARRIERS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070026 select ARCH_MSM_CORTEX_A5 if MSM_SOC_REV_A
27 select MSM_VIC
28 select CPU_V6 if MSM_SOC_REV_NONE
29 select CPU_V7 if MSM_SOC_REV_A
Steve Mucklef132c6c2012-06-06 18:30:57 -070030 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070031 select MSM_REMOTE_SPINLOCK_SWP if MSM_SOC_REV_NONE
32 select MSM_GPIOMUX
33 select REGULATOR
Taniya Dasbe561a02011-10-12 09:53:11 +053034 select MULTI_IRQ_HANDLER
Pankaj Kumar75c86fd2011-10-01 18:51:09 +053035 select MSM_PROC_COMM_REGULATOR
Laura Abbott1fbd2e62011-12-18 10:26:46 -080036 select CLEANCACHE
37 select QCACHE
Matt Wagantall88b86312012-01-31 16:53:03 -080038 select MSM_PM2 if PM
Krishna Vankae2922052012-03-02 09:59:12 +053039 select MSM_RUN_QUEUE_STATS if MSM_SOC_REV_A
Taniya Dasd4c39f92012-05-14 17:41:49 +053040 select DONT_MAP_HOLE_AFTER_MEMBANK0
Trilok Sonib856ab92012-06-26 14:33:28 +053041 select MIGHT_HAVE_CACHE_L2X0
Taniya Dascd1d0232012-07-03 17:50:47 +053042 select MSM_MODEM_RESTART
Daniel Walkerbf83de42010-03-16 16:29:44 -070043
Daniel Walker7b521612010-05-06 12:44:57 -070044config ARCH_MSM7X30
45 bool "MSM7x30"
46 select ARCH_MSM_SCORPION
Daniel Walker7b521612010-05-06 12:44:57 -070047 select MSM_VIC
48 select CPU_V7
David Brown74d10d72011-05-16 13:57:39 -070049 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070050 select MSM_REMOTE_SPINLOCK_DEKKERS
51 select ARCH_SPARSEMEM_ENABLE
Laura Abbott78593b52011-09-26 18:48:14 -070052 select ARCH_HAS_HOLES_MEMORYMODEL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070053 select MIGRATION
Gregory Beanab78cde2010-09-01 16:26:12 -070054 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070055 select RESERVE_FIRST_PAGE
56 select MSM_DALRPC
57 select MSM_SPM_V1
58 select REGULATOR
Justin Paupore637a25d2011-07-14 17:11:04 -070059 select MSM_PROC_COMM_REGULATOR
Taniya Dasbae99fb2011-10-12 09:55:13 +053060 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -080061 select MSM_PM2 if PM
Chintan Pandyabb021762012-06-21 15:03:29 +053062 select HOLES_IN_ZONE if SPARSEMEM
Taniya Dascd1d0232012-07-03 17:50:47 +053063 select MSM_MODEM_RESTART
Chintan Pandya62a2f7c2012-10-30 12:00:40 +053064 select ARM_HAS_SG_CHAIN
Daniel Walker7b521612010-05-06 12:44:57 -070065
Daniel Walker4ad15e62010-05-06 13:54:17 -070066config ARCH_QSD8X50
67 bool "QSD8X50"
68 select ARCH_MSM_SCORPION
Daniel Walker4ad15e62010-05-06 13:54:17 -070069 select MSM_VIC
70 select CPU_V7
David Brown74d10d72011-05-16 13:57:39 -070071 select GPIO_MSM_V1
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070072 select MSM_REMOTE_SPINLOCK_LDREX
73 select CPU_USE_DOMAINS
74 select EMULATE_DOMAIN_MANAGER_V7
Gregory Beanab78cde2010-09-01 16:26:12 -070075 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070076 select MSM_DALRPC
Matt Wagantall88b86312012-01-31 16:53:03 -080077 select MSM_PM2 if PM
Taniya Dascd1d0232012-07-03 17:50:47 +053078 select MSM_MODEM_RESTART
Daniel Walker46fe5f22010-08-18 11:00:25 -070079
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070080config ARCH_MSM8X60
81 bool "MSM8X60"
Jeff Ohlsteine14411d2010-11-30 13:06:36 -080082 select ARCH_MSM_SCORPIONMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070083 select SMP_PARALLEL_START if SMP
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070084 select ARM_GIC
85 select CPU_V7
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070086 select MSM_REMOTE_SPINLOCK_LDREX
87 select ARCH_REQUIRE_GPIOLIB
88 select MSM_ADM3
89 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -080090 select MSM_RPM_REGULATOR
David Brown1a5ab4b2011-05-16 15:53:38 -070091 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070092 select MSM_PIL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070093 select ARCH_HAS_CPU_IDLE_WAIT
94 select MSM_DIRECT_SCLK_ACCESS
95 select MSM_RPM
96 select MSM_XO
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070097 select MSM_GPIOMUX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070098 select MSM_BUS_SCALING
99 select MSM_SECURE_IO
100 select MSM_DALRPC
101 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700102 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700103 select MSM_NATIVE_RESTART
104 select ARCH_INLINE_SPIN_TRYLOCK
105 select ARCH_INLINE_SPIN_TRYLOCK_BH
106 select ARCH_INLINE_SPIN_LOCK
107 select ARCH_INLINE_SPIN_LOCK_BH
108 select ARCH_INLINE_SPIN_LOCK_IRQ
109 select ARCH_INLINE_SPIN_LOCK_IRQSAVE
110 select ARCH_INLINE_SPIN_UNLOCK
111 select ARCH_INLINE_SPIN_UNLOCK_BH
112 select ARCH_INLINE_SPIN_UNLOCK_IRQ
113 select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
114 select ARCH_INLINE_READ_TRYLOCK
115 select ARCH_INLINE_READ_LOCK
116 select ARCH_INLINE_READ_LOCK_BH
117 select ARCH_INLINE_READ_LOCK_IRQ
118 select ARCH_INLINE_READ_LOCK_IRQSAVE
119 select ARCH_INLINE_READ_UNLOCK
120 select ARCH_INLINE_READ_UNLOCK_BH
121 select ARCH_INLINE_READ_UNLOCK_IRQ
122 select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
123 select ARCH_INLINE_WRITE_TRYLOCK
124 select ARCH_INLINE_WRITE_LOCK
125 select ARCH_INLINE_WRITE_LOCK_BH
126 select ARCH_INLINE_WRITE_LOCK_IRQ
127 select ARCH_INLINE_WRITE_LOCK_IRQSAVE
128 select ARCH_INLINE_WRITE_UNLOCK
129 select ARCH_INLINE_WRITE_UNLOCK_BH
130 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
131 select CPU_HAS_L2_PMU
132 select MSM_SPM_V1
Stephen Boyd2a1eb582010-08-27 10:01:23 -0700133 select MSM_SCM if SMP
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530134 select MULTI_IRQ_HANDLER
Laura Abbott46505f62011-11-02 18:06:55 -0700135 select MSM_MULTIMEDIA_USE_ION
Matt Wagantall88b86312012-01-31 16:53:03 -0800136 select MSM_PM8X60 if PM
Krishna Vankae2922052012-03-02 09:59:12 +0530137 select MSM_RUN_QUEUE_STATS
Laura Abbottb14ed962012-01-30 14:18:08 -0800138 select ARM_HAS_SG_CHAIN
Sidipotu Ashokbf84d4d2012-11-06 17:13:28 +0530139 select USE_DEV_CTRL_VOLUME
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -0700140
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800141config ARCH_MSM8960
142 bool "MSM8960"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700143 select ARCH_MSM_KRAITMP
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800144 select ARM_GIC
145 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700146 select GPIO_MSM_V2
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800147 select MSM_GPIOMUX
148 select MSM_SCM if SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700149 select MSM_DIRECT_SCLK_ACCESS
150 select REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -0800151 select MSM_RPM_REGULATOR
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700152 select MSM_RPM
153 select MSM_XO
154 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700155 select MSM_QDSP6_CODECS
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700156 select MSM_PIL
157 select MSM_AUDIO_QDSP6 if SND_SOC
158 select CPU_HAS_L2_PMU
159 select MSM_SPM_V2
160 select MSM_L2_SPM
161 select MSM_NATIVE_RESTART
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700162 select DONT_MAP_HOLE_AFTER_MEMBANK0
163 select MSM_REMOTE_SPINLOCK_SFPB
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700164 select ARCH_HAS_HOLES_MEMORYMODEL
Larry Basseld4d82c92011-12-07 09:52:49 -0800165 select CLEANCACHE
166 select QCACHE
Laura Abbott6d61a912011-10-27 16:44:14 -0700167 select MSM_MULTIMEDIA_USE_ION
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530168 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800169 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700170 select HOLES_IN_ZONE if SPARSEMEM
Krishna Vankae2922052012-03-02 09:59:12 +0530171 select MSM_RUN_QUEUE_STATS
Laura Abbottb14ed962012-01-30 14:18:08 -0800172 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700173 select MSM_KRAIT_WFE_FIXUP
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +0200174 select MSM_ULTRASOUND_A
Olav Haugan5e728722012-11-05 17:45:26 -0800175 select MSM_IOMMU_GPU_SYNC
Greg Reidb1d240a2012-10-12 12:20:31 -0400176 select GENERIC_TIME_VSYSCALL
177 select USE_USER_ACCESSIBLE_TIMERS
178 select ARM_USE_USER_ACCESSIBLE_TIMERS
179 select MSM_USE_USER_ACCESSIBLE_TIMERS
Jay Chokshi06e444f2012-12-06 20:48:23 -0800180 select MSM_CPU_PWRCTL
Priyanka Mathurdcaaaa9f2012-12-05 18:51:03 -0800181 select MSM_LPM_TEST
Stepan Moskovchenkof441ca22010-12-01 19:31:16 -0800182
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700183config ARCH_MSM8930
184 bool "MSM8930"
185 select ARCH_MSM_KRAITMP
186 select ARM_GIC
187 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700188 select GPIO_MSM_V2
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700189 select MSM_GPIOMUX
190 select MSM_SCM if SMP
191 select MSM_DIRECT_SCLK_ACCESS
192 select REGULATOR
David Collins5779cea2012-01-05 15:09:21 -0800193 select MSM_RPM_REGULATOR
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700194 select MSM_RPM
195 select MSM_XO
196 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700197 select MSM_QDSP6_CODECS
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700198 select MSM_PIL
199 select MSM_AUDIO_QDSP6 if SND_SOC
200 select CPU_HAS_L2_PMU
201 select MSM_SPM_V2
202 select MSM_L2_SPM
203 select MSM_NATIVE_RESTART
204 select DONT_MAP_HOLE_AFTER_MEMBANK0
Eric Holmbergeab10732011-09-23 19:44:43 -0600205 select MSM_REMOTE_SPINLOCK_SFPB
Larry Basself74479e2011-09-08 11:07:52 -0700206 select ARCH_HAS_HOLES_MEMORYMODEL
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +0200207 select MSM_ULTRASOUND_A
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530208 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800209 select MSM_PM8X60 if PM
Laura Abbott085dd202012-03-30 14:02:34 -0700210 select HOLES_IN_ZONE if SPARSEMEM
Laura Abbottb14ed962012-01-30 14:18:08 -0800211 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700212 select MSM_KRAIT_WFE_FIXUP
Olav Haugan5e728722012-11-05 17:45:26 -0800213 select MSM_IOMMU_GPU_SYNC
Greg Reidb1d240a2012-10-12 12:20:31 -0400214 select GENERIC_TIME_VSYSCALL
215 select USE_USER_ACCESSIBLE_TIMERS
216 select ARM_USE_USER_ACCESSIBLE_TIMERS
217 select MSM_USE_USER_ACCESSIBLE_TIMERS
Jay Chokshi06e444f2012-12-06 20:48:23 -0800218 select MSM_CPU_PWRCTL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700219
220config ARCH_APQ8064
221 bool "APQ8064"
222 select ARCH_MSM_KRAITMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700223 select GPIO_MSM_V2
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700224 select ARM_GIC
225 select CPU_V7
226 select MSM_SCM if SMP
Joel King4ebccc62011-07-22 09:43:22 -0700227 select MSM_GPIOMUX
Eric Holmberg40d21882011-09-27 09:42:03 -0600228 select MSM_REMOTE_SPINLOCK_SFPB
Swaminathan Sathappan47e5d932011-12-05 14:48:07 -0800229 select MSM_PIL
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800230 select MSM_QDSP6_APR
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -0700231 select MSM_QDSP6_CODECS
Swaminathan Sathappan2f51a752011-12-05 12:51:19 -0800232 select MSM_AUDIO_QDSP6 if SND_SOC
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530233 select MULTI_IRQ_HANDLER
Praveen Chidambaram78499012011-11-01 17:15:17 -0600234 select MSM_RPM
235 select MSM_SPM_V2
236 select MSM_L2_SPM
Matt Wagantall88b86312012-01-31 16:53:03 -0800237 select MSM_PM8X60 if PM
Neil Leeder814d3d32012-01-19 17:21:43 -0500238 select CPU_HAS_L2_PMU
Laura Abbott085dd202012-03-30 14:02:34 -0700239 select HOLES_IN_ZONE if SPARSEMEM
Larry Bassel67b921d2012-04-06 10:23:27 -0700240 select CLEANCACHE
241 select QCACHE
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -0600242 select MIGHT_HAVE_PCI
243 select ARCH_SUPPORTS_MSI
Laura Abbottb14ed962012-01-30 14:18:08 -0800244 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700245 select MSM_KRAIT_WFE_FIXUP
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +0200246 select MSM_ULTRASOUND_A
Olav Haugan5e728722012-11-05 17:45:26 -0800247 select MSM_IOMMU_GPU_SYNC
Greg Reidb1d240a2012-10-12 12:20:31 -0400248 select GENERIC_TIME_VSYSCALL
249 select USE_USER_ACCESSIBLE_TIMERS
250 select ARM_USE_USER_ACCESSIBLE_TIMERS
251 select MSM_USE_USER_ACCESSIBLE_TIMERS
Jay Chokshi06e444f2012-12-06 20:48:23 -0800252 select MSM_CPU_PWRCTL
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700253
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700254config ARCH_MSM8974
255 bool "MSM8974"
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700256 select ARCH_MSM_KRAITMP
Sathish Ambley4149e842012-03-23 11:53:55 -0700257 select GPIO_MSM_V3
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700258 select ARM_GIC
259 select CPU_V7
260 select MSM_SCM if SMP
261 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530262 select MULTI_IRQ_HANDLER
Olav Hauganb800c8c2012-01-30 08:50:45 -0800263 select MSM_MULTIMEDIA_USE_ION
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700264 select MSM_PIL
Praveen Chidambaramaa9d52b2012-04-02 11:09:47 -0600265 select MSM_SPM_V2
266 select MSM_L2_SPM
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700267 select MSM_NATIVE_RESTART
268 select MSM_RESTART_V2
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600269 select MSM_PM8X60 if PM
Steve Mucklef132c6c2012-06-06 18:30:57 -0700270 select MAY_HAVE_SPARSE_IRQ
271 select SPARSE_IRQ
Mahesh Sivasubramaniancb668712012-04-04 13:03:25 -0600272 select MSM_RPM_SMD
David Collinsc7642322012-04-04 10:19:12 -0700273 select REGULATOR
Joonwoo Park91d95462012-08-02 10:55:54 -0700274 select MSM_QDSP6_APRV2
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -0700275 select MSM_QDSP6V2_CODECS
276 select MSM_AUDIO_QDSP6V2 if SND_SOC
David Collins1c91ea72012-05-03 16:17:35 -0700277 select MSM_RPM_REGULATOR_SMD
Laura Abbottb14ed962012-01-30 14:18:08 -0800278 select ARM_HAS_SG_CHAIN
Karthik Parsha404fb8f2012-07-30 19:14:05 -0700279 select MSM_RUN_QUEUE_STATS
Neeti Desai92eab922012-10-22 15:14:48 -0700280 select MEMORY_HOLE_CARVEOUT
Priyanka Mathur1af9d4b2012-10-30 14:55:44 -0700281 select MSM_RPM_STATS_LOG
Karthikeyan Ramasubramanian1edce9e2012-11-08 18:26:10 -0700282 select QMI_ENCDEC
Neeti Desai1b2cb552012-11-01 21:57:36 -0700283 select DONT_MAP_HOLE_AFTER_MEMBANK0
Naveen Ramarajf56e9af2012-12-10 17:07:38 -0800284 select SENSORS_ADSP
Baruch Eruchimovitch8c3f7802013-01-05 22:48:04 +0200285 select MSM_ULTRASOUND_B
Priyanka Mathur5d5b0a82013-01-17 10:54:29 -0800286 select MSM_LPM_TEST
Priyanka Mathur94abc462012-12-11 16:34:52 -0800287 select MSM_RPM_LOG
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700288
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
Stepan Moskovchenkob6ae7882013-01-24 15:47:18 -0800306
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +0530307config ARCH_MPQ8092
308 bool "MPQ8092"
309 select ARCH_MSM_KRAITMP
310 select GPIO_MSM_V3
311 select ARM_GIC
312 select MULTI_IRQ_HANDLER
313 select CPU_V7
314 select MSM_GPIOMUX
315 select MAY_HAVE_SPARSE_IRQ
316 select SPARSE_IRQ
317 select MSM_NOPM
318
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700319config ARCH_FSM9XXX
320 bool "FSM9XXX"
321 select ARCH_MSM_SCORPION
322 select MSM_VIC
323 select CPU_V7
324 select MSM_REMOTE_SPINLOCK_LDREX
Steve Mucklef132c6c2012-06-06 18:30:57 -0700325 select GPIO_FSM9XXX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530326 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800327 select MSM_DALRPC
Daniel Walker4ad15e62010-05-06 13:54:17 -0700328
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700329config ARCH_MSM9615
330 bool "MSM9615"
331 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530332 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700333 select ARCH_MSM_CORTEX_A5
334 select CPU_V7
Rohit Vaswani4307c842012-10-11 15:50:05 -0700335 select MIGHT_HAVE_CACHE_L2X0
Steve Mucklef132c6c2012-06-06 18:30:57 -0700336 select GPIO_MSM_V2
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700337 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600338 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600339 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700340 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800341 select REGULATOR
342 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530343 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800344 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800345 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700346 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800347 select MSM_QDSP6_APR
348 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800349 select FIQ
Laura Abbottb14ed962012-01-30 14:18:08 -0800350 select ARM_HAS_SG_CHAIN
Matt Wagantall9274df92011-12-15 11:11:05 -0800351
Taniya Das43bcdd62011-12-02 17:33:27 +0530352config ARCH_MSM8625
353 bool "MSM8625"
354 select ARCH_MSM_CORTEX_A5
355 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700356 select GPIO_MSM_V1
Taniya Das43bcdd62011-12-02 17:33:27 +0530357 select MSM_GPIOMUX
358 select ARM_GIC
359 select ARCH_MSM_CORTEXMP
360 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530361 select ARM_TICKET_LOCKS
Krishna Vankae2922052012-03-02 09:59:12 +0530362 select MSM_RUN_QUEUE_STATS
Trilok Sonib856ab92012-06-26 14:33:28 +0530363 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530364 select ARM_HAS_SG_CHAIN
Ashwin Chaugule3deb6b82012-12-21 13:09:48 -0500365 select CPU_HAS_L2_PMU
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700366
367config ARCH_MSM9625
368 bool "MSM9625"
369 select ARM_GIC
Abhimanyu Kapur490d20c2012-06-22 17:34:20 -0700370 select MIGHT_HAVE_CACHE_L2X0
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700371 select ARCH_MSM_CORTEX_A5
372 select SMP
373 select MSM_SMP
374 select CPU_V7
Abhimanyu Kapur4bb38622012-10-16 19:07:48 -0700375 select MSM_SCM if SMP
Jin Hong690e3352012-05-02 09:25:05 -0700376 select MSM_GPIOMUX
Girish Mahadevanf1c20a42012-09-19 11:44:36 -0600377 select MSM_RPM_SMD
Abhimanyu Kapur46e5e2b2012-10-02 20:45:37 -0700378 select MSM_NATIVE_RESTART
379 select MSM_RESTART_V2
Girish Mahadevan6e419562012-09-19 12:50:05 -0600380 select MSM_SPM_V2
381 select MSM_PM8X60 if PM
382 select MSM_SCM if SMP
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700383 select MULTI_IRQ_HANDLER
Rohit Vaswani61cf6ef2012-07-27 13:51:48 -0700384 select GPIO_MSM_V3
David Collins1cc6e402012-09-17 16:02:24 -0700385 select MAY_HAVE_SPARSE_IRQ
386 select SPARSE_IRQ
Mitchel Humpherys92e9b8a2012-10-08 18:12:47 -0700387 select MSM_MULTIMEDIA_USE_ION
Girish Mahadevane3be9302012-11-07 16:21:52 -0700388 select MSM_RPM_STATS_LOG
Venkat Sudhir0620e982012-11-15 16:04:36 -0800389 select MSM_QDSP6_APRV2
390 select MSM_QDSP6V2_CODECS
391 select MSM_AUDIO_QDSP6V2 if SND_SOC
Ashwin Chaugule8b459cc2012-11-26 15:20:54 -0500392 select CPU_HAS_L2_PMU
Pratik Patel61e91702013-01-27 20:30:42 -0800393 select MSM_JTAG_MM if CORESIGHT_ETM
Neeti Desai5f3b0312012-11-07 11:20:03 -0800394 select MEMORY_HOLE_CARVEOUT
Priyanka Mathurdc424552013-02-22 16:30:53 -0800395 select MSM_RPM_LOG
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700396
Syed Rameez Mustafa3971c142013-01-09 19:04:53 -0800397config ARCH_MSM8610
398 bool "MSM8610"
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700399 select ARM_GIC
400 select GIC_SECURE
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700401 select ARCH_MSM_CORTEXMP
402 select CPU_V7
403 select MSM_SCM if SMP
404 select MAY_HAVE_SPARSE_IRQ
405 select SPARSE_IRQ
406 select MULTI_IRQ_HANDLER
407 select GPIO_MSM_V3
408 select MSM_GPIOMUX
Hanumant Singhe4271312012-10-24 13:27:57 -0700409 select MSM_NATIVE_RESTART
410 select MSM_RESTART_V2
Arun Menon7d2f1732013-01-16 15:20:56 -0800411 select MSM_QDSP6_APRV2
412 select MSM_QDSP6V2_CODECS
413 select MSM_AUDIO_QDSP6V2 if SND_SOC
Syed Rameez Mustafa03ea34e2013-03-13 12:18:59 -0700414 select QMI_ENCDEC
Praveen Chidambaramee7b1652012-11-29 09:52:53 -0700415 select MSM_RPM_SMD
416 select MSM_SPM_V2
417 select MSM_L2_SPM
418 select MSM_PM8X60 if PM
Syed Rameez Mustafa03ea34e2013-03-13 12:18:59 -0700419 select MEMORY_HOLE_CARVEOUT
420 select DONT_MAP_HOLE_AFTER_MEMBANK0
421 select MSM_BUS_SCALING
Patrick Dalyd3ad9ff2012-11-06 11:07:27 -0800422 select CPU_FREQ_MSM
423 select CPU_FREQ
424 select CPU_FREQ_GOV_USERSPACE
425 select CPU_FREQ_GOV_ONDEMAND
Patrick Daly9e3fca92013-01-30 13:53:57 -0800426 select MSM_PIL
Siddharth Vermaead71842013-02-27 14:25:27 -0800427 select MSM_RUN_QUEUE_STATS
Mitchel Humpherys3537e672013-03-04 20:21:19 -0800428 select ARM_HAS_SG_CHAIN
Syed Rameez Mustafa03ea34e2013-03-13 12:18:59 -0700429 select REGULATOR
430 select MSM_RPM_REGULATOR_SMD
David Collinsf2de39b2013-03-15 14:34:20 -0700431 select MSM_SPM_REGULATOR
Syed Rameez Mustafa9ee80102012-11-02 14:41:04 -0700432
433config ARCH_MSM8226
434 bool "MSM8226"
435 select ARM_GIC
436 select GIC_SECURE
Syed Rameez Mustafa9ee80102012-11-02 14:41:04 -0700437 select ARCH_MSM_CORTEXMP
438 select CPU_V7
439 select MSM_SCM if SMP
440 select MAY_HAVE_SPARSE_IRQ
441 select SPARSE_IRQ
442 select MULTI_IRQ_HANDLER
443 select GPIO_MSM_V3
444 select MSM_GPIOMUX
Syed Rameez Mustafaf1bdd712012-11-20 14:56:44 -0800445 select MSM_NATIVE_RESTART
446 select MSM_RESTART_V2
Bhalchandra Gajare4e08f632012-12-18 11:54:35 -0800447 select MSM_QDSP6_APRV2
448 select MSM_QDSP6V2_CODECS
449 select MSM_AUDIO_QDSP6V2 if SND_SOC
Karthikeyan Ramasubramaniand04c8652013-01-16 09:03:51 -0700450 select QMI_ENCDEC
Praveen Chidambarama06f60d2012-11-29 09:52:53 -0700451 select MSM_RPM_SMD
452 select MSM_SPM_V2
453 select MSM_L2_SPM
454 select MSM_PM8X60 if PM
Neeti Desaibfedbd32012-11-21 13:19:36 -0800455 select MEMORY_HOLE_CARVEOUT
456 select DONT_MAP_HOLE_AFTER_MEMBANK0
Gagan Mace1ec9522013-02-01 12:10:21 -0700457 select MSM_BUS_SCALING
Syed Rameez Mustafa03ea34e2013-03-13 12:18:59 -0700458 select CPU_FREQ_MSM
459 select CPU_FREQ
460 select CPU_FREQ_GOV_USERSPACE
461 select CPU_FREQ_GOV_ONDEMAND
462 select MSM_PIL
463 select MSM_RUN_QUEUE_STATS
Mitchel Humpherys3537e672013-03-04 20:21:19 -0800464 select ARM_HAS_SG_CHAIN
David Keitelc0092e12013-03-07 12:09:48 -0800465 select REGULATOR
466 select MSM_RPM_REGULATOR_SMD
David Collinsf2de39b2013-03-15 14:34:20 -0700467 select MSM_SPM_REGULATOR
Pushkar Joshi1bea8372013-03-06 18:26:37 -0800468 select MSM_JTAG_MM if CORESIGHT_ETM
Willie Ruan679eaf32013-03-21 13:30:40 -0700469 select MSM_CPR_REGULATOR
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700470endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700471
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700472choice
473 prompt "MSM SoC Revision"
474 default MSM_SOC_REV_NONE
475config MSM_SOC_REV_NONE
476 bool "N/A"
477 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
478 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walkerbf83de42010-03-16 16:29:44 -0700479config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700480 bool "Rev. A"
481 select ARCH_MSM7X27A if ARCH_MSM7X27
Daniel Walkerbf83de42010-03-16 16:29:44 -0700482endchoice
483
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700484config MSM_KRAIT_TBB_ABORT_HANDLER
485 bool "Krait TBB/TBH data abort handler"
486 depends on ARCH_MSM_KRAIT
487 depends on ARM_THUMB
488 help
489 Certain early samples of the Krait processor may generate data
490 aborts for TBB / TBH instructions that fail their condition code
491 checks. Enabling this option will ignore these erroneous data aborts,
492 at the expense of a very small performance penalty.
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800493
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700494 If unsure, say N.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700495
496config ARCH_MSM_ARM11
497 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700498
Daniel Walkerbf83de42010-03-16 16:29:44 -0700499config ARCH_MSM_SCORPION
500 bool
501
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700502config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700503 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800504 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700505
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700506config MSM_SMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700507 select HAVE_SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700508 bool
509
510config ARCH_MSM_SCORPIONMP
511 select ARCH_MSM_SCORPION
512 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530513 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel61e91702013-01-27 20:30:42 -0800514 select MSM_JTAG if CORESIGHT_ETM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700515 bool
516
517config ARCH_MSM_KRAITMP
518 select ARCH_MSM_KRAIT
519 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530520 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel61e91702013-01-27 20:30:42 -0800521 select MSM_JTAG if CORESIGHT_ETM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700522 bool
523
Taniya Das43bcdd62011-12-02 17:33:27 +0530524config ARCH_MSM_CORTEXMP
525 select MSM_SMP
526 bool
527
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700528config MSM_KRAIT_WFE_FIXUP
529 bool
530
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700531config MSM_RESTART_V2
532 bool
533
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700534config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800535 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700536
537config ARCH_MSM7X27A
538 bool
539 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700540 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530541 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530542 select ARM_GIC
543 select ARCH_MSM_CORTEXMP
Trilok Sonib856ab92012-06-26 14:33:28 +0530544 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530545 select ARM_HAS_SG_CHAIN
Ashwin Chaugule3deb6b82012-12-21 13:09:48 -0500546 select CPU_HAS_L2_PMU
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700547
Gregory Beanf9f3d312010-04-30 22:06:50 -0700548config MSM_VIC
549 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700550
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700551config MSM_RPM
552 bool "Resource Power Manager"
553 select MSM_MPM
554
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600555config MSM_RPM_SMD
556 depends on MSM_SMD
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600557 select MSM_MPM_OF
558 bool "RPM driver using SMD protocol"
559 help
560 RPM is the dedicated hardware engine for managing shared SoC
561 resources. This config adds driver support for using SMD as a
562 transport layer communication with RPM hardware. It also selects
563 the MSM_MPM config that programs the MPM module to monitor interrupts
564 during sleep modes.
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600565
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700566config MSM_MPM
567 bool "Modem Power Manager"
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600568 help
569 MPM is a dedicated hardware resource responsible for entering and
570 waking up from a system wide low power mode. The MPM driver tracks
571 the wakeup interrupts and configures the MPM to monitor the wakeup
572 interrupts when going to a system wide sleep mode.
573
574config MSM_MPM_OF
575 bool "Modem Power Manager"
Subbaraman Narayanamurthy0b148fc2012-11-28 12:14:12 -0800576 depends on OF
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600577 help
578 MPM is a dedicated hardware resource responsible for entering and
579 waking up from a system wide low power mode. The MPM driver tracks
580 the wakeup interrupts and configures the MPM to monitor the wakeup
581 interrupts when going to a system wide sleep mode. This config option
582 enables the MPM driver that supports initialization from a device
583 tree
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700584
Priyanka Mathur9a75ec52012-12-07 16:02:40 -0800585config MSM_LPM_TEST
586 bool "Low Power Mode test framework"
Priyanka Mathur3abfd442013-01-11 12:58:51 -0800587 depends on MSM_RPM || MSM_RPM_SMD
Priyanka Mathur9a75ec52012-12-07 16:02:40 -0800588 depends on MSM_PM8X60
589 help
590 LPM_TEST is a test framework that assists in exercising the low
591 power mode algorithm on MSM targets. This test framework tracks
592 notifications sent during entry/exit of the low power modes and
593 processes them to measure various stats including latency
594 measurement.
595
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700596config MSM_XO
597 bool
598
599config MSM_REMOTE_SPINLOCK_DEKKERS
600 bool
601config MSM_REMOTE_SPINLOCK_SWP
602 bool
603config MSM_REMOTE_SPINLOCK_LDREX
604 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600605config MSM_REMOTE_SPINLOCK_SFPB
606 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700607config MSM_ADM3
608 bool
609
610menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700611
612config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700613 depends on ARCH_MSM7X01A
614 depends on MSM_STACKED_MEMORY
615 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700616 bool "Halibut Board (QCT SURF7201A)"
617 help
618 Support for the Qualcomm SURF7201A eval board.
619
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700620config MACH_MSM7201A_SURF
621 depends on ARCH_MSM7X01A
622 depends on MSM_STACKED_MEMORY
623 default y
624 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700625 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700626 Support for the Qualcomm MSM7201A SURF eval board.
627
628config MACH_MSM7201A_FFA
629 depends on ARCH_MSM7X01A
630 depends on MSM_STACKED_MEMORY
631 default y
632 bool "MSM7201A FFA"
633 help
634 Support for the Qualcomm MSM7201A FFA eval board.
635
636config MACH_TROUT
637 depends on ARCH_MSM7X01A
638 depends on MSM_STACKED_MEMORY
639 default y
640 bool "Trout"
641
642config MACH_MSM7X27_SURF
643 depends on ARCH_MSM7X27
644 depends on !MSM_STACKED_MEMORY
645 default y
646 bool "MSM7x27 SURF"
647 help
648 Support for the Qualcomm MSM7x27 SURF eval board.
649
650config MACH_MSM7X27_FFA
651 depends on ARCH_MSM7X27
652 depends on !MSM_STACKED_MEMORY
653 default y
654 bool "MSM7x27 FFA"
655 help
656 Support for the Qualcomm MSM7x27 FFA eval board.
657
658config MACH_MSM7X27A_RUMI3
659 depends on ARCH_MSM7X27A
660 depends on !MSM_STACKED_MEMORY
661 default y
662 bool "MSM7x27A RUMI3"
663 help
664 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
665
666config MACH_MSM7X27A_SURF
667 depends on ARCH_MSM7X27A
668 depends on !MSM_STACKED_MEMORY
669 default y
670 bool "MSM7x27A SURF"
671 help
672 Support for the Qualcomm MSM7x27A SURF.
673
674config MACH_MSM7X27A_FFA
675 depends on ARCH_MSM7X27A
676 depends on !MSM_STACKED_MEMORY
677 default y
678 bool "MSM7x27A FFA"
679 help
680 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700681
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530682config MACH_MSM7625A_SURF
683 depends on ARCH_MSM7X27A
684 depends on !MSM_STACKED_MEMORY
685 default y
686 bool "MSM7625A SURF"
687 help
688 Support for the Qualcomm MSM7625A SURF.
689
690config MACH_MSM7625A_FFA
691 depends on ARCH_MSM7X27A
692 depends on !MSM_STACKED_MEMORY
693 default y
694 bool "MSM7625A FFA"
695 help
696 Support for the Qualcomm MSM7625A FFA.
697
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530698config MACH_MSM7627A_QRD1
699 depends on ARCH_MSM7X27A
700 depends on !MSM_STACKED_MEMORY
701 default y
702 bool "MSM7627A QRD1"
703 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530704 Support for the Qualcomm MSM7627A Reference Design.
705
706config MACH_MSM7627A_QRD3
707 depends on ARCH_MSM7X27A
708 depends on !MSM_STACKED_MEMORY
709 default y
710 bool "MSM7627A QRD3"
711 help
712 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530713
Taniya Dasc868a2e2012-01-03 10:18:47 +0530714config MACH_MSM7627A_EVB
715 depends on ARCH_MSM7X27A
716 depends on !MSM_STACKED_MEMORY
717 default y
718 bool "MSM7627A EVB"
719 help
720 Support for the Qualcomm MSM7627A Reference Design.
721
Taniya Das43bcdd62011-12-02 17:33:27 +0530722config MACH_MSM8625_RUMI3
723 depends on ARCH_MSM8625
724 depends on !MSM_STACKED_MEMORY
725 default y
726 bool "MSM8625 RUMI3"
727 help
728 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
729
Taniya Dase3027e22012-02-27 16:32:27 +0530730config MACH_MSM8625_SURF
731 depends on ARCH_MSM8625
732 depends on !MSM_STACKED_MEMORY
733 default y
734 bool "MSM8625 SURF"
735 help
736 Support for the Qualcomm MSM8625 SURF.
737
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530738config MACH_MSM8625_FFA
739 depends on ARCH_MSM8625
740 depends on !MSM_STACKED_MEMORY
741 default y
742 bool "MSM8625 FFA"
743 help
744 Support for the Qualcomm MSM8625 FFA.
745
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530746config MACH_MSM8625_EVB
747 depends on ARCH_MSM8625
748 depends on !MSM_STACKED_MEMORY
749 default y
750 bool "MSM8625 EVB"
751 help
752 Support for the Qualcomm MSM8625 Reference Design.
753
Taniya Dasbd096542012-03-15 17:43:45 +0530754config MACH_MSM8625_QRD7
755 depends on ARCH_MSM8625
756 depends on !MSM_STACKED_MEMORY
757 default y
758 bool "MSM8625 QRD7"
759 help
760 Support for the Qualcomm MSM8625 Reference Design.
761
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530762config MACH_MSM8625_EVT
763 depends on ARCH_MSM8625
764 depends on !MSM_STACKED_MEMORY
765 default y
766 bool "MSM8625 EVT"
767 help
768 Support for the Qualcomm MSM8625 Reference Design.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700769
Channagoud Kadabi2bd65c82012-10-12 15:14:23 +0530770config MACH_QRD_SKUD_PRIME
771 depends on ARCH_MSM8625
772 depends on !MSM_STACKED_MEMORY
773 default y
774 bool "MSM8625 SKUD PRIME"
775 help
776 Support for the Qualcomm MSM8625 SKUD prime Reference Design.
777 Add support for a SKUD prime reference design based on MSM8x25
778 chipset. This device is much closer to a phone than regular form
779 factor devices, with new touch, display panel and other hardware
780 configurations.
781
Daniel Walker7b521612010-05-06 12:44:57 -0700782config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700783 depends on ARCH_MSM7X30
784 depends on !MSM_STACKED_MEMORY
785 default y
786 bool "MSM7x30 SURF"
787 help
788 Support for the Qualcomm MSM7x30 SURF eval board.
789
790config MACH_MSM7X30_FFA
791 depends on ARCH_MSM7X30
792 depends on !MSM_STACKED_MEMORY
793 default y
794 bool "MSM7x30 FFA"
795 help
796 Support for the Qualcomm MSM7x30 FFA eval board.
797
798config MACH_MSM7X30_FLUID
799 depends on ARCH_MSM7X30
800 depends on !MSM_STACKED_MEMORY
801 default y
802 bool "MSM7x30 FLUID"
803 help
804 Support for the Qualcomm MSM7x30 FLUID eval board.
805
806config MACH_SAPPHIRE
807 depends on ARCH_MSM7X01A
808 default n
809 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700810
Daniel Walker4ad15e62010-05-06 13:54:17 -0700811config MACH_QSD8X50_SURF
812 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700813 depends on MSM_SOC_REV_NONE
814 depends on MSM_STACKED_MEMORY
815 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700816 bool "QSD8x50 SURF"
817 help
818 Support for the Qualcomm QSD8x50 SURF eval board.
819
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700820config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700821 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700822 depends on MSM_SOC_REV_NONE
823 depends on MSM_STACKED_MEMORY
824 default y
825 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700826 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700827 Support for the Qualcomm QSD8x50 FFA eval board.
828
829config MACH_MSM7X25_SURF
830 depends on ARCH_MSM7X25
831 depends on !MSM_STACKED_MEMORY
832 default y
833 bool "MSM7x25 SURF"
834 help
835 Support for the Qualcomm MSM7x25 SURF eval board.
836
837config MACH_MSM7X25_FFA
838 depends on ARCH_MSM7X25
839 depends on !MSM_STACKED_MEMORY
840 default y
841 bool "MSM7x25 FFA"
842 help
843 Support for the Qualcomm MSM7x25 FFA eval board.
844
845config MACH_MSM8X55_SURF
846 depends on ARCH_MSM7X30
847 depends on !MSM_STACKED_MEMORY
848 default y
849 bool "MSM8X55 SURF"
850 help
851 Support for the Qualcomm MSM8x55 SURF eval board.
852
853config MACH_MSM8X55_FFA
854 depends on ARCH_MSM7X30
855 depends on !MSM_STACKED_MEMORY
856 default y
857 bool "MSM8X55 FFA"
858 help
859 Support for the Qualcomm MSM8x55 FFA eval board.
860
861config MACH_MSM8X55_SVLTE_FFA
862 depends on ARCH_MSM7X30
863 depends on !MSM_STACKED_MEMORY
864 default y
865 bool "MSM8X55 SVLTE FFA"
866 help
867 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
868
869config MACH_MSM8X55_SVLTE_SURF
870 depends on ARCH_MSM7X30
871 depends on !MSM_STACKED_MEMORY
872 default y
873 bool "MSM8X55 SVLTE SURF"
874 help
875 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700876
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700877config MACH_MSM8X60_SURF
878 depends on ARCH_MSM8X60
879 default n
880 bool "MSM8x60 SURF"
881 help
882 Support for the Qualcomm MSM8x60 SURF eval board.
883
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700884config MACH_MSM8X60_FFA
885 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700886 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700887 bool "MSM8x60 FFA"
888 help
889 Support for the Qualcomm MSM8x60 FFA eval board.
890
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700891config MACH_MSM8X60_FLUID
892 depends on ARCH_MSM8X60
893 default n
894 bool "MSM8x60 FLUID"
895 help
896 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
897 8x60 target which has a form factor that is much closer to that
898 of a phone than other targets. It also has a new display and
899 touchscreen controller.
900
901config MACH_MSM8X60_FUSION
902 depends on ARCH_MSM8X60
903 default n
904 bool "MSM8x60 FUSION"
905 help
906 Support for the Qualcomm MSM8x60 Fusion SURF device.
907
908config MACH_MSM8X60_FUSN_FFA
909 depends on ARCH_MSM8X60
910 default n
911 bool "MSM8x60 FUSN FFA"
912 help
913 Support for the Qualcomm MSM8x60 Fusion FFA device.
914
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400915config MACH_MSM8X60_DRAGON
916 depends on ARCH_MSM8X60
917 default n
918 bool "MSM8x60 DRAGON"
919 help
920 Support for the Qualcomm MSM8x60 Dragon board.
921
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700922config MACH_MSM8960_CDP
923 depends on ARCH_MSM8960
924 bool "MSM8960 CDP"
925 help
926 Support for the Qualcomm MSM8960 CDP device.
927
928config MACH_MSM8960_MTP
929 depends on ARCH_MSM8960
930 bool "MSM8960 MTP"
931 help
932 Support for the Qualcomm MSM8960 MTP device.
933
934config MACH_MSM8960_FLUID
935 depends on ARCH_MSM8960
936 bool "MSM8960 FLUID"
937 help
938 Support for the Qualcomm MSM8960 FLUID device.
939
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +0300940config MACH_MSM8960_LIQUID
941 depends on ARCH_MSM8960
942 bool "MSM8960 LIQUID"
943 help
944 Support for the Qualcomm MSM8960 LIQUID device.
945
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700946config MACH_MSM8930_CDP
947 depends on ARCH_MSM8930
948 bool "MSM8930 CDP"
949 help
950 Support for the Qualcomm MSM8930 CDP device.
951
952config MACH_MSM8930_MTP
953 depends on ARCH_MSM8930
954 bool "MSM8930 MTP"
955 help
956 Support for the Qualcomm MSM8930 MTP device.
957
958config MACH_MSM8930_FLUID
959 depends on ARCH_MSM8930
960 bool "MSM8930 FLUID"
961 help
962 Support for the Qualcomm MSM8930 FLUID device.
963
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -0800964config MACH_MSM8627_CDP
965 depends on ARCH_MSM8930
966 bool "MSM8627 CDP"
967 help
968 Support for the Qualcomm MSM8627 CDP device.
969
970config MACH_MSM8627_MTP
971 depends on ARCH_MSM8930
972 bool "MSM8627 MTP"
973 help
974 Support for the Qualcomm MSM8627 MTP device.
975
Rohit Vaswania8e7a832011-09-28 21:00:05 -0700976config MACH_MSM9615_CDP
977 depends on ARCH_MSM9615
978 bool "MSM9615 CDP"
979 help
980 Support for the Qualcomm MSM9615 CDP device.
981
982config MACH_MSM9615_MTP
983 depends on ARCH_MSM9615
984 bool "MSM9615 MTP"
985 help
986 Support for the Qualcomm MSM9615 MTP device.
987
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700988config MSM_USE_TSIF1
989 depends on ARCH_MSM8X60
990 bool "MSM8x60 use TSIF1"
991 help
992 Selects TSIF1 core to be used rather than TSIF0.
993 The two TSIF cores share the same DM configuration
994 so they cannot be used simultaneously.
995
Joel King82b7e3f2012-01-05 10:03:27 -0800996config MACH_APQ8064_CDP
997 depends on ARCH_APQ8064
998 bool "APQ8064 CDP"
999 help
1000 Support for the Qualcomm APQ8064 CDP device.
1001
Rohit Vaswani4375c802013-01-09 13:38:19 -08001002config MACH_FSM8064_EP
1003 depends on ARCH_APQ8064
1004 bool "FSM8064 EP"
1005 help
1006 Support for the Qualcomm FSM8064 EP device.
1007 This board also known as Femto development platform (FDP)
1008 is based on APQ8064 chipset. This board does not support
1009 keyboard, display or multimedia.
1010
Joel King82b7e3f2012-01-05 10:03:27 -08001011config MACH_APQ8064_MTP
1012 depends on ARCH_APQ8064
1013 bool "APQ8064 MTP"
1014 help
1015 Support for the Qualcomm APQ8064 MTP device.
1016
1017config MACH_APQ8064_LIQUID
1018 depends on ARCH_APQ8064
1019 bool "APQ8064 LIQUID"
1020 help
1021 Support for the Qualcomm APQ8064 LIQUID device.
1022
Joel King064bbf82012-04-01 13:23:39 -07001023config MACH_MPQ8064_CDP
1024 depends on ARCH_APQ8064
1025 bool "MPQ8064 CDP"
1026 help
1027 Support for the Qualcomm MPQ8064 CDP device.
1028
Joel King11ca8202012-02-13 16:19:03 -08001029config MACH_MPQ8064_HRD
1030 depends on ARCH_APQ8064
1031 bool "MPQ8064 HRD"
1032 help
1033 Support for the Qualcomm MPQ8064 HRD device.
1034
1035config MACH_MPQ8064_DTV
1036 depends on ARCH_APQ8064
1037 bool "MPQ8064 DTV"
1038 help
1039 Support for the Qualcomm MPQ8064 DTV device.
1040
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001041config MACH_FSM9XXX_SURF
1042 depends on ARCH_FSM9XXX
1043 depends on !MSM_STACKED_MEMORY
1044 default y
1045 bool "FSM9XXX SURF"
1046 help
1047 Support for the Qualcomm FSM9xxx femtocell
1048 chipset based SURF evaluation board and
1049 FFA board.
1050
Daniel Walker4ad15e62010-05-06 13:54:17 -07001051endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -08001052
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001053config MSM_STACKED_MEMORY
1054 bool "Stacked Memory"
1055 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -08001056 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001057 This option is used to indicate the presence of on-die stacked
1058 memory. When present this memory bank is used for a high speed
1059 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -08001060
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001061config PHYS_OFFSET
1062 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -07001063 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001064 default "0x80200000" if ARCH_APQ8064
1065 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -07001066 default "0x80200000" if ARCH_MSM8930
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001067 default "0x00000000" if ARCH_MSM8974
Stepan Moskovchenkob6ae7882013-01-24 15:47:18 -08001068 default "0x00000000" if ARCH_MSMZINC
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +05301069 default "0x00000000" if ARCH_MPQ8092
Syed Rameez Mustafa1c99fd32013-03-05 22:11:17 -08001070 default "0x00000000" if ARCH_MSM8226
1071 default "0x00000000" if ARCH_MSM8610
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001072 default "0x10000000" if ARCH_FSM9XXX
Abhimanyu Kapur20ac2ad2012-09-25 04:23:59 -07001073 default "0x00200000" if ARCH_MSM9625
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001074 default "0x00200000" if !MSM_STACKED_MEMORY
1075 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
1076 default "0x20000000" if ARCH_QSD8X50
1077 default "0x40200000" if ARCH_MSM8X60
1078 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -08001079
Mitchel Humpherys05e58812012-08-13 14:24:13 -07001080config KERNEL_MSM_CONTIG_MEM_REGION
1081 bool "Enable in-kernel contiguous memory region"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001082 default y if ARCH_MSM8X60
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001083 depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001084 help
Mitchel Humpherys05e58812012-08-13 14:24:13 -07001085 Enable the in-kernel contiguous memory allocator. Sets up a
1086 region of physically contiguous memory. This memory is
1087 reserved during initialization, and can be used
1088 generically.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001089
1090config KERNEL_PMEM_SMI_REGION
1091 bool "Enable in-kernel PMEM region for SMI"
1092 default y if ARCH_MSM8X60
1093 depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM))
1094 help
1095 Enable the in-kernel PMEM allocator to use SMI memory.
1096
1097config PMEM_GPU0
1098 bool "Enable PMEM GPU0 region"
1099 default y
1100 depends on ARCH_QSD8X50 && ANDROID_PMEM
1101 help
1102 Enable the PMEM GPU0 device on SMI Memory.
1103
1104config MSM_AMSS_VERSION
1105 int
1106 default 6210 if MSM_AMSS_VERSION_6210
1107 default 6220 if MSM_AMSS_VERSION_6220
1108 default 6225 if MSM_AMSS_VERSION_6225
1109
1110choice
1111 prompt "AMSS modem firmware version"
1112
1113 default MSM_AMSS_VERSION_6225
1114
1115 config MSM_AMSS_VERSION_6210
1116 bool "6.2.10"
1117
1118 config MSM_AMSS_VERSION_6220
1119 bool "6.2.20"
1120
1121 config MSM_AMSS_VERSION_6225
1122 bool "6.2.20 + New ADSP"
1123endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -08001124
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001125config MSM_HAS_DEBUG_UART_HS
Daniel Walkerbf83de42010-03-16 16:29:44 -07001126 bool
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001127 help
1128 Say Y here if high speed MSM UART is present.
1129
1130config MSM_HAS_DEBUG_UART_HS_V14
1131 bool
1132 select MSM_HAS_DEBUG_UART_HS
1133 help
1134 Say Y here if high speed MSM UART v1.4 is present.
1135
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301136config MSM_DEBUG_UART_PHYS
1137 hex
1138 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
1139 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
1140 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
1141 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
1142 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
1143 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
1144 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
1145 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
1146
Brian Swetland9e73c842007-11-26 04:12:13 -08001147choice
1148 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001149 depends on DEBUG_LL
Brian Swetland9e73c842007-11-26 04:12:13 -08001150
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001151 config DEBUG_MSM_UART1
1152 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301153 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001154 help
1155 Say Y here if you want the debug print routines to direct
1156 their output to the first serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001157
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001158 config DEBUG_MSM_UART2
1159 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301160 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001161 help
1162 Say Y here if you want the debug print routines to direct
1163 their output to the second serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001164
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001165 config DEBUG_MSM_UART3
1166 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301167 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001168 help
1169 Say Y here if you want the debug print routines to direct
1170 their output to the third serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001171
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001172 config DEBUG_MSM8660_UART
1173 bool "Kernel low-level debugging messages via MSM 8660 UART"
1174 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001175 select MSM_HAS_DEBUG_UART_HS
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 serial port on MSM 8660 devices.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001179
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001180 config DEBUG_MSM8960_UART
1181 bool "Kernel low-level debugging messages via MSM 8960 UART"
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001182 depends on ARCH_MSM8960 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001183 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001184 help
1185 Say Y here if you want the debug print routines to direct
1186 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001187
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001188 config DEBUG_MSM8930_UART
1189 bool "Kernel low-level debugging messages via MSM 8930 UART"
1190 depends on ARCH_MSM8930 && DEBUG_LL
1191 select MSM_HAS_DEBUG_UART_HS
1192 help
1193 Say Y here if you want the debug print routines to direct
1194 their output to the serial port on MSM 8930 devices.
1195
1196 config DEBUG_APQ8064_UART
1197 bool "Kernel low-level debugging messages via APQ 8064 UART"
1198 depends on ARCH_APQ8064 && DEBUG_LL
1199 select MSM_HAS_DEBUG_UART_HS
1200 help
1201 Say Y here if you want the debug print routines to direct
1202 their output to the serial port on APQ 8064 devices.
1203
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001204 config DEBUG_MSM8974_UART
1205 bool "Kernel low-level debugging messages via MSM 8974 UART"
1206 depends on ARCH_MSM8974
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001207 select MSM_HAS_DEBUG_UART_HS_V14
1208 help
1209 Say Y here if you want the debug print routines to direct
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001210 their output to the serial port on MSM 8974 devices.
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +05301211
1212 config DEBUG_MPQ8092_UART
1213 bool "Kernel low-level debugging messages via MPQ8092 UART"
1214 depends on ARCH_MPQ8092
1215 select MSM_HAS_DEBUG_UART_HS_V14
1216 help
1217 Say Y here if you want the debug print routines to direct
1218 their output to the serial port on MPQ8092 devices.
Stepan Moskovchenko80064f32013-03-05 16:58:39 -08001219
1220 config DEBUG_MSMZINC_UART
1221 bool "Kernel low-level debugging messages via MSMZINC UART"
1222 depends on ARCH_MSMZINC
1223 select MSM_HAS_DEBUG_UART_HS_V14
1224 help
1225 Say Y here if you want the debug print routines to direct
1226 their output to the serial port on MSMZINC devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001227endchoice
Brian Swetland9e73c842007-11-26 04:12:13 -08001228
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001229choice
1230 prompt "Default Timer"
1231 default MSM7X00A_USE_GP_TIMER
1232
1233 config MSM7X00A_USE_GP_TIMER
1234 bool "GP Timer"
1235 help
1236 Low resolution timer that allows power collapse from idle.
1237
1238 config MSM7X00A_USE_DG_TIMER
1239 bool "DG Timer"
1240 help
1241 High resolution timer.
1242endchoice
1243
1244choice
1245 prompt "Suspend sleep mode"
1246 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1247 help
1248 Allows overriding the sleep mode used. Leave at power
1249 collapse suspend unless the arm9 image has problems.
1250
1251 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1252 bool "Power collapse suspend"
1253 help
1254 Lowest sleep state. Returns through reset vector.
1255
1256 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1257 bool "Power collapse"
1258 help
1259 Sleep state that returns through reset vector.
1260
1261 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1262 bool "Apps Sleep"
1263
1264 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1265 bool "Ramp down cpu clock and wait for interrupt"
1266
1267 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1268 bool "Wait for interrupt"
1269endchoice
1270
1271config MSM7X00A_SLEEP_MODE
1272 int
1273 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1274 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1275 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1276 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1277 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1278
1279choice
1280 prompt "Idle sleep mode"
1281 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1282 help
1283 Allows overriding the sleep mode used from idle. Leave at power
1284 collapse suspend unless the arm9 image has problems.
1285
1286 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1287 bool "Power collapse suspend"
1288 help
1289 Lowest sleep state. Returns through reset vector.
1290
1291 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1292 bool "Power collapse"
1293 help
1294 Sleep state that returns through reset vector.
1295
1296 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1297 bool "Apps Sleep"
1298
1299 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1300 bool "Ramp down cpu clock and wait for interrupt"
1301
1302 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1303 bool "Wait for interrupt"
1304endchoice
1305
1306config MSM7X00A_IDLE_SLEEP_MODE
1307 int
1308 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1309 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1310 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1311 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1312 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1313
1314config MSM7X00A_IDLE_SLEEP_MIN_TIME
1315 int "Minimum idle time before sleep"
1316 default 20000000
1317 help
1318 Minimum idle time in nanoseconds before entering low power mode.
1319
1320config MSM7X00A_IDLE_SPIN_TIME
1321 int "Idle spin time before cpu ramp down"
1322 default 80000
1323 help
1324 Spin time in nanoseconds before ramping down cpu clock and entering
1325 any low power state.
1326
1327menuconfig MSM_IDLE_STATS
1328 bool "Collect idle statistics"
1329 default y
1330 help
1331 Collect idle statistics and export them in proc/msm_pm_stats.
1332
1333if MSM_IDLE_STATS
1334
1335config MSM_IDLE_STATS_FIRST_BUCKET
1336 int "First bucket time"
1337 default 62500
1338 help
1339 Upper time limit in nanoseconds of first bucket.
1340
1341config MSM_IDLE_STATS_BUCKET_SHIFT
1342 int "Bucket shift"
1343 default 2
1344
1345config MSM_IDLE_STATS_BUCKET_COUNT
1346 int "Bucket count"
1347 default 10
1348
1349config MSM_SUSPEND_STATS_FIRST_BUCKET
1350 int "First bucket time for suspend"
1351 default 1000000000
1352 help
1353 Upper time limit in nanoseconds of first bucket of the
1354 histogram. This is for collecting statistics on suspend.
1355
1356endif # MSM_IDLE_STATS
1357
1358config CPU_HAS_L2_PMU
1359 bool "L2CC PMU Support"
1360 help
1361 Select this if the L2 cache controller has a Performance Monitoring Unit.
1362
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001363config HTC_HEADSET
1364 tristate "HTC 2 Wire detection driver"
1365 default n
1366 help
1367 Provides support for detecting HTC 2 wire devices, such as wired
1368 headset, on the trout platform. Can be used with the msm serial
1369 debugger, but not with serial console.
1370
1371config TROUT_BATTCHG
1372 depends on MACH_TROUT && POWER_SUPPLY
1373 default y
1374 bool "Trout battery / charger driver"
1375
1376config HTC_PWRSINK
1377 depends on MSM_SMD
1378 default n
1379 bool "HTC Power Sink Driver"
1380
1381config QSD_SVS
1382 bool "QSD Static Voltage Scaling"
1383 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1384 default y
1385 select TPS65023
1386 help
1387 Enables static voltage scaling using the TPS65023 PMIC.
1388
1389config QSD_PMIC_DEFAULT_DCDC1
1390 int "PMIC default output voltage"
1391 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1392 default 1250
1393 help
1394 This is the PMIC voltage at Linux kernel boot.
1395
1396config MSM_FIQ_SUPPORT
1397 default y
1398 bool "Enable installation of an FIQ handler."
1399
1400config MSM_SERIAL_DEBUGGER
1401 select MSM_FIQ_SUPPORT
1402 select KERNEL_DEBUGGER_CORE
1403 default n
1404 bool "FIQ Mode Serial Debugger"
1405 help
1406 The FIQ serial debugger can accept commands even when the
1407 kernel is unresponsive due to being stuck with interrupts
1408 disabled. Depends on the kernel debugger core in drivers/misc.
1409
1410config MSM_SERIAL_DEBUGGER_CONSOLE
1411 depends on MSM_SERIAL_DEBUGGER
1412 default n
1413 bool "Console on FIQ Serial Debugger port"
1414 help
1415 Enables a console so that printk messages are displayed on
1416 the debugger serial port as the occur.
Brian Swetland9e73c842007-11-26 04:12:13 -08001417
Gregory Beanab78cde2010-09-01 16:26:12 -07001418config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001419 default y
1420 bool "Proc-Comm RPC Interface"
1421 help
1422 Enables a lightweight communications interface to the
1423 baseband processor.
Gregory Beanab78cde2010-09-01 16:26:12 -07001424
Gregory Bean1963a2a2010-08-28 10:05:44 -07001425config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001426 bool "MSM Shared Memory Driver (SMD)"
1427 help
1428 Support for the shared memory interface between the apps
1429 processor and the baseband processor. Provides access to
1430 the "shared heap", as well as virtual serial channels
1431 used to communicate with various services on the baseband
1432 processor.
1433
1434choice
1435 prompt "MSM Shared memory interface version"
1436 depends on MSM_SMD
1437 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1438 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1439
1440 config MSM_SMD_PKG3
1441 bool
1442 prompt "Package 3"
1443
1444 config MSM_SMD_PKG4
1445 bool
1446 prompt "Package 4"
1447endchoice
1448
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001449config MSM_PCIE
1450 bool "MSM PCIe Controller driver"
1451 depends on PCI && PCI_MSI
1452 help
1453 Enables the PCIe functionality by configures PCIe core on
1454 MSM chipset and by enabling the ARM PCI framework extension.
1455
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001456config MSM_RPC_SDIO_XPRT
1457 depends on MSM_SDIO_AL
1458 default y
1459 bool "MSM SDIO XPRT Layer"
1460 help
1461 SDIO Transport Layer for RPC Rouer
1462
1463config MSM_RPC_SDIO_DEBUG
1464 depends on MSM_RPC_SDIO_XPRT
1465 default y
1466 bool "MSM SDIO XPRT debug support"
1467 help
1468 Support for debugging SDIO XPRT
1469
1470config MSM_SMD_DEBUG
1471 depends on MSM_SMD
1472 default y
1473 bool "MSM SMD debug support"
1474 help
1475 Support for debugging the SMD for communication
1476 between the ARM9 and ARM11
1477
1478config MSM_SDIO_AL
1479 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1480 default y
1481 tristate "SDIO-Abstraction-Layer"
1482 help
1483 Support MSM<->MDM Communication over SDIO bus.
1484 MDM SDIO-Client should have pipes support.
1485
1486config MSM_SDIO_DMUX
1487 bool "SDIO Data Mux Driver"
1488 depends on MSM_SDIO_AL
1489 default n
1490 help
1491 Support Muxed Data Channels over SDIO interface.
1492
1493config MSM_BAM_DMUX
1494 bool "BAM Data Mux Driver"
1495 depends on SPS
1496 default n
1497 help
1498 Support Muxed Data Channels over BAM interface.
1499 BAM has a limited number of pipes. This driver
1500 provides a means to support more logical channels
1501 via muxing than BAM could without muxing.
1502
1503config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001504 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001505 default y
1506 bool "MSM N-WAY SMD support"
1507 help
1508 Supports APPS-QDSP SMD communication along with
1509 normal APPS-MODEM SMD communication.
1510
1511config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001512 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001513 default y
1514 bool "MSM N-WAY SMSM support"
1515 help
1516 Supports APPS-QDSP SMSM communication along with
1517 normal APPS-MODEM SMSM communication.
1518
Eric Holmberg6275b602012-11-19 13:05:04 -07001519config MSM_SMP2P
1520 bool "SMSM Point-to-Point (SMP2P)"
1521 depends on MSM_SMD
1522 help
1523 Provide point-to-point remote signaling support.
1524 SMP2P enables transferring 32-bit values between
1525 the local and a remote system using shared
1526 memory and interrupts. A client can open multiple
1527 32-bit values by specifying a unique string and
1528 remote processor ID.
1529
1530config MSM_SMP2P_TEST
1531 bool "SMSM Point-to-Point Test"
1532 depends on MSM_SMP2P
1533 help
1534 Enables loopback and unit testing support for
1535 SMP2P. Loopback support is used by other
1536 processors to do unit testing. Unit tests
1537 are used to verify the local and remote
1538 implementations.
1539
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001540config MSM_RESET_MODEM
1541 tristate "Reset Modem Driver"
1542 depends on MSM_SMD
1543 default m
1544 help
1545 Allows the user to reset the modem through a device node.
1546
1547config MSM_SMD_LOGGING
1548 depends on MSM_SMD
1549 default y
1550 bool "MSM Shared Memory Logger"
1551 help
1552 This option exposes the shared memory logger at /dev/smem_log
1553 and a debugfs node named smem_log.
1554
1555 If in doubt, say yes.
1556
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001557config MSM_IPC_LOGGING
1558 bool "MSM Debug Logging for IPC Drivers"
1559 help
1560 This option allows the debug logging for IPC Drivers.
1561
1562 If in doubt, say no.
1563
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001564config MSM_SMD_NMEA
1565 bool "NMEA GPS Driver"
1566 depends on MSM_SMD
1567 default y
1568 help
1569 Enable this to support the NMEA GPS device.
1570
1571 If in doubt, say yes.
1572
1573config MSM_SDIO_TTY
1574 bool "SDIO TTY Driver"
1575 depends on MSM_SDIO_AL
1576 default n
1577 help
1578 Provides a TTY driver SDIO TTY
1579 This driver can be used by user space
1580 applications for passing data through the
1581 SDIO interface.
1582
1583config MSM_SMD_TTY
1584 bool "SMD TTY Driver"
1585 depends on MSM_SMD
1586 default y
1587 help
1588 Provides TTY interfaces to interact with the modem.
1589
1590 If in doubt, say yes.
1591
1592config MSM_SMD_QMI
1593 bool "SMD QMI Driver"
1594 depends on MSM_SMD
1595 default y
1596 help
1597 Manages network data connections.
1598
1599 If in doubt, say yes.
1600
1601config MSM_SMD_PKT
1602 bool "SMD Packet Driver"
1603 depends on MSM_SMD
1604 default y
1605 help
1606 Provides a binary SMD non-muxed packet port interface.
1607
1608 If in doubt, say yes.
1609
1610config MSM_SDIO_CMUX
1611 bool "SDIO CMUX Driver"
1612 depends on MSM_SDIO_AL
1613 default n
1614 help
1615 Provides a Muxed port interface over SDIO QMI
1616
1617config MSM_DSPS
1618 bool "Sensors DSPS driver"
1619 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1620 default n
1621 help
1622 Provides user-space interface to the sensors manager
1623 to turn on/off the Sensors Processor system clocks.
1624 It is the DSPS responsibility to turn on/off the sensors
1625 themself.
1626 The number of clocks and their name may vary between targets.
1627 It also triggers the PIL to load the DSPS firmware.
1628
1629config MSM_SDIO_CTL
1630 bool "SDIO CTL Driver"
1631 depends on MSM_SDIO_CMUX
1632 default n
1633 help
1634 Provides a binary SDIO control port interface.
1635
1636config MSM_ONCRPCROUTER
1637 depends on MSM_SMD
1638 default n
1639 bool "MSM ONCRPC router support"
1640 help
1641 Support for the MSM ONCRPC router for communication between
1642 the ARM9 and ARM11
1643
1644config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001645 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001646 default n
1647 bool "MSM IPC Router support"
1648 help
1649 Support for the MSM IPC Router for communication between
1650 the APPs and the MODEM
1651
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001652config MSM_IPC_ROUTER_SMD_XPRT
1653 depends on MSM_SMD
1654 depends on MSM_IPC_ROUTER
1655 default n
1656 bool "MSM SMD XPRT Layer"
1657 help
1658 SMD Transport Layer for IPC Router
1659
Karthikeyan Ramasubramanian5b502d3642012-09-23 22:23:36 -06001660config MSM_IPC_ROUTER_SECURITY
1661 depends on MSM_IPC_ROUTER
1662 bool "MSM IPC Router Security support"
1663 help
1664 This feature of IPC Router will enforce security rules
1665 configured by a security script from the user-space. IPC Router
1666 once configured with the security rules will ensure that the
1667 sender of the message to a service belongs to the relevant
1668 Linux group as configured by the security script.
1669
Karthikeyan Ramasubramanianfec77ff2012-10-26 20:03:26 -06001670config MSM_QMI_INTERFACE
1671 depends on MSM_IPC_ROUTER
1672 depends on QMI_ENCDEC
1673 default n
1674 bool "MSM QMI Interface Library"
1675 help
1676 Library to send and receive QMI messages over IPC Router.
1677 This library provides interface functions to the kernel drivers
1678 to perform QMI message marshaling and transport them over IPC
1679 Router.
1680
Karthikeyan Ramasubramaniana9859e82012-07-12 13:10:42 -06001681config MSM_TEST_QMI_CLIENT
1682 depends on MSM_QMI_INTERFACE
1683 bool "MSM TEST QMI CLIENT"
1684 help
1685 The sample QMI client provides a test code for QMI usage. The
1686 test_service client driver uses QMI interface library to send
1687 and receive QMI messages over IPC Router. The test code sends
1688 a synchronous QMI request to the test_service and handles the
1689 QMI responses.
1690
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001691config MSM_ONCRPCROUTER_DEBUG
1692 depends on MSM_ONCRPCROUTER
1693 default y
1694 bool "MSM debug ONCRPC router support"
1695 help
1696 Support for debugging the ONCRPC router for communication
1697 between the ARM9 and ARM11
1698
1699config MSM_RPC_LOOPBACK_XPRT
1700 depends on MSM_ONCRPCROUTER
1701 default n
1702 bool "MSM RPC local routing support"
1703 help
1704 Support for routing RPC messages between APPS clients
1705 and APPS servers. Helps in testing APPS RPC framework.
1706
1707config MSM_RPCSERVER_TIME_REMOTE
1708 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1709 default y
1710 bool "Time remote RPC server"
1711 help
1712 The time remote server receives notification of time bases and
1713 reports these events to registered callback functions.
1714
1715config MSM_RPCSERVER_WATCHDOG
1716 depends on MSM_ONCRPCROUTER
1717 default y
1718 bool "Watchdog RPC server"
1719 help
1720 The dog_keepalive server handles watchdog events.
1721
1722config MSM_RPC_WATCHDOG
1723 depends on MSM_ONCRPCROUTER
1724 default n
1725 bool "Watchdog RPC client"
1726 help
1727 The dog_keepalive client module.
1728
1729config MSM_RPC_PING
1730 depends on MSM_ONCRPCROUTER && DEBUG_FS
1731 default m
1732 bool "MSM rpc ping"
1733 help
1734 Implements MSM rpc ping test module.
1735
1736config MSM_RPC_PROC_COMM_TEST
1737 depends on DEBUG_FS && MSM_PROC_COMM
1738 default m
1739 bool "MSM rpc proc comm test"
1740 help
1741 Implements MSM rpc proc comm test module.
1742
1743config MSM_RPC_OEM_RAPI
1744 depends on MSM_ONCRPCROUTER
1745 default m
1746 bool "MSM oem rapi"
1747 help
1748 Implements MSM oem rapi client module.
1749
1750config MSM_RPCSERVER_HANDSET
1751 depends on MSM_ONCRPCROUTER
1752 default y
1753 bool "Handset events RPC server"
1754 help
1755 Support for receiving handset events like headset detect,
1756 headset switch and clamshell state.
1757
1758config MSM_RMT_STORAGE_CLIENT
1759 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1760 default n
1761 bool "Remote Storage RPC client"
1762 help
1763 Provide RPC mechanism for remote processors to access storage
1764 device on apps processor.
1765
1766config MSM_RMT_STORAGE_CLIENT_STATS
1767 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1768 default n
1769 bool "Remote storage RPC client performance statistics"
1770 help
1771 Collects performance statistics and shows this information
1772 through a debugfs file rmt_storage_stats.
1773
1774config MSM_SDIO_SMEM
1775 depends on MSM_SDIO_AL
1776 default n
1777 bool "SDIO SMEM for remote storage"
1778 help
1779 Copies data from remote MDM9K memory to local MSM8x60
1780 memory. Used by remote storage client to shadow
1781 MDM9K filesystem.
1782
1783config MSM_DALRPC
1784 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001785 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001786 help
1787 Supports RPC calls to DAL devices on remote processor cores.
1788
1789config MSM_DALRPC_TEST
1790 tristate "DAL RPC test module"
1791 depends on (MSM_DALRPC && DEBUG_FS)
1792 default m
1793 help
1794 Exercises DAL RPC calls to QDSP6.
1795
1796if CPU_FREQ_MSM
1797
1798config MSM_CPU_FREQ_SET_MIN_MAX
1799 bool "Set Min/Max CPU frequencies."
1800 default n
1801 help
1802 Allow setting min and max CPU frequencies. Sysfs can be used
1803 to override these values.
1804
1805config MSM_CPU_FREQ_MAX
1806 int "Max CPU Frequency"
1807 depends on MSM_CPU_FREQ_SET_MIN_MAX
1808 default 384000
1809
1810config MSM_CPU_FREQ_MIN
1811 int "Min CPU Frequency"
1812 depends on MSM_CPU_FREQ_SET_MIN_MAX
1813 default 245760
1814
1815endif # CPU_FREQ_MSM
1816
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001817config MSM_AVS_HW
1818 bool "Enable Adaptive Voltage Scaling (AVS)"
1819 default n
1820 help
1821 Enable AVS hardware to fine tune voltage at each frequency. The
1822 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1823 fine tune the voltages based on the feedback from the ring
1824 oscillators.
1825
1826config MSM_HW3D
1827 tristate "MSM Hardware 3D Register Driver"
1828 depends on ANDROID_PMEM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001829 help
1830 Provides access to registers needed by the userspace OpenGL|ES
1831 library.
1832
1833config MSM_ADSP
1834 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1835 tristate "MSM ADSP driver"
1836 depends on ANDROID_PMEM
1837 default y
1838 help
1839 Provides access to registers needed by the userspace aDSP library.
1840
1841config ADSP_RPC_VER
1842 hex
1843 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1844 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1845 depends on MSM_ADSP
1846 help
1847 Select proper ADSP RPC version
1848choice
1849 prompt "ADSP RPC version"
1850
1851 default AMSS_7X25_VERSION_2009
1852
1853 config AMSS_7X25_VERSION_2009
1854 bool "2.0.09"
1855
1856 config AMSS_7X25_VERSION_2008
1857 bool "2.0.08"
1858endchoice
1859
1860config MSM7KV2_AUDIO
1861 bool "MSM7K v2 audio"
1862 depends on (ARCH_MSM7X30 && ANDROID_PMEM)
1863 default y
1864 help
1865 Enables QDSP5V2-based audio drivers for audio playbacks and
1866 voice call.
1867
1868config MSM_ADSP_REPORT_EVENTS
1869 bool "Report modem events from the DSP"
1870 default y
1871 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1872 help
1873 Normally, only messages from the aDSP are reported to userspace.
1874 With this option, we report events from the aDSP as well.
1875
1876config MSM_QDSP6
1877 tristate "QDSP6 support"
1878 depends on ARCH_QSD8X50 && ANDROID_PMEM
1879 default y
1880 help
1881 Enable support for qdsp6. This provides audio and video functionality.
1882
1883config MSM8X60_AUDIO
1884 tristate "MSM8X60 audio support"
1885 depends on ARCH_MSM8X60 && ANDROID_PMEM
1886 default y
1887 help
1888 Enable support for qdsp6v2. This provides audio functionality.
1889
1890config MSM8X60_FTM_AUDIO_DEVICES
1891 bool "MSM8X60 audio factory test mode support"
1892 depends on MSM8X60_AUDIO
1893 help
1894 Enable support audio factory test mode devices. This is used
1895 in a production line environment.
1896
Ben Romberger45b351c2011-07-20 22:37:27 -07001897config RTAC
1898 bool "MSM8K real-time audio calibration support"
1899 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001900 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001901 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001902 audio operation
1903
1904config MSM7X27A_AUDIO
1905 bool "MSM7X27A audio support"
1906 depends on ARCH_MSM7X27A && MSM_ADSP
1907 default n
1908 help
1909 Enable support for 7x27a. This provides audio functionality.
1910
Justin Pauporea6cd2092011-06-22 16:19:45 -07001911config MSM_PROC_COMM_REGULATOR
Gregory Bean1963a2a2010-08-28 10:05:44 -07001912 bool
Justin Pauporea6cd2092011-06-22 16:19:45 -07001913 depends on MSM_PROC_COMM && REGULATOR
1914 help
1915 Enable regulator framework support for regulators managed by PMLIB
1916 on the modem, and controlled through proccomm calls.
1917
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001918config MSM_VREG_SWITCH_INVERTED
1919 bool "Reverse vreg switch polarity"
1920 default n
1921 help
1922 Reverses the enable and disable for vreg switch.
1923
1924config MSM_DMA_TEST
1925 tristate "MSM DMA test module"
1926 default m
1927 help
1928 Intended to be compiled as a module. Provides a device node
1929 and ioctls for testing the MSM dma system.
1930
1931config WIFI_CONTROL_FUNC
1932 bool "Enable WiFi control function abstraction"
1933 help
1934 Enables Power/Reset/Carddetect function abstraction
1935
1936config WIFI_MEM_PREALLOC
1937 depends on WIFI_CONTROL_FUNC
1938 bool "Preallocate memory for WiFi buffers"
1939 help
1940 Preallocates memory buffers for WiFi driver
1941
1942config QSD_AUDIO
1943 bool "QSD audio"
1944 depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP
1945 default y
1946 help
1947 Provides PCM, MP3, and AAC audio playback.
1948
1949config AUDIO_AAC_PLUS
1950 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
1951 bool "AAC+ Audio"
1952 default y
1953 help
1954 Provides AAC+ decoding
1955
1956config AUDIO_ENHANCED_AAC_PLUS
1957 depends on AUDIO_AAC_PLUS
1958 bool "Enhanced AAC+ Audio"
1959 default y
1960 help
1961 Provides Enhanced AAC+ decoding
1962
1963config SURF_FFA_GPIO_KEYPAD
1964 bool "MSM SURF/FFA GPIO keypad"
1965 depends on INPUT_GPIO = "y"
1966 default y
1967 help
1968 Select if the GPIO keypad is attached.
1969
1970config MSM_SLEEP_TIME_OVERRIDE
1971 bool "Allow overriding suspend/sleep time with PM module parameter"
1972 default y
1973 help
1974 Enable the module parameter sleep_time_override. Specified
1975 in units of seconds, it overwrites the normal sleep time of
1976 suspend. The feature is required for automated power management
1977 testing.
1978
1979config MSM_MEMORY_LOW_POWER_MODE
1980 bool "Control the low power modes of memory"
1981 default n
1982 help
1983 The application processor controls whether memory should enter
1984 which low power mode.
1985
1986choice
1987 prompt "Default Memory Low Power Mode during Idle"
1988 depends on MSM_MEMORY_LOW_POWER_MODE
1989 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1990 help
1991 Selects the default low power mode of the memory during idle
1992 sleep.
1993
1994 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
1995 bool "Memory active"
1996
1997 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
1998 bool "Memory in retention"
1999
2000 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
2001 bool "Memory in deep power down"
2002endchoice
2003
2004choice
2005 prompt "Default Memory Low Power Mode during Suspend"
2006 depends on MSM_MEMORY_LOW_POWER_MODE
2007 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
2008 help
2009 Selects the default low power mode of the memory during suspend
2010 sleep.
2011
2012 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
2013 bool "Memory active"
2014
2015 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
2016 bool "Memory in retention"
2017
2018 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
2019 bool "Memory in deep power down"
2020endchoice
2021
2022choice
2023 prompt "Power management timeout action"
2024 default MSM_PM_TIMEOUT_HALT
2025 help
2026 Selects the Application Processor's action when Power Management
2027 times out waiting for Modem's handshake.
2028
2029 config MSM_PM_TIMEOUT_HALT
2030 bool "Halt the Application Processor"
2031
2032 config MSM_PM_TIMEOUT_RESET_MODEM
2033 bool "Reset the Modem Processor"
2034
2035 config MSM_PM_TIMEOUT_RESET_CHIP
2036 bool "Reset the entire chip"
2037endchoice
2038
2039config MSM_IDLE_WAIT_ON_MODEM
2040 int "Wait for Modem to become ready for idle power collapse"
2041 default 0
2042 help
2043 If Modem is not ready to handle Application Processor's request
2044 for idle power collapse, wait the number of microseconds in case
2045 Modem becomes ready soon.
2046
Matt Wagantall9274df92011-12-15 11:11:05 -08002047config MSM_RPM_REGULATOR
2048 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08002049 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08002050 help
2051 Compile in support for the RPM regulator driver, used for setting
2052 voltages and other parameters of the various power rails supplied
2053 by some Qualcomm PMICs.
2054
David Collinsc7642322012-04-04 10:19:12 -07002055config MSM_RPM_REGULATOR_SMD
2056 bool "SMD RPM regulator driver"
2057 depends on REGULATOR
2058 depends on OF
2059 depends on MSM_RPM_SMD
2060 help
2061 Compile in support for the SMD RPM regulator driver which is used for
2062 setting voltages and other parameters of the various power rails
2063 supplied by some Qualcomm PMICs. The SMD RPM regulator driver should
2064 be used on systems which contain an RPM which communicates with the
2065 application processor over SMD.
2066
David Collins037d6482013-03-14 16:53:33 -07002067config MSM_SPM_REGULATOR
2068 bool "SPM regulator driver"
2069 depends on REGULATOR && SPMI && OF_SPMI
2070 help
2071 Enable support for the SPM regulator driver which is used for
2072 setting voltages of processor supply regulators via the SPM module
2073 found inside of the MSM chips. The SPM regulator driver can be used
2074 on MSM systems where the APSS processor cores are supplied by their
2075 own PMIC regulator.
2076
Rohit Vaswani5fd759e2012-11-07 07:05:08 -08002077config MSM_SMCMOD
2078 tristate "Secure Monitor Call (SMC) Module"
2079 default n
2080 depends on (ARCH_FSM9XXX && ION && ION_MSM && MSM_SCM)
2081 help
2082 Enable support for smcmod driver. This driver provides a mechanism
2083 to execute the Secure Monitor Call (SMC) to switch from non-secure
2084 to secure execution in the fsm9xxx targets. This module utilizes Ion
2085 for buffer management.
2086
Stephen Boyd01710582012-07-09 13:40:05 -07002087config MSM_SUBSYSTEM_RESTART
2088 bool "MSM Subsystem Restart"
2089 help
2090 This option enables the MSM subsystem restart framework.
2091
2092 The MSM subsystem restart framework provides support to boot,
2093 shutdown, and restart subsystems with a reference counted API.
2094 It also notifies userspace of transitions between these states via
2095 sysfs.
2096
2097config MSM_SYSMON_COMM
2098 bool "MSM System Monitor communication support"
2099 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
2100 help
2101 This option adds support for MSM System Monitor library, which
2102 provides an API that may be used for notifying subsystems within
2103 the SoC about other subsystems' power-up/down state-changes.
2104
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002105config MSM_PIL
2106 bool "Peripheral image loading"
2107 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002108 default n
2109 help
2110 Some peripherals need to be loaded into memory before they can be
2111 brought out of reset.
2112
2113 Say yes to support these devices.
2114
Stephen Boyd4eb885b2011-09-29 01:16:03 -07002115config MSM_PIL_MODEM
2116 tristate "Modem (ARM11) Boot Support"
Stephen Boyd3ac20732012-05-03 18:46:08 -07002117 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd4eb885b2011-09-29 01:16:03 -07002118 help
2119 Support for booting and shutting down ARM11 Modem processors.
2120
Stephen Boyd3acc9e42011-09-28 16:46:40 -07002121config MSM_PIL_QDSP6V3
2122 tristate "QDSP6v3 (Hexagon) Boot Support"
Stephen Boyd2e19d932012-05-09 17:36:04 -07002123 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd3acc9e42011-09-28 16:46:40 -07002124 help
2125 Support for booting and shutting down QDSP6v3 processors (hexagon).
2126 The QDSP6 is a low power DSP used in audio software applications.
2127
Stephen Boydbdb53f32012-06-05 18:39:47 -07002128config MSM_PIL_LPASS_QDSP6V4
2129 tristate "LPASS QDSP6v4 (Hexagon) Boot Support"
Stephen Boyda1cf76b2012-06-13 12:05:35 -07002130 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydeb819882011-08-29 14:46:30 -07002131 help
Stephen Boydbdb53f32012-06-05 18:39:47 -07002132 Support for booting and shutting down QDSP6v4 processors (hexagon)
2133 in low power audio subsystems. If you would like to record or
2134 play audio then say Y here.
2135
2136 If unsure, say N.
2137
2138config MSM_PIL_MODEM_QDSP6V4
2139 tristate "Modem QDSP6v4 (Hexagon) Boot Support"
Stephen Boyd2efa9962012-06-12 14:20:12 -07002140 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydbdb53f32012-06-05 18:39:47 -07002141 help
2142 Support for booting and shutting down QDSP6v4 processors (hexagon)
2143 in modem subsystems. If you would like to make or receive phone
2144 calls then say Y here.
2145
2146 If unsure, say N.
Stephen Boydeb819882011-08-29 14:46:30 -07002147
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07002148config MSM_PIL_LPASS_QDSP6V5
Stephen Boyd633eb622012-06-13 12:05:35 -07002149 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
2150 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
2151 help
2152 Support for booting and shutting down QDSP6v5 (Hexagon) processors
2153 in low power audio subsystems. This driver also monitors the ADSP
2154 SMSM status bits and the ADSP's watchdog interrupt and restarts the
2155 ADSP if the processor encounters a fatal error.
Matt Wagantall4e2599e2012-03-21 22:31:35 -07002156
2157config MSM_PIL_MSS_QDSP6V5
Stephen Boyd3da4fd02012-07-06 10:00:12 -07002158 tristate "MSS QDSP6v5 (Hexagon) Boot Support"
2159 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantalle6e00d52012-03-08 17:39:07 -08002160 help
Stephen Boyd3da4fd02012-07-06 10:00:12 -07002161 Support for booting and shutting down QDSP6v5 (Hexagon) processors
2162 in modem subsystems. If you would like to make or receive phone
2163 calls then say Y here.
2164
2165 If unsure, say N.
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07002166
Stephen Boyd322a9922011-09-20 01:05:54 -07002167config MSM_PIL_RIVA
2168 tristate "RIVA (WCNSS) Boot Support"
Stephen Boydfdec00d2012-05-10 17:04:49 -07002169 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd322a9922011-09-20 01:05:54 -07002170 help
2171 Support for booting and shutting down the RIVA processor (WCNSS).
2172 Riva is the wireless subsystem processor used in bluetooth, wireless
2173 LAN, and FM software applications.
2174
Stephen Boydd89eebe2011-09-28 23:28:11 -07002175config MSM_PIL_TZAPPS
2176 tristate "TZApps Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002177 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boydd89eebe2011-09-28 23:28:11 -07002178 help
2179 Support for booting and shutting down TZApps.
2180
2181 TZApps is an image that runs in the secure processor state. It is
2182 used to decrypt data and perform secure operations on the behalf of
2183 the kernel.
2184
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07002185config MSM_PIL_DSPS
2186 tristate "DSPS Boot Support"
Stephen Boydf169b4b2012-05-10 17:55:55 -07002187 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07002188 help
2189 Support for booting and shutting down ARM7 DSPS processors.
2190
2191 DSPS is a sensors offloading processor used for applications such
2192 as rotation detection, temperature, etc.
2193
Stephen Boyd7b973de2012-03-09 12:26:16 -08002194config MSM_PIL_VIDC
2195 tristate "Video Core Secure Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002196 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd7b973de2012-03-09 12:26:16 -08002197 help
2198 Support for authenticating the video core image.
2199
Tianyi Gou828798d2012-05-02 21:12:38 -07002200config MSM_PIL_VENUS
2201 tristate "VENUS (Video) Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002202 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Tianyi Gou828798d2012-05-02 21:12:38 -07002203 help
2204 Support for booting and shutting down the VENUS processor (Video).
2205 Venus is the Video subsystem processor used for video codecs.
2206
Matt Wagantall292aace2012-01-26 19:12:34 -08002207config MSM_PIL_GSS
Stephen Boydd86214b2012-05-10 15:26:35 -07002208 tristate "GSS (Cortex A5) Boot Support"
2209 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantall292aace2012-01-26 19:12:34 -08002210 help
2211 Support for booting and shutting down Cortex A5 processors which run
2212 GPS subsystem firmware.
2213
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002214config MSM_PIL_PRONTO
2215 tristate "PRONTO (WCNSS) Boot Support"
Stephen Boyd581fe852012-06-13 12:05:35 -07002216 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002217 help
2218 Support for booting and shutting down the PRONTO processor (WCNSS).
2219 PRONTO is the wireless subsystem processor used in bluetooth, wireless
2220 LAN, and FM software applications.
2221
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002222config MSM_SCM
2223 bool "Secure Channel Manager (SCM) support"
2224 default n
2225
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002226config SCORPION_Uni_45nm_BUG
2227 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
2228 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
2229 default y
2230 help
2231 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
2232 invalidating the Branch Predictor Array by Modified Virtual Address can
2233 create invalid entries in the TLB with the wrong ASID values on Scorpion
2234 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
2235 workaround for Scorpion Uniprocessor 45nm cores.
2236
2237 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
2238
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002239config MSM_BUSPM_DEV
2240 tristate "MSM Bus Performance Monitor Kernel Module"
Gagan Mac0d5d49e2012-08-28 19:41:37 -06002241 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002242 default m
2243 help
2244 This kernel module is used to mmap() hardware registers for the
2245 performance monitors, counters, etc. The module can also be used to
2246 allocate physical memory which is used by bus performance hardware to
2247 dump performance data.
2248
Mona Hossain11c03ac2011-10-26 12:42:10 -07002249config MSM_TZ_LOG
2250 tristate "MSM Trust Zone (TZ) Log Driver"
2251 depends on DEBUG_FS
2252 help
2253 This option enables a driver with a debugfs interface for messages
2254 produced by the Secure code (Trust zone). These messages provide
2255 diagnostic information about TZ operation.
2256
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002257config MSM_RPM_LOG
2258 tristate "MSM Resource Power Manager Log Driver"
2259 depends on DEBUG_FS
Priyanka Mathur49c60802012-12-13 12:53:58 -08002260 depends on MSM_RPM || MSM_RPM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002261 default n
2262 help
2263 This option enables a driver which can read from a circular buffer
2264 of messages produced by the RPM. These messages provide diagnostic
2265 information about RPM operation. The driver outputs the messages
2266 via a debugfs node.
2267
2268config MSM_RPM_STATS_LOG
2269 tristate "MSM Resource Power Manager Stat Driver"
2270 depends on DEBUG_FS
Priyanka Mathur1af9d4b2012-10-30 14:55:44 -07002271 depends on MSM_RPM || MSM_RPM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002272 default n
2273 help
2274 This option enables a driver which reads RPM messages from a shared
2275 memory location. These messages provide statistical information about
2276 the low power modes that RPM enters. The drivers outputs the message
2277 via a debugfs node.
2278
Girish Mahadevan898c56d2012-06-05 16:09:19 -06002279config MSM_RPM_RBCPR_STATS_LOG
2280 tristate "MSM Resource Power Manager RPBCPR Stat Driver"
2281 depends on DEBUG_FS
2282 depends on MSM_RPM
2283 help
2284 This option enables a driver which reads RPM messages from a shared
2285 memory location. These messages provide statistical information about
2286 RBCPR (Rapid Bridge Core Power Reduction) information . The drivers
2287 outputs the message via a debugfs node.
2288
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002289config MSM_DIRECT_SCLK_ACCESS
2290 bool "Direct access to the SCLK timer"
2291 default n
2292
2293config IOMMU_API
2294 bool
Gregory Bean1963a2a2010-08-28 10:05:44 -07002295
Brian Swetland9e73c842007-11-26 04:12:13 -08002296config MSM_GPIOMUX
2297 bool
2298
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002299config MSM_SECURE_IO
Brian Swetland9e73c842007-11-26 04:12:13 -08002300 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002301
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002302config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002303 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002304
Taniya Dascd1d0232012-07-03 17:50:47 +05302305config MSM_MODEM_RESTART
2306 bool
2307
Matt Wagantall88b86312012-01-31 16:53:03 -08002308config MSM_PM2
2309 depends on PM
2310 bool
2311
2312config MSM_PM8X60
2313 depends on PM
2314 bool
2315
Girish Mahadevan388c3082012-09-10 15:30:36 -06002316config MSM_EVENT_TIMER
2317 bool "Event timer"
2318 help
2319 This option enables a modules that manages a list of event timers that
2320 need to be monitored by the PM. The enables the PM code to monitor
2321 events that require the core to be awake and ready to handle the
2322 event.
2323
Matt Wagantall88b86312012-01-31 16:53:03 -08002324config MSM_NOPM
2325 default y if !PM
2326 bool
2327
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002328config MSM_BUS_SCALING
2329 bool "Bus scaling driver"
2330 default n
2331
Gagan Mac85c70492011-06-10 16:07:47 -06002332config MSM_BUS_RPM_MULTI_TIER_ENABLED
2333 bool "RPM Multi-tiering Configuration"
2334 depends on MSM_BUS_SCALING
2335
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002336config MSM_WATCHDOG
2337 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002338 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002339 help
2340 This enables the watchdog as is present on 8x60. Currently we use
2341 core 0's watchdog, and reset the entire SoC if it times out. It does
2342 not run during the bootup process, so it will not catch any early
2343 lockups.
2344
Hanumant Singhd1f01022012-07-05 14:21:53 -07002345config MSM_WATCHDOG_V2
2346 bool "MSM Watchdog Support"
2347 help
2348 This enables the watchdog module. It causes kernel panic if the
2349 watchdog times out. It allows for detection of cpu hangs and
2350 deadlocks. It does not run during the bootup process, so it will
2351 not catch any early lockups.
2352
Hanumant Singh5e2541c2012-07-31 14:41:14 -07002353config MSM_MEMORY_DUMP
2354 bool "MSM Memory Dump Support"
2355 help
2356 This enables memory dump feature. It allows various client
2357 subsystems to register respective dump regions. At the time
2358 of deadlocks or cpu hangs these dump regions are captured to
2359 give a snapshot of the system at the time of the crash.
2360
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002361config MSM_DLOAD_MODE
2362 bool "Enable download mode on crashes"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002363 default n
2364 help
2365 This makes the SoC enter download mode when it resets
2366 due to a kernel panic. Note that this doesn't by itself
2367 make the kernel reboot on a kernel panic - that must be
2368 enabled via another mechanism.
2369
Pratik Patel17f3b822011-11-21 12:41:47 -08002370config MSM_JTAG
Pratik Patel61e91702013-01-27 20:30:42 -08002371 bool "Debug and ETM trace support across power collapse"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002372 help
Pratik Patel61e91702013-01-27 20:30:42 -08002373 Enables support for debugging (specifically breakpoints) and ETM
Pratik Patel2963de42012-05-17 12:43:40 -07002374 processor tracing across power collapse both for JTag and OS hosted
2375 software running on the target. Enabling this will ensure debug
2376 and ETM registers are saved and restored across power collapse.
2377
Pratik Patel61e91702013-01-27 20:30:42 -08002378 If unsure, say 'N' here to avoid potential power, performance and
2379 memory penalty.
Pratik Patel7831c082011-06-08 21:44:37 -07002380
Pushkar Joshi64cae782012-12-15 18:59:03 -08002381config MSM_JTAG_MM
Pratik Patel61e91702013-01-27 20:30:42 -08002382 bool "Debug and ETM trace support across power collapse using memory mapped access"
Pushkar Joshi64cae782012-12-15 18:59:03 -08002383 help
Pratik Patel61e91702013-01-27 20:30:42 -08002384 Enables support for debugging (specifically breakpoints) and ETM
2385 processor tracing across power collapse both for JTag and OS hosted
2386 software running on the target. Enabling this will ensure debug
2387 and ETM registers are saved and restored across power collapse.
Pushkar Joshi64cae782012-12-15 18:59:03 -08002388
Pratik Patel61e91702013-01-27 20:30:42 -08002389 Required on targets on which cp14 access to debug and ETM registers is
2390 not permitted and so memory mapped access is necessary.
2391
2392 If unsure, say 'N' here to avoid potential power, performance and
2393 memory penalty.
Pushkar Joshi64cae782012-12-15 18:59:03 -08002394
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002395config MSM_ETM
2396 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002397 depends on ARCH_MSM8X60
2398 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002399 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002400 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002401
Lynus Vazdde09ee2012-01-05 13:28:22 +05302402config MSM_SLEEP_STATS_DEVICE
2403 bool "Enable exporting of MSM sleep device stats to userspace"
2404
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302405config MSM_RUN_QUEUE_STATS
2406 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Subbaraman Narayanamurthy0b148fc2012-11-28 12:14:12 -08002407 default n
Krishna Vankae2922052012-03-02 09:59:12 +05302408 help
2409 This option enalbes statistics collection on Run Queue. A daemon
2410 in user mode, called MPDecision will be using this data to decide
2411 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302412
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002413config MSM_STANDALONE_POWER_COLLAPSE
2414 bool "Enable standalone power collapse"
2415 default n
2416
2417config MSM_GSBI9_UART
2418 bool "Enable GSBI9 UART device"
2419 default n
2420 help
2421 This enables GSBI9 configured into UART.
2422
2423config MSM_SHARED_GPIO_FOR_UART2DM
2424 bool "Use shared GPIOs into UART mode"
2425 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2426 help
2427 This option configures GPIO muxed with SDC4/MMC3
2428 8-bit mode into UART mode. It is used for serial
2429 console on UART2DM. Say Y if you want to have
2430 serial console on UART2DM.
2431
2432config MSM_SHOW_RESUME_IRQ
2433 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002434 depends on (ARM_GIC || PMIC8058)
2435 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002436 default n
2437 help
2438 This option logs wake up interrupts that have triggered just before
2439 the resume loop unrolls. Say Y if you want to debug why the system
2440 resumed.
2441
2442config BT_MSM_PINTEST
2443 tristate "MSM Bluetooth Pin Connectivity Test"
2444 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2445 default n
2446 help
2447 Bluetooth MSM Pin Connectivity test module.
2448 This driver provides support for verifying the MSM to BT pin
2449 connectivity.
2450
2451config MSM_FAKE_BATTERY
2452 depends on POWER_SUPPLY
2453 default n
2454 bool "MSM Fake Battery"
2455 help
2456 Enables MSM fake battery driver.
2457
2458config MSM_QDSP6_APR
2459 bool "Audio QDSP6 APR support"
2460 depends on MSM_SMD
2461 default n
2462 help
2463 Enable APR IPC protocol support between
2464 application processor and QDSP6. APR is
2465 used by audio driver to configure QDSP6's
2466 ASM, ADM and AFE.
2467
Joonwoo Park91d95462012-08-02 10:55:54 -07002468config MSM_QDSP6_APRV2
2469 bool "Audio QDSP6 APRv2 support"
2470 depends on MSM_SMD
2471 default n
2472 help
2473 Enable APRv2 IPC protocol support between
2474 application processor and QDSP6. APR is
2475 used by audio driver to configure QDSP6's
2476 ASM, ADM and AFE.
2477
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -07002478config MSM_QDSP6_CODECS
2479 bool "Audio Codecs on QDSP6 APR "
2480 depends on MSM_SMD
2481 default n
2482 help
2483 Enable Audio codecs with APR IPC protocol support between
2484 application processor and QDSP6. APR is
2485 used by audio driver to configure QDSP6's
2486 ASM, ADM and AFE.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002487
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002488config MSM_QDSP6V2_CODECS
2489 bool "Audio QDSP6V2 APR support"
2490 depends on MSM_SMD
2491 help
2492 Enable Audio codecs with APR IPC protocol support between
2493 application processor and QDSP6 for B-family. APR is
2494 used by audio driver to configure QDSP6's
2495 ASM, ADM and AFE.
2496
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002497config MSM_AUDIO_QDSP6
2498 bool "QDSP6 HW Audio support"
2499 select SND_SOC_MSM_QDSP6_INTF
2500 default n
2501 help
2502 Enable HW audio support in QDSP6.
2503 QDSP6 can support HW encoder & decoder and audio processing
2504
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002505config MSM_AUDIO_QDSP6V2
2506 bool "QDSP6V2 HW Audio support"
2507 select SND_SOC_MSM_QDSP6V2_INTF
2508 help
2509 Enable HW audio support in QDSP6V2.
2510 QDSP6V2 can support HW encoder & decoder and
2511 audio processing. It will enable support for
2512 AAC, AMRNB, AMRWB, EVRC, MP3, QCELP among
2513 others.
2514
Joonwoo Park4a14a552012-08-02 11:03:21 -07002515config MSM_ADSP_LOADER
2516 tristate "ADSP loader support"
2517 select SND_SOC_MSM_APRV2_INTF
2518 depends on MSM_AUDIO_QDSP6V2 && m
2519 help
2520 Enable ADSP image loader.
2521 The ADSP loader brings ADSP out of reset
2522 for the platforms that use APRv2.
2523 Say M if you want to enable this module.
2524
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +02002525config MSM_ULTRASOUND_A
2526 bool "QDSP6 HW Ultrasound support"
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002527 help
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +02002528 Enable HW ultrasound support in QDSP6.
2529 QDSP6 can support HW encoder & decoder and
2530 ultrasound processing. It will enable
2531 ultrasound data paths between
2532 HW and services, calculating input events
2533 upon the ultrasound data.
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002534
Baruch Eruchimovitch8c3f7802013-01-05 22:48:04 +02002535config MSM_ULTRASOUND_B
2536 bool "QDSP6V2 HW Ultrasound support"
2537 help
2538 Enable HW Ultrasound support in QDSP6V2.
2539 QDSP6V2 can support HW encoder & decoder and
2540 ultrasound processing. It will enable
2541 ultrasound data paths between
2542 HW and services, calculating input events
2543 upon the ultrasound data.
2544
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002545config MSM_RPC_VIBRATOR
2546 bool "RPC based MSM Vibrator Support"
2547 depends on MSM_ONCRPCROUTER
2548 help
2549 Enable the vibrator support on MSM over RPC. The vibrator
2550 is connected on the PMIC. Say Y if you want to enable this
2551 feature.
2552
2553config PM8XXX_RPC_VIBRATOR
2554 bool "RPC based Vibrator on PM8xxx PMICs"
2555 depends on MSM_RPC_VIBRATOR
2556 help
2557 Enable the vibrator support on MSM over RPC. The vibrator
2558 is connected on the PM8XXX PMIC. Say Y if you want to enable
2559 this feature.
2560
2561config MSM_SPM_V1
2562 bool "Driver support for SPM Version 1"
2563 help
2564 Enables the support for Version 1 of the SPM driver. SPM hardware is
2565 used to manage the processor power during sleep. The driver allows
2566 configuring SPM to allow different power modes.
2567
2568config MSM_SPM_V2
2569 bool "Driver support for SPM Version 2"
2570 help
2571 Enables the support for Version 2 of the SPM driver. SPM hardware is
2572 used to manage the processor power during sleep. The driver allows
2573 configuring SPM to allow different power modes.
2574
2575config MSM_L2_SPM
2576 bool "SPM support for L2 cache"
2577 depends on MSM_SPM_V2
2578 help
2579 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2580 control of L2 cache low power mode with a Subsystem Power manager.
2581 Enabling this driver allows configuring L2 SPM for low power modes
2582 on supported chipsets.
2583
Laura Abbott2d1760b2011-09-29 21:31:24 -07002584config MSM_MULTIMEDIA_USE_ION
2585 bool "Multimedia suport using Ion"
2586 depends on ION_MSM
2587 help
2588 Enable support for multimedia drivers using Ion for buffer management
2589 instead of pmem. Selecting this may also involve userspace
2590 dependencies as well.
2591
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002592config MSM_OCMEM
2593 bool "MSM On-Chip memory driver (OCMEM)"
2594 help
2595 Enable support for On-Chip Memory available on certain MSM chipsets.
2596 OCMEM is a low latency, high performance pool shared by subsystems.
2597
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002598config MSM_OCMEM_LOCAL_POWER_CTRL
2599 bool "OCMEM Local Power Control"
2600 depends on MSM_OCMEM
2601 help
2602 Enable direct power management of the OCMEM core by the
2603 OCMEM driver. By default power management is delegated to
2604 the RPM. Selecting this option causes the OCMEM driver to
2605 directly handle the various macro power transitions.
2606
2607config MSM_OCMEM_DEBUG
2608 bool "OCMEM Debug Support"
2609 depends on MSM_OCMEM
2610 help
2611 Enable debug options for On-chip Memory (OCMEM) driver.
2612 Various debug options include memory, power and latency.
2613 Choosing one of these options allows debugging of each
2614 individual subsystem separately.
2615
Naveen Ramarajc71b2de2012-08-20 12:35:52 -07002616config MSM_OCMEM_NONSECURE
2617 bool "OCMEM Non Secure Mode"
2618 depends on MSM_OCMEM_DEBUG
2619 help
2620 Disable OCMEM interaction with secure processor.
2621 By default OCMEM is secured and accesses for each master
2622 is requested by the OCMEM driver. Selecting this option
2623 causes the OCMEM memory to be in non-secure state unless
2624 its locked down by the secure processor.
2625
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002626config MSM_OCMEM_POWER_DEBUG
2627 bool "OCMEM Power Debug Support"
2628 depends on MSM_OCMEM_DEBUG
2629 help
2630 Enable debug support for OCMEM power management.
2631 This adds support for verifying all power management
2632 related operations of OCMEM. Both local power management
2633 and RPM assisted power management operations are supported.
2634
Naveen Ramaraj4b1d9392012-08-06 21:05:14 -07002635config MSM_OCMEM_POWER_DISABLE
2636 bool "OCMEM Disable Power Control"
2637 depends on MSM_OCMEM_DEBUG
2638 help
2639 Disable all OCMEM power management.
2640 This keeps all OCMEM macros turned ON at all times thus
2641 never allowing them to be turned OFF. Both local power
2642 management and RPM assisted power modes are supported.
2643
Naveen Ramaraj88f23632012-10-10 12:23:29 -07002644config SENSORS_ADSP
2645 bool "Enable Sensors Driver Support for ADSP"
2646 help
2647 Add support for sensors ADSP driver.
2648 This driver is used for exercising different sensors use cases,
2649 such as for lower-power OCMEM use cases, and for time syncing
2650 with ADSP clock.
2651
Laura Abbottad340ff2012-01-04 14:23:48 -08002652config MSM_RTB
2653 bool "Register tracing"
2654 help
2655 Add support for logging different events to a small uncached
2656 region. This is designed to aid in debugging reset cases where the
2657 caches may not be flushed before the target resets.
2658
2659config MSM_RTB_SEPARATE_CPUS
2660 bool "Separate entries for each cpu"
2661 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002662 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002663 help
2664 Under some circumstances, it may be beneficial to give dedicated space
2665 for each cpu to log accesses. Selecting this option will log each cpu
2666 separately. This will guarantee that the last acesses for each cpu
2667 will be logged but there will be fewer entries per cpu
2668
Stepan Moskovchenko57884842012-06-07 17:35:49 -07002669config MSM_EBI_ERP
2670 bool "External Bus Interface (EBI) error reporting"
2671 help
2672 Say 'Y' here to enable reporting of external bus interface errors to
2673 the kernel log. Information such as the offending address and
2674 transaction type will be logged. This may be useful for debugging
2675 seemingly broken memory accesses.
2676
2677 For production builds, you should probably say 'N' here.
2678
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002679config MSM_CACHE_ERP
2680 bool "Cache / CPU error reporting"
2681 depends on ARCH_MSM_KRAIT
2682 help
2683 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2684 log. Enabling this feature can be used as a system debugging technique
2685 if cache corruption is suspected. Cache error statistics will also be
2686 reported in /proc/cpu/msm_cache_erp.
2687
2688 For production builds, you should probably say 'N' here.
2689
2690config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002691 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002692 depends on MSM_CACHE_ERP
2693 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002694 To cause the kernel to panic whenever an L1 cache error is detected, say
2695 'Y' here. This may be useful as a debugging technique if general system
2696 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002697
2698 For production builds, you should probably say 'N' here.
2699
Stepan Moskovchenkoe1aba3d2012-12-06 18:40:25 -08002700config MSM_L1_RECOV_ERR_PANIC
2701 bool "Panic on recoverable L1 cache errors"
2702 depends on MSM_CACHE_ERP && MSM_L1_ERR_PANIC
2703 help
2704 Certain CPU designs may be able to automatically recover from certain
2705 kinds of L1 cache errors, even though the L1 cache itself may not
2706 support error correction. These errors should not result in any kind
2707 of corruption, but their presence is nevertheless an indication of
2708 poor system health. To cause the kernel to panic whenever a
2709 recoverable L1 cache error is detected, say 'Y' here. This may be
2710 useful as a debugging technique if general system instability is
2711 suspected.
2712
2713 For production builds, you should definitely say 'N' here.
2714
Stepan Moskovchenko7035f652012-05-31 17:48:01 -07002715config MSM_L1_ERR_LOG
2716 bool "Log CPU ERP events to system memory"
2717 depends on MSM_CACHE_ERP
2718 help
2719 Enable logging CPU ERP events to an area of memory that will be
2720 preserved across a system reset. This may be useful for detecting and
2721 troubleshooting ERP-related system crashes in the field.
2722
2723 For production builds, you may want to say 'Y' here.
2724
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002725config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2726 bool "Report L2 master port slave/decode errors in kernel log"
2727 depends on MSM_CACHE_ERP
2728 help
2729 Master port errors can occur when a memory request is not properly
2730 handled by the destination slave. This can occur if the destination
2731 register does not exist or is inaccessible due to security
2732 restrictions or (in some cases) clock configuration. Enabling this
2733 option will cause a backtrace to be printed to the kernel log whenever
2734 such an error is encountered. Note that the error is reported as an
2735 interrupt rather than as an exception, meaning that the backtrace may
2736 have some skid. This option may help with debugging, though production
2737 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002738
2739config MSM_L2_ERP_PORT_PANIC
2740 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002741 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002742 help
2743 Master port errors can occur when a memory request is not properly
2744 handled by the destination slave. Enable this option to catch drivers
2745 which attempt to access bad areas of the address space, or access
2746 hardware registers in an improper state (such as certain clocks not
2747 being on). This option may help with debugging, though production
2748 builds should probably say 'N' here.
2749
2750config MSM_L2_ERP_1BIT_PANIC
2751 bool "Panic on recoverable L2 soft errors"
2752 depends on MSM_CACHE_ERP
2753 help
2754 Enable this option to cause a kernel panic whenever the L2 cache
2755 encounters a single-bit (correctable) soft error. This option should
2756 only be enabled when doing low-level debugging where cache corruption
2757 is suspected.
2758
2759 For production builds, you should definitely say 'N' here.
2760
2761config MSM_L2_ERP_2BIT_PANIC
2762 bool "Panic on unrecoverable L2 soft errors"
2763 depends on MSM_CACHE_ERP
2764 help
2765 Enable this option to cause a kernel panic whenever the L2 cache
2766 encounters a double-bit (non-correctable) soft error. Debug builds
2767 will likely benefit from having this option enabled to catch cache
2768 problems as soon as possible.
2769
2770 For production builds, it may be acceptable to say 'N' here, since
2771 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002772
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002773config MSM_DCVS
2774 bool "Use MSM DCVS for CPU/GPU Frequency control"
2775 depends on MSM_SCM
2776 help
2777 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2778 The DCVS manager allows idle driver to feed the idle information to the
2779 algorithm and the algorithm returns a frequency for the core which is
2780 passed to the frequency change driver.
2781
Pankaj Kumar32ce1ea2012-04-04 20:29:29 +05302782config MSM_CPR
2783 tristate "Use MSM CPR in S/W mode"
2784 help
2785 Enable CPR (core power reduction) in S/W mode, where the processor
2786 get's the notification from CPR block and programs the PMIC.
2787
2788config MSM_VP_REGULATOR
2789 tristate "Use MSM PMIC8029 C2 regulator"
2790 depends on ARCH_MSM8625
2791 help
2792 Enable MSM PMIC8029 C2 regulator support using APC_PLEVEL access
2793 for MSMs like 8625.
2794
Taniya Dasc43e6872012-03-21 16:41:14 +05302795config HAVE_ARCH_HAS_CURRENT_TIMER
2796 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002797
2798config MSM_CACHE_DUMP
2799 bool "Cache dumping support"
2800 help
2801 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2802 This allows for analysis of the caches in case cache corruption is
2803 suspected.
2804
Laura Abbott7b637362012-03-29 16:43:49 -07002805config MSM_CACHE_DUMP_ON_PANIC
2806 bool "Dump caches on panic"
2807 depends on MSM_CACHE_DUMP
2808 help
2809 By default, the caches are flushed on panic. This means that trying to
2810 look at them in a RAM dump will give useless data. Select this if you
2811 want to dump the L1 and L2 caches on panic before any flush occurs.
2812 If unsure, say N
2813
Jack Phamccbbfab2012-04-09 19:50:20 -07002814config MSM_HSIC_SYSMON
2815 tristate "MSM HSIC system monitor driver"
2816 depends on USB
2817 help
2818 Add support for bridging with the system monitor interface of MDM
2819 over HSIC. This driver allows the local system monitor to
2820 communicate with the remote system monitor interface.
2821
2822config MSM_HSIC_SYSMON_TEST
2823 tristate "MSM HSIC system monitor bridge test"
2824 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2825 help
2826 Enable the test hook for the Qualcomm system monitor HSIC driver.
2827 This will create a debugfs file entry named "hsic_sysmon_test" which
2828 can be read and written to send character data to the sysmon port of
2829 the modem over USB.
2830
Anirudh Ghayal0d2291a2012-09-20 21:31:41 +05302831config MSM_RPC_PMIC
2832 tristate "MSM RPC PMIC driver"
2833 depends on MSM_ONCRPCROUTER
2834 help
2835 This driver supports the PMIC functionality over RPC for those MSM's
2836 which do not have a direct access to PMIC. It supports ability to
2837 configure MPP, GPIO and all the other supported peripherals of the
2838 PMIC.
2839
Anirudh Ghayald3a63732012-09-20 22:13:13 +05302840config MSM_RPC_USB
2841 tristate "MSM RPC USB driver"
2842 depends on MSM_ONCRPCROUTER
2843 help
2844 This driver supports the USB configuration support over the RPC
2845 interface. It support the HS USB module connected to the MSM
2846 and FS USB which is connected over the PMIC. This support is
2847 required for MSMs on which the APPS does not have a direct access
2848 to the PMIC.
2849
2850config MSM_RPC_PMAPP
2851 tristate "MSM RPC PMIC APP driver"
2852 depends on MSM_ONCRPCROUTER
2853 help
2854 This driver supports the configuration of various PMIC APP modules
2855 such as display backlight, vreg pin-ctrl, smps clock over the RPC
2856 interface. This support is required for MSMs on which the APPS
2857 does not have a direct access to the PMIC.
Pushkar Joshi0fc73462012-09-26 17:59:31 -07002858
2859config MSM_ENABLE_WDOG_DEBUG_CONTROL
Pratik Patele08204d2013-03-12 17:43:56 -07002860 bool "Enable control of watchdog debug and boot partition select"
Pushkar Joshi0fc73462012-09-26 17:59:31 -07002861 help
Pratik Patele08204d2013-03-12 17:43:56 -07002862 Enables support for controlling watchdog debug and boot partition
2863 select. This is currently used to bypass debug image for PS_HOLD reset
2864 by disabling watchdog debug and boot partition select. This allows
2865 for a clean MSM reset for reboot scenarios.
Taniya Dasea4263f92012-08-22 18:52:51 +05302866
2867config MSM_FIQ
2868 bool "Enable FIQ for debugging"
2869 depends on ARCH_MSM8625
2870 select FIQ
Taniya Das36e4aa12012-07-04 18:27:16 +05302871 select GIC_SECURE
Taniya Dasea4263f92012-08-22 18:52:51 +05302872 help
2873 Enable any line to be used as an FIQ. This will help debugging
2874 if apps is not responding and holding lock with irqs disabled.
2875 Modem will then generate an raise a FIQ on this line before sending
2876 SMSM reset.
Greg Reidb1d240a2012-10-12 12:20:31 -04002877
2878config MSM_USE_USER_ACCESSIBLE_TIMERS
2879 bool "Enables mapping an MSM timer counter page to user space."
2880 depends on ARM_USE_USER_ACCESSIBLE_TIMERS
2881 help
2882 Enables MSM-specific user accessible timers via a shared
2883 memory page containing the cycle counter.
2884
Sidipotu Ashokbf84d4d2012-11-06 17:13:28 +05302885config USE_DEV_CTRL_VOLUME
2886 bool "Use Device Control Volume"
2887 help
2888 Use Device Control Volume as opposed to ALSA volume control.
2889
Jay Chokshi06e444f2012-12-06 20:48:23 -08002890config MSM_CPU_PWRCTL
2891 bool "Ensures that krait droop detectors are always off"
2892 help
2893 Droop detector mechanism can adversely affect krait plls during
2894 stand alone power collapse operation. Selecting this option
2895 ensures that they are always off.
2896
Saket Saurabh6089f952012-12-07 15:49:13 +05302897config MSM_UARTDM_Core_v14
2898 bool "Use MSM BLSP based HSUART Core v1.4"
2899 depends on SERIAL_MSM_HS
2900 help
2901 Select if BLSP based UART Core v.14 or higher is present.
Abhimanyu Kapurcf3ed152013-03-01 19:32:19 -08002902
2903config MSM_BOOT_STATS
2904 bool "Use MSM boot stats reporting"
2905 help
2906 Use this to report msm boot stats such as bootloader throughput,
2907 display init, total boot time.
2908 This figures are reported in mpm sleep clock cycles and have a
2909 resolution of 31 bits as 1 bit is used as an overflow check.
Syed Rameez Mustafa37f93472013-03-18 15:49:48 -07002910
2911config MSM_XPU_ERR_FATAL
2912 bool "Configure XPU violations as fatal errors"
2913 help
2914 Select if XPU violations have to be configured as fatal errors.
Willie Ruan2635a852013-03-17 16:33:42 -07002915
2916config MSM_CPR_REGULATOR
2917 bool "RBCPR regulator driver for APC"
2918 depends on REGULATOR
2919 depends on OF
2920 help
2921 Compile in RBCPR (RapidBridge Core Power Reduction) driver to support
2922 corner vote for APC power rail. The driver takes PTE process voltage
2923 suggestions in efuse as initial settings. It converts corner vote
2924 to voltage value before writing to a voltage regulator API, such as
2925 that provided by spm-regulator driver.
Brian Swetland9e73c842007-11-26 04:12:13 -08002926endif