blob: 716f9f0fbf75f4facc3039d9ea72b962b6b464a1 [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
Stepan Moskovchenko1eeff362013-05-14 19:28:55 -0700148 select MSM_SCM
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
Stepan Moskovchenko1eeff362013-05-14 19:28:55 -0700190 select MSM_SCM
Stepan Moskovchenko082952d2011-10-18 17:27:08 -0700191 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
Stepan Moskovchenko1eeff362013-05-14 19:28:55 -0700226 select MSM_SCM
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
Stepan Moskovchenko1eeff362013-05-14 19:28:55 -0700260 select MSM_SCM
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700261 select MSM_GPIOMUX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530262 select MULTI_IRQ_HANDLER
Olav Hauganb800c8c2012-01-30 08:50:45 -0800263 select MSM_MULTIMEDIA_USE_ION
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700264 select MSM_PIL
Praveen Chidambaramaa9d52b2012-04-02 11:09:47 -0600265 select MSM_SPM_V2
266 select MSM_L2_SPM
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700267 select MSM_NATIVE_RESTART
268 select MSM_RESTART_V2
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600269 select MSM_PM8X60 if PM
Steve Mucklef132c6c2012-06-06 18:30:57 -0700270 select MAY_HAVE_SPARSE_IRQ
271 select SPARSE_IRQ
Mahesh Sivasubramaniancb668712012-04-04 13:03:25 -0600272 select MSM_RPM_SMD
David Collinsc7642322012-04-04 10:19:12 -0700273 select REGULATOR
Joonwoo Park91d95462012-08-02 10:55:54 -0700274 select MSM_QDSP6_APRV2
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -0700275 select MSM_QDSP6V2_CODECS
276 select MSM_AUDIO_QDSP6V2 if SND_SOC
David Collins1c91ea72012-05-03 16:17:35 -0700277 select MSM_RPM_REGULATOR_SMD
Laura Abbottb14ed962012-01-30 14:18:08 -0800278 select ARM_HAS_SG_CHAIN
Karthik Parsha404fb8f2012-07-30 19:14:05 -0700279 select MSM_RUN_QUEUE_STATS
Neeti Desai92eab922012-10-22 15:14:48 -0700280 select MEMORY_HOLE_CARVEOUT
Priyanka Mathur1af9d4b2012-10-30 14:55:44 -0700281 select MSM_RPM_STATS_LOG
Karthikeyan Ramasubramanian1edce9e2012-11-08 18:26:10 -0700282 select QMI_ENCDEC
Neeti Desai1b2cb552012-11-01 21:57:36 -0700283 select DONT_MAP_HOLE_AFTER_MEMBANK0
Baruch Eruchimovitch8c3f7802013-01-05 22:48:04 +0200284 select MSM_ULTRASOUND_B
Priyanka Mathur94abc462012-12-11 16:34:52 -0800285 select MSM_RPM_LOG
Laura Abbottb46c18d2013-04-12 09:36:44 -0700286 select ARCH_WANT_KMAP_ATOMIC_FLUSH
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700287
Stepan Moskovchenkoe90cd652013-04-18 12:54:47 -0700288config ARCH_APQ8084
289 bool "APQ8084"
Stepan Moskovchenkob6ae7882013-01-24 15:47:18 -0800290 select ARCH_MSM_KRAITMP
291 select GPIO_MSM_V3
292 select ARM_GIC
293 select CPU_V7
Stepan Moskovchenko1eeff362013-05-14 19:28:55 -0700294 select MSM_SCM
Stepan Moskovchenkob6ae7882013-01-24 15:47:18 -0800295 select MSM_GPIOMUX
296 select MULTI_IRQ_HANDLER
297 select MSM_NATIVE_RESTART
298 select MSM_RESTART_V2
299 select MSM_PM8X60 if PM
300 select MAY_HAVE_SPARSE_IRQ
301 select SPARSE_IRQ
302 select REGULATOR
303 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko3a5ae972013-03-08 16:46:29 -0800304 select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
Laura Abbottb46c18d2013-04-12 09:36:44 -0700305 select ARCH_WANT_KMAP_ATOMIC_FLUSH
Laura Abbott4eafd072013-05-17 17:46:53 -0700306 select MEMORY_HOLE_CARVEOUT
307 select DONT_MAP_HOLE_AFTER_MEMBANK0
Jeff Hugoff3fbd62013-05-21 09:51:05 -0600308 select QMI_ENCDEC
Praveen Chidambaram6593c3d2013-05-30 15:33:15 -0600309 select MSM_SPM_V2
310 select MSM_L2_SPM
311 select MSM_PM8X60 if PM
312 select MSM_RPM_SMD
Stepan Moskovchenkob6ae7882013-01-24 15:47:18 -0800313
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +0530314config ARCH_MPQ8092
315 bool "MPQ8092"
316 select ARCH_MSM_KRAITMP
317 select GPIO_MSM_V3
318 select ARM_GIC
319 select MULTI_IRQ_HANDLER
320 select CPU_V7
321 select MSM_GPIOMUX
322 select MAY_HAVE_SPARSE_IRQ
323 select SPARSE_IRQ
324 select MSM_NOPM
325
Rohit Vaswani6d7461972013-03-20 19:15:30 -0700326config ARCH_FSM9900
327 bool "FSM9900"
328 select ARCH_MSM_KRAITMP
329 select GPIO_MSM_V3
330 select ARM_GIC
331 select CPU_V7
332 select MSM_SCM
333 select MSM_GPIOMUX
334 select MULTI_IRQ_HANDLER
335 select MSM_PIL
336 select MSM_NATIVE_RESTART
337 select MSM_RESTART_V2
338 select MAY_HAVE_SPARSE_IRQ
339 select SPARSE_IRQ
340 select REGULATOR
341 select ARM_HAS_SG_CHAIN
342 select MSM_RUN_QUEUE_STATS
343 select MSM_NOPM
344
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700345config ARCH_FSM9XXX
346 bool "FSM9XXX"
347 select ARCH_MSM_SCORPION
348 select MSM_VIC
349 select CPU_V7
350 select MSM_REMOTE_SPINLOCK_LDREX
Steve Mucklef132c6c2012-06-06 18:30:57 -0700351 select GPIO_FSM9XXX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530352 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800353 select MSM_DALRPC
Daniel Walker4ad15e62010-05-06 13:54:17 -0700354
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700355config ARCH_MSM9615
356 bool "MSM9615"
357 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530358 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700359 select ARCH_MSM_CORTEX_A5
360 select CPU_V7
Rohit Vaswani4307c842012-10-11 15:50:05 -0700361 select MIGHT_HAVE_CACHE_L2X0
Steve Mucklef132c6c2012-06-06 18:30:57 -0700362 select GPIO_MSM_V2
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700363 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600364 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600365 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700366 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800367 select REGULATOR
368 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530369 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800370 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800371 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700372 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800373 select MSM_QDSP6_APR
374 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800375 select FIQ
Laura Abbottb14ed962012-01-30 14:18:08 -0800376 select ARM_HAS_SG_CHAIN
Matt Wagantall9274df92011-12-15 11:11:05 -0800377
Taniya Das43bcdd62011-12-02 17:33:27 +0530378config ARCH_MSM8625
379 bool "MSM8625"
380 select ARCH_MSM_CORTEX_A5
381 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700382 select GPIO_MSM_V1
Taniya Das43bcdd62011-12-02 17:33:27 +0530383 select MSM_GPIOMUX
384 select ARM_GIC
385 select ARCH_MSM_CORTEXMP
386 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530387 select ARM_TICKET_LOCKS
Krishna Vankae2922052012-03-02 09:59:12 +0530388 select MSM_RUN_QUEUE_STATS
Trilok Sonib856ab92012-06-26 14:33:28 +0530389 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530390 select ARM_HAS_SG_CHAIN
Ashwin Chaugule3deb6b82012-12-21 13:09:48 -0500391 select CPU_HAS_L2_PMU
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700392
393config ARCH_MSM9625
394 bool "MSM9625"
395 select ARM_GIC
Abhimanyu Kapur490d20c2012-06-22 17:34:20 -0700396 select MIGHT_HAVE_CACHE_L2X0
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700397 select ARCH_MSM_CORTEX_A5
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700398 select CPU_V7
Abhimanyu Kapur37398ac2013-03-26 14:58:49 -0700399 select MSM_SCM
Jin Hong690e3352012-05-02 09:25:05 -0700400 select MSM_GPIOMUX
Girish Mahadevanf1c20a42012-09-19 11:44:36 -0600401 select MSM_RPM_SMD
Abhimanyu Kapur46e5e2b2012-10-02 20:45:37 -0700402 select MSM_NATIVE_RESTART
403 select MSM_RESTART_V2
Girish Mahadevan6e419562012-09-19 12:50:05 -0600404 select MSM_SPM_V2
405 select MSM_PM8X60 if PM
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700406 select MULTI_IRQ_HANDLER
Rohit Vaswani61cf6ef2012-07-27 13:51:48 -0700407 select GPIO_MSM_V3
David Collins1cc6e402012-09-17 16:02:24 -0700408 select MAY_HAVE_SPARSE_IRQ
409 select SPARSE_IRQ
Anji Jonnala6f331d32013-06-04 14:56:52 +0530410 select CPU_FREQ_MSM
Mitchel Humpherys92e9b8a2012-10-08 18:12:47 -0700411 select MSM_MULTIMEDIA_USE_ION
Girish Mahadevane3be9302012-11-07 16:21:52 -0700412 select MSM_RPM_STATS_LOG
Venkat Sudhir0620e982012-11-15 16:04:36 -0800413 select MSM_QDSP6_APRV2
414 select MSM_QDSP6V2_CODECS
415 select MSM_AUDIO_QDSP6V2 if SND_SOC
Ashwin Chaugule8b459cc2012-11-26 15:20:54 -0500416 select CPU_HAS_L2_PMU
Pratik Patel61e91702013-01-27 20:30:42 -0800417 select MSM_JTAG_MM if CORESIGHT_ETM
Neeti Desai5f3b0312012-11-07 11:20:03 -0800418 select MEMORY_HOLE_CARVEOUT
Priyanka Mathurdc424552013-02-22 16:30:53 -0800419 select MSM_RPM_LOG
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700420
Abhimanyu Kapur17284802013-03-18 17:00:49 -0700421config ARCH_MSMKRYPTON
422 bool "MSMKRYPTON"
423 select ARM_GIC
424 select CPU_V7
425 select MSM_GPIOMUX
426 select MSM_RPM_SMD
427 select MSM_NATIVE_RESTART
428 select MSM_RESTART_V2
429 select MSM_SPM_V2
430 select MSM_PM8X60 if PM
431 select MULTI_IRQ_HANDLER
432 select GPIO_MSM_V3
433 select MAY_HAVE_SPARSE_IRQ
434 select SPARSE_IRQ
mengmeng6cf63692013-07-06 08:16:51 +0800435 select MEMORY_HOLE_CARVEOUT
Abhimanyu Kapur17284802013-03-18 17:00:49 -0700436
Syed Rameez Mustafa3971c142013-01-09 19:04:53 -0800437config ARCH_MSM8610
438 bool "MSM8610"
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700439 select ARM_GIC
440 select GIC_SECURE
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700441 select ARCH_MSM_CORTEXMP
442 select CPU_V7
Stepan Moskovchenko1eeff362013-05-14 19:28:55 -0700443 select MSM_SCM
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700444 select MAY_HAVE_SPARSE_IRQ
445 select SPARSE_IRQ
446 select MULTI_IRQ_HANDLER
Syed Rameez Mustafafe1d1a82013-05-03 14:24:42 -0700447 select ARM_TICKET_LOCKS
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700448 select GPIO_MSM_V3
449 select MSM_GPIOMUX
Hanumant Singhe4271312012-10-24 13:27:57 -0700450 select MSM_NATIVE_RESTART
451 select MSM_RESTART_V2
Arun Menon7d2f1732013-01-16 15:20:56 -0800452 select MSM_QDSP6_APRV2
453 select MSM_QDSP6V2_CODECS
454 select MSM_AUDIO_QDSP6V2 if SND_SOC
Syed Rameez Mustafa03ea34e2013-03-13 12:18:59 -0700455 select QMI_ENCDEC
Praveen Chidambaramee7b1652012-11-29 09:52:53 -0700456 select MSM_RPM_SMD
457 select MSM_SPM_V2
458 select MSM_L2_SPM
459 select MSM_PM8X60 if PM
Syed Rameez Mustafa03ea34e2013-03-13 12:18:59 -0700460 select MEMORY_HOLE_CARVEOUT
461 select DONT_MAP_HOLE_AFTER_MEMBANK0
462 select MSM_BUS_SCALING
Patrick Dalyd3ad9ff2012-11-06 11:07:27 -0800463 select CPU_FREQ_MSM
464 select CPU_FREQ
Patrick Daly9e3fca92013-01-30 13:53:57 -0800465 select MSM_PIL
Siddharth Vermaead71842013-02-27 14:25:27 -0800466 select MSM_RUN_QUEUE_STATS
Mitchel Humpherys3537e672013-03-04 20:21:19 -0800467 select ARM_HAS_SG_CHAIN
Syed Rameez Mustafa03ea34e2013-03-13 12:18:59 -0700468 select REGULATOR
469 select MSM_RPM_REGULATOR_SMD
David Collinsf2de39b2013-03-15 14:34:20 -0700470 select MSM_SPM_REGULATOR
Aparna Das258c1722013-03-28 17:20:50 -0700471 select MSM_JTAG_MM if CORESIGHT_ETM
Willie Ruande543ba2013-03-26 14:52:11 -0700472 select MSM_CPR_REGULATOR
Priyanka Mathur6e0e2112013-04-03 12:58:52 -0700473 select MSM_RPM_LOG
Priyanka Mathur6c469162013-04-03 13:04:13 -0700474 select MSM_RPM_STATS_LOG
Syed Rameez Mustafa9ee80102012-11-02 14:41:04 -0700475
476config ARCH_MSM8226
477 bool "MSM8226"
478 select ARM_GIC
479 select GIC_SECURE
Syed Rameez Mustafa9ee80102012-11-02 14:41:04 -0700480 select ARCH_MSM_CORTEXMP
481 select CPU_V7
Stepan Moskovchenko1eeff362013-05-14 19:28:55 -0700482 select MSM_SCM
Syed Rameez Mustafa9ee80102012-11-02 14:41:04 -0700483 select MAY_HAVE_SPARSE_IRQ
484 select SPARSE_IRQ
485 select MULTI_IRQ_HANDLER
Syed Rameez Mustafafe1d1a82013-05-03 14:24:42 -0700486 select ARM_TICKET_LOCKS
Syed Rameez Mustafa9ee80102012-11-02 14:41:04 -0700487 select GPIO_MSM_V3
488 select MSM_GPIOMUX
Syed Rameez Mustafaf1bdd712012-11-20 14:56:44 -0800489 select MSM_NATIVE_RESTART
490 select MSM_RESTART_V2
Bhalchandra Gajare4e08f632012-12-18 11:54:35 -0800491 select MSM_QDSP6_APRV2
492 select MSM_QDSP6V2_CODECS
493 select MSM_AUDIO_QDSP6V2 if SND_SOC
Karthikeyan Ramasubramaniand04c8652013-01-16 09:03:51 -0700494 select QMI_ENCDEC
Praveen Chidambarama06f60d2012-11-29 09:52:53 -0700495 select MSM_RPM_SMD
496 select MSM_SPM_V2
497 select MSM_L2_SPM
498 select MSM_PM8X60 if PM
Neeti Desaibfedbd32012-11-21 13:19:36 -0800499 select MEMORY_HOLE_CARVEOUT
500 select DONT_MAP_HOLE_AFTER_MEMBANK0
Gagan Mace1ec9522013-02-01 12:10:21 -0700501 select MSM_BUS_SCALING
Syed Rameez Mustafa03ea34e2013-03-13 12:18:59 -0700502 select CPU_FREQ_MSM
503 select CPU_FREQ
Syed Rameez Mustafa03ea34e2013-03-13 12:18:59 -0700504 select MSM_PIL
505 select MSM_RUN_QUEUE_STATS
Mitchel Humpherys3537e672013-03-04 20:21:19 -0800506 select ARM_HAS_SG_CHAIN
David Keitelc0092e12013-03-07 12:09:48 -0800507 select REGULATOR
508 select MSM_RPM_REGULATOR_SMD
David Collinsf2de39b2013-03-15 14:34:20 -0700509 select MSM_SPM_REGULATOR
Pushkar Joshi1bea8372013-03-06 18:26:37 -0800510 select MSM_JTAG_MM if CORESIGHT_ETM
Willie Ruan679eaf32013-03-21 13:30:40 -0700511 select MSM_CPR_REGULATOR
Priyanka Mathur6e0e2112013-04-03 12:58:52 -0700512 select MSM_RPM_LOG
Priyanka Mathur6c469162013-04-03 13:04:13 -0700513 select MSM_RPM_STATS_LOG
Laura Abbottb46c18d2013-04-12 09:36:44 -0700514 select ARCH_WANT_KMAP_ATOMIC_FLUSH
Jay Chokshi4f549942013-05-10 17:52:28 -0700515
516config ARCH_MSMSAMARIUM
517 bool "MSMSAMARIUM"
518 select ARCH_MSM_KRAITMP
519 select GPIO_MSM_V3
520 select ARM_GIC
521 select CPU_V7
522 select MSM_SCM
523 select MSM_GPIOMUX
524 select MULTI_IRQ_HANDLER
525 select MSM_SPM_V2
526 select MSM_L2_SPM
527 select MSM_NATIVE_RESTART
528 select MSM_RESTART_V2
529 select MSM_PM8X60 if PM
530 select MAY_HAVE_SPARSE_IRQ
531 select SPARSE_IRQ
532 select ARM_HAS_SG_CHAIN
533 select MSM_RUN_QUEUE_STATS
534 select ARCH_WANT_KMAP_ATOMIC_FLUSH
Jeff Hugo60702002013-06-13 15:25:40 -0600535 select QMI_ENCDEC
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700536endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700537
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700538choice
539 prompt "MSM SoC Revision"
540 default MSM_SOC_REV_NONE
541config MSM_SOC_REV_NONE
542 bool "N/A"
543 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
544 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walkerbf83de42010-03-16 16:29:44 -0700545config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700546 bool "Rev. A"
547 select ARCH_MSM7X27A if ARCH_MSM7X27
Daniel Walkerbf83de42010-03-16 16:29:44 -0700548endchoice
549
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700550config MSM_KRAIT_TBB_ABORT_HANDLER
551 bool "Krait TBB/TBH data abort handler"
552 depends on ARCH_MSM_KRAIT
553 depends on ARM_THUMB
554 help
555 Certain early samples of the Krait processor may generate data
556 aborts for TBB / TBH instructions that fail their condition code
557 checks. Enabling this option will ignore these erroneous data aborts,
558 at the expense of a very small performance penalty.
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800559
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700560 If unsure, say N.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700561
562config ARCH_MSM_ARM11
563 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700564
Daniel Walkerbf83de42010-03-16 16:29:44 -0700565config ARCH_MSM_SCORPION
566 bool
567
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700568config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700569 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800570 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700571
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700572config MSM_SMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700573 select HAVE_SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700574 bool
575
576config ARCH_MSM_SCORPIONMP
577 select ARCH_MSM_SCORPION
578 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530579 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel61e91702013-01-27 20:30:42 -0800580 select MSM_JTAG if CORESIGHT_ETM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700581 bool
582
583config ARCH_MSM_KRAITMP
584 select ARCH_MSM_KRAIT
585 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530586 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel61e91702013-01-27 20:30:42 -0800587 select MSM_JTAG if CORESIGHT_ETM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700588 bool
589
Taniya Das43bcdd62011-12-02 17:33:27 +0530590config ARCH_MSM_CORTEXMP
591 select MSM_SMP
592 bool
593
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700594config MSM_KRAIT_WFE_FIXUP
595 bool
596
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700597config MSM_RESTART_V2
598 bool
599
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700600config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800601 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700602
603config ARCH_MSM7X27A
604 bool
605 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700606 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530607 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530608 select ARM_GIC
609 select ARCH_MSM_CORTEXMP
Trilok Sonib856ab92012-06-26 14:33:28 +0530610 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530611 select ARM_HAS_SG_CHAIN
Ashwin Chaugule3deb6b82012-12-21 13:09:48 -0500612 select CPU_HAS_L2_PMU
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700613
Gregory Beanf9f3d312010-04-30 22:06:50 -0700614config MSM_VIC
615 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700616
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700617config MSM_RPM
618 bool "Resource Power Manager"
619 select MSM_MPM
620
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600621config MSM_RPM_SMD
622 depends on MSM_SMD
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600623 select MSM_MPM_OF
624 bool "RPM driver using SMD protocol"
625 help
626 RPM is the dedicated hardware engine for managing shared SoC
627 resources. This config adds driver support for using SMD as a
628 transport layer communication with RPM hardware. It also selects
629 the MSM_MPM config that programs the MPM module to monitor interrupts
630 during sleep modes.
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600631
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700632config MSM_MPM
633 bool "Modem Power Manager"
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600634 help
635 MPM is a dedicated hardware resource responsible for entering and
636 waking up from a system wide low power mode. The MPM driver tracks
637 the wakeup interrupts and configures the MPM to monitor the wakeup
638 interrupts when going to a system wide sleep mode.
639
640config MSM_MPM_OF
641 bool "Modem Power Manager"
Subbaraman Narayanamurthy0b148fc2012-11-28 12:14:12 -0800642 depends on OF
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600643 help
644 MPM is a dedicated hardware resource responsible for entering and
645 waking up from a system wide low power mode. The MPM driver tracks
646 the wakeup interrupts and configures the MPM to monitor the wakeup
647 interrupts when going to a system wide sleep mode. This config option
648 enables the MPM driver that supports initialization from a device
649 tree
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700650
Priyanka Mathur9a75ec52012-12-07 16:02:40 -0800651config MSM_LPM_TEST
652 bool "Low Power Mode test framework"
Priyanka Mathur3abfd442013-01-11 12:58:51 -0800653 depends on MSM_RPM || MSM_RPM_SMD
Priyanka Mathur9a75ec52012-12-07 16:02:40 -0800654 depends on MSM_PM8X60
655 help
656 LPM_TEST is a test framework that assists in exercising the low
657 power mode algorithm on MSM targets. This test framework tracks
658 notifications sent during entry/exit of the low power modes and
659 processes them to measure various stats including latency
660 measurement.
661
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700662config MSM_XO
663 bool
664
665config MSM_REMOTE_SPINLOCK_DEKKERS
666 bool
667config MSM_REMOTE_SPINLOCK_SWP
668 bool
669config MSM_REMOTE_SPINLOCK_LDREX
670 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600671config MSM_REMOTE_SPINLOCK_SFPB
672 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700673config MSM_ADM3
674 bool
675
676menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700677
678config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700679 depends on ARCH_MSM7X01A
680 depends on MSM_STACKED_MEMORY
681 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700682 bool "Halibut Board (QCT SURF7201A)"
683 help
684 Support for the Qualcomm SURF7201A eval board.
685
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700686config MACH_MSM7201A_SURF
687 depends on ARCH_MSM7X01A
688 depends on MSM_STACKED_MEMORY
689 default y
690 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700691 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700692 Support for the Qualcomm MSM7201A SURF eval board.
693
694config MACH_MSM7201A_FFA
695 depends on ARCH_MSM7X01A
696 depends on MSM_STACKED_MEMORY
697 default y
698 bool "MSM7201A FFA"
699 help
700 Support for the Qualcomm MSM7201A FFA eval board.
701
702config MACH_TROUT
703 depends on ARCH_MSM7X01A
704 depends on MSM_STACKED_MEMORY
705 default y
706 bool "Trout"
707
708config MACH_MSM7X27_SURF
709 depends on ARCH_MSM7X27
710 depends on !MSM_STACKED_MEMORY
711 default y
712 bool "MSM7x27 SURF"
713 help
714 Support for the Qualcomm MSM7x27 SURF eval board.
715
716config MACH_MSM7X27_FFA
717 depends on ARCH_MSM7X27
718 depends on !MSM_STACKED_MEMORY
719 default y
720 bool "MSM7x27 FFA"
721 help
722 Support for the Qualcomm MSM7x27 FFA eval board.
723
724config MACH_MSM7X27A_RUMI3
725 depends on ARCH_MSM7X27A
726 depends on !MSM_STACKED_MEMORY
727 default y
728 bool "MSM7x27A RUMI3"
729 help
730 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
731
732config MACH_MSM7X27A_SURF
733 depends on ARCH_MSM7X27A
734 depends on !MSM_STACKED_MEMORY
735 default y
736 bool "MSM7x27A SURF"
737 help
738 Support for the Qualcomm MSM7x27A SURF.
739
740config MACH_MSM7X27A_FFA
741 depends on ARCH_MSM7X27A
742 depends on !MSM_STACKED_MEMORY
743 default y
744 bool "MSM7x27A FFA"
745 help
746 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700747
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530748config MACH_MSM7625A_SURF
749 depends on ARCH_MSM7X27A
750 depends on !MSM_STACKED_MEMORY
751 default y
752 bool "MSM7625A SURF"
753 help
754 Support for the Qualcomm MSM7625A SURF.
755
756config MACH_MSM7625A_FFA
757 depends on ARCH_MSM7X27A
758 depends on !MSM_STACKED_MEMORY
759 default y
760 bool "MSM7625A FFA"
761 help
762 Support for the Qualcomm MSM7625A FFA.
763
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530764config MACH_MSM7627A_QRD1
765 depends on ARCH_MSM7X27A
766 depends on !MSM_STACKED_MEMORY
767 default y
768 bool "MSM7627A QRD1"
769 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530770 Support for the Qualcomm MSM7627A Reference Design.
771
772config MACH_MSM7627A_QRD3
773 depends on ARCH_MSM7X27A
774 depends on !MSM_STACKED_MEMORY
775 default y
776 bool "MSM7627A QRD3"
777 help
778 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530779
Taniya Dasc868a2e2012-01-03 10:18:47 +0530780config MACH_MSM7627A_EVB
781 depends on ARCH_MSM7X27A
782 depends on !MSM_STACKED_MEMORY
783 default y
784 bool "MSM7627A EVB"
785 help
786 Support for the Qualcomm MSM7627A Reference Design.
787
Taniya Das43bcdd62011-12-02 17:33:27 +0530788config MACH_MSM8625_RUMI3
789 depends on ARCH_MSM8625
790 depends on !MSM_STACKED_MEMORY
791 default y
792 bool "MSM8625 RUMI3"
793 help
794 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
795
Taniya Dase3027e22012-02-27 16:32:27 +0530796config MACH_MSM8625_SURF
797 depends on ARCH_MSM8625
798 depends on !MSM_STACKED_MEMORY
799 default y
800 bool "MSM8625 SURF"
801 help
802 Support for the Qualcomm MSM8625 SURF.
803
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530804config MACH_MSM8625_FFA
805 depends on ARCH_MSM8625
806 depends on !MSM_STACKED_MEMORY
807 default y
808 bool "MSM8625 FFA"
809 help
810 Support for the Qualcomm MSM8625 FFA.
811
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530812config MACH_MSM8625_EVB
813 depends on ARCH_MSM8625
814 depends on !MSM_STACKED_MEMORY
815 default y
816 bool "MSM8625 EVB"
817 help
818 Support for the Qualcomm MSM8625 Reference Design.
819
Taniya Dasbd096542012-03-15 17:43:45 +0530820config MACH_MSM8625_QRD7
821 depends on ARCH_MSM8625
822 depends on !MSM_STACKED_MEMORY
823 default y
824 bool "MSM8625 QRD7"
825 help
826 Support for the Qualcomm MSM8625 Reference Design.
827
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530828config MACH_MSM8625_EVT
829 depends on ARCH_MSM8625
830 depends on !MSM_STACKED_MEMORY
831 default y
832 bool "MSM8625 EVT"
833 help
834 Support for the Qualcomm MSM8625 Reference Design.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700835
Channagoud Kadabi2bd65c82012-10-12 15:14:23 +0530836config MACH_QRD_SKUD_PRIME
837 depends on ARCH_MSM8625
838 depends on !MSM_STACKED_MEMORY
839 default y
840 bool "MSM8625 SKUD PRIME"
841 help
842 Support for the Qualcomm MSM8625 SKUD prime Reference Design.
843 Add support for a SKUD prime reference design based on MSM8x25
844 chipset. This device is much closer to a phone than regular form
845 factor devices, with new touch, display panel and other hardware
846 configurations.
847
Daniel Walker7b521612010-05-06 12:44:57 -0700848config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700849 depends on ARCH_MSM7X30
850 depends on !MSM_STACKED_MEMORY
851 default y
852 bool "MSM7x30 SURF"
853 help
854 Support for the Qualcomm MSM7x30 SURF eval board.
855
856config MACH_MSM7X30_FFA
857 depends on ARCH_MSM7X30
858 depends on !MSM_STACKED_MEMORY
859 default y
860 bool "MSM7x30 FFA"
861 help
862 Support for the Qualcomm MSM7x30 FFA eval board.
863
864config MACH_MSM7X30_FLUID
865 depends on ARCH_MSM7X30
866 depends on !MSM_STACKED_MEMORY
867 default y
868 bool "MSM7x30 FLUID"
869 help
870 Support for the Qualcomm MSM7x30 FLUID eval board.
871
872config MACH_SAPPHIRE
873 depends on ARCH_MSM7X01A
874 default n
875 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700876
Daniel Walker4ad15e62010-05-06 13:54:17 -0700877config MACH_QSD8X50_SURF
878 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700879 depends on MSM_SOC_REV_NONE
880 depends on MSM_STACKED_MEMORY
881 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700882 bool "QSD8x50 SURF"
883 help
884 Support for the Qualcomm QSD8x50 SURF eval board.
885
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700886config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700887 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700888 depends on MSM_SOC_REV_NONE
889 depends on MSM_STACKED_MEMORY
890 default y
891 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700892 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700893 Support for the Qualcomm QSD8x50 FFA eval board.
894
895config MACH_MSM7X25_SURF
896 depends on ARCH_MSM7X25
897 depends on !MSM_STACKED_MEMORY
898 default y
899 bool "MSM7x25 SURF"
900 help
901 Support for the Qualcomm MSM7x25 SURF eval board.
902
903config MACH_MSM7X25_FFA
904 depends on ARCH_MSM7X25
905 depends on !MSM_STACKED_MEMORY
906 default y
907 bool "MSM7x25 FFA"
908 help
909 Support for the Qualcomm MSM7x25 FFA eval board.
910
911config MACH_MSM8X55_SURF
912 depends on ARCH_MSM7X30
913 depends on !MSM_STACKED_MEMORY
914 default y
915 bool "MSM8X55 SURF"
916 help
917 Support for the Qualcomm MSM8x55 SURF eval board.
918
919config MACH_MSM8X55_FFA
920 depends on ARCH_MSM7X30
921 depends on !MSM_STACKED_MEMORY
922 default y
923 bool "MSM8X55 FFA"
924 help
925 Support for the Qualcomm MSM8x55 FFA eval board.
926
927config MACH_MSM8X55_SVLTE_FFA
928 depends on ARCH_MSM7X30
929 depends on !MSM_STACKED_MEMORY
930 default y
931 bool "MSM8X55 SVLTE FFA"
932 help
933 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
934
935config MACH_MSM8X55_SVLTE_SURF
936 depends on ARCH_MSM7X30
937 depends on !MSM_STACKED_MEMORY
938 default y
939 bool "MSM8X55 SVLTE SURF"
940 help
941 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700942
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700943config MACH_MSM8X60_SURF
944 depends on ARCH_MSM8X60
945 default n
946 bool "MSM8x60 SURF"
947 help
948 Support for the Qualcomm MSM8x60 SURF eval board.
949
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700950config MACH_MSM8X60_FFA
951 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700952 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700953 bool "MSM8x60 FFA"
954 help
955 Support for the Qualcomm MSM8x60 FFA eval board.
956
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700957config MACH_MSM8X60_FLUID
958 depends on ARCH_MSM8X60
959 default n
960 bool "MSM8x60 FLUID"
961 help
962 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
963 8x60 target which has a form factor that is much closer to that
964 of a phone than other targets. It also has a new display and
965 touchscreen controller.
966
967config MACH_MSM8X60_FUSION
968 depends on ARCH_MSM8X60
969 default n
970 bool "MSM8x60 FUSION"
971 help
972 Support for the Qualcomm MSM8x60 Fusion SURF device.
973
974config MACH_MSM8X60_FUSN_FFA
975 depends on ARCH_MSM8X60
976 default n
977 bool "MSM8x60 FUSN FFA"
978 help
979 Support for the Qualcomm MSM8x60 Fusion FFA device.
980
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400981config MACH_MSM8X60_DRAGON
982 depends on ARCH_MSM8X60
983 default n
984 bool "MSM8x60 DRAGON"
985 help
986 Support for the Qualcomm MSM8x60 Dragon board.
987
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700988config MACH_MSM8960_CDP
989 depends on ARCH_MSM8960
990 bool "MSM8960 CDP"
991 help
992 Support for the Qualcomm MSM8960 CDP device.
993
994config MACH_MSM8960_MTP
995 depends on ARCH_MSM8960
996 bool "MSM8960 MTP"
997 help
998 Support for the Qualcomm MSM8960 MTP device.
999
1000config MACH_MSM8960_FLUID
1001 depends on ARCH_MSM8960
1002 bool "MSM8960 FLUID"
1003 help
1004 Support for the Qualcomm MSM8960 FLUID device.
1005
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +03001006config MACH_MSM8960_LIQUID
1007 depends on ARCH_MSM8960
1008 bool "MSM8960 LIQUID"
1009 help
1010 Support for the Qualcomm MSM8960 LIQUID device.
1011
Stepan Moskovchenko082952d2011-10-18 17:27:08 -07001012config MACH_MSM8930_CDP
1013 depends on ARCH_MSM8930
1014 bool "MSM8930 CDP"
1015 help
1016 Support for the Qualcomm MSM8930 CDP device.
1017
1018config MACH_MSM8930_MTP
1019 depends on ARCH_MSM8930
1020 bool "MSM8930 MTP"
1021 help
1022 Support for the Qualcomm MSM8930 MTP device.
1023
1024config MACH_MSM8930_FLUID
1025 depends on ARCH_MSM8930
1026 bool "MSM8930 FLUID"
1027 help
1028 Support for the Qualcomm MSM8930 FLUID device.
1029
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -08001030config MACH_MSM8627_CDP
1031 depends on ARCH_MSM8930
1032 bool "MSM8627 CDP"
1033 help
1034 Support for the Qualcomm MSM8627 CDP device.
1035
1036config MACH_MSM8627_MTP
1037 depends on ARCH_MSM8930
1038 bool "MSM8627 MTP"
1039 help
1040 Support for the Qualcomm MSM8627 MTP device.
1041
Rohit Vaswania8e7a832011-09-28 21:00:05 -07001042config MACH_MSM9615_CDP
1043 depends on ARCH_MSM9615
1044 bool "MSM9615 CDP"
1045 help
1046 Support for the Qualcomm MSM9615 CDP device.
1047
1048config MACH_MSM9615_MTP
1049 depends on ARCH_MSM9615
1050 bool "MSM9615 MTP"
1051 help
1052 Support for the Qualcomm MSM9615 MTP device.
1053
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001054config MSM_USE_TSIF1
1055 depends on ARCH_MSM8X60
1056 bool "MSM8x60 use TSIF1"
1057 help
1058 Selects TSIF1 core to be used rather than TSIF0.
1059 The two TSIF cores share the same DM configuration
1060 so they cannot be used simultaneously.
1061
Joel King82b7e3f2012-01-05 10:03:27 -08001062config MACH_APQ8064_CDP
1063 depends on ARCH_APQ8064
1064 bool "APQ8064 CDP"
1065 help
1066 Support for the Qualcomm APQ8064 CDP device.
1067
Rohit Vaswani4375c802013-01-09 13:38:19 -08001068config MACH_FSM8064_EP
1069 depends on ARCH_APQ8064
1070 bool "FSM8064 EP"
1071 help
1072 Support for the Qualcomm FSM8064 EP device.
1073 This board also known as Femto development platform (FDP)
1074 is based on APQ8064 chipset. This board does not support
1075 keyboard, display or multimedia.
1076
Joel King82b7e3f2012-01-05 10:03:27 -08001077config MACH_APQ8064_MTP
1078 depends on ARCH_APQ8064
1079 bool "APQ8064 MTP"
1080 help
1081 Support for the Qualcomm APQ8064 MTP device.
1082
1083config MACH_APQ8064_LIQUID
1084 depends on ARCH_APQ8064
1085 bool "APQ8064 LIQUID"
1086 help
1087 Support for the Qualcomm APQ8064 LIQUID device.
1088
Joel King064bbf82012-04-01 13:23:39 -07001089config MACH_MPQ8064_CDP
1090 depends on ARCH_APQ8064
1091 bool "MPQ8064 CDP"
1092 help
1093 Support for the Qualcomm MPQ8064 CDP device.
1094
Joel King11ca8202012-02-13 16:19:03 -08001095config MACH_MPQ8064_HRD
1096 depends on ARCH_APQ8064
1097 bool "MPQ8064 HRD"
1098 help
1099 Support for the Qualcomm MPQ8064 HRD device.
1100
1101config MACH_MPQ8064_DTV
1102 depends on ARCH_APQ8064
1103 bool "MPQ8064 DTV"
1104 help
1105 Support for the Qualcomm MPQ8064 DTV device.
1106
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001107config MACH_FSM9XXX_SURF
1108 depends on ARCH_FSM9XXX
1109 depends on !MSM_STACKED_MEMORY
1110 default y
1111 bool "FSM9XXX SURF"
1112 help
1113 Support for the Qualcomm FSM9xxx femtocell
1114 chipset based SURF evaluation board and
1115 FFA board.
1116
Daniel Walker4ad15e62010-05-06 13:54:17 -07001117endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -08001118
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001119config MSM_STACKED_MEMORY
1120 bool "Stacked Memory"
1121 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -08001122 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001123 This option is used to indicate the presence of on-die stacked
1124 memory. When present this memory bank is used for a high speed
1125 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -08001126
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001127config PHYS_OFFSET
1128 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -07001129 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001130 default "0x80200000" if ARCH_APQ8064
1131 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -07001132 default "0x80200000" if ARCH_MSM8930
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001133 default "0x00000000" if ARCH_MSM8974
Stepan Moskovchenkoe90cd652013-04-18 12:54:47 -07001134 default "0x00000000" if ARCH_APQ8084
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +05301135 default "0x00000000" if ARCH_MPQ8092
Syed Rameez Mustafa1c99fd32013-03-05 22:11:17 -08001136 default "0x00000000" if ARCH_MSM8226
1137 default "0x00000000" if ARCH_MSM8610
Jay Chokshi4f549942013-05-10 17:52:28 -07001138 default "0x00000000" if ARCH_MSMSAMARIUM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001139 default "0x10000000" if ARCH_FSM9XXX
Rohit Vaswani6d7461972013-03-20 19:15:30 -07001140 default "0x00000000" if ARCH_FSM9900
Abhimanyu Kapur20ac2ad2012-09-25 04:23:59 -07001141 default "0x00200000" if ARCH_MSM9625
Abhimanyu Kapur38226352013-04-23 17:14:57 -07001142 default "0x00000000" if ARCH_MSMKRYPTON
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001143 default "0x00200000" if !MSM_STACKED_MEMORY
1144 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
1145 default "0x20000000" if ARCH_QSD8X50
1146 default "0x40200000" if ARCH_MSM8X60
1147 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -08001148
Mitchel Humpherys05e58812012-08-13 14:24:13 -07001149config KERNEL_MSM_CONTIG_MEM_REGION
1150 bool "Enable in-kernel contiguous memory region"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001151 default y if ARCH_MSM8X60
Laura Abbottc1fa75b2013-04-02 14:29:53 -07001152 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001153 help
Mitchel Humpherys05e58812012-08-13 14:24:13 -07001154 Enable the in-kernel contiguous memory allocator. Sets up a
1155 region of physically contiguous memory. This memory is
1156 reserved during initialization, and can be used
1157 generically.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001158
1159config KERNEL_PMEM_SMI_REGION
1160 bool "Enable in-kernel PMEM region for SMI"
1161 default y if ARCH_MSM8X60
Laura Abbott0913ebc2013-04-29 12:56:14 -07001162 depends on (ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001163 help
1164 Enable the in-kernel PMEM allocator to use SMI memory.
1165
1166config PMEM_GPU0
1167 bool "Enable PMEM GPU0 region"
1168 default y
Laura Abbott0913ebc2013-04-29 12:56:14 -07001169 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001170 help
1171 Enable the PMEM GPU0 device on SMI Memory.
1172
1173config MSM_AMSS_VERSION
1174 int
1175 default 6210 if MSM_AMSS_VERSION_6210
1176 default 6220 if MSM_AMSS_VERSION_6220
1177 default 6225 if MSM_AMSS_VERSION_6225
1178
1179choice
1180 prompt "AMSS modem firmware version"
1181
1182 default MSM_AMSS_VERSION_6225
1183
1184 config MSM_AMSS_VERSION_6210
1185 bool "6.2.10"
1186
1187 config MSM_AMSS_VERSION_6220
1188 bool "6.2.20"
1189
1190 config MSM_AMSS_VERSION_6225
1191 bool "6.2.20 + New ADSP"
1192endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -08001193
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001194config MSM_HAS_DEBUG_UART_HS
Daniel Walkerbf83de42010-03-16 16:29:44 -07001195 bool
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001196 help
1197 Say Y here if high speed MSM UART is present.
1198
1199config MSM_HAS_DEBUG_UART_HS_V14
1200 bool
1201 select MSM_HAS_DEBUG_UART_HS
1202 help
1203 Say Y here if high speed MSM UART v1.4 is present.
1204
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301205config MSM_DEBUG_UART_PHYS
1206 hex
1207 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
1208 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
1209 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
1210 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
1211 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
1212 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
1213 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
1214 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
1215
Brian Swetland9e73c842007-11-26 04:12:13 -08001216choice
1217 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001218 depends on DEBUG_LL
Brian Swetland9e73c842007-11-26 04:12:13 -08001219
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001220 config DEBUG_MSM_UART1
1221 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301222 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001223 help
1224 Say Y here if you want the debug print routines to direct
1225 their output to the first serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001226
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001227 config DEBUG_MSM_UART2
1228 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301229 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001230 help
1231 Say Y here if you want the debug print routines to direct
1232 their output to the second serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001233
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001234 config DEBUG_MSM_UART3
1235 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301236 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001237 help
1238 Say Y here if you want the debug print routines to direct
1239 their output to the third serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001240
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001241 config DEBUG_MSM8660_UART
1242 bool "Kernel low-level debugging messages via MSM 8660 UART"
1243 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001244 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001245 help
1246 Say Y here if you want the debug print routines to direct
1247 their output to the serial port on MSM 8660 devices.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001248
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001249 config DEBUG_MSM8960_UART
1250 bool "Kernel low-level debugging messages via MSM 8960 UART"
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001251 depends on ARCH_MSM8960 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001252 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001253 help
1254 Say Y here if you want the debug print routines to direct
1255 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001256
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001257 config DEBUG_MSM8930_UART
1258 bool "Kernel low-level debugging messages via MSM 8930 UART"
1259 depends on ARCH_MSM8930 && DEBUG_LL
1260 select MSM_HAS_DEBUG_UART_HS
1261 help
1262 Say Y here if you want the debug print routines to direct
1263 their output to the serial port on MSM 8930 devices.
1264
1265 config DEBUG_APQ8064_UART
1266 bool "Kernel low-level debugging messages via APQ 8064 UART"
1267 depends on ARCH_APQ8064 && DEBUG_LL
1268 select MSM_HAS_DEBUG_UART_HS
1269 help
1270 Say Y here if you want the debug print routines to direct
1271 their output to the serial port on APQ 8064 devices.
1272
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001273 config DEBUG_MSM8974_UART
1274 bool "Kernel low-level debugging messages via MSM 8974 UART"
1275 depends on ARCH_MSM8974
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001276 select MSM_HAS_DEBUG_UART_HS_V14
1277 help
1278 Say Y here if you want the debug print routines to direct
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001279 their output to the serial port on MSM 8974 devices.
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +05301280
1281 config DEBUG_MPQ8092_UART
1282 bool "Kernel low-level debugging messages via MPQ8092 UART"
1283 depends on ARCH_MPQ8092
1284 select MSM_HAS_DEBUG_UART_HS_V14
1285 help
1286 Say Y here if you want the debug print routines to direct
1287 their output to the serial port on MPQ8092 devices.
Stepan Moskovchenko80064f32013-03-05 16:58:39 -08001288
Stepan Moskovchenkoe90cd652013-04-18 12:54:47 -07001289 config DEBUG_APQ8084_UART
1290 bool "Kernel low-level debugging messages via APQ8084 UART"
1291 depends on ARCH_APQ8084
Stepan Moskovchenko80064f32013-03-05 16:58:39 -08001292 select MSM_HAS_DEBUG_UART_HS_V14
1293 help
1294 Say Y here if you want the debug print routines to direct
Stepan Moskovchenkoe90cd652013-04-18 12:54:47 -07001295 their output to the serial port on APQ8084 devices.
Stephen Boydb9dedc62013-04-19 15:29:30 -07001296
1297 config DEBUG_MSM9625_UART
1298 bool "Kernel low-level debugging messages via MSM9625 UART"
1299 depends on ARCH_MSM9625
1300 select MSM_HAS_DEBUG_UART_HS_V14
1301 help
1302 Say Y here if you want the debug print routines to direct
1303 their output to the serial port on MSM9625 devices.
Rohit Vaswani6d7461972013-03-20 19:15:30 -07001304
1305 config DEBUG_FSM9900_UART
1306 bool "Kernel low-level debugging messages via FSM9900 UART"
1307 depends on ARCH_FSM9900
1308 select MSM_HAS_DEBUG_UART_HS_V14
1309 help
1310 Say Y here if you want the debug print routines to direct
1311 their output to the serial port on FSM9900 devices.
Jay Chokshi4f549942013-05-10 17:52:28 -07001312
1313 config DEBUG_MSMSAMARIUM_UART
1314 bool "Kernel low-level debugging messages via MSM SAMARIUM UART"
1315 depends on ARCH_MSMSAMARIUM
1316 select MSM_HAS_DEBUG_UART_HS_V14
1317 help
1318 Say Y here if you want the debug print routines to direct
1319 their output to the serial port on MSM SAMARIUM devices.
Subbaraman Narayanamurthy23317302013-06-17 17:09:24 -07001320
1321 config DEBUG_MSM8226_UART
1322 bool "Kernel low-level debugging messages via MSM 8226 UART"
1323 depends on ARCH_MSM8226
1324 select MSM_HAS_DEBUG_UART_HS_V14
1325 help
1326 Say Y here if you want the debug print routines to direct
1327 their output to the serial port on MSM 8226 devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001328endchoice
Brian Swetland9e73c842007-11-26 04:12:13 -08001329
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001330choice
1331 prompt "Default Timer"
1332 default MSM7X00A_USE_GP_TIMER
1333
1334 config MSM7X00A_USE_GP_TIMER
1335 bool "GP Timer"
1336 help
1337 Low resolution timer that allows power collapse from idle.
1338
1339 config MSM7X00A_USE_DG_TIMER
1340 bool "DG Timer"
1341 help
1342 High resolution timer.
1343endchoice
1344
1345choice
1346 prompt "Suspend sleep mode"
1347 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1348 help
1349 Allows overriding the sleep mode used. Leave at power
1350 collapse suspend unless the arm9 image has problems.
1351
1352 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1353 bool "Power collapse suspend"
1354 help
1355 Lowest sleep state. Returns through reset vector.
1356
1357 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1358 bool "Power collapse"
1359 help
1360 Sleep state that returns through reset vector.
1361
1362 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1363 bool "Apps Sleep"
1364
1365 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1366 bool "Ramp down cpu clock and wait for interrupt"
1367
1368 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1369 bool "Wait for interrupt"
1370endchoice
1371
1372config MSM7X00A_SLEEP_MODE
1373 int
1374 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1375 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1376 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1377 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1378 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1379
1380choice
1381 prompt "Idle sleep mode"
1382 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1383 help
1384 Allows overriding the sleep mode used from idle. Leave at power
1385 collapse suspend unless the arm9 image has problems.
1386
1387 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1388 bool "Power collapse suspend"
1389 help
1390 Lowest sleep state. Returns through reset vector.
1391
1392 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1393 bool "Power collapse"
1394 help
1395 Sleep state that returns through reset vector.
1396
1397 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1398 bool "Apps Sleep"
1399
1400 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1401 bool "Ramp down cpu clock and wait for interrupt"
1402
1403 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1404 bool "Wait for interrupt"
1405endchoice
1406
1407config MSM7X00A_IDLE_SLEEP_MODE
1408 int
1409 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1410 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1411 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1412 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1413 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1414
1415config MSM7X00A_IDLE_SLEEP_MIN_TIME
1416 int "Minimum idle time before sleep"
1417 default 20000000
1418 help
1419 Minimum idle time in nanoseconds before entering low power mode.
1420
1421config MSM7X00A_IDLE_SPIN_TIME
1422 int "Idle spin time before cpu ramp down"
1423 default 80000
1424 help
1425 Spin time in nanoseconds before ramping down cpu clock and entering
1426 any low power state.
1427
1428menuconfig MSM_IDLE_STATS
1429 bool "Collect idle statistics"
1430 default y
1431 help
1432 Collect idle statistics and export them in proc/msm_pm_stats.
1433
1434if MSM_IDLE_STATS
1435
1436config MSM_IDLE_STATS_FIRST_BUCKET
1437 int "First bucket time"
1438 default 62500
1439 help
1440 Upper time limit in nanoseconds of first bucket.
1441
1442config MSM_IDLE_STATS_BUCKET_SHIFT
1443 int "Bucket shift"
1444 default 2
1445
1446config MSM_IDLE_STATS_BUCKET_COUNT
1447 int "Bucket count"
1448 default 10
1449
1450config MSM_SUSPEND_STATS_FIRST_BUCKET
1451 int "First bucket time for suspend"
1452 default 1000000000
1453 help
1454 Upper time limit in nanoseconds of first bucket of the
1455 histogram. This is for collecting statistics on suspend.
1456
1457endif # MSM_IDLE_STATS
1458
1459config CPU_HAS_L2_PMU
1460 bool "L2CC PMU Support"
1461 help
1462 Select this if the L2 cache controller has a Performance Monitoring Unit.
1463
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001464config HTC_HEADSET
1465 tristate "HTC 2 Wire detection driver"
1466 default n
1467 help
1468 Provides support for detecting HTC 2 wire devices, such as wired
1469 headset, on the trout platform. Can be used with the msm serial
1470 debugger, but not with serial console.
1471
1472config TROUT_BATTCHG
1473 depends on MACH_TROUT && POWER_SUPPLY
1474 default y
1475 bool "Trout battery / charger driver"
1476
1477config HTC_PWRSINK
1478 depends on MSM_SMD
1479 default n
1480 bool "HTC Power Sink Driver"
1481
1482config QSD_SVS
1483 bool "QSD Static Voltage Scaling"
1484 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1485 default y
1486 select TPS65023
1487 help
1488 Enables static voltage scaling using the TPS65023 PMIC.
1489
1490config QSD_PMIC_DEFAULT_DCDC1
1491 int "PMIC default output voltage"
1492 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1493 default 1250
1494 help
1495 This is the PMIC voltage at Linux kernel boot.
1496
1497config MSM_FIQ_SUPPORT
1498 default y
1499 bool "Enable installation of an FIQ handler."
1500
1501config MSM_SERIAL_DEBUGGER
1502 select MSM_FIQ_SUPPORT
1503 select KERNEL_DEBUGGER_CORE
1504 default n
1505 bool "FIQ Mode Serial Debugger"
1506 help
1507 The FIQ serial debugger can accept commands even when the
1508 kernel is unresponsive due to being stuck with interrupts
1509 disabled. Depends on the kernel debugger core in drivers/misc.
1510
1511config MSM_SERIAL_DEBUGGER_CONSOLE
1512 depends on MSM_SERIAL_DEBUGGER
1513 default n
1514 bool "Console on FIQ Serial Debugger port"
1515 help
1516 Enables a console so that printk messages are displayed on
1517 the debugger serial port as the occur.
Brian Swetland9e73c842007-11-26 04:12:13 -08001518
Gregory Beanab78cde2010-09-01 16:26:12 -07001519config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001520 default y
1521 bool "Proc-Comm RPC Interface"
1522 help
1523 Enables a lightweight communications interface to the
1524 baseband processor.
Gregory Beanab78cde2010-09-01 16:26:12 -07001525
Gregory Bean1963a2a2010-08-28 10:05:44 -07001526config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001527 bool "MSM Shared Memory Driver (SMD)"
1528 help
1529 Support for the shared memory interface between the apps
1530 processor and the baseband processor. Provides access to
1531 the "shared heap", as well as virtual serial channels
1532 used to communicate with various services on the baseband
1533 processor.
1534
1535choice
1536 prompt "MSM Shared memory interface version"
1537 depends on MSM_SMD
1538 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1539 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1540
1541 config MSM_SMD_PKG3
1542 bool
1543 prompt "Package 3"
1544
1545 config MSM_SMD_PKG4
1546 bool
1547 prompt "Package 4"
1548endchoice
1549
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001550config MSM_PCIE
1551 bool "MSM PCIe Controller driver"
1552 depends on PCI && PCI_MSI
1553 help
1554 Enables the PCIe functionality by configures PCIe core on
1555 MSM chipset and by enabling the ARM PCI framework extension.
1556
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001557config MSM_RPC_SDIO_XPRT
1558 depends on MSM_SDIO_AL
1559 default y
1560 bool "MSM SDIO XPRT Layer"
1561 help
1562 SDIO Transport Layer for RPC Rouer
1563
1564config MSM_RPC_SDIO_DEBUG
1565 depends on MSM_RPC_SDIO_XPRT
1566 default y
1567 bool "MSM SDIO XPRT debug support"
1568 help
1569 Support for debugging SDIO XPRT
1570
1571config MSM_SMD_DEBUG
1572 depends on MSM_SMD
1573 default y
1574 bool "MSM SMD debug support"
1575 help
1576 Support for debugging the SMD for communication
1577 between the ARM9 and ARM11
1578
1579config MSM_SDIO_AL
1580 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1581 default y
1582 tristate "SDIO-Abstraction-Layer"
1583 help
1584 Support MSM<->MDM Communication over SDIO bus.
1585 MDM SDIO-Client should have pipes support.
1586
1587config MSM_SDIO_DMUX
1588 bool "SDIO Data Mux Driver"
1589 depends on MSM_SDIO_AL
1590 default n
1591 help
1592 Support Muxed Data Channels over SDIO interface.
1593
1594config MSM_BAM_DMUX
1595 bool "BAM Data Mux Driver"
1596 depends on SPS
1597 default n
1598 help
1599 Support Muxed Data Channels over BAM interface.
1600 BAM has a limited number of pipes. This driver
1601 provides a means to support more logical channels
1602 via muxing than BAM could without muxing.
1603
1604config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001605 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001606 default y
1607 bool "MSM N-WAY SMD support"
1608 help
1609 Supports APPS-QDSP SMD communication along with
1610 normal APPS-MODEM SMD communication.
1611
1612config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001613 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001614 default y
1615 bool "MSM N-WAY SMSM support"
1616 help
1617 Supports APPS-QDSP SMSM communication along with
1618 normal APPS-MODEM SMSM communication.
1619
Eric Holmberg6275b602012-11-19 13:05:04 -07001620config MSM_SMP2P
1621 bool "SMSM Point-to-Point (SMP2P)"
1622 depends on MSM_SMD
1623 help
1624 Provide point-to-point remote signaling support.
1625 SMP2P enables transferring 32-bit values between
1626 the local and a remote system using shared
1627 memory and interrupts. A client can open multiple
1628 32-bit values by specifying a unique string and
1629 remote processor ID.
1630
1631config MSM_SMP2P_TEST
1632 bool "SMSM Point-to-Point Test"
1633 depends on MSM_SMP2P
1634 help
1635 Enables loopback and unit testing support for
1636 SMP2P. Loopback support is used by other
1637 processors to do unit testing. Unit tests
1638 are used to verify the local and remote
1639 implementations.
1640
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001641config MSM_RESET_MODEM
1642 tristate "Reset Modem Driver"
1643 depends on MSM_SMD
1644 default m
1645 help
1646 Allows the user to reset the modem through a device node.
1647
1648config MSM_SMD_LOGGING
1649 depends on MSM_SMD
1650 default y
1651 bool "MSM Shared Memory Logger"
1652 help
1653 This option exposes the shared memory logger at /dev/smem_log
1654 and a debugfs node named smem_log.
1655
1656 If in doubt, say yes.
1657
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001658config MSM_IPC_LOGGING
1659 bool "MSM Debug Logging for IPC Drivers"
1660 help
1661 This option allows the debug logging for IPC Drivers.
1662
1663 If in doubt, say no.
1664
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001665config MSM_SMD_NMEA
1666 bool "NMEA GPS Driver"
1667 depends on MSM_SMD
1668 default y
1669 help
1670 Enable this to support the NMEA GPS device.
1671
1672 If in doubt, say yes.
1673
1674config MSM_SDIO_TTY
1675 bool "SDIO TTY Driver"
1676 depends on MSM_SDIO_AL
1677 default n
1678 help
1679 Provides a TTY driver SDIO TTY
1680 This driver can be used by user space
1681 applications for passing data through the
1682 SDIO interface.
1683
1684config MSM_SMD_TTY
1685 bool "SMD TTY Driver"
1686 depends on MSM_SMD
1687 default y
1688 help
1689 Provides TTY interfaces to interact with the modem.
1690
1691 If in doubt, say yes.
1692
1693config MSM_SMD_QMI
1694 bool "SMD QMI Driver"
1695 depends on MSM_SMD
1696 default y
1697 help
1698 Manages network data connections.
1699
1700 If in doubt, say yes.
1701
1702config MSM_SMD_PKT
1703 bool "SMD Packet Driver"
1704 depends on MSM_SMD
1705 default y
1706 help
1707 Provides a binary SMD non-muxed packet port interface.
1708
1709 If in doubt, say yes.
1710
1711config MSM_SDIO_CMUX
1712 bool "SDIO CMUX Driver"
1713 depends on MSM_SDIO_AL
1714 default n
1715 help
1716 Provides a Muxed port interface over SDIO QMI
1717
1718config MSM_DSPS
1719 bool "Sensors DSPS driver"
1720 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1721 default n
1722 help
1723 Provides user-space interface to the sensors manager
1724 to turn on/off the Sensors Processor system clocks.
1725 It is the DSPS responsibility to turn on/off the sensors
1726 themself.
1727 The number of clocks and their name may vary between targets.
1728 It also triggers the PIL to load the DSPS firmware.
1729
1730config MSM_SDIO_CTL
1731 bool "SDIO CTL Driver"
1732 depends on MSM_SDIO_CMUX
1733 default n
1734 help
1735 Provides a binary SDIO control port interface.
1736
1737config MSM_ONCRPCROUTER
1738 depends on MSM_SMD
1739 default n
1740 bool "MSM ONCRPC router support"
1741 help
1742 Support for the MSM ONCRPC router for communication between
1743 the ARM9 and ARM11
1744
1745config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001746 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001747 default n
1748 bool "MSM IPC Router support"
1749 help
1750 Support for the MSM IPC Router for communication between
1751 the APPs and the MODEM
1752
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001753config MSM_IPC_ROUTER_SMD_XPRT
1754 depends on MSM_SMD
1755 depends on MSM_IPC_ROUTER
1756 default n
1757 bool "MSM SMD XPRT Layer"
1758 help
1759 SMD Transport Layer for IPC Router
1760
Karthikeyan Ramasubramanian5b502d3642012-09-23 22:23:36 -06001761config MSM_IPC_ROUTER_SECURITY
1762 depends on MSM_IPC_ROUTER
1763 bool "MSM IPC Router Security support"
1764 help
1765 This feature of IPC Router will enforce security rules
1766 configured by a security script from the user-space. IPC Router
1767 once configured with the security rules will ensure that the
1768 sender of the message to a service belongs to the relevant
1769 Linux group as configured by the security script.
1770
Karthikeyan Ramasubramanianfec77ff2012-10-26 20:03:26 -06001771config MSM_QMI_INTERFACE
1772 depends on MSM_IPC_ROUTER
1773 depends on QMI_ENCDEC
1774 default n
1775 bool "MSM QMI Interface Library"
1776 help
1777 Library to send and receive QMI messages over IPC Router.
1778 This library provides interface functions to the kernel drivers
1779 to perform QMI message marshaling and transport them over IPC
1780 Router.
1781
Karthikeyan Ramasubramaniana9859e82012-07-12 13:10:42 -06001782config MSM_TEST_QMI_CLIENT
1783 depends on MSM_QMI_INTERFACE
1784 bool "MSM TEST QMI CLIENT"
1785 help
1786 The sample QMI client provides a test code for QMI usage. The
1787 test_service client driver uses QMI interface library to send
1788 and receive QMI messages over IPC Router. The test code sends
1789 a synchronous QMI request to the test_service and handles the
1790 QMI responses.
1791
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001792config MSM_ONCRPCROUTER_DEBUG
1793 depends on MSM_ONCRPCROUTER
1794 default y
1795 bool "MSM debug ONCRPC router support"
1796 help
1797 Support for debugging the ONCRPC router for communication
1798 between the ARM9 and ARM11
1799
1800config MSM_RPC_LOOPBACK_XPRT
1801 depends on MSM_ONCRPCROUTER
1802 default n
1803 bool "MSM RPC local routing support"
1804 help
1805 Support for routing RPC messages between APPS clients
1806 and APPS servers. Helps in testing APPS RPC framework.
1807
1808config MSM_RPCSERVER_TIME_REMOTE
1809 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1810 default y
1811 bool "Time remote RPC server"
1812 help
1813 The time remote server receives notification of time bases and
1814 reports these events to registered callback functions.
1815
1816config MSM_RPCSERVER_WATCHDOG
1817 depends on MSM_ONCRPCROUTER
1818 default y
1819 bool "Watchdog RPC server"
1820 help
1821 The dog_keepalive server handles watchdog events.
1822
1823config MSM_RPC_WATCHDOG
1824 depends on MSM_ONCRPCROUTER
1825 default n
1826 bool "Watchdog RPC client"
1827 help
1828 The dog_keepalive client module.
1829
1830config MSM_RPC_PING
1831 depends on MSM_ONCRPCROUTER && DEBUG_FS
1832 default m
1833 bool "MSM rpc ping"
1834 help
1835 Implements MSM rpc ping test module.
1836
1837config MSM_RPC_PROC_COMM_TEST
1838 depends on DEBUG_FS && MSM_PROC_COMM
1839 default m
1840 bool "MSM rpc proc comm test"
1841 help
1842 Implements MSM rpc proc comm test module.
1843
1844config MSM_RPC_OEM_RAPI
1845 depends on MSM_ONCRPCROUTER
1846 default m
1847 bool "MSM oem rapi"
1848 help
1849 Implements MSM oem rapi client module.
1850
1851config MSM_RPCSERVER_HANDSET
1852 depends on MSM_ONCRPCROUTER
1853 default y
1854 bool "Handset events RPC server"
1855 help
1856 Support for receiving handset events like headset detect,
1857 headset switch and clamshell state.
1858
1859config MSM_RMT_STORAGE_CLIENT
1860 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1861 default n
1862 bool "Remote Storage RPC client"
1863 help
1864 Provide RPC mechanism for remote processors to access storage
1865 device on apps processor.
1866
1867config MSM_RMT_STORAGE_CLIENT_STATS
1868 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1869 default n
1870 bool "Remote storage RPC client performance statistics"
1871 help
1872 Collects performance statistics and shows this information
1873 through a debugfs file rmt_storage_stats.
1874
1875config MSM_SDIO_SMEM
1876 depends on MSM_SDIO_AL
1877 default n
1878 bool "SDIO SMEM for remote storage"
1879 help
1880 Copies data from remote MDM9K memory to local MSM8x60
1881 memory. Used by remote storage client to shadow
1882 MDM9K filesystem.
1883
1884config MSM_DALRPC
1885 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001886 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001887 help
1888 Supports RPC calls to DAL devices on remote processor cores.
1889
1890config MSM_DALRPC_TEST
1891 tristate "DAL RPC test module"
1892 depends on (MSM_DALRPC && DEBUG_FS)
1893 default m
1894 help
1895 Exercises DAL RPC calls to QDSP6.
1896
1897if CPU_FREQ_MSM
1898
1899config MSM_CPU_FREQ_SET_MIN_MAX
1900 bool "Set Min/Max CPU frequencies."
1901 default n
1902 help
1903 Allow setting min and max CPU frequencies. Sysfs can be used
1904 to override these values.
1905
1906config MSM_CPU_FREQ_MAX
1907 int "Max CPU Frequency"
1908 depends on MSM_CPU_FREQ_SET_MIN_MAX
1909 default 384000
1910
1911config MSM_CPU_FREQ_MIN
1912 int "Min CPU Frequency"
1913 depends on MSM_CPU_FREQ_SET_MIN_MAX
1914 default 245760
1915
1916endif # CPU_FREQ_MSM
1917
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001918config MSM_AVS_HW
1919 bool "Enable Adaptive Voltage Scaling (AVS)"
1920 default n
1921 help
1922 Enable AVS hardware to fine tune voltage at each frequency. The
1923 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1924 fine tune the voltages based on the feedback from the ring
1925 oscillators.
1926
1927config MSM_HW3D
1928 tristate "MSM Hardware 3D Register Driver"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001929 help
1930 Provides access to registers needed by the userspace OpenGL|ES
1931 library.
1932
1933config MSM_ADSP
1934 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1935 tristate "MSM ADSP driver"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001936 default y
1937 help
1938 Provides access to registers needed by the userspace aDSP library.
1939
1940config ADSP_RPC_VER
1941 hex
1942 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1943 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1944 depends on MSM_ADSP
1945 help
1946 Select proper ADSP RPC version
1947choice
1948 prompt "ADSP RPC version"
1949
1950 default AMSS_7X25_VERSION_2009
1951
1952 config AMSS_7X25_VERSION_2009
1953 bool "2.0.09"
1954
1955 config AMSS_7X25_VERSION_2008
1956 bool "2.0.08"
1957endchoice
1958
1959config MSM7KV2_AUDIO
1960 bool "MSM7K v2 audio"
Laura Abbott0913ebc2013-04-29 12:56:14 -07001961 depends on ARCH_MSM7X30
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001962 default y
1963 help
1964 Enables QDSP5V2-based audio drivers for audio playbacks and
1965 voice call.
1966
1967config MSM_ADSP_REPORT_EVENTS
1968 bool "Report modem events from the DSP"
1969 default y
1970 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1971 help
1972 Normally, only messages from the aDSP are reported to userspace.
1973 With this option, we report events from the aDSP as well.
1974
1975config MSM_QDSP6
1976 tristate "QDSP6 support"
Laura Abbott0913ebc2013-04-29 12:56:14 -07001977 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001978 default y
1979 help
1980 Enable support for qdsp6. This provides audio and video functionality.
1981
1982config MSM8X60_AUDIO
1983 tristate "MSM8X60 audio support"
Laura Abbott0913ebc2013-04-29 12:56:14 -07001984 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001985 default y
1986 help
1987 Enable support for qdsp6v2. This provides audio functionality.
1988
1989config MSM8X60_FTM_AUDIO_DEVICES
1990 bool "MSM8X60 audio factory test mode support"
1991 depends on MSM8X60_AUDIO
1992 help
1993 Enable support audio factory test mode devices. This is used
1994 in a production line environment.
1995
Ben Romberger45b351c2011-07-20 22:37:27 -07001996config RTAC
1997 bool "MSM8K real-time audio calibration support"
1998 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001999 help
Ben Romberger45b351c2011-07-20 22:37:27 -07002000 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002001 audio operation
2002
2003config MSM7X27A_AUDIO
2004 bool "MSM7X27A audio support"
2005 depends on ARCH_MSM7X27A && MSM_ADSP
2006 default n
2007 help
2008 Enable support for 7x27a. This provides audio functionality.
2009
Justin Pauporea6cd2092011-06-22 16:19:45 -07002010config MSM_PROC_COMM_REGULATOR
Gregory Bean1963a2a2010-08-28 10:05:44 -07002011 bool
Justin Pauporea6cd2092011-06-22 16:19:45 -07002012 depends on MSM_PROC_COMM && REGULATOR
2013 help
2014 Enable regulator framework support for regulators managed by PMLIB
2015 on the modem, and controlled through proccomm calls.
2016
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002017config MSM_VREG_SWITCH_INVERTED
2018 bool "Reverse vreg switch polarity"
2019 default n
2020 help
2021 Reverses the enable and disable for vreg switch.
2022
2023config MSM_DMA_TEST
2024 tristate "MSM DMA test module"
2025 default m
2026 help
2027 Intended to be compiled as a module. Provides a device node
2028 and ioctls for testing the MSM dma system.
2029
2030config WIFI_CONTROL_FUNC
2031 bool "Enable WiFi control function abstraction"
2032 help
2033 Enables Power/Reset/Carddetect function abstraction
2034
2035config WIFI_MEM_PREALLOC
2036 depends on WIFI_CONTROL_FUNC
2037 bool "Preallocate memory for WiFi buffers"
2038 help
2039 Preallocates memory buffers for WiFi driver
2040
2041config QSD_AUDIO
2042 bool "QSD audio"
Laura Abbott0913ebc2013-04-29 12:56:14 -07002043 depends on ARCH_MSM_SCORPION && MSM_DALRPC && !MSM_SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002044 default y
2045 help
2046 Provides PCM, MP3, and AAC audio playback.
2047
2048config AUDIO_AAC_PLUS
2049 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
2050 bool "AAC+ Audio"
2051 default y
2052 help
2053 Provides AAC+ decoding
2054
2055config AUDIO_ENHANCED_AAC_PLUS
2056 depends on AUDIO_AAC_PLUS
2057 bool "Enhanced AAC+ Audio"
2058 default y
2059 help
2060 Provides Enhanced AAC+ decoding
2061
2062config SURF_FFA_GPIO_KEYPAD
2063 bool "MSM SURF/FFA GPIO keypad"
2064 depends on INPUT_GPIO = "y"
2065 default y
2066 help
2067 Select if the GPIO keypad is attached.
2068
2069config MSM_SLEEP_TIME_OVERRIDE
2070 bool "Allow overriding suspend/sleep time with PM module parameter"
2071 default y
2072 help
2073 Enable the module parameter sleep_time_override. Specified
2074 in units of seconds, it overwrites the normal sleep time of
2075 suspend. The feature is required for automated power management
2076 testing.
2077
2078config MSM_MEMORY_LOW_POWER_MODE
2079 bool "Control the low power modes of memory"
2080 default n
2081 help
2082 The application processor controls whether memory should enter
2083 which low power mode.
2084
2085choice
2086 prompt "Default Memory Low Power Mode during Idle"
2087 depends on MSM_MEMORY_LOW_POWER_MODE
2088 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
2089 help
2090 Selects the default low power mode of the memory during idle
2091 sleep.
2092
2093 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
2094 bool "Memory active"
2095
2096 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
2097 bool "Memory in retention"
2098
2099 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
2100 bool "Memory in deep power down"
2101endchoice
2102
2103choice
2104 prompt "Default Memory Low Power Mode during Suspend"
2105 depends on MSM_MEMORY_LOW_POWER_MODE
2106 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
2107 help
2108 Selects the default low power mode of the memory during suspend
2109 sleep.
2110
2111 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
2112 bool "Memory active"
2113
2114 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
2115 bool "Memory in retention"
2116
2117 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
2118 bool "Memory in deep power down"
2119endchoice
2120
2121choice
2122 prompt "Power management timeout action"
2123 default MSM_PM_TIMEOUT_HALT
2124 help
2125 Selects the Application Processor's action when Power Management
2126 times out waiting for Modem's handshake.
2127
2128 config MSM_PM_TIMEOUT_HALT
2129 bool "Halt the Application Processor"
2130
2131 config MSM_PM_TIMEOUT_RESET_MODEM
2132 bool "Reset the Modem Processor"
2133
2134 config MSM_PM_TIMEOUT_RESET_CHIP
2135 bool "Reset the entire chip"
2136endchoice
2137
2138config MSM_IDLE_WAIT_ON_MODEM
2139 int "Wait for Modem to become ready for idle power collapse"
2140 default 0
2141 help
2142 If Modem is not ready to handle Application Processor's request
2143 for idle power collapse, wait the number of microseconds in case
2144 Modem becomes ready soon.
2145
Matt Wagantall9274df92011-12-15 11:11:05 -08002146config MSM_RPM_REGULATOR
2147 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08002148 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08002149 help
2150 Compile in support for the RPM regulator driver, used for setting
2151 voltages and other parameters of the various power rails supplied
2152 by some Qualcomm PMICs.
2153
David Collinsc7642322012-04-04 10:19:12 -07002154config MSM_RPM_REGULATOR_SMD
2155 bool "SMD RPM regulator driver"
2156 depends on REGULATOR
2157 depends on OF
2158 depends on MSM_RPM_SMD
2159 help
2160 Compile in support for the SMD RPM regulator driver which is used for
2161 setting voltages and other parameters of the various power rails
2162 supplied by some Qualcomm PMICs. The SMD RPM regulator driver should
2163 be used on systems which contain an RPM which communicates with the
2164 application processor over SMD.
2165
David Collins037d6482013-03-14 16:53:33 -07002166config MSM_SPM_REGULATOR
2167 bool "SPM regulator driver"
2168 depends on REGULATOR && SPMI && OF_SPMI
2169 help
2170 Enable support for the SPM regulator driver which is used for
2171 setting voltages of processor supply regulators via the SPM module
2172 found inside of the MSM chips. The SPM regulator driver can be used
2173 on MSM systems where the APSS processor cores are supplied by their
2174 own PMIC regulator.
2175
Rohit Vaswani5fd759e2012-11-07 07:05:08 -08002176config MSM_SMCMOD
2177 tristate "Secure Monitor Call (SMC) Module"
2178 default n
2179 depends on (ARCH_FSM9XXX && ION && ION_MSM && MSM_SCM)
2180 help
2181 Enable support for smcmod driver. This driver provides a mechanism
2182 to execute the Secure Monitor Call (SMC) to switch from non-secure
2183 to secure execution in the fsm9xxx targets. This module utilizes Ion
2184 for buffer management.
2185
Stephen Boyd01710582012-07-09 13:40:05 -07002186config MSM_SUBSYSTEM_RESTART
2187 bool "MSM Subsystem Restart"
2188 help
2189 This option enables the MSM subsystem restart framework.
2190
2191 The MSM subsystem restart framework provides support to boot,
2192 shutdown, and restart subsystems with a reference counted API.
2193 It also notifies userspace of transitions between these states via
2194 sysfs.
2195
2196config MSM_SYSMON_COMM
2197 bool "MSM System Monitor communication support"
2198 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
2199 help
2200 This option adds support for MSM System Monitor library, which
2201 provides an API that may be used for notifying subsystems within
2202 the SoC about other subsystems' power-up/down state-changes.
2203
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002204config MSM_PIL
2205 bool "Peripheral image loading"
2206 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002207 default n
2208 help
2209 Some peripherals need to be loaded into memory before they can be
2210 brought out of reset.
2211
2212 Say yes to support these devices.
2213
Stephen Boyd4eb885b2011-09-29 01:16:03 -07002214config MSM_PIL_MODEM
2215 tristate "Modem (ARM11) Boot Support"
Stephen Boyd3ac20732012-05-03 18:46:08 -07002216 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd4eb885b2011-09-29 01:16:03 -07002217 help
2218 Support for booting and shutting down ARM11 Modem processors.
2219
Stephen Boyd3acc9e42011-09-28 16:46:40 -07002220config MSM_PIL_QDSP6V3
2221 tristate "QDSP6v3 (Hexagon) Boot Support"
Stephen Boyd2e19d932012-05-09 17:36:04 -07002222 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd3acc9e42011-09-28 16:46:40 -07002223 help
2224 Support for booting and shutting down QDSP6v3 processors (hexagon).
2225 The QDSP6 is a low power DSP used in audio software applications.
2226
Stephen Boydbdb53f32012-06-05 18:39:47 -07002227config MSM_PIL_LPASS_QDSP6V4
2228 tristate "LPASS QDSP6v4 (Hexagon) Boot Support"
Stephen Boyda1cf76b2012-06-13 12:05:35 -07002229 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydeb819882011-08-29 14:46:30 -07002230 help
Stephen Boydbdb53f32012-06-05 18:39:47 -07002231 Support for booting and shutting down QDSP6v4 processors (hexagon)
2232 in low power audio subsystems. If you would like to record or
2233 play audio then say Y here.
2234
2235 If unsure, say N.
2236
2237config MSM_PIL_MODEM_QDSP6V4
2238 tristate "Modem QDSP6v4 (Hexagon) Boot Support"
Stephen Boyd2efa9962012-06-12 14:20:12 -07002239 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydbdb53f32012-06-05 18:39:47 -07002240 help
2241 Support for booting and shutting down QDSP6v4 processors (hexagon)
2242 in modem subsystems. If you would like to make or receive phone
2243 calls then say Y here.
2244
2245 If unsure, say N.
Stephen Boydeb819882011-08-29 14:46:30 -07002246
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07002247config MSM_PIL_LPASS_QDSP6V5
Stephen Boyd633eb622012-06-13 12:05:35 -07002248 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
2249 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
2250 help
2251 Support for booting and shutting down QDSP6v5 (Hexagon) processors
2252 in low power audio subsystems. This driver also monitors the ADSP
2253 SMSM status bits and the ADSP's watchdog interrupt and restarts the
2254 ADSP if the processor encounters a fatal error.
Matt Wagantall4e2599e2012-03-21 22:31:35 -07002255
2256config MSM_PIL_MSS_QDSP6V5
Stephen Boyd3da4fd02012-07-06 10:00:12 -07002257 tristate "MSS QDSP6v5 (Hexagon) Boot Support"
2258 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantalle6e00d52012-03-08 17:39:07 -08002259 help
Stephen Boyd3da4fd02012-07-06 10:00:12 -07002260 Support for booting and shutting down QDSP6v5 (Hexagon) processors
2261 in modem subsystems. If you would like to make or receive phone
2262 calls then say Y here.
2263
2264 If unsure, say N.
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07002265
Stephen Boyd322a9922011-09-20 01:05:54 -07002266config MSM_PIL_RIVA
2267 tristate "RIVA (WCNSS) Boot Support"
Stephen Boydfdec00d2012-05-10 17:04:49 -07002268 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd322a9922011-09-20 01:05:54 -07002269 help
2270 Support for booting and shutting down the RIVA processor (WCNSS).
2271 Riva is the wireless subsystem processor used in bluetooth, wireless
2272 LAN, and FM software applications.
2273
Stephen Boydd89eebe2011-09-28 23:28:11 -07002274config MSM_PIL_TZAPPS
2275 tristate "TZApps Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002276 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boydd89eebe2011-09-28 23:28:11 -07002277 help
2278 Support for booting and shutting down TZApps.
2279
2280 TZApps is an image that runs in the secure processor state. It is
2281 used to decrypt data and perform secure operations on the behalf of
2282 the kernel.
2283
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07002284config MSM_PIL_DSPS
2285 tristate "DSPS Boot Support"
Stephen Boydf169b4b2012-05-10 17:55:55 -07002286 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07002287 help
2288 Support for booting and shutting down ARM7 DSPS processors.
2289
2290 DSPS is a sensors offloading processor used for applications such
2291 as rotation detection, temperature, etc.
2292
Stephen Boyd7b973de2012-03-09 12:26:16 -08002293config MSM_PIL_VIDC
2294 tristate "Video Core Secure Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002295 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd7b973de2012-03-09 12:26:16 -08002296 help
2297 Support for authenticating the video core image.
2298
Tianyi Gou828798d2012-05-02 21:12:38 -07002299config MSM_PIL_VENUS
2300 tristate "VENUS (Video) Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002301 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Tianyi Gou828798d2012-05-02 21:12:38 -07002302 help
2303 Support for booting and shutting down the VENUS processor (Video).
2304 Venus is the Video subsystem processor used for video codecs.
2305
Matt Wagantall292aace2012-01-26 19:12:34 -08002306config MSM_PIL_GSS
Stephen Boydd86214b2012-05-10 15:26:35 -07002307 tristate "GSS (Cortex A5) Boot Support"
2308 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantall292aace2012-01-26 19:12:34 -08002309 help
2310 Support for booting and shutting down Cortex A5 processors which run
2311 GPS subsystem firmware.
2312
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002313config MSM_PIL_PRONTO
2314 tristate "PRONTO (WCNSS) Boot Support"
Stephen Boyd581fe852012-06-13 12:05:35 -07002315 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002316 help
2317 Support for booting and shutting down the PRONTO processor (WCNSS).
2318 PRONTO is the wireless subsystem processor used in bluetooth, wireless
2319 LAN, and FM software applications.
2320
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002321config MSM_SCM
2322 bool "Secure Channel Manager (SCM) support"
2323 default n
2324
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002325config SCORPION_Uni_45nm_BUG
2326 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
2327 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
2328 default y
2329 help
2330 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
2331 invalidating the Branch Predictor Array by Modified Virtual Address can
2332 create invalid entries in the TLB with the wrong ASID values on Scorpion
2333 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
2334 workaround for Scorpion Uniprocessor 45nm cores.
2335
2336 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
2337
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002338config MSM_BUSPM_DEV
2339 tristate "MSM Bus Performance Monitor Kernel Module"
Gagan Macb8168702013-05-16 15:46:06 -06002340 depends on MSM_BUS_SCALING
2341 default n
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002342 help
2343 This kernel module is used to mmap() hardware registers for the
2344 performance monitors, counters, etc. The module can also be used to
2345 allocate physical memory which is used by bus performance hardware to
2346 dump performance data.
2347
Mona Hossain11c03ac2011-10-26 12:42:10 -07002348config MSM_TZ_LOG
2349 tristate "MSM Trust Zone (TZ) Log Driver"
2350 depends on DEBUG_FS
2351 help
2352 This option enables a driver with a debugfs interface for messages
2353 produced by the Secure code (Trust zone). These messages provide
2354 diagnostic information about TZ operation.
2355
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002356config MSM_RPM_LOG
2357 tristate "MSM Resource Power Manager Log Driver"
2358 depends on DEBUG_FS
Priyanka Mathur49c60802012-12-13 12:53:58 -08002359 depends on MSM_RPM || MSM_RPM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002360 default n
2361 help
2362 This option enables a driver which can read from a circular buffer
2363 of messages produced by the RPM. These messages provide diagnostic
2364 information about RPM operation. The driver outputs the messages
2365 via a debugfs node.
2366
2367config MSM_RPM_STATS_LOG
2368 tristate "MSM Resource Power Manager Stat Driver"
2369 depends on DEBUG_FS
Priyanka Mathur1af9d4b2012-10-30 14:55:44 -07002370 depends on MSM_RPM || MSM_RPM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002371 default n
2372 help
2373 This option enables a driver which reads RPM messages from a shared
2374 memory location. These messages provide statistical information about
2375 the low power modes that RPM enters. The drivers outputs the message
2376 via a debugfs node.
2377
Girish Mahadevan898c56d2012-06-05 16:09:19 -06002378config MSM_RPM_RBCPR_STATS_LOG
2379 tristate "MSM Resource Power Manager RPBCPR Stat Driver"
2380 depends on DEBUG_FS
2381 depends on MSM_RPM
2382 help
2383 This option enables a driver which reads RPM messages from a shared
2384 memory location. These messages provide statistical information about
2385 RBCPR (Rapid Bridge Core Power Reduction) information . The drivers
2386 outputs the message via a debugfs node.
2387
Girish Mahadevanb0ef7d52013-05-30 15:53:48 -06002388config MSM_RPM_RBCPR_STATS_V2_LOG
2389 tristate "MSM Resource Power Manager RPBCPR Stat Driver"
2390 depends on DEBUG_FS
2391 help
2392 This option enables v2 of the rpmrbcpr_stats driver which reads RPM
2393 memory for statistics pertaining to RPM's RBCPR(Rapid Bridge Core
2394 Power Reduction) driver. The drivers outputs the message via a
2395 debugfs node.
2396
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002397config MSM_DIRECT_SCLK_ACCESS
2398 bool "Direct access to the SCLK timer"
2399 default n
2400
2401config IOMMU_API
2402 bool
Gregory Bean1963a2a2010-08-28 10:05:44 -07002403
Brian Swetland9e73c842007-11-26 04:12:13 -08002404config MSM_GPIOMUX
2405 bool
2406
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002407config MSM_SECURE_IO
Brian Swetland9e73c842007-11-26 04:12:13 -08002408 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002409
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002410config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002411 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002412
Taniya Dascd1d0232012-07-03 17:50:47 +05302413config MSM_MODEM_RESTART
2414 bool
2415
Matt Wagantall88b86312012-01-31 16:53:03 -08002416config MSM_PM2
2417 depends on PM
2418 bool
2419
2420config MSM_PM8X60
2421 depends on PM
2422 bool
2423
Girish Mahadevan388c3082012-09-10 15:30:36 -06002424config MSM_EVENT_TIMER
2425 bool "Event timer"
2426 help
2427 This option enables a modules that manages a list of event timers that
2428 need to be monitored by the PM. The enables the PM code to monitor
2429 events that require the core to be awake and ready to handle the
2430 event.
2431
Matt Wagantall88b86312012-01-31 16:53:03 -08002432config MSM_NOPM
2433 default y if !PM
2434 bool
2435
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002436config MSM_BUS_SCALING
2437 bool "Bus scaling driver"
2438 default n
2439
Gagan Mac85c70492011-06-10 16:07:47 -06002440config MSM_BUS_RPM_MULTI_TIER_ENABLED
2441 bool "RPM Multi-tiering Configuration"
2442 depends on MSM_BUS_SCALING
2443
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002444config MSM_WATCHDOG
2445 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002446 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002447 help
2448 This enables the watchdog as is present on 8x60. Currently we use
2449 core 0's watchdog, and reset the entire SoC if it times out. It does
2450 not run during the bootup process, so it will not catch any early
2451 lockups.
2452
Hanumant Singhd1f01022012-07-05 14:21:53 -07002453config MSM_WATCHDOG_V2
2454 bool "MSM Watchdog Support"
2455 help
2456 This enables the watchdog module. It causes kernel panic if the
2457 watchdog times out. It allows for detection of cpu hangs and
2458 deadlocks. It does not run during the bootup process, so it will
2459 not catch any early lockups.
2460
Hanumant Singh5e2541c2012-07-31 14:41:14 -07002461config MSM_MEMORY_DUMP
2462 bool "MSM Memory Dump Support"
2463 help
2464 This enables memory dump feature. It allows various client
2465 subsystems to register respective dump regions. At the time
2466 of deadlocks or cpu hangs these dump regions are captured to
2467 give a snapshot of the system at the time of the crash.
2468
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002469config MSM_DLOAD_MODE
2470 bool "Enable download mode on crashes"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002471 default n
2472 help
2473 This makes the SoC enter download mode when it resets
2474 due to a kernel panic. Note that this doesn't by itself
2475 make the kernel reboot on a kernel panic - that must be
2476 enabled via another mechanism.
2477
Pratik Patel17f3b822011-11-21 12:41:47 -08002478config MSM_JTAG
Pratik Patel61e91702013-01-27 20:30:42 -08002479 bool "Debug and ETM trace support across power collapse"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002480 help
Pratik Patel61e91702013-01-27 20:30:42 -08002481 Enables support for debugging (specifically breakpoints) and ETM
Pratik Patel2963de42012-05-17 12:43:40 -07002482 processor tracing across power collapse both for JTag and OS hosted
2483 software running on the target. Enabling this will ensure debug
2484 and ETM registers are saved and restored across power collapse.
2485
Pratik Patel61e91702013-01-27 20:30:42 -08002486 If unsure, say 'N' here to avoid potential power, performance and
2487 memory penalty.
Pratik Patel7831c082011-06-08 21:44:37 -07002488
Pushkar Joshi64cae782012-12-15 18:59:03 -08002489config MSM_JTAG_MM
Pratik Patel61e91702013-01-27 20:30:42 -08002490 bool "Debug and ETM trace support across power collapse using memory mapped access"
Pushkar Joshi64cae782012-12-15 18:59:03 -08002491 help
Pratik Patel61e91702013-01-27 20:30:42 -08002492 Enables support for debugging (specifically breakpoints) and ETM
2493 processor tracing across power collapse both for JTag and OS hosted
2494 software running on the target. Enabling this will ensure debug
2495 and ETM registers are saved and restored across power collapse.
Pushkar Joshi64cae782012-12-15 18:59:03 -08002496
Pratik Patel61e91702013-01-27 20:30:42 -08002497 Required on targets on which cp14 access to debug and ETM registers is
2498 not permitted and so memory mapped access is necessary.
2499
2500 If unsure, say 'N' here to avoid potential power, performance and
2501 memory penalty.
Pushkar Joshi64cae782012-12-15 18:59:03 -08002502
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002503config MSM_ETM
2504 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002505 depends on ARCH_MSM8X60
2506 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002507 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002508 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002509
Lynus Vazdde09ee2012-01-05 13:28:22 +05302510config MSM_SLEEP_STATS_DEVICE
2511 bool "Enable exporting of MSM sleep device stats to userspace"
2512
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302513config MSM_RUN_QUEUE_STATS
2514 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Subbaraman Narayanamurthy0b148fc2012-11-28 12:14:12 -08002515 default n
Krishna Vankae2922052012-03-02 09:59:12 +05302516 help
2517 This option enalbes statistics collection on Run Queue. A daemon
2518 in user mode, called MPDecision will be using this data to decide
2519 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302520
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002521config MSM_STANDALONE_POWER_COLLAPSE
2522 bool "Enable standalone power collapse"
2523 default n
2524
2525config MSM_GSBI9_UART
2526 bool "Enable GSBI9 UART device"
2527 default n
2528 help
2529 This enables GSBI9 configured into UART.
2530
2531config MSM_SHARED_GPIO_FOR_UART2DM
2532 bool "Use shared GPIOs into UART mode"
2533 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2534 help
2535 This option configures GPIO muxed with SDC4/MMC3
2536 8-bit mode into UART mode. It is used for serial
2537 console on UART2DM. Say Y if you want to have
2538 serial console on UART2DM.
2539
2540config MSM_SHOW_RESUME_IRQ
2541 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002542 depends on (ARM_GIC || PMIC8058)
2543 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002544 default n
2545 help
2546 This option logs wake up interrupts that have triggered just before
2547 the resume loop unrolls. Say Y if you want to debug why the system
2548 resumed.
2549
2550config BT_MSM_PINTEST
2551 tristate "MSM Bluetooth Pin Connectivity Test"
2552 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2553 default n
2554 help
2555 Bluetooth MSM Pin Connectivity test module.
2556 This driver provides support for verifying the MSM to BT pin
2557 connectivity.
2558
2559config MSM_FAKE_BATTERY
2560 depends on POWER_SUPPLY
2561 default n
2562 bool "MSM Fake Battery"
2563 help
2564 Enables MSM fake battery driver.
2565
2566config MSM_QDSP6_APR
2567 bool "Audio QDSP6 APR support"
2568 depends on MSM_SMD
2569 default n
2570 help
2571 Enable APR IPC protocol support between
2572 application processor and QDSP6. APR is
2573 used by audio driver to configure QDSP6's
2574 ASM, ADM and AFE.
2575
Joonwoo Park91d95462012-08-02 10:55:54 -07002576config MSM_QDSP6_APRV2
2577 bool "Audio QDSP6 APRv2 support"
2578 depends on MSM_SMD
2579 default n
2580 help
2581 Enable APRv2 IPC protocol support between
2582 application processor and QDSP6. APR is
2583 used by audio driver to configure QDSP6's
2584 ASM, ADM and AFE.
2585
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -07002586config MSM_QDSP6_CODECS
2587 bool "Audio Codecs on QDSP6 APR "
2588 depends on MSM_SMD
2589 default n
2590 help
2591 Enable Audio codecs with APR IPC protocol support between
2592 application processor and QDSP6. APR is
2593 used by audio driver to configure QDSP6's
2594 ASM, ADM and AFE.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002595
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002596config MSM_QDSP6V2_CODECS
2597 bool "Audio QDSP6V2 APR support"
2598 depends on MSM_SMD
2599 help
2600 Enable Audio codecs with APR IPC protocol support between
2601 application processor and QDSP6 for B-family. APR is
2602 used by audio driver to configure QDSP6's
2603 ASM, ADM and AFE.
2604
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002605config MSM_AUDIO_QDSP6
2606 bool "QDSP6 HW Audio support"
2607 select SND_SOC_MSM_QDSP6_INTF
2608 default n
2609 help
2610 Enable HW audio support in QDSP6.
2611 QDSP6 can support HW encoder & decoder and audio processing
2612
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002613config MSM_AUDIO_QDSP6V2
2614 bool "QDSP6V2 HW Audio support"
2615 select SND_SOC_MSM_QDSP6V2_INTF
2616 help
2617 Enable HW audio support in QDSP6V2.
2618 QDSP6V2 can support HW encoder & decoder and
2619 audio processing. It will enable support for
2620 AAC, AMRNB, AMRWB, EVRC, MP3, QCELP among
2621 others.
2622
Joonwoo Park4a14a552012-08-02 11:03:21 -07002623config MSM_ADSP_LOADER
2624 tristate "ADSP loader support"
2625 select SND_SOC_MSM_APRV2_INTF
2626 depends on MSM_AUDIO_QDSP6V2 && m
2627 help
2628 Enable ADSP image loader.
2629 The ADSP loader brings ADSP out of reset
2630 for the platforms that use APRv2.
2631 Say M if you want to enable this module.
2632
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +02002633config MSM_ULTRASOUND_A
2634 bool "QDSP6 HW Ultrasound support"
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002635 help
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +02002636 Enable HW ultrasound support in QDSP6.
2637 QDSP6 can support HW encoder & decoder and
2638 ultrasound processing. It will enable
2639 ultrasound data paths between
2640 HW and services, calculating input events
2641 upon the ultrasound data.
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002642
Baruch Eruchimovitch8c3f7802013-01-05 22:48:04 +02002643config MSM_ULTRASOUND_B
2644 bool "QDSP6V2 HW Ultrasound support"
2645 help
2646 Enable HW Ultrasound support in QDSP6V2.
2647 QDSP6V2 can support HW encoder & decoder and
2648 ultrasound processing. It will enable
2649 ultrasound data paths between
2650 HW and services, calculating input events
2651 upon the ultrasound data.
2652
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002653config MSM_RPC_VIBRATOR
2654 bool "RPC based MSM Vibrator Support"
2655 depends on MSM_ONCRPCROUTER
2656 help
2657 Enable the vibrator support on MSM over RPC. The vibrator
2658 is connected on the PMIC. Say Y if you want to enable this
2659 feature.
2660
2661config PM8XXX_RPC_VIBRATOR
2662 bool "RPC based Vibrator on PM8xxx PMICs"
2663 depends on MSM_RPC_VIBRATOR
2664 help
2665 Enable the vibrator support on MSM over RPC. The vibrator
2666 is connected on the PM8XXX PMIC. Say Y if you want to enable
2667 this feature.
2668
2669config MSM_SPM_V1
2670 bool "Driver support for SPM Version 1"
2671 help
2672 Enables the support for Version 1 of the SPM driver. SPM hardware is
2673 used to manage the processor power during sleep. The driver allows
2674 configuring SPM to allow different power modes.
2675
2676config MSM_SPM_V2
2677 bool "Driver support for SPM Version 2"
2678 help
2679 Enables the support for Version 2 of the SPM driver. SPM hardware is
2680 used to manage the processor power during sleep. The driver allows
2681 configuring SPM to allow different power modes.
2682
2683config MSM_L2_SPM
2684 bool "SPM support for L2 cache"
2685 depends on MSM_SPM_V2
2686 help
2687 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2688 control of L2 cache low power mode with a Subsystem Power manager.
2689 Enabling this driver allows configuring L2 SPM for low power modes
2690 on supported chipsets.
2691
Laura Abbott2d1760b2011-09-29 21:31:24 -07002692config MSM_MULTIMEDIA_USE_ION
2693 bool "Multimedia suport using Ion"
2694 depends on ION_MSM
2695 help
2696 Enable support for multimedia drivers using Ion for buffer management
2697 instead of pmem. Selecting this may also involve userspace
2698 dependencies as well.
2699
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002700config MSM_OCMEM
2701 bool "MSM On-Chip memory driver (OCMEM)"
2702 help
2703 Enable support for On-Chip Memory available on certain MSM chipsets.
2704 OCMEM is a low latency, high performance pool shared by subsystems.
2705
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002706config MSM_OCMEM_LOCAL_POWER_CTRL
2707 bool "OCMEM Local Power Control"
2708 depends on MSM_OCMEM
2709 help
2710 Enable direct power management of the OCMEM core by the
2711 OCMEM driver. By default power management is delegated to
2712 the RPM. Selecting this option causes the OCMEM driver to
2713 directly handle the various macro power transitions.
2714
2715config MSM_OCMEM_DEBUG
2716 bool "OCMEM Debug Support"
2717 depends on MSM_OCMEM
2718 help
2719 Enable debug options for On-chip Memory (OCMEM) driver.
2720 Various debug options include memory, power and latency.
2721 Choosing one of these options allows debugging of each
2722 individual subsystem separately.
2723
Naveen Ramarajc71b2de2012-08-20 12:35:52 -07002724config MSM_OCMEM_NONSECURE
2725 bool "OCMEM Non Secure Mode"
2726 depends on MSM_OCMEM_DEBUG
2727 help
2728 Disable OCMEM interaction with secure processor.
2729 By default OCMEM is secured and accesses for each master
2730 is requested by the OCMEM driver. Selecting this option
2731 causes the OCMEM memory to be in non-secure state unless
2732 its locked down by the secure processor.
2733
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002734config MSM_OCMEM_POWER_DEBUG
2735 bool "OCMEM Power Debug Support"
2736 depends on MSM_OCMEM_DEBUG
2737 help
2738 Enable debug support for OCMEM power management.
2739 This adds support for verifying all power management
2740 related operations of OCMEM. Both local power management
2741 and RPM assisted power management operations are supported.
2742
Naveen Ramaraj69f4aa92013-03-11 13:56:06 -07002743config MSM_OCMEM_DEBUG_ALWAYS_ON
2744 bool "Keep OCMEM always turned ON"
Naveen Ramaraj4b1d9392012-08-06 21:05:14 -07002745 depends on MSM_OCMEM_DEBUG
2746 help
Naveen Ramaraj69f4aa92013-03-11 13:56:06 -07002747 Always vote for all OCMEM clocks and keep all OCMEM
2748 macros turned ON and never allow them to be turned OFF.
2749 Both local power management and RPM assisted power modes
2750 are supported for individual macro power control operations.
2751
2752config MSM_OCMEM_POWER_DISABLE
2753 bool "OCMEM Disable Power Control"
2754 depends on MSM_OCMEM
2755 help
Naveen Ramaraj4b1d9392012-08-06 21:05:14 -07002756 Disable all OCMEM power management.
Naveen Ramaraj69f4aa92013-03-11 13:56:06 -07002757 Skip all OCMEM power operations that turn ON or
2758 turn OFF the macros. Both local power management and
2759 RPM assisted power management operations are skipped.
2760 Enable this configuration if OCMEM is being exclusively
2761 used as GMEM or OCIMEM.
Naveen Ramaraj4b1d9392012-08-06 21:05:14 -07002762
Naveen Ramaraj88f23632012-10-10 12:23:29 -07002763config SENSORS_ADSP
2764 bool "Enable Sensors Driver Support for ADSP"
2765 help
2766 Add support for sensors ADSP driver.
2767 This driver is used for exercising different sensors use cases,
2768 such as for lower-power OCMEM use cases, and for time syncing
2769 with ADSP clock.
2770
Laura Abbottad340ff2012-01-04 14:23:48 -08002771config MSM_RTB
2772 bool "Register tracing"
2773 help
2774 Add support for logging different events to a small uncached
2775 region. This is designed to aid in debugging reset cases where the
2776 caches may not be flushed before the target resets.
2777
2778config MSM_RTB_SEPARATE_CPUS
2779 bool "Separate entries for each cpu"
2780 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002781 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002782 help
2783 Under some circumstances, it may be beneficial to give dedicated space
2784 for each cpu to log accesses. Selecting this option will log each cpu
2785 separately. This will guarantee that the last acesses for each cpu
2786 will be logged but there will be fewer entries per cpu
2787
Stepan Moskovchenko57884842012-06-07 17:35:49 -07002788config MSM_EBI_ERP
2789 bool "External Bus Interface (EBI) error reporting"
2790 help
2791 Say 'Y' here to enable reporting of external bus interface errors to
2792 the kernel log. Information such as the offending address and
2793 transaction type will be logged. This may be useful for debugging
2794 seemingly broken memory accesses.
2795
2796 For production builds, you should probably say 'N' here.
2797
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002798config MSM_CACHE_ERP
2799 bool "Cache / CPU error reporting"
2800 depends on ARCH_MSM_KRAIT
2801 help
2802 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2803 log. Enabling this feature can be used as a system debugging technique
2804 if cache corruption is suspected. Cache error statistics will also be
2805 reported in /proc/cpu/msm_cache_erp.
2806
2807 For production builds, you should probably say 'N' here.
2808
2809config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002810 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002811 depends on MSM_CACHE_ERP
2812 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002813 To cause the kernel to panic whenever an L1 cache error is detected, say
2814 'Y' here. This may be useful as a debugging technique if general system
2815 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002816
2817 For production builds, you should probably say 'N' here.
2818
Stepan Moskovchenkoe1aba3d2012-12-06 18:40:25 -08002819config MSM_L1_RECOV_ERR_PANIC
2820 bool "Panic on recoverable L1 cache errors"
2821 depends on MSM_CACHE_ERP && MSM_L1_ERR_PANIC
2822 help
2823 Certain CPU designs may be able to automatically recover from certain
2824 kinds of L1 cache errors, even though the L1 cache itself may not
2825 support error correction. These errors should not result in any kind
2826 of corruption, but their presence is nevertheless an indication of
2827 poor system health. To cause the kernel to panic whenever a
2828 recoverable L1 cache error is detected, say 'Y' here. This may be
2829 useful as a debugging technique if general system instability is
2830 suspected.
2831
2832 For production builds, you should definitely say 'N' here.
2833
Stepan Moskovchenko7035f652012-05-31 17:48:01 -07002834config MSM_L1_ERR_LOG
2835 bool "Log CPU ERP events to system memory"
2836 depends on MSM_CACHE_ERP
2837 help
2838 Enable logging CPU ERP events to an area of memory that will be
2839 preserved across a system reset. This may be useful for detecting and
2840 troubleshooting ERP-related system crashes in the field.
2841
2842 For production builds, you may want to say 'Y' here.
2843
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002844config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2845 bool "Report L2 master port slave/decode errors in kernel log"
2846 depends on MSM_CACHE_ERP
2847 help
2848 Master port errors can occur when a memory request is not properly
2849 handled by the destination slave. This can occur if the destination
2850 register does not exist or is inaccessible due to security
2851 restrictions or (in some cases) clock configuration. Enabling this
2852 option will cause a backtrace to be printed to the kernel log whenever
2853 such an error is encountered. Note that the error is reported as an
2854 interrupt rather than as an exception, meaning that the backtrace may
2855 have some skid. This option may help with debugging, though production
2856 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002857
2858config MSM_L2_ERP_PORT_PANIC
2859 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002860 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002861 help
2862 Master port errors can occur when a memory request is not properly
2863 handled by the destination slave. Enable this option to catch drivers
2864 which attempt to access bad areas of the address space, or access
2865 hardware registers in an improper state (such as certain clocks not
2866 being on). This option may help with debugging, though production
2867 builds should probably say 'N' here.
2868
2869config MSM_L2_ERP_1BIT_PANIC
2870 bool "Panic on recoverable L2 soft errors"
2871 depends on MSM_CACHE_ERP
2872 help
2873 Enable this option to cause a kernel panic whenever the L2 cache
2874 encounters a single-bit (correctable) soft error. This option should
2875 only be enabled when doing low-level debugging where cache corruption
2876 is suspected.
2877
2878 For production builds, you should definitely say 'N' here.
2879
2880config MSM_L2_ERP_2BIT_PANIC
2881 bool "Panic on unrecoverable L2 soft errors"
2882 depends on MSM_CACHE_ERP
2883 help
2884 Enable this option to cause a kernel panic whenever the L2 cache
2885 encounters a double-bit (non-correctable) soft error. Debug builds
2886 will likely benefit from having this option enabled to catch cache
2887 problems as soon as possible.
2888
2889 For production builds, it may be acceptable to say 'N' here, since
2890 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002891
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002892config MSM_DCVS
2893 bool "Use MSM DCVS for CPU/GPU Frequency control"
2894 depends on MSM_SCM
2895 help
2896 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2897 The DCVS manager allows idle driver to feed the idle information to the
2898 algorithm and the algorithm returns a frequency for the core which is
2899 passed to the frequency change driver.
2900
Pankaj Kumar32ce1ea2012-04-04 20:29:29 +05302901config MSM_CPR
2902 tristate "Use MSM CPR in S/W mode"
2903 help
2904 Enable CPR (core power reduction) in S/W mode, where the processor
2905 get's the notification from CPR block and programs the PMIC.
2906
2907config MSM_VP_REGULATOR
2908 tristate "Use MSM PMIC8029 C2 regulator"
2909 depends on ARCH_MSM8625
2910 help
2911 Enable MSM PMIC8029 C2 regulator support using APC_PLEVEL access
2912 for MSMs like 8625.
2913
Taniya Dasc43e6872012-03-21 16:41:14 +05302914config HAVE_ARCH_HAS_CURRENT_TIMER
2915 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002916
2917config MSM_CACHE_DUMP
2918 bool "Cache dumping support"
2919 help
2920 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2921 This allows for analysis of the caches in case cache corruption is
2922 suspected.
2923
Laura Abbott7b637362012-03-29 16:43:49 -07002924config MSM_CACHE_DUMP_ON_PANIC
2925 bool "Dump caches on panic"
2926 depends on MSM_CACHE_DUMP
2927 help
2928 By default, the caches are flushed on panic. This means that trying to
2929 look at them in a RAM dump will give useless data. Select this if you
2930 want to dump the L1 and L2 caches on panic before any flush occurs.
2931 If unsure, say N
2932
Jack Phamccbbfab2012-04-09 19:50:20 -07002933config MSM_HSIC_SYSMON
2934 tristate "MSM HSIC system monitor driver"
2935 depends on USB
2936 help
2937 Add support for bridging with the system monitor interface of MDM
2938 over HSIC. This driver allows the local system monitor to
2939 communicate with the remote system monitor interface.
2940
2941config MSM_HSIC_SYSMON_TEST
2942 tristate "MSM HSIC system monitor bridge test"
2943 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2944 help
2945 Enable the test hook for the Qualcomm system monitor HSIC driver.
2946 This will create a debugfs file entry named "hsic_sysmon_test" which
2947 can be read and written to send character data to the sysmon port of
2948 the modem over USB.
2949
Anirudh Ghayal0d2291a2012-09-20 21:31:41 +05302950config MSM_RPC_PMIC
2951 tristate "MSM RPC PMIC driver"
2952 depends on MSM_ONCRPCROUTER
2953 help
2954 This driver supports the PMIC functionality over RPC for those MSM's
2955 which do not have a direct access to PMIC. It supports ability to
2956 configure MPP, GPIO and all the other supported peripherals of the
2957 PMIC.
2958
Anirudh Ghayald3a63732012-09-20 22:13:13 +05302959config MSM_RPC_USB
2960 tristate "MSM RPC USB driver"
2961 depends on MSM_ONCRPCROUTER
2962 help
2963 This driver supports the USB configuration support over the RPC
2964 interface. It support the HS USB module connected to the MSM
2965 and FS USB which is connected over the PMIC. This support is
2966 required for MSMs on which the APPS does not have a direct access
2967 to the PMIC.
2968
2969config MSM_RPC_PMAPP
2970 tristate "MSM RPC PMIC APP driver"
2971 depends on MSM_ONCRPCROUTER
2972 help
2973 This driver supports the configuration of various PMIC APP modules
2974 such as display backlight, vreg pin-ctrl, smps clock over the RPC
2975 interface. This support is required for MSMs on which the APPS
2976 does not have a direct access to the PMIC.
Pushkar Joshi0fc73462012-09-26 17:59:31 -07002977
2978config MSM_ENABLE_WDOG_DEBUG_CONTROL
Pratik Patele08204d2013-03-12 17:43:56 -07002979 bool "Enable control of watchdog debug and boot partition select"
Pushkar Joshi0fc73462012-09-26 17:59:31 -07002980 help
Pratik Patele08204d2013-03-12 17:43:56 -07002981 Enables support for controlling watchdog debug and boot partition
2982 select. This is currently used to bypass debug image for PS_HOLD reset
2983 by disabling watchdog debug and boot partition select. This allows
2984 for a clean MSM reset for reboot scenarios.
Taniya Dasea4263f92012-08-22 18:52:51 +05302985
2986config MSM_FIQ
2987 bool "Enable FIQ for debugging"
2988 depends on ARCH_MSM8625
2989 select FIQ
Taniya Das36e4aa12012-07-04 18:27:16 +05302990 select GIC_SECURE
Taniya Dasea4263f92012-08-22 18:52:51 +05302991 help
2992 Enable any line to be used as an FIQ. This will help debugging
2993 if apps is not responding and holding lock with irqs disabled.
2994 Modem will then generate an raise a FIQ on this line before sending
2995 SMSM reset.
Greg Reidb1d240a2012-10-12 12:20:31 -04002996
2997config MSM_USE_USER_ACCESSIBLE_TIMERS
2998 bool "Enables mapping an MSM timer counter page to user space."
2999 depends on ARM_USE_USER_ACCESSIBLE_TIMERS
3000 help
3001 Enables MSM-specific user accessible timers via a shared
3002 memory page containing the cycle counter.
3003
Sidipotu Ashokbf84d4d2012-11-06 17:13:28 +05303004config USE_DEV_CTRL_VOLUME
3005 bool "Use Device Control Volume"
3006 help
3007 Use Device Control Volume as opposed to ALSA volume control.
3008
Jay Chokshi06e444f2012-12-06 20:48:23 -08003009config MSM_CPU_PWRCTL
3010 bool "Ensures that krait droop detectors are always off"
3011 help
3012 Droop detector mechanism can adversely affect krait plls during
3013 stand alone power collapse operation. Selecting this option
3014 ensures that they are always off.
3015
Saket Saurabh6089f952012-12-07 15:49:13 +05303016config MSM_UARTDM_Core_v14
3017 bool "Use MSM BLSP based HSUART Core v1.4"
3018 depends on SERIAL_MSM_HS
3019 help
3020 Select if BLSP based UART Core v.14 or higher is present.
Abhimanyu Kapurcf3ed152013-03-01 19:32:19 -08003021
3022config MSM_BOOT_STATS
3023 bool "Use MSM boot stats reporting"
3024 help
3025 Use this to report msm boot stats such as bootloader throughput,
3026 display init, total boot time.
3027 This figures are reported in mpm sleep clock cycles and have a
3028 resolution of 31 bits as 1 bit is used as an overflow check.
Syed Rameez Mustafa37f93472013-03-18 15:49:48 -07003029
3030config MSM_XPU_ERR_FATAL
3031 bool "Configure XPU violations as fatal errors"
3032 help
3033 Select if XPU violations have to be configured as fatal errors.
Willie Ruan2635a852013-03-17 16:33:42 -07003034
3035config MSM_CPR_REGULATOR
3036 bool "RBCPR regulator driver for APC"
3037 depends on REGULATOR
3038 depends on OF
3039 help
3040 Compile in RBCPR (RapidBridge Core Power Reduction) driver to support
3041 corner vote for APC power rail. The driver takes PTE process voltage
3042 suggestions in efuse as initial settings. It converts corner vote
3043 to voltage value before writing to a voltage regulator API, such as
3044 that provided by spm-regulator driver.
Rohit Vaswani8f709c02013-02-13 15:49:56 -08003045
3046config WALL_CLK
3047 tristate "Wall Clock hardware block simulation"
3048 depends on ARCH_APQ8064
3049 help
3050 This driver simulates the wall-clock hardware block on fsm8064_ep
3051 femto emulation platform. This block will be used to provide
3052 clock information to the LTE Layer 2 module running on the hexagon
3053 processor.
3054
3055config WALL_CLK_SYSFS
3056 tristate "Wall Clock SysFS Support"
3057 depends on SYSFS && WALL_CLK
3058 help
3059 Support the wallclk directory in sysfs filesystem to enable the
3060 wall clock simulation and read the current SFN.
3061
Brian Swetland9e73c842007-11-26 04:12:13 -08003062endif